@bagelink/vue 1.0.52 → 1.0.54
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/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/Spreadsheet/Index.vue.d.ts +2 -0
- package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -1
- package/dist/components/form/BagelForm.vue.d.ts +3 -1
- package/dist/components/form/BagelForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts +1 -0
- package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PhoneInput.vue.d.ts +2 -0
- package/dist/components/form/inputs/PhoneInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +4 -0
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts +1 -0
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/composables/useSchemaField.d.ts.map +1 -1
- package/dist/index.cjs +63 -18
- package/dist/index.mjs +63 -18
- package/dist/style.css +765 -484
- package/package.json +1 -1
- package/src/components/Modal.vue +1 -0
- package/src/components/form/BagelForm.vue +23 -7
- package/src/components/form/FieldArray.vue +2 -2
- package/src/components/form/inputs/NumberInput.vue +1 -1
- package/src/components/form/inputs/PasswordInput.vue +2 -0
- package/src/components/form/inputs/TextInput.vue +4 -1
- package/src/composables/useSchemaField.ts +34 -1
- package/src/styles/text.css +911 -560
- package/src/components/DataTable/tableTypes.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.vue.d.ts","sourceRoot":"","sources":["../../src/components/Modal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Modal.vue.d.ts","sourceRoot":"","sources":["../../src/components/Modal.vue"],"names":[],"mappings":"AAgKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAc/C,OAAO,qBAAqB,CAAA;AAE5B,KAAK,WAAW,GAAG;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AA0BF,iBAAS,UAAU,SAGlB;AAmBD,iBAAS,cAAc;WA8JT,OAAO,IAA6B;;yBAZrB,GAAG;yBACF,GAAG;wBACJ,GAAG;;;;EAe/B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;6FASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -25,6 +25,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
25
25
|
id?: string;
|
|
26
26
|
title?: string;
|
|
27
27
|
helptext?: string;
|
|
28
|
+
name?: string;
|
|
28
29
|
placeholder?: string;
|
|
29
30
|
modelValue?: string | number;
|
|
30
31
|
label?: string;
|
|
@@ -74,6 +75,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
74
75
|
id?: string;
|
|
75
76
|
title?: string;
|
|
76
77
|
helptext?: string;
|
|
78
|
+
name?: string;
|
|
77
79
|
placeholder?: string;
|
|
78
80
|
modelValue?: string | number;
|
|
79
81
|
label?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Spreadsheet/Index.vue"],"names":[],"mappings":"AAwxBA,KAAK,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;AAEhG,UAAU,YAAY;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,YAAY,CAAC,EAAE,GAAG,CAAA;CAClB;AAGD,UAAU,KAAK;IACd,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAA;IACtC,YAAY,CAAC,EAAE,YAAY,EAAE,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;CACrB
|
|
1
|
+
{"version":3,"file":"Index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Spreadsheet/Index.vue"],"names":[],"mappings":"AAwxBA,KAAK,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;AAEhG,UAAU,YAAY;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,YAAY,CAAC,EAAE,GAAG,CAAA;CAClB;AAGD,UAAU,KAAK;IACd,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAA;IACtC,YAAY,CAAC,EAAE,YAAY,EAAE,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0oCD,wBASG"}
|
|
@@ -33,7 +33,9 @@ declare const _default: <T extends {
|
|
|
33
33
|
schemaState: "error" | "loading" | "loaded";
|
|
34
34
|
}): any;
|
|
35
35
|
success?(_: {}): any;
|
|
36
|
-
error?(_: {
|
|
36
|
+
error?(_: {
|
|
37
|
+
error: Error | undefined;
|
|
38
|
+
}): any;
|
|
37
39
|
};
|
|
38
40
|
emit: (e: "update:modelValue", value: T) => void;
|
|
39
41
|
}>) => import('vue').VNode & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BagelForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/BagelForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BagelForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/BagelForm.vue"],"names":[],"mappings":"AAwOA,OAAO,KAAK,EAAE,gBAAgB,EAAS,cAAc,EAAE,MAAM,eAAe,CAAA;yBAO3D,CAAC,SAAS;IAAC,CAAC,GAAG,EAAC,MAAM,GAAE,GAAG,CAAA;CAAC,eAC/B,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,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A;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,OAAO,CAAA;CACrB;;;;;;AAuWD,wBAQG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/PasswordInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PasswordInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/PasswordInput.vue"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAG7C,MAAM,WAAW,cAAc;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gBAAgB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;IACzC,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,SAAS,CAAC,EAAE,QAAQ,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;CACpC;AACD,KAAK,WAAW,GAAG,cAAc,CAAC;AAuBlC,KAAK,iBAAiB,GAAG;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;WA9CP,MAAM;kBAiBC,aAAa;;AA6H7B,wBASG"}
|
|
@@ -27,6 +27,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
27
27
|
id?: string;
|
|
28
28
|
title?: string;
|
|
29
29
|
helptext?: string;
|
|
30
|
+
name?: string;
|
|
30
31
|
placeholder?: string;
|
|
31
32
|
modelValue?: string | number;
|
|
32
33
|
label?: string;
|
|
@@ -76,6 +77,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
76
77
|
id?: string;
|
|
77
78
|
title?: string;
|
|
78
79
|
helptext?: string;
|
|
80
|
+
name?: string;
|
|
79
81
|
placeholder?: string;
|
|
80
82
|
modelValue?: string | number;
|
|
81
83
|
label?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/PhoneInput.vue"],"names":[],"mappings":"AAyWA,KAAK,WAAW,GAAG;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC
|
|
1
|
+
{"version":3,"file":"PhoneInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/PhoneInput.vue"],"names":[],"mappings":"AAyWA,KAAK,WAAW,GAAG;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6YF,wBASG"}
|
|
@@ -642,6 +642,7 @@ declare function __VLS_template(): {
|
|
|
642
642
|
id?: string;
|
|
643
643
|
title?: string;
|
|
644
644
|
helptext?: string;
|
|
645
|
+
name?: string;
|
|
645
646
|
placeholder?: string;
|
|
646
647
|
modelValue?: string | number;
|
|
647
648
|
label?: string;
|
|
@@ -691,6 +692,7 @@ declare function __VLS_template(): {
|
|
|
691
692
|
id?: string;
|
|
692
693
|
title?: string;
|
|
693
694
|
helptext?: string;
|
|
695
|
+
name?: string;
|
|
694
696
|
placeholder?: string;
|
|
695
697
|
modelValue?: string | number;
|
|
696
698
|
label?: string;
|
|
@@ -1356,6 +1358,7 @@ declare const __VLS_component: import('vue').DefineComponent<PropTypes, {}, {},
|
|
|
1356
1358
|
id?: string;
|
|
1357
1359
|
title?: string;
|
|
1358
1360
|
helptext?: string;
|
|
1361
|
+
name?: string;
|
|
1359
1362
|
placeholder?: string;
|
|
1360
1363
|
modelValue?: string | number;
|
|
1361
1364
|
label?: string;
|
|
@@ -1405,6 +1408,7 @@ declare const __VLS_component: import('vue').DefineComponent<PropTypes, {}, {},
|
|
|
1405
1408
|
id?: string;
|
|
1406
1409
|
title?: string;
|
|
1407
1410
|
helptext?: string;
|
|
1411
|
+
name?: string;
|
|
1408
1412
|
placeholder?: string;
|
|
1409
1413
|
modelValue?: string | number;
|
|
1410
1414
|
label?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectInput.vue"],"names":[],"mappings":"AA2aA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAW1D,OAAO,wBAAwB,CAAA;AAE/B,UAAU,SAAS;IAClB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAA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cACP;2CAEmB,cACJ,sCAEpB,cAAgC,4BAExC,cAGyB;2CACS,cAEnC,sCAAsC,cACjB,4BAEE,cACX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAgZH,GAAG,8CACU,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwGzF,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/TextInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/TextInput.vue"],"names":[],"mappings":"AAmOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAQ7C,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,K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AE;AAC3D,KAAK,YAAY,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,GAAG,CAAA;AACnD,KAAK,aAAa,CAAC,CAAC,IAAI,cAAc,CAAC,CAAC,CAAC,GAAG,KAAK,GAAG,YAAY,CAAC,CAAC,CAAC,CAAA;AAEnE,wBAAgB,cAAc,CAAC,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,EAAE,KAAK,EAAE,qBAAqB,CAAC,CAAC,CAAC;yBAoEvF,cAAc,CAAC,CAAC,CAAC,UAChB,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,KACtC,KAAK,GAAG,IAAI;0BApCc,cAAc,CAAC,CAAC,CAAC;EAiN9C"}
|
package/dist/index.cjs
CHANGED
|
@@ -10532,6 +10532,24 @@ const SLOT_VALUE_COMPONENTS$1 = /* @__PURE__ */ new Set(["div", "span", "p"]);
|
|
|
10532
10532
|
const SRC_VALUE_COMPONENTS$1 = /* @__PURE__ */ new Set(["img", "iframe"]);
|
|
10533
10533
|
function useSchemaField(optns) {
|
|
10534
10534
|
const { mode = "form", getRowData, onUpdate, includeUnset = false } = optns;
|
|
10535
|
+
function renderObject(obj, depth = 0) {
|
|
10536
|
+
if (obj === null || obj === void 0) return "";
|
|
10537
|
+
if (typeof obj !== "object") return String(obj);
|
|
10538
|
+
if (Array.isArray(obj)) return obj.map((item) => renderObject(item, depth + 1)).join(", ");
|
|
10539
|
+
const indent = depth > 0 ? " ".repeat(depth) : "";
|
|
10540
|
+
const nextIndent = " ".repeat(depth + 1);
|
|
10541
|
+
const entries = Object.entries(obj);
|
|
10542
|
+
if (entries.length === 0) return "{}";
|
|
10543
|
+
if (depth > 0) {
|
|
10544
|
+
return `{
|
|
10545
|
+
${entries.map(([key, value]) => `${nextIndent}${key}: ${renderObject(value, depth + 1)}`).join(",\n")}
|
|
10546
|
+
${indent}}`;
|
|
10547
|
+
}
|
|
10548
|
+
return entries.map(([key, value]) => {
|
|
10549
|
+
const valueStr = typeof value === "object" && value !== null ? renderObject(value, depth + 1) : String(value);
|
|
10550
|
+
return `${key}: ${valueStr}`;
|
|
10551
|
+
}).join("\n");
|
|
10552
|
+
}
|
|
10535
10553
|
function getComponent(field) {
|
|
10536
10554
|
var _a;
|
|
10537
10555
|
const componentMap = {
|
|
@@ -10671,7 +10689,7 @@ function useSchemaField(optns) {
|
|
|
10671
10689
|
return vue.h("div", { class: "preview-field" }, [
|
|
10672
10690
|
vue.h("div", { class: "field-label" }, `${field.label || keyToLabel(field.id || "")}:`),
|
|
10673
10691
|
vue.h("div", { class: "field-value" }, [
|
|
10674
|
-
slotContent || (typeof field.$el === "object" ? vue.h(Component, props2, componentSlots) : (transformedValue == null ? void 0 : transformedValue.toString()) || "")
|
|
10692
|
+
slotContent || (typeof field.$el === "object" ? vue.h(Component, props2, componentSlots) : typeof transformedValue === "object" && transformedValue !== null ? vue.h("pre", { style: "margin: 0; white-space: pre-wrap; font-family: inherit; font-size: inherit;" }, renderObject(transformedValue)) : (transformedValue == null ? void 0 : transformedValue.toString()) || "")
|
|
10675
10693
|
])
|
|
10676
10694
|
]);
|
|
10677
10695
|
}
|
|
@@ -15472,9 +15490,16 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
15472
15490
|
formData.value = newData;
|
|
15473
15491
|
emit2("update:modelValue", formData.value);
|
|
15474
15492
|
}
|
|
15493
|
+
const validateForm = () => {
|
|
15494
|
+
var _a;
|
|
15495
|
+
return ((_a = form.value) == null ? void 0 : _a.reportValidity()) ?? false;
|
|
15496
|
+
};
|
|
15497
|
+
let formError = vue.ref();
|
|
15475
15498
|
async function handleSubmit() {
|
|
15476
15499
|
var _a;
|
|
15477
15500
|
try {
|
|
15501
|
+
const valid = validateForm();
|
|
15502
|
+
if (!valid) return;
|
|
15478
15503
|
if (formState.value === "submitting") return;
|
|
15479
15504
|
formState.value = "submitting";
|
|
15480
15505
|
await ((_a = props2.onSubmit) == null ? void 0 : _a.call(props2, formData.value));
|
|
@@ -15482,14 +15507,11 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
15482
15507
|
formState.value = "success";
|
|
15483
15508
|
window.parent.postMessage({ type: "BAGEL_FORM_SUCCESS", data: JSON.stringify(formData.value) }, "*");
|
|
15484
15509
|
} catch (error) {
|
|
15485
|
-
console.error("Submit error:", error);
|
|
15486
15510
|
formState.value = "error";
|
|
15511
|
+
formError.value = error;
|
|
15512
|
+
console.error("Submit error:", formError.value);
|
|
15487
15513
|
}
|
|
15488
15514
|
}
|
|
15489
|
-
const validateForm = () => {
|
|
15490
|
-
var _a;
|
|
15491
|
-
return ((_a = form.value) == null ? void 0 : _a.reportValidity()) ?? false;
|
|
15492
|
-
};
|
|
15493
15515
|
const { renderField } = useSchemaField({
|
|
15494
15516
|
mode: "form",
|
|
15495
15517
|
getRowData: () => ({
|
|
@@ -15505,6 +15527,13 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
15505
15527
|
}
|
|
15506
15528
|
});
|
|
15507
15529
|
const renderSchemaField = (field) => renderField(field);
|
|
15530
|
+
function handleSlotInputChange(event) {
|
|
15531
|
+
const input = event.target;
|
|
15532
|
+
if (input.name) {
|
|
15533
|
+
const value = input.type === "checkbox" ? input.checked : input.value;
|
|
15534
|
+
updateFormData(input.name, value);
|
|
15535
|
+
}
|
|
15536
|
+
}
|
|
15508
15537
|
__expose({ form, isDirty, validateForm, resolveSchema, refreshSchema });
|
|
15509
15538
|
return (_ctx, _cache) => {
|
|
15510
15539
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
@@ -15514,7 +15543,8 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
15514
15543
|
ref_key: "form",
|
|
15515
15544
|
ref: form,
|
|
15516
15545
|
class: vue.normalizeClass(props2.class),
|
|
15517
|
-
onSubmit: vue.withModifiers(handleSubmit, ["prevent"])
|
|
15546
|
+
onSubmit: vue.withModifiers(handleSubmit, ["prevent"]),
|
|
15547
|
+
onInput: handleSlotInputChange
|
|
15518
15548
|
}, [
|
|
15519
15549
|
schemaState.value === "loading" ? vue.renderSlot(_ctx.$slots, "loading", { key: 0 }, () => [
|
|
15520
15550
|
vue.createElementVNode("div", _hoisted_1$M, [
|
|
@@ -15548,7 +15578,10 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
15548
15578
|
], 64))
|
|
15549
15579
|
], 64)) : vue.createCommentVNode("", true),
|
|
15550
15580
|
formState.value === "success" ? vue.renderSlot(_ctx.$slots, "success", { key: 1 }) : vue.createCommentVNode("", true),
|
|
15551
|
-
formState.value === "error" ? vue.renderSlot(_ctx.$slots, "error", {
|
|
15581
|
+
formState.value === "error" ? vue.renderSlot(_ctx.$slots, "error", {
|
|
15582
|
+
key: 2,
|
|
15583
|
+
error: vue.unref(formError)
|
|
15584
|
+
}) : vue.createCommentVNode("", true)
|
|
15552
15585
|
], 64);
|
|
15553
15586
|
};
|
|
15554
15587
|
}
|
|
@@ -15674,7 +15707,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
15674
15707
|
() => isPrimitiveType.value || props2.type === "object" && resolvedSchemaData.value.length > 0
|
|
15675
15708
|
);
|
|
15676
15709
|
const showMinimizeButton = vue.computed(() => {
|
|
15677
|
-
return resolvedSchemaData.value.length >
|
|
15710
|
+
return resolvedSchemaData.value.length > 2 || resolvedSchemaData.value.some((schema) => schema.$el === "richtext");
|
|
15678
15711
|
});
|
|
15679
15712
|
return (_ctx, _cache) => {
|
|
15680
15713
|
const _component_Icon = vue.resolveComponent("Icon");
|
|
@@ -15730,7 +15763,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
15730
15763
|
thin: "",
|
|
15731
15764
|
icon: "add",
|
|
15732
15765
|
color: "gray",
|
|
15733
|
-
class: "txt12",
|
|
15766
|
+
class: "txt12 arrayAddButton",
|
|
15734
15767
|
onClick: addItem
|
|
15735
15768
|
}, {
|
|
15736
15769
|
default: vue.withCtx(() => [
|
|
@@ -17506,7 +17539,10 @@ const _hoisted_2$p = {
|
|
|
17506
17539
|
class: "block"
|
|
17507
17540
|
};
|
|
17508
17541
|
const _hoisted_3$k = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
|
|
17509
|
-
const _hoisted_4$d = {
|
|
17542
|
+
const _hoisted_4$d = {
|
|
17543
|
+
key: 1,
|
|
17544
|
+
class: "opacity-7 light"
|
|
17545
|
+
};
|
|
17510
17546
|
const _hoisted_5$d = {
|
|
17511
17547
|
key: 5,
|
|
17512
17548
|
class: "flex column spinner"
|
|
@@ -17709,7 +17745,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
17709
17745
|
};
|
|
17710
17746
|
}
|
|
17711
17747
|
});
|
|
17712
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-
|
|
17748
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-01b5487f"]]);
|
|
17713
17749
|
const _hoisted_1$A = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
17714
17750
|
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
17715
17751
|
__name: "OTP",
|
|
@@ -17831,6 +17867,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
17831
17867
|
pattern: {},
|
|
17832
17868
|
shrink: { type: Boolean },
|
|
17833
17869
|
disabled: { type: Boolean },
|
|
17870
|
+
name: {},
|
|
17834
17871
|
nativeInputAttrs: {},
|
|
17835
17872
|
icon: {},
|
|
17836
17873
|
iconStart: {},
|
|
@@ -17862,8 +17899,9 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
17862
17899
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
17863
17900
|
}, props2, {
|
|
17864
17901
|
type: inputType.value,
|
|
17865
|
-
class: "mb-0"
|
|
17866
|
-
|
|
17902
|
+
class: "mb-0",
|
|
17903
|
+
name: props2.name
|
|
17904
|
+
}), null, 16, ["modelValue", "type", "name"]),
|
|
17867
17905
|
vue.createElementVNode("div", _hoisted_2$o, [
|
|
17868
17906
|
vue.createVNode(vue.unref(Btn), {
|
|
17869
17907
|
flat: "",
|
|
@@ -28365,15 +28403,19 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
28365
28403
|
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-e9632f79"]]);
|
|
28366
28404
|
const _hoisted_1$o = ["title"];
|
|
28367
28405
|
const _hoisted_2$e = ["for"];
|
|
28368
|
-
const _hoisted_3$b = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
28369
|
-
const _hoisted_4$6 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
28370
|
-
const _hoisted_5$6 = {
|
|
28406
|
+
const _hoisted_3$b = ["id", "name", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
28407
|
+
const _hoisted_4$6 = ["id", "name", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
28408
|
+
const _hoisted_5$6 = {
|
|
28409
|
+
key: 2,
|
|
28410
|
+
class: "opacity-7 light"
|
|
28411
|
+
};
|
|
28371
28412
|
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
28372
28413
|
__name: "TextInput",
|
|
28373
28414
|
props: {
|
|
28374
28415
|
id: {},
|
|
28375
28416
|
title: {},
|
|
28376
28417
|
helptext: {},
|
|
28418
|
+
name: {},
|
|
28377
28419
|
placeholder: {},
|
|
28378
28420
|
modelValue: { default: "" },
|
|
28379
28421
|
label: {},
|
|
@@ -28457,6 +28499,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
28457
28499
|
ref_key: "input",
|
|
28458
28500
|
ref: input,
|
|
28459
28501
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
|
|
28502
|
+
name: _ctx.name,
|
|
28460
28503
|
title: _ctx.title,
|
|
28461
28504
|
autocomplete: _ctx.autocomplete,
|
|
28462
28505
|
type: _ctx.type,
|
|
@@ -28484,6 +28527,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
28484
28527
|
ref_key: "input",
|
|
28485
28528
|
ref: input,
|
|
28486
28529
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
|
|
28530
|
+
name: _ctx.name,
|
|
28487
28531
|
title: _ctx.title,
|
|
28488
28532
|
type: _ctx.type,
|
|
28489
28533
|
rows: inputRows.value,
|
|
@@ -28513,7 +28557,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
28513
28557
|
};
|
|
28514
28558
|
}
|
|
28515
28559
|
});
|
|
28516
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
28560
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-dbcf2010"]]);
|
|
28517
28561
|
const _hoisted_1$n = ["title"];
|
|
28518
28562
|
const _hoisted_2$d = ["id", "required"];
|
|
28519
28563
|
const _hoisted_3$a = ["for"];
|
|
@@ -34373,6 +34417,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
34373
34417
|
class: "position-start",
|
|
34374
34418
|
icon: "close",
|
|
34375
34419
|
thin: "",
|
|
34420
|
+
round: "",
|
|
34376
34421
|
color: "white",
|
|
34377
34422
|
onClick: closeModal
|
|
34378
34423
|
})
|
package/dist/index.mjs
CHANGED
|
@@ -10530,6 +10530,24 @@ const SLOT_VALUE_COMPONENTS$1 = /* @__PURE__ */ new Set(["div", "span", "p"]);
|
|
|
10530
10530
|
const SRC_VALUE_COMPONENTS$1 = /* @__PURE__ */ new Set(["img", "iframe"]);
|
|
10531
10531
|
function useSchemaField(optns) {
|
|
10532
10532
|
const { mode = "form", getRowData, onUpdate, includeUnset = false } = optns;
|
|
10533
|
+
function renderObject(obj, depth = 0) {
|
|
10534
|
+
if (obj === null || obj === void 0) return "";
|
|
10535
|
+
if (typeof obj !== "object") return String(obj);
|
|
10536
|
+
if (Array.isArray(obj)) return obj.map((item) => renderObject(item, depth + 1)).join(", ");
|
|
10537
|
+
const indent = depth > 0 ? " ".repeat(depth) : "";
|
|
10538
|
+
const nextIndent = " ".repeat(depth + 1);
|
|
10539
|
+
const entries = Object.entries(obj);
|
|
10540
|
+
if (entries.length === 0) return "{}";
|
|
10541
|
+
if (depth > 0) {
|
|
10542
|
+
return `{
|
|
10543
|
+
${entries.map(([key, value]) => `${nextIndent}${key}: ${renderObject(value, depth + 1)}`).join(",\n")}
|
|
10544
|
+
${indent}}`;
|
|
10545
|
+
}
|
|
10546
|
+
return entries.map(([key, value]) => {
|
|
10547
|
+
const valueStr = typeof value === "object" && value !== null ? renderObject(value, depth + 1) : String(value);
|
|
10548
|
+
return `${key}: ${valueStr}`;
|
|
10549
|
+
}).join("\n");
|
|
10550
|
+
}
|
|
10533
10551
|
function getComponent(field) {
|
|
10534
10552
|
var _a;
|
|
10535
10553
|
const componentMap = {
|
|
@@ -10669,7 +10687,7 @@ function useSchemaField(optns) {
|
|
|
10669
10687
|
return h$2("div", { class: "preview-field" }, [
|
|
10670
10688
|
h$2("div", { class: "field-label" }, `${field.label || keyToLabel(field.id || "")}:`),
|
|
10671
10689
|
h$2("div", { class: "field-value" }, [
|
|
10672
|
-
slotContent || (typeof field.$el === "object" ? h$2(Component, props2, componentSlots) : (transformedValue == null ? void 0 : transformedValue.toString()) || "")
|
|
10690
|
+
slotContent || (typeof field.$el === "object" ? h$2(Component, props2, componentSlots) : typeof transformedValue === "object" && transformedValue !== null ? h$2("pre", { style: "margin: 0; white-space: pre-wrap; font-family: inherit; font-size: inherit;" }, renderObject(transformedValue)) : (transformedValue == null ? void 0 : transformedValue.toString()) || "")
|
|
10673
10691
|
])
|
|
10674
10692
|
]);
|
|
10675
10693
|
}
|
|
@@ -15470,9 +15488,16 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
15470
15488
|
formData.value = newData;
|
|
15471
15489
|
emit2("update:modelValue", formData.value);
|
|
15472
15490
|
}
|
|
15491
|
+
const validateForm = () => {
|
|
15492
|
+
var _a;
|
|
15493
|
+
return ((_a = form.value) == null ? void 0 : _a.reportValidity()) ?? false;
|
|
15494
|
+
};
|
|
15495
|
+
let formError = ref();
|
|
15473
15496
|
async function handleSubmit() {
|
|
15474
15497
|
var _a;
|
|
15475
15498
|
try {
|
|
15499
|
+
const valid = validateForm();
|
|
15500
|
+
if (!valid) return;
|
|
15476
15501
|
if (formState.value === "submitting") return;
|
|
15477
15502
|
formState.value = "submitting";
|
|
15478
15503
|
await ((_a = props2.onSubmit) == null ? void 0 : _a.call(props2, formData.value));
|
|
@@ -15480,14 +15505,11 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
15480
15505
|
formState.value = "success";
|
|
15481
15506
|
window.parent.postMessage({ type: "BAGEL_FORM_SUCCESS", data: JSON.stringify(formData.value) }, "*");
|
|
15482
15507
|
} catch (error) {
|
|
15483
|
-
console.error("Submit error:", error);
|
|
15484
15508
|
formState.value = "error";
|
|
15509
|
+
formError.value = error;
|
|
15510
|
+
console.error("Submit error:", formError.value);
|
|
15485
15511
|
}
|
|
15486
15512
|
}
|
|
15487
|
-
const validateForm = () => {
|
|
15488
|
-
var _a;
|
|
15489
|
-
return ((_a = form.value) == null ? void 0 : _a.reportValidity()) ?? false;
|
|
15490
|
-
};
|
|
15491
15513
|
const { renderField } = useSchemaField({
|
|
15492
15514
|
mode: "form",
|
|
15493
15515
|
getRowData: () => ({
|
|
@@ -15503,6 +15525,13 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
15503
15525
|
}
|
|
15504
15526
|
});
|
|
15505
15527
|
const renderSchemaField = (field) => renderField(field);
|
|
15528
|
+
function handleSlotInputChange(event) {
|
|
15529
|
+
const input = event.target;
|
|
15530
|
+
if (input.name) {
|
|
15531
|
+
const value = input.type === "checkbox" ? input.checked : input.value;
|
|
15532
|
+
updateFormData(input.name, value);
|
|
15533
|
+
}
|
|
15534
|
+
}
|
|
15506
15535
|
__expose({ form, isDirty, validateForm, resolveSchema, refreshSchema });
|
|
15507
15536
|
return (_ctx, _cache) => {
|
|
15508
15537
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -15512,7 +15541,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
15512
15541
|
ref_key: "form",
|
|
15513
15542
|
ref: form,
|
|
15514
15543
|
class: normalizeClass(props2.class),
|
|
15515
|
-
onSubmit: withModifiers(handleSubmit, ["prevent"])
|
|
15544
|
+
onSubmit: withModifiers(handleSubmit, ["prevent"]),
|
|
15545
|
+
onInput: handleSlotInputChange
|
|
15516
15546
|
}, [
|
|
15517
15547
|
schemaState.value === "loading" ? renderSlot(_ctx.$slots, "loading", { key: 0 }, () => [
|
|
15518
15548
|
createElementVNode("div", _hoisted_1$M, [
|
|
@@ -15546,7 +15576,10 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
15546
15576
|
], 64))
|
|
15547
15577
|
], 64)) : createCommentVNode("", true),
|
|
15548
15578
|
formState.value === "success" ? renderSlot(_ctx.$slots, "success", { key: 1 }) : createCommentVNode("", true),
|
|
15549
|
-
formState.value === "error" ? renderSlot(_ctx.$slots, "error", {
|
|
15579
|
+
formState.value === "error" ? renderSlot(_ctx.$slots, "error", {
|
|
15580
|
+
key: 2,
|
|
15581
|
+
error: unref(formError)
|
|
15582
|
+
}) : createCommentVNode("", true)
|
|
15550
15583
|
], 64);
|
|
15551
15584
|
};
|
|
15552
15585
|
}
|
|
@@ -15672,7 +15705,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
15672
15705
|
() => isPrimitiveType.value || props2.type === "object" && resolvedSchemaData.value.length > 0
|
|
15673
15706
|
);
|
|
15674
15707
|
const showMinimizeButton = computed(() => {
|
|
15675
|
-
return resolvedSchemaData.value.length >
|
|
15708
|
+
return resolvedSchemaData.value.length > 2 || resolvedSchemaData.value.some((schema) => schema.$el === "richtext");
|
|
15676
15709
|
});
|
|
15677
15710
|
return (_ctx, _cache) => {
|
|
15678
15711
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -15728,7 +15761,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
15728
15761
|
thin: "",
|
|
15729
15762
|
icon: "add",
|
|
15730
15763
|
color: "gray",
|
|
15731
|
-
class: "txt12",
|
|
15764
|
+
class: "txt12 arrayAddButton",
|
|
15732
15765
|
onClick: addItem
|
|
15733
15766
|
}, {
|
|
15734
15767
|
default: withCtx(() => [
|
|
@@ -17504,7 +17537,10 @@ const _hoisted_2$p = {
|
|
|
17504
17537
|
class: "block"
|
|
17505
17538
|
};
|
|
17506
17539
|
const _hoisted_3$k = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
|
|
17507
|
-
const _hoisted_4$d = {
|
|
17540
|
+
const _hoisted_4$d = {
|
|
17541
|
+
key: 1,
|
|
17542
|
+
class: "opacity-7 light"
|
|
17543
|
+
};
|
|
17508
17544
|
const _hoisted_5$d = {
|
|
17509
17545
|
key: 5,
|
|
17510
17546
|
class: "flex column spinner"
|
|
@@ -17707,7 +17743,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
17707
17743
|
};
|
|
17708
17744
|
}
|
|
17709
17745
|
});
|
|
17710
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-
|
|
17746
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-01b5487f"]]);
|
|
17711
17747
|
const _hoisted_1$A = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
17712
17748
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
17713
17749
|
__name: "OTP",
|
|
@@ -17829,6 +17865,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
17829
17865
|
pattern: {},
|
|
17830
17866
|
shrink: { type: Boolean },
|
|
17831
17867
|
disabled: { type: Boolean },
|
|
17868
|
+
name: {},
|
|
17832
17869
|
nativeInputAttrs: {},
|
|
17833
17870
|
icon: {},
|
|
17834
17871
|
iconStart: {},
|
|
@@ -17860,8 +17897,9 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
17860
17897
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
17861
17898
|
}, props2, {
|
|
17862
17899
|
type: inputType.value,
|
|
17863
|
-
class: "mb-0"
|
|
17864
|
-
|
|
17900
|
+
class: "mb-0",
|
|
17901
|
+
name: props2.name
|
|
17902
|
+
}), null, 16, ["modelValue", "type", "name"]),
|
|
17865
17903
|
createElementVNode("div", _hoisted_2$o, [
|
|
17866
17904
|
createVNode(unref(Btn), {
|
|
17867
17905
|
flat: "",
|
|
@@ -28363,15 +28401,19 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28363
28401
|
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-e9632f79"]]);
|
|
28364
28402
|
const _hoisted_1$o = ["title"];
|
|
28365
28403
|
const _hoisted_2$e = ["for"];
|
|
28366
|
-
const _hoisted_3$b = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
28367
|
-
const _hoisted_4$6 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
28368
|
-
const _hoisted_5$6 = {
|
|
28404
|
+
const _hoisted_3$b = ["id", "name", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
28405
|
+
const _hoisted_4$6 = ["id", "name", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
28406
|
+
const _hoisted_5$6 = {
|
|
28407
|
+
key: 2,
|
|
28408
|
+
class: "opacity-7 light"
|
|
28409
|
+
};
|
|
28369
28410
|
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
28370
28411
|
__name: "TextInput",
|
|
28371
28412
|
props: {
|
|
28372
28413
|
id: {},
|
|
28373
28414
|
title: {},
|
|
28374
28415
|
helptext: {},
|
|
28416
|
+
name: {},
|
|
28375
28417
|
placeholder: {},
|
|
28376
28418
|
modelValue: { default: "" },
|
|
28377
28419
|
label: {},
|
|
@@ -28455,6 +28497,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28455
28497
|
ref_key: "input",
|
|
28456
28498
|
ref: input,
|
|
28457
28499
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
|
|
28500
|
+
name: _ctx.name,
|
|
28458
28501
|
title: _ctx.title,
|
|
28459
28502
|
autocomplete: _ctx.autocomplete,
|
|
28460
28503
|
type: _ctx.type,
|
|
@@ -28482,6 +28525,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28482
28525
|
ref_key: "input",
|
|
28483
28526
|
ref: input,
|
|
28484
28527
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
|
|
28528
|
+
name: _ctx.name,
|
|
28485
28529
|
title: _ctx.title,
|
|
28486
28530
|
type: _ctx.type,
|
|
28487
28531
|
rows: inputRows.value,
|
|
@@ -28511,7 +28555,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28511
28555
|
};
|
|
28512
28556
|
}
|
|
28513
28557
|
});
|
|
28514
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
28558
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-dbcf2010"]]);
|
|
28515
28559
|
const _hoisted_1$n = ["title"];
|
|
28516
28560
|
const _hoisted_2$d = ["id", "required"];
|
|
28517
28561
|
const _hoisted_3$a = ["for"];
|
|
@@ -34371,6 +34415,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
34371
34415
|
class: "position-start",
|
|
34372
34416
|
icon: "close",
|
|
34373
34417
|
thin: "",
|
|
34418
|
+
round: "",
|
|
34374
34419
|
color: "white",
|
|
34375
34420
|
onClick: closeModal
|
|
34376
34421
|
})
|