@winchsa/ui 0.1.62 → 0.1.63

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.
@@ -15,12 +15,12 @@ type __VLS_Slots = {} & {
15
15
  default?: (props: typeof __VLS_76) => any;
16
16
  };
17
17
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
- refresh: (hideOverlay: () => void) => any;
19
18
  collapsed: (isContentCollapsed: boolean) => any;
19
+ refresh: (hideOverlay: () => void) => any;
20
20
  trash: () => any;
21
21
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
- onRefresh?: ((hideOverlay: () => void) => any) | undefined;
23
22
  onCollapsed?: ((isContentCollapsed: boolean) => any) | undefined;
23
+ onRefresh?: ((hideOverlay: () => void) => any) | undefined;
24
24
  onTrash?: (() => any) | undefined;
25
25
  }>, {
26
26
  title: string;
@@ -15,12 +15,12 @@ type __VLS_Slots = {} & {
15
15
  default?: (props: typeof __VLS_76) => any;
16
16
  };
17
17
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
- refresh: (hideOverlay: () => void) => any;
19
18
  collapsed: (isContentCollapsed: boolean) => any;
19
+ refresh: (hideOverlay: () => void) => any;
20
20
  trash: () => any;
21
21
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
- onRefresh?: ((hideOverlay: () => void) => any) | undefined;
23
22
  onCollapsed?: ((isContentCollapsed: boolean) => any) | undefined;
23
+ onRefresh?: ((hideOverlay: () => void) => any) | undefined;
24
24
  onTrash?: (() => any) | undefined;
25
25
  }>, {
26
26
  title: string;
@@ -38,6 +38,7 @@ const LangLabel = computed(() => props.label ? t(props.label) : "");
38
38
  <VMessages
39
39
  v-if="isValid.value === false || errorMessages?.length !== 0"
40
40
  class="text-start"
41
+ color="error"
41
42
  :messages="[validationErrors.value, errorMessages]"
42
43
  :active="isValid.value === false || errorMessages?.length !== 0"
43
44
  />
@@ -183,7 +183,12 @@ watch(zoomLevel, async (newZoom) => {
183
183
  :accept="validTypes?.join(',')"
184
184
  @change="onImageChanged($event)"
185
185
  >
186
- <VMessages class="mt-1 d-block" :messages="validationErrors.value" :active="isValid.value === false" />
186
+ <VMessages
187
+ class="mt-1 d-block"
188
+ color="error"
189
+ :messages="validationErrors.value"
190
+ :active="isValid.value === false"
191
+ />
187
192
  </div>
188
193
  </VValidation>
189
194
 
@@ -109,7 +109,12 @@ const removeImageCopy = (id) => {
109
109
  @change="onImageChanged($event, validate)"
110
110
  >
111
111
 
112
- <VMessages class="mt-1 d-block" :messages="validationErrors.value" :active="isValid.value === false" />
112
+ <VMessages
113
+ class="mt-1 d-block"
114
+ color="error"
115
+ :messages="validationErrors.value"
116
+ :active="isValid.value === false"
117
+ />
113
118
  </div>
114
119
  </VValidation>
115
120
  </div>
@@ -80,8 +80,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
80
80
  "onUpdate:model-value"?: ((value: unknown) => any) | undefined;
81
81
  }>, {
82
82
  isLoading: boolean;
83
- clearable: boolean;
84
83
  hideDetails: boolean;
84
+ clearable: boolean;
85
85
  hideSelected: boolean;
86
86
  querySearchParam: string;
87
87
  descriptionKey: string;
@@ -80,8 +80,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
80
80
  "onUpdate:model-value"?: ((value: unknown) => any) | undefined;
81
81
  }>, {
82
82
  isLoading: boolean;
83
- clearable: boolean;
84
83
  hideDetails: boolean;
84
+ clearable: boolean;
85
85
  hideSelected: boolean;
86
86
  querySearchParam: string;
87
87
  descriptionKey: string;
@@ -17,7 +17,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
17
17
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
18
  "onUpdate:modelValue"?: ((value: string[] | null) => any) | undefined;
19
19
  }>, {
20
- validateOn: "input" | "submit" | "blur" | "blur lazy" | "input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy submit" | "submit lazy";
20
+ validateOn: "input" | "submit" | "blur lazy" | "input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy submit" | "submit lazy" | "blur";
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
22
  declare const _default: typeof __VLS_export;
23
23
  export default _default;
@@ -17,7 +17,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
17
17
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
18
  "onUpdate:modelValue"?: ((value: string[] | null) => any) | undefined;
19
19
  }>, {
20
- validateOn: "input" | "submit" | "blur" | "blur lazy" | "input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy submit" | "submit lazy";
20
+ validateOn: "input" | "submit" | "blur lazy" | "input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy submit" | "submit lazy" | "blur";
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
22
  declare const _default: typeof __VLS_export;
23
23
  export default _default;
@@ -16,7 +16,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
16
16
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
17
  "onUpdate:model-value"?: ((value: string) => any) | undefined;
18
18
  }>, {
19
- validateOn: "input" | "submit" | "blur" | "blur lazy" | "input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy submit" | "submit lazy";
19
+ validateOn: "input" | "submit" | "blur lazy" | "input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy submit" | "submit lazy" | "blur";
20
20
  customId: string;
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
22
  declare const _default: typeof __VLS_export;
@@ -210,6 +210,7 @@ watch(() => props.modelValue, (val) => {
210
210
  <VMessages
211
211
  v-if="!hideDetails"
212
212
  class="mt-n1"
213
+ color="error"
213
214
  :messages="errorMessages || validationErrors.value"
214
215
  :active="!isValid.value"
215
216
  />
@@ -16,7 +16,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
16
16
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
17
  "onUpdate:model-value"?: ((value: string) => any) | undefined;
18
18
  }>, {
19
- validateOn: "input" | "submit" | "blur" | "blur lazy" | "input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy submit" | "submit lazy";
19
+ validateOn: "input" | "submit" | "blur lazy" | "input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy submit" | "submit lazy" | "blur";
20
20
  customId: string;
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
22
  declare const _default: typeof __VLS_export;
@@ -249,6 +249,7 @@ onBeforeUnmount(() => {
249
249
 
250
250
  <VMessages
251
251
  v-if="!hideErrorMessage"
252
+ color="error"
252
253
  :messages="typeof errors === 'object' ? errors.join(', ') : errors"
253
254
  :active="hasError"
254
255
  class="time-picker-messages"
package/package.json CHANGED
@@ -1,70 +1,70 @@
1
1
  {
2
- "name": "@winchsa/ui",
3
- "version": "0.1.62",
4
- "type": "module",
5
- "private": false,
6
- "publishConfig": {
7
- "access": "public"
8
- },
9
- "files": [
10
- "dist/*"
11
- ],
12
- "exports": {
13
- ".": {
14
- "require": "./dist/index.js",
15
- "import": "./dist/index.mjs",
16
- "types": "./dist/index.d.ts"
2
+ "name": "@winchsa/ui",
3
+ "version": "0.1.63",
4
+ "type": "module",
5
+ "private": false,
6
+ "publishConfig": {
7
+ "access": "public"
17
8
  },
18
- "./utils": {
19
- "require": "./dist/utils/index.js",
20
- "import": "./dist/utils/index.mjs",
21
- "types": "./dist/utils/index.d.ts"
9
+ "files": [
10
+ "dist/*"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "require": "./dist/index.js",
15
+ "import": "./dist/index.mjs",
16
+ "types": "./dist/index.d.ts"
17
+ },
18
+ "./utils": {
19
+ "require": "./dist/utils/index.js",
20
+ "import": "./dist/utils/index.mjs",
21
+ "types": "./dist/utils/index.d.ts"
22
+ }
23
+ },
24
+ "main": "./dist/index.js",
25
+ "module": "./dist/index.mjs",
26
+ "scripts": {
27
+ "dev": "vite",
28
+ "build": "unbuild",
29
+ "lint": "eslint \"**/*.{ts,vue,mjs}\"",
30
+ "lint:fix": "eslint \"**/*.{ts,vue,mjs}\" --fix",
31
+ "bump": "pnpm run build && pnpm version patch"
32
+ },
33
+ "peerDependencies": {
34
+ "@intlify/unplugin-vue-i18n": "^4.0.0",
35
+ "@tanstack/vue-query": "^5.74.5",
36
+ "@vueuse/core": "11.3.0",
37
+ "@vueuse/router": "^13.1.0",
38
+ "ofetch": "^1.4.1",
39
+ "vue": "^3.5.13",
40
+ "vue-i18n": "9.14.5",
41
+ "vue-router": "4.4.5",
42
+ "vue-sonner": "^1.3.0",
43
+ "vue3-perfect-scrollbar": "2.0.0",
44
+ "vuetify": "3.10.11"
45
+ },
46
+ "dependencies": {
47
+ "@vuepic/vue-datepicker": "^11.0.0",
48
+ "cropperjs": "^1.6.2",
49
+ "print-js": "^1.6.0",
50
+ "v-calendar": "^3.1.2",
51
+ "vue-multiselect": "^3.1.0"
52
+ },
53
+ "devDependencies": {
54
+ "@tanstack/eslint-plugin-query": "^5.73.3",
55
+ "@typescript-eslint/eslint-plugin": "^7.18.0",
56
+ "@types/node": "^22.12.0",
57
+ "@vitejs/plugin-vue": "^6.0.1",
58
+ "eslint": "^8.57.1",
59
+ "eslint-import-resolver-typescript": "^4.3.3",
60
+ "eslint-plugin-import": "^2.31.0",
61
+ "eslint-plugin-vue": "^9.32.0",
62
+ "sass": "1.92.1",
63
+ "typescript": "^5.9.3",
64
+ "unbuild": "^3.0.0",
65
+ "vite": "^5.4.21",
66
+ "vite-plugin-vuetify": "^2.1.2",
67
+ "vue-sfc-transformer": "^0.1.16",
68
+ "vue-tsc": "^3.1.1"
22
69
  }
23
- },
24
- "main": "./dist/index.js",
25
- "module": "./dist/index.mjs",
26
- "peerDependencies": {
27
- "@intlify/unplugin-vue-i18n": "^4.0.0",
28
- "@tanstack/vue-query": "^5.74.5",
29
- "@vueuse/core": "11.3.0",
30
- "@vueuse/router": "^13.1.0",
31
- "ofetch": "^1.4.1",
32
- "vue": "^3.5.13",
33
- "vue-i18n": "9.14.5",
34
- "vue-router": "4.4.5",
35
- "vue-sonner": "^1.3.0",
36
- "vue3-perfect-scrollbar": "2.0.0",
37
- "vuetify": "3.10.11"
38
- },
39
- "dependencies": {
40
- "@vuepic/vue-datepicker": "^11.0.0",
41
- "cropperjs": "^1.6.2",
42
- "print-js": "^1.6.0",
43
- "v-calendar": "^3.1.2",
44
- "vue-multiselect": "^3.1.0"
45
- },
46
- "devDependencies": {
47
- "@tanstack/eslint-plugin-query": "^5.73.3",
48
- "@typescript-eslint/eslint-plugin": "^7.18.0",
49
- "@types/node": "^22.12.0",
50
- "@vitejs/plugin-vue": "^6.0.1",
51
- "eslint": "^8.57.1",
52
- "eslint-import-resolver-typescript": "^4.3.3",
53
- "eslint-plugin-import": "^2.31.0",
54
- "eslint-plugin-vue": "^9.32.0",
55
- "sass": "1.92.1",
56
- "typescript": "^5.9.3",
57
- "unbuild": "^3.0.0",
58
- "vite": "^5.4.21",
59
- "vite-plugin-vuetify": "^2.1.2",
60
- "vue-sfc-transformer": "^0.1.16",
61
- "vue-tsc": "^3.1.1"
62
- },
63
- "scripts": {
64
- "dev": "vite",
65
- "build": "unbuild",
66
- "lint": "eslint \"**/*.{ts,vue,mjs}\"",
67
- "lint:fix": "eslint \"**/*.{ts,vue,mjs}\" --fix",
68
- "bump": "pnpm run build && pnpm version patch"
69
- }
70
- }
70
+ }