"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var PositionNS_exports = {};
__export(PositionNS_exports, {
  PositionNs: () => PositionNs
});
module.exports = __toCommonJS(PositionNS_exports);
var import_MatterDefinition = require("../MatterDefinition.js");
var import_elements = require("../../elements/index.js");
/**
 * @license
 * Copyright 2022-2024 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
const PositionNs = (0, import_elements.SemanticNamespaceElement)({
  name: "Position",
  id: 8,
  details: 'The tags contained in this namespace may be used in any domain or context, to indicate an association with a position relative to the device (e.g. the temperature sensor in the top drawer of a refrigerator, or location of the buttons on a multi-button switch device). Note the difference with Chapter 5, Common Direction Semantic Tag Namespace.\nWhen multiple endpoints are used for device types, and the associated consumer-facing locations of those endpoints are organized in a straight line, grid or matrix, these endpoints SHOULD be allocated in top-to-bottom, left-to-right order.\nFor grids or arrays larger than 3 elements in any direction, the Row and Column tags SHOULD be used.\nIf the Row or Column tags are used, the Label field in the same Semantic Tag structure shall be filled with a number comprised of Arabic numerals encoded as a string to indicate the row/column of the item. Number words (e.g. "one", "two", etc.) shall NOT be used to describe the position of the item. The first row/column shall use Label "1".',
  xref: { document: "namespace", section: "9" },
  children: [
    (0, import_elements.SemanticTagElement)({ name: "Left", id: 0 }),
    (0, import_elements.SemanticTagElement)({ name: "Right", id: 1 }),
    (0, import_elements.SemanticTagElement)({ name: "Top", id: 2 }),
    (0, import_elements.SemanticTagElement)({ name: "Bottom", id: 3 }),
    (0, import_elements.SemanticTagElement)({ name: "Middle", id: 4 }),
    (0, import_elements.SemanticTagElement)({ name: "Row", id: 5, description: "Numeric value provided in Label field" }),
    (0, import_elements.SemanticTagElement)({ name: "Column", id: 6, description: "Numeric value provided in Label field" })
  ]
});
import_MatterDefinition.MatterDefinition.children.push(PositionNs);
//# sourceMappingURL=PositionNS.js.map
