@youcan/celeste 0.6.71 → 0.6.73
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 +7 -6
- 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 +2289 -2292
- package/dist/cjs/chunks/index2.js +14 -14
- package/dist/cjs/chunks/index3.js +28 -28
- package/dist/cjs/chunks/index4.js +96 -125
- package/dist/cjs/chunks/index5.js +3381 -4086
- 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 +45 -742
- 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 +146 -214
- 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 +6 -7
- package/dist/cjs/combobox-separator.js +7 -7
- package/dist/cjs/combobox-trigger.js +8 -8
- package/dist/cjs/combobox.js +53 -54
- 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 +7 -8
- 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 +8 -6
- 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 +8 -8
- 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 +2 -4
- package/dist/components/rich-editor/link-bubble.d.ts +1 -3
- 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 +1153 -1156
- package/dist/es/chunks/index2.js +3 -3
- package/dist/es/chunks/index3.js +2 -2
- package/dist/es/chunks/index4.js +90 -119
- package/dist/es/chunks/index5.js +3394 -4099
- 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 +46 -743
- 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 +29 -97
- 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 +4 -5
- package/dist/es/combobox-separator.js +3 -3
- package/dist/es/combobox-trigger.js +4 -4
- package/dist/es/combobox.js +3 -4
- 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 +4 -5
- 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 +5 -3
- 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 +1 -1
- 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 +3 -3
- package/src/components/slider/slider.vue +3 -3
package/dist/cjs/modal-footer.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const Mo = require("vue");
|
|
3
3
|
const clsx = require("./chunks/clsx.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__ */ Mo.defineComponent({
|
|
7
7
|
__name: "modal-footer",
|
|
8
8
|
props: {
|
|
9
9
|
class: {}
|
|
@@ -11,10 +11,10 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
11
11
|
setup(__props) {
|
|
12
12
|
const props = __props;
|
|
13
13
|
return (_ctx, _cache) => {
|
|
14
|
-
return
|
|
15
|
-
class:
|
|
14
|
+
return Mo.openBlock(), Mo.createElementBlock("div", {
|
|
15
|
+
class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-modal-footer", props.class))
|
|
16
16
|
}, [
|
|
17
|
-
|
|
17
|
+
Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
18
18
|
], 2);
|
|
19
19
|
};
|
|
20
20
|
}
|
package/dist/cjs/modal-header.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const Mo = require("vue");
|
|
3
3
|
const compactButton = require("./compact-button.js");
|
|
4
4
|
const clsx = require("./chunks/clsx.js");
|
|
5
5
|
const index = require("./chunks/index.js");
|
|
@@ -16,7 +16,7 @@ const _hoisted_3 = {
|
|
|
16
16
|
};
|
|
17
17
|
const _hoisted_4 = { class: "title" };
|
|
18
18
|
const _hoisted_5 = { class: "description" };
|
|
19
|
-
const _sfc_main = /* @__PURE__ */
|
|
19
|
+
const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
20
20
|
__name: "modal-header",
|
|
21
21
|
props: {
|
|
22
22
|
title: {},
|
|
@@ -30,50 +30,50 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
30
30
|
setup(__props) {
|
|
31
31
|
const props = __props;
|
|
32
32
|
return (_ctx, _cache) => {
|
|
33
|
-
return
|
|
34
|
-
class:
|
|
33
|
+
return Mo.openBlock(), Mo.createElementBlock("div", {
|
|
34
|
+
class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-modal-header", props.class)),
|
|
35
35
|
"data-dismissible": _ctx.dismissible,
|
|
36
36
|
"data-alignment": _ctx.alignment,
|
|
37
37
|
"data-type": _ctx.type
|
|
38
38
|
}, [
|
|
39
|
-
_ctx.icon ? (
|
|
40
|
-
|
|
41
|
-
class:
|
|
39
|
+
_ctx.icon ? (Mo.openBlock(), Mo.createElementBlock("div", _hoisted_2, [
|
|
40
|
+
Mo.createElementVNode("i", {
|
|
41
|
+
class: Mo.normalizeClass(_ctx.icon)
|
|
42
42
|
}, null, 2)
|
|
43
|
-
])) :
|
|
44
|
-
_ctx.title || _ctx.description ? (
|
|
45
|
-
_ctx.title ? (
|
|
43
|
+
])) : Mo.createCommentVNode("", true),
|
|
44
|
+
_ctx.title || _ctx.description ? (Mo.openBlock(), Mo.createElementBlock("div", _hoisted_3, [
|
|
45
|
+
_ctx.title ? (Mo.openBlock(), Mo.createBlock(Mo.unref(index.Pu), {
|
|
46
46
|
key: 0,
|
|
47
47
|
"as-child": ""
|
|
48
48
|
}, {
|
|
49
|
-
default:
|
|
50
|
-
|
|
49
|
+
default: Mo.withCtx(() => [
|
|
50
|
+
Mo.createElementVNode("h2", _hoisted_4, Mo.toDisplayString(_ctx.title), 1)
|
|
51
51
|
]),
|
|
52
52
|
_: 1
|
|
53
|
-
})) :
|
|
54
|
-
_ctx.description ? (
|
|
53
|
+
})) : Mo.createCommentVNode("", true),
|
|
54
|
+
_ctx.description ? (Mo.openBlock(), Mo.createBlock(Mo.unref(index.Du), {
|
|
55
55
|
key: 1,
|
|
56
56
|
"as-child": ""
|
|
57
57
|
}, {
|
|
58
|
-
default:
|
|
59
|
-
|
|
58
|
+
default: Mo.withCtx(() => [
|
|
59
|
+
Mo.createElementVNode("p", _hoisted_5, Mo.toDisplayString(_ctx.description), 1)
|
|
60
60
|
]),
|
|
61
61
|
_: 1
|
|
62
|
-
})) :
|
|
63
|
-
])) :
|
|
64
|
-
_ctx.dismissible ? (
|
|
62
|
+
})) : Mo.createCommentVNode("", true)
|
|
63
|
+
])) : Mo.createCommentVNode("", true),
|
|
64
|
+
_ctx.dismissible ? (Mo.openBlock(), Mo.createBlock(Mo.unref(index.Gl), {
|
|
65
65
|
key: 2,
|
|
66
66
|
"as-child": ""
|
|
67
67
|
}, {
|
|
68
|
-
default:
|
|
69
|
-
|
|
68
|
+
default: Mo.withCtx(() => [
|
|
69
|
+
Mo.createVNode(compactButton, {
|
|
70
70
|
class: "close",
|
|
71
71
|
icon: "i-celeste-close-line",
|
|
72
72
|
variant: "ghost"
|
|
73
73
|
})
|
|
74
74
|
]),
|
|
75
75
|
_: 1
|
|
76
|
-
})) :
|
|
76
|
+
})) : Mo.createCommentVNode("", true)
|
|
77
77
|
], 10, _hoisted_1);
|
|
78
78
|
};
|
|
79
79
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const Mo = 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__ */ Mo.defineComponent({
|
|
9
9
|
__name: "pagination-content",
|
|
10
10
|
props: {
|
|
11
11
|
class: {},
|
|
@@ -16,11 +16,11 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
16
16
|
const props = __props;
|
|
17
17
|
const delegated = index.reactiveOmit(props, "class");
|
|
18
18
|
return (_ctx, _cache) => {
|
|
19
|
-
return
|
|
20
|
-
class:
|
|
19
|
+
return Mo.openBlock(), Mo.createBlock(Mo.unref(index$1.xy), Mo.mergeProps({ "data-slot": "pagination-content" }, Mo.unref(delegated), {
|
|
20
|
+
class: Mo.unref(clsx.clsx)("celeste-pagination-content", props.class)
|
|
21
21
|
}), {
|
|
22
|
-
default:
|
|
23
|
-
|
|
22
|
+
default: Mo.withCtx((sprops) => [
|
|
23
|
+
Mo.renderSlot(_ctx.$slots, "default", Mo.normalizeProps(Mo.guardReactiveProps(sprops)), void 0, true)
|
|
24
24
|
]),
|
|
25
25
|
_: 3
|
|
26
26
|
}, 16, ["class"]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const Mo = 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__ */ Mo.defineComponent({
|
|
9
9
|
__name: "pagination-ellipsis",
|
|
10
10
|
props: {
|
|
11
11
|
class: {},
|
|
@@ -16,14 +16,14 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
16
16
|
const props = __props;
|
|
17
17
|
const delegated = index.reactiveOmit(props, "class");
|
|
18
18
|
return (_ctx, _cache) => {
|
|
19
|
-
return
|
|
20
|
-
class:
|
|
19
|
+
return Mo.openBlock(), Mo.createBlock(Mo.unref(index$1.Cy), Mo.mergeProps(Mo.unref(delegated), {
|
|
20
|
+
class: Mo.unref(clsx.clsx)("celeste-pagination-element", "celeste-pagination-ellipsis", props.class),
|
|
21
21
|
"data-slot": "pagination-ellipsis"
|
|
22
22
|
}), {
|
|
23
|
-
default:
|
|
24
|
-
|
|
25
|
-
_cache[0] || (_cache[0] =
|
|
26
|
-
_cache[1] || (_cache[1] =
|
|
23
|
+
default: Mo.withCtx(() => [
|
|
24
|
+
Mo.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
25
|
+
_cache[0] || (_cache[0] = Mo.createElementVNode("span", { class: "celeste-pagination-ellipsis-dots" }, "...", -1)),
|
|
26
|
+
_cache[1] || (_cache[1] = Mo.createElementVNode("span", { class: "celeste-pagination-ellipsis-sr" }, "More pages", -1))
|
|
27
27
|
], true)
|
|
28
28
|
]),
|
|
29
29
|
_: 3
|
package/dist/cjs/pagination.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const Mo = 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");
|
|
@@ -14,7 +14,7 @@ const _hoisted_3 = {
|
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "celeste-pagination-trailing"
|
|
16
16
|
};
|
|
17
|
-
const _sfc_main = /* @__PURE__ */
|
|
17
|
+
const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
18
18
|
__name: "pagination",
|
|
19
19
|
props: {
|
|
20
20
|
class: {},
|
|
@@ -34,22 +34,22 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
34
34
|
const props = __props;
|
|
35
35
|
const emits = __emit;
|
|
36
36
|
const delegated = index.reactiveOmit(props, "class");
|
|
37
|
-
const forwarded = index$1.
|
|
37
|
+
const forwarded = index$1.xe(delegated, emits);
|
|
38
38
|
return (_ctx, _cache) => {
|
|
39
|
-
return
|
|
39
|
+
return Mo.openBlock(), Mo.createBlock(Mo.unref(index$1.by), Mo.mergeProps(Mo.unref(forwarded), {
|
|
40
40
|
"data-slot": "pagination",
|
|
41
|
-
class:
|
|
41
|
+
class: Mo.unref(clsx.clsx)("celeste-pagination", `celeste-pagination-variant-${props.variant}`, props.class)
|
|
42
42
|
}), {
|
|
43
|
-
default:
|
|
44
|
-
_ctx.$slots.leading ? (
|
|
45
|
-
|
|
46
|
-
])) :
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
default: Mo.withCtx((sprops) => [
|
|
44
|
+
_ctx.$slots.leading ? (Mo.openBlock(), Mo.createElementBlock("div", _hoisted_1, [
|
|
45
|
+
Mo.renderSlot(_ctx.$slots, "leading", Mo.normalizeProps(Mo.guardReactiveProps(sprops)), void 0, true)
|
|
46
|
+
])) : Mo.createCommentVNode("", true),
|
|
47
|
+
Mo.createElementVNode("div", _hoisted_2, [
|
|
48
|
+
Mo.renderSlot(_ctx.$slots, "default", Mo.normalizeProps(Mo.guardReactiveProps(sprops)), void 0, true)
|
|
49
49
|
]),
|
|
50
|
-
_ctx.$slots.trailing ? (
|
|
51
|
-
|
|
52
|
-
])) :
|
|
50
|
+
_ctx.$slots.trailing ? (Mo.openBlock(), Mo.createElementBlock("div", _hoisted_3, [
|
|
51
|
+
Mo.renderSlot(_ctx.$slots, "trailing", Mo.normalizeProps(Mo.guardReactiveProps(sprops)), void 0, true)
|
|
52
|
+
])) : Mo.createCommentVNode("", true)
|
|
53
53
|
]),
|
|
54
54
|
_: 3
|
|
55
55
|
}, 16, ["class"]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const Mo = require("vue");
|
|
3
3
|
const compactButton = require("./compact-button.js");
|
|
4
4
|
const useDelegatedProps = require("./use-delegated-props.js");
|
|
5
5
|
const clsx = require("./chunks/clsx.js");
|
|
@@ -13,7 +13,7 @@ const _hoisted_4 = {
|
|
|
13
13
|
key: 2,
|
|
14
14
|
class: "celeste-popover-footer"
|
|
15
15
|
};
|
|
16
|
-
const _sfc_main = /* @__PURE__ */
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
17
17
|
...{
|
|
18
18
|
inheritAttrs: false
|
|
19
19
|
},
|
|
@@ -37,62 +37,62 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
37
37
|
const emits = __emit;
|
|
38
38
|
const delegatedProps = useDelegatedProps.useDelegatedProps(props, ["class", "title"]);
|
|
39
39
|
const sideOffset = props.showTail ? 0 : props.sideOffset ?? 8;
|
|
40
|
-
const forwarded = index.
|
|
40
|
+
const forwarded = index.xe(delegatedProps, emits);
|
|
41
41
|
return (_ctx, _cache) => {
|
|
42
|
-
return
|
|
43
|
-
default:
|
|
44
|
-
|
|
45
|
-
"side-offset":
|
|
42
|
+
return Mo.openBlock(), Mo.createBlock(Mo.unref(index.bs), null, {
|
|
43
|
+
default: Mo.withCtx(() => [
|
|
44
|
+
Mo.createVNode(Mo.unref(index.ws), Mo.mergeProps({ ...Mo.unref(forwarded), ..._ctx.$attrs }, {
|
|
45
|
+
"side-offset": Mo.unref(sideOffset),
|
|
46
46
|
class: "celeste-popover-content-wrapper"
|
|
47
47
|
}), {
|
|
48
|
-
default:
|
|
49
|
-
|
|
50
|
-
class:
|
|
51
|
-
style:
|
|
48
|
+
default: Mo.withCtx(() => [
|
|
49
|
+
Mo.createElementVNode("div", {
|
|
50
|
+
class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-popover-content", props.class)),
|
|
51
|
+
style: Mo.normalizeStyle({ padding: !_ctx.$slots.default ? "var(--spacing-16)" : "" })
|
|
52
52
|
}, [
|
|
53
|
-
!_ctx.$slots.default ? (
|
|
54
|
-
_ctx.icon ? (
|
|
53
|
+
!_ctx.$slots.default ? (Mo.openBlock(), Mo.createElementBlock(Mo.Fragment, { key: 0 }, [
|
|
54
|
+
_ctx.icon ? (Mo.openBlock(), Mo.createElementBlock("span", {
|
|
55
55
|
key: 0,
|
|
56
56
|
class: "celeste-popover-icon",
|
|
57
57
|
"data-icon-size": _ctx.iconSize
|
|
58
58
|
}, [
|
|
59
|
-
|
|
60
|
-
class:
|
|
59
|
+
Mo.createElementVNode("i", {
|
|
60
|
+
class: Mo.normalizeClass(_ctx.icon)
|
|
61
61
|
}, null, 2)
|
|
62
|
-
], 8, _hoisted_1)) :
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
], 64)) :
|
|
62
|
+
], 8, _hoisted_1)) : Mo.createCommentVNode("", true),
|
|
63
|
+
Mo.createElementVNode("p", _hoisted_2, Mo.toDisplayString(_ctx.title), 1),
|
|
64
|
+
Mo.createElementVNode("p", _hoisted_3, Mo.toDisplayString(_ctx.description), 1)
|
|
65
|
+
], 64)) : Mo.renderSlot(_ctx.$slots, "default", { key: 1 }, void 0, true)
|
|
66
66
|
], 6),
|
|
67
|
-
_ctx.showTail ? (
|
|
67
|
+
_ctx.showTail ? (Mo.openBlock(), Mo.createBlock(Mo.unref(index._s), {
|
|
68
68
|
key: 0,
|
|
69
69
|
"as-child": "",
|
|
70
70
|
width: 16,
|
|
71
71
|
height: 8
|
|
72
72
|
}, {
|
|
73
|
-
default:
|
|
74
|
-
|
|
73
|
+
default: Mo.withCtx(() => _cache[0] || (_cache[0] = [
|
|
74
|
+
Mo.createElementVNode("span", { class: "celeste-popover-arrow" }, null, -1)
|
|
75
75
|
])),
|
|
76
76
|
_: 1
|
|
77
|
-
})) :
|
|
78
|
-
_ctx.dismissible ? (
|
|
77
|
+
})) : Mo.createCommentVNode("", true),
|
|
78
|
+
_ctx.dismissible ? (Mo.openBlock(), Mo.createBlock(Mo.unref(index.xs), {
|
|
79
79
|
key: 1,
|
|
80
80
|
"as-child": "",
|
|
81
81
|
class: "PopoverClose",
|
|
82
82
|
"aria-label": "Close"
|
|
83
83
|
}, {
|
|
84
|
-
default:
|
|
85
|
-
|
|
84
|
+
default: Mo.withCtx(() => [
|
|
85
|
+
Mo.createVNode(compactButton, {
|
|
86
86
|
variant: "ghost",
|
|
87
87
|
icon: "i-celeste-close-line",
|
|
88
88
|
class: "celeste-popover-close-button"
|
|
89
89
|
})
|
|
90
90
|
]),
|
|
91
91
|
_: 1
|
|
92
|
-
})) :
|
|
93
|
-
_ctx.$slots.footer ? (
|
|
94
|
-
|
|
95
|
-
])) :
|
|
92
|
+
})) : Mo.createCommentVNode("", true),
|
|
93
|
+
_ctx.$slots.footer ? (Mo.openBlock(), Mo.createElementBlock("div", _hoisted_4, [
|
|
94
|
+
Mo.renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
95
|
+
])) : Mo.createCommentVNode("", true)
|
|
96
96
|
]),
|
|
97
97
|
_: 3
|
|
98
98
|
}, 16, ["side-offset"])
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const Mo = 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__ */ Mo.defineComponent({
|
|
7
7
|
__name: "popover-trigger",
|
|
8
8
|
props: {
|
|
9
9
|
asChild: { type: Boolean },
|
|
@@ -12,9 +12,9 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
12
12
|
setup(__props) {
|
|
13
13
|
const props = __props;
|
|
14
14
|
return (_ctx, _cache) => {
|
|
15
|
-
return
|
|
16
|
-
default:
|
|
17
|
-
|
|
15
|
+
return Mo.openBlock(), Mo.createBlock(Mo.unref(index.gs), Mo.mergeProps({ class: "celeste-popover-trigger" }, props, { as: "div" }), {
|
|
16
|
+
default: Mo.withCtx(() => [
|
|
17
|
+
Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
18
18
|
]),
|
|
19
19
|
_: 3
|
|
20
20
|
}, 16);
|
package/dist/cjs/progress-bar.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const Mo = 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");
|
|
@@ -19,7 +19,7 @@ const _hoisted_5 = {
|
|
|
19
19
|
key: 1,
|
|
20
20
|
class: "celeste-progress-bar-description"
|
|
21
21
|
};
|
|
22
|
-
const _sfc_main = /* @__PURE__ */
|
|
22
|
+
const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
23
23
|
__name: "progress-bar",
|
|
24
24
|
props: {
|
|
25
25
|
modelValue: { default: 0 },
|
|
@@ -33,50 +33,50 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
33
33
|
layout: { default: "bare" }
|
|
34
34
|
},
|
|
35
35
|
setup(__props) {
|
|
36
|
-
|
|
36
|
+
Mo.useCssVars((_ctx) => ({
|
|
37
37
|
"6ba22aeb": progressIndicator.value
|
|
38
38
|
}));
|
|
39
39
|
const props = __props;
|
|
40
40
|
const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
|
|
41
|
-
const progress =
|
|
41
|
+
const progress = Mo.computed(() => {
|
|
42
42
|
if (props.max === 0)
|
|
43
43
|
return 0;
|
|
44
44
|
const value = Math.min(Math.max(props.modelValue ?? 0, 0), props.max);
|
|
45
45
|
return Math.round(value / props.max * 100);
|
|
46
46
|
});
|
|
47
|
-
const progressIndicator =
|
|
47
|
+
const progressIndicator = Mo.computed(() => {
|
|
48
48
|
return 100 - (props.modelValue ?? 0) / props.max * 100;
|
|
49
49
|
});
|
|
50
50
|
return (_ctx, _cache) => {
|
|
51
|
-
return
|
|
51
|
+
return Mo.openBlock(), Mo.createElementBlock("div", {
|
|
52
52
|
class: "celeste-progress-bar-wrapper",
|
|
53
53
|
"data-layout": _ctx.layout
|
|
54
54
|
}, [
|
|
55
|
-
_ctx.layout !== "bare" ? (
|
|
56
|
-
props.title && _ctx.layout !== "inline" ? (
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
_ctx.layout !== "bare" ? (Mo.openBlock(), Mo.createElementBlock("div", _hoisted_2, [
|
|
56
|
+
props.title && _ctx.layout !== "inline" ? (Mo.openBlock(), Mo.createElementBlock("span", _hoisted_3, Mo.toDisplayString(_ctx.title), 1)) : Mo.createCommentVNode("", true),
|
|
57
|
+
Mo.createElementVNode("span", _hoisted_4, [
|
|
58
|
+
Mo.renderSlot(_ctx.$slots, "label", {}, () => [
|
|
59
|
+
Mo.createTextVNode(Mo.toDisplayString(progress.value) + "% ", 1)
|
|
60
60
|
], true)
|
|
61
61
|
])
|
|
62
|
-
])) :
|
|
63
|
-
|
|
64
|
-
class:
|
|
62
|
+
])) : Mo.createCommentVNode("", true),
|
|
63
|
+
Mo.createVNode(Mo.unref(index.By), Mo.mergeProps(Mo.unref(delegatedProps), {
|
|
64
|
+
class: Mo.unref(clsx.clsx)(
|
|
65
65
|
"celeste-progress-bar",
|
|
66
66
|
props.class
|
|
67
67
|
)
|
|
68
68
|
}), {
|
|
69
|
-
default:
|
|
70
|
-
|
|
69
|
+
default: Mo.withCtx(() => [
|
|
70
|
+
Mo.createVNode(Mo.unref(index.Iy), {
|
|
71
71
|
class: "celeste-progress-bar-indicator",
|
|
72
72
|
"data-color": _ctx.color
|
|
73
73
|
}, null, 8, ["data-color"])
|
|
74
74
|
]),
|
|
75
75
|
_: 1
|
|
76
76
|
}, 16, ["class"]),
|
|
77
|
-
_ctx.$slots.description && _ctx.layout === "default" ? (
|
|
78
|
-
|
|
79
|
-
])) :
|
|
77
|
+
_ctx.$slots.description && _ctx.layout === "default" ? (Mo.openBlock(), Mo.createElementBlock("div", _hoisted_5, [
|
|
78
|
+
Mo.renderSlot(_ctx.$slots, "description", {}, void 0, true)
|
|
79
|
+
])) : Mo.createCommentVNode("", true)
|
|
80
80
|
], 8, _hoisted_1);
|
|
81
81
|
};
|
|
82
82
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const Mo = 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");
|
|
@@ -13,7 +13,7 @@ const _hoisted_4 = {
|
|
|
13
13
|
class: "celeste-progress-circle-label"
|
|
14
14
|
};
|
|
15
15
|
const STROKE_WIDTH = 6.4;
|
|
16
|
-
const _sfc_main = /* @__PURE__ */
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
17
17
|
__name: "progress-circle",
|
|
18
18
|
props: {
|
|
19
19
|
modelValue: { default: 0 },
|
|
@@ -25,38 +25,38 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
25
25
|
size: { default: 80 }
|
|
26
26
|
},
|
|
27
27
|
setup(__props) {
|
|
28
|
-
|
|
28
|
+
Mo.useCssVars((_ctx) => ({
|
|
29
29
|
"433ff7ca": circleSize.value
|
|
30
30
|
}));
|
|
31
31
|
const props = __props;
|
|
32
32
|
const delegatedProps = useDelegatedProps.useDelegatedProps(props, "class");
|
|
33
|
-
const radius =
|
|
34
|
-
const circumference =
|
|
35
|
-
const progress =
|
|
33
|
+
const radius = Mo.computed(() => (props.size - STROKE_WIDTH) / 2);
|
|
34
|
+
const circumference = Mo.computed(() => 2 * Math.PI * radius.value);
|
|
35
|
+
const progress = Mo.computed(() => {
|
|
36
36
|
if (props.max === 0)
|
|
37
37
|
return 0;
|
|
38
38
|
const value = Math.min(Math.max(props.modelValue ?? 0, 0), props.max);
|
|
39
39
|
return Math.round(value / props.max * 100);
|
|
40
40
|
});
|
|
41
|
-
const offset =
|
|
41
|
+
const offset = Mo.computed(() => {
|
|
42
42
|
return circumference.value * (1 - progress.value / 100);
|
|
43
43
|
});
|
|
44
|
-
const circleSize =
|
|
44
|
+
const circleSize = Mo.computed(() => `${props.size}px`);
|
|
45
45
|
return (_ctx, _cache) => {
|
|
46
|
-
return
|
|
46
|
+
return Mo.openBlock(), Mo.createBlock(Mo.unref(index.By), Mo.mergeProps(Mo.unref(delegatedProps), {
|
|
47
47
|
value: props.modelValue,
|
|
48
|
-
class:
|
|
48
|
+
class: Mo.unref(clsx.clsx)("celeste-progress-circle", props.class),
|
|
49
49
|
as: "div"
|
|
50
50
|
}), {
|
|
51
|
-
default:
|
|
52
|
-
|
|
53
|
-
default:
|
|
54
|
-
(
|
|
51
|
+
default: Mo.withCtx(() => [
|
|
52
|
+
Mo.createVNode(Mo.unref(index.Iy), { "as-child": "" }, {
|
|
53
|
+
default: Mo.withCtx(() => [
|
|
54
|
+
(Mo.openBlock(), Mo.createElementBlock("svg", {
|
|
55
55
|
class: "celeste-progress-circle-svg",
|
|
56
56
|
width: props.size,
|
|
57
57
|
height: props.size
|
|
58
58
|
}, [
|
|
59
|
-
|
|
59
|
+
Mo.createElementVNode("circle", {
|
|
60
60
|
class: "celeste-progress-circle-track",
|
|
61
61
|
cx: props.size / 2,
|
|
62
62
|
cy: props.size / 2,
|
|
@@ -64,7 +64,7 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
64
64
|
"stroke-width": STROKE_WIDTH,
|
|
65
65
|
fill: "transparent"
|
|
66
66
|
}, null, 8, _hoisted_2),
|
|
67
|
-
|
|
67
|
+
Mo.createElementVNode("circle", {
|
|
68
68
|
class: "celeste-progress-circle-indicator",
|
|
69
69
|
cx: props.size / 2,
|
|
70
70
|
cy: props.size / 2,
|
|
@@ -78,11 +78,11 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
78
78
|
]),
|
|
79
79
|
_: 1
|
|
80
80
|
}),
|
|
81
|
-
props.size !== 48 ? (
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
props.size !== 48 ? (Mo.openBlock(), Mo.createElementBlock("div", _hoisted_4, [
|
|
82
|
+
Mo.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
83
|
+
Mo.createTextVNode(Mo.toDisplayString(progress.value) + "% ", 1)
|
|
84
84
|
], true)
|
|
85
|
-
])) :
|
|
85
|
+
])) : Mo.createCommentVNode("", true)
|
|
86
86
|
]),
|
|
87
87
|
_: 3
|
|
88
88
|
}, 16, ["value", "class"]);
|