@skedulo/breeze-ui 0.9.1 → 0.9.2
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/dist/custom-elements.json +11892 -11842
- package/dist/lib/cjs/breeze-ui.js +235 -225
- package/dist/lib/es/breeze-ui.js +2296 -2276
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/components/inline-edit/inline-edit-controls.d.ts +6 -3
- package/dist/types/components/inline-edit/inline-edit-controls.d.ts.map +1 -1
- package/dist/types/components/inline-edit/inline-edit-field.d.ts +1 -0
- package/dist/types/components/inline-edit/inline-edit-field.d.ts.map +1 -1
- package/dist/types/components/inline-edit/inline-edit-group.d.ts +1 -0
- package/dist/types/components/inline-edit/inline-edit-group.d.ts.map +1 -1
- package/dist/types/components/inline-edit/inline-edit.base.d.ts +1 -0
- package/dist/types/components/inline-edit/inline-edit.base.d.ts.map +1 -1
- package/dist/types/components/inline-edit/inline-edit.const.d.ts +2 -2
- package/dist/types/components/inline-edit/inline-edit.const.d.ts.map +1 -1
- package/dist/types/components/inline-edit/inline-edit.styles.d.ts +1 -0
- package/dist/types/components/inline-edit/inline-edit.styles.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
+
import { InlineEditControlsMode } from './inline-edit.types';
|
|
2
3
|
import '../../layout/flex';
|
|
3
4
|
import '../buttons';
|
|
4
|
-
import { InlineEditControlsMode } from './inline-edit.types';
|
|
5
5
|
/**
|
|
6
6
|
* Renders Save/Cancel buttons for an InlineEditField or InlineEditGroup. This
|
|
7
7
|
* happens automatically, so this component is only useful when you need to
|
|
@@ -9,12 +9,15 @@ import { InlineEditControlsMode } from './inline-edit.types';
|
|
|
9
9
|
*
|
|
10
10
|
* Dispatches events when the Save/Cancel buttons are clicked.
|
|
11
11
|
*
|
|
12
|
-
* @tag brz-inline-edit-controls
|
|
13
|
-
*
|
|
14
12
|
* @fires {InlineEditControlsCancelEvent} brz-inline-edit-controls-cancel When the Cancel button is clicked
|
|
15
13
|
* @fires {InlineEditControlsSaveEvent} brz-inline-edit-controls-save When the Save button is clicked
|
|
14
|
+
*
|
|
15
|
+
* @slot error Something to render below the controls when in "error" mode
|
|
16
|
+
*
|
|
17
|
+
* @tag brz-inline-edit-controls
|
|
16
18
|
*/
|
|
17
19
|
export declare class InlineEditControls extends LitElement {
|
|
20
|
+
static styles: import("lit").CSSResult[];
|
|
18
21
|
/**
|
|
19
22
|
* The current mode of the controls.
|
|
20
23
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-edit-controls.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/inline-edit-controls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"inline-edit-controls.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/inline-edit-controls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAA;AAStC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,mBAAmB,CAAA;AAC1B,OAAO,YAAY,CAAA;AAEnB;;;;;;;;;;;;;GAaG;AACH,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,4BAA6B;IAE1C;;OAEG;IAEH,IAAI,EAAE,sBAAsB,CAAS;IAErC,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,eAAe;IAIvB,MAAM;CA8BP"}
|
|
@@ -28,6 +28,7 @@ import '../tooltip';
|
|
|
28
28
|
*
|
|
29
29
|
* @slot children The "edit" template - Expects a Breeze Input or custom implementation using LabeledInput or RecordField.
|
|
30
30
|
* @slot controls Overrides the field controls. Defaults to save/cancel buttons.
|
|
31
|
+
* @slot error Something to render below the controls when in "error" mode
|
|
31
32
|
* @slot read-mode Overrides the default "read mode" value template
|
|
32
33
|
*
|
|
33
34
|
* @tag brz-inline-edit-field
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-edit-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/inline-edit-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAa1D,OAAO,EACL,UAAU,EACV,aAAa,EAEb,eAAe,EAChB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAOnD,OAAO,KAAK,EAEV,iCAAiC,EAClC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,iBAAiB,CAAA;AACxB,OAAO,YAAY,CAAA;AACnB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,YAAY,CAAA;AACnB,OAAO,SAAS,CAAA;AAChB,OAAO,YAAY,CAAA;AAWnB
|
|
1
|
+
{"version":3,"file":"inline-edit-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/inline-edit-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAa1D,OAAO,EACL,UAAU,EACV,aAAa,EAEb,eAAe,EAChB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAOnD,OAAO,KAAK,EAEV,iCAAiC,EAClC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,iBAAiB,CAAA;AACxB,OAAO,YAAY,CAAA;AACnB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,YAAY,CAAA;AACnB,OAAO,SAAS,CAAA;AAChB,OAAO,YAAY,CAAA;AAWnB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBACa,eAAe,CAAC,SAAS,GAAG,OAAO,CAC9C,SAAQ,cACR,YAAW,eAAe;IAE1B,MAAM,CAAC,MAAM,4BAA0B;IAEvC;;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AkB;IAQ1B,SAAS,CAAC,MAAM,IAAI,cAAc;CAanC"}
|
|
@@ -19,6 +19,7 @@ import { InlineEditGroupReactiveProperties } from './inline-edit.types';
|
|
|
19
19
|
*
|
|
20
20
|
* @slot children One or more InlineEditField components, which can be wrapped in a more complex layout where necessary
|
|
21
21
|
* @slot controls Overrides the group controls. Defaults to save/cancel buttons.
|
|
22
|
+
* @slot error Something to render below the controls when in "error" mode
|
|
22
23
|
*
|
|
23
24
|
* @tag brz-inline-edit-group
|
|
24
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-edit-group.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/inline-edit-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAG1D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAInD,OAAO,EAAE,iCAAiC,EAAE,MAAM,qBAAqB,CAAA;AAEvE
|
|
1
|
+
{"version":3,"file":"inline-edit-group.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/inline-edit-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAG1D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAInD,OAAO,EAAE,iCAAiC,EAAE,MAAM,qBAAqB,CAAA;AAEvE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBACa,eAAgB,SAAQ,cAAc;IACjD,MAAM,CAAC,MAAM,4BAA0B;IAEvC;;;;OAIG;IAEH,UAAU,UAAQ;IAElB;;;;OAIG;IAEH,OAAO,CAAC,MAAM,CAAwB;IAEtC;;OAEG;IACH,OAAO,CAAC,kCAAkC;cAM1B,UAAU;IAI1B;;OAEG;IACH,aAAa,CAAC,KAAK,EAAE,eAAe;IAIpC,SAAS,CAAC,OAAO,CACf,iBAAiB,EAAE,cAAc,CAAC,iCAAiC,CAAC;IA8BtE;;;;OAIG;IACH,OAAO,KAAK,WAAW,GAQtB;IAED,SAAS,CAAC,MAAM,IAAI,cAAc;CAoBnC"}
|
|
@@ -33,6 +33,7 @@ export declare abstract class InlineEditBase extends LitElement {
|
|
|
33
33
|
* Switches the field to saving mode.
|
|
34
34
|
*/
|
|
35
35
|
private setSavingMode;
|
|
36
|
+
private setErrorMode;
|
|
36
37
|
/**
|
|
37
38
|
* Switches the field to saved mode. Automatically reverts to read mode after
|
|
38
39
|
* 5 seconds.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-edit.base.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/inline-edit.base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAEhC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD,8BAAsB,cAAe,SAAQ,UAAU;IACrD;;OAEG;IAEH,MAAM,UAAQ;IAEd;;;;;;;;OAQG;IAEH,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAE1B;;;;OAIG;IAEH,SAAS,CAAC,IAAI,EAAE,cAAc,CAAS;IAEvC;;OAEG;IACH,OAAO,CAAC,WAAW;IAMnB;;OAEG;IACH,OAAO,CAAC,WAAW;IAInB;;OAEG;IACH,OAAO,CAAC,aAAa;IAMrB;;;OAGG;IACH,OAAO,CAAC,YAAY;IAOpB;;;;OAIG;IACH,OAAO,CAAC,OAAO,EAAE,cAAc;
|
|
1
|
+
{"version":3,"file":"inline-edit.base.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/inline-edit.base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAEhC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD,8BAAsB,cAAe,SAAQ,UAAU;IACrD;;OAEG;IAEH,MAAM,UAAQ;IAEd;;;;;;;;OAQG;IAEH,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAE1B;;;;OAIG;IAEH,SAAS,CAAC,IAAI,EAAE,cAAc,CAAS;IAEvC;;OAEG;IACH,OAAO,CAAC,WAAW;IAMnB;;OAEG;IACH,OAAO,CAAC,WAAW;IAInB;;OAEG;IACH,OAAO,CAAC,aAAa;IAMrB,OAAO,CAAC,YAAY;IAMpB;;;OAGG;IACH,OAAO,CAAC,YAAY;IAOpB;;;;OAIG;IACH,OAAO,CAAC,OAAO,EAAE,cAAc;IAoB/B,SAAS,CAAC,QAAQ,CAAC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;cAE9B,eAAe;IAY/B,SAAS,CAAC,iBAAiB;CAG5B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const INLINE_EDIT_FIELD: "brz-inline-edit-field";
|
|
2
2
|
export declare const INLINE_EDIT_GROUP: "brz-inline-edit-group";
|
|
3
3
|
export declare const INLINE_EDIT_CONTROLS: "brz-inline-edit-controls";
|
|
4
|
-
export declare const inlineEditControlsModes: readonly ["edit", "saving"];
|
|
5
|
-
export declare const inlineEditModes: readonly ["read", "saved", "edit", "saving"];
|
|
4
|
+
export declare const inlineEditControlsModes: readonly ["edit", "saving", "error"];
|
|
5
|
+
export declare const inlineEditModes: readonly ["read", "saved", "edit", "saving", "error"];
|
|
6
6
|
//# sourceMappingURL=inline-edit.const.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-edit.const.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/inline-edit.const.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,yBAAyC,CAAA;AACvE,eAAO,MAAM,iBAAiB,yBAAyC,CAAA;AACvE,eAAO,MAAM,oBAAoB,4BAA4C,CAAA;AAE7E,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"inline-edit.const.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/inline-edit.const.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,yBAAyC,CAAA;AACvE,eAAO,MAAM,iBAAiB,yBAAyC,CAAA;AACvE,eAAO,MAAM,oBAAoB,4BAA4C,CAAA;AAE7E,eAAO,MAAM,uBAAuB,sCAAuC,CAAA;AAE3E,eAAO,MAAM,eAAe,uDAIlB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-edit.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/inline-edit.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"inline-edit.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/inline-edit.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,yBA8FjC,CAAA;AAED,eAAO,MAAM,qBAAqB,yBASjC,CAAA;AAED,eAAO,MAAM,wBAAwB,yBAQpC,CAAA"}
|