@shwfed/nuxt 0.8.3 → 0.9.1

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.
@@ -1,6 +1,6 @@
1
- import { type Field } from '../fields/schema.js';
1
+ import { type FieldsConfig } from '../fields/schema.js';
2
2
  type __VLS_Props = {
3
- fields: ReadonlyArray<Field>;
3
+ config: FieldsConfig;
4
4
  };
5
5
  type __VLS_ModelProps = {
6
6
  'open'?: boolean;
@@ -8,156 +8,162 @@ type __VLS_ModelProps = {
8
8
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
9
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  "update:open": (value: boolean) => any;
11
- confirm: (args_0: readonly ({
12
- type: "string";
13
- path: string;
14
- title: readonly {
15
- locale: "zh" | "ja" | "en" | "ko";
16
- message: string;
17
- }[];
18
- icon?: string | undefined;
19
- style?: string | undefined;
20
- discardEmptyString?: boolean | undefined;
21
- maxLength?: string | undefined;
22
- hidden?: string | undefined;
23
- disabled?: string | undefined;
24
- validation?: readonly Readonly<{
25
- expression: string;
26
- message: string;
27
- }>[] | undefined;
28
- } | {
29
- type: "number";
30
- path: string;
31
- title: readonly {
32
- locale: "zh" | "ja" | "en" | "ko";
33
- message: string;
34
- }[];
35
- icon?: string | undefined;
36
- style?: string | undefined;
37
- min?: string | undefined;
38
- max?: string | undefined;
39
- step?: string | undefined;
40
- hidden?: string | undefined;
41
- disabled?: string | undefined;
42
- validation?: readonly Readonly<{
43
- expression: string;
44
- message: string;
45
- }>[] | undefined;
46
- } | {
47
- type: "select";
48
- path: string;
49
- title: readonly {
50
- locale: "zh" | "ja" | "en" | "ko";
51
- message: string;
52
- }[];
53
- options: string;
54
- label: string;
55
- value: string;
56
- key: string;
57
- icon?: string | undefined;
58
- style?: string | undefined;
59
- hidden?: string | undefined;
60
- disabled?: string | undefined;
61
- validation?: readonly Readonly<{
62
- expression: string;
63
- message: string;
64
- }>[] | undefined;
65
- } | {
66
- type: "calendar";
67
- path: string;
68
- title: readonly {
69
- locale: "zh" | "ja" | "en" | "ko";
70
- message: string;
71
- }[];
72
- mode: "date" | "month" | "year";
73
- value: string;
74
- icon?: string | undefined;
75
- style?: string | undefined;
76
- display?: string | undefined;
77
- disableDate?: string | undefined;
78
- hidden?: string | undefined;
79
- disabled?: string | undefined;
80
- validation?: readonly Readonly<{
81
- expression: string;
82
- message: string;
83
- }>[] | undefined;
84
- })[]) => any;
11
+ confirm: (args_0: Readonly<{
12
+ fields: readonly ({
13
+ type: "string";
14
+ path: string;
15
+ title: readonly {
16
+ locale: "zh" | "ja" | "en" | "ko";
17
+ message: string;
18
+ }[];
19
+ icon?: string | undefined;
20
+ style?: string | undefined;
21
+ discardEmptyString?: boolean | undefined;
22
+ maxLength?: string | undefined;
23
+ hidden?: string | undefined;
24
+ disabled?: string | undefined;
25
+ validation?: readonly Readonly<{
26
+ expression: string;
27
+ message: string;
28
+ }>[] | undefined;
29
+ } | {
30
+ type: "number";
31
+ path: string;
32
+ title: readonly {
33
+ locale: "zh" | "ja" | "en" | "ko";
34
+ message: string;
35
+ }[];
36
+ icon?: string | undefined;
37
+ style?: string | undefined;
38
+ min?: string | undefined;
39
+ max?: string | undefined;
40
+ step?: string | undefined;
41
+ hidden?: string | undefined;
42
+ disabled?: string | undefined;
43
+ validation?: readonly Readonly<{
44
+ expression: string;
45
+ message: string;
46
+ }>[] | undefined;
47
+ } | {
48
+ type: "select";
49
+ path: string;
50
+ title: readonly {
51
+ locale: "zh" | "ja" | "en" | "ko";
52
+ message: string;
53
+ }[];
54
+ options: string;
55
+ label: string;
56
+ value: string;
57
+ key: string;
58
+ icon?: string | undefined;
59
+ style?: string | undefined;
60
+ hidden?: string | undefined;
61
+ disabled?: string | undefined;
62
+ validation?: readonly Readonly<{
63
+ expression: string;
64
+ message: string;
65
+ }>[] | undefined;
66
+ } | {
67
+ type: "calendar";
68
+ path: string;
69
+ title: readonly {
70
+ locale: "zh" | "ja" | "en" | "ko";
71
+ message: string;
72
+ }[];
73
+ mode: "date" | "month" | "year";
74
+ value: string;
75
+ icon?: string | undefined;
76
+ style?: string | undefined;
77
+ display?: string | undefined;
78
+ disableDate?: string | undefined;
79
+ hidden?: string | undefined;
80
+ disabled?: string | undefined;
81
+ validation?: readonly Readonly<{
82
+ expression: string;
83
+ message: string;
84
+ }>[] | undefined;
85
+ })[];
86
+ orientation?: "vertical" | "horizontal" | "floating" | undefined;
87
+ }>) => any;
85
88
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
86
89
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
87
- onConfirm?: ((args_0: readonly ({
88
- type: "string";
89
- path: string;
90
- title: readonly {
91
- locale: "zh" | "ja" | "en" | "ko";
92
- message: string;
93
- }[];
94
- icon?: string | undefined;
95
- style?: string | undefined;
96
- discardEmptyString?: boolean | undefined;
97
- maxLength?: string | undefined;
98
- hidden?: string | undefined;
99
- disabled?: string | undefined;
100
- validation?: readonly Readonly<{
101
- expression: string;
102
- message: string;
103
- }>[] | undefined;
104
- } | {
105
- type: "number";
106
- path: string;
107
- title: readonly {
108
- locale: "zh" | "ja" | "en" | "ko";
109
- message: string;
110
- }[];
111
- icon?: string | undefined;
112
- style?: string | undefined;
113
- min?: string | undefined;
114
- max?: string | undefined;
115
- step?: string | undefined;
116
- hidden?: string | undefined;
117
- disabled?: string | undefined;
118
- validation?: readonly Readonly<{
119
- expression: string;
120
- message: string;
121
- }>[] | undefined;
122
- } | {
123
- type: "select";
124
- path: string;
125
- title: readonly {
126
- locale: "zh" | "ja" | "en" | "ko";
127
- message: string;
128
- }[];
129
- options: string;
130
- label: string;
131
- value: string;
132
- key: string;
133
- icon?: string | undefined;
134
- style?: string | undefined;
135
- hidden?: string | undefined;
136
- disabled?: string | undefined;
137
- validation?: readonly Readonly<{
138
- expression: string;
139
- message: string;
140
- }>[] | undefined;
141
- } | {
142
- type: "calendar";
143
- path: string;
144
- title: readonly {
145
- locale: "zh" | "ja" | "en" | "ko";
146
- message: string;
147
- }[];
148
- mode: "date" | "month" | "year";
149
- value: string;
150
- icon?: string | undefined;
151
- style?: string | undefined;
152
- display?: string | undefined;
153
- disableDate?: string | undefined;
154
- hidden?: string | undefined;
155
- disabled?: string | undefined;
156
- validation?: readonly Readonly<{
157
- expression: string;
158
- message: string;
159
- }>[] | undefined;
160
- })[]) => any) | undefined;
90
+ onConfirm?: ((args_0: Readonly<{
91
+ fields: readonly ({
92
+ type: "string";
93
+ path: string;
94
+ title: readonly {
95
+ locale: "zh" | "ja" | "en" | "ko";
96
+ message: string;
97
+ }[];
98
+ icon?: string | undefined;
99
+ style?: string | undefined;
100
+ discardEmptyString?: boolean | undefined;
101
+ maxLength?: string | undefined;
102
+ hidden?: string | undefined;
103
+ disabled?: string | undefined;
104
+ validation?: readonly Readonly<{
105
+ expression: string;
106
+ message: string;
107
+ }>[] | undefined;
108
+ } | {
109
+ type: "number";
110
+ path: string;
111
+ title: readonly {
112
+ locale: "zh" | "ja" | "en" | "ko";
113
+ message: string;
114
+ }[];
115
+ icon?: string | undefined;
116
+ style?: string | undefined;
117
+ min?: string | undefined;
118
+ max?: string | undefined;
119
+ step?: string | undefined;
120
+ hidden?: string | undefined;
121
+ disabled?: string | undefined;
122
+ validation?: readonly Readonly<{
123
+ expression: string;
124
+ message: string;
125
+ }>[] | undefined;
126
+ } | {
127
+ type: "select";
128
+ path: string;
129
+ title: readonly {
130
+ locale: "zh" | "ja" | "en" | "ko";
131
+ message: string;
132
+ }[];
133
+ options: string;
134
+ label: string;
135
+ value: string;
136
+ key: string;
137
+ icon?: string | undefined;
138
+ style?: string | undefined;
139
+ hidden?: string | undefined;
140
+ disabled?: string | undefined;
141
+ validation?: readonly Readonly<{
142
+ expression: string;
143
+ message: string;
144
+ }>[] | undefined;
145
+ } | {
146
+ type: "calendar";
147
+ path: string;
148
+ title: readonly {
149
+ locale: "zh" | "ja" | "en" | "ko";
150
+ message: string;
151
+ }[];
152
+ mode: "date" | "month" | "year";
153
+ value: string;
154
+ icon?: string | undefined;
155
+ style?: string | undefined;
156
+ display?: string | undefined;
157
+ disableDate?: string | undefined;
158
+ hidden?: string | undefined;
159
+ disabled?: string | undefined;
160
+ validation?: readonly Readonly<{
161
+ expression: string;
162
+ message: string;
163
+ }>[] | undefined;
164
+ })[];
165
+ orientation?: "vertical" | "horizontal" | "floating" | undefined;
166
+ }>) => any) | undefined;
161
167
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
162
168
  declare const _default: typeof __VLS_export;
163
169
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shwfed/nuxt",
3
- "version": "0.8.3",
3
+ "version": "0.9.1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "type": "module",