@open-xamu-co/ui-components-vue 4.0.0-next.32 → 4.0.0-next.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/{Choice-yPm15TmL.cjs → Choice-nVkjrnvj.cjs} +1 -1
- package/dist/Choice-sytmDhk0.js +4 -0
- package/dist/Color-C-ykp3VT.js +4 -0
- package/dist/{Color-JaWt3ThI.cjs → Color-Cziaxi1o.cjs} +1 -1
- package/dist/{Complex-7kIEge6R.cjs → Complex-B70f0KYV.cjs} +1 -1
- package/dist/Complex-U5SZnZXz.js +4 -0
- package/dist/ContentFetch-BtWMYO5-.js +4 -0
- package/dist/{ContentFetch-DnFQ5Aq7.cjs → ContentFetch-k9gBKtgv.cjs} +1 -1
- package/dist/Editor-B2AefNGX.js +4 -0
- package/dist/{Editor-7JJR4ATb.cjs → Editor-CGXHqd3R.cjs} +1 -1
- package/dist/{File-CDxAXmQl.cjs → File-BZl4wrrP.cjs} +1 -1
- package/dist/File-DsDN7O0m.js +4 -0
- package/dist/{Filter-DKesibMu.cjs → Filter-6kO1hSCH.cjs} +1 -1
- package/dist/Filter-C4vkLs6V.js +4 -0
- package/dist/{InputCountriesAPI-Cu0BDOGh.cjs → InputCountriesAPI-CG8WrEti.cjs} +1 -1
- package/dist/{InputCountriesAPI-Ca9fzClB.js → InputCountriesAPI-CQJbF6xt.js} +2 -2
- package/dist/List-Cb6qOi4U.js +4 -0
- package/dist/{List-Bb-Gfqbx.cjs → List-kz2AcC1J.cjs} +1 -1
- package/dist/Simple-BzgEp9cj.js +4 -0
- package/dist/Simple-C59oaEMh.js +4 -0
- package/dist/{Simple-Knhh5OFo.cjs → Simple-CVxfxm8Y.cjs} +1 -1
- package/dist/{Simple-CzNj0aSo.cjs → Simple-Cx8Rcwm3.cjs} +1 -1
- package/dist/{Simple-Co65ru9a.cjs → Simple-CxesHPCJ.cjs} +1 -1
- package/dist/Simple-ePbtereY.js +4 -0
- package/dist/{Time-CprOM_-2.cjs → Time-DA8EVJQ1.cjs} +1 -1
- package/dist/Time-DniWlKXs.js +4 -0
- package/dist/components/form/Stages.vue.d.ts +4 -6
- package/dist/{index-CDIdmENN.cjs → index-CsbyB_0U.cjs} +19 -19
- package/dist/{index-B9xuJkkJ.js → index-D6GBJ86f.js} +1464 -1485
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/plugin.cjs +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +2 -2
- package/dist/Choice-BaV8zwUF.js +0 -4
- package/dist/Color-LY16xo3z.js +0 -4
- package/dist/Complex-BaU1Sdnu.js +0 -4
- package/dist/ContentFetch-LUDVDqrD.js +0 -4
- package/dist/Editor-VLeHBkWl.js +0 -4
- package/dist/File-DlA49Ibd.js +0 -4
- package/dist/Filter-Cd-x0SvT.js +0 -4
- package/dist/List-Clfxrmdu.js +0 -4
- package/dist/Simple-4fej94Lz.js +0 -4
- package/dist/Simple-BnFSlbBD.js +0 -4
- package/dist/Simple-Byb1eA82.js +0 -4
- package/dist/Time-BNltxUTl.js +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
Xamu UI
|
|
2
2
|
|
|
3
|
+
# [@open-xamu-co/ui-components-vue-v4.0.0-next.33](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v4.0.0-next.32...@open-xamu-co/ui-components-vue-v4.0.0-next.33) (2026-07-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **vue:** form stages with proven functionality ([5cf3fb7](https://github.com/xamu-co/ui/commit/5cf3fb715327e2a60709df4924f267e3eecabea4))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
[34mUpdating dependant packages with "@open-xamu-co/ui-components-vue" version "4.0.0-next.33"[0m
|
|
15
|
+
[34mUpdating "nuxt"[0m
|
|
16
|
+
[34mSuccesfully updated "nuxt" package[0m
|
|
17
|
+
|
|
3
18
|
# [@open-xamu-co/ui-components-vue-v4.0.0-next.32](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v4.0.0-next.31...@open-xamu-co/ui-components-vue-v4.0.0-next.32) (2026-07-08)
|
|
4
19
|
|
|
5
20
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsbyB_0U.cjs");exports.default=e._sfc_main$9;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsbyB_0U.cjs");exports.default=e._sfc_main$1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsbyB_0U.cjs");exports.default=e._sfc_main$2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsbyB_0U.cjs");exports.default=e._sfc_main$13;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsbyB_0U.cjs");exports.default=e._sfc_main$10;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsbyB_0U.cjs");exports.default=e._sfc_main$6;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsbyB_0U.cjs");exports.default=e._sfc_main$8;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-CsbyB_0U.cjs"),s=e.defineComponent({name:"FormInputCountriesApi",inheritAttrs:!0,__name:"InputCountriesAPI",props:{model:{},countries:{},states:{default:()=>[]},loading:{type:Boolean},errors:{},refresh:{},theme:{},invertTheme:{type:Boolean},shadow:{type:[Boolean,Array]}},setup(t){const n=e.defineAsyncComponent({loader:()=>Promise.resolve().then(()=>require("./ContentFetch-k9gBKtgv.cjs")),loadingComponent:a._sfc_main$11}),l=t,{defaultCountry:u,getCountryStates:i,getStateCities:m}=a.useCountries(),r=e.computed(()=>l.model[0]||u||"");return(d,h)=>(e.openBlock(),e.createBlock(e.Suspense,null,{fallback:e.withCtx(()=>[e.createVNode(a._sfc_main$11,{theme:t.theme},null,8,["theme"])]),default:e.withCtx(()=>[e.createVNode(a._sfc_main$12,{wrapper:e.unref(n),wrap:!t.loading&&!t.states?.length,promise:e.unref(i),url:`/${t.model[0]}?states`,payload:[r.value],fallback:[],theme:t.theme,unwrap:""},{default:e.withCtx(o=>[(e.openBlock(),e.createBlock(e.Suspense,null,{fallback:e.withCtx(()=>[e.createVNode(a._sfc_main$11,{theme:t.theme},null,8,["theme"])]),default:e.withCtx(()=>[e.createVNode(a._sfc_main$12,{wrapper:e.unref(n),wrap:!t.loading&&!o?.loading&&!!t.model[1],promise:e.unref(m),url:`/${t.model[0]}/${t.model[1]}?cities`,payload:[r.value,t.model[1]],fallback:[],theme:t.theme,unwrap:""},{default:e.withCtx(c=>[e.renderSlot(d.$slots,"default",e.normalizeProps(e.guardReactiveProps({statesReq:o,citiesReq:c})))]),_:2},1032,["wrapper","wrap","promise","url","payload","theme"])]),_:2},1024))]),_:3},8,["wrapper","wrap","promise","url","payload","theme"])]),_:3}))}});exports.default=s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, defineAsyncComponent as g, computed as k, createBlock as u, openBlock as d, Suspense as i, withCtx as t, createVNode as a, unref as l, renderSlot as $, normalizeProps as A, guardReactiveProps as B } from "vue";
|
|
2
|
-
import { n as o, o as b, p as s } from "./index-
|
|
2
|
+
import { n as o, o as b, p as s } from "./index-D6GBJ86f.js";
|
|
3
3
|
const P = /* @__PURE__ */ C({
|
|
4
4
|
name: "FormInputCountriesApi",
|
|
5
5
|
inheritAttrs: !0,
|
|
@@ -17,7 +17,7 @@ const P = /* @__PURE__ */ C({
|
|
|
17
17
|
},
|
|
18
18
|
setup(e) {
|
|
19
19
|
const n = g({
|
|
20
|
-
loader: () => import("./ContentFetch-
|
|
20
|
+
loader: () => import("./ContentFetch-BtWMYO5-.js"),
|
|
21
21
|
loadingComponent: o
|
|
22
22
|
}), c = e, { defaultCountry: p, getCountryStates: f, getStateCities: h } = b(), r = k(() => c.model[0] || p || "");
|
|
23
23
|
return (w, v) => (d(), u(i, null, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsbyB_0U.cjs");exports.default=e._sfc_main$4;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsbyB_0U.cjs");exports.default=e._sfc_main$3;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsbyB_0U.cjs");exports.default=e._sfc_main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsbyB_0U.cjs");exports.default=e._sfc_main$5;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsbyB_0U.cjs");exports.default=e._sfc_main$7;
|
|
@@ -11,8 +11,8 @@ export interface iFormStages extends iUseThemeProps {
|
|
|
11
11
|
/**
|
|
12
12
|
* submit fn
|
|
13
13
|
*/
|
|
14
|
-
submitFn?: (values: tFormInput[], event
|
|
15
|
-
/** Perform additional actions if submit
|
|
14
|
+
submitFn?: (values: tFormInput[], event: Event) => Promise<boolean | iInvalidInput[] | undefined>;
|
|
15
|
+
/** Perform additional actions if submit succeeds */
|
|
16
16
|
successFn?: () => void;
|
|
17
17
|
/**
|
|
18
18
|
* Omit requiring filling up the form
|
|
@@ -28,15 +28,13 @@ declare var __VLS_14: {}, __VLS_30: {}, __VLS_32: {}, __VLS_34: {
|
|
|
28
28
|
activeStage: number;
|
|
29
29
|
stagesLength: number;
|
|
30
30
|
setActiveStage: typeof setActiveStage;
|
|
31
|
-
canSubmit: boolean;
|
|
32
31
|
submit: import("lodash").DebouncedFunc<(e: Event) => Promise<void>>;
|
|
33
32
|
}, __VLS_80: {
|
|
34
33
|
activeStage: number;
|
|
35
34
|
stagesLength: number;
|
|
36
35
|
setActiveStage: typeof setActiveStage;
|
|
37
|
-
canSubmit: boolean;
|
|
38
36
|
submit: import("lodash").DebouncedFunc<(e: Event) => Promise<void>>;
|
|
39
|
-
},
|
|
37
|
+
}, __VLS_95: {};
|
|
40
38
|
type __VLS_Slots = {} & {
|
|
41
39
|
default?: (props: typeof __VLS_14) => any;
|
|
42
40
|
} & {
|
|
@@ -48,7 +46,7 @@ type __VLS_Slots = {} & {
|
|
|
48
46
|
} & {
|
|
49
47
|
'secondary-actions-content'?: (props: typeof __VLS_80) => any;
|
|
50
48
|
} & {
|
|
51
|
-
'secondary-actions'?: (props: typeof
|
|
49
|
+
'secondary-actions'?: (props: typeof __VLS_95) => any;
|
|
52
50
|
};
|
|
53
51
|
declare const __VLS_base: import("vue").DefineComponent<iFormStages, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
52
|
"input-values": (...args: any[]) => void;
|