@threadlabs/looma 0.17.0 → 0.17.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.
- package/components/ui-avatar-group/ui-avatar-group.html +8 -5
- package/components/ui-avatar-group/ui-avatar-group.js +3 -3
- package/components/ui-badge/ui-badge.html +10 -5
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +2 -1
- package/components/ui-button/ui-button.html +33 -26
- package/components/ui-button/ui-button.js +2 -2
- package/components/ui-callout/ui-callout.html +3 -1
- package/components/ui-card/ui-card.html +5 -3
- package/components/ui-checkbox/ui-checkbox.html +36 -8
- package/components/ui-combobox/ui-combobox.html +72 -45
- package/components/ui-combobox/ui-combobox.js +7 -2
- package/components/ui-context-menu/ui-context-menu.html +2 -2
- package/components/ui-description-item/ui-description-item.html +1 -1
- package/components/ui-description-list/ui-description-list.html +2 -0
- package/components/ui-dialog/ui-dialog.html +3 -23
- package/components/ui-disclosure/ui-disclosure.html +2 -2
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +2 -2
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +3 -3
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +4 -4
- package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +6 -1
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +4 -4
- package/components/ui-editor-toolbar/ui-editor-toolbar.html +5 -5
- package/components/ui-floating-action-button/ui-floating-action-button.html +4 -2
- package/components/ui-icon-button/ui-icon-button.html +57 -17
- package/components/ui-icon-button/ui-icon-button.js +1 -1
- package/components/ui-list/ui-list.html +46 -6
- package/components/ui-list-item/ui-list-item.html +1 -1
- package/components/ui-menu/ui-menu.html +4 -3
- package/components/ui-menu/ui-menu.js +9 -3
- package/components/ui-menu-item/ui-menu-item.html +43 -6
- package/components/ui-meter/ui-meter.html +4 -1
- package/components/ui-nav-item/ui-nav-item.html +0 -1
- package/components/ui-page-header/ui-page-header.html +1 -0
- package/components/ui-popover/ui-popover.html +1 -1
- package/components/ui-radio/ui-radio.html +5 -2
- package/components/ui-scroll-area/ui-scroll-area.html +9 -14
- package/components/ui-scroll-area/ui-scroll-area.js +32 -0
- package/components/ui-search-result-row/ui-search-result-row.html +5 -3
- package/components/ui-search-shell/ui-search-shell.html +8 -8
- package/components/ui-section/ui-section.html +5 -3
- package/components/ui-separator/ui-separator.html +2 -2
- package/components/ui-sidebar/ui-sidebar.html +2 -2
- package/components/ui-spinner/ui-spinner.html +28 -8
- package/components/ui-status-message/ui-status-message.html +1 -1
- package/components/ui-switch/ui-switch.html +17 -8
- package/components/ui-table/ui-table.html +1 -1
- package/components/ui-tabs/ui-tabs.html +21 -12
- package/components/ui-toast/ui-toast.html +1 -1
- package/components/ui-toast-region/ui-toast-region.html +1 -1
- package/components/ui-tooltip/ui-tooltip.html +12 -12
- package/components/ui-tooltip/ui-tooltip.js +1 -1
- package/components/ui-top-bar/ui-top-bar.html +1 -1
- package/components/ui-tree/ui-tree.js +4 -1
- package/components/ui-tree-item/ui-tree-item.html +2 -1
- package/dist/index.js +15 -14
- package/package.json +1 -1
- package/styles/ui-avatar-group.css +8 -5
- package/styles/ui-badge.css +10 -5
- package/styles/ui-breadcrumb-item.css +2 -1
- package/styles/ui-button.css +19 -25
- package/styles/ui-callout.css +3 -1
- package/styles/ui-card.css +4 -2
- package/styles/ui-checkbox.css +38 -8
- package/styles/ui-combobox.css +27 -8
- package/styles/ui-context-menu.css +2 -2
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +2 -0
- package/styles/ui-dialog.css +1 -22
- package/styles/ui-disclosure.css +2 -2
- package/styles/ui-editor-insert-table-grid.css +2 -2
- package/styles/ui-editor-mention-menu.css +3 -3
- package/styles/ui-editor-slash-menu-item.css +6 -1
- package/styles/ui-editor-slash-menu.css +4 -4
- package/styles/ui-editor-table-context-menu.css +2 -2
- package/styles/ui-editor-table-toolbar.css +4 -4
- package/styles/ui-editor-toolbar.css +5 -5
- package/styles/ui-floating-action-button.css +3 -1
- package/styles/ui-icon-button.css +53 -18
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +41 -6
- package/styles/ui-menu-item.css +43 -5
- package/styles/ui-menu.css +3 -3
- package/styles/ui-meter.css +4 -1
- package/styles/ui-nav-item.css +0 -1
- package/styles/ui-page-header.css +1 -0
- package/styles/ui-popover.css +1 -1
- package/styles/ui-radio.css +5 -2
- package/styles/ui-scroll-area.css +10 -16
- package/styles/ui-search-result-row.css +3 -2
- package/styles/ui-search-shell.css +7 -7
- package/styles/ui-section.css +5 -3
- package/styles/ui-separator.css +2 -2
- package/styles/ui-sidebar.css +2 -2
- package/styles/ui-spinner.css +27 -6
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-switch.css +17 -8
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +60 -51
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +12 -12
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +2 -1
- package/theme-dark.css +4 -4
- package/theme-light.css +3 -3
- package/tokens.css +9 -6
- package/vanilla/UiButton.d.ts +1 -0
- package/vanilla/UiButton.js +17 -19
- package/vanilla/UiCombobox.js +162 -159
- package/vanilla/UiDialog.js +2 -2
- package/vanilla/UiIconButton.d.ts +1 -0
- package/vanilla/UiIconButton.js +1 -4
- package/vanilla/UiList.d.ts +3 -1
- package/vanilla/UiList.js +36 -19
- package/vanilla/UiMenu.d.ts +1 -0
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuItem.js +10 -13
- package/vanilla/UiScrollArea.js +11 -6
- package/vanilla/UiSearchShell.js +2 -2
- package/vanilla/UiSpinner.js +2 -4
- package/vue/UiAvatarGroup.vue +8 -5
- package/vue/UiBadge.vue +10 -5
- package/vue/UiBreadcrumbItem.vue +2 -1
- package/vue/UiButton.d.ts +2 -0
- package/vue/UiButton.vue +31 -28
- package/vue/UiCallout.vue +3 -2
- package/vue/UiCard.vue +4 -2
- package/vue/UiCheckbox.vue +36 -8
- package/vue/UiCombobox.d.ts +1 -1
- package/vue/UiCombobox.vue +55 -35
- package/vue/UiContextMenu.vue +2 -2
- package/vue/UiDescriptionItem.vue +1 -1
- package/vue/UiDescriptionList.vue +2 -0
- package/vue/UiDialog.d.ts +3 -3
- package/vue/UiDialog.vue +3 -27
- package/vue/UiDisclosure.vue +2 -2
- package/vue/UiEditorInsertTableGrid.vue +2 -2
- package/vue/UiEditorMentionMenu.d.ts +1 -1
- package/vue/UiEditorMentionMenu.vue +4 -3
- package/vue/UiEditorSlashMenu.vue +6 -4
- package/vue/UiEditorSlashMenuItem.vue +6 -1
- package/vue/UiEditorTableContextMenu.vue +2 -2
- package/vue/UiEditorTableToolbar.vue +4 -4
- package/vue/UiEditorToolbar.vue +5 -5
- package/vue/UiFloatingActionButton.vue +3 -1
- package/vue/UiIconButton.d.ts +2 -0
- package/vue/UiIconButton.vue +61 -19
- package/vue/UiList.d.ts +7 -1
- package/vue/UiList.vue +57 -6
- package/vue/UiListItem.vue +1 -1
- package/vue/UiMenu.d.ts +2 -0
- package/vue/UiMenu.vue +6 -3
- package/vue/UiMenuItem.d.ts +3 -3
- package/vue/UiMenuItem.vue +47 -7
- package/vue/UiMeter.vue +4 -1
- package/vue/UiNavItem.vue +0 -1
- package/vue/UiPageHeader.vue +1 -0
- package/vue/UiPopover.vue +1 -1
- package/vue/UiRadio.vue +5 -2
- package/vue/UiScrollArea.vue +24 -18
- package/vue/UiSearchResultRow.vue +3 -2
- package/vue/UiSearchShell.vue +8 -8
- package/vue/UiSection.vue +5 -3
- package/vue/UiSeparator.vue +2 -2
- package/vue/UiSidebar.vue +2 -2
- package/vue/UiSpinner.vue +28 -7
- package/vue/UiStatusMessage.vue +1 -1
- package/vue/UiSwitch.vue +20 -9
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +25 -12
- package/vue/UiToast.vue +1 -1
- package/vue/UiToastRegion.vue +1 -1
- package/vue/UiTooltip.vue +12 -12
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTreeItem.vue +2 -1
- package/vue/chunks/UiAvatarGroup.js +1 -1
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiButton.js +28 -23
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCombobox.js +80 -77
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +7 -4
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiIconButton.js +13 -8
- package/vue/chunks/UiList.js +17 -5
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiMenu.js +10 -2
- package/vue/chunks/UiMenuItem.js +1 -4
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiScrollArea.js +22 -3
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +2 -2
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSpinner.js +7 -5
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/components.css +1217 -1032
- package/vue/index.js +1 -1
package/vue/UiTooltip.vue
CHANGED
|
@@ -182,15 +182,15 @@ useComponentHost(controllerModule.default, {
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
.surface {
|
|
185
|
-
--_tooltip-line: var(--_ui-tooltip-border, var(--ui-overlay-border, var(--ui-border-
|
|
185
|
+
--_tooltip-line: var(--_ui-tooltip-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
186
186
|
position: relative;
|
|
187
187
|
box-sizing: border-box;
|
|
188
188
|
max-inline-size: var(--_ui-tooltip-max-inline-size, 18rem);
|
|
189
189
|
border: 1px solid var(--_tooltip-line);
|
|
190
|
-
border-radius: var(--_ui-tooltip-radius, var(--ui-overlay-radius, var(--ui-radius-
|
|
190
|
+
border-radius: var(--_ui-tooltip-radius, var(--ui-overlay-radius, var(--ui-radius-md)));
|
|
191
191
|
background: var(--_ui-tooltip-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
192
192
|
color: var(--_ui-tooltip-text, var(--ui-text-primary));
|
|
193
|
-
padding: var(--ui-space-
|
|
193
|
+
padding: var(--ui-space-2) var(--ui-space-3);
|
|
194
194
|
font-family: var(--ui-font-family-sans);
|
|
195
195
|
font-size: var(--ui-font-size-sm);
|
|
196
196
|
line-height: var(--ui-line-height-tight);
|
|
@@ -213,20 +213,20 @@ useComponentHost(controllerModule.default, {
|
|
|
213
213
|
position: absolute;
|
|
214
214
|
z-index: 1;
|
|
215
215
|
inset-inline-start: var(--ui-space-3);
|
|
216
|
-
inset-block-end: calc(var(--_ui-tooltip-arrow-size, 0.
|
|
217
|
-
inline-size: var(--_ui-tooltip-arrow-size, 0.
|
|
218
|
-
block-size: var(--_ui-tooltip-arrow-size, 0.
|
|
216
|
+
inset-block-end: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - 0.5px);
|
|
217
|
+
inline-size: var(--_ui-tooltip-arrow-size, 0.625rem);
|
|
218
|
+
block-size: var(--_ui-tooltip-arrow-size, 0.625rem);
|
|
219
219
|
box-sizing: border-box;
|
|
220
220
|
background: inherit;
|
|
221
221
|
border: 0 solid var(--_tooltip-line);
|
|
222
222
|
border-inline-end-width: 1px;
|
|
223
223
|
border-block-end-width: 1px;
|
|
224
224
|
border-end-end-radius: 1px;
|
|
225
|
-
transform: rotate(45deg);
|
|
225
|
+
transform: rotate(45deg) scaleX(1.25) scaleY(0.85);
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
[data-component~="ui-tooltip"][data-ui-actual-placement="bottom"] .surface::after {
|
|
229
|
-
inset-block-start: calc(var(--_ui-tooltip-arrow-size, 0.
|
|
229
|
+
inset-block-start: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - 0.5px);
|
|
230
230
|
inset-block-end: auto;
|
|
231
231
|
border-inline-end-width: 0;
|
|
232
232
|
border-block-end-width: 0;
|
|
@@ -237,7 +237,7 @@ useComponentHost(controllerModule.default, {
|
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
[data-component~="ui-tooltip"][data-ui-actual-align="center"] .surface::after {
|
|
240
|
-
inset-inline-start: calc(50% - var(--_ui-tooltip-arrow-size, 0.
|
|
240
|
+
inset-inline-start: calc(50% - var(--_ui-tooltip-arrow-size, 0.625rem) / 2);
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
[data-component~="ui-tooltip"][data-ui-actual-align="end"] .surface::after {
|
|
@@ -247,20 +247,20 @@ useComponentHost(controllerModule.default, {
|
|
|
247
247
|
|
|
248
248
|
[data-component~="ui-tooltip"][data-ui-actual-placement="left"] .surface::after,
|
|
249
249
|
[data-component~="ui-tooltip"][data-ui-actual-placement="right"] .surface::after {
|
|
250
|
-
inset-block-start: calc(50% - var(--_ui-tooltip-arrow-size, 0.
|
|
250
|
+
inset-block-start: calc(50% - var(--_ui-tooltip-arrow-size, 0.625rem) / 2);
|
|
251
251
|
inset-block-end: auto;
|
|
252
252
|
border: 0 solid var(--_tooltip-line);
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
[data-component~="ui-tooltip"][data-ui-actual-placement="left"] .surface::after {
|
|
256
256
|
inset-inline-start: auto;
|
|
257
|
-
inset-inline-end: calc(var(--_ui-tooltip-arrow-size, 0.
|
|
257
|
+
inset-inline-end: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - 0.5px);
|
|
258
258
|
border-inline-end-width: 1px;
|
|
259
259
|
border-block-end-width: 1px;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
[data-component~="ui-tooltip"][data-ui-actual-placement="right"] .surface::after {
|
|
263
|
-
inset-inline-start: calc(var(--_ui-tooltip-arrow-size, 0.
|
|
263
|
+
inset-inline-start: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - 0.5px);
|
|
264
264
|
inset-inline-end: auto;
|
|
265
265
|
border-inline-start-width: 1px;
|
|
266
266
|
border-block-start-width: 1px;
|
package/vue/UiTopBar.vue
CHANGED
|
@@ -64,7 +64,7 @@ defineOptions({ inheritAttrs: false })
|
|
|
64
64
|
env(safe-area-inset-right)
|
|
65
65
|
);
|
|
66
66
|
background: var(--ui-top-bar-surface, var(--ui-surface-elevated));
|
|
67
|
-
border-block-end: 1px solid var(--ui-top-bar-border, var(--ui-border-
|
|
67
|
+
border-block-end: 1px solid var(--ui-top-bar-border, var(--ui-border-divider));
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.leading,
|
package/vue/UiTreeItem.vue
CHANGED
|
@@ -254,7 +254,8 @@ useComponentHost(controllerModule.default, {
|
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
[data-component~="ui-tree-item"][data-ui-tree-item-state~="disabled"] .row {
|
|
257
|
-
|
|
257
|
+
color: var(--ui-disabled-text);
|
|
258
|
+
background: var(--ui-disabled-surface);
|
|
258
259
|
}
|
|
259
260
|
|
|
260
261
|
[data-component~="ui-tree-item"][data-dragging] .row {
|
|
@@ -54,6 +54,6 @@ var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
54
54
|
}, toDisplayString(`+${overflowCount.value}`), 9, _hoisted_2)], 16, _hoisted_1);
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
}), [["__scopeId", "data-v-
|
|
57
|
+
}), [["__scopeId", "data-v-4f555172"]]);
|
|
58
58
|
//#endregion
|
|
59
59
|
export { UiAvatarGroup_default as t };
|
package/vue/chunks/UiBadge.js
CHANGED
|
@@ -24,6 +24,6 @@ var UiBadge_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
24
24
|
return openBlock(), createElementBlock("span", mergeProps({ "data-component": "ui-badge" }, _ctx.$attrs, { "data-ui-badge-state": hostState.value || void 0 }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1);
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
}), [["__scopeId", "data-v-
|
|
27
|
+
}), [["__scopeId", "data-v-38a29166"]]);
|
|
28
28
|
//#endregion
|
|
29
29
|
export { UiBadge_default as t };
|
|
@@ -45,6 +45,6 @@ var UiBreadcrumbItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/
|
|
|
45
45
|
}), [createElementVNode("span", _hoisted_2, [createVNode(UiIcon_default, { name: "chevron-right" })]), createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1);
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
}), [["__scopeId", "data-v-
|
|
48
|
+
}), [["__scopeId", "data-v-1b6e5330"]]);
|
|
49
49
|
//#endregion
|
|
50
50
|
export { UiBreadcrumbItem_default as t };
|
package/vue/chunks/UiButton.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
3
|
import { t as UiSpinner_default } from "./UiSpinner.js";
|
|
4
|
-
import { computed,
|
|
4
|
+
import { computed, createCommentVNode, createElementBlock, createVNode, defineComponent, mergeProps, openBlock, ref, renderSlot } from "vue";
|
|
5
5
|
import * as controllerModule from "@threadlabs/looma/components/ui-button/ui-button.js";
|
|
6
6
|
//#region .build/vue/UiButton.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var _hoisted_1 = [
|
|
@@ -13,13 +13,21 @@ var _hoisted_1 = [
|
|
|
13
13
|
"tabindex",
|
|
14
14
|
"data-ui-button-state"
|
|
15
15
|
];
|
|
16
|
-
var _hoisted_2 =
|
|
16
|
+
var _hoisted_2 = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "spinner-wrap"
|
|
19
|
+
};
|
|
20
|
+
var _hoisted_3 = [
|
|
17
21
|
"type",
|
|
18
22
|
"disabled",
|
|
19
23
|
"aria-disabled",
|
|
20
24
|
"aria-busy",
|
|
21
25
|
"data-ui-button-state"
|
|
22
26
|
];
|
|
27
|
+
var _hoisted_4 = {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: "spinner-wrap"
|
|
30
|
+
};
|
|
23
31
|
//#endregion
|
|
24
32
|
//#region .build/vue/UiButton.vue
|
|
25
33
|
var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -33,6 +41,10 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
33
41
|
default: false
|
|
34
42
|
},
|
|
35
43
|
href: {},
|
|
44
|
+
loading: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: false
|
|
47
|
+
},
|
|
36
48
|
pending: {
|
|
37
49
|
type: Boolean,
|
|
38
50
|
default: false
|
|
@@ -58,6 +70,7 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
58
70
|
props.size && `size size=${props.size}`,
|
|
59
71
|
props.variant && `variant variant=${props.variant}`,
|
|
60
72
|
props.tone && `tone tone=${props.tone}`,
|
|
73
|
+
props.loading && "loading",
|
|
61
74
|
props.pending && "pending"
|
|
62
75
|
].filter(Boolean).join(" "));
|
|
63
76
|
const dispatch = createDispatch(root);
|
|
@@ -82,32 +95,28 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
82
95
|
href: attribute({
|
|
83
96
|
true: null,
|
|
84
97
|
false: __props.href
|
|
85
|
-
}[`${__props.disabled || __props.pending}`]),
|
|
98
|
+
}[`${__props.disabled || __props.loading || __props.pending}`]),
|
|
86
99
|
target: __props.target,
|
|
87
100
|
rel: __props.rel,
|
|
88
101
|
"aria-disabled": typeof {
|
|
89
102
|
true: "true",
|
|
90
103
|
false: null
|
|
91
|
-
}[`${__props.disabled || __props.pending}`] === "boolean" ? String({
|
|
104
|
+
}[`${__props.disabled || __props.loading || __props.pending}`] === "boolean" ? String({
|
|
92
105
|
true: "true",
|
|
93
106
|
false: null
|
|
94
|
-
}[`${__props.disabled || __props.pending}`]) : attribute({
|
|
107
|
+
}[`${__props.disabled || __props.loading || __props.pending}`]) : attribute({
|
|
95
108
|
true: "true",
|
|
96
109
|
false: null
|
|
97
|
-
}[`${__props.disabled || __props.pending}`]),
|
|
98
|
-
"aria-busy": __props.pending,
|
|
110
|
+
}[`${__props.disabled || __props.loading || __props.pending}`]),
|
|
111
|
+
"aria-busy": __props.loading || __props.pending,
|
|
99
112
|
tabindex: attribute({
|
|
100
113
|
true: "0",
|
|
101
114
|
false: null
|
|
102
|
-
}[`${__props.pending && !__props.disabled}`]),
|
|
115
|
+
}[`${(__props.loading || __props.pending) && !__props.disabled}`]),
|
|
103
116
|
"data-ui-button-state": hostState.value || void 0,
|
|
104
117
|
ref_key: "root",
|
|
105
118
|
ref: root
|
|
106
|
-
}), [__props.pending ? (openBlock(),
|
|
107
|
-
key: 0,
|
|
108
|
-
size: "sm",
|
|
109
|
-
class: "pending-spinner"
|
|
110
|
-
})) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)) : (openBlock(), createElementBlock("button", mergeProps({
|
|
119
|
+
}), [__props.loading || __props.pending ? (openBlock(), createElementBlock("span", _hoisted_2, [createVNode(UiSpinner_default, { size: "sm" })])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)) : (openBlock(), createElementBlock("button", mergeProps({
|
|
111
120
|
key: 1,
|
|
112
121
|
"data-component": "ui-button"
|
|
113
122
|
}, _ctx.$attrs, {
|
|
@@ -116,24 +125,20 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
116
125
|
"aria-disabled": typeof {
|
|
117
126
|
true: "true",
|
|
118
127
|
false: null
|
|
119
|
-
}[`${__props.pending}`] === "boolean" ? String({
|
|
128
|
+
}[`${__props.loading || __props.pending}`] === "boolean" ? String({
|
|
120
129
|
true: "true",
|
|
121
130
|
false: null
|
|
122
|
-
}[`${__props.pending}`]) : attribute({
|
|
131
|
+
}[`${__props.loading || __props.pending}`]) : attribute({
|
|
123
132
|
true: "true",
|
|
124
133
|
false: null
|
|
125
|
-
}[`${__props.pending}`]),
|
|
126
|
-
"aria-busy": __props.pending,
|
|
134
|
+
}[`${__props.loading || __props.pending}`]),
|
|
135
|
+
"aria-busy": __props.loading || __props.pending,
|
|
127
136
|
"data-ui-button-state": hostState.value || void 0,
|
|
128
137
|
ref_key: "root",
|
|
129
138
|
ref: root
|
|
130
|
-
}), [__props.pending ? (openBlock(),
|
|
131
|
-
key: 0,
|
|
132
|
-
size: "sm",
|
|
133
|
-
class: "pending-spinner"
|
|
134
|
-
})) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_2));
|
|
139
|
+
}), [__props.loading || __props.pending ? (openBlock(), createElementBlock("span", _hoisted_4, [createVNode(UiSpinner_default, { size: "sm" })])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_3));
|
|
135
140
|
};
|
|
136
141
|
}
|
|
137
|
-
}), [["__scopeId", "data-v-
|
|
142
|
+
}), [["__scopeId", "data-v-84ef27e9"]]);
|
|
138
143
|
//#endregion
|
|
139
144
|
export { UiButton_default as t };
|
package/vue/chunks/UiCallout.js
CHANGED
|
@@ -103,6 +103,6 @@ var UiCallout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
103
103
|
]), createElementVNode("div", _hoisted_8, [renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1);
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
|
-
}), [["__scopeId", "data-v-
|
|
106
|
+
}), [["__scopeId", "data-v-b69d848b"]]);
|
|
107
107
|
//#endregion
|
|
108
108
|
export { UiCallout_default as t };
|
package/vue/chunks/UiCard.js
CHANGED
|
@@ -40,6 +40,6 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
40
40
|
}, _ctx.$attrs, { "data-ui-card-state": hostState.value || void 0 }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_4));
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
}), [["__scopeId", "data-v-
|
|
43
|
+
}), [["__scopeId", "data-v-d798147a"]]);
|
|
44
44
|
//#endregion
|
|
45
45
|
export { UiCard_default as t };
|
package/vue/chunks/UiCheckbox.js
CHANGED
|
@@ -105,6 +105,6 @@ var UiCheckbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
105
105
|
}, null, 40, _hoisted_2), createElementVNode("span", _hoisted_3, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "description", {}, void 0, true)], 512)])], 16, _hoisted_1);
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
-
}), [["__scopeId", "data-v-
|
|
108
|
+
}), [["__scopeId", "data-v-62f133c7"]]);
|
|
109
109
|
//#endregion
|
|
110
110
|
export { UiCheckbox_default as t };
|
package/vue/chunks/UiCombobox.js
CHANGED
|
@@ -12,12 +12,13 @@ var _hoisted_4 = {
|
|
|
12
12
|
class: "field",
|
|
13
13
|
ref: "field"
|
|
14
14
|
};
|
|
15
|
-
var _hoisted_5 =
|
|
15
|
+
var _hoisted_5 = { class: "entry" };
|
|
16
|
+
var _hoisted_6 = [
|
|
16
17
|
"data-index",
|
|
17
18
|
"disabled",
|
|
18
19
|
"aria-label"
|
|
19
20
|
];
|
|
20
|
-
var
|
|
21
|
+
var _hoisted_7 = [
|
|
21
22
|
"id",
|
|
22
23
|
"aria-controls",
|
|
23
24
|
"aria-expanded",
|
|
@@ -29,31 +30,31 @@ var _hoisted_6 = [
|
|
|
29
30
|
"readonly",
|
|
30
31
|
"required"
|
|
31
32
|
];
|
|
32
|
-
var
|
|
33
|
+
var _hoisted_8 = [
|
|
33
34
|
"name",
|
|
34
35
|
"value",
|
|
35
36
|
"disabled"
|
|
36
37
|
];
|
|
37
|
-
var
|
|
38
|
+
var _hoisted_9 = [
|
|
38
39
|
"name",
|
|
39
40
|
"value",
|
|
40
41
|
"disabled"
|
|
41
42
|
];
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
var
|
|
43
|
+
var _hoisted_10 = ["disabled"];
|
|
44
|
+
var _hoisted_11 = ["aria-controls", "disabled"];
|
|
45
|
+
var _hoisted_12 = ["id", "disabled"];
|
|
46
|
+
var _hoisted_13 = ["hidden"];
|
|
47
|
+
var _hoisted_14 = [
|
|
47
48
|
"id",
|
|
48
49
|
"aria-label",
|
|
49
50
|
"aria-busy"
|
|
50
51
|
];
|
|
51
|
-
var
|
|
52
|
-
var
|
|
52
|
+
var _hoisted_15 = ["role", "aria-label"];
|
|
53
|
+
var _hoisted_16 = {
|
|
53
54
|
key: 0,
|
|
54
55
|
class: "group"
|
|
55
56
|
};
|
|
56
|
-
var
|
|
57
|
+
var _hoisted_17 = [
|
|
57
58
|
"id",
|
|
58
59
|
"aria-selected",
|
|
59
60
|
"aria-disabled",
|
|
@@ -61,35 +62,35 @@ var _hoisted_16 = [
|
|
|
61
62
|
"aria-labelledby",
|
|
62
63
|
"aria-describedby"
|
|
63
64
|
];
|
|
64
|
-
var
|
|
65
|
+
var _hoisted_18 = {
|
|
65
66
|
key: 0,
|
|
66
67
|
class: "detail"
|
|
67
68
|
};
|
|
68
|
-
var
|
|
69
|
-
var _hoisted_19 = ["id"];
|
|
69
|
+
var _hoisted_19 = { class: "line" };
|
|
70
70
|
var _hoisted_20 = ["id"];
|
|
71
71
|
var _hoisted_21 = ["id"];
|
|
72
|
-
var _hoisted_22 =
|
|
72
|
+
var _hoisted_22 = ["id"];
|
|
73
|
+
var _hoisted_23 = {
|
|
73
74
|
key: 1,
|
|
74
75
|
class: "primary"
|
|
75
76
|
};
|
|
76
|
-
var
|
|
77
|
-
var
|
|
77
|
+
var _hoisted_24 = ["id", "data-index"];
|
|
78
|
+
var _hoisted_25 = {
|
|
78
79
|
key: 1,
|
|
79
80
|
class: "message"
|
|
80
81
|
};
|
|
81
|
-
var
|
|
82
|
+
var _hoisted_26 = {
|
|
82
83
|
key: 2,
|
|
83
84
|
class: "message"
|
|
84
85
|
};
|
|
85
|
-
var
|
|
86
|
-
var
|
|
86
|
+
var _hoisted_27 = ["id", "hidden"];
|
|
87
|
+
var _hoisted_28 = {
|
|
87
88
|
class: "sr-only",
|
|
88
89
|
role: "status",
|
|
89
90
|
"aria-live": "polite",
|
|
90
91
|
"aria-atomic": "true"
|
|
91
92
|
};
|
|
92
|
-
var
|
|
93
|
+
var _hoisted_29 = {
|
|
93
94
|
class: "authored-options",
|
|
94
95
|
hidden: "",
|
|
95
96
|
"aria-hidden": "true",
|
|
@@ -383,59 +384,61 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
383
384
|
class: normalizeClass({ "sr-only": __props.labelVisibility === "sr-only" })
|
|
384
385
|
}, [createTextVNode(toDisplayString(__props.label) + " ", 1), __props.required ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(" *")], 64)) : createCommentVNode("v-if", true)], 10, _hoisted_2),
|
|
385
386
|
createElementVNode("div", _hoisted_3, [createElementVNode("div", _hoisted_4, [
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
387
|
+
createElementVNode("div", _hoisted_5, [
|
|
388
|
+
renderSlot(_ctx.$slots, "start", {}, void 0, true),
|
|
389
|
+
__props.multiple ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(internalItems.value, (item, index) => {
|
|
390
|
+
return openBlock(), createElementBlock("button", {
|
|
391
|
+
key: item.id,
|
|
392
|
+
class: "item",
|
|
393
|
+
type: "button",
|
|
394
|
+
tabindex: "-1",
|
|
395
|
+
"data-index": index,
|
|
396
|
+
disabled: __props.disabled || __props.readonly || item.disabled,
|
|
397
|
+
"aria-label": `${item.label}, press Delete or Backspace to remove`
|
|
398
|
+
}, [renderSlot(_ctx.$slots, `item-${item.id}`, {}, () => [createVNode(UiBadge_default, null, {
|
|
399
|
+
default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1)]),
|
|
400
|
+
_: 2
|
|
401
|
+
}, 1024)], true)], 8, _hoisted_6);
|
|
402
|
+
}), 128)) : createCommentVNode("v-if", true),
|
|
403
|
+
createElementVNode("input", {
|
|
404
|
+
role: "combobox",
|
|
405
|
+
"aria-autocomplete": "list",
|
|
406
|
+
autocomplete: "off",
|
|
407
|
+
id: `${uid.value}-input`,
|
|
408
|
+
"aria-controls": `${uid.value}-listbox`,
|
|
409
|
+
"aria-expanded": expanded.value,
|
|
410
|
+
"aria-invalid": __props.invalid || validationStatus.value === "error",
|
|
411
|
+
"aria-busy": __props.loading || validationStatus.value === "pending",
|
|
412
|
+
".value": display.value,
|
|
413
|
+
placeholder: __props.placeholder,
|
|
414
|
+
disabled: __props.disabled,
|
|
415
|
+
readonly: __props.readonly,
|
|
416
|
+
required: __props.required && !(__props.multiple && internalItems.value[0]),
|
|
417
|
+
ref: "input"
|
|
418
|
+
}, null, 40, _hoisted_7)
|
|
419
|
+
]),
|
|
417
420
|
__props.name && !__props.multiple ? (openBlock(), createElementBlock("input", {
|
|
418
|
-
key:
|
|
421
|
+
key: 0,
|
|
419
422
|
type: "hidden",
|
|
420
423
|
name: __props.name,
|
|
421
424
|
value: submitted.value,
|
|
422
425
|
disabled: __props.disabled
|
|
423
|
-
}, null, 8,
|
|
424
|
-
__props.name && __props.multiple ? (openBlock(true), createElementBlock(Fragment, { key:
|
|
426
|
+
}, null, 8, _hoisted_8)) : createCommentVNode("v-if", true),
|
|
427
|
+
__props.name && __props.multiple ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(internalItems.value, (item) => {
|
|
425
428
|
return openBlock(), createElementBlock("input", {
|
|
426
429
|
key: item.id,
|
|
427
430
|
type: "hidden",
|
|
428
431
|
name: __props.name,
|
|
429
432
|
value: item.value,
|
|
430
433
|
disabled: __props.disabled
|
|
431
|
-
}, null, 8,
|
|
434
|
+
}, null, 8, _hoisted_9);
|
|
432
435
|
}), 128)) : createCommentVNode("v-if", true),
|
|
433
436
|
__props.clearable ? (openBlock(), createElementBlock("button", {
|
|
434
|
-
key:
|
|
437
|
+
key: 2,
|
|
435
438
|
type: "button",
|
|
436
439
|
"data-combobox-action": "clear",
|
|
437
440
|
"aria-label": "Clear",
|
|
438
|
-
disabled: __props.disabled || __props.readonly
|
|
441
|
+
disabled: __props.disabled || __props.readonly || !raw.value && (__props.multiple || selected.value === null)
|
|
439
442
|
}, [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
|
|
440
443
|
class: "affordance-icon",
|
|
441
444
|
"aria-hidden": "true",
|
|
@@ -444,9 +447,9 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
444
447
|
stroke: "currentColor",
|
|
445
448
|
"stroke-width": "2",
|
|
446
449
|
"stroke-linecap": "round"
|
|
447
|
-
}, [createElementVNode("path", { d: "M7 7l10 10M17 7 7 17" })], -1)])], 8,
|
|
450
|
+
}, [createElementVNode("path", { d: "M7 7l10 10M17 7 7 17" })], -1)])], 8, _hoisted_10)) : createCommentVNode("v-if", true),
|
|
448
451
|
__props.disclosure ? (openBlock(), createElementBlock("button", {
|
|
449
|
-
key:
|
|
452
|
+
key: 3,
|
|
450
453
|
type: "button",
|
|
451
454
|
"data-combobox-action": "disclosure",
|
|
452
455
|
tabindex: "-1",
|
|
@@ -462,7 +465,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
462
465
|
"stroke-width": "2.25",
|
|
463
466
|
"stroke-linecap": "round",
|
|
464
467
|
"stroke-linejoin": "round"
|
|
465
|
-
}, [createElementVNode("path", { d: "m6 9 6 6 6-6" })], -1)])], 8,
|
|
468
|
+
}, [createElementVNode("path", { d: "m6 9 6 6 6-6" })], -1)])], 8, _hoisted_11)) : createCommentVNode("v-if", true)
|
|
466
469
|
], 512), __props.help ? (openBlock(), createElementBlock("button", {
|
|
467
470
|
key: 0,
|
|
468
471
|
class: "help",
|
|
@@ -487,7 +490,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
487
490
|
}),
|
|
488
491
|
createElementVNode("path", { d: "M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3" }),
|
|
489
492
|
createElementVNode("path", { d: "M12 17h.01" })
|
|
490
|
-
], -1)])], 8,
|
|
493
|
+
], -1)])], 8, _hoisted_12)) : createCommentVNode("v-if", true)]),
|
|
491
494
|
__props.help ? (openBlock(), createBlock(UiTooltip_default, {
|
|
492
495
|
key: 0,
|
|
493
496
|
trigger: "click",
|
|
@@ -513,7 +516,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
513
516
|
key: group.name,
|
|
514
517
|
role: group.role,
|
|
515
518
|
"aria-label": group.label ?? void 0
|
|
516
|
-
}, [group.name ? (openBlock(), createElementBlock("div",
|
|
519
|
+
}, [group.name ? (openBlock(), createElementBlock("div", _hoisted_16, toDisplayString(group.name), 1)) : createCommentVNode("v-if", true), (openBlock(true), createElementBlock(Fragment, null, renderList(group.rows, (row) => {
|
|
517
520
|
return openBlock(), createElementBlock("div", {
|
|
518
521
|
key: row.id,
|
|
519
522
|
class: normalizeClass(["option", { active: row.index === active.value }]),
|
|
@@ -524,22 +527,22 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
524
527
|
"data-index": row.index,
|
|
525
528
|
"aria-labelledby": row.labelledBy ?? void 0,
|
|
526
529
|
"aria-describedby": row.detail ?? void 0
|
|
527
|
-
}, [renderSlot(_ctx.$slots, `option-${row.id}`, {}, () => [row.detail ? (openBlock(), createElementBlock("span",
|
|
530
|
+
}, [renderSlot(_ctx.$slots, `option-${row.id}`, {}, () => [row.detail ? (openBlock(), createElementBlock("span", _hoisted_18, [createElementVNode("span", _hoisted_19, [createElementVNode("span", {
|
|
528
531
|
class: "primary",
|
|
529
532
|
id: `${uid.value}-option-${row.index}-label`
|
|
530
|
-
}, toDisplayString(row.label), 9,
|
|
533
|
+
}, toDisplayString(row.label), 9, _hoisted_20), row.tag ? (openBlock(), createBlock(UiBadge_default, {
|
|
531
534
|
key: 0,
|
|
532
535
|
tone: row.tag?.tone,
|
|
533
536
|
style: normalizeStyle({ "--ui-badge-color": row.tag?.color })
|
|
534
537
|
}, {
|
|
535
|
-
default: withCtx(() => [createElementVNode("span", { id: `${uid.value}-option-${row.index}-tag` }, toDisplayString(row.tag?.label), 9,
|
|
538
|
+
default: withCtx(() => [createElementVNode("span", { id: `${uid.value}-option-${row.index}-tag` }, toDisplayString(row.tag?.label), 9, _hoisted_21)]),
|
|
536
539
|
_: 2
|
|
537
540
|
}, 1032, ["tone", "style"])) : createCommentVNode("v-if", true)]), row.description ? (openBlock(), createElementBlock("span", {
|
|
538
541
|
key: 0,
|
|
539
542
|
class: "description",
|
|
540
543
|
id: `${uid.value}-option-${row.index}-description`
|
|
541
|
-
}, toDisplayString(row.description), 9,
|
|
542
|
-
}), 128))], 8,
|
|
544
|
+
}, toDisplayString(row.description), 9, _hoisted_22)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), !row.detail ? (openBlock(), createElementBlock("span", _hoisted_23, toDisplayString(row.label), 1)) : createCommentVNode("v-if", true)], true)], 10, _hoisted_17);
|
|
545
|
+
}), 128))], 8, _hoisted_15);
|
|
543
546
|
}), 128)),
|
|
544
547
|
creatable.value ? (openBlock(), createElementBlock("div", {
|
|
545
548
|
key: 0,
|
|
@@ -548,22 +551,22 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
548
551
|
"aria-selected": "false",
|
|
549
552
|
id: `${uid.value}-option-${createIndex.value}`,
|
|
550
553
|
"data-index": createIndex.value
|
|
551
|
-
}, toDisplayString(`Create “${raw.value}”`), 11,
|
|
552
|
-
message.value ? (openBlock(), createElementBlock("div",
|
|
553
|
-
!__props.loading && !rows.value[0] && !creatable.value && !lookupError.value ? (openBlock(), createElementBlock("div",
|
|
554
|
-
], 8,
|
|
554
|
+
}, toDisplayString(`Create “${raw.value}”`), 11, _hoisted_24)) : createCommentVNode("v-if", true),
|
|
555
|
+
message.value ? (openBlock(), createElementBlock("div", _hoisted_25, toDisplayString(message.value), 1)) : createCommentVNode("v-if", true),
|
|
556
|
+
!__props.loading && !rows.value[0] && !creatable.value && !lookupError.value ? (openBlock(), createElementBlock("div", _hoisted_26, [renderSlot(_ctx.$slots, "empty", {}, () => [_cache[3] || (_cache[3] = createTextVNode("No suggestions.", -1))], true)])) : createCommentVNode("v-if", true)
|
|
557
|
+
], 8, _hoisted_14), renderSlot(_ctx.$slots, "footer", {}, void 0, true)], 8, _hoisted_13),
|
|
555
558
|
createElementVNode("div", {
|
|
556
559
|
class: "message",
|
|
557
560
|
id: `${uid.value}-validation`,
|
|
558
561
|
hidden: !validation.value.issues.length
|
|
559
562
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(validation.value.issues, (issue, index) => {
|
|
560
563
|
return openBlock(), createElementBlock("div", { key: index }, toDisplayString(issue.message), 1);
|
|
561
|
-
}), 128))], 8,
|
|
562
|
-
createElementVNode("div",
|
|
563
|
-
createElementVNode("div",
|
|
564
|
+
}), 128))], 8, _hoisted_27),
|
|
565
|
+
createElementVNode("div", _hoisted_28, toDisplayString(statusText.value), 1),
|
|
566
|
+
createElementVNode("div", _hoisted_29, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 512)
|
|
564
567
|
], 16, _hoisted_1);
|
|
565
568
|
};
|
|
566
569
|
}
|
|
567
|
-
}), [["__scopeId", "data-v-
|
|
570
|
+
}), [["__scopeId", "data-v-87a4808b"]]);
|
|
568
571
|
//#endregion
|
|
569
572
|
export { UiCombobox_default as t };
|
|
@@ -65,6 +65,6 @@ var UiContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
65
65
|
}), [createElementVNode("div", _hoisted_1, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 512)], 16);
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
}), [["__scopeId", "data-v-
|
|
68
|
+
}), [["__scopeId", "data-v-dccd300f"]]);
|
|
69
69
|
//#endregion
|
|
70
70
|
export { UiContextMenu_default as t };
|
|
@@ -11,6 +11,6 @@ var UiDescriptionItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
11
11
|
return openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-description-item" }, _ctx.$attrs), [createElementVNode("dt", null, toDisplayString(__props.term), 1), createElementVNode("dd", null, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16);
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
}), [["__scopeId", "data-v-
|
|
14
|
+
}), [["__scopeId", "data-v-314f8d3a"]]);
|
|
15
15
|
//#endregion
|
|
16
16
|
export { UiDescriptionItem_default as t };
|
|
@@ -24,6 +24,6 @@ var UiDescriptionList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
24
24
|
return openBlock(), createElementBlock("dl", mergeProps({ "data-component": "ui-description-list" }, _ctx.$attrs, { "data-ui-description-list-state": hostState.value || void 0 }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1);
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
}), [["__scopeId", "data-v-
|
|
27
|
+
}), [["__scopeId", "data-v-99b2855c"]]);
|
|
28
28
|
//#endregion
|
|
29
29
|
export { UiDescriptionList_default as t };
|
package/vue/chunks/UiDialog.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { n as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
|
-
import {
|
|
3
|
+
import { t as UiScrollArea_default } from "./UiScrollArea.js";
|
|
4
|
+
import { computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, toDisplayString, useTemplateRef, withCtx } from "vue";
|
|
4
5
|
import * as controllerModule from "@threadlabs/looma/components/ui-dialog/ui-dialog.js";
|
|
5
6
|
//#region .build/vue/UiDialog.vue?vue&type=script&setup=true&lang.ts
|
|
6
7
|
var _hoisted_1 = ["aria-label", "data-ui-dialog-state"];
|
|
@@ -14,7 +15,6 @@ var _hoisted_3 = {
|
|
|
14
15
|
"aria-label": "Close",
|
|
15
16
|
ref: "close"
|
|
16
17
|
};
|
|
17
|
-
var _hoisted_4 = { class: "body" };
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region .build/vue/UiDialog.vue
|
|
20
20
|
var UiDialog_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -91,11 +91,14 @@ var UiDialog_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
91
91
|
ref: root
|
|
92
92
|
}), [
|
|
93
93
|
createElementVNode("header", null, [__props.label ? (openBlock(), createElementBlock("h2", _hoisted_2, toDisplayString(__props.label), 1)) : createCommentVNode("v-if", true), createElementVNode("button", _hoisted_3, null, 512)]),
|
|
94
|
-
|
|
94
|
+
createVNode(UiScrollArea_default, { class: "body" }, {
|
|
95
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
|
|
96
|
+
_: 3
|
|
97
|
+
}),
|
|
95
98
|
createElementVNode("footer", null, [renderSlot(_ctx.$slots, "actions", {}, void 0, true)])
|
|
96
99
|
], 16, _hoisted_1);
|
|
97
100
|
};
|
|
98
101
|
}
|
|
99
|
-
}), [["__scopeId", "data-v-
|
|
102
|
+
}), [["__scopeId", "data-v-eb581d80"]]);
|
|
100
103
|
//#endregion
|
|
101
104
|
export { UiDialog_default as t };
|