@avenirs-esr/avenirs-dsav 0.1.26 → 0.1.28

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.
@@ -66,7 +66,7 @@ export interface AvFileUploadProps {
66
66
  * delete button label
67
67
  *
68
68
  */
69
- deleteButtonLabel: string;
69
+ deleteButtonLabel?: string;
70
70
  /**
71
71
  * Name of actual file.
72
72
  *
@@ -112,17 +112,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<AvFileUplo
112
112
  "onUpdate:validMessage"?: ((payload: string | null) => any) | undefined;
113
113
  "onUpdate:error"?: ((payload: string | null) => any) | undefined;
114
114
  onOnDropAcceptTypeError?: (() => any) | undefined;
115
- }>, {
116
- error: string;
117
- id: string;
118
- modelValue: File | null;
119
- disabled: boolean;
120
- validMessage: string;
121
- ariaLabel: string;
122
- accept: string | string[];
123
- maxWidth: string;
124
- enableMultiple: boolean;
125
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
115
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
126
116
  export default _default;
127
117
  type __VLS_WithSlots<T, S> = T & {
128
118
  new (): {
@@ -503,6 +503,7 @@ export declare const WithCustomItemSlotExample: {
503
503
  BRIEFCASE_VARIANT_OUTLINE: string;
504
504
  CALENDAR_MONTH_OUTLINE: string;
505
505
  CHART_TIMELINE_VARIANT_SHIMMER: string;
506
+ CHAT_ALERT: string;
506
507
  CHAT_BUBBLE_OUTLINE: string;
507
508
  CHECK: string;
508
509
  CHECK_CIRCLE: string;
@@ -1,4 +1,4 @@
1
- import { type ComponentMountingOptions } from '@vue/test-utils';
1
+ import { type ComponentMountingOptions, type VueWrapper } from '@vue/test-utils';
2
2
  import { type Component } from 'vue';
3
3
  /**
4
4
  * Function allowing developpers to use a common BDD format for tests
@@ -24,11 +24,7 @@ declare function mountComposable<T>(fn: () => T): {
24
24
  * @template T
25
25
  * @param {Component} component - Vue component to mount.
26
26
  * @param {ComponentMountingOptions<T>} [options] - Additional options for mounting the component.
27
- * @returns {Promise<ReturnType<typeof mount>>} The mounted component wrapper, after the next tick.
27
+ * @returns {Promise<VueWrapper<InstanceType<any>>>} the function return any as type because ts type is too complicated.
28
28
  */
29
- declare function mountWithRouter<T>(component: Component, options?: ComponentMountingOptions<T>): Promise<import("@vue/test-utils").VueWrapper<import("vue-component-type-helpers").ComponentProps<T> & (T extends {
30
- data?(...args: any): infer D;
31
- } ? D : {}) & import("vue-component-type-helpers").ComponentExposed<T>, import("vue").ComponentPublicInstance<import("vue-component-type-helpers").ComponentProps<T>, (T extends {
32
- data?(...args: any): infer D;
33
- } ? D : {}) & import("vue-component-type-helpers").ComponentExposed<T> & Omit<import("vue-component-type-helpers").ComponentProps<T>, keyof import("vue-component-type-helpers").ComponentProps<T>>>>>;
29
+ declare function mountWithRouter<T>(component: Component, options?: ComponentMountingOptions<T>): Promise<VueWrapper<InstanceType<any>>>;
34
30
  export { mountComposable, mountWithRouter, };
@@ -15,6 +15,7 @@ export declare const MDI_ICONS: {
15
15
  BRIEFCASE_VARIANT_OUTLINE: string;
16
16
  CALENDAR_MONTH_OUTLINE: string;
17
17
  CHART_TIMELINE_VARIANT_SHIMMER: string;
18
+ CHAT_ALERT: string;
18
19
  CHAT_BUBBLE_OUTLINE: string;
19
20
  CHECK: string;
20
21
  CHECK_CIRCLE: string;
@@ -76,6 +77,7 @@ export declare const RI_ICONS: {
76
77
  * e.g. using mdi icons with AvBadge
77
78
  */
78
79
  export declare const ICONS_DATA_URL: {
80
+ AMS_SAE: string;
79
81
  CLOCK_ALMOST_CHECK: string;
80
82
  CLOCK_HALF_PLUS_CHECK: string;
81
83
  CLOCK_QUARTER_CHECK: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@avenirs-esr/avenirs-dsav",
3
3
  "type": "module",
4
- "version": "0.1.26",
4
+ "version": "0.1.28",
5
5
  "main": "dist/avenirs-dsav.umd.js",
6
6
  "module": "dist/avenirs-dsav.es.js",
7
7
  "types": "dist/index.d.ts",
@@ -12,9 +12,11 @@
12
12
  "scripts": {
13
13
  "clean:dist": "rimraf dist",
14
14
  "build-only": "vite build",
15
+ "build-only:watch": "vite build --watch",
15
16
  "build-only:development": "vite build -m development",
16
17
  "dev": "vite",
17
18
  "build": "run-p type-check type-gen \"build-only {@}\" --",
19
+ "build:watch": "run-p type-check type-gen:watch \"build-only:watch {@}\" --",
18
20
  "build:development": "run-p type-check type-gen \"build-only:development {@}\" --",
19
21
  "format": "eslint . --fix",
20
22
  "lint": "eslint .",
@@ -29,6 +31,7 @@
29
31
  "test:watch": "vitest",
30
32
  "type-check": "vue-tsc --build --force",
31
33
  "type-gen": "vue-tsc -p tsconfig.app.json",
34
+ "type-gen:watch": "vue-tsc -p tsconfig.app.json --watch",
32
35
  "prepare": "husky || true",
33
36
  "commitlint": "commitlint --edit",
34
37
  "lint-staged": "lint-staged",