eco-vue-js 0.6.5 → 0.6.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
  2. package/dist/components/InfiniteList/WInfiniteList.vue.js +5 -4
  3. package/dist/components/InfiniteList/components/EmptyComponent.vue.d.ts.map +1 -1
  4. package/dist/components/InfiniteList/components/EmptyComponent.vue.js +11 -9
  5. package/dist/components/InfiniteList/components/EmptyComponent.vue2.js +5 -0
  6. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
  7. package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +4 -5
  8. package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.js +1 -1
  9. package/dist/components/Nav/WNavItem.vue.d.ts +1 -1
  10. package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
  11. package/dist/components/Nav/WNavItem.vue.js +5 -4
  12. package/dist/components/Select/WSelect.vue.d.ts +3 -3
  13. package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
  14. package/dist/components/Select/WSelect.vue.js +9 -7
  15. package/dist/components/Select/WSelectAsync.vue.d.ts +3 -3
  16. package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
  17. package/dist/components/Select/WSelectAsync.vue.js +7 -5
  18. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts +3 -3
  19. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
  20. package/dist/components/Select/WSelectAsyncSingle.vue.js +3 -2
  21. package/dist/components/Select/WSelectSingle.vue.d.ts +3 -3
  22. package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
  23. package/dist/components/Select/WSelectSingle.vue.js +3 -2
  24. package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts +3 -19
  25. package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts.map +1 -1
  26. package/dist/components/Select/components/SelectAsyncPrefix.vue.js +5 -3
  27. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts +3 -18
  28. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
  29. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +7 -7
  30. package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts +3 -13
  31. package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts.map +1 -1
  32. package/dist/components/Select/components/SelectOptionPrefix.vue.js +7 -7
  33. package/dist/components/Select/types.d.ts +43 -14
  34. package/dist/components/Select/types.d.ts.map +1 -1
  35. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"WInfiniteList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfiniteList/WInfiniteList.vue"],"names":[],"mappings":"yBAiQiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,QAAQ,EAAE,WAAW,eACjF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAmYxD,cAAc,CAAC;;;;;;;;;;;;;;;oBA/XT,iBAAiB,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;uBAC3C,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO;qBAC7B,WAAW;yBACP,MAAM;wBACP,OAAO;uBACR,MAAM;2BACF,OAAO;eACnB,OAAO;gBACN,OAAO;qBACF,OAAO;2BACD,OAAO,GAAG,IAAI;0BACf,OAAO;oBACb,OAAO;oBACP,OAAO;wBACH,CAAC,MAAM,WAAW,CAAC,EAAE;oBACzB,MAAM;oBACN,MAAM;mBACP,MAAM;0BACC,MAAM,GAAG,KAAK;uBACjB,OAAO,CAAC,UAAU,C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KAAK,EAAE;YACf,IAAI,SAhFY,MAAM,cAAc,MAAM,UAgFzB;YACjB,cAAc,iBAA6B;SAC5C,KAAK,IAAI;;kBAhBA,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;SACd,KAAK,IAAI;iBACD,CAAC,KAAK,EAAE;YACf,IAAI,SAhFY,MAAM,cAAc,MAAM,UAgFzB;YACjB,cAAc,iBAA6B;SAC5C,KAAK,IAAI;MAsO+B;UAClC;YAxUH,aAAa,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC/C,uBAAuB,SAAS,MAAM,GAAG,IAAI;YAC7C,cAAc,SAAS,MAAM,GAAG,IAAI;YAEpC,QAAQ,UAAU,KAAK,EAAE,GAAG,IAAI;YAChC,gBAAgB,UAAU,KAAK,EAAE,GAAG,IAAI;YACxC,cAAc,SAAS,aAAa,CAAC,KAAK,CAAC,GAAG,IAAI;UAkUb;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AA7YvE,wBA6Y4E;AAY5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,9 +1,10 @@
1
- import { defineComponent, ref, toRef, provide, watch, onMounted, onBeforeUnmount, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, unref, renderSlot, normalizeProps, guardReactiveProps, createCommentVNode, createVNode, withCtx } from 'vue';
1
+ import { defineComponent, ref, toRef, provide, watch, onMounted, onBeforeUnmount, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, unref, renderSlot, normalizeProps, guardReactiveProps, createCommentVNode, createVNode, withCtx, createBlock, resolveDynamicComponent } from 'vue';
2
2
  import { useInfiniteListHeader } from './use/useInfiniteListHeader.js';
3
3
  import _sfc_main$1 from './WInfiniteListPages.vue.js';
4
- import _sfc_main$2 from './components/InfiniteListPageSelectItem.vue.js';
4
+ import _sfc_main$3 from './components/InfiniteListPageSelectItem.vue.js';
5
5
  import { useSelected } from './use/useSelected.js';
6
6
  import { wInfiniteListSelection } from './models/injection.js';
7
+ import _sfc_main$2 from './components/EmptyComponent.vue.js';
7
8
 
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "WInfiniteList",
@@ -153,7 +154,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
153
154
  "onUpdate:page": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:page", $event))
154
155
  }, {
155
156
  default: withCtx(({ item, setter, skeleton, refetch, previous, next, first, last, resetting, page, index }) => [
156
- createVNode(_sfc_main$2, {
157
+ (openBlock(), createBlock(resolveDynamicComponent(skeleton ? _sfc_main$2 : _sfc_main$3), {
157
158
  selected: skeleton ? false : unref(getIsSelected)(_ctx.valueGetter(item)),
158
159
  "selected-between": skeleton ? false : unref(getIsSelectedBetween)(_ctx.valueGetter(item), page, index),
159
160
  "onUpdate:selected": ($event) => {
@@ -179,7 +180,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
179
180
  })
180
181
  ]),
181
182
  _: 2
182
- }, 1032, ["selected", "selected-between", "onUpdate:selected", "onUpdate:selectedRange", "onUpdate:selectedRangeHover"])
183
+ }, 1064, ["selected", "selected-between", "onUpdate:selected", "onUpdate:selectedRange", "onUpdate:selectedRangeHover"]))
183
184
  ]),
184
185
  _: 3
185
186
  }, 8, ["query-params", "use-query-fn", "is-invalid-page", "scrolling-element", "skip-scroll-target", "skeleton-length", "hide-page-title", "wrap", "no-gap", "transition", "page-length", "header-top", "header-height", "min-height", "last-child", "exclude-params", "empty-stub", "page-class", "max-pages", "refetch-interval", "query-options", "selected", "value-getter", "select-only", "unselect-only", "reverse-selection", "allow-page-selection"])
@@ -1 +1 @@
1
- {"version":3,"file":"EmptyComponent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/EmptyComponent.vue"],"names":[],"mappings":"AAWA,iBAAS,cAAc;qBAgBM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"EmptyComponent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/EmptyComponent.vue"],"names":[],"mappings":"AAqBA,iBAAS,cAAc;qBAgBM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,11 +1,13 @@
1
- import { renderSlot } from 'vue';
2
- import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
1
+ import { defineComponent, renderSlot } from 'vue';
3
2
 
4
- const _sfc_main = {};
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ ...{ inheritAttrs: false },
5
+ __name: "EmptyComponent",
6
+ setup(__props) {
7
+ return (_ctx, _cache) => {
8
+ return renderSlot(_ctx.$slots, "default");
9
+ };
10
+ }
11
+ });
5
12
 
6
- function _sfc_render(_ctx, _cache) {
7
- return renderSlot(_ctx.$slots, "default")
8
- }
9
- const EmptyComponent = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
10
-
11
- export { EmptyComponent as default };
13
+ export { _sfc_main as default };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './EmptyComponent.vue.js';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -1 +1 @@
1
- {"version":3,"file":"InfiniteListPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPage.vue"],"names":[],"mappings":"yBA2WiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,QAAQ,EAAE,WAAW,eACjF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA+bxD,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;qBA3bR,WAAW;oBACZ,iBAAiB,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;uBAC3C,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO;wBAC1B,MAAM;mBACX,OAAO;kBACR,OAAO;wBACD,OAAO;eAChB,OAAO;gBACN,OAAO;qBACF,OAAO;oBACR,OAAO;oBACP,MAAM;oBACN,OAAO;oBACP,OAAO;oBACP,MAAM;0BACA,MAAM,GAAG,KAAK;2BACb,OAAO,GAAG,IAAI;uBAClB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CA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AM,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;UA6YqB;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAzcvE,wBAyc4E;AAY5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"InfiniteListPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPage.vue"],"names":[],"mappings":"yBA0WiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,QAAQ,EAAE,WAAW,eACjF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA8bxD,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;qBA1bR,WAAW;oBACZ,iBAAiB,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;uBAC3C,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO;wBAC1B,MAAM;mBACX,OAAO;kBACR,OAAO;wBACD,OAAO;eAChB,OAAO;gBACN,OAAO;qBACF,OAAO;oBACR,OAAO;oBACP,MAAM;oBACN,OAAO;oBACP,OAAO;oBACP,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H,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;UA4YqB;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAxcvE,wBAwc4E;AAY5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, toRef, computed, watch, onMounted, nextTick, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, unref, Fragment, createElementVNode, createBlock, createCommentVNode, resolveDynamicComponent, TransitionGroup, normalizeProps, mergeProps, withCtx, renderList, guardReactiveProps, renderSlot, toDisplayString } from 'vue';
2
2
  import _sfc_main$2 from './InfiniteListPageTitle.vue.js';
3
3
  import _sfc_main$1 from './InfiniteListPageSelection.vue.js';
4
- import EmptyComponent from './EmptyComponent.vue.js';
4
+ import _sfc_main$3 from './EmptyComponent.vue.js';
5
5
 
6
6
  const _hoisted_1 = { class: "select-none cursor-default w-select-field sm-not:px-3" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -44,7 +44,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
44
44
  toRef(props, "queryParams"),
45
45
  {
46
46
  ...props.queryOptions ?? {},
47
- placeholderData: void 0,
48
47
  refetchInterval: props.refetchInterval ? computed(() => isIntersecting.value ? props.refetchInterval : void 0) : void 0
49
48
  }
50
49
  );
@@ -196,7 +195,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
196
195
  createElementVNode("div", {
197
196
  class: normalizeClass(_ctx.pageClass)
198
197
  }, [
199
- hasData.value && unref(data)?.results ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.transition ? TransitionGroup : EmptyComponent), normalizeProps(mergeProps({ key: 0 }, _ctx.transition ? {
198
+ hasData.value && unref(data)?.results ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.transition ? TransitionGroup : _sfc_main$3), normalizeProps(mergeProps({ key: 0 }, _ctx.transition ? {
200
199
  ["enter-active-class"]: "transition-[grid-template-rows] overflow-hidden grid",
201
200
  ["enter-from-class"]: "grid-rows-[0fr]",
202
201
  ["enter-to-class"]: "grid-rows-[1fr]",
@@ -207,11 +206,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
207
206
  } : void 0)), {
208
207
  default: withCtx(() => [
209
208
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(data).results, (item, index) => {
210
- return openBlock(), createBlock(resolveDynamicComponent(_ctx.transition ? "div" : EmptyComponent), normalizeProps(mergeProps({
209
+ return openBlock(), createBlock(resolveDynamicComponent(_ctx.transition ? "div" : _sfc_main$3), normalizeProps(mergeProps({
211
210
  key: _ctx.valueGetter(item)
212
211
  }, _ctx.transition ? { class: "w-full" } : void 0)), {
213
212
  default: withCtx(() => [
214
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.transition ? "div" : EmptyComponent), normalizeProps(guardReactiveProps(_ctx.transition ? { class: "[overflow:inherit]" } : void 0)), {
213
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.transition ? "div" : _sfc_main$3), normalizeProps(guardReactiveProps(_ctx.transition ? { class: "[overflow:inherit]" } : void 0)), {
215
214
  default: withCtx(() => [
216
215
  renderSlot(_ctx.$slots, "default", {
217
216
  item,
@@ -19,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
19
  updateSelectedRangeHover: () => emit("update:selected-range-hover")
20
20
  });
21
21
  onUnmounted(() => {
22
- emit("update:selected", false);
22
+ if (props.selected) emit("update:selected", false);
23
23
  });
24
24
  return (_ctx, _cache) => {
25
25
  return renderSlot(_ctx.$slots, "default");
@@ -2,7 +2,7 @@ import { LinkProps } from '../../types/types';
2
2
 
3
3
  interface Props extends LinkProps {
4
4
  icon?: SVGComponent;
5
- title: string;
5
+ title?: string;
6
6
  count?: number;
7
7
  counter?: number;
8
8
  skeleton?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"WNavItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/WNavItem.vue"],"names":[],"mappings":"AAkJA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAM5C,UAAU,KAAM,SAAQ,SAAS;IAC/B,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;CACvB;AAqCD,iBAAS,cAAc;kBA+LI,GAAG;mBACF,GAAG;EAsB9B;AACD,QAAA,MAAM,eAAe;;;;UAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAA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CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -47,15 +47,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47
47
  const route = useRoute();
48
48
  const router = useRouter();
49
49
  const routeTo = computed(() => router.resolve(props.to));
50
+ const titleLocal = computed(() => props.title ?? (typeof routeTo.value.meta.titleShort === "string" ? routeTo.value.meta.titleShort : typeof routeTo.value.meta.title === "string" ? routeTo.value.meta.title : ""));
50
51
  const isActive = computed(() => {
51
52
  if (routeTo.value?.name !== route.name) return false;
52
53
  return isEqualObj(route.query, routeTo.value.query, EXCLUDE_QUERY_FIELDS, props.queryFields);
53
54
  });
54
55
  const isTextColor = computed(() => props.hasActive ? !props.indent : isActive.value);
55
56
  const isBigCount = computed(() => props.counter !== void 0 && props.counter >= 1e3);
56
- watch(isActive, (value) => emit("update:isActive", [props.title, value]), { immediate: true });
57
+ watch(isActive, (value) => emit("update:isActive", [titleLocal.value, value]), { immediate: true });
57
58
  onBeforeUnmount(() => {
58
- emit("update:isActive", [props.title, false]);
59
+ emit("update:isActive", [titleLocal.value, false]);
59
60
  });
60
61
  return (_ctx, _cache) => {
61
62
  return openBlock(), createBlock(unref(RouterLink), {
@@ -92,12 +93,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
92
93
  createElementVNode("div", _hoisted_5, [
93
94
  createElementVNode("div", _hoisted_6, [
94
95
  createElementVNode("div", _hoisted_7, [
95
- _ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
96
+ _ctx.icon ?? routeTo.value.meta.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon ?? routeTo.value.meta.icon), {
96
97
  key: 0,
97
98
  class: "square-6"
98
99
  })) : renderSlot(_ctx.$slots, "icon", { key: 1 })
99
100
  ]),
100
- createElementVNode("div", _hoisted_8, toDisplayString(_ctx.title), 1),
101
+ createElementVNode("div", _hoisted_8, toDisplayString(titleLocal.value), 1),
101
102
  createElementVNode("div", _hoisted_9, [
102
103
  createTextVNode("   "),
103
104
  !_ctx.skeleton ? (openBlock(), createElementBlock("span", _hoisted_10, [
@@ -1,6 +1,6 @@
1
- import { SelectProps } from './types';
1
+ import { SelectProps, SelectOptionComponent } from './types';
2
2
 
3
- declare const _default: <Option extends string | number = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ declare const _default: <Option extends string | number, OptionComponent extends SelectOptionComponent<Option>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
5
5
  onFocus?: ((value: FocusEvent) => any) | undefined;
6
6
  onBlur?: ((value: FocusEvent) => any) | undefined;
@@ -15,7 +15,7 @@ declare const _default: <Option extends string | number = string>(__VLS_props: N
15
15
  onUnselect?: ((item: Option) => any) | undefined;
16
16
  "onUpdate:search"?: ((value: string) => any) | undefined;
17
17
  "onCreate:option"?: ((value: string) => any) | undefined;
18
- }, never>, "onFocus" | "onBlur" | "onSelect" | "onUnselect" | "onUpdate:search" | "onCreate:option"> & SelectProps<Option>> & import('vue').PublicProps;
18
+ }, never>, "onFocus" | "onBlur" | "onSelect" | "onUnselect" | "onUpdate:search" | "onCreate:option"> & SelectProps<Option, OptionComponent>> & import('vue').PublicProps;
19
19
  expose(exposed: import('vue').ShallowUnwrapRef<{
20
20
  focus: () => void;
21
21
  blur: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"WSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelect.vue"],"names":[],"mappings":"AA6TA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,SAAS,CAAA;yBAGvB,MAAM,SAAS,MAAM,GAAG,MAAM,wBACjC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA0lBxD,cAAc,CAAC;;;;;;;;;;;;;;8HAAyD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB;;;MAAsB,GAAG,IAAI;WACpE,GAAG;WACH,UAAU;gBAjcV,MAAM,IAAI;mBACP,MAAM,IAAI;iBACZ,CAAC,KAAK,EAAE;YACf,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;YACvB,QAAQ,EAAE,OAAO,CAAA;YACjB,KAAK,EAAE,OAAO,CAAA;SACf,KAAK,IAAI;gBACF,MAAM,IAAI;;gBAPV,MAAM,IAAI;mBACP,MAAM,IAAI;iBACZ,CAAC,KAAK,EAAE;YACf,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;YACvB,QAAQ,EAAE,OA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,MAAM,GAAG,MAAM,CAAA;YACvB,QAAQ,EAAE,OAAO,CAAA;YACjB,KAAK,EAAE,OAAO,CAAA;SACf,KAAK,IAAI;gBACF,MAAM,IAAI;;gBAPV,MAAM,IAAI;mBACP,MAAM,IAAI;iBACZ,CAAC,KAAK,EAAE;YACf,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;YACvB,QAAQ,EAAE,OAAO,CAAA;YACjB,KAAK,EAAE,OAAO,CAAA;SACf,KAAK,IAAI;gBACF,MAAM,IAAI;MA0buB;UAClC;YArlBH,QAAQ,QAAQ,MAAM,GAAG,IAAI;YAC7B,UAAU,QAAQ,MAAM,GAAG,IAAI;YAC/B,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;UAglBK;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AApmBvE,wBAomB4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -19,7 +19,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
19
  search: {},
20
20
  options: {},
21
21
  emptyStub: {},
22
- optionComponent: {},
23
22
  disableClear: { type: Boolean },
24
23
  hidePrefix: { type: Boolean },
25
24
  allowCreate: { type: Boolean },
@@ -59,7 +58,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
59
58
  noZIndex: { type: Boolean },
60
59
  maxHeight: {},
61
60
  maxWidth: {},
62
- horizontalAlign: {}
61
+ horizontalAlign: {},
62
+ optionComponent: {},
63
+ optionComponentProps: {}
63
64
  },
64
65
  emits: ["select", "unselect", "update:search", "create:option", "focus", "blur"],
65
66
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -190,6 +191,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
190
191
  key: option,
191
192
  option,
192
193
  "option-component": _ctx.optionComponent,
194
+ "option-component-props": _ctx.optionComponentProps,
193
195
  loading: _ctx.loading,
194
196
  disabled: _ctx.disabled,
195
197
  "disable-clear": _ctx.disableClear,
@@ -203,7 +205,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
203
205
  })
204
206
  ]),
205
207
  _: 2
206
- }, 1032, ["option", "option-component", "loading", "disabled", "disable-clear", "onUnselect"]);
208
+ }, 1032, ["option", "option-component", "option-component-props", "loading", "disabled", "disable-clear", "onUnselect"]);
207
209
  }), 128)) : createCommentVNode("", true)
208
210
  ]),
209
211
  content: withCtx(() => [
@@ -235,11 +237,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
235
237
  selected,
236
238
  model: false
237
239
  }, () => [
238
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), {
240
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps(_ctx.optionComponentProps, {
239
241
  option,
240
242
  selected,
241
243
  model: false
242
- }, null, 8, ["option", "selected"]))
244
+ }), null, 16, ["option", "selected"]))
243
245
  ])
244
246
  ]),
245
247
  _: 2
@@ -265,11 +267,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
265
267
  selected: false,
266
268
  model: false
267
269
  }, () => [
268
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), {
270
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps(_ctx.optionComponentProps, {
269
271
  option: _ctx.search,
270
272
  selected: false,
271
273
  model: false
272
- }, null, 8, ["option"]))
274
+ }), null, 16, ["option"]))
273
275
  ])
274
276
  ]),
275
277
  _: 3
@@ -1,6 +1,6 @@
1
- import { SelectAsyncProps } from './types';
1
+ import { SelectAsyncProps, SelectOptionComponent } from './types';
2
2
 
3
- declare const _default: <Model extends number | string, Data extends DefaultData, ApiError, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ declare const _default: <Model extends number | string, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
5
5
  onSelect?: ((item: Model) => any) | undefined;
6
6
  "onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
@@ -13,7 +13,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
13
13
  onUnselect?: ((item: Model) => any) | undefined;
14
14
  "onUpdate:search"?: ((value: string) => any) | undefined;
15
15
  "onCreate:option"?: ((value: string) => any) | undefined;
16
- }, never>, "onSelect" | "onUpdate:modelValue" | "onUnselect" | "onUpdate:search" | "onCreate:option"> & SelectAsyncProps<Model, Data, ApiError, QueryParams>> & import('vue').PublicProps;
16
+ }, never>, "onSelect" | "onUpdate:modelValue" | "onUnselect" | "onUpdate:search" | "onCreate:option"> & SelectAsyncProps<Model, Data, ApiError, QueryParams, OptionComponent>> & import('vue').PublicProps;
17
17
  expose(exposed: import('vue').ShallowUnwrapRef<{
18
18
  focus: () => void;
19
19
  blur: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectAsync.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsync.vue"],"names":[],"mappings":"AAsOA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,SAAS,CAAA;yBAG5B,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,QAAQ,EAAE,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,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,IAAI;iBACrC,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;MAyZ5D;UAClC;YAnfH,QAAQ,QAAQ,KAAK,GAAG,IAAI;YAC5B,UAAU,QAAQ,KAAK,GAAG,IAAI;YAC9B,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC1C,eAAe,SAAS,MAAM,GAAG,IAAI;UA+eA;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAzgBvE,wBAygB4E;AAY5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -12,7 +12,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12
12
  useQueryFnPrefix: {},
13
13
  isInvalidPage: {},
14
14
  queryParams: {},
15
- optionComponent: {},
16
15
  previewData: {},
17
16
  createdData: {},
18
17
  valueGetter: { type: Function, default: (data) => data.id },
@@ -60,7 +59,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
59
  noZIndex: { type: Boolean },
61
60
  maxHeight: {},
62
61
  maxWidth: {},
63
- horizontalAlign: {}
62
+ horizontalAlign: {},
63
+ optionComponent: {},
64
+ optionComponentProps: {}
64
65
  },
65
66
  emits: ["select", "unselect", "update:search", "update:modelValue", "create:option"],
66
67
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -152,6 +153,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
152
153
  disabled: _ctx.disabled,
153
154
  loading: _ctx.loading || isFetchingPrefix.value,
154
155
  "option-component": _ctx.optionComponent,
156
+ "option-component-props": _ctx.optionComponentProps,
155
157
  "disable-clear": _ctx.disableClear,
156
158
  "preview-data": _ctx.previewData,
157
159
  "created-data": _ctx.createdData,
@@ -173,7 +175,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
173
175
  })
174
176
  ]),
175
177
  _: 3
176
- }, 8, ["use-query-fn", "model-value", "disabled", "loading", "option-component", "disable-clear", "preview-data", "created-data", "value-getter", "value-query-key"])) : createCommentVNode("", true)
178
+ }, 8, ["use-query-fn", "model-value", "disabled", "loading", "option-component", "option-component-props", "disable-clear", "preview-data", "created-data", "value-getter", "value-query-key"])) : createCommentVNode("", true)
177
179
  ]),
178
180
  content: withCtx(() => [
179
181
  createVNode(_sfc_main$3, {
@@ -202,13 +204,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
202
204
  skeleton: skeletonList,
203
205
  model: false
204
206
  }, () => [
205
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), {
207
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps(_ctx.optionComponentProps, {
206
208
  option,
207
209
  selected,
208
210
  skeleton: skeletonList,
209
211
  model: false,
210
212
  search: _ctx.search
211
- }, null, 8, ["option", "selected", "skeleton", "search"]))
213
+ }), null, 16, ["option", "selected", "skeleton", "search"]))
212
214
  ])
213
215
  ]),
214
216
  _: 3
@@ -1,6 +1,6 @@
1
- import { SelectAsyncSingleProps } from './types';
1
+ import { SelectAsyncSingleProps, SelectOptionComponent } from './types';
2
2
 
3
- declare const _default: <Model extends number | string, Data extends DefaultData, ApiError, QueryParams, AllowClear extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ declare const _default: <Model extends number | string, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>, AllowClear extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
5
5
  "onUpdate:modelValue"?: ((value: AllowClear extends true ? Model | null : Model) => any) | undefined;
6
6
  "onUpdate:search"?: ((value: string) => any) | undefined;
@@ -9,7 +9,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
9
9
  "onUpdate:modelValue"?: ((value: AllowClear extends true ? Model | null : Model) => any) | undefined;
10
10
  "onUpdate:search"?: ((value: string) => any) | undefined;
11
11
  "onCreate:option"?: ((value: string) => any) | undefined;
12
- }, never>, "onUpdate:modelValue" | "onUpdate:search" | "onCreate:option"> & SelectAsyncSingleProps<Model, Data, ApiError, QueryParams, AllowClear>> & import('vue').PublicProps;
12
+ }, never>, "onUpdate:modelValue" | "onUpdate:search" | "onCreate:option"> & SelectAsyncSingleProps<Model, Data, ApiError, QueryParams, OptionComponent, AllowClear>> & import('vue').PublicProps;
13
13
  expose(exposed: import('vue').ShallowUnwrapRef<{
14
14
  blur: () => void;
15
15
  }>): void;
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectAsyncSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsyncSingle.vue"],"names":[],"mappings":"AA8FA,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAA;yBAGlC,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,SAAS,OAAO,uBAC7G,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OA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,CAAC;WA4NxD,cAAc,CAAC;;;;;;;;uKAAyD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;WACH,UAAU;uBA7BQ,GAAG;0BACA,GAAG;;;;;YACL,GAAG;uBACJ,GAAG;MA0BY;UAClC;YArNH,mBAAmB,0DAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;UAmNA;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAtOvE,wBAsO4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -14,7 +14,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  useQueryFnPrefix: {},
15
15
  isInvalidPage: { type: Function },
16
16
  queryParams: {},
17
- optionComponent: {},
18
17
  valueGetter: { type: Function },
19
18
  valueQueryKey: {},
20
19
  queryOptions: {},
@@ -58,7 +57,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
57
  noZIndex: { type: Boolean },
59
58
  maxHeight: {},
60
59
  maxWidth: {},
61
- horizontalAlign: {}
60
+ horizontalAlign: {},
61
+ optionComponent: {},
62
+ optionComponentProps: {}
62
63
  },
63
64
  emits: ["update:modelValue", "update:search", "create:option"],
64
65
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -1,6 +1,6 @@
1
- import { SelectSingleProps } from './types';
1
+ import { SelectSingleProps, SelectOptionComponent } from './types';
2
2
 
3
- declare const _default: <Option extends string | number, AllowClear extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ declare const _default: <Option extends string | number, OptionComponent extends SelectOptionComponent<Option>, AllowClear extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
5
5
  "onUpdate:modelValue"?: ((value: AllowClear extends true ? Option | null : Option) => any) | undefined;
6
6
  "onUpdate:search"?: ((value: string) => any) | undefined;
@@ -9,7 +9,7 @@ declare const _default: <Option extends string | number, AllowClear extends bool
9
9
  "onUpdate:modelValue"?: ((value: AllowClear extends true ? Option | null : Option) => any) | undefined;
10
10
  "onUpdate:search"?: ((value: string) => any) | undefined;
11
11
  "onCreate:option"?: ((value: string) => any) | undefined;
12
- }, never>, "onUpdate:modelValue" | "onUpdate:search" | "onCreate:option"> & SelectSingleProps<Option, AllowClear>> & import('vue').PublicProps;
12
+ }, never>, "onUpdate:modelValue" | "onUpdate:search" | "onCreate:option"> & SelectSingleProps<Option, OptionComponent, AllowClear>> & import('vue').PublicProps;
13
13
  expose(exposed: import('vue').ShallowUnwrapRef<{
14
14
  blur: () => void;
15
15
  }>): void;
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectSingle.vue"],"names":[],"mappings":"AA+FA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;yBAG7B,MAAM,SAAS,MAAM,GAAG,MAAM,EAAE,UAAU,SAAS,OAAO,uBAC7D,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,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AAsB,GAAG,IAAI;WACpE,GAAG;WACH,UAAU;uBA7BQ,GAAG;0BACA,GAAG;;;;;YACL,GAAG;uBACJ,GAAG;MA0BY;UAClC;YAhOH,mBAAmB,4DAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;UA8NA;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAjPvE,wBAiP4E;AAM5E,KAAK,cAAc,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
  search: {},
12
12
  options: {},
13
13
  emptyStub: {},
14
- optionComponent: {},
15
14
  hidePrefix: { type: Boolean },
16
15
  allowCreate: { type: Boolean },
17
16
  hideOptionIcon: { type: Boolean },
@@ -50,7 +49,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
50
49
  noZIndex: { type: Boolean },
51
50
  maxHeight: {},
52
51
  maxWidth: {},
53
- horizontalAlign: {}
52
+ horizontalAlign: {},
53
+ optionComponent: {},
54
+ optionComponentProps: {}
54
55
  },
55
56
  emits: ["update:modelValue", "update:search", "create:option"],
56
57
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -1,6 +1,6 @@
1
- import { Component } from 'vue';
1
+ import { SelectAsyncPrefixProps, SelectOptionComponent } from '../types';
2
2
 
3
- declare const _default: <Model extends number | string, Data extends DefaultData, ApiError, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ declare const _default: <Model extends number | string, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
5
5
  "onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
6
6
  onUnselect?: ((value: Model) => any) | undefined;
@@ -9,23 +9,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
9
9
  "onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
10
10
  onUnselect?: ((value: Model) => any) | undefined;
11
11
  "onUpdate:fetching"?: ((value: boolean) => any) | undefined;
12
- }, never>, "onUpdate:modelValue" | "onUnselect" | "onUpdate:fetching"> & {
13
- useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
14
- modelValue: Model[];
15
- disabled?: boolean;
16
- loading?: boolean;
17
- optionComponent?: Component<{
18
- option: Data;
19
- selected?: boolean;
20
- model?: boolean;
21
- }>;
22
- disableClear?: boolean;
23
- previewData?: Data[];
24
- createdData?: Data[];
25
- valueGetter: (value: Data) => Model;
26
- valueQueryKey: string;
27
- queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
28
- }> & import('vue').PublicProps;
12
+ }, never>, "onUpdate:modelValue" | "onUnselect" | "onUpdate:fetching"> & SelectAsyncPrefixProps<Model, Data, ApiError, QueryParams, OptionComponent>> & import('vue').PublicProps;
29
13
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
30
14
  attrs: any;
31
15
  slots: ReturnType<() => Readonly<{
@@ -1 +1 @@
1
- {"version":3,"file":"SelectAsyncPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefix.vue"],"names":[],"mappings":"AA4FA,OAAO,EAAuB,KAAK,SAAS,EAAkB,MAAM,KAAK,CAAA;yBA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K,GAAG,IAAI;YAC/B,iBAAiB,SAAS,OAAO,GAAG,IAAI;YACxC,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;UA6KL;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AA9LvE,wBA8L4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -15,13 +15,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  modelValue: {},
16
16
  disabled: { type: Boolean },
17
17
  loading: { type: Boolean },
18
- optionComponent: {},
19
18
  disableClear: { type: Boolean },
20
19
  previewData: {},
21
20
  createdData: {},
22
21
  valueGetter: { type: Function },
23
22
  valueQueryKey: {},
24
- queryOptions: {}
23
+ queryOptions: {},
24
+ optionComponent: {},
25
+ optionComponentProps: {}
25
26
  },
26
27
  emits: ["unselect", "update:fetching", "update:modelValue"],
27
28
  setup(__props, { emit: __emit }) {
@@ -41,6 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
42
  "use-query-fn": _ctx.useQueryFn,
42
43
  "query-params": { page: 1, [_ctx.valueQueryKey]: valueInString.value },
43
44
  "option-component": _ctx.optionComponent,
45
+ "option-component-props": _ctx.optionComponentProps,
44
46
  "disable-clear": _ctx.disableClear,
45
47
  loading: _ctx.loading,
46
48
  disabled: _ctx.disabled,
@@ -58,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
60
  })
59
61
  ]),
60
62
  _: 3
61
- }, 8, ["use-query-fn", "query-params", "option-component", "disable-clear", "loading", "disabled", "preview-data", "created-data", "value-getter", "query-options"]),
63
+ }, 8, ["use-query-fn", "query-params", "option-component", "option-component-props", "disable-clear", "loading", "disabled", "preview-data", "created-data", "value-getter", "query-options"]),
62
64
  _ctx.modelValue.length > PAGE_LENGTH ? (openBlock(), createElementBlock("div", _hoisted_1, [
63
65
  createElementVNode("div", null, "... " + toDisplayString(unref(numberFormatter).format(_ctx.modelValue.length)) + " items", 1),
64
66
  !_ctx.disableClear && !_ctx.disabled ? (openBlock(), createElementBlock("button", {
@@ -1,6 +1,6 @@
1
- import { Component } from 'vue';
1
+ import { SelectAsyncPrefixPageProps, SelectOptionComponent } from '../types';
2
2
 
3
- declare const _default: <Model extends string | number, Data extends DefaultData, ApiError, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ declare const _default: <Model extends string | number, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
5
5
  onUnselect?: ((value: Model) => any) | undefined;
6
6
  "onUpdate:pages-count"?: ((value: number) => any) | undefined;
@@ -9,22 +9,7 @@ declare const _default: <Model extends string | number, Data extends DefaultData
9
9
  onUnselect?: ((value: Model) => any) | undefined;
10
10
  "onUpdate:pages-count"?: ((value: number) => any) | undefined;
11
11
  "onUpdate:fetching"?: ((value: boolean) => any) | undefined;
12
- }, never>, "onUnselect" | "onUpdate:pages-count" | "onUpdate:fetching"> & {
13
- useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
14
- queryParams: QueryParams;
15
- disabled?: boolean;
16
- loading?: boolean;
17
- optionComponent?: Component<{
18
- option: Data;
19
- selected?: boolean;
20
- model?: boolean;
21
- }>;
22
- disableClear?: boolean;
23
- previewData?: Data[];
24
- createdData?: Data[];
25
- valueGetter: (value: Data) => Model;
26
- queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
27
- }> & import('vue').PublicProps;
12
+ }, never>, "onUnselect" | "onUpdate:pages-count" | "onUpdate:fetching"> & SelectAsyncPrefixPageProps<Model, Data, ApiError, QueryParams, OptionComponent>> & import('vue').PublicProps;
28
13
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
29
14
  attrs: any;
30
15
  slots: ReturnType<() => Readonly<{
@@ -1 +1 @@
1
- {"version":3,"file":"SelectAsyncPrefixPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncPrefixPage.vue"],"names":[],"mappings":"AAkHA,OAAO,EAAyB,KAAK,SAAS,EAAkB,MAAM,KAAK,CAAA;yBAI1D,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,QAAQ,EAAE,WAAW,eACjF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAoNxD,cAAc,CAAC;;;;;;;;;oBAhNX,iBAAiB,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;qBAC7C,WAAW;mBACb,OAAO;kBACR,OAAO;0BACC,SAAS,CAAC;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;YAAC,KAAK,CAAC,EAAE,OAAO,CAAA;SAAC,CAAC;uBACjE,OAAO;sBACR,IAAI,EAAE;sBACN,IAAI,EAAE;qBACP,CAAC,KAAK,EAAE,IAAI,KAAK,KAAK;uBACpB,OAAO,CAAC,UAAU,CAAC,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CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAyMxD,cAAc,CAAC;;;;;;;;6JAAyD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;WACH,UAAU;kBAnKR,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;kBAAlD,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;MAmKnB;UAClC;YAtMH,UAAU,SAAS,KAAK,GAAG,IAAI;YAC/B,oBAAoB,SAAS,MAAM,GAAG,IAAI;YAC1C,iBAAiB,SAAS,OAAO,GAAG,IAAI;UAoMH;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAnNvE,wBAmN4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, toRef, watch, onBeforeUnmount, openBlock, createElementBlock, Fragment, renderList, unref, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, createSlots, withCtx, createElementVNode, withModifiers, createVNode, createCommentVNode } from 'vue';
1
+ import { defineComponent, computed, toRef, watch, onBeforeUnmount, openBlock, createElementBlock, Fragment, renderList, unref, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, mergeProps, createSlots, withCtx, createElementVNode, withModifiers, createVNode, createCommentVNode } from 'vue';
2
2
  import IconCancel from '../../../assets/icons/default/IconCancel.svg.js';
3
3
 
4
4
  const _hoisted_1 = ["onClick"];
@@ -10,12 +10,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  queryParams: {},
11
11
  disabled: { type: Boolean },
12
12
  loading: { type: Boolean },
13
- optionComponent: {},
14
13
  disableClear: { type: Boolean },
15
14
  previewData: {},
16
15
  createdData: {},
17
16
  valueGetter: { type: Function },
18
- queryOptions: {}
17
+ queryOptions: {},
18
+ optionComponent: {},
19
+ optionComponentProps: {}
19
20
  },
20
21
  emits: ["unselect", "update:pages-count", "update:fetching"],
21
22
  setup(__props, { emit: __emit }) {
@@ -55,13 +56,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
55
56
  option,
56
57
  skeleton: false
57
58
  }, () => [
58
- _ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), {
59
- key: 0,
59
+ _ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps({ key: 0 }, _ctx.optionComponentProps, {
60
60
  option,
61
61
  selected: true,
62
62
  model: true,
63
63
  skeleton: false
64
- }, createSlots({ _: 2 }, [
64
+ }), createSlots({ _: 2 }, [
65
65
  !_ctx.disableClear && !_ctx.disabled ? {
66
66
  name: "default",
67
67
  fn: withCtx(() => [
@@ -79,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
79
79
  ]),
80
80
  key: "0"
81
81
  } : void 0
82
- ]), 1032, ["option"])) : createCommentVNode("", true)
82
+ ]), 1040, ["option"])) : createCommentVNode("", true)
83
83
  ]),
84
84
  !_ctx.optionComponent && !_ctx.disableClear && !_ctx.disabled ? (openBlock(), createElementBlock("button", {
85
85
  key: 0,
@@ -1,21 +1,11 @@
1
- import { Component } from 'vue';
1
+ import { SelectPrefixProps, SelectOptionComponent } from '../types';
2
2
 
3
- declare const _default: <Item extends string | number = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ declare const _default: <Option extends string | number, OptionComponent extends SelectOptionComponent<Option>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
5
5
  onUnselect?: (() => any) | undefined;
6
6
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
7
7
  onUnselect?: (() => any) | undefined;
8
- }, never>, "onUnselect"> & {
9
- option: Item;
10
- optionComponent?: Component<{
11
- option: Item;
12
- selected?: boolean;
13
- model?: boolean;
14
- }>;
15
- disabled?: boolean;
16
- loading?: boolean;
17
- disableClear?: boolean;
18
- }> & import('vue').PublicProps;
8
+ }, never>, "onUnselect"> & SelectPrefixProps<Option, OptionComponent>> & import('vue').PublicProps;
19
9
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
20
10
  attrs: any;
21
11
  slots: ReturnType<() => {
@@ -1 +1 @@
1
- {"version":3,"file":"SelectOptionPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOptionPrefix.vue"],"names":[],"mappings":"AAAA,OAmEO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAA;yBAIjB,IAAI,SAAS,MAAM,GAAG,MAAM,wBAC/B,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA+KxD,cAAc,CAAC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Y;UAClC,KAtKH,UAAU,KAAG,IAAI,MAsK0B;;;;YAGL,OAAO,CAAC,OAAO,WAAW,CAAC;;AAnLvE,wBAmL4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,14 +1,15 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, withCtx, withModifiers, createVNode, unref, createCommentVNode } from 'vue';
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, mergeProps, withCtx, withModifiers, createVNode, unref, createCommentVNode } from 'vue';
2
2
  import IconCancel from '../../../assets/icons/default/IconCancel.svg.js';
3
3
 
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "SelectOptionPrefix",
6
6
  props: {
7
7
  option: {},
8
- optionComponent: {},
9
8
  disabled: { type: Boolean },
10
9
  loading: { type: Boolean },
11
- disableClear: { type: Boolean }
10
+ disableClear: { type: Boolean },
11
+ optionComponent: {},
12
+ optionComponentProps: {}
12
13
  },
13
14
  emits: ["unselect"],
14
15
  setup(__props) {
@@ -20,12 +21,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
21
  }])
21
22
  }, [
22
23
  renderSlot(_ctx.$slots, "option", {}, () => [
23
- _ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), {
24
- key: 0,
24
+ _ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps({ key: 0 }, _ctx.optionComponentProps, {
25
25
  option: _ctx.option,
26
26
  selected: true,
27
27
  model: true
28
- }, {
28
+ }), {
29
29
  default: withCtx(() => [
30
30
  !_ctx.disableClear ? (openBlock(), createElementBlock("button", {
31
31
  key: 0,
@@ -42,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  ], 34)) : createCommentVNode("", true)
43
43
  ]),
44
44
  _: 1
45
- }, 8, ["option"])) : createCommentVNode("", true)
45
+ }, 16, ["option"])) : createCommentVNode("", true)
46
46
  ]),
47
47
  !_ctx.optionComponent && !_ctx.disableClear ? (openBlock(), createElementBlock("button", {
48
48
  key: 0,
@@ -1,43 +1,72 @@
1
1
  import { InputSuggestProps } from '../Input/types';
2
2
  import { Component } from 'vue';
3
3
 
4
- export interface SelectProps<Option extends string | number> extends Omit<InputSuggestProps<'text'>, 'modelValue' | 'allowClear' | 'hideInput'> {
4
+ export type SelectOptionProps<Option> = {
5
+ option: Option;
6
+ selected?: boolean;
7
+ model?: boolean;
8
+ };
9
+ export type SelectOptionComponent<Option> = Component<SelectOptionProps<Option>>;
10
+ export interface SelectOptionComponentProps<Option, OptionComponent extends SelectOptionComponent<Option>> {
11
+ optionComponent?: OptionComponent;
12
+ optionComponentProps?: OptionComponent extends Component<infer Props> ? Partial<Omit<Props, keyof SelectOptionProps<Option>>> : never;
13
+ }
14
+ export interface SelectProps<Option extends string | number, OptionComponent extends SelectOptionComponent<Option>> extends Omit<InputSuggestProps<'text'>, 'modelValue' | 'allowClear' | 'hideInput'>, SelectOptionComponentProps<Option, OptionComponent> {
5
15
  modelValue: Option[];
6
16
  search: string;
7
17
  options: Option[];
8
18
  emptyStub?: string;
9
- optionComponent?: Component<{
10
- option: Option;
11
- selected?: boolean;
12
- model?: boolean;
13
- }>;
14
19
  disableClear?: boolean;
15
20
  hidePrefix?: boolean;
16
21
  allowCreate?: boolean;
17
22
  hideOptionIcon?: boolean;
18
23
  }
19
- export interface SelectSingleProps<Option extends string | number, AllowClear extends boolean> extends Omit<SelectProps<Option>, 'modelValue' | 'disableClear'> {
24
+ export interface SelectPrefixProps<Option extends string | number, OptionComponent extends SelectOptionComponent<Option>> extends SelectOptionComponentProps<Option, OptionComponent> {
25
+ option: Option;
26
+ disabled?: boolean;
27
+ loading?: boolean;
28
+ disableClear?: boolean;
29
+ }
30
+ export interface SelectSingleProps<Option extends string | number, OptionComponent extends SelectOptionComponent<Option>, AllowClear extends boolean> extends Omit<SelectProps<Option, OptionComponent>, 'modelValue' | 'disableClear'> {
20
31
  modelValue: Option | null;
21
32
  allowClear?: boolean & AllowClear;
22
33
  searchModel?: boolean;
23
34
  }
24
- export interface SelectAsyncProps<Model extends number | string, Data extends DefaultData, ApiError, QueryParams> extends Omit<SelectProps<Model>, 'options' | 'optionComponent'> {
35
+ export interface SelectAsyncProps<Model extends number | string, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>> extends Omit<SelectProps<Model, Component>, 'options' | 'optionComponent' | 'optionComponentProps'>, SelectOptionComponentProps<Data, OptionComponent> {
25
36
  useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
26
37
  useQueryFnPrefix?: UseQueryPaginated<Data, ApiError, QueryParams>;
27
38
  isInvalidPage: (error: unknown) => boolean;
28
39
  queryParams: QueryParams;
29
- optionComponent?: Component<{
30
- option: Data;
31
- selected?: boolean;
32
- model?: boolean;
33
- }>;
34
40
  previewData?: Data[];
35
41
  createdData?: Data[];
36
42
  valueGetter?: (data: Data) => Model;
37
43
  valueQueryKey?: string;
38
44
  queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
39
45
  }
40
- export interface SelectAsyncSingleProps<Model extends number | string, Data extends DefaultData, ApiError, QueryParams, AllowClear extends boolean> extends Omit<SelectAsyncProps<Model, Data, ApiError, QueryParams>, 'modelValue' | 'disableClear' | 'previewData' | 'createdData'> {
46
+ export interface SelectAsyncPrefixProps<Model extends number | string, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>> extends SelectOptionComponentProps<Data, OptionComponent> {
47
+ useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
48
+ modelValue: Model[];
49
+ disabled?: boolean;
50
+ loading?: boolean;
51
+ disableClear?: boolean;
52
+ previewData?: Data[];
53
+ createdData?: Data[];
54
+ valueGetter: (value: Data) => Model;
55
+ valueQueryKey: string;
56
+ queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
57
+ }
58
+ export interface SelectAsyncPrefixPageProps<Model extends number | string, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>> extends SelectOptionComponentProps<Data, OptionComponent> {
59
+ useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
60
+ queryParams: QueryParams;
61
+ disabled?: boolean;
62
+ loading?: boolean;
63
+ disableClear?: boolean;
64
+ previewData?: Data[];
65
+ createdData?: Data[];
66
+ valueGetter: (value: Data) => Model;
67
+ queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
68
+ }
69
+ export interface SelectAsyncSingleProps<Model extends number | string, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>, AllowClear extends boolean> extends Omit<SelectAsyncProps<Model, Data, ApiError, QueryParams, OptionComponent>, 'modelValue' | 'disableClear' | 'previewData' | 'createdData'> {
41
70
  modelValue: Model | null;
42
71
  allowClear?: boolean & AllowClear;
43
72
  searchModel?: boolean;
@@ -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,WAAW,WAAW,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,GAAG,WAAW,CAAC;IAC7I,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CA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AAC,EAAE,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;CACtF;AAED,MAAM,WAAW,sBAAsB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAAE,UAAU,SAAS,OAAO,CACrM,SAAQ,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,CAAC,EAAE,YAAY,GAAG,cAAc,GAAG,aAAa,GAAG,aAAa,CAAC;IAClJ,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"}
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.6.5",
7
+ "version": "0.6.7",
8
8
  "scripts": {
9
9
  "dev": "vite",
10
10
  "build": "run-p type-check build-only",