@design.estate/dees-catalog 24.5.0 → 24.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4271,6 +4271,17 @@ var demoFunc4 = /* @__PURE__ */ __name(() => demoPage("Segmented controls", "Cho
4271
4271
  .selectedOption=${"bypass"} @change=${changed}></dees-input-multitoggle>
4272
4272
  ${demoOutput("bypass")}
4273
4273
  `)}
4274
+ ${demoSection("Read-only and unset", "A read-only control shows its value at full contrast and dims the choices it does not offer; disabled dims the whole control. With allowEmpty, nothing is selected until the first choice.", b`
4275
+ <div class="dees-demo-grid">
4276
+ <dees-input-multitoggle label="Permission mode (read-only)" readOnly
4277
+ .options=${[{ key: "ask", label: "Ask first" }, { key: "edits", label: "Accept edits", tone: "info" }, { key: "bypass", label: "Bypass", tone: "warning" }]}
4278
+ .selectedOption=${"bypass"} @change=${changed}></dees-input-multitoggle>
4279
+ <dees-input-multitoggle label="Permission mode (disabled)" disabled
4280
+ .options=${[{ key: "ask", label: "Ask first" }, { key: "edits", label: "Accept edits", tone: "info" }, { key: "bypass", label: "Bypass", tone: "warning" }]}
4281
+ .selectedOption=${"bypass"}></dees-input-multitoggle>
4282
+ <dees-input-multitoggle label="Release channel" allowEmpty .options=${["Stable", "Beta", "Nightly"]} @change=${changed}></dees-input-multitoggle>
4283
+ </div>${demoOutput("Choose a release channel.")}
4284
+ `)}
4274
4285
  ${demoSection("Form values", "The form collects the selected key and the boolean value.", b`
4275
4286
  <dees-form @formData=${(event) => showDemoResult(event.currentTarget, event.detail)}>
4276
4287
  <dees-input-multitoggle key="view" label="Default view" .options=${[{ key: "list", label: "List" }, { key: "columns", label: "Columns" }]} selectedOption="list"></dees-input-multitoggle>
@@ -4281,9 +4292,9 @@ var demoFunc4 = /* @__PURE__ */ __name(() => demoPage("Segmented controls", "Cho
4281
4292
  `), "demoFunc");
4282
4293
 
4283
4294
  // ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.ts
4284
- var _size_dec, _boolValue_dec, _selectedOption_dec, _options_dec, _booleanFalseName_dec, _booleanTrueName_dec, _type_dec2, _a6, _DeesInputMultitoggle_decorators, _init7, _type2, _booleanTrueName, _booleanFalseName, _options, _selectedOption, _boolValue, _size;
4295
+ var _allowEmpty_dec, _readOnly_dec, _size_dec, _boolValue_dec, _selectedOption_dec, _options_dec, _booleanFalseName_dec, _booleanTrueName_dec, _type_dec2, _a6, _DeesInputMultitoggle_decorators, _init7, _type2, _booleanTrueName, _booleanFalseName, _options, _selectedOption, _boolValue, _size, _readOnly, _allowEmpty;
4285
4296
  _DeesInputMultitoggle_decorators = [customElement("dees-input-multitoggle")];
4286
- var _DeesInputMultitoggle = class _DeesInputMultitoggle extends (_a6 = DeesInputBase, _type_dec2 = [n({ reflect: true })], _booleanTrueName_dec = [n({ reflect: true })], _booleanFalseName_dec = [n({ reflect: true })], _options_dec = [n({ type: Array })], _selectedOption_dec = [n()], _boolValue_dec = [n({ type: Boolean })], _size_dec = [n({ reflect: true })], _a6) {
4297
+ var _DeesInputMultitoggle = class _DeesInputMultitoggle extends (_a6 = DeesInputBase, _type_dec2 = [n({ reflect: true })], _booleanTrueName_dec = [n({ reflect: true })], _booleanFalseName_dec = [n({ reflect: true })], _options_dec = [n({ type: Array })], _selectedOption_dec = [n()], _boolValue_dec = [n({ type: Boolean })], _size_dec = [n({ reflect: true })], _readOnly_dec = [n({ type: Boolean, reflect: true })], _allowEmpty_dec = [n({ type: Boolean, reflect: true })], _a6) {
4287
4298
  constructor() {
4288
4299
  super();
4289
4300
  __privateAdd(this, _type2, __runInitializers(_init7, 8, this, "multi")), __runInitializers(_init7, 11, this);
@@ -4293,6 +4304,8 @@ var _DeesInputMultitoggle = class _DeesInputMultitoggle extends (_a6 = DeesInput
4293
4304
  __privateAdd(this, _selectedOption, __runInitializers(_init7, 24, this, "")), __runInitializers(_init7, 27, this);
4294
4305
  __privateAdd(this, _boolValue, __runInitializers(_init7, 28, this, false)), __runInitializers(_init7, 31, this);
4295
4306
  __privateAdd(this, _size, __runInitializers(_init7, 32, this, "default")), __runInitializers(_init7, 35, this);
4307
+ __privateAdd(this, _readOnly, __runInitializers(_init7, 36, this, false)), __runInitializers(_init7, 39, this);
4308
+ __privateAdd(this, _allowEmpty, __runInitializers(_init7, 40, this, false)), __runInitializers(_init7, 43, this);
4296
4309
  this.registerStartupFunction(async (signal) => {
4297
4310
  await this.updateComplete;
4298
4311
  await document.fonts.ready;
@@ -4333,7 +4346,7 @@ var _DeesInputMultitoggle = class _DeesInputMultitoggle extends (_a6 = DeesInput
4333
4346
  if (this.options.length !== 2 || this.options[0] !== this.booleanTrueName || this.options[1] !== this.booleanFalseName) this.options = [this.booleanTrueName, this.booleanFalseName];
4334
4347
  this.selectedOption = truth ? this.booleanTrueName : this.booleanFalseName;
4335
4348
  this.boolValue = truth;
4336
- } else if (!this.selectedOption && this.options.length) {
4349
+ } else if (!this.selectedOption && this.options.length && !this.allowEmpty) {
4337
4350
  const first = this.options.find((option) => !this.optionDisabled(option));
4338
4351
  if (first) this.selectedOption = this.optionKey(first);
4339
4352
  }
@@ -4343,7 +4356,7 @@ var _DeesInputMultitoggle = class _DeesInputMultitoggle extends (_a6 = DeesInput
4343
4356
  const focusKey = this.options.some((option) => this.optionKey(option) === this.selectedOption && !this.optionDisabled(option)) ? this.selectedOption : this.options.find((option) => !this.optionDisabled(option));
4344
4357
  return b`<div class="input-wrapper">
4345
4358
  ${this.labelPosition !== "none" && this.label ? this.renderLabel() : ""}
4346
- <div class="selections input-container ${this.size === "sm" ? "small" : ""}" role="radiogroup" aria-label=${this.label || this.key || "Options"} aria-disabled=${this.disabled}>
4359
+ <div class="selections input-container ${this.size === "sm" ? "small" : ""}" role="radiogroup" aria-label=${this.label || this.key || "Options"} aria-disabled=${this.disabled} aria-readonly=${this.readOnly && !this.disabled}>
4347
4360
  <div class="indicator" aria-hidden="true" data-tone=${selectedTone ?? ""}></div>
4348
4361
  ${this.options.map((option) => {
4349
4362
  const key = this.optionKey(option);
@@ -4366,7 +4379,7 @@ var _DeesInputMultitoggle = class _DeesInputMultitoggle extends (_a6 = DeesInput
4366
4379
  }
4367
4380
  async handleSelection(key) {
4368
4381
  const option = this.options.find((option2) => this.optionKey(option2) === key);
4369
- if (!option || this.optionDisabled(option)) return;
4382
+ if (!option || this.readOnly || this.optionDisabled(option)) return;
4370
4383
  const changed3 = key !== this.selectedOption;
4371
4384
  this.selectedOption = key;
4372
4385
  if (this.type === "boolean") this.boolValue = key === this.booleanTrueName;
@@ -4387,10 +4400,9 @@ var _DeesInputMultitoggle = class _DeesInputMultitoggle extends (_a6 = DeesInput
4387
4400
  const forward = event.key === "ArrowDown" || event.key === (rtl ? "ArrowLeft" : "ArrowRight");
4388
4401
  const next = event.key === "Home" ? 0 : event.key === "End" ? controls.length - 1 : (index + (forward ? 1 : -1) + controls.length) % controls.length;
4389
4402
  const control = controls[next];
4390
- if (control) {
4391
- control.focus();
4392
- control.click();
4393
- }
4403
+ if (!control) return;
4404
+ control.focus();
4405
+ if (!this.readOnly) control.click();
4394
4406
  }
4395
4407
  /** Reposition the selected segment after external layout changes. */
4396
4408
  async setIndicator() {
@@ -4418,6 +4430,8 @@ _options = new WeakMap();
4418
4430
  _selectedOption = new WeakMap();
4419
4431
  _boolValue = new WeakMap();
4420
4432
  _size = new WeakMap();
4433
+ _readOnly = new WeakMap();
4434
+ _allowEmpty = new WeakMap();
4421
4435
  __decorateElement(_init7, 4, "type", _type_dec2, _DeesInputMultitoggle, _type2);
4422
4436
  __decorateElement(_init7, 4, "booleanTrueName", _booleanTrueName_dec, _DeesInputMultitoggle, _booleanTrueName);
4423
4437
  __decorateElement(_init7, 4, "booleanFalseName", _booleanFalseName_dec, _DeesInputMultitoggle, _booleanFalseName);
@@ -4425,6 +4439,8 @@ __decorateElement(_init7, 4, "options", _options_dec, _DeesInputMultitoggle, _op
4425
4439
  __decorateElement(_init7, 4, "selectedOption", _selectedOption_dec, _DeesInputMultitoggle, _selectedOption);
4426
4440
  __decorateElement(_init7, 4, "boolValue", _boolValue_dec, _DeesInputMultitoggle, _boolValue);
4427
4441
  __decorateElement(_init7, 4, "size", _size_dec, _DeesInputMultitoggle, _size);
4442
+ __decorateElement(_init7, 4, "readOnly", _readOnly_dec, _DeesInputMultitoggle, _readOnly);
4443
+ __decorateElement(_init7, 4, "allowEmpty", _allowEmpty_dec, _DeesInputMultitoggle, _allowEmpty);
4428
4444
  _DeesInputMultitoggle = __decorateElement(_init7, 0, "DeesInputMultitoggle", _DeesInputMultitoggle_decorators, _DeesInputMultitoggle);
4429
4445
  __name(_DeesInputMultitoggle, "DeesInputMultitoggle");
4430
4446
  __publicField(_DeesInputMultitoggle, "demo", demoFunc4);
@@ -4443,6 +4459,10 @@ __publicField(_DeesInputMultitoggle, "styles", [themeDefaultStyles, ...DeesInput
4443
4459
  .option.selected { color: var(--multitoggle-tone, var(--dees-color-text-primary)); font-weight: 600; }
4444
4460
  .option:focus-visible { outline: var(--dees-line-width-focus-ring) solid var(--dees-color-focus-ring); outline-offset: 1px; }
4445
4461
  .option:disabled { opacity: .5; cursor: default; }
4462
+ /* Read-only: the selected option keeps full contrast and its tone; the others are dimmed as a
4463
+ disabled option is, since none can be chosen. */
4464
+ .selections[aria-readonly='true'] .option { cursor: default; }
4465
+ .selections[aria-readonly='true'] .option:not(.selected) { opacity: .5; }
4446
4466
  [data-tone='neutral'] { --multitoggle-tone: var(--dees-color-text-secondary); }
4447
4467
  [data-tone='info'] { --multitoggle-tone: var(--dees-color-text-info); }
4448
4468
  [data-tone='success'] { --multitoggle-tone: var(--dees-color-text-success); }
@@ -4455,7 +4475,7 @@ __publicField(_DeesInputMultitoggle, "styles", [themeDefaultStyles, ...DeesInput
4455
4475
  .selections[aria-disabled='true'] { opacity: .5; }
4456
4476
  .selections[aria-disabled='true'] .option:disabled { opacity: 1; }
4457
4477
  .small .option { min-height: 24px; padding: 1px 10px; font-size: 12px; }
4458
- @media (hover: hover) { .option:not(:disabled):not(.selected):hover { background: var(--dees-color-hover); color: var(--dees-color-text-primary); } }
4478
+ @media (hover: hover) { .selections:not([aria-readonly='true']) .option:not(:disabled):not(.selected):hover { background: var(--dees-color-hover); color: var(--dees-color-text-primary); } }
4459
4479
  @media (pointer: coarse) { .option, .small .option { min-height: var(--dees-control-height-touch); } }
4460
4480
  @media (prefers-reduced-motion: reduce) { .indicator, .option { transition: none; } }
4461
4481
  `]);
@@ -55531,7 +55551,7 @@ var demoFunc48 = /* @__PURE__ */ __name(() => {
55531
55551
  }, "demoFunc");
55532
55552
 
55533
55553
  // ts_web/elements/00group-harness/dees-harness-question-card/dees-harness-question-card.ts
55534
- var _rejection_dec, _personResultsShown_dec, _personFieldsShown_dec, _personValues_dec, _personResults_dec, _copyFeedback_dec2, _credentialsShown_dec, _leftOut_dec, _itemsExpanded_dec2, _customText_dec, _selected_dec, _answered_dec2, _readOnly_dec, _frameless_dec13, _viewState_dec6, _busy_dec2, _request_dec2, _a70, _DeesHarnessQuestionCard_decorators, _init72, _request2, _busy2, _viewState6, _frameless13, _readOnly, _answered2, _selected, _customText, _itemsExpanded2, _leftOut, _credentialsShown, _copyFeedback2, _personResults, _personValues, _personFieldsShown, _personResultsShown, _rejection;
55554
+ var _rejection_dec, _personResultsShown_dec, _personFieldsShown_dec, _personValues_dec, _personResults_dec, _copyFeedback_dec2, _credentialsShown_dec, _leftOut_dec, _itemsExpanded_dec2, _customText_dec, _selected_dec, _answered_dec2, _readOnly_dec2, _frameless_dec13, _viewState_dec6, _busy_dec2, _request_dec2, _a70, _DeesHarnessQuestionCard_decorators, _init72, _request2, _busy2, _viewState6, _frameless13, _readOnly2, _answered2, _selected, _customText, _itemsExpanded2, _leftOut, _credentialsShown, _copyFeedback2, _personResults, _personValues, _personFieldsShown, _personResultsShown, _rejection;
55535
55555
  var titleIcon = /* @__PURE__ */ __name((kindArg, severityArg) => severityArg === "danger" ? "lucide:OctagonAlert" : severityArg === "warning" ? "lucide:TriangleAlert" : kindArg === "proposal" ? "lucide:ListChecks" : "lucide:MessageCircleQuestionMark", "titleIcon");
55536
55556
  var ITEM_ICON = {
55537
55557
  warning: "lucide:TriangleAlert",
@@ -55555,7 +55575,7 @@ var STATE_BADGE = {
55555
55575
  failed: "error"
55556
55576
  };
55557
55577
  _DeesHarnessQuestionCard_decorators = [customElement("dees-harness-question-card")];
55558
- var _DeesHarnessQuestionCard = class _DeesHarnessQuestionCard extends (_a70 = DeesElement, _request_dec2 = [n({ attribute: false })], _busy_dec2 = [n({ type: Boolean, reflect: true })], _viewState_dec6 = [n({ attribute: false })], _frameless_dec13 = [n({ type: Boolean, reflect: true })], _readOnly_dec = [n({ type: Boolean, reflect: true })], _answered_dec2 = [r2()], _selected_dec = [r2()], _customText_dec = [r2()], _itemsExpanded_dec2 = [r2()], _leftOut_dec = [r2()], _credentialsShown_dec = [r2()], _copyFeedback_dec2 = [r2()], _personResults_dec = [n({ attribute: false })], _personValues_dec = [r2()], _personFieldsShown_dec = [r2()], _personResultsShown_dec = [r2()], _rejection_dec = [r2()], _a70) {
55578
+ var _DeesHarnessQuestionCard = class _DeesHarnessQuestionCard extends (_a70 = DeesElement, _request_dec2 = [n({ attribute: false })], _busy_dec2 = [n({ type: Boolean, reflect: true })], _viewState_dec6 = [n({ attribute: false })], _frameless_dec13 = [n({ type: Boolean, reflect: true })], _readOnly_dec2 = [n({ type: Boolean, reflect: true })], _answered_dec2 = [r2()], _selected_dec = [r2()], _customText_dec = [r2()], _itemsExpanded_dec2 = [r2()], _leftOut_dec = [r2()], _credentialsShown_dec = [r2()], _copyFeedback_dec2 = [r2()], _personResults_dec = [n({ attribute: false })], _personValues_dec = [r2()], _personFieldsShown_dec = [r2()], _personResultsShown_dec = [r2()], _rejection_dec = [r2()], _a70) {
55559
55579
  constructor() {
55560
55580
  super(...arguments);
55561
55581
  __publicField(this, "t", dcLocalize(this));
@@ -55563,7 +55583,7 @@ var _DeesHarnessQuestionCard = class _DeesHarnessQuestionCard extends (_a70 = De
55563
55583
  __privateAdd(this, _busy2, __runInitializers(_init72, 12, this, false)), __runInitializers(_init72, 15, this);
55564
55584
  __privateAdd(this, _viewState6, __runInitializers(_init72, 16, this)), __runInitializers(_init72, 19, this);
55565
55585
  __privateAdd(this, _frameless13, __runInitializers(_init72, 20, this, false)), __runInitializers(_init72, 23, this);
55566
- __privateAdd(this, _readOnly, __runInitializers(_init72, 24, this, false)), __runInitializers(_init72, 27, this);
55586
+ __privateAdd(this, _readOnly2, __runInitializers(_init72, 24, this, false)), __runInitializers(_init72, 27, this);
55567
55587
  __privateAdd(this, _answered2, __runInitializers(_init72, 28, this)), __runInitializers(_init72, 31, this);
55568
55588
  __privateAdd(this, _selected, __runInitializers(_init72, 32, this, /* @__PURE__ */ new Set())), __runInitializers(_init72, 35, this);
55569
55589
  __privateAdd(this, _customText, __runInitializers(_init72, 36, this, "")), __runInitializers(_init72, 39, this);
@@ -56173,7 +56193,7 @@ _request2 = new WeakMap();
56173
56193
  _busy2 = new WeakMap();
56174
56194
  _viewState6 = new WeakMap();
56175
56195
  _frameless13 = new WeakMap();
56176
- _readOnly = new WeakMap();
56196
+ _readOnly2 = new WeakMap();
56177
56197
  _answered2 = new WeakMap();
56178
56198
  _selected = new WeakMap();
56179
56199
  _customText = new WeakMap();
@@ -56190,7 +56210,7 @@ __decorateElement(_init72, 4, "request", _request_dec2, _DeesHarnessQuestionCard
56190
56210
  __decorateElement(_init72, 4, "busy", _busy_dec2, _DeesHarnessQuestionCard, _busy2);
56191
56211
  __decorateElement(_init72, 4, "viewState", _viewState_dec6, _DeesHarnessQuestionCard, _viewState6);
56192
56212
  __decorateElement(_init72, 4, "frameless", _frameless_dec13, _DeesHarnessQuestionCard, _frameless13);
56193
- __decorateElement(_init72, 4, "readOnly", _readOnly_dec, _DeesHarnessQuestionCard, _readOnly);
56213
+ __decorateElement(_init72, 4, "readOnly", _readOnly_dec2, _DeesHarnessQuestionCard, _readOnly2);
56194
56214
  __decorateElement(_init72, 4, "answered", _answered_dec2, _DeesHarnessQuestionCard, _answered2);
56195
56215
  __decorateElement(_init72, 4, "selected", _selected_dec, _DeesHarnessQuestionCard, _selected);
56196
56216
  __decorateElement(_init72, 4, "customText", _customText_dec, _DeesHarnessQuestionCard, _customText);
@@ -73345,11 +73365,19 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
73345
73365
  if (config.logoText !== void 0) {
73346
73366
  this.mainmenuLogoText = config.logoText;
73347
73367
  }
73348
- if (config.groups !== void 0) {
73368
+ if (config.sections !== void 0) {
73369
+ this.mainmenuGroups = this.buildMainMenuFromSections(config.sections);
73370
+ } else if (config.groups !== void 0) {
73349
73371
  this.mainmenuGroups = [...config.groups];
73350
73372
  }
73351
73373
  if (config.bottomTabs !== void 0) {
73352
73374
  this.mainmenuBottomTabs = [...config.bottomTabs];
73375
+ } else if (config.bottomItems !== void 0) {
73376
+ this.mainmenuBottomTabs = this.buildBottomTabsFromItems(config.bottomItems);
73377
+ }
73378
+ if (config.sections !== void 0 || config.groups !== void 0 || config.bottomTabs !== void 0 || config.bottomItems !== void 0) {
73379
+ const viewId = this.viewRegistry.getCurrentViewId();
73380
+ if (viewId) this.markViewInMainMenu(viewId);
73353
73381
  }
73354
73382
  }
73355
73383
  /**
@@ -74487,7 +74515,7 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
74487
74515
  }
74488
74516
  if (config.mainMenu) {
74489
74517
  if (config.mainMenu.sections) {
74490
- this.mainmenuGroups = this.buildMainMenuFromSections(config);
74518
+ this.mainmenuGroups = this.buildMainMenuFromSections(config.mainMenu.sections);
74491
74519
  } else if (config.mainMenu.groups) {
74492
74520
  this.mainmenuGroups = config.mainMenu.groups;
74493
74521
  }
@@ -74765,9 +74793,8 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
74765
74793
  }
74766
74794
  }
74767
74795
  }
74768
- buildMainMenuFromSections(config) {
74769
- if (!config.mainMenu?.sections) return [];
74770
- return config.mainMenu.sections.map((section) => ({
74796
+ buildMainMenuFromSections(sections5) {
74797
+ return sections5.map((section) => ({
74771
74798
  name: section.name || "",
74772
74799
  items: section.views.map((viewId) => {
74773
74800
  const view = this.viewRegistry.get(viewId);
@@ -80620,7 +80647,7 @@ var demoFunc74 = /* @__PURE__ */ __name(() => demoPage(
80620
80647
  ), "demoFunc");
80621
80648
 
80622
80649
  // ts_web/elements/00group-dataview/dees-thread/dees-thread.ts
80623
- var _postErrors_dec, _postingThreads_dec, _revealed_dec, _timeFormat_dec3, _collapseAfter_dec, _error_dec3, _loading_dec7, _view_dec, _readOnlyReason_dec, _readOnly_dec2, _placeholder_dec9, _draft_dec2, _referenceSearchLabel_dec2, _searchReferences_dec3, _format_dec2, _composerInfo_dec, _composerActions_dec, _submitLabel_dec, _onSubmit_dec, _currentUser_dec, _events_dec4, _entries_dec3, _threadId_dec, _a108, _DeesThread_decorators, _init109, _threadId, _entries3, _events4, _currentUser, _onSubmit, _submitLabel, _composerActions, _composerInfo, _format2, _searchReferences3, _referenceSearchLabel2, _draft2, _placeholder9, _readOnly2, _readOnlyReason, _view, _loading7, _error3, _collapseAfter, _timeFormat3, _revealed, _postingThreads, _postErrors;
80650
+ var _postErrors_dec, _postingThreads_dec, _revealed_dec, _timeFormat_dec3, _collapseAfter_dec, _error_dec3, _loading_dec7, _view_dec, _readOnlyReason_dec, _readOnly_dec3, _placeholder_dec9, _draft_dec2, _referenceSearchLabel_dec2, _searchReferences_dec3, _format_dec2, _composerInfo_dec, _composerActions_dec, _submitLabel_dec, _onSubmit_dec, _currentUser_dec, _events_dec4, _entries_dec3, _threadId_dec, _a108, _DeesThread_decorators, _init109, _threadId, _entries3, _events4, _currentUser, _onSubmit, _submitLabel, _composerActions, _composerInfo, _format2, _searchReferences3, _referenceSearchLabel2, _draft2, _placeholder9, _readOnly3, _readOnlyReason, _view, _loading7, _error3, _collapseAfter, _timeFormat3, _revealed, _postingThreads, _postErrors;
80624
80651
  var eventIcons = {
80625
80652
  opened: "lucide:CircleDot",
80626
80653
  answered: "lucide:Check",
@@ -80666,7 +80693,7 @@ var safeHref2 = /* @__PURE__ */ __name((hrefArg) => {
80666
80693
  }
80667
80694
  }, "safeHref");
80668
80695
  _DeesThread_decorators = [customElement("dees-thread")];
80669
- var _DeesThread = class _DeesThread extends (_a108 = DeesElement, _threadId_dec = [n({ type: String, reflect: true })], _entries_dec3 = [n({ attribute: false })], _events_dec4 = [n({ attribute: false })], _currentUser_dec = [n({ attribute: false })], _onSubmit_dec = [n({ attribute: false })], _submitLabel_dec = [n({ type: String, reflect: true })], _composerActions_dec = [n({ attribute: false })], _composerInfo_dec = [n({ attribute: false })], _format_dec2 = [n({ type: String, reflect: true })], _searchReferences_dec3 = [n({ attribute: false })], _referenceSearchLabel_dec2 = [n({ type: String, reflect: true })], _draft_dec2 = [n({ attribute: false })], _placeholder_dec9 = [n({ type: String, reflect: true })], _readOnly_dec2 = [n({ type: Boolean, reflect: true })], _readOnlyReason_dec = [n({ type: String, reflect: true })], _view_dec = [n({ type: String, reflect: true })], _loading_dec7 = [n({ type: Boolean, reflect: true })], _error_dec3 = [n({ type: String, reflect: true })], _collapseAfter_dec = [n({ type: Number, reflect: true })], _timeFormat_dec3 = [n({ type: String, reflect: true })], _revealed_dec = [r2()], _postingThreads_dec = [r2()], _postErrors_dec = [r2()], _a108) {
80696
+ var _DeesThread = class _DeesThread extends (_a108 = DeesElement, _threadId_dec = [n({ type: String, reflect: true })], _entries_dec3 = [n({ attribute: false })], _events_dec4 = [n({ attribute: false })], _currentUser_dec = [n({ attribute: false })], _onSubmit_dec = [n({ attribute: false })], _submitLabel_dec = [n({ type: String, reflect: true })], _composerActions_dec = [n({ attribute: false })], _composerInfo_dec = [n({ attribute: false })], _format_dec2 = [n({ type: String, reflect: true })], _searchReferences_dec3 = [n({ attribute: false })], _referenceSearchLabel_dec2 = [n({ type: String, reflect: true })], _draft_dec2 = [n({ attribute: false })], _placeholder_dec9 = [n({ type: String, reflect: true })], _readOnly_dec3 = [n({ type: Boolean, reflect: true })], _readOnlyReason_dec = [n({ type: String, reflect: true })], _view_dec = [n({ type: String, reflect: true })], _loading_dec7 = [n({ type: Boolean, reflect: true })], _error_dec3 = [n({ type: String, reflect: true })], _collapseAfter_dec = [n({ type: Number, reflect: true })], _timeFormat_dec3 = [n({ type: String, reflect: true })], _revealed_dec = [r2()], _postingThreads_dec = [r2()], _postErrors_dec = [r2()], _a108) {
80670
80697
  constructor() {
80671
80698
  super(...arguments);
80672
80699
  __publicField(this, "t", dcLocalize(this));
@@ -80688,7 +80715,7 @@ var _DeesThread = class _DeesThread extends (_a108 = DeesElement, _threadId_dec
80688
80715
  __privateAdd(this, _referenceSearchLabel2, __runInitializers(_init109, 48, this, "")), __runInitializers(_init109, 51, this);
80689
80716
  __privateAdd(this, _draft2, __runInitializers(_init109, 52, this, "")), __runInitializers(_init109, 55, this);
80690
80717
  __privateAdd(this, _placeholder9, __runInitializers(_init109, 56, this, "")), __runInitializers(_init109, 59, this);
80691
- __privateAdd(this, _readOnly2, __runInitializers(_init109, 60, this, false)), __runInitializers(_init109, 63, this);
80718
+ __privateAdd(this, _readOnly3, __runInitializers(_init109, 60, this, false)), __runInitializers(_init109, 63, this);
80692
80719
  __privateAdd(this, _readOnlyReason, __runInitializers(_init109, 64, this, "")), __runInitializers(_init109, 67, this);
80693
80720
  __privateAdd(this, _view, __runInitializers(_init109, 68, this, "full")), __runInitializers(_init109, 71, this);
80694
80721
  __privateAdd(this, _loading7, __runInitializers(_init109, 72, this, false)), __runInitializers(_init109, 75, this);
@@ -81188,7 +81215,7 @@ _searchReferences3 = new WeakMap();
81188
81215
  _referenceSearchLabel2 = new WeakMap();
81189
81216
  _draft2 = new WeakMap();
81190
81217
  _placeholder9 = new WeakMap();
81191
- _readOnly2 = new WeakMap();
81218
+ _readOnly3 = new WeakMap();
81192
81219
  _readOnlyReason = new WeakMap();
81193
81220
  _view = new WeakMap();
81194
81221
  _loading7 = new WeakMap();
@@ -81211,7 +81238,7 @@ __decorateElement(_init109, 4, "searchReferences", _searchReferences_dec3, _Dees
81211
81238
  __decorateElement(_init109, 4, "referenceSearchLabel", _referenceSearchLabel_dec2, _DeesThread, _referenceSearchLabel2);
81212
81239
  __decorateElement(_init109, 4, "draft", _draft_dec2, _DeesThread, _draft2);
81213
81240
  __decorateElement(_init109, 4, "placeholder", _placeholder_dec9, _DeesThread, _placeholder9);
81214
- __decorateElement(_init109, 4, "readOnly", _readOnly_dec2, _DeesThread, _readOnly2);
81241
+ __decorateElement(_init109, 4, "readOnly", _readOnly_dec3, _DeesThread, _readOnly3);
81215
81242
  __decorateElement(_init109, 4, "readOnlyReason", _readOnlyReason_dec, _DeesThread, _readOnlyReason);
81216
81243
  __decorateElement(_init109, 4, "view", _view_dec, _DeesThread, _view);
81217
81244
  __decorateElement(_init109, 4, "loading", _loading_dec7, _DeesThread, _loading7);
@@ -88379,9 +88406,9 @@ var kanbanFeedStyles = i`
88379
88406
  `;
88380
88407
 
88381
88408
  // ts_web/elements/00group-kanban/dees-kanban-discussion/dees-kanban-discussion.ts
88382
- var _answering_dec, _showHeader_dec2, _error_dec4, _readOnly_dec3, _loading_dec11, _answerQuestion_dec, _askQuestion_dec, _addComment_dec, _view_dec2, _currentPerson_dec, _searchTickets_dec, _draft_dec3, _comments_dec, _ticketId_dec, _a118, _DeesKanbanDiscussion_decorators, _init120, _ticketId, _comments, _draft3, _searchTickets, _currentPerson, _view2, _addComment, _askQuestion, _answerQuestion, _loading11, _readOnly3, _error4, _showHeader2, _answering;
88409
+ var _answering_dec, _showHeader_dec2, _error_dec4, _readOnly_dec4, _loading_dec11, _answerQuestion_dec, _askQuestion_dec, _addComment_dec, _view_dec2, _currentPerson_dec, _searchTickets_dec, _draft_dec3, _comments_dec, _ticketId_dec, _a118, _DeesKanbanDiscussion_decorators, _init120, _ticketId, _comments, _draft3, _searchTickets, _currentPerson, _view2, _addComment, _askQuestion, _answerQuestion, _loading11, _readOnly4, _error4, _showHeader2, _answering;
88383
88410
  _DeesKanbanDiscussion_decorators = [customElement("dees-kanban-discussion")];
88384
- var _DeesKanbanDiscussion = class _DeesKanbanDiscussion extends (_a118 = DeesElement, _ticketId_dec = [n({ type: String, reflect: true })], _comments_dec = [n({ attribute: false })], _draft_dec3 = [n({ attribute: false })], _searchTickets_dec = [n({ attribute: false })], _currentPerson_dec = [n({ attribute: false })], _view_dec2 = [n({ type: String, reflect: true })], _addComment_dec = [n({ attribute: false })], _askQuestion_dec = [n({ attribute: false })], _answerQuestion_dec = [n({ attribute: false })], _loading_dec11 = [n({ type: Boolean, reflect: true })], _readOnly_dec3 = [n({ type: Boolean, reflect: true })], _error_dec4 = [n({ type: String, reflect: true })], _showHeader_dec2 = [n({ type: Boolean, reflect: true })], _answering_dec = [r2()], _a118) {
88411
+ var _DeesKanbanDiscussion = class _DeesKanbanDiscussion extends (_a118 = DeesElement, _ticketId_dec = [n({ type: String, reflect: true })], _comments_dec = [n({ attribute: false })], _draft_dec3 = [n({ attribute: false })], _searchTickets_dec = [n({ attribute: false })], _currentPerson_dec = [n({ attribute: false })], _view_dec2 = [n({ type: String, reflect: true })], _addComment_dec = [n({ attribute: false })], _askQuestion_dec = [n({ attribute: false })], _answerQuestion_dec = [n({ attribute: false })], _loading_dec11 = [n({ type: Boolean, reflect: true })], _readOnly_dec4 = [n({ type: Boolean, reflect: true })], _error_dec4 = [n({ type: String, reflect: true })], _showHeader_dec2 = [n({ type: Boolean, reflect: true })], _answering_dec = [r2()], _a118) {
88385
88412
  constructor() {
88386
88413
  super(...arguments);
88387
88414
  __publicField(this, "t", dcLocalize(this));
@@ -88395,7 +88422,7 @@ var _DeesKanbanDiscussion = class _DeesKanbanDiscussion extends (_a118 = DeesEle
88395
88422
  __privateAdd(this, _askQuestion, __runInitializers(_init120, 36, this)), __runInitializers(_init120, 39, this);
88396
88423
  __privateAdd(this, _answerQuestion, __runInitializers(_init120, 40, this)), __runInitializers(_init120, 43, this);
88397
88424
  __privateAdd(this, _loading11, __runInitializers(_init120, 44, this, false)), __runInitializers(_init120, 47, this);
88398
- __privateAdd(this, _readOnly3, __runInitializers(_init120, 48, this, false)), __runInitializers(_init120, 51, this);
88425
+ __privateAdd(this, _readOnly4, __runInitializers(_init120, 48, this, false)), __runInitializers(_init120, 51, this);
88399
88426
  __privateAdd(this, _error4, __runInitializers(_init120, 52, this, "")), __runInitializers(_init120, 55, this);
88400
88427
  __privateAdd(this, _showHeader2, __runInitializers(_init120, 56, this, true)), __runInitializers(_init120, 59, this);
88401
88428
  __privateAdd(this, _answering, __runInitializers(_init120, 60, this, /* @__PURE__ */ new Set())), __runInitializers(_init120, 63, this);
@@ -88621,7 +88648,7 @@ _addComment = new WeakMap();
88621
88648
  _askQuestion = new WeakMap();
88622
88649
  _answerQuestion = new WeakMap();
88623
88650
  _loading11 = new WeakMap();
88624
- _readOnly3 = new WeakMap();
88651
+ _readOnly4 = new WeakMap();
88625
88652
  _error4 = new WeakMap();
88626
88653
  _showHeader2 = new WeakMap();
88627
88654
  _answering = new WeakMap();
@@ -88635,7 +88662,7 @@ __decorateElement(_init120, 4, "addComment", _addComment_dec, _DeesKanbanDiscuss
88635
88662
  __decorateElement(_init120, 4, "askQuestion", _askQuestion_dec, _DeesKanbanDiscussion, _askQuestion);
88636
88663
  __decorateElement(_init120, 4, "answerQuestion", _answerQuestion_dec, _DeesKanbanDiscussion, _answerQuestion);
88637
88664
  __decorateElement(_init120, 4, "loading", _loading_dec11, _DeesKanbanDiscussion, _loading11);
88638
- __decorateElement(_init120, 4, "readOnly", _readOnly_dec3, _DeesKanbanDiscussion, _readOnly3);
88665
+ __decorateElement(_init120, 4, "readOnly", _readOnly_dec4, _DeesKanbanDiscussion, _readOnly4);
88639
88666
  __decorateElement(_init120, 4, "error", _error_dec4, _DeesKanbanDiscussion, _error4);
88640
88667
  __decorateElement(_init120, 4, "showHeader", _showHeader_dec2, _DeesKanbanDiscussion, _showHeader2);
88641
88668
  __decorateElement(_init120, 4, "answering", _answering_dec, _DeesKanbanDiscussion, _answering);
@@ -136953,7 +136980,7 @@ var bright = {
136953
136980
  // ts_web/00_commitinfo_data.ts
136954
136981
  var commitinfo = {
136955
136982
  name: "@design.estate/dees-catalog",
136956
- version: "24.5.0",
136983
+ version: "24.6.1",
136957
136984
  description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
136958
136985
  };
136959
136986
  export {