@iqrf/iqrf-vue-ui 0.0.1-beta.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.
Files changed (30) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/iqrf-vue-ui.css +1 -0
  3. package/dist/iqrf-vue-ui.js +9082 -0
  4. package/dist/iqrf-vue-ui.js.map +1 -0
  5. package/dist/iqrf-vue-ui.umd.cjs +24 -0
  6. package/dist/iqrf-vue-ui.umd.cjs.map +1 -0
  7. package/dist/src/components/IDecHexNumber/IDecHexNumber.vue.d.ts +18 -0
  8. package/dist/src/components/IDecHexNumber/IDecHexNumber.vue.d.ts.map +1 -0
  9. package/dist/src/components/IDecHexNumber/index.d.ts +2 -0
  10. package/dist/src/components/IDecHexNumber/index.d.ts.map +1 -0
  11. package/dist/src/components/IDecHexNumber/props.d.ts +20 -0
  12. package/dist/src/components/IDecHexNumber/props.d.ts.map +1 -0
  13. package/dist/src/components/IPasswordInput/IPasswordInput.vue.d.ts +21 -0
  14. package/dist/src/components/IPasswordInput/IPasswordInput.vue.d.ts.map +1 -0
  15. package/dist/src/components/IPasswordInput/index.d.ts +2 -0
  16. package/dist/src/components/IPasswordInput/index.d.ts.map +1 -0
  17. package/dist/src/components/IPasswordInput/props.d.ts +18 -0
  18. package/dist/src/components/IPasswordInput/props.d.ts.map +1 -0
  19. package/dist/src/components/index.d.ts +3 -0
  20. package/dist/src/components/index.d.ts.map +1 -0
  21. package/dist/src/index.d.ts +3 -0
  22. package/dist/src/index.d.ts.map +1 -0
  23. package/dist/src/locales/en.json.d.ts +16 -0
  24. package/dist/src/plugins/i18n.d.ts +205 -0
  25. package/dist/src/plugins/i18n.d.ts.map +1 -0
  26. package/dist/src/utils/index.d.ts +2 -0
  27. package/dist/src/utils/index.d.ts.map +1 -0
  28. package/dist/src/utils/validationRules.d.ts +179 -0
  29. package/dist/src/utils/validationRules.d.ts.map +1 -0
  30. package/package.json +121 -0
@@ -0,0 +1,18 @@
1
+ import { IDecHexNumberProps } from './props';
2
+ declare const model: import('vue').ModelRef<number, string, number, number>;
3
+ type __VLS_Props = IDecHexNumberProps;
4
+ type __VLS_PublicProps = {
5
+ modelValue: typeof model['value'];
6
+ } & __VLS_Props;
7
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:modelValue": (value: number) => any;
9
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
11
+ }>, {
12
+ color: string;
13
+ format: "dec" | "hex";
14
+ hexDigits: number;
15
+ uppercase: boolean;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ export default _default;
18
+ //# sourceMappingURL=IDecHexNumber.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDecHexNumber.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/IDecHexNumber/IDecHexNumber.vue"],"names":[],"mappings":"AA0DA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAIlD,QAAA,MAAM,KAAK,wDAGT,CAAC;AACH,KAAK,WAAW,GAAG,kBAAkB,CAAC;AAqCtC,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CACjC,GAAG,WAAW,CAAC;;;;;;;;;;;AAiEhB,wBAQG"}
@@ -0,0 +1,2 @@
1
+ export { default as IDecHexNumber } from './IDecHexNumber.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/IDecHexNumber/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,20 @@
1
+ export interface IDecHexNumberProps {
2
+ /**
3
+ * Switcher color
4
+ */
5
+ color?: string;
6
+ /**
7
+ * Number format
8
+ * @description Possible values: dec, hex
9
+ */
10
+ format?: 'dec' | 'hex';
11
+ /**
12
+ * Number of digits in hexadecimal display value
13
+ */
14
+ hexDigits?: number;
15
+ /**
16
+ * Display hexadecimal value with uppercase letters
17
+ */
18
+ uppercase?: boolean;
19
+ }
20
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/components/IDecHexNumber/props.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -0,0 +1,21 @@
1
+ import { IPasswordFieldProps } from './props';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: Readonly<Record<string, any>> & Record<string, any>;
5
+ refs: {};
6
+ rootEl: any;
7
+ };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const __VLS_component: import('vue').DefineComponent<IPasswordFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IPasswordFieldProps> & Readonly<{}>, {
10
+ label: string;
11
+ description: string;
12
+ hidePrependIcon: boolean;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //# sourceMappingURL=IPasswordInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPasswordInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/IPasswordInput/IPasswordInput.vue"],"names":[],"mappings":"AAeA;AAsFA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAiC9C,iBAAS,cAAc;WA4ET,OAAO,IAA6B;;;;EAKjD;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;6EAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as IPasswordInput } from './IPasswordInput.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/IPasswordInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Password field props interface
3
+ */
4
+ export interface IPasswordFieldProps {
5
+ /**
6
+ * Description or hint displayed underneath the input
7
+ */
8
+ description?: string;
9
+ /**
10
+ * Hide prepend icon
11
+ */
12
+ hidePrependIcon?: boolean;
13
+ /**
14
+ * Input label
15
+ */
16
+ label?: string;
17
+ }
18
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/components/IPasswordInput/props.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,mBAAmB;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd"}
@@ -0,0 +1,3 @@
1
+ export * from './IDecHexNumber';
2
+ export * from './IPasswordInput';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './components';
2
+ export * from './utils';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,16 @@
1
+ declare const _default: {
2
+ "$iqrf": {
3
+ "components": {
4
+ "decHexNumber": {
5
+ "decimal": "Switch to decimal",
6
+ "hexadecimal": "Switch to hexadecimal"
7
+ },
8
+ "passwordInput": {
9
+ "label": "Password"
10
+ }
11
+ }
12
+ }
13
+ }
14
+ ;
15
+
16
+ export default _default;
@@ -0,0 +1,205 @@
1
+ /**
2
+ * Copyright 2025 MICRORISC s.r.o.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ declare const i18n: import('vue-i18n').I18n<{
17
+ en: {
18
+ $iqrf: {
19
+ components: {
20
+ decHexNumber: {
21
+ decimal: string;
22
+ hexadecimal: string;
23
+ };
24
+ passwordInput: {
25
+ label: string;
26
+ };
27
+ };
28
+ };
29
+ $vuetify: {
30
+ badge: string;
31
+ open: string;
32
+ close: string;
33
+ dismiss: string;
34
+ confirmEdit: {
35
+ ok: string;
36
+ cancel: string;
37
+ };
38
+ dataIterator: {
39
+ noResultsText: string;
40
+ loadingText: string;
41
+ };
42
+ dataTable: {
43
+ itemsPerPageText: string;
44
+ ariaLabel: {
45
+ sortDescending: string;
46
+ sortAscending: string;
47
+ sortNone: string;
48
+ activateNone: string;
49
+ activateDescending: string;
50
+ activateAscending: string;
51
+ };
52
+ sortBy: string;
53
+ };
54
+ dataFooter: {
55
+ itemsPerPageText: string;
56
+ itemsPerPageAll: string;
57
+ nextPage: string;
58
+ prevPage: string;
59
+ firstPage: string;
60
+ lastPage: string;
61
+ pageText: string;
62
+ };
63
+ dateRangeInput: {
64
+ divider: string;
65
+ };
66
+ datePicker: {
67
+ itemsSelected: string;
68
+ range: {
69
+ title: string;
70
+ header: string;
71
+ };
72
+ title: string;
73
+ header: string;
74
+ input: {
75
+ placeholder: string;
76
+ };
77
+ ariaLabel: {
78
+ previousMonth: string;
79
+ nextMonth: string;
80
+ selectYear: string;
81
+ selectDate: string;
82
+ currentDate: string;
83
+ };
84
+ };
85
+ noDataText: string;
86
+ carousel: {
87
+ prev: string;
88
+ next: string;
89
+ ariaLabel: {
90
+ delimiter: string;
91
+ };
92
+ };
93
+ calendar: {
94
+ moreEvents: string;
95
+ today: string;
96
+ };
97
+ input: {
98
+ clear: string;
99
+ prependAction: string;
100
+ appendAction: string;
101
+ otp: string;
102
+ };
103
+ fileInput: {
104
+ counter: string;
105
+ counterSize: string;
106
+ };
107
+ fileUpload: {
108
+ title: string;
109
+ divider: string;
110
+ browse: string;
111
+ };
112
+ timePicker: {
113
+ am: string;
114
+ pm: string;
115
+ title: string;
116
+ };
117
+ pagination: {
118
+ ariaLabel: {
119
+ root: string;
120
+ next: string;
121
+ previous: string;
122
+ page: string;
123
+ currentPage: string;
124
+ first: string;
125
+ last: string;
126
+ };
127
+ };
128
+ stepper: {
129
+ next: string;
130
+ prev: string;
131
+ };
132
+ rating: {
133
+ ariaLabel: {
134
+ item: string;
135
+ };
136
+ };
137
+ loading: string;
138
+ infiniteScroll: {
139
+ loadMore: string;
140
+ empty: string;
141
+ };
142
+ rules: {
143
+ required: string;
144
+ email: string;
145
+ number: string;
146
+ integer: string;
147
+ capital: string;
148
+ maxLength: string;
149
+ minLength: string;
150
+ strictLength: string;
151
+ exclude: string;
152
+ notEmpty: string;
153
+ pattern: string;
154
+ };
155
+ hotkey: {
156
+ then: string;
157
+ ctrl: string;
158
+ command: string;
159
+ space: string;
160
+ shift: string;
161
+ alt: string;
162
+ enter: string;
163
+ escape: string;
164
+ upArrow: string;
165
+ downArrow: string;
166
+ leftArrow: string;
167
+ rightArrow: string;
168
+ backspace: string;
169
+ option: string;
170
+ plus: string;
171
+ shortcut: string;
172
+ };
173
+ video: {
174
+ play: string;
175
+ pause: string;
176
+ seek: string;
177
+ volume: string;
178
+ showVolume: string;
179
+ mute: string;
180
+ unmute: string;
181
+ enterFullscreen: string;
182
+ exitFullscreen: string;
183
+ };
184
+ colorPicker: {
185
+ ariaLabel: {
186
+ eyedropper: string;
187
+ hueSlider: string;
188
+ alphaSlider: string;
189
+ redInput: string;
190
+ greenInput: string;
191
+ blueInput: string;
192
+ alphaInput: string;
193
+ hueInput: string;
194
+ saturationInput: string;
195
+ lightnessInput: string;
196
+ hexInput: string;
197
+ hexaInput: string;
198
+ changeFormat: string;
199
+ };
200
+ };
201
+ };
202
+ };
203
+ }, {}, {}, string, false>;
204
+ export default i18n;
205
+ //# sourceMappingURL=i18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/plugins/i18n.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAcH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAMR,CAAC;AAEH,eAAe,IAAI,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './validationRules';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,179 @@
1
+ /**
2
+ * Copyright 2025 MICRORISC s.r.o.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /**
17
+ * Validation rules for forms
18
+ */
19
+ export declare class ValidationRules {
20
+ /**
21
+ * Required field
22
+ * @param {unknown} value Field value
23
+ * @param {string} error Error message
24
+ * @return {boolean|string} Validation result
25
+ */
26
+ static required(value: unknown, error: string): boolean | string;
27
+ /**
28
+ * Required field if condition is true
29
+ * @param {unknown} value Field value
30
+ * @param {boolean} condition Condition
31
+ * @param {string} error Error message
32
+ * @return {boolean|string} Validation result
33
+ */
34
+ static requiredIf(value: unknown, condition: boolean, error: string): boolean | string;
35
+ /**
36
+ * Minimum value
37
+ * @param {number} value Field value
38
+ * @param {number} min Minimum value
39
+ * @param {string} error Error message
40
+ * @return {boolean|string} Validation result
41
+ */
42
+ static min(value: number, min: number, error: string): boolean | string;
43
+ /**
44
+ * Maximum value
45
+ * @param {number} value Field value
46
+ * @param {number} max Maximum value
47
+ * @param {string} error Error message
48
+ * @return {boolean|string} Validation result
49
+ */
50
+ static max(value: number, max: number, error: string): boolean | string;
51
+ /**
52
+ * Value between min and max
53
+ * @param {number} value Field value
54
+ * @param {number} min Minimum value
55
+ * @param {number} max Maximum value
56
+ * @param {string} error Error message
57
+ * @return {boolean|string} Validation result
58
+ */
59
+ static between(value: number, min: number, max: number, error: string): boolean | string;
60
+ /**
61
+ * Length of value
62
+ * @param {string|unknown[]} value Field value
63
+ * @param {number} length Length
64
+ * @param {string} error Error message
65
+ * @return {boolean|string} Validation result
66
+ */
67
+ static len(value: string | unknown[], length: number, error: string): boolean | string;
68
+ /**
69
+ * Minimum length of value
70
+ * @param {string|unknown[]} value Field value
71
+ * @param {number} length Minimum length
72
+ * @param {string} error Error message
73
+ * @return {boolean|string} Validation result
74
+ */
75
+ static minLen(value: string | unknown[], length: number, error: string): boolean | string;
76
+ /**
77
+ * Maximum length of value
78
+ * @param {string|unknown[]} value Field value
79
+ * @param {number} length Maximum length
80
+ * @param {string} error Error message
81
+ * @return {boolean|string} Validation result
82
+ */
83
+ static maxLen(value: string | unknown[], length: number, error: string): boolean | string;
84
+ /**
85
+ * Length of value is between min and max
86
+ * @param {string|unknown[]} value Field value
87
+ * @param {number} min Minimum length
88
+ * @param {number} max Maximum length
89
+ * @param {string} error Error message
90
+ * @return {boolean|string} Validation result
91
+ */
92
+ static betweenLen(value: string | unknown[], min: number, max: number, error: string): boolean | string;
93
+ /**
94
+ * E-mail address
95
+ * @param {string} value Field value
96
+ * @param {string} errorMessage Error message
97
+ * @return {boolean|string} Validation result
98
+ */
99
+ static email(value: string, errorMessage: string): boolean | string;
100
+ /**
101
+ * Integer
102
+ * @param {number} value Field value
103
+ * @param {string} error Error message
104
+ * @return {boolean|string} Validation result
105
+ */
106
+ static integer(value: number, error: string): boolean | string;
107
+ /**
108
+ * Numerical value
109
+ * @param {unknown} value Field value
110
+ * @param {string} error Error message
111
+ * @return {boolean|string} Validation result
112
+ */
113
+ static numeric(value: unknown, error: string): boolean | string;
114
+ /**
115
+ * IPv4 address
116
+ * @param {string} value Field value
117
+ * @param {string} error Error message
118
+ * @return {boolean|string} Validation result
119
+ */
120
+ static ipv4Address(value: string, error: string): boolean | string;
121
+ /**
122
+ * IPv6 address
123
+ * @param {string} value Field value
124
+ * @param {string} error Error message
125
+ * @return {boolean|string} Validation result
126
+ */
127
+ static ipv6Address(value: string, error: string): boolean | string;
128
+ /**
129
+ * Host
130
+ * @param {string} value Field value
131
+ * @param {string} error Error message
132
+ * @return {boolean|string} Validation result
133
+ */
134
+ static host(value: string, error: string): boolean | string;
135
+ /**
136
+ * UUID
137
+ * @param {string} value Field value
138
+ * @param {string} error Error message
139
+ * @return {boolean|string} Validation result
140
+ */
141
+ static uuid(value: string, error: string): boolean | string;
142
+ /**
143
+ * JSON object
144
+ * @param {string} value Field value
145
+ * @param {string} error Error message
146
+ * @return {boolean|string} Validation result
147
+ */
148
+ static json(value: string, error: string): boolean | string;
149
+ /**
150
+ * Regular expression
151
+ * @param {string} value Field value
152
+ * @param {RegExp} pattern Regular expression pattern
153
+ * @param {string} error Error message
154
+ * @return {boolean|string} Validation result
155
+ */
156
+ static regex(value: string, pattern: RegExp, error: string): boolean | string;
157
+ /**
158
+ * URL validator
159
+ * @param {string} value Field value
160
+ * @param {string} error Error message
161
+ * @param {RegExp | undefined } protocolRegex Optional protocol check regular expression
162
+ * @return {boolean|string} Validation result
163
+ */
164
+ static url(value: string, error: string, protocolRegex?: RegExp | undefined): boolean | string;
165
+ /**
166
+ * Webapp user password validator
167
+ * @param {string | null} value Field value
168
+ * @param {string} error Error message
169
+ * @return {boolean | string} Validation result
170
+ */
171
+ static webappUserPassword(value: string, error: string): boolean | string;
172
+ /**
173
+ * Checks if the value is empty
174
+ * @param {unknown} value Field value
175
+ * @return {boolean} Value emptiness
176
+ */
177
+ private static isEmpty;
178
+ }
179
+ //# sourceMappingURL=validationRules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validationRules.d.ts","sourceRoot":"","sources":["../../../src/utils/validationRules.ts"],"names":[],"mappings":"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"}
package/package.json ADDED
@@ -0,0 +1,121 @@
1
+ {
2
+ "name": "@iqrf/iqrf-vue-ui",
3
+ "description": "UI library based on Vuetify 3 for webapps developed by MICRORISC s.r.o. for IQRF wireless technology.",
4
+ "version": "0.0.1-beta.1",
5
+ "author": {
6
+ "name": "MICRORISC s.r.o.",
7
+ "url": "https://www.microrisc.com/"
8
+ },
9
+ "contributors": [
10
+ {
11
+ "name": "Roman Ondráček",
12
+ "email": "roman.ondracek@iqrf.com",
13
+ "url": "https://www.romanondracek.cz/"
14
+ },
15
+ {
16
+ "name": "Karel Hanák",
17
+ "email": "karel.hanak@iqrf.com"
18
+ }
19
+ ],
20
+ "license": "Apache-2.0",
21
+ "homepage": "https://gitlab.iqrf.org/open-source/iqrf-vue-ui",
22
+ "bugs": {
23
+ "url": "https://gitlab.iqrf.org/open-source/iqrf-vue-ui/issues"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://gitlab.iqrf.org/open-source/iqrf-vue-ui.git"
28
+ },
29
+ "publishConfig": {
30
+ "access": "public"
31
+ },
32
+ "type": "module",
33
+ "files": [
34
+ "dist/"
35
+ ],
36
+ "exports": {
37
+ ".": {
38
+ "types": "./dist/index.d.ts",
39
+ "import": "./dist/iqrf-vue-ui.js",
40
+ "require": "./dist/iqrf-vue-ui.umd.cjs"
41
+ },
42
+ "./components": {
43
+ "types": "./dist/components/index.d.ts",
44
+ "import": "./dist/iqrf-vue-ui.js",
45
+ "require": "./dist/iqrf-vue-ui.umd.cjs"
46
+ },
47
+ "./utils": {
48
+ "types": "./dist/utils/index.d.ts",
49
+ "import": "./dist/iqrf-vue-ui.js",
50
+ "require": "./dist/iqrf-vue-ui.umd.cjs"
51
+ }
52
+ },
53
+ "types": "./dist/index.d.ts",
54
+ "module": "./dist/iqrf-vue-ui.js",
55
+ "style": "./dist/iqrf-vue-ui.css",
56
+ "main": "./dist/iqrf-vue-ui.umd.cjs",
57
+ "sideEffects": [
58
+ "*.vue"
59
+ ],
60
+ "dependencies": {
61
+ "@mdi/js": "^7.4.47",
62
+ "@types/is-fqdn": "^2.0.0",
63
+ "country-flag-icons": "^1.5.20",
64
+ "is-fqdn": "^2.0.1",
65
+ "js-base64": "^3.7.8",
66
+ "luxon": "^3.7.2",
67
+ "md5": "^2.3.0",
68
+ "preferred-locale": "^2.0.2",
69
+ "punycode": "^2.3.1",
70
+ "vue": "^3.5.21",
71
+ "vue-i18n": "^11.1.12",
72
+ "vuetify": "^3.10.0",
73
+ "zod": "^4.1.8"
74
+ },
75
+ "devDependencies": {
76
+ "@intlify/unplugin-vue-i18n": "^11.0.1",
77
+ "@iqrf/eslint-config": "^0.2.16",
78
+ "@types/cypress": "^1.1.6",
79
+ "@types/luxon": "^3.7.1",
80
+ "@types/md5": "^2.3.5",
81
+ "@types/node": "^24.3.1",
82
+ "@types/punycode": "^2.1.4",
83
+ "@vitejs/plugin-vue": "^6.0.1",
84
+ "@vitest/coverage-istanbul": "^3.2.4",
85
+ "@vitest/spy": "^3.2.4",
86
+ "bumpp": "^10.2.3",
87
+ "cypress": "^15.2.0",
88
+ "eslint": "^9.35.0",
89
+ "happy-dom": "^18.0.1",
90
+ "jiti": "^2.5.1",
91
+ "postcss": "^8.5.6",
92
+ "postcss-html": "^1.8.0",
93
+ "postcss-scss": "^4.0.9",
94
+ "sass-embedded": "^1.92.1",
95
+ "stylelint": "^16.24.0",
96
+ "stylelint-config-standard-scss": "^15.0.1",
97
+ "stylelint-config-standard-vue": "^1.0.0",
98
+ "typescript": "^5.9.2",
99
+ "unplugin-vue-define-options": "3.0.0-beta.23",
100
+ "vite": "^7.1.5",
101
+ "vite-plugin-dts": "^4.5.4",
102
+ "vite-plugin-vuetify": "^2.1.2",
103
+ "vitest": "^3.2.4",
104
+ "vue-i18n-extract": "^2.0.7",
105
+ "vue-tsc": "^3.0.7"
106
+ },
107
+ "scripts": {
108
+ "build": "vite build",
109
+ "coverage": "npm run coverage:unit",
110
+ "coverage:unit": "vitest --run --coverage",
111
+ "lint": "npm run lint:js && npm run lint:ts && npm run lint:css && npm run lint:i18n",
112
+ "lint:js": "eslint .",
113
+ "lint:ts": "vue-tsc --noEmit",
114
+ "lint:css": "stylelint \"src/**/*.{css,scss,sass,vue}\"",
115
+ "lint:i18n": "vue-i18n-extract report --vueFiles './src/**/*.{vue,ts}' --languageFiles './src/locales/*.json' --exclude '$vuetify'",
116
+ "prepublish": "pnpm build",
117
+ "release": "bumpp && pnpm publish",
118
+ "test": "npm run test:unit",
119
+ "test:unit": "vitest --run"
120
+ }
121
+ }