@bagelink/vue 0.0.657 → 0.0.661
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/form/inputs/RadioGroup.vue.d.ts +3 -3
- package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedLayout.vue.d.ts +3 -2
- package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -1
- package/dist/index.cjs +45 -41
- package/dist/index.mjs +45 -41
- package/dist/style.css +7 -7
- package/package.json +1 -1
- package/src/components/form/inputs/RadioGroup.vue +16 -14
- package/src/components/layout/TabbedLayout.vue +2 -2
|
@@ -7,14 +7,14 @@ export interface RadioOption<T> {
|
|
|
7
7
|
id: string;
|
|
8
8
|
contextObj: T;
|
|
9
9
|
}
|
|
10
|
-
declare const _default: <
|
|
10
|
+
declare const _default: <ContextObjType extends Record<string, unknown>>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
11
11
|
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{
|
|
12
12
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
13
13
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
14
14
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
15
15
|
}, never>) & ({
|
|
16
16
|
groupName: string;
|
|
17
|
-
options: RadioOption<
|
|
17
|
+
options: RadioOption<ContextObjType>[];
|
|
18
18
|
deletable?: boolean;
|
|
19
19
|
} & {
|
|
20
20
|
modelValue?: any;
|
|
@@ -29,7 +29,7 @@ declare const _default: <T extends Record<string, unknown>>(__VLS_props: Awaited
|
|
|
29
29
|
label?: string;
|
|
30
30
|
value: object;
|
|
31
31
|
id: string;
|
|
32
|
-
contextObj:
|
|
32
|
+
contextObj: ContextObjType;
|
|
33
33
|
}): any;
|
|
34
34
|
}>;
|
|
35
35
|
emit: (event: "delete", ...args: any[]) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RadioGroup.vue"],"names":[],"mappings":"AAIA,MAAM,WAAW,WAAW,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,CAAC,CAAA;CACb;yBAGgB,
|
|
1
|
+
{"version":3,"file":"RadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RadioGroup.vue"],"names":[],"mappings":"AAIA,MAAM,WAAW,WAAW,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,CAAC,CAAA;CACb;yBAGgB,cAAc,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,eAClD,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,OAAO,CAAC,cACrC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC1E,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAqN1D,cAAc,CAAC,gCAAgC,CAAC;;;;;mBAV3C,MAAM;iBACR,WAAW,CAAC,cAAc,CAAC,EAAE;oBAC1B,OAAO;;qBAEL,GAAG;MAMuG,6EAAkC,CAAC,6GAAwD;oBACpM,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;WACH,UAAU;;qBArOP,MAAM;qBACN,MAAM;uBACJ,MAAM;oBACT,MAAM;mBACP,MAAM;gBACT,MAAM;;YA+LqB,GAAG;MAiCK;;;;;YAII,OAAO,CAAC,OAAO,WAAW,CAAC;;AA/NvE,wBA+N2E"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Router } from 'vue-router';
|
|
2
|
+
import { Raw } from 'vue';
|
|
2
3
|
|
|
3
4
|
declare function __VLS_template(): Partial<Record<string, (_: {
|
|
4
5
|
key: string;
|
|
@@ -9,7 +10,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRu
|
|
|
9
10
|
title?: string;
|
|
10
11
|
tabs: string[];
|
|
11
12
|
modelValue?: string;
|
|
12
|
-
router?: Router
|
|
13
|
+
router?: Raw<Router>;
|
|
13
14
|
sideTabs?: boolean;
|
|
14
15
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
16
|
"update:modelValue": (...args: any[]) => void;
|
|
@@ -17,7 +18,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRu
|
|
|
17
18
|
title?: string;
|
|
18
19
|
tabs: string[];
|
|
19
20
|
modelValue?: string;
|
|
20
|
-
router?: Router
|
|
21
|
+
router?: Raw<Router>;
|
|
21
22
|
sideTabs?: boolean;
|
|
22
23
|
}>>> & {
|
|
23
24
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabbedLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/TabbedLayout.vue"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"TabbedLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/TabbedLayout.vue"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAa,KAAK,GAAG,EAAC,MAAM,KAAK,CAAA;AAqCxC,iBAAS,cAAc;;MAmI+D,GAAG;2BAErD,GAAG;EAGtC;AAiBD,QAAA,MAAM,eAAe;YAMZ,MAAM;UACR,MAAM,EAAE;iBACD,MAAM;aACV,GAAG,CAAC,MAAM,CAAC;eACT,OAAO;;;;YAJV,MAAM;UACR,MAAM,EAAE;iBACD,MAAM;aACV,GAAG,CAAC,MAAM,CAAC;eACT,OAAO;;;UAGjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,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"}
|
package/dist/index.cjs
CHANGED
|
@@ -5456,7 +5456,7 @@ const _hoisted_2$A = { class: "nav-scroll" };
|
|
|
5456
5456
|
const _hoisted_3$o = { class: "nav-links-wrapper" };
|
|
5457
5457
|
const _hoisted_4$g = { class: "tooltip" };
|
|
5458
5458
|
const _hoisted_5$f = { class: "bot-buttons-wrapper" };
|
|
5459
|
-
const _hoisted_6$
|
|
5459
|
+
const _hoisted_6$a = { class: "tooltip" };
|
|
5460
5460
|
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
5461
5461
|
__name: "NavBar",
|
|
5462
5462
|
props: {
|
|
@@ -5526,7 +5526,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
5526
5526
|
vue.createVNode(vue.unref(_sfc_main$P), {
|
|
5527
5527
|
icon: link.icon
|
|
5528
5528
|
}, null, 8, ["icon"]),
|
|
5529
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
5529
|
+
vue.createElementVNode("div", _hoisted_6$a, vue.toDisplayString(link.label), 1)
|
|
5530
5530
|
]),
|
|
5531
5531
|
_: 2
|
|
5532
5532
|
}, 1032, ["to", "onClick"]);
|
|
@@ -6375,8 +6375,8 @@ const _hoisted_3$k = [
|
|
|
6375
6375
|
];
|
|
6376
6376
|
const _hoisted_4$e = { class: "infinite-wrapper" };
|
|
6377
6377
|
const _hoisted_5$e = { class: "row first-row" };
|
|
6378
|
-
const _hoisted_6$
|
|
6379
|
-
const _hoisted_7$
|
|
6378
|
+
const _hoisted_6$9 = { key: 0 };
|
|
6379
|
+
const _hoisted_7$5 = ["onClick"];
|
|
6380
6380
|
const _hoisted_8$2 = { class: "flex" };
|
|
6381
6381
|
const _hoisted_9$2 = ["onClick"];
|
|
6382
6382
|
const _hoisted_10$1 = { key: 0 };
|
|
@@ -6524,7 +6524,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
6524
6524
|
loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, _hoisted_3$k)) : (vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.mergeProps({ key: 1 }, vue.unref(wrapperProps))), [
|
|
6525
6525
|
vue.createElementVNode("table", _hoisted_4$e, [
|
|
6526
6526
|
vue.createElementVNode("thead", _hoisted_5$e, [
|
|
6527
|
-
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_6$
|
|
6527
|
+
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_6$9, [
|
|
6528
6528
|
vue.createElementVNode("input", {
|
|
6529
6529
|
ref_key: "allSelector",
|
|
6530
6530
|
ref: allSelector,
|
|
@@ -6551,7 +6551,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
6551
6551
|
}, null, 8, ["class"])
|
|
6552
6552
|
], 2)
|
|
6553
6553
|
])
|
|
6554
|
-
], 8, _hoisted_7$
|
|
6554
|
+
], 8, _hoisted_7$5);
|
|
6555
6555
|
}), 128))
|
|
6556
6556
|
]),
|
|
6557
6557
|
vue.createElementVNode("tbody", null, [
|
|
@@ -6646,11 +6646,11 @@ const _hoisted_2$s = {
|
|
|
6646
6646
|
const _hoisted_3$j = { class: "key" };
|
|
6647
6647
|
const _hoisted_4$d = { class: "m-0" };
|
|
6648
6648
|
const _hoisted_5$d = { key: 1 };
|
|
6649
|
-
const _hoisted_6$
|
|
6649
|
+
const _hoisted_6$8 = {
|
|
6650
6650
|
key: 0,
|
|
6651
6651
|
class: "data-row"
|
|
6652
6652
|
};
|
|
6653
|
-
const _hoisted_7$
|
|
6653
|
+
const _hoisted_7$4 = { class: "key" };
|
|
6654
6654
|
const _hoisted_8$1 = { class: "m-0" };
|
|
6655
6655
|
const _hoisted_9$1 = {
|
|
6656
6656
|
key: 0,
|
|
@@ -6718,8 +6718,8 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
6718
6718
|
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$d, [
|
|
6719
6719
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, ({ id, label }) => {
|
|
6720
6720
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: id }, [
|
|
6721
|
-
!isUnset(itemData.value[id]) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$
|
|
6722
|
-
vue.createElementVNode("div", _hoisted_7$
|
|
6721
|
+
!isUnset(itemData.value[id]) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$8, [
|
|
6722
|
+
vue.createElementVNode("div", _hoisted_7$4, [
|
|
6723
6723
|
vue.createElementVNode("p", _hoisted_8$1, vue.toDisplayString(label), 1)
|
|
6724
6724
|
]),
|
|
6725
6725
|
vue.createElementVNode("div", null, [
|
|
@@ -16068,8 +16068,8 @@ const _hoisted_4$c = {
|
|
|
16068
16068
|
class: "ms-auto ps-05 me-05"
|
|
16069
16069
|
};
|
|
16070
16070
|
const _hoisted_5$c = ["value"];
|
|
16071
|
-
const _hoisted_6$
|
|
16072
|
-
const _hoisted_7$
|
|
16071
|
+
const _hoisted_6$7 = { class: "selectinput-options" };
|
|
16072
|
+
const _hoisted_7$3 = ["onClick"];
|
|
16073
16073
|
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
16074
16074
|
__name: "SelectInput",
|
|
16075
16075
|
props: {
|
|
@@ -16234,7 +16234,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
16234
16234
|
placeholder: "Search",
|
|
16235
16235
|
icon: "search"
|
|
16236
16236
|
}, null, 8, ["modelValue"])) : vue.createCommentVNode("", true),
|
|
16237
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
16237
|
+
vue.createElementVNode("div", _hoisted_6$7, [
|
|
16238
16238
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filteredOptions.value, (option2, i2) => {
|
|
16239
16239
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
16240
16240
|
key: `${option2}${i2}`,
|
|
@@ -16251,7 +16251,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
16251
16251
|
icon: "fiber_manual_record"
|
|
16252
16252
|
})) : vue.createCommentVNode("", true),
|
|
16253
16253
|
vue.createElementVNode("span", null, vue.toDisplayString(getLabel(option2)), 1)
|
|
16254
|
-
], 10, _hoisted_7$
|
|
16254
|
+
], 10, _hoisted_7$3);
|
|
16255
16255
|
}), 128))
|
|
16256
16256
|
]),
|
|
16257
16257
|
vue.renderSlot(_ctx.$slots, "last", {}, void 0, true)
|
|
@@ -18792,7 +18792,7 @@ const _hoisted_2$k = { class: "bagel-input" };
|
|
|
18792
18792
|
const _hoisted_3$f = { class: "table-side-scroll" };
|
|
18793
18793
|
const _hoisted_4$b = { class: "table-header" };
|
|
18794
18794
|
const _hoisted_5$b = { class: "table-reorder" };
|
|
18795
|
-
const _hoisted_6$
|
|
18795
|
+
const _hoisted_6$6 = { class: "table-action" };
|
|
18796
18796
|
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
18797
18797
|
__name: "TableField",
|
|
18798
18798
|
props: {
|
|
@@ -18906,7 +18906,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
18906
18906
|
}, null, 8, ["field-meta", "bagel-app", "model-value", "onUpdate:modelValue"])
|
|
18907
18907
|
], 2);
|
|
18908
18908
|
}), 128)),
|
|
18909
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
18909
|
+
vue.createElementVNode("div", _hoisted_6$6, [
|
|
18910
18910
|
vue.createVNode(vue.unref(_sfc_main$P), {
|
|
18911
18911
|
icon: "delete",
|
|
18912
18912
|
onClick: ($event) => removeRow2(index2)
|
|
@@ -19309,8 +19309,8 @@ const _hoisted_4$7 = {
|
|
|
19309
19309
|
class: "multi-image-item previewName"
|
|
19310
19310
|
};
|
|
19311
19311
|
const _hoisted_5$7 = ["src"];
|
|
19312
|
-
const _hoisted_6$
|
|
19313
|
-
const _hoisted_7$
|
|
19312
|
+
const _hoisted_6$5 = { class: "no-margin" };
|
|
19313
|
+
const _hoisted_7$2 = {
|
|
19314
19314
|
key: 0,
|
|
19315
19315
|
class: "imagePreviewWrap"
|
|
19316
19316
|
};
|
|
@@ -19486,7 +19486,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
19486
19486
|
src: file.url,
|
|
19487
19487
|
alt: ""
|
|
19488
19488
|
}, null, 8, _hoisted_5$7),
|
|
19489
|
-
vue.createElementVNode("p", _hoisted_6$
|
|
19489
|
+
vue.createElementVNode("p", _hoisted_6$5, vue.toDisplayString(file.name), 1),
|
|
19490
19490
|
vue.createVNode(vue.unref(Btn), {
|
|
19491
19491
|
thin: "",
|
|
19492
19492
|
flat: "",
|
|
@@ -19501,7 +19501,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
19501
19501
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
19502
19502
|
key: fileQ.file
|
|
19503
19503
|
}, [
|
|
19504
|
-
!_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$
|
|
19504
|
+
!_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$2, [
|
|
19505
19505
|
vue.createElementVNode("img", {
|
|
19506
19506
|
class: "preview",
|
|
19507
19507
|
src: fileToUrl(fileQ.file),
|
|
@@ -45728,7 +45728,7 @@ const _hoisted_2$c = { class: "p-075 tel-countryp-dropdown" };
|
|
|
45728
45728
|
const _hoisted_3$9 = ["aria-selected", "onClick", "onMousemove"];
|
|
45729
45729
|
const _hoisted_4$5 = { class: "tel-country" };
|
|
45730
45730
|
const _hoisted_5$5 = { key: 1 };
|
|
45731
|
-
const _hoisted_6$
|
|
45731
|
+
const _hoisted_6$4 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
|
|
45732
45732
|
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
45733
45733
|
__name: "TelInput",
|
|
45734
45734
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -46065,7 +46065,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
46065
46065
|
vue.withKeys(onSpace, ["space"])
|
|
46066
46066
|
],
|
|
46067
46067
|
onKeydown: handleInput
|
|
46068
|
-
}, null, 44, _hoisted_6$
|
|
46068
|
+
}, null, 44, _hoisted_6$4), [
|
|
46069
46069
|
[vue.vModelText, phone.value]
|
|
46070
46070
|
])
|
|
46071
46071
|
], 40, _hoisted_1$h)
|
|
@@ -47225,12 +47225,14 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47225
47225
|
const index = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-e3cd444d"]]);
|
|
47226
47226
|
const _hoisted_1$d = ["for"];
|
|
47227
47227
|
const _hoisted_2$a = ["id", "name", "value"];
|
|
47228
|
-
const _hoisted_3$8 =
|
|
47229
|
-
const _hoisted_4$4 =
|
|
47228
|
+
const _hoisted_3$8 = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
47229
|
+
const _hoisted_4$4 = ["src", "alt"];
|
|
47230
|
+
const _hoisted_5$4 = { class: "" };
|
|
47231
|
+
const _hoisted_6$3 = {
|
|
47230
47232
|
key: 0,
|
|
47231
|
-
class: "m-0"
|
|
47233
|
+
class: "m-0 m_txt-14"
|
|
47232
47234
|
};
|
|
47233
|
-
const
|
|
47235
|
+
const _hoisted_7$1 = {
|
|
47234
47236
|
key: 1,
|
|
47235
47237
|
class: "txt-gray txt-12 m-0"
|
|
47236
47238
|
};
|
|
@@ -47265,20 +47267,22 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47265
47267
|
}, null, 8, _hoisted_2$a), [
|
|
47266
47268
|
[vue.vModelRadio, selectedOption.value]
|
|
47267
47269
|
]),
|
|
47268
|
-
|
|
47269
|
-
|
|
47270
|
-
|
|
47271
|
-
|
|
47272
|
-
|
|
47273
|
-
|
|
47274
|
-
|
|
47275
|
-
|
|
47276
|
-
|
|
47277
|
-
|
|
47270
|
+
vue.createElementVNode("div", _hoisted_3$8, [
|
|
47271
|
+
opt.imgSrc ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
47272
|
+
key: 0,
|
|
47273
|
+
class: "bg-white shadow-light py-025 rounded m_w40",
|
|
47274
|
+
width: "60",
|
|
47275
|
+
src: opt.imgSrc,
|
|
47276
|
+
alt: opt.imgAlt
|
|
47277
|
+
}, null, 8, _hoisted_4$4)) : vue.createCommentVNode("", true),
|
|
47278
|
+
vue.createElementVNode("div", _hoisted_5$4, [
|
|
47279
|
+
opt.label ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_6$3, vue.toDisplayString(opt.label), 1)) : vue.createCommentVNode("", true),
|
|
47280
|
+
opt.subLabel ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_7$1, vue.toDisplayString(opt.subLabel), 1)) : vue.createCommentVNode("", true)
|
|
47281
|
+
]),
|
|
47282
|
+
vue.renderSlot(_ctx.$slots, "radioItem", vue.mergeProps({ ref_for: true }, opt), void 0, true)
|
|
47278
47283
|
]),
|
|
47279
|
-
vue.
|
|
47280
|
-
|
|
47281
|
-
key: 1,
|
|
47284
|
+
!_ctx.deletable ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
47285
|
+
key: 0,
|
|
47282
47286
|
class: "ms-auto",
|
|
47283
47287
|
flat: "",
|
|
47284
47288
|
thin: "",
|
|
@@ -47291,7 +47295,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47291
47295
|
};
|
|
47292
47296
|
}
|
|
47293
47297
|
});
|
|
47294
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
47298
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-751ec522"]]);
|
|
47295
47299
|
function _isPlaceholder(a2) {
|
|
47296
47300
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
47297
47301
|
}
|
|
@@ -53770,7 +53774,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
53770
53774
|
};
|
|
53771
53775
|
}
|
|
53772
53776
|
});
|
|
53773
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
53777
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-94434de0"]]);
|
|
53774
53778
|
const countryArray = [
|
|
53775
53779
|
["Afghanistan (افغانستان)", "AF", "93"],
|
|
53776
53780
|
["Albania (Shqipëri)", "AL", "355"],
|
package/dist/index.mjs
CHANGED
|
@@ -5454,7 +5454,7 @@ const _hoisted_2$A = { class: "nav-scroll" };
|
|
|
5454
5454
|
const _hoisted_3$o = { class: "nav-links-wrapper" };
|
|
5455
5455
|
const _hoisted_4$g = { class: "tooltip" };
|
|
5456
5456
|
const _hoisted_5$f = { class: "bot-buttons-wrapper" };
|
|
5457
|
-
const _hoisted_6$
|
|
5457
|
+
const _hoisted_6$a = { class: "tooltip" };
|
|
5458
5458
|
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
5459
5459
|
__name: "NavBar",
|
|
5460
5460
|
props: {
|
|
@@ -5524,7 +5524,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
5524
5524
|
createVNode(unref(_sfc_main$P), {
|
|
5525
5525
|
icon: link.icon
|
|
5526
5526
|
}, null, 8, ["icon"]),
|
|
5527
|
-
createElementVNode("div", _hoisted_6$
|
|
5527
|
+
createElementVNode("div", _hoisted_6$a, toDisplayString(link.label), 1)
|
|
5528
5528
|
]),
|
|
5529
5529
|
_: 2
|
|
5530
5530
|
}, 1032, ["to", "onClick"]);
|
|
@@ -6373,8 +6373,8 @@ const _hoisted_3$k = [
|
|
|
6373
6373
|
];
|
|
6374
6374
|
const _hoisted_4$e = { class: "infinite-wrapper" };
|
|
6375
6375
|
const _hoisted_5$e = { class: "row first-row" };
|
|
6376
|
-
const _hoisted_6$
|
|
6377
|
-
const _hoisted_7$
|
|
6376
|
+
const _hoisted_6$9 = { key: 0 };
|
|
6377
|
+
const _hoisted_7$5 = ["onClick"];
|
|
6378
6378
|
const _hoisted_8$2 = { class: "flex" };
|
|
6379
6379
|
const _hoisted_9$2 = ["onClick"];
|
|
6380
6380
|
const _hoisted_10$1 = { key: 0 };
|
|
@@ -6522,7 +6522,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
6522
6522
|
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$D, _hoisted_3$k)) : (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(wrapperProps))), [
|
|
6523
6523
|
createElementVNode("table", _hoisted_4$e, [
|
|
6524
6524
|
createElementVNode("thead", _hoisted_5$e, [
|
|
6525
|
-
unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_6$
|
|
6525
|
+
unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_6$9, [
|
|
6526
6526
|
createElementVNode("input", {
|
|
6527
6527
|
ref_key: "allSelector",
|
|
6528
6528
|
ref: allSelector,
|
|
@@ -6549,7 +6549,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
6549
6549
|
}, null, 8, ["class"])
|
|
6550
6550
|
], 2)
|
|
6551
6551
|
])
|
|
6552
|
-
], 8, _hoisted_7$
|
|
6552
|
+
], 8, _hoisted_7$5);
|
|
6553
6553
|
}), 128))
|
|
6554
6554
|
]),
|
|
6555
6555
|
createElementVNode("tbody", null, [
|
|
@@ -6644,11 +6644,11 @@ const _hoisted_2$s = {
|
|
|
6644
6644
|
const _hoisted_3$j = { class: "key" };
|
|
6645
6645
|
const _hoisted_4$d = { class: "m-0" };
|
|
6646
6646
|
const _hoisted_5$d = { key: 1 };
|
|
6647
|
-
const _hoisted_6$
|
|
6647
|
+
const _hoisted_6$8 = {
|
|
6648
6648
|
key: 0,
|
|
6649
6649
|
class: "data-row"
|
|
6650
6650
|
};
|
|
6651
|
-
const _hoisted_7$
|
|
6651
|
+
const _hoisted_7$4 = { class: "key" };
|
|
6652
6652
|
const _hoisted_8$1 = { class: "m-0" };
|
|
6653
6653
|
const _hoisted_9$1 = {
|
|
6654
6654
|
key: 0,
|
|
@@ -6716,8 +6716,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
6716
6716
|
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
|
|
6717
6717
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(computedSchema.value, ({ id, label }) => {
|
|
6718
6718
|
return openBlock(), createElementBlock(Fragment$1, { key: id }, [
|
|
6719
|
-
!isUnset(itemData.value[id]) ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
6720
|
-
createElementVNode("div", _hoisted_7$
|
|
6719
|
+
!isUnset(itemData.value[id]) ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
|
|
6720
|
+
createElementVNode("div", _hoisted_7$4, [
|
|
6721
6721
|
createElementVNode("p", _hoisted_8$1, toDisplayString(label), 1)
|
|
6722
6722
|
]),
|
|
6723
6723
|
createElementVNode("div", null, [
|
|
@@ -16066,8 +16066,8 @@ const _hoisted_4$c = {
|
|
|
16066
16066
|
class: "ms-auto ps-05 me-05"
|
|
16067
16067
|
};
|
|
16068
16068
|
const _hoisted_5$c = ["value"];
|
|
16069
|
-
const _hoisted_6$
|
|
16070
|
-
const _hoisted_7$
|
|
16069
|
+
const _hoisted_6$7 = { class: "selectinput-options" };
|
|
16070
|
+
const _hoisted_7$3 = ["onClick"];
|
|
16071
16071
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
16072
16072
|
__name: "SelectInput",
|
|
16073
16073
|
props: {
|
|
@@ -16232,7 +16232,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
16232
16232
|
placeholder: "Search",
|
|
16233
16233
|
icon: "search"
|
|
16234
16234
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
16235
|
-
createElementVNode("div", _hoisted_6$
|
|
16235
|
+
createElementVNode("div", _hoisted_6$7, [
|
|
16236
16236
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(filteredOptions.value, (option2, i2) => {
|
|
16237
16237
|
return openBlock(), createElementBlock("div", {
|
|
16238
16238
|
key: `${option2}${i2}`,
|
|
@@ -16249,7 +16249,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
16249
16249
|
icon: "fiber_manual_record"
|
|
16250
16250
|
})) : createCommentVNode("", true),
|
|
16251
16251
|
createElementVNode("span", null, toDisplayString(getLabel(option2)), 1)
|
|
16252
|
-
], 10, _hoisted_7$
|
|
16252
|
+
], 10, _hoisted_7$3);
|
|
16253
16253
|
}), 128))
|
|
16254
16254
|
]),
|
|
16255
16255
|
renderSlot(_ctx.$slots, "last", {}, void 0, true)
|
|
@@ -18790,7 +18790,7 @@ const _hoisted_2$k = { class: "bagel-input" };
|
|
|
18790
18790
|
const _hoisted_3$f = { class: "table-side-scroll" };
|
|
18791
18791
|
const _hoisted_4$b = { class: "table-header" };
|
|
18792
18792
|
const _hoisted_5$b = { class: "table-reorder" };
|
|
18793
|
-
const _hoisted_6$
|
|
18793
|
+
const _hoisted_6$6 = { class: "table-action" };
|
|
18794
18794
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
18795
18795
|
__name: "TableField",
|
|
18796
18796
|
props: {
|
|
@@ -18904,7 +18904,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18904
18904
|
}, null, 8, ["field-meta", "bagel-app", "model-value", "onUpdate:modelValue"])
|
|
18905
18905
|
], 2);
|
|
18906
18906
|
}), 128)),
|
|
18907
|
-
createElementVNode("div", _hoisted_6$
|
|
18907
|
+
createElementVNode("div", _hoisted_6$6, [
|
|
18908
18908
|
createVNode(unref(_sfc_main$P), {
|
|
18909
18909
|
icon: "delete",
|
|
18910
18910
|
onClick: ($event) => removeRow2(index2)
|
|
@@ -19307,8 +19307,8 @@ const _hoisted_4$7 = {
|
|
|
19307
19307
|
class: "multi-image-item previewName"
|
|
19308
19308
|
};
|
|
19309
19309
|
const _hoisted_5$7 = ["src"];
|
|
19310
|
-
const _hoisted_6$
|
|
19311
|
-
const _hoisted_7$
|
|
19310
|
+
const _hoisted_6$5 = { class: "no-margin" };
|
|
19311
|
+
const _hoisted_7$2 = {
|
|
19312
19312
|
key: 0,
|
|
19313
19313
|
class: "imagePreviewWrap"
|
|
19314
19314
|
};
|
|
@@ -19484,7 +19484,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19484
19484
|
src: file.url,
|
|
19485
19485
|
alt: ""
|
|
19486
19486
|
}, null, 8, _hoisted_5$7),
|
|
19487
|
-
createElementVNode("p", _hoisted_6$
|
|
19487
|
+
createElementVNode("p", _hoisted_6$5, toDisplayString(file.name), 1),
|
|
19488
19488
|
createVNode(unref(Btn), {
|
|
19489
19489
|
thin: "",
|
|
19490
19490
|
flat: "",
|
|
@@ -19499,7 +19499,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19499
19499
|
return openBlock(), createElementBlock(Fragment$1, {
|
|
19500
19500
|
key: fileQ.file
|
|
19501
19501
|
}, [
|
|
19502
|
-
!_ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
19502
|
+
!_ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
|
|
19503
19503
|
createElementVNode("img", {
|
|
19504
19504
|
class: "preview",
|
|
19505
19505
|
src: fileToUrl(fileQ.file),
|
|
@@ -45726,7 +45726,7 @@ const _hoisted_2$c = { class: "p-075 tel-countryp-dropdown" };
|
|
|
45726
45726
|
const _hoisted_3$9 = ["aria-selected", "onClick", "onMousemove"];
|
|
45727
45727
|
const _hoisted_4$5 = { class: "tel-country" };
|
|
45728
45728
|
const _hoisted_5$5 = { key: 1 };
|
|
45729
|
-
const _hoisted_6$
|
|
45729
|
+
const _hoisted_6$4 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
|
|
45730
45730
|
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
45731
45731
|
__name: "TelInput",
|
|
45732
45732
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -46063,7 +46063,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
46063
46063
|
withKeys(onSpace, ["space"])
|
|
46064
46064
|
],
|
|
46065
46065
|
onKeydown: handleInput
|
|
46066
|
-
}, null, 44, _hoisted_6$
|
|
46066
|
+
}, null, 44, _hoisted_6$4), [
|
|
46067
46067
|
[vModelText, phone.value]
|
|
46068
46068
|
])
|
|
46069
46069
|
], 40, _hoisted_1$h)
|
|
@@ -47223,12 +47223,14 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
47223
47223
|
const index = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-e3cd444d"]]);
|
|
47224
47224
|
const _hoisted_1$d = ["for"];
|
|
47225
47225
|
const _hoisted_2$a = ["id", "name", "value"];
|
|
47226
|
-
const _hoisted_3$8 =
|
|
47227
|
-
const _hoisted_4$4 =
|
|
47226
|
+
const _hoisted_3$8 = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
47227
|
+
const _hoisted_4$4 = ["src", "alt"];
|
|
47228
|
+
const _hoisted_5$4 = { class: "" };
|
|
47229
|
+
const _hoisted_6$3 = {
|
|
47228
47230
|
key: 0,
|
|
47229
|
-
class: "m-0"
|
|
47231
|
+
class: "m-0 m_txt-14"
|
|
47230
47232
|
};
|
|
47231
|
-
const
|
|
47233
|
+
const _hoisted_7$1 = {
|
|
47232
47234
|
key: 1,
|
|
47233
47235
|
class: "txt-gray txt-12 m-0"
|
|
47234
47236
|
};
|
|
@@ -47263,20 +47265,22 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
47263
47265
|
}, null, 8, _hoisted_2$a), [
|
|
47264
47266
|
[vModelRadio, selectedOption.value]
|
|
47265
47267
|
]),
|
|
47266
|
-
|
|
47267
|
-
|
|
47268
|
-
|
|
47269
|
-
|
|
47270
|
-
|
|
47271
|
-
|
|
47272
|
-
|
|
47273
|
-
|
|
47274
|
-
|
|
47275
|
-
|
|
47268
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
47269
|
+
opt.imgSrc ? (openBlock(), createElementBlock("img", {
|
|
47270
|
+
key: 0,
|
|
47271
|
+
class: "bg-white shadow-light py-025 rounded m_w40",
|
|
47272
|
+
width: "60",
|
|
47273
|
+
src: opt.imgSrc,
|
|
47274
|
+
alt: opt.imgAlt
|
|
47275
|
+
}, null, 8, _hoisted_4$4)) : createCommentVNode("", true),
|
|
47276
|
+
createElementVNode("div", _hoisted_5$4, [
|
|
47277
|
+
opt.label ? (openBlock(), createElementBlock("p", _hoisted_6$3, toDisplayString(opt.label), 1)) : createCommentVNode("", true),
|
|
47278
|
+
opt.subLabel ? (openBlock(), createElementBlock("p", _hoisted_7$1, toDisplayString(opt.subLabel), 1)) : createCommentVNode("", true)
|
|
47279
|
+
]),
|
|
47280
|
+
renderSlot(_ctx.$slots, "radioItem", mergeProps({ ref_for: true }, opt), void 0, true)
|
|
47276
47281
|
]),
|
|
47277
|
-
|
|
47278
|
-
|
|
47279
|
-
key: 1,
|
|
47282
|
+
!_ctx.deletable ? (openBlock(), createBlock(unref(Btn), {
|
|
47283
|
+
key: 0,
|
|
47280
47284
|
class: "ms-auto",
|
|
47281
47285
|
flat: "",
|
|
47282
47286
|
thin: "",
|
|
@@ -47289,7 +47293,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
47289
47293
|
};
|
|
47290
47294
|
}
|
|
47291
47295
|
});
|
|
47292
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
47296
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-751ec522"]]);
|
|
47293
47297
|
function _isPlaceholder(a2) {
|
|
47294
47298
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
47295
47299
|
}
|
|
@@ -53768,7 +53772,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53768
53772
|
};
|
|
53769
53773
|
}
|
|
53770
53774
|
});
|
|
53771
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
53775
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-94434de0"]]);
|
|
53772
53776
|
const countryArray = [
|
|
53773
53777
|
["Afghanistan (افغانستان)", "AF", "93"],
|
|
53774
53778
|
["Albania (Shqipëri)", "AL", "355"],
|
package/dist/style.css
CHANGED
|
@@ -2177,12 +2177,12 @@ input[type="number"][data-v-4c741194] {
|
|
|
2177
2177
|
}
|
|
2178
2178
|
}
|
|
2179
2179
|
|
|
2180
|
-
.radio-input-list[data-v-
|
|
2180
|
+
.radio-input-list[data-v-751ec522]{
|
|
2181
2181
|
width: auto;
|
|
2182
2182
|
transform: scale(1.4);
|
|
2183
2183
|
margin-inline-end: 0.6rem;
|
|
2184
2184
|
}
|
|
2185
|
-
.active-list-item[data-v-
|
|
2185
|
+
.active-list-item[data-v-751ec522]:has(:checked){
|
|
2186
2186
|
background: var(--bgl-primary-light) !important;
|
|
2187
2187
|
border-color: var(--bgl-primary) !important;
|
|
2188
2188
|
accent-color: var(--bgl-accent-color);
|
|
@@ -2371,22 +2371,22 @@ input[type="number"][data-v-4c741194] {
|
|
|
2371
2371
|
z-index: 0;
|
|
2372
2372
|
}
|
|
2373
2373
|
|
|
2374
|
-
.tab[data-v-
|
|
2374
|
+
.tab[data-v-94434de0] {
|
|
2375
2375
|
text-transform: capitalize;
|
|
2376
2376
|
}
|
|
2377
|
-
.side-tabs[data-v-
|
|
2377
|
+
.side-tabs[data-v-94434de0] {
|
|
2378
2378
|
display: flex;
|
|
2379
2379
|
}
|
|
2380
|
-
.side-tabs .tabs-top[data-v-
|
|
2380
|
+
.side-tabs .tabs-top[data-v-94434de0] {
|
|
2381
2381
|
margin-inline-end: 1rem;
|
|
2382
2382
|
}
|
|
2383
|
-
.side-tabs .tabs[data-v-
|
|
2383
|
+
.side-tabs .tabs[data-v-94434de0] {
|
|
2384
2384
|
display: block;
|
|
2385
2385
|
padding: 0;
|
|
2386
2386
|
margin: 0;
|
|
2387
2387
|
border: none;
|
|
2388
2388
|
}
|
|
2389
|
-
.side-tabs .tab[data-v-
|
|
2389
|
+
.side-tabs .tab[data-v-94434de0] {
|
|
2390
2390
|
border: none;
|
|
2391
2391
|
}
|
|
2392
2392
|
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script setup lang="ts" generic="
|
|
1
|
+
<script setup lang="ts" generic="ContextObjType extends Record<string, unknown>">
|
|
2
2
|
import { Btn } from '@bagelink/vue'
|
|
3
3
|
|
|
4
4
|
export interface RadioOption<T> {
|
|
@@ -13,7 +13,7 @@ export interface RadioOption<T> {
|
|
|
13
13
|
|
|
14
14
|
defineProps<{
|
|
15
15
|
groupName: string
|
|
16
|
-
options: RadioOption<
|
|
16
|
+
options: RadioOption<ContextObjType>[]
|
|
17
17
|
deletable?: boolean
|
|
18
18
|
}>()
|
|
19
19
|
|
|
@@ -38,20 +38,22 @@ const selectedOption = defineModel('modelValue')
|
|
|
38
38
|
:name="groupName"
|
|
39
39
|
:value="opt.value"
|
|
40
40
|
>
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
<
|
|
50
|
-
|
|
41
|
+
<div class="flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025">
|
|
42
|
+
<img
|
|
43
|
+
v-if="opt.imgSrc"
|
|
44
|
+
class="bg-white shadow-light py-025 rounded m_w40"
|
|
45
|
+
width="60"
|
|
46
|
+
:src="opt.imgSrc"
|
|
47
|
+
:alt="opt.imgAlt"
|
|
48
|
+
>
|
|
49
|
+
<div class="">
|
|
50
|
+
<p v-if="opt.label" class="m-0 m_txt-14">{{ opt.label }}</p>
|
|
51
|
+
<p v-if="opt.subLabel" class="txt-gray txt-12 m-0">{{ opt.subLabel }}</p>
|
|
52
|
+
</div>
|
|
53
|
+
<slot name="radioItem" v-bind="opt" />
|
|
51
54
|
</div>
|
|
52
|
-
<slot name="radioItem" v-bind="opt" />
|
|
53
55
|
<Btn
|
|
54
|
-
v-if="deletable"
|
|
56
|
+
v-if="!deletable"
|
|
55
57
|
class="ms-auto"
|
|
56
58
|
flat thin icon="delete"
|
|
57
59
|
@click="$emit('delete', opt)"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { Router } from 'vue-router'
|
|
3
|
-
import { onMounted } from 'vue'
|
|
3
|
+
import { onMounted, type Raw} from 'vue'
|
|
4
4
|
|
|
5
5
|
const props = defineProps<{
|
|
6
6
|
title?: string
|
|
7
7
|
tabs: string[]
|
|
8
8
|
modelValue?: string
|
|
9
|
-
router?: Router
|
|
9
|
+
router?: Raw<Router>
|
|
10
10
|
sideTabs?: boolean
|
|
11
11
|
}>()
|
|
12
12
|
|