@skedulo/breeze-ui 0.8.7 → 0.9.1
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 +2054 -522
- package/dist/lib/cjs/breeze-ui.js +736 -482
- package/dist/lib/es/breeze-ui.js +10111 -9362
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/components/buttons.d.ts +5 -1
- package/dist/types/components/buttons.d.ts.map +1 -1
- package/dist/types/components/form-elements/input-base.d.ts +4 -3
- package/dist/types/components/form-elements/input-base.d.ts.map +1 -1
- package/dist/types/components/form-elements/input-checkbox.d.ts +5 -0
- package/dist/types/components/form-elements/input-checkbox.d.ts.map +1 -1
- package/dist/types/components/form-elements/input-code.d.ts +2 -1
- package/dist/types/components/form-elements/input-code.d.ts.map +1 -1
- package/dist/types/components/form-elements/input-select-base.d.ts +2 -1
- package/dist/types/components/form-elements/input-select-base.d.ts.map +1 -1
- package/dist/types/components/form-elements/labeled-input.d.ts +14 -16
- package/dist/types/components/form-elements/labeled-input.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/inline-edit/index.d.ts +7 -0
- package/dist/types/components/inline-edit/index.d.ts.map +1 -0
- package/dist/types/components/inline-edit/inline-edit-controls.d.ts +26 -0
- package/dist/types/components/inline-edit/inline-edit-controls.d.ts.map +1 -0
- package/dist/types/components/inline-edit/inline-edit-field.d.ts +202 -0
- package/dist/types/components/inline-edit/inline-edit-field.d.ts.map +1 -0
- package/dist/types/components/inline-edit/inline-edit-group.d.ts +57 -0
- package/dist/types/components/inline-edit/inline-edit-group.d.ts.map +1 -0
- package/dist/types/components/inline-edit/inline-edit.base.d.ts +51 -0
- package/dist/types/components/inline-edit/inline-edit.base.d.ts.map +1 -0
- package/dist/types/components/inline-edit/inline-edit.const.d.ts +6 -0
- package/dist/types/components/inline-edit/inline-edit.const.d.ts.map +1 -0
- package/dist/types/components/inline-edit/inline-edit.events.d.ts +32 -0
- package/dist/types/components/inline-edit/inline-edit.events.d.ts.map +1 -0
- package/dist/types/components/inline-edit/inline-edit.styles.d.ts +3 -0
- package/dist/types/components/inline-edit/inline-edit.styles.d.ts.map +1 -0
- package/dist/types/components/inline-edit/inline-edit.types.d.ts +45 -0
- package/dist/types/components/inline-edit/inline-edit.types.d.ts.map +1 -0
- package/dist/types/components/record-field/index.d.ts +5 -0
- package/dist/types/components/record-field/index.d.ts.map +1 -0
- package/dist/types/components/record-field/record-field-label.d.ts +22 -0
- package/dist/types/components/record-field/record-field-label.d.ts.map +1 -0
- package/dist/types/components/record-field/record-field.const.d.ts +5 -0
- package/dist/types/components/record-field/record-field.const.d.ts.map +1 -0
- package/dist/types/components/record-field/record-field.d.ts +67 -0
- package/dist/types/components/record-field/record-field.d.ts.map +1 -0
- package/dist/types/components/record-field/record-field.styles.d.ts +4 -0
- package/dist/types/components/record-field/record-field.styles.d.ts.map +1 -0
- package/dist/types/components/record-field/record-field.types.d.ts +27 -0
- package/dist/types/components/record-field/record-field.types.d.ts.map +1 -0
- package/dist/types/components/record-row.d.ts +8 -7
- package/dist/types/components/record-row.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -40,7 +40,11 @@ export type ButtonType = typeof buttonTypes[number];
|
|
|
40
40
|
* functionality such as confirming actions, filtering, opening dialogs, adding or deleting
|
|
41
41
|
* selections, and progressing through processes.
|
|
42
42
|
*
|
|
43
|
-
* @
|
|
43
|
+
* @csspart button Apply custom styles to the button element
|
|
44
|
+
* @csspart contents Apply custom styles to the content container
|
|
45
|
+
* @csspart icon-right Apply custom styles to a trailing icon
|
|
46
|
+
*
|
|
47
|
+
* @fires {ButtonEvent} brz-button-click Fired when the button is clicked
|
|
44
48
|
*
|
|
45
49
|
* @tag brz-button
|
|
46
50
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../src/components/buttons.ts"],"names":[],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,GAgBzB;IAED;;OAEG;IACH,OAAO,KAAK,cAAc,GAYzB;IAED;;OAEG;IACH,OAAO,KAAK,aAAa,GA0BxB;IAED,MAAM;CAUP;AAGD;;;;GAIG;AACH,qBACa,WAAY,SAAQ,UAAU;IACzC,MAAM,CAAC,MAAM,0BAiBZ;IAGD,OAAO,UAAQ;IAEf,MAAM;CAKP"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
2
|
export interface BaseInputChangeEventPayload<ValueType = string> {
|
|
3
3
|
value?: ValueType;
|
|
4
4
|
}
|
|
@@ -16,7 +16,8 @@ export interface IInputBaseAttributes<ValueType = string> {
|
|
|
16
16
|
*
|
|
17
17
|
* @fires {InputChangeEvent} brz-input-change Fires when the input value has changed, and carries the new value.
|
|
18
18
|
*/
|
|
19
|
-
export declare class InputBase<ValueType = string> extends LitElement {
|
|
19
|
+
export declare abstract class InputBase<ValueType = string> extends LitElement {
|
|
20
|
+
static shadowRootOptions: ShadowRootInit;
|
|
20
21
|
/**
|
|
21
22
|
* Disables the input field
|
|
22
23
|
*/
|
|
@@ -64,6 +65,6 @@ export declare class InputBase<ValueType = string> extends LitElement {
|
|
|
64
65
|
* the main render cycle to ensure that it always has the most up to date values.
|
|
65
66
|
*/
|
|
66
67
|
updateProxyInput(): void;
|
|
67
|
-
updated(
|
|
68
|
+
updated(changedProperties: PropertyValues): void;
|
|
68
69
|
}
|
|
69
70
|
//# sourceMappingURL=input-base.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-base.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/input-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"input-base.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/input-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAGhD,MAAM,WAAW,2BAA2B,CAAC,SAAS,GAAG,MAAM;IAC7D,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB;AAED,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,CAAA;AAEhD,MAAM,WAAW,oBAAoB,CAAC,SAAS,GAAG,MAAM;IACtD,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED;;;;;GAKG;AACH,8BAAsB,SAAS,CAAC,SAAS,GAAG,MAAM,CAAE,SAAQ,UAAU;IACpE,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAGvC;IAED;;OAEG;IAEH,QAAQ,UAAQ;IAEhB;;OAEG;IAEH,OAAO,UAAQ;IAEf;;OAEG;IAEH,IAAI,SAAK;IAET;;OAEG;IAEH,EAAE,SAAU;IAEZ;;OAEG;IAEH,KAAK,CAAC,EAAE,SAAS,CAAA;IAEjB;;OAEG;IAEH,UAAU,CAAC,EAAE,gBAAgB,CAAA;IAE7B;;OAEG;IAEH,QAAQ,UAAQ;IAEhB,iBAAiB;IAKjB,OAAO,CAAC,CAAC,EAAE;QAAE,MAAM,EAAE;YAAE,KAAK,EAAE,SAAS,CAAA;SAAE,CAAA;KAAE;IAK3C;;OAEG;IACH,cAAc;IASd;;OAEG;IACH,gBAAgB;IAQhB;;;OAGG;IACH,gBAAgB;IAUhB,OAAO,CAAC,iBAAiB,EAAE,cAAc;CAI1C"}
|
|
@@ -34,6 +34,11 @@ export declare class InputCheckbox extends InputBase<string> {
|
|
|
34
34
|
*/
|
|
35
35
|
checked: boolean;
|
|
36
36
|
disabled: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Set the value to be associated with the checkbox, if needed. Native
|
|
39
|
+
* checkbox input values always default to "on".
|
|
40
|
+
*/
|
|
41
|
+
value: string;
|
|
37
42
|
/**
|
|
38
43
|
* Puts the checkbox into indeterminate state
|
|
39
44
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/input-checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,MAAM,KAAK,CAAA;AAI/C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAC9D,OAAO,SAAS,CAAA;AAEhB,eAAO,MAAM,cAAc,sBAAsC,CAAA;AAEjE,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,0BAA0B,CAAC,CAAA;AAEzE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,aAAa,EAAE,wBAAwB,CAAC,CAAA;SACpE;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,cAAc,CAAC,EAAE,aAAa,CAAA;KAChC;CACF;AAED,UAAU,0BAA0B;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,aAAa,EAAE,OAAO,CAAA;CACvB;AAED,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB;IACpE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAQD;;;;GAIG;AACH,qBACa,aAAc,SAAQ,SAAS,CAAC,MAAM,CAAC;IAClD,MAAM,CAAC,MAAM,4BAkFZ;IAED;;OAEG;IAEH,OAAO,UAAQ;IAGf,QAAQ,UAAQ;IAEhB;;OAEG;IAEH,aAAa,UAAQ;IAErB;;OAEG;IAEH,OAAO,CAAC,aAAa,CAAwB;IAE7C;;OAEG;IA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,OAAO,CAAC,aAAa,CAAwB;IAE7C;;OAEG;IAEH,OAAO,CAAC,YAAY,CAAgC;IAEpD,gBAAgB;IAYhB,cAAc,CAAC,CAAC,EAAE,aAAa;IAK/B,OAAO;IA0BP,OAAO,IAAI,cAAc,GAAG,SAAS;IAcrC,YAAY;IAQZ,MAAM;CAiCP"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
1
2
|
import Code from 'codemirror';
|
|
2
3
|
import { IInputTextBaseAttributes, InputTextBase } from './input-text-base';
|
|
3
4
|
import { InputSizes } from './labeled-input';
|
|
@@ -59,7 +60,7 @@ export declare class InputCode extends InputTextBase<string> {
|
|
|
59
60
|
/**
|
|
60
61
|
* Ensures the editor content is always up to date with the supplied props
|
|
61
62
|
*/
|
|
62
|
-
updated(): void;
|
|
63
|
+
updated(changedProperties: PropertyValues): void;
|
|
63
64
|
/**
|
|
64
65
|
* Get the internal editor value from codemirror
|
|
65
66
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-code.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/input-code.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input-code.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/input-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,cAAc,EAAE,MAAM,KAAK,CAAA;AAC1D,OAAO,IAAmC,MAAM,YAAY,CAAA;AAM5D,OAAO,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,+BAA+B,CAAA;AACtC,OAAO,+BAA+B,CAAA;AACtC,OAAO,yBAAyB,CAAA;AAChC,OAAO,uCAAuC,CAAA;AAC9C,OAAO,qCAAqC,CAAA;AAC5C,OAAO,2BA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import { PropertyValues } from 'lit';
|
|
1
2
|
import { MenuItem, DropdownMenu, MenuSelectEvent, MenuItemSelectEvent } from '../menu';
|
|
2
3
|
import { VirtualList } from '../virtual-list';
|
|
3
4
|
import { IInputTextBaseAttributes, InputTextBase } from './input-text-base';
|
|
@@ -91,7 +92,7 @@ export declare class InputSelectBase<FieldValue = unknown[] | unknown, OptionVal
|
|
|
91
92
|
/**
|
|
92
93
|
* Ensures the editor content is always up to date with the supplied props
|
|
93
94
|
*/
|
|
94
|
-
updated(changedProperties:
|
|
95
|
+
updated(changedProperties: PropertyValues): void;
|
|
95
96
|
/**
|
|
96
97
|
* Gets the label of a dropdown item as a string
|
|
97
98
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-select-base.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/input-select-base.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input-select-base.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/input-select-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,MAAM,KAAK,CAAA;AAI/C,OAAO,EACL,QAAQ,EAER,YAAY,EACZ,eAAe,EACf,mBAAmB,EACpB,MAAM,SAAS,CAAA;AAChB,OAAO,EAAgB,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAC3D,OAAO,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAC3E,OAAO,SAAS,CAAA;AAChB,OAAO,YAAY,CAAA;AAEnB,eAAO,MAAM,iBAAiB,kBAAkB,CAAA;AAEhD,MAAM,WAAW,0BAA0B,CAAC,CAAC,CAC3C,SAAQ,wBAAwB,CAAC,CAAC,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,gBAAgB,CA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;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,eAAe;IAIzC;;OAEG;IACH,SAAS,CAAC,gBAAgB,CAAC,CAAC,EAAE,mBAAmB;IAIjD;;OAEG;IACH,SAAS,CAAC,iBAAiB;IAI3B;;OAEG;IACH,SAAS,CAAC,gBAAgB,CAAC,KAAK,EAAE,UAAU;IAU5C;;OAEG;IACH,SAAS,KAAK,eAAe,YAE5B;IAED;;OAEG;IACH,SAAS,KAAK,YAAY,YAEzB;IAED;;OAEG;IACH,SAAS,KAAK,OAAO,IAAI,OAAO,CAE/B;IAED;;OAEG;IACH,SAAS,KAAK,oBAAoB,IAAI,OAAO,CAE5C;CACF;AAED;;GAEG;AACH,qBAAa,2BAA2B,CACtC,MAAM,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAC3B,SAAQ,WAAW,CAAC,MAAM,CAAC;gBAEzB,OAAO,GAAE,qBAAqB,CAAC,OAAO,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAM;CAQrE"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
2
|
+
import { RecordFieldLabel, InputSizes, LabelPosition, RecordFieldImpl } from '../record-field';
|
|
3
3
|
import { InputBase, IInputBaseAttributes } from './input-base';
|
|
4
4
|
import type { JSXProps } from '../../types';
|
|
5
5
|
import './input-guide';
|
|
6
6
|
import './input-error';
|
|
7
|
+
export { type InputSizes } from '../record-field';
|
|
7
8
|
export declare const LABELED_INPUT: "brz-labeled-input";
|
|
8
9
|
export declare const INPUT_LABEL: "brz-input-label";
|
|
9
10
|
declare global {
|
|
@@ -18,10 +19,6 @@ declare global {
|
|
|
18
19
|
[LABELED_INPUT]: LabeledInput<unknown>;
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
|
-
export declare const inputSizes: readonly ["x-small", "small", "medium", "large", "x-large", "auto", "full"];
|
|
22
|
-
export type InputSizes = typeof inputSizes[number];
|
|
23
|
-
export declare const labelPositions: readonly ["side", "top"];
|
|
24
|
-
export type LabelPosition = typeof labelPositions[number];
|
|
25
22
|
export interface ILabeledInputAttributes<T> extends IInputBaseAttributes<T> {
|
|
26
23
|
'label-position'?: LabelPosition;
|
|
27
24
|
required?: boolean;
|
|
@@ -39,7 +36,7 @@ export interface ILabeledInputAttributes<T> extends IInputBaseAttributes<T> {
|
|
|
39
36
|
*
|
|
40
37
|
* @tag brz-labeled-input
|
|
41
38
|
*/
|
|
42
|
-
export declare class LabeledInput<T> extends InputBase<T> {
|
|
39
|
+
export declare class LabeledInput<T> extends InputBase<T> implements RecordFieldImpl {
|
|
43
40
|
static styles: import("lit").CSSResult[];
|
|
44
41
|
/**
|
|
45
42
|
* Makes the field go into a required state
|
|
@@ -53,10 +50,6 @@ export declare class LabeledInput<T> extends InputBase<T> {
|
|
|
53
50
|
* The size of the input
|
|
54
51
|
*/
|
|
55
52
|
size: InputSizes;
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
protected hasLabel: boolean;
|
|
60
53
|
/**
|
|
61
54
|
* @internal
|
|
62
55
|
*/
|
|
@@ -65,8 +58,13 @@ export declare class LabeledInput<T> extends InputBase<T> {
|
|
|
65
58
|
* @internal
|
|
66
59
|
*/
|
|
67
60
|
protected hasError: boolean;
|
|
68
|
-
|
|
69
|
-
|
|
61
|
+
/** @internal */
|
|
62
|
+
private hasLabel;
|
|
63
|
+
/** @internal */
|
|
64
|
+
private label;
|
|
65
|
+
/** @internal */
|
|
66
|
+
private prompt;
|
|
67
|
+
updated(changedProperties: PropertyValues): void;
|
|
70
68
|
handleErrorChange(): void;
|
|
71
69
|
renderInput(): TemplateResult | null;
|
|
72
70
|
/**
|
|
@@ -81,10 +79,10 @@ export declare class LabeledInput<T> extends InputBase<T> {
|
|
|
81
79
|
/**
|
|
82
80
|
* Input label component
|
|
83
81
|
*
|
|
82
|
+
* @deprecated Use brz-record-field-label
|
|
83
|
+
*
|
|
84
84
|
* @tag brz-input-label
|
|
85
85
|
*/
|
|
86
|
-
export declare class InputLabel extends
|
|
87
|
-
static styles: import("lit").CSSResult;
|
|
88
|
-
render(): TemplateResult<1>;
|
|
86
|
+
export declare class InputLabel extends RecordFieldLabel {
|
|
89
87
|
}
|
|
90
88
|
//# sourceMappingURL=labeled-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"labeled-input.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/labeled-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,
|
|
1
|
+
{"version":3,"file":"labeled-input.d.ts","sourceRoot":"","sources":["../../../../src/components/form-elements/labeled-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAA;AAI/D,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,eAAe,EAChB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,eAAe,CAAA;AACtB,OAAO,eAAe,CAAA;AAEtB,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,eAAO,MAAM,aAAa,qBAAqC,CAAA;AAC/D,eAAO,MAAM,WAAW,mBAAmC,CAAA;AAE3D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAA;YACnC,CAAC,aAAa,CAAC,EAAE,QAAQ,CACvB,YAAY,CAAC,OAAO,CAAC,EACrB,uBAAuB,CAAC,OAAO,CAAC,CACjC,CAAA;SACF;KACF;IAED,UAAU,qBAAqB;QAC7B,CAAC,WAAW,CAAC,EAAE,UAAU,CAAA;QACzB,CAAC,aAAa,CAAC,EAAE,YAAY,CAAC,OAAO,CAAC,CAAA;KACvC;CACF;AAkBD,MAAM,WAAW,uBAAuB,CAAC,CAAC,CAAE,SAAQ,oBAAoB,CAAC,CAAC,CAAC;IACzE,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB;AAED;;;;;;;;;;;GAWG;AACH,qBACa,YAAY,CAAC,CAAC,CAAE,SAAQ,SAAS,CAAC,CAAC,CAAE,YAAW,eAAe;IAC1E,MAAM,CAAC,MAAM,4BAWZ;IAED;;OAEG;IAEH,QAAQ,UAAQ;IAEhB;;OAEG;IAEH,aAAa,EAAE,aAAa,CAAQ;IAEpC;;OAEG;IAEH,IAAI,EAAE,UAAU,CAAW;IAE3B;;OAEG;IAEH,SAAS,CAAC,SAAS,UAAQ;IAE3B;;OAEG;IAEH,SAAS,CAAC,QAAQ,UAAQ;IAE1B,gBAAgB;IACP,OAAO,CAAC,QAAQ,CAAQ;IAEjC,gBAAgB;IAEhB,OAAO,CAAC,KAAK,CAAgB;IAE7B,gBAAgB;IAEhB,OAAO,CAAC,MAAM,CAAgB;IAE9B,OAAO,CAAC,iBAAiB,EAAE,cAAc;IAMzC,iBAAiB;IAOjB,WAAW,IAAI,cAAc,GAAG,IAAI;IAIpC;;;;OAIG;IACH,oBAAoB;IAIpB,WAAW,IAAI,cAAc,GAAG,IAAI;IAIpC,MAAM;CAqCP;AAED;;;;;;GAMG;AACH,qBACa,UAAW,SAAQ,gBAAgB;CAAG"}
|
|
@@ -6,6 +6,7 @@ export * from './dropdown-button';
|
|
|
6
6
|
export * from './form-elements';
|
|
7
7
|
export * from './heading';
|
|
8
8
|
export * from './icon';
|
|
9
|
+
export * from './inline-edit';
|
|
9
10
|
export * from './links';
|
|
10
11
|
export * from './loading';
|
|
11
12
|
export * from './lozenge';
|
|
@@ -13,6 +14,7 @@ export * from './menu';
|
|
|
13
14
|
export * from './modal';
|
|
14
15
|
export * from './navigation';
|
|
15
16
|
export * from './popover';
|
|
17
|
+
export * from './record-field';
|
|
16
18
|
export * from './record-row';
|
|
17
19
|
export * from './tabs';
|
|
18
20
|
export * from './tooltip';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './inline-edit-controls';
|
|
2
|
+
export * from './inline-edit-group';
|
|
3
|
+
export * from './inline-edit-field';
|
|
4
|
+
export * from './inline-edit.const';
|
|
5
|
+
export * from './inline-edit.types';
|
|
6
|
+
export * from './inline-edit.events';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-edit/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../../layout/flex';
|
|
3
|
+
import '../buttons';
|
|
4
|
+
import { InlineEditControlsMode } from './inline-edit.types';
|
|
5
|
+
/**
|
|
6
|
+
* Renders Save/Cancel buttons for an InlineEditField or InlineEditGroup. This
|
|
7
|
+
* happens automatically, so this component is only useful when you need to
|
|
8
|
+
* make layout customizations and reimplement it.
|
|
9
|
+
*
|
|
10
|
+
* Dispatches events when the Save/Cancel buttons are clicked.
|
|
11
|
+
*
|
|
12
|
+
* @tag brz-inline-edit-controls
|
|
13
|
+
*
|
|
14
|
+
* @fires {InlineEditControlsCancelEvent} brz-inline-edit-controls-cancel When the Cancel button is clicked
|
|
15
|
+
* @fires {InlineEditControlsSaveEvent} brz-inline-edit-controls-save When the Save button is clicked
|
|
16
|
+
*/
|
|
17
|
+
export declare class InlineEditControls extends LitElement {
|
|
18
|
+
/**
|
|
19
|
+
* The current mode of the controls.
|
|
20
|
+
*/
|
|
21
|
+
mode: InlineEditControlsMode;
|
|
22
|
+
private handleCancelClick;
|
|
23
|
+
private handleSaveClick;
|
|
24
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=inline-edit-controls.d.ts.map
|
|
@@ -0,0 +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;AAItC,OAAO,mBAAmB,CAAA;AAC1B,OAAO,YAAY,CAAA;AAKnB,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAE5D;;;;;;;;;;;GAWG;AACH,qBACa,kBAAmB,SAAQ,UAAU;IAChD;;OAEG;IAEH,IAAI,EAAE,sBAAsB,CAAS;IAErC,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,eAAe;IAIvB,MAAM;CA4BP"}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
2
|
+
import { InputSizes, LabelPosition, RecordFieldImpl } from '../record-field';
|
|
3
|
+
import { InlineEditBase } from './inline-edit.base';
|
|
4
|
+
import type { InlineEditFieldReactiveProperties } from './inline-edit.types';
|
|
5
|
+
import '../record-field';
|
|
6
|
+
import '../buttons';
|
|
7
|
+
import '../../layout/flex';
|
|
8
|
+
import '../lozenge';
|
|
9
|
+
import '../icon';
|
|
10
|
+
import '../tooltip';
|
|
11
|
+
/**
|
|
12
|
+
* Toggles a read/edit layout for the value of a given form field.
|
|
13
|
+
*
|
|
14
|
+
* Expects to wrap a Breeze Input component, or custom solution wrapped in a
|
|
15
|
+
* LabeledInput or RecordField.
|
|
16
|
+
*
|
|
17
|
+
* @csspart read-mode-label Apply custom styles to the label text in read-mode
|
|
18
|
+
* @csspart read-mode-value-button Apply custom styles to the value button in read-mode
|
|
19
|
+
*
|
|
20
|
+
* @fires {InlineEditFieldBroadcastEvent} brz-inline-edit-field-broadcast When the read-mode button is clicked
|
|
21
|
+
* @fires {InlineEditFieldModeChangeEvent} brz-inline-edit-field-mode-change When the field mode changes
|
|
22
|
+
*
|
|
23
|
+
* @listens {InlineEditControlsCancelEvent} brz-inline-edit-controls-cancel
|
|
24
|
+
* @listens {InlineEditControlsSaveEvent} brz-inline-edit-controls-save
|
|
25
|
+
*
|
|
26
|
+
* @see InlineEditControls
|
|
27
|
+
* @see InlineEditGroup
|
|
28
|
+
*
|
|
29
|
+
* @slot children The "edit" template - Expects a Breeze Input or custom implementation using LabeledInput or RecordField.
|
|
30
|
+
* @slot controls Overrides the field controls. Defaults to save/cancel buttons.
|
|
31
|
+
* @slot read-mode Overrides the default "read mode" value template
|
|
32
|
+
*
|
|
33
|
+
* @tag brz-inline-edit-field
|
|
34
|
+
*/
|
|
35
|
+
export declare class InlineEditField<ValueType = unknown> extends InlineEditBase implements RecordFieldImpl {
|
|
36
|
+
static styles: import("lit").CSSResult[];
|
|
37
|
+
/**
|
|
38
|
+
* A controlled field defers the `mode` state management to an external
|
|
39
|
+
* controller, usually an `InlineEditGroup`.
|
|
40
|
+
*/
|
|
41
|
+
controlled: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Truncates the field value in read mode.
|
|
44
|
+
*/
|
|
45
|
+
truncate: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Stores the label position derived from a wrapped Breeze Input.
|
|
48
|
+
*
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
labelPosition: LabelPosition;
|
|
52
|
+
/**
|
|
53
|
+
* Stores the size derived from a wrapped Breeze Input.
|
|
54
|
+
*
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
size: InputSizes;
|
|
58
|
+
/**
|
|
59
|
+
* Stores the value derived from a wrapped Breeze Input.
|
|
60
|
+
*
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
private value?;
|
|
64
|
+
/**
|
|
65
|
+
* Stores the options derived from a wrapped Breeze Input, if supported.
|
|
66
|
+
*
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
private options;
|
|
70
|
+
/**
|
|
71
|
+
* Stores a reference to the slotted label of a wrapped input.
|
|
72
|
+
*
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
private label?;
|
|
76
|
+
/** @internal */
|
|
77
|
+
private hasLabel;
|
|
78
|
+
/** @internal */
|
|
79
|
+
private isValueOverflowing;
|
|
80
|
+
/** @internal */
|
|
81
|
+
private valueElement?;
|
|
82
|
+
connectedCallback(): void;
|
|
83
|
+
protected updated(changedProperties: PropertyValues<InlineEditFieldReactiveProperties>): void;
|
|
84
|
+
/**
|
|
85
|
+
* Applies the overflowing state based on the rendered height of the value
|
|
86
|
+
* element. Line height is 20px so when it hits double line height we can
|
|
87
|
+
* assume that it's a multiline text value and needs extra padding.
|
|
88
|
+
*
|
|
89
|
+
* @private
|
|
90
|
+
*/
|
|
91
|
+
private setOverflowingState;
|
|
92
|
+
/**
|
|
93
|
+
* To avoid repetition, we extract the values of common properties from the
|
|
94
|
+
* wrapped Breeze Input and store them in state.
|
|
95
|
+
*/
|
|
96
|
+
private setStateFromInputElement;
|
|
97
|
+
/**
|
|
98
|
+
* Sets the options state from the children of supporting input elements.
|
|
99
|
+
*/
|
|
100
|
+
private setOptionsFromChildren;
|
|
101
|
+
/**
|
|
102
|
+
* If the field is controlled and unlocked, an event is emitted. Otherwise the
|
|
103
|
+
* mode is toggled internally.
|
|
104
|
+
*
|
|
105
|
+
* Finally, attempts to focus the wrapped input after the template switches.
|
|
106
|
+
*/
|
|
107
|
+
private handleValueClick;
|
|
108
|
+
/**
|
|
109
|
+
* Looks for and returns the default slotted field element, which is rendered
|
|
110
|
+
* in edit mode.
|
|
111
|
+
*
|
|
112
|
+
* We typically expect this to be a Breeze Input, or a custom implementation
|
|
113
|
+
* that wraps an input inside LabeledInput or RecordField. This is because the
|
|
114
|
+
* InlineEditField internals depend on the common interface they all share, so
|
|
115
|
+
* we throw errors here if the component has been used incorrectly.
|
|
116
|
+
*
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
private get fieldElement();
|
|
120
|
+
/**
|
|
121
|
+
* Looks for and returns the slotted input element used for edit mode.
|
|
122
|
+
*
|
|
123
|
+
* Sometimes it is necessary to wrap an input in a RecordField for consistent
|
|
124
|
+
* layouts (e.g. InputCheckbox is self-labelling so does not extend from
|
|
125
|
+
* LabeledInput like the others).
|
|
126
|
+
*
|
|
127
|
+
* Here we check if the default slotted element is a RecordField, and if so
|
|
128
|
+
* drill further to find the underlying input element.
|
|
129
|
+
*
|
|
130
|
+
* @internal
|
|
131
|
+
*/
|
|
132
|
+
private get inputElement();
|
|
133
|
+
/**
|
|
134
|
+
* Handles cases where a RecordField is used to wrap inputs that are usually
|
|
135
|
+
* self-labelling, such as InputCheckbox. To avoid wonky layouts we grab the
|
|
136
|
+
* label from its default slot then slot it into the RecordField's label slot.
|
|
137
|
+
*/
|
|
138
|
+
private generateFieldLabelSlot;
|
|
139
|
+
/**
|
|
140
|
+
* Handles displaying friendly, readable values for different input types.
|
|
141
|
+
*
|
|
142
|
+
* When the value is actually a list (e.g. multiselect) we try to extract the
|
|
143
|
+
* underlying value label from the input's options list, if present.
|
|
144
|
+
*
|
|
145
|
+
* List values are always parsed and separated into something readable.
|
|
146
|
+
*
|
|
147
|
+
* Checkbox values are typically not "useful" to read outside of a database,
|
|
148
|
+
* so instead we look at the `checked` boolean property and return that as a
|
|
149
|
+
* readable string.
|
|
150
|
+
*
|
|
151
|
+
* @internal
|
|
152
|
+
*/
|
|
153
|
+
private get friendlyValue();
|
|
154
|
+
/**
|
|
155
|
+
* Renders a Select/Multiselect value into a Lozenge
|
|
156
|
+
*/
|
|
157
|
+
private getSelectValueTemplate;
|
|
158
|
+
/**
|
|
159
|
+
* Renders a Checkbox value into a Lozenge
|
|
160
|
+
*/
|
|
161
|
+
private getCheckboxValueTemplate;
|
|
162
|
+
/**
|
|
163
|
+
* Queries the Shadow DOM of a wrapped Breeze Input to extract and return the
|
|
164
|
+
* element assigned to its `label` slot. This enables us to store a reference
|
|
165
|
+
* in state and clone the element into the `read` template.
|
|
166
|
+
*
|
|
167
|
+
* @internal
|
|
168
|
+
*/
|
|
169
|
+
private get slottedInputLabel();
|
|
170
|
+
/**
|
|
171
|
+
* Invokes a field-level save function if present, otherwise uses a group save
|
|
172
|
+
* function.
|
|
173
|
+
*/
|
|
174
|
+
protected handleSave(): Promise<void>;
|
|
175
|
+
/**
|
|
176
|
+
* The layout to render in read mode.
|
|
177
|
+
*
|
|
178
|
+
* @internal
|
|
179
|
+
*/
|
|
180
|
+
private get readModeTemplate();
|
|
181
|
+
/**
|
|
182
|
+
* The template to render in edit mode. This is just a default slot, and we
|
|
183
|
+
* expect it to be a Breeze Input or LabeledInput.
|
|
184
|
+
*
|
|
185
|
+
* @internal
|
|
186
|
+
*/
|
|
187
|
+
private get editModeTemplate();
|
|
188
|
+
/**
|
|
189
|
+
* Returns the closest ancestor InlineEditGroup, if there is one.
|
|
190
|
+
*
|
|
191
|
+
* @internal
|
|
192
|
+
*/
|
|
193
|
+
private get group();
|
|
194
|
+
/**
|
|
195
|
+
* Dispatches an event containing a reference to this component and its
|
|
196
|
+
* current mode. Groups listen for this broadcast to know when to trigger
|
|
197
|
+
* their controlled fields to change mode.
|
|
198
|
+
*/
|
|
199
|
+
private emitBroadcastEvent;
|
|
200
|
+
protected render(): TemplateResult;
|
|
201
|
+
}
|
|
202
|
+
//# sourceMappingURL=inline-edit-field.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBACa,eAAe,CAAC,SAAS,GAAG,OAAO,CAC9C,SAAQ,cACR,YAAW,eAAe;IAE1B,MAAM,CAAC,MAAM,4BAA0B;IAEvC;;;OAGG;IAEH,UAAU,UAAQ;IAElB;;OAEG;IAEH,QAAQ,UAAQ;IAEhB;;;;OAIG;IAEH,aAAa,EAAE,aAAa,CAAQ;IAEpC;;;;OAIG;IAEH,IAAI,EAAE,UAAU,CAAW;IAE3B;;;;OAIG;IAEH,OAAO,CAAC,KAAK,CAAC,CAAW;IAEzB;;;;OAIG;IAEH,OAAO,CAAC,OAAO,CAA+B;IAE9C;;;;OAIG;IACM,OAAO,CAAC,KAAK,CAAC,CAAM;IAE7B,gBAAgB;IACP,OAAO,CAAC,QAAQ,CAAQ;IAEjC,gBAAgB;IACP,OAAO,CAAC,kBAAkB,CAAQ;IAE3C,gBAAgB;IACC,OAAO,CAAC,YAAY,CAAC,CAAiB;IAEvD,iBAAiB;IAQjB,SAAS,CAAC,OAAO,CACf,iBAAiB,EAAE,cAAc,CAAC,iCAAiC,CAAC;IAwBtE;;;;;;OAMG;YACW,mBAAmB;IAOjC;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IA4BhC;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAmB9B;;;;;OAKG;YACW,gBAAgB;IAY9B;;;;;;;;;;OAUG;IACH,OAAO,KAAK,YAAY,GAiBvB;IAED;;;;;;;;;;;OAWG;IACH,OAAO,KAAK,YAAY,GAoBvB;IAED;;;;OAIG;IACH,OAAO,CAAC,sBAAsB;IAmB9B;;;;;;;;;;;;;OAaG;IACH,OAAO,KAAK,aAAa,GAgCxB;IAED;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAQ9B;;OAEG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;;;OAMG;IACH,OAAO,KAAK,iBAAiB,GAE5B;IAED;;;OAGG;cACa,UAAU;IAI1B;;;;OAIG;IACH,OAAO,KAAK,gBAAgB,GA6C3B;IAED;;;;;OAKG;IACH,OAAO,KAAK,gBAAgB,GAyB3B;IAED;;;;OAIG;IACH,OAAO,KAAK,KAAK,GAEhB;IAED;;;;OAIG;IACH,OAAO,CAAC,kBAAkB;IAQ1B,SAAS,CAAC,MAAM,IAAI,cAAc;CAYnC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
2
|
+
import { InlineEditField } from './inline-edit-field';
|
|
3
|
+
import { InlineEditBase } from './inline-edit.base';
|
|
4
|
+
import { InlineEditGroupReactiveProperties } from './inline-edit.types';
|
|
5
|
+
/**
|
|
6
|
+
* Wraps multiple InlineEditField components.
|
|
7
|
+
*
|
|
8
|
+
* Can optionally be made a `controller` group so that all registered fields are
|
|
9
|
+
* toggled at once.
|
|
10
|
+
*
|
|
11
|
+
* @fires {InlineEditGroupModeChangeEvent} brz-inline-edit-group-mode-change When the group mode changes
|
|
12
|
+
*
|
|
13
|
+
* @listens {InlineEditControlsCancelEvent} brz-inline-edit-controls-cancel
|
|
14
|
+
* @listens {InlineEditControlsSaveEvent} brz-inline-edit-controls-save
|
|
15
|
+
* @listens {InlineEditFieldBroadcastEvent} brz-inline-edit-field-broadcast
|
|
16
|
+
*
|
|
17
|
+
* @see InlineEditControls
|
|
18
|
+
* @see InlineEditField
|
|
19
|
+
*
|
|
20
|
+
* @slot children One or more InlineEditField components, which can be wrapped in a more complex layout where necessary
|
|
21
|
+
* @slot controls Overrides the group controls. Defaults to save/cancel buttons.
|
|
22
|
+
*
|
|
23
|
+
* @tag brz-inline-edit-group
|
|
24
|
+
*/
|
|
25
|
+
export declare class InlineEditGroup extends InlineEditBase {
|
|
26
|
+
static styles: import("lit").CSSResult[];
|
|
27
|
+
/**
|
|
28
|
+
* A control group takes responsibility for toggling the mode of all its
|
|
29
|
+
* fields. The fields cannot control their own mode, and instead dispatch an
|
|
30
|
+
* event for the group to react to.
|
|
31
|
+
*/
|
|
32
|
+
controller: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* The InlineEditFields registered to this group
|
|
35
|
+
*
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
private fields;
|
|
39
|
+
/**
|
|
40
|
+
* Toggles all field modes if this is a control group
|
|
41
|
+
*/
|
|
42
|
+
private handleInlineEditFieldViewModeClick;
|
|
43
|
+
protected handleSave(): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* Enables a field to register itself to a group.
|
|
46
|
+
*/
|
|
47
|
+
registerField(field: InlineEditField): void;
|
|
48
|
+
protected updated(changedProperties: PropertyValues<InlineEditGroupReactiveProperties>): void;
|
|
49
|
+
/**
|
|
50
|
+
* Default slot template with a custom event listener attached.
|
|
51
|
+
*
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
private get defaultSlot();
|
|
55
|
+
protected render(): TemplateResult;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=inline-edit-group.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;GAmBG;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"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { InlineEditMode } from './inline-edit.types';
|
|
3
|
+
export declare abstract class InlineEditBase extends LitElement {
|
|
4
|
+
/**
|
|
5
|
+
* When a field or group is locked it cannot enter edit mode.
|
|
6
|
+
*/
|
|
7
|
+
locked: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Function to invoke when the Save button is clicked for a field or group.
|
|
10
|
+
*
|
|
11
|
+
* When a field is controlled by a group, field-level save functions are
|
|
12
|
+
* ignored and the group save function always runs.
|
|
13
|
+
*
|
|
14
|
+
* When a field is within a group but uncontrolled, or outside of a group, it
|
|
15
|
+
* looks for a field-level function first before running a group function.
|
|
16
|
+
*/
|
|
17
|
+
save?: () => Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* The current mode of the field or group.
|
|
20
|
+
*
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
protected mode: InlineEditMode;
|
|
24
|
+
/**
|
|
25
|
+
* Switches the field to edit mode.
|
|
26
|
+
*/
|
|
27
|
+
private setEditMode;
|
|
28
|
+
/**
|
|
29
|
+
* Switches the field to read mode.
|
|
30
|
+
*/
|
|
31
|
+
private setReadMode;
|
|
32
|
+
/**
|
|
33
|
+
* Switches the field to saving mode.
|
|
34
|
+
*/
|
|
35
|
+
private setSavingMode;
|
|
36
|
+
/**
|
|
37
|
+
* Switches the field to saved mode. Automatically reverts to read mode after
|
|
38
|
+
* 5 seconds.
|
|
39
|
+
*/
|
|
40
|
+
private setSavedMode;
|
|
41
|
+
/**
|
|
42
|
+
* Calls the setter for the target mode passed in. Since this method is shared
|
|
43
|
+
* by both fields and groups, it is particularly useful for syncing field
|
|
44
|
+
* modes with the group mode.
|
|
45
|
+
*/
|
|
46
|
+
setMode(newMode: InlineEditMode): void;
|
|
47
|
+
protected abstract handleSave(): Promise<void>;
|
|
48
|
+
protected handleSaveClick(): Promise<void>;
|
|
49
|
+
protected handleCancelClick(): void;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=inline-edit.base.d.ts.map
|
|
@@ -0,0 +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;IAiB/B,SAAS,CAAC,QAAQ,CAAC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;cAE9B,eAAe;IAY/B,SAAS,CAAC,iBAAiB;CAG5B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const INLINE_EDIT_FIELD: "brz-inline-edit-field";
|
|
2
|
+
export declare const INLINE_EDIT_GROUP: "brz-inline-edit-group";
|
|
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"];
|
|
6
|
+
//# sourceMappingURL=inline-edit.const.d.ts.map
|
|
@@ -0,0 +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,6BAA8B,CAAA;AAElE,eAAO,MAAM,eAAe,8CAIlB,CAAA"}
|