@shoper/phoenix_design_system 1.18.10-7 → 1.18.11
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/accordion/accordion.js +5 -14
- package/build/cjs/packages/phoenix/src/components/accordion/accordion.js.map +1 -1
- package/build/cjs/packages/phoenix/src/components/accordion/accordion_constants.js +2 -10
- package/build/cjs/packages/phoenix/src/components/accordion/accordion_constants.js.map +1 -1
- package/build/cjs/packages/phoenix/src/components/accordion/accordion_content.js +17 -43
- package/build/cjs/packages/phoenix/src/components/accordion/accordion_content.js.map +1 -1
- package/build/cjs/packages/phoenix/src/components/accordion/accordion_group.js +28 -194
- package/build/cjs/packages/phoenix/src/components/accordion/accordion_group.js.map +1 -1
- package/build/cjs/packages/phoenix/src/components/accordion/accordion_toggler.js +7 -23
- package/build/cjs/packages/phoenix/src/components/accordion/accordion_toggler.js.map +1 -1
- package/build/cjs/packages/phoenix/src/components/messages/base_message.js +1 -1
- package/build/cjs/packages/phoenix/src/components/modal/modal.js +14 -5
- package/build/cjs/packages/phoenix/src/components/modal/modal.js.map +1 -1
- package/build/cjs/packages/phoenix/src/index.js +0 -2
- package/build/cjs/packages/phoenix/src/index.js.map +1 -1
- package/build/esm/packages/phoenix/src/components/accordion/accordion.d.ts +0 -1
- package/build/esm/packages/phoenix/src/components/accordion/accordion.js +6 -15
- package/build/esm/packages/phoenix/src/components/accordion/accordion.js.map +1 -1
- package/build/esm/packages/phoenix/src/components/accordion/accordion_constants.d.ts +2 -8
- package/build/esm/packages/phoenix/src/components/accordion/accordion_constants.js +3 -9
- package/build/esm/packages/phoenix/src/components/accordion/accordion_constants.js.map +1 -1
- package/build/esm/packages/phoenix/src/components/accordion/accordion_content.d.ts +0 -1
- package/build/esm/packages/phoenix/src/components/accordion/accordion_content.js +18 -44
- package/build/esm/packages/phoenix/src/components/accordion/accordion_content.js.map +1 -1
- package/build/esm/packages/phoenix/src/components/accordion/accordion_group.d.ts +0 -16
- package/build/esm/packages/phoenix/src/components/accordion/accordion_group.js +29 -195
- package/build/esm/packages/phoenix/src/components/accordion/accordion_group.js.map +1 -1
- package/build/esm/packages/phoenix/src/components/accordion/accordion_toggler.d.ts +0 -1
- package/build/esm/packages/phoenix/src/components/accordion/accordion_toggler.js +7 -23
- package/build/esm/packages/phoenix/src/components/accordion/accordion_toggler.js.map +1 -1
- package/build/esm/packages/phoenix/src/components/messages/base_message.js +1 -1
- package/build/esm/packages/phoenix/src/components/modal/modal.d.ts +1 -0
- package/build/esm/packages/phoenix/src/components/modal/modal.js +14 -5
- package/build/esm/packages/phoenix/src/components/modal/modal.js.map +1 -1
- package/build/esm/packages/phoenix/src/index.js +1 -1
- package/package.json +47 -47
- package/build/cjs/packages/utilities/build/esm/packages/utilities/src/feature_flag_utils.js +0 -26
- package/build/cjs/packages/utilities/build/esm/packages/utilities/src/feature_flag_utils.js.map +0 -1
- package/build/cjs/packages/utilities/build/esm/packages/utilities/src/json_utils.js +0 -25
- package/build/cjs/packages/utilities/build/esm/packages/utilities/src/json_utils.js.map +0 -1
- package/build/esm/packages/utilities/build/esm/packages/utilities/src/feature_flag_utils.js +0 -22
- package/build/esm/packages/utilities/build/esm/packages/utilities/src/feature_flag_utils.js.map +0 -1
- package/build/esm/packages/utilities/build/esm/packages/utilities/src/json_utils.js +0 -21
- package/build/esm/packages/utilities/build/esm/packages/utilities/src/json_utils.js.map +0 -1
|
@@ -9,20 +9,16 @@ var phoenix_custom_element = require('../../core/decorators/phoenix_custom_eleme
|
|
|
9
9
|
var behavior_subject = require('../../core/classes/behavior_subject/behavior_subject.js');
|
|
10
10
|
var context_provider_controller = require('../../core/context/context_provider_controller.js');
|
|
11
11
|
var accordion_constants = require('./accordion_constants.js');
|
|
12
|
-
var feature_flag_utils = require('../../../../utilities/build/esm/packages/utilities/src/feature_flag_utils.js');
|
|
13
12
|
|
|
14
13
|
exports.HAccordion = class HAccordion extends phoenix_light_lit_element.PhoenixLightLitElement {
|
|
15
14
|
constructor() {
|
|
16
15
|
super();
|
|
17
16
|
this.disabled = false;
|
|
18
17
|
this.mode = accordion_constants.ACCORDION_MODE.multi;
|
|
19
|
-
this.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
this._accordionContext.provide(accordion_constants.ACCORDION_CONTEXTS.accordionProps, this._accordionSubject);
|
|
24
|
-
this.setAttribute('role', 'none');
|
|
25
|
-
}
|
|
18
|
+
this._accordionSubject = new behavior_subject.BehaviorSubject(this._getProps());
|
|
19
|
+
this._accordionContext = new context_provider_controller.ContextProviderController(this);
|
|
20
|
+
this._accordionContext.provide(accordion_constants.ACCORDION_CONTEXTS.accordionProps, this._accordionSubject);
|
|
21
|
+
this.setAttribute('role', 'none');
|
|
26
22
|
}
|
|
27
23
|
enable() {
|
|
28
24
|
this.disabled = false;
|
|
@@ -34,12 +30,7 @@ exports.HAccordion = class HAccordion extends phoenix_light_lit_element.PhoenixL
|
|
|
34
30
|
this.notify();
|
|
35
31
|
}
|
|
36
32
|
notify() {
|
|
37
|
-
|
|
38
|
-
this.dispatchEvent(new Event(accordion_constants.ACCORDION_EVENTS.update));
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
this._accordionSubject.notify(this._getProps());
|
|
42
|
-
}
|
|
33
|
+
this._accordionSubject.notify(this._getProps());
|
|
43
34
|
}
|
|
44
35
|
_getProps() {
|
|
45
36
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -3,26 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const ACCORDION_EVENTS = {
|
|
6
|
-
toggle: 'toggle'
|
|
7
|
-
update: 'updateAccordion'
|
|
6
|
+
toggle: 'toggle'
|
|
8
7
|
};
|
|
9
8
|
const ACCORDION_CONTEXTS = {
|
|
10
9
|
accordionProps: 'accordionPropsSubject',
|
|
11
10
|
accordionGroupProps: 'accordionGroupPropsSubject'
|
|
12
11
|
};
|
|
13
|
-
const ACCORDION_CSS_CLASSES = {
|
|
14
|
-
open: 'accordion__details_open',
|
|
15
|
-
content: 'accordion__content'
|
|
16
|
-
};
|
|
17
12
|
const ACCORDION_MODE = {
|
|
18
13
|
single: 'single',
|
|
19
14
|
multi: 'multi'
|
|
20
|
-
};
|
|
21
|
-
const ACCORDION_ANIMATION_DURATION = 400;
|
|
15
|
+
};
|
|
22
16
|
|
|
23
|
-
exports.ACCORDION_ANIMATION_DURATION = ACCORDION_ANIMATION_DURATION;
|
|
24
17
|
exports.ACCORDION_CONTEXTS = ACCORDION_CONTEXTS;
|
|
25
|
-
exports.ACCORDION_CSS_CLASSES = ACCORDION_CSS_CLASSES;
|
|
26
18
|
exports.ACCORDION_EVENTS = ACCORDION_EVENTS;
|
|
27
19
|
exports.ACCORDION_MODE = ACCORDION_MODE;
|
|
28
20
|
//# sourceMappingURL=accordion_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;
|
|
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;"}
|
|
@@ -5,14 +5,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var tslib_es6 = require('../../../../../external/tslib/tslib.es6.js');
|
|
6
6
|
require('lit');
|
|
7
7
|
var decorators = require('lit/decorators');
|
|
8
|
-
var utilities = require('@dreamcommerce/utilities');
|
|
9
8
|
var phoenix_light_lit_element = require('../../core/phoenix_light_lit_element/phoenix_light_lit_element.js');
|
|
10
9
|
var phoenix_custom_element = require('../../core/decorators/phoenix_custom_element.js');
|
|
11
10
|
var observer = require('../../core/classes/observer/observer.js');
|
|
12
11
|
var context_consumer_controller = require('../../core/context/context_consumer_controller.js');
|
|
13
12
|
var accordion_constants = require('./accordion_constants.js');
|
|
14
|
-
var feature_flag_utils = require('../../../../utilities/build/esm/packages/utilities/src/feature_flag_utils.js');
|
|
15
|
-
var accordion_group = require('./accordion_group.js');
|
|
16
13
|
var transition_controller = require('../../controllers/transition_controller/transition_controller.js');
|
|
17
14
|
|
|
18
15
|
const RESIZE_DEBOUNCE_MS = 150;
|
|
@@ -75,8 +72,6 @@ exports.HAccordionContent = class HAccordionContent extends phoenix_light_lit_el
|
|
|
75
72
|
this._setHeight(this._originalHeight);
|
|
76
73
|
};
|
|
77
74
|
this._handleTransitionEnd = (e) => {
|
|
78
|
-
if (this._isDevAccordionOptimizationFlagEnabled)
|
|
79
|
-
return;
|
|
80
75
|
if (e.propertyName !== 'height' || e.target !== this) {
|
|
81
76
|
return;
|
|
82
77
|
}
|
|
@@ -93,39 +88,20 @@ exports.HAccordionContent = class HAccordionContent extends phoenix_light_lit_el
|
|
|
93
88
|
});
|
|
94
89
|
});
|
|
95
90
|
};
|
|
96
|
-
this.
|
|
97
|
-
|
|
98
|
-
if (this.parentElement instanceof accordion_group.HAccordionGroup) {
|
|
99
|
-
this.slot = this.hasAttribute('slot') ? this.slot : 'content';
|
|
100
|
-
}
|
|
101
|
-
else {
|
|
102
|
-
const contentToSlot = utilities.UiDomUtils.findParentByCondition(this, ($el) => $el.parentElement instanceof accordion_group.HAccordionGroup);
|
|
103
|
-
contentToSlot === null || contentToSlot === void 0 ? void 0 : contentToSlot.setAttribute('slot', 'content');
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
this.setAttribute('role', 'region');
|
|
108
|
-
this._boundHandleTransitionEnd = this._handleTransitionEnd.bind(this);
|
|
109
|
-
}
|
|
91
|
+
this.setAttribute('role', 'region');
|
|
92
|
+
this._boundHandleTransitionEnd = this._handleTransitionEnd.bind(this);
|
|
110
93
|
}
|
|
111
94
|
connectedCallback() {
|
|
112
95
|
super.connectedCallback();
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
this.addEventListener('transitionend', this._boundHandleTransitionEnd);
|
|
119
|
-
}
|
|
120
|
-
if (this._isDevAccordionOptimizationFlagEnabled) {
|
|
121
|
-
this.classList.add(accordion_constants.ACCORDION_CSS_CLASSES.content);
|
|
122
|
-
}
|
|
96
|
+
this._contextConsumer = new context_consumer_controller.ContextConsumerController(this);
|
|
97
|
+
this._transitionController = new transition_controller.TransitionController(this, this.transitionName);
|
|
98
|
+
this._subscribeObserver();
|
|
99
|
+
window.addEventListener('resize', this._handleResize, { passive: true });
|
|
100
|
+
this.addEventListener('transitionend', this._boundHandleTransitionEnd);
|
|
123
101
|
}
|
|
124
102
|
firstUpdated(props) {
|
|
125
103
|
super.firstUpdated(props);
|
|
126
|
-
|
|
127
|
-
this._setStylingOptions();
|
|
128
|
-
}
|
|
104
|
+
this._setStylingOptions();
|
|
129
105
|
}
|
|
130
106
|
async _subscribeObserver() {
|
|
131
107
|
this._accordionGroupProps = await this._contextConsumer.consumeAsync(accordion_constants.ACCORDION_CONTEXTS.accordionGroupProps);
|
|
@@ -147,17 +123,15 @@ exports.HAccordionContent = class HAccordionContent extends phoenix_light_lit_el
|
|
|
147
123
|
disconnectedCallback() {
|
|
148
124
|
var _a, _b;
|
|
149
125
|
super.disconnectedCallback();
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
window.clearTimeout(this._mutationDebounceTimer);
|
|
160
|
-
}
|
|
126
|
+
(_a = this._accordionGroupProps) === null || _a === void 0 ? void 0 : _a.unsubscribe(this._accordionGroupPropsObserver);
|
|
127
|
+
(_b = this._mutationObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
128
|
+
window.removeEventListener('resize', this._handleResize);
|
|
129
|
+
this.removeEventListener('transitionend', this._boundHandleTransitionEnd);
|
|
130
|
+
if (this._resizeDebounceTimer !== null) {
|
|
131
|
+
window.cancelAnimationFrame(this._resizeDebounceTimer);
|
|
132
|
+
}
|
|
133
|
+
if (this._mutationDebounceTimer !== null) {
|
|
134
|
+
window.clearTimeout(this._mutationDebounceTimer);
|
|
161
135
|
}
|
|
162
136
|
}
|
|
163
137
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var tslib_es6 = require('../../../../../external/tslib/tslib.es6.js');
|
|
6
|
-
var lit = require('lit');
|
|
7
6
|
var decorators = require('lit/decorators');
|
|
8
7
|
var phoenix_light_lit_element = require('../../core/phoenix_light_lit_element/phoenix_light_lit_element.js');
|
|
9
8
|
var phoenix_custom_element = require('../../core/decorators/phoenix_custom_element.js');
|
|
@@ -11,11 +10,7 @@ var observer = require('../../core/classes/observer/observer.js');
|
|
|
11
10
|
var context_consumer_controller = require('../../core/context/context_consumer_controller.js');
|
|
12
11
|
var behavior_subject = require('../../core/classes/behavior_subject/behavior_subject.js');
|
|
13
12
|
var context_provider_controller = require('../../core/context/context_provider_controller.js');
|
|
14
|
-
var v4 = require('../../../../../external/uuid/dist/esm-browser/v4.js');
|
|
15
13
|
var accordion_constants = require('./accordion_constants.js');
|
|
16
|
-
var feature_flag_utils = require('../../../../utilities/build/esm/packages/utilities/src/feature_flag_utils.js');
|
|
17
|
-
var ref = require('lit/directives/ref');
|
|
18
|
-
var when = require('lit/directives/when');
|
|
19
14
|
|
|
20
15
|
exports.HAccordionGroup = class HAccordionGroup extends phoenix_light_lit_element.PhoenixLightLitElement {
|
|
21
16
|
constructor() {
|
|
@@ -25,74 +20,19 @@ exports.HAccordionGroup = class HAccordionGroup extends phoenix_light_lit_elemen
|
|
|
25
20
|
this._regionId = typeof self.crypto.randomUUID === 'function' ? self.crypto.randomUUID() : (Math.random() + 1).toString(36).substring(3);
|
|
26
21
|
this._controlsId = typeof self.crypto.randomUUID === 'function' ? self.crypto.randomUUID() : (Math.random() + 1).toString(36).substring(3);
|
|
27
22
|
this._mode = accordion_constants.ACCORDION_MODE.multi;
|
|
28
|
-
this._$parentAccordion = null;
|
|
29
|
-
this._detailsRef = ref.createRef();
|
|
30
|
-
this._togglerId = v4['default']();
|
|
31
|
-
this._animationFrameId = null;
|
|
32
|
-
this._closeTimeoutId = null;
|
|
33
|
-
this._syncWithParentAccordion = () => {
|
|
34
|
-
if (!this._$parentAccordion)
|
|
35
|
-
return;
|
|
36
|
-
this._mode = this._$parentAccordion.mode;
|
|
37
|
-
const shouldBeDisabled = this._$parentAccordion.disabled;
|
|
38
|
-
const hasDisabledStateChanged = shouldBeDisabled !== this._isDisabled;
|
|
39
|
-
if (hasDisabledStateChanged) {
|
|
40
|
-
shouldBeDisabled ? this.disable() : this.enable();
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
this._hideOtherDetailsGroups = () => {
|
|
44
|
-
var _a;
|
|
45
|
-
if (this._isDisabled)
|
|
46
|
-
return;
|
|
47
|
-
(_a = this._$parentAccordion) === null || _a === void 0 ? void 0 : _a.querySelectorAll('h-accordion-group').forEach(($accordionGroup) => {
|
|
48
|
-
if ($accordionGroup === this)
|
|
49
|
-
return;
|
|
50
|
-
$accordionGroup.hide();
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
23
|
this._accordionToggle = () => {
|
|
54
24
|
this.toggle();
|
|
55
25
|
};
|
|
56
|
-
this.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
};
|
|
61
|
-
this._isDevAccordionOptimizationFlagEnabled = feature_flag_utils.FeatureFlagUtils.isEnabled('dev_accordion_optimization');
|
|
62
|
-
if (!this._isDevAccordionOptimizationFlagEnabled) {
|
|
63
|
-
this._accordionGroupPropsSubject = new behavior_subject.BehaviorSubject(this._getProps());
|
|
64
|
-
this._accordionGroupContext = new context_provider_controller.ContextProviderController(this);
|
|
65
|
-
this._accordionGroupContext.provide(accordion_constants.ACCORDION_CONTEXTS.accordionGroupProps, this._accordionGroupPropsSubject);
|
|
66
|
-
this.setAttribute('role', 'none');
|
|
67
|
-
}
|
|
26
|
+
this._accordionGroupPropsSubject = new behavior_subject.BehaviorSubject(this._getProps());
|
|
27
|
+
this._accordionGroupContext = new context_provider_controller.ContextProviderController(this);
|
|
28
|
+
this._accordionGroupContext.provide(accordion_constants.ACCORDION_CONTEXTS.accordionGroupProps, this._accordionGroupPropsSubject);
|
|
29
|
+
this.setAttribute('role', 'none');
|
|
68
30
|
}
|
|
69
31
|
connectedCallback() {
|
|
70
|
-
var _a;
|
|
71
32
|
super.connectedCallback();
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
(_a = this._$parentAccordion) === null || _a === void 0 ? void 0 : _a.addEventListener(accordion_constants.ACCORDION_EVENTS.update, this._syncWithParentAccordion);
|
|
76
|
-
this._syncWithParentAccordion();
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
this._accordionContextConsumer = new context_consumer_controller.ContextConsumerController(this);
|
|
80
|
-
this._subscribeObserver();
|
|
81
|
-
this.addEventListener(accordion_constants.ACCORDION_EVENTS.toggle, this._accordionToggle);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
_addClassedToSlottedContentElements() {
|
|
85
|
-
const slottedContentElements = Array.from(this.querySelectorAll('[slot="content"]'));
|
|
86
|
-
slottedContentElements.forEach(($element) => {
|
|
87
|
-
$element.classList.add(accordion_constants.ACCORDION_CSS_CLASSES.content);
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
firstUpdated(props) {
|
|
91
|
-
super.firstUpdated(props);
|
|
92
|
-
if (this._isDevAccordionOptimizationFlagEnabled) {
|
|
93
|
-
if (this.opened)
|
|
94
|
-
this.show();
|
|
95
|
-
}
|
|
33
|
+
this._accordionContextConsumer = new context_consumer_controller.ContextConsumerController(this);
|
|
34
|
+
this._subscribeObserver();
|
|
35
|
+
this.addEventListener(accordion_constants.ACCORDION_EVENTS.toggle, this._accordionToggle);
|
|
96
36
|
}
|
|
97
37
|
async _subscribeObserver() {
|
|
98
38
|
this._accordionProps = await this._accordionContextConsumer.consumeAsync(accordion_constants.ACCORDION_CONTEXTS.accordionProps);
|
|
@@ -112,116 +52,34 @@ exports.HAccordionGroup = class HAccordionGroup extends phoenix_light_lit_elemen
|
|
|
112
52
|
this._accordionProps.subscribe(this._accordionPropsObserver);
|
|
113
53
|
}
|
|
114
54
|
disconnectedCallback() {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
if (this._isDevAccordionOptimizationFlagEnabled) {
|
|
118
|
-
(_a = this._$parentAccordion) === null || _a === void 0 ? void 0 : _a.removeEventListener(accordion_constants.ACCORDION_EVENTS.update, this._syncWithParentAccordion);
|
|
119
|
-
}
|
|
120
|
-
else {
|
|
121
|
-
this._accordionProps.unsubscribe(this._accordionPropsObserver);
|
|
122
|
-
this.removeEventListener(accordion_constants.ACCORDION_EVENTS.toggle, this._accordionToggle);
|
|
123
|
-
}
|
|
55
|
+
this._accordionProps.unsubscribe(this._accordionPropsObserver);
|
|
56
|
+
this.removeEventListener(accordion_constants.ACCORDION_EVENTS.toggle, this._accordionToggle);
|
|
124
57
|
}
|
|
125
58
|
show() {
|
|
126
|
-
if (this.
|
|
127
|
-
this.
|
|
128
|
-
|
|
129
|
-
if (!$details)
|
|
130
|
-
return;
|
|
131
|
-
this._clearPendingAnimations();
|
|
132
|
-
$details.setAttribute('open', '');
|
|
133
|
-
this._animationFrameId = requestAnimationFrame(() => {
|
|
134
|
-
$details.classList.add(accordion_constants.ACCORDION_CSS_CLASSES.open);
|
|
135
|
-
this._animationFrameId = null;
|
|
136
|
-
});
|
|
137
|
-
this._dispatchToggleEvent($details, true);
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
if (this._mode === accordion_constants.ACCORDION_MODE.single)
|
|
141
|
-
this._closeOtherAccordionGroups();
|
|
142
|
-
this.opened = true;
|
|
143
|
-
}
|
|
59
|
+
if (this._mode === accordion_constants.ACCORDION_MODE.single)
|
|
60
|
+
this._closeOtherAccordionGroups();
|
|
61
|
+
this.opened = true;
|
|
144
62
|
}
|
|
145
63
|
hide() {
|
|
146
|
-
|
|
147
|
-
const $details = this._detailsRef.value;
|
|
148
|
-
if (!$details)
|
|
149
|
-
return;
|
|
150
|
-
this._clearPendingAnimations();
|
|
151
|
-
$details.classList.remove(accordion_constants.ACCORDION_CSS_CLASSES.open);
|
|
152
|
-
this._closeTimeoutId = setTimeout(() => {
|
|
153
|
-
$details.removeAttribute('open');
|
|
154
|
-
this._closeTimeoutId = null;
|
|
155
|
-
}, accordion_constants.ACCORDION_ANIMATION_DURATION);
|
|
156
|
-
this._dispatchToggleEvent($details, false);
|
|
157
|
-
}
|
|
158
|
-
else {
|
|
159
|
-
this.opened = false;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
_clearPendingAnimations() {
|
|
163
|
-
if (this._animationFrameId !== null) {
|
|
164
|
-
cancelAnimationFrame(this._animationFrameId);
|
|
165
|
-
this._animationFrameId = null;
|
|
166
|
-
}
|
|
167
|
-
if (this._closeTimeoutId !== null) {
|
|
168
|
-
clearTimeout(this._closeTimeoutId);
|
|
169
|
-
this._closeTimeoutId = null;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
_dispatchToggleEvent($details, open) {
|
|
173
|
-
this.emitCustomEvent(accordion_constants.ACCORDION_EVENTS.toggle, {
|
|
174
|
-
detail: { open, target: $details }
|
|
175
|
-
});
|
|
64
|
+
this.opened = false;
|
|
176
65
|
}
|
|
177
66
|
toggle() {
|
|
178
|
-
if (this.
|
|
179
|
-
this.
|
|
180
|
-
|
|
181
|
-
if (!$details)
|
|
182
|
-
return;
|
|
183
|
-
const isOpen = $details.hasAttribute('open');
|
|
184
|
-
isOpen ? this.hide() : this.show();
|
|
185
|
-
}
|
|
186
|
-
else {
|
|
187
|
-
if (this._mode === accordion_constants.ACCORDION_MODE.single)
|
|
188
|
-
this._closeOtherAccordionGroups();
|
|
189
|
-
this.opened = !this.opened;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
_handleSingleModeConstraint() {
|
|
193
|
-
if (this._mode === accordion_constants.ACCORDION_MODE.single) {
|
|
194
|
-
this._hideOtherDetailsGroups();
|
|
195
|
-
}
|
|
67
|
+
if (this._mode === accordion_constants.ACCORDION_MODE.single)
|
|
68
|
+
this._closeOtherAccordionGroups();
|
|
69
|
+
this.opened = !this.opened;
|
|
196
70
|
}
|
|
197
71
|
enable() {
|
|
198
|
-
if (this.
|
|
199
|
-
|
|
200
|
-
return;
|
|
201
|
-
this._isDisabled = false;
|
|
72
|
+
if (this._isDisabled) {
|
|
73
|
+
this.addEventListener(accordion_constants.ACCORDION_EVENTS.toggle, this._accordionToggle);
|
|
202
74
|
this.hide();
|
|
203
|
-
|
|
204
|
-
else {
|
|
205
|
-
if (this._isDisabled) {
|
|
206
|
-
this.addEventListener(accordion_constants.ACCORDION_EVENTS.toggle, this._accordionToggle);
|
|
207
|
-
this.hide();
|
|
208
|
-
this._isDisabled = false;
|
|
209
|
-
}
|
|
75
|
+
this._isDisabled = false;
|
|
210
76
|
}
|
|
211
77
|
}
|
|
212
78
|
disable() {
|
|
213
|
-
if (this.
|
|
214
|
-
|
|
215
|
-
return;
|
|
216
|
-
this._isDisabled = true;
|
|
79
|
+
if (!this._isDisabled) {
|
|
80
|
+
this.removeEventListener(accordion_constants.ACCORDION_EVENTS.toggle, this._accordionToggle);
|
|
217
81
|
this.show();
|
|
218
|
-
|
|
219
|
-
else {
|
|
220
|
-
if (!this._isDisabled) {
|
|
221
|
-
this.removeEventListener(accordion_constants.ACCORDION_EVENTS.toggle, this._accordionToggle);
|
|
222
|
-
this.show();
|
|
223
|
-
this._isDisabled = true;
|
|
224
|
-
}
|
|
82
|
+
this._isDisabled = true;
|
|
225
83
|
}
|
|
226
84
|
}
|
|
227
85
|
_closeOtherAccordionGroups() {
|
|
@@ -233,18 +91,14 @@ exports.HAccordionGroup = class HAccordionGroup extends phoenix_light_lit_elemen
|
|
|
233
91
|
}
|
|
234
92
|
}
|
|
235
93
|
notify() {
|
|
236
|
-
|
|
237
|
-
this._accordionGroupPropsSubject.notify(this._getProps());
|
|
238
|
-
}
|
|
94
|
+
this._accordionGroupPropsSubject.notify(this._getProps());
|
|
239
95
|
}
|
|
240
96
|
updated(_changedProperties) {
|
|
241
|
-
if (
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
this.notify();
|
|
247
|
-
}
|
|
97
|
+
if (_changedProperties.has('opened') ||
|
|
98
|
+
_changedProperties.has('_isDisabled') ||
|
|
99
|
+
_changedProperties.has('_regionId') ||
|
|
100
|
+
_changedProperties.has('_controlsId')) {
|
|
101
|
+
this.notify();
|
|
248
102
|
}
|
|
249
103
|
}
|
|
250
104
|
_getProps() {
|
|
@@ -255,26 +109,6 @@ exports.HAccordionGroup = class HAccordionGroup extends phoenix_light_lit_elemen
|
|
|
255
109
|
controlsId: this._controlsId
|
|
256
110
|
};
|
|
257
111
|
}
|
|
258
|
-
render() {
|
|
259
|
-
return when.when(this._isDevAccordionOptimizationFlagEnabled, () => lit.html `
|
|
260
|
-
<details
|
|
261
|
-
${ref.ref(this._detailsRef)}
|
|
262
|
-
class="accordion__details ${this._isDisabled ? 'accordion__details_disabled' : ''}"
|
|
263
|
-
aria-disabled="${this._isDisabled ? 'true' : 'false'}"
|
|
264
|
-
aria-labelledby="${this._togglerId}"
|
|
265
|
-
>
|
|
266
|
-
<summary
|
|
267
|
-
class="accordion__summary"
|
|
268
|
-
id="${this._togglerId}"
|
|
269
|
-
@click=${this._summaryClickHandler}
|
|
270
|
-
>
|
|
271
|
-
${this.getSlot('toggler')}
|
|
272
|
-
</summary>
|
|
273
|
-
|
|
274
|
-
${this.getSlot('content')}
|
|
275
|
-
</details>
|
|
276
|
-
`);
|
|
277
|
-
}
|
|
278
112
|
};
|
|
279
113
|
tslib_es6.__decorate([
|
|
280
114
|
decorators.property({ type: Boolean, reflect: true }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;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,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -3,13 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var tslib_es6 = require('../../../../../external/tslib/tslib.es6.js');
|
|
6
|
-
var utilities = require('@dreamcommerce/utilities');
|
|
7
6
|
var phoenix_light_lit_element = require('../../core/phoenix_light_lit_element/phoenix_light_lit_element.js');
|
|
8
7
|
var phoenix_custom_element = require('../../core/decorators/phoenix_custom_element.js');
|
|
9
8
|
var observer = require('../../core/classes/observer/observer.js');
|
|
10
9
|
var context_consumer_controller = require('../../core/context/context_consumer_controller.js');
|
|
11
10
|
var accordion_constants = require('./accordion_constants.js');
|
|
12
|
-
var accordion_group = require('./accordion_group.js');
|
|
13
11
|
|
|
14
12
|
exports.HAccordionToggler = class HAccordionToggler extends phoenix_light_lit_element.PhoenixLightLitElement {
|
|
15
13
|
constructor() {
|
|
@@ -24,29 +22,15 @@ exports.HAccordionToggler = class HAccordionToggler extends phoenix_light_lit_el
|
|
|
24
22
|
this._emitTogglerClicked = () => {
|
|
25
23
|
this.emitCustomEvent(accordion_constants.ACCORDION_EVENTS.toggle);
|
|
26
24
|
};
|
|
27
|
-
this.
|
|
28
|
-
if (this._isDevAccordionOptimizationFlagEnabled) {
|
|
29
|
-
if (this.parentElement instanceof accordion_group.HAccordionGroup) {
|
|
30
|
-
this.slot = this.hasAttribute('slot') ? this.slot : 'toggler';
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
const contentToSlot = utilities.UiDomUtils.findParentByCondition(this, ($el) => $el.parentElement instanceof accordion_group.HAccordionGroup);
|
|
34
|
-
contentToSlot === null || contentToSlot === void 0 ? void 0 : contentToSlot.setAttribute('slot', 'toggler');
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
this._contextConsumer = new context_consumer_controller.ContextConsumerController(this);
|
|
39
|
-
}
|
|
25
|
+
this._contextConsumer = new context_consumer_controller.ContextConsumerController(this);
|
|
40
26
|
}
|
|
41
27
|
async connectedCallback() {
|
|
42
28
|
super.connectedCallback();
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
this.addEventListener('keydown', this._emitTogglerClickedWithKeyboard);
|
|
49
|
-
}
|
|
29
|
+
this._accordionGroupProps = await this._contextConsumer.consumeAsync(accordion_constants.ACCORDION_CONTEXTS.accordionGroupProps);
|
|
30
|
+
this._accordionGroupPropsObserver = new observer.Observer((accordionProps) => this._setAttributes(accordionProps));
|
|
31
|
+
this._accordionGroupProps.subscribe(this._accordionGroupPropsObserver);
|
|
32
|
+
this.addEventListener('click', this._emitTogglerClicked);
|
|
33
|
+
this.addEventListener('keydown', this._emitTogglerClickedWithKeyboard);
|
|
50
34
|
}
|
|
51
35
|
_setAttributes({ regionId, opened, controlsId, disabled }) {
|
|
52
36
|
this.setAttribute('id', regionId);
|
|
@@ -63,7 +47,7 @@ exports.HAccordionToggler = class HAccordionToggler extends phoenix_light_lit_el
|
|
|
63
47
|
}
|
|
64
48
|
}
|
|
65
49
|
disconnectedCallback() {
|
|
66
|
-
if (this._accordionGroupProps
|
|
50
|
+
if (this._accordionGroupProps) {
|
|
67
51
|
this._accordionGroupProps.unsubscribe(this._accordionGroupPropsObserver);
|
|
68
52
|
}
|
|
69
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -11,8 +11,8 @@ var v4 = require('../../../../../external/uuid/dist/esm-browser/v4.js');
|
|
|
11
11
|
var portal_constants = require('../portal/portal_constants.js');
|
|
12
12
|
var click_outside_controller = require('../../controllers/click_outside_controller/click_outside_controller.js');
|
|
13
13
|
var relative_position_controller = require('../../controllers/relative_position_controller/relative_position_controller.js');
|
|
14
|
-
var ref = require('lit/directives/ref');
|
|
15
14
|
var base_message_constants = require('./base_message_constants.js');
|
|
15
|
+
var ref = require('lit/directives/ref');
|
|
16
16
|
|
|
17
17
|
class BaseMessage extends phoenix_light_lit_element.PhoenixLightLitElement {
|
|
18
18
|
constructor() {
|
|
@@ -24,6 +24,7 @@ exports.HModal = HModal_1 = class HModal extends phoenix_light_lit_element.Phoen
|
|
|
24
24
|
this.class = '';
|
|
25
25
|
this.transition = 'scale';
|
|
26
26
|
this.modalLabel = '';
|
|
27
|
+
this.noAutofocus = false;
|
|
27
28
|
this._firstFocusableElement = undefined;
|
|
28
29
|
this._focusableElements = null;
|
|
29
30
|
this._lastFocusableElement = undefined;
|
|
@@ -39,11 +40,13 @@ exports.HModal = HModal_1 = class HModal extends phoenix_light_lit_element.Phoen
|
|
|
39
40
|
document.addEventListener('keydown', this._bindCloseOnEsc);
|
|
40
41
|
document.addEventListener(backdrop_constants.BACKDROP_EVENTS.clicked, this.close);
|
|
41
42
|
this._dispatchModalOpenedEvent();
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
if (!this.noAutofocus) {
|
|
44
|
+
setTimeout(() => {
|
|
45
|
+
var _a;
|
|
46
|
+
(_a = this._firstFocusableElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
47
|
+
window.scrollTo(0, scrollY);
|
|
48
|
+
}, 0);
|
|
49
|
+
}
|
|
47
50
|
},
|
|
48
51
|
false: () => {
|
|
49
52
|
HModal_1.openModals = HModal_1.openModals.filter((modal) => modal !== this);
|
|
@@ -168,6 +171,8 @@ exports.HModal = HModal_1 = class HModal extends phoenix_light_lit_element.Phoen
|
|
|
168
171
|
}
|
|
169
172
|
}
|
|
170
173
|
_setFocusToFirstFocusableElementInModalOrCloseBtn() {
|
|
174
|
+
if (this.noAutofocus)
|
|
175
|
+
return;
|
|
171
176
|
requestAnimationFrame(() => {
|
|
172
177
|
if (this._contentRef.value) {
|
|
173
178
|
const focusableElements = utilities.UiDomUtils.getFocusableElements(this._contentRef.value);
|
|
@@ -247,6 +252,10 @@ tslib_es6.__decorate([
|
|
|
247
252
|
decorators_js.property({ type: String, attribute: 'modal-label' }),
|
|
248
253
|
tslib_es6.__metadata("design:type", Object)
|
|
249
254
|
], exports.HModal.prototype, "modalLabel", void 0);
|
|
255
|
+
tslib_es6.__decorate([
|
|
256
|
+
decorators_js.property({ type: Boolean, attribute: 'no-autofocus' }),
|
|
257
|
+
tslib_es6.__metadata("design:type", Object)
|
|
258
|
+
], exports.HModal.prototype, "noAutofocus", void 0);
|
|
250
259
|
tslib_es6.__decorate([
|
|
251
260
|
decorators_js.state(),
|
|
252
261
|
tslib_es6.__metadata("design:type", Object)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -467,9 +467,7 @@ Object.defineProperty(exports, 'HTextareaControl', {
|
|
|
467
467
|
return textarea_control.HTextareaControl;
|
|
468
468
|
}
|
|
469
469
|
});
|
|
470
|
-
exports.ACCORDION_ANIMATION_DURATION = accordion_constants.ACCORDION_ANIMATION_DURATION;
|
|
471
470
|
exports.ACCORDION_CONTEXTS = accordion_constants.ACCORDION_CONTEXTS;
|
|
472
|
-
exports.ACCORDION_CSS_CLASSES = accordion_constants.ACCORDION_CSS_CLASSES;
|
|
473
471
|
exports.ACCORDION_EVENTS = accordion_constants.ACCORDION_EVENTS;
|
|
474
472
|
exports.ACCORDION_MODE = accordion_constants.ACCORDION_MODE;
|
|
475
473
|
Object.defineProperty(exports, 'HAccordion', {
|