eco-vue-js 0.8.11 → 0.8.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ declare const _default: <Model, FieldType extends string | number | boolean | nu
6
6
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
7
7
  attrs: any;
8
8
  slots: {
9
- default?(_: {
9
+ option?(_: {
10
10
  option: FieldType | Entity | (ValueGetter extends undefined ? FieldType : Entity);
11
11
  selected: boolean;
12
12
  }): any;
@@ -1 +1 @@
1
- {"version":3,"file":"WFormAsyncButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FormAsync/WFormAsyncButtonGroup.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,SAAS,CAAA;yBAOrC,KAAK,EAAE,SAAS,SAAS,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,EAAE,WAAW,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,2BACvL,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;WAqKxD,mBAAmB,CAAC,8PAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;;YA7BgB,GAAG;;UA+BvB,EAAE;;;;YAGiC,OAAO,CAAC,OAAO,WAAW,CAAC;;AA/KvE,wBA+K4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"WFormAsyncButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FormAsync/WFormAsyncButtonGroup.vue"],"names":[],"mappings":"AA8FA,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,SAAS,CAAA;yBAOrC,KAAK,EAAE,SAAS,SAAS,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,EAAE,WAAW,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,2BACvL,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;WAqKxD,mBAAmB,CAAC,8PAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;;YA7Be,GAAG;;UA+BtB,EAAE;;;;YAGiC,OAAO,CAAC,OAAO,WAAW,CAAC;;AA/KvE,wBA+K4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -86,7 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
86
86
  _ctx.$slots.option ? {
87
87
  name: "option",
88
88
  fn: withCtx(({ option, selected }) => [
89
- renderSlot(_ctx.$slots, "default", {
89
+ renderSlot(_ctx.$slots, "option", {
90
90
  option,
91
91
  selected
92
92
  })
@@ -0,0 +1,26 @@
1
+ import { FormAsyncSelectStringifiedProps } from './types';
2
+ import { SelectOptionComponent } from '../Select/types';
3
+ declare const _default: <Model, FieldType extends string, QueryParamsOptions, QueryParams, Data extends DefaultData, OptionComponent extends SelectOptionComponent<Data>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
+ readonly onSuccess?: ((value: Model) => any) | undefined;
6
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
7
+ onSuccess?: ((value: Model) => any) | undefined;
8
+ }>, never>, "onSuccess"> & FormAsyncSelectStringifiedProps<Model, FieldType, QueryParamsOptions, QueryParams, Data, OptionComponent>> & import('vue').PublicProps;
9
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
10
+ attrs: any;
11
+ slots: {
12
+ title?(_: {}): any;
13
+ subtitle?(_: {}): any;
14
+ right?(_: {}): any;
15
+ };
16
+ emit: (e: "success", value: Model) => void;
17
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
18
+ [key: string]: any;
19
+ }> & {
20
+ __ctx?: Awaited<typeof __VLS_setup>;
21
+ };
22
+ export default _default;
23
+ type __VLS_PrettifyLocal<T> = {
24
+ [K in keyof T]: T[K];
25
+ } & {};
26
+ //# sourceMappingURL=WFormAsyncSelectStringified.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WFormAsyncSelectStringified.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FormAsync/WFormAsyncSelectStringified.vue"],"names":[],"mappings":"AA0GA,OAAO,KAAK,EAAC,+BAA+B,EAAC,MAAM,SAAS,CAAA;AAC5D,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,2BAA2B,CAAA;yBAQnD,KAAK,EAAE,SAAS,SAAS,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE,IAAI,SAAS,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,eAClJ,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;WA8LxD,mBAAmB,CAAC;;;;wIAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;uBAlCc,GAAG;0BACA,GAAG;uBACN,GAAG;;cAvJxB,SAAS,SAAS,KAAK,KAAG,IAAI;;;;YA4LQ,OAAO,CAAC,OAAO,WAAW,CAAC;;AAxMvE,wBAwM4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,144 @@
1
+ import { defineComponent, toRef, ref, computed, onBeforeUnmount, openBlock, createBlock, mergeProps, unref, createSlots, withCtx, renderSlot } from 'vue';
2
+ import _sfc_main$1 from '../Select/WSelectStringified.vue.js';
3
+ import { get, set } from '../../utils/utils.js';
4
+ import { Notify } from '../../utils/Notify.js';
5
+ import { handleApiError } from '../../utils/api.js';
6
+ import { Modal } from '../../utils/Modal.js';
7
+
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
9
+ __name: "WFormAsyncSelectStringified",
10
+ props: {
11
+ useQueryFn: {},
12
+ noParams: { type: Boolean },
13
+ queryParams: {},
14
+ queryEnabled: { type: Boolean },
15
+ field: {},
16
+ apiMethod: { type: Function },
17
+ confimGetter: { type: Function },
18
+ divider: {},
19
+ valueGetter: { type: Function },
20
+ searchFn: { type: Function },
21
+ useQueryFnDefault: {},
22
+ emptyStub: {},
23
+ disableClear: { type: Boolean },
24
+ hidePrefix: { type: Boolean },
25
+ createOption: { type: Function },
26
+ filterOptions: { type: Function },
27
+ hideOptionIcon: { type: Boolean },
28
+ mobileTitle: {},
29
+ persist: { type: Boolean },
30
+ type: {},
31
+ textarea: { type: Boolean },
32
+ resize: { type: Boolean },
33
+ placeholder: {},
34
+ icon: {},
35
+ size: {},
36
+ maxLength: {},
37
+ name: {},
38
+ autocomplete: {},
39
+ autofocus: { type: Boolean },
40
+ readonly: { type: Boolean },
41
+ disabledActions: { type: Boolean },
42
+ loading: { type: Boolean },
43
+ spellcheck: { type: Boolean },
44
+ customBackspaceHandle: { type: Boolean },
45
+ textSecure: { type: Boolean },
46
+ placeholderSecure: { type: Boolean },
47
+ allowPaste: { type: Boolean },
48
+ title: {},
49
+ description: {},
50
+ errorMessage: {},
51
+ tooltipText: {},
52
+ mono: { type: Boolean },
53
+ hasChanges: { type: Boolean },
54
+ skeleton: { type: Boolean },
55
+ disabled: { type: Boolean },
56
+ required: { type: Boolean },
57
+ noMargin: { type: Boolean },
58
+ allowCopy: { type: Boolean },
59
+ teleport: { type: Boolean },
60
+ noZIndex: { type: Boolean },
61
+ maxHeight: {},
62
+ maxWidth: {},
63
+ horizontalAlign: {},
64
+ optionComponent: {},
65
+ optionComponentProps: {},
66
+ useQueryFnOptions: {},
67
+ queryParamsOptions: {},
68
+ noParamsOptions: { type: Boolean },
69
+ options: {}
70
+ },
71
+ emits: ["success"],
72
+ setup(__props, { emit: __emit }) {
73
+ const props = __props;
74
+ const emit = __emit;
75
+ const { data, setData, isLoadingError } = props.noParams === true ? props.useQueryFn({ enabled: toRef(props, "queryEnabled") }) : props.useQueryFn(toRef(props, "queryParams"), { enabled: toRef(props, "queryEnabled") });
76
+ const submitting = ref(false);
77
+ const modelValue = computed(() => get(data.value ?? {}, props.field) ?? null);
78
+ const save = (value) => {
79
+ if (submitting.value) return;
80
+ submitting.value = true;
81
+ return props.apiMethod(set({}, props.field, value)).then((response) => {
82
+ setData(response.data);
83
+ Notify.success({ title: "Saved" });
84
+ emit("success", response.data);
85
+ }).catch((error) => handleApiError(error, void 0, props.field)).finally(() => {
86
+ submitting.value = false;
87
+ });
88
+ };
89
+ let closeModal = null;
90
+ const showModal = (value) => {
91
+ closeModal?.();
92
+ const confirmProps = props.confimGetter?.(value);
93
+ if (!confirmProps) {
94
+ save(value);
95
+ return;
96
+ }
97
+ closeModal = Modal.addConfirm({
98
+ ...confirmProps,
99
+ onAccept: () => {
100
+ return save(value);
101
+ }
102
+ }, () => closeModal = null);
103
+ };
104
+ onBeforeUnmount(() => {
105
+ closeModal?.();
106
+ closeModal = null;
107
+ });
108
+ return (_ctx, _cache) => {
109
+ return openBlock(), createBlock(_sfc_main$1, mergeProps({
110
+ ...props,
111
+ modelValue: modelValue.value,
112
+ skeleton: _ctx.skeleton || !unref(data),
113
+ disabled: _ctx.disabled || unref(isLoadingError),
114
+ loading: _ctx.loading || submitting.value
115
+ }, {
116
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showModal($event ?? null))
117
+ }), createSlots({ _: 2 }, [
118
+ _ctx.$slots.title ? {
119
+ name: "title",
120
+ fn: withCtx(() => [
121
+ renderSlot(_ctx.$slots, "title")
122
+ ]),
123
+ key: "0"
124
+ } : void 0,
125
+ _ctx.$slots.subtitle ? {
126
+ name: "subtitle",
127
+ fn: withCtx(() => [
128
+ renderSlot(_ctx.$slots, "subtitle")
129
+ ]),
130
+ key: "1"
131
+ } : void 0,
132
+ _ctx.$slots.right ? {
133
+ name: "right",
134
+ fn: withCtx(() => [
135
+ renderSlot(_ctx.$slots, "right")
136
+ ]),
137
+ key: "2"
138
+ } : void 0
139
+ ]), 1040);
140
+ };
141
+ }
142
+ });
143
+
144
+ export { _sfc_main as default };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './WFormAsyncSelectStringified.vue.js';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -0,0 +1,38 @@
1
+ import { SelectStringifiedProps, SelectOptionComponent } from './types';
2
+ declare const _default: <Model extends string, Data extends DefaultData, QueryParamsOptions, OptionComponent extends SelectOptionComponent<Data>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly "onUpdate:model-value"?: ((value: Model | null) => any) | undefined;
5
+ readonly "onUpdate:query-options-error"?: ((value: string | undefined) => any) | undefined;
6
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
7
+ "onUpdate:model-value"?: ((value: Model | null) => any) | undefined;
8
+ "onUpdate:query-options-error"?: ((value: string | undefined) => any) | undefined;
9
+ }>, never>, "onUpdate:query-options-error" | "onUpdate:model-value"> & SelectStringifiedProps<Model, Data, QueryParamsOptions, OptionComponent>> & import('vue').PublicProps;
10
+ expose(exposed: import('vue').ShallowUnwrapRef<{
11
+ blur: () => void;
12
+ }>): void;
13
+ attrs: any;
14
+ slots: {
15
+ title?(_: {}): any;
16
+ subtitle?(_: {}): any;
17
+ option?(_: {
18
+ option: Data | null;
19
+ selected: boolean;
20
+ model: boolean;
21
+ search: string | undefined;
22
+ }): any;
23
+ right?(_: {}): any;
24
+ };
25
+ emit: {
26
+ (e: "update:model-value", value: Model | null): void;
27
+ (e: "update:query-options-error", value: string | undefined): void;
28
+ };
29
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
30
+ [key: string]: any;
31
+ }> & {
32
+ __ctx?: Awaited<typeof __VLS_setup>;
33
+ };
34
+ export default _default;
35
+ type __VLS_PrettifyLocal<T> = {
36
+ [K in keyof T]: T[K];
37
+ } & {};
38
+ //# sourceMappingURL=WSelectStringified.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WSelectStringified.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectStringified.vue"],"names":[],"mappings":"AA8FA,OAAO,KAAK,EAAC,sBAAsB,EAAE,qBAAqB,EAAC,MAAM,SAAS,CAAA;yBAGzD,KAAK,SAAS,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,kBAAkB,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,eAC1H,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;WA6MxD,mBAAmB,CAAC;;;;;;mJAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;uBAnCe,GAAG;0BACA,GAAG;;;;;;YACL,GAAG;uBACJ,GAAG;;;YAtKzB,oBAAoB,SAAS,KAAK,GAAG,IAAI,GAAG,IAAI;YAChD,4BAA4B,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;;;;;YA0MxB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAvNvE,wBAuN4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,135 @@
1
+ import { defineComponent, ref, computed, watch, toRef, openBlock, createBlock, mergeProps, createSlots, withCtx, renderSlot } from 'vue';
2
+ import _sfc_main$1 from './WSelect.vue.js';
3
+
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ ...{ inheritAttrs: false },
6
+ __name: "WSelectStringified",
7
+ props: {
8
+ modelValue: {},
9
+ divider: {},
10
+ valueGetter: { type: Function },
11
+ searchFn: { type: Function },
12
+ useQueryFnDefault: {},
13
+ emptyStub: {},
14
+ disableClear: { type: Boolean },
15
+ hidePrefix: { type: Boolean },
16
+ createOption: { type: Function },
17
+ filterOptions: { type: Function },
18
+ hideOptionIcon: { type: Boolean },
19
+ mobileTitle: {},
20
+ persist: { type: Boolean },
21
+ type: {},
22
+ textarea: { type: Boolean },
23
+ resize: { type: Boolean },
24
+ placeholder: {},
25
+ icon: {},
26
+ size: {},
27
+ maxLength: {},
28
+ name: {},
29
+ autocomplete: {},
30
+ autofocus: { type: Boolean },
31
+ readonly: { type: Boolean },
32
+ disabledActions: { type: Boolean },
33
+ loading: { type: Boolean },
34
+ spellcheck: { type: Boolean },
35
+ customBackspaceHandle: { type: Boolean },
36
+ textSecure: { type: Boolean },
37
+ placeholderSecure: { type: Boolean },
38
+ allowPaste: { type: Boolean },
39
+ title: {},
40
+ description: {},
41
+ errorMessage: {},
42
+ tooltipText: {},
43
+ mono: { type: Boolean },
44
+ hasChanges: { type: Boolean },
45
+ skeleton: { type: Boolean },
46
+ disabled: { type: Boolean },
47
+ required: { type: Boolean },
48
+ noMargin: { type: Boolean },
49
+ allowCopy: { type: Boolean },
50
+ teleport: { type: Boolean },
51
+ noZIndex: { type: Boolean },
52
+ maxHeight: {},
53
+ maxWidth: {},
54
+ horizontalAlign: {},
55
+ optionComponent: {},
56
+ optionComponentProps: {},
57
+ useQueryFnOptions: {},
58
+ queryParamsOptions: {},
59
+ noParamsOptions: { type: Boolean },
60
+ options: {}
61
+ },
62
+ emits: ["update:model-value", "update:query-options-error"],
63
+ setup(__props, { expose: __expose, emit: __emit }) {
64
+ const props = __props;
65
+ const emit = __emit;
66
+ const selectComponent = ref();
67
+ const arrayValue = computed(() => props.modelValue !== null ? props.modelValue.split(props.divider) : []);
68
+ const updateModelValue = (value, isSelect) => {
69
+ const valueList = value.split(props.divider);
70
+ let newValue;
71
+ if (isSelect) {
72
+ newValue = [...arrayValue.value, ...valueList].filter((item, index, arr) => arr.indexOf(item) === index).join(props.divider);
73
+ } else {
74
+ newValue = arrayValue.value.filter((item) => !valueList.includes(item)).join(props.divider);
75
+ }
76
+ if (newValue === props.modelValue) return;
77
+ emit("update:model-value", newValue || null);
78
+ };
79
+ const blur = () => {
80
+ selectComponent.value?.blur();
81
+ };
82
+ watch(toRef(props, "modelValue"), blur);
83
+ __expose({
84
+ blur
85
+ });
86
+ return (_ctx, _cache) => {
87
+ return openBlock(), createBlock(_sfc_main$1, mergeProps({
88
+ ref_key: "selectComponent",
89
+ ref: selectComponent
90
+ }, {
91
+ ...props,
92
+ modelValue: arrayValue.value
93
+ }, {
94
+ class: _ctx.$attrs.class,
95
+ onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event, true)),
96
+ onUnselect: _cache[1] || (_cache[1] = ($event) => updateModelValue($event, false)),
97
+ "onUpdate:queryOptionsError": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:query-options-error", $event))
98
+ }), createSlots({
99
+ option: withCtx(({ option, selected, model, search }) => [
100
+ renderSlot(_ctx.$slots, "option", {
101
+ option,
102
+ selected,
103
+ model,
104
+ search
105
+ })
106
+ ]),
107
+ _: 2
108
+ }, [
109
+ _ctx.$slots.title ? {
110
+ name: "title",
111
+ fn: withCtx(() => [
112
+ renderSlot(_ctx.$slots, "title")
113
+ ]),
114
+ key: "0"
115
+ } : void 0,
116
+ _ctx.$slots.subtitle ? {
117
+ name: "subtitle",
118
+ fn: withCtx(() => [
119
+ renderSlot(_ctx.$slots, "subtitle")
120
+ ]),
121
+ key: "1"
122
+ } : void 0,
123
+ _ctx.$slots.right?.()?.length ? {
124
+ name: "right",
125
+ fn: withCtx(() => [
126
+ renderSlot(_ctx.$slots, "right")
127
+ ]),
128
+ key: "2"
129
+ } : void 0
130
+ ]), 1040, ["class"]);
131
+ };
132
+ }
133
+ });
134
+
135
+ export { _sfc_main as default };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './WSelectStringified.vue.js';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -30,6 +30,7 @@ import { default as WFormAsyncInput } from '../components/FormAsync/WFormAsyncIn
30
30
  import { default as WFormAsyncSelect } from '../components/FormAsync/WFormAsyncSelect.vue';
31
31
  import { default as WFormAsyncSelectInfiniteSingle } from '../components/FormAsync/WFormAsyncSelectInfiniteSingle.vue';
32
32
  import { default as WFormAsyncSelectSingle } from '../components/FormAsync/WFormAsyncSelectSingle.vue';
33
+ import { default as WFormAsyncSelectStringified } from '../components/FormAsync/WFormAsyncSelectStringified.vue';
33
34
  import { default as WFormAsyncToggle } from '../components/FormAsync/WFormAsyncToggle.vue';
34
35
  import { default as WHeaderBar } from '../components/HeaderBar/WHeaderBar.vue';
35
36
  import { default as WImageViewer } from '../components/ImageViewer/WImageViewer.vue';
@@ -63,6 +64,7 @@ import { default as WSelectAsync } from '../components/Select/WSelectAsync.vue';
63
64
  import { default as WSelectAsyncList } from '../components/Select/WSelectAsyncList.vue';
64
65
  import { default as WSelectAsyncSingle } from '../components/Select/WSelectAsyncSingle.vue';
65
66
  import { default as WSelectSingle } from '../components/Select/WSelectSingle.vue';
67
+ import { default as WSelectStringified } from '../components/Select/WSelectStringified.vue';
66
68
  import { default as WSkeleton } from '../components/Skeleton/WSkeleton.vue';
67
69
  import { default as WSpinner } from '../components/Spinner/WSpinner.vue';
68
70
  import { default as WTabs } from '../components/Tabs/WTabs.vue';
@@ -74,5 +76,5 @@ declare const _default: {
74
76
  install: (app: App | any) => void;
75
77
  };
76
78
  export default _default;
77
- export { WActionsBar, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WCheckbox, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDropdown, WDropdownMenu, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormValidator, WFormAsyncButtonGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncToggle, WHeaderBar, WImageViewer, WInfiniteList, WInfiniteListPages, WInfoCard, WInfoCardNegative, WInput, WInputAsync, WInputDate, WInputOptions, WInputSuggest, WLink, WLinkArrow, WList, WListCard, WListCardField, WListHeader, WListHeaderItem, WMenuItem, WModal, WModalStepper, WModalWrapper, WNavBar, WNavItem, WNavItemExpand, WNavItemTransition, WNotify, WSelect, WSelectAsync, WSelectAsyncList, WSelectAsyncSingle, WSelectSingle, WSkeleton, WSpinner, WTabs, WTabsColumns, WToggle, WTooltip, WTooltipContainer, };
79
+ export { WActionsBar, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WCheckbox, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDropdown, WDropdownMenu, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormValidator, WFormAsyncButtonGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncSelectStringified, WFormAsyncToggle, WHeaderBar, WImageViewer, WInfiniteList, WInfiniteListPages, WInfoCard, WInfoCardNegative, WInput, WInputAsync, WInputDate, WInputOptions, WInputSuggest, WLink, WLinkArrow, WList, WListCard, WListCardField, WListHeader, WListHeaderItem, WMenuItem, WModal, WModalStepper, WModalWrapper, WNavBar, WNavItem, WNavItemExpand, WNavItemTransition, WNotify, WSelect, WSelectAsync, WSelectAsyncList, WSelectAsyncSingle, WSelectSingle, WSelectStringified, WSkeleton, WSpinner, WTabs, WTabsColumns, WToggle, WTooltip, WTooltipContainer, };
78
80
  //# sourceMappingURL=componentsPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"componentsPlugin.d.ts","sourceRoot":"","sources":["../../src/imports/componentsPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AAE5B,OAAO,WAAW,MAAM,yCAAyC,CAAA;AACjE,OAAO,YAAY,MAAM,2CAA2C,CAAA;AACpE,OAAO,OAAO,MAAM,iCAAiC,CAAA;AACrD,OAAO,aAAa,MAAM,uCAAuC,CAAA;AACjE,OAAO,WAAW,MAAM,qCAAqC,CAAA;AAC7D,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,WAAW,MAAM,qCAAqC,CAAA;AAC7D,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,gBAAgB,MAAM,0CAA0C,CAAA;AACvE,OAAO,sBAAsB,MAAM,gDAAgD,CAAA;AACnF,OAAO,SAAS,MAAM,qCAAqC,CAAA;AAC3D,OAAO,KAAK,MAAM,6BAA6B,CAAA;AAC/C,OAAO,aAAa,MAAM,6CAA6C,CAAA;AACvE,OAAO,QAAQ,MAAM,mCAAmC,CAAA;AACxD,OAAO,WAAW,MAAM,yCAAyC,CAAA;AACjE,OAAO,iBAAiB,MAAM,+CAA+C,CAAA;AAC7E,OAAO,SAAS,MAAM,qCAAqC,CAAA;AAC3D,OAAO,aAAa,MAAM,6CAA6C,CAAA;AACvE,OAAO,UAAU,MAAM,uCAAuC,CAAA;AAC9D,OAAO,cAAc,MAAM,2CAA2C,CAAA;AACtE,OAAO,aAAa,MAAM,6CAA6C,CAAA;AACvE,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ACX,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,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,SAAS,EACT,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,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,WAAW,MAAM,qCAAqC,CAAA;AAC7D,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,gBAAgB,MAAM,0CAA0C,CAAA;AACvE,OAAO,sBAAsB,MAAM,gDAAgD,CAAA;AACnF,OAAO,SAAS,MAAM,qCAAqC,CAAA;AAC3D,OAAO,KAAK,MAAM,6BAA6B,CAAA;AAC/C,OAAO,aAAa,MAAM,6CAA6C,CAAA;AACvE,OAAO,QAAQ,MAAM,mCAAmC,CAAA;AACxD,OAAO,WAAW,MAAM,yCAAyC,CAAA;AACjE,OAAO,iBAAiB,MAAM,+CAA+C,CAAA;AAC7E,OAAO,SAAS,MAAM,qCAAqC,CAAA;AAC3D,OAAO,aA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aAAa,EACb,WAAW,EACX,cAAc,EACd,KAAK,EACL,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,8BAA8B,EAC9B,sBAAsB,EACtB,2BAA2B,EAC3B,gBAAgB,EAChB,UAAU,EACV,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,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,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,iBAAiB,GAClB,CAAA"}
package/dist/main.js CHANGED
@@ -33,6 +33,7 @@ export { default as WFormAsyncInput } from './components/FormAsync/WFormAsyncInp
33
33
  export { default as WFormAsyncSelect } from './components/FormAsync/WFormAsyncSelect.vue.js';
34
34
  export { default as WFormAsyncSelectInfiniteSingle } from './components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js';
35
35
  export { default as WFormAsyncSelectSingle } from './components/FormAsync/WFormAsyncSelectSingle.vue.js';
36
+ export { default as WFormAsyncSelectStringified } from './components/FormAsync/WFormAsyncSelectStringified.vue.js';
36
37
  export { default as WFormAsyncToggle } from './components/FormAsync/WFormAsyncToggle.vue.js';
37
38
  export { default as WHeaderBar } from './components/HeaderBar/WHeaderBar.vue.js';
38
39
  export { default as WImageViewer } from './components/ImageViewer/WImageViewer.vue.js';
@@ -66,6 +67,7 @@ export { default as WSelectAsync } from './components/Select/WSelectAsync.vue.js
66
67
  export { default as WSelectAsyncList } from './components/Select/WSelectAsyncList.vue.js';
67
68
  export { default as WSelectAsyncSingle } from './components/Select/WSelectAsyncSingle.vue.js';
68
69
  export { default as WSelectSingle } from './components/Select/WSelectSingle.vue.js';
70
+ export { default as WSelectStringified } from './components/Select/WSelectStringified.vue.js';
69
71
  export { default as WSkeleton } from './components/Skeleton/WSkeleton.vue.js';
70
72
  export { default as WSpinner } from './components/Spinner/WSpinner.vue.js';
71
73
  export { default as WTabs } from './components/Tabs/WTabs.vue.js';
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.8.11",
7
+ "version": "0.8.13",
8
8
  "scripts": {
9
9
  "dev": "vite",
10
10
  "build": "run-p type-check build-only",
@@ -228,6 +228,9 @@
228
228
  "./dist/components/FormAsync/WFormAsyncSelectSingle.vue": {
229
229
  "import": "./dist/components/FormAsync/WFormAsyncSelectSingle.vue.js"
230
230
  },
231
+ "./dist/components/FormAsync/WFormAsyncSelectStringified.vue": {
232
+ "import": "./dist/components/FormAsync/WFormAsyncSelectStringified.vue.js"
233
+ },
231
234
  "./dist/components/FormAsync/WFormAsyncToggle.vue": {
232
235
  "import": "./dist/components/FormAsync/WFormAsyncToggle.vue.js"
233
236
  },
@@ -339,6 +342,9 @@
339
342
  "./dist/components/Select/WSelectSingle.vue": {
340
343
  "import": "./dist/components/Select/WSelectSingle.vue.js"
341
344
  },
345
+ "./dist/components/Select/WSelectStringified.vue": {
346
+ "import": "./dist/components/Select/WSelectStringified.vue.js"
347
+ },
342
348
  "./dist/components/Select/types": {
343
349
  "import": "./dist/components/Select/types.d.ts"
344
350
  },