@shwfed/nuxt 0.8.3 → 0.9.0

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
+ orientation: "vertical" | "horizontal" | "floating";
13
+ fields: readonly ({
14
+ type: "string";
15
+ path: string;
16
+ title: readonly {
17
+ locale: "zh" | "ja" | "en" | "ko";
18
+ message: string;
19
+ }[];
20
+ icon?: string | undefined;
21
+ style?: string | undefined;
22
+ discardEmptyString?: boolean | undefined;
23
+ maxLength?: string | undefined;
24
+ hidden?: string | undefined;
25
+ disabled?: string | undefined;
26
+ validation?: readonly Readonly<{
27
+ expression: string;
28
+ message: string;
29
+ }>[] | undefined;
30
+ } | {
31
+ type: "number";
32
+ path: string;
33
+ title: readonly {
34
+ locale: "zh" | "ja" | "en" | "ko";
35
+ message: string;
36
+ }[];
37
+ icon?: string | undefined;
38
+ style?: string | undefined;
39
+ min?: string | undefined;
40
+ max?: string | undefined;
41
+ step?: string | undefined;
42
+ hidden?: string | undefined;
43
+ disabled?: string | undefined;
44
+ validation?: readonly Readonly<{
45
+ expression: string;
46
+ message: string;
47
+ }>[] | undefined;
48
+ } | {
49
+ type: "select";
50
+ path: string;
51
+ title: readonly {
52
+ locale: "zh" | "ja" | "en" | "ko";
53
+ message: string;
54
+ }[];
55
+ options: string;
56
+ label: string;
57
+ value: string;
58
+ key: string;
59
+ icon?: string | undefined;
60
+ style?: string | undefined;
61
+ hidden?: string | undefined;
62
+ disabled?: string | undefined;
63
+ validation?: readonly Readonly<{
64
+ expression: string;
65
+ message: string;
66
+ }>[] | undefined;
67
+ } | {
68
+ type: "calendar";
69
+ path: string;
70
+ title: readonly {
71
+ locale: "zh" | "ja" | "en" | "ko";
72
+ message: string;
73
+ }[];
74
+ mode: "date" | "month" | "year";
75
+ value: string;
76
+ icon?: string | undefined;
77
+ style?: string | undefined;
78
+ display?: string | undefined;
79
+ disableDate?: string | undefined;
80
+ hidden?: string | undefined;
81
+ disabled?: string | undefined;
82
+ validation?: readonly Readonly<{
83
+ expression: string;
84
+ message: string;
85
+ }>[] | undefined;
86
+ })[];
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
+ orientation: "vertical" | "horizontal" | "floating";
92
+ fields: readonly ({
93
+ type: "string";
94
+ path: string;
95
+ title: readonly {
96
+ locale: "zh" | "ja" | "en" | "ko";
97
+ message: string;
98
+ }[];
99
+ icon?: string | undefined;
100
+ style?: string | undefined;
101
+ discardEmptyString?: boolean | undefined;
102
+ maxLength?: string | undefined;
103
+ hidden?: string | undefined;
104
+ disabled?: string | undefined;
105
+ validation?: readonly Readonly<{
106
+ expression: string;
107
+ message: string;
108
+ }>[] | undefined;
109
+ } | {
110
+ type: "number";
111
+ path: string;
112
+ title: readonly {
113
+ locale: "zh" | "ja" | "en" | "ko";
114
+ message: string;
115
+ }[];
116
+ icon?: string | undefined;
117
+ style?: string | undefined;
118
+ min?: string | undefined;
119
+ max?: string | undefined;
120
+ step?: string | undefined;
121
+ hidden?: string | undefined;
122
+ disabled?: string | undefined;
123
+ validation?: readonly Readonly<{
124
+ expression: string;
125
+ message: string;
126
+ }>[] | undefined;
127
+ } | {
128
+ type: "select";
129
+ path: string;
130
+ title: readonly {
131
+ locale: "zh" | "ja" | "en" | "ko";
132
+ message: string;
133
+ }[];
134
+ options: string;
135
+ label: string;
136
+ value: string;
137
+ key: string;
138
+ icon?: string | undefined;
139
+ style?: string | undefined;
140
+ hidden?: string | undefined;
141
+ disabled?: string | undefined;
142
+ validation?: readonly Readonly<{
143
+ expression: string;
144
+ message: string;
145
+ }>[] | undefined;
146
+ } | {
147
+ type: "calendar";
148
+ path: string;
149
+ title: readonly {
150
+ locale: "zh" | "ja" | "en" | "ko";
151
+ message: string;
152
+ }[];
153
+ mode: "date" | "month" | "year";
154
+ value: string;
155
+ icon?: string | undefined;
156
+ style?: string | undefined;
157
+ display?: string | undefined;
158
+ disableDate?: string | undefined;
159
+ hidden?: string | undefined;
160
+ disabled?: string | undefined;
161
+ validation?: readonly Readonly<{
162
+ expression: string;
163
+ message: string;
164
+ }>[] | undefined;
165
+ })[];
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.0",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "type": "module",