@youcan/celeste 0.6.69 → 0.6.71
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/celeste.css +8 -7
- package/dist/cjs/alert.js +32 -32
- package/dist/cjs/badge.js +12 -12
- package/dist/cjs/button.js +6 -6
- package/dist/cjs/checkbox-card.js +33 -33
- package/dist/cjs/checkbox-label.js +31 -31
- package/dist/cjs/chunks/alpha-slider.js +12 -12
- package/dist/cjs/chunks/checkbox.js +7 -7
- package/dist/cjs/chunks/collapsible-content.js +6 -6
- package/dist/cjs/chunks/collapsible-trigger.js +5 -5
- package/dist/cjs/chunks/collapsible.js +6 -6
- package/dist/cjs/chunks/combobox-anchor.js +8 -8
- package/dist/cjs/chunks/content-divider.vue_vue_type_style_index_0_lang.js +15 -15
- package/dist/cjs/chunks/counter-input.js +13 -13
- package/dist/cjs/chunks/dropdown-menu-sub.js +6 -6
- package/dist/cjs/chunks/index.js +2292 -2289
- package/dist/cjs/chunks/index2.js +14 -14
- package/dist/cjs/chunks/index3.js +28 -28
- package/dist/cjs/chunks/index4.js +125 -96
- package/dist/cjs/chunks/index5.js +4720 -4015
- package/dist/cjs/chunks/modal-close.js +5 -5
- package/dist/cjs/chunks/modal-trigger.js +5 -5
- package/dist/cjs/chunks/modal.js +6 -6
- package/dist/cjs/chunks/pagination-first.js +9 -9
- package/dist/cjs/chunks/pagination-item.js +6 -6
- package/dist/cjs/chunks/pagination-last.js +9 -9
- package/dist/cjs/chunks/pagination-next.js +9 -9
- package/dist/cjs/chunks/pagination-previous.js +9 -9
- package/dist/cjs/chunks/popover.js +6 -6
- package/dist/cjs/chunks/radio-group-item.js +7 -7
- package/dist/cjs/chunks/radio-group.js +8 -8
- package/dist/cjs/chunks/rich-editor.vue_vue_type_style_index_0_scoped_dbc85b1a_lang.js +742 -45
- package/dist/cjs/chunks/scroll-area.js +11 -11
- package/dist/cjs/chunks/select-group.js +5 -5
- package/dist/cjs/chunks/select.js +7 -7
- package/dist/cjs/chunks/sheet-trigger.js +5 -5
- package/dist/cjs/chunks/sheet.js +6 -6
- package/dist/cjs/chunks/sidebar-content.js +5 -5
- package/dist/cjs/chunks/sidebar-element.js +6 -6
- package/dist/cjs/chunks/sidebar-footer.js +5 -5
- package/dist/cjs/chunks/sidebar-group-label.js +6 -6
- package/dist/cjs/chunks/sidebar-group.js +5 -5
- package/dist/cjs/chunks/sidebar-header.js +5 -5
- package/dist/cjs/chunks/sidebar-menu-action.js +6 -6
- package/dist/cjs/chunks/sidebar-menu-badge.js +4 -4
- package/dist/cjs/chunks/sidebar-menu-button.js +7 -7
- package/dist/cjs/chunks/sidebar-menu-item.js +5 -5
- package/dist/cjs/chunks/sidebar-menu-sub-button.js +6 -6
- package/dist/cjs/chunks/sidebar-menu-sub-item.js +5 -5
- package/dist/cjs/chunks/sidebar-menu-sub.js +5 -5
- package/dist/cjs/chunks/sidebar-menu.js +5 -5
- package/dist/cjs/chunks/sidebar-provider.vue_vue_type_style_index_0_lang.js +9 -9
- package/dist/cjs/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +4 -4
- package/dist/cjs/chunks/sidebar.js +21 -21
- package/dist/cjs/chunks/slider.js +11 -11
- package/dist/cjs/chunks/sonner.js +214 -146
- package/dist/cjs/chunks/switch.js +7 -7
- package/dist/cjs/chunks/tinycolor.js +2 -2
- package/dist/cjs/chunks/tooltip-provider.js +5 -5
- package/dist/cjs/chunks/tooltip-root.js +7 -7
- package/dist/cjs/chunks/tooltip-trigger.js +6 -6
- package/dist/cjs/chunks/tooltip.js +12 -12
- package/dist/cjs/color-area.js +16 -16
- package/dist/cjs/color-picker.js +102 -102
- package/dist/cjs/color-swatch.js +11 -11
- package/dist/cjs/combobox-empty.js +7 -7
- package/dist/cjs/combobox-group.js +11 -11
- package/dist/cjs/combobox-input.js +12 -12
- package/dist/cjs/combobox-item.js +24 -24
- package/dist/cjs/combobox-list.js +12 -12
- package/dist/cjs/combobox-root.js +7 -6
- package/dist/cjs/combobox-separator.js +7 -7
- package/dist/cjs/combobox-trigger.js +8 -8
- package/dist/cjs/combobox.js +54 -53
- package/dist/cjs/command-group.js +10 -10
- package/dist/cjs/command-input.js +8 -8
- package/dist/cjs/command-item.js +7 -7
- package/dist/cjs/command-list.js +8 -8
- package/dist/cjs/command-root.js +8 -7
- package/dist/cjs/command-separator.js +7 -7
- package/dist/cjs/compact-button.js +7 -7
- package/dist/cjs/config.js +2 -2
- package/dist/cjs/digit-input-group.js +7 -7
- package/dist/cjs/digit-input-slot.js +5 -5
- package/dist/cjs/digit-input.js +7 -7
- package/dist/cjs/dropdown-menu-content.js +9 -9
- package/dist/cjs/dropdown-menu-group.js +5 -5
- package/dist/cjs/dropdown-menu-item.js +14 -14
- package/dist/cjs/dropdown-menu-label.js +7 -7
- package/dist/cjs/dropdown-menu-separator.js +4 -4
- package/dist/cjs/dropdown-menu-sub-content.js +9 -9
- package/dist/cjs/dropdown-menu-sub-trigger.js +12 -12
- package/dist/cjs/dropdown-menu-trigger.js +6 -6
- package/dist/cjs/dropdown-menu.js +7 -7
- package/dist/cjs/extra-settings.js +21 -21
- package/dist/cjs/fancy-button.js +6 -6
- package/dist/cjs/file-upload-area.js +22 -22
- package/dist/cjs/hint-text.js +8 -8
- package/dist/cjs/hue-slider.js +15 -15
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/label.js +13 -13
- package/dist/cjs/link-bubble.js +40 -40
- package/dist/cjs/link-button.js +6 -6
- package/dist/cjs/modal-body.js +5 -5
- package/dist/cjs/modal-content.js +12 -12
- package/dist/cjs/modal-footer.js +5 -5
- package/dist/cjs/modal-header.js +22 -22
- package/dist/cjs/pagination-content.js +6 -6
- package/dist/cjs/pagination-ellipsis.js +8 -8
- package/dist/cjs/pagination.js +14 -14
- package/dist/cjs/popover-content.js +30 -30
- package/dist/cjs/popover-trigger.js +5 -5
- package/dist/cjs/progress-bar.js +19 -19
- package/dist/cjs/progress-circle.js +20 -20
- package/dist/cjs/radio-group-card.js +33 -33
- package/dist/cjs/radio-group-label.js +31 -31
- package/dist/cjs/rich-editor.js +76 -76
- package/dist/cjs/scroll-bar.js +7 -7
- package/dist/cjs/segmented-control-item.js +6 -8
- package/dist/cjs/segmented-control.js +8 -8
- package/dist/cjs/select-content.js +11 -11
- package/dist/cjs/select-icon.js +5 -5
- package/dist/cjs/select-item.js +11 -11
- package/dist/cjs/select-label.js +6 -6
- package/dist/cjs/select-separator.js +4 -4
- package/dist/cjs/select-trigger.js +9 -9
- package/dist/cjs/select-value.js +6 -6
- package/dist/cjs/sheet-close.js +6 -6
- package/dist/cjs/sheet-content.js +14 -14
- package/dist/cjs/sheet-description.js +7 -7
- package/dist/cjs/sheet-footer.js +6 -6
- package/dist/cjs/sheet-header.js +5 -5
- package/dist/cjs/sheet-title.js +7 -7
- package/dist/cjs/sidebar-group-content.js +5 -5
- package/dist/cjs/sidebar-trigger.js +7 -7
- package/dist/cjs/social-button.js +8 -8
- package/dist/cjs/sonner-alert.js +9 -9
- package/dist/cjs/status-badge.js +8 -8
- package/dist/cjs/tab-menu-content.js +7 -7
- package/dist/cjs/tab-menu-item.js +11 -11
- package/dist/cjs/tab-menu-list.js +6 -6
- package/dist/cjs/tab-menu.js +6 -6
- package/dist/cjs/table-body.js +5 -5
- package/dist/cjs/table-caption.js +5 -5
- package/dist/cjs/table-cell.js +5 -5
- package/dist/cjs/table-empty.js +9 -9
- package/dist/cjs/table-footer.js +5 -5
- package/dist/cjs/table-head.js +5 -5
- package/dist/cjs/table-header.js +5 -5
- package/dist/cjs/table-row.js +8 -8
- package/dist/cjs/table.js +6 -6
- package/dist/cjs/tag.js +10 -10
- package/dist/cjs/text-input-affix.js +5 -5
- package/dist/cjs/text-input-button.js +6 -6
- package/dist/cjs/text-input.js +31 -31
- package/dist/cjs/textarea.js +9 -9
- package/dist/cjs/tooltip-content.js +20 -20
- package/dist/cjs/use-color-model.js +2 -2
- package/dist/cjs/use-delegated-props.js +2 -2
- package/dist/cjs/use-sidebar.js +1 -1
- package/dist/cjs/use-user-select.js +4 -4
- package/dist/components/color-picker/alpha-slider.d.ts +1 -1
- package/dist/components/color-picker/color-area.d.ts +1 -1
- package/dist/components/color-picker/hue-slider.d.ts +1 -1
- package/dist/components/file-upload/file-upload-area.d.ts +4 -2
- package/dist/components/rich-editor/link-bubble.d.ts +3 -1
- package/dist/es/alert.js +1 -1
- package/dist/es/badge.js +1 -1
- package/dist/es/button.js +2 -2
- package/dist/es/checkbox-card.js +3 -3
- package/dist/es/checkbox-label.js +3 -3
- package/dist/es/chunks/alpha-slider.js +1 -1
- package/dist/es/chunks/checkbox.js +5 -5
- package/dist/es/chunks/collapsible-content.js +3 -3
- package/dist/es/chunks/collapsible-trigger.js +3 -3
- package/dist/es/chunks/collapsible.js +4 -4
- package/dist/es/chunks/combobox-anchor.js +4 -4
- package/dist/es/chunks/content-divider.vue_vue_type_style_index_0_lang.js +3 -3
- package/dist/es/chunks/counter-input.js +7 -7
- package/dist/es/chunks/dropdown-menu-sub.js +4 -4
- package/dist/es/chunks/index.js +1156 -1153
- package/dist/es/chunks/index2.js +3 -3
- package/dist/es/chunks/index3.js +2 -2
- package/dist/es/chunks/index4.js +119 -90
- package/dist/es/chunks/index5.js +4733 -4028
- package/dist/es/chunks/modal-close.js +3 -3
- package/dist/es/chunks/modal-trigger.js +3 -3
- package/dist/es/chunks/modal.js +4 -4
- package/dist/es/chunks/pagination-first.js +4 -4
- package/dist/es/chunks/pagination-item.js +3 -3
- package/dist/es/chunks/pagination-last.js +4 -4
- package/dist/es/chunks/pagination-next.js +4 -4
- package/dist/es/chunks/pagination-previous.js +4 -4
- package/dist/es/chunks/popover.js +4 -4
- package/dist/es/chunks/radio-group-item.js +5 -5
- package/dist/es/chunks/radio-group.js +4 -4
- package/dist/es/chunks/rich-editor.vue_vue_type_style_index_0_scoped_dbc85b1a_lang.js +743 -46
- package/dist/es/chunks/scroll-area.js +5 -5
- package/dist/es/chunks/select-group.js +3 -3
- package/dist/es/chunks/select.js +4 -4
- package/dist/es/chunks/sheet-trigger.js +3 -3
- package/dist/es/chunks/sheet.js +4 -4
- package/dist/es/chunks/sidebar-content.js +1 -1
- package/dist/es/chunks/sidebar-element.js +2 -2
- package/dist/es/chunks/sidebar-footer.js +1 -1
- package/dist/es/chunks/sidebar-group-label.js +2 -2
- package/dist/es/chunks/sidebar-group.js +1 -1
- package/dist/es/chunks/sidebar-header.js +1 -1
- package/dist/es/chunks/sidebar-menu-action.js +2 -2
- package/dist/es/chunks/sidebar-menu-badge.js +1 -1
- package/dist/es/chunks/sidebar-menu-button.js +2 -2
- package/dist/es/chunks/sidebar-menu-item.js +1 -1
- package/dist/es/chunks/sidebar-menu-sub-button.js +2 -2
- package/dist/es/chunks/sidebar-menu-sub-item.js +1 -1
- package/dist/es/chunks/sidebar-menu-sub.js +1 -1
- package/dist/es/chunks/sidebar-menu.js +1 -1
- package/dist/es/chunks/sidebar-provider.vue_vue_type_style_index_0_lang.js +3 -3
- package/dist/es/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +1 -1
- package/dist/es/chunks/sidebar.js +1 -1
- package/dist/es/chunks/slider.js +7 -7
- package/dist/es/chunks/sonner.js +97 -29
- package/dist/es/chunks/switch.js +5 -5
- package/dist/es/chunks/tinycolor.js +2 -2
- package/dist/es/chunks/tooltip-provider.js +3 -3
- package/dist/es/chunks/tooltip-root.js +4 -4
- package/dist/es/chunks/tooltip-trigger.js +4 -4
- package/dist/es/chunks/tooltip.js +3 -3
- package/dist/es/color-area.js +2 -2
- package/dist/es/color-picker.js +5 -5
- package/dist/es/color-swatch.js +1 -1
- package/dist/es/combobox-empty.js +3 -3
- package/dist/es/combobox-group.js +4 -4
- package/dist/es/combobox-input.js +3 -3
- package/dist/es/combobox-item.js +4 -4
- package/dist/es/combobox-list.js +6 -6
- package/dist/es/combobox-root.js +5 -4
- package/dist/es/combobox-separator.js +3 -3
- package/dist/es/combobox-trigger.js +4 -4
- package/dist/es/combobox.js +4 -3
- package/dist/es/command-group.js +4 -4
- package/dist/es/command-input.js +4 -4
- package/dist/es/command-item.js +4 -4
- package/dist/es/command-list.js +4 -4
- package/dist/es/command-root.js +5 -4
- package/dist/es/command-separator.js +3 -3
- package/dist/es/compact-button.js +2 -2
- package/dist/es/digit-input-group.js +3 -3
- package/dist/es/digit-input-slot.js +4 -4
- package/dist/es/digit-input.js +4 -4
- package/dist/es/dropdown-menu-content.js +5 -5
- package/dist/es/dropdown-menu-group.js +3 -3
- package/dist/es/dropdown-menu-item.js +4 -4
- package/dist/es/dropdown-menu-label.js +4 -4
- package/dist/es/dropdown-menu-separator.js +3 -3
- package/dist/es/dropdown-menu-sub-content.js +5 -5
- package/dist/es/dropdown-menu-sub-trigger.js +4 -4
- package/dist/es/dropdown-menu-trigger.js +4 -4
- package/dist/es/dropdown-menu.js +4 -4
- package/dist/es/extra-settings.js +1 -1
- package/dist/es/fancy-button.js +2 -2
- package/dist/es/file-upload-area.js +1 -1
- package/dist/es/hint-text.js +1 -1
- package/dist/es/hue-slider.js +3 -3
- package/dist/es/index.js +3 -3
- package/dist/es/label.js +3 -3
- package/dist/es/link-bubble.js +1 -1
- package/dist/es/link-button.js +2 -2
- package/dist/es/modal-body.js +1 -1
- package/dist/es/modal-content.js +6 -6
- package/dist/es/modal-footer.js +1 -1
- package/dist/es/modal-header.js +5 -5
- package/dist/es/pagination-content.js +3 -3
- package/dist/es/pagination-ellipsis.js +3 -3
- package/dist/es/pagination.js +4 -4
- package/dist/es/popover-content.js +7 -7
- package/dist/es/popover-trigger.js +3 -3
- package/dist/es/progress-bar.js +4 -4
- package/dist/es/progress-circle.js +4 -4
- package/dist/es/radio-group-card.js +3 -3
- package/dist/es/radio-group-label.js +3 -3
- package/dist/es/rich-editor.js +4 -4
- package/dist/es/scroll-bar.js +4 -4
- package/dist/es/segmented-control-item.js +3 -5
- package/dist/es/segmented-control.js +4 -4
- package/dist/es/select-content.js +6 -6
- package/dist/es/select-icon.js +1 -1
- package/dist/es/select-item.js +5 -5
- package/dist/es/select-label.js +3 -3
- package/dist/es/select-separator.js +3 -3
- package/dist/es/select-trigger.js +4 -4
- package/dist/es/select-value.js +3 -3
- package/dist/es/sheet-close.js +3 -3
- package/dist/es/sheet-content.js +7 -7
- package/dist/es/sheet-description.js +3 -3
- package/dist/es/sheet-footer.js +1 -1
- package/dist/es/sheet-header.js +1 -1
- package/dist/es/sheet-title.js +3 -3
- package/dist/es/sidebar-group-content.js +1 -1
- package/dist/es/sidebar-trigger.js +1 -1
- package/dist/es/social-button.js +2 -2
- package/dist/es/sonner-alert.js +2 -2
- package/dist/es/status-badge.js +1 -1
- package/dist/es/tab-menu-content.js +3 -3
- package/dist/es/tab-menu-item.js +4 -4
- package/dist/es/tab-menu-list.js +3 -3
- package/dist/es/tab-menu.js +4 -4
- package/dist/es/table-body.js +1 -1
- package/dist/es/table-caption.js +1 -1
- package/dist/es/table-cell.js +1 -1
- package/dist/es/table-empty.js +1 -1
- package/dist/es/table-footer.js +1 -1
- package/dist/es/table-head.js +1 -1
- package/dist/es/table-header.js +1 -1
- package/dist/es/table-row.js +1 -1
- package/dist/es/table.js +1 -1
- package/dist/es/tag.js +2 -2
- package/dist/es/text-input-affix.js +1 -1
- package/dist/es/text-input-button.js +1 -1
- package/dist/es/text-input.js +2 -2
- package/dist/es/textarea.js +1 -1
- package/dist/es/tooltip-content.js +6 -6
- package/dist/es/use-sidebar.js +2 -2
- package/package.json +38 -38
- package/src/components/sonner/sonner-alert.vue +3 -1
package/dist/cjs/command-root.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const index = require("./chunks/index.js");
|
|
4
|
-
const _sfc_main = /* @__PURE__ */
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
5
5
|
__name: "command-root",
|
|
6
6
|
props: {
|
|
7
7
|
modelValue: { default: "" },
|
|
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
17
17
|
filterFunction: {},
|
|
18
18
|
displayValue: {},
|
|
19
19
|
resetSearchTermOnBlur: { type: Boolean },
|
|
20
|
+
resetSearchTermOnSelect: { type: Boolean },
|
|
20
21
|
asChild: { type: Boolean },
|
|
21
22
|
as: {},
|
|
22
23
|
class: {}
|
|
@@ -25,17 +26,17 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
25
26
|
setup(__props, { emit: __emit }) {
|
|
26
27
|
const props = __props;
|
|
27
28
|
const emits = __emit;
|
|
28
|
-
const delegatedProps =
|
|
29
|
+
const delegatedProps = No.computed(() => {
|
|
29
30
|
const { class: _, ...delegated } = props;
|
|
30
31
|
return delegated;
|
|
31
32
|
});
|
|
32
|
-
const forwarded = index.
|
|
33
|
+
const forwarded = index.Se(delegatedProps, emits);
|
|
33
34
|
return (_ctx, _cache) => {
|
|
34
|
-
return
|
|
35
|
+
return No.openBlock(), No.createBlock(No.unref(index.Uv), No.mergeProps(No.unref(forwarded), {
|
|
35
36
|
class: ["celeste-command-root", props.class]
|
|
36
37
|
}), {
|
|
37
|
-
default:
|
|
38
|
-
|
|
38
|
+
default: No.withCtx(() => [
|
|
39
|
+
No.renderSlot(_ctx.$slots, "default")
|
|
39
40
|
]),
|
|
40
41
|
_: 3
|
|
41
42
|
}, 16, ["class"]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const clsx = require("./chunks/clsx.js");
|
|
4
4
|
const index = require("./chunks/index.js");
|
|
5
5
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
6
|
-
const _sfc_main = /* @__PURE__ */
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
7
7
|
__name: "command-separator",
|
|
8
8
|
props: {
|
|
9
9
|
asChild: { type: Boolean },
|
|
@@ -12,16 +12,16 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
12
12
|
},
|
|
13
13
|
setup(__props) {
|
|
14
14
|
const props = __props;
|
|
15
|
-
const delegatedProps =
|
|
15
|
+
const delegatedProps = No.computed(() => {
|
|
16
16
|
const { class: _, ...delegated } = props;
|
|
17
17
|
return delegated;
|
|
18
18
|
});
|
|
19
19
|
return (_ctx, _cache) => {
|
|
20
|
-
return
|
|
21
|
-
class:
|
|
20
|
+
return No.openBlock(), No.createBlock(No.unref(index.om), No.mergeProps(delegatedProps.value, {
|
|
21
|
+
class: No.unref(clsx.clsx)("celeste-command-separator", props.class)
|
|
22
22
|
}), {
|
|
23
|
-
default:
|
|
24
|
-
|
|
23
|
+
default: No.withCtx(() => [
|
|
24
|
+
No.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
25
25
|
]),
|
|
26
26
|
_: 3
|
|
27
27
|
}, 16, ["class"]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const clsx = require("./chunks/clsx.js");
|
|
4
4
|
const index = require("./chunks/index.js");
|
|
5
5
|
;/* empty css */
|
|
6
6
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
7
|
-
const _sfc_main = /* @__PURE__ */
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
8
8
|
__name: "compact-button",
|
|
9
9
|
props: {
|
|
10
10
|
class: {},
|
|
@@ -18,10 +18,10 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
18
18
|
setup(__props) {
|
|
19
19
|
const props = __props;
|
|
20
20
|
return (_ctx, _cache) => {
|
|
21
|
-
return
|
|
21
|
+
return No.openBlock(), No.createBlock(No.unref(index.O), {
|
|
22
22
|
as: _ctx.as,
|
|
23
23
|
"as-child": _ctx.asChild,
|
|
24
|
-
class:
|
|
24
|
+
class: No.normalizeClass(No.unref(clsx.clsx)(
|
|
25
25
|
"celeste-cbutton",
|
|
26
26
|
`celeste-cbutton-${_ctx.size}`,
|
|
27
27
|
`celeste-cbutton-${_ctx.variant}`,
|
|
@@ -29,9 +29,9 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
29
29
|
props.class
|
|
30
30
|
))
|
|
31
31
|
}, {
|
|
32
|
-
default:
|
|
33
|
-
|
|
34
|
-
class:
|
|
32
|
+
default: No.withCtx(() => [
|
|
33
|
+
No.createElementVNode("i", {
|
|
34
|
+
class: No.normalizeClass(_ctx.icon)
|
|
35
35
|
}, null, 2)
|
|
36
36
|
]),
|
|
37
37
|
_: 1
|
package/dist/cjs/config.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const clsx = require("./chunks/clsx.js");
|
|
4
4
|
const index$1 = require("./chunks/index.js");
|
|
5
5
|
const index = require("./chunks/index2.js");
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
8
|
-
const _sfc_main = /* @__PURE__ */
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
9
9
|
__name: "digit-input-group",
|
|
10
10
|
props: {
|
|
11
11
|
asChild: { type: Boolean },
|
|
@@ -15,13 +15,13 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
15
15
|
setup(__props) {
|
|
16
16
|
const props = __props;
|
|
17
17
|
const delegatedProps = index.reactiveOmit(props, "class");
|
|
18
|
-
const forwardedProps = index$1.
|
|
18
|
+
const forwardedProps = index$1.Ot(delegatedProps);
|
|
19
19
|
return (_ctx, _cache) => {
|
|
20
|
-
return
|
|
21
|
-
class:
|
|
20
|
+
return No.openBlock(), No.createBlock(No.unref(index$1.O), No.mergeProps(No.unref(forwardedProps), {
|
|
21
|
+
class: No.unref(clsx.clsx)("celeste-digit-input-group", props.class)
|
|
22
22
|
}), {
|
|
23
|
-
default:
|
|
24
|
-
|
|
23
|
+
default: No.withCtx(() => [
|
|
24
|
+
No.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
25
25
|
]),
|
|
26
26
|
_: 3
|
|
27
27
|
}, 16, ["class"]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const clsx = require("./chunks/clsx.js");
|
|
4
4
|
const index$1 = require("./chunks/index.js");
|
|
5
5
|
const index = require("./chunks/index2.js");
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
8
|
-
const _sfc_main = /* @__PURE__ */
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
9
9
|
__name: "digit-input-slot",
|
|
10
10
|
props: {
|
|
11
11
|
index: {},
|
|
@@ -17,10 +17,10 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
17
17
|
setup(__props) {
|
|
18
18
|
const props = __props;
|
|
19
19
|
const delegatedProps = index.reactiveOmit(props, "class");
|
|
20
|
-
const forwardedProps = index$1.
|
|
20
|
+
const forwardedProps = index$1.Ot(delegatedProps);
|
|
21
21
|
return (_ctx, _cache) => {
|
|
22
|
-
return
|
|
23
|
-
class:
|
|
22
|
+
return No.openBlock(), No.createBlock(No.unref(index$1.Ty), No.mergeProps(No.unref(forwardedProps), {
|
|
23
|
+
class: No.unref(clsx.clsx)("celeste-digit-input-slot", props.class)
|
|
24
24
|
}), null, 16, ["class"]);
|
|
25
25
|
};
|
|
26
26
|
}
|
package/dist/cjs/digit-input.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const clsx = require("./chunks/clsx.js");
|
|
4
4
|
const index$1 = require("./chunks/index.js");
|
|
5
5
|
const index = require("./chunks/index2.js");
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
8
|
-
const _sfc_main = /* @__PURE__ */
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
9
9
|
__name: "digit-input",
|
|
10
10
|
props: {
|
|
11
11
|
modelValue: { default: () => [] },
|
|
@@ -29,14 +29,14 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
29
29
|
const props = __props;
|
|
30
30
|
const emits = __emit;
|
|
31
31
|
const delegatedProps = index.reactiveOmit(props, "class", "hasError");
|
|
32
|
-
const forwarded = index$1.
|
|
32
|
+
const forwarded = index$1.Se(delegatedProps, emits);
|
|
33
33
|
return (_ctx, _cache) => {
|
|
34
|
-
return
|
|
35
|
-
class:
|
|
34
|
+
return No.openBlock(), No.createBlock(No.unref(index$1.Iy), No.mergeProps(No.unref(forwarded), {
|
|
35
|
+
class: No.unref(clsx.clsx)("celeste-digit-input", props.class),
|
|
36
36
|
"data-error": _ctx.hasError
|
|
37
37
|
}), {
|
|
38
|
-
default:
|
|
39
|
-
|
|
38
|
+
default: No.withCtx(() => [
|
|
39
|
+
No.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
40
40
|
]),
|
|
41
41
|
_: 3
|
|
42
42
|
}, 16, ["class", "data-error"]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const useDelegatedProps = require("./use-delegated-props.js");
|
|
4
4
|
const clsx = require("./chunks/clsx.js");
|
|
5
5
|
const index = require("./chunks/index.js");
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
8
|
-
const _sfc_main = /* @__PURE__ */
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
9
9
|
__name: "dropdown-menu-content",
|
|
10
10
|
props: {
|
|
11
11
|
forceMount: { type: Boolean },
|
|
@@ -31,16 +31,16 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
31
31
|
const props = __props;
|
|
32
32
|
const emits = __emit;
|
|
33
33
|
const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
|
|
34
|
-
const forwarded = index.
|
|
34
|
+
const forwarded = index.Se(delegatedProps, emits);
|
|
35
35
|
return (_ctx, _cache) => {
|
|
36
|
-
return
|
|
37
|
-
default:
|
|
38
|
-
|
|
39
|
-
class:
|
|
36
|
+
return No.openBlock(), No.createBlock(No.unref(index.ch), null, {
|
|
37
|
+
default: No.withCtx(() => [
|
|
38
|
+
No.createVNode(No.unref(index.fh), No.mergeProps(No.unref(forwarded), {
|
|
39
|
+
class: No.unref(clsx.clsx)("celeste-dropdown-menu-content", props.class),
|
|
40
40
|
"side-offset": 8
|
|
41
41
|
}), {
|
|
42
|
-
default:
|
|
43
|
-
|
|
42
|
+
default: No.withCtx(() => [
|
|
43
|
+
No.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
44
44
|
]),
|
|
45
45
|
_: 3
|
|
46
46
|
}, 16, ["class"])
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const index = require("./chunks/index.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
6
|
-
const _sfc_main = /* @__PURE__ */
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
7
7
|
__name: "dropdown-menu-group",
|
|
8
8
|
props: {
|
|
9
9
|
asChild: { type: Boolean },
|
|
@@ -12,9 +12,9 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
12
12
|
setup(__props) {
|
|
13
13
|
const props = __props;
|
|
14
14
|
return (_ctx, _cache) => {
|
|
15
|
-
return
|
|
16
|
-
default:
|
|
17
|
-
|
|
15
|
+
return No.openBlock(), No.createBlock(No.unref(index.mh), No.mergeProps({ class: "celeste-dropdown-menu-group" }, props), {
|
|
16
|
+
default: No.withCtx(() => [
|
|
17
|
+
No.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
18
18
|
]),
|
|
19
19
|
_: 3
|
|
20
20
|
}, 16);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const useDelegatedProps = require("./use-delegated-props.js");
|
|
4
4
|
const clsx = require("./chunks/clsx.js");
|
|
5
5
|
const index = require("./chunks/index.js");
|
|
@@ -14,7 +14,7 @@ const _hoisted_3 = {
|
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "celeste-dropdown-menu-item-suffix"
|
|
16
16
|
};
|
|
17
|
-
const _sfc_main = /* @__PURE__ */
|
|
17
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
18
18
|
__name: "dropdown-menu-item",
|
|
19
19
|
props: {
|
|
20
20
|
disabled: { type: Boolean },
|
|
@@ -26,24 +26,24 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
26
26
|
setup(__props) {
|
|
27
27
|
const props = __props;
|
|
28
28
|
const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
|
|
29
|
-
const forwardedProps = index.
|
|
29
|
+
const forwardedProps = index.Ot(delegatedProps);
|
|
30
30
|
return (_ctx, _cache) => {
|
|
31
|
-
return
|
|
32
|
-
class:
|
|
31
|
+
return No.openBlock(), No.createBlock(No.unref(index.vh), No.mergeProps(No.unref(forwardedProps), {
|
|
32
|
+
class: No.unref(clsx.clsx)(
|
|
33
33
|
"celeste-dropdown-menu-item",
|
|
34
34
|
props.class
|
|
35
35
|
)
|
|
36
36
|
}), {
|
|
37
|
-
default:
|
|
38
|
-
_ctx.$slots.prefix ? (
|
|
39
|
-
|
|
40
|
-
])) :
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
default: No.withCtx(() => [
|
|
38
|
+
_ctx.$slots.prefix ? (No.openBlock(), No.createElementBlock("div", _hoisted_1, [
|
|
39
|
+
No.renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
40
|
+
])) : No.createCommentVNode("", true),
|
|
41
|
+
No.createElementVNode("div", _hoisted_2, [
|
|
42
|
+
No.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
43
43
|
]),
|
|
44
|
-
_ctx.$slots.suffix ? (
|
|
45
|
-
|
|
46
|
-
])) :
|
|
44
|
+
_ctx.$slots.suffix ? (No.openBlock(), No.createElementBlock("div", _hoisted_3, [
|
|
45
|
+
No.renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
46
|
+
])) : No.createCommentVNode("", true)
|
|
47
47
|
]),
|
|
48
48
|
_: 3
|
|
49
49
|
}, 16, ["class"]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const useDelegatedProps = require("./use-delegated-props.js");
|
|
4
4
|
const clsx = require("./chunks/clsx.js");
|
|
5
5
|
const index = require("./chunks/index.js");
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
8
|
-
const _sfc_main = /* @__PURE__ */
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
9
9
|
__name: "dropdown-menu-label",
|
|
10
10
|
props: {
|
|
11
11
|
asChild: { type: Boolean },
|
|
@@ -15,13 +15,13 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
15
15
|
setup(__props) {
|
|
16
16
|
const props = __props;
|
|
17
17
|
const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
|
|
18
|
-
const forwardedProps = index.
|
|
18
|
+
const forwardedProps = index.Ot(delegatedProps);
|
|
19
19
|
return (_ctx, _cache) => {
|
|
20
|
-
return
|
|
21
|
-
class:
|
|
20
|
+
return No.openBlock(), No.createBlock(No.unref(index.bh), No.mergeProps(No.unref(forwardedProps), {
|
|
21
|
+
class: No.unref(clsx.clsx)("celeste-dropdown-menu-label", props.class)
|
|
22
22
|
}), {
|
|
23
|
-
default:
|
|
24
|
-
|
|
23
|
+
default: No.withCtx(() => [
|
|
24
|
+
No.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
25
25
|
]),
|
|
26
26
|
_: 3
|
|
27
27
|
}, 16, ["class"]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const useDelegatedProps = require("./use-delegated-props.js");
|
|
4
4
|
const clsx = require("./chunks/clsx.js");
|
|
5
5
|
const index = require("./chunks/index.js");
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
8
|
-
const _sfc_main = /* @__PURE__ */
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
9
9
|
__name: "dropdown-menu-separator",
|
|
10
10
|
props: {
|
|
11
11
|
asChild: { type: Boolean },
|
|
@@ -16,8 +16,8 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
16
16
|
const props = __props;
|
|
17
17
|
const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
|
|
18
18
|
return (_ctx, _cache) => {
|
|
19
|
-
return
|
|
20
|
-
class:
|
|
19
|
+
return No.openBlock(), No.createBlock(No.unref(index.hh), No.mergeProps(No.unref(delegatedProps), {
|
|
20
|
+
class: No.unref(clsx.clsx)("celeste-dropdown-menu-separator", props.class)
|
|
21
21
|
}), null, 16, ["class"]);
|
|
22
22
|
};
|
|
23
23
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const useDelegatedProps = require("./use-delegated-props.js");
|
|
4
4
|
const clsx = require("./chunks/clsx.js");
|
|
5
5
|
const index = require("./chunks/index.js");
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
8
|
-
const _sfc_main = /* @__PURE__ */
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
9
9
|
__name: "dropdown-menu-sub-content",
|
|
10
10
|
props: {
|
|
11
11
|
forceMount: { type: Boolean },
|
|
@@ -29,15 +29,15 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
29
29
|
const props = __props;
|
|
30
30
|
const emits = __emit;
|
|
31
31
|
const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
|
|
32
|
-
const forwarded = index.
|
|
32
|
+
const forwarded = index.Se(delegatedProps, emits);
|
|
33
33
|
return (_ctx, _cache) => {
|
|
34
|
-
return
|
|
35
|
-
default:
|
|
36
|
-
|
|
37
|
-
class:
|
|
34
|
+
return No.openBlock(), No.createBlock(No.unref(index.ch), null, {
|
|
35
|
+
default: No.withCtx(() => [
|
|
36
|
+
No.createVNode(No.unref(index.xh), No.mergeProps(No.unref(forwarded), {
|
|
37
|
+
class: No.unref(clsx.clsx)(props.class, "celeste-dropdown-menu-sub-content")
|
|
38
38
|
}), {
|
|
39
|
-
default:
|
|
40
|
-
|
|
39
|
+
default: No.withCtx(() => [
|
|
40
|
+
No.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
41
41
|
]),
|
|
42
42
|
_: 3
|
|
43
43
|
}, 16, ["class"])
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const useDelegatedProps = require("./use-delegated-props.js");
|
|
4
4
|
const clsx = require("./chunks/clsx.js");
|
|
5
5
|
const index = require("./chunks/index.js");
|
|
@@ -10,7 +10,7 @@ const _hoisted_1 = {
|
|
|
10
10
|
class: "celeste-dropdown-menu-sub-prefix"
|
|
11
11
|
};
|
|
12
12
|
const _hoisted_2 = { class: "celeste-dropdown-menu-sub-body" };
|
|
13
|
-
const _sfc_main = /* @__PURE__ */
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
14
14
|
__name: "dropdown-menu-sub-trigger",
|
|
15
15
|
props: {
|
|
16
16
|
disabled: { type: Boolean },
|
|
@@ -22,19 +22,19 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
22
22
|
setup(__props) {
|
|
23
23
|
const props = __props;
|
|
24
24
|
const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
|
|
25
|
-
const forwardedProps = index.
|
|
25
|
+
const forwardedProps = index.Ot(delegatedProps);
|
|
26
26
|
return (_ctx, _cache) => {
|
|
27
|
-
return
|
|
28
|
-
class:
|
|
27
|
+
return No.openBlock(), No.createBlock(No.unref(index.Sh), No.mergeProps(No.unref(forwardedProps), {
|
|
28
|
+
class: No.unref(clsx.clsx)(props.class, "celeste-dropdown-menu-sub-trigger")
|
|
29
29
|
}), {
|
|
30
|
-
default:
|
|
31
|
-
_ctx.$slots.prefix ? (
|
|
32
|
-
|
|
33
|
-
])) :
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
default: No.withCtx(() => [
|
|
31
|
+
_ctx.$slots.prefix ? (No.openBlock(), No.createElementBlock("div", _hoisted_1, [
|
|
32
|
+
No.renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
33
|
+
])) : No.createCommentVNode("", true),
|
|
34
|
+
No.createElementVNode("div", _hoisted_2, [
|
|
35
|
+
No.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
36
36
|
]),
|
|
37
|
-
_cache[0] || (_cache[0] =
|
|
37
|
+
_cache[0] || (_cache[0] = No.createElementVNode("i", { class: "i-celeste-arrow-right-s-line" }, null, -1))
|
|
38
38
|
]),
|
|
39
39
|
_: 3
|
|
40
40
|
}, 16, ["class"]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const index = require("./chunks/index.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
6
|
-
const _sfc_main = /* @__PURE__ */
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
7
7
|
__name: "dropdown-menu-trigger",
|
|
8
8
|
props: {
|
|
9
9
|
disabled: { type: Boolean },
|
|
@@ -12,11 +12,11 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
12
12
|
},
|
|
13
13
|
setup(__props) {
|
|
14
14
|
const props = __props;
|
|
15
|
-
const forwardedProps = index.
|
|
15
|
+
const forwardedProps = index.Ot(props);
|
|
16
16
|
return (_ctx, _cache) => {
|
|
17
|
-
return
|
|
18
|
-
default:
|
|
19
|
-
|
|
17
|
+
return No.openBlock(), No.createBlock(No.unref(index.dh), No.mergeProps({ class: "celeste-dropdown-menu-trigger" }, No.unref(forwardedProps), { as: "div" }), {
|
|
18
|
+
default: No.withCtx(() => [
|
|
19
|
+
No.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
20
20
|
]),
|
|
21
21
|
_: 3
|
|
22
22
|
}, 16);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const useDelegatedProps = require("./use-delegated-props.js");
|
|
4
4
|
const clsx = require("./chunks/clsx.js");
|
|
5
5
|
const index = require("./chunks/index.js");
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
8
|
-
const _sfc_main = /* @__PURE__ */
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
9
9
|
__name: "dropdown-menu",
|
|
10
10
|
props: {
|
|
11
11
|
defaultOpen: { type: Boolean },
|
|
@@ -19,13 +19,13 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
19
19
|
const props = __props;
|
|
20
20
|
const emits = __emit;
|
|
21
21
|
const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
|
|
22
|
-
const forwarded = index.
|
|
22
|
+
const forwarded = index.Se(delegatedProps, emits);
|
|
23
23
|
return (_ctx, _cache) => {
|
|
24
|
-
return
|
|
25
|
-
class:
|
|
24
|
+
return No.openBlock(), No.createBlock(No.unref(index.uh), No.mergeProps(No.unref(forwarded), {
|
|
25
|
+
class: No.unref(clsx.clsx)("celeste-dropdown-menu", props.class)
|
|
26
26
|
}), {
|
|
27
|
-
default:
|
|
28
|
-
|
|
27
|
+
default: No.withCtx(() => [
|
|
28
|
+
No.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
29
29
|
]),
|
|
30
30
|
_: 3
|
|
31
31
|
}, 16, ["class"]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const No = require("vue");
|
|
3
3
|
const compactButton = require("./compact-button.js");
|
|
4
4
|
const selectContent = require("./select-content.js");
|
|
5
5
|
const selectIcon = require("./select-icon.js");
|
|
@@ -10,14 +10,14 @@ const tooltip_vue_vue_type_script_setup_true_lang = require("./chunks/tooltip.js
|
|
|
10
10
|
;/* empty css */
|
|
11
11
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
12
12
|
const _hoisted_1 = { class: "show-more-wrapper" };
|
|
13
|
-
const _sfc_main = /* @__PURE__ */
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
14
14
|
__name: "extra-settings",
|
|
15
15
|
props: {
|
|
16
16
|
editor: {}
|
|
17
17
|
},
|
|
18
18
|
setup(__props) {
|
|
19
19
|
const props = __props;
|
|
20
|
-
const defaultValue =
|
|
20
|
+
const defaultValue = No.ref("");
|
|
21
21
|
const extraSettings = [
|
|
22
22
|
{
|
|
23
23
|
name: "Copy",
|
|
@@ -91,8 +91,8 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
return (_ctx, _cache) => {
|
|
94
|
-
return
|
|
95
|
-
|
|
94
|
+
return No.openBlock(), No.createElementBlock("div", _hoisted_1, [
|
|
95
|
+
No.createVNode(select_vue_vue_type_script_setup_true_lang._sfc_main, {
|
|
96
96
|
modelValue: defaultValue.value,
|
|
97
97
|
"onUpdate:modelValue": [
|
|
98
98
|
_cache[0] || (_cache[0] = ($event) => defaultValue.value = $event),
|
|
@@ -100,15 +100,15 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
100
100
|
],
|
|
101
101
|
"onUpdate:open": clearSelectedValue
|
|
102
102
|
}, {
|
|
103
|
-
default:
|
|
104
|
-
|
|
105
|
-
default:
|
|
106
|
-
|
|
103
|
+
default: No.withCtx(() => [
|
|
104
|
+
No.createVNode(selectTrigger, { variant: "inline" }, {
|
|
105
|
+
default: No.withCtx(() => [
|
|
106
|
+
No.createVNode(tooltip_vue_vue_type_script_setup_true_lang._sfc_main, {
|
|
107
107
|
title: "Extra settings",
|
|
108
108
|
variant: "dark"
|
|
109
109
|
}, {
|
|
110
|
-
default:
|
|
111
|
-
|
|
110
|
+
default: No.withCtx(() => [
|
|
111
|
+
No.createVNode(compactButton, {
|
|
112
112
|
icon: "i-celeste-more-2-line",
|
|
113
113
|
variant: "ghost"
|
|
114
114
|
})
|
|
@@ -118,26 +118,26 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
118
118
|
]),
|
|
119
119
|
_: 1
|
|
120
120
|
}),
|
|
121
|
-
|
|
121
|
+
No.createVNode(selectContent, {
|
|
122
122
|
align: "end",
|
|
123
123
|
width: "fit"
|
|
124
124
|
}, {
|
|
125
|
-
default:
|
|
126
|
-
(
|
|
127
|
-
return
|
|
125
|
+
default: No.withCtx(() => [
|
|
126
|
+
(No.openBlock(), No.createElementBlock(No.Fragment, null, No.renderList(extraSettings, (item, index) => {
|
|
127
|
+
return No.createVNode(selectItem, {
|
|
128
128
|
key: index,
|
|
129
129
|
value: item.name
|
|
130
130
|
}, {
|
|
131
|
-
default:
|
|
132
|
-
|
|
133
|
-
default:
|
|
134
|
-
|
|
135
|
-
class:
|
|
131
|
+
default: No.withCtx(() => [
|
|
132
|
+
No.createVNode(selectIcon, null, {
|
|
133
|
+
default: No.withCtx(() => [
|
|
134
|
+
No.createElementVNode("i", {
|
|
135
|
+
class: No.normalizeClass(item.icon)
|
|
136
136
|
}, null, 2)
|
|
137
137
|
]),
|
|
138
138
|
_: 2
|
|
139
139
|
}, 1024),
|
|
140
|
-
|
|
140
|
+
No.createElementVNode("span", null, No.toDisplayString(item.name), 1)
|
|
141
141
|
]),
|
|
142
142
|
_: 2
|
|
143
143
|
}, 1032, ["value"]);
|