eco-vue-js 0.10.9 → 0.10.11
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/WButtonDropdown.vue.d.ts +7 -2
- package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonSelection.vue.js +13 -20
- package/dist/components/Button/WButtonSelectionState.vue.d.ts +22 -0
- package/dist/components/Button/WButtonSelectionState.vue.d.ts.map +1 -0
- package/dist/components/Button/WButtonSelectionState.vue.js +26 -0
- package/dist/components/Button/WButtonSelectionState.vue2.js +5 -0
- package/dist/components/Button/WButtonUnselect.vue.d.ts +11 -0
- package/dist/components/Button/WButtonUnselect.vue.d.ts.map +1 -0
- package/dist/components/Button/WButtonUnselect.vue.js +27 -0
- package/dist/components/Button/WButtonUnselect.vue2.js +5 -0
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +0 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.js +1 -3
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +0 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +0 -1
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts +0 -1
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.js +7 -25
- package/dist/components/List/WList.vue.d.ts +1 -0
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.js +9 -5
- package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefix.vue.js +6 -10
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +11 -20
- package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts.map +1 -1
- package/dist/components/Select/components/SelectOptionPrefix.vue.js +13 -22
- package/dist/imports/componentsPlugin.d.ts +3 -1
- package/dist/imports/componentsPlugin.d.ts.map +1 -1
- package/dist/imports/iconsSax.d.ts +2 -0
- package/dist/imports/iconsSax.d.ts.map +1 -1
- package/dist/imports/iconsSax.js +2 -0
- package/dist/main.js +2 -0
- package/dist/utils/useSelected.d.ts.map +1 -1
- package/dist/utils/useSelected.js +5 -2
- package/package.json +7 -1
@@ -1,14 +1,19 @@
|
|
1
1
|
import { ButtonDropdownProps } from './types';
|
2
2
|
import { VNode } from 'vue';
|
3
3
|
import { HorizontalAlign } from '../../utils/HorizontalAlign';
|
4
|
+
declare const close: () => void;
|
4
5
|
declare function __VLS_template(): {
|
5
6
|
attrs: Partial<{}>;
|
6
7
|
slots: Readonly<{
|
7
8
|
button?: () => VNode[];
|
8
|
-
content?: (
|
9
|
+
content?: (props: {
|
10
|
+
close: typeof close;
|
11
|
+
}) => VNode[];
|
9
12
|
}> & {
|
10
13
|
button?: () => VNode[];
|
11
|
-
content?: (
|
14
|
+
content?: (props: {
|
15
|
+
close: typeof close;
|
16
|
+
}) => VNode[];
|
12
17
|
};
|
13
18
|
refs: {};
|
14
19
|
rootEl: HTMLDivElement;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonDropdown.vue"],"names":[],"mappings":"AA+DA;AAmGA,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAA;AAEhD,OAAO,EAAC,KAAK,KAAK,EAAM,MAAM,KAAK,CAAA;AAOnC,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;
|
1
|
+
{"version":3,"file":"WButtonDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonDropdown.vue"],"names":[],"mappings":"AA+DA;AAmGA,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAA;AAEhD,OAAO,EAAC,KAAK,KAAK,EAAM,MAAM,KAAK,CAAA;AAOnC,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;AAgBvD,QAAA,MAAM,KAAK,YAEV,CAAA;AAcD,iBAAS,cAAc;WAiKT,OAAO,IAA6B;;iBA5KvC,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;;;;EAgLpD;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;wFAQnB,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 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonSelection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonSelection.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WButtonSelection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonSelection.vue"],"names":[],"mappings":"AAwDA;AAoGA,OAAO,EAAC,KAAK,KAAK,EAAyB,MAAM,KAAK,CAAA;AActD,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAC;AAgCJ,iBAAS,cAAc;WAgJT,OAAO,IAA6B;;kBA5JtC,CAAC,KAAK,EAAE;YAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAC,KAAK,KAAK,EAAE;eAC7E,CAAC,KAAK,EAAE;YAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAC,KAAK,KAAK,EAAE;mBACtE,MAAM,KAAK,EAAE;;kBAFd,CAAC,KAAK,EAAE;YAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAC,KAAK,KAAK,EAAE;eAC7E,CAAC,KAAK,EAAE;YAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAC,KAAK,KAAK,EAAE;mBACtE,MAAM,KAAK,EAAE;;;;EA+JzB;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;WA7MT,MAAM;oBACG,MAAM;mBACP,MAAM;wFAoNxB,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,21 +1,16 @@
|
|
1
|
-
import { defineComponent, ref, computed, createElementBlock, openBlock, createElementVNode,
|
1
|
+
import { defineComponent, ref, computed, createElementBlock, openBlock, createElementVNode, createBlock, renderSlot, createCommentVNode, normalizeProps, guardReactiveProps, unref, withCtx, createVNode, markRaw, toDisplayString } from 'vue';
|
2
2
|
import _sfc_main$1 from '../DropdownMenu/WDropdownMenu.vue.js';
|
3
|
-
import IconCancel from '../../assets/icons/default/IconCancel.svg.js';
|
4
3
|
import IconMore from '../../assets/icons/default/IconMore.svg.js';
|
5
4
|
import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
|
6
5
|
import { numberFormatter } from '../../utils/utils.js';
|
7
6
|
import _sfc_main$3 from './WButtonSelectionAction.vue.js';
|
7
|
+
import _sfc_main$4 from './WButtonSelectionState.vue.js';
|
8
8
|
import _sfc_main$2 from '../ClickOutside/WClickOutside.vue.js';
|
9
9
|
|
10
10
|
const _hoisted_1 = { class: "sm:left-inner sm:w-inner grid h-12 w-full grid-cols-[1fr,auto] pb-3 sm:sticky" };
|
11
11
|
const _hoisted_2 = { class: "flex" };
|
12
|
-
const _hoisted_3 = {
|
13
|
-
|
14
|
-
class: "sm-not:gap-1 grid grid-cols-[1fr,auto] gap-3"
|
15
|
-
};
|
16
|
-
const _hoisted_4 = { class: "sm-not:text-xs text-description self-center truncate whitespace-nowrap text-base font-normal" };
|
17
|
-
const _hoisted_5 = { class: "text-primary-default dark:text-primary-dark font-semibold" };
|
18
|
-
const _hoisted_6 = { class: "sm-not:text-xs" };
|
12
|
+
const _hoisted_3 = { class: "text-primary-default dark:text-primary-dark font-semibold" };
|
13
|
+
const _hoisted_4 = { class: "sm-not:text-xs" };
|
19
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
20
15
|
__name: "WButtonSelection",
|
21
16
|
props: {
|
@@ -67,19 +62,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
67
62
|
_: 3
|
68
63
|
}, 8, ["is-open", "horizontal-align"])) : createCommentVNode("", true)
|
69
64
|
]),
|
70
|
-
_ctx.selectedCount ? (openBlock(),
|
71
|
-
|
65
|
+
_ctx.selectedCount ? (openBlock(), createBlock(_sfc_main$4, {
|
66
|
+
key: 0,
|
67
|
+
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("clear:selection"))
|
68
|
+
}, {
|
69
|
+
default: withCtx(() => [
|
72
70
|
_cache[3] || (_cache[3] = createElementVNode("span", { class: "sm-not:hidden" }, "Selected ", -1)),
|
73
|
-
createElementVNode("span",
|
74
|
-
createElementVNode("span",
|
71
|
+
createElementVNode("span", _hoisted_3, toDisplayString(unref(numberFormatter).format(_ctx.selectedCount)), 1),
|
72
|
+
createElementVNode("span", _hoisted_4, " " + toDisplayString(_ctx.title) + toDisplayString(_ctx.selectedCount === 1 ? "" : "s"), 1)
|
75
73
|
]),
|
76
|
-
|
77
|
-
|
78
|
-
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("clear:selection"))
|
79
|
-
}, [
|
80
|
-
createVNode(unref(IconCancel), { class: "square-5 sm-not:-mx--inner-margin mx-[1.125rem]" })
|
81
|
-
])
|
82
|
-
])) : renderSlot(_ctx.$slots, "settings", { key: 1 })
|
74
|
+
_: 1
|
75
|
+
})) : renderSlot(_ctx.$slots, "settings", { key: 1 })
|
83
76
|
]);
|
84
77
|
};
|
85
78
|
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
attrs: Partial<{}>;
|
3
|
+
slots: {
|
4
|
+
default?(_: {}): any;
|
5
|
+
};
|
6
|
+
refs: {};
|
7
|
+
rootEl: HTMLDivElement;
|
8
|
+
};
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
11
|
+
click: (value: MouseEvent) => any;
|
12
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
13
|
+
onClick?: ((value: MouseEvent) => any) | undefined;
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
16
|
+
export default _default;
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
18
|
+
new (): {
|
19
|
+
$slots: S;
|
20
|
+
};
|
21
|
+
};
|
22
|
+
//# sourceMappingURL=WButtonSelectionState.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WButtonSelectionState.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonSelectionState.vue"],"names":[],"mappings":"AAcA;AAgCA,iBAAS,cAAc;WA0CT,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"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, createElementVNode, renderSlot, createVNode, unref } from 'vue';
|
2
|
+
import IconCancel from '../../assets/icons/default/IconCancel.svg.js';
|
3
|
+
|
4
|
+
const _hoisted_1 = { class: "sm-not:gap-1 grid grid-cols-[1fr,auto] gap-3" };
|
5
|
+
const _hoisted_2 = { class: "sm-not:text-xs text-description self-center truncate whitespace-nowrap text-base font-normal" };
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
7
|
+
__name: "WButtonSelectionState",
|
8
|
+
emits: ["click"],
|
9
|
+
setup(__props) {
|
10
|
+
return (_ctx, _cache) => {
|
11
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
12
|
+
createElementVNode("div", _hoisted_2, [
|
13
|
+
renderSlot(_ctx.$slots, "default")
|
14
|
+
]),
|
15
|
+
createElementVNode("button", {
|
16
|
+
class: "text-description w-ripple w-ripple-hover relative flex cursor-pointer select-none items-center justify-self-end",
|
17
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
18
|
+
}, [
|
19
|
+
createVNode(unref(IconCancel), { class: "square-5 sm-not:-mx--inner-margin mx-[1.125rem]" })
|
20
|
+
])
|
21
|
+
]);
|
22
|
+
};
|
23
|
+
}
|
24
|
+
});
|
25
|
+
|
26
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,11 @@
|
|
1
|
+
type __VLS_Props = {
|
2
|
+
disabled?: boolean;
|
3
|
+
loading?: boolean;
|
4
|
+
};
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
6
|
+
click: (value: MouseEvent) => any;
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
8
|
+
onClick?: ((value: MouseEvent) => any) | undefined;
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
10
|
+
export default _default;
|
11
|
+
//# sourceMappingURL=WButtonUnselect.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WButtonUnselect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonUnselect.vue"],"names":[],"mappings":"AAaA;AA6BA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;;;;;AAgEF,wBAQG"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, createVNode, unref } from 'vue';
|
2
|
+
import IconCancel from '../../assets/icons/default/IconCancel.svg.js';
|
3
|
+
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
|
+
__name: "WButtonUnselect",
|
6
|
+
props: {
|
7
|
+
disabled: { type: Boolean },
|
8
|
+
loading: { type: Boolean }
|
9
|
+
},
|
10
|
+
emits: ["click"],
|
11
|
+
setup(__props) {
|
12
|
+
return (_ctx, _cache) => {
|
13
|
+
return openBlock(), createElementBlock("button", {
|
14
|
+
class: normalizeClass(["square-5 relative flex items-center justify-center rounded-full outline-none", {
|
15
|
+
"cursor-not-allowed": _ctx.disabled,
|
16
|
+
"cursor-progress": _ctx.loading,
|
17
|
+
"w-ripple w-ripple-hover cursor-pointer ": !_ctx.loading && !_ctx.disabled
|
18
|
+
}]),
|
19
|
+
onClick: _cache[0] || (_cache[0] = ($event) => !_ctx.loading && !_ctx.disabled && _ctx.$emit("click", $event))
|
20
|
+
}, [
|
21
|
+
createVNode(unref(IconCancel), { class: "square-3" })
|
22
|
+
], 2);
|
23
|
+
};
|
24
|
+
}
|
25
|
+
});
|
26
|
+
|
27
|
+
export { _sfc_main as default };
|
@@ -12,7 +12,6 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
12
12
|
queryParams: QueryParams;
|
13
13
|
skeletonLength?: number;
|
14
14
|
hidePageTitle?: boolean;
|
15
|
-
wrap?: boolean;
|
16
15
|
transition?: boolean;
|
17
16
|
scrollingElement?: Element | null;
|
18
17
|
headerTopIgnore?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInfiniteList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfiniteList/WInfiniteList.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInfiniteList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfiniteList/WInfiniteList.vue"],"names":[],"mappings":"AAiEA;AA+JA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;yBAWxB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,eACvE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,O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AM,UAgCzB;YACjB,kBAAkB,EAAE,MAAM,IAAI,CAAA;SAC/B,KAAK,IAAI;;kBAlBA,CAAC,KAAK,EAAE;YAChB,IAAI,EAAE,IAAI,CAAA;YACV,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAA;YAC5C,QAAQ,EAAE,OAAO,CAAA;YACjB,OAAO,EAAE,MAAM,IAAI,CAAA;YACnB,QAAQ,CAAC,EAAE,IAAI,CAAA;YACf,IAAI,CAAC,EAAE,IAAI,CAAA;YACX,KAAK,EAAE,OAAO,CAAA;YACd,IAAI,EAAE,OAAO,CAAA;YACb,SAAS,EAAE,OAAO,CAAA;YAClB,IAAI,EAAE,MAAM,CAAA;YACZ,KAAK,EAAE,MAAM,CAAA;YACb,QAAQ,EAAE,MAAM,CAAA;YAChB,KAAK,EAAE,KAAK,CAAA;SACb,KAAK,IAAI;iBACD,CAAC,KAAK,EAAE;YACf,IAAI,SAhCY,MAAM,cAAc,MAAM,UAgCzB;YACjB,kBAAkB,EAAE,MAAM,IAAI,CAAA;SAC/B,KAAK,IAAI;;;YA1CN,aAAa,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC/C,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,cAAc,SAAS,QAAQ,GAAG,IAAI;;;;;YAuOA,OAAO,CAAC,OAAO,WAAW,CAAC;;AAvRvE,wBAuR4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -11,7 +11,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
queryParams: {},
|
12
12
|
skeletonLength: { default: void 0 },
|
13
13
|
hidePageTitle: { type: Boolean },
|
14
|
-
wrap: { type: Boolean },
|
15
14
|
transition: { type: Boolean },
|
16
15
|
scrollingElement: { default: void 0 },
|
17
16
|
headerTopIgnore: { type: Boolean },
|
@@ -55,7 +54,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
55
54
|
"scrolling-element": _ctx.scrollingElement,
|
56
55
|
"skeleton-length": _ctx.skeletonLength,
|
57
56
|
"hide-page-title": _ctx.hidePageTitle,
|
58
|
-
wrap: _ctx.wrap,
|
59
57
|
transition: _ctx.transition,
|
60
58
|
"page-length": _ctx.pageLength,
|
61
59
|
"header-top": _ctx.headerTopIgnore ? 0 : "headerTop" in defaultScope ? defaultScope.headerTop : 0,
|
@@ -93,7 +91,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
93
91
|
})
|
94
92
|
]),
|
95
93
|
_: 2
|
96
|
-
}, 1032, ["query-params", "use-query-fn", "scrolling-element", "skeleton-length", "hide-page-title", "
|
94
|
+
}, 1032, ["query-params", "use-query-fn", "scrolling-element", "skeleton-length", "hide-page-title", "transition", "page-length", "header-top", "header-height", "min-height", "last-child", "exclude-params", "empty-stub", "page-class", "max-pages", "refetch-interval", "query-options", "class", "style", "value-getter"])
|
97
95
|
]),
|
98
96
|
_: 3
|
99
97
|
}, 8, ["scrolling-element", "init-is-intersecting"]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InfiniteListPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPage.vue"],"names":[],"mappings":"AA+FA;
|
1
|
+
{"version":3,"file":"InfiniteListPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPage.vue"],"names":[],"mappings":"AA+FA;AAiVA,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;yBAInB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,eACvE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAA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A;YACnB,QAAQ,CAAC,EAAE,IAAI,CAAA;YACf,IAAI,CAAC,EAAE,IAAI,CAAA;YACX,KAAK,EAAE,OAAO,CAAA;YACd,IAAI,EAAE,OAAO,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;YACZ,KAAK,EAAE,MAAM,CAAA;SACd,KAAK,IAAI;;;YArMN,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,oBAAoB,SAAS,MAAM,GAAG,IAAI;YAC1C,kBAAkB,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI;YAC/C,sBAAsB,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI;YACnD,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,aAAa,SAAS,MAAM,GAAG,IAAI;YACnC,SAAS,GAAG,IAAI;YAChB,2BAA2B,GAAG,IAAI;YAClC,iBAAiB,UAAU,KAAK,EAAE,GAAG,IAAI;YACzC,SAAS,GAAG,IAAI;YAChB,cAAc,SAAS,QAAQ,GAAG,IAAI;;;;;YAwXA,OAAO,CAAC,OAAO,WAAW,CAAC;;AAzavE,wBAya4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -18,7 +18,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
18
|
firstPage: { type: Boolean },
|
19
19
|
lastPage: { type: Boolean },
|
20
20
|
hidePageTitle: { type: Boolean },
|
21
|
-
wrap: { type: Boolean },
|
22
21
|
transition: { type: Boolean },
|
23
22
|
resetting: { type: Boolean },
|
24
23
|
emptyStub: { default: "Nothing to show" },
|
@@ -12,7 +12,6 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
12
12
|
queryParams: QueryParams;
|
13
13
|
skeletonLength?: number;
|
14
14
|
hidePageTitle?: boolean;
|
15
|
-
wrap?: boolean;
|
16
15
|
transition?: boolean;
|
17
16
|
pageLength?: number;
|
18
17
|
scrollingElement?: Element | null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InfiniteListPages.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPages.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InfiniteListPages.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPages.vue"],"names":[],"mappings":"AA4EA;AA0RA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;yBAYxB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,eACvE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAqe1D,mBAAmB,CAAC;;;;;;;;oBAleZ,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;yBACP,MAAM;wBACP,OAAO;qBACV,OAAO;qBACP,MAAM;2BACA,OAAO,GAAG,IAAI;oBACrB,MAAM;uBACH,MAAM;oBACT,OAAO;oBACP,OAAO;wBACH,CAAC,MAAM,WAAW,CAAC,EAAE;oBACzB,MAAM;oBACN,MAAM;mBACP,MAAM;0BACC,MAAM,GAAG,KAAK;uBACjB,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;qBAEhD,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK;mBAgdwD,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;0CApWL,MAAM;MAoWqB,GAAG,IAAI;WACpE,GAAG;;kBAjTC,CAAC,KAAK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-3,7 +3,6 @@ import { isEqualObj } from '../../../utils/utils.js';
|
|
3
3
|
import _sfc_main$2 from './InfiniteListButton.vue.js';
|
4
4
|
import _sfc_main$3 from './InfiniteListPage.vue.js';
|
5
5
|
import _sfc_main$1 from './InfiniteListScroll.vue.js';
|
6
|
-
import { getIsScrollDown } from '../models/utils.js';
|
7
6
|
import { useRefetchNextPages } from '../use/useRefetchNextPages.js';
|
8
7
|
|
9
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -13,7 +12,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
12
|
queryParams: {},
|
14
13
|
skeletonLength: { default: void 0 },
|
15
14
|
hidePageTitle: { type: Boolean },
|
16
|
-
wrap: { type: Boolean },
|
17
15
|
transition: { type: Boolean },
|
18
16
|
pageLength: { default: 24 },
|
19
17
|
scrollingElement: { default: null },
|
@@ -37,8 +35,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
37
35
|
const pages = ref([props.queryParams.page ?? 1]);
|
38
36
|
const pagesCount = ref(1);
|
39
37
|
const count = ref(0);
|
40
|
-
const nextPage =
|
41
|
-
const previousPage =
|
38
|
+
const nextPage = computed(() => pages.value[pages.value.length - 1] !== pagesCount.value ? pages.value[pages.value.length - 1] + 1 : null);
|
39
|
+
const previousPage = computed(() => pages.value[0] !== 1 ? pages.value[0] - 1 : null);
|
42
40
|
const isResettingPage = ref(false);
|
43
41
|
const getSkeletonLength = (pagesBefore) => {
|
44
42
|
if (props.skeletonLength === void 0) return props.pageLength;
|
@@ -58,23 +56,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
56
|
const updatePagesCount = (value) => {
|
59
57
|
pagesCount.value = value;
|
60
58
|
};
|
61
|
-
const updateNextPage = (value) => {
|
62
|
-
nextPage.value = value;
|
63
|
-
if (pages.value.length === 1 && getIsScrollDown(props.scrollingElement)) addNextPage(true);
|
64
|
-
};
|
65
|
-
const updatePreviousPage = (value) => {
|
66
|
-
previousPage.value = value;
|
67
|
-
if (pages.value.length === 1) addPreviousPage(true);
|
68
|
-
};
|
69
59
|
const addNextPage = (silent) => {
|
70
60
|
if (!nextPage.value) return;
|
71
61
|
if (pages.value.includes(nextPage.value)) return;
|
72
62
|
pages.value.push(nextPage.value);
|
73
63
|
if (!silent) emit("update:page", nextPage.value);
|
74
64
|
if (pages.value.length < props.maxPages) return;
|
75
|
-
|
76
|
-
if (firstPage === void 0) return;
|
77
|
-
previousPage.value = firstPage;
|
65
|
+
pages.value.shift();
|
78
66
|
};
|
79
67
|
const addPreviousPage = (silent) => {
|
80
68
|
if (!previousPage.value) return;
|
@@ -82,9 +70,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
82
70
|
pages.value.unshift(previousPage.value);
|
83
71
|
if (!silent) emit("update:page", previousPage.value);
|
84
72
|
if (pages.value.length < props.maxPages) return;
|
85
|
-
|
86
|
-
if (lastPage === void 0) return;
|
87
|
-
nextPage.value = lastPage;
|
73
|
+
pages.value.pop();
|
88
74
|
};
|
89
75
|
const updateScroll = (height) => {
|
90
76
|
const element = props.scrollingElement ?? document.scrollingElement;
|
@@ -97,7 +83,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
97
83
|
const newPages = pages.value.slice(0, index);
|
98
84
|
pages.value = newPages;
|
99
85
|
if (pagesCount.value >= page) pagesCount.value = page - 1;
|
100
|
-
if (nextPage.value === page) nextPage.value = null;
|
101
86
|
emit("update:page", pages.value[pages.value.length - 1]);
|
102
87
|
};
|
103
88
|
const goto = async (page = 1, itemIndex) => {
|
@@ -117,8 +102,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
117
102
|
if (element && element.scrollTop > value) element.scrollTop = value;
|
118
103
|
await nextTick();
|
119
104
|
pages.value = [page];
|
120
|
-
nextPage.value = null;
|
121
|
-
previousPage.value = null;
|
122
105
|
};
|
123
106
|
watch(toRef(props, "queryParams"), (newValue, oldValue) => {
|
124
107
|
if (isEqualObj(newValue, oldValue, ["page", ...props.excludeParams ?? []])) return;
|
@@ -164,7 +147,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
164
147
|
"first-page": index === 0,
|
165
148
|
"last-page": index === pages.value.length - 1,
|
166
149
|
"hide-page-title": _ctx.hidePageTitle,
|
167
|
-
wrap: _ctx.wrap,
|
168
150
|
transition: _ctx.transition,
|
169
151
|
resetting: isResettingPage.value,
|
170
152
|
"empty-stub": _ctx.emptyStub,
|
@@ -180,8 +162,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
180
162
|
_ctx.$emit("update:count", $event);
|
181
163
|
}),
|
182
164
|
"onUpdate:pagesCount": updatePagesCount,
|
183
|
-
"onUpdate:nextPage": _cache[3] || (_cache[3] = ($event) =>
|
184
|
-
"onUpdate:previousPage": _cache[4] || (_cache[4] = ($event) =>
|
165
|
+
"onUpdate:nextPage": _cache[3] || (_cache[3] = ($event) => unref(infiniteScrollRef)?.checkIsScrollDown()),
|
166
|
+
"onUpdate:previousPage": _cache[4] || (_cache[4] = ($event) => unref(infiniteScrollRef)?.checkIsScrollUp()),
|
185
167
|
"onUpdate:scroll": updateScroll,
|
186
168
|
"onUpdateFromHeader:scroll": _cache[5] || (_cache[5] = ($event) => _ctx.headerTop > 0 && nextTick(() => updateScroll(_ctx.headerTop))),
|
187
169
|
"onRemove:page": removePage,
|
@@ -206,7 +188,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
206
188
|
})
|
207
189
|
]),
|
208
190
|
_: 2
|
209
|
-
}, 1032, ["query-params", "use-query-fn", "skeleton-length", "first-page", "last-page", "hide-page-title", "
|
191
|
+
}, 1032, ["query-params", "use-query-fn", "skeleton-length", "first-page", "last-page", "hide-page-title", "transition", "resetting", "empty-stub", "min-height", "last-child", "page-class", "refetch-interval", "scrolling-element", "query-options", "value-getter", "onRefetch"]);
|
210
192
|
}), 128)),
|
211
193
|
count.value !== 0 && nextPage.value ? (openBlock(), createBlock(_sfc_main$2, {
|
212
194
|
key: 1,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WList.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WList.vue"],"names":[],"mappings":"AAmPA;AAmYA,OAAO,KAAK,EAAC,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AACzH,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;AAWzC,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAA;yBAWrB,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC,EAAE,WAAW,SAAS,SAAS,OAAO,EAAE,eAC9H,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA2tB1D,mBAAmB,CAAC;;;;;;gBAxtBlB,MAAM;gBACN,MAAM;oBACF,cAAc,CAAC,IAAI,CAAC;oBACpB,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;uBACT,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;6BACxC,MAAM;wBACX,MAAM;eACf,aAAa,CAAC,WAAW,CAAC,EAAE;mBACxB,aAAa,CAAC,WAAW,CAAC,EAAE;eAChC,aAAa,CAAC,IAAI,CAAC,EAAE;yBACX,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO;oBAC5B,MAAM;2BACC,MAAM;6BACJ,CAAC,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM;oBACvD,OAAO;mBACR,MAAM;0BACC,cAAc,CAAC,MAAM,CAAC;sBAC1B,QAAQ;mBACX,OAAO;sBACJ,OAAO;mBACV,OAAO;qBACL,OAAO;yBACH,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,GAAG,SAAS;kBACzC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,KAAK,OAAO;qBAC1B,WAAW;mBACb,SAAS,CAAC,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;iBAC1C,CAAC,IAAI,EAAE,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC;mBA6rBoD,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;YAjEiB,GAAG;2BACC,GAAG;;;;;YACP,GAAG;;cA3nBzB,cAAc,SAAS,QAAQ,KAAG,IAAI;;;;YA+rBA,OAAO,CAAC,OAAO,WAAW,CAAC;;AAruBvE,wBAquB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, ref, computed, toRef, createElementBlock, openBlock, normalizeClass, unref, createVNode, normalizeStyle, withCtx, renderSlot, createCommentVNode, createSlots, createBlock, resolveDynamicComponent, Fragment, renderList,
|
1
|
+
import { defineComponent, ref, computed, toRef, createElementBlock, openBlock, normalizeClass, unref, createVNode, normalizeStyle, withCtx, renderSlot, createCommentVNode, createSlots, createBlock, resolveDynamicComponent, Fragment, renderList, isRef } from 'vue';
|
2
2
|
import _sfc_main$4 from '../Button/WButtonSelection.vue.js';
|
3
3
|
import _sfc_main$1 from '../InfiniteList/WInfiniteList.vue.js';
|
4
4
|
import { useIsMobile } from '../../utils/mobile.js';
|
@@ -14,7 +14,10 @@ import _sfc_main$5 from './components/HeaderSort.vue.js';
|
|
14
14
|
import _sfc_main$3 from './components/ListCardFieldNested.vue.js';
|
15
15
|
import { filterFields, useListConfig, getFirstFieldLabel } from './use/useListConfig.js';
|
16
16
|
|
17
|
-
const _hoisted_1 = {
|
17
|
+
const _hoisted_1 = {
|
18
|
+
key: 1,
|
19
|
+
class: "flex"
|
20
|
+
};
|
18
21
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
19
22
|
__name: "WList",
|
20
23
|
props: {
|
@@ -52,6 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
52
55
|
const props = __props;
|
53
56
|
const { isMobile } = useIsMobile();
|
54
57
|
const listCount = ref(void 0);
|
58
|
+
const countValue = computed(() => props.count ?? listCount.value);
|
55
59
|
const cardStyles = computed(() => {
|
56
60
|
if (!props.cardColumns || !props.cardAreas) return;
|
57
61
|
return {
|
@@ -85,7 +89,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
85
89
|
resetSelection,
|
86
90
|
selectAll,
|
87
91
|
getQueryParams
|
88
|
-
} = useSelected(
|
92
|
+
} = useSelected(countValue, disableSelect);
|
89
93
|
const ordering = computed(() => {
|
90
94
|
if (props.queryParams instanceof Object && "ordering" in props.queryParams && typeof props.queryParams.ordering === "string") {
|
91
95
|
return parseOrdering(props.queryParams.ordering);
|
@@ -140,7 +144,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
140
144
|
"onClear:selection": unref(resetSelection)
|
141
145
|
}, createSlots({
|
142
146
|
settings: withCtx(() => [
|
143
|
-
|
147
|
+
_ctx.$slots.selection ? renderSlot(_ctx.$slots, "selection", { key: 0 }) : (openBlock(), createElementBlock("div", _hoisted_1, [
|
144
148
|
!_ctx.noOrdering ? (openBlock(), createBlock(_sfc_main$5, {
|
145
149
|
key: 0,
|
146
150
|
ordering: ordering.value,
|
@@ -159,7 +163,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
159
163
|
"onClick:reset": unref(reset),
|
160
164
|
"onUpdate:mode": unref(updateMode)
|
161
165
|
}, null, 8, ["field-config-map", "mode", "fields", "query-params", "has-saved", "mobile", "onClick:reset", "onUpdate:mode"])
|
162
|
-
])
|
166
|
+
]))
|
163
167
|
]),
|
164
168
|
_: 2
|
165
169
|
}, [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectAsyncPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefix.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectAsyncPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefix.vue"],"names":[],"mappings":"AA4CA;AAmFA,OAAO,KAAK,EAAC,sBAAsB,EAAE,qBAAqB,EAA6B,MAAM,UAAU,CAAA;yBAUtF,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,eAC5H,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA4K1D,mBAAmB,CAAC;;;;kQAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;kBAvJC,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAC,KAAK,IAAI;;kBAAjE,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAC,KAAK,IAAI;;;YAfvE,UAAU,SAAS,KAAK,GAAG,IAAI;YAC/B,iBAAiB,SAAS,OAAO,GAAG,IAAI;YACxC,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;;;;;YAyKJ,OAAO,CAAC,OAAO,WAAW,CAAC;;AAtLvE,wBAsL4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { defineComponent, ref, computed, watch, onBeforeUnmount, createElementBlock, createCommentVNode, openBlock, Fragment, createVNode, createSlots, withCtx, renderSlot, createElementVNode, toDisplayString, unref, withModifiers
|
2
|
-
import
|
1
|
+
import { defineComponent, ref, computed, watch, onBeforeUnmount, createElementBlock, createCommentVNode, openBlock, Fragment, createVNode, createSlots, withCtx, renderSlot, createElementVNode, createBlock, toDisplayString, unref, withModifiers } from 'vue';
|
2
|
+
import _sfc_main$2 from '../../Button/WButtonUnselect.vue.js';
|
3
3
|
import { numberFormatter } from '../../../utils/utils.js';
|
4
4
|
import _sfc_main$1 from './SelectAsyncPrefixPage.vue.js';
|
5
5
|
|
@@ -65,18 +65,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
65
65
|
]), 1032, ["use-query-fn", "query-params", "option-component", "option-component-props", "disable-clear", "loading", "disabled", "preview-data", "created-data", "value-getter"]),
|
66
66
|
_ctx.modelValue.length > PAGE_LENGTH ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
67
67
|
createElementVNode("div", null, "... " + toDisplayString(unref(numberFormatter).format(_ctx.modelValue.length)) + " items", 1),
|
68
|
-
!_ctx.disableClear
|
68
|
+
!_ctx.disableClear ? (openBlock(), createBlock(_sfc_main$2, {
|
69
69
|
key: 0,
|
70
|
-
|
71
|
-
|
72
|
-
"w-ripple w-ripple-hover cursor-pointer ": !_ctx.loading
|
73
|
-
}]),
|
70
|
+
loading: _ctx.loading,
|
71
|
+
disabled: _ctx.disabled,
|
74
72
|
onMousedown: _cache[2] || (_cache[2] = withModifiers(() => {
|
75
73
|
}, ["stop", "prevent"])),
|
76
74
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => !_ctx.loading && _ctx.$emit("update:modelValue", []), ["stop", "prevent"]))
|
77
|
-
}, [
|
78
|
-
createVNode(unref(IconCancel), { class: "square-3" })
|
79
|
-
], 34)) : createCommentVNode("", true)
|
75
|
+
}, null, 8, ["loading", "disabled"])) : createCommentVNode("", true)
|
80
76
|
])) : createCommentVNode("", true)
|
81
77
|
], 64)) : createCommentVNode("", true);
|
82
78
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectAsyncPrefixPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefixPage.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectAsyncPrefixPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefixPage.vue"],"names":[],"mappings":"AAkDA;AA2GA,OAAO,KAAK,EAAC,0BAA0B,EAAE,qBAAqB,EAA6B,MAAM,UAAU,CAAA;yBAM1F,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,eAC5H,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAiM1D,mBAAmB,CAAC;;;;uQAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;kBAlJC,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAC,KAAK,IAAI;;kBAAjE,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAC,KAAK,IAAI;;;YA3CvE,UAAU,SAAS,KAAK,GAAG,IAAI;YAC/B,oBAAoB,SAAS,MAAM,GAAG,IAAI;YAC1C,iBAAiB,SAAS,OAAO,GAAG,IAAI;;;;;YAgMF,OAAO,CAAC,OAAO,WAAW,CAAC;;AA3MvE,wBA2M4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,8 +1,6 @@
|
|
1
|
-
import { defineComponent, computed, toRef, watch, onBeforeUnmount, createElementBlock, openBlock, Fragment, renderList, normalizeClass, renderSlot,
|
2
|
-
import
|
1
|
+
import { defineComponent, computed, toRef, watch, onBeforeUnmount, createElementBlock, openBlock, Fragment, renderList, normalizeClass, renderSlot, createBlock, createCommentVNode, resolveDynamicComponent, mergeProps, createSlots, withCtx, createVNode, withModifiers } from 'vue';
|
2
|
+
import _sfc_main$1 from '../../Button/WButtonUnselect.vue.js';
|
3
3
|
|
4
|
-
const _hoisted_1 = ["onClick"];
|
5
|
-
const _hoisted_2 = ["onClick"];
|
6
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
7
5
|
__name: "SelectAsyncPrefixPage",
|
8
6
|
props: {
|
@@ -75,34 +73,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
75
73
|
!_ctx.disableClear && !_ctx.disabled ? {
|
76
74
|
name: "default",
|
77
75
|
fn: withCtx(() => [
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
}]),
|
76
|
+
createVNode(_sfc_main$1, {
|
77
|
+
loading: _ctx.loading,
|
78
|
+
disabled: _ctx.disabled,
|
79
|
+
class: "-mr-2 ml-1",
|
83
80
|
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
84
81
|
}, ["stop", "prevent"])),
|
85
82
|
onClick: withModifiers(($event) => !_ctx.loading && _ctx.$emit("unselect", _ctx.valueGetter(option)), ["stop", "prevent"])
|
86
|
-
}, [
|
87
|
-
createVNode(unref(IconCancel), { class: "square-3" })
|
88
|
-
], 42, _hoisted_1)
|
83
|
+
}, null, 8, ["loading", "disabled", "onClick"])
|
89
84
|
]),
|
90
85
|
key: "0"
|
91
86
|
} : void 0
|
92
87
|
]), 1040, ["option", "index"])) : createCommentVNode("", true)
|
93
88
|
]),
|
94
|
-
!_ctx.optionComponent && !_ctx.disableClear
|
89
|
+
!_ctx.optionComponent && !_ctx.disableClear ? (openBlock(), createBlock(_sfc_main$1, {
|
95
90
|
key: 0,
|
96
|
-
|
97
|
-
|
98
|
-
"w-ripple w-ripple-hover cursor-pointer ": !_ctx.loading
|
99
|
-
}]),
|
91
|
+
loading: _ctx.loading,
|
92
|
+
disabled: _ctx.disabled,
|
100
93
|
onMousedown: _cache[1] || (_cache[1] = withModifiers(() => {
|
101
94
|
}, ["stop", "prevent"])),
|
102
95
|
onClick: withModifiers(($event) => !_ctx.loading && _ctx.$emit("unselect", _ctx.valueGetter(option)), ["stop", "prevent"])
|
103
|
-
}, [
|
104
|
-
createVNode(unref(IconCancel), { class: "square-3" })
|
105
|
-
], 42, _hoisted_2)) : createCommentVNode("", true)
|
96
|
+
}, null, 8, ["loading", "disabled", "onClick"])) : createCommentVNode("", true)
|
106
97
|
], 2);
|
107
98
|
}), 128);
|
108
99
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectOptionPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOptionPrefix.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SelectOptionPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOptionPrefix.vue"],"names":[],"mappings":"AAuCA;AAoDA,OAAO,KAAK,EAAC,qBAAqB,EAAE,iBAAiB,EAAC,MAAM,UAAU,CAAA;yBAIrD,IAAI,SAAS,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,eAChF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA6I1D,mBAAmB,CAAC;;2LAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;wBA7BiB,GAAG;;cA5GzB,UAAU,KAAG,IAAI;;;;YA8IqB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAvJvE,wBAuJ4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot,
|
2
|
-
import
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot, createBlock, createCommentVNode, resolveDynamicComponent, mergeProps, withCtx, withModifiers } from 'vue';
|
2
|
+
import _sfc_main$1 from '../../Button/WButtonUnselect.vue.js';
|
3
3
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
5
|
__name: "SelectOptionPrefix",
|
@@ -29,36 +29,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
29
29
|
model: true
|
30
30
|
}), {
|
31
31
|
default: withCtx(() => [
|
32
|
-
!_ctx.disableClear ? (openBlock(),
|
32
|
+
!_ctx.disableClear ? (openBlock(), createBlock(_sfc_main$1, {
|
33
33
|
key: 0,
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
"w-ripple w-ripple-hover cursor-pointer ": !_ctx.loading && !_ctx.disabled
|
38
|
-
}]),
|
34
|
+
loading: _ctx.loading,
|
35
|
+
disabled: _ctx.disabled,
|
36
|
+
class: "-mr-2 ml-1",
|
39
37
|
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
40
38
|
}, ["stop", "prevent"])),
|
41
|
-
onClick: _cache[1] || (_cache[1] = withModifiers(($event) =>
|
42
|
-
}, [
|
43
|
-
createVNode(unref(IconCancel), { class: "square-3" })
|
44
|
-
], 34)) : createCommentVNode("", true)
|
39
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => _ctx.$emit("unselect"), ["stop", "prevent"]))
|
40
|
+
}, null, 8, ["loading", "disabled"])) : createCommentVNode("", true)
|
45
41
|
]),
|
46
42
|
_: 1
|
47
43
|
}, 16, ["option", "index"])) : createCommentVNode("", true)
|
48
44
|
]),
|
49
|
-
!_ctx.optionComponent && !_ctx.disableClear ? (openBlock(),
|
45
|
+
!_ctx.optionComponent && !_ctx.disableClear ? (openBlock(), createBlock(_sfc_main$1, {
|
50
46
|
key: 0,
|
51
|
-
|
52
|
-
|
53
|
-
"cursor-progress": _ctx.loading,
|
54
|
-
"w-ripple w-ripple-hover cursor-pointer ": !_ctx.loading && !_ctx.disabled
|
55
|
-
}]),
|
47
|
+
loading: _ctx.loading,
|
48
|
+
disabled: _ctx.disabled,
|
56
49
|
onMousedown: _cache[2] || (_cache[2] = withModifiers(() => {
|
57
50
|
}, ["stop", "prevent"])),
|
58
|
-
onClick: _cache[3] || (_cache[3] = withModifiers(($event) =>
|
59
|
-
}, [
|
60
|
-
createVNode(unref(IconCancel), { class: "square-3" })
|
61
|
-
], 34)) : createCommentVNode("", true)
|
51
|
+
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => _ctx.$emit("unselect"), ["stop", "prevent"]))
|
52
|
+
}, null, 8, ["loading", "disabled"])) : createCommentVNode("", true)
|
62
53
|
], 2);
|
63
54
|
};
|
64
55
|
}
|
@@ -10,6 +10,8 @@ import { default as WButtonMore } from '../components/Button/WButtonMore.vue';
|
|
10
10
|
import { default as WButtonMoreItem } from '../components/Button/WButtonMoreItem.vue';
|
11
11
|
import { default as WButtonSelection } from '../components/Button/WButtonSelection.vue';
|
12
12
|
import { default as WButtonSelectionAction } from '../components/Button/WButtonSelectionAction.vue';
|
13
|
+
import { default as WButtonSelectionState } from '../components/Button/WButtonSelectionState.vue';
|
14
|
+
import { default as WButtonUnselect } from '../components/Button/WButtonUnselect.vue';
|
13
15
|
import { default as WCheckbox } from '../components/Checkbox/WCheckbox.vue';
|
14
16
|
import { default as WChip } from '../components/Chip/WChip.vue';
|
15
17
|
import { default as WClickOutside } from '../components/ClickOutside/WClickOutside.vue';
|
@@ -83,5 +85,5 @@ declare const _default: {
|
|
83
85
|
install: (app: App | any) => void;
|
84
86
|
};
|
85
87
|
export default _default;
|
86
|
-
export { WActionsBar, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WCheckbox, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDropdown, WDropdownMenu, WEmptyComponent, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormAsyncButtonGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncSelectStringified, WFormAsyncToggle, WFormValidator, WHeaderBar, WImageViewer, WInfiniteList, WInfiniteListWrapper, WInfoCard, WInfoCardNegative, WInput, WInputAsync, WInputDate, WInputOptions, WInputSuggest, WLink, WLinkArrow, WList, WListCard, WListCardField, WListHeader, WListHeaderItem, WMenuItem, WModal, WModalStepper, WModalWrapper, WNavBar, WNavItem, WNavItemExpand, WNavItemTransition, WNotify, WNumberFormatter, WPage, WPageNumerator, WPageTitle, WProgress, WSelect, WSelectAsync, WSelectAsyncList, WSelectAsyncSingle, WSelectSingle, WSelectStringified, WSkeleton, WSpinner, WTabs, WTabsColumns, WTabsItem, WToggle, WTooltip, WTooltipContainer, };
|
88
|
+
export { WActionsBar, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WButtonSelectionState, WButtonUnselect, WCheckbox, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDropdown, WDropdownMenu, WEmptyComponent, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormAsyncButtonGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncSelectStringified, WFormAsyncToggle, WFormValidator, WHeaderBar, WImageViewer, WInfiniteList, WInfiniteListWrapper, WInfoCard, WInfoCardNegative, WInput, WInputAsync, WInputDate, WInputOptions, WInputSuggest, WLink, WLinkArrow, WList, WListCard, WListCardField, WListHeader, WListHeaderItem, WMenuItem, WModal, WModalStepper, WModalWrapper, WNavBar, WNavItem, WNavItemExpand, WNavItemTransition, WNotify, WNumberFormatter, WPage, WPageNumerator, WPageTitle, WProgress, WSelect, WSelectAsync, WSelectAsyncList, WSelectAsyncSingle, WSelectSingle, WSelectStringified, WSkeleton, WSpinner, WTabs, WTabsColumns, WTabsItem, WToggle, WTooltip, WTooltipContainer, };
|
87
89
|
//# sourceMappingURL=componentsPlugin.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"componentsPlugin.d.ts","sourceRoot":"","sources":["../../src/imports/componentsPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AAE5B,OAAO,WAAW,MAAM,yCAAyC,CAAA;AACjE,OAAO,YAAY,MAAM,2CAA2C,CAAA;AACpE,OAAO,OAAO,MAAM,iCAAiC,CAAA;AACrD,OAAO,aAAa,MAAM,uCAAuC,CAAA;AACjE,OAAO,WAAW,MAAM,qCAAqC,CAAA;AAC7D,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,WAAW,MAAM,qCAAqC,CAAA;AAC7D,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,gBAAgB,MAAM,0CAA0C,CAAA;AACvE,OAAO,sBAAsB,MAAM,gDAAgD,CAAA;AACnF,OAAO,SAAS,MAAM,qCAAqC,CAAA;AAC3D,OAAO,KAAK,MAAM,6BAA6B,CAAA;AAC/C,OAAO,aAAa,MAAM,6CAA6C,CAAA;AACvE,OAAO,QAAQ,MAAM,mCAAmC,CAAA;AACxD,OAAO,WAAW,MAAM,yCAAyC,CAAA;AACjE,OAAO,iBAAiB,MAAM,+CAA+C,CAAA;AAC7E,OAAO,SAAS,MAAM,qCAAqC,CAAA;AAC3D,OAAO,aAAa,MAAM,6CAA6C,CAAA;AACvE,OAAO,eAAe,MAAM,iDAAiD,CAAA;AAC7E,OAAO,UAAU,MAAM,uCAAuC,CAAA;AAC9D,OAAO,cAAc,MAAM,2CAA2C,CAAA;AACtE,OAAO,aAAa,MAAM,6CAA6C,CAAA;AACvE,OAAO,WAAW,MAAM,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AAY,EACZ,aAAa,EACb,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,KAAK,EACL,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,EACd,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,aAAa,EACb,OAAO,EACP,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,gBAAgB,EAChB,KAAK,EACL,cAAc,EACd,UAAU,EACV,SAAS,EACT,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,SAAS,EACT,OAAO,EACP,QAAQ,EACR,iBAAiB,GAClB,CAAA"}
|
@@ -26,6 +26,7 @@ export { default as IconFilterRemove } from '../assets/icons/sax/IconFilterRemov
|
|
26
26
|
export { default as IconFinding } from '../assets/icons/sax/IconFinding.svg?component';
|
27
27
|
export { default as IconFolder } from '../assets/icons/sax/IconFolder.svg?component';
|
28
28
|
export { default as IconFolderCross } from '../assets/icons/sax/IconFolderCross.svg?component';
|
29
|
+
export { default as IconGrid } from '../assets/icons/sax/IconGrid.svg?component';
|
29
30
|
export { default as IconJira } from '../assets/icons/sax/IconJira.svg?component';
|
30
31
|
export { default as IconKey } from '../assets/icons/sax/IconKey.svg?component';
|
31
32
|
export { default as IconKeySquare } from '../assets/icons/sax/IconKeySquare.svg?component';
|
@@ -54,6 +55,7 @@ export { default as IconSettings } from '../assets/icons/sax/IconSettings.svg?co
|
|
54
55
|
export { default as IconSlash } from '../assets/icons/sax/IconSlash.svg?component';
|
55
56
|
export { default as IconStar } from '../assets/icons/sax/IconStar.svg?component';
|
56
57
|
export { default as IconSummary } from '../assets/icons/sax/IconSummary.svg?component';
|
58
|
+
export { default as IconTable } from '../assets/icons/sax/IconTable.svg?component';
|
57
59
|
export { default as IconTableSettings } from '../assets/icons/sax/IconTableSettings.svg?component';
|
58
60
|
export { default as IconTag } from '../assets/icons/sax/IconTag.svg?component';
|
59
61
|
export { default as IconTask } from '../assets/icons/sax/IconTask.svg?component';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"iconsSax.d.ts","sourceRoot":"","sources":["../../src/imports/iconsSax.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,0CAA0C,CAAA;AAC3E,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,gDAAgD,CAAA;AACvF,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,gDAAgD,CAAA;AACvF,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,4CAA4C,CAAA;AAC/E,OAAO,EAAC,OAAO,IAAI,eAAe,EAAC,MAAM,kDAAkD,CAAA;AAC3F,OAAO,EAAC,OAAO,IAAI,UAAU,EAAC,MAAM,6CAA6C,CAAA;AACjF,OAAO,EAAC,OAAO,IAAI,UAAU,EAAC,MAAM,6CAA6C,CAAA;AACjF,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,4CAA4C,CAAA;AAC/E,OAAO,EAAC,OAAO,IAAI,eAAe,EAAC,MAAM,kDAAkD,CAAA;AAC3F,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,4CAA4C,CAAA;AAC/E,OAAO,EAAC,OAAO,IAAI,eAAe,EAAC,MAAM,kDAAkD,CAAA;AAC3F,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,2CAA2C,CAAA;AAC7E,OAAO,EAAC,OAAO,IAAI,eAAe,EAAC,MAAM,kDAAkD,CAAA;AAC3F,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,gDAAgD,CAAA;AACvF,OAAO,EAAC,OAAO,IAAI,UAAU,EAAC,MAAM,6CAA6C,CAAA;AACjF,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,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ist/imports/iconsSax.js
CHANGED
@@ -26,6 +26,7 @@ export { default as IconFilterRemove } from '../assets/icons/sax/IconFilterRemov
|
|
26
26
|
export { default as IconFinding } from '../assets/icons/sax/IconFinding.svg.js';
|
27
27
|
export { default as IconFolder } from '../assets/icons/sax/IconFolder.svg.js';
|
28
28
|
export { default as IconFolderCross } from '../assets/icons/sax/IconFolderCross.svg.js';
|
29
|
+
export { default as IconGrid } from '../assets/icons/sax/IconGrid.svg.js';
|
29
30
|
export { default as IconJira } from '../assets/icons/sax/IconJira.svg.js';
|
30
31
|
export { default as IconKey } from '../assets/icons/sax/IconKey.svg.js';
|
31
32
|
export { default as IconKeySquare } from '../assets/icons/sax/IconKeySquare.svg.js';
|
@@ -54,6 +55,7 @@ export { default as IconSettings } from '../assets/icons/sax/IconSettings.svg.js
|
|
54
55
|
export { default as IconSlash } from '../assets/icons/sax/IconSlash.svg.js';
|
55
56
|
export { default as IconStar } from '../assets/icons/sax/IconStar.svg.js';
|
56
57
|
export { default as IconSummary } from '../assets/icons/sax/IconSummary.svg.js';
|
58
|
+
export { default as IconTable } from '../assets/icons/sax/IconTable.svg.js';
|
57
59
|
export { default as IconTableSettings } from '../assets/icons/sax/IconTableSettings.svg.js';
|
58
60
|
export { default as IconTag } from '../assets/icons/sax/IconTag.svg.js';
|
59
61
|
export { default as IconTask } from '../assets/icons/sax/IconTask.svg.js';
|
package/dist/main.js
CHANGED
@@ -13,6 +13,8 @@ export { default as WButtonMore } from './components/Button/WButtonMore.vue.js';
|
|
13
13
|
export { default as WButtonMoreItem } from './components/Button/WButtonMoreItem.vue.js';
|
14
14
|
export { default as WButtonSelection } from './components/Button/WButtonSelection.vue.js';
|
15
15
|
export { default as WButtonSelectionAction } from './components/Button/WButtonSelectionAction.vue.js';
|
16
|
+
export { default as WButtonSelectionState } from './components/Button/WButtonSelectionState.vue.js';
|
17
|
+
export { default as WButtonUnselect } from './components/Button/WButtonUnselect.vue.js';
|
16
18
|
export { default as WCheckbox } from './components/Checkbox/WCheckbox.vue.js';
|
17
19
|
export { default as WChip } from './components/Chip/WChip.vue.js';
|
18
20
|
export { default as WClickOutside } from './components/ClickOutside/WClickOutside.vue.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useSelected.d.ts","sourceRoot":"","sources":["../../src/utils/useSelected.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,QAAQ,EAAE,KAAK,GAAG,EAA+C,MAAM,KAAK,CAAA;AA4BzF,eAAO,MAAM,WAAW,SAAU,MAAM,SAAS,MAAM,cAAc,MAAM,KAAG,MAE7E,CAAA;AAED,MAAM,MAAM,SAAS,CAAC,KAAK,IAAI;IAC7B,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAChB,UAAU,CAAC,EAAE,KAAK,EAAE,CAAA;IACpB,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAA;AAID,eAAO,MAAM,WAAW,GAAI,KAAK,SAAS,MAAM,SAAS,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,YAAY,GAAG,CAAC,OAAO,CAAC;;;;
|
1
|
+
{"version":3,"file":"useSelected.d.ts","sourceRoot":"","sources":["../../src/utils/useSelected.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,QAAQ,EAAE,KAAK,GAAG,EAA+C,MAAM,KAAK,CAAA;AA4BzF,eAAO,MAAM,WAAW,SAAU,MAAM,SAAS,MAAM,cAAc,MAAM,KAAG,MAE7E,CAAA;AAED,MAAM,MAAM,SAAS,CAAC,KAAK,IAAI;IAC7B,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAChB,UAAU,CAAC,EAAE,KAAK,EAAE,CAAA;IACpB,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAA;AAID,eAAO,MAAM,WAAW,GAAI,KAAK,SAAS,MAAM,SAAS,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,YAAY,GAAG,CAAC,OAAO,CAAC;;;;wBAiFhF,KAAK,YAAY,MAAM,KAAG,OAAO;8BAoB3B,MAAM;yBAMX,KAAK,YAAY,MAAM,KAAG,IAAI;;0BAtF/B,IAAI;0BAwKJ,oBAAoB,GAAG,SAAS;CAwC5D,CAAA"}
|
@@ -19,7 +19,7 @@ const parseSelection = (value) => {
|
|
19
19
|
const getPosition = (page, index, pageLength) => {
|
20
20
|
return (page - 1) * pageLength + index;
|
21
21
|
};
|
22
|
-
const isEmpty = (value) =>
|
22
|
+
const isEmpty = (value) => !value.id__in?.length && !value.id__not_in && !value.range;
|
23
23
|
const useSelected = (count, disabled) => {
|
24
24
|
const route = useRoute();
|
25
25
|
const router = useRouter();
|
@@ -38,7 +38,10 @@ const useSelected = (count, disabled) => {
|
|
38
38
|
router.replace({ query: route.query, hash: "#" });
|
39
39
|
};
|
40
40
|
const updateSelection = (value) => {
|
41
|
-
if (isEmpty(value))
|
41
|
+
if (isEmpty(value)) {
|
42
|
+
resetSelection();
|
43
|
+
return;
|
44
|
+
}
|
42
45
|
router.replace({ query: route.query, hash: `#${JSON.stringify(value)}` });
|
43
46
|
};
|
44
47
|
const selectAll = () => {
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"type": "git",
|
5
5
|
"url": "https://github.com/rsmple/eco-vue-js.git"
|
6
6
|
},
|
7
|
-
"version": "0.10.
|
7
|
+
"version": "0.10.11",
|
8
8
|
"scripts": {
|
9
9
|
"build": "run-p type-check \"build-only {@}\" --",
|
10
10
|
"dev": "vite build --watch",
|
@@ -166,6 +166,12 @@
|
|
166
166
|
"./dist/components/Button/WButtonSelectionAction.vue": {
|
167
167
|
"import": "./dist/components/Button/WButtonSelectionAction.vue.js"
|
168
168
|
},
|
169
|
+
"./dist/components/Button/WButtonSelectionState.vue": {
|
170
|
+
"import": "./dist/components/Button/WButtonSelectionState.vue.js"
|
171
|
+
},
|
172
|
+
"./dist/components/Button/WButtonUnselect.vue": {
|
173
|
+
"import": "./dist/components/Button/WButtonUnselect.vue.js"
|
174
|
+
},
|
169
175
|
"./dist/components/Button/types": {
|
170
176
|
"import": "./dist/components/Button/types.d.ts"
|
171
177
|
},
|