@vaadin/crud 23.1.1 → 23.1.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/crud",
3
- "version": "23.1.1",
3
+ "version": "23.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,22 +36,22 @@
36
36
  "dependencies": {
37
37
  "@open-wc/dedupe-mixin": "^1.3.0",
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/button": "^23.1.1",
40
- "@vaadin/component-base": "^23.1.1",
41
- "@vaadin/confirm-dialog": "^23.1.1",
42
- "@vaadin/dialog": "^23.1.1",
43
- "@vaadin/form-layout": "^23.1.1",
44
- "@vaadin/grid": "^23.1.1",
45
- "@vaadin/text-field": "^23.1.1",
39
+ "@vaadin/button": "^23.1.4",
40
+ "@vaadin/component-base": "^23.1.4",
41
+ "@vaadin/confirm-dialog": "^23.1.4",
42
+ "@vaadin/dialog": "^23.1.4",
43
+ "@vaadin/form-layout": "^23.1.4",
44
+ "@vaadin/grid": "^23.1.4",
45
+ "@vaadin/text-field": "^23.1.4",
46
46
  "@vaadin/vaadin-license-checker": "^2.1.0",
47
- "@vaadin/vaadin-lumo-styles": "^23.1.1",
48
- "@vaadin/vaadin-material-styles": "^23.1.1",
49
- "@vaadin/vaadin-themable-mixin": "^23.1.1"
47
+ "@vaadin/vaadin-lumo-styles": "^23.1.4",
48
+ "@vaadin/vaadin-material-styles": "^23.1.4",
49
+ "@vaadin/vaadin-themable-mixin": "^23.1.4"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@esm-bundle/chai": "^4.3.4",
53
53
  "@vaadin/testing-helpers": "^0.3.2",
54
54
  "sinon": "^13.0.2"
55
55
  },
56
- "gitHead": "390458d6519433a2dd502cef90da48e84573a275"
56
+ "gitHead": "0a82302064f1276a000f0cbd810076539407d133"
57
57
  }
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { Constructor } from '@open-wc/dedupe-mixin';
7
7
 
8
- export declare function IncludedMixin<T extends Constructor<HTMLElement>>(base: T): T & Constructor<IncludedMixinClass>;
8
+ export declare function IncludedMixin<T extends Constructor<HTMLElement>>(base: T): Constructor<IncludedMixinClass> & T;
9
9
 
10
10
  export declare class IncludedMixinClass {
11
11
  /**
@@ -15,12 +15,12 @@ export declare class IncludedMixinClass {
15
15
  *
16
16
  * Default is to exclude any private property.
17
17
  */
18
- exclude: string | RegExp | null;
18
+ exclude: RegExp | string | null;
19
19
 
20
20
  /**
21
21
  * A list of item properties that should be mapped to form fields.
22
22
  *
23
23
  * When it is defined [`exclude`](#/elements/vaadin-crud-form#property-exclude) is ignored.
24
24
  */
25
- include: string | string[] | undefined;
25
+ include: string[] | string | undefined;
26
26
  }
@@ -19,7 +19,7 @@ export type CrudDataProviderParams = {
19
19
 
20
20
  export type CrudDataProvider<T> = (params: CrudDataProviderParams, callback: CrudDataProviderCallback<T>) => void;
21
21
 
22
- export type CrudEditorPosition = '' | 'bottom' | 'aside';
22
+ export type CrudEditorPosition = '' | 'aside' | 'bottom';
23
23
 
24
24
  export interface CrudI18n {
25
25
  newItem: string;
@@ -113,7 +113,7 @@ export type CrudCustomEventMap<T> = {
113
113
  save: CrudSaveEvent<T>;
114
114
  };
115
115
 
116
- export type CrudEventMap<T> = HTMLElementEventMap & CrudCustomEventMap<T>;
116
+ export type CrudEventMap<T> = CrudCustomEventMap<T> & HTMLElementEventMap;
117
117
 
118
118
  /**
119
119
  * `<vaadin-crud>` is a Web Component for [CRUD](https://en.wikipedia.org/wiki/Create,_read,_update_and_delete) operations.
@@ -383,13 +383,13 @@ declare class Crud<Item> extends ControllerMixin(ElementMixin(ThemableMixin(HTML
383
383
  addEventListener<K extends keyof CrudEventMap<Item>>(
384
384
  type: K,
385
385
  listener: (this: Crud<Item>, ev: CrudEventMap<Item>[K]) => void,
386
- options?: boolean | AddEventListenerOptions,
386
+ options?: AddEventListenerOptions | boolean,
387
387
  ): void;
388
388
 
389
389
  removeEventListener<K extends keyof CrudEventMap<Item>>(
390
390
  type: K,
391
391
  listener: (this: Crud<Item>, ev: CrudEventMap<Item>[K]) => void,
392
- options?: boolean | EventListenerOptions,
392
+ options?: EventListenerOptions | boolean,
393
393
  ): void;
394
394
  }
395
395