eco-vue-js 0.11.31 → 0.11.33
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/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
- package/dist/components/ActionsBar/WActionsBar.vue.js +8 -5
- package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonMore.vue.js +4 -1
- package/dist/components/Button/WButtonSelectionState.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelectionState.vue.js +1 -0
- package/dist/components/Button/WButtonUnselect.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonUnselect.vue.js +5 -1
- package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
- package/dist/components/Checkbox/WCheckbox.vue.js +10 -5
- package/dist/components/Dismissable/WDismissable.vue.d.ts.map +1 -1
- package/dist/components/Dismissable/WDismissable.vue.js +1 -0
- package/dist/components/FieldWrapper/components/FilterButton.vue.d.ts.map +1 -1
- package/dist/components/FieldWrapper/components/FilterButton.vue.js +4 -1
- package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts.map +1 -1
- package/dist/components/FilePicker/components/FilePickerItem.vue.js +1 -0
- package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
- package/dist/components/HeaderBar/WHeaderBar.vue.js +1 -0
- package/dist/components/ImageViewer/WImageViewer.vue.d.ts.map +1 -1
- package/dist/components/ImageViewer/WImageViewer.vue.js +1 -0
- package/dist/components/ImageViewer/components/ImageModal.vue.d.ts.map +1 -1
- package/dist/components/ImageViewer/components/ImageModal.vue2.js +1 -0
- package/dist/components/Input/WInput.vue.d.ts +4 -2
- package/dist/components/Input/WInput.vue.d.ts.map +1 -1
- package/dist/components/Input/WInput.vue.js +5 -12
- package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputSuggest.vue.js +16 -7
- package/dist/components/Input/WInputToolbarButton.vue.d.ts.map +1 -1
- package/dist/components/Input/WInputToolbarButton.vue.js +8 -4
- package/dist/components/Input/components/InputActions.vue.d.ts +4 -3
- package/dist/components/Input/components/InputActions.vue.d.ts.map +1 -1
- package/dist/components/Input/components/InputActions.vue.js +7 -12
- package/dist/components/Input/components/InputActionsButton.vue.d.ts +10 -1
- package/dist/components/Input/components/InputActionsButton.vue.d.ts.map +1 -1
- package/dist/components/Input/components/InputActionsButton.vue.js +18 -11
- package/dist/components/Input/components/InputToolbarButton.vue.d.ts +1 -0
- package/dist/components/Input/components/InputToolbarButton.vue.d.ts.map +1 -1
- package/dist/components/Input/components/InputToolbarButton.vue.js +6 -3
- package/dist/components/Input/models/toolbarActions.d.ts.map +1 -1
- package/dist/components/Input/models/toolbarActions.js +4 -2
- package/dist/components/Input/types.d.ts +2 -0
- package/dist/components/Input/types.d.ts.map +1 -1
- package/dist/components/List/components/HeaderItemResizer.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderItemResizer.vue.js +1 -0
- package/dist/components/List/components/HeaderSettings.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSettings.vue.js +6 -3
- package/dist/components/List/components/HeaderSettingsList.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSettingsList.vue.js +7 -2
- package/dist/components/List/components/HeaderSettingsModeButton.vue.d.ts +1 -0
- package/dist/components/List/components/HeaderSettingsModeButton.vue.d.ts.map +1 -1
- package/dist/components/List/components/HeaderSettingsModeButton.vue.js +5 -1
- package/dist/components/List/use/useListConfig.d.ts +1 -0
- package/dist/components/List/use/useListConfig.d.ts.map +1 -1
- package/dist/components/List/use/useListConfig.js +5 -1
- package/dist/components/Modal/components/ModalCloseButton.vue.js +1 -1
- package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
- package/dist/components/Tabs/WTabs.vue.js +1 -0
- package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
- package/dist/components/Toggle/WToggle.vue.js +5 -1
- package/eslint/configs/configAstro.js +23 -0
- package/eslint/configs/configImports.js +10 -5
- package/eslint/configs/configTailwind.js +2 -2
- package/eslint/configs/configTypescript.js +2 -2
- package/eslint/recommended.js +6 -3
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WActionsBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionsBar/WActionsBar.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WActionsBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionsBar/WActionsBar.vue"],"names":[],"mappings":"AAgFA;AAuIA,OAAO,EAAC,KAAK,SAAS,EAAE,KAAK,KAAK,EAAsD,MAAM,KAAK,CAAA;AAYnG,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAC;AAuCF,iBAAS,cAAc;WAmHT,OAAO,IAA6B;;cA1H1C,MAAM,KAAK,EAAE;iBACV,MAAM,KAAK,EAAE;iBACb,MAAM,KAAK,EAAE;;cAFhB,MAAM,KAAK,EAAE;iBACV,MAAM,KAAK,EAAE;iBACb,MAAM,KAAK,EAAE;;;;EA6HvB;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -9,8 +9,9 @@ import { useActionBarFilter } from './use/useActionsBarFilter.js';
|
|
9
9
|
const _hoisted_1 = { class: "no-scrollbar relative col-start-1 row-span-2 grid grid-cols-[--actions-bar-filter-width] justify-self-end overflow-y-auto overflow-x-hidden overscroll-contain" };
|
10
10
|
const _hoisted_2 = { class: "pb-16" };
|
11
11
|
const _hoisted_3 = { class: "relative row-span-2 grid h-full grid-cols-1 grid-rows-subgrid overflow-x-hidden overscroll-contain" };
|
12
|
-
const _hoisted_4 =
|
13
|
-
const _hoisted_5 = {
|
12
|
+
const _hoisted_4 = ["aria-expanded"];
|
13
|
+
const _hoisted_5 = { class: "row-start-2 grid grid-rows-[1fr,auto]" };
|
14
|
+
const _hoisted_6 = {
|
14
15
|
key: 0,
|
15
16
|
class: "mx-1 my-2 h-0.5 rounded bg-gray-200 md:my-4 dark:bg-gray-700"
|
16
17
|
};
|
@@ -58,16 +59,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
59
|
hasFilter.value ? (openBlock(), createElementBlock("button", {
|
59
60
|
key: 0,
|
60
61
|
class: "w-ripple w-ripple-hover relative row-start-1 flex cursor-pointer select-none items-center justify-center",
|
62
|
+
"aria-expanded": isOpen.value,
|
63
|
+
"aria-label": "Toggle filters",
|
61
64
|
onClick: toggle
|
62
65
|
}, [
|
63
66
|
createVNode(unref(IconBack), {
|
64
67
|
class: normalizeClass(["text-description square-4 transition-transform", { "[transform:rotateY(180deg)]": isOpen.value }])
|
65
68
|
}, null, 8, ["class"])
|
66
|
-
])) : createCommentVNode("", true),
|
67
|
-
createElementVNode("div",
|
69
|
+
], 8, _hoisted_4)) : createCommentVNode("", true),
|
70
|
+
createElementVNode("div", _hoisted_5, [
|
68
71
|
createElementVNode("div", null, [
|
69
72
|
renderSlot(_ctx.$slots, "top"),
|
70
|
-
_ctx.$slots.top && (hasFilter.value || _ctx.bottom || _ctx.$slots.bottom) ? (openBlock(), createElementBlock("div",
|
73
|
+
_ctx.$slots.top && (hasFilter.value || _ctx.bottom || _ctx.$slots.bottom) ? (openBlock(), createElementBlock("div", _hoisted_6)) : createCommentVNode("", true),
|
71
74
|
hasFilter.value ? (openBlock(), createBlock(_sfc_main$1, {
|
72
75
|
key: 1,
|
73
76
|
title: _ctx.textFilter ?? "Filters",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonMore.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonMore.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonMore.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonMore.vue"],"names":[],"mappings":"AA0DA;AA2GA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAA;AAWpD,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;CACxC,CAAC;AAuCF,iBAAS,cAAc;WA+GT,OAAO,IAA6B;;yBAXpB,GAAG;;;;EAgBhC;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;gGASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -4,7 +4,7 @@ import _sfc_main$1 from '../DropdownMenu/WDropdownMenu.vue.js';
|
|
4
4
|
import IconMore from '../../assets/icons/IconMore.svg.js';
|
5
5
|
import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
|
6
6
|
|
7
|
-
const _hoisted_1 = ["disabled"];
|
7
|
+
const _hoisted_1 = ["disabled", "aria-expanded", "aria-disabled"];
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
9
|
__name: "WButtonMore",
|
10
10
|
props: {
|
@@ -40,6 +40,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
40
40
|
"w-hover-circle-trigger cursor-pointer": !_ctx.disabled,
|
41
41
|
"cursor-not-allowed opacity-50": _ctx.disabled
|
42
42
|
}, "flex justify-center outline-none"],
|
43
|
+
"aria-expanded": isOpen.value,
|
44
|
+
"aria-disabled": _ctx.disabled,
|
45
|
+
"aria-label": "More options",
|
43
46
|
onClick: toggle
|
44
47
|
}), [
|
45
48
|
createVNode(_sfc_main$1, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonSelectionState.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonSelectionState.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonSelectionState.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonSelectionState.vue"],"names":[],"mappings":"AAeA;AAiCA,iBAAS,cAAc;WA2CT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;4FAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -14,6 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
14
|
]),
|
15
15
|
createElementVNode("button", {
|
16
16
|
class: "text-description w-ripple w-ripple-hover relative flex cursor-pointer select-none items-center justify-self-end",
|
17
|
+
"aria-label": "Remove selection",
|
17
18
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
18
19
|
}, [
|
19
20
|
createVNode(unref(IconCancel), { class: "square-[1.25em] mx-[--w-list-padding,1rem]" })
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonUnselect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonUnselect.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonUnselect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonUnselect.vue"],"names":[],"mappings":"AAiBA;AAkCA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;;;;;;;AAuEF,wBAQG"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, createVNode, unref } from 'vue';
|
2
2
|
import IconCancel from '../../assets/icons/IconCancel.svg.js';
|
3
3
|
|
4
|
+
const _hoisted_1 = ["disabled", "aria-disabled"];
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
6
|
__name: "WButtonUnselect",
|
6
7
|
props: {
|
@@ -16,11 +17,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
17
|
"cursor-progress": _ctx.loading,
|
17
18
|
"w-ripple w-ripple-hover cursor-pointer ": !_ctx.loading && !_ctx.disabled
|
18
19
|
}]),
|
20
|
+
disabled: _ctx.disabled,
|
21
|
+
"aria-disabled": _ctx.disabled || _ctx.loading,
|
22
|
+
"aria-label": "Clear selection",
|
19
23
|
onClick: _cache[0] || (_cache[0] = ($event) => !_ctx.loading && !_ctx.disabled && _ctx.$emit("click", $event)),
|
20
24
|
onMousedown: _cache[1] || (_cache[1] = ($event) => !_ctx.loading && !_ctx.disabled && _ctx.$emit("mousedown", $event))
|
21
25
|
}, [
|
22
26
|
createVNode(unref(IconCancel), { class: "square-[0.75em]" })
|
23
|
-
],
|
27
|
+
], 42, _hoisted_1);
|
24
28
|
};
|
25
29
|
}
|
26
30
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/WCheckbox.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/WCheckbox.vue"],"names":[],"mappings":"AAgGA;AAwIA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAA;AA6C1C,iBAAS,cAAc;WAuJT,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"}
|
@@ -4,8 +4,9 @@ import _sfc_main$1 from '../Tooltip/WTooltip.vue.js';
|
|
4
4
|
import IconCheck from '../../assets/icons/IconCheck.svg.js';
|
5
5
|
import { useComponentStates } from '../../utils/useComponentStates.js';
|
6
6
|
|
7
|
-
const _hoisted_1 = ["
|
8
|
-
const _hoisted_2 =
|
7
|
+
const _hoisted_1 = ["role", "aria-checked", "aria-disabled", "aria-readonly"];
|
8
|
+
const _hoisted_2 = ["onKeypress"];
|
9
|
+
const _hoisted_3 = {
|
9
10
|
key: 0,
|
10
11
|
class: "text-accent flex items-center gap-1"
|
11
12
|
};
|
@@ -48,6 +49,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
48
49
|
"items-start": _ctx.alignTop,
|
49
50
|
"items-center": !_ctx.alignTop
|
50
51
|
}],
|
52
|
+
role: _ctx.radio ? "radio" : "checkbox",
|
53
|
+
"aria-checked": _ctx.modelValue === null ? "mixed" : _ctx.modelValue,
|
54
|
+
"aria-disabled": unref(isDisabled) || unref(isSkeleton),
|
55
|
+
"aria-readonly": unref(isReadonly),
|
51
56
|
onClick: toggle
|
52
57
|
}), [
|
53
58
|
createElementVNode("div", {
|
@@ -108,13 +113,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
108
113
|
"no-touch": "",
|
109
114
|
class: "pointer-events-none"
|
110
115
|
}, null, 8, ["text", "trigger"])) : createCommentVNode("", true)
|
111
|
-
], 42,
|
112
|
-
_ctx.$slots.default || _ctx.title ? (openBlock(), createElementBlock("div",
|
116
|
+
], 42, _hoisted_2),
|
117
|
+
_ctx.$slots.default || _ctx.title ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
113
118
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
114
119
|
createTextVNode(toDisplayString(_ctx.title), 1)
|
115
120
|
])
|
116
121
|
])) : createCommentVNode("", true)
|
117
|
-
], 16);
|
122
|
+
], 16, _hoisted_1);
|
118
123
|
};
|
119
124
|
}
|
120
125
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WDismissable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Dismissable/WDismissable.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WDismissable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Dismissable/WDismissable.vue"],"names":[],"mappings":"AA+BA;AA8FA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,OAAO,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAC;AAwDF,iBAAS,cAAc;WAuET,OAAO,IAA6B;;;;YAZrB,GAAG;;;;;;;EAiB/B;AAWD,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;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -62,6 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
62
62
|
_ctx.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
63
63
|
createElementVNode("button", {
|
64
64
|
class: "square-full snap-start",
|
65
|
+
"aria-label": "Close",
|
65
66
|
onClick: hide
|
66
67
|
}),
|
67
68
|
createElementVNode("div", {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FilterButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/FieldWrapper/components/FilterButton.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"FilterButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/FieldWrapper/components/FilterButton.vue"],"names":[],"mappings":"AAoBA;AAiCA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,iBAAiB,EAAE,gBAAgB,CAAC,OAAO,CAAC,GAAG,SAAS,CAAA;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;;AAmEF,wBAMG"}
|
@@ -5,6 +5,7 @@ const _hoisted_1 = {
|
|
5
5
|
key: 0,
|
6
6
|
class: "square-[1.5em]"
|
7
7
|
};
|
8
|
+
const _hoisted_2 = ["aria-pressed"];
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
10
|
__name: "FilterButton",
|
10
11
|
props: {
|
@@ -20,10 +21,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
21
|
"text-description": _ctx.$route.query[_ctx.filterField] !== _ctx.encodedQueryParam,
|
21
22
|
"bg-primary dark:bg-primary-dark text-default": _ctx.$route.query[_ctx.filterField] === _ctx.encodedQueryParam
|
22
23
|
}]),
|
24
|
+
"aria-pressed": _ctx.$route.query[_ctx.filterField] === _ctx.encodedQueryParam,
|
25
|
+
"aria-label": "Toggle filter",
|
23
26
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$router.replace({ query: { ..._ctx.$route.query, [_ctx.filterField]: _ctx.$route.query[_ctx.filterField] === _ctx.encodedQueryParam ? void 0 : _ctx.encodedQueryParam } }))
|
24
27
|
}, [
|
25
28
|
createVNode(unref(IconFilter), { class: "square-[1.25em]" })
|
26
|
-
],
|
29
|
+
], 10, _hoisted_2));
|
27
30
|
};
|
28
31
|
}
|
29
32
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FilePickerItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/FilePicker/components/FilePickerItem.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"FilePickerItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/FilePicker/components/FilePickerItem.vue"],"names":[],"mappings":"AA+BA;AAoDA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAUF,iBAAS,cAAc;WAwET,OAAO,IAA6B;;0BAXpB,GAAG;0BACH,GAAG;;;;EAehC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -24,6 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
24
24
|
]),
|
25
25
|
createElementVNode("button", {
|
26
26
|
class: "w-ripple square-5 hover:bg-black-default absolute right-0 top-0 flex items-center justify-center rounded-full outline-none hover:bg-opacity-5",
|
27
|
+
"aria-label": "Remove file",
|
27
28
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.$emit("click:cancel"), ["stop", "prevent"]))
|
28
29
|
}, [
|
29
30
|
createVNode(unref(IconCancel), { class: "square-3 text-description" })
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WHeaderBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/HeaderBar/WHeaderBar.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WHeaderBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/HeaderBar/WHeaderBar.vue"],"names":[],"mappings":"AAqDA;AAgHA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAqCF,iBAAS,cAAc;WAsFT,OAAO,IAA6B;;uBAXvB,GAAG;;;;;;EAgB7B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kBASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -63,6 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
63
63
|
unref(search) ? (openBlock(), createElementBlock("button", {
|
64
64
|
key: 0,
|
65
65
|
class: "w-ripple-trigger sm:-pr--inner-margin h-full select-none",
|
66
|
+
"aria-label": "Open search",
|
66
67
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(updateVisible)(true))
|
67
68
|
}, [
|
68
69
|
createElementVNode("div", _hoisted_2, [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WImageViewer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageViewer/WImageViewer.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WImageViewer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageViewer/WImageViewer.vue"],"names":[],"mappings":"AA8CA;AAuFA,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;;AAuGF,wBAOG"}
|
@@ -41,6 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
41
41
|
key: 1,
|
42
42
|
class: "w-ripple w-ripple-hover text-black-default w-ripple-opacity-20 dark:w-ripple-opacity-30 group/image-button relative isolate h-28 w-40 cursor-pointer overflow-hidden rounded-lg border border-solid border-gray-100 bg-cover bg-center outline-none dark:border-gray-800",
|
43
43
|
style: normalizeStyle({ backgroundImage: `url(${_ctx.modelValue})` }),
|
44
|
+
"aria-label": "View image",
|
44
45
|
onClick: openModal
|
45
46
|
}, [
|
46
47
|
createElementVNode("div", _hoisted_2, [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ImageModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageViewer/components/ImageModal.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ImageModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageViewer/components/ImageModal.vue"],"names":[],"mappings":"AAsBA;AA4CA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB,CAAC;;;;;;AA8EF,wBAQG"}
|
@@ -20,6 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
20
|
createElementVNode("div", _hoisted_2, [
|
21
21
|
createElementVNode("button", {
|
22
22
|
class: "w-ripple w-ripple-hover absolute -top-14 right-3 rounded-full p-3 outline-none sm:-right-14",
|
23
|
+
"aria-label": "Close image viewer",
|
23
24
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close:modal"))
|
24
25
|
}, [
|
25
26
|
createVNode(unref(IconCancel), { class: "text-description" })
|
@@ -31,7 +31,10 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: NonNullab
|
|
31
31
|
wrapSelection: (value: WrapSelection) => void;
|
32
32
|
}): any;
|
33
33
|
after?(_: {}): any;
|
34
|
-
suffix?(_: {
|
34
|
+
suffix?(_: {
|
35
|
+
loading: boolean | undefined;
|
36
|
+
disabled: boolean | undefined;
|
37
|
+
}): any;
|
35
38
|
inner?(_: {}): any;
|
36
39
|
right?(_: {}): any;
|
37
40
|
bottom?(_: {}): any;
|
@@ -48,7 +51,6 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: NonNullab
|
|
48
51
|
(e: "blur", value: FocusEvent): void;
|
49
52
|
(e: "click", value: MouseEvent): void;
|
50
53
|
(e: "mousedown", value: MouseEvent): void;
|
51
|
-
(e: "click:suffix", value: MouseEvent): void;
|
52
54
|
(e: "select:input", value: Event): void;
|
53
55
|
(e: "paste"): void;
|
54
56
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInput.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInput.vue"],"names":[],"mappings":"AA2PA;AA2iBA,OAAO,KAAK,EAAC,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AAatD,OAAO,EAAC,KAAK,WAAW,EAAC,MAAM,gBAAgB,CAAA;yBAE9B,IAAI,SAAS,SAAS,GAAG,MAAM,EAC/C,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;WAqyBO,mBAAmB,CAAC,oCAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;qBA3mB7B,IAAI;oBAOL,IAAI;+BAkCS,aAAa;0BA1KlB,MAAM,QAAQ,MAAM,KAAG,IAAI;wBAN/B,WAAW;;;oBAyBf,IAAI;oBAgBJ,IAAI;MAysBgD,GAAG,IAAI;WACpE,GAAG;;uBAhEgB,GAAG;0BACA,GAAG;wBACJ,GAAG;;;YAGH,GAAG;;;YAFH,GAAG;;;YAGH,GAAG;;mCAzgBF,aAAa;YAugBb,GAAG;uBAGL,GAAG;;;;YACF,GAAG;uBACJ,GAAG;uBACH,GAAG;wBACF,GAAG;;;YAxtB1B,oBAAoB,SAAS,4CAAa,SAAS,GAAG,IAAI;YAC1D,gBAAgB,SAAS,aAAa,GAAG,IAAI;YAC7C,aAAa,SAAS,aAAa,GAAG,IAAI;YAC1C,eAAe,SAAS,aAAa,GAAG,IAAI;YAC5C,iBAAiB,SAAS,aAAa,GAAG,IAAI;YAC9C,oBAAoB,SAAS,aAAa,GAAG,IAAI;YACjD,aAAa,GAAG,IAAI;YACpB,OAAO,SAAS,UAAU,GAAG,SAAS,GAAG,IAAI;YAC7C,MAAM,SAAS,UAAU,GAAG,IAAI;YAChC,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,WAAW,SAAS,UAAU,GAAG,IAAI;YACrC,cAAc,SAAS,KAAK,GAAG,IAAI;YACnC,OAAO,GAAG,IAAI;;EAqwBhB,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAhzBzE,wBAgzB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -64,7 +64,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
64
64
|
savedText: {},
|
65
65
|
topText: { type: Boolean }
|
66
66
|
},
|
67
|
-
emits: ["update:model-value", "keypress:enter", "keypress:up", "keypress:down", "keypress:delete", "keypress:backspace", "click:clear", "focus", "blur", "click", "mousedown", "
|
67
|
+
emits: ["update:model-value", "keypress:enter", "keypress:up", "keypress:down", "keypress:delete", "keypress:backspace", "click:clear", "focus", "blur", "click", "mousedown", "select:input", "paste"],
|
68
68
|
setup(__props, { expose: __expose, emit: __emit }) {
|
69
69
|
const ContentEditable = defineAsyncComponent(() => import('./components/ContentEditable.vue.js'));
|
70
70
|
const InputToolbar = defineAsyncComponent(() => import('./components/InputToolbar.vue.js'));
|
@@ -266,10 +266,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
266
266
|
class: [_ctx.$attrs.class, {
|
267
267
|
"group/seamless": _ctx.seamless
|
268
268
|
}],
|
269
|
-
onClick: _cache[9] || (_cache[9] = ($event) =>
|
270
|
-
_ctx.$emit("click:suffix", $event);
|
271
|
-
_ctx.seamless && focus();
|
272
|
-
})
|
269
|
+
onClick: _cache[9] || (_cache[9] = ($event) => _ctx.seamless && focus())
|
273
270
|
}), createSlots({ _: 2 }, [
|
274
271
|
_ctx.$slots.title ? {
|
275
272
|
name: "title",
|
@@ -452,10 +449,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
452
449
|
"allow-copy": _ctx.allowCopy,
|
453
450
|
focused,
|
454
451
|
"onClick:clear": clearValue,
|
455
|
-
"onClick:slot": ($event) => {
|
456
|
-
focused ? blur() : focus();
|
457
|
-
_ctx.$emit("click:suffix", $event);
|
458
|
-
},
|
459
452
|
"onShow:secure": _cache[7] || (_cache[7] = ($event) => {
|
460
453
|
isSecureVisible.value = true;
|
461
454
|
_ctx.$emit("click", $event);
|
@@ -465,12 +458,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
465
458
|
}, createSlots({ _: 2 }, [
|
466
459
|
_ctx.$slots.suffix ? {
|
467
460
|
name: "default",
|
468
|
-
fn: withCtx(() => [
|
469
|
-
renderSlot(_ctx.$slots, "suffix")
|
461
|
+
fn: withCtx((scope) => [
|
462
|
+
renderSlot(_ctx.$slots, "suffix", normalizeProps(guardReactiveProps(scope)))
|
470
463
|
]),
|
471
464
|
key: "0"
|
472
465
|
} : void 0
|
473
|
-
]), 1032, ["model-value", "loading", "allow-clear", "disabled", "readonly", "text-secure", "is-secure-visible", "allow-paste", "allow-copy", "focused"
|
466
|
+
]), 1032, ["model-value", "loading", "allow-clear", "disabled", "readonly", "text-secure", "is-secure-visible", "allow-paste", "allow-copy", "focused"])) : createCommentVNode("", true),
|
474
467
|
renderSlot(_ctx.$slots, "inner")
|
475
468
|
], 2)
|
476
469
|
]),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputSuggest.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputSuggest.vue"],"names":[],"mappings":"AAkIA;AA+OA,OAAO,KAAK,EAAC,iBAAiB,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AAE7D,OAAO,EAAC,KAAK,KAAK,EAAgC,MAAM,KAAK,CAAA;yBAgB5C,IAAI,SAAS,SAAS,GAAG,MAAM,EAC/C,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;WAubO,mBAAmB,CAAC,2CAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;;;;;+BAzXjB,aAAa;+BACb,MAAM,aAAa,MAAM;;MAwXc,GAAG,IAAI;WACpE,GAAG;;gBA9VD,MAAM,IAAI;iBACT,MAAM,IAAI;mBACR,MAAM,IAAI;kBACX,MAAM,IAAI;iBACX,CAAC,KAAK,EAAE;YAAC,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;SAAC,KAAK,IAAI;gBAChD,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;kBACpC,MAAM,KAAK,EAAE;;gBANf,MAAM,IAAI;iBACT,MAAM,IAAI;mBACR,MAAM,IAAI;kBACX,MAAM,IAAI;iBACX,CAAC,KAAK,EAAE;YAAC,WAAW,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;SAAC,KAAK,IAAI;gBAChD,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;kBACpC,MAAM,KAAK,EAAE;;;YA9EnB,oBAAoB,mDAAsB,IAAI;YAC9C,gBAAgB,SAAS,aAAa,GAAG,IAAI;YAC7C,aAAa,SAAS,aAAa,GAAG,IAAI;YAC1C,eAAe,SAAS,aAAa,GAAG,IAAI;YAC5C,iBAAiB,SAAS,aAAa,GAAG,IAAI;YAC9C,MAAM,GAAG,IAAI;YACb,OAAO,GAAG,IAAI;YACd,aAAa,GAAG,IAAI;YACpB,OAAO,SAAS,UAAU,GAAG,SAAS,GAAG,IAAI;YAC7C,MAAM,SAAS,UAAU,GAAG,IAAI;;EAialC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAlczE,wBAkc4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,12 +1,13 @@
|
|
1
1
|
import { defineComponent, ref, useTemplateRef, computed, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, createSlots, withCtx, createVNode, createCommentVNode, normalizeClass, renderSlot, normalizeProps, guardReactiveProps, createElementBlock, Fragment, createElementVNode } from 'vue';
|
2
2
|
import _sfc_main$1 from '../BottomSheet/WBottomSheet.vue.js';
|
3
3
|
import _sfc_main$2 from '../DropdownMenu/WDropdownMenu.vue.js';
|
4
|
-
import _sfc_main$
|
4
|
+
import _sfc_main$5 from '../InfiniteList/WInfiniteListScrollingElement.vue.js';
|
5
5
|
import _sfc_main$3 from './WInput.vue.js';
|
6
6
|
import IconArrow from '../../assets/icons/IconArrow.svg.js';
|
7
7
|
import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
|
8
8
|
import { useIsMobile } from '../../utils/mobile.js';
|
9
9
|
import { useComponentStates } from '../../utils/useComponentStates.js';
|
10
|
+
import _sfc_main$4 from './components/InputActionsButton.vue.js';
|
10
11
|
import InputSuggestStatic from './components/InputSuggestStatic.vue.js';
|
11
12
|
|
12
13
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -152,7 +153,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
152
153
|
!toggleScope?.unclickable && _ctx.$emit("blur", $event);
|
153
154
|
},
|
154
155
|
onClick: ($event) => unref(isMobile) && toggleScope?.unclickable && open(),
|
155
|
-
"onClick:suffix": ($event) => unref(isMobile) && toggleScope?.unclickable && open(),
|
156
156
|
"onClick:clear": _cache[5] || (_cache[5] = ($event) => {
|
157
157
|
_ctx.$emit("click:clear");
|
158
158
|
_ctx.closeOnClear && close();
|
@@ -164,10 +164,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
164
164
|
})
|
165
165
|
]),
|
166
166
|
suffix: withCtx(() => [
|
167
|
-
!unref(isDisabled) ? (openBlock(), createBlock(
|
167
|
+
!unref(isDisabled) ? (openBlock(), createBlock(_sfc_main$4, {
|
168
168
|
key: 0,
|
169
|
-
|
170
|
-
|
169
|
+
label: "Show suggest",
|
170
|
+
expanded: isOpen.value,
|
171
|
+
onClick: ($event) => isOpen.value ? toggleScope.unclickable === false ? close() : blur() : focus()
|
172
|
+
}, {
|
173
|
+
default: withCtx(() => [
|
174
|
+
createVNode(unref(IconArrow), {
|
175
|
+
class: normalizeClass(["square-3 text-description transition-transform", { "rotate-180": isOpen.value }])
|
176
|
+
}, null, 8, ["class"])
|
177
|
+
]),
|
178
|
+
_: 2
|
179
|
+
}, 1032, ["expanded", "onClick"])) : createCommentVNode("", true)
|
171
180
|
]),
|
172
181
|
_: 2
|
173
182
|
}, [
|
@@ -210,14 +219,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
210
219
|
]),
|
211
220
|
key: "4"
|
212
221
|
} : void 0
|
213
|
-
]), 1040, ["class", "onFocus", "onBlur", "onClick"
|
222
|
+
]), 1040, ["class", "onFocus", "onBlur", "onClick"])
|
214
223
|
]),
|
215
224
|
_: 2
|
216
225
|
}, [
|
217
226
|
!_ctx.static ? {
|
218
227
|
name: "content",
|
219
228
|
fn: withCtx((contentScope) => [
|
220
|
-
createVNode(_sfc_main$
|
229
|
+
createVNode(_sfc_main$5, {
|
221
230
|
parent: unref(isMobile),
|
222
231
|
class: normalizeClass(["bg-default dark:bg-default-dark w-full", {
|
223
232
|
"pb-[50vh]": unref(isMobile),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInputToolbarButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputToolbarButton.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInputToolbarButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputToolbarButton.vue"],"names":[],"mappings":"AAsDA;AAkGA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAA;;;;;;AAiN1C,wBAOG"}
|
@@ -10,7 +10,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
icon: {},
|
11
11
|
value: {},
|
12
12
|
tooltip: {},
|
13
|
-
disabled: { type: Boolean }
|
13
|
+
disabled: { type: Boolean },
|
14
|
+
label: {}
|
14
15
|
},
|
15
16
|
emits: ["click"],
|
16
17
|
setup(__props) {
|
@@ -47,9 +48,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
47
48
|
tooltip: _ctx.tooltip,
|
48
49
|
disabled: _ctx.disabled,
|
49
50
|
active: isOpen.value,
|
51
|
+
label: _ctx.label,
|
50
52
|
onMouseenter: enter,
|
51
53
|
onMouseleave: leave
|
52
|
-
}, null, 8, ["title", "icon", "tooltip", "disabled", "active"])
|
54
|
+
}, null, 8, ["title", "icon", "tooltip", "disabled", "active", "label"])
|
53
55
|
]),
|
54
56
|
content: withCtx(() => [
|
55
57
|
createElementVNode("div", {
|
@@ -66,8 +68,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
66
68
|
title: item.title,
|
67
69
|
disabled: _ctx.disabled,
|
68
70
|
tooltip: void 0,
|
71
|
+
label: item.label,
|
69
72
|
onClick: ($event) => _ctx.$emit("click", index)
|
70
|
-
}, null, 8, ["icon", "title", "disabled", "onClick"]);
|
73
|
+
}, null, 8, ["icon", "title", "disabled", "label", "onClick"]);
|
71
74
|
}), 128))
|
72
75
|
], 32)
|
73
76
|
]),
|
@@ -78,8 +81,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
78
81
|
icon: _ctx.icon,
|
79
82
|
tooltip: _ctx.tooltip,
|
80
83
|
disabled: _ctx.disabled,
|
84
|
+
label: _ctx.label,
|
81
85
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("click", void 0))
|
82
|
-
}, null, 8, ["title", "icon", "tooltip", "disabled"]));
|
86
|
+
}, null, 8, ["title", "icon", "tooltip", "disabled", "label"]));
|
83
87
|
};
|
84
88
|
}
|
85
89
|
});
|
@@ -13,7 +13,10 @@ type __VLS_Props = {
|
|
13
13
|
declare function __VLS_template(): {
|
14
14
|
attrs: Partial<{}>;
|
15
15
|
slots: {
|
16
|
-
default?(_: {
|
16
|
+
default?(_: {
|
17
|
+
loading: boolean | undefined;
|
18
|
+
disabled: boolean | undefined;
|
19
|
+
}): any;
|
17
20
|
};
|
18
21
|
refs: {};
|
19
22
|
rootEl: any;
|
@@ -24,13 +27,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
24
27
|
"show:secure": (value: MouseEvent) => any;
|
25
28
|
"hide:secure": (value: MouseEvent) => any;
|
26
29
|
"click:clear": () => any;
|
27
|
-
"click:slot": (value: MouseEvent) => any;
|
28
30
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
29
31
|
"onClick:paste"?: (() => any) | undefined;
|
30
32
|
"onShow:secure"?: ((value: MouseEvent) => any) | undefined;
|
31
33
|
"onHide:secure"?: ((value: MouseEvent) => any) | undefined;
|
32
34
|
"onClick:clear"?: (() => any) | undefined;
|
33
|
-
"onClick:slot"?: ((value: MouseEvent) => any) | undefined;
|
34
35
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
35
36
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
36
37
|
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InputActions.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/InputActions.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InputActions.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/InputActions.vue"],"names":[],"mappings":"AAoDA;AAuGA,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AAeF,iBAAS,cAAc;WAoJT,OAAO,IAA6B;;;;;YAVpB,GAAG;;;;EAehC;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;kFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, toRef, createElementBlock, createCommentVNode, openBlock, createBlock, markRaw, unref, createVNode
|
1
|
+
import { defineComponent, toRef, createElementBlock, createCommentVNode, openBlock, createBlock, renderSlot, markRaw, unref, createVNode } from 'vue';
|
2
2
|
import WSpinner from '../../Spinner/WSpinner.vue.js';
|
3
3
|
import IconClose from '../../../assets/icons/IconClose.svg.js';
|
4
4
|
import IconEye from '../../../assets/icons/IconEye.svg.js';
|
@@ -29,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
29
29
|
isSecureVisible: { type: Boolean },
|
30
30
|
focused: { type: Boolean }
|
31
31
|
},
|
32
|
-
emits: ["click:paste", "show:secure", "hide:secure", "click:clear"
|
32
|
+
emits: ["click:paste", "show:secure", "hide:secure", "click:clear"],
|
33
33
|
setup(__props) {
|
34
34
|
const props = __props;
|
35
35
|
const { doCopy, iconCopy } = useCopy(toRef(props, "modelValue"));
|
@@ -66,16 +66,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
66
66
|
}, null, 8, ["icon", "tooltip-text", "disabled"])) : createCommentVNode("", true),
|
67
67
|
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
68
68
|
createVNode(WSpinner, { class: "w-spinner-size-[1.125em]" })
|
69
|
-
])) :
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
}
|
74
|
-
default: withCtx(() => [
|
75
|
-
renderSlot(_ctx.$slots, "default")
|
76
|
-
]),
|
77
|
-
_: 3
|
78
|
-
}, 8, ["disabled"])) : createCommentVNode("", true)
|
69
|
+
])) : createCommentVNode("", true),
|
70
|
+
renderSlot(_ctx.$slots, "default", {
|
71
|
+
loading: _ctx.loading,
|
72
|
+
disabled: _ctx.disabled
|
73
|
+
})
|
79
74
|
])) : createCommentVNode("", true);
|
80
75
|
};
|
81
76
|
}
|
@@ -3,6 +3,9 @@ type __VLS_Props = {
|
|
3
3
|
disabled?: boolean;
|
4
4
|
icon?: SVGComponent;
|
5
5
|
top?: boolean;
|
6
|
+
label?: string;
|
7
|
+
pressed?: boolean;
|
8
|
+
expanded?: boolean;
|
6
9
|
};
|
7
10
|
declare function __VLS_template(): {
|
8
11
|
attrs: Partial<{}>;
|
@@ -17,7 +20,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
17
20
|
click: (value: MouseEvent) => any;
|
18
21
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
19
22
|
onClick?: ((value: MouseEvent) => any) | undefined;
|
20
|
-
}>, {
|
23
|
+
}>, {
|
24
|
+
label: string;
|
25
|
+
icon: SVGComponent;
|
26
|
+
tooltipText: string;
|
27
|
+
pressed: boolean;
|
28
|
+
expanded: boolean;
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
21
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
22
31
|
export default _default;
|
23
32
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InputActionsButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/InputActionsButton.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InputActionsButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/InputActionsButton.vue"],"names":[],"mappings":"AA+BA;AA6DA,KAAK,WAAW,GAAG;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AA0BJ,iBAAS,cAAc;WA4DT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;WA1GT,MAAM;UAFP,YAAY;iBAFL,MAAM;aAKV,OAAO;cACN,OAAO;2FAiHpB,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"}
|