@threadlabs/looma 0.1.24 → 0.1.26
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.
- package/dist/{chunk-IMHSPETJ.js → chunk-XRJRF3MM.js} +33 -32
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/looma.cjs.js +1 -1
- package/dist/cjs/{ui-combobox.cjs.entry.js → ui-chip_2.cjs.entry.js} +29 -4
- package/dist/cjs/ui-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ui-disclosure.cjs.entry.js +1 -1
- package/dist/cjs/ui-editable.cjs.entry.js +100 -0
- package/dist/cjs/ui-floating-action-button.cjs.entry.js +1 -1
- package/dist/cjs/ui-form-field.cjs.entry.js +1 -1
- package/dist/cjs/ui-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/ui-input.cjs.entry.js +1 -1
- package/dist/cjs/ui-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ui-menu.cjs.entry.js +1 -1
- package/dist/cjs/ui-multi-combobox.cjs.entry.js +190 -0
- package/dist/cjs/ui-popover.cjs.entry.js +1 -1
- package/dist/cjs/ui-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/ui-radio.cjs.entry.js +1 -1
- package/dist/cjs/ui-search-result-row.cjs.entry.js +1 -1
- package/dist/cjs/ui-search-shell.cjs.entry.js +1 -1
- package/dist/cjs/ui-select.cjs.entry.js +1 -1
- package/dist/cjs/ui-switch.cjs.entry.js +2 -2
- package/dist/cjs/ui-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ui-textarea.cjs.entry.js +1 -1
- package/dist/cjs/ui-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ui-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/ui-tree-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-tree.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/ui-chip/ui-chip.css +4 -0
- package/dist/collection/components/ui-chip/ui-chip.js +23 -1
- package/dist/collection/components/ui-combobox/ui-combobox.js +49 -4
- package/dist/collection/components/ui-context-menu/ui-context-menu.js +1 -1
- package/dist/collection/components/ui-dialog/ui-dialog.js +1 -1
- package/dist/collection/components/ui-disclosure/ui-disclosure.js +1 -1
- package/dist/collection/components/ui-editable/ui-editable.css +2 -0
- package/dist/collection/components/ui-editable/ui-editable.js +196 -0
- package/dist/collection/components/ui-floating-action-button/ui-floating-action-button.js +1 -1
- package/dist/collection/components/ui-form-field/ui-form-field.js +1 -1
- package/dist/collection/components/ui-icon-button/ui-icon-button.js +1 -1
- package/dist/collection/components/ui-input/ui-input.js +1 -1
- package/dist/collection/components/ui-menu/ui-menu.js +1 -1
- package/dist/collection/components/ui-menu-item/ui-menu-item.js +1 -1
- package/dist/collection/components/ui-multi-combobox/ui-multi-combobox.css +29 -0
- package/dist/collection/components/ui-multi-combobox/ui-multi-combobox.js +553 -0
- package/dist/collection/components/ui-popover/ui-popover.js +1 -1
- package/dist/collection/components/ui-radio/ui-radio.js +1 -1
- package/dist/collection/components/ui-radio-group/ui-radio-group.js +1 -1
- package/dist/collection/components/ui-search-result-row/ui-search-result-row.js +1 -1
- package/dist/collection/components/ui-search-shell/ui-search-shell.js +1 -1
- package/dist/collection/components/ui-select/ui-select.js +1 -1
- package/dist/collection/components/ui-switch/ui-switch.js +2 -2
- package/dist/collection/components/ui-tabs/ui-tabs.js +1 -1
- package/dist/collection/components/ui-textarea/ui-textarea.js +1 -1
- package/dist/collection/components/ui-toast-region/ui-toast-region.js +1 -1
- package/dist/collection/components/ui-tooltip/ui-tooltip.js +1 -1
- package/dist/collection/components/ui-top-bar/ui-top-bar.js +1 -1
- package/dist/collection/components/ui-tree/ui-tree.js +1 -1
- package/dist/collection/components/ui-tree-item/ui-tree-item.js +2 -2
- package/dist/collection/field/editable.js +1 -0
- package/dist/collection/field/multi-combobox.js +1 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-DIGcRYAW.js → p-B9CzOHvE.js} +1 -1
- package/dist/components/p-BMgIcOh-.js +1 -0
- package/dist/components/p-BVteuP_d.js +1 -0
- package/dist/components/{p-Bk55QiUK.js → p-C6p-ygxq.js} +1 -1
- package/dist/components/ui-chip.js +1 -1
- package/dist/components/ui-combobox.js +1 -1
- package/dist/components/ui-context-menu.js +1 -1
- package/dist/components/ui-dialog.js +1 -1
- package/dist/components/ui-disclosure.js +1 -1
- package/dist/components/ui-editable.d.ts +11 -0
- package/dist/components/ui-editable.js +1 -0
- package/dist/components/ui-floating-action-button.js +1 -1
- package/dist/components/ui-form-field.js +1 -1
- package/dist/components/ui-icon-button.js +1 -1
- package/dist/components/ui-input.js +1 -1
- package/dist/components/ui-menu-item.js +1 -1
- package/dist/components/ui-menu.js +1 -1
- package/dist/components/ui-multi-combobox.d.ts +11 -0
- package/dist/components/ui-multi-combobox.js +1 -0
- package/dist/components/ui-popover.js +1 -1
- package/dist/components/ui-radio-group.js +1 -1
- package/dist/components/ui-radio.js +1 -1
- package/dist/components/ui-search-result-row.js +1 -1
- package/dist/components/ui-search-shell.js +1 -1
- package/dist/components/ui-select.js +1 -1
- package/dist/components/ui-switch.js +1 -1
- package/dist/components/ui-tabs.js +1 -1
- package/dist/components/ui-textarea.js +1 -1
- package/dist/components/ui-toast-region.js +1 -1
- package/dist/components/ui-tooltip.js +1 -1
- package/dist/components/ui-top-bar.js +1 -1
- package/dist/components/ui-tree-item.js +1 -1
- package/dist/components/ui-tree.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/looma.js +1 -1
- package/dist/esm/{ui-combobox.entry.js → ui-chip_2.entry.js} +30 -6
- package/dist/esm/ui-context-menu.entry.js +1 -1
- package/dist/esm/ui-dialog.entry.js +1 -1
- package/dist/esm/ui-disclosure.entry.js +1 -1
- package/dist/esm/ui-editable.entry.js +98 -0
- package/dist/esm/ui-floating-action-button.entry.js +1 -1
- package/dist/esm/ui-form-field.entry.js +1 -1
- package/dist/esm/ui-icon-button.entry.js +1 -1
- package/dist/esm/ui-input.entry.js +1 -1
- package/dist/esm/ui-menu-item.entry.js +1 -1
- package/dist/esm/ui-menu.entry.js +1 -1
- package/dist/esm/ui-multi-combobox.entry.js +188 -0
- package/dist/esm/ui-popover.entry.js +1 -1
- package/dist/esm/ui-radio-group.entry.js +1 -1
- package/dist/esm/ui-radio.entry.js +1 -1
- package/dist/esm/ui-search-result-row.entry.js +1 -1
- package/dist/esm/ui-search-shell.entry.js +1 -1
- package/dist/esm/ui-select.entry.js +1 -1
- package/dist/esm/ui-switch.entry.js +2 -2
- package/dist/esm/ui-tabs.entry.js +1 -1
- package/dist/esm/ui-textarea.entry.js +1 -1
- package/dist/esm/ui-toast-region.entry.js +1 -1
- package/dist/esm/ui-tooltip.entry.js +1 -1
- package/dist/esm/ui-top-bar.entry.js +1 -1
- package/dist/esm/ui-tree-item.entry.js +2 -2
- package/dist/esm/ui-tree.entry.js +1 -1
- package/dist/index.cjs +368 -63
- package/dist/index.d.cts +18 -1
- package/dist/index.d.ts +18 -1
- package/dist/index.js +2 -2
- package/dist/looma/looma.esm.js +1 -1
- package/dist/looma/p-05592219.entry.js +1 -0
- package/dist/looma/{p-314d5c7c.entry.js → p-0e1741cb.entry.js} +1 -1
- package/dist/looma/{p-bd00d4e8.entry.js → p-0ef4bf13.entry.js} +1 -1
- package/dist/looma/{p-8e254bc4.entry.js → p-166f8593.entry.js} +1 -1
- package/dist/looma/p-262a542c.entry.js +1 -0
- package/dist/looma/{p-672e3d16.entry.js → p-26d357ae.entry.js} +1 -1
- package/dist/looma/{p-b63f6d4f.entry.js → p-30f01909.entry.js} +1 -1
- package/dist/looma/p-393e3e02.entry.js +1 -0
- package/dist/looma/p-3a44b9f9.entry.js +1 -0
- package/dist/looma/{p-fd1e4d22.entry.js → p-558d4f5b.entry.js} +1 -1
- package/dist/looma/{p-25e18ad6.entry.js → p-5780cefa.entry.js} +1 -1
- package/dist/looma/p-5a7261e1.entry.js +1 -0
- package/dist/looma/{p-03f44c45.entry.js → p-7319c147.entry.js} +1 -1
- package/dist/looma/{p-f1750fd7.entry.js → p-78b7e466.entry.js} +1 -1
- package/dist/looma/{p-7c4a225f.entry.js → p-7eb04f09.entry.js} +1 -1
- package/dist/looma/{p-e0f241ab.entry.js → p-81c533f5.entry.js} +1 -1
- package/dist/looma/{p-8e6b1001.entry.js → p-87f501cf.entry.js} +1 -1
- package/dist/looma/{p-cc915913.entry.js → p-89e71bbb.entry.js} +1 -1
- package/dist/looma/{p-a63e2561.entry.js → p-92cd1841.entry.js} +1 -1
- package/dist/looma/{p-5a900d89.entry.js → p-95eb3b58.entry.js} +1 -1
- package/dist/looma/{p-839faf55.entry.js → p-96ec4d7a.entry.js} +1 -1
- package/dist/looma/{p-2c03fa73.entry.js → p-bcb1b47b.entry.js} +1 -1
- package/dist/looma/{p-68430534.entry.js → p-d62da01d.entry.js} +1 -1
- package/dist/looma/{p-13f8195a.entry.js → p-dbcb479c.entry.js} +1 -1
- package/dist/looma/{p-920656cf.entry.js → p-e14024bf.entry.js} +1 -1
- package/dist/looma/{p-3ef2a21b.entry.js → p-fc180770.entry.js} +1 -1
- package/dist/types/components/ui-chip/ui-chip.d.ts +2 -0
- package/dist/types/components/ui-combobox/ui-combobox.d.ts +4 -0
- package/dist/types/components/ui-editable/ui-editable.d.ts +24 -0
- package/dist/types/components/ui-multi-combobox/ui-multi-combobox.d.ts +51 -0
- package/dist/types/components.d.ts +244 -0
- package/dist/types/field/editable.d.ts +5 -0
- package/dist/types/field/multi-combobox.d.ts +11 -0
- package/dist/{ui-affordance-scope.entry-3TUZ6GLW.js → ui-affordance-scope.entry-6N4ZQ5FM.js} +1 -1
- package/dist/{ui-avatar-group.entry-XGJKN25W.js → ui-avatar-group.entry-FTZVEFGI.js} +1 -1
- package/dist/{ui-avatar.entry-SN3G44HW.js → ui-avatar.entry-SST735OH.js} +1 -1
- package/dist/{ui-badge.entry-B6WDCWJX.js → ui-badge.entry-DZGS7MUT.js} +1 -1
- package/dist/{ui-button.entry-AZYUELLV.js → ui-button.entry-5WX56ARJ.js} +1 -1
- package/dist/{ui-callout.entry-QRPWRMPC.js → ui-callout.entry-OI5RNRXV.js} +1 -1
- package/dist/{ui-checkbox.entry-OB6GFC4M.js → ui-checkbox.entry-HCGIQPSE.js} +1 -1
- package/dist/{ui-combobox.entry-IIMMUJF7.js → ui-chip_2.entry-G2IGWJTL.js} +32 -7
- package/dist/{ui-context-menu.entry-AIULIE5Y.js → ui-context-menu.entry-K2LRT2WV.js} +2 -2
- package/dist/{ui-dialog.entry-QSYWYHLY.js → ui-dialog.entry-4W2T27R6.js} +2 -2
- package/dist/{ui-disclosure.entry-3BJEYU3U.js → ui-disclosure.entry-ONYMXRKR.js} +2 -2
- package/dist/ui-editable.entry-4ZHXIOER.js +110 -0
- package/dist/{ui-floating-action-button.entry-JEVNV6FI.js → ui-floating-action-button.entry-XU4JO2ZV.js} +2 -2
- package/dist/{ui-form-field.entry-PKSY7UU4.js → ui-form-field.entry-BZSEWR4A.js} +2 -2
- package/dist/{ui-icon-button.entry-TPX7BE7R.js → ui-icon-button.entry-MHJKL5OZ.js} +2 -2
- package/dist/{ui-input.entry-6NCLNW4E.js → ui-input.entry-BL6EX3GC.js} +2 -2
- package/dist/{ui-menu-item.entry-KA2K3PKV.js → ui-menu-item.entry-LERF3A4G.js} +2 -2
- package/dist/{ui-menu.entry-7GDO5L2T.js → ui-menu.entry-WXDYGFJE.js} +2 -2
- package/dist/ui-multi-combobox.entry-WSNWVRXE.js +196 -0
- package/dist/{ui-popover.entry-FR6YRNK6.js → ui-popover.entry-P6STTQVS.js} +2 -2
- package/dist/{ui-radio-group.entry-7QHXQSNO.js → ui-radio-group.entry-GZLHOY2M.js} +2 -2
- package/dist/{ui-radio.entry-YNMXKLDW.js → ui-radio.entry-4PXIRDKT.js} +2 -2
- package/dist/{ui-search-result-row.entry-AHVVAAIO.js → ui-search-result-row.entry-LHNOT7MK.js} +2 -2
- package/dist/{ui-search-shell.entry-CNBEAMEZ.js → ui-search-shell.entry-GQCMEU2Z.js} +2 -2
- package/dist/{ui-select.entry-TUY6TCTC.js → ui-select.entry-TZU7XX4U.js} +2 -2
- package/dist/{ui-switch.entry-26LFI7B5.js → ui-switch.entry-QFH3YDYP.js} +3 -3
- package/dist/{ui-tabs.entry-LXB62RJJ.js → ui-tabs.entry-A57JVDT2.js} +2 -2
- package/dist/{ui-textarea.entry-JYGMGPX2.js → ui-textarea.entry-L3RLZIGO.js} +2 -2
- package/dist/{ui-toast-region.entry-TOW4KZLZ.js → ui-toast-region.entry-XKKEY4K7.js} +2 -2
- package/dist/{ui-tooltip.entry-SKFNYXPH.js → ui-tooltip.entry-5WQTX7XF.js} +2 -2
- package/dist/{ui-top-bar.entry-S3YP52EA.js → ui-top-bar.entry-KMJEFYOM.js} +2 -2
- package/dist/{ui-tree-item.entry-LWYIPYLC.js → ui-tree-item.entry-TUBC57FI.js} +3 -3
- package/dist/{ui-tree.entry-LXKUQFRU.js → ui-tree.entry-Y75CRURL.js} +2 -2
- package/package.json +1 -1
- package/vue/{chunk-D4AJULDE.js → chunk-2DDIBSFD.js} +87 -1
- package/vue/editor/index.js +1 -1
- package/vue/index.d.ts +127 -2
- package/vue/index.js +5 -1
- package/dist/cjs/ui-chip.cjs.entry.js +0 -19
- package/dist/esm/ui-chip.entry.js +0 -17
- package/dist/looma/p-82f2fa3d.entry.js +0 -1
- package/dist/looma/p-97e8cb0e.entry.js +0 -1
- package/dist/looma/p-9e1c4020.entry.js +0 -1
- package/dist/looma/p-cfba8f7c.entry.js +0 -1
- package/dist/ui-chip.entry-XSNPJXX3.js +0 -22
package/dist/index.cjs
CHANGED
|
@@ -1109,30 +1109,6 @@ var init_ui_checkbox_entry = __esm({
|
|
|
1109
1109
|
}
|
|
1110
1110
|
});
|
|
1111
1111
|
|
|
1112
|
-
// dist/esm/ui-chip.entry.js
|
|
1113
|
-
var ui_chip_entry_exports = {};
|
|
1114
|
-
__export(ui_chip_entry_exports, {
|
|
1115
|
-
ui_chip: () => UIChip
|
|
1116
|
-
});
|
|
1117
|
-
var uiChipCss, UIChip;
|
|
1118
|
-
var init_ui_chip_entry = __esm({
|
|
1119
|
-
"dist/esm/ui-chip.entry.js"() {
|
|
1120
|
-
init_index_8BGiMGQ0();
|
|
1121
|
-
uiChipCss = () => `:host{--ui-chip-surface:var(--ui-surface-subtle);--ui-chip-text:var(--ui-text-secondary);--ui-chip-border:var(--ui-border-default);--ui-chip-font-size:var(--ui-font-size-xs);--ui-chip-font-weight:var(--ui-font-normal);--ui-chip-line-height:var(--ui-line-height-tight);--ui-chip-padding-block:var(--ui-space-0-5);--ui-chip-padding-inline:var(--ui-space-2);--ui-chip-notch:var(--ui-space-1);display:inline-flex;max-width:100%}.chip__surface{display:inline-flex;align-items:center;max-width:100%;padding:var(--ui-chip-padding-block) var(--ui-chip-padding-inline);border:1px solid var(--ui-chip-border);background:var(--ui-chip-surface);color:var(--ui-chip-text) !important;font-family:var(--ui-font-family-sans) !important;font-size:var(--ui-chip-font-size) !important;font-weight:var(--ui-chip-font-weight) !important;line-height:var(--ui-chip-line-height) !important;white-space:nowrap}:host([data-appearance='pill']) .chip__surface{border-radius:var(--ui-radius-round)}:host([data-appearance='tag']) .chip__surface{border:0;padding-inline-end:calc(var(--ui-chip-padding-inline) + var(--ui-chip-notch));clip-path:polygon(0 0, calc(100% - var(--ui-chip-notch)) 0, 100% 50%, calc(100% - var(--ui-chip-notch)) 100%, 0 100%)}`;
|
|
1122
|
-
UIChip = class {
|
|
1123
|
-
constructor(hostRef) {
|
|
1124
|
-
registerInstance(this, hostRef);
|
|
1125
|
-
}
|
|
1126
|
-
/** `tag` has a square leading edge and an angled trailing edge; `pill` is fully rounded. */
|
|
1127
|
-
appearance = "tag";
|
|
1128
|
-
render() {
|
|
1129
|
-
return h(Host, { key: "fe1246a1e698098f0ca9cb04e749d5adf233e50c", "data-appearance": this.appearance }, h("span", { key: "a17237699b9eb20fb0a084adbd900a3aa9bc12b0", class: "chip__surface" }, h("slot", { key: "7f4e5dcc82d360083d4ded2617fa39a9dc1fd3ef" })));
|
|
1130
|
-
}
|
|
1131
|
-
};
|
|
1132
|
-
UIChip.style = uiChipCss();
|
|
1133
|
-
}
|
|
1134
|
-
});
|
|
1135
|
-
|
|
1136
1112
|
// dist/esm/manager-C-0syqXZ.js
|
|
1137
1113
|
function syncScrollLock() {
|
|
1138
1114
|
if (typeof document === "undefined") {
|
|
@@ -1226,9 +1202,10 @@ var init_manager_C_0syqXZ = __esm({
|
|
|
1226
1202
|
}
|
|
1227
1203
|
});
|
|
1228
1204
|
|
|
1229
|
-
// dist/esm/ui-
|
|
1230
|
-
var
|
|
1231
|
-
__export(
|
|
1205
|
+
// dist/esm/ui-chip_2.entry.js
|
|
1206
|
+
var ui_chip_2_entry_exports = {};
|
|
1207
|
+
__export(ui_chip_2_entry_exports, {
|
|
1208
|
+
ui_chip: () => UIChip,
|
|
1232
1209
|
ui_combobox: () => UICombobox
|
|
1233
1210
|
});
|
|
1234
1211
|
function formatEditingValue(raw, selection, format) {
|
|
@@ -1288,12 +1265,26 @@ async function validateField(request, config) {
|
|
|
1288
1265
|
issues = [...issues, ...config.issues ?? []];
|
|
1289
1266
|
return { output: issues.some((issue) => issue.severity !== "warning") ? void 0 : output, issues };
|
|
1290
1267
|
}
|
|
1291
|
-
var uiComboboxCss, UICombobox;
|
|
1292
|
-
var
|
|
1293
|
-
"dist/esm/ui-
|
|
1268
|
+
var uiChipCss, UIChip, uiComboboxCss, UICombobox;
|
|
1269
|
+
var init_ui_chip_2_entry = __esm({
|
|
1270
|
+
"dist/esm/ui-chip_2.entry.js"() {
|
|
1294
1271
|
init_index_8BGiMGQ0();
|
|
1295
1272
|
init_positioning_Bu0dmLBE();
|
|
1296
1273
|
init_manager_C_0syqXZ();
|
|
1274
|
+
uiChipCss = () => `:host{--ui-chip-surface:var(--ui-surface-subtle);--ui-chip-text:var(--ui-text-secondary);--ui-chip-border:var(--ui-border-default);--ui-chip-font-size:var(--ui-font-size-xs);--ui-chip-font-weight:var(--ui-font-normal);--ui-chip-line-height:var(--ui-line-height-tight);--ui-chip-padding-block:var(--ui-space-0-5);--ui-chip-padding-inline:var(--ui-space-2);--ui-chip-notch:var(--ui-space-1);display:inline-flex;max-width:100%}:host([data-size='sm']){--ui-chip-font-size:var(--ui-font-size-sm)}.chip__surface{display:inline-flex;align-items:center;max-width:100%;padding:var(--ui-chip-padding-block) var(--ui-chip-padding-inline);border:1px solid var(--ui-chip-border);background:var(--ui-chip-surface);color:var(--ui-chip-text) !important;font-family:var(--ui-font-family-sans) !important;font-size:var(--ui-chip-font-size) !important;font-weight:var(--ui-chip-font-weight) !important;line-height:var(--ui-chip-line-height) !important;white-space:nowrap}:host([data-appearance='pill']) .chip__surface{border-radius:var(--ui-radius-round)}:host([data-appearance='tag']) .chip__surface{border:0;padding-inline-end:calc(var(--ui-chip-padding-inline) + var(--ui-chip-notch));clip-path:polygon(0 0, calc(100% - var(--ui-chip-notch)) 0, 100% 50%, calc(100% - var(--ui-chip-notch)) 100%, 0 100%)}`;
|
|
1275
|
+
UIChip = class {
|
|
1276
|
+
constructor(hostRef) {
|
|
1277
|
+
registerInstance(this, hostRef);
|
|
1278
|
+
}
|
|
1279
|
+
/** `tag` has a square leading edge and an angled trailing edge; `pill` is fully rounded. */
|
|
1280
|
+
appearance = "tag";
|
|
1281
|
+
/** Compact typography size. */
|
|
1282
|
+
size = "xs";
|
|
1283
|
+
render() {
|
|
1284
|
+
return h(Host, { key: "970cb48cf8d70c47feaab90fe428c09f0d052a03", "data-appearance": this.appearance, "data-size": this.size }, h("span", { key: "6d8c6104d2869520097a2a61bd2a887b363b4912", class: "chip__surface" }, h("slot", { key: "b61c50a8060d8a2684aed6f87dc859b1c9e99858" })));
|
|
1285
|
+
}
|
|
1286
|
+
};
|
|
1287
|
+
UIChip.style = uiChipCss();
|
|
1297
1288
|
uiComboboxCss = () => `:host{display:grid;gap:var(--ui-space-1);min-inline-size:0;color:var(--ui-text-primary);font:inherit}label{color:var(--ui-field-label-color, var(--ui-text-primary));font-size:var(--ui-field-label-size, 0.875rem);font-weight:var(--ui-field-label-weight, 500)}.field{display:flex;min-inline-size:0;border:1px solid var(--ui-control-border, var(--ui-border-default));border-radius:var(--ui-radius-2);background:var(--ui-control-surface, var(--ui-surface-default))}.field:focus-within{border-color:var(--ui-control-focus, var(--ui-focus-ring));outline:2px solid var(--ui-control-focus, var(--ui-focus-ring));outline-offset:1px}input{appearance:none;width:100%;min-inline-size:0;min-block-size:var(--ui-control-min-block-size, 2.75rem);box-sizing:border-box;border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;line-height:var(--ui-line-height-md);padding:var(--ui-space-2) var(--ui-space-3);margin:0;outline:none}:host([data-size='sm']) input{min-block-size:var(--ui-field-compact-size, 2rem);padding:var(--ui-space-1) var(--ui-space-2)}button{appearance:none;border:0;border-radius:var(--ui-radius-2);background:transparent;color:var(--ui-field-affordance-color, var(--ui-text-secondary));font:inherit;font-weight:var(--ui-field-affordance-weight, 400);min-inline-size:2rem;padding:var(--ui-space-1);cursor:pointer}button:hover:enabled{background:var(--ui-surface-muted);color:var(--ui-text-primary)}button:focus-visible{outline:2px solid var(--ui-focus-ring);outline-offset:-3px}input:disabled,button:disabled{color:var(--ui-text-muted);cursor:not-allowed}.field:has(input:disabled){background:var(--ui-control-surface-disabled, var(--ui-surface-muted))}:host([data-validation='error']) .field{border-color:var(--ui-danger-solid, var(--ui-accent-active))}.popup{box-sizing:border-box;min-inline-size:12rem;max-inline-size:calc(100vw - 1rem);max-block-size:var(--ui-combobox-max-block-size, 18rem);overflow:auto;margin:0;padding:var(--ui-space-1);border:1px solid var(--ui-border-default);border-radius:var(--ui-radius-2);background:var(--ui-surface-elevated);color:var(--ui-text-primary);box-shadow:var(--ui-shadow-md)}[hidden]{display:none !important}.option{padding:var(--ui-space-2) var(--ui-space-3);border-radius:var(--ui-radius-1);cursor:pointer;overflow-wrap:anywhere}.option:hover,.option[data-active]{background:var(--ui-surface-muted);outline:1px solid var(--ui-focus-ring);outline-offset:-1px}.option[aria-disabled='true']{color:var(--ui-text-muted);cursor:not-allowed}.primary{display:block;color:var(--ui-option-primary-color, var(--ui-text-primary));font-weight:var(--ui-option-primary-weight, 500)}.secondary{display:block;color:var(--ui-option-secondary-color, var(--ui-text-secondary));font-weight:var(--ui-option-secondary-weight, 400);font-size:var(--ui-font-size-sm)}.message,.group{color:var(--ui-field-message-color, var(--ui-text-secondary));font-weight:var(--ui-field-message-weight, 400);font-size:var(--ui-font-size-sm);line-height:var(--ui-line-height-md);overflow-wrap:anywhere}.group,.popup .message{padding:var(--ui-space-2) var(--ui-space-3)}.sr-only{position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media (pointer: coarse){button{min-inline-size:2.75rem;min-block-size:2.75rem}}@media (forced-colors: active){.field,.popup{border-color:CanvasText}.option[data-active]{outline-color:Highlight}}`;
|
|
1298
1289
|
UICombobox = class {
|
|
1299
1290
|
constructor(hostRef) {
|
|
@@ -1325,6 +1316,8 @@ var init_ui_combobox_entry = __esm({
|
|
|
1325
1316
|
readOnly = false;
|
|
1326
1317
|
required = false;
|
|
1327
1318
|
size = "md";
|
|
1319
|
+
/** Keep the native label accessible while allowing compact composed controls. */
|
|
1320
|
+
labelVisibility = "visible";
|
|
1328
1321
|
disclosure = false;
|
|
1329
1322
|
clearable = false;
|
|
1330
1323
|
/** Optional description shown by the connected question-mark button. */
|
|
@@ -1551,7 +1544,8 @@ var init_ui_combobox_entry = __esm({
|
|
|
1551
1544
|
}, reason === "disclosure" ? 0 : Math.max(0, config.debounce ?? 200));
|
|
1552
1545
|
}
|
|
1553
1546
|
get canCreate() {
|
|
1554
|
-
|
|
1547
|
+
const candidates = this.config.options ? [...this.config.options, ...this.rows] : this.rows;
|
|
1548
|
+
return Boolean(this.config.allowCreate && this.raw.trim() && !this.loading && !this.lookupError && !candidates.some((row) => row.label.toLocaleLowerCase() === this.raw.toLocaleLowerCase()));
|
|
1555
1549
|
}
|
|
1556
1550
|
format(timing) {
|
|
1557
1551
|
if ((this.config.formatOn ?? "blur") !== timing || !this.input)
|
|
@@ -1731,24 +1725,31 @@ var init_ui_combobox_entry = __esm({
|
|
|
1731
1725
|
}
|
|
1732
1726
|
return this.validation;
|
|
1733
1727
|
}
|
|
1728
|
+
/** Focus the native editing input from a composed control. */
|
|
1729
|
+
async focusInput() {
|
|
1730
|
+
this.input?.focus();
|
|
1731
|
+
}
|
|
1734
1732
|
render() {
|
|
1735
1733
|
const description = [this.helpOpen ? "help-text" : "", this.validation.issues.length ? "validation" : ""].filter(Boolean).join(" ") || void 0;
|
|
1736
1734
|
const status = this.loading ? "Loading suggestions\u2026" : this.lookupError || (this.expanded ? `${this.rows.length} suggestions available.` : "");
|
|
1737
1735
|
const groups = [...new Set(this.rows.map((row) => row.group ?? ""))];
|
|
1738
|
-
return h(Host, { key: "
|
|
1736
|
+
return h(Host, { key: "a33890c2824f29dfea5e22edddca4480a6d1d032", "data-size": this.size, "data-validation": this.validation.status, onFocusout: this.onFocusOut }, h("label", { key: "c936530cf696c1d14245fd83895e9c58c908df12", htmlFor: "input", part: "label", class: this.labelVisibility === "sr-only" ? "sr-only" : void 0 }, this.label, this.required ? " *" : ""), h("div", { key: "0fe0ed9b15a3e256867e071ca7e4fa3abc66f27c", class: "field", part: "field", ref: (element) => this.field = element, onClick: (event) => {
|
|
1737
|
+
if (!event.composedPath().some((node) => node instanceof HTMLButtonElement))
|
|
1738
|
+
this.input?.focus();
|
|
1739
|
+
} }, h("slot", { key: "9cc4c22eb7776e415792fbdf3c17c962c7107f70", name: "start" }), h("input", { key: "0898e8ec5af57c7ba8ad227164f7955ef4011729", id: "input", ref: (element) => this.input = element, role: "combobox", "aria-autocomplete": "list", "aria-expanded": String(this.expanded), "aria-controls": "listbox", "aria-activedescendant": this.expanded && this.active >= 0 ? `option-${this.active}` : void 0, "aria-describedby": description, "aria-invalid": String(this.validation.status === "error"), "aria-busy": String(this.validation.status === "pending"), value: this.display, placeholder: this.placeholder, name: this.name || void 0, disabled: this.disabled, readOnly: this.readOnly, required: this.required, autoComplete: "off", part: "input", onInput: this.onInput, onKeyDown: this.onKeydown, onCompositionstart: () => this.composing = true, onCompositionend: () => {
|
|
1739
1740
|
this.composing = false;
|
|
1740
1741
|
this.onInput(new InputEvent("input"));
|
|
1741
|
-
} }), this.clearable && h("button", { key: "
|
|
1742
|
+
} }), this.clearable && h("button", { key: "f9a49484ae9bcc4ace72a46d0c59202040ff39d8", type: "button", part: "affordance", "aria-label": `Clear ${this.label}`, disabled: this.disabled || this.readOnly, onClick: () => {
|
|
1742
1743
|
this.commit(null, "", null, "clear", "pointer");
|
|
1743
1744
|
this.close();
|
|
1744
1745
|
this.input?.focus();
|
|
1745
|
-
} }, "\xD7"), this.help && h("button", { key: "
|
|
1746
|
+
} }, "\xD7"), this.help && h("button", { key: "597106eda4dcc68aa9fb2eaa99c1edad0d68a892", id: "help", type: "button", part: "affordance", "aria-label": `Help for ${this.label}`, disabled: this.disabled }, h("span", { key: "d26085a52b16d65e26dc20ef8afacb5defec5f7b", "aria-hidden": "true" }, "?")), this.disclosure && h("button", { key: "391d1c987eb8e868b2846eafd0627cfc78ab7478", type: "button", part: "affordance", "aria-label": `Suggestions for ${this.label}`, "aria-controls": "listbox", "aria-expanded": String(this.expanded), disabled: this.disabled || this.readOnly, onClick: () => {
|
|
1746
1747
|
if (this.expanded)
|
|
1747
1748
|
this.close();
|
|
1748
1749
|
else
|
|
1749
1750
|
this.open("disclosure");
|
|
1750
1751
|
this.input?.focus();
|
|
1751
|
-
} }, h("span", { key: "
|
|
1752
|
+
} }, h("span", { key: "45678ce468fd7944306d4542e3c6af0fe211af14", "aria-hidden": "true" }, "\u2304"))), this.help && h("ui-tooltip", { key: "a8dc037639a60aff5a12b4651ffa10fc5ccd33eb", id: "help-text", for: "help", toggleOnClick: true, onOpen: () => this.helpOpen = true, onClose: () => this.helpOpen = false }, this.help), h("div", { key: "f13fc7a11c3d22995035b6701ea24637a048a5b8", class: "popup", part: "popup", hidden: !this.expanded, ref: (element) => this.popup = element }, h("div", { key: "9d2bdfcc558f8e7de87f2915ea5607a8f32c1762", id: "listbox", role: "listbox", "aria-label": `${this.label} suggestions`, "aria-busy": String(this.loading) }, groups.map((group) => h("div", { role: group ? "group" : "presentation", "aria-label": group || void 0 }, group && h("div", { class: "group", part: "group" }, group), this.rows.map((row, index) => (row.group ?? "") !== group ? null : h("div", { id: `option-${index}`, role: "option", "aria-selected": String(this.selected === row.value), "aria-disabled": String(Boolean(row.disabled)), "data-active": this.active === index ? "" : void 0, part: "option", class: "option", onPointerDown: (event) => event.preventDefault(), onClick: () => this.choose(index, "pointer") }, h("slot", { name: `option-${row.id}` }, h("span", { class: "primary", part: "option-primary" }, row.label), row.description && h("span", { class: "secondary", part: "option-secondary" }, row.description)))))), this.canCreate && h("div", { key: "9495fd43a721c84621b8083cb8eac776f843ab59", id: `option-${this.rows.length}`, role: "option", "aria-selected": "false", class: "option", part: "option", "data-active": this.active === this.rows.length ? "" : void 0, onPointerDown: (event) => event.preventDefault(), onClick: () => this.choose(this.rows.length, "pointer") }, h("slot", { key: "f0407c5622dcf3b325985c136657f8b9ac8a4ab5", name: "create" }, "Create \u201C", this.raw, "\u201D"))), this.loading ? h("div", { class: "message" }, h("slot", { name: "loading" }, "Loading suggestions\u2026")) : this.lookupError ? h("div", { class: "message" }, h("slot", { name: "error" }, this.lookupError)) : !this.rows.length && !this.canCreate ? h("div", { class: "message" }, h("slot", { name: "empty" }, "No suggestions.")) : null, h("slot", { key: "efcaee3efb029a9e0bb4e033ab61b251331c1c93", name: "footer" })), h("div", { key: "b44ccb319f94ebc9e6ac3204a8c1771d49485a58", id: "validation", class: "message", part: "validation", hidden: !this.validation.issues.length }, this.validation.issues.map((issue) => h("div", null, issue.message))), h("div", { key: "c3cb51dd4603734af4c7a02d8fe0bb42ac69083a", class: "sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" }, status, " ", this.validation.status === "pending" ? "Checking value\u2026" : this.validation.issues.map((issue) => issue.message).join(" ")));
|
|
1752
1753
|
}
|
|
1753
1754
|
static get watchers() {
|
|
1754
1755
|
return {
|
|
@@ -1995,7 +1996,7 @@ var init_ui_context_menu_entry = __esm({
|
|
|
1995
1996
|
this.closeMenu("action", "pointer");
|
|
1996
1997
|
};
|
|
1997
1998
|
render() {
|
|
1998
|
-
return h(Host, { key: "
|
|
1999
|
+
return h(Host, { key: "171e647667bab4a9f905f2b531aa2db182fc426f", "data-open": this.internalOpen ? "" : void 0, "data-focus-trigger": this.internalOpen ? this.focusTrigger : void 0, onKeyDown: this.onKeydown, onClick: this.onItemClick }, h("slot", { key: "f1a15e54ab3b14515553e05b4b3cf60ed7a99f8b", name: "trigger" }), h("div", { key: "450aaacf3f75a71ecce86300c0d824452ceec4a0", class: "menu", "data-open": this.internalOpen ? "" : void 0 }, h("ui-menu", { key: "667003b7c6ab3ccbaa888b25cb87d921036ab827", open: this.internalOpen }, h("slot", { key: "c0731115bc3dbd02c4125ef8208269dd97e124bf" }))));
|
|
1999
2000
|
}
|
|
2000
2001
|
static get watchers() {
|
|
2001
2002
|
return {
|
|
@@ -2133,7 +2134,7 @@ var init_ui_dialog_entry = __esm({
|
|
|
2133
2134
|
this.accessibleLabel = nextLabel;
|
|
2134
2135
|
};
|
|
2135
2136
|
render() {
|
|
2136
|
-
return h(Host, { key: "
|
|
2137
|
+
return h(Host, { key: "6e12a287866c76305c791c0ae538dcde63da3044", "data-open": this.internalOpen ? "" : void 0, onKeyDown: this.onKeydown }, h("dialog", { key: "99ba3815e8a8c70ce50ff08d9a8b162aa9c1011f", ref: (el) => this.dialogRef = el, open: this.internalOpen, "aria-label": this.accessibleLabel }, h("slot", { key: "e72b001877d2dfad1bcee9af87167c66d77fc952" })));
|
|
2137
2138
|
}
|
|
2138
2139
|
static get watchers() {
|
|
2139
2140
|
return {
|
|
@@ -2266,7 +2267,7 @@ var init_ui_disclosure_entry = __esm({
|
|
|
2266
2267
|
this.setOpen(!this.internalOpen, { reason: "action", trigger: "keyboard" });
|
|
2267
2268
|
};
|
|
2268
2269
|
render() {
|
|
2269
|
-
return h(Host, { key: "
|
|
2270
|
+
return h(Host, { key: "55f998f8e47ebe01fd5832d6c3dac310dda34b8d" }, h("slot", { key: "0d88728151901e1e412d7f5a3ae78b06aa7548fb" }));
|
|
2270
2271
|
}
|
|
2271
2272
|
static get watchers() {
|
|
2272
2273
|
return {
|
|
@@ -2283,6 +2284,113 @@ var init_ui_disclosure_entry = __esm({
|
|
|
2283
2284
|
}
|
|
2284
2285
|
});
|
|
2285
2286
|
|
|
2287
|
+
// dist/esm/ui-editable.entry.js
|
|
2288
|
+
var ui_editable_entry_exports = {};
|
|
2289
|
+
__export(ui_editable_entry_exports, {
|
|
2290
|
+
ui_editable: () => UIEditable
|
|
2291
|
+
});
|
|
2292
|
+
var uiEditableCss, UIEditable;
|
|
2293
|
+
var init_ui_editable_entry = __esm({
|
|
2294
|
+
"dist/esm/ui-editable.entry.js"() {
|
|
2295
|
+
init_index_8BGiMGQ0();
|
|
2296
|
+
init_controlled_state_BnGhGgTH();
|
|
2297
|
+
uiEditableCss = () => `:host{display:block;min-inline-size:0}[hidden]{display:none !important}`;
|
|
2298
|
+
UIEditable = class {
|
|
2299
|
+
constructor(hostRef) {
|
|
2300
|
+
registerInstance(this, hostRef);
|
|
2301
|
+
this.editChange = createEvent(this, "edit-change");
|
|
2302
|
+
}
|
|
2303
|
+
get host() {
|
|
2304
|
+
return getElement(this);
|
|
2305
|
+
}
|
|
2306
|
+
/** Controlled edit state. Omit it to use defaultEdit and local interaction state. */
|
|
2307
|
+
edit;
|
|
2308
|
+
defaultEdit = false;
|
|
2309
|
+
disabled = false;
|
|
2310
|
+
editChange;
|
|
2311
|
+
internalEdit = false;
|
|
2312
|
+
trigger = null;
|
|
2313
|
+
syncFromProp() {
|
|
2314
|
+
if (isControlled(this.edit))
|
|
2315
|
+
this.internalEdit = this.edit;
|
|
2316
|
+
}
|
|
2317
|
+
componentWillLoad() {
|
|
2318
|
+
this.internalEdit = controlledOrDefault(this.edit, this.defaultEdit);
|
|
2319
|
+
}
|
|
2320
|
+
componentDidLoad() {
|
|
2321
|
+
this.host.ownerDocument.addEventListener("pointerdown", this.onDocumentPointerDown, true);
|
|
2322
|
+
}
|
|
2323
|
+
disconnectedCallback() {
|
|
2324
|
+
this.host.ownerDocument.removeEventListener("pointerdown", this.onDocumentPointerDown, true);
|
|
2325
|
+
}
|
|
2326
|
+
requestEdit(next, reason, trigger) {
|
|
2327
|
+
if (this.disabled || this.internalEdit === next)
|
|
2328
|
+
return;
|
|
2329
|
+
if (!isControlled(this.edit))
|
|
2330
|
+
this.internalEdit = next;
|
|
2331
|
+
this.editChange.emit({ edit: next, reason, trigger });
|
|
2332
|
+
if (next)
|
|
2333
|
+
requestAnimationFrame(() => this.focusEditor());
|
|
2334
|
+
else
|
|
2335
|
+
requestAnimationFrame(() => this.trigger?.focus());
|
|
2336
|
+
}
|
|
2337
|
+
focusEditor() {
|
|
2338
|
+
const editRoot = this.host.querySelector('[slot="edit"]');
|
|
2339
|
+
const candidate = editRoot?.matches("input, textarea, select, button, [tabindex], ui-combobox, ui-multi-combobox") ? editRoot : editRoot?.querySelector("input, textarea, select, button, [tabindex], ui-combobox, ui-multi-combobox");
|
|
2340
|
+
const focusInput = candidate?.focusInput;
|
|
2341
|
+
if (typeof focusInput === "function")
|
|
2342
|
+
void focusInput.call(candidate);
|
|
2343
|
+
else
|
|
2344
|
+
candidate?.focus();
|
|
2345
|
+
}
|
|
2346
|
+
eventTrigger(event) {
|
|
2347
|
+
return event.composedPath().find((node) => node instanceof HTMLElement && node.hasAttribute("data-ui-editable-trigger"));
|
|
2348
|
+
}
|
|
2349
|
+
onClick = (event) => {
|
|
2350
|
+
if (this.internalEdit || this.disabled)
|
|
2351
|
+
return;
|
|
2352
|
+
const trigger = this.eventTrigger(event);
|
|
2353
|
+
if (!trigger)
|
|
2354
|
+
return;
|
|
2355
|
+
this.trigger = trigger;
|
|
2356
|
+
this.requestEdit(true, "activate", "pointer");
|
|
2357
|
+
};
|
|
2358
|
+
onKeyDown = (event) => {
|
|
2359
|
+
if (this.internalEdit && event.key === "Escape") {
|
|
2360
|
+
event.preventDefault();
|
|
2361
|
+
event.stopPropagation();
|
|
2362
|
+
this.requestEdit(false, "escape", "keyboard");
|
|
2363
|
+
return;
|
|
2364
|
+
}
|
|
2365
|
+
if (this.internalEdit || !["Enter", " "].includes(event.key))
|
|
2366
|
+
return;
|
|
2367
|
+
const trigger = this.eventTrigger(event);
|
|
2368
|
+
if (!trigger)
|
|
2369
|
+
return;
|
|
2370
|
+
event.preventDefault();
|
|
2371
|
+
this.trigger = trigger;
|
|
2372
|
+
this.requestEdit(true, "activate", "keyboard");
|
|
2373
|
+
};
|
|
2374
|
+
onDocumentPointerDown = (event) => {
|
|
2375
|
+
if (!this.internalEdit || event.composedPath().includes(this.host))
|
|
2376
|
+
return;
|
|
2377
|
+
this.requestEdit(false, "light-dismiss", "pointer");
|
|
2378
|
+
};
|
|
2379
|
+
render() {
|
|
2380
|
+
return h(Host, { key: "f350400d4ebf897fb657b83b7cba9d309c5067bd", "data-edit": this.internalEdit ? "" : void 0, "data-disabled": this.disabled ? "" : void 0, onClick: this.onClick, onKeyDown: this.onKeyDown }, h("div", { key: "f365ac61f59e9aaa1516121e3d6e2a42187e1d7b", part: "preview", hidden: this.internalEdit }, h("slot", { key: "ea234b437cc4eb530f2994d695429be91d874ef7", name: "preview" })), h("div", { key: "dacf0e74e72c47868986c80aaa60f55942fd9505", part: "edit", hidden: !this.internalEdit }, h("slot", { key: "54a943bc290335181a23b4cfa6055e4acfd8a62b", name: "edit" })));
|
|
2381
|
+
}
|
|
2382
|
+
static get watchers() {
|
|
2383
|
+
return {
|
|
2384
|
+
"edit": [{
|
|
2385
|
+
"syncFromProp": 0
|
|
2386
|
+
}]
|
|
2387
|
+
};
|
|
2388
|
+
}
|
|
2389
|
+
};
|
|
2390
|
+
UIEditable.style = uiEditableCss();
|
|
2391
|
+
}
|
|
2392
|
+
});
|
|
2393
|
+
|
|
2286
2394
|
// dist/esm/ui-floating-action-button.entry.js
|
|
2287
2395
|
var ui_floating_action_button_entry_exports = {};
|
|
2288
2396
|
__export(ui_floating_action_button_entry_exports, {
|
|
@@ -2301,7 +2409,7 @@ var init_ui_floating_action_button_entry = __esm({
|
|
|
2301
2409
|
mobileOnly = false;
|
|
2302
2410
|
label = "";
|
|
2303
2411
|
render() {
|
|
2304
|
-
return h(Host, { key: "
|
|
2412
|
+
return h(Host, { key: "9e917e07efcef5c0a96b8b09af8934f336a521bd", "data-disabled": this.disabled ? "" : void 0 }, h("button", { key: "940daac4c2ff1144d7e82b36727205f286325a8e", type: "button", "aria-label": this.label || void 0, disabled: this.disabled }, h("slot", { key: "382c70aa4836f6e799f98e1f0e4bc6e3104430fc" })));
|
|
2305
2413
|
}
|
|
2306
2414
|
};
|
|
2307
2415
|
UIFloatingActionButton.style = uiFloatingActionButtonCss();
|
|
@@ -2420,7 +2528,7 @@ var init_ui_form_field_entry = __esm({
|
|
|
2420
2528
|
input.setAttribute("aria-invalid", this.invalid ? "true" : "false");
|
|
2421
2529
|
}
|
|
2422
2530
|
render() {
|
|
2423
|
-
return h(Host, { key: "
|
|
2531
|
+
return h(Host, { key: "ac01e2be489b9c907169417dc5064061bd74ff7c", "data-invalid": this.invalid ? "" : void 0, "data-disabled": this.disabled ? "" : void 0, "data-required": this.required ? "" : void 0 }, h("slot", { key: "c739f9b2c948bc1d3db4316871c2293bf75cf520", onSlotchange: this.scheduleWire }));
|
|
2424
2532
|
}
|
|
2425
2533
|
};
|
|
2426
2534
|
UIFormField.style = uiFormFieldCss();
|
|
@@ -2448,7 +2556,7 @@ var init_ui_icon_button_entry = __esm({
|
|
|
2448
2556
|
/** Reveals this control through a surrounding ui-affordance-scope. */
|
|
2449
2557
|
anticipatory = false;
|
|
2450
2558
|
render() {
|
|
2451
|
-
return h(Host, { key: "
|
|
2559
|
+
return h(Host, { key: "225e147d184109d39a2e6f9236ba3ba3c5864c31", "data-disabled": this.disabled ? "" : void 0, "data-ui-affordance": this.anticipatory ? "button" : void 0 }, h("button", { key: "7e54fab4520ae6641c974abf19e975e8eec7a3df", type: "button", "aria-label": this.label || void 0, disabled: this.disabled }, h("slot", { key: "54f9ba27c5a2ca896267f07ad1055907e74a64bc" })));
|
|
2452
2560
|
}
|
|
2453
2561
|
};
|
|
2454
2562
|
UIIconButton.style = uiIconButtonCss();
|
|
@@ -2538,7 +2646,7 @@ var init_ui_input_entry = __esm({
|
|
|
2538
2646
|
});
|
|
2539
2647
|
};
|
|
2540
2648
|
render() {
|
|
2541
|
-
return h(Host, { key: "
|
|
2649
|
+
return h(Host, { key: "0d8676e8458476681653ef4600dcb0f3b56d1ed1", "data-invalid": this.invalid ? "" : void 0 }, h("slot", { key: "d3585c07b6985d9090002f7a9c0eea1227517e0f", ref: (el) => this.slotRef = el }));
|
|
2542
2650
|
}
|
|
2543
2651
|
static get watchers() {
|
|
2544
2652
|
return {
|
|
@@ -2584,7 +2692,7 @@ var init_ui_menu_item_entry = __esm({
|
|
|
2584
2692
|
disabled = false;
|
|
2585
2693
|
value = "";
|
|
2586
2694
|
render() {
|
|
2587
|
-
return h(Host, { key: "
|
|
2695
|
+
return h(Host, { key: "711e7f70268d23969e40073cd47b065afadc22c9", role: "menuitem", tabIndex: this.disabled ? -1 : 0, "aria-disabled": this.disabled ? "true" : void 0, "data-value": this.value || void 0 }, h("span", { key: "d0c0aff983bdbc48666fcd652b39340bfd92c790", class: "menu-item__surface" }, h("slot", { key: "3fc6111848142b388529a9cdb5f6134bffe8fa42" })));
|
|
2588
2696
|
}
|
|
2589
2697
|
};
|
|
2590
2698
|
UIMenuItem.style = uiMenuItemCss();
|
|
@@ -2749,7 +2857,7 @@ var init_ui_menu_entry = __esm({
|
|
|
2749
2857
|
}
|
|
2750
2858
|
};
|
|
2751
2859
|
render() {
|
|
2752
|
-
return h(Host, { key: "
|
|
2860
|
+
return h(Host, { key: "afba5a7f63238afdb6f71a3636c1f294d3e8ac6f", role: "menu", "aria-orientation": "vertical", "data-open": this.internalOpen ? "" : void 0 }, h("div", { key: "50d770efd27dddca436b804f10f1cc40bc604cb5", class: "menu__surface" }, h("slot", { key: "5014fc43a0ee2d66168bbcc1d52b20bd5120acb9" })));
|
|
2753
2861
|
}
|
|
2754
2862
|
static get watchers() {
|
|
2755
2863
|
return {
|
|
@@ -2772,6 +2880,202 @@ var init_ui_menu_entry = __esm({
|
|
|
2772
2880
|
}
|
|
2773
2881
|
});
|
|
2774
2882
|
|
|
2883
|
+
// dist/esm/ui-multi-combobox.entry.js
|
|
2884
|
+
var ui_multi_combobox_entry_exports = {};
|
|
2885
|
+
__export(ui_multi_combobox_entry_exports, {
|
|
2886
|
+
ui_multi_combobox: () => UIMultiCombobox
|
|
2887
|
+
});
|
|
2888
|
+
var uiMultiComboboxCss, UIMultiCombobox;
|
|
2889
|
+
var init_ui_multi_combobox_entry = __esm({
|
|
2890
|
+
"dist/esm/ui-multi-combobox.entry.js"() {
|
|
2891
|
+
init_index_8BGiMGQ0();
|
|
2892
|
+
uiMultiComboboxCss = () => `:host{display:block;min-inline-size:0;color:var(--ui-text-primary);font:inherit}ui-combobox::part(field){flex-wrap:wrap;align-items:center;gap:var(--ui-space-1);min-block-size:var(--ui-multi-combobox-min-block-size, 2.5rem);padding:var(--ui-space-1)}ui-combobox::part(input){flex:1 0 var(--ui-multi-combobox-input-min-inline-size, 5rem);width:auto;min-block-size:1.75rem;padding:var(--ui-space-0-5) var(--ui-space-1)}.items{display:contents}.item{appearance:none;display:inline-flex;max-inline-size:100%;padding:0;border:0;border-radius:var(--ui-radius-1);background:transparent;color:inherit;font:inherit;cursor:default}.item:focus-visible{outline:2px solid var(--ui-focus-ring);outline-offset:1px}.item:disabled{opacity:.6}`;
|
|
2893
|
+
UIMultiCombobox = class {
|
|
2894
|
+
constructor(hostRef) {
|
|
2895
|
+
registerInstance(this, hostRef);
|
|
2896
|
+
this.queryChange = createEvent(this, "query-change");
|
|
2897
|
+
this.addItem = createEvent(this, "add-item");
|
|
2898
|
+
this.removeItem = createEvent(this, "remove-item");
|
|
2899
|
+
this.createItem = createEvent(this, "create-item");
|
|
2900
|
+
this.optionsChange = createEvent(this, "options-change");
|
|
2901
|
+
}
|
|
2902
|
+
get host() {
|
|
2903
|
+
return getElement(this);
|
|
2904
|
+
}
|
|
2905
|
+
label = "";
|
|
2906
|
+
placeholder = "";
|
|
2907
|
+
items = [];
|
|
2908
|
+
config = {};
|
|
2909
|
+
query;
|
|
2910
|
+
defaultQuery = "";
|
|
2911
|
+
/** Characters that commit the current query and leave the input ready for the next item. */
|
|
2912
|
+
tokenSeparators = [];
|
|
2913
|
+
disabled = false;
|
|
2914
|
+
readOnly = false;
|
|
2915
|
+
required = false;
|
|
2916
|
+
name = "";
|
|
2917
|
+
queryChange;
|
|
2918
|
+
addItem;
|
|
2919
|
+
removeItem;
|
|
2920
|
+
createItem;
|
|
2921
|
+
optionsChange;
|
|
2922
|
+
raw = "";
|
|
2923
|
+
rows = [];
|
|
2924
|
+
combobox;
|
|
2925
|
+
filteredConfig;
|
|
2926
|
+
filteredConfigSource;
|
|
2927
|
+
filteredSelection = "";
|
|
2928
|
+
componentWillLoad() {
|
|
2929
|
+
this.raw = this.query ?? this.defaultQuery;
|
|
2930
|
+
}
|
|
2931
|
+
syncQuery() {
|
|
2932
|
+
if (this.query !== void 0)
|
|
2933
|
+
this.raw = this.query;
|
|
2934
|
+
}
|
|
2935
|
+
get selectedValues() {
|
|
2936
|
+
return new Set(this.items.map((item) => item.value));
|
|
2937
|
+
}
|
|
2938
|
+
get comboboxConfig() {
|
|
2939
|
+
const selectionKey = this.items.map((item) => item.value).join("\0");
|
|
2940
|
+
if (this.filteredConfig && this.filteredConfigSource === this.config && this.filteredSelection === selectionKey) {
|
|
2941
|
+
return this.filteredConfig;
|
|
2942
|
+
}
|
|
2943
|
+
const ownerFilter = this.config.filter;
|
|
2944
|
+
const selected = this.selectedValues;
|
|
2945
|
+
this.filteredConfigSource = this.config;
|
|
2946
|
+
this.filteredSelection = selectionKey;
|
|
2947
|
+
this.filteredConfig = {
|
|
2948
|
+
...this.config,
|
|
2949
|
+
filter: (option, query, context) => !selected.has(option.value) && (ownerFilter ? ownerFilter(option, query, context) : option.label.toLocaleLowerCase().includes(query.toLocaleLowerCase()))
|
|
2950
|
+
};
|
|
2951
|
+
return this.filteredConfig;
|
|
2952
|
+
}
|
|
2953
|
+
setQuery(query, trigger) {
|
|
2954
|
+
if (this.query === void 0)
|
|
2955
|
+
this.raw = query;
|
|
2956
|
+
this.queryChange.emit({ query, display: query, trigger });
|
|
2957
|
+
}
|
|
2958
|
+
clearCommittedQuery(input, trigger) {
|
|
2959
|
+
input.value = "";
|
|
2960
|
+
this.raw = "";
|
|
2961
|
+
this.setQuery("", trigger);
|
|
2962
|
+
}
|
|
2963
|
+
onQueryChange = (event) => {
|
|
2964
|
+
event.stopPropagation();
|
|
2965
|
+
this.setQuery(event.detail.query, event.detail.trigger);
|
|
2966
|
+
};
|
|
2967
|
+
onOptionsChange = (event) => {
|
|
2968
|
+
event.stopPropagation();
|
|
2969
|
+
this.rows = event.detail;
|
|
2970
|
+
this.optionsChange.emit(event.detail);
|
|
2971
|
+
};
|
|
2972
|
+
onValueChange = (event) => {
|
|
2973
|
+
event.stopPropagation();
|
|
2974
|
+
if (event.detail.kind !== "selection" || !event.detail.option)
|
|
2975
|
+
return;
|
|
2976
|
+
const item = event.detail.option;
|
|
2977
|
+
this.addItem.emit({ item, index: this.items.length, trigger: event.detail.trigger });
|
|
2978
|
+
queueMicrotask(() => this.setQuery("", event.detail.trigger));
|
|
2979
|
+
};
|
|
2980
|
+
onCreateEntry = (event) => {
|
|
2981
|
+
event.stopPropagation();
|
|
2982
|
+
const query = event.detail.query.trim();
|
|
2983
|
+
if (!query)
|
|
2984
|
+
return;
|
|
2985
|
+
this.setQuery("", event.detail.trigger);
|
|
2986
|
+
this.createItem.emit({ query, trigger: event.detail.trigger });
|
|
2987
|
+
};
|
|
2988
|
+
commitQuery(input, trigger) {
|
|
2989
|
+
const query = this.raw.trim();
|
|
2990
|
+
if (!query)
|
|
2991
|
+
return;
|
|
2992
|
+
const normalizedQuery = query.toLocaleLowerCase();
|
|
2993
|
+
const option = this.rows.find((row) => row.label.trim().toLocaleLowerCase() === normalizedQuery);
|
|
2994
|
+
if (option) {
|
|
2995
|
+
this.clearCommittedQuery(input, trigger);
|
|
2996
|
+
this.addItem.emit({ item: option, index: this.items.length, trigger });
|
|
2997
|
+
} else if (this.config.allowCreate) {
|
|
2998
|
+
this.clearCommittedQuery(input, trigger);
|
|
2999
|
+
this.createItem.emit({ query, trigger });
|
|
3000
|
+
}
|
|
3001
|
+
}
|
|
3002
|
+
remove(index, trigger) {
|
|
3003
|
+
const item = this.items[index];
|
|
3004
|
+
if (!item || item.disabled || this.disabled || this.readOnly)
|
|
3005
|
+
return;
|
|
3006
|
+
this.removeItem.emit({ item, index, trigger });
|
|
3007
|
+
requestAnimationFrame(() => {
|
|
3008
|
+
const buttons = this.host.shadowRoot?.querySelectorAll('[part="item"]') ?? [];
|
|
3009
|
+
const next = buttons[Math.min(index, buttons.length - 1)] ?? buttons[index - 1];
|
|
3010
|
+
if (next && next.dataset.value !== item.value)
|
|
3011
|
+
next.focus();
|
|
3012
|
+
else
|
|
3013
|
+
void this.focusInput();
|
|
3014
|
+
});
|
|
3015
|
+
}
|
|
3016
|
+
focusItem(index) {
|
|
3017
|
+
this.host.shadowRoot?.querySelectorAll('[part="item"]')[index]?.focus();
|
|
3018
|
+
}
|
|
3019
|
+
onItemKeyDown = (event, index) => {
|
|
3020
|
+
if (event.altKey || event.ctrlKey || event.metaKey || event.shiftKey)
|
|
3021
|
+
return;
|
|
3022
|
+
if (event.key === "ArrowLeft") {
|
|
3023
|
+
event.preventDefault();
|
|
3024
|
+
event.stopPropagation();
|
|
3025
|
+
this.focusItem(Math.max(0, index - 1));
|
|
3026
|
+
} else if (event.key === "ArrowRight") {
|
|
3027
|
+
event.preventDefault();
|
|
3028
|
+
event.stopPropagation();
|
|
3029
|
+
if (index === this.items.length - 1)
|
|
3030
|
+
void this.focusInput();
|
|
3031
|
+
else
|
|
3032
|
+
this.focusItem(index + 1);
|
|
3033
|
+
} else if (event.key === "Backspace" || event.key === "Delete") {
|
|
3034
|
+
event.preventDefault();
|
|
3035
|
+
event.stopPropagation();
|
|
3036
|
+
this.remove(index, "keyboard");
|
|
3037
|
+
}
|
|
3038
|
+
};
|
|
3039
|
+
onKeyDown = (event) => {
|
|
3040
|
+
if (event.defaultPrevented || event.isComposing || this.disabled || this.readOnly || event.altKey || event.ctrlKey || event.metaKey || event.shiftKey)
|
|
3041
|
+
return;
|
|
3042
|
+
const input = event.composedPath().find((node) => node instanceof HTMLInputElement);
|
|
3043
|
+
if (!input)
|
|
3044
|
+
return;
|
|
3045
|
+
if (this.tokenSeparators.includes(event.key)) {
|
|
3046
|
+
event.preventDefault();
|
|
3047
|
+
event.stopPropagation();
|
|
3048
|
+
this.commitQuery(input, "keyboard");
|
|
3049
|
+
return;
|
|
3050
|
+
}
|
|
3051
|
+
if (this.raw || (input.selectionStart ?? 0) > 0)
|
|
3052
|
+
return;
|
|
3053
|
+
if (event.key === "ArrowLeft" && this.items.length) {
|
|
3054
|
+
event.preventDefault();
|
|
3055
|
+
this.focusItem(this.items.length - 1);
|
|
3056
|
+
} else if (event.key === "Backspace" && this.items.length) {
|
|
3057
|
+
event.preventDefault();
|
|
3058
|
+
this.remove(this.items.length - 1, "keyboard");
|
|
3059
|
+
}
|
|
3060
|
+
};
|
|
3061
|
+
async focusInput() {
|
|
3062
|
+
await this.combobox?.focusInput();
|
|
3063
|
+
}
|
|
3064
|
+
render() {
|
|
3065
|
+
return h(Host, { key: "c1acc758a2856e5bd022e076030798c9d63ff416", onKeyDown: this.onKeyDown }, h("ui-combobox", { key: "8f77d28aa1d228dd809f86695429328decaf7468", ref: (element) => this.combobox = element, label: this.label, "label-visibility": "sr-only", placeholder: this.placeholder, name: this.name, value: null, query: this.raw, config: this.comboboxConfig, size: "sm", disabled: this.disabled, readOnly: this.readOnly, required: this.required, "onQuery-change": this.onQueryChange, "onValue-change": this.onValueChange, "onCreate-entry": this.onCreateEntry, "onOptions-change": this.onOptionsChange }, h("div", { key: "f4f0849c145d9bcc4d47103d3dc4fdce8009aeab", slot: "start", class: "items", role: "group", "aria-label": `Selected ${this.label}` }, this.items.map((item, index) => h("button", { type: "button", part: "item", class: "item", "data-value": item.value, tabIndex: -1, disabled: this.disabled || this.readOnly || item.disabled, "aria-label": `${item.label}, press Delete or Backspace to remove`, onKeyDown: (event) => this.onItemKeyDown(event, index) }, h("slot", { name: `item-${item.id}` }, h("ui-chip", { appearance: "pill" }, item.label))))), this.rows.map((option) => h("span", { slot: `option-${option.id}` }, h("slot", { name: `option-${option.id}` }, option.label))), h("span", { key: "3cf42f492bd946ca130321a2c3fcf976602c6566", slot: "create" }, h("slot", { key: "6f158cb1d96c0d0401fe5302cabffd052498f651", name: "create" }, "Create \u201C", this.raw, "\u201D")), h("span", { key: "0f436aca38aecf9485963d6588c27ab3288ced55", slot: "loading" }, h("slot", { key: "6c079ac5bbf6fff57aa7fa6f0022a939c96a5cd0", name: "loading" }, "Loading suggestions\u2026")), h("span", { key: "a7893e0ff0a1922a404e7c072338858d9e7fdf12", slot: "empty" }, h("slot", { key: "d6831db76cc1252aa942ccdcfba36c8cf4c60d22", name: "empty" }, "No suggestions.")), h("span", { key: "a096a393a167256cff11f77110ae29ac58a33779", slot: "error" }, h("slot", { key: "1bf52c85e911d9965b9b691d6ebf0b89bbea2d58", name: "error" }, "Unable to load suggestions.")), h("div", { key: "b7d88c9b427305da8b986eb993b49e5c581c1445", slot: "footer" }, h("slot", { key: "f84fdf78c3e373f4735ed88574af06f1ca3cc1b5", name: "footer" }))));
|
|
3066
|
+
}
|
|
3067
|
+
static get watchers() {
|
|
3068
|
+
return {
|
|
3069
|
+
"query": [{
|
|
3070
|
+
"syncQuery": 0
|
|
3071
|
+
}]
|
|
3072
|
+
};
|
|
3073
|
+
}
|
|
3074
|
+
};
|
|
3075
|
+
UIMultiCombobox.style = uiMultiComboboxCss();
|
|
3076
|
+
}
|
|
3077
|
+
});
|
|
3078
|
+
|
|
2775
3079
|
// dist/esm/ui-popover.entry.js
|
|
2776
3080
|
var ui_popover_entry_exports = {};
|
|
2777
3081
|
__export(ui_popover_entry_exports, {
|
|
@@ -2891,7 +3195,7 @@ var init_ui_popover_entry = __esm({
|
|
|
2891
3195
|
}
|
|
2892
3196
|
};
|
|
2893
3197
|
render() {
|
|
2894
|
-
return h(Host, { key: "
|
|
3198
|
+
return h(Host, { key: "a4986ace0f3c586774a549cb844287b28ccd0531", "data-open": this.internalOpen ? "" : void 0, onKeyDown: this.onKeydown }, h("div", { key: "8f2c589916d06138ef72bfe0d039893b3c59a7cc", class: "popover__surface" }, h("slot", { key: "ee70e7dcc53a99b5c80e56862a6eb00edcfcf912" })));
|
|
2895
3199
|
}
|
|
2896
3200
|
static get watchers() {
|
|
2897
3201
|
return {
|
|
@@ -3028,7 +3332,7 @@ var init_ui_radio_group_entry = __esm({
|
|
|
3028
3332
|
}
|
|
3029
3333
|
};
|
|
3030
3334
|
render() {
|
|
3031
|
-
return h(Host, { key: "
|
|
3335
|
+
return h(Host, { key: "1882ad7c092c6a138eab2a52c19beb9a950a8d5a", role: "radiogroup", "aria-orientation": this.orientation, "data-orientation": this.orientation, "data-disabled": this.disabled ? "" : void 0 }, h("slot", { key: "d5abade3d23963410cfbac17e80aa16dd21ccc6e" }));
|
|
3032
3336
|
}
|
|
3033
3337
|
static get watchers() {
|
|
3034
3338
|
return {
|
|
@@ -3131,7 +3435,7 @@ var init_ui_radio_entry = __esm({
|
|
|
3131
3435
|
});
|
|
3132
3436
|
};
|
|
3133
3437
|
render() {
|
|
3134
|
-
return h(Host, { key: "
|
|
3438
|
+
return h(Host, { key: "f4700b43790accd29a6bcc55fcc862072e29c335", role: "radio", "aria-checked": String(this.internalChecked), "aria-disabled": String(this.disabled), "data-disabled": this.disabled ? "" : void 0 }, h("slot", { key: "ed32c35f8f68c662a8b95e58b74c8c76c959ea49", ref: (el) => this.slotRef = el }));
|
|
3135
3439
|
}
|
|
3136
3440
|
static get watchers() {
|
|
3137
3441
|
return {
|
|
@@ -3202,7 +3506,7 @@ var init_ui_search_result_row_entry = __esm({
|
|
|
3202
3506
|
this.hasTrailing = slotHasContent(this.trailingSlot);
|
|
3203
3507
|
};
|
|
3204
3508
|
render() {
|
|
3205
|
-
return h(Host, { key: "
|
|
3509
|
+
return h(Host, { key: "eeda041dbcf8841cd53be9c532df208eb3be3d3b" }, h("button", { key: "71d3db6d2eca4f8d7796429f68ef73bf2c7b62f7", class: "search-result-row", type: "button", disabled: this.disabled, part: "button" }, h("span", { key: "f2260cab9f654e7f5e96a5e7e2a1cbbb5a55fde3", class: "search-result-row__leading", part: "leading", hidden: !this.hasLeading }, h("slot", { key: "824fffc19c2b5712dae0c000f12cc36a0043a370", name: "leading", ref: (el) => this.leadingSlot = el, onSlotchange: this.syncSlots })), h("span", { key: "4e3728ea7d363f256f1b3283df6eb984cf3f570f", class: "search-result-row__content", part: "content" }, h("span", { key: "95009b1ce569fb4251df62334a5dd88f1de561af", class: "search-result-row__title", part: "title" }, h("slot", { key: "132beecf36471ae0db68d686829428225699c534", name: "title" })), h("span", { key: "0ad7c8d52aa40ccf62667d3ecca4d48b49917a9a", class: "search-result-row__meta", part: "meta", hidden: !this.hasMeta }, h("slot", { key: "4b97129504571a676839287bd87e68d803f8bc99", name: "meta", ref: (el) => this.metaSlot = el, onSlotchange: this.syncSlots })), h("span", { key: "e6c73e653fb7dc213866a15870281f3f6d95a86b", class: "search-result-row__excerpt", part: "excerpt", hidden: !this.hasExcerpt }, h("slot", { key: "49deae8194485304380b8b4b3d4fe96cd6623f4d", name: "excerpt", ref: (el) => this.excerptSlot = el, onSlotchange: this.syncSlots }))), h("span", { key: "c7c6f0b57668644a28d3c4c981b4db79a0e3c42a", class: "search-result-row__trailing", part: "trailing", hidden: !this.hasTrailing }, h("slot", { key: "e6cbceeb41d23c9b7514f53663438069499d1a4d", name: "trailing", ref: (el) => this.trailingSlot = el, onSlotchange: this.syncSlots }))));
|
|
3206
3510
|
}
|
|
3207
3511
|
};
|
|
3208
3512
|
UISearchResultRow.style = uiSearchResultRowCss();
|
|
@@ -3246,7 +3550,7 @@ var init_ui_search_shell_entry = __esm({
|
|
|
3246
3550
|
this.hasFooter = slotHasContent2(this.footerSlot);
|
|
3247
3551
|
};
|
|
3248
3552
|
render() {
|
|
3249
|
-
return h("div", { key: "
|
|
3553
|
+
return h("div", { key: "ae5baf1fae88f3c0ff8c98e68e1c31d7f19d7b6a", class: "search-shell", part: "base" }, h("slot", { key: "192d10867902bc4618762ab3ce1ca8a44229ec11", name: "backdrop" }), h("div", { key: "72bafd3ba7aadebcb011fb27f56793a9079bb2e1", class: "search-shell__panel", part: "panel" }, h("div", { key: "c2d46c9099699cc1c2f357cb51d11ab0e6cf6c69", class: "search-shell__search", part: "search" }, h("slot", { key: "21f4ed690247fa794bd9322c75cee1721926087a", name: "search" })), h("div", { key: "84baba674456aa2a5878d5858d0e6531251440ce", class: "search-shell__status", part: "status", hidden: !this.hasStatus }, h("slot", { key: "6e7b6533a29231ebbcd41529d8120649ca4a1dd1", name: "status", ref: (el) => this.statusSlot = el, onSlotchange: this.syncSlots })), h("div", { key: "710d51d450132ad0f528b2eb2cd6f0312dbced2f", class: "search-shell__body", part: "body" }, h("slot", { key: "2c380ff4ad33ead6ca8c2611ebc024f125f0da48", name: "body" })), h("div", { key: "6923984a31c7bc23bae3ecee08d7acad14703a02", class: "search-shell__footer", part: "footer", hidden: !this.hasFooter }, h("slot", { key: "57c2eab7a3f46558ada8d1aa70d64f434bb8cdd6", name: "footer", ref: (el) => this.footerSlot = el, onSlotchange: this.syncSlots }))));
|
|
3250
3554
|
}
|
|
3251
3555
|
};
|
|
3252
3556
|
UISearchShell.style = uiSearchShellCss();
|
|
@@ -3339,7 +3643,7 @@ var init_ui_select_entry = __esm({
|
|
|
3339
3643
|
});
|
|
3340
3644
|
};
|
|
3341
3645
|
render() {
|
|
3342
|
-
return h(Host, { key: "
|
|
3646
|
+
return h(Host, { key: "74cbe4a76a23af415c202c61951ad513b0ed6cb8", "data-invalid": this.invalid ? "" : void 0 }, h("slot", { key: "e86eb0cfb0d379cb3f8b2ea5ce3c69639d0cdda4", ref: (el) => this.slotRef = el }));
|
|
3343
3647
|
}
|
|
3344
3648
|
static get watchers() {
|
|
3345
3649
|
return {
|
|
@@ -3425,7 +3729,7 @@ var init_ui_switch_entry = __esm({
|
|
|
3425
3729
|
this.toggle("pointer");
|
|
3426
3730
|
};
|
|
3427
3731
|
render() {
|
|
3428
|
-
return h(Host, { key: "
|
|
3732
|
+
return h(Host, { key: "a37ded5259d71a57308cba6dd158ae4ae81e4e8b", role: "switch", "aria-checked": String(this.internalChecked), "aria-disabled": String(this.disabled), "data-disabled": this.disabled ? "" : void 0, tabIndex: this.disabled ? -1 : 0, onKeyDown: this.onKeydown, onClick: this.onClick }, h("input", { key: "882f81f39d752430f1de1554a5d83176416f4617", type: "checkbox", checked: this.internalChecked, disabled: this.disabled, required: this.required, value: this.value, "aria-hidden": "true", tabIndex: -1, onChange: (e) => {
|
|
3429
3733
|
const input = e.target;
|
|
3430
3734
|
const checked = input.checked;
|
|
3431
3735
|
if (!isControlled(this.checked))
|
|
@@ -3437,7 +3741,7 @@ var init_ui_switch_entry = __esm({
|
|
|
3437
3741
|
});
|
|
3438
3742
|
if (isControlled(this.checked))
|
|
3439
3743
|
input.checked = this.internalChecked;
|
|
3440
|
-
} }), h("slot", { key: "
|
|
3744
|
+
} }), h("slot", { key: "b3b2b5afae622d1ae79cadd84f60c6b6c2df55a4" }));
|
|
3441
3745
|
}
|
|
3442
3746
|
static get watchers() {
|
|
3443
3747
|
return {
|
|
@@ -3554,7 +3858,7 @@ var init_ui_tabs_entry = __esm({
|
|
|
3554
3858
|
}
|
|
3555
3859
|
};
|
|
3556
3860
|
render() {
|
|
3557
|
-
return h(Host, { key: "
|
|
3861
|
+
return h(Host, { key: "19207153c7b7a6ea5f5ffb50439e99af70984b44", orientation: this.orientation, "data-orientation": this.orientation }, h("slot", { key: "5045cd040eeccd028c00328206d47f7d17b622de" }));
|
|
3558
3862
|
}
|
|
3559
3863
|
static get watchers() {
|
|
3560
3864
|
return {
|
|
@@ -3659,7 +3963,7 @@ var init_ui_textarea_entry = __esm({
|
|
|
3659
3963
|
});
|
|
3660
3964
|
};
|
|
3661
3965
|
render() {
|
|
3662
|
-
return h(Host, { key: "
|
|
3966
|
+
return h(Host, { key: "020adfed4a177ef5d07852ff2e6ffb66b6f80742", "data-invalid": this.invalid ? "" : void 0 }, h("slot", { key: "2e9bd0e071e24fcf248eadf38f16484321359503", ref: (el) => this.slotRef = el }));
|
|
3663
3967
|
}
|
|
3664
3968
|
static get watchers() {
|
|
3665
3969
|
return {
|
|
@@ -3774,7 +4078,7 @@ var init_ui_toast_region_entry = __esm({
|
|
|
3774
4078
|
});
|
|
3775
4079
|
};
|
|
3776
4080
|
render() {
|
|
3777
|
-
return h(Host, { key: "
|
|
4081
|
+
return h(Host, { key: "8a3546bcd59e12f21393ea55fa4d232d3907a34e", role: "region", "aria-label": "Notifications", "aria-live": "polite", "data-open": this.internalOpen ? "" : void 0 }, h("slot", { key: "a4a4525a1ca768d65ff36b3889a821b8dda8b6f7" }));
|
|
3778
4082
|
}
|
|
3779
4083
|
static get watchers() {
|
|
3780
4084
|
return {
|
|
@@ -4015,7 +4319,7 @@ var init_ui_tooltip_entry = __esm({
|
|
|
4015
4319
|
}
|
|
4016
4320
|
}
|
|
4017
4321
|
render() {
|
|
4018
|
-
return h(Host, { key: "
|
|
4322
|
+
return h(Host, { key: "6c70f235889d6f1c425f0a51fcfc04e06a96dea4", role: "tooltip", hidden: !this.internalOpen, "data-open": this.internalOpen ? "" : void 0 }, h("div", { key: "5c4f1d264e32d308f5b26af4e967e13369c4238a", class: "tooltip__surface" }, h("slot", { key: "52b5900d67ffa7590b0ff97511f99718d2e8c311" })));
|
|
4019
4323
|
}
|
|
4020
4324
|
static get watchers() {
|
|
4021
4325
|
return {
|
|
@@ -4081,7 +4385,7 @@ var init_ui_top_bar_entry = __esm({
|
|
|
4081
4385
|
this.hasActions = slotHasContent3(this.actionsSlot);
|
|
4082
4386
|
};
|
|
4083
4387
|
render() {
|
|
4084
|
-
return h(Host, { key: "
|
|
4388
|
+
return h(Host, { key: "ef7cf644a8e8381d7d1f8d093bcfefcdc4620682" }, h("header", { key: "5055594a179d86efefd43529e070a582c51cb1d8", class: "top-bar", part: "base" }, h("div", { key: "bd6ec069ae9d7820a6992250ba1aa997b4cc6754", class: "top-bar__leading", hidden: !this.hasLeading }, h("slot", { key: "3b9b1b73fb455ad720e1db46757555eb3713c0b8", name: "leading", ref: (el) => this.leadingSlot = el, onSlotchange: this.syncSlots })), h("div", { key: "e402cc0cb7ec4418460182f8f32cb161c6139221", class: "top-bar__title" }, h("slot", { key: "fce0cfc11da269167853f591742b1369023864ae" })), h("div", { key: "6861bb04f399076378aa1fa9be24b35db277106a", class: "top-bar__search", hidden: !this.hasSearch }, h("slot", { key: "3857f37d53ec99b36a52cb7830e634afdee29d2e", name: "search", ref: (el) => this.searchSlot = el, onSlotchange: this.syncSlots })), h("div", { key: "538f6297078b6d5aa85906e902066e8809f52540", class: "top-bar__actions", hidden: !this.hasActions }, h("slot", { key: "3c45ff59c4b48673e796c6e93842cb11fceb652f", name: "actions", ref: (el) => this.actionsSlot = el, onSlotchange: this.syncSlots }))));
|
|
4085
4389
|
}
|
|
4086
4390
|
};
|
|
4087
4391
|
UITopBar.style = uiTopBarCss();
|
|
@@ -4212,10 +4516,10 @@ var init_ui_tree_item_entry = __esm({
|
|
|
4212
4516
|
const expanded = this.isExpanded();
|
|
4213
4517
|
const disclosureLabel = `${expanded ? "Collapse" : "Expand"} ${this.label || "item"}`;
|
|
4214
4518
|
const dragLabel = `Drag ${this.label || "item"} to reorder`;
|
|
4215
|
-
return h(Host, { key: "
|
|
4519
|
+
return h(Host, { key: "f092fa9586a39aba1a9629ba42e52f8fbc10de05", role: "treeitem", "aria-label": this.label || void 0, "aria-level": String(level), "aria-expanded": this.container ? String(expanded) : void 0, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? "true" : void 0, "data-container": this.container ? "" : void 0, "data-selected": this.selected ? "" : void 0, "data-disabled": this.disabled ? "" : void 0, "data-drag-type": this.dragType || "item", "data-drop-scope": this.dropScope || void 0, "data-accepts": this.accepts || void 0, tabIndex: this.disabled || !this.tabStop ? -1 : 0, style: {
|
|
4216
4520
|
"--ui-tree-item-depth": String(level - 1),
|
|
4217
4521
|
"margin-inline-start": level > 1 ? "var(--ui-tree-indent, 16px)" : "0px"
|
|
4218
|
-
} }, h("div", { key: "
|
|
4522
|
+
} }, h("div", { key: "2f16d97219ba9ec9e37688d97ad9144508aa1ed5", class: "row", part: "row", onClick: this.onRowClick }, this.sortable && !this.disabled ? h("button", { class: "drag-handle", part: "drag-handle", type: "button", draggable: true, "aria-label": dragLabel, title: dragLabel }, h("span", { innerHTML: loomaIconMarkup("grip-vertical") })) : null, this.container ? h("button", { class: "disclosure", part: "disclosure", type: "button", "aria-label": disclosureLabel, "aria-expanded": String(expanded), disabled: this.disabled, onClick: this.onDisclosureClick, onKeyDown: this.onDisclosureKeydown }, h("span", { class: { "disclosure-icon": true, "disclosure-icon--expanded": expanded }, innerHTML: loomaIconMarkup("chevron-down") })) : h("span", { class: "disclosure-spacer", "aria-hidden": "true" }), h("span", { key: "d984631c891df304edb3e1dc5bcd19af3ad8e20d", class: "leading", part: "leading" }, h("slot", { key: "81a0e055859df5d4daaa6dac39013b23dcc2831b", name: "leading" })), h("span", { key: "3ae295523d5a3b9feaa9bfaa16d807349e37d78b", class: "label", part: "label" }, h("slot", { key: "db8503a41d087d283074a41e76fa872ff4b2a707" })), h("span", { key: "ac5b5db7128b31a9263b912bd64cd90ac640eaeb", class: "actions", part: "actions" }, h("slot", { key: "c8842a5d80215ec297688c86f6bfe9b4d9bed333", name: "actions" })), h("span", { key: "b7f239bc16867678291850ad61a5cd752d6a7425", class: "drop-indicator row-drop-indicator", part: "drop-indicator", "aria-hidden": "true" })), this.container ? h("div", { class: "children", part: "children", role: "group", hidden: !expanded }, h("slot", { name: "children" })) : null, h("span", { key: "2a5f448db2f4f363a34a1a950785e0ee12cc9938", class: "drop-indicator subtree-drop-indicator", part: "drop-indicator", "aria-hidden": "true" }));
|
|
4219
4523
|
}
|
|
4220
4524
|
static get watchers() {
|
|
4221
4525
|
return {
|
|
@@ -4691,7 +4995,7 @@ var init_ui_tree_entry = __esm({
|
|
|
4691
4995
|
}
|
|
4692
4996
|
};
|
|
4693
4997
|
render() {
|
|
4694
|
-
return h(Host, { key: "
|
|
4998
|
+
return h(Host, { key: "7efbf793fe63471006df57f0045a5fe995c81440", role: "tree", "aria-label": this.label || "Tree" }, h("slot", { key: "1804e391796e7451c93cb58258e0e23ec3ad98c7" }));
|
|
4695
4999
|
}
|
|
4696
5000
|
};
|
|
4697
5001
|
UITree.style = uiTreeCss();
|
|
@@ -4710,17 +5014,18 @@ var init_ = __esm({
|
|
|
4710
5014
|
"./ui-button.entry.js": () => Promise.resolve().then(() => (init_ui_button_entry(), ui_button_entry_exports)),
|
|
4711
5015
|
"./ui-callout.entry.js": () => Promise.resolve().then(() => (init_ui_callout_entry(), ui_callout_entry_exports)),
|
|
4712
5016
|
"./ui-checkbox.entry.js": () => Promise.resolve().then(() => (init_ui_checkbox_entry(), ui_checkbox_entry_exports)),
|
|
4713
|
-
"./ui-
|
|
4714
|
-
"./ui-combobox.entry.js": () => Promise.resolve().then(() => (init_ui_combobox_entry(), ui_combobox_entry_exports)),
|
|
5017
|
+
"./ui-chip_2.entry.js": () => Promise.resolve().then(() => (init_ui_chip_2_entry(), ui_chip_2_entry_exports)),
|
|
4715
5018
|
"./ui-context-menu.entry.js": () => Promise.resolve().then(() => (init_ui_context_menu_entry(), ui_context_menu_entry_exports)),
|
|
4716
5019
|
"./ui-dialog.entry.js": () => Promise.resolve().then(() => (init_ui_dialog_entry(), ui_dialog_entry_exports)),
|
|
4717
5020
|
"./ui-disclosure.entry.js": () => Promise.resolve().then(() => (init_ui_disclosure_entry(), ui_disclosure_entry_exports)),
|
|
5021
|
+
"./ui-editable.entry.js": () => Promise.resolve().then(() => (init_ui_editable_entry(), ui_editable_entry_exports)),
|
|
4718
5022
|
"./ui-floating-action-button.entry.js": () => Promise.resolve().then(() => (init_ui_floating_action_button_entry(), ui_floating_action_button_entry_exports)),
|
|
4719
5023
|
"./ui-form-field.entry.js": () => Promise.resolve().then(() => (init_ui_form_field_entry(), ui_form_field_entry_exports)),
|
|
4720
5024
|
"./ui-icon-button.entry.js": () => Promise.resolve().then(() => (init_ui_icon_button_entry(), ui_icon_button_entry_exports)),
|
|
4721
5025
|
"./ui-input.entry.js": () => Promise.resolve().then(() => (init_ui_input_entry(), ui_input_entry_exports)),
|
|
4722
5026
|
"./ui-menu-item.entry.js": () => Promise.resolve().then(() => (init_ui_menu_item_entry(), ui_menu_item_entry_exports)),
|
|
4723
5027
|
"./ui-menu.entry.js": () => Promise.resolve().then(() => (init_ui_menu_entry(), ui_menu_entry_exports)),
|
|
5028
|
+
"./ui-multi-combobox.entry.js": () => Promise.resolve().then(() => (init_ui_multi_combobox_entry(), ui_multi_combobox_entry_exports)),
|
|
4724
5029
|
"./ui-popover.entry.js": () => Promise.resolve().then(() => (init_ui_popover_entry(), ui_popover_entry_exports)),
|
|
4725
5030
|
"./ui-radio-group.entry.js": () => Promise.resolve().then(() => (init_ui_radio_group_entry(), ui_radio_group_entry_exports)),
|
|
4726
5031
|
"./ui-radio.entry.js": () => Promise.resolve().then(() => (init_ui_radio_entry(), ui_radio_entry_exports)),
|
|
@@ -6350,7 +6655,7 @@ var globalScripts = () => {
|
|
|
6350
6655
|
var defineCustomElements = async (win2, options) => {
|
|
6351
6656
|
if (typeof window === "undefined") return void 0;
|
|
6352
6657
|
await globalScripts();
|
|
6353
|
-
return bootstrapLazy([["ui-combobox", [[769, "ui-combobox", { "label": [1], "placeholder": [1], "
|
|
6658
|
+
return bootstrapLazy([["ui-multi-combobox", [[769, "ui-multi-combobox", { "label": [1], "placeholder": [1], "items": [16], "config": [16], "query": [1], "defaultQuery": [1, "default-query"], "tokenSeparators": [16], "disabled": [4], "readOnly": [4, "readonly"], "required": [4], "name": [1], "raw": [32], "rows": [32], "focusInput": [64] }, null, { "query": [{ "syncQuery": 0 }] }]]], ["ui-context-menu", [[769, "ui-context-menu", { "open": [4], "defaultOpen": [4, "default-open"], "for": [1], "internalOpen": [32], "focusTrigger": [32] }, null, { "open": [{ "syncFromProp": 0 }], "for": [{ "syncTarget": 0 }], "internalOpen": [{ "syncOverlay": 0 }] }]]], ["ui-affordance-scope", [[769, "ui-affordance-scope", { "nearRadius": [514, "near-radius"] }, null, { "nearRadius": [{ "connectCoordinator": 0 }] }]]], ["ui-avatar", [[513, "ui-avatar", { "src": [1], "alt": [1], "name": [1], "fallback": [1], "hasImage": [32] }, null, { "src": [{ "watchSrc": 0 }] }]]], ["ui-avatar-group", [[769, "ui-avatar-group", { "max": [2], "label": [1], "overflowCount": [32] }, null, { "max": [{ "syncOverflow": 0 }] }]]], ["ui-badge", [[769, "ui-badge", { "variant": [1], "tone": [1] }]]], ["ui-button", [[769, "ui-button", { "variant": [1], "size": [1], "disabled": [4] }, null, { "variant": [{ "syncToButton": 0 }], "size": [{ "syncToButton": 0 }], "disabled": [{ "syncToButton": 0 }] }]]], ["ui-callout", [[769, "ui-callout", { "tone": [1] }]]], ["ui-checkbox", [[769, "ui-checkbox", { "checked": [4], "defaultChecked": [4, "default-checked"], "disabled": [4], "indeterminate": [4], "required": [4], "value": [1], "internalChecked": [32] }, null, { "checked": [{ "syncFromProp": 0 }], "internalChecked": [{ "syncToInput": 0 }], "indeterminate": [{ "syncToInput": 0 }], "disabled": [{ "syncToInput": 0 }], "required": [{ "syncToInput": 0 }] }]]], ["ui-dialog", [[769, "ui-dialog", { "open": [4], "defaultOpen": [4, "default-open"], "modal": [4], "dismissible": [4], "label": [1], "internalOpen": [32], "accessibleLabel": [32] }, null, { "open": [{ "syncFromProp": 0 }], "label": [{ "syncLabelFromProp": 0 }], "internalOpen": [{ "syncOpen": 0 }] }]]], ["ui-disclosure", [[769, "ui-disclosure", { "open": [4], "defaultOpen": [4, "default-open"], "disabled": [4], "internalOpen": [32], "contentId": [32] }, null, { "open": [{ "syncFromProp": 0 }], "internalOpen": [{ "syncState": 0 }] }]]], ["ui-editable", [[769, "ui-editable", { "edit": [4], "defaultEdit": [4, "default-edit"], "disabled": [4], "internalEdit": [32] }, null, { "edit": [{ "syncFromProp": 0 }] }]]], ["ui-floating-action-button", [[769, "ui-floating-action-button", { "disabled": [516], "mobileOnly": [516, "mobile-only"], "label": [1] }]]], ["ui-form-field", [[769, "ui-form-field", { "invalid": [4], "disabled": [4], "required": [4] }]]], ["ui-icon-button", [[769, "ui-icon-button", { "disabled": [516], "label": [1], "size": [513], "variant": [513], "anticipatory": [516] }]]], ["ui-input", [[769, "ui-input", { "value": [1], "defaultValue": [1, "default-value"], "disabled": [4], "invalid": [4], "readOnly": [4, "readonly"], "internalValue": [32] }, null, { "value": [{ "syncFromProp": 0 }], "internalValue": [{ "syncToInput": 0 }], "defaultValue": [{ "syncToInput": 0 }], "disabled": [{ "syncToInput": 0 }], "invalid": [{ "syncToInput": 0 }], "readOnly": [{ "syncToInput": 0 }] }]]], ["ui-menu-item", [[769, "ui-menu-item", { "disabled": [516], "value": [1] }]]], ["ui-popover", [[769, "ui-popover", { "open": [4], "defaultOpen": [4, "default-open"], "for": [1], "placement": [1], "internalOpen": [32] }, null, { "open": [{ "syncFromProp": 0 }], "internalOpen": [{ "onOpenChange": 0 }], "for": [{ "resetSurface": 0 }], "placement": [{ "resetSurface": 0 }] }]]], ["ui-radio", [[769, "ui-radio", { "checked": [4], "defaultChecked": [4, "default-checked"], "disabled": [4], "name": [1], "required": [4], "value": [1], "internalChecked": [32] }, null, { "checked": [{ "syncFromProp": 0 }], "disabled": [{ "syncToInput": 0 }], "name": [{ "syncToInput": 0 }], "required": [{ "syncToInput": 0 }], "value": [{ "syncToInput": 0 }] }]]], ["ui-radio-group", [[769, "ui-radio-group", { "value": [1], "name": [1], "orientation": [1], "disabled": [4], "required": [4], "internalValue": [32] }, null, { "value": [{ "syncFromProp": 0 }], "internalValue": [{ "syncToRadios": 0 }], "name": [{ "syncToRadios": 0 }], "orientation": [{ "syncToRadios": 0 }], "disabled": [{ "syncToRadios": 0 }] }]]], ["ui-search-result-row", [[769, "ui-search-result-row", { "disabled": [516], "selected": [516], "hasLeading": [32], "hasMeta": [32], "hasExcerpt": [32], "hasTrailing": [32] }]]], ["ui-search-shell", [[769, "ui-search-shell", { "hasStatus": [32], "hasFooter": [32] }]]], ["ui-select", [[769, "ui-select", { "value": [1], "defaultValue": [1, "default-value"], "disabled": [4], "invalid": [4], "required": [4], "internalValue": [32] }, null, { "value": [{ "syncFromProp": 0 }], "internalValue": [{ "syncToSelect": 0 }], "defaultValue": [{ "syncToSelect": 0 }], "disabled": [{ "syncToSelect": 0 }], "invalid": [{ "syncToSelect": 0 }], "required": [{ "syncToSelect": 0 }] }]]], ["ui-switch", [[769, "ui-switch", { "checked": [4], "defaultChecked": [4, "default-checked"], "disabled": [4], "required": [4], "value": [1], "internalChecked": [32] }, null, { "checked": [{ "syncFromProp": 0 }] }]]], ["ui-tabs", [[769, "ui-tabs", { "value": [1], "defaultValue": [1, "default-value"], "orientation": [1], "internalValue": [32] }, null, { "value": [{ "syncFromProp": 0 }], "internalValue": [{ "syncState": 0 }], "orientation": [{ "syncState": 0 }] }]]], ["ui-textarea", [[769, "ui-textarea", { "value": [1], "defaultValue": [1, "default-value"], "disabled": [4], "invalid": [4], "readOnly": [4, "readonly"], "rows": [2], "internalValue": [32] }, null, { "value": [{ "syncFromProp": 0 }], "internalValue": [{ "syncToTextarea": 0 }], "defaultValue": [{ "syncToTextarea": 0 }], "disabled": [{ "syncToTextarea": 0 }], "invalid": [{ "syncToTextarea": 0 }], "readOnly": [{ "syncToTextarea": 0 }], "rows": [{ "syncToTextarea": 0 }] }]]], ["ui-toast-region", [[769, "ui-toast-region", { "open": [4], "internalOpen": [32] }, null, { "open": [{ "syncFromProp": 0 }], "internalOpen": [{ "syncSurface": 0 }] }]]], ["ui-top-bar", [[769, "ui-top-bar", { "hasLeading": [32], "hasSearch": [32], "hasActions": [32] }]]], ["ui-tree", [[769, "ui-tree", { "label": [1], "hoverExpandDelay": [2, "hover-expand-delay"], "maxDepth": [2, "max-depth"] }]]], ["ui-tree-item", [[769, "ui-tree-item", { "itemId": [1, "item-id"], "label": [1], "dropDepth": [2, "drop-depth"], "subtreeDepth": [2, "subtree-depth"], "container": [4], "sortable": [4], "dragType": [1, "drag-type"], "dropScope": [1, "drop-scope"], "accepts": [1], "expanded": [4], "defaultExpanded": [4, "default-expanded"], "selected": [4], "disabled": [4], "internalExpanded": [32], "structuralLevel": [32], "tabStop": [32] }, null, { "expanded": [{ "syncExpandedFromProp": 0 }] }]]], ["ui-menu", [[769, "ui-menu", { "open": [4], "defaultOpen": [4, "default-open"], "for": [1], "placement": [1], "internalOpen": [32] }, null, { "open": [{ "syncFromProp": 0 }], "for": [{ "resetSurface": 0 }], "placement": [{ "resetSurface": 0 }], "internalOpen": [{ "syncSurface": 0 }] }]]], ["ui-tooltip", [[769, "ui-tooltip", { "for": [1], "open": [4], "defaultOpen": [4, "default-open"], "placement": [1], "showDelay": [2, "show-delay"], "hideDelay": [2, "hide-delay"], "toggleOnClick": [4, "toggle-on-click"], "internalOpen": [32] }, null, { "open": [{ "syncFromProp": 0 }], "for": [{ "resetSurface": 0 }], "placement": [{ "resetSurface": 0 }], "internalOpen": [{ "syncOverlay": 0 }] }]]], ["ui-chip_2", [[769, "ui-combobox", { "label": [1], "placeholder": [1], "name": [1], "value": [1], "defaultValue": [1, "default-value"], "query": [1], "defaultQuery": [1, "default-query"], "config": [16], "disabled": [4], "readOnly": [4, "readonly"], "required": [4], "size": [1], "labelVisibility": [1, "label-visibility"], "disclosure": [4], "clearable": [4], "help": [1], "raw": [32], "display": [32], "selected": [32], "expanded": [32], "rows": [32], "active": [32], "loading": [32], "helpOpen": [32], "lookupError": [32], "validation": [32], "validate": [64], "focusInput": [64] }, null, { "value": [{ "syncValue": 0 }], "query": [{ "syncQuery": 0 }], "disabled": [{ "syncDisabled": 0 }], "readOnly": [{ "syncDisabled": 0 }], "config": [{ "syncConfig": 0 }] }], [769, "ui-chip", { "appearance": [1], "size": [1] }]]]], options);
|
|
6354
6659
|
};
|
|
6355
6660
|
|
|
6356
6661
|
// loader/index.js
|