@shoper/phoenix_design_system 1.1.6-1 → 1.1.6-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.
Files changed (45) hide show
  1. package/build/cjs/packages/phoenix/src/components/form/file_picker/file/file.js +65 -0
  2. package/build/cjs/packages/phoenix/src/components/form/file_picker/file/file.js.map +1 -0
  3. package/build/cjs/packages/phoenix/src/components/form/file_picker/file_picker.js +142 -0
  4. package/build/cjs/packages/phoenix/src/components/form/file_picker/file_picker.js.map +1 -0
  5. package/build/cjs/packages/phoenix/src/components/form/file_picker/file_picker_constants.js +38 -0
  6. package/build/cjs/packages/phoenix/src/components/form/file_picker/file_picker_constants.js.map +1 -0
  7. package/build/cjs/packages/phoenix/src/components/form/input/input.js +1 -1
  8. package/build/cjs/packages/phoenix/src/components/form/input/input_control.js +1 -1
  9. package/build/cjs/packages/phoenix/src/components/form/select/controllers/base_select_controller.js +13 -13
  10. package/build/cjs/packages/phoenix/src/components/form/select/controllers/multi_select_controller.js +6 -6
  11. package/build/cjs/packages/phoenix/src/components/form/select/controllers/select_controller.js +2 -2
  12. package/build/cjs/packages/phoenix/src/components/form/select/select.js +16 -47
  13. package/build/cjs/packages/phoenix/src/components/form/select/select.js.map +1 -1
  14. package/build/cjs/packages/phoenix/src/components/form/select/select_utils.js +0 -6
  15. package/build/cjs/packages/phoenix/src/components/form/select/select_utils.js.map +1 -1
  16. package/build/cjs/packages/phoenix/src/index.js +14 -0
  17. package/build/cjs/packages/phoenix/src/index.js.map +1 -1
  18. package/build/esm/packages/phoenix/src/components/form/file_picker/file/file.d.ts +12 -0
  19. package/build/esm/packages/phoenix/src/components/form/file_picker/file/file.js +63 -0
  20. package/build/esm/packages/phoenix/src/components/form/file_picker/file/file.js.map +1 -0
  21. package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker.d.ts +25 -0
  22. package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker.js +140 -0
  23. package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker.js.map +1 -0
  24. package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker_constants.d.ts +24 -0
  25. package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker_constants.js +30 -0
  26. package/build/esm/packages/phoenix/src/components/form/file_picker/file_picker_constants.js.map +1 -0
  27. package/build/esm/packages/phoenix/src/components/form/input/input.js +1 -1
  28. package/build/esm/packages/phoenix/src/components/form/input/input_control.js +1 -1
  29. package/build/esm/packages/phoenix/src/components/form/select/controllers/base_select_controller.d.ts +10 -10
  30. package/build/esm/packages/phoenix/src/components/form/select/controllers/base_select_controller.js +13 -13
  31. package/build/esm/packages/phoenix/src/components/form/select/controllers/multi_select_controller.d.ts +3 -3
  32. package/build/esm/packages/phoenix/src/components/form/select/controllers/multi_select_controller.js +6 -6
  33. package/build/esm/packages/phoenix/src/components/form/select/controllers/select_controller.d.ts +1 -1
  34. package/build/esm/packages/phoenix/src/components/form/select/controllers/select_controller.js +2 -2
  35. package/build/esm/packages/phoenix/src/components/form/select/controllers/select_controllers_types.d.ts +9 -9
  36. package/build/esm/packages/phoenix/src/components/form/select/select.d.ts +2 -9
  37. package/build/esm/packages/phoenix/src/components/form/select/select.js +16 -47
  38. package/build/esm/packages/phoenix/src/components/form/select/select.js.map +1 -1
  39. package/build/esm/packages/phoenix/src/components/form/select/select_utils.d.ts +0 -2
  40. package/build/esm/packages/phoenix/src/components/form/select/select_utils.js +0 -6
  41. package/build/esm/packages/phoenix/src/components/form/select/select_utils.js.map +1 -1
  42. package/build/esm/packages/phoenix/src/index.d.ts +2 -0
  43. package/build/esm/packages/phoenix/src/index.js +2 -0
  44. package/build/esm/packages/phoenix/src/index.js.map +1 -1
  45. package/package.json +1 -1
@@ -0,0 +1,65 @@
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 file_picker_constants = require('../file_picker_constants.js');
11
+ var control_props_sync_consumer_controller = require('../../controllers/props_synchronizing/control_props_sync_consumer_controller.js');
12
+
13
+ exports.HFile = class HFile extends phoenix_light_lit_element.PhoenixLightLitElement {
14
+ constructor() {
15
+ super();
16
+ this._handleClick = () => {
17
+ const removeItemEvent = new CustomEvent(file_picker_constants.FILE_ITEM_EVENT_NAMES.removed, {
18
+ bubbles: true,
19
+ detail: {
20
+ containerId: this.containerId
21
+ }
22
+ });
23
+ this.dispatchEvent(removeItemEvent);
24
+ };
25
+ new control_props_sync_consumer_controller.ControlPropsSyncConsumerController({
26
+ host: this
27
+ });
28
+ }
29
+ connectedCallback() {
30
+ super.connectedCallback();
31
+ this.classList.add(file_picker_constants.FILE_ITEM_CSS_CLASSES.file);
32
+ }
33
+ render() {
34
+ return lit.html `
35
+ <span class="${file_picker_constants.FILE_ITEM_CSS_CLASSES.fileName}">${this.name}</span>
36
+ <button class="${file_picker_constants.FILE_ITEM_CSS_CLASSES.fileRemoveButton}" @click="${this._handleClick}">
37
+ ${this.removeButtonIconName
38
+ ? lit.html `<h-icon class="${file_picker_constants.FILE_PICKER_ICON_CSS_CLASSES.filePickerIcon}" icon-name=${this.removeButtonIconName} />`
39
+ : lit.nothing}
40
+ ${this.removeButtonText}
41
+ </button>
42
+ `;
43
+ }
44
+ };
45
+ tslib_es6.__decorate([
46
+ decorators.property({ type: String }),
47
+ tslib_es6.__metadata("design:type", String)
48
+ ], exports.HFile.prototype, "name", void 0);
49
+ tslib_es6.__decorate([
50
+ decorators.property({ type: String, attribute: 'container-id' }),
51
+ tslib_es6.__metadata("design:type", String)
52
+ ], exports.HFile.prototype, "containerId", void 0);
53
+ tslib_es6.__decorate([
54
+ decorators.property({ type: String }),
55
+ tslib_es6.__metadata("design:type", String)
56
+ ], exports.HFile.prototype, "removeButtonText", void 0);
57
+ tslib_es6.__decorate([
58
+ decorators.property({ type: String }),
59
+ tslib_es6.__metadata("design:type", String)
60
+ ], exports.HFile.prototype, "removeButtonIconName", void 0);
61
+ exports.HFile = tslib_es6.__decorate([
62
+ phoenix_custom_element.phoenixCustomElement('h-file'),
63
+ tslib_es6.__metadata("design:paramtypes", [])
64
+ ], exports.HFile);
65
+ //# sourceMappingURL=file.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,kDAAsD;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,142 @@
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 index = require('../../../../external/classnames/index.js');
11
+ var ref_js = require('lit-html/directives/ref.js');
12
+ var file_picker_constants = require('./file_picker_constants.js');
13
+ var control_props_sync_provider_controller = require('../controllers/props_synchronizing/control_props_sync_provider_controller.js');
14
+ var ifDefined = require('lit/directives/if-defined');
15
+
16
+ exports.HFilePicker = class HFilePicker extends phoenix_light_lit_element.PhoenixLightLitElement {
17
+ constructor() {
18
+ super();
19
+ this._$fileInputRef = ref_js.createRef();
20
+ this._handleChangeEvent = (event) => {
21
+ console.log('change');
22
+ this.fileName = this._getFileName(event);
23
+ this.classList.add(file_picker_constants.FILE_PICKER_CONTROL_CSS_CLASSES.filePickerHasValue);
24
+ };
25
+ this._getFileName = (event) => {
26
+ const targetElement = event.currentTarget;
27
+ const fileList = targetElement.files;
28
+ return fileList[0].name;
29
+ };
30
+ this._removeFileItem = () => {
31
+ const $fileInput = this._$fileInputRef.value;
32
+ this.fileName = '';
33
+ if ($fileInput)
34
+ $fileInput.value = '';
35
+ this.classList.remove(file_picker_constants.FILE_PICKER_CONTROL_CSS_CLASSES.filePickerHasValue);
36
+ };
37
+ new control_props_sync_provider_controller.ControlPropsSyncProviderController({
38
+ host: this,
39
+ propsToSync: [...Object.values(file_picker_constants.FILE_ITEM_PROPS_TO_SYNC)]
40
+ });
41
+ }
42
+ connectedCallback() {
43
+ super.connectedCallback();
44
+ this._addEventListeners();
45
+ this.classList.add(file_picker_constants.FILE_PICKER_CONTROL_CSS_CLASSES.filePicker);
46
+ const cssClasses = index['default']({
47
+ [file_picker_constants.FILE_PICKER_CONTROL_CSS_CLASSES.filePickerDisabled]: this.disabled,
48
+ [file_picker_constants.FILE_PICKER_CONTROL_CSS_CLASSES.filePickerRequired]: this.required,
49
+ [file_picker_constants.FILE_PICKER_CONTROL_CSS_CLASSES.filePickerError]: this.error
50
+ });
51
+ if (cssClasses)
52
+ this.classList.add(cssClasses);
53
+ }
54
+ disconnectedCallback() {
55
+ super.disconnectedCallback();
56
+ }
57
+ render() {
58
+ super.render();
59
+ return lit.html `
60
+ <input
61
+ ${ref_js.ref(this._$fileInputRef)}
62
+ type="file"
63
+ class="${file_picker_constants.FILE_PICKER_CONTROL_CSS_CLASSES.filePickerInput}"
64
+ id="${ifDefined.ifDefined(this.controlId)}"
65
+ name="${ifDefined.ifDefined(this.controlName)}"
66
+ value="${ifDefined.ifDefined(this.value)}"
67
+ ?disabled="${this.disabled}"
68
+ ?required="${this.required}"
69
+ accept="${ifDefined.ifDefined(this.formats)}"
70
+ @change="${this._handleChangeEvent}"
71
+ hidden
72
+ />
73
+
74
+ ${!this.fileName
75
+ ? lit.html `<label class="${file_picker_constants.FILE_PICKER_CONTROL_CSS_CLASSES.filePickerLabel}" for="${ifDefined.ifDefined(this.controlId)}">
76
+ ${this.labelIconName
77
+ ? lit.html `<h-icon class="${file_picker_constants.FILE_PICKER_ICON_CSS_CLASSES.filePickerIcon}" icon-name=${this.labelIconName} />`
78
+ : lit.nothing}
79
+ ${this.labelText}
80
+ </label>`
81
+ : lit.nothing}
82
+
83
+ ${this.fileName ? lit.html `<h-file name="${this.fileName}" container-id="${this.controlId}" />` : lit.nothing}
84
+ `;
85
+ }
86
+ _addEventListeners() {
87
+ this.addEventListener(file_picker_constants.FILE_ITEM_EVENT_NAMES.removed, this._removeFileItem);
88
+ }
89
+ };
90
+ tslib_es6.__decorate([
91
+ decorators.property({ type: String, attribute: 'control-id', reflect: true }),
92
+ tslib_es6.__metadata("design:type", String)
93
+ ], exports.HFilePicker.prototype, "controlId", void 0);
94
+ tslib_es6.__decorate([
95
+ decorators.property({ type: String, attribute: 'control-name' }),
96
+ tslib_es6.__metadata("design:type", String)
97
+ ], exports.HFilePicker.prototype, "controlName", void 0);
98
+ tslib_es6.__decorate([
99
+ decorators.property({ type: Boolean }),
100
+ tslib_es6.__metadata("design:type", Boolean)
101
+ ], exports.HFilePicker.prototype, "disabled", void 0);
102
+ tslib_es6.__decorate([
103
+ decorators.property({ type: Boolean }),
104
+ tslib_es6.__metadata("design:type", Boolean)
105
+ ], exports.HFilePicker.prototype, "required", void 0);
106
+ tslib_es6.__decorate([
107
+ decorators.property({ type: Boolean }),
108
+ tslib_es6.__metadata("design:type", Boolean)
109
+ ], exports.HFilePicker.prototype, "error", void 0);
110
+ tslib_es6.__decorate([
111
+ decorators.property({ type: String }),
112
+ tslib_es6.__metadata("design:type", String)
113
+ ], exports.HFilePicker.prototype, "value", void 0);
114
+ tslib_es6.__decorate([
115
+ decorators.property({ type: String, attribute: 'label-text' }),
116
+ tslib_es6.__metadata("design:type", String)
117
+ ], exports.HFilePicker.prototype, "labelText", void 0);
118
+ tslib_es6.__decorate([
119
+ decorators.property({ type: String, attribute: 'label-icon-name' }),
120
+ tslib_es6.__metadata("design:type", String)
121
+ ], exports.HFilePicker.prototype, "labelIconName", void 0);
122
+ tslib_es6.__decorate([
123
+ decorators.property({ type: String, attribute: 'remove-button-text' }),
124
+ tslib_es6.__metadata("design:type", String)
125
+ ], exports.HFilePicker.prototype, "removeButtonText", void 0);
126
+ tslib_es6.__decorate([
127
+ decorators.property({ type: String, attribute: 'remove-button-icon-name' }),
128
+ tslib_es6.__metadata("design:type", String)
129
+ ], exports.HFilePicker.prototype, "removeButtonIconName", void 0);
130
+ tslib_es6.__decorate([
131
+ decorators.property({ type: String }),
132
+ tslib_es6.__metadata("design:type", String)
133
+ ], exports.HFilePicker.prototype, "formats", void 0);
134
+ tslib_es6.__decorate([
135
+ decorators.state(),
136
+ tslib_es6.__metadata("design:type", String)
137
+ ], exports.HFilePicker.prototype, "fileName", void 0);
138
+ exports.HFilePicker = tslib_es6.__decorate([
139
+ phoenix_custom_element.phoenixCustomElement('h-file-picker'),
140
+ tslib_es6.__metadata("design:paramtypes", [])
141
+ ], exports.HFilePicker);
142
+ //# sourceMappingURL=file_picker.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,oBAAoB,0CAA8C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,38 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const baseFileItemClass = 'file';
6
+ const FILE_ITEM_CSS_CLASSES = {
7
+ file: baseFileItemClass,
8
+ fileName: `${baseFileItemClass}__name`,
9
+ fileRemoveButton: `${baseFileItemClass}__remove-button`
10
+ };
11
+ const FILE_ITEM_EVENT_NAMES = {
12
+ removed: 'fileItemRemoved'
13
+ };
14
+ const FILE_ITEM_PROPS_TO_SYNC = {
15
+ removeButtonText: 'removeButtonText',
16
+ removeButtonIconName: 'removeButtonIconName'
17
+ };
18
+ const baseFilePickerControlClass = 'file-picker';
19
+ const FILE_PICKER_CONTROL_CSS_CLASSES = {
20
+ filePicker: baseFilePickerControlClass,
21
+ filePickerDisabled: `${baseFilePickerControlClass}_disabled`,
22
+ filePickerRequired: `${baseFilePickerControlClass}_required`,
23
+ filePickerError: `${baseFilePickerControlClass}_error`,
24
+ filePickerHasValue: `${baseFilePickerControlClass}_has-value`,
25
+ filePickerInput: `${baseFilePickerControlClass}__input`,
26
+ filePickerLabel: `${baseFilePickerControlClass}__label`
27
+ };
28
+ const baseFilePickerIconClass = 'file-picker-icon';
29
+ const FILE_PICKER_ICON_CSS_CLASSES = {
30
+ filePickerIcon: baseFilePickerIconClass
31
+ };
32
+
33
+ exports.FILE_ITEM_CSS_CLASSES = FILE_ITEM_CSS_CLASSES;
34
+ exports.FILE_ITEM_EVENT_NAMES = FILE_ITEM_EVENT_NAMES;
35
+ exports.FILE_ITEM_PROPS_TO_SYNC = FILE_ITEM_PROPS_TO_SYNC;
36
+ exports.FILE_PICKER_CONTROL_CSS_CLASSES = FILE_PICKER_CONTROL_CSS_CLASSES;
37
+ exports.FILE_PICKER_ICON_CSS_CLASSES = FILE_PICKER_ICON_CSS_CLASSES;
38
+ //# sourceMappingURL=file_picker_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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -7,9 +7,9 @@ var decorators = require('lit/decorators');
7
7
  var phoenix_light_lit_element = require('../../../core/phoenix_light_lit_element/phoenix_light_lit_element.js');
8
8
  var phoenix_custom_element = require('../../../core/decorators/phoenix_custom_element.js');
9
9
  var index = require('../../../../external/classnames/index.js');
10
- var input_constants = require('./input_constants.js');
11
10
  var control_props_sync_controller_constants = require('../controllers/props_synchronizing/control_props_sync_controller_constants.js');
12
11
  var control_props_sync_provider_controller = require('../controllers/props_synchronizing/control_props_sync_provider_controller.js');
12
+ var input_constants = require('./input_constants.js');
13
13
 
14
14
  exports.HInput = class HInput extends phoenix_light_lit_element.PhoenixLightLitElement {
15
15
  constructor() {
@@ -7,8 +7,8 @@ var lit = require('lit');
7
7
  var decorators = require('lit/decorators');
8
8
  var phoenix_light_lit_element = require('../../../core/phoenix_light_lit_element/phoenix_light_lit_element.js');
9
9
  var phoenix_custom_element = require('../../../core/decorators/phoenix_custom_element.js');
10
- var input_constants = require('./input_constants.js');
11
10
  var control_props_sync_consumer_controller = require('../controllers/props_synchronizing/control_props_sync_consumer_controller.js');
11
+ var input_constants = require('./input_constants.js');
12
12
  var ifDefined_js = require('lit-html/directives/if-defined.js');
13
13
 
14
14
  exports.HInputControl = class HInputControl extends phoenix_light_lit_element.PhoenixLightLitElement {
@@ -29,16 +29,16 @@ class BaseSelectController {
29
29
  this._optionsObserver = new observer.Observer(this._calculateValuesRelatedToOptions);
30
30
  this.options$.subscribe(this._optionsObserver);
31
31
  }
32
- toggle(option) {
33
- option.selected ? this.deselect(option) : this.select(option);
32
+ toggleOption(option) {
33
+ option.selected ? this.deselectOption(option) : this.selectOption(option);
34
34
  }
35
- remove(optionValue) {
35
+ removeOption(optionValue) {
36
36
  const options = this.options$.getValue();
37
37
  if (!options)
38
38
  return;
39
39
  this.options$.notify(options.filter((option) => option.value !== optionValue));
40
40
  }
41
- add(option, position) {
41
+ addOption(option, position) {
42
42
  var _a;
43
43
  const options = (_a = this.options$.getValue()) !== null && _a !== void 0 ? _a : [];
44
44
  if (position === undefined) {
@@ -48,22 +48,22 @@ class BaseSelectController {
48
48
  }
49
49
  this.options$.notify([...options.slice(0, position - 1), option, ...options.slice(position - 1)]);
50
50
  }
51
- replace(options) {
51
+ replaceOptions(options) {
52
52
  this.options$.notify(options);
53
53
  }
54
- deselectAll() {
54
+ deselectOptions() {
55
55
  var _a;
56
56
  (_a = this.options$.getValue()) === null || _a === void 0 ? void 0 : _a.forEach((option) => (option.selected = false));
57
57
  this.selectedOptions$.notify([]);
58
- this.requestUpdate();
58
+ this.requestOptionsUpdate();
59
59
  }
60
- deselect(option) {
60
+ deselectOption(option) {
61
61
  var _a;
62
62
  (_a = this.options$.getValue()) === null || _a === void 0 ? void 0 : _a.forEach((option) => (option.selected = false));
63
63
  this.selectedOptions$.notify([]);
64
- this.requestUpdate();
64
+ this.requestOptionsUpdate();
65
65
  }
66
- filter(value) {
66
+ filterOptions(value) {
67
67
  const selectOptions = this.options$.getValue();
68
68
  if (!selectOptions)
69
69
  return;
@@ -72,16 +72,16 @@ class BaseSelectController {
72
72
  filtered.forEach((option) => {
73
73
  option.hidden = false;
74
74
  });
75
- this.requestUpdate();
75
+ this.requestOptionsUpdate();
76
76
  }
77
- requestUpdate() {
77
+ requestOptionsUpdate() {
78
78
  const selectOptions = this.options$.getValue();
79
79
  if (!selectOptions)
80
80
  return;
81
81
  this.options$.notify([...selectOptions]);
82
82
  this.host.requestUpdate();
83
83
  }
84
- getOption(selectValue) {
84
+ getSelectOption(selectValue) {
85
85
  var _a;
86
86
  return (_a = this.options$.getValue()) === null || _a === void 0 ? void 0 : _a.find((option) => option.value === selectValue);
87
87
  }
@@ -5,18 +5,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var base_select_controller = require('./base_select_controller.js');
6
6
 
7
7
  class MultiSelectController extends base_select_controller.BaseSelectController {
8
- toggle(option) {
9
- option.selected ? this.deselect(option) : this.select(option);
8
+ toggleOption(option) {
9
+ option.selected ? this.deselectOption(option) : this.selectOption(option);
10
10
  }
11
- select(option) {
11
+ selectOption(option) {
12
12
  option.selected = true;
13
13
  this.selectedOptions$.notify((selectedOptions) => [...selectedOptions, option]);
14
- this.requestUpdate();
14
+ this.requestOptionsUpdate();
15
15
  }
16
- deselect(option) {
16
+ deselectOption(option) {
17
17
  option.selected = false;
18
18
  this.selectedOptions$.notify((selectedOptions) => selectedOptions.filter((currOption) => currOption.value !== option.value));
19
- this.requestUpdate();
19
+ this.requestOptionsUpdate();
20
20
  }
21
21
  }
22
22
 
@@ -5,13 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var base_select_controller = require('./base_select_controller.js');
6
6
 
7
7
  class SelectController extends base_select_controller.BaseSelectController {
8
- select(option) {
8
+ selectOption(option) {
9
9
  var _a;
10
10
  const selectedOptions = (_a = this.options$.getValue()) !== null && _a !== void 0 ? _a : [];
11
11
  selectedOptions.forEach((option) => (option.selected = false));
12
12
  option.selected = true;
13
13
  this.selectedOptions$.notify([option]);
14
- this.requestUpdate();
14
+ this.requestOptionsUpdate();
15
15
  }
16
16
  }
17
17
 
@@ -45,10 +45,10 @@ exports.HSelect = class HSelect extends phoenix_light_lit_element.PhoenixLightLi
45
45
  this._$dropdownContent.value.style.width = `${width !== null && width !== void 0 ? width : ''}px`;
46
46
  };
47
47
  this._handleOptionDeselect = (event) => {
48
- const selectedOption = this._selectController.getOption(event.detail);
48
+ const selectedOption = this._selectController.getSelectOption(event.detail);
49
49
  if (!selectedOption)
50
50
  return;
51
- this._selectController.deselect(selectedOption);
51
+ this._selectController.deselectOption(selectedOption);
52
52
  };
53
53
  this._updateOptionsView = (options) => {
54
54
  if (options.length < Object.keys(this._$options).length)
@@ -67,7 +67,12 @@ exports.HSelect = class HSelect extends phoenix_light_lit_element.PhoenixLightLi
67
67
  });
68
68
  };
69
69
  this._handleOptionClicked = (event) => {
70
- this._selectOption(event.detail.$option.value);
70
+ const selectedOption = this._selectController.getSelectOption(event.detail.$option.value);
71
+ if (!selectedOption)
72
+ return;
73
+ this._selectController.toggleOption(selectedOption);
74
+ if (!this.multiselect)
75
+ this._closeSelect();
71
76
  };
72
77
  this._handleDropdownHidden = () => {
73
78
  this._searchValue = '';
@@ -80,7 +85,7 @@ exports.HSelect = class HSelect extends phoenix_light_lit_element.PhoenixLightLi
80
85
  (_a = this._$dropdown.value) === null || _a === void 0 ? void 0 : _a.hide();
81
86
  };
82
87
  this._clearOptions = () => {
83
- this._selectController.deselectAll();
88
+ this._selectController.deselectOptions();
84
89
  };
85
90
  this._handleResize = debounce['default'](() => {
86
91
  this._closeSelect();
@@ -90,26 +95,6 @@ exports.HSelect = class HSelect extends phoenix_light_lit_element.PhoenixLightLi
90
95
  $options.forEach(($option) => $option.setAttribute('slot', select_constants.SELECT_SLOT_NAMES.content));
91
96
  this.$placeholder = (_a = this.querySelector(`[slot="${select_components_constatns.SELECT_INPUT_PLACEHOLDER_SLOT_NAME}"]`)) !== null && _a !== void 0 ? _a : 'Select';
92
97
  }
93
- get selectedIndex() {
94
- const selectedOptions = this._selectController.selectedOptions$.getValue();
95
- if (!selectedOptions || selectedOptions.length === 0)
96
- return -1;
97
- const htmlOptions = Object.values(this._$options);
98
- return this.multiselect
99
- ? select_utils.SelectControlUtils.getFirstIndexSelectedOption(htmlOptions)
100
- : select_utils.SelectControlUtils.getLastIndexOfSelectedOption(htmlOptions);
101
- }
102
- set selectedIndex(index) {
103
- const option = Object.values(this._$options)[index];
104
- if (!option) {
105
- this._selectController.deselectAll();
106
- return;
107
- }
108
- this._selectOption(option.value);
109
- }
110
- get selectedOptions() {
111
- return Object.values(this._$options).filter((option) => option.selected);
112
- }
113
98
  updated(changedProperties) {
114
99
  super.updated(changedProperties);
115
100
  if (changedProperties.has('opened')) {
@@ -188,30 +173,22 @@ exports.HSelect = class HSelect extends phoenix_light_lit_element.PhoenixLightLi
188
173
  _removeHTMLOptions(optionsValues) {
189
174
  this._$options = select_utils.SelectControlUtils.removeHTMLOptions(Object.values(this._$options), optionsValues);
190
175
  }
191
- _selectOption(value) {
192
- const option = this._selectController.getOption(value);
193
- if (!option)
194
- return;
195
- this._selectController.toggle(option);
196
- if (!this.multiselect)
197
- this._closeSelect();
198
- }
199
176
  _handleSearch({ detail }) {
200
177
  this._searchValue = detail;
201
178
  }
202
179
  update(changedProperties) {
203
180
  super.update(changedProperties);
204
181
  if (changedProperties.has('_searchValue'))
205
- this._selectController.filter(this._searchValue);
182
+ this._selectController.filterOptions(this._searchValue);
206
183
  }
207
- add(option, position) {
208
- this._selectController.add(option, position);
184
+ addOption(option, position) {
185
+ this._selectController.addOption(option, position);
209
186
  }
210
187
  removeOption(optionValue) {
211
- this._selectController.remove(optionValue);
188
+ this._selectController.removeOption(optionValue);
212
189
  }
213
- replace(options) {
214
- this._selectController.replace(options);
190
+ replaceOptions(options) {
191
+ this._selectController.replaceOptions(options);
215
192
  }
216
193
  disconnectedCallback() {
217
194
  super.disconnectedCallback();
@@ -304,13 +281,9 @@ exports.HSelect._components = {
304
281
  toggler: select_toggler.HSelectToggler
305
282
  };
306
283
  tslib_es6.__decorate([
307
- decorators_js.property({ type: String, attribute: 'control-name' }),
284
+ decorators_js.property({ type: String }),
308
285
  tslib_es6.__metadata("design:type", String)
309
286
  ], exports.HSelect.prototype, "controlName", void 0);
310
- tslib_es6.__decorate([
311
- decorators_js.property({ type: String, attribute: 'control-id' }),
312
- tslib_es6.__metadata("design:type", String)
313
- ], exports.HSelect.prototype, "controlId", void 0);
314
287
  tslib_es6.__decorate([
315
288
  decorators_js.property({ type: Boolean }),
316
289
  tslib_es6.__metadata("design:type", Boolean)
@@ -331,10 +304,6 @@ tslib_es6.__decorate([
331
304
  decorators_js.property({ type: Boolean }),
332
305
  tslib_es6.__metadata("design:type", Boolean)
333
306
  ], exports.HSelect.prototype, "disabled", void 0);
334
- tslib_es6.__decorate([
335
- decorators_js.property({ type: Boolean }),
336
- tslib_es6.__metadata("design:type", Boolean)
337
- ], exports.HSelect.prototype, "required", void 0);
338
307
  tslib_es6.__decorate([
339
308
  decorators.state(),
340
309
  tslib_es6.__metadata("design:type", String)
@@ -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,uBAAuB,+CAAmD;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,uBAAuB,+CAAmD;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -46,12 +46,6 @@ class SelectControlUtils {
46
46
  }
47
47
  $list.append($option);
48
48
  }
49
- static getFirstIndexSelectedOption(options) {
50
- return options.findIndex((option) => option.selected);
51
- }
52
- static getLastIndexOfSelectedOption(options) {
53
- return [...options].reverse().findIndex((option) => option.selected);
54
- }
55
49
  }
56
50
 
57
51
  exports.SelectControlUtils = SelectControlUtils;
@@ -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;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;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -23,6 +23,8 @@ 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 file_picker = require('./components/form/file_picker/file_picker.js');
26
28
  var modal = require('./components/modal/modal.js');
27
29
  var modal_opener = require('./components/modal/modal_opener.js');
28
30
  var modal_body = require('./components/modal/modal_body.js');
@@ -162,6 +164,18 @@ Object.defineProperty(exports, 'HSelect', {
162
164
  return select.HSelect;
163
165
  }
164
166
  });
167
+ Object.defineProperty(exports, 'HFile', {
168
+ enumerable: true,
169
+ get: function () {
170
+ return file.HFile;
171
+ }
172
+ });
173
+ Object.defineProperty(exports, 'HFilePicker', {
174
+ enumerable: true,
175
+ get: function () {
176
+ return file_picker.HFilePicker;
177
+ }
178
+ });
165
179
  Object.defineProperty(exports, 'HModal', {
166
180
  enumerable: true,
167
181
  get: function () {
@@ -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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,12 @@
1
+ import { TemplateResult } from 'lit';
2
+ import { PhoenixLightLitElement } from "../../../../core/phoenix_light_lit_element/phoenix_light_lit_element";
3
+ export declare class HFile extends PhoenixLightLitElement {
4
+ name: string;
5
+ containerId: string;
6
+ removeButtonText: string;
7
+ removeButtonIconName: string;
8
+ constructor();
9
+ connectedCallback(): void;
10
+ protected render(): TemplateResult;
11
+ private _handleClick;
12
+ }