@v1nt1248/3nclient-lib 0.2.88 → 0.2.89

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.
@@ -21,13 +21,13 @@ export interface Ui3nDialogComponentProps<V> {
21
21
  cancelButtonBackground?: string;
22
22
  closeOnClickOverlay?: boolean;
23
23
  closeOnEsc?: boolean;
24
- data?: V | null;
24
+ data?: V;
25
25
  isValid?: boolean;
26
26
  }
27
27
  export interface Ui3nDialogComponentEmits<V> {
28
28
  (event: 'action', value: {
29
29
  event: Ui3nDialogEvent;
30
- data?: V | null | Event | undefined;
30
+ data?: V;
31
31
  }): void;
32
32
  }
33
33
  export interface Ui3nDialogComponentSlots {
@@ -3,7 +3,7 @@ declare const _default: <V extends any>(__VLS_props: NonNullable<Awaited<typeof
3
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
4
  readonly onAction?: ((value: {
5
5
  event: import('./types').Ui3nDialogEvent;
6
- data?: Event | V | null | undefined;
6
+ data?: V | undefined;
7
7
  }) => any) | undefined;
8
8
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onAction"> & Ui3nDialogComponentProps<V> & Partial<{}>> & import('vue').PublicProps;
9
9
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
@@ -16499,7 +16499,7 @@ const UJ = ["id"], dJ = /* @__PURE__ */ Bg({
16499
16499
  cancelButtonBackground: { default: "var(--color-bg-button-secondary-default)" },
16500
16500
  closeOnClickOverlay: { type: Boolean },
16501
16501
  closeOnEsc: { type: Boolean },
16502
- data: { default: null },
16502
+ data: {},
16503
16503
  isValid: { type: Boolean, default: !0 }
16504
16504
  },
16505
16505
  emits: ["action"],
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@v1nt1248/3nclient-lib",
3
3
  "license": "AGPL-3.0-or-later",
4
4
  "author": "v1nt1248",
5
- "version": "0.2.88",
5
+ "version": "0.2.89",
6
6
  "description": "Library for 3NWeb clients",
7
7
  "type": "module",
8
8
  "files": [
@@ -23,12 +23,12 @@ export interface Ui3nDialogComponentProps<V> {
23
23
  cancelButtonBackground?: string;
24
24
  closeOnClickOverlay?: boolean;
25
25
  closeOnEsc?: boolean;
26
- data?: V | null;
26
+ data?: V;
27
27
  isValid?: boolean;
28
28
  }
29
29
 
30
30
  export interface Ui3nDialogComponentEmits<V> {
31
- (event: 'action', value: { event: Ui3nDialogEvent; data?: V | null | Event | undefined }): void;
31
+ (event: 'action', value: { event: Ui3nDialogEvent; data?: V }): void;
32
32
  }
33
33
 
34
34
  export interface Ui3nDialogComponentSlots {
@@ -20,7 +20,6 @@
20
20
  cancelButtonColor: 'var(--color-text-button-secondary-default)',
21
21
  confirmButtonBackground: 'var(--color-bg-button-primary-default)',
22
22
  cancelButtonBackground: 'var(--color-bg-button-secondary-default)',
23
- data: null,
24
23
  isValid: true,
25
24
  },
26
25
  );