@threadlabs/looma 0.22.13 → 0.23.0
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/shared/icons.js +6 -0
- package/components/ui-avatar/ui-avatar.html +3 -3
- package/components/ui-avatar-group/ui-avatar-group.html +1 -1
- package/components/ui-badge/ui-badge.html +1 -1
- package/components/ui-button/ui-button.html +3 -3
- package/components/ui-callout/ui-callout.html +3 -2
- package/components/ui-card/ui-card.html +23 -4
- package/components/ui-checkbox/ui-checkbox.html +3 -3
- package/components/ui-combobox/ui-combobox.html +8 -8
- package/components/ui-context-menu/ui-context-menu.html +2 -2
- package/components/ui-description-list/ui-description-list.html +1 -1
- package/components/ui-dialog/ui-dialog.html +3 -3
- package/components/ui-disclosure/ui-disclosure.html +43 -3
- package/components/ui-editable/ui-editable.html +2 -2
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +5 -5
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +2 -2
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +6 -6
- package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +1 -1
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +11 -11
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +5 -5
- package/components/ui-editor-toolbar/ui-editor-toolbar.html +4 -4
- package/components/ui-floating-action-button/ui-floating-action-button.html +2 -2
- package/components/ui-icon/ui-icon.html +6 -0
- package/components/ui-icon-button/ui-icon-button.html +1 -1
- package/components/ui-input/ui-input.html +9 -4
- package/components/ui-input-group/ui-input-group.html +21 -6
- package/components/ui-list/ui-list.html +1 -1
- package/components/ui-list-item/ui-list-item.html +20 -4
- package/components/ui-listbox/ui-listbox.html +3 -3
- package/components/ui-menu/ui-menu.html +2 -2
- package/components/ui-menu-item/ui-menu-item.html +4 -4
- package/components/ui-meter/ui-meter.html +1 -1
- package/components/ui-nav-item/ui-nav-item.html +46 -14
- package/components/ui-popover/ui-popover.html +16 -1
- package/components/ui-radio/ui-radio.html +2 -2
- package/components/ui-scroll-area/ui-scroll-area.html +12 -0
- package/components/ui-search-result-row/ui-search-result-row.html +24 -5
- package/components/ui-search-shell/ui-search-shell.html +4 -4
- package/components/ui-section/ui-section.html +3 -3
- package/components/ui-select/ui-select.html +6 -2
- package/components/ui-separator/ui-separator.html +2 -2
- package/components/ui-sidebar/ui-sidebar.html +3 -3
- package/components/ui-stack/ui-stack.html +6 -3
- package/components/ui-status-message/ui-status-message.html +1 -1
- package/components/ui-switch/ui-switch.html +3 -3
- package/components/ui-table/ui-table.html +3 -3
- package/components/ui-tabs/ui-tabs.html +7 -7
- package/components/ui-text/ui-text.html +12 -0
- package/components/ui-textarea/ui-textarea.html +6 -2
- package/components/ui-toast/ui-toast.html +2 -2
- package/components/ui-toast-region/ui-toast-region.html +5 -5
- package/components/ui-tooltip/ui-tooltip.html +15 -15
- package/components/ui-top-bar/ui-top-bar.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +27 -8
- package/dist/index.js +1 -1
- package/editor/chunks/extensions.js +55 -2
- package/editor/extensions/index.d.ts +1 -0
- package/editor/extensions/index.js +2 -2
- package/editor/extensions/preset.d.ts +2 -0
- package/editor/extensions/relative-links.d.ts +8 -0
- package/editor/icons.d.ts +6 -0
- package/editor/index.js +9 -3
- package/package.json +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +3 -3
- package/styles/ui-badge.css +1 -1
- package/styles/ui-button.css +3 -3
- package/styles/ui-callout.css +3 -2
- package/styles/ui-card.css +19 -2
- package/styles/ui-checkbox.css +3 -3
- package/styles/ui-combobox.css +8 -8
- package/styles/ui-context-menu.css +2 -2
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +3 -3
- package/styles/ui-disclosure.css +42 -2
- package/styles/ui-editable.css +2 -2
- package/styles/ui-editor-insert-table-grid.css +5 -5
- package/styles/ui-editor-mention-menu.css +2 -2
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +6 -6
- package/styles/ui-editor-table-context-menu.css +2 -2
- package/styles/ui-editor-table-overlay.css +11 -11
- package/styles/ui-editor-table-toolbar.css +5 -5
- package/styles/ui-editor-toolbar.css +4 -4
- package/styles/ui-floating-action-button.css +2 -2
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-input-group.css +19 -6
- package/styles/ui-input.css +9 -4
- package/styles/ui-list-item.css +23 -4
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +3 -3
- package/styles/ui-menu-item.css +4 -4
- package/styles/ui-menu.css +2 -2
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +46 -12
- package/styles/ui-popover.css +14 -1
- package/styles/ui-radio.css +2 -2
- package/styles/ui-scroll-area.css +10 -0
- package/styles/ui-search-result-row.css +25 -5
- package/styles/ui-search-shell.css +4 -4
- package/styles/ui-section.css +3 -3
- package/styles/ui-select.css +6 -2
- package/styles/ui-separator.css +2 -2
- package/styles/ui-sidebar.css +3 -3
- package/styles/ui-stack.css +3 -0
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-switch.css +3 -3
- package/styles/ui-table.css +3 -3
- package/styles/ui-tabs.css +7 -7
- package/styles/ui-text.css +8 -0
- package/styles/ui-textarea.css +6 -2
- package/styles/ui-toast-region.css +5 -5
- package/styles/ui-toast.css +2 -2
- package/styles/ui-tooltip.css +15 -15
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +32 -8
- package/tokens.css +30 -9
- package/vanilla/UiCard.d.ts +2 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiDisclosure.d.ts +1 -0
- package/vanilla/UiDisclosure.js +10 -1
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiInputGroup.d.ts +1 -0
- package/vanilla/UiInputGroup.js +1 -1
- package/vanilla/UiNavItem.d.ts +2 -0
- package/vanilla/UiNavItem.js +1 -1
- package/vanilla/UiPopover.d.ts +1 -0
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiScrollArea.d.ts +1 -0
- package/vanilla/UiScrollArea.js +1 -1
- package/vanilla/UiSearchResultRow.d.ts +1 -0
- package/vanilla/UiSearchResultRow.js +1 -1
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiText.d.ts +2 -0
- package/vanilla/UiText.js +1 -1
- package/vue/UiAvatar.vue +3 -3
- package/vue/UiAvatarGroup.vue +1 -1
- package/vue/UiBadge.vue +2 -1
- package/vue/UiButton.vue +3 -3
- package/vue/UiCallout.vue +2 -2
- package/vue/UiCard.d.ts +12 -3
- package/vue/UiCard.vue +51 -7
- package/vue/UiCheckbox.vue +3 -3
- package/vue/UiCombobox.vue +11 -8
- package/vue/UiContextMenu.vue +2 -2
- package/vue/UiDescriptionList.vue +1 -1
- package/vue/UiDialog.vue +4 -3
- package/vue/UiDisclosure.d.ts +13 -2
- package/vue/UiDisclosure.vue +61 -4
- package/vue/UiEditable.vue +2 -2
- package/vue/UiEditorInsertTableGrid.vue +5 -5
- package/vue/UiEditorMentionMenu.vue +2 -2
- package/vue/UiEditorSlashMenu.vue +6 -6
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +2 -2
- package/vue/UiEditorTableOverlay.vue +11 -11
- package/vue/UiEditorTableToolbar.vue +5 -5
- package/vue/UiEditorToolbar.vue +6 -4
- package/vue/UiFloatingActionButton.vue +2 -2
- package/vue/UiIcon.vue +31 -0
- package/vue/UiIconButton.vue +1 -1
- package/vue/UiInput.vue +8 -4
- package/vue/UiInputGroup.d.ts +9 -0
- package/vue/UiInputGroup.vue +39 -8
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +20 -4
- package/vue/UiListbox.vue +3 -3
- package/vue/UiMenu.vue +3 -2
- package/vue/UiMenuItem.vue +4 -4
- package/vue/UiMeter.vue +1 -1
- package/vue/UiNavItem.d.ts +18 -0
- package/vue/UiNavItem.vue +96 -12
- package/vue/UiPopover.d.ts +9 -0
- package/vue/UiPopover.vue +45 -3
- package/vue/UiRadio.vue +2 -2
- package/vue/UiScrollArea.d.ts +9 -0
- package/vue/UiScrollArea.vue +35 -2
- package/vue/UiSearchResultRow.d.ts +9 -0
- package/vue/UiSearchResultRow.vue +51 -6
- package/vue/UiSearchShell.vue +4 -4
- package/vue/UiSection.vue +3 -3
- package/vue/UiSelect.vue +3 -2
- package/vue/UiSeparator.vue +4 -2
- package/vue/UiSidebar.vue +5 -3
- package/vue/UiStack.d.ts +3 -3
- package/vue/UiStack.vue +10 -4
- package/vue/UiStatusMessage.vue +1 -1
- package/vue/UiSwitch.vue +3 -3
- package/vue/UiTable.vue +3 -3
- package/vue/UiTabs.vue +8 -7
- package/vue/UiText.d.ts +18 -0
- package/vue/UiText.vue +70 -0
- package/vue/UiTextarea.vue +2 -2
- package/vue/UiToast.vue +4 -2
- package/vue/UiToastRegion.vue +5 -5
- package/vue/UiTooltip.vue +19 -15
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTreeItem.vue +31 -8
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +1 -1
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiButton.js +1 -1
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +39 -3
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCombobox.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +27 -4
- package/vue/chunks/UiEditable.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/UiEditorTableOverlay.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/UiIcon.js +92 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +59 -22
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +1 -1
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuItem.js +1 -1
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +65 -6
- package/vue/chunks/UiPopover.js +37 -5
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiScrollArea.js +66 -23
- package/vue/chunks/UiSearchResultRow.js +28 -2
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiStack.js +3 -2
- 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/UiText.js +92 -4
- package/vue/chunks/UiTextarea.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 +1431 -1429
- package/vue/editor/LoomaEditor.d.ts +11 -0
- package/vue/editor/index.js +261 -145
package/vue/chunks/UiCard.js
CHANGED
|
@@ -6,6 +6,7 @@ import { computed, createElementBlock, defineComponent, getCurrentInstance, merg
|
|
|
6
6
|
var _hoisted_1 = [
|
|
7
7
|
"data-as",
|
|
8
8
|
"data-padding",
|
|
9
|
+
"data-size",
|
|
9
10
|
"data-tone",
|
|
10
11
|
"data-variant",
|
|
11
12
|
"data-ui-card-state"
|
|
@@ -13,6 +14,7 @@ var _hoisted_1 = [
|
|
|
13
14
|
var _hoisted_2 = [
|
|
14
15
|
"data-as",
|
|
15
16
|
"data-padding",
|
|
17
|
+
"data-size",
|
|
16
18
|
"data-tone",
|
|
17
19
|
"data-variant",
|
|
18
20
|
"data-ui-card-state"
|
|
@@ -20,6 +22,7 @@ var _hoisted_2 = [
|
|
|
20
22
|
var _hoisted_3 = [
|
|
21
23
|
"data-as",
|
|
22
24
|
"data-padding",
|
|
25
|
+
"data-size",
|
|
23
26
|
"data-tone",
|
|
24
27
|
"data-variant",
|
|
25
28
|
"data-ui-card-state"
|
|
@@ -27,6 +30,7 @@ var _hoisted_3 = [
|
|
|
27
30
|
var _hoisted_4 = [
|
|
28
31
|
"data-as",
|
|
29
32
|
"data-padding",
|
|
33
|
+
"data-size",
|
|
30
34
|
"data-tone",
|
|
31
35
|
"data-variant",
|
|
32
36
|
"data-ui-card-state"
|
|
@@ -45,6 +49,10 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
45
49
|
type: null,
|
|
46
50
|
default: "md"
|
|
47
51
|
},
|
|
52
|
+
size: {
|
|
53
|
+
type: null,
|
|
54
|
+
default: "content"
|
|
55
|
+
},
|
|
48
56
|
tone: {
|
|
49
57
|
type: null,
|
|
50
58
|
default: "neutral"
|
|
@@ -79,14 +87,31 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
79
87
|
},
|
|
80
88
|
required: false,
|
|
81
89
|
target: { attribute: "padding" },
|
|
82
|
-
description: "The space inside the card: sm is snug (0.75rem), md is the default (1.5rem), and lg is roomy (2rem).",
|
|
90
|
+
description: "The space inside the card: xs is compact (0.5rem), sm is snug (0.75rem), md is the default (1.5rem), and lg is roomy (2rem).",
|
|
83
91
|
values: [
|
|
92
|
+
"xs",
|
|
84
93
|
"sm",
|
|
85
94
|
"md",
|
|
86
95
|
"lg"
|
|
87
96
|
],
|
|
88
97
|
default: "md"
|
|
89
98
|
},
|
|
99
|
+
size: {
|
|
100
|
+
type: {
|
|
101
|
+
kind: "terminal",
|
|
102
|
+
name: "keyword"
|
|
103
|
+
},
|
|
104
|
+
required: false,
|
|
105
|
+
target: { attribute: "size" },
|
|
106
|
+
description: "Optional size preset. content keeps the existing intrinsic sizing; the other sizes constrain the surface for compact, medium, or large content.",
|
|
107
|
+
values: [
|
|
108
|
+
"content",
|
|
109
|
+
"sm",
|
|
110
|
+
"md",
|
|
111
|
+
"lg"
|
|
112
|
+
],
|
|
113
|
+
default: "content"
|
|
114
|
+
},
|
|
90
115
|
tone: {
|
|
91
116
|
type: {
|
|
92
117
|
kind: "terminal",
|
|
@@ -118,6 +143,7 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
118
143
|
const acceptedProps = {
|
|
119
144
|
as: "div",
|
|
120
145
|
padding: "md",
|
|
146
|
+
size: "content",
|
|
121
147
|
tone: "neutral",
|
|
122
148
|
variant: "outlined"
|
|
123
149
|
};
|
|
@@ -130,6 +156,10 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
130
156
|
kind: "terminal",
|
|
131
157
|
name: "keyword"
|
|
132
158
|
}, false, "padding", acceptedProps),
|
|
159
|
+
size: checkedProp(props["size"], {
|
|
160
|
+
kind: "terminal",
|
|
161
|
+
name: "keyword"
|
|
162
|
+
}, false, "size", acceptedProps),
|
|
133
163
|
tone: checkedProp(props["tone"], {
|
|
134
164
|
kind: "terminal",
|
|
135
165
|
name: "keyword"
|
|
@@ -173,7 +203,9 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
173
203
|
checkedProps.value.variant && "variant",
|
|
174
204
|
checkedProps.value.variant != null && `variant=${encodeURIComponent(checkedProps.value.variant)}`,
|
|
175
205
|
checkedProps.value.tone && "tone",
|
|
176
|
-
checkedProps.value.tone != null && `tone=${encodeURIComponent(checkedProps.value.tone)}
|
|
206
|
+
checkedProps.value.tone != null && `tone=${encodeURIComponent(checkedProps.value.tone)}`,
|
|
207
|
+
checkedProps.value.size && "size",
|
|
208
|
+
checkedProps.value.size != null && `size=${encodeURIComponent(checkedProps.value.size)}`
|
|
177
209
|
].filter(Boolean).join(" "));
|
|
178
210
|
return (_ctx, _cache) => {
|
|
179
211
|
return checkedProps.value.as === "section" ? withDirectives((openBlock(), createElementBlock("section", mergeProps({
|
|
@@ -182,6 +214,7 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
182
214
|
}, nativeAttrs(_ctx.$attrs), {
|
|
183
215
|
"data-as": reflectedProp("as", "as", checkedProps.value.as, void 0, false),
|
|
184
216
|
"data-padding": reflectedProp("padding", "padding", checkedProps.value.padding, void 0, false),
|
|
217
|
+
"data-size": reflectedProp("size", "size", checkedProps.value.size, void 0, false),
|
|
185
218
|
"data-tone": reflectedProp("tone", "tone", checkedProps.value.tone, void 0, false),
|
|
186
219
|
"data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
|
|
187
220
|
"data-ui-card-state": hostState.value || void 0,
|
|
@@ -195,6 +228,7 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
195
228
|
}, nativeAttrs(_ctx.$attrs), {
|
|
196
229
|
"data-as": reflectedProp("as", "as", checkedProps.value.as, void 0, false),
|
|
197
230
|
"data-padding": reflectedProp("padding", "padding", checkedProps.value.padding, void 0, false),
|
|
231
|
+
"data-size": reflectedProp("size", "size", checkedProps.value.size, void 0, false),
|
|
198
232
|
"data-tone": reflectedProp("tone", "tone", checkedProps.value.tone, void 0, false),
|
|
199
233
|
"data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
|
|
200
234
|
"data-ui-card-state": hostState.value || void 0,
|
|
@@ -208,6 +242,7 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
208
242
|
}, nativeAttrs(_ctx.$attrs), {
|
|
209
243
|
"data-as": reflectedProp("as", "as", checkedProps.value.as, void 0, false),
|
|
210
244
|
"data-padding": reflectedProp("padding", "padding", checkedProps.value.padding, void 0, false),
|
|
245
|
+
"data-size": reflectedProp("size", "size", checkedProps.value.size, void 0, false),
|
|
211
246
|
"data-tone": reflectedProp("tone", "tone", checkedProps.value.tone, void 0, false),
|
|
212
247
|
"data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
|
|
213
248
|
"data-ui-card-state": hostState.value || void 0,
|
|
@@ -221,6 +256,7 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
221
256
|
}, nativeAttrs(_ctx.$attrs), {
|
|
222
257
|
"data-as": reflectedProp("as", "as", checkedProps.value.as, void 0, false),
|
|
223
258
|
"data-padding": reflectedProp("padding", "padding", checkedProps.value.padding, void 0, false),
|
|
259
|
+
"data-size": reflectedProp("size", "size", checkedProps.value.size, void 0, false),
|
|
224
260
|
"data-tone": reflectedProp("tone", "tone", checkedProps.value.tone, void 0, false),
|
|
225
261
|
"data-variant": reflectedProp("variant", "variant", checkedProps.value.variant, void 0, false),
|
|
226
262
|
"data-ui-card-state": hostState.value || void 0,
|
|
@@ -231,6 +267,6 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
231
267
|
}]]);
|
|
232
268
|
};
|
|
233
269
|
}
|
|
234
|
-
}), [["__scopeId", "data-v-
|
|
270
|
+
}), [["__scopeId", "data-v-e63b391f"]]);
|
|
235
271
|
//#endregion
|
|
236
272
|
export { UiCard_default as t };
|
package/vue/chunks/UiCheckbox.js
CHANGED
package/vue/chunks/UiCombobox.js
CHANGED
|
@@ -1413,6 +1413,6 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1413
1413
|
}]]);
|
|
1414
1414
|
};
|
|
1415
1415
|
}
|
|
1416
|
-
}), [["__scopeId", "data-v-
|
|
1416
|
+
}), [["__scopeId", "data-v-a593ab08"]]);
|
|
1417
1417
|
//#endregion
|
|
1418
1418
|
export { UiCombobox_default as t };
|
|
@@ -136,6 +136,6 @@ var UiDescriptionList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
136
136
|
}]]);
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
|
-
}), [["__scopeId", "data-v-
|
|
139
|
+
}), [["__scopeId", "data-v-06793922"]]);
|
|
140
140
|
//#endregion
|
|
141
141
|
export { UiDescriptionList_default as t };
|
package/vue/chunks/UiDialog.js
CHANGED
|
@@ -6,6 +6,7 @@ import { computed, createElementBlock, createElementVNode, createTextVNode, defi
|
|
|
6
6
|
var _hoisted_1 = [
|
|
7
7
|
"data-density",
|
|
8
8
|
"data-disabled",
|
|
9
|
+
"data-fill",
|
|
9
10
|
"data-heading-level",
|
|
10
11
|
"data-name",
|
|
11
12
|
"data-open",
|
|
@@ -35,6 +36,10 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
35
36
|
type: null,
|
|
36
37
|
default: false
|
|
37
38
|
},
|
|
39
|
+
fill: {
|
|
40
|
+
type: null,
|
|
41
|
+
default: false
|
|
42
|
+
},
|
|
38
43
|
headingLevel: {
|
|
39
44
|
type: null,
|
|
40
45
|
default: 0
|
|
@@ -80,6 +85,16 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
80
85
|
description: "Disables the trigger and mutes its text, so the disclosure keeps its current state and the user cannot toggle it.",
|
|
81
86
|
default: false
|
|
82
87
|
},
|
|
88
|
+
fill: {
|
|
89
|
+
type: {
|
|
90
|
+
kind: "terminal",
|
|
91
|
+
name: "boolean"
|
|
92
|
+
},
|
|
93
|
+
required: false,
|
|
94
|
+
target: { attribute: "fill" },
|
|
95
|
+
description: "In a column with a bounded height, an open disclosure fills the remaining space and keeps its trigger visible. The content slot can contain a Scroll Area.\n Closed items keep only their trigger height.",
|
|
96
|
+
default: false
|
|
97
|
+
},
|
|
83
98
|
headingLevel: {
|
|
84
99
|
type: {
|
|
85
100
|
kind: "terminal",
|
|
@@ -125,6 +140,7 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
125
140
|
const acceptedProps = {
|
|
126
141
|
density: "comfortable",
|
|
127
142
|
disabled: false,
|
|
143
|
+
fill: false,
|
|
128
144
|
headingLevel: 0,
|
|
129
145
|
name: "",
|
|
130
146
|
open: false,
|
|
@@ -139,6 +155,10 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
139
155
|
kind: "terminal",
|
|
140
156
|
name: "boolean"
|
|
141
157
|
}, false, "disabled", acceptedProps),
|
|
158
|
+
fill: checkedProp(props["fill"], {
|
|
159
|
+
kind: "terminal",
|
|
160
|
+
name: "boolean"
|
|
161
|
+
}, false, "fill", acceptedProps),
|
|
142
162
|
headingLevel: checkedProp(props["headingLevel"], {
|
|
143
163
|
kind: "terminal",
|
|
144
164
|
name: "integer"
|
|
@@ -221,7 +241,8 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
221
241
|
const hostState = computed(() => [
|
|
222
242
|
checkedProps.value.density && "density",
|
|
223
243
|
checkedProps.value.density != null && `density=${encodeURIComponent(checkedProps.value.density)}`,
|
|
224
|
-
internalOpen.value && "internalOpen"
|
|
244
|
+
internalOpen.value && "internalOpen",
|
|
245
|
+
checkedProps.value.fill && "fill"
|
|
225
246
|
].filter(Boolean).join(" "));
|
|
226
247
|
const isOpenDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && typeof detail["open"] === "boolean" && (detail["reason"] === "action" || detail["reason"] === "programmatic" || detail["reason"] === "light-dismiss" || detail["reason"] === "escape") && (detail["trigger"] === "keyboard" || detail["trigger"] === "pointer" || detail["trigger"] === "programmatic") && Object.keys(detail).every((key) => [
|
|
227
248
|
"open",
|
|
@@ -251,6 +272,7 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
251
272
|
propNames: [
|
|
252
273
|
"density",
|
|
253
274
|
"disabled",
|
|
275
|
+
"fill",
|
|
254
276
|
"headingLevel",
|
|
255
277
|
"name",
|
|
256
278
|
"open",
|
|
@@ -275,6 +297,7 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
275
297
|
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-disclosure" }, nativeAttrs(_ctx.$attrs), {
|
|
276
298
|
"data-density": reflectedProp("density", "density", checkedProps.value.density, void 0, false),
|
|
277
299
|
"data-disabled": reflectedProp("disabled", "disabled", checkedProps.value.disabled, void 0, false),
|
|
300
|
+
"data-fill": reflectedProp("fill", "fill", checkedProps.value.fill, void 0, false),
|
|
278
301
|
"data-heading-level": reflectedProp("headingLevel", "heading-level", checkedProps.value.headingLevel, void 0, false),
|
|
279
302
|
"data-name": reflectedProp("name", "name", checkedProps.value.name, void 0, false),
|
|
280
303
|
"data-open": reflectedProp("open", "open", checkedProps.value.open, void 0, false),
|
|
@@ -293,10 +316,10 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
293
316
|
"aria-expanded": guardedBinding3.value,
|
|
294
317
|
disabled: checkedProps.value.disabled ?? void 0,
|
|
295
318
|
ref: "trigger"
|
|
296
|
-
}, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "summary", {}, () => [createTextVNode(toDisplayString(checkedProps.value.summary), 1)], true)]), _cache[0] || (_cache[0] = createElementVNode("span", {
|
|
319
|
+
}, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "summary", {}, () => [createTextVNode(toDisplayString(checkedProps.value.summary), 1)], true)]), renderSlot(_ctx.$slots, "indicator", {}, () => [_cache[0] || (_cache[0] = createElementVNode("span", {
|
|
297
320
|
class: "chevron",
|
|
298
321
|
"aria-hidden": "true"
|
|
299
|
-
}, null, -1))], 8, _hoisted_3)], 8, _hoisted_2), createElementVNode("div", {
|
|
322
|
+
}, null, -1))], true)], 8, _hoisted_3)], 8, _hoisted_2), createElementVNode("div", {
|
|
300
323
|
class: "panel",
|
|
301
324
|
id: guardedBinding4.value,
|
|
302
325
|
ref: "panel"
|
|
@@ -306,6 +329,6 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
306
329
|
}]]);
|
|
307
330
|
};
|
|
308
331
|
}
|
|
309
|
-
}), [["__scopeId", "data-v-
|
|
332
|
+
}), [["__scopeId", "data-v-af326e00"]]);
|
|
310
333
|
//#endregion
|
|
311
334
|
export { UiDisclosure_default as t };
|
package/vue/chunks/UiEditable.js
CHANGED
|
@@ -300,6 +300,6 @@ var UiEditorInsertTableGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_de
|
|
|
300
300
|
}]]);
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
|
-
}), [["__scopeId", "data-v-
|
|
303
|
+
}), [["__scopeId", "data-v-6b815522"]]);
|
|
304
304
|
//#endregion
|
|
305
305
|
export { UiEditorInsertTableGrid_default as t };
|
|
@@ -540,6 +540,6 @@ var UiEditorMentionMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_defaul
|
|
|
540
540
|
}]]);
|
|
541
541
|
};
|
|
542
542
|
}
|
|
543
|
-
}), [["__scopeId", "data-v-
|
|
543
|
+
}), [["__scopeId", "data-v-bf5b8a4d"]]);
|
|
544
544
|
//#endregion
|
|
545
545
|
export { UiEditorMentionMenu_default as t };
|
|
@@ -479,6 +479,6 @@ var UiEditorSlashMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
479
479
|
}]]);
|
|
480
480
|
};
|
|
481
481
|
}
|
|
482
|
-
}), [["__scopeId", "data-v-
|
|
482
|
+
}), [["__scopeId", "data-v-0ea6b233"]]);
|
|
483
483
|
//#endregion
|
|
484
484
|
export { UiEditorSlashMenu_default as t };
|
|
@@ -174,6 +174,6 @@ var UiEditorSlashMenuItem_default = /*#__PURE__*/ _plugin_vue_export_helper_defa
|
|
|
174
174
|
}]]);
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
|
-
}), [["__scopeId", "data-v-
|
|
177
|
+
}), [["__scopeId", "data-v-9f4fd77c"]]);
|
|
178
178
|
//#endregion
|
|
179
179
|
export { UiEditorSlashMenuItem_default as t };
|
|
@@ -423,6 +423,6 @@ var UiEditorTableContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_d
|
|
|
423
423
|
}]]);
|
|
424
424
|
};
|
|
425
425
|
}
|
|
426
|
-
}), [["__scopeId", "data-v-
|
|
426
|
+
}), [["__scopeId", "data-v-a367a954"]]);
|
|
427
427
|
//#endregion
|
|
428
428
|
export { UiEditorTableContextMenu_default as t };
|
|
@@ -691,6 +691,6 @@ var UiEditorTableOverlay_default = /*#__PURE__*/ _plugin_vue_export_helper_defau
|
|
|
691
691
|
}]]);
|
|
692
692
|
};
|
|
693
693
|
}
|
|
694
|
-
}), [["__scopeId", "data-v-
|
|
694
|
+
}), [["__scopeId", "data-v-9088adf1"]]);
|
|
695
695
|
//#endregion
|
|
696
696
|
export { UiEditorTableOverlay_default as t };
|
|
@@ -519,6 +519,6 @@ var UiEditorTableToolbar_default = /*#__PURE__*/ _plugin_vue_export_helper_defau
|
|
|
519
519
|
}]]);
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
|
-
}), [["__scopeId", "data-v-
|
|
522
|
+
}), [["__scopeId", "data-v-50ae1c92"]]);
|
|
523
523
|
//#endregion
|
|
524
524
|
export { UiEditorTableToolbar_default as t };
|
|
@@ -125,6 +125,6 @@ var UiFloatingActionButton_default = /*#__PURE__*/ _plugin_vue_export_helper_def
|
|
|
125
125
|
}]]);
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
|
-
}), [["__scopeId", "data-v-
|
|
128
|
+
}), [["__scopeId", "data-v-68ef93fb"]]);
|
|
129
129
|
//#endregion
|
|
130
130
|
export { UiFloatingActionButton_default as t };
|
package/vue/chunks/UiIcon.js
CHANGED
|
@@ -311,6 +311,15 @@ var UiIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
311
311
|
d: "M15 3v18"
|
|
312
312
|
}
|
|
313
313
|
],
|
|
314
|
+
compass: [{
|
|
315
|
+
tag: "path",
|
|
316
|
+
d: "m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z"
|
|
317
|
+
}, {
|
|
318
|
+
tag: "circle",
|
|
319
|
+
cx: "12",
|
|
320
|
+
cy: "12",
|
|
321
|
+
r: "10"
|
|
322
|
+
}],
|
|
314
323
|
"credit-card": [{
|
|
315
324
|
tag: "rect",
|
|
316
325
|
width: "20",
|
|
@@ -352,6 +361,20 @@ var UiIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
352
361
|
tag: "path",
|
|
353
362
|
d: "m5.082 11.09 8.828 8.828"
|
|
354
363
|
}],
|
|
364
|
+
"external-link": [
|
|
365
|
+
{
|
|
366
|
+
tag: "path",
|
|
367
|
+
d: "M15 3h6v6"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
tag: "path",
|
|
371
|
+
d: "M10 14 21 3"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
tag: "path",
|
|
375
|
+
d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"
|
|
376
|
+
}
|
|
377
|
+
],
|
|
355
378
|
"file-text": [
|
|
356
379
|
{
|
|
357
380
|
tag: "path",
|
|
@@ -535,6 +558,20 @@ var UiIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
535
558
|
tag: "path",
|
|
536
559
|
d: "m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4"
|
|
537
560
|
}],
|
|
561
|
+
history: [
|
|
562
|
+
{
|
|
563
|
+
tag: "path",
|
|
564
|
+
d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
tag: "path",
|
|
568
|
+
d: "M3 3v5h5"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
tag: "path",
|
|
572
|
+
d: "M12 7v5l4 2"
|
|
573
|
+
}
|
|
574
|
+
],
|
|
538
575
|
image: [
|
|
539
576
|
{
|
|
540
577
|
tag: "rect",
|
|
@@ -824,6 +861,13 @@ var UiIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
824
861
|
tag: "path",
|
|
825
862
|
d: "M3 9h18"
|
|
826
863
|
}],
|
|
864
|
+
pencil: [{
|
|
865
|
+
tag: "path",
|
|
866
|
+
d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"
|
|
867
|
+
}, {
|
|
868
|
+
tag: "path",
|
|
869
|
+
d: "m15 5 4 4"
|
|
870
|
+
}],
|
|
827
871
|
pilcrow: [
|
|
828
872
|
{
|
|
829
873
|
tag: "path",
|
|
@@ -891,6 +935,15 @@ var UiIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
891
935
|
d: "M21 15H3"
|
|
892
936
|
}
|
|
893
937
|
],
|
|
938
|
+
search: [{
|
|
939
|
+
tag: "path",
|
|
940
|
+
d: "m21 21-4.34-4.34"
|
|
941
|
+
}, {
|
|
942
|
+
tag: "circle",
|
|
943
|
+
cx: "11",
|
|
944
|
+
cy: "11",
|
|
945
|
+
r: "8"
|
|
946
|
+
}],
|
|
894
947
|
settings: [{
|
|
895
948
|
tag: "path",
|
|
896
949
|
d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"
|
|
@@ -1028,6 +1081,44 @@ var UiIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
1028
1081
|
tag: "path",
|
|
1029
1082
|
d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11"
|
|
1030
1083
|
}],
|
|
1084
|
+
unlink: [
|
|
1085
|
+
{
|
|
1086
|
+
tag: "path",
|
|
1087
|
+
d: "m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
tag: "path",
|
|
1091
|
+
d: "m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
tag: "line",
|
|
1095
|
+
x1: "8",
|
|
1096
|
+
x2: "8",
|
|
1097
|
+
y1: "2",
|
|
1098
|
+
y2: "5"
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
tag: "line",
|
|
1102
|
+
x1: "2",
|
|
1103
|
+
x2: "5",
|
|
1104
|
+
y1: "8",
|
|
1105
|
+
y2: "8"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
tag: "line",
|
|
1109
|
+
x1: "16",
|
|
1110
|
+
x2: "16",
|
|
1111
|
+
y1: "19",
|
|
1112
|
+
y2: "22"
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
tag: "line",
|
|
1116
|
+
x1: "19",
|
|
1117
|
+
x2: "22",
|
|
1118
|
+
y1: "16",
|
|
1119
|
+
y2: "16"
|
|
1120
|
+
}
|
|
1121
|
+
],
|
|
1031
1122
|
"user-round": [{
|
|
1032
1123
|
tag: "circle",
|
|
1033
1124
|
cx: "12",
|
|
@@ -1123,6 +1214,6 @@ var UiIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
1123
1214
|
}]]);
|
|
1124
1215
|
};
|
|
1125
1216
|
}
|
|
1126
|
-
}), [["__scopeId", "data-v-
|
|
1217
|
+
}), [["__scopeId", "data-v-87aa3ce3"]]);
|
|
1127
1218
|
//#endregion
|
|
1128
1219
|
export { UiIcon_default as t };
|
package/vue/chunks/UiInput.js
CHANGED
|
@@ -3,7 +3,11 @@ import { r as useComponentHost, t as createDispatch } from "./host.js";
|
|
|
3
3
|
import { i as vPropValidity, n as propValidityState, t as checkedProp } from "./props.js";
|
|
4
4
|
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiInputGroup.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var _hoisted_1 = [
|
|
6
|
+
var _hoisted_1 = [
|
|
7
|
+
"data-disabled",
|
|
8
|
+
"data-prefix-kind",
|
|
9
|
+
"data-ui-input-group-state"
|
|
10
|
+
];
|
|
7
11
|
var _hoisted_2 = { class: "affix" };
|
|
8
12
|
var _hoisted_3 = { class: "field" };
|
|
9
13
|
var _hoisted_4 = { class: "affix" };
|
|
@@ -13,27 +17,55 @@ var _hoisted_5 = { class: "action" };
|
|
|
13
17
|
var UiInputGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
14
18
|
inheritAttrs: false,
|
|
15
19
|
__name: "UiInputGroup",
|
|
16
|
-
props: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
props: {
|
|
21
|
+
disabled: {
|
|
22
|
+
type: null,
|
|
23
|
+
default: false
|
|
24
|
+
},
|
|
25
|
+
prefixKind: {
|
|
26
|
+
type: null,
|
|
27
|
+
default: "text"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
20
30
|
setup(__props) {
|
|
21
|
-
const propValidityContract = { props: {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
31
|
+
const propValidityContract = { props: {
|
|
32
|
+
disabled: {
|
|
33
|
+
type: {
|
|
34
|
+
kind: "terminal",
|
|
35
|
+
name: "boolean"
|
|
36
|
+
},
|
|
37
|
+
required: false,
|
|
38
|
+
target: { attribute: "disabled" },
|
|
39
|
+
description: "Fades the group's framing to match a disabled input inside it. Disable the input itself too.",
|
|
40
|
+
default: false
|
|
25
41
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
42
|
+
prefixKind: {
|
|
43
|
+
type: {
|
|
44
|
+
kind: "terminal",
|
|
45
|
+
name: "keyword"
|
|
46
|
+
},
|
|
47
|
+
required: false,
|
|
48
|
+
target: { attribute: "prefixkind" },
|
|
49
|
+
description: "Text affixes have their own framing. An icon prefix shares the field surface and uses one compact icon-to-value gap.",
|
|
50
|
+
values: ["text", "icon"],
|
|
51
|
+
default: "text"
|
|
52
|
+
}
|
|
53
|
+
} };
|
|
31
54
|
const props = __props;
|
|
32
|
-
const acceptedProps = {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
55
|
+
const acceptedProps = {
|
|
56
|
+
disabled: false,
|
|
57
|
+
prefixKind: "text"
|
|
58
|
+
};
|
|
59
|
+
const checkedProps = computed(() => ({
|
|
60
|
+
disabled: checkedProp(props["disabled"], {
|
|
61
|
+
kind: "terminal",
|
|
62
|
+
name: "boolean"
|
|
63
|
+
}, false, "disabled", acceptedProps),
|
|
64
|
+
prefixKind: checkedProp(props["prefixKind"], {
|
|
65
|
+
kind: "terminal",
|
|
66
|
+
name: "keyword"
|
|
67
|
+
}, false, "prefixKind", acceptedProps)
|
|
68
|
+
}));
|
|
37
69
|
checkedProps.value;
|
|
38
70
|
watchSyncEffect(() => {
|
|
39
71
|
checkedProps.value;
|
|
@@ -61,7 +93,11 @@ var UiInputGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
61
93
|
})
|
|
62
94
|
});
|
|
63
95
|
/** The values the styles' :host-state() rules test. */
|
|
64
|
-
const hostState = computed(() => [
|
|
96
|
+
const hostState = computed(() => [
|
|
97
|
+
checkedProps.value.disabled && "disabled",
|
|
98
|
+
checkedProps.value.prefixKind && "prefixKind",
|
|
99
|
+
checkedProps.value.prefixKind != null && `prefixKind=${encodeURIComponent(checkedProps.value.prefixKind)}`
|
|
100
|
+
].filter(Boolean).join(" "));
|
|
65
101
|
const dispatch = createDispatch(root);
|
|
66
102
|
useComponentHost(() => import("@threadlabs/looma/components/ui-input-group/ui-input-group.js"), {
|
|
67
103
|
root,
|
|
@@ -76,7 +112,7 @@ var UiInputGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
76
112
|
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
77
113
|
return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
|
|
78
114
|
},
|
|
79
|
-
propNames: ["disabled"],
|
|
115
|
+
propNames: ["disabled", "prefixKind"],
|
|
80
116
|
propValidity: (name) => propValidityState({
|
|
81
117
|
contract: propValidityContract,
|
|
82
118
|
values: { ...props }
|
|
@@ -85,6 +121,7 @@ var UiInputGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
85
121
|
return (_ctx, _cache) => {
|
|
86
122
|
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-input-group" }, nativeAttrs(_ctx.$attrs), {
|
|
87
123
|
"data-disabled": reflectedProp("disabled", "disabled", checkedProps.value.disabled, void 0, false),
|
|
124
|
+
"data-prefix-kind": reflectedProp("prefixKind", "prefix-kind", checkedProps.value.prefixKind, void 0, false),
|
|
88
125
|
"data-ui-input-group-state": hostState.value || void 0,
|
|
89
126
|
ref_key: "root",
|
|
90
127
|
ref: root
|
|
@@ -99,6 +136,6 @@ var UiInputGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
99
136
|
}]]);
|
|
100
137
|
};
|
|
101
138
|
}
|
|
102
|
-
}), [["__scopeId", "data-v-
|
|
139
|
+
}), [["__scopeId", "data-v-477acdfc"]]);
|
|
103
140
|
//#endregion
|
|
104
141
|
export { UiInputGroup_default as t };
|