@bagelink/vue 0.0.602 → 0.0.605

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.
@@ -14,6 +14,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
14
14
  title: {
15
15
  type: import('vue').PropType<string>;
16
16
  };
17
+ excludeUnset: {
18
+ type: import('vue').PropType<boolean>;
19
+ };
17
20
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
21
  data: import('vue').PropType<Record<string, any>>;
19
22
  showFields: {
@@ -25,6 +28,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
25
28
  title: {
26
29
  type: import('vue').PropType<string>;
27
30
  };
31
+ excludeUnset: {
32
+ type: import('vue').PropType<boolean>;
33
+ };
28
34
  }>>, {}, {}>;
29
35
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
30
36
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"DataPreview.vue.d.ts","sourceRoot":"","sources":["../../src/components/DataPreview.vue"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,cAAc,EAKnB,MAAM,eAAe,CAAA;AAyBtB,iBAAS,cAAc;oBAwLM,GAAG;EAG/B;AAqBD,QAAA,MAAM,eAAe;UAtNb,OAAO,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;;UAA3C,OAAO,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;YAmOjD,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"DataPreview.vue.d.ts","sourceRoot":"","sources":["../../src/components/DataPreview.vue"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,cAAc,EAKnB,MAAM,eAAe,CAAA;AA8CtB,iBAAS,cAAc;oBA2LM,GAAG;EAG/B;AAwBD,QAAA,MAAM,eAAe;UA5Nb,OAAO,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;;;;;UAA3C,OAAO,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;;;;YA0OjD,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,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,34 @@
1
+ type Option = {
2
+ label: string;
3
+ value: string;
4
+ } | string | number;
5
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
6
+ modelValue: string | number;
7
+ options: Option[];
8
+ placeholder?: string | undefined;
9
+ label?: string | undefined;
10
+ id: string;
11
+ required: boolean;
12
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:modelValue": (...args: any[]) => void;
14
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
15
+ modelValue: string | number;
16
+ options: Option[];
17
+ placeholder?: string | undefined;
18
+ label?: string | undefined;
19
+ id: string;
20
+ required: boolean;
21
+ }>>> & {
22
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
+ }, {}, {}>;
24
+ export default _default;
25
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ type __VLS_TypePropsToRuntimeProps<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: import('vue').PropType<T[K]>;
31
+ required: true;
32
+ };
33
+ };
34
+ //# sourceMappingURL=Drop.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Drop.vue.d.ts","sourceRoot":"","sources":["../../src/components/Drop.vue"],"names":[],"mappings":"AAcA;AAMA,KAAK,MAAM,GAAG;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,MAAM,GAAG,MAAM,CAAC;;gBA8KN,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;;;QAGb,MAAM;cACA,OAAO;;;;gBALL,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;;;QAGb,MAAM;cACA,OAAO;;;;AAXnB,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"}
@@ -0,0 +1,60 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ id?: string | undefined;
3
+ private?: 0 | 1 | undefined;
4
+ singleFile?: boolean | undefined;
5
+ beforeUpload?: (() => Promise<any>) | undefined;
6
+ dragDropLabel?: string | undefined;
7
+ browseLabel?: string | undefined;
8
+ }>, {
9
+ private: number;
10
+ entity: string;
11
+ id: string;
12
+ beforeUpload: () => Promise<void>;
13
+ dragDropLabel: string;
14
+ browseLabel: string;
15
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ done: (...args: any[]) => void;
17
+ complete: (...args: any[]) => void;
18
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
+ id?: string | undefined;
20
+ private?: 0 | 1 | undefined;
21
+ singleFile?: boolean | undefined;
22
+ beforeUpload?: (() => Promise<any>) | undefined;
23
+ dragDropLabel?: string | undefined;
24
+ browseLabel?: string | undefined;
25
+ }>, {
26
+ private: number;
27
+ entity: string;
28
+ id: string;
29
+ beforeUpload: () => Promise<void>;
30
+ dragDropLabel: string;
31
+ browseLabel: string;
32
+ }>>> & {
33
+ onDone?: ((...args: any[]) => any) | undefined;
34
+ onComplete?: ((...args: any[]) => any) | undefined;
35
+ }, {
36
+ id: string;
37
+ private: 1 | 0;
38
+ beforeUpload: () => Promise<any>;
39
+ dragDropLabel: string;
40
+ browseLabel: string;
41
+ }, {}>;
42
+ export default _default;
43
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
+ type __VLS_TypePropsToRuntimeProps<T> = {
45
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
46
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
+ } : {
48
+ type: import('vue').PropType<T[K]>;
49
+ required: true;
50
+ };
51
+ };
52
+ type __VLS_WithDefaults<P, D> = {
53
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
+ default: D[K];
55
+ }> : P[K];
56
+ };
57
+ type __VLS_Prettify<T> = {
58
+ [K in keyof T]: T[K];
59
+ } & {};
60
+ //# sourceMappingURL=FileUploader.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileUploader.vue.d.ts","sourceRoot":"","sources":["../../src/components/FileUploader.vue"],"names":[],"mappings":"AAiDA;;;;;0BA6YuB,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;;;;0BAAZ,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;QAJ5B,MAAM;aAED,CAAC,GAAG,CAAC;kBAEA,MAAM,QAAQ,GAAG,CAAC;mBACjB,MAAM;iBACR,MAAM;;AARtB,wBAeG;AAGH,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":"TableSchema.vue.d.ts","sourceRoot":"","sources":["../../src/components/TableSchema.vue"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,cAAc,EAKnB,MAAM,eAAe,CAAA;AAiKtB,iBAAS,cAAc;;;MAyV+D,GAAG,GAIxF;AAmCD,QAAA,MAAM,eAAe;aAvYV,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;gBACxB,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;;;;;;kBAwZ4J,IAAI;;;6DATvK,cAAc;;;;;;;;;;aAhZrC,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;gBACxB,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;;;;;;kBAwZ4J,IAAI;;;6DATvK,cAAc;;;;;;;;;UAM9C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"TableSchema.vue.d.ts","sourceRoot":"","sources":["../../src/components/TableSchema.vue"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,cAAc,EAKnB,MAAM,eAAe,CAAA;AAqKtB,iBAAS,cAAc;;;MAyV+D,GAAG,GAIxF;AAmCD,QAAA,MAAM,eAAe;aAvYV,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;gBACxB,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;;;;;;kBAwZ4J,IAAI;;;6DATvK,cAAc;;;;;;;;;;aAhZrC,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;gBACxB,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;;;;;;kBAwZ4J,IAAI;;;6DATvK,cAAc;;;;;;;;;UAM9C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import type { Router } from 'vue-router';
2
+ import { BagelField } from '../..';
2
3
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
4
  modelValue: Record<string, any>;
4
5
  field: BagelField;
@@ -1 +1 @@
1
- {"version":3,"file":"ItemRef.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/ItemRef.vue"],"names":[],"mappings":"AAoBA;AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;;gBAqI5B,OAAO,MAAM,EAAE,GAAG,CAAC;;YAEvB,MAAM;;gBAFF,OAAO,MAAM,EAAE,GAAG,CAAC;;YAEvB,MAAM;;AARf,wBAUG;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
+ {"version":3,"file":"ItemRef.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/ItemRef.vue"],"names":[],"mappings":"AAoBA;AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAqB,UAAU,EAAE,MAAM,eAAe,CAAC;;gBAoIjD,OAAO,MAAM,EAAE,GAAG,CAAC;WACxB,UAAU;YACT,MAAM;;gBAFF,OAAO,MAAM,EAAE,GAAG,CAAC;WACxB,UAAU;YACT,MAAM;;AARf,wBAUG;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"}
@@ -4,8 +4,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
4
4
  field: SelectBagelField;
5
5
  modelValue: any;
6
6
  small?: boolean | undefined;
7
- label?: string | undefined;
8
- description?: string | undefined;
9
7
  }>, {
10
8
  description: string;
11
9
  editMode: boolean;
@@ -19,8 +17,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
19
17
  field: SelectBagelField;
20
18
  modelValue: any;
21
19
  small?: boolean | undefined;
22
- label?: string | undefined;
23
- description?: string | undefined;
24
20
  }>, {
25
21
  description: string;
26
22
  editMode: boolean;
@@ -32,6 +28,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
32
28
  }, {
33
29
  description: string;
34
30
  label: string;
31
+ placeholder: string;
35
32
  editMode: boolean;
36
33
  }, {}>;
37
34
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectField.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectField.vue"],"names":[],"mappings":"AA6CA;AAOA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;;;WAiV5C,gBAAgB;gBACX,GAAG;;;;;;;;;;;;;;WADR,gBAAgB;gBACX,GAAG;;;;;;;;;;;;;iBAGD,MAAM;WADZ,MAAM;cAJH,OAAO;;AANrB,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;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
+ {"version":3,"file":"SelectField.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectField.vue"],"names":[],"mappings":"AA6CA;AAOA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;;;WA6U5C,gBAAgB;gBACX,GAAG;;;;;;;;;;;;WADR,gBAAgB;gBACX,GAAG;;;;;;;;;;;;;;cAFJ,OAAO;;AANrB,wBAYG;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,4 +1,5 @@
1
1
  import { BglFormSchemaFnT, BglFormSchemaT } from '..';
2
+ import { Ref, UnwrapRef } from 'vue';
2
3
 
3
4
  interface useBglSchemaParamsT {
4
5
  schema?: BglFormSchemaFnT;
@@ -6,5 +7,6 @@ interface useBglSchemaParamsT {
6
7
  data?: any[];
7
8
  }
8
9
  export declare function useBglSchema({ schema, showFields, data }?: useBglSchemaParamsT): BglFormSchemaT;
10
+ export declare function useLocalStorage<T>(key: string, initialValue: T): Ref<UnwrapRef<T>>;
9
11
  export {};
10
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAqB,MAAM,eAAe,CAAA;AAE7F,UAAU,mBAAmB;IAC5B,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;CACZ;AAED,wBAAgB,YAAY,CAC3B,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAE,mBAAwB,GACpD,cAAc,CAahB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAqB,MAAM,eAAe,CAAA;AAC7F,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAGzC,UAAU,mBAAmB;IAC5B,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;CACZ;AAED,wBAAgB,YAAY,CAC3B,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAE,mBAAwB,GACpD,cAAc,CAahB;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAUlF"}
package/dist/index.cjs CHANGED
@@ -5264,7 +5264,8 @@ function debounce$2(fn3, delay = 500) {
5264
5264
  timeout = setTimeout(fn3, delay);
5265
5265
  }
5266
5266
  function keyToLabel(key) {
5267
- return (key == null ? void 0 : key.split("_").map((k2) => k2.charAt(0).toUpperCase() + k2.slice(1)).join(" ")) || key;
5267
+ if (key === void 0) return key;
5268
+ return key.split("_").map((k2) => k2.charAt(0).toUpperCase() + k2.slice(1)).join(" ") || key;
5268
5269
  }
5269
5270
  async function copyText(text, cb) {
5270
5271
  await navigator.clipboard.writeText(text);
@@ -5418,6 +5419,15 @@ function useBglSchema({ schema, showFields, data: data2 } = {}) {
5418
5419
  }
5419
5420
  return getFallbackSchema(data2, showFields);
5420
5421
  }
5422
+ function useLocalStorage(key, initialValue) {
5423
+ const storedValue = localStorage.getItem(key);
5424
+ const initial = storedValue ? JSON.parse(storedValue) : initialValue;
5425
+ const value = vue.ref(initial);
5426
+ vue.watch(() => value.value, (val) => {
5427
+ localStorage.setItem(key, JSON.stringify(val));
5428
+ }, { immediate: true, deep: true });
5429
+ return value;
5430
+ }
5421
5431
  const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
5422
5432
  __name: "MaterialIcon",
5423
5433
  props: {
@@ -6349,7 +6359,7 @@ function useVerticalVirtualList(options, list) {
6349
6359
  containerRef
6350
6360
  };
6351
6361
  }
6352
- const _withScopeId$3 = (n2) => (vue.pushScopeId("data-v-73d79ea6"), n2 = n2(), vue.popScopeId(), n2);
6362
+ const _withScopeId$3 = (n2) => (vue.pushScopeId("data-v-84e79d8d"), n2 = n2(), vue.popScopeId(), n2);
6353
6363
  const _hoisted_1$C = {
6354
6364
  key: 0,
6355
6365
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
@@ -6383,7 +6393,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
6383
6393
  emits: /* @__PURE__ */ vue.mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
6384
6394
  setup(__props, { emit: __emit }) {
6385
6395
  vue.useCssVars((_ctx) => ({
6386
- "59d71ad2": vue.unref(computedItemHiehgt)
6396
+ "2438e78c": vue.unref(computedItemHiehgt)
6387
6397
  }));
6388
6398
  const props2 = __props;
6389
6399
  const emit2 = __emit;
@@ -6484,7 +6494,11 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
6484
6494
  }
6485
6495
  function toggleSelectItem(item) {
6486
6496
  if (!computedSelectedItems.value.length) {
6487
- emit2("select", item);
6497
+ const obj = { ...item };
6498
+ Object.keys(obj).forEach((key) => {
6499
+ if (key.startsWith("_transformed_")) delete obj[key];
6500
+ });
6501
+ emit2("select", obj);
6488
6502
  return;
6489
6503
  }
6490
6504
  const index2 = computedSelectedItems.value.indexOf(item.id);
@@ -6584,7 +6598,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
6584
6598
  };
6585
6599
  }
6586
6600
  });
6587
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-73d79ea6"]]);
6601
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-84e79d8d"]]);
6588
6602
  const _sfc_main$E = {};
6589
6603
  const _hoisted_1$B = { class: "flex space-between" };
6590
6604
  function _sfc_render$1(_ctx, _cache) {
@@ -6627,16 +6641,23 @@ const _hoisted_2$s = {
6627
6641
  const _hoisted_3$i = { class: "key" };
6628
6642
  const _hoisted_4$c = { class: "m-0" };
6629
6643
  const _hoisted_5$c = { key: 1 };
6630
- const _hoisted_6$7 = { class: "key" };
6631
- const _hoisted_7$3 = { class: "m-0" };
6632
- const _hoisted_8$1 = { class: "vlue" };
6633
- const _hoisted_9$1 = { class: "m-0" };
6644
+ const _hoisted_6$7 = {
6645
+ key: 0,
6646
+ class: "data-row"
6647
+ };
6648
+ const _hoisted_7$3 = { class: "key" };
6649
+ const _hoisted_8$1 = { class: "m-0" };
6650
+ const _hoisted_9$1 = {
6651
+ key: 0,
6652
+ class: "m-0"
6653
+ };
6634
6654
  const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
6635
6655
  __name: "DataPreview",
6636
6656
  props: /* @__PURE__ */ vue.mergeModels({
6637
6657
  showFields: {},
6638
6658
  schema: {},
6639
- title: {}
6659
+ title: {},
6660
+ excludeUnset: { type: Boolean }
6640
6661
  }, {
6641
6662
  "data": { default: {} },
6642
6663
  "dataModifiers": {}
@@ -6645,12 +6666,25 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
6645
6666
  setup(__props) {
6646
6667
  const props2 = __props;
6647
6668
  const itemData = vue.useModel(__props, "data");
6648
- const computedSchema = vue.computed(
6649
- () => getFallbackSchema(
6650
- [itemData.value],
6651
- props2.showFields
6652
- )
6653
- );
6669
+ function dataTransform(dataValue) {
6670
+ if (!dataValue) return dataValue;
6671
+ if (Array.isArray(dataValue)) return dataValue.map(dataTransform);
6672
+ if (typeof dataValue === "object") {
6673
+ Object.keys(dataValue).forEach((key) => {
6674
+ dataValue[key] = dataTransform(dataValue[key]);
6675
+ });
6676
+ }
6677
+ if (typeof dataValue === "string" && /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(dataValue)) {
6678
+ const date2 = new Date(dataValue);
6679
+ return date2.toDateString();
6680
+ }
6681
+ return dataValue;
6682
+ }
6683
+ function isUnset(value) {
6684
+ if (!props2.excludeUnset) return false;
6685
+ return value === void 0 || value === null || value === "" || value.length === 0;
6686
+ }
6687
+ const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
6654
6688
  return (_ctx, _cache) => {
6655
6689
  var _a2;
6656
6690
  return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
@@ -6678,17 +6712,16 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
6678
6712
  }), 128)),
6679
6713
  !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$c, [
6680
6714
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, ({ id, label }) => {
6681
- return vue.openBlock(), vue.createElementBlock("div", {
6682
- key: id,
6683
- class: "data-row"
6684
- }, [
6685
- vue.createElementVNode("div", _hoisted_6$7, [
6686
- vue.createElementVNode("p", _hoisted_7$3, vue.toDisplayString(label), 1)
6687
- ]),
6688
- vue.createElementVNode("div", _hoisted_8$1, [
6689
- vue.createElementVNode("p", _hoisted_9$1, vue.toDisplayString(itemData.value[id ?? ""]), 1)
6690
- ])
6691
- ]);
6715
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: id }, [
6716
+ !isUnset(itemData.value[id]) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$7, [
6717
+ vue.createElementVNode("div", _hoisted_7$3, [
6718
+ vue.createElementVNode("p", _hoisted_8$1, vue.toDisplayString(label), 1)
6719
+ ]),
6720
+ vue.createElementVNode("div", null, [
6721
+ id ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9$1, vue.toDisplayString(dataTransform(itemData.value[id])), 1)) : vue.createCommentVNode("", true)
6722
+ ])
6723
+ ])) : vue.createCommentVNode("", true)
6724
+ ], 64);
6692
6725
  }), 128))
6693
6726
  ])) : vue.createCommentVNode("", true),
6694
6727
  vue.renderSlot(_ctx.$slots, "footer", {}, void 0, true)
@@ -6696,7 +6729,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
6696
6729
  };
6697
6730
  }
6698
6731
  });
6699
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-792f7ec0"]]);
6732
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-d1cbc45f"]]);
6700
6733
  const _hoisted_1$z = {
6701
6734
  key: 0,
6702
6735
  class: "card_label"
@@ -28865,7 +28898,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
28865
28898
  }
28866
28899
  });
28867
28900
  const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-681173be"]]);
28868
- const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-5409803c"), n2 = n2(), vue.popScopeId(), n2);
28901
+ const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-6716fd45"), n2 = n2(), vue.popScopeId(), n2);
28869
28902
  const _hoisted_1$j = { class: "bagel-input" };
28870
28903
  const _hoisted_2$e = {
28871
28904
  key: 0,
@@ -29109,7 +29142,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
29109
29142
  };
29110
29143
  }
29111
29144
  });
29112
- const $el = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-5409803c"]]);
29145
+ const $el = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-6716fd45"]]);
29113
29146
  const _withScopeId$1 = (n2) => (vue.pushScopeId("data-v-eceeebfb"), n2 = n2(), vue.popScopeId(), n2);
29114
29147
  const _hoisted_1$i = ["title"];
29115
29148
  const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
@@ -63616,4 +63649,5 @@ exports.useBglSchema = useBglSchema;
63616
63649
  exports.useEscape = useEscape;
63617
63650
  exports.useI18nT = useI18nT;
63618
63651
  exports.useLang = useLang;
63652
+ exports.useLocalStorage = useLocalStorage;
63619
63653
  exports.useModal = useModal;
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  var __defProp2 = Object.defineProperty;
2
2
  var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { pushScopeId, popScopeId, defineComponent, nextTick, openBlock, createBlock, createElementBlock, normalizeClass, renderSlot, normalizeProps, guardReactiveProps, withScopeId, resolveComponent, normalizeStyle, withKeys, createElementVNode, Fragment as Fragment$1, createCommentVNode, mergeProps, withCtx, createVNode, ref, createApp, h as h$2, toDisplayString, reactive, computed, inject, unref, renderList, resolveDynamicComponent, useCssVars, useSlots, withModifiers, createTextVNode, watch, onMounted, onUnmounted, mergeModels, useModel, createSlots, Transition, getCurrentScope, onScopeDispose, getCurrentInstance, shallowRef, withDirectives, isRef, vModelCheckbox, provide, toRef, Teleport, render as render$f, onBeforeUpdate, vShow, TransitionGroup, vModelDynamic, vModelText, vModelRadio, onBeforeUnmount, watchEffect, markRaw, customRef, resolveDirective } from "vue";
4
+ import { pushScopeId, popScopeId, defineComponent, nextTick, openBlock, createBlock, createElementBlock, normalizeClass, renderSlot, normalizeProps, guardReactiveProps, withScopeId, resolveComponent, normalizeStyle, withKeys, createElementVNode, Fragment as Fragment$1, createCommentVNode, mergeProps, withCtx, createVNode, ref, createApp, h as h$2, toDisplayString, reactive, computed, inject, watch, unref, renderList, resolveDynamicComponent, useCssVars, useSlots, withModifiers, createTextVNode, onMounted, onUnmounted, mergeModels, useModel, createSlots, Transition, getCurrentScope, onScopeDispose, getCurrentInstance, shallowRef, withDirectives, isRef, vModelCheckbox, provide, toRef, Teleport, render as render$f, onBeforeUpdate, vShow, TransitionGroup, vModelDynamic, vModelText, vModelRadio, onBeforeUnmount, watchEffect, markRaw, customRef, resolveDirective } from "vue";
5
5
  const sides = ["top", "right", "bottom", "left"];
6
6
  const alignments = ["start", "end"];
7
7
  const placements$1 = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -5262,7 +5262,8 @@ function debounce$2(fn3, delay = 500) {
5262
5262
  timeout = setTimeout(fn3, delay);
5263
5263
  }
5264
5264
  function keyToLabel(key) {
5265
- return (key == null ? void 0 : key.split("_").map((k2) => k2.charAt(0).toUpperCase() + k2.slice(1)).join(" ")) || key;
5265
+ if (key === void 0) return key;
5266
+ return key.split("_").map((k2) => k2.charAt(0).toUpperCase() + k2.slice(1)).join(" ") || key;
5266
5267
  }
5267
5268
  async function copyText(text, cb) {
5268
5269
  await navigator.clipboard.writeText(text);
@@ -5416,6 +5417,15 @@ function useBglSchema({ schema, showFields, data: data2 } = {}) {
5416
5417
  }
5417
5418
  return getFallbackSchema(data2, showFields);
5418
5419
  }
5420
+ function useLocalStorage(key, initialValue) {
5421
+ const storedValue = localStorage.getItem(key);
5422
+ const initial = storedValue ? JSON.parse(storedValue) : initialValue;
5423
+ const value = ref(initial);
5424
+ watch(() => value.value, (val) => {
5425
+ localStorage.setItem(key, JSON.stringify(val));
5426
+ }, { immediate: true, deep: true });
5427
+ return value;
5428
+ }
5419
5429
  const _sfc_main$O = /* @__PURE__ */ defineComponent({
5420
5430
  __name: "MaterialIcon",
5421
5431
  props: {
@@ -6347,7 +6357,7 @@ function useVerticalVirtualList(options, list) {
6347
6357
  containerRef
6348
6358
  };
6349
6359
  }
6350
- const _withScopeId$3 = (n2) => (pushScopeId("data-v-73d79ea6"), n2 = n2(), popScopeId(), n2);
6360
+ const _withScopeId$3 = (n2) => (pushScopeId("data-v-84e79d8d"), n2 = n2(), popScopeId(), n2);
6351
6361
  const _hoisted_1$C = {
6352
6362
  key: 0,
6353
6363
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
@@ -6381,7 +6391,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6381
6391
  emits: /* @__PURE__ */ mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
6382
6392
  setup(__props, { emit: __emit }) {
6383
6393
  useCssVars((_ctx) => ({
6384
- "59d71ad2": unref(computedItemHiehgt)
6394
+ "2438e78c": unref(computedItemHiehgt)
6385
6395
  }));
6386
6396
  const props2 = __props;
6387
6397
  const emit2 = __emit;
@@ -6482,7 +6492,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6482
6492
  }
6483
6493
  function toggleSelectItem(item) {
6484
6494
  if (!computedSelectedItems.value.length) {
6485
- emit2("select", item);
6495
+ const obj = { ...item };
6496
+ Object.keys(obj).forEach((key) => {
6497
+ if (key.startsWith("_transformed_")) delete obj[key];
6498
+ });
6499
+ emit2("select", obj);
6486
6500
  return;
6487
6501
  }
6488
6502
  const index2 = computedSelectedItems.value.indexOf(item.id);
@@ -6582,7 +6596,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6582
6596
  };
6583
6597
  }
6584
6598
  });
6585
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-73d79ea6"]]);
6599
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-84e79d8d"]]);
6586
6600
  const _sfc_main$E = {};
6587
6601
  const _hoisted_1$B = { class: "flex space-between" };
6588
6602
  function _sfc_render$1(_ctx, _cache) {
@@ -6625,16 +6639,23 @@ const _hoisted_2$s = {
6625
6639
  const _hoisted_3$i = { class: "key" };
6626
6640
  const _hoisted_4$c = { class: "m-0" };
6627
6641
  const _hoisted_5$c = { key: 1 };
6628
- const _hoisted_6$7 = { class: "key" };
6629
- const _hoisted_7$3 = { class: "m-0" };
6630
- const _hoisted_8$1 = { class: "vlue" };
6631
- const _hoisted_9$1 = { class: "m-0" };
6642
+ const _hoisted_6$7 = {
6643
+ key: 0,
6644
+ class: "data-row"
6645
+ };
6646
+ const _hoisted_7$3 = { class: "key" };
6647
+ const _hoisted_8$1 = { class: "m-0" };
6648
+ const _hoisted_9$1 = {
6649
+ key: 0,
6650
+ class: "m-0"
6651
+ };
6632
6652
  const _sfc_main$C = /* @__PURE__ */ defineComponent({
6633
6653
  __name: "DataPreview",
6634
6654
  props: /* @__PURE__ */ mergeModels({
6635
6655
  showFields: {},
6636
6656
  schema: {},
6637
- title: {}
6657
+ title: {},
6658
+ excludeUnset: { type: Boolean }
6638
6659
  }, {
6639
6660
  "data": { default: {} },
6640
6661
  "dataModifiers": {}
@@ -6643,12 +6664,25 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
6643
6664
  setup(__props) {
6644
6665
  const props2 = __props;
6645
6666
  const itemData = useModel(__props, "data");
6646
- const computedSchema = computed(
6647
- () => getFallbackSchema(
6648
- [itemData.value],
6649
- props2.showFields
6650
- )
6651
- );
6667
+ function dataTransform(dataValue) {
6668
+ if (!dataValue) return dataValue;
6669
+ if (Array.isArray(dataValue)) return dataValue.map(dataTransform);
6670
+ if (typeof dataValue === "object") {
6671
+ Object.keys(dataValue).forEach((key) => {
6672
+ dataValue[key] = dataTransform(dataValue[key]);
6673
+ });
6674
+ }
6675
+ if (typeof dataValue === "string" && /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(dataValue)) {
6676
+ const date2 = new Date(dataValue);
6677
+ return date2.toDateString();
6678
+ }
6679
+ return dataValue;
6680
+ }
6681
+ function isUnset(value) {
6682
+ if (!props2.excludeUnset) return false;
6683
+ return value === void 0 || value === null || value === "" || value.length === 0;
6684
+ }
6685
+ const computedSchema = computed(() => getFallbackSchema([itemData.value], props2.showFields));
6652
6686
  return (_ctx, _cache) => {
6653
6687
  var _a2;
6654
6688
  return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
@@ -6676,17 +6710,16 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
6676
6710
  }), 128)),
6677
6711
  !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
6678
6712
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(computedSchema.value, ({ id, label }) => {
6679
- return openBlock(), createElementBlock("div", {
6680
- key: id,
6681
- class: "data-row"
6682
- }, [
6683
- createElementVNode("div", _hoisted_6$7, [
6684
- createElementVNode("p", _hoisted_7$3, toDisplayString(label), 1)
6685
- ]),
6686
- createElementVNode("div", _hoisted_8$1, [
6687
- createElementVNode("p", _hoisted_9$1, toDisplayString(itemData.value[id ?? ""]), 1)
6688
- ])
6689
- ]);
6713
+ return openBlock(), createElementBlock(Fragment$1, { key: id }, [
6714
+ !isUnset(itemData.value[id]) ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
6715
+ createElementVNode("div", _hoisted_7$3, [
6716
+ createElementVNode("p", _hoisted_8$1, toDisplayString(label), 1)
6717
+ ]),
6718
+ createElementVNode("div", null, [
6719
+ id ? (openBlock(), createElementBlock("p", _hoisted_9$1, toDisplayString(dataTransform(itemData.value[id])), 1)) : createCommentVNode("", true)
6720
+ ])
6721
+ ])) : createCommentVNode("", true)
6722
+ ], 64);
6690
6723
  }), 128))
6691
6724
  ])) : createCommentVNode("", true),
6692
6725
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
@@ -6694,7 +6727,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
6694
6727
  };
6695
6728
  }
6696
6729
  });
6697
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-792f7ec0"]]);
6730
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-d1cbc45f"]]);
6698
6731
  const _hoisted_1$z = {
6699
6732
  key: 0,
6700
6733
  class: "card_label"
@@ -28863,7 +28896,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
28863
28896
  }
28864
28897
  });
28865
28898
  const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-681173be"]]);
28866
- const _withScopeId$2 = (n2) => (pushScopeId("data-v-5409803c"), n2 = n2(), popScopeId(), n2);
28899
+ const _withScopeId$2 = (n2) => (pushScopeId("data-v-6716fd45"), n2 = n2(), popScopeId(), n2);
28867
28900
  const _hoisted_1$j = { class: "bagel-input" };
28868
28901
  const _hoisted_2$e = {
28869
28902
  key: 0,
@@ -29107,7 +29140,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
29107
29140
  };
29108
29141
  }
29109
29142
  });
29110
- const $el = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-5409803c"]]);
29143
+ const $el = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-6716fd45"]]);
29111
29144
  const _withScopeId$1 = (n2) => (pushScopeId("data-v-eceeebfb"), n2 = n2(), popScopeId(), n2);
29112
29145
  const _hoisted_1$i = ["title"];
29113
29146
  const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
@@ -63615,5 +63648,6 @@ export {
63615
63648
  useEscape,
63616
63649
  useI18nT,
63617
63650
  useLang,
63651
+ useLocalStorage,
63618
63652
  useModal
63619
63653
  };