eco-vue-js 0.10.16 → 0.10.18

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.
Files changed (45) hide show
  1. package/dist/components/FilePicker/WFilePicker.vue.js +1 -1
  2. package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts.map +1 -1
  3. package/dist/components/FilePicker/components/FilePickerItem.vue.js +15 -24
  4. package/dist/components/FormAsync/WFormAsyncSelect.vue.js +1 -0
  5. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +1 -0
  6. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +1 -0
  7. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +1 -0
  8. package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +1 -1
  9. package/dist/components/InfiniteList/components/InfiniteListPages.vue.js +1 -1
  10. package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts.map +1 -1
  11. package/dist/components/InfiniteList/use/useInfiniteListHeader.js +0 -5
  12. package/dist/components/Page/WPage.vue.d.ts +3 -0
  13. package/dist/components/Page/WPage.vue.d.ts.map +1 -1
  14. package/dist/components/Page/WPage.vue.js +53 -3
  15. package/dist/components/Page/WPageBreadcrumbs.vue.d.ts +3 -0
  16. package/dist/components/Page/WPageBreadcrumbs.vue.d.ts.map +1 -0
  17. package/dist/components/Page/WPageBreadcrumbs.vue.js +42 -0
  18. package/dist/components/Page/WPageBreadcrumbs.vue2.js +5 -0
  19. package/dist/components/Page/use/usePageBreadcrumbs.d.ts +17 -0
  20. package/dist/components/Page/use/usePageBreadcrumbs.d.ts.map +1 -0
  21. package/dist/components/Page/use/usePageBreadcrumbs.js +48 -0
  22. package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
  23. package/dist/components/Select/WSelect.vue.js +15 -11
  24. package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
  25. package/dist/components/Select/WSelectAsync.vue.js +17 -12
  26. package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
  27. package/dist/components/Select/WSelectAsyncList.vue.js +0 -1
  28. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
  29. package/dist/components/Select/WSelectAsyncSingle.vue.js +3 -1
  30. package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
  31. package/dist/components/Select/WSelectSingle.vue.js +3 -1
  32. package/dist/components/Select/WSelectStringified.vue.js +1 -0
  33. package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
  34. package/dist/components/Select/components/SelectAsyncList.vue.js +14 -13
  35. package/dist/components/Select/components/SelectOption.vue.js +4 -4
  36. package/dist/components/Select/types.d.ts +1 -0
  37. package/dist/components/Select/types.d.ts.map +1 -1
  38. package/dist/imports/componentsPlugin.d.ts +2 -1
  39. package/dist/imports/componentsPlugin.d.ts.map +1 -1
  40. package/dist/main.js +1 -0
  41. package/dist/utils/useDefaultQuery.d.ts.map +1 -1
  42. package/dist/utils/useDefaultQuery.js +13 -15
  43. package/package.json +4 -1
  44. package/tailwind-base/plugins/default.ts +2 -1
  45. package/tailwind-base/theme/sizes.ts +1 -0
@@ -19,7 +19,7 @@ const _hoisted_3 = {
19
19
  const _hoisted_4 = ["multiple", "accept"];
20
20
  const _hoisted_5 = {
21
21
  key: 1,
22
- class: "flex h-full items-center justify-center gap-6"
22
+ class: "grid-cols-fill-44 grid h-full items-center justify-center gap-6"
23
23
  };
24
24
  const _hoisted_6 = {
25
25
  key: 2,
@@ -1 +1 @@
1
- {"version":3,"file":"FilePickerItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/FilePicker/components/FilePickerItem.vue"],"names":[],"mappings":"AAgCA;AAqDA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAUF,iBAAS,cAAc;WA0ET,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"}
1
+ {"version":3,"file":"FilePickerItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/FilePicker/components/FilePickerItem.vue"],"names":[],"mappings":"AA8BA;AAmDA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAUF,iBAAS,cAAc;WAuET,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"}
@@ -1,18 +1,11 @@
1
- import { defineComponent, createElementBlock, openBlock, createElementVNode, renderSlot, createVNode, unref, toDisplayString, withModifiers } from 'vue';
1
+ import { defineComponent, createElementBlock, openBlock, createElementVNode, renderSlot, createVNode, unref, withModifiers, toDisplayString } from 'vue';
2
2
  import IconCancel from '../../../assets/icons/default/IconCancel.svg.js';
3
3
  import IconCheckCircle from '../../../assets/icons/sax/IconCheckCircle.svg.js';
4
4
  import IconCloseCircle from '../../../assets/icons/sax/IconCloseCircle.svg.js';
5
5
 
6
- const _hoisted_1 = { class: "height-52 width-44 relative flex flex-col gap-2" };
7
- const _hoisted_2 = {
8
- key: 0,
9
- class: "square-44 flex items-center justify-center"
10
- };
11
- const _hoisted_3 = {
12
- key: 1,
13
- class: "square-44 flex items-center justify-center"
14
- };
15
- const _hoisted_4 = { class: "text-accent truncate text-center text-base font-normal" };
6
+ const _hoisted_1 = { class: "height-52 grid justify-items-center gap-2" };
7
+ const _hoisted_2 = { class: "square-44 relative flex items-center justify-center" };
8
+ const _hoisted_3 = { class: "text-accent truncate text-center font-normal" };
16
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
17
10
  __name: "FilePickerItem",
18
11
  props: {
@@ -23,22 +16,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
16
  setup(__props) {
24
17
  return (_ctx, _cache) => {
25
18
  return openBlock(), createElementBlock("div", _hoisted_1, [
26
- !_ctx.hasError ? (openBlock(), createElementBlock("div", _hoisted_2, [
27
- renderSlot(_ctx.$slots, "positive", {}, () => [
19
+ createElementVNode("div", _hoisted_2, [
20
+ !_ctx.hasError ? renderSlot(_ctx.$slots, "positive", { key: 0 }, () => [
28
21
  createVNode(unref(IconCheckCircle), { class: "square-36 text-positive dark:text-positive-dark" })
29
- ])
30
- ])) : (openBlock(), createElementBlock("div", _hoisted_3, [
31
- renderSlot(_ctx.$slots, "negative", {}, () => [
22
+ ]) : renderSlot(_ctx.$slots, "negative", { key: 1 }, () => [
32
23
  createVNode(unref(IconCloseCircle), { class: "square-36 text-negative dark:text-negative-dark" })
24
+ ]),
25
+ createElementVNode("button", {
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
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.$emit("click:cancel"), ["stop", "prevent"]))
28
+ }, [
29
+ createVNode(unref(IconCancel), { class: "square-3 text-description" })
33
30
  ])
34
- ])),
35
- createElementVNode("div", _hoisted_4, toDisplayString(_ctx.name), 1),
36
- createElementVNode("button", {
37
- 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",
38
- onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.$emit("click:cancel"), ["stop", "prevent"]))
39
- }, [
40
- createVNode(unref(IconCancel), { class: "square-3 text-description" })
41
- ])
31
+ ]),
32
+ createElementVNode("div", _hoisted_3, toDisplayString(_ctx.name), 1)
42
33
  ]);
43
34
  };
44
35
  }
@@ -15,6 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  filterOptions: {},
16
16
  hideOptionIcon: { type: Boolean },
17
17
  createdData: {},
18
+ selectOnClose: { type: Boolean },
18
19
  mobileTitle: {},
19
20
  persist: { type: Boolean },
20
21
  type: {},
@@ -20,6 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
20
  hidePrefix: { type: Boolean },
21
21
  createOption: {},
22
22
  hideOptionIcon: { type: Boolean },
23
+ selectOnClose: { type: Boolean },
23
24
  mobileTitle: {},
24
25
  persist: { type: Boolean },
25
26
  type: {},
@@ -16,6 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16
16
  createOption: {},
17
17
  filterOptions: {},
18
18
  hideOptionIcon: { type: Boolean },
19
+ selectOnClose: { type: Boolean },
19
20
  mobileTitle: {},
20
21
  persist: { type: Boolean },
21
22
  type: {},
@@ -16,6 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16
16
  filterOptions: {},
17
17
  hideOptionIcon: { type: Boolean },
18
18
  createdData: {},
19
+ selectOnClose: { type: Boolean },
19
20
  mobileTitle: {},
20
21
  persist: { type: Boolean },
21
22
  type: {},
@@ -41,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  toRef(props, "queryParams"),
42
42
  {
43
43
  ...props.queryOptions ?? {},
44
- refetchInterval: props.refetchInterval ? computed(() => isIntersecting.value ? props.refetchInterval : void 0) : void 0
44
+ refetchInterval: props.refetchInterval ? () => isIntersecting.value ? props.refetchInterval : void 0 : void 0
45
45
  }
46
46
  );
47
47
  const nextPage = computed(() => data.value?.next);
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  const pages = ref([props.queryParams.page ?? 1]);
36
36
  const pagesCount = ref(1);
37
37
  const count = ref(0);
38
- const nextPage = computed(() => pages.value[pages.value.length - 1] !== pagesCount.value ? pages.value[pages.value.length - 1] + 1 : null);
38
+ const nextPage = computed(() => pages.value[pages.value.length - 1] < pagesCount.value ? pages.value[pages.value.length - 1] + 1 : null);
39
39
  const previousPage = computed(() => pages.value[0] !== 1 ? pages.value[0] - 1 : null);
40
40
  const isResettingPage = ref(false);
41
41
  const getSkeletonLength = (pagesBefore) => {
@@ -1 +1 @@
1
- {"version":3,"file":"useInfiniteListHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/InfiniteList/use/useInfiniteListHeader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,GAAG,EAAkC,MAAM,KAAK,CAAA;AAI7D,eAAO,MAAM,qBAAqB,wBAAyB,GAAG,CAAC,MAAM,CAAC,qBAAoB,OAAO,GAAG,IAAI;;;;;;;CA0DvG,CAAA"}
1
+ {"version":3,"file":"useInfiniteListHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/InfiniteList/use/useInfiniteListHeader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,GAAG,EAAkC,MAAM,KAAK,CAAA;AAI7D,eAAO,MAAM,qBAAqB,wBAAyB,GAAG,CAAC,MAAM,CAAC,qBAAoB,OAAO,GAAG,IAAI;;;;;;;CAoDvG,CAAA"}
@@ -8,12 +8,7 @@ const useInfiniteListHeader = (headerElementHeight, scrollingElement = document.
8
8
  const headerTop = ref(0);
9
9
  const isIntersecting = ref(initIsIntersecting);
10
10
  let observer = null;
11
- let isFirst = true;
12
11
  const observerCb = (entries) => {
13
- if (isFirst) {
14
- isFirst = false;
15
- return;
16
- }
17
12
  isIntersecting.value = entries.some((entry) => {
18
13
  if (entry.target === indicator.value) {
19
14
  return entry.isIntersecting || entry.boundingClientRect.top > window.innerHeight;
@@ -19,14 +19,17 @@ declare function __VLS_template(): {
19
19
  updateOverflow: () => void;
20
20
  INNER_CLASS: "w-page-inner";
21
21
  }): any;
22
+ logo?(_: {}): any;
22
23
  };
23
24
  refs: {
25
+ element: HTMLDivElement;
24
26
  container: HTMLDivElement;
25
27
  };
26
28
  rootEl: any;
27
29
  };
28
30
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
31
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
32
+ element: HTMLDivElement;
30
33
  container: HTMLDivElement;
31
34
  }, any>;
32
35
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1 +1 @@
1
- {"version":3,"file":"WPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Page/WPage.vue"],"names":[],"mappings":"AAgFA;AAyMA,OAAO,EAAC,KAAK,SAAS,EAAuC,MAAM,KAAK,CAAA;AAQxE,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,SAAS,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,WAAW,CAAC,EAAE,WAAW,EAAE,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAA;CAC9B,CAAC;AAu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AC,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,6 +1,8 @@
1
- import { defineComponent, useTemplateRef, ref, watch, nextTick, resolveComponent, createElementBlock, openBlock, Fragment, createElementVNode, createBlock, createCommentVNode, normalizeClass, createVNode, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent, toDisplayString, unref, createSlots, withCtx } from 'vue';
1
+ import { defineComponent, useTemplateRef, ref, watch, nextTick, onMounted, onBeforeUnmount, resolveComponent, createElementBlock, openBlock, Fragment, createElementVNode, createBlock, createCommentVNode, normalizeClass, createVNode, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent, toDisplayString, unref, createSlots, withCtx } from 'vue';
2
+ import { useHeader } from '../HeaderBar/use/useHeader.js';
2
3
  import { dateFormat } from '../../utils/dateTime.js';
3
4
  import _sfc_main$1 from './WPageTitle.vue.js';
5
+ import { usePageBreadcrumb } from './use/usePageBreadcrumbs.js';
4
6
 
5
7
  const _hoisted_1 = {
6
8
  key: 0,
@@ -39,8 +41,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39
41
  },
40
42
  setup(__props) {
41
43
  const props = __props;
44
+ const elementRef = useTemplateRef("element");
42
45
  const containerRef = useTemplateRef("container");
43
46
  const overflow = ref([]);
47
+ const { setBreadcrumb, resetBreadcrumb, updateBreadcrumbs, setActive } = usePageBreadcrumb();
48
+ const { headerPadding, headerHeight } = useHeader();
44
49
  const getElements = (item, inner = false) => {
45
50
  return Array.from(item.children).filter((item2) => item2 instanceof HTMLElement).flatMap(
46
51
  (item2) => inner && item2.childElementCount > 1 ? getElements(item2) : item2.className.includes(INNER_CLASS) ? getElements(item2, true) : item2
@@ -80,6 +85,30 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
80
85
  });
81
86
  nextTick().then(updateOverflow);
82
87
  };
88
+ const scrollTo = () => {
89
+ if (!elementRef.value?.parentElement || !document.scrollingElement) return;
90
+ document.scrollingElement.scrollTo({ top: elementRef.value.offsetTop - headerPadding.value - headerHeight.value });
91
+ };
92
+ const updateBreadcrumb = async () => {
93
+ if (props.topTitle || !props.title) return;
94
+ await nextTick();
95
+ if (!elementRef.value?.parentElement) return;
96
+ setBreadcrumb(
97
+ props.title,
98
+ Array.from(elementRef.value.parentElement.children).indexOf(elementRef.value),
99
+ updateBreadcrumb,
100
+ scrollTo
101
+ );
102
+ };
103
+ const observerCb = (entries) => {
104
+ if (!elementRef.value?.parentElement) return;
105
+ const isIntersecting = entries.some((entry) => {
106
+ if (entry.target === elementRef.value) {
107
+ return entry.isIntersecting;
108
+ }
109
+ });
110
+ if (isIntersecting) setActive(Array.from(elementRef.value.parentElement.children).indexOf(elementRef.value));
111
+ };
83
112
  watch(() => props.prerendered, async (value) => {
84
113
  if (!value) return;
85
114
  await nextTick();
@@ -99,10 +128,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
99
128
  await nextTick();
100
129
  updateOverflow();
101
130
  }, { immediate: true });
131
+ let observer = null;
132
+ onMounted(() => {
133
+ updateBreadcrumb();
134
+ if (elementRef.value) {
135
+ observer = new IntersectionObserver(observerCb, {
136
+ root: null,
137
+ rootMargin: `${headerHeight.value * 2}px 100% 0px 0px`,
138
+ threshold: 0.5
139
+ });
140
+ observer.observe(elementRef.value);
141
+ }
142
+ updateBreadcrumbs();
143
+ });
144
+ onBeforeUnmount(() => {
145
+ if (!props.topTitle && props.title) resetBreadcrumb(props.title);
146
+ observer?.disconnect();
147
+ updateBreadcrumbs();
148
+ });
102
149
  return (_ctx, _cache) => {
103
150
  const _component_WPage = resolveComponent("WPage", true);
104
151
  return openBlock(), createElementBlock(Fragment, null, [
105
152
  createElementVNode("div", {
153
+ ref: "element",
106
154
  class: normalizeClass(["not-print:shadow-md bg-default text-black-default light relative isolate grid h-[29.62cm] w-[21.01cm] break-before-page grid-cols-1 grid-rows-[auto,1fr] overflow-hidden px-[1cm] py-[2cm]", {
107
155
  "[counter-increment:page] after:absolute after:bottom-[1cm] after:right-[1cm] after:text-xs after:[--tw-content:counter(page)]": !_ctx.empty
108
156
  }])
@@ -117,13 +165,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
117
165
  renderSlot(_ctx.$slots, "header"),
118
166
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ updateOverflow, INNER_CLASS })))
119
167
  ], 512),
120
- _ctx.logoComponent ? (openBlock(), createElementBlock("div", {
168
+ _ctx.logoComponent || _ctx.$slots.logo ? (openBlock(), createElementBlock("div", {
121
169
  key: 1,
122
170
  class: normalizeClass(["absolute bottom-[1cm] left-[1cm] flex items-center justify-center gap-3", {
123
171
  "right-[1cm]": _ctx.centerLogo
124
172
  }])
125
173
  }, [
126
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.logoComponent)))
174
+ renderSlot(_ctx.$slots, "logo", {}, () => [
175
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.logoComponent)))
176
+ ])
127
177
  ], 2)) : createCommentVNode("", true),
128
178
  !_ctx.centerLogo && _ctx.date ? (openBlock(), createElementBlock("div", _hoisted_3, toDisplayString(unref(dateFormat)(_ctx.date)), 1)) : createCommentVNode("", true),
129
179
  _ctx.title && _ctx.topTitle ? (openBlock(), createElementBlock("span", _hoisted_4, " " + toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
@@ -0,0 +1,3 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
3
+ //# sourceMappingURL=WPageBreadcrumbs.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WPageBreadcrumbs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Page/WPageBreadcrumbs.vue"],"names":[],"mappings":"AA+BA;;AAkIA,wBAMG"}
@@ -0,0 +1,42 @@
1
+ import { defineComponent, computed, onUnmounted, createElementBlock, openBlock, Fragment, renderList, createCommentVNode, createElementVNode, unref, normalizeClass, toDisplayString } from 'vue';
2
+ import { usePageBreadcrumbs } from './use/usePageBreadcrumbs.js';
3
+
4
+ const _hoisted_1 = { class: "text-accent flex flex-wrap gap-x-2 font-light leading-loose tracking-wide" };
5
+ const _hoisted_2 = {
6
+ key: 0,
7
+ class: "text-description"
8
+ };
9
+ const _hoisted_3 = ["onClick"];
10
+ const _hoisted_4 = { class: "h-0 font-semibold opacity-0" };
11
+ const _sfc_main = /* @__PURE__ */ defineComponent({
12
+ __name: "WPageBreadcrumbs",
13
+ setup(__props) {
14
+ const { breadcrumbs, active, resetBreadcrumbs, scrollTo } = usePageBreadcrumbs();
15
+ const list = computed(
16
+ () => Object.entries(breadcrumbs.value).sort((a, b) => a[1] > b[1] ? 1 : a[1] < b[1] ? -1 : 0).map((item) => item[0])
17
+ );
18
+ onUnmounted(() => {
19
+ resetBreadcrumbs();
20
+ });
21
+ return (_ctx, _cache) => {
22
+ return openBlock(), createElementBlock("div", _hoisted_1, [
23
+ (openBlock(true), createElementBlock(Fragment, null, renderList(list.value, (item, index) => {
24
+ return openBlock(), createElementBlock(Fragment, { key: item }, [
25
+ index !== 0 ? (openBlock(), createElementBlock("div", _hoisted_2, " / ")) : createCommentVNode("", true),
26
+ createElementVNode("button", {
27
+ class: normalizeClass([{
28
+ "font-semibold": unref(active) !== null && unref(breadcrumbs)[item] <= unref(active) && (index + 1 === list.value.length || unref(breadcrumbs)[list.value[index + 1]] > unref(active))
29
+ }, "grid justify-items-center hover:underline"]),
30
+ onClick: ($event) => unref(scrollTo)(item)
31
+ }, [
32
+ createElementVNode("div", _hoisted_4, toDisplayString(item), 1),
33
+ createElementVNode("div", null, toDisplayString(item), 1)
34
+ ], 10, _hoisted_3)
35
+ ], 64);
36
+ }), 128))
37
+ ]);
38
+ };
39
+ }
40
+ });
41
+
42
+ export { _sfc_main as default };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './WPageBreadcrumbs.vue.js';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -0,0 +1,17 @@
1
+ export declare const usePageBreadcrumbs: () => {
2
+ resetBreadcrumbs: () => void;
3
+ scrollTo: (title: string) => void;
4
+ breadcrumbs: Readonly<import('vue').Ref<{
5
+ readonly [x: string]: number;
6
+ }, {
7
+ readonly [x: string]: number;
8
+ }>>;
9
+ active: Readonly<import('vue').Ref<number | null, number | null>>;
10
+ };
11
+ export declare const usePageBreadcrumb: () => {
12
+ setBreadcrumb: (title: string, index: number, update: () => void, scrollTo: () => void) => void;
13
+ resetBreadcrumb: (title: string) => void;
14
+ updateBreadcrumbs: () => void;
15
+ setActive: (value: number) => void;
16
+ };
17
+ //# sourceMappingURL=usePageBreadcrumbs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePageBreadcrumbs.d.ts","sourceRoot":"","sources":["../../../../../src/components/Page/use/usePageBreadcrumbs.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB;;sBAOJ,MAAM;;;;;;;CAUhC,CAAA;AAED,eAAO,MAAM,iBAAiB;2BACE,MAAM,SAAS,MAAM,UAAU,MAAM,IAAI,YAAY,MAAM,IAAI;6BAM7D,MAAM;;uBAUZ,MAAM;CAUjC,CAAA"}
@@ -0,0 +1,48 @@
1
+ import { ref, readonly } from 'vue';
2
+
3
+ const breadcrumbs = ref({});
4
+ const breadcrumbsUpdateMap = ref({});
5
+ const breadcrumbsScrollToMap = ref({});
6
+ const active = ref(null);
7
+ const usePageBreadcrumbs = () => {
8
+ const resetBreadcrumbs = () => {
9
+ breadcrumbs.value = {};
10
+ breadcrumbsUpdateMap.value = {};
11
+ active.value = null;
12
+ };
13
+ const scrollTo = (title) => {
14
+ breadcrumbsScrollToMap.value[title]?.();
15
+ };
16
+ return {
17
+ resetBreadcrumbs,
18
+ scrollTo,
19
+ breadcrumbs: readonly(breadcrumbs),
20
+ active: readonly(active)
21
+ };
22
+ };
23
+ const usePageBreadcrumb = () => {
24
+ const setBreadcrumb = (title, index, update, scrollTo) => {
25
+ breadcrumbs.value[title] = index;
26
+ breadcrumbsUpdateMap.value[title] = update;
27
+ breadcrumbsScrollToMap.value[title] = scrollTo;
28
+ };
29
+ const resetBreadcrumb = (title) => {
30
+ delete breadcrumbs.value[title];
31
+ delete breadcrumbsUpdateMap.value[title];
32
+ delete breadcrumbsScrollToMap.value[title];
33
+ };
34
+ const updateBreadcrumbs = () => {
35
+ Object.values(breadcrumbsUpdateMap.value).forEach((item) => item());
36
+ };
37
+ const setActive = (value) => {
38
+ active.value = value;
39
+ };
40
+ return {
41
+ setBreadcrumb,
42
+ resetBreadcrumb,
43
+ updateBreadcrumbs,
44
+ setActive
45
+ };
46
+ };
47
+
48
+ export { usePageBreadcrumb, usePageBreadcrumbs };
@@ -1 +1 @@
1
- {"version":3,"file":"WSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/WSelect.vue"],"names":[],"mappings":"AAkKA;AA6aA,OAAO,KAAK,EAAC,qBAAqB,EAA8B,WAAW,EAAC,MAAM,SAAS,CAAA;yBAa1E,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,kBAAkB,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,eACnI,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;WA8oB1D,mBAAmB,CAAC;;;;;;;sSAA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AI;YAC9B,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;YAChC,4BAA4B,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC9D,YAAY,GAAG,IAAI;;;;;YA+oBmB,OAAO,CAAC,OAAO,WAAW,CAAC;;AA/pBvE,wBA+pB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -12,7 +12,7 @@ const _hoisted_1 = {
12
12
  };
13
13
  const _hoisted_2 = {
14
14
  key: 1,
15
- class: "w-select-option first:pt-4 last:pb-4"
15
+ class: "w-select-option first:-pt--w-select-option-padding last:-pb--w-select-option-padding"
16
16
  };
17
17
  const _hoisted_3 = { class: "w-option flex cursor-default select-none items-center" };
18
18
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -30,6 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
30
  filterOptions: { type: Function },
31
31
  hideOptionIcon: { type: Boolean },
32
32
  createdData: {},
33
+ selectOnClose: { type: Boolean },
33
34
  mobileTitle: {},
34
35
  persist: { type: Boolean },
35
36
  type: {},
@@ -92,7 +93,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
92
93
  const cursor = ref(0);
93
94
  const isCursorLocked = ref(false);
94
95
  const search = ref("");
95
- const isModelValueSearch = computed(() => search.value && props.modelValue.includes(search.value));
96
+ const isModelValueSearch = computed(() => !!search.value && props.modelValue.includes(search.value));
96
97
  const searchPrepared = computed(() => isModelValueSearch.value ? "" : search.value.trim().toLocaleLowerCase());
97
98
  const enabled = computed(() => !props.disabled);
98
99
  const { data, isLoading, error: queryError } = props.useQueryFnOptions ? props.queryParamsOptions === void 0 ? props.useQueryFnOptions({ enabled }) : props.useQueryFnOptions(toRef(props, "queryParamsOptions"), { enabled }) : {
@@ -126,6 +127,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
126
127
  const close = () => {
127
128
  isOpen.value = false;
128
129
  focused.value = false;
130
+ if (props.selectOnClose && search.value && !isModelValueSearch.value) {
131
+ const optionExact = optionsFiltered.value.find((option) => props.valueGetter(option) === search.value);
132
+ if (optionExact) select(props.valueGetter(optionExact));
133
+ else create(search.value);
134
+ }
135
+ search.value = "";
129
136
  };
130
137
  const setLoadingOptionIndex = (value) => {
131
138
  if (isDisabled.value) return;
@@ -255,15 +262,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
255
262
  "onKeypress:down": withModifiers(cursorDown, ["prevent"]),
256
263
  "onKeypress:delete": captureDoubleDelete,
257
264
  onOpen: _cache[3] || (_cache[3] = ($event) => isOpen.value = true),
258
- onClose: _cache[4] || (_cache[4] = ($event) => {
259
- close();
260
- search.value = "";
261
- }),
262
- onFocus: _cache[5] || (_cache[5] = ($event) => {
265
+ onClose: close,
266
+ onFocus: _cache[4] || (_cache[4] = ($event) => {
263
267
  focused.value = true;
264
268
  _ctx.$emit("focus", $event);
265
269
  }),
266
- onBlur: _cache[6] || (_cache[6] = ($event) => {
270
+ onBlur: _cache[5] || (_cache[5] = ($event) => {
267
271
  focused.value = false;
268
272
  _ctx.$emit("blur", $event);
269
273
  })
@@ -305,11 +309,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
305
309
  scroll: isCursorLocked.value,
306
310
  "hide-option-icon": _ctx.hideOptionIcon,
307
311
  disabled: !search.value || isModelValueSearch.value,
308
- class: "first:pt-4 last:pb-4",
312
+ class: "first:-pt--w-select-option-padding last:-pb--w-select-option-padding",
309
313
  onSelect: _cache[0] || (_cache[0] = ($event) => create(search.value)),
310
314
  onMouseenter: _cache[1] || (_cache[1] = ($event) => setCursor(optionsFiltered.value.length))
311
315
  }, {
312
- prefix: withCtx(() => _cache[7] || (_cache[7] = [
316
+ prefix: withCtx(() => _cache[6] || (_cache[6] = [
313
317
  createElementVNode("div", { class: "w-option flex items-center pr-2" }, " Create: ", -1)
314
318
  ])),
315
319
  default: withCtx(() => [
@@ -341,7 +345,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
341
345
  loading: loadingOptionIndex.value === index && _ctx.loading,
342
346
  scroll: isCursorLocked.value,
343
347
  "hide-option-icon": _ctx.hideOptionIcon,
344
- class: "first:pt-4 last:pb-4",
348
+ class: "first:-pt--w-select-option-padding last:-pb--w-select-option-padding",
345
349
  onSelect: ($event) => {
346
350
  select(_ctx.valueGetter(option));
347
351
  setLoadingOptionIndex(index);
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectAsync.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/WSelectAsync.vue"],"names":[],"mappings":"AAyHA;AA4RA,OAAO,KAAK,EAAC,gBAAgB,EAAE,qBAAqB,EAA6B,MAAM,SAAS,CAAA;yBAW/E,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;WA+e1D,mBAAmB,CAAC;;;;;;;2RAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;;2BApXrB,MAAM,KAAG,IAAI;MAoX8B,GAAG,IAAI;WACpE,GAAG;;gBA1VD,MAAM,IAAI;mBACP,MAAM,IAAI;gBACb,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;iBACrC,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;Y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AK,GAAG,IAAI;YAC9B,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC1C,YAAY,GAAG,IAAI;YACnB,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;;;;YA4eM,OAAO,CAAC,OAAO,WAAW,CAAC;;AAngBvE,wBAmgB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -23,6 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
23
  createOption: {},
24
24
  hideOptionIcon: { type: Boolean },
25
25
  createdData: {},
26
+ selectOnClose: { type: Boolean },
26
27
  mobileTitle: {},
27
28
  persist: { type: Boolean },
28
29
  type: {},
@@ -85,6 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
85
86
  const search = ref("");
86
87
  const loadingCreate = ref(false);
87
88
  const isDisabled = computed(() => props.loading || props.readonly || props.disabled);
89
+ const isModelValueSearch = computed(() => !!search.value && props.modelValue.includes(search.value));
88
90
  const enabled = computed(() => !props.disabled);
89
91
  const queryParams = computed(() => ({ ...props.queryParamsOptions, [props.searchField ?? "search"]: search.value }));
90
92
  const queryParamsFirstPage = computed(() => ({ ...queryParams.value, page: 1 }));
@@ -96,6 +98,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
96
98
  const close = () => {
97
99
  isOpen.value = false;
98
100
  focused.value = false;
101
+ if (props.selectOnClose && search.value && !isModelValueSearch.value) {
102
+ const optionExact = firstPageData.value?.results.find((option) => props.valueGetter(option) === search.value);
103
+ if (optionExact) select(props.valueGetter(optionExact));
104
+ else create(search.value);
105
+ }
106
+ search.value = "";
99
107
  };
100
108
  let deletePressTimeout = null;
101
109
  const captureDoubleDelete = () => {
@@ -120,11 +128,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
120
128
  emit("unselect", item);
121
129
  search.value = "";
122
130
  };
123
- const create = async () => {
131
+ const create = async (value) => {
124
132
  if (isDisabled.value) return;
125
133
  if (!props.createOption) return;
126
134
  loadingCreate.value = true;
127
- const option = await props.createOption(search.value);
135
+ const option = await props.createOption(value);
128
136
  if (option) {
129
137
  select(props.valueGetter(option));
130
138
  search.value = "";
@@ -172,16 +180,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
172
180
  filterValue: _ctx.filterValue === void 0 ? _ctx.modelValue : _ctx.filterValue
173
181
  }, {
174
182
  class: _ctx.$attrs.class,
175
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => !_ctx.loading && !isFetchingPrefix.value && (search.value = $event ?? "")),
176
- "onKeypress:enter": _cache[2] || (_cache[2] = withModifiers(($event) => unref(listRef)?.selectCursor(), ["stop", "prevent"])),
177
- "onKeypress:up": _cache[3] || (_cache[3] = withModifiers(($event) => unref(listRef)?.cursorUp(), ["prevent"])),
178
- "onKeypress:down": _cache[4] || (_cache[4] = withModifiers(($event) => unref(listRef)?.cursorDown(), ["prevent"])),
183
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => !_ctx.loading && !isFetchingPrefix.value && (search.value = $event ?? "")),
184
+ "onKeypress:enter": _cache[3] || (_cache[3] = withModifiers(($event) => unref(listRef)?.selectCursor(), ["stop", "prevent"])),
185
+ "onKeypress:up": _cache[4] || (_cache[4] = withModifiers(($event) => unref(listRef)?.cursorUp(), ["prevent"])),
186
+ "onKeypress:down": _cache[5] || (_cache[5] = withModifiers(($event) => unref(listRef)?.cursorDown(), ["prevent"])),
179
187
  "onKeypress:delete": captureDoubleDelete,
180
- onOpen: _cache[5] || (_cache[5] = ($event) => isOpen.value = true),
181
- onClose: _cache[6] || (_cache[6] = ($event) => {
182
- close();
183
- search.value = "";
184
- }),
188
+ onOpen: _cache[6] || (_cache[6] = ($event) => isOpen.value = true),
189
+ onClose: close,
185
190
  onFocus: _cache[7] || (_cache[7] = ($event) => {
186
191
  focused.value = true;
187
192
  _ctx.$emit("focus", $event);
@@ -243,7 +248,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
243
248
  search: search.value,
244
249
  onSelect: select,
245
250
  onUnselect: unselect,
246
- "onCreate:option": create,
251
+ "onCreate:option": _cache[1] || (_cache[1] = ($event) => create(search.value)),
247
252
  "onUpdate:modelValue": updateSelected
248
253
  }, {
249
254
  default: withCtx(({ option, selected, skeleton: skeletonList }) => [
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/WSelectAsyncList.vue"],"names":[],"mappings":"AAyDA;yBA6GiB,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;WAgN1D,mBAAmB,CAAC;;;;;;gBA7MhB,MAAM;oBACF,MAAM;oBACN,KAAK,EAAE;oBACP,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;mBACb,OAAO;wBACF,CAAC,MAAM,WAAW,CAAC,EAAE;qBACxB,OAAO;uBACL,OAAO;yBACL,OAAO;sBACV,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK;uBACpB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;mBAkMe,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;kBA5KC,CAAC,KAAK,EAAE;YAAC,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I,EAAE,WAAW,CAAC;qBACnC,WAAW;mBACb,OAAO;wBACF,CAAC,MAAM,WAAW,CAAC,EAAE;qBACxB,OAAO;uBACL,OAAO;yBACL,OAAO;sBACV,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK;uBACpB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;mBAgMe,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;kBA1KC,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;kBAA5F,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;;YAVlG,QAAQ,SAAS,KAAK,GAAG,IAAI;YAC7B,UAAU,SAAS,KAAK,GAAG,IAAI;YAC/B,oBAAoB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC3C,cAAc,SAAS,MAAM,GAAG,IAAI;;;;;YAsLE,OAAO,CAAC,OAAO,WAAW,CAAC;;AAxNvE,wBAwN4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -54,7 +54,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
54
  "value-getter": _ctx.valueGetter,
55
55
  "query-options": _ctx.queryOptions,
56
56
  transition: "",
57
- "no-padding": "",
58
57
  onSelect: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("select", $event)),
59
58
  onUnselect: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("unselect", $event)),
60
59
  "onUpdate:count": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:count", $event)),
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectAsyncSingle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/WSelectAsyncSingle.vue"],"names":[],"mappings":"AAqDA;AA4FA,OAAO,KAAK,EAAC,sBAAsB,EAAE,qBAAqB,EAAC,MAAM,SAAS,CAAA;yBAMzD,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAAE,UAAU,SAAS,OAAO,uBACxJ,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;WAyL1D,mBAAmB,CAAC;;;0PAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;uBAnCiB,GAAG;0BACA,GAAG;;;;;;YACL,GAAG;uBACJ,GAAG;;;YAjJzB,mBAAmB,0DAAoB,IAAI;YAC3C,YAAY,GAAG,IAAI;;;;;YAqLmB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAnMvE,wBAmM4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"WSelectAsyncSingle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/WSelectAsyncSingle.vue"],"names":[],"mappings":"AAsDA;AA6FA,OAAO,KAAK,EAAC,sBAAsB,EAAE,qBAAqB,EAAC,MAAM,SAAS,CAAA;yBAMzD,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAAE,UAAU,SAAS,OAAO,uBACxJ,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;WA2L1D,mBAAmB,CAAC;;;0PAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;uBAnCiB,GAAG;0BACA,GAAG;;;;;;YACL,GAAG;uBACJ,GAAG;;;YAnJzB,mBAAmB,0DAAoB,IAAI;YAC3C,YAAY,GAAG,IAAI;;;;;YAuLmB,OAAO,CAAC,OAAO,WAAW,CAAC;;AArMvE,wBAqM4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
21
  hidePrefix: { type: Boolean },
22
22
  createOption: { type: Function },
23
23
  hideOptionIcon: { type: Boolean },
24
+ selectOnClose: { type: Boolean },
24
25
  mobileTitle: {},
25
26
  persist: { type: Boolean },
26
27
  type: {},
@@ -94,7 +95,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
94
95
  previewData: _ctx.previewData ? [_ctx.previewData] : void 0,
95
96
  createdData: _ctx.createdData ? [_ctx.createdData] : void 0,
96
97
  hidePrefix: true,
97
- filterValue: _ctx.filterValue === void 0 ? _ctx.modelValue : _ctx.filterValue
98
+ filterValue: _ctx.filterValue === void 0 ? _ctx.modelValue : _ctx.filterValue,
99
+ selectOnClose: props.searchModel ? props.searchModel : props.selectOnClose
98
100
  }, {
99
101
  class: _ctx.$attrs.class,
100
102
  onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/WSelectSingle.vue"],"names":[],"mappings":"AAuDA;AAiGA,OAAO,KAAK,EAAC,qBAAqB,EAAE,iBAAiB,EAAC,MAAM,SAAS,CAAA;yBAMpD,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,kBAAkB,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAAE,UAAU,SAAS,OAAO,uBAC/J,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;WAoM1D,mBAAmB,CAAC;;;;8RAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;uBAnCiB,GAAG;0BACA,GAAG;;;;;;YACL,GAAG;uBACJ,GAAG;;;YA5JzB,oBAAoB,0DAAoB,IAAI;YAC5C,4BAA4B,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC9D,YAAY,GAAG,IAAI;;;;;YA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GAAG,EAAE,CAAC"}
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  createOption: { type: Function },
18
18
  filterOptions: { type: Function },
19
19
  hideOptionIcon: { type: Boolean },
20
+ selectOnClose: { type: Boolean },
20
21
  mobileTitle: {},
21
22
  persist: { type: Boolean },
22
23
  type: {},
@@ -93,7 +94,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
93
94
  disableClear: !_ctx.allowClear,
94
95
  createdData: _ctx.createdData ? [_ctx.createdData] : void 0,
95
96
  hidePrefix: true,
96
- filterValue: _ctx.filterValue === void 0 ? _ctx.modelValue : _ctx.filterValue
97
+ filterValue: _ctx.filterValue === void 0 ? _ctx.modelValue : _ctx.filterValue,
98
+ selectOnClose: props.searchModel ? props.searchModel : props.selectOnClose
97
99
  }, {
98
100
  class: _ctx.$attrs.class,
99
101
  onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  filterOptions: { type: Function },
18
18
  hideOptionIcon: { type: Boolean },
19
19
  createdData: {},
20
+ selectOnClose: { type: Boolean },
20
21
  mobileTitle: {},
21
22
  persist: { type: Boolean },
22
23
  type: {},
@@ -1 +1 @@
1
- {"version":3,"file":"SelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/components/SelectAsyncList.vue"],"names":[],"mappings":"AAqHA;yBA2QiB,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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CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"SelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/components/SelectAsyncList.vue"],"names":[],"mappings":"AAsHA;yBA4QiB,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;;;;;;;oBAled,KAAK,EAAE;oBACP,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;2BACL,OAAO,GAAG,IAAI;kBACvB,OAAO;mBACN,OAAO;qBACL,OAAO;wBACJ,CAAC,MAAM,WAAW,CAAC,EAAE;oBACzB,OAAO;oBACP,MAAM;qBACL,OAAO;uBACL,OAAO;sBACR,OAAO;yBACJ,OAAO;qBACX,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK;uBACnB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC3D,OAAO;iBACd,MAAM;mBAid6E,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;;;MAAsB,GAAG,IAAI;WACpE,GAAG;;kBAnWC,CAAC,KAAK,EAAE;YAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAA;YACnB,QAAQ,EAAE,OAAO,CAAA;YACjB,QAAQ,EAAE,OAAO,CAAA;YACjB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;SAC3B,KAAK,IAAI;;kBALA,CAAC,KAAK,EAAE;YAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAA;YACnB,QAAQ,EAAE,OAAO,CAAA;YACjB,QAAQ,EAAE,OAAO,CAAA;YACjB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;SAC3B,KAAK,IAAI;;;YAhHN,QAAQ,SAAS,KAAK,GAAG,IAAI;YAC7B,UAAU,SAAS,KAAK,GAAG,IAAI;YAC/B,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC1C,eAAe,GAAG,IAAI;;;;;YA+cgB,OAAO,CAAC,OAAO,WAAW,CAAC;;AA/evE,wBA+e4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -116,7 +116,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
116
116
  first: count.value === 0,
117
117
  "is-no-cursor": cursor.value === void 0,
118
118
  "hide-option-icon": _ctx.hideOptionIcon,
119
- class: "first:pt-4 last:pb-4",
119
+ disabled: !_ctx.search || isModelValueSearch.value,
120
+ class: "first:-pt--w-select-option-padding last:-pb--w-select-option-padding",
120
121
  onMouseenter: _cache[0] || (_cache[0] = ($event) => setCursor(null)),
121
122
  "onUpdate:cursor": _cache[1] || (_cache[1] = ($event) => setCursor(null)),
122
123
  onSelect: _cache[2] || (_cache[2] = ($event) => {
@@ -128,7 +129,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
128
129
  "onUpdate:next": _cache[4] || (_cache[4] = ($event) => cursorNext.value = $event),
129
130
  onUnmounted: _cache[5] || (_cache[5] = ($event) => updateCursor(void 0))
130
131
  }, {
131
- prefix: withCtx(() => _cache[11] || (_cache[11] = [
132
+ prefix: withCtx(() => _cache[10] || (_cache[10] = [
132
133
  createElementVNode("span", { class: "w-option flex items-center pr-2" }, " Create: ", -1)
133
134
  ])),
134
135
  default: withCtx(() => [
@@ -141,7 +142,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
141
142
  }) : (openBlock(), createElementBlock("div", _hoisted_1, " Start typing.. "))
142
143
  ]),
143
144
  _: 3
144
- }, 8, ["is-cursor", "loading", "scroll", "previous", "next", "first", "is-no-cursor", "hide-option-icon"])) : createCommentVNode("", true),
145
+ }, 8, ["is-cursor", "loading", "scroll", "previous", "next", "first", "is-no-cursor", "hide-option-icon", "disabled"])) : createCommentVNode("", true),
145
146
  createVNode(_sfc_main$2, {
146
147
  "use-query-fn": _ctx.useQueryFn,
147
148
  "query-params": _ctx.queryParams,
@@ -158,12 +159,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
158
159
  "header-top-ignore": "",
159
160
  "min-height": "",
160
161
  "no-gap": "",
161
- "onUpdate:count": _cache[9] || (_cache[9] = ($event) => {
162
+ "onUpdate:count": _cache[8] || (_cache[8] = ($event) => {
162
163
  _ctx.$emit("update:count", $event);
163
164
  count.value = $event;
164
165
  updateCursor(void 0);
165
166
  }),
166
- "onUpdate:selected": _cache[10] || (_cache[10] = ($event) => !_ctx.disabled && _ctx.$emit("update:modelValue", $event))
167
+ "onUpdate:selected": _cache[9] || (_cache[9] = ($event) => !_ctx.disabled && _ctx.$emit("update:modelValue", $event))
167
168
  }, {
168
169
  default: withCtx(({ item, skeleton, previous, next, first, last }) => [
169
170
  createVNode(_sfc_main$1, {
@@ -174,13 +175,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
174
175
  scroll: isCursorLocked.value,
175
176
  first,
176
177
  last,
177
- previous: first && props.allowCreate ? null : previous ? _ctx.valueGetter(previous) : void 0,
178
- next: last && props.allowCreate ? null : next ? _ctx.valueGetter(next) : void 0,
178
+ previous: first && _ctx.allowCreate ? null : previous ? _ctx.valueGetter(previous) : void 0,
179
+ next: last && _ctx.allowCreate ? null : next ? _ctx.valueGetter(next) : void 0,
179
180
  "is-no-cursor": cursor.value === void 0,
180
181
  "hide-option-icon": _ctx.hideOptionIcon,
181
182
  class: normalizeClass({
182
- "pt-4": !_ctx.noPadding && first && !_ctx.allowCreate,
183
- "pb-4": !_ctx.noPadding && last
183
+ "-pt--w-select-option-padding": !_ctx.noPadding && first && !_ctx.allowCreate,
184
+ "-pb--w-select-option-padding": !_ctx.noPadding && last
184
185
  }),
185
186
  onSelect: ($event) => emitSelect(_ctx.valueGetter(item)),
186
187
  onUnselect: ($event) => emitUnselect(_ctx.valueGetter(item)),
@@ -189,7 +190,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
189
190
  "onUpdate:isCursor": updateCursors,
190
191
  "onUpdate:previous": _cache[6] || (_cache[6] = ($event) => cursorPrevious.value = $event),
191
192
  "onUpdate:next": _cache[7] || (_cache[7] = ($event) => cursorNext.value = $event),
192
- onUnmounted: _cache[8] || (_cache[8] = ($event) => updateCursor(void 0)),
193
+ onUnmounted: ($event) => updateCursor(next ? _ctx.valueGetter(next) : void 0),
193
194
  "onUpdate:first": ($event) => firstItem.value = _ctx.valueGetter(item),
194
195
  "onUpdate:last": ($event) => lastItem.value = _ctx.valueGetter(item)
195
196
  }, {
@@ -202,12 +203,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
202
203
  })
203
204
  ]),
204
205
  _: 2
205
- }, 1032, ["is-selected", "is-cursor", "loading", "skeleton", "scroll", "first", "last", "previous", "next", "is-no-cursor", "hide-option-icon", "class", "onSelect", "onUnselect", "onMouseenter", "onUpdate:cursor", "onUpdate:first", "onUpdate:last"])
206
+ }, 1032, ["is-selected", "is-cursor", "loading", "skeleton", "scroll", "first", "last", "previous", "next", "is-no-cursor", "hide-option-icon", "class", "onSelect", "onUnselect", "onMouseenter", "onUpdate:cursor", "onUnmounted", "onUpdate:first", "onUpdate:last"])
206
207
  ]),
207
208
  empty: withCtx(() => [
208
209
  createElementVNode("div", {
209
- class: normalizeClass(["w-select-option pb-4", {
210
- "pt-4": !_ctx.noPadding && !_ctx.allowCreate
210
+ class: normalizeClass(["w-select-option -pb--w-select-option-padding", {
211
+ "-pt--w-select-option-padding": !_ctx.noPadding && !_ctx.allowCreate
211
212
  }])
212
213
  }, [
213
214
  createElementVNode("div", _hoisted_2, toDisplayString(!_ctx.search && _ctx.emptyStub ? _ctx.emptyStub : "No match"), 1)
@@ -4,7 +4,7 @@ import IconCheck from '../../../assets/icons/default/IconCheck.svg.js';
4
4
 
5
5
  const _hoisted_1 = {
6
6
  key: 0,
7
- class: "text-primary-default dark:text-primary-dark w-spinner-size-[1.5em] col-start-3 flex items-center justify-center"
7
+ class: "text-primary-default dark:text-primary-dark w-spinner-size-[1.25em] col-start-3 flex items-center justify-self-end"
8
8
  };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  __name: "SelectOption",
@@ -69,7 +69,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
69
69
  return (_ctx, _cache) => {
70
70
  return openBlock(), createElementBlock("div", {
71
71
  ref: "element",
72
- class: normalizeClass(["w-select-option relative grid w-full grid-cols-[auto,1fr,2.5rem]", {
72
+ class: normalizeClass(["w-select-option relative grid w-full grid-cols-[auto,1fr,1.25em]", {
73
73
  "bg-primary-light/30 dark:bg-primary-darkest/30": _ctx.isSelected,
74
74
  "before:opacity-5": !_ctx.loading && _ctx.isCursor && !_ctx.skeleton && !_ctx.disabled,
75
75
  "cursor-progress": _ctx.loading || _ctx.skeleton,
@@ -82,7 +82,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
82
82
  }, [
83
83
  renderSlot(_ctx.$slots, "prefix"),
84
84
  createElementVNode("div", {
85
- class: normalizeClass(["col-start-2 flex items-center overflow-hidden", {
85
+ class: normalizeClass(["-pr--w-option-padding col-start-2 flex items-center overflow-hidden", {
86
86
  "col-span-2": _ctx.hideOptionIcon
87
87
  }])
88
88
  }, [
@@ -98,7 +98,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
98
98
  !_ctx.hideOptionIcon && (_ctx.isSelected || _ctx.loading) ? (openBlock(), createElementBlock("div", _hoisted_1, [
99
99
  _ctx.isSelected && !_ctx.loading ? (openBlock(), createBlock(unref(IconCheck), {
100
100
  key: 0,
101
- class: "square-[1.5em]"
101
+ class: "square-[1.25em]"
102
102
  })) : _ctx.loading ? (openBlock(), createBlock(WSpinner, { key: 1 })) : createCommentVNode("", true)
103
103
  ])) : createCommentVNode("", true)
104
104
  ]),
@@ -39,6 +39,7 @@ export interface SelectProps<Model extends number | string, Data extends Default
39
39
  filterOptions?: (option: Data) => boolean;
40
40
  hideOptionIcon?: boolean;
41
41
  createdData?: Data[];
42
+ selectOnClose?: boolean;
42
43
  }
43
44
  export interface SelectPrefixProps<Data extends DefaultData, OptionComponent extends SelectOptionComponent<Data>> extends SelectOptionComponentProps<Data, OptionComponent> {
44
45
  option: Data | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,0BAA0B,CAAA;AAC/D,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAA;AAElC,MAAM,MAAM,iBAAiB,CAAC,MAAM,IAAI;IAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAC,CAAA;AAEzH,MAAM,MAAM,qBAAqB,CAAC,MAAM,IAAI,SAAS,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAA;AAEhF,MAAM,WAAW,0BAA0B,CAAC,MAAM,EAAE,eAAe,SAAS,qBAAqB,CAAC,MAAM,CAAC;IACvG,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,oBAAoB,CAAC,EAAE,eAAe,SAAS,SAAS,CAAC,MAAM,KAAK,CAA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,YAAY,GAAG,cAAc,GAAG,aAAa,GAAG,aAAa,CAAC;IACxI,UAAU,EAAE,KAAK,GAAG,IAAI,CAAA;IACxB,UAAU,CAAC,EAAE,OAAO,GAAG,UAAU,CAAA;IACjC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,IAAI,CAAA;IAClB,WAAW,CAAC,EAAE,IAAI,CAAA;CACnB"}
@@ -65,6 +65,7 @@ import { default as WNavItemTransition } from '../components/Nav/WNavItemTransit
65
65
  import { default as WNotify } from '../components/Notify/WNotify.vue';
66
66
  import { default as WNumberFormatter } from '../components/NumberFormatter/WNumberFormatter.vue';
67
67
  import { default as WPage } from '../components/Page/WPage.vue';
68
+ import { default as WPageBreadcrumbs } from '../components/Page/WPageBreadcrumbs.vue';
68
69
  import { default as WPageNumerator } from '../components/Page/WPageNumerator.vue';
69
70
  import { default as WPageTitle } from '../components/Page/WPageTitle.vue';
70
71
  import { default as WProgress } from '../components/Progress/WProgress.vue';
@@ -86,5 +87,5 @@ declare const _default: {
86
87
  install: (app: App | any) => void;
87
88
  };
88
89
  export default _default;
89
- export { WActionsBar, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonInput, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WButtonSelectionState, WButtonUnselect, WCheckbox, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDropdown, WDropdownMenu, WEmptyComponent, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormValidator, WFormAsyncButtonGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncSelectStringified, WFormAsyncToggle, 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, };
90
+ export { WActionsBar, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonInput, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WButtonSelectionState, WButtonUnselect, WCheckbox, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDropdown, WDropdownMenu, WEmptyComponent, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormValidator, WFormAsyncButtonGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncSelectStringified, WFormAsyncToggle, 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, WPageBreadcrumbs, WPageNumerator, WPageTitle, WProgress, WSelect, WSelectAsync, WSelectAsyncList, WSelectAsyncSingle, WSelectSingle, WSelectStringified, WSkeleton, WSpinner, WTabs, WTabsColumns, WTabsItem, WToggle, WTooltip, WTooltipContainer, };
90
91
  //# 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;AAE5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eAAe,EACf,gBAAgB,EAChB,8BAA8B,EAC9B,sBAAsB,EACtB,2BAA2B,EAC3B,gBAAgB,EAChB,UAAU,EACV,YAAY,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"}
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,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,gDAAg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AAgB,EAChB,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"}
package/dist/main.js CHANGED
@@ -68,6 +68,7 @@ export { default as WNavItemTransition } from './components/Nav/WNavItemTransiti
68
68
  export { default as WNotify } from './components/Notify/WNotify.vue.js';
69
69
  export { default as WNumberFormatter } from './components/NumberFormatter/WNumberFormatter.vue.js';
70
70
  export { default as WPage } from './components/Page/WPage.vue.js';
71
+ export { default as WPageBreadcrumbs } from './components/Page/WPageBreadcrumbs.vue.js';
71
72
  export { default as WPageNumerator } from './components/Page/WPageNumerator.vue.js';
72
73
  export { default as WPageTitle } from './components/Page/WPageTitle.vue.js';
73
74
  export { default as WProgress } from './components/Progress/WProgress.vue.js';
@@ -1 +1 @@
1
- {"version":3,"file":"useDefaultQuery.d.ts","sourceRoot":"","sources":["../../../src/utils/useDefaultQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAA2B,MAAM,qBAAqB,CAAA;AAGtH,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAA;AAE9B,KAAK,MAAM,GAAG,UAAU,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAAA;AAEvD,KAAK,OAAO,CAAC,YAAY,GAAG,OAAO,IAAI,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAAA;AAEhI,KAAK,yBAAyB,CAAC,YAAY,GAAG,OAAO,EAAE,KAAK,GAAG,YAAY,IAAI,kBAAkB,CAAC,KAAK,EAAE,QAAQ,CAAC,GAA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KAAK,GAAG,YAAY,IAAI,kBAAkB,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG;IACnH,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,eAAe,GAC1B,YAAY,YACZ,KAAK,iBACL,SAAS,SAAS,QAAQ;;;+EACuD,yBAAyB,CAAC,YAAY,EAAE,KAAK,CAO/H,CAAA;AAED,eAAO,MAAM,WAAW,KAAK,CAAA;AAE7B,eAAO,MAAM,kBAAkB,GAAI,IAAI,EAAE,WAAW,SAAS;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAC,OAAO,MAAM,UAAU,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,EAAE,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,0BAA6B,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAoDvO,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,IAAI,EAAE,WAAW,SAAS;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAC,OAAO,MAAM,WAAW,eAAe,CAAC,IAAI,EAAE,CAAC,KAAG,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAYnK,CAAA"}
@@ -13,22 +13,20 @@ const makeQueryPaginated = (key, getter, setter, pageLength = PAGE_LENGTH) => {
13
13
  return (queryParams, options = {}) => {
14
14
  const query = useDefaultQuery({
15
15
  queryKey: [key, queryParams],
16
- queryFn: () => {
17
- return new Promise((resolve, reject) => {
18
- const currentList = getter(unref(queryParams));
19
- const current = Math.max(unref(queryParams).page ?? 1, 1);
20
- const pages_count = Math.max(Math.ceil(currentList.length / pageLength), 1);
21
- if (current > pages_count) reject(new ApiError({ status: 404 }));
22
- else resolve({
23
- count: currentList.length,
24
- pages_count,
25
- current,
26
- next: pages_count > current ? current + 1 : null,
27
- previous: current !== 1 ? current - 1 : null,
28
- results: currentList.slice(pageLength * (current - 1), pageLength * current)
29
- });
16
+ queryFn: () => new Promise((resolve, reject) => {
17
+ const currentList = getter(unref(queryParams));
18
+ const current = Math.max(unref(queryParams).page ?? 1, 1);
19
+ const pages_count = Math.max(Math.ceil(currentList.length / pageLength), 1);
20
+ if (current > pages_count) reject(new ApiError({ status: 404 }));
21
+ else resolve({
22
+ count: currentList.length,
23
+ pages_count,
24
+ current,
25
+ next: pages_count > current ? current + 1 : null,
26
+ previous: current !== 1 ? current - 1 : null,
27
+ results: currentList.slice(pageLength * (current - 1), pageLength * current)
30
28
  });
31
- },
29
+ }),
32
30
  ...options
33
31
  });
34
32
  const setDataOld = query.setData;
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.16",
7
+ "version": "0.10.18",
8
8
  "scripts": {
9
9
  "build": "run-p type-check \"build-only {@}\" --",
10
10
  "dev": "vite build --watch",
@@ -356,6 +356,9 @@
356
356
  "./dist/components/Page/WPage.vue": {
357
357
  "import": "./dist/components/Page/WPage.vue.js"
358
358
  },
359
+ "./dist/components/Page/WPageBreadcrumbs.vue": {
360
+ "import": "./dist/components/Page/WPageBreadcrumbs.vue.js"
361
+ },
359
362
  "./dist/components/Page/WPageNumerator.vue": {
360
363
  "import": "./dist/components/Page/WPageNumerator.vue.js"
361
364
  },
@@ -184,12 +184,13 @@ const pluginDefault = plugin(function ({matchUtilities, addVariant, addUtilities
184
184
  'margin-right': 'calc(var(--w-option-rounded) * -1)',
185
185
  },
186
186
  '.w-select-option': {
187
- padding: '0.5rem calc(var(--w-option-padding) + var(--w-input-gap) + 1px)',
187
+ padding: 'calc(var(--w-select-option-padding) / 2) var(--w-select-option-padding)',
188
188
  },
189
189
  body: {
190
190
  '--w-option-height': 'calc(var(--w-input-height,2.75rem) - (var(--w-input-gap,0.25rem) * 2) - 2px)',
191
191
  '--w-option-rounded': 'calc(var(--w-input-rounded,0.75rem) - var(--w-input-gap,0.25rem))',
192
192
  '--w-option-padding': 'var(--w-input-rounded,0.75rem)',
193
+ '--w-select-option-padding': 'calc(var(--w-option-padding) + var(--w-input-gap) + 1px)',
193
194
  },
194
195
  })
195
196
 
@@ -14,6 +14,7 @@ const newValues = {
14
14
  '--w-option-padding': 'var(--w-option-padding)',
15
15
  '--w-input-height': 'var(--w-input-height)',
16
16
  '--w-input-gap': 'var(--w-input-gap)',
17
+ '--w-select-option-padding': 'var(--w-select-option-padding)',
17
18
  }
18
19
 
19
20
  const extend = {