@shoper/phoenix_design_system 1.2.3-11 → 1.2.3-13
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/packages/phoenix/src/components/form/input/input_constants.js +1 -2
- package/build/cjs/packages/phoenix/src/components/form/input/input_constants.js.map +1 -1
- package/build/cjs/packages/phoenix/src/components/form/input_stepper/display_input.js +60 -0
- package/build/cjs/packages/phoenix/src/components/form/{file_picker/file_picker_label.js.map → input_stepper/display_input.js.map} +1 -1
- package/build/cjs/packages/phoenix/src/components/form/input_stepper/input_stepper.js +96 -0
- package/build/cjs/packages/phoenix/src/components/form/input_stepper/input_stepper.js.map +1 -0
- package/build/cjs/packages/phoenix/src/components/form/input_stepper/input_stepper_constants.js +24 -0
- package/build/{esm/packages/phoenix/src/components/form/file_picker/file_picker_constants.js.map → cjs/packages/phoenix/src/components/form/input_stepper/input_stepper_constants.js.map} +1 -1
- package/build/cjs/packages/phoenix/src/components/form/input_stepper/stepper_action_button.js +39 -0
- package/build/cjs/packages/phoenix/src/components/form/input_stepper/stepper_action_button.js.map +1 -0
- package/build/cjs/packages/phoenix/src/index.js +27 -27
- package/build/esm/packages/phoenix/src/components/form/input/input_constants.d.ts +0 -1
- package/build/esm/packages/phoenix/src/components/form/input/input_constants.js +1 -2
- package/build/esm/packages/phoenix/src/components/form/input/input_constants.js.map +1 -1
- package/build/esm/packages/phoenix/src/components/form/input_stepper/display_input.d.ts +10 -0
- package/build/esm/packages/phoenix/src/components/form/input_stepper/display_input.js +58 -0
- package/build/esm/packages/phoenix/src/components/form/{file_picker/file_picker_label.js.map → input_stepper/display_input.js.map} +1 -1
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper.d.ts +19 -0
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper.js +94 -0
- package/build/esm/packages/phoenix/src/components/form/{file_picker/file/file.js.map → input_stepper/input_stepper.js.map} +1 -1
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper_constants.d.ts +14 -0
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper_constants.js +17 -0
- package/build/esm/packages/phoenix/src/components/form/{file_picker/file/file_model.js.map → input_stepper/input_stepper_constants.js.map} +1 -1
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper_types.d.ts +6 -0
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper_types.js +3 -0
- package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper_types.js.map +1 -0
- package/build/esm/packages/phoenix/src/components/form/input_stepper/stepper_action_button.d.ts +8 -0
- package/build/esm/packages/phoenix/src/components/form/input_stepper/stepper_action_button.js +37 -0
- package/build/{cjs/packages/phoenix/src/components/form/file_picker/file_picker_constants.js.map → esm/packages/phoenix/src/components/form/input_stepper/stepper_action_button.js.map} +1 -1
- package/build/esm/packages/phoenix/src/index.d.ts +3 -3
- package/build/esm/packages/phoenix/src/index.js +4 -4
- package/package.json +1 -1
- package/build/cjs/packages/phoenix/src/components/form/file_picker/file/file.js +0 -69
- package/build/cjs/packages/phoenix/src/components/form/file_picker/file/file.js.map +0 -1
- package/build/cjs/packages/phoenix/src/components/form/file_picker/file/file_model.js +0 -16
- package/build/cjs/packages/phoenix/src/components/form/file_picker/file/file_model.js.map +0 -1
- package/build/cjs/packages/phoenix/src/components/form/file_picker/file_picker.js +0 -187
- package/build/cjs/packages/phoenix/src/components/form/file_picker/file_picker.js.map +0 -1
- package/build/cjs/packages/phoenix/src/components/form/file_picker/file_picker_constants.js +0 -37
- package/build/cjs/packages/phoenix/src/components/form/file_picker/file_picker_label.js +0 -53
- package/build/esm/packages/phoenix/src/components/form/file_picker/file/file.d.ts +0 -11
- package/build/esm/packages/phoenix/src/components/form/file_picker/file/file.js +0 -67
- package/build/esm/packages/phoenix/src/components/form/file_picker/file/file_model.d.ts +0 -7
- package/build/esm/packages/phoenix/src/components/form/file_picker/file/file_model.js +0 -12
- package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker.d.ts +0 -32
- package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker.js +0 -185
- package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker.js.map +0 -1
- package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker_constants.d.ts +0 -27
- package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker_constants.js +0 -29
- package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker_label.d.ts +0 -11
- package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker_label.js +0 -51
- package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker_types.d.ts +0 -6
- package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker_types.js +0 -2
- package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker_types.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,60 @@
|
|
|
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.controlId = 1;
|
|
17
|
+
this.inputRef = ref_js.createRef();
|
|
18
|
+
this._testDispatchValueChanged = () => {
|
|
19
|
+
var _a;
|
|
20
|
+
const valueChangeEvent = new CustomEvent(input_stepper_constants.DISPLAY_INPUT_EVENT_NAMES.change, {
|
|
21
|
+
bubbles: true,
|
|
22
|
+
detail: {
|
|
23
|
+
value: (_a = this.inputRef.value) === null || _a === void 0 ? void 0 : _a.value
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
this.dispatchEvent(valueChangeEvent);
|
|
27
|
+
if (this.inputRef.value) {
|
|
28
|
+
this.inputRef.value.value = this.value;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
_setInputBehavior(event) {
|
|
33
|
+
const input = event.target;
|
|
34
|
+
input.focus();
|
|
35
|
+
input.select();
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
return lit.html `<input
|
|
39
|
+
id="${this.controlId}"
|
|
40
|
+
class="${input_stepper_constants.INPUT_STEPPER_CLASS_NAMES.displayInput}"
|
|
41
|
+
type="text"
|
|
42
|
+
${ref_js.ref(this.inputRef)}
|
|
43
|
+
.value="${this.value}"
|
|
44
|
+
@input=${this._testDispatchValueChanged}
|
|
45
|
+
@click=${(event) => this._setInputBehavior(event)}
|
|
46
|
+
/>`;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
tslib_es6.__decorate([
|
|
50
|
+
decorators.property({ type: String, attribute: 'value', reflect: true }),
|
|
51
|
+
tslib_es6.__metadata("design:type", String)
|
|
52
|
+
], exports.HDisplayInput.prototype, "value", void 0);
|
|
53
|
+
tslib_es6.__decorate([
|
|
54
|
+
decorators.property({ type: Number, attribute: 'control-id', reflect: true }),
|
|
55
|
+
tslib_es6.__metadata("design:type", Number)
|
|
56
|
+
], exports.HDisplayInput.prototype, "controlId", void 0);
|
|
57
|
+
exports.HDisplayInput = tslib_es6.__decorate([
|
|
58
|
+
phoenix_custom_element.phoenixCustomElement('h-display-input')
|
|
59
|
+
], exports.HDisplayInput);
|
|
60
|
+
//# sourceMappingURL=display_input.js.map
|
|
@@ -1 +1 @@
|
|
|
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;"}
|
|
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;"}
|
|
@@ -0,0 +1,96 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
const INPUT_STEPPER_CLASS_NAMES = {
|
|
17
|
+
displayInput: 'input-stepper__value_input'
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
exports.DISPLAY_INPUT_EVENT_NAMES = DISPLAY_INPUT_EVENT_NAMES;
|
|
21
|
+
exports.INPUT_STEPPER_ACTION_TYPES = INPUT_STEPPER_ACTION_TYPES;
|
|
22
|
+
exports.INPUT_STEPPER_CLASS_NAMES = INPUT_STEPPER_CLASS_NAMES;
|
|
23
|
+
exports.INPUT_STEPPER_EVENT_NAMES = INPUT_STEPPER_EVENT_NAMES;
|
|
24
|
+
//# sourceMappingURL=input_stepper_constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;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;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,39 @@
|
|
|
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
ADDED
|
@@ -0,0 +1 @@
|
|
|
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;"}
|
|
@@ -23,10 +23,6 @@ var dropdown_toggler = require('./components/dropdown/dropdown_toggler.js');
|
|
|
23
23
|
var relative_position_controller = require('./controllers/relative_position_controller/relative_position_controller.js');
|
|
24
24
|
var dropdown = require('./components/dropdown/dropdown.js');
|
|
25
25
|
var select = require('./components/form/select/select.js');
|
|
26
|
-
var file = require('./components/form/file_picker/file/file.js');
|
|
27
|
-
var input_constants = require('./components/form/input/input_constants.js');
|
|
28
|
-
var file_picker = require('./components/form/file_picker/file_picker.js');
|
|
29
|
-
var file_picker_label = require('./components/form/file_picker/file_picker_label.js');
|
|
30
26
|
var modal = require('./components/modal/modal.js');
|
|
31
27
|
var modal_opener = require('./components/modal/modal_opener.js');
|
|
32
28
|
var modal_body = require('./components/modal/modal_body.js');
|
|
@@ -40,6 +36,7 @@ var control_content = require('./components/form/control/control_content.js');
|
|
|
40
36
|
var control_element = require('./components/form/control/control_element.js');
|
|
41
37
|
var control_label = require('./components/form/control/control_label.js');
|
|
42
38
|
var control_additional_content = require('./components/form/control/control_additional_content.js');
|
|
39
|
+
var input_constants = require('./components/form/input/input_constants.js');
|
|
43
40
|
var input = require('./components/form/input/input.js');
|
|
44
41
|
var input_control = require('./components/form/input/input_control.js');
|
|
45
42
|
var input_icon = require('./components/form/input/input_icon.js');
|
|
@@ -86,6 +83,9 @@ var tooltip = require('./components/messages/tooltips/tooltip.js');
|
|
|
86
83
|
var tooltip_content = require('./components/messages/tooltips/tooltip_content.js');
|
|
87
84
|
var tag = require('./components/tag/tag.js');
|
|
88
85
|
var tag_remove_button = require('./components/tag/tag_remove_button.js');
|
|
86
|
+
var stepper_action_button = require('./components/form/input_stepper/stepper_action_button.js');
|
|
87
|
+
var input_stepper = require('./components/form/input_stepper/input_stepper.js');
|
|
88
|
+
var display_input = require('./components/form/input_stepper/display_input.js');
|
|
89
89
|
var toggle_constants = require('./components/toggle/toggle_constants.js');
|
|
90
90
|
var toggle = require('./components/toggle/toggle.js');
|
|
91
91
|
var toggle_button$1 = require('./components/toggle/toggle_button.js');
|
|
@@ -168,29 +168,6 @@ Object.defineProperty(exports, 'HSelect', {
|
|
|
168
168
|
return select.HSelect;
|
|
169
169
|
}
|
|
170
170
|
});
|
|
171
|
-
Object.defineProperty(exports, 'HFile', {
|
|
172
|
-
enumerable: true,
|
|
173
|
-
get: function () {
|
|
174
|
-
return file.HFile;
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
exports.INPUT_CONTROL_CSS_CLASSES = input_constants.INPUT_CONTROL_CSS_CLASSES;
|
|
178
|
-
exports.INPUT_CONTROL_EVENTS = input_constants.INPUT_CONTROL_EVENTS;
|
|
179
|
-
exports.INPUT_CONTROL_SIZES = input_constants.INPUT_CONTROL_SIZES;
|
|
180
|
-
exports.INPUT_CONTROL_TYPES = input_constants.INPUT_CONTROL_TYPES;
|
|
181
|
-
exports.INPUT_PROPS_TO_SYNC = input_constants.INPUT_PROPS_TO_SYNC;
|
|
182
|
-
Object.defineProperty(exports, 'HFilePicker', {
|
|
183
|
-
enumerable: true,
|
|
184
|
-
get: function () {
|
|
185
|
-
return file_picker.HFilePicker;
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
|
-
Object.defineProperty(exports, 'HFilePickerLabel', {
|
|
189
|
-
enumerable: true,
|
|
190
|
-
get: function () {
|
|
191
|
-
return file_picker_label.HFilePickerLabel;
|
|
192
|
-
}
|
|
193
|
-
});
|
|
194
171
|
Object.defineProperty(exports, 'HModal', {
|
|
195
172
|
enumerable: true,
|
|
196
173
|
get: function () {
|
|
@@ -267,6 +244,11 @@ Object.defineProperty(exports, 'HControlAdditionalContent', {
|
|
|
267
244
|
return control_additional_content.HControlAdditionalContent;
|
|
268
245
|
}
|
|
269
246
|
});
|
|
247
|
+
exports.INPUT_CONTROL_CSS_CLASSES = input_constants.INPUT_CONTROL_CSS_CLASSES;
|
|
248
|
+
exports.INPUT_CONTROL_EVENTS = input_constants.INPUT_CONTROL_EVENTS;
|
|
249
|
+
exports.INPUT_CONTROL_SIZES = input_constants.INPUT_CONTROL_SIZES;
|
|
250
|
+
exports.INPUT_CONTROL_TYPES = input_constants.INPUT_CONTROL_TYPES;
|
|
251
|
+
exports.INPUT_PROPS_TO_SYNC = input_constants.INPUT_PROPS_TO_SYNC;
|
|
270
252
|
Object.defineProperty(exports, 'HInput', {
|
|
271
253
|
enumerable: true,
|
|
272
254
|
get: function () {
|
|
@@ -510,6 +492,24 @@ Object.defineProperty(exports, 'HTagRemoveButton', {
|
|
|
510
492
|
return tag_remove_button.HTagRemoveButton;
|
|
511
493
|
}
|
|
512
494
|
});
|
|
495
|
+
Object.defineProperty(exports, 'HStepperActionButton', {
|
|
496
|
+
enumerable: true,
|
|
497
|
+
get: function () {
|
|
498
|
+
return stepper_action_button.HStepperActionButton;
|
|
499
|
+
}
|
|
500
|
+
});
|
|
501
|
+
Object.defineProperty(exports, 'HInputStepper', {
|
|
502
|
+
enumerable: true,
|
|
503
|
+
get: function () {
|
|
504
|
+
return input_stepper.HInputStepper;
|
|
505
|
+
}
|
|
506
|
+
});
|
|
507
|
+
Object.defineProperty(exports, 'HDisplayInput', {
|
|
508
|
+
enumerable: true,
|
|
509
|
+
get: function () {
|
|
510
|
+
return display_input.HDisplayInput;
|
|
511
|
+
}
|
|
512
|
+
});
|
|
513
513
|
exports.TOGGLE_ACTIONS = toggle_constants.TOGGLE_ACTIONS;
|
|
514
514
|
exports.TOGGLE_CONTEXT_NAME = toggle_constants.TOGGLE_CONTEXT_NAME;
|
|
515
515
|
exports.TOGGLE_EVENT_NAME = toggle_constants.TOGGLE_EVENT_NAME;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,10 @@
|
|
|
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
|
+
controlId: number;
|
|
6
|
+
inputRef: Ref<HTMLInputElement>;
|
|
7
|
+
private _setInputBehavior;
|
|
8
|
+
private _testDispatchValueChanged;
|
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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, INPUT_STEPPER_CLASS_NAMES } from './input_stepper_constants.js';
|
|
8
|
+
|
|
9
|
+
let HDisplayInput = class HDisplayInput extends PhoenixLightLitElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.controlId = 1;
|
|
13
|
+
this.inputRef = createRef();
|
|
14
|
+
this._testDispatchValueChanged = () => {
|
|
15
|
+
var _a;
|
|
16
|
+
const valueChangeEvent = new CustomEvent(DISPLAY_INPUT_EVENT_NAMES.change, {
|
|
17
|
+
bubbles: true,
|
|
18
|
+
detail: {
|
|
19
|
+
value: (_a = this.inputRef.value) === null || _a === void 0 ? void 0 : _a.value
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
this.dispatchEvent(valueChangeEvent);
|
|
23
|
+
if (this.inputRef.value) {
|
|
24
|
+
this.inputRef.value.value = this.value;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
_setInputBehavior(event) {
|
|
29
|
+
const input = event.target;
|
|
30
|
+
input.focus();
|
|
31
|
+
input.select();
|
|
32
|
+
}
|
|
33
|
+
render() {
|
|
34
|
+
return html `<input
|
|
35
|
+
id="${this.controlId}"
|
|
36
|
+
class="${INPUT_STEPPER_CLASS_NAMES.displayInput}"
|
|
37
|
+
type="text"
|
|
38
|
+
${ref(this.inputRef)}
|
|
39
|
+
.value="${this.value}"
|
|
40
|
+
@input=${this._testDispatchValueChanged}
|
|
41
|
+
@click=${(event) => this._setInputBehavior(event)}
|
|
42
|
+
/>`;
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
__decorate([
|
|
46
|
+
property({ type: String, attribute: 'value', reflect: true }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], HDisplayInput.prototype, "value", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
property({ type: Number, attribute: 'control-id', reflect: true }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], HDisplayInput.prototype, "controlId", void 0);
|
|
53
|
+
HDisplayInput = __decorate([
|
|
54
|
+
phoenixCustomElement('h-display-input')
|
|
55
|
+
], HDisplayInput);
|
|
56
|
+
|
|
57
|
+
export { HDisplayInput };
|
|
58
|
+
//# sourceMappingURL=display_input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,+CAAmD;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,+CAAmD;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,19 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { __decorate, __metadata } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
+
import 'lit';
|
|
3
|
+
import { property, state } 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 { INPUT_STEPPER_ACTION_TYPES, INPUT_STEPPER_EVENT_NAMES, DISPLAY_INPUT_EVENT_NAMES } from './input_stepper_constants.js';
|
|
7
|
+
|
|
8
|
+
let HInputStepper = class HInputStepper extends PhoenixLightLitElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.step = 1;
|
|
12
|
+
this.min = -Infinity;
|
|
13
|
+
this.max = Infinity;
|
|
14
|
+
this._handleInputChange = (event) => {
|
|
15
|
+
var _a;
|
|
16
|
+
((_a = event.target) === null || _a === void 0 ? void 0 : _a.action) === INPUT_STEPPER_ACTION_TYPES.increment ? this._increment() : this._decrement();
|
|
17
|
+
};
|
|
18
|
+
this._handleDisplayChange = (event) => {
|
|
19
|
+
if (event.detail.value > this.max)
|
|
20
|
+
return;
|
|
21
|
+
this._value = Number(event.detail.value);
|
|
22
|
+
};
|
|
23
|
+
this._handleUpdateValue = () => {
|
|
24
|
+
this._value = Number(this._$inputElement.value) || 0;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
connectedCallback() {
|
|
28
|
+
super.connectedCallback();
|
|
29
|
+
const $element = this.querySelector('h-display-input');
|
|
30
|
+
if (!$element) {
|
|
31
|
+
throw new Error();
|
|
32
|
+
}
|
|
33
|
+
this._$inputElement = $element;
|
|
34
|
+
this._value = Number($element.value) || 0;
|
|
35
|
+
this._setupEvents();
|
|
36
|
+
}
|
|
37
|
+
disconnectedCallback() {
|
|
38
|
+
super.disconnectedCallback();
|
|
39
|
+
this._$inputElement.removeEventListener('input', this._handleUpdateValue);
|
|
40
|
+
}
|
|
41
|
+
updated(changedProperties) {
|
|
42
|
+
super.updated(changedProperties);
|
|
43
|
+
if (changedProperties.has('_value')) {
|
|
44
|
+
this._dispatchValueChanged();
|
|
45
|
+
this._$inputElement.value = String(this._value);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
_setupEvents() {
|
|
49
|
+
this.addEventListener(INPUT_STEPPER_EVENT_NAMES.change, this._handleInputChange);
|
|
50
|
+
this.addEventListener(DISPLAY_INPUT_EVENT_NAMES.change, this._handleDisplayChange);
|
|
51
|
+
this._$inputElement.addEventListener('input', this._handleUpdateValue);
|
|
52
|
+
}
|
|
53
|
+
_increment() {
|
|
54
|
+
if (this._value >= this.max)
|
|
55
|
+
return;
|
|
56
|
+
this._value += this.step;
|
|
57
|
+
}
|
|
58
|
+
_decrement() {
|
|
59
|
+
if (this._value <= this.min)
|
|
60
|
+
return;
|
|
61
|
+
this._value -= this.step;
|
|
62
|
+
}
|
|
63
|
+
_dispatchValueChanged() {
|
|
64
|
+
const valueChangeEvent = new CustomEvent(INPUT_STEPPER_EVENT_NAMES.valueChanged, {
|
|
65
|
+
bubbles: true,
|
|
66
|
+
detail: {
|
|
67
|
+
value: this._value
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
this.dispatchEvent(valueChangeEvent);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
__decorate([
|
|
74
|
+
property({ type: Number, attribute: 'step', reflect: true }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], HInputStepper.prototype, "step", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
property({ type: Number, attribute: 'min', reflect: true }),
|
|
79
|
+
__metadata("design:type", Number)
|
|
80
|
+
], HInputStepper.prototype, "min", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
property({ type: Number, attribute: 'max', reflect: true }),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], HInputStepper.prototype, "max", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
state(),
|
|
87
|
+
__metadata("design:type", Number)
|
|
88
|
+
], HInputStepper.prototype, "_value", void 0);
|
|
89
|
+
HInputStepper = __decorate([
|
|
90
|
+
phoenixCustomElement('h-input-stepper')
|
|
91
|
+
], HInputStepper);
|
|
92
|
+
|
|
93
|
+
export { HInputStepper };
|
|
94
|
+
//# sourceMappingURL=input_stepper.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,+CAAmD;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/components/form/input_stepper/input_stepper_constants.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const INPUT_STEPPER_EVENT_NAMES: {
|
|
2
|
+
readonly change: "inputStepper.change";
|
|
3
|
+
readonly valueChanged: "inputStepper.valueChanged";
|
|
4
|
+
};
|
|
5
|
+
export declare const DISPLAY_INPUT_EVENT_NAMES: {
|
|
6
|
+
readonly change: "displayInput.change";
|
|
7
|
+
};
|
|
8
|
+
export declare const INPUT_STEPPER_ACTION_TYPES: {
|
|
9
|
+
readonly increment: "increment";
|
|
10
|
+
readonly decrement: "decrement";
|
|
11
|
+
};
|
|
12
|
+
export declare const INPUT_STEPPER_CLASS_NAMES: {
|
|
13
|
+
readonly displayInput: "input-stepper__value_input";
|
|
14
|
+
};
|
package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper_constants.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const INPUT_STEPPER_EVENT_NAMES = {
|
|
2
|
+
change: 'inputStepper.change',
|
|
3
|
+
valueChanged: 'inputStepper.valueChanged'
|
|
4
|
+
};
|
|
5
|
+
const DISPLAY_INPUT_EVENT_NAMES = {
|
|
6
|
+
change: 'displayInput.change'
|
|
7
|
+
};
|
|
8
|
+
const INPUT_STEPPER_ACTION_TYPES = {
|
|
9
|
+
increment: 'increment',
|
|
10
|
+
decrement: 'decrement'
|
|
11
|
+
};
|
|
12
|
+
const INPUT_STEPPER_CLASS_NAMES = {
|
|
13
|
+
displayInput: 'input-stepper__value_input'
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { DISPLAY_INPUT_EVENT_NAMES, INPUT_STEPPER_ACTION_TYPES, INPUT_STEPPER_CLASS_NAMES, INPUT_STEPPER_EVENT_NAMES };
|
|
17
|
+
//# sourceMappingURL=input_stepper_constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
package/build/esm/packages/phoenix/src/components/form/input_stepper/input_stepper_types.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input_stepper_types.js","sourceRoot":"","sources":["../../../../../../../../src/components/form/input_stepper/input_stepper_types.ts"],"names":[],"mappings":"AAAA,OAAoB,aAAa,CAAC;AAClC,OAA2C,2BAA2B,CAAC"}
|
package/build/esm/packages/phoenix/src/components/form/input_stepper/stepper_action_button.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PhoenixLightLitElement } from "../../../core/phoenix_light_lit_element/phoenix_light_lit_element";
|
|
2
|
+
import type { TInputStepperAction } from './input_stepper_types';
|
|
3
|
+
export declare class HStepperActionButton extends PhoenixLightLitElement {
|
|
4
|
+
action: TInputStepperAction;
|
|
5
|
+
constructor();
|
|
6
|
+
connectedCallback(): void;
|
|
7
|
+
private _dispatchChangeEvent;
|
|
8
|
+
}
|