@feedmepos/ui-library 0.0.7 → 0.0.8

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.
Files changed (54) hide show
  1. package/dist/components/dynamic-dialog/FmDynamicDialog.vue.d.ts +145 -0
  2. package/dist/components/form/checkbox/FmCheckbox.vue.d.ts +9 -9
  3. package/dist/components/form/radio/FmRadio.vue.d.ts +8 -8
  4. package/dist/components/form/select/FmSelect.vue.d.ts +10 -10
  5. package/dist/components/form/stepper-field/FmStepperField.vue.d.ts +27 -27
  6. package/dist/components/form/switch/FmSwitch.vue.d.ts +8 -8
  7. package/dist/components/form/text-field/FmTextField.vue.d.ts +48 -48
  8. package/dist/components/form/textarea/FmTextarea.vue.d.ts +18 -18
  9. package/dist/components/menu/menu-list/FmMenuList.vue.d.ts +2 -0
  10. package/dist/composables/useDialog.d.ts +2 -0
  11. package/dist/federation/{FmForm.vue_vue_type_script_setup_true_lang-e2ff72da.js → FmForm.vue_vue_type_script_setup_true_lang-be0b8ff2.js} +1 -1
  12. package/dist/federation/{FmMenu-2c4b2c1b.css → FmMenu-008b4edf.css} +1 -1
  13. package/dist/federation/{FmRadioGroup.vue_vue_type_script_setup_true_lang-41bcb76a.js → FmRadioGroup.vue_vue_type_script_setup_true_lang-99e6a9c2.js} +1 -1
  14. package/dist/federation/{FmSelect-a5b3f313.css → FmSelect-5383ab5c.css} +1 -1
  15. package/dist/federation/{FmStepperMobile.vue_vue_type_style_index_0_lang-7b6eb6ce.js → FmStepperMobile.vue_vue_type_style_index_0_lang-395e23af.js} +1 -1
  16. package/dist/federation/{FmTextField.vue_vue_type_style_index_0_lang-cef4bc16.js → FmTextField.vue_vue_type_style_index_0_lang-31424202.js} +1 -1
  17. package/dist/federation/{FmTextarea.vue_vue_type_style_index_0_lang-3bc58767.js → FmTextarea.vue_vue_type_style_index_0_lang-7507a1ba.js} +1 -1
  18. package/dist/federation/{FmTimePicker.vue_vue_type_style_index_0_lang-6b998386.js → FmTimePicker.vue_vue_type_style_index_0_lang-cd3ff46f.js} +1 -1
  19. package/dist/federation/FmTooltip.vue_vue_type_script_setup_true_lang-ec99af74.js +1 -0
  20. package/dist/federation/{__federation_expose_FmForm-b95f5923.js → __federation_expose_FmForm-95a4221b.js} +1 -1
  21. package/dist/federation/{__federation_expose_FmMenu-921093d0.js → __federation_expose_FmMenu-c78ae222.js} +1 -1
  22. package/dist/federation/{__federation_expose_FmRadio-849f1125.js → __federation_expose_FmRadio-eb498ffc.js} +1 -1
  23. package/dist/federation/{__federation_expose_FmRadioGroup-5daefaa5.js → __federation_expose_FmRadioGroup-31d1b8ae.js} +1 -1
  24. package/dist/federation/{__federation_expose_FmSelect-b616883a.js → __federation_expose_FmSelect-dd3e5756.js} +1 -1
  25. package/dist/federation/{__federation_expose_FmStep-251635ba.js → __federation_expose_FmStep-8a38bbdd.js} +1 -1
  26. package/dist/federation/{__federation_expose_FmStepper-a8b30a1d.js → __federation_expose_FmStepper-921739ce.js} +1 -1
  27. package/dist/federation/{__federation_expose_FmStepperField-dd2daac0.js → __federation_expose_FmStepperField-99c193ef.js} +1 -1
  28. package/dist/federation/{__federation_expose_FmStepperMobile-e6533dcb.js → __federation_expose_FmStepperMobile-44799d10.js} +1 -1
  29. package/dist/federation/{__federation_expose_FmTextField-417469b9.js → __federation_expose_FmTextField-ee99cd30.js} +1 -1
  30. package/dist/federation/{__federation_expose_FmTextarea-240f4cba.js → __federation_expose_FmTextarea-0e9cef06.js} +1 -1
  31. package/dist/federation/{__federation_expose_FmTimePicker-37afdf20.js → __federation_expose_FmTimePicker-149aa26d.js} +1 -1
  32. package/dist/federation/{__federation_expose_FmTooltip-fdd5c38c.js → __federation_expose_FmTooltip-fa2c64c7.js} +1 -1
  33. package/dist/federation/__federation_fn_import.js +1 -1
  34. package/dist/federation/__federation_shared_vue-3944646b.js +1 -0
  35. package/dist/federation/feedmepos-ui-components.js +1 -1
  36. package/dist/federation/index-9150722b.js +11 -0
  37. package/dist/federation/index-97f82183.css +1 -0
  38. package/dist/federation/provider-keys-22cc7f73.js +1 -0
  39. package/dist/federation/runtime-core.esm-bundler-35391e07.js +1 -0
  40. package/dist/federation/{useValidation-cacebcb9.js → useValidation-f33a4108.js} +1 -1
  41. package/dist/feedmepos-ui-library.js +2442 -2423
  42. package/dist/feedmepos-ui-library.umd.cjs +6 -6
  43. package/dist/global-components.d.ts +40 -0
  44. package/dist/index.d.ts +4718 -37
  45. package/dist/plugin/dialog-plugin.d.ts +19 -0
  46. package/dist/style.css +1 -1
  47. package/dist/utils/provider-keys.d.ts +2 -0
  48. package/package.json +4 -2
  49. package/dist/federation/FmTooltip.vue_vue_type_script_setup_true_lang-dbdc719e.js +0 -1
  50. package/dist/federation/__federation_shared_vue-3342c658.js +0 -1
  51. package/dist/federation/index-9d14519a.css +0 -1
  52. package/dist/federation/index-fb4fcb82.js +0 -11
  53. package/dist/federation/provider-keys-b001d08d.js +0 -1
  54. package/dist/federation/reactivity.esm-bundler-99588556.js +0 -1
@@ -0,0 +1,145 @@
1
+ import { type Component } from 'vue';
2
+ import { type InternalStoredFunction } from '@/plugin/dialog-plugin';
3
+ interface FooterActionButton {
4
+ text: string | null;
5
+ close: boolean;
6
+ }
7
+ export interface FmDynamicDialogProps {
8
+ /** Appears only if `contentComponent` or `dialogComponent` is not specified */
9
+ title: string;
10
+ /** Appears only if `contentComponent` or `dialogComponent` is not specified */
11
+ message: string;
12
+ primaryActions?: FooterActionButton | null;
13
+ secondaryActions?: FooterActionButton | null;
14
+ tertiaryActions: FooterActionButton | null;
15
+ /** Setting to `true` will result in overlay background and click to dismiss behavior */
16
+ overlay?: boolean;
17
+ /** Specify to enable the top right close button */
18
+ closeButton?: boolean;
19
+ /** In case the width doesn't look good */
20
+ minWidth?: number;
21
+ /** Custom component to replace all of dialog */
22
+ dialogComponent?: Component | null;
23
+ /** Custom component to replace just the content section */
24
+ contentComponent?: Component | null;
25
+ /** Used internally, passed from dialog-plugin */
26
+ readonly unmount: () => void;
27
+ readonly storedFunctions: InternalStoredFunction;
28
+ }
29
+ declare const _default: import("vue").DefineComponent<{
30
+ title: {
31
+ type: import("vue").PropType<string>;
32
+ required: true;
33
+ };
34
+ message: {
35
+ type: import("vue").PropType<string>;
36
+ required: true;
37
+ };
38
+ overlay: {
39
+ type: import("vue").PropType<boolean>;
40
+ default: boolean;
41
+ };
42
+ minWidth: {
43
+ type: import("vue").PropType<number>;
44
+ default: number;
45
+ };
46
+ closeButton: {
47
+ type: import("vue").PropType<boolean>;
48
+ default: boolean;
49
+ };
50
+ primaryActions: {
51
+ type: import("vue").PropType<FooterActionButton | null>;
52
+ default: null;
53
+ };
54
+ secondaryActions: {
55
+ type: import("vue").PropType<FooterActionButton | null>;
56
+ default: null;
57
+ };
58
+ tertiaryActions: {
59
+ type: import("vue").PropType<FooterActionButton | null>;
60
+ required: true;
61
+ default: null;
62
+ };
63
+ dialogComponent: {
64
+ type: import("vue").PropType<Component | null>;
65
+ default: null;
66
+ };
67
+ contentComponent: {
68
+ type: import("vue").PropType<Component | null>;
69
+ default: null;
70
+ };
71
+ unmount: {
72
+ type: import("vue").PropType<() => void>;
73
+ required: true;
74
+ };
75
+ storedFunctions: {
76
+ type: import("vue").PropType<InternalStoredFunction>;
77
+ required: true;
78
+ };
79
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
80
+ "dialog-opened": () => void;
81
+ "dialog-closed": () => void;
82
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
83
+ title: {
84
+ type: import("vue").PropType<string>;
85
+ required: true;
86
+ };
87
+ message: {
88
+ type: import("vue").PropType<string>;
89
+ required: true;
90
+ };
91
+ overlay: {
92
+ type: import("vue").PropType<boolean>;
93
+ default: boolean;
94
+ };
95
+ minWidth: {
96
+ type: import("vue").PropType<number>;
97
+ default: number;
98
+ };
99
+ closeButton: {
100
+ type: import("vue").PropType<boolean>;
101
+ default: boolean;
102
+ };
103
+ primaryActions: {
104
+ type: import("vue").PropType<FooterActionButton | null>;
105
+ default: null;
106
+ };
107
+ secondaryActions: {
108
+ type: import("vue").PropType<FooterActionButton | null>;
109
+ default: null;
110
+ };
111
+ tertiaryActions: {
112
+ type: import("vue").PropType<FooterActionButton | null>;
113
+ required: true;
114
+ default: null;
115
+ };
116
+ dialogComponent: {
117
+ type: import("vue").PropType<Component | null>;
118
+ default: null;
119
+ };
120
+ contentComponent: {
121
+ type: import("vue").PropType<Component | null>;
122
+ default: null;
123
+ };
124
+ unmount: {
125
+ type: import("vue").PropType<() => void>;
126
+ required: true;
127
+ };
128
+ storedFunctions: {
129
+ type: import("vue").PropType<InternalStoredFunction>;
130
+ required: true;
131
+ };
132
+ }>> & {
133
+ "onDialog-opened"?: (() => any) | undefined;
134
+ "onDialog-closed"?: (() => any) | undefined;
135
+ }, {
136
+ overlay: boolean;
137
+ minWidth: number;
138
+ closeButton: boolean;
139
+ primaryActions: FooterActionButton | null;
140
+ secondaryActions: FooterActionButton | null;
141
+ tertiaryActions: FooterActionButton | null;
142
+ dialogComponent: Component | null;
143
+ contentComponent: Component | null;
144
+ }, {}>;
145
+ export default _default;
@@ -18,14 +18,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
18
  type: import("vue").PropType<boolean>;
19
19
  required: true;
20
20
  };
21
- sublabel: {
22
- type: import("vue").PropType<string>;
23
- default: string;
24
- };
25
21
  indeterminate: {
26
22
  type: import("vue").PropType<boolean>;
27
23
  default: boolean;
28
24
  };
25
+ sublabel: {
26
+ type: import("vue").PropType<string>;
27
+ default: string;
28
+ };
29
29
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
30
  "update:modelValue": (value: boolean) => void;
31
31
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -41,20 +41,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
41
41
  type: import("vue").PropType<boolean>;
42
42
  required: true;
43
43
  };
44
- sublabel: {
45
- type: import("vue").PropType<string>;
46
- default: string;
47
- };
48
44
  indeterminate: {
49
45
  type: import("vue").PropType<boolean>;
50
46
  default: boolean;
51
47
  };
48
+ sublabel: {
49
+ type: import("vue").PropType<string>;
50
+ default: string;
51
+ };
52
52
  }>> & {
53
53
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
54
54
  }, {
55
55
  disabled: boolean;
56
- sublabel: string;
57
56
  indeterminate: boolean;
57
+ sublabel: string;
58
58
  }, {}>, {
59
59
  label?(_: {}): any;
60
60
  }>;
@@ -18,14 +18,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
18
  type: import("vue").PropType<any>;
19
19
  default: null;
20
20
  };
21
- sublabel: {
22
- type: import("vue").PropType<string>;
23
- default: string;
24
- };
25
21
  value: {
26
22
  type: import("vue").PropType<string>;
27
23
  required: true;
28
24
  };
25
+ sublabel: {
26
+ type: import("vue").PropType<string>;
27
+ default: string;
28
+ };
29
29
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
30
  "update:modelValue": (value: string) => void;
31
31
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -41,14 +41,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
41
41
  type: import("vue").PropType<any>;
42
42
  default: null;
43
43
  };
44
- sublabel: {
45
- type: import("vue").PropType<string>;
46
- default: string;
47
- };
48
44
  value: {
49
45
  type: import("vue").PropType<string>;
50
46
  required: true;
51
47
  };
48
+ sublabel: {
49
+ type: import("vue").PropType<string>;
50
+ default: string;
51
+ };
52
52
  }>> & {
53
53
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
54
54
  }, {
@@ -1,4 +1,4 @@
1
- interface ISelectItem {
1
+ export interface ISelectItem {
2
2
  label: string;
3
3
  value: any;
4
4
  }
@@ -29,6 +29,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
29
29
  type: import("vue").PropType<any>;
30
30
  required: true;
31
31
  };
32
+ placeholder: {
33
+ type: import("vue").PropType<string>;
34
+ default: string;
35
+ };
32
36
  placement: {
33
37
  type: import("vue").PropType<"bottom-left" | "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right">;
34
38
  default: string;
@@ -37,10 +41,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
37
41
  type: import("vue").PropType<boolean>;
38
42
  default: boolean;
39
43
  };
40
- placeholder: {
41
- type: import("vue").PropType<string>;
42
- default: string;
43
- };
44
44
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
45
45
  "update:modelValue": (value: string | string[]) => void;
46
46
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -60,6 +60,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
60
60
  type: import("vue").PropType<any>;
61
61
  required: true;
62
62
  };
63
+ placeholder: {
64
+ type: import("vue").PropType<string>;
65
+ default: string;
66
+ };
63
67
  placement: {
64
68
  type: import("vue").PropType<"bottom-left" | "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right">;
65
69
  default: string;
@@ -68,17 +72,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
68
72
  type: import("vue").PropType<boolean>;
69
73
  default: boolean;
70
74
  };
71
- placeholder: {
72
- type: import("vue").PropType<string>;
73
- default: string;
74
- };
75
75
  }>> & {
76
76
  "onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
77
77
  }, {
78
78
  disabled: boolean;
79
+ placeholder: string;
79
80
  placement: "bottom-left" | "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right";
80
81
  multiselect: boolean;
81
- placeholder: string;
82
82
  }, {}>, {
83
83
  label?(_: {}): any;
84
84
  }>;
@@ -44,14 +44,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
44
44
  type: import("vue").PropType<number>;
45
45
  required: true;
46
46
  };
47
- leadingIcon: {
48
- type: import("vue").PropType<string>;
49
- default: string;
50
- };
51
- trailingIcon: {
52
- type: import("vue").PropType<string>;
53
- default: string;
54
- };
55
47
  helperText: {
56
48
  type: import("vue").PropType<string>;
57
49
  default: string;
@@ -64,6 +56,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
64
56
  type: import("vue").PropType<string>;
65
57
  default: string;
66
58
  };
59
+ step: {
60
+ type: import("vue").PropType<number>;
61
+ default: number;
62
+ };
63
+ leadingIcon: {
64
+ type: import("vue").PropType<string>;
65
+ default: string;
66
+ };
67
+ trailingIcon: {
68
+ type: import("vue").PropType<string>;
69
+ default: string;
70
+ };
67
71
  inputmode: {
68
72
  type: import("vue").PropType<"numeric" | "decimal">;
69
73
  default: string;
@@ -71,10 +75,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
71
75
  readonly: {
72
76
  type: import("vue").PropType<boolean>;
73
77
  };
74
- step: {
75
- type: import("vue").PropType<number>;
76
- default: number;
77
- };
78
78
  useGrouping: {
79
79
  type: import("vue").PropType<boolean>;
80
80
  default: boolean;
@@ -124,14 +124,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
124
124
  type: import("vue").PropType<number>;
125
125
  required: true;
126
126
  };
127
- leadingIcon: {
128
- type: import("vue").PropType<string>;
129
- default: string;
130
- };
131
- trailingIcon: {
132
- type: import("vue").PropType<string>;
133
- default: string;
134
- };
135
127
  helperText: {
136
128
  type: import("vue").PropType<string>;
137
129
  default: string;
@@ -144,6 +136,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
144
136
  type: import("vue").PropType<string>;
145
137
  default: string;
146
138
  };
139
+ step: {
140
+ type: import("vue").PropType<number>;
141
+ default: number;
142
+ };
143
+ leadingIcon: {
144
+ type: import("vue").PropType<string>;
145
+ default: string;
146
+ };
147
+ trailingIcon: {
148
+ type: import("vue").PropType<string>;
149
+ default: string;
150
+ };
147
151
  inputmode: {
148
152
  type: import("vue").PropType<"numeric" | "decimal">;
149
153
  default: string;
@@ -151,10 +155,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
151
155
  readonly: {
152
156
  type: import("vue").PropType<boolean>;
153
157
  };
154
- step: {
155
- type: import("vue").PropType<number>;
156
- default: number;
157
- };
158
158
  useGrouping: {
159
159
  type: import("vue").PropType<boolean>;
160
160
  default: boolean;
@@ -184,13 +184,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
184
184
  }, {
185
185
  label: string;
186
186
  min: number;
187
- leadingIcon: string;
188
- trailingIcon: string;
189
187
  helperText: string;
190
188
  rules: ValidationRule[];
191
189
  placeholder: string;
192
- inputmode: "numeric" | "decimal";
193
190
  step: number;
191
+ leadingIcon: string;
192
+ trailingIcon: string;
193
+ inputmode: "numeric" | "decimal";
194
194
  useGrouping: boolean;
195
195
  isCurrency: boolean;
196
196
  showSteppers: boolean;
@@ -20,14 +20,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
20
20
  type: import("vue").PropType<boolean>;
21
21
  required: true;
22
22
  };
23
- sublabel: {
24
- type: import("vue").PropType<string>;
25
- default: string;
26
- };
27
23
  value: {
28
24
  type: import("vue").PropType<string>;
29
25
  required: true;
30
26
  };
27
+ sublabel: {
28
+ type: import("vue").PropType<string>;
29
+ default: string;
30
+ };
31
31
  labelPlacement: {
32
32
  type: import("vue").PropType<"left" | "right">;
33
33
  default: string;
@@ -51,14 +51,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
51
51
  type: import("vue").PropType<boolean>;
52
52
  required: true;
53
53
  };
54
- sublabel: {
55
- type: import("vue").PropType<string>;
56
- default: string;
57
- };
58
54
  value: {
59
55
  type: import("vue").PropType<string>;
60
56
  required: true;
61
57
  };
58
+ sublabel: {
59
+ type: import("vue").PropType<string>;
60
+ default: string;
61
+ };
62
62
  labelPlacement: {
63
63
  type: import("vue").PropType<"left" | "right">;
64
64
  default: string;
@@ -38,6 +38,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
38
38
  type: import("vue").PropType<any>;
39
39
  required: true;
40
40
  };
41
+ helperText: {
42
+ type: import("vue").PropType<string>;
43
+ default: string;
44
+ };
45
+ rules: {
46
+ type: import("vue").PropType<import("../../../composables/useValidation").ValidationRule[]>;
47
+ default: () => never[];
48
+ };
49
+ maxLength: {
50
+ type: import("vue").PropType<number>;
51
+ default: number;
52
+ };
53
+ minLength: {
54
+ type: import("vue").PropType<number>;
55
+ default: number;
56
+ };
57
+ placeholder: {
58
+ type: import("vue").PropType<string>;
59
+ default: string;
60
+ };
41
61
  leadingIcon: {
42
62
  type: import("vue").PropType<{
43
63
  name: string;
@@ -58,20 +78,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
58
78
  color: string;
59
79
  };
60
80
  };
61
- helperText: {
62
- type: import("vue").PropType<string>;
63
- default: string;
64
- };
65
- rules: {
66
- type: import("vue").PropType<import("../../../composables/useValidation").ValidationRule[]>;
67
- default: () => never[];
68
- };
69
- placeholder: {
70
- type: import("vue").PropType<string>;
71
- default: string;
72
- };
73
81
  inputmode: {
74
- type: import("vue").PropType<"text" | "search" | "none" | "numeric" | "decimal" | "tel" | "email" | "url">;
82
+ type: import("vue").PropType<"text" | "search" | "none" | "email" | "tel" | "numeric" | "decimal" | "url">;
75
83
  default: string;
76
84
  };
77
85
  readonly: {
@@ -90,14 +98,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
90
98
  type: import("vue").PropType<string>;
91
99
  default: string;
92
100
  };
93
- minLength: {
94
- type: import("vue").PropType<number>;
95
- default: number;
96
- };
97
- maxLength: {
98
- type: import("vue").PropType<number>;
99
- default: number;
100
- };
101
101
  labelMark: {
102
102
  type: import("vue").PropType<"required" | "none" | "optional">;
103
103
  default: string;
@@ -124,6 +124,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
124
124
  type: import("vue").PropType<any>;
125
125
  required: true;
126
126
  };
127
+ helperText: {
128
+ type: import("vue").PropType<string>;
129
+ default: string;
130
+ };
131
+ rules: {
132
+ type: import("vue").PropType<import("../../../composables/useValidation").ValidationRule[]>;
133
+ default: () => never[];
134
+ };
135
+ maxLength: {
136
+ type: import("vue").PropType<number>;
137
+ default: number;
138
+ };
139
+ minLength: {
140
+ type: import("vue").PropType<number>;
141
+ default: number;
142
+ };
143
+ placeholder: {
144
+ type: import("vue").PropType<string>;
145
+ default: string;
146
+ };
127
147
  leadingIcon: {
128
148
  type: import("vue").PropType<{
129
149
  name: string;
@@ -144,20 +164,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
144
164
  color: string;
145
165
  };
146
166
  };
147
- helperText: {
148
- type: import("vue").PropType<string>;
149
- default: string;
150
- };
151
- rules: {
152
- type: import("vue").PropType<import("../../../composables/useValidation").ValidationRule[]>;
153
- default: () => never[];
154
- };
155
- placeholder: {
156
- type: import("vue").PropType<string>;
157
- default: string;
158
- };
159
167
  inputmode: {
160
- type: import("vue").PropType<"text" | "search" | "none" | "numeric" | "decimal" | "tel" | "email" | "url">;
168
+ type: import("vue").PropType<"text" | "search" | "none" | "email" | "tel" | "numeric" | "decimal" | "url">;
161
169
  default: string;
162
170
  };
163
171
  readonly: {
@@ -176,14 +184,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
176
184
  type: import("vue").PropType<string>;
177
185
  default: string;
178
186
  };
179
- minLength: {
180
- type: import("vue").PropType<number>;
181
- default: number;
182
- };
183
- maxLength: {
184
- type: import("vue").PropType<number>;
185
- default: number;
186
- };
187
187
  labelMark: {
188
188
  type: import("vue").PropType<"required" | "none" | "optional">;
189
189
  default: string;
@@ -197,6 +197,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
197
197
  }, {
198
198
  required: boolean;
199
199
  disabled: boolean;
200
+ helperText: string;
201
+ rules: import("../../../composables/useValidation").ValidationRule[];
202
+ maxLength: number;
203
+ minLength: number;
204
+ placeholder: string;
200
205
  leadingIcon: {
201
206
  name: string;
202
207
  color: string;
@@ -205,16 +210,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
205
210
  name: string;
206
211
  color: string;
207
212
  };
208
- helperText: string;
209
- rules: import("../../../composables/useValidation").ValidationRule[];
210
- placeholder: string;
211
- inputmode: "text" | "search" | "none" | "numeric" | "decimal" | "tel" | "email" | "url";
213
+ inputmode: "text" | "search" | "none" | "email" | "tel" | "numeric" | "decimal" | "url";
212
214
  readonly: boolean;
213
215
  showValidBorder: boolean;
214
216
  prependText: string;
215
217
  appendText: string;
216
- minLength: number;
217
- maxLength: number;
218
218
  labelMark: "required" | "none" | "optional";
219
219
  showSuccess: boolean;
220
220
  }, {}>, {
@@ -39,6 +39,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
39
39
  type: import("vue").PropType<import("@/composables/useValidation").ValidationRule[]>;
40
40
  default: () => never[];
41
41
  };
42
+ maxLength: {
43
+ type: import("vue").PropType<number>;
44
+ default: number;
45
+ };
46
+ minLength: {
47
+ type: import("vue").PropType<number>;
48
+ default: number;
49
+ };
42
50
  placeholder: {
43
51
  type: import("vue").PropType<string>;
44
52
  default: string;
@@ -51,14 +59,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
51
59
  type: import("vue").PropType<boolean>;
52
60
  default: boolean;
53
61
  };
54
- minLength: {
55
- type: import("vue").PropType<number>;
56
- default: number;
57
- };
58
- maxLength: {
59
- type: import("vue").PropType<number>;
60
- default: number;
61
- };
62
62
  labelMark: {
63
63
  type: import("vue").PropType<"required" | "none" | "optional">;
64
64
  default: string;
@@ -95,6 +95,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
95
95
  type: import("vue").PropType<import("@/composables/useValidation").ValidationRule[]>;
96
96
  default: () => never[];
97
97
  };
98
+ maxLength: {
99
+ type: import("vue").PropType<number>;
100
+ default: number;
101
+ };
102
+ minLength: {
103
+ type: import("vue").PropType<number>;
104
+ default: number;
105
+ };
98
106
  placeholder: {
99
107
  type: import("vue").PropType<string>;
100
108
  default: string;
@@ -107,14 +115,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
107
115
  type: import("vue").PropType<boolean>;
108
116
  default: boolean;
109
117
  };
110
- minLength: {
111
- type: import("vue").PropType<number>;
112
- default: number;
113
- };
114
- maxLength: {
115
- type: import("vue").PropType<number>;
116
- default: number;
117
- };
118
118
  labelMark: {
119
119
  type: import("vue").PropType<"required" | "none" | "optional">;
120
120
  default: string;
@@ -132,11 +132,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
132
132
  modelValue: string;
133
133
  helperText: string;
134
134
  rules: import("@/composables/useValidation").ValidationRule[];
135
+ maxLength: number;
136
+ minLength: number;
135
137
  placeholder: string;
136
138
  readonly: boolean;
137
139
  showValidBorder: boolean;
138
- minLength: number;
139
- maxLength: number;
140
140
  labelMark: "required" | "none" | "optional";
141
141
  showSuccess: boolean;
142
142
  }, {}>, {
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { DialogProvider } from '@/plugin/dialog-plugin';
2
+ export declare function useDialog(): DialogProvider;
@@ -1 +1 @@
1
- import{importShared as n,__tla as g}from"./__federation_fn_import.js";import{F as V}from"./provider-keys-b001d08d.js";let f,w=Promise.all([(()=>{try{return g}catch{}})()]).then(async()=>{let s,u,l,v,d,m,c,r;({defineComponent:s}=await n("vue")),{renderSlot:u,withModifiers:l,openBlock:v,createElementBlock:d}=await n("vue"),m=["onSubmit","onReset"],{provide:c,ref:r}=await n("vue"),f=s({__name:"FmForm",emits:["validation-success","validation-failed","reset"],setup(S,{emit:i}){const a=r([]),p=r(0),_=()=>{let e=[];for(let t=0;t<a.value.length;t++){const o=a.value[t];e=[...e,...o.validate()]}e.length?i("validation-failed",e):i("validation-success")},h=()=>{for(let e=0;e<a.value.length;e++){const t=a.value[e];t.resetValue(),t.resetValidation()}i("reset")};return c(V,{register({validate:e,resetValidation:t,resetValue:o}){return a.value.push({componentId:p.value,validate:e,resetValidation:t,resetValue:o}),p.value++},unregister(e){a.value.filter(t=>t.componentId!==e)}}),(e,t)=>(v(),d("form",{onSubmit:l(_,["prevent"]),onReset:l(h,["prevent"])},[u(e.$slots,"default")],40,m))}})});export{f as _,w as __tla};
1
+ import{importShared as n,__tla as g}from"./__federation_fn_import.js";import{F as V}from"./provider-keys-22cc7f73.js";let f,w=Promise.all([(()=>{try{return g}catch{}})()]).then(async()=>{let s,u,l,v,d,m,c,r;({defineComponent:s}=await n("vue")),{renderSlot:u,withModifiers:l,openBlock:v,createElementBlock:d}=await n("vue"),m=["onSubmit","onReset"],{provide:c,ref:r}=await n("vue"),f=s({__name:"FmForm",emits:["validation-success","validation-failed","reset"],setup(S,{emit:i}){const a=r([]),p=r(0),_=()=>{let e=[];for(let t=0;t<a.value.length;t++){const o=a.value[t];e=[...e,...o.validate()]}e.length?i("validation-failed",e):i("validation-success")},h=()=>{for(let e=0;e<a.value.length;e++){const t=a.value[e];t.resetValue(),t.resetValidation()}i("reset")};return c(V,{register({validate:e,resetValidation:t,resetValue:o}){return a.value.push({componentId:p.value,validate:e,resetValidation:t,resetValue:o}),p.value++},unregister(e){a.value.filter(t=>t.componentId!==e)}}),(e,t)=>(v(),d("form",{onSubmit:l(_,["prevent"]),onReset:l(h,["prevent"])},[u(e.$slots,"default")],40,m))}})});export{f as _,w as __tla};
@@ -1 +1 @@
1
- .fm-menu[data-v-d9e79ca4]{display:block;min-height:24px;min-width:24px}.fm-menu__content[data-v-d9e79ca4]{max-height:408px;min-width:112px;padding:12px 4px;display:flex;flex-direction:column;overflow-y:auto;border-radius:8px;background-color:var(--fm-color-neutral-white);--tw-shadow: 0px 8px 16px 0px rgba(199, 199, 204, .24);--tw-shadow-colored: 0px 8px 16px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);z-index:99px;position:absolute;display:none}.fm-menu__content--opened[data-v-d9e79ca4]{display:block}
1
+ .fm-menu[data-v-1f528682]{display:block;min-height:24px;min-width:24px}.fm-menu__content[data-v-1f528682]{max-height:408px;min-width:112px;padding:12px 4px;display:flex;flex-direction:column;overflow-y:auto;border-radius:8px;background-color:var(--fm-color-neutral-white);--tw-shadow: 0px 8px 16px 0px rgba(199, 199, 204, .24);--tw-shadow-colored: 0px 8px 16px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);z-index:99;position:absolute;display:none}.fm-menu__content--opened[data-v-1f528682]{display:block}