eco-vue-js 0.8.25 → 0.8.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"WButtonMore.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonMore.vue"],"names":[],"mappings":"AAqGA,iBAAS,cAAc;;;yBATL,IAAI;YA4GQ,GAAG;;;WASnB,OAAO,IAA6B;EAEjD;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WApJZ,YAAY;eACR,OAAO;;WADX,YAAY;eACR,OAAO;iGAyJlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"WButtonMore.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonMore.vue"],"names":[],"mappings":"AAwGA,iBAAS,cAAc;;;yBATL,IAAI;YA8GQ,GAAG;;;WASnB,OAAO,IAA6B;EAEjD;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WAtJZ,YAAY;eACR,OAAO;;WADX,YAAY;eACR,OAAO;iGA2JlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -52,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
52
52
  ]),
53
53
  content: withCtx(() => [
54
54
  createVNode(_sfc_main$2, {
55
- class: "-mr-[1.375rem] sm-not:-mr-6 bg-default dark:bg-default-dark rounded-xl shadow-md my-4 overflow-hidden dark:border dark:border-solid dark:border-gray-800",
55
+ class: "-mr-[1.375rem] sm-not:-mr-6 bg-default dark:bg-default-dark rounded-xl shadow-md my-4 overflow-hidden dark:border dark:border-solid dark:border-gray-800 text-start font-normal",
56
56
  onClick: close
57
57
  }, {
58
58
  default: withCtx(() => [
@@ -5,7 +5,7 @@ import _sfc_main$3 from './HeaderSettingsItem.vue.js';
5
5
  import _sfc_main$2 from './HeaderFieldNested.vue.js';
6
6
 
7
7
  const _hoisted_1 = { class: "p-4" };
8
- const _hoisted_2 = { class: "flex flex-col" };
8
+ const _hoisted_2 = { class: "grid grid-cols-1" };
9
9
  const _hoisted_3 = ["disabled"];
10
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  __name: "HeaderSettings",
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderSettingsItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/components/HeaderSettingsItem.vue"],"names":[],"mappings":"AAqFA,OAAO,KAAK,EAAC,WAAW,EAAE,SAAS,EAAC,MAAM,UAAU,CAAA;yBAKnC,IAAI,SAAS,WAAW,EAAE,WAAW,eACxC,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;WAmKxD,mBAAmB,CAAC;;;;;;eA/JrB,SAAS,CAAC,IAAI,EAAE,WAAW,CAAC;qBACtB,WAAW;qBACX,WAAW;mBACb,OAAO;uBACH,OAAO;eACf,MAAM;KA0JwE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,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IAAI;YAClC,YAAY,SAAS,MAAM,GAAG,IAAI;YAClC,UAAU,GAAG,IAAI;;;;;YA2JqB,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"}
@@ -49,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
49
49
  }, [
50
50
  !_ctx.disabledDrag ? (openBlock(), createElementBlock("button", {
51
51
  key: 0,
52
- class: "relative w-ripple w-ripple-hover flex items-center justify-center",
52
+ class: "relative w-ripple w-ripple-hover flex items-center justify-center cursor-grab active:cursor-grabbing",
53
53
  onMousedown: initDrag
54
54
  }, [
55
55
  createVNode(unref(IconDrag), { class: "rotate-90" })
@@ -3,6 +3,7 @@ declare const _default: <Data extends DefaultData, QueryParams>(__VLS_props: Non
3
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
4
4
  fields: ListFields<Data, QueryParams>;
5
5
  item: Data;
6
+ nested?: boolean;
6
7
  }> & import('vue').PublicProps;
7
8
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
8
9
  attrs: any;
@@ -1 +1 @@
1
- {"version":3,"file":"ListCardFieldNested.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/components/ListCardFieldNested.vue"],"names":[],"mappings":"AAuEA,OAAO,KAAK,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,UAAU,CAAA;yBAIlC,IAAI,SAAS,WAAW,EAAE,WAAW,eACxC,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,GA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QAAQ,CAAC;WAqIxD,mBAAmB,CAAC;gBAjIpB,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC;cAC/B,IAAI;iBACD,OAAO;KA+HqE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;iBA5HF,CAAC,KAAK,EAAE;YAAC,KAAK,EAAE,SAAS,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YAAC,IAAI,EAAE,IAAI,CAAA;SAAC,KAAK,IAAI;;iBAAlE,CAAC,KAAK,EAAE;YAAC,KAAK,EAAE,SAAS,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YAAC,IAAI,EAAE,IAAI,CAAA;SAAC,KAAK,IAAI;;UA8HpE,EAAE;;;;YAGiC,OAAO,CAAC,OAAO,WAAW,CAAC;;AA/IvE,wBA+I4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,11 +1,14 @@
1
- import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, renderList, unref, createBlock, resolveDynamicComponent, mergeProps, withCtx, normalizeClass, createVNode, renderSlot } from 'vue';
1
+ import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, renderList, unref, createBlock, resolveDynamicComponent, mergeProps, withCtx, createVNode, createElementVNode, normalizeClass, renderSlot } from 'vue';
2
+ import _sfc_main$2 from '../../InfiniteList/components/EmptyComponent.vue.js';
2
3
  import { getFirstFieldLabel } from '../use/useFieldConfigMap.js';
4
+ import _sfc_main$1 from './ListCardFieldNestedItem.vue.js';
3
5
 
4
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
7
  __name: "ListCardFieldNested",
6
8
  props: {
7
9
  fields: {},
8
- item: {}
10
+ item: {},
11
+ nested: { type: Boolean }
9
12
  },
10
13
  setup(__props) {
11
14
  return (_ctx, _cache) => {
@@ -15,38 +18,49 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
18
  key: unref(getFirstFieldLabel)(field)
16
19
  }, [
17
20
  "fields" in field ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
18
- "keyArray" in field ? (openBlock(), createBlock(resolveDynamicComponent(field.componentArray ?? "div"), mergeProps({
21
+ "keyArray" in field || "getterArray" in field ? (openBlock(), createBlock(resolveDynamicComponent(field.componentArray ?? "div"), mergeProps({
19
22
  key: 0,
20
23
  ref_for: true
21
24
  }, field.componentArray ? { item: _ctx.item } : void 0, {
22
- class: [field.cssClassArray, "sm:mr-6"]
25
+ class: { [field.cssClassArray ?? ""]: true, "sm:mr-6": !_ctx.nested }
23
26
  }), {
24
27
  default: withCtx(() => [
25
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.item[field.keyArray], (inner) => {
26
- return openBlock(), createElementBlock("div", {
27
- key: inner.id,
28
- class: normalizeClass([field.cssClass, "flex"])
29
- }, [
30
- createVNode(_component_ListCardFieldNested, {
31
- fields: field.fields,
32
- item: inner
33
- }, {
34
- default: withCtx((defaultScope) => [
35
- renderSlot(_ctx.$slots, "default", mergeProps({ ref_for: true }, defaultScope))
28
+ createVNode(_sfc_main$1, {
29
+ items: "keyArray" in field ? _ctx.item[field.keyArray] : field.getterArray(_ctx.item)
30
+ }, {
31
+ default: withCtx(({ inner, index, last, first }) => [
32
+ (openBlock(), createBlock(resolveDynamicComponent(field.componentItem ?? _sfc_main$2), mergeProps({ ref_for: true }, field.componentItem ? { item: _ctx.item, index, last, first } : void 0), {
33
+ default: withCtx(() => [
34
+ createElementVNode("div", {
35
+ class: normalizeClass(["flex", field.cssClass])
36
+ }, [
37
+ createVNode(_component_ListCardFieldNested, {
38
+ fields: field.fields,
39
+ item: inner,
40
+ nested: ""
41
+ }, {
42
+ default: withCtx((defaultScope) => [
43
+ renderSlot(_ctx.$slots, "default", mergeProps({ ref_for: true }, defaultScope))
44
+ ]),
45
+ _: 2
46
+ }, 1032, ["fields", "item"])
47
+ ], 2)
36
48
  ]),
37
49
  _: 2
38
- }, 1032, ["fields", "item"])
39
- ], 2);
40
- }), 128))
50
+ }, 1040))
51
+ ]),
52
+ _: 2
53
+ }, 1032, ["items"])
41
54
  ]),
42
55
  _: 2
43
56
  }, 1040, ["class"])) : (openBlock(), createElementBlock("div", {
44
57
  key: 1,
45
- class: normalizeClass([field.cssClass, "flex sm:mr-6"])
58
+ class: normalizeClass([{ [field.cssClass ?? ""]: true, "sm:mr-6": !_ctx.nested }, "flex"])
46
59
  }, [
47
60
  createVNode(_component_ListCardFieldNested, {
48
61
  fields: field.fields,
49
- item: "keyEntity" in field ? _ctx.item[field.keyEntity] : _ctx.item
62
+ item: "keyEntity" in field ? _ctx.item[field.keyEntity] : _ctx.item,
63
+ nested: ""
50
64
  }, {
51
65
  default: withCtx((defaultScope) => [
52
66
  renderSlot(_ctx.$slots, "default", mergeProps({ ref_for: true }, defaultScope))
@@ -0,0 +1,25 @@
1
+ declare const _default: <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<{
2
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
3
+ items: Data[];
4
+ }> & import('vue').PublicProps;
5
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
6
+ attrs: any;
7
+ slots: {
8
+ default?(_: {
9
+ inner: Data;
10
+ index: number;
11
+ last: boolean;
12
+ first: boolean;
13
+ }): any;
14
+ };
15
+ emit: {};
16
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
17
+ [key: string]: any;
18
+ }> & {
19
+ __ctx?: Awaited<typeof __VLS_setup>;
20
+ };
21
+ export default _default;
22
+ type __VLS_PrettifyLocal<T> = {
23
+ [K in keyof T]: T[K];
24
+ } & {};
25
+ //# sourceMappingURL=ListCardFieldNestedItem.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListCardFieldNestedItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/components/ListCardFieldNestedItem.vue"],"names":[],"mappings":"yBAoBiB,IAAI,eACP,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;WA6DxD,mBAAmB,CAAC;eAzDrB,IAAI,EAAE;KAyDwE,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;;;;YAvBgB,GAAG;;UAyBvB,EAAE;;;;YAGiC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAvEvE,wBAuE4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { defineComponent, openBlock, createElementBlock, Fragment, renderList, renderSlot, mergeProps } from 'vue';
2
+
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "ListCardFieldNestedItem",
5
+ props: {
6
+ items: {}
7
+ },
8
+ setup(__props) {
9
+ return (_ctx, _cache) => {
10
+ return openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (inner, index) => {
11
+ return renderSlot(_ctx.$slots, "default", mergeProps({
12
+ key: inner.id,
13
+ ref_for: true
14
+ }, { inner, index, last: index === _ctx.items.length - 1, first: index === 0 }));
15
+ }), 128);
16
+ };
17
+ }
18
+ });
19
+
20
+ export { _sfc_main as default };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './ListCardFieldNestedItem.vue.js';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -5,6 +5,15 @@ export type FieldComponent<Data> = Component<{
5
5
  readonly?: boolean;
6
6
  mobile?: boolean;
7
7
  }>;
8
+ export type FieldComponentItem<Data> = Component<{
9
+ item: Data;
10
+ skeleton?: boolean;
11
+ readonly?: boolean;
12
+ mobile?: boolean;
13
+ index?: number;
14
+ first?: boolean;
15
+ last?: boolean;
16
+ }>;
8
17
  export type ListField<Data, QueryParams = unknown> = {
9
18
  component: Raw<FieldComponent<Data>>;
10
19
  title: string | ((params: QueryParams) => string);
@@ -28,13 +37,24 @@ export interface ListFieldNestedEntity<Data, QueryParams = unknown> extends Fiel
28
37
  type FieldNestedArray<Data, QueryParams = unknown, Key extends keyof PickByType<Data, Array<unknown>> = keyof PickByType<Data, Array<unknown>>> = {
29
38
  keyArray: Key;
30
39
  fields: Data[Key] extends Array<infer Inner> ? ListFields<Inner, QueryParams> : [];
40
+ componentItem?: Data[Key] extends Array<infer Inner> ? Raw<FieldComponentItem<Inner>> : never;
31
41
  };
32
42
  export interface ListFieldNestedArray<Data, QueryParams = unknown> extends FieldNestedArray<Data, QueryParams> {
33
43
  cssClass?: string;
34
44
  cssClassArray?: string;
35
45
  componentArray?: Raw<FieldComponent<Data>>;
36
46
  }
37
- export type ListFields<Data, QueryParams = unknown> = (ListField<Data, QueryParams> | ListFieldNested<Data, QueryParams> | ListFieldNestedEntity<Data, QueryParams> | ListFieldNestedArray<Data, QueryParams>)[];
47
+ type FieldNestedArrayGetter<Data, QueryParams = unknown, Inner = unknown> = {
48
+ getterArray: (data: Data) => Inner[];
49
+ fields: ListFields<Inner, QueryParams>;
50
+ componentItem?: Raw<FieldComponentItem<Inner>>;
51
+ };
52
+ export interface ListFieldNestedArrayGetter<Data, QueryParams = unknown, Inner = unknown> extends FieldNestedArrayGetter<Data, QueryParams, Inner> {
53
+ cssClass?: string;
54
+ cssClassArray?: string;
55
+ componentArray?: Raw<FieldComponent<Data>>;
56
+ }
57
+ export type ListFields<Data, QueryParams = unknown> = (ListField<Data, QueryParams> | ListFieldNested<Data, QueryParams> | ListFieldNestedEntity<Data, QueryParams> | ListFieldNestedArray<Data, QueryParams> | ListFieldNestedArrayGetter<Data, QueryParams>)[];
38
58
  export type MenuComponent<Data> = Component<{
39
59
  item: Data;
40
60
  readonly?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/List/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAE,GAAG,EAAC,MAAM,KAAK,CAAA;AAEvC,MAAM,MAAM,cAAc,CAAC,IAAI,IAAI,SAAS,CAAC;IAC3C,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC,CAAA;AAEF,MAAM,MAAM,SAAS,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,IAAI;IACnD,SAAS,EAAE,GAAG,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAA;IACpC,KAAK,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,WAAW,KAAK,MAAM,CAAC,CAAA;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,MAAM,IAAI,EAAE,MAAM,CAAC,CAAC,CAAA;IAC5F,aAAa,CAAC,EAAE,CAAC,MAAM,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MAAM,CAAC,CAAA;AAGpG,MAAM,MAAM,cAAc,CAAC,MAAM,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAA"}
@@ -59,6 +59,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
59
59
  declare const __VLS_component: import('vue').DefineComponent<{
60
60
  names?: string[];
61
61
  loading?: boolean;
62
+ disabled?: boolean;
63
+ disabledNext?: boolean;
62
64
  }, {
63
65
  next: () => void;
64
66
  previous: () => void;
@@ -72,6 +74,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
72
74
  }, string, import('vue').PublicProps, Readonly<{
73
75
  names?: string[];
74
76
  loading?: boolean;
77
+ disabled?: boolean;
78
+ disabledNext?: boolean;
75
79
  }> & Readonly<{
76
80
  onSubmit?: (() => any) | undefined;
77
81
  "onClose:modal"?: (() => any) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"WModalStepper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/WModalStepper.vue"],"names":[],"mappings":"AAiNA,iBAAS,cAAc;;uBA6MI,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAUhB,OAAO,IAA6B;EAEjD;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YAvTX,MAAM,EAAE;cACN,OAAO;;gBA2BF,IAAI;oBANA,IAAI;;;;;;;;;YAtBf,MAAM,EAAE;cACN,OAAO;;;;;;;;kFAqUjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"WModalStepper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/WModalStepper.vue"],"names":[],"mappings":"AAuNA,iBAAS,cAAc;;uBA6MI,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAUhB,OAAO,IAA6B;EAEjD;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YAzTX,MAAM,EAAE;cACN,OAAO;eACN,OAAO;mBACH,OAAO;;gBA2BP,IAAI;oBANA,IAAI;;;;;;;;;YAxBf,MAAM,EAAE;cACN,OAAO;eACN,OAAO;mBACH,OAAO;;;;;;;;kFAqUtB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -10,7 +10,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  __name: "WModalStepper",
11
11
  props: {
12
12
  names: {},
13
- loading: { type: Boolean }
13
+ loading: { type: Boolean },
14
+ disabled: { type: Boolean },
15
+ disabledNext: { type: Boolean }
14
16
  },
15
17
  emits: ["close:modal", "submit", "next", "previous", "update:current", "update:has-changes"],
16
18
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -59,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
59
61
  actions: withCtx(() => [
60
62
  current.value === 0 ? (openBlock(), createBlock(_sfc_main$2, {
61
63
  key: 0,
62
- disabled: _ctx.loading,
64
+ disabled: _ctx.loading || _ctx.disabled,
63
65
  "semantic-type": unref(SemanticType).SECONDARY,
64
66
  class: "w-full",
65
67
  onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("close:modal"))
@@ -70,7 +72,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
70
72
  _: 1
71
73
  }, 8, ["disabled", "semantic-type"])) : (openBlock(), createBlock(_sfc_main$2, {
72
74
  key: 1,
73
- disabled: _ctx.loading,
75
+ disabled: _ctx.loading || _ctx.disabled,
74
76
  "semantic-type": unref(SemanticType).SECONDARY,
75
77
  class: "w-full",
76
78
  onClick: previous
@@ -84,6 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
84
86
  key: 2,
85
87
  "semantic-type": unref(SemanticType).PRIMARY,
86
88
  loading: _ctx.loading,
89
+ disabled: _ctx.disabled || _ctx.disabledNext,
87
90
  class: "w-full",
88
91
  onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("submit"))
89
92
  }, {
@@ -91,10 +94,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
91
94
  createTextVNode(" Submit ")
92
95
  ])),
93
96
  _: 1
94
- }, 8, ["semantic-type", "loading"])) : (openBlock(), createBlock(_sfc_main$2, {
97
+ }, 8, ["semantic-type", "loading", "disabled"])) : (openBlock(), createBlock(_sfc_main$2, {
95
98
  key: 3,
96
99
  "semantic-type": unref(SemanticType).PRIMARY,
97
100
  loading: _ctx.loading,
101
+ disabled: _ctx.disabled || _ctx.disabledNext,
98
102
  class: "w-full",
99
103
  onClick: next
100
104
  }, {
@@ -102,7 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
102
106
  createTextVNode(" Next ")
103
107
  ])),
104
108
  _: 1
105
- }, 8, ["semantic-type", "loading"]))
109
+ }, 8, ["semantic-type", "loading", "disabled"]))
106
110
  ]),
107
111
  default: withCtx(() => [
108
112
  createVNode(_sfc_main$3, {
@@ -12,8 +12,8 @@ export declare class ApiErrorCancel<Data extends RequestData = NonNullable<unkno
12
12
  }
13
13
  export declare const handleApiError: <Error>(error: Error, form?: {
14
14
  invalidate: ComponentInstance<typeof WForm>["invalidate"];
15
- }, field?: string, formValidator?: {
15
+ } | null, field?: string, formValidator?: {
16
16
  invalidate: ComponentInstance<typeof WFormValidator>["invalidate"];
17
- }) => Promise<Error>;
17
+ } | null) => Promise<Error>;
18
18
  export {};
19
19
  //# sourceMappingURL=api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/utils/api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,6BAA6B,CAAA;AACpD,OAAO,KAAK,cAAc,MAAM,sCAAsC,CAAA;AAItE,KAAK,aAAa,CAAC,QAAQ,IAAI;KAC5B,GAAG,IAAI,QAAQ,GAAG,kBAAkB,GAAG,MAAM,QAAQ,CAAC,CAAC,EAAE,GAAG,SAAS,QAAQ,GAAG,MAAM,GAAG,MAAM,EAAE;CACnG,CAAA;AAED,qBAAa,QAAQ,CAAC,IAAI,SAAS,WAAW,GAAG,WAAW,CAAC,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,CAAE,SAAQ,KAAK;aACvF,QAAQ,EAAE,eAAe,CAAC,SAAS,EAAE,IAAI,CAAC;gBAA1C,QAAQ,EAAE,eAAe,CAAC,SAAS,EAAE,IAAI,CAAC;CAGvE;AAED,qBAAa,cAAc,CAAC,IAAI,SAAS,WAAW,GAAG,WAAW,CAAC,OAAO,CAAC,CAAE,SAAQ,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;gBAChG,QAAQ,EAAE,eAAe,CAAC,SAAS,EAAE,IAAI,CAAC;CAGvD;AAED,eAAO,MAAM,cAAc,GAAI,KAAK,SAC3B,KAAK,SACL;IAAC,UAAU,EAAE,iBAAiB,CAAC,OAAO,KAAK,CAAC,CAAC,YAAY,CAAC,CAAA;CAAC,UAC1D,MAAM,kBACE;IAAC,UAAU,EAAE,iBAAiB,CAAC,OAAO,cAAc,CAAC,CAAC,YAAY,CAAC,CAAA;CAAC,KACnF,OAAO,CAAC,KAAK,CAgBf,CAAA"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/utils/api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,6BAA6B,CAAA;AACpD,OAAO,KAAK,cAAc,MAAM,sCAAsC,CAAA;AAItE,KAAK,aAAa,CAAC,QAAQ,IAAI;KAC5B,GAAG,IAAI,QAAQ,GAAG,kBAAkB,GAAG,MAAM,QAAQ,CAAC,CAAC,EAAE,GAAG,SAAS,QAAQ,GAAG,MAAM,GAAG,MAAM,EAAE;CACnG,CAAA;AAED,qBAAa,QAAQ,CAAC,IAAI,SAAS,WAAW,GAAG,WAAW,CAAC,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,CAAE,SAAQ,KAAK;aACvF,QAAQ,EAAE,eAAe,CAAC,SAAS,EAAE,IAAI,CAAC;gBAA1C,QAAQ,EAAE,eAAe,CAAC,SAAS,EAAE,IAAI,CAAC;CAGvE;AAED,qBAAa,cAAc,CAAC,IAAI,SAAS,WAAW,GAAG,WAAW,CAAC,OAAO,CAAC,CAAE,SAAQ,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;gBAChG,QAAQ,EAAE,eAAe,CAAC,SAAS,EAAE,IAAI,CAAC;CAGvD;AAED,eAAO,MAAM,cAAc,GAAI,KAAK,SAC3B,KAAK,SACL;IAAC,UAAU,EAAE,iBAAiB,CAAC,OAAO,KAAK,CAAC,CAAC,YAAY,CAAC,CAAA;CAAC,GAAG,IAAI,UACjE,MAAM,kBACE;IAAC,UAAU,EAAE,iBAAiB,CAAC,OAAO,cAAc,CAAC,CAAC,YAAY,CAAC,CAAA;CAAC,GAAG,IAAI,KAC1F,OAAO,CAAC,KAAK,CAgBf,CAAA"}
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.25",
7
+ "version": "0.8.27",
8
8
  "scripts": {
9
9
  "dev": "vite",
10
10
  "build": "run-p type-check build-only",