@bagelink/vue 0.0.322 → 0.0.331
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.map +1 -1
- package/dist/components/Modal.vue.d.ts +0 -1
- package/dist/components/ModalBglForm.vue.d.ts.map +1 -1
- package/dist/components/Popover.vue.d.ts +10 -0
- package/dist/components/Popover.vue.d.ts.map +1 -0
- package/dist/components/form/BglForm.vue.d.ts +1 -9
- package/dist/components/form/BglForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts +0 -1
- package/dist/components/form/inputs/TextArea.vue.d.ts +3 -1
- package/dist/components/form/inputs/TextArea.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/formkit/index.d.ts +1 -14
- package/dist/components/formkit/index.d.ts.map +1 -1
- package/dist/index.cjs +16 -15
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +16 -15
- package/dist/style.css +1770 -252
- package/dist/types/materialIcon.d.ts +2 -0
- package/dist/types/materialIcon.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/ComboBox.vue +11 -5
- package/src/components/form/BglForm.vue +50 -53
- package/src/components/form/inputs/TextInput.vue +158 -112
- package/src/styles/appearance.css +39 -0
- package/src/styles/bagel.css +2 -0
- package/src/styles/layout.css +90 -7
- package/src/styles/mobilLayout.css +1416 -0
- package/src/utils/BagelFormUtils.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboBox.vue.d.ts","sourceRoot":"","sources":["../../src/components/ComboBox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ComboBox.vue.d.ts","sourceRoot":"","sources":["../../src/components/ComboBox.vue"],"names":[],"mappings":"AAgCA;AAIA,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;;;;;;;;;;;;;;;;;;;;;;;;;;AA2UhG,wBAAwG;AACxG,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;AAC9M,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":"ModalBglForm.vue.d.ts","sourceRoot":"","sources":["../../src/components/ModalBglForm.vue"],"names":[],"mappings":"AAgCA;AAGA,OAAO,EACD,UAAU,EAAwB,KAAK,cAAc,EAC1D,MAAM,eAAe,CAAC;AACvB,OAAO,qBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ModalBglForm.vue.d.ts","sourceRoot":"","sources":["../../src/components/ModalBglForm.vue"],"names":[],"mappings":"AAgCA;AAGA,OAAO,EACD,UAAU,EAAwB,KAAK,cAAc,EAC1D,MAAM,eAAe,CAAC;AACvB,OAAO,qBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuO7B,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
trigger?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=Popover.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.vue.d.ts","sourceRoot":"","sources":["../../src/components/Popover.vue"],"names":[],"mappings":"AAoBA;AAEA,OAAO,6BAA6B,CAAC;;;;AAmHrC,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -10,12 +10,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
10
10
|
modelValue: () => {};
|
|
11
11
|
}>, {
|
|
12
12
|
validateForm: () => boolean | undefined;
|
|
13
|
-
deleteItem: () => void;
|
|
14
|
-
isDirty: import("@vue-macros/reactivity-transform/macros.js").ReactiveVariable<false> | import("@vue-macros/reactivity-transform/macros.js").ReactiveVariable<true>;
|
|
15
13
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
14
|
submit: (...args: any[]) => void;
|
|
17
15
|
"update:modelValue": (...args: any[]) => void;
|
|
18
|
-
dirty: (...args: any[]) => void;
|
|
19
16
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
17
|
label?: string | undefined;
|
|
21
18
|
id?: string | undefined;
|
|
@@ -26,17 +23,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
26
23
|
}>, {
|
|
27
24
|
modelValue: () => {};
|
|
28
25
|
}>>> & {
|
|
29
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
30
26
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
|
|
27
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
32
28
|
}, {
|
|
33
29
|
modelValue: Record<string, any>;
|
|
34
30
|
}, {}>, {
|
|
35
31
|
submit?(_: {}): any;
|
|
36
|
-
success?(_: {}): any;
|
|
37
|
-
error?(_: {
|
|
38
|
-
message: any;
|
|
39
|
-
}): any;
|
|
40
32
|
}>;
|
|
41
33
|
export default _default;
|
|
42
34
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BglForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/BglForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BglForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/BglForm.vue"],"names":[],"mappings":"AAYA;AAKA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoOpD,wBAAwG;AACxG,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;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type VueDatePickerProps } from '@vuepic/vue-datepicker';
|
|
2
|
-
import '@vuepic/vue-datepicker/dist/main.css';
|
|
3
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
3
|
label?: string | undefined;
|
|
5
4
|
editMode?: boolean | undefined;
|
|
@@ -7,6 +7,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
7
7
|
small?: boolean | undefined;
|
|
8
8
|
nativeInputAttrs?: Record<string, any> | undefined;
|
|
9
9
|
showCharacterLimit?: boolean | undefined;
|
|
10
|
+
required?: boolean | undefined;
|
|
10
11
|
}>, {
|
|
11
12
|
description: string;
|
|
12
13
|
editMode: boolean;
|
|
@@ -23,6 +24,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
23
24
|
small?: boolean | undefined;
|
|
24
25
|
nativeInputAttrs?: Record<string, any> | undefined;
|
|
25
26
|
showCharacterLimit?: boolean | undefined;
|
|
27
|
+
required?: boolean | undefined;
|
|
26
28
|
}>, {
|
|
27
29
|
description: string;
|
|
28
30
|
editMode: boolean;
|
|
@@ -31,9 +33,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
31
33
|
}>>> & {
|
|
32
34
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
33
35
|
}, {
|
|
34
|
-
description: string;
|
|
35
36
|
label: string;
|
|
36
37
|
placeholder: string;
|
|
38
|
+
description: string;
|
|
37
39
|
editMode: boolean;
|
|
38
40
|
}, {}>;
|
|
39
41
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/TextArea.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextArea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/TextArea.vue"],"names":[],"mappings":"AAyBA;;;;gBAsKc,GAAG;;;;;;;;;;;;;;;;;gBAAH,GAAG;;;;;;;;;;;;;;;WADP,MAAM;iBAEA,MAAM;iBAHN,MAAM;cAIT,OAAO;;AAVpB,wBAiBG;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;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,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":"AAGA,OAAO,EACS,KAAK,aAAa,EACjC,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAuUd,MAAM;gBARA,MAAM,GAAG,MAAM;gBAOf,OAAO;kBASL,MAAM;;AA1BvB,wBA8BG;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;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ContactArrayInput: FormKitTypeDefinition;
|
|
3
|
-
declare const AddressInput: FormKitTypeDefinition;
|
|
4
|
-
declare const BankDetailsInput: FormKitTypeDefinition;
|
|
5
|
-
declare const MiscFieldsInput: FormKitTypeDefinition;
|
|
6
|
-
declare const ToggleSwitchInput: FormKitTypeDefinition;
|
|
7
|
-
declare const FileUploadInput: FormKitTypeDefinition;
|
|
8
|
-
declare const TextVariablesInput: FormKitTypeDefinition;
|
|
9
|
-
declare const PersonPreviewInput: FormKitTypeDefinition;
|
|
10
|
-
export { TextVariablesInput, ContactArrayInput, PersonPreviewInput, AddressInput, BankDetailsInput, MiscFieldsInput, ToggleSwitchInput, FileUploadInput, };
|
|
11
|
-
export { default as FileUploader } from './FileUploader.vue';
|
|
12
|
-
export type { BankDetailsContext } from './BankDetailsArray.vue';
|
|
13
|
-
export type { AddressArrContext } from './AddressArray.vue';
|
|
14
|
-
export type { ContactArrContext } from './ContactArrayFormKit.vue';
|
|
1
|
+
export {};
|
|
15
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/index.ts"],"names":[],"mappings":"AAiBA,OAAO,EAEN,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -4945,7 +4945,7 @@ function numField(id, label, options) {
|
|
|
4945
4945
|
function frmRow(...children2) {
|
|
4946
4946
|
return {
|
|
4947
4947
|
$el: "div",
|
|
4948
|
-
class: "flex gap-1",
|
|
4948
|
+
class: "flex gap-1 m_block",
|
|
4949
4949
|
children: children2
|
|
4950
4950
|
};
|
|
4951
4951
|
}
|
|
@@ -18315,8 +18315,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
18315
18315
|
}, {
|
|
18316
18316
|
popper: vue.withCtx(({ hide }) => [
|
|
18317
18317
|
vue.createVNode(vue.unref(_sfc_main$q), {
|
|
18318
|
-
|
|
18319
|
-
class: "combobox-options",
|
|
18318
|
+
class: "combobox-options p-05",
|
|
18320
18319
|
style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
18321
18320
|
}, {
|
|
18322
18321
|
default: vue.withCtx(() => [
|
|
@@ -18332,18 +18331,23 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
18332
18331
|
}, null, 8, ["modelValue"])) : vue.createCommentVNode("", true),
|
|
18333
18332
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filteredOptions.value, (option2, i2) => {
|
|
18334
18333
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18335
|
-
class: vue.normalizeClass(["combobox-option", { selected: option2 === vue.unref(selectedItem) }]),
|
|
18334
|
+
class: vue.normalizeClass(["combobox-option hover gap-1", { selected: option2 === vue.unref(selectedItem) }]),
|
|
18336
18335
|
key: `${option2}${i2}`,
|
|
18337
18336
|
onClick: () => {
|
|
18338
18337
|
select2(option2);
|
|
18339
18338
|
hide();
|
|
18340
18339
|
}
|
|
18341
18340
|
}, [
|
|
18342
|
-
vue.createElementVNode("span", null, vue.toDisplayString(getLabel(option2)), 1),
|
|
18343
18341
|
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
18344
18342
|
key: 0,
|
|
18345
18343
|
icon: "check"
|
|
18346
|
-
})) : vue.createCommentVNode("", true)
|
|
18344
|
+
})) : vue.createCommentVNode("", true),
|
|
18345
|
+
!isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
18346
|
+
key: 1,
|
|
18347
|
+
class: "opacity-3",
|
|
18348
|
+
icon: "fiber_manual_record"
|
|
18349
|
+
})) : vue.createCommentVNode("", true),
|
|
18350
|
+
vue.createElementVNode("span", null, vue.toDisplayString(getLabel(option2)), 1)
|
|
18347
18351
|
], 10, _hoisted_1$u);
|
|
18348
18352
|
}), 128)),
|
|
18349
18353
|
vue.renderSlot(_ctx.$slots, "last", {}, void 0, true)
|
|
@@ -18377,7 +18381,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
18377
18381
|
};
|
|
18378
18382
|
}
|
|
18379
18383
|
});
|
|
18380
|
-
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
18384
|
+
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-14fbb20b"]]);
|
|
18381
18385
|
const _hoisted_1$t = ["dismissable"];
|
|
18382
18386
|
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
18383
18387
|
__name: "Alert",
|
|
@@ -18724,10 +18728,11 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
18724
18728
|
const clearForm = () => Object.assign(data2.value, {});
|
|
18725
18729
|
let formStatus = vue.ref("idle");
|
|
18726
18730
|
const runSubmit = () => {
|
|
18731
|
+
var _a2;
|
|
18727
18732
|
console.log("runSubmit");
|
|
18728
18733
|
try {
|
|
18729
18734
|
validateForm();
|
|
18730
|
-
props2.onSubmit(data2.value);
|
|
18735
|
+
(_a2 = props2.onSubmit) == null ? void 0 : _a2.call(props2, data2.value);
|
|
18731
18736
|
clearForm();
|
|
18732
18737
|
formStatus.value = "success";
|
|
18733
18738
|
} catch (e) {
|
|
@@ -18784,14 +18789,10 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
18784
18789
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => data2.value = $event)
|
|
18785
18790
|
}, null, 8, ["field", "modelValue"]);
|
|
18786
18791
|
}), 128)),
|
|
18787
|
-
vue.renderSlot(_ctx.$slots, "submit")
|
|
18788
|
-
vue.createElementVNode("button", { onClick: runSubmit }, " Click ")
|
|
18792
|
+
vue.renderSlot(_ctx.$slots, "submit")
|
|
18789
18793
|
], 544)) : vue.createCommentVNode("", true),
|
|
18790
18794
|
vue.unref(formStatus) === "success" ? vue.renderSlot(_ctx.$slots, "success", { key: 2 }) : vue.createCommentVNode("", true),
|
|
18791
|
-
vue.unref(formStatus) === "error" ? vue.renderSlot(_ctx.$slots, "error", {
|
|
18792
|
-
key: 3,
|
|
18793
|
-
message: _ctx.error
|
|
18794
|
-
}) : vue.createCommentVNode("", true)
|
|
18795
|
+
vue.unref(formStatus) === "error" ? vue.renderSlot(_ctx.$slots, "error", { key: 3 }) : vue.createCommentVNode("", true)
|
|
18795
18796
|
], 64);
|
|
18796
18797
|
};
|
|
18797
18798
|
}
|
|
@@ -31884,7 +31885,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31884
31885
|
};
|
|
31885
31886
|
}
|
|
31886
31887
|
});
|
|
31887
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
31888
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-cd4c27ad"]]);
|
|
31888
31889
|
const _hoisted_1$i = { class: "primary-checkbox" };
|
|
31889
31890
|
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
31890
31891
|
__name: "Checkbox",
|
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -4943,7 +4943,7 @@ function numField(id, label, options) {
|
|
|
4943
4943
|
function frmRow(...children2) {
|
|
4944
4944
|
return {
|
|
4945
4945
|
$el: "div",
|
|
4946
|
-
class: "flex gap-1",
|
|
4946
|
+
class: "flex gap-1 m_block",
|
|
4947
4947
|
children: children2
|
|
4948
4948
|
};
|
|
4949
4949
|
}
|
|
@@ -18313,8 +18313,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18313
18313
|
}, {
|
|
18314
18314
|
popper: withCtx(({ hide }) => [
|
|
18315
18315
|
createVNode(unref(_sfc_main$q), {
|
|
18316
|
-
|
|
18317
|
-
class: "combobox-options",
|
|
18316
|
+
class: "combobox-options p-05",
|
|
18318
18317
|
style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
18319
18318
|
}, {
|
|
18320
18319
|
default: withCtx(() => [
|
|
@@ -18330,18 +18329,23 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18330
18329
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
18331
18330
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(filteredOptions.value, (option2, i2) => {
|
|
18332
18331
|
return openBlock(), createElementBlock("div", {
|
|
18333
|
-
class: normalizeClass(["combobox-option", { selected: option2 === unref(selectedItem) }]),
|
|
18332
|
+
class: normalizeClass(["combobox-option hover gap-1", { selected: option2 === unref(selectedItem) }]),
|
|
18334
18333
|
key: `${option2}${i2}`,
|
|
18335
18334
|
onClick: () => {
|
|
18336
18335
|
select2(option2);
|
|
18337
18336
|
hide();
|
|
18338
18337
|
}
|
|
18339
18338
|
}, [
|
|
18340
|
-
createElementVNode("span", null, toDisplayString(getLabel(option2)), 1),
|
|
18341
18339
|
isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$F), {
|
|
18342
18340
|
key: 0,
|
|
18343
18341
|
icon: "check"
|
|
18344
|
-
})) : createCommentVNode("", true)
|
|
18342
|
+
})) : createCommentVNode("", true),
|
|
18343
|
+
!isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$F), {
|
|
18344
|
+
key: 1,
|
|
18345
|
+
class: "opacity-3",
|
|
18346
|
+
icon: "fiber_manual_record"
|
|
18347
|
+
})) : createCommentVNode("", true),
|
|
18348
|
+
createElementVNode("span", null, toDisplayString(getLabel(option2)), 1)
|
|
18345
18349
|
], 10, _hoisted_1$u);
|
|
18346
18350
|
}), 128)),
|
|
18347
18351
|
renderSlot(_ctx.$slots, "last", {}, void 0, true)
|
|
@@ -18375,7 +18379,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18375
18379
|
};
|
|
18376
18380
|
}
|
|
18377
18381
|
});
|
|
18378
|
-
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
18382
|
+
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-14fbb20b"]]);
|
|
18379
18383
|
const _hoisted_1$t = ["dismissable"];
|
|
18380
18384
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
18381
18385
|
__name: "Alert",
|
|
@@ -18722,10 +18726,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18722
18726
|
const clearForm = () => Object.assign(data2.value, {});
|
|
18723
18727
|
let formStatus = ref("idle");
|
|
18724
18728
|
const runSubmit = () => {
|
|
18729
|
+
var _a2;
|
|
18725
18730
|
console.log("runSubmit");
|
|
18726
18731
|
try {
|
|
18727
18732
|
validateForm();
|
|
18728
|
-
props2.onSubmit(data2.value);
|
|
18733
|
+
(_a2 = props2.onSubmit) == null ? void 0 : _a2.call(props2, data2.value);
|
|
18729
18734
|
clearForm();
|
|
18730
18735
|
formStatus.value = "success";
|
|
18731
18736
|
} catch (e) {
|
|
@@ -18782,14 +18787,10 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18782
18787
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => data2.value = $event)
|
|
18783
18788
|
}, null, 8, ["field", "modelValue"]);
|
|
18784
18789
|
}), 128)),
|
|
18785
|
-
renderSlot(_ctx.$slots, "submit")
|
|
18786
|
-
createElementVNode("button", { onClick: runSubmit }, " Click ")
|
|
18790
|
+
renderSlot(_ctx.$slots, "submit")
|
|
18787
18791
|
], 544)) : createCommentVNode("", true),
|
|
18788
18792
|
unref(formStatus) === "success" ? renderSlot(_ctx.$slots, "success", { key: 2 }) : createCommentVNode("", true),
|
|
18789
|
-
unref(formStatus) === "error" ? renderSlot(_ctx.$slots, "error", {
|
|
18790
|
-
key: 3,
|
|
18791
|
-
message: _ctx.error
|
|
18792
|
-
}) : createCommentVNode("", true)
|
|
18793
|
+
unref(formStatus) === "error" ? renderSlot(_ctx.$slots, "error", { key: 3 }) : createCommentVNode("", true)
|
|
18793
18794
|
], 64);
|
|
18794
18795
|
};
|
|
18795
18796
|
}
|
|
@@ -31882,7 +31883,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
31882
31883
|
};
|
|
31883
31884
|
}
|
|
31884
31885
|
});
|
|
31885
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
31886
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-cd4c27ad"]]);
|
|
31886
31887
|
const _hoisted_1$i = { class: "primary-checkbox" };
|
|
31887
31888
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
31888
31889
|
__name: "Checkbox",
|