@shoper/phoenix_design_system 1.2.0-6 → 1.2.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/build/cjs/external/lit/external/lit-html/directives/template-content.js +15 -0
- package/build/cjs/{packages/phoenix/src/components/form/input_stepper/input_stepper_constants.js.map → external/lit/external/lit-html/directives/template-content.js.map} +1 -1
- package/build/cjs/packages/phoenix/src/components/dropdown/dropdown.js +4 -18
- package/build/cjs/packages/phoenix/src/components/dropdown/dropdown.js.map +1 -1
- package/build/cjs/packages/phoenix/src/components/dropdown/dropdown_content.js +4 -3
- package/build/cjs/packages/phoenix/src/components/dropdown/dropdown_content.js.map +1 -1
- package/build/cjs/packages/phoenix/src/components/form/select/select.js +9 -2
- package/build/cjs/packages/phoenix/src/components/form/select/select.js.map +1 -1
- package/build/cjs/packages/phoenix/src/components/toggle/toggle.js +43 -0
- package/build/cjs/packages/phoenix/src/components/{form/input_stepper/display_input.js.map → toggle/toggle.js.map} +1 -1
- package/build/cjs/packages/phoenix/src/components/toggle/toggle_button.js +57 -0
- package/build/cjs/packages/phoenix/src/components/toggle/toggle_button.js.map +1 -0
- package/build/cjs/packages/phoenix/src/components/toggle/toggle_constants.js +15 -0
- package/build/cjs/packages/phoenix/src/components/toggle/toggle_constants.js.map +1 -0
- package/build/cjs/packages/phoenix/src/controllers/click_outside_controller/click_outside_controller.js +6 -2
- package/build/cjs/packages/phoenix/src/controllers/click_outside_controller/click_outside_controller.js.map +1 -1
- package/build/cjs/packages/phoenix/src/core/phoenix_light_lit_element/phoenix_light_lit_element.js +16 -3
- package/build/cjs/packages/phoenix/src/core/phoenix_light_lit_element/phoenix_light_lit_element.js.map +1 -1
- package/build/cjs/packages/phoenix/src/index.js +10 -13
- package/build/cjs/packages/phoenix/src/index.js.map +1 -1
- package/build/esm/external/lit/external/lit-html/directives/template-content.js +11 -0
- package/build/esm/{packages/phoenix/src/components/form/input_stepper/input_stepper_constants.js.map → external/lit/external/lit-html/directives/template-content.js.map} +1 -1
- package/build/esm/packages/phoenix/src/components/dropdown/dropdown.d.ts +0 -2
- package/build/esm/packages/phoenix/src/components/dropdown/dropdown.js +4 -18
- package/build/esm/packages/phoenix/src/components/dropdown/dropdown.js.map +1 -1
- package/build/esm/packages/phoenix/src/components/dropdown/dropdown_content.d.ts +1 -0
- package/build/esm/packages/phoenix/src/components/dropdown/dropdown_content.js +4 -3
- package/build/esm/packages/phoenix/src/components/dropdown/dropdown_content.js.map +1 -1
- package/build/esm/packages/phoenix/src/components/form/select/select.js +9 -2
- package/build/esm/packages/phoenix/src/components/form/select/select.js.map +1 -1
- package/build/esm/packages/phoenix/src/components/toggle/toggle.d.ts +11 -0
- package/build/esm/packages/phoenix/src/components/toggle/toggle.js +41 -0
- package/build/esm/packages/phoenix/src/components/toggle/toggle.js.map +1 -0
- package/build/esm/packages/phoenix/src/components/toggle/toggle_button.d.ts +14 -0
- package/build/esm/packages/phoenix/src/components/toggle/toggle_button.js +55 -0
- package/build/esm/packages/phoenix/src/components/{form/input_stepper/display_input.js.map → toggle/toggle_button.js.map} +1 -1
- package/build/esm/packages/phoenix/src/components/toggle/toggle_constants.d.ts +6 -0
- package/build/esm/packages/phoenix/src/components/toggle/toggle_constants.js +9 -0
- package/build/esm/packages/phoenix/src/components/toggle/toggle_constants.js.map +1 -0
- package/build/esm/packages/phoenix/src/components/toggle/toggle_types.d.ts +3 -0
- package/build/esm/packages/phoenix/src/components/toggle/toggle_types.js +2 -0
- package/build/esm/packages/phoenix/src/components/toggle/toggle_types.js.map +1 -0
- package/build/esm/packages/phoenix/src/controllers/click_outside_controller/click_outside_controller.js +6 -2
- package/build/esm/packages/phoenix/src/controllers/click_outside_controller/click_outside_controller.js.map +1 -1
- package/build/esm/packages/phoenix/src/core/phoenix_light_lit_element/phoenix_light_lit_element.d.ts +1 -0
- package/build/esm/packages/phoenix/src/core/phoenix_light_lit_element/phoenix_light_lit_element.js +16 -3
- package/build/esm/packages/phoenix/src/core/phoenix_light_lit_element/phoenix_light_lit_element.js.map +1 -1
- package/build/esm/packages/phoenix/src/index.d.ts +4 -3
- package/build/esm/packages/phoenix/src/index.js +3 -3
- package/package.json +2 -2
- package/build/cjs/packages/phoenix/src/components/form/input_stepper/display_input.js +0 -53
- package/build/cjs/packages/phoenix/src/components/form/input_stepper/input_stepper.js +0 -96
- package/build/cjs/packages/phoenix/src/components/form/input_stepper/input_stepper.js.map +0 -1
- package/build/cjs/packages/phoenix/src/components/form/input_stepper/input_stepper_constants.js +0 -20
- package/build/cjs/packages/phoenix/src/components/form/input_stepper/stepper_action_button.js +0 -39
- package/build/cjs/packages/phoenix/src/components/form/input_stepper/stepper_action_button.js.map +0 -1
- package/build/esm/packages/phoenix/src/components/form/input_stepper/display_input.d.ts +0 -9
- package/build/esm/packages/phoenix/src/components/form/input_stepper/display_input.js +0 -51
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper.d.ts +0 -19
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper.js +0 -94
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper.js.map +0 -1
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper_constants.d.ts +0 -11
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper_constants.js +0 -14
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper_types.d.ts +0 -3
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper_types.js +0 -3
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper_types.js.map +0 -1
- package/build/esm/packages/phoenix/src/components/form/input_stepper/stepper_action_button.d.ts +0 -8
- package/build/esm/packages/phoenix/src/components/form/input_stepper/stepper_action_button.js +0 -37
- package/build/esm/packages/phoenix/src/components/form/input_stepper/stepper_action_button.js.map +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IToggle } from './toggle_types';
|
|
2
|
+
import { PhoenixLightLitElement } from "../../core/phoenix_light_lit_element/phoenix_light_lit_element";
|
|
3
|
+
export declare class HToggle extends PhoenixLightLitElement implements IToggle {
|
|
4
|
+
opened: boolean;
|
|
5
|
+
private _toggleContext;
|
|
6
|
+
private _reactiveOpened;
|
|
7
|
+
private _$content;
|
|
8
|
+
connectedCallback(): void;
|
|
9
|
+
toggle(): void;
|
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { __decorate, __metadata } from '../../../../../external/tslib/tslib.es6.js';
|
|
2
|
+
import { html, nothing } from 'lit';
|
|
3
|
+
import { property } from 'lit/decorators';
|
|
4
|
+
import { PhoenixLightLitElement } from '../../core/phoenix_light_lit_element/phoenix_light_lit_element.js';
|
|
5
|
+
import { phoenixCustomElement } from '../../core/decorators/phoenix_custom_element.js';
|
|
6
|
+
import { BehaviorSubject } from '../../core/classes/behavior_subject/behavior_subject.js';
|
|
7
|
+
import { ContextProviderController } from '../../core/context/context_provider_controller.js';
|
|
8
|
+
import { templateContent as o } from '../../../../../external/lit/external/lit-html/directives/template-content.js';
|
|
9
|
+
import { TOGGLE_CONTEXT_NAME, TOGGLE_EVENT_NAME } from './toggle_constants.js';
|
|
10
|
+
|
|
11
|
+
let HToggle = class HToggle extends PhoenixLightLitElement {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.opened = false;
|
|
15
|
+
}
|
|
16
|
+
connectedCallback() {
|
|
17
|
+
super.connectedCallback();
|
|
18
|
+
this._reactiveOpened = new BehaviorSubject(this.opened);
|
|
19
|
+
this._toggleContext = new ContextProviderController(this);
|
|
20
|
+
this._$content = this.querySelector('template');
|
|
21
|
+
this._toggleContext.provide(TOGGLE_CONTEXT_NAME, this._reactiveOpened);
|
|
22
|
+
this.addEventListener(TOGGLE_EVENT_NAME, this.toggle);
|
|
23
|
+
}
|
|
24
|
+
toggle() {
|
|
25
|
+
this.opened = !this.opened;
|
|
26
|
+
this._reactiveOpened.notify(this.opened);
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
return html `${this.opened && this._$content ? o(this._$content) : nothing}`;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
__decorate([
|
|
33
|
+
property({ type: Boolean, reflect: true }),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], HToggle.prototype, "opened", void 0);
|
|
36
|
+
HToggle = __decorate([
|
|
37
|
+
phoenixCustomElement('h-toggle')
|
|
38
|
+
], HToggle);
|
|
39
|
+
|
|
40
|
+
export { HToggle };
|
|
41
|
+
//# sourceMappingURL=toggle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,8EAAsF;AAC3H;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PhoenixLightLitElement } from "../../core/phoenix_light_lit_element/phoenix_light_lit_element";
|
|
2
|
+
export declare class HToggleBtn extends PhoenixLightLitElement {
|
|
3
|
+
private _toggleContextConsumer;
|
|
4
|
+
private _btnController;
|
|
5
|
+
private _visibilityController;
|
|
6
|
+
private _opened$;
|
|
7
|
+
private _openedObserver;
|
|
8
|
+
action: "collapse";
|
|
9
|
+
private _visibility;
|
|
10
|
+
constructor();
|
|
11
|
+
connectedCallback(): Promise<void>;
|
|
12
|
+
disconnectedCallback(): void;
|
|
13
|
+
private _dispatchToggleEvent;
|
|
14
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { __decorate, __metadata } from '../../../../../external/tslib/tslib.es6.js';
|
|
2
|
+
import { property } from 'lit/decorators';
|
|
3
|
+
import { PhoenixLightLitElement } from '../../core/phoenix_light_lit_element/phoenix_light_lit_element.js';
|
|
4
|
+
import { phoenixCustomElement } from '../../core/decorators/phoenix_custom_element.js';
|
|
5
|
+
import { BtnController } from '../../controllers/btn_controller/btn_controller.js';
|
|
6
|
+
import { Observer } from '../../core/classes/observer/observer.js';
|
|
7
|
+
import { ContextConsumerController } from '../../core/context/context_consumer_controller.js';
|
|
8
|
+
import { VisibilityController } from '../../controllers/visibility_controller/visibility_controller.js';
|
|
9
|
+
import { TOGGLE_ACTIONS, TOGGLE_EVENT_NAME, TOGGLE_CONTEXT_NAME } from './toggle_constants.js';
|
|
10
|
+
|
|
11
|
+
let HToggleBtn = class HToggleBtn extends PhoenixLightLitElement {
|
|
12
|
+
constructor() {
|
|
13
|
+
super();
|
|
14
|
+
this.action = TOGGLE_ACTIONS.collapse;
|
|
15
|
+
this._visibility = {
|
|
16
|
+
collapse: (isOpened) => {
|
|
17
|
+
isOpened ? this._visibilityController.show() : this._visibilityController.hide();
|
|
18
|
+
},
|
|
19
|
+
expand: (isOpened) => {
|
|
20
|
+
isOpened ? this._visibilityController.hide() : this._visibilityController.show();
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
this._dispatchToggleEvent = () => {
|
|
24
|
+
this.dispatchEvent(new CustomEvent(TOGGLE_EVENT_NAME, {
|
|
25
|
+
bubbles: true
|
|
26
|
+
}));
|
|
27
|
+
};
|
|
28
|
+
this._btnController = new BtnController(this, this._dispatchToggleEvent);
|
|
29
|
+
this._visibilityController = new VisibilityController(this);
|
|
30
|
+
}
|
|
31
|
+
async connectedCallback() {
|
|
32
|
+
super.connectedCallback();
|
|
33
|
+
this._toggleContextConsumer = new ContextConsumerController(this);
|
|
34
|
+
this._opened$ = await this._toggleContextConsumer.consumeAsync(TOGGLE_CONTEXT_NAME);
|
|
35
|
+
this._openedObserver = new Observer((isOpened) => {
|
|
36
|
+
this._visibility[this.action](isOpened);
|
|
37
|
+
});
|
|
38
|
+
this._opened$.subscribe(this._openedObserver);
|
|
39
|
+
this.addEventListener('click', this._dispatchToggleEvent);
|
|
40
|
+
}
|
|
41
|
+
disconnectedCallback() {
|
|
42
|
+
this._opened$.unsubscribe(this._openedObserver);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
__decorate([
|
|
46
|
+
property({ type: String }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], HToggleBtn.prototype, "action", void 0);
|
|
49
|
+
HToggleBtn = __decorate([
|
|
50
|
+
phoenixCustomElement('h-toggle-btn'),
|
|
51
|
+
__metadata("design:paramtypes", [])
|
|
52
|
+
], HToggleBtn);
|
|
53
|
+
|
|
54
|
+
export { HToggleBtn };
|
|
55
|
+
//# sourceMappingURL=toggle_button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const TOGGLE_ACTIONS = {
|
|
2
|
+
expand: 'expand',
|
|
3
|
+
collapse: 'collapse'
|
|
4
|
+
};
|
|
5
|
+
const TOGGLE_CONTEXT_NAME = 'opened';
|
|
6
|
+
const TOGGLE_EVENT_NAME = 'toggle';
|
|
7
|
+
|
|
8
|
+
export { TOGGLE_ACTIONS, TOGGLE_CONTEXT_NAME, TOGGLE_EVENT_NAME };
|
|
9
|
+
//# sourceMappingURL=toggle_constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle_types.js","sourceRoot":"","sources":["../../../../../../../src/components/toggle/toggle_types.ts"],"names":[],"mappings":""}
|
|
@@ -32,10 +32,14 @@ class ClickOutsideController {
|
|
|
32
32
|
__classPrivateFieldSet(this, _ClickOutsideController_enabled, false, "f");
|
|
33
33
|
}
|
|
34
34
|
_setupClickEventListener() {
|
|
35
|
-
document.addEventListener('click', this._dispatchClickedOutsideEvent
|
|
35
|
+
document.addEventListener('click', this._dispatchClickedOutsideEvent, {
|
|
36
|
+
capture: true
|
|
37
|
+
});
|
|
36
38
|
}
|
|
37
39
|
_removeClickEventListener() {
|
|
38
|
-
document.removeEventListener('click', this._dispatchClickedOutsideEvent
|
|
40
|
+
document.removeEventListener('click', this._dispatchClickedOutsideEvent, {
|
|
41
|
+
capture: true
|
|
42
|
+
});
|
|
39
43
|
}
|
|
40
44
|
hostDisconnected() {
|
|
41
45
|
this._removeClickEventListener();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,+DAA+D,4CAAgD;AAC/G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,+DAA+D,4CAAgD;AAC/G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
package/build/esm/packages/phoenix/src/core/phoenix_light_lit_element/phoenix_light_lit_element.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare class PhoenixLightLitElement extends LitElement {
|
|
|
11
11
|
firstUpdated(props: PropertyValues): void;
|
|
12
12
|
private _setupChildrenConnectedWatch;
|
|
13
13
|
private _setupChildrenRenderWatch;
|
|
14
|
+
private _getComponentsChildrenToWatch;
|
|
14
15
|
private _getComponentsNamesForConnectionToWatch;
|
|
15
16
|
private _getComponentsNamesForRenderedToWatch;
|
|
16
17
|
private _handleComponentConnected;
|
package/build/esm/packages/phoenix/src/core/phoenix_light_lit_element/phoenix_light_lit_element.js
CHANGED
|
@@ -54,7 +54,9 @@ class PhoenixLightLitElement extends LitElement {
|
|
|
54
54
|
this.isWebComponentRendered = true;
|
|
55
55
|
}
|
|
56
56
|
_setupChildrenConnectedWatch() {
|
|
57
|
-
this._childrenForConnectionToWatch = this.childrenToWatch
|
|
57
|
+
this._childrenForConnectionToWatch = this.childrenToWatch
|
|
58
|
+
? this._getComponentsChildrenToWatch()
|
|
59
|
+
: this._getComponentsNamesForConnectionToWatch();
|
|
58
60
|
if (!this._childrenForConnectionToWatch.length) {
|
|
59
61
|
this.allChildrenConnected();
|
|
60
62
|
return;
|
|
@@ -62,13 +64,24 @@ class PhoenixLightLitElement extends LitElement {
|
|
|
62
64
|
this.addEventListener(PHOENIX_LIGHT_LIT_ELEMENTS_EVENT_NAMES.connected, this._handleComponentConnected);
|
|
63
65
|
}
|
|
64
66
|
_setupChildrenRenderWatch() {
|
|
65
|
-
this._childrenForRenderToWatch = this.childrenToWatch
|
|
67
|
+
this._childrenForRenderToWatch = this.childrenToWatch
|
|
68
|
+
? this._getComponentsChildrenToWatch()
|
|
69
|
+
: this._getComponentsNamesForRenderedToWatch();
|
|
66
70
|
if (!this._childrenForRenderToWatch.length) {
|
|
67
71
|
this.allChildrenRendered();
|
|
68
72
|
return;
|
|
69
73
|
}
|
|
70
74
|
this.addEventListener(PHOENIX_LIGHT_LIT_ELEMENTS_EVENT_NAMES.rendered, this._handleComponentRendered);
|
|
71
75
|
}
|
|
76
|
+
_getComponentsChildrenToWatch() {
|
|
77
|
+
const childrenToWatch = [];
|
|
78
|
+
this.childrenToWatch.forEach((elementName) => {
|
|
79
|
+
return [...this.querySelectorAll(elementName)].forEach(($element) => {
|
|
80
|
+
childrenToWatch.push($element.tagName.toLowerCase());
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
return childrenToWatch;
|
|
84
|
+
}
|
|
72
85
|
_getComponentsNamesForConnectionToWatch() {
|
|
73
86
|
return PhoenixLightLitElementUtils.getComponentsForWhichToWaitForConnection([...this.querySelectorAll('*')]).map(($element) => $element.tagName.toLowerCase());
|
|
74
87
|
}
|
|
@@ -77,8 +90,8 @@ class PhoenixLightLitElement extends LitElement {
|
|
|
77
90
|
}
|
|
78
91
|
connectedCallback() {
|
|
79
92
|
super.connectedCallback();
|
|
80
|
-
this._dispatchLifecycleEvent(PHOENIX_LIGHT_LIT_ELEMENTS_EVENT_NAMES.connected);
|
|
81
93
|
this.isWebComponentConnected = true;
|
|
94
|
+
this._dispatchLifecycleEvent(PHOENIX_LIGHT_LIT_ELEMENTS_EVENT_NAMES.connected);
|
|
82
95
|
if (this.watchChildrenConnected)
|
|
83
96
|
this._setupChildrenConnectedWatch();
|
|
84
97
|
if (this.watchChildrenRendered)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -91,6 +91,7 @@ export { HTooltipContent } from "./components/messages/tooltips/tooltip_content"
|
|
|
91
91
|
export { HIcon } from "./components/icon/icon";
|
|
92
92
|
export { HTag } from "./components/tag/tag";
|
|
93
93
|
export { HTagRemoveButton } from "./components/tag/tag_remove_button";
|
|
94
|
-
export {
|
|
95
|
-
export {
|
|
96
|
-
export
|
|
94
|
+
export { HToggle } from './components/toggle/toggle';
|
|
95
|
+
export { HToggleBtn } from './components/toggle/toggle_button';
|
|
96
|
+
export * from './components/toggle/toggle_types';
|
|
97
|
+
export * from './components/toggle/toggle_constants';
|
|
@@ -79,7 +79,7 @@ export { HTooltip } from './components/messages/tooltips/tooltip.js';
|
|
|
79
79
|
export { HTooltipContent } from './components/messages/tooltips/tooltip_content.js';
|
|
80
80
|
export { HTag } from './components/tag/tag.js';
|
|
81
81
|
export { HTagRemoveButton } from './components/tag/tag_remove_button.js';
|
|
82
|
-
export {
|
|
83
|
-
export {
|
|
84
|
-
export {
|
|
82
|
+
export { TOGGLE_ACTIONS, TOGGLE_CONTEXT_NAME, TOGGLE_EVENT_NAME } from './components/toggle/toggle_constants.js';
|
|
83
|
+
export { HToggle } from './components/toggle/toggle.js';
|
|
84
|
+
export { HToggleBtn } from './components/toggle/toggle_button.js';
|
|
85
85
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@shoper/phoenix_design_system",
|
|
3
3
|
"packageManager": "yarn@3.2.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "1.2.
|
|
5
|
+
"version": "1.2.1",
|
|
6
6
|
"description": "phoenix design system",
|
|
7
7
|
"author": "zefirek",
|
|
8
8
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@splidejs/splide": "^4.0.7"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@dreamcommerce/utilities": "^1.2.
|
|
33
|
+
"@dreamcommerce/utilities": "^1.2.2",
|
|
34
34
|
"@shoper/jest_config": "^0.0.0",
|
|
35
35
|
"@shoper/tsconfig": "^0.0.0",
|
|
36
36
|
"@splidejs/splide": "4.0.7",
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib_es6 = require('../../../../../../external/tslib/tslib.es6.js');
|
|
6
|
-
var lit = require('lit');
|
|
7
|
-
var decorators = require('lit/decorators');
|
|
8
|
-
var phoenix_light_lit_element = require('../../../core/phoenix_light_lit_element/phoenix_light_lit_element.js');
|
|
9
|
-
var phoenix_custom_element = require('../../../core/decorators/phoenix_custom_element.js');
|
|
10
|
-
var ref_js = require('lit-html/directives/ref.js');
|
|
11
|
-
var input_stepper_constants = require('./input_stepper_constants.js');
|
|
12
|
-
|
|
13
|
-
exports.HDisplayInput = class HDisplayInput extends phoenix_light_lit_element.PhoenixLightLitElement {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
this.inputRef = ref_js.createRef();
|
|
17
|
-
this._testDispatchValueChanged = () => {
|
|
18
|
-
var _a;
|
|
19
|
-
const valueChangeEvent = new CustomEvent(input_stepper_constants.DISPLAY_INPUT_EVENT_NAMES.change, {
|
|
20
|
-
bubbles: true,
|
|
21
|
-
detail: {
|
|
22
|
-
value: (_a = this.inputRef.value) === null || _a === void 0 ? void 0 : _a.value
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
this.dispatchEvent(valueChangeEvent);
|
|
26
|
-
if (this.inputRef.value) {
|
|
27
|
-
this.inputRef.value.value = this.value;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
_setInputBehavior(event) {
|
|
32
|
-
const input = event.target;
|
|
33
|
-
input.focus();
|
|
34
|
-
input.select();
|
|
35
|
-
}
|
|
36
|
-
render() {
|
|
37
|
-
return lit.html `<input
|
|
38
|
-
type="text"
|
|
39
|
-
${ref_js.ref(this.inputRef)}
|
|
40
|
-
.value="${this.value}"
|
|
41
|
-
@input=${this._testDispatchValueChanged}
|
|
42
|
-
@click=${(event) => this._setInputBehavior(event)}
|
|
43
|
-
/>`;
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
tslib_es6.__decorate([
|
|
47
|
-
decorators.property({ type: String, attribute: 'value', reflect: true }),
|
|
48
|
-
tslib_es6.__metadata("design:type", String)
|
|
49
|
-
], exports.HDisplayInput.prototype, "value", void 0);
|
|
50
|
-
exports.HDisplayInput = tslib_es6.__decorate([
|
|
51
|
-
phoenix_custom_element.phoenixCustomElement('h-display-input')
|
|
52
|
-
], exports.HDisplayInput);
|
|
53
|
-
//# sourceMappingURL=display_input.js.map
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib_es6 = require('../../../../../../external/tslib/tslib.es6.js');
|
|
6
|
-
require('lit');
|
|
7
|
-
var decorators = require('lit/decorators');
|
|
8
|
-
var phoenix_light_lit_element = require('../../../core/phoenix_light_lit_element/phoenix_light_lit_element.js');
|
|
9
|
-
var phoenix_custom_element = require('../../../core/decorators/phoenix_custom_element.js');
|
|
10
|
-
var input_stepper_constants = require('./input_stepper_constants.js');
|
|
11
|
-
|
|
12
|
-
exports.HInputStepper = class HInputStepper extends phoenix_light_lit_element.PhoenixLightLitElement {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
this.step = 1;
|
|
16
|
-
this.min = -Infinity;
|
|
17
|
-
this.max = Infinity;
|
|
18
|
-
this._handleInputChange = (event) => {
|
|
19
|
-
var _a;
|
|
20
|
-
((_a = event.target) === null || _a === void 0 ? void 0 : _a.action) === input_stepper_constants.INPUT_STEPPER_ACTION_TYPES.increment ? this._increment() : this._decrement();
|
|
21
|
-
};
|
|
22
|
-
this._handleDisplayChange = (event) => {
|
|
23
|
-
if (event.detail.value > this.max)
|
|
24
|
-
return;
|
|
25
|
-
this._value = Number(event.detail.value);
|
|
26
|
-
};
|
|
27
|
-
this._handleUpdateValue = () => {
|
|
28
|
-
this._value = Number(this._$inputElement.value) || 0;
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
connectedCallback() {
|
|
32
|
-
super.connectedCallback();
|
|
33
|
-
const $element = this.querySelector('h-display-input');
|
|
34
|
-
if (!$element) {
|
|
35
|
-
throw new Error();
|
|
36
|
-
}
|
|
37
|
-
this._$inputElement = $element;
|
|
38
|
-
this._value = Number($element.value) || 0;
|
|
39
|
-
this._setupEvents();
|
|
40
|
-
}
|
|
41
|
-
disconnectedCallback() {
|
|
42
|
-
super.disconnectedCallback();
|
|
43
|
-
this._$inputElement.removeEventListener('input', this._handleUpdateValue);
|
|
44
|
-
}
|
|
45
|
-
updated(changedProperties) {
|
|
46
|
-
super.updated(changedProperties);
|
|
47
|
-
if (changedProperties.has('_value')) {
|
|
48
|
-
this._dispatchValueChanged();
|
|
49
|
-
this._$inputElement.value = String(this._value);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
_setupEvents() {
|
|
53
|
-
this.addEventListener(input_stepper_constants.INPUT_STEPPER_EVENT_NAMES.change, this._handleInputChange);
|
|
54
|
-
this.addEventListener(input_stepper_constants.DISPLAY_INPUT_EVENT_NAMES.change, this._handleDisplayChange);
|
|
55
|
-
this._$inputElement.addEventListener('input', this._handleUpdateValue);
|
|
56
|
-
}
|
|
57
|
-
_increment() {
|
|
58
|
-
if (this._value >= this.max)
|
|
59
|
-
return;
|
|
60
|
-
this._value += this.step;
|
|
61
|
-
}
|
|
62
|
-
_decrement() {
|
|
63
|
-
if (this._value <= this.min)
|
|
64
|
-
return;
|
|
65
|
-
this._value -= this.step;
|
|
66
|
-
}
|
|
67
|
-
_dispatchValueChanged() {
|
|
68
|
-
const valueChangeEvent = new CustomEvent(input_stepper_constants.INPUT_STEPPER_EVENT_NAMES.valueChanged, {
|
|
69
|
-
bubbles: true,
|
|
70
|
-
detail: {
|
|
71
|
-
value: this._value
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
this.dispatchEvent(valueChangeEvent);
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
tslib_es6.__decorate([
|
|
78
|
-
decorators.property({ type: Number, attribute: 'step', reflect: true }),
|
|
79
|
-
tslib_es6.__metadata("design:type", Number)
|
|
80
|
-
], exports.HInputStepper.prototype, "step", void 0);
|
|
81
|
-
tslib_es6.__decorate([
|
|
82
|
-
decorators.property({ type: Number, attribute: 'min', reflect: true }),
|
|
83
|
-
tslib_es6.__metadata("design:type", Number)
|
|
84
|
-
], exports.HInputStepper.prototype, "min", void 0);
|
|
85
|
-
tslib_es6.__decorate([
|
|
86
|
-
decorators.property({ type: Number, attribute: 'max', reflect: true }),
|
|
87
|
-
tslib_es6.__metadata("design:type", Number)
|
|
88
|
-
], exports.HInputStepper.prototype, "max", void 0);
|
|
89
|
-
tslib_es6.__decorate([
|
|
90
|
-
decorators.state(),
|
|
91
|
-
tslib_es6.__metadata("design:type", Number)
|
|
92
|
-
], exports.HInputStepper.prototype, "_value", void 0);
|
|
93
|
-
exports.HInputStepper = tslib_es6.__decorate([
|
|
94
|
-
phoenix_custom_element.phoenixCustomElement('h-input-stepper')
|
|
95
|
-
], exports.HInputStepper);
|
|
96
|
-
//# sourceMappingURL=input_stepper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,+CAAmD;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
package/build/cjs/packages/phoenix/src/components/form/input_stepper/input_stepper_constants.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const INPUT_STEPPER_EVENT_NAMES = {
|
|
6
|
-
change: 'inputStepper.change',
|
|
7
|
-
valueChanged: 'inputStepper.valueChanged'
|
|
8
|
-
};
|
|
9
|
-
const DISPLAY_INPUT_EVENT_NAMES = {
|
|
10
|
-
change: 'displayInput.change'
|
|
11
|
-
};
|
|
12
|
-
const INPUT_STEPPER_ACTION_TYPES = {
|
|
13
|
-
increment: 'increment',
|
|
14
|
-
decrement: 'decrement'
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
exports.DISPLAY_INPUT_EVENT_NAMES = DISPLAY_INPUT_EVENT_NAMES;
|
|
18
|
-
exports.INPUT_STEPPER_ACTION_TYPES = INPUT_STEPPER_ACTION_TYPES;
|
|
19
|
-
exports.INPUT_STEPPER_EVENT_NAMES = INPUT_STEPPER_EVENT_NAMES;
|
|
20
|
-
//# sourceMappingURL=input_stepper_constants.js.map
|
package/build/cjs/packages/phoenix/src/components/form/input_stepper/stepper_action_button.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib_es6 = require('../../../../../../external/tslib/tslib.es6.js');
|
|
6
|
-
var decorators = require('lit/decorators');
|
|
7
|
-
var phoenix_light_lit_element = require('../../../core/phoenix_light_lit_element/phoenix_light_lit_element.js');
|
|
8
|
-
var phoenix_custom_element = require('../../../core/decorators/phoenix_custom_element.js');
|
|
9
|
-
var btn_controller = require('../../../controllers/btn_controller/btn_controller.js');
|
|
10
|
-
var input_stepper_constants = require('./input_stepper_constants.js');
|
|
11
|
-
|
|
12
|
-
exports.HStepperActionButton = class HStepperActionButton extends phoenix_light_lit_element.PhoenixLightLitElement {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
this._dispatchChangeEvent = () => {
|
|
16
|
-
const unitaryValueChangeEvent = new CustomEvent(input_stepper_constants.INPUT_STEPPER_EVENT_NAMES.change, {
|
|
17
|
-
bubbles: true,
|
|
18
|
-
detail: {
|
|
19
|
-
action: this.action
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
this.dispatchEvent(unitaryValueChangeEvent);
|
|
23
|
-
};
|
|
24
|
-
new btn_controller.BtnController(this, this._dispatchChangeEvent);
|
|
25
|
-
}
|
|
26
|
-
connectedCallback() {
|
|
27
|
-
super.connectedCallback();
|
|
28
|
-
this.addEventListener('click', this._dispatchChangeEvent);
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
tslib_es6.__decorate([
|
|
32
|
-
decorators.property({ type: String, attribute: 'action', reflect: true }),
|
|
33
|
-
tslib_es6.__metadata("design:type", String)
|
|
34
|
-
], exports.HStepperActionButton.prototype, "action", void 0);
|
|
35
|
-
exports.HStepperActionButton = tslib_es6.__decorate([
|
|
36
|
-
phoenix_custom_element.phoenixCustomElement('h-stepper-action-button'),
|
|
37
|
-
tslib_es6.__metadata("design:paramtypes", [])
|
|
38
|
-
], exports.HStepperActionButton);
|
|
39
|
-
//# sourceMappingURL=stepper_action_button.js.map
|
package/build/cjs/packages/phoenix/src/components/form/input_stepper/stepper_action_button.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,+CAAmD;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PhoenixLightLitElement } from "../../../core/phoenix_light_lit_element/phoenix_light_lit_element";
|
|
2
|
-
import { Ref } from 'lit/directives/ref.js';
|
|
3
|
-
export declare class HDisplayInput extends PhoenixLightLitElement {
|
|
4
|
-
value: string;
|
|
5
|
-
inputRef: Ref<HTMLInputElement>;
|
|
6
|
-
private _setInputBehavior;
|
|
7
|
-
private _testDispatchValueChanged;
|
|
8
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
9
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { html } from 'lit';
|
|
3
|
-
import { property } from 'lit/decorators';
|
|
4
|
-
import { PhoenixLightLitElement } from '../../../core/phoenix_light_lit_element/phoenix_light_lit_element.js';
|
|
5
|
-
import { phoenixCustomElement } from '../../../core/decorators/phoenix_custom_element.js';
|
|
6
|
-
import { createRef, ref } from 'lit-html/directives/ref.js';
|
|
7
|
-
import { DISPLAY_INPUT_EVENT_NAMES } from './input_stepper_constants.js';
|
|
8
|
-
|
|
9
|
-
let HDisplayInput = class HDisplayInput extends PhoenixLightLitElement {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.inputRef = createRef();
|
|
13
|
-
this._testDispatchValueChanged = () => {
|
|
14
|
-
var _a;
|
|
15
|
-
const valueChangeEvent = new CustomEvent(DISPLAY_INPUT_EVENT_NAMES.change, {
|
|
16
|
-
bubbles: true,
|
|
17
|
-
detail: {
|
|
18
|
-
value: (_a = this.inputRef.value) === null || _a === void 0 ? void 0 : _a.value
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
this.dispatchEvent(valueChangeEvent);
|
|
22
|
-
if (this.inputRef.value) {
|
|
23
|
-
this.inputRef.value.value = this.value;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
_setInputBehavior(event) {
|
|
28
|
-
const input = event.target;
|
|
29
|
-
input.focus();
|
|
30
|
-
input.select();
|
|
31
|
-
}
|
|
32
|
-
render() {
|
|
33
|
-
return html `<input
|
|
34
|
-
type="text"
|
|
35
|
-
${ref(this.inputRef)}
|
|
36
|
-
.value="${this.value}"
|
|
37
|
-
@input=${this._testDispatchValueChanged}
|
|
38
|
-
@click=${(event) => this._setInputBehavior(event)}
|
|
39
|
-
/>`;
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
__decorate([
|
|
43
|
-
property({ type: String, attribute: 'value', reflect: true }),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], HDisplayInput.prototype, "value", void 0);
|
|
46
|
-
HDisplayInput = __decorate([
|
|
47
|
-
phoenixCustomElement('h-display-input')
|
|
48
|
-
], HDisplayInput);
|
|
49
|
-
|
|
50
|
-
export { HDisplayInput };
|
|
51
|
-
//# sourceMappingURL=display_input.js.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { PhoenixLightLitElement } from "../../../core/phoenix_light_lit_element/phoenix_light_lit_element";
|
|
2
|
-
import { PropertyValues } from 'lit';
|
|
3
|
-
export declare class HInputStepper extends PhoenixLightLitElement {
|
|
4
|
-
step: number;
|
|
5
|
-
min: number;
|
|
6
|
-
max: number;
|
|
7
|
-
private _value;
|
|
8
|
-
private _$inputElement;
|
|
9
|
-
connectedCallback(): void;
|
|
10
|
-
disconnectedCallback(): void;
|
|
11
|
-
protected updated(changedProperties: PropertyValues): void;
|
|
12
|
-
private _setupEvents;
|
|
13
|
-
private _handleInputChange;
|
|
14
|
-
private _handleDisplayChange;
|
|
15
|
-
private _handleUpdateValue;
|
|
16
|
-
private _increment;
|
|
17
|
-
private _decrement;
|
|
18
|
-
private _dispatchValueChanged;
|
|
19
|
-
}
|