eco-vue-js 0.10.80 → 0.10.82
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/components/Button/WButton.vue.d.ts +2 -0
- package/dist/components/Button/WButton.vue.d.ts.map +1 -1
- package/dist/components/Button/WButton.vue.js +13 -11
- package/dist/components/Button/WButtonAction.vue.d.ts +2 -0
- package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonAction.vue.js +16 -13
- package/dist/components/Button/WButtonDropdown.vue.d.ts +1 -0
- package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonDropdown.vue.js +2 -1
- package/dist/components/Button/WButtonGroup.vue.d.ts +1 -1
- package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonGroup.vue.js +7 -5
- package/dist/components/Chart/WChartLine.vue.d.ts.map +1 -1
- package/dist/components/Chart/WChartLine.vue.js +21 -18
- package/dist/components/Chart/WChartLinear.vue.d.ts +1 -0
- package/dist/components/Chart/WChartLinear.vue.d.ts.map +1 -1
- package/dist/components/Chart/WChartLinear.vue.js +8 -6
- package/dist/components/Checkbox/WCheckbox.vue.d.ts +5 -1
- package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckbox.vue.js +21 -18
- package/dist/components/Checkbox/types.d.ts +1 -0
- package/dist/components/Checkbox/types.d.ts.map +1 -1
- package/dist/components/Chip/WChip.vue.d.ts +5 -1
- package/dist/components/Chip/WChip.vue.d.ts.map +1 -1
- package/dist/components/Chip/WChip.vue.js +9 -6
- package/dist/components/DatePicker/WDatePicker.vue.d.ts +9 -1
- package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePicker.vue.js +8 -4
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts +11 -1
- package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/WDatePickerSingle.vue.js +10 -4
- package/dist/components/DragContainer/use/useDragContainer.js +2 -1
- package/dist/components/Dropdown/WDropdown.vue.js +2 -2
- package/dist/components/Dropdown/types.d.ts +1 -0
- package/dist/components/Dropdown/types.d.ts.map +1 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +2 -0
- package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/DropdownMenu/WDropdownMenu.vue.js +1 -0
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts +5 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
- package/dist/components/FieldWrapper/WFieldWrapper.vue.js +12 -10
- package/dist/components/FilePicker/WFilePicker.vue.d.ts +11 -1
- package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/WFilePicker.vue.js +20 -14
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +3 -3
- package/dist/components/FormAsync/WFormAsyncCheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncCheckboxGroup.vue.js +3 -3
- package/dist/components/FormAsync/WFormAsyncInput.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncInput.vue.js +3 -3
- package/dist/components/FormAsync/WFormAsyncSelect.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncSelect.vue.js +4 -3
- package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +4 -3
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +4 -3
- package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +4 -3
- package/dist/components/FormAsync/WFormAsyncToggle.vue.d.ts.map +1 -1
- package/dist/components/FormAsync/WFormAsyncToggle.vue.js +3 -2
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +1 -0
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.js +4 -2
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts +1 -0
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteListWrapper.vue.js +3 -2
- package/dist/components/Input/WInput.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue.js +24 -22
- package/dist/components/Input/WInputAsync.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputAsync.vue.js +11 -9
- package/dist/components/Input/WInputDate.vue.d.ts +3 -0
- package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputDate.vue.js +5 -4
- package/dist/components/Input/WInputOptions.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputOptions.vue.js +13 -10
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.js +12 -9
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.js +27 -25
- package/dist/components/List/WListCard.vue.d.ts.map +1 -1
- package/dist/components/List/WListCard.vue.js +2 -1
- package/dist/components/List/WListHeader.vue.d.ts.map +1 -1
- package/dist/components/List/WListHeader.vue.js +1 -0
- package/dist/components/MenuItem/WMenuItem.vue.js +1 -1
- package/dist/components/Nav/WNavItemTransition.vue.d.ts.map +1 -1
- package/dist/components/Progress/WProgressStriped.vue.d.ts.map +1 -1
- package/dist/components/Progress/WProgressStriped.vue.js +6 -4
- package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelect.vue.js +23 -20
- package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsync.vue.js +15 -12
- package/dist/components/Select/WSelectAsyncList.vue.d.ts +2 -0
- package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncList.vue.js +12 -6
- package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectAsyncSingle.vue.js +6 -5
- package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectSingle.vue.js +8 -7
- package/dist/components/Select/WSelectStringified.vue.d.ts.map +1 -1
- package/dist/components/Select/WSelectStringified.vue.js +8 -7
- package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
- package/dist/components/Toggle/WToggle.vue.js +16 -12
- package/dist/components/Toggle/WToggleTheme.vue.js +2 -1
- package/dist/components/Toggle/types.d.ts +1 -0
- package/dist/components/Toggle/types.d.ts.map +1 -1
- package/dist/components/Tooltip/WTooltip.vue.d.ts +2 -0
- package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/WTooltip.vue.js +4 -0
- package/dist/components/Tooltip/WTooltipContainer.vue.d.ts +1 -0
- package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/WTooltipContainer.vue.js +3 -1
- package/dist/components/Tooltip/models/tooltipMeta.d.ts +6 -0
- package/dist/components/Tooltip/models/tooltipMeta.d.ts.map +1 -1
- package/dist/main.d.ts +2 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +2 -0
- package/dist/types/global.d.ts +1 -1
- package/dist/utils/api.d.ts +1 -0
- package/dist/utils/api.d.ts.map +1 -1
- package/dist/utils/api.js +4 -1
- package/dist/utils/provide.d.ts +5 -0
- package/dist/utils/provide.d.ts.map +1 -0
- package/dist/utils/provide.js +19 -0
- package/dist/utils/useComponentStates.d.ts +19 -0
- package/dist/utils/useComponentStates.d.ts.map +1 -0
- package/dist/utils/useComponentStates.js +36 -0
- package/package.json +4 -1
@@ -15,7 +15,9 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{
|
16
16
|
onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
17
17
|
}>, {
|
18
|
+
skeleton: boolean;
|
18
19
|
type: string;
|
20
|
+
disabled: boolean;
|
19
21
|
to: import('vue-router').RouterLinkProps["to"];
|
20
22
|
tag: "a" | "button";
|
21
23
|
semanticType: SemanticType;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButton.vue"],"names":[],"mappings":"AAyEA;
|
1
|
+
{"version":3,"file":"WButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButton.vue"],"names":[],"mappings":"AAyEA;AA2HA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,SAAS,CAAA;AASxC,OAAO,EAAC,YAAY,EAAyD,MAAM,sBAAsB,CAAA;AAoDzG,iBAAS,cAAc;WAiKT,OAAO,IAA6B;;yBAXrB,GAAG;yBACF,GAAG;;;;EAehC;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;6EAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { defineComponent, createBlock, openBlock, withCtx, createElementVNode, renderSlot, resolveDynamicComponent,
|
1
|
+
import { defineComponent, createBlock, unref, openBlock, withCtx, createElementVNode, renderSlot, resolveDynamicComponent, mergeProps, withKeys, withModifiers, createVNode, createCommentVNode, normalizeClass, Transition } from 'vue';
|
2
2
|
import { RouterLink } from 'vue-router';
|
3
3
|
import _sfc_main$2 from '../Shine/WShine.vue.js';
|
4
4
|
import WSpinner from '../Spinner/WSpinner.vue.js';
|
5
5
|
import _sfc_main$1 from '../Tooltip/WTooltip.vue.js';
|
6
6
|
import { SemanticType, useSemanticTypeBorderMap, useSemanticTypeBackgroundMap } from '../../utils/SemanticType.js';
|
7
|
+
import { useComponentStatesButton } from '../../utils/useComponentStates.js';
|
7
8
|
import WSkeleton from '../Skeleton/WSkeleton.vue.js';
|
8
9
|
|
9
10
|
const _hoisted_1 = { class: "flex gap-2 px-[--w-button-rounded,1rem] font-medium opacity-0" };
|
@@ -12,7 +13,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
13
|
__name: "WButton",
|
13
14
|
props: {
|
14
15
|
semanticType: { default: SemanticType.PRIMARY },
|
15
|
-
disabled: { type: Boolean },
|
16
|
+
disabled: { type: Boolean, default: void 0 },
|
16
17
|
loading: { type: Boolean },
|
17
18
|
tag: { default: "button" },
|
18
19
|
type: { default: void 0 },
|
@@ -22,21 +23,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
22
23
|
join: { type: Boolean },
|
23
24
|
tooltipText: {},
|
24
25
|
download: {},
|
25
|
-
skeleton: { type: Boolean },
|
26
|
+
skeleton: { type: Boolean, default: void 0 },
|
26
27
|
to: { default: void 0 }
|
27
28
|
},
|
28
29
|
emits: ["click"],
|
29
30
|
setup(__props, { emit: __emit }) {
|
30
31
|
const props = __props;
|
32
|
+
const { isDisabled, isSkeleton } = useComponentStatesButton(props);
|
31
33
|
const semanticTypeBackgroundMap = useSemanticTypeBackgroundMap();
|
32
34
|
const semanticTypeBorderMap = useSemanticTypeBorderMap();
|
33
35
|
const emit = __emit;
|
34
36
|
const click = (event) => {
|
35
|
-
if (
|
37
|
+
if (isDisabled.value || props.loading) return;
|
36
38
|
emit("click", event);
|
37
39
|
};
|
38
40
|
return (_ctx, _cache) => {
|
39
|
-
return
|
41
|
+
return unref(isSkeleton) ? (openBlock(), createBlock(WSkeleton, {
|
40
42
|
key: 0,
|
41
43
|
class: "w-skeleton-rounded-[--w-button-rounded,1rem] w-skeleton-w-max -w-skeleton-h--button-height"
|
42
44
|
}, {
|
@@ -46,20 +48,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
46
48
|
])
|
47
49
|
]),
|
48
50
|
_: 3
|
49
|
-
})) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.to !== void 0 ?
|
51
|
+
})) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.to !== void 0 ? unref(isDisabled) ? "a" : unref(RouterLink) : _ctx.tag), mergeProps({ key: 1 }, {
|
50
52
|
class: _ctx.$attrs.class,
|
51
53
|
style: _ctx.$attrs.style,
|
52
|
-
...
|
54
|
+
...unref(isDisabled) ? {} : _ctx.tag === "a" ? { href: _ctx.href, target: _ctx.target } : _ctx.to !== void 0 ? { to: _ctx.to, replace: _ctx.replace } : {}
|
53
55
|
}, {
|
54
56
|
class: ["w-ripple-rounded-[calc(var(--w-button-rounded,1rem)-1px)] -min-h--button-height relative isolate flex select-none items-center justify-center whitespace-nowrap rounded-[--w-button-rounded,1rem] px-[--w-button-rounded,1rem] font-medium outline-none", {
|
55
57
|
[unref(semanticTypeBackgroundMap)[_ctx.semanticType]]: true,
|
56
58
|
[unref(semanticTypeBorderMap)[_ctx.semanticType]]: true,
|
57
|
-
"w-ripple w-ripple-hover before:text-black-default w-ripple-opacity-20 dark:w-ripple-opacity-30 cursor-pointer": !_ctx.loading && !
|
59
|
+
"w-ripple w-ripple-hover before:text-black-default w-ripple-opacity-20 dark:w-ripple-opacity-30 cursor-pointer": !_ctx.loading && !unref(isDisabled),
|
58
60
|
"cursor-progress": _ctx.loading,
|
59
|
-
"cursor-not-allowed opacity-70":
|
61
|
+
"cursor-not-allowed opacity-70": unref(isDisabled),
|
60
62
|
"first-not:rounded-l-none first-not:border-l-0 first-not:before:rounded-l-none last-not:rounded-r-none last-not:border-r-0 last-not:before:rounded-r-none": _ctx.join
|
61
63
|
}],
|
62
|
-
disabled: !_ctx.loading &&
|
64
|
+
disabled: !_ctx.loading && unref(isDisabled),
|
63
65
|
download: _ctx.download,
|
64
66
|
type: _ctx.type,
|
65
67
|
onClick: click,
|
@@ -91,7 +93,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
91
93
|
key: 0,
|
92
94
|
text: _ctx.tooltipText
|
93
95
|
}, null, 8, ["text"])) : createCommentVNode("", true),
|
94
|
-
!
|
96
|
+
!unref(isDisabled) && !_ctx.loading ? (openBlock(), createBlock(_sfc_main$2, { key: 1 })) : createCommentVNode("", true)
|
95
97
|
]),
|
96
98
|
_: 3
|
97
99
|
}, 16, ["class", "disabled", "download", "type", "onKeypress"]));
|
@@ -26,7 +26,9 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
26
26
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
27
27
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
28
28
|
}>, {
|
29
|
+
skeleton: boolean;
|
29
30
|
count: number;
|
31
|
+
disabled: boolean;
|
30
32
|
to: import('vue-router').RouterLinkProps["to"];
|
31
33
|
icon: SVGComponent;
|
32
34
|
tag: "button" | "a";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonAction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonAction.vue"],"names":[],"mappings":"AAsEA;AAAA,
|
1
|
+
{"version":3,"file":"WButtonAction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonAction.vue"],"names":[],"mappings":"AAsEA;AAAA,OA4HO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAU5C,OAAO,EAAC,YAAY,EAA+B,MAAM,sBAAsB,CAAA;AAG/E,UAAU,KAAM,SAAQ,OAAO,CAAC,SAAS,CAAC;IACxC,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,GAAG,CAAC,EAAE,QAAQ,GAAG,GAAG,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAyCD,iBAAS,cAAc;WAqJT,OAAO,IAA6B;;sBAVvB,GAAG;;;;EAe7B;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;cA3NR,OAAO;WAHV,MAAM;cAEH,OAAO;;UANX,YAAY;SAGb,QAAQ,GAAG,GAAG;kBAEL,YAAY;iBAGb,MAAM;6EAmOpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -6,6 +6,7 @@ import WSkeleton from '../Skeleton/WSkeleton.vue.js';
|
|
6
6
|
import _sfc_main$3 from '../Tooltip/WTooltip.vue.js';
|
7
7
|
import { useIsBackdrop } from '../Modal/use/useIsBackdrop.js';
|
8
8
|
import { SemanticType, useSemanticTypeBackgroundMap } from '../../utils/SemanticType.js';
|
9
|
+
import { useComponentStatesButton } from '../../utils/useComponentStates.js';
|
9
10
|
|
10
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
12
|
__name: "WButtonAction",
|
@@ -16,33 +17,35 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
17
|
tag: { default: "button" },
|
17
18
|
count: { default: void 0 },
|
18
19
|
semanticType: { default: SemanticType.SECONDARY },
|
19
|
-
disabled: { type: Boolean },
|
20
|
-
skeleton: { type: Boolean },
|
20
|
+
disabled: { type: Boolean, default: void 0 },
|
21
|
+
skeleton: { type: Boolean, default: void 0 },
|
21
22
|
tooltipText: { default: void 0 },
|
22
23
|
titleText: { type: Boolean },
|
23
24
|
to: { default: void 0 }
|
24
25
|
},
|
25
26
|
emits: ["click"],
|
26
27
|
setup(__props) {
|
28
|
+
const props = __props;
|
29
|
+
const { isDisabled, isSkeleton } = useComponentStatesButton(props);
|
27
30
|
const semanticTypeBackgroundMap = useSemanticTypeBackgroundMap();
|
28
31
|
const isBackdrop = useIsBackdrop();
|
29
32
|
return (_ctx, _cache) => {
|
30
|
-
return openBlock(), createBlock(resolveDynamicComponent(_ctx.to !== void 0 ?
|
33
|
+
return openBlock(), createBlock(resolveDynamicComponent(_ctx.to !== void 0 ? unref(isDisabled) || unref(isSkeleton) ? "a" : unref(RouterLink) : _ctx.tag), mergeProps(_ctx.to !== void 0 && !unref(isDisabled) && !unref(isSkeleton) ? { to: _ctx.to } : void 0, {
|
31
34
|
class: ["w-ripple-trigger group grid w-full grid-cols-1 py-1", {
|
32
|
-
"cursor-not-allowed opacity-50":
|
33
|
-
"cursor-progress":
|
35
|
+
"cursor-not-allowed opacity-50": unref(isDisabled),
|
36
|
+
"cursor-progress": unref(isSkeleton)
|
34
37
|
}],
|
35
|
-
disabled:
|
36
|
-
onClick: _cache[0] || (_cache[0] = ($event) => !
|
38
|
+
disabled: unref(isDisabled) || unref(isSkeleton),
|
39
|
+
onClick: _cache[0] || (_cache[0] = ($event) => !unref(isDisabled) && !unref(isSkeleton) && _ctx.$emit("click", $event))
|
37
40
|
}), {
|
38
41
|
default: withCtx(() => [
|
39
|
-
|
42
|
+
unref(isSkeleton) ? (openBlock(), createBlock(WSkeleton, {
|
40
43
|
key: 0,
|
41
44
|
class: "w-skeleton-w-auto w-skeleton-h-auto w-skeleton-rounded-full mx-1 aspect-square"
|
42
45
|
})) : (openBlock(), createElementBlock("div", {
|
43
46
|
key: 1,
|
44
47
|
class: normalizeClass(["relative mx-1 grid aspect-square select-none items-center justify-center gap-1 rounded-full bg-[200%_auto] [background-position:right]", {
|
45
|
-
"w-ripple w-ripple-hover cursor-pointer": !
|
48
|
+
"w-ripple w-ripple-hover cursor-pointer": !unref(isDisabled) && !unref(isSkeleton),
|
46
49
|
"text-primary dark:text-primary-dark": _ctx.active && _ctx.semanticType === unref(SemanticType).SECONDARY,
|
47
50
|
[unref(semanticTypeBackgroundMap)[_ctx.semanticType]]: true
|
48
51
|
}])
|
@@ -59,19 +62,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
59
62
|
_ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
|
60
63
|
key: 0,
|
61
64
|
class: normalizeClass(["square-6 w-svg-stroke-width-sm transition-transform", {
|
62
|
-
"group-hover:scale-120": !
|
65
|
+
"group-hover:scale-120": !unref(isDisabled)
|
63
66
|
}])
|
64
67
|
}, null, 8, ["class"])) : createCommentVNode("", true)
|
65
68
|
]),
|
66
|
-
!
|
69
|
+
!unref(isDisabled) && !unref(isBackdrop) ? (openBlock(), createBlock(_sfc_main$2, { key: 1 })) : createCommentVNode("", true)
|
67
70
|
], 2)),
|
68
71
|
_ctx.titleText ? (openBlock(), createElementBlock("div", {
|
69
72
|
key: 2,
|
70
73
|
class: normalizeClass(["text-3xs mt-1 text-center", {
|
71
|
-
"self-center": !
|
74
|
+
"self-center": !unref(isSkeleton)
|
72
75
|
}])
|
73
76
|
}, [
|
74
|
-
|
77
|
+
unref(isSkeleton) ? (openBlock(), createBlock(WSkeleton, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
75
78
|
createTextVNode(toDisplayString(_ctx.title), 1)
|
76
79
|
], 64))
|
77
80
|
], 2)) : createCommentVNode("", true),
|
@@ -21,6 +21,7 @@ declare function __VLS_template(): {
|
|
21
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
22
22
|
declare const __VLS_component: import('vue').DefineComponent<ButtonDropdownProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonDropdownProps> & Readonly<{}>, {
|
23
23
|
maxHeight: number;
|
24
|
+
disabled: boolean;
|
24
25
|
maxWidth: number;
|
25
26
|
horizontalAlign: HorizontalAlign;
|
26
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonDropdown.vue"],"names":[],"mappings":"AAqEA;
|
1
|
+
{"version":3,"file":"WButtonDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonDropdown.vue"],"names":[],"mappings":"AAqEA;AA2GA,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAA;AAEhD,OAAO,EAAC,KAAK,KAAK,EAAM,MAAM,KAAK,CAAA;AAQnC,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;AAiBvD,QAAA,MAAM,KAAK,YAEV,CAAA;AAeD,iBAAS,cAAc;WA4KT,OAAO,IAA6B;;iBAxLvC,MAAM,KAAK,EAAE;kBACZ,CAAC,KAAK,EAAE;YAAC,KAAK,EAAE,OAAO,KAAK,CAAA;SAAC,KAAK,KAAK,EAAE;;iBAD1C,MAAM,KAAK,EAAE;kBACZ,CAAC,KAAK,EAAE;YAAC,KAAK,EAAE,OAAO,KAAK,CAAA;SAAC,KAAK,KAAK,EAAE;;;;EA4LpD;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;6EAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -12,10 +12,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
12
|
props: {
|
13
13
|
semanticType: {},
|
14
14
|
leftToggle: { type: Boolean },
|
15
|
-
disabled: { type: Boolean },
|
15
|
+
disabled: { type: Boolean, default: void 0 },
|
16
16
|
tooltipText: {},
|
17
17
|
parentElement: {},
|
18
18
|
top: { type: Boolean },
|
19
|
+
bottom: { type: Boolean },
|
19
20
|
horizontalAlign: { default: HorizontalAlign.LEFT_INNER },
|
20
21
|
maxHeight: { default: 200 },
|
21
22
|
maxWidth: { default: 320 }
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonGroup.vue"],"names":[],"mappings":"AAgGA;
|
1
|
+
{"version":3,"file":"WButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonGroup.vue"],"names":[],"mappings":"AAgGA;AAsJA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,SAAS,CAAA;yBAW5B,KAAK,SAAS,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,EACpL,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA0PO,mBAAmB,CAAC;;yMAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBA1CgB,GAAG;0BACA,GAAG;;;;YACL,GAAG;;;;YACF,GAAG;uBACJ,GAAG;;cAxMzB,oBAAoB,SAAS,KAAK,KAAG,IAAI;EAkP3C,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AArQzE,wBAqQ4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { defineComponent, ref, computed, createBlock, openBlock, mergeProps, createSlots, withCtx, renderSlot, createElementVNode, createElementBlock, createCommentVNode, resolveDynamicComponent, Fragment, createTextVNode, toDisplayString, normalizeClass, renderList, unref } from 'vue';
|
2
2
|
import _sfc_main$1 from '../FieldWrapper/WFieldWrapper.vue.js';
|
3
3
|
import { SemanticType } from '../../utils/SemanticType.js';
|
4
|
+
import { useComponentStates } from '../../utils/useComponentStates.js';
|
4
5
|
import _sfc_main$2 from './WButton.vue.js';
|
5
6
|
|
6
7
|
const _hoisted_1 = { class: "flex gap-1" };
|
@@ -9,7 +10,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
10
|
__name: "WButtonGroup",
|
10
11
|
props: {
|
11
12
|
list: {},
|
12
|
-
valueGetter: {
|
13
|
+
valueGetter: {},
|
13
14
|
optionComponent: {},
|
14
15
|
modelValue: {},
|
15
16
|
wrap: { type: Boolean },
|
@@ -25,9 +26,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
25
26
|
maxLength: {},
|
26
27
|
mono: { type: Boolean },
|
27
28
|
hasChanges: { type: Boolean },
|
28
|
-
skeleton: { type: Boolean },
|
29
|
-
disabled: { type: Boolean },
|
30
|
-
readonly: { type: Boolean },
|
29
|
+
skeleton: { type: Boolean, default: void 0 },
|
30
|
+
disabled: { type: Boolean, default: void 0 },
|
31
|
+
readonly: { type: Boolean, default: void 0 },
|
31
32
|
required: { type: Boolean },
|
32
33
|
mandatory: { type: Boolean },
|
33
34
|
noMargin: { type: Boolean },
|
@@ -46,6 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
46
47
|
setup(__props, { emit: __emit }) {
|
47
48
|
const props = __props;
|
48
49
|
const emit = __emit;
|
50
|
+
const { isDisabled, isReadonly } = useComponentStates(props);
|
49
51
|
const loadingItem = ref(void 0);
|
50
52
|
const getValue = (item) => {
|
51
53
|
if (props.valueGetter && typeof item === "object") {
|
@@ -119,7 +121,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
119
121
|
...props,
|
120
122
|
semanticType: getValue(item) === _ctx.modelValue ? _ctx.semanticType ?? unref(SemanticType).PRIMARY : unref(SemanticType).SECONDARY,
|
121
123
|
loading: _ctx.loading && getValue(item) === loadingItem.value,
|
122
|
-
disabled:
|
124
|
+
disabled: unref(isDisabled) || unref(isReadonly) || _ctx.loading && getValue(item) !== loadingItem.value,
|
123
125
|
join: !_ctx.wrap && !_ctx.col,
|
124
126
|
tooltipText: void 0
|
125
127
|
}, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WChartLine.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/WChartLine.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WChartLine.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/WChartLine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= ["x", "y1", "y2"];
|
16
|
-
const _hoisted_13 = ["y"];
|
16
|
+
const _hoisted_13 = ["height", "y"];
|
17
17
|
const _hoisted_14 = ["fill", "mask"];
|
18
|
-
const _hoisted_15 =
|
19
|
-
key: 1,
|
20
|
-
y: "0",
|
21
|
-
x: "0",
|
22
|
-
width: "100%",
|
23
|
-
height: "100%"
|
24
|
-
};
|
18
|
+
const _hoisted_15 = ["x"];
|
25
19
|
const _hoisted_16 = { class: "text-description text-2xs flex size-full cursor-not-allowed items-center opacity-40" };
|
26
20
|
const ROUND_FACTOR = 100;
|
27
21
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -71,7 +65,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
71
65
|
});
|
72
66
|
const dataFiltered = computed(
|
73
67
|
() => props.data.filter(
|
74
|
-
(data) =>
|
68
|
+
(data, index, array) => data[props.xKey] >= props.xExtent[0] || data[props.xKey] <= props.xExtent[1] || array[index + 1][props.xKey] >= props.xExtent[0] || array[index - 1][props.xKey] <= props.xExtent[1]
|
75
69
|
)
|
76
70
|
);
|
77
71
|
const round = (value) => Math.round(value * ROUND_FACTOR) / ROUND_FACTOR;
|
@@ -82,21 +76,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
82
76
|
y: round(props.scaleY(d[props.yKey])),
|
83
77
|
yMin: round(props.scaleY(d[props.yKeyMin])),
|
84
78
|
yMax: round(props.scaleY(d[props.yKeyMax])),
|
85
|
-
d
|
79
|
+
d,
|
80
|
+
imagine: false
|
86
81
|
};
|
87
82
|
item.yMin = props.yKeyMin && typeof d[props.yKeyMin] === "number" ? round(props.scaleY(d[props.yKeyMin])) : item.y;
|
88
83
|
item.yMax = props.yKeyMax && typeof d[props.yKeyMax] === "number" ? round(props.scaleY(d[props.yKeyMax])) : item.y;
|
89
84
|
return item;
|
90
85
|
});
|
86
|
+
if (result.length === 0) return result;
|
91
87
|
const lastIndex = result.length - 1;
|
92
|
-
if (result[lastIndex]
|
93
|
-
if (result[0]
|
88
|
+
if (result[lastIndex].x !== props.left) result.push({ ...result[lastIndex], x: props.left, imagine: true });
|
89
|
+
if (result[0].x !== props.svgWidth - props.right) result.unshift({ ...result[0], x: props.svgWidth - props.right, imagine: true });
|
94
90
|
return result;
|
95
91
|
});
|
96
92
|
const tooltipData = computed(() => {
|
97
93
|
return preparedData.value.slice(
|
98
|
-
preparedData.value[0]?.
|
99
|
-
preparedData.value[preparedData.value.length - 1]?.
|
94
|
+
preparedData.value[0]?.imagine ? 1 : 0,
|
95
|
+
preparedData.value[preparedData.value.length - 1]?.imagine ? -1 : void 0
|
100
96
|
).reverse();
|
101
97
|
});
|
102
98
|
const hoveredData = computed(() => {
|
@@ -293,10 +289,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
293
289
|
y2: _ctx.svgHeight - _ctx.bottom,
|
294
290
|
stroke: "currentColor",
|
295
291
|
"stroke-width": "1",
|
296
|
-
class: "text-
|
292
|
+
class: "pointer-events-none text-gray-400 dark:text-gray-600"
|
297
293
|
}, null, 8, _hoisted_12)) : createCommentVNode("", true),
|
298
294
|
(openBlock(), createElementBlock("foreignObject", {
|
299
|
-
|
295
|
+
height: _ctx.svgHeight - _ctx.bottom - 9,
|
296
|
+
y: _ctx.top + 4.5
|
300
297
|
}, [
|
301
298
|
createVNode(_sfc_main$1, {
|
302
299
|
ref: "tooltip",
|
@@ -323,13 +320,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
323
320
|
mask: `url(#${unref(maskId)})`,
|
324
321
|
class: "pointer-events-none transition-[color]"
|
325
322
|
}, null, 8, _hoisted_14)
|
326
|
-
])) : (openBlock(), createElementBlock("foreignObject",
|
323
|
+
])) : (openBlock(), createElementBlock("foreignObject", {
|
324
|
+
key: 1,
|
325
|
+
y: "0",
|
326
|
+
x: _ctx.left,
|
327
|
+
width: "100%",
|
328
|
+
height: "100%"
|
329
|
+
}, [
|
327
330
|
createElementVNode("div", _hoisted_16, [
|
328
331
|
renderSlot(_ctx.$slots, "empty", {}, () => [
|
329
332
|
createElementVNode("div", null, toDisplayString(_ctx.emptyStub ?? "No data"), 1)
|
330
333
|
])
|
331
334
|
])
|
332
|
-
]));
|
335
|
+
], 8, _hoisted_15));
|
333
336
|
};
|
334
337
|
}
|
335
338
|
});
|
@@ -29,6 +29,7 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
29
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
30
30
|
updateSize: () => void;
|
31
31
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
32
|
+
skeleton: boolean;
|
32
33
|
bottom: number;
|
33
34
|
left: number;
|
34
35
|
right: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WChartLinear.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/WChartLinear.vue"],"names":[],"mappings":"AAoDA;
|
1
|
+
{"version":3,"file":"WChartLinear.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/WChartLinear.vue"],"names":[],"mappings":"AAoDA;AAyKA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAC,KAAK,KAAK,EAAmE,MAAM,KAAK,CAAA;AAUhG,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACzB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9D,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IACnC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AA0GJ,iBAAS,cAAc;WA+FT,OAAO,IAA6B;;iBA9GvC,CAAC,KAAK,EAAE,YAAY,KAAK,KAAK,EAAE;;iBAAhC,CAAC,KAAK,EAAE,YAAY,KAAK,KAAK,EAAE;;;;;;EAmH1C;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;cApON,OAAO;YAHT,MAAM;UACR,MAAM;WACL,MAAM;SAHR,MAAM;YAJH,MAAM;mBADC,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC;aAIpD,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM;;;kBAmPrC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import { defineComponent, ref, useTemplateRef, computed, watch, onMounted, onBeforeUnmount, createElementBlock, openBlock, normalizeClass, createBlock, createCommentVNode, renderSlot
|
1
|
+
import { defineComponent, ref, useTemplateRef, computed, watch, onMounted, onBeforeUnmount, createElementBlock, openBlock, normalizeClass, unref, createBlock, createCommentVNode, renderSlot } from 'vue';
|
2
2
|
import WSkeleton from '../Skeleton/WSkeleton.vue.js';
|
3
3
|
import DOMListenerContainer from '../../utils/DOMListenerContainer.js';
|
4
4
|
import { dateFormat } from '../../utils/dateTime.js';
|
5
|
+
import { useComponentStatesSkeleton } from '../../utils/useComponentStates.js';
|
5
6
|
import _sfc_main$1 from './components/ChartAxis.vue.js';
|
6
7
|
|
7
8
|
const _hoisted_1 = ["height", "width"];
|
@@ -18,10 +19,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
19
|
bottom: { default: 20 },
|
19
20
|
left: { default: 40 },
|
20
21
|
right: { default: 32 },
|
21
|
-
skeleton: { type: Boolean }
|
22
|
+
skeleton: { type: Boolean, default: void 0 }
|
22
23
|
},
|
23
24
|
setup(__props, { expose: __expose }) {
|
24
25
|
const props = __props;
|
26
|
+
const { isSkeleton } = useComponentStatesSkeleton(props);
|
25
27
|
const svgWidth = ref(0);
|
26
28
|
const svgHeight = ref(props.height);
|
27
29
|
const containerRef = useTemplateRef("container");
|
@@ -76,12 +78,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
76
78
|
return openBlock(), createElementBlock("div", {
|
77
79
|
ref: "container",
|
78
80
|
class: normalizeClass({
|
79
|
-
"size-full cursor-progress":
|
81
|
+
"size-full cursor-progress": unref(isSkeleton)
|
80
82
|
})
|
81
83
|
}, [
|
82
|
-
|
84
|
+
unref(isSkeleton) ? (openBlock(), createBlock(WSkeleton, {
|
83
85
|
key: 0,
|
84
|
-
class: "w-skeleton-w-full w-skeleton-h-full w-skeleton-rounded-
|
86
|
+
class: "w-skeleton-w-full w-skeleton-h-full w-skeleton-rounded-2xl"
|
85
87
|
})) : svgWidth.value !== 0 && svgHeight.value !== 0 ? (openBlock(), createElementBlock("svg", {
|
86
88
|
key: 1,
|
87
89
|
height: svgHeight.value,
|
@@ -104,7 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
104
106
|
format: _ctx.yFormat,
|
105
107
|
transform: `translate(${_ctx.left}, 0)`
|
106
108
|
}, null, 8, ["domain", "format", "transform"])) : createCommentVNode("", true),
|
107
|
-
!
|
109
|
+
!unref(isSkeleton) ? renderSlot(_ctx.$slots, "default", {
|
108
110
|
key: 2,
|
109
111
|
scaleX,
|
110
112
|
scaleY,
|
@@ -14,7 +14,11 @@ declare const __VLS_component: import('vue').DefineComponent<CheckboxProps, {},
|
|
14
14
|
"update:modelValue": (value: boolean) => any;
|
15
15
|
}, string, import('vue').PublicProps, Readonly<CheckboxProps> & Readonly<{
|
16
16
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
17
|
-
}>, {
|
17
|
+
}>, {
|
18
|
+
skeleton: boolean;
|
19
|
+
readonly: boolean;
|
20
|
+
disabled: boolean;
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
18
22
|
element: HTMLButtonElement;
|
19
23
|
}, any>;
|
20
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/WCheckbox.vue"],"names":[],"mappings":"AA4FA;
|
1
|
+
{"version":3,"file":"WCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/WCheckbox.vue"],"names":[],"mappings":"AA4FA;AAoIA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAA;AA6C1C,iBAAS,cAAc;WAmJT,OAAO,IAA6B;;yBAXpB,GAAG;;;;;;EAgBhC;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import { defineComponent, useTemplateRef, createElementBlock, openBlock, mergeProps, createElementVNode, createCommentVNode, withKeys, normalizeClass, withModifiers, createVNode, createBlock, withDirectives, Transition, withCtx, vShow, resolveDynamicComponent,
|
1
|
+
import { defineComponent, useTemplateRef, createElementBlock, openBlock, mergeProps, unref, createElementVNode, createCommentVNode, withKeys, normalizeClass, withModifiers, createVNode, createBlock, withDirectives, Transition, withCtx, vShow, resolveDynamicComponent, renderSlot, createTextVNode, toDisplayString } from 'vue';
|
2
2
|
import WSpinner from '../Spinner/WSpinner.vue.js';
|
3
3
|
import _sfc_main$1 from '../Tooltip/WTooltip.vue.js';
|
4
4
|
import IconCheck from '../../assets/icons/default/IconCheck.svg.js';
|
5
|
+
import { useComponentStates } from '../../utils/useComponentStates.js';
|
5
6
|
|
6
7
|
const _hoisted_1 = ["onKeypress"];
|
7
8
|
const _hoisted_2 = {
|
@@ -14,11 +15,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
15
|
props: {
|
15
16
|
modelValue: { type: [Boolean, null] },
|
16
17
|
title: {},
|
17
|
-
disabled: { type: Boolean },
|
18
|
-
readonly: { type: Boolean },
|
18
|
+
disabled: { type: Boolean, default: void 0 },
|
19
|
+
readonly: { type: Boolean, default: void 0 },
|
19
20
|
icon: {},
|
20
21
|
radio: { type: Boolean },
|
21
22
|
loading: { type: Boolean },
|
23
|
+
skeleton: { type: Boolean, default: void 0 },
|
22
24
|
intermediate: { type: Boolean },
|
23
25
|
tooltipText: {},
|
24
26
|
alignTop: { type: Boolean },
|
@@ -28,19 +30,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
28
30
|
emits: ["update:modelValue"],
|
29
31
|
setup(__props, { emit: __emit }) {
|
30
32
|
const props = __props;
|
33
|
+
const { isReadonly, isDisabled, isSkeleton } = useComponentStates(props);
|
31
34
|
const emit = __emit;
|
32
35
|
const elementRef = useTemplateRef("element");
|
33
36
|
const toggle = () => {
|
34
|
-
if (
|
37
|
+
if (isDisabled.value || isReadonly.value || props.loading || isSkeleton.value) return;
|
35
38
|
emit("update:modelValue", !props.modelValue);
|
36
39
|
};
|
37
40
|
return (_ctx, _cache) => {
|
38
41
|
return openBlock(), createElementBlock("button", mergeProps({ ref: "element" }, { class: _ctx.$attrs.class, style: _ctx.$attrs.style }, {
|
39
42
|
class: ["w-ripple-trigger w-hover-circle-trigger w-hover-circle-opacity-[0.08] flex select-none gap-2 outline-none", {
|
40
|
-
"cursor-progress": _ctx.loading,
|
41
|
-
"cursor-not-allowed opacity-70":
|
42
|
-
"cursor-pointer": !
|
43
|
-
"cursor-auto":
|
43
|
+
"cursor-progress": _ctx.loading || unref(isSkeleton),
|
44
|
+
"cursor-not-allowed opacity-70": unref(isDisabled) || unref(isSkeleton),
|
45
|
+
"cursor-pointer": !unref(isDisabled) && !_ctx.loading && !unref(isReadonly) && !unref(isSkeleton),
|
46
|
+
"cursor-auto": unref(isReadonly),
|
44
47
|
"pb-4 pt-1": _ctx.title && !_ctx.noMargin,
|
45
48
|
"items-start": _ctx.alignTop,
|
46
49
|
"items-center": !_ctx.alignTop
|
@@ -49,14 +52,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
49
52
|
}), [
|
50
53
|
createElementVNode("div", {
|
51
54
|
class: normalizeClass(["square-[1.5em] bg-default dark:bg-default-dark relative isolate flex items-center justify-center border border-solid [font-size:--w-checkbox-size]", {
|
52
|
-
"text-default": _ctx.modelValue && !
|
53
|
-
"text-primary dark:text-primary-dark": !_ctx.modelValue && !
|
54
|
-
"text-gray-300 dark:text-gray-700": !_ctx.modelValue &&
|
55
|
-
"w-ripple w-hover-circle before:text-accent after:text-accent": !
|
55
|
+
"text-default": _ctx.modelValue && !unref(isDisabled) && !unref(isSkeleton),
|
56
|
+
"text-primary dark:text-primary-dark": !_ctx.modelValue && !unref(isDisabled) && !unref(isSkeleton),
|
57
|
+
"text-gray-300 dark:text-gray-700": !_ctx.modelValue && unref(isDisabled) && !unref(isSkeleton),
|
58
|
+
"w-ripple w-hover-circle before:text-accent after:text-accent": !unref(isDisabled) && !unref(isReadonly) && !unref(isSkeleton),
|
56
59
|
"rounded-full": _ctx.radio,
|
57
60
|
"rounded-md": !_ctx.radio,
|
58
|
-
"border-gray-300 dark:border-gray-700":
|
59
|
-
"border-primary dark:border-primary-dark [.w-hover-checked:hover_&]:text-default": !
|
61
|
+
"border-gray-300 dark:border-gray-700": unref(isDisabled) || unref(isSkeleton),
|
62
|
+
"border-primary dark:border-primary-dark [.w-hover-checked:hover_&]:text-default": !unref(isDisabled) && !unref(isSkeleton)
|
60
63
|
}]),
|
61
64
|
onKeypress: withKeys(withModifiers(toggle, ["stop", "prevent"]), ["enter"])
|
62
65
|
}, [
|
@@ -74,8 +77,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
74
77
|
"scale-[0.66] rounded": !_ctx.radio && _ctx.intermediate && _ctx.modelValue === null,
|
75
78
|
"scale-[0.66] rounded-full": _ctx.radio && !(_ctx.intermediate && _ctx.modelValue === null),
|
76
79
|
"rounded": !_ctx.radio && !(_ctx.intermediate && _ctx.modelValue === null),
|
77
|
-
"bg-primary dark:bg-primary-dark [.w-hover-checked:hover_&]:[display:block!important]": !
|
78
|
-
"bg-gray-300 dark:bg-gray-700":
|
80
|
+
"bg-primary dark:bg-primary-dark [.w-hover-checked:hover_&]:[display:block!important]": !unref(isDisabled) && !unref(isSkeleton),
|
81
|
+
"bg-gray-300 dark:bg-gray-700": unref(isDisabled) || unref(isSkeleton),
|
79
82
|
"transition-[opacity,transform]": !_ctx.lessTransitions
|
80
83
|
}])
|
81
84
|
}, null, 2), [
|
@@ -93,12 +96,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
93
96
|
})) : !_ctx.radio ? withDirectives((openBlock(), createBlock(unref(IconCheck), {
|
94
97
|
key: 2,
|
95
98
|
class: normalizeClass(["square-[1em]", {
|
96
|
-
"[.w-hover-checked:hover_&]:[display:block!important]": !
|
99
|
+
"[.w-hover-checked:hover_&]:[display:block!important]": !unref(isDisabled) && !unref(isSkeleton)
|
97
100
|
}])
|
98
101
|
}, null, 8, ["class"])), [
|
99
102
|
[vShow, _ctx.modelValue]
|
100
103
|
]) : createCommentVNode("", true),
|
101
|
-
_ctx.tooltipText && !
|
104
|
+
_ctx.tooltipText && !unref(isDisabled) && !unref(isSkeleton) ? (openBlock(), createBlock(_sfc_main$1, {
|
102
105
|
key: 3,
|
103
106
|
text: _ctx.tooltipText,
|
104
107
|
trigger: unref(elementRef),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAA;AAElC;;GAEG;AAEH,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,OAAO,GAAG,IAAI,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,MAAM,MAAM,wBAAwB,CAAC,MAAM,IAAI;IAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAC,CAAA;AAE/F,MAAM,MAAM,4BAA4B,CAAC,MAAM,IAAI,SAAS,CAAC,wBAAwB,CAAC,MAAM,CAAC,C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