@bagelink/vue 0.0.276 → 0.0.282
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/ComboBox.vue.d.ts +2 -0
- package/dist/components/ComboBox.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts +9 -4
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/index.cjs +25 -17
- package/dist/index.mjs +25 -17
- package/dist/plugins/modal.d.ts +1 -1
- package/dist/plugins/modal.d.ts.map +1 -1
- package/dist/style.css +861 -641
- package/package.json +1 -1
- package/src/components/ComboBox.vue +15 -10
- package/src/components/form/inputs/CheckInput.vue +55 -53
- package/src/components/form/inputs/SelectInput.vue +272 -284
- package/src/components/formkit/Toggle.vue +85 -100
- package/src/plugins/modal.ts +23 -23
- package/src/styles/buttons.css +13 -3
- package/src/styles/inputs.css +100 -109
- package/src/styles/layout.css +449 -191
- package/src/styles/text.css +80 -59
|
@@ -8,6 +8,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
modelValue?: Option | undefined;
|
|
10
10
|
searchable?: boolean | undefined;
|
|
11
|
+
required?: boolean | undefined;
|
|
11
12
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
13
|
"update:modelValue": (...args: any[]) => void;
|
|
13
14
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -16,6 +17,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
16
17
|
disabled?: boolean | undefined;
|
|
17
18
|
modelValue?: Option | undefined;
|
|
18
19
|
searchable?: boolean | undefined;
|
|
20
|
+
required?: boolean | undefined;
|
|
19
21
|
}>>> & {
|
|
20
22
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
23
|
}, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboBox.vue.d.ts","sourceRoot":"","sources":["../../src/components/ComboBox.vue"],"names":[],"mappings":"AAwBA;AAGA,OAAO,wBAAwB,CAAC;AAOhC,KAAK,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;;
|
|
1
|
+
{"version":3,"file":"ComboBox.vue.d.ts","sourceRoot":"","sources":["../../src/components/ComboBox.vue"],"names":[],"mappings":"AAwBA;AAGA,OAAO,wBAAwB,CAAC;AAOhC,KAAK,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;;aAkRtF,MAAM,EAAE;;;;;;;;;aAAR,MAAM,EAAE;;;;;;;;;AANlB,wBAcG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
2
|
modelValue: import("vue").PropType<boolean>;
|
|
3
3
|
label: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
5
|
-
required: true;
|
|
6
5
|
};
|
|
7
6
|
id: {
|
|
8
7
|
type: import("vue").PropType<string>;
|
|
@@ -20,7 +19,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
19
|
modelValue: import("vue").PropType<boolean>;
|
|
21
20
|
label: {
|
|
22
21
|
type: import("vue").PropType<string>;
|
|
23
|
-
required: true;
|
|
24
22
|
};
|
|
25
23
|
id: {
|
|
26
24
|
type: import("vue").PropType<string>;
|
|
@@ -34,6 +32,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
32
|
required: {
|
|
35
33
|
type: import("vue").PropType<boolean>;
|
|
36
34
|
};
|
|
37
|
-
}>>, {}, {}
|
|
35
|
+
}>>, {}, {}>, {
|
|
36
|
+
label?(_: {}): any;
|
|
37
|
+
}>;
|
|
38
38
|
export default _default;
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
39
44
|
//# sourceMappingURL=CheckInput.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/CheckInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CheckInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/CheckInput.vue"],"names":[],"mappings":"AAeA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2KA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectInput.vue"],"names":[],"mappings":"AAUA;AAOA,KAAK,MAAM,GAAG;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,CAAC;AACF,KAAK,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;;;;;;;;aAwI/B,SAAS,EAAE,GAAG,MAAM;;;;;;;;;;;aAApB,SAAS,EAAE,GAAG,MAAM;;;;;AAZ/B,wBAgBG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -18218,7 +18218,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18218
18218
|
placeholder: {},
|
|
18219
18219
|
disabled: { type: Boolean },
|
|
18220
18220
|
modelValue: {},
|
|
18221
|
-
searchable: { type: Boolean }
|
|
18221
|
+
searchable: { type: Boolean },
|
|
18222
|
+
required: { type: Boolean }
|
|
18222
18223
|
},
|
|
18223
18224
|
emits: ["update:modelValue"],
|
|
18224
18225
|
setup(__props, { emit: __emit }) {
|
|
@@ -18287,7 +18288,6 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18287
18288
|
}, {
|
|
18288
18289
|
popper: vue.withCtx(({ hide }) => [
|
|
18289
18290
|
vue.createVNode(vue.unref(_sfc_main$n), {
|
|
18290
|
-
border: "",
|
|
18291
18291
|
thin: "",
|
|
18292
18292
|
class: "combobox-options"
|
|
18293
18293
|
}, {
|
|
@@ -18300,7 +18300,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18300
18300
|
placeholder: "Search",
|
|
18301
18301
|
icon: "search",
|
|
18302
18302
|
modelValue: vue.unref(search),
|
|
18303
|
-
"onUpdate:modelValue": _cache[
|
|
18303
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(search) ? search.value = $event : search = $event)
|
|
18304
18304
|
}, null, 8, ["modelValue"])) : vue.createCommentVNode("", true),
|
|
18305
18305
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filteredOptions.value, (option2, i2) => {
|
|
18306
18306
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -18323,24 +18323,29 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18323
18323
|
}, 1024)
|
|
18324
18324
|
]),
|
|
18325
18325
|
default: vue.withCtx(() => [
|
|
18326
|
-
vue.
|
|
18326
|
+
vue.createElementVNode("button", {
|
|
18327
|
+
type: "button",
|
|
18327
18328
|
class: "combobox-btn",
|
|
18328
|
-
border: "",
|
|
18329
|
-
color: "black",
|
|
18330
18329
|
onClick: toggle
|
|
18331
|
-
},
|
|
18332
|
-
|
|
18333
|
-
|
|
18334
|
-
|
|
18335
|
-
|
|
18336
|
-
|
|
18330
|
+
}, [
|
|
18331
|
+
vue.createTextVNode(vue.toDisplayString(valueToLabel(vue.unref(selectedItem)) || _ctx.placeholder || "Select") + " ", 1),
|
|
18332
|
+
vue.createVNode(vue.unref(_sfc_main$C), vue.normalizeProps(vue.guardReactiveProps({ "icon": vue.unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
|
|
18333
|
+
]),
|
|
18334
|
+
_ctx.required ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
18335
|
+
key: 0,
|
|
18336
|
+
style: { "width": "0", "height": "0", "position": "absolute", "opacity": "0", "z-index": "-1" },
|
|
18337
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(selectedItem) ? selectedItem.value = $event : selectedItem = $event),
|
|
18338
|
+
required: ""
|
|
18339
|
+
}, null, 512)), [
|
|
18340
|
+
[vue.vModelText, vue.unref(selectedItem)]
|
|
18341
|
+
]) : vue.createCommentVNode("", true)
|
|
18337
18342
|
]),
|
|
18338
18343
|
_: 1
|
|
18339
18344
|
});
|
|
18340
18345
|
};
|
|
18341
18346
|
}
|
|
18342
18347
|
});
|
|
18343
|
-
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
18348
|
+
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-6c62bdf1"]]);
|
|
18344
18349
|
const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-fe5af582"), n2 = n2(), vue.popScopeId(), n2);
|
|
18345
18350
|
const _hoisted_1$s = { class: "bar-chart" };
|
|
18346
18351
|
const _hoisted_2$n = {
|
|
@@ -18649,7 +18654,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
18649
18654
|
};
|
|
18650
18655
|
}
|
|
18651
18656
|
});
|
|
18652
|
-
const _withScopeId$1 = (n2) => (vue.pushScopeId("data-v-
|
|
18657
|
+
const _withScopeId$1 = (n2) => (vue.pushScopeId("data-v-e8219826"), n2 = n2(), vue.popScopeId(), n2);
|
|
18653
18658
|
const _hoisted_1$q = ["title"];
|
|
18654
18659
|
const _hoisted_2$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("svg", {
|
|
18655
18660
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -18696,13 +18701,15 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
18696
18701
|
}, null, 8, _hoisted_4$c), [
|
|
18697
18702
|
[vue.vModelCheckbox, checked.value]
|
|
18698
18703
|
]),
|
|
18699
|
-
vue.
|
|
18704
|
+
vue.renderSlot(_ctx.$slots, "label", {}, () => [
|
|
18705
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
18706
|
+
], true)
|
|
18700
18707
|
])
|
|
18701
18708
|
], 10, _hoisted_1$q);
|
|
18702
18709
|
};
|
|
18703
18710
|
}
|
|
18704
18711
|
});
|
|
18705
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
18712
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-e8219826"]]);
|
|
18706
18713
|
function toDate(argument) {
|
|
18707
18714
|
const argStr = Object.prototype.toString.call(argument);
|
|
18708
18715
|
if (argument instanceof Date || typeof argument === "object" && argStr === "[object Date]") {
|
|
@@ -28765,7 +28772,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
28765
28772
|
required: _ctx.required,
|
|
28766
28773
|
placeholder: _ctx.placeholder,
|
|
28767
28774
|
modelValue: seletValue.value,
|
|
28768
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => seletValue.value = $event)
|
|
28775
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => seletValue.value = $event),
|
|
28776
|
+
"close-on-select": true
|
|
28769
28777
|
}, _ctx.extraProps), null, 16, ["id", "options", "required", "placeholder", "modelValue"])
|
|
28770
28778
|
], 8, _hoisted_2$i)
|
|
28771
28779
|
]);
|
package/dist/index.mjs
CHANGED
|
@@ -18216,7 +18216,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18216
18216
|
placeholder: {},
|
|
18217
18217
|
disabled: { type: Boolean },
|
|
18218
18218
|
modelValue: {},
|
|
18219
|
-
searchable: { type: Boolean }
|
|
18219
|
+
searchable: { type: Boolean },
|
|
18220
|
+
required: { type: Boolean }
|
|
18220
18221
|
},
|
|
18221
18222
|
emits: ["update:modelValue"],
|
|
18222
18223
|
setup(__props, { emit: __emit }) {
|
|
@@ -18285,7 +18286,6 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18285
18286
|
}, {
|
|
18286
18287
|
popper: withCtx(({ hide }) => [
|
|
18287
18288
|
createVNode(unref(_sfc_main$n), {
|
|
18288
|
-
border: "",
|
|
18289
18289
|
thin: "",
|
|
18290
18290
|
class: "combobox-options"
|
|
18291
18291
|
}, {
|
|
@@ -18298,7 +18298,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18298
18298
|
placeholder: "Search",
|
|
18299
18299
|
icon: "search",
|
|
18300
18300
|
modelValue: unref(search),
|
|
18301
|
-
"onUpdate:modelValue": _cache[
|
|
18301
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(search) ? search.value = $event : search = $event)
|
|
18302
18302
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
18303
18303
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(filteredOptions.value, (option2, i2) => {
|
|
18304
18304
|
return openBlock(), createElementBlock("div", {
|
|
@@ -18321,24 +18321,29 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18321
18321
|
}, 1024)
|
|
18322
18322
|
]),
|
|
18323
18323
|
default: withCtx(() => [
|
|
18324
|
-
|
|
18324
|
+
createElementVNode("button", {
|
|
18325
|
+
type: "button",
|
|
18325
18326
|
class: "combobox-btn",
|
|
18326
|
-
border: "",
|
|
18327
|
-
color: "black",
|
|
18328
18327
|
onClick: toggle
|
|
18329
|
-
},
|
|
18330
|
-
|
|
18331
|
-
|
|
18332
|
-
|
|
18333
|
-
|
|
18334
|
-
|
|
18328
|
+
}, [
|
|
18329
|
+
createTextVNode(toDisplayString(valueToLabel(unref(selectedItem)) || _ctx.placeholder || "Select") + " ", 1),
|
|
18330
|
+
createVNode(unref(_sfc_main$C), normalizeProps(guardReactiveProps({ "icon": unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
|
|
18331
|
+
]),
|
|
18332
|
+
_ctx.required ? withDirectives((openBlock(), createElementBlock("input", {
|
|
18333
|
+
key: 0,
|
|
18334
|
+
style: { "width": "0", "height": "0", "position": "absolute", "opacity": "0", "z-index": "-1" },
|
|
18335
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(selectedItem) ? selectedItem.value = $event : selectedItem = $event),
|
|
18336
|
+
required: ""
|
|
18337
|
+
}, null, 512)), [
|
|
18338
|
+
[vModelText, unref(selectedItem)]
|
|
18339
|
+
]) : createCommentVNode("", true)
|
|
18335
18340
|
]),
|
|
18336
18341
|
_: 1
|
|
18337
18342
|
});
|
|
18338
18343
|
};
|
|
18339
18344
|
}
|
|
18340
18345
|
});
|
|
18341
|
-
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
18346
|
+
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-6c62bdf1"]]);
|
|
18342
18347
|
const _withScopeId$2 = (n2) => (pushScopeId("data-v-fe5af582"), n2 = n2(), popScopeId(), n2);
|
|
18343
18348
|
const _hoisted_1$s = { class: "bar-chart" };
|
|
18344
18349
|
const _hoisted_2$n = {
|
|
@@ -18647,7 +18652,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18647
18652
|
};
|
|
18648
18653
|
}
|
|
18649
18654
|
});
|
|
18650
|
-
const _withScopeId$1 = (n2) => (pushScopeId("data-v-
|
|
18655
|
+
const _withScopeId$1 = (n2) => (pushScopeId("data-v-e8219826"), n2 = n2(), popScopeId(), n2);
|
|
18651
18656
|
const _hoisted_1$q = ["title"];
|
|
18652
18657
|
const _hoisted_2$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
18653
18658
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -18694,13 +18699,15 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18694
18699
|
}, null, 8, _hoisted_4$c), [
|
|
18695
18700
|
[vModelCheckbox, checked.value]
|
|
18696
18701
|
]),
|
|
18697
|
-
|
|
18702
|
+
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
18703
|
+
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
18704
|
+
], true)
|
|
18698
18705
|
])
|
|
18699
18706
|
], 10, _hoisted_1$q);
|
|
18700
18707
|
};
|
|
18701
18708
|
}
|
|
18702
18709
|
});
|
|
18703
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
18710
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-e8219826"]]);
|
|
18704
18711
|
function toDate(argument) {
|
|
18705
18712
|
const argStr = Object.prototype.toString.call(argument);
|
|
18706
18713
|
if (argument instanceof Date || typeof argument === "object" && argStr === "[object Date]") {
|
|
@@ -28763,7 +28770,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
28763
28770
|
required: _ctx.required,
|
|
28764
28771
|
placeholder: _ctx.placeholder,
|
|
28765
28772
|
modelValue: seletValue.value,
|
|
28766
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => seletValue.value = $event)
|
|
28773
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => seletValue.value = $event),
|
|
28774
|
+
"close-on-select": true
|
|
28767
28775
|
}, _ctx.extraProps), null, 16, ["id", "options", "required", "placeholder", "modelValue"])
|
|
28768
28776
|
], 8, _hoisted_2$i)
|
|
28769
28777
|
]);
|
package/dist/plugins/modal.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface ModalFormOptions {
|
|
|
13
13
|
title?: string;
|
|
14
14
|
dismissable?: boolean;
|
|
15
15
|
schema: BglFormSchemaT<any> | (() => BglFormSchemaT) | BglFormSchemaT;
|
|
16
|
-
onSubmit?: (formData: any) => Promise<
|
|
16
|
+
onSubmit?: (formData: any) => Promise<void>;
|
|
17
17
|
onDelete?: (id: string) => Promise<void>;
|
|
18
18
|
onError?: ((err: any) => void);
|
|
19
19
|
modelValue?: Record<string, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../src/plugins/modal.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACf,MAAM,KAAK,CAAC;AACb,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhE,MAAM,WAAW,YAAY;
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../src/plugins/modal.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACf,MAAM,KAAK,CAAC;AACb,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhE,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,EAAE,cAAc,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,cAAc,CAAC,GAAG,cAAc,CAAA;IACrE,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzC,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,qBAAqB,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;CAC5C;AAED,MAAM,WAAW,mBAAmB;IAClC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,SAAS,EAAE,OAAO,GAAG,WAAW,CAAC;IACjC,YAAY,EAAE,YAAY,GAAG,gBAAgB,CAAA;CAC9C;AACD,MAAM,WAAW,uBAAuB;IACtC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,SAAS,EAAE,WAAW,CAAC;IACvB,YAAY,EAAE,gBAAgB,CAAA;CAC/B;AACD,MAAM,WAAW,QAAQ;IACvB,SAAS,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACxE,aAAa,EAAE,CAAC,OAAO,EAAE,gBAAgB,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,uBAAuB,GAAG,SAAS,CAAC;IAC/G,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAED,eAAO,MAAM,WAAW,EAAE,YAAY,CAAC,QAAQ,CAAmB,CAAC;AAEnE,eAAO,MAAM,QAAQ,QAAO,QAI3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,MAyCzB,CAAC"}
|