@mgdis/mg-components 6.21.0 → 6.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-CCsGMNyq.js → index-BxB20_Vw.js} +8 -0
- package/dist/cjs/{index-C2viYwrR.js → index-Dz2LAZQT.js} +329 -1789
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{mg-action-more_37.cjs.entry.js → mg-action-more_36.cjs.entry.js} +200 -242
- package/dist/cjs/mg-alert.cjs.entry.js +3 -3
- package/dist/cjs/mg-breadcrumb.cjs.entry.js +63 -0
- package/dist/cjs/mg-components.cjs.js +3 -3
- package/dist/cjs/mg-fieldset.cjs.entry.js +2 -2
- package/dist/cjs/mg-input-combobox.cjs.entry.js +4 -4
- package/dist/cjs/mg-input-file.cjs.entry.js +4 -4
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +40095 -15808
- package/dist/cjs/mg-loader.cjs.entry.js +3 -3
- package/dist/cjs/mg-progress.cjs.entry.js +2 -2
- package/dist/collection/assets/icons/index.js +1 -1
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/atoms/internals/mg-character-left/mg-character-left.js +1 -1
- package/dist/collection/components/atoms/internals/mg-input-title/mg-input-title.js +1 -1
- package/dist/collection/components/atoms/mg-badge/mg-badge.js +2 -1
- package/dist/collection/components/atoms/mg-button/mg-button.js +6 -3
- package/dist/collection/components/atoms/mg-card/mg-card.js +3 -2
- package/dist/collection/components/atoms/mg-divider/mg-divider.js +1 -1
- package/dist/collection/components/atoms/mg-icon/mg-icon.js +10 -6
- package/dist/collection/components/atoms/mg-tag/mg-tag.js +3 -2
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip-content/mg-tooltip-content.js +1 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js +3 -2
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +5 -3
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js +2 -2
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxPaginated.js +38 -0
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.js +3 -2
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +47 -26
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js +13 -7
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +3 -2
- package/dist/collection/components/molecules/inputs/mg-input-file/mg-input-file.js +4 -3
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +9 -5
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +6 -4
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js +5 -3
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/custom-properties.scss +212 -0
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf.js +1 -0
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/index.js +300 -94
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.conf.js +29 -0
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +164 -51
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +22 -8
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +12 -7
- package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +5 -3
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +7 -4
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js +7 -38
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.conf.js +0 -4
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.js +24 -44
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.js +69 -40
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +11 -7
- package/dist/collection/components/molecules/mg-alert/mg-alert.js +5 -3
- package/dist/collection/components/molecules/mg-breadcrumb/mg-breadcrumb.conf.js +1 -0
- package/dist/collection/components/molecules/mg-breadcrumb/mg-breadcrumb.js +93 -0
- package/dist/collection/components/molecules/mg-details/mg-details.js +1 -1
- package/dist/collection/components/molecules/mg-fieldset/mg-fieldset.js +3 -2
- package/dist/collection/components/molecules/mg-form/mg-form.js +5 -3
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js +5 -3
- package/dist/collection/components/molecules/mg-loader/mg-loader.js +1 -1
- package/dist/collection/components/molecules/mg-message/mg-message.js +6 -4
- package/dist/collection/components/molecules/mg-modal/mg-modal.js +4 -3
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.js +2 -1
- package/dist/collection/components/molecules/mg-panel/mg-panel.js +5 -3
- package/dist/collection/components/molecules/mg-popover/mg-popover-content/mg-popover-content.js +1 -1
- package/dist/collection/components/molecules/mg-popover/mg-popover.js +3 -2
- package/dist/collection/components/molecules/mg-progress/mg-progress.js +3 -2
- package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js +3 -2
- package/dist/collection/components/molecules/mg-table/mg-table.js +41 -2
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.conf.js +0 -4
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.js +15 -34
- package/dist/collection/locales/en/messages.json +3 -0
- package/dist/collection/locales/fr/messages.json +3 -0
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/mg-action-more.js +1 -1
- package/dist/components/mg-alert.js +1 -1
- package/dist/components/mg-breadcrumb.d.ts +11 -0
- package/dist/components/mg-breadcrumb.js +1 -0
- package/dist/components/mg-card2.js +1 -1
- package/dist/components/mg-character-left2.js +1 -1
- package/dist/components/mg-details.js +1 -1
- package/dist/components/mg-divider2.js +1 -1
- package/dist/components/mg-fieldset.js +1 -1
- package/dist/components/mg-form.js +1 -1
- package/dist/components/mg-icon2.js +1 -1
- package/dist/components/mg-illustrated-message.js +1 -1
- package/dist/components/mg-input-checkbox.js +1 -1
- package/dist/components/mg-input-combobox.js +1 -1
- package/dist/components/mg-input-date.js +1 -1
- package/dist/components/mg-input-file.js +1 -1
- package/dist/components/mg-input-numeric.js +1 -1
- package/dist/components/mg-input-password.js +1 -1
- package/dist/components/mg-input-radio.js +1 -1
- package/dist/components/mg-input-rich-text-editor.js +1663 -1
- package/dist/components/mg-input-select2.js +1 -1
- package/dist/components/mg-input-text2.js +1 -1
- package/dist/components/mg-input-textarea.js +1 -1
- package/dist/components/mg-input-title2.js +1 -1
- package/dist/components/mg-input-toggle.js +1 -1
- package/dist/components/mg-input2.js +1 -1
- package/dist/components/mg-item-more2.js +1 -1
- package/dist/components/mg-loader2.js +1 -1
- package/dist/components/mg-menu-item2.js +1 -1
- package/dist/components/mg-message2.js +1 -1
- package/dist/components/mg-modal.js +1 -1
- package/dist/components/mg-panel.js +1 -1
- package/dist/components/mg-popover-content2.js +1 -1
- package/dist/components/mg-popover2.js +1 -1
- package/dist/components/mg-progress.js +1 -1
- package/dist/components/mg-skip-links.js +1 -1
- package/dist/components/mg-table.js +1 -1
- package/dist/components/mg-tabs2.js +1 -1
- package/dist/components/mg-tag.js +1 -1
- package/dist/components/mg-tooltip-content2.js +1 -1
- package/dist/components/mg-tooltip2.js +1 -1
- package/dist/esm/{index-DFwaH2hS.js → index-C3jUhxdI.js} +329 -1789
- package/dist/esm/{index-D-uaxCxH.js → index-DSEloqPn.js} +8 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{mg-action-more_37.entry.js → mg-action-more_36.entry.js} +202 -243
- package/dist/esm/mg-alert.entry.js +3 -3
- package/dist/esm/mg-breadcrumb.entry.js +61 -0
- package/dist/esm/mg-components.js +4 -4
- package/dist/esm/mg-fieldset.entry.js +2 -2
- package/dist/esm/mg-input-combobox.entry.js +4 -4
- package/dist/esm/mg-input-file.entry.js +4 -4
- package/dist/esm/mg-input-rich-text-editor.entry.js +40082 -15795
- package/dist/esm/mg-loader.entry.js +3 -3
- package/dist/esm/mg-progress.entry.js +2 -2
- package/dist/mg-components/locales/en/messages.json +3 -0
- package/dist/mg-components/locales/fr/messages.json +3 -0
- package/dist/mg-components/mg-components.esm.js +1 -1
- package/dist/mg-components/{p-6b57f249.entry.js → p-06fbdb2f.entry.js} +1 -1
- package/dist/mg-components/{p-c3d116b9.entry.js → p-188b9ca9.entry.js} +1 -1
- package/dist/mg-components/p-4667078d.entry.js +1 -0
- package/dist/mg-components/p-5a859ecf.entry.js +1658 -0
- package/dist/mg-components/p-661da56b.entry.js +1 -0
- package/dist/mg-components/{p-988c282e.entry.js → p-8e256086.entry.js} +1 -1
- package/dist/mg-components/p-C3jUhxdI.js +2 -0
- package/dist/mg-components/p-DSEloqPn.js +1 -0
- package/dist/mg-components/{p-6b655830.entry.js → p-b0b8c58f.entry.js} +1 -1
- package/dist/mg-components/{p-dd1934f4.entry.js → p-bbcef41c.entry.js} +1 -1
- package/dist/mg-components/{p-4175dcbe.entry.js → p-c1aeb277.entry.js} +1 -1
- package/dist/types/assets/icons/index.d.ts +2 -0
- package/dist/types/components/molecules/inputs/mg-input/mg-input.conf.d.ts +1 -1
- package/dist/types/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.d.ts +2 -2
- package/dist/types/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxPaginated.d.ts +8 -0
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.d.ts +16 -8
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.d.ts +15 -5
- package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf.d.ts +17 -0
- package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/editor/index.d.ts +27 -19
- package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.conf.d.ts +3 -0
- package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.d.ts +48 -14
- package/dist/types/components/molecules/inputs/mg-input-select/mg-input-select.d.ts +1 -1
- package/dist/types/components/molecules/internals/mg-item-more/mg-item-more.conf.d.ts +0 -5
- package/dist/types/components/molecules/internals/mg-item-more/mg-item-more.d.ts +1 -6
- package/dist/types/components/molecules/menus/mg-menu/mg-menu.conf.d.ts +2 -10
- package/dist/types/components/molecules/menus/mg-menu/mg-menu.d.ts +7 -7
- package/dist/types/components/molecules/menus/mg-menu-item/mg-menu-item.d.ts +12 -8
- package/dist/types/components/molecules/mg-breadcrumb/mg-breadcrumb.conf.d.ts +18 -0
- package/dist/types/components/molecules/mg-breadcrumb/mg-breadcrumb.d.ts +34 -0
- package/dist/types/components/molecules/mg-table/mg-table.d.ts +6 -0
- package/dist/types/components/molecules/mg-tabs/mg-tabs.conf.d.ts +1 -9
- package/dist/types/components/molecules/mg-tabs/mg-tabs.d.ts +4 -4
- package/dist/types/components.d.ts +617 -207
- package/dist/types/stencil-public-runtime.d.ts +52 -2
- package/ide/intellij/web-types.json +143 -55
- package/ide/vscode/css-custom-data.json +10 -2
- package/ide/vscode/html-custom-data.json +113 -34
- package/package.json +24 -23
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +0 -245
- package/dist/components/mg-input-checkbox-paginated.d.ts +0 -11
- package/dist/components/mg-input-checkbox-paginated.js +0 -1
- package/dist/components/mg-input-checkbox-paginated2.js +0 -1
- package/dist/mg-components/p-08fa327b.entry.js +0 -1
- package/dist/mg-components/p-D-uaxCxH.js +0 -1
- package/dist/mg-components/p-DFwaH2hS.js +0 -2
- package/dist/mg-components/p-a79b1f19.entry.js +0 -1
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.d.ts +0 -77
|
@@ -758,7 +758,7 @@ export class MgInputCombobox {
|
|
|
758
758
|
else {
|
|
759
759
|
activeDescendant = (_e = this.value) === null || _e === void 0 ? void 0 : _e.value;
|
|
760
760
|
}
|
|
761
|
-
return (h("mg-input", { key: '
|
|
761
|
+
return (h("mg-input", { key: 'd19136f775e89188dcecf78a004abd1bc8048174', label: this.label, identifier: this.identifier, class: this.classCollection.classes.join(' '), ariaDescribedbyIDs: popoverContent && popoverContent !== 'list' ? popoverContent : undefined, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (readonlyValue && h("b", { class: "mg-c-input__readonly-value" }, readonlyValue)) : (h("mg-popover", { identifier: this.popoverId, placement: "bottom-start", display: this.popoverDisplay, "arrow-hide": true, style: {
|
|
762
762
|
'--mg-c-input-list-width': ((_f = this.input) === null || _f === void 0 ? void 0 : _f.offsetWidth) > 0 ? `${this.input.offsetWidth}px` : undefined,
|
|
763
763
|
}, "data-fallback-placement": "bottom-end", "onDisplay-change": this.handlePopoverDisplay }, h("div", { class: "mg-c-input__input-group-container" }, h("mg-icon", { icon: "magnifying-glass" }), h("input", { type: "text", role: "combobox", class: "mg-c-input__box mg-c-input__box--width", value: this.filter, id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.popoverDisplay.toString(), "aria-controls": listId, "aria-invalid": (this.invalid === true).toString(), "aria-activedescendant": formatID(activeDescendant), onInput: this.handleFilterInput, onBlur: this.handleFilterBlur, onFocus: this.handleFilterFocus, onKeyDown: this.handleFilterKeydown, ref: (el) => {
|
|
764
764
|
if (el !== null)
|
|
@@ -806,7 +806,8 @@ export class MgInputCombobox {
|
|
|
806
806
|
"Option": {
|
|
807
807
|
"location": "import",
|
|
808
808
|
"path": "../../../../types",
|
|
809
|
-
"id": "src/types/index.ts::Option"
|
|
809
|
+
"id": "src/types/index.ts::Option",
|
|
810
|
+
"referenceLocation": "Option"
|
|
810
811
|
}
|
|
811
812
|
}
|
|
812
813
|
},
|
|
@@ -831,7 +832,8 @@ export class MgInputCombobox {
|
|
|
831
832
|
"Option": {
|
|
832
833
|
"location": "import",
|
|
833
834
|
"path": "../../../../types",
|
|
834
|
-
"id": "src/types/index.ts::Option"
|
|
835
|
+
"id": "src/types/index.ts::Option",
|
|
836
|
+
"referenceLocation": "Option"
|
|
835
837
|
}
|
|
836
838
|
}
|
|
837
839
|
},
|
|
@@ -1053,7 +1055,8 @@ export class MgInputCombobox {
|
|
|
1053
1055
|
"Width": {
|
|
1054
1056
|
"location": "import",
|
|
1055
1057
|
"path": "../mg-input/mg-input.conf",
|
|
1056
|
-
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::Width"
|
|
1058
|
+
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::Width",
|
|
1059
|
+
"referenceLocation": "Width"
|
|
1057
1060
|
}
|
|
1058
1061
|
}
|
|
1059
1062
|
},
|
|
@@ -1098,7 +1101,8 @@ export class MgInputCombobox {
|
|
|
1098
1101
|
"TooltipPosition": {
|
|
1099
1102
|
"location": "import",
|
|
1100
1103
|
"path": "../mg-input/mg-input.conf",
|
|
1101
|
-
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::TooltipPosition"
|
|
1104
|
+
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::TooltipPosition",
|
|
1105
|
+
"referenceLocation": "TooltipPosition"
|
|
1102
1106
|
}
|
|
1103
1107
|
}
|
|
1104
1108
|
},
|
|
@@ -1198,12 +1202,14 @@ export class MgInputCombobox {
|
|
|
1198
1202
|
"RequestMappingType": {
|
|
1199
1203
|
"location": "import",
|
|
1200
1204
|
"path": "./mg-input-combobox.conf",
|
|
1201
|
-
"id": "src/components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf.ts::RequestMappingType"
|
|
1205
|
+
"id": "src/components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf.ts::RequestMappingType",
|
|
1206
|
+
"referenceLocation": "RequestMappingType"
|
|
1202
1207
|
},
|
|
1203
1208
|
"ResponseMappingType": {
|
|
1204
1209
|
"location": "import",
|
|
1205
1210
|
"path": "./mg-input-combobox.conf",
|
|
1206
|
-
"id": "src/components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf.ts::ResponseMappingType"
|
|
1211
|
+
"id": "src/components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf.ts::ResponseMappingType",
|
|
1212
|
+
"referenceLocation": "ResponseMappingType"
|
|
1207
1213
|
}
|
|
1208
1214
|
}
|
|
1209
1215
|
},
|
|
@@ -357,7 +357,7 @@ export class MgInputDate {
|
|
|
357
357
|
* @returns HTML Element
|
|
358
358
|
*/
|
|
359
359
|
render() {
|
|
360
|
-
return (h("mg-input", { key: '
|
|
360
|
+
return (h("mg-input", { key: '0c3e08b8c467207110ef75f7d2516c36adc2ec4c', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === null ? 'label' : this.tooltipPosition, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage }, this.readonly ? (this.value && h("b", { class: "mg-c-input__readonly-value" }, localeDate(this.value, this.locale))) : (h("input", { type: "date", class: "mg-c-input__box", min: this.min, max: this.max, value: this.value, id: this.identifier, name: this.name, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
|
|
361
361
|
if (el !== null)
|
|
362
362
|
this.input = el;
|
|
363
363
|
} }))));
|
|
@@ -621,7 +621,8 @@ export class MgInputDate {
|
|
|
621
621
|
"TooltipPosition": {
|
|
622
622
|
"location": "import",
|
|
623
623
|
"path": "../mg-input/mg-input.conf",
|
|
624
|
-
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::TooltipPosition"
|
|
624
|
+
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::TooltipPosition",
|
|
625
|
+
"referenceLocation": "TooltipPosition"
|
|
625
626
|
}
|
|
626
627
|
}
|
|
627
628
|
},
|
|
@@ -332,9 +332,9 @@ export class MgInputFile {
|
|
|
332
332
|
* @returns HTML Element
|
|
333
333
|
*/
|
|
334
334
|
render() {
|
|
335
|
-
return (h("mg-input", { key: '
|
|
335
|
+
return (h("mg-input", { key: '075d0b55b004653115305f5dd0d6bc897fd3e9ed', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, h("div", { key: '16ce644751bf7e4a23876ed59e7076625661794c', class: "mg-c-input__file-container" }, h("input", { key: 'e00df3de20567ef52825ca002b838a81e586c777', name: this.name, id: this.identifier, class: "mg-u-visually-hidden", type: "file", multiple: this.multiple === true, capture: this.capture, accept: this.accept, disabled: this.disabled, required: this.files.length === 0 && this.required, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onChange: this.handleInputChange, "aria-invalid": (this.invalid === true).toString(), ref: (el) => {
|
|
336
336
|
this.inputElement = el;
|
|
337
|
-
} }), h("mg-button", { key: '
|
|
337
|
+
} }), h("mg-button", { key: '92e356bd08d09070b4c58c525ef91ab6bdc64b74', variant: "secondary", class: "mg-c-input__file-button", type: "button", disabled: this.disabled, onClick: this.handleButtonClick, onBlur: this.handleButtonBlur, tabindex: "-1", ref: (el) => {
|
|
338
338
|
this.fileButtonElement = el;
|
|
339
339
|
} }, this.messages.input.file.browse), this.renderFiles())));
|
|
340
340
|
}
|
|
@@ -615,7 +615,8 @@ export class MgInputFile {
|
|
|
615
615
|
"TooltipPosition": {
|
|
616
616
|
"location": "import",
|
|
617
617
|
"path": "../mg-input/mg-input.conf",
|
|
618
|
-
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::TooltipPosition"
|
|
618
|
+
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::TooltipPosition",
|
|
619
|
+
"referenceLocation": "TooltipPosition"
|
|
619
620
|
}
|
|
620
621
|
}
|
|
621
622
|
},
|
|
@@ -460,7 +460,7 @@ export class MgInputNumeric {
|
|
|
460
460
|
* @returns HTML Element
|
|
461
461
|
*/
|
|
462
462
|
render() {
|
|
463
|
-
return (h("mg-input", { key: '
|
|
463
|
+
return (h("mg-input", { key: '9bea775c3e8d7339a45d18aeb1b3974d6da9a650', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage }, this.readonly
|
|
464
464
|
? this.readonlyValue && this.renderReadonly()
|
|
465
465
|
: [
|
|
466
466
|
h("input", { key: "input", type: "text", class: "mg-c-input__box mg-c-input__box--width", value: this.displayValue(), id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, autocomplete: "off", "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, ref: (el) => {
|
|
@@ -728,7 +728,8 @@ export class MgInputNumeric {
|
|
|
728
728
|
"Width": {
|
|
729
729
|
"location": "import",
|
|
730
730
|
"path": "../mg-input/mg-input.conf",
|
|
731
|
-
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::Width"
|
|
731
|
+
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::Width",
|
|
732
|
+
"referenceLocation": "Width"
|
|
732
733
|
}
|
|
733
734
|
}
|
|
734
735
|
},
|
|
@@ -772,7 +773,8 @@ export class MgInputNumeric {
|
|
|
772
773
|
"TooltipPosition": {
|
|
773
774
|
"location": "import",
|
|
774
775
|
"path": "../mg-input/mg-input.conf",
|
|
775
|
-
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::TooltipPosition"
|
|
776
|
+
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::TooltipPosition",
|
|
777
|
+
"referenceLocation": "TooltipPosition"
|
|
776
778
|
}
|
|
777
779
|
}
|
|
778
780
|
},
|
|
@@ -817,7 +819,8 @@ export class MgInputNumeric {
|
|
|
817
819
|
"NumericType": {
|
|
818
820
|
"location": "import",
|
|
819
821
|
"path": "./mg-input-numeric.conf",
|
|
820
|
-
"id": "src/components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf.ts::NumericType"
|
|
822
|
+
"id": "src/components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf.ts::NumericType",
|
|
823
|
+
"referenceLocation": "NumericType"
|
|
821
824
|
}
|
|
822
825
|
}
|
|
823
826
|
},
|
|
@@ -843,7 +846,8 @@ export class MgInputNumeric {
|
|
|
843
846
|
"Format": {
|
|
844
847
|
"location": "import",
|
|
845
848
|
"path": "./mg-input-numeric.conf",
|
|
846
|
-
"id": "src/components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf.ts::Format"
|
|
849
|
+
"id": "src/components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf.ts::Format",
|
|
850
|
+
"referenceLocation": "Format"
|
|
847
851
|
}
|
|
848
852
|
}
|
|
849
853
|
},
|
|
@@ -248,10 +248,10 @@ export class MgInputPassword {
|
|
|
248
248
|
* @returns HTML Element
|
|
249
249
|
*/
|
|
250
250
|
render() {
|
|
251
|
-
return (h("mg-input", { key: '
|
|
251
|
+
return (h("mg-input", { key: 'bfa5f289eb4d357c21cd9a753550bab1df846df8', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (this.value !== undefined && h("b", { class: "mg-c-input__readonly-value" }, '•'.repeat(this.value.length))) : (h("span", { class: "mg-c-input__input-group" }, h("input", { type: this.displayPassword ? 'text' : 'password', class: "mg-c-input__box mg-c-input__box--width", value: this.value, id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, maxlength: this.maxlength, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, ref: (el) => {
|
|
252
252
|
if (el !== null)
|
|
253
253
|
this.input = el;
|
|
254
|
-
} }), h("mg-button", { label: this.messages.input.password[this.displayPassword ? 'hide' : 'display'], disabled: this.disabled, variant: "flat", class: "mg-c-input__append-button", "is-icon": true, onClick: this.toggleDisplayPassword, "aria-controls": this.identifier }, h("mg-icon", { class: "mg-c-input__input-icon", icon: this.displayPassword ? 'eye-slash' : 'eye' }))))));
|
|
254
|
+
} }), h("mg-button", { label: this.messages.input.password[this.displayPassword ? 'hide' : 'display'], disabled: this.disabled, variant: "flat", class: "mg-c-input__append-button", "is-icon": true, onClick: this.toggleDisplayPassword, "aria-controls": this.identifier }, h("mg-icon", { class: "mg-c-input__input-icon", icon: (this.displayPassword ? 'eye-slash' : 'eye') }))))));
|
|
255
255
|
}
|
|
256
256
|
static get is() { return "mg-input-password"; }
|
|
257
257
|
static get encapsulation() { return "shadow"; }
|
|
@@ -492,7 +492,8 @@ export class MgInputPassword {
|
|
|
492
492
|
"Width": {
|
|
493
493
|
"location": "import",
|
|
494
494
|
"path": "../mg-input/mg-input.conf",
|
|
495
|
-
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::Width"
|
|
495
|
+
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::Width",
|
|
496
|
+
"referenceLocation": "Width"
|
|
496
497
|
}
|
|
497
498
|
}
|
|
498
499
|
},
|
|
@@ -537,7 +538,8 @@ export class MgInputPassword {
|
|
|
537
538
|
"TooltipPosition": {
|
|
538
539
|
"location": "import",
|
|
539
540
|
"path": "../mg-input/mg-input.conf",
|
|
540
|
-
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::TooltipPosition"
|
|
541
|
+
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::TooltipPosition",
|
|
542
|
+
"referenceLocation": "TooltipPosition"
|
|
541
543
|
}
|
|
542
544
|
}
|
|
543
545
|
},
|
|
@@ -284,7 +284,7 @@ export class MgInputRadio {
|
|
|
284
284
|
* @returns HTML Element
|
|
285
285
|
*/
|
|
286
286
|
render() {
|
|
287
|
-
return (h("mg-input", { key: '
|
|
287
|
+
return (h("mg-input", { key: 'a24a80156ef3e7760d02a52900d93099cd570db8', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && !this.value ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (this.readonlyValue && h("b", { class: "mg-c-input__readonly-value" }, this.readonlyValue)) : (h("div", { class: "mg-c-input__input-group-container" }, this.options.map((input, index) => (h("div", { key: input.title, class: { 'mg-c-input__input-group': true, 'mg-c-input__input-group--disabled': this.disabled || input.disabled } }, h("input", { type: "radio", id: this.identifier + '_' + index, name: this.identifier, value: index, checked: JSON.stringify(this.value) === JSON.stringify(this.options[index].value), disabled: this.disabled || input.disabled, required: this.required, onBlur: this.handleBlur, onInput: this.handleInput, ref: (el) => {
|
|
288
288
|
if (el !== null)
|
|
289
289
|
this.inputs[index] = el;
|
|
290
290
|
} }), h("label", { htmlFor: this.identifier + '_' + index }, input.title))))))));
|
|
@@ -332,7 +332,8 @@ export class MgInputRadio {
|
|
|
332
332
|
"RadioOption": {
|
|
333
333
|
"location": "import",
|
|
334
334
|
"path": "./mg-input-radio.conf",
|
|
335
|
-
"id": "src/components/molecules/inputs/mg-input-radio/mg-input-radio.conf.ts::RadioOption"
|
|
335
|
+
"id": "src/components/molecules/inputs/mg-input-radio/mg-input-radio.conf.ts::RadioOption",
|
|
336
|
+
"referenceLocation": "RadioOption"
|
|
336
337
|
}
|
|
337
338
|
}
|
|
338
339
|
},
|
|
@@ -552,7 +553,8 @@ export class MgInputRadio {
|
|
|
552
553
|
"TooltipPosition": {
|
|
553
554
|
"location": "import",
|
|
554
555
|
"path": "../mg-input/mg-input.conf",
|
|
555
|
-
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::TooltipPosition"
|
|
556
|
+
"id": "src/components/molecules/inputs/mg-input/mg-input.conf.ts::TooltipPosition",
|
|
557
|
+
"referenceLocation": "TooltipPosition"
|
|
556
558
|
}
|
|
557
559
|
}
|
|
558
560
|
},
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
/**
|
|
3
|
+
* Colors - Base
|
|
4
|
+
*/
|
|
5
|
+
--jd-color-white: rgb(255 255 255);
|
|
6
|
+
--jd-color-dark: rgb(76 76 76);
|
|
7
|
+
--jd-color-default: var(--jd-color-dark);
|
|
8
|
+
--jd-color-gray: rgb(218 218 218);
|
|
9
|
+
--jd-color-gray-dark: rgb(165 165 165);
|
|
10
|
+
--jd-color-red: rgb(255 59 59);
|
|
11
|
+
--jd-color-blue: rgb(181 214 253);
|
|
12
|
+
--jd-color-light-blue: rgb(181 214 253 / 50%);
|
|
13
|
+
--jd-color-light-red: rgb(255 59 59 / 40%);
|
|
14
|
+
--jd-color-error: var(--jd-color-red);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Colors - Background
|
|
18
|
+
*/
|
|
19
|
+
--jd-color-background-default: var(--jd-color-white);
|
|
20
|
+
--jd-color-background-light-gray: rgb(245 245 246);
|
|
21
|
+
--jd-color-background-gray: var(--jd-color-gray);
|
|
22
|
+
--jd-color-background-gray-hover: rgb(248 248 248);
|
|
23
|
+
--jd-color-background-active: rgb(33 150 243);
|
|
24
|
+
--jd-color-background-button-hover: rgb(236 235 233);
|
|
25
|
+
--jd-color-background-button-hover-opacity30: rgb(234 234 234 / 30%);
|
|
26
|
+
--jd-color-background-button-hover-opacity40: rgb(219 219 219 / 40%);
|
|
27
|
+
--jd-color-background-button-hover-opacity60: rgb(219 219 219 / 60%);
|
|
28
|
+
--jd-color-background-filebrowser-folders: rgb(248 249 250);
|
|
29
|
+
--jd-color-background-progress: rgb(185 31 31);
|
|
30
|
+
--jd-color-background-selection: rgb(181 214 253);
|
|
31
|
+
--jd-color-background-selection-opacity50: rgb(181 214 253 / 99.5%);
|
|
32
|
+
--jd-color-panel: rgb(249 249 249);
|
|
33
|
+
--jd-color-source-area: rgb(50 50 50);
|
|
34
|
+
--jd-info-background: rgb(233 233 233);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Colors - Border
|
|
38
|
+
*/
|
|
39
|
+
--jd-color-border: var(--jd-color-gray);
|
|
40
|
+
--jd-color-border-dark: var(--jd-color-dark);
|
|
41
|
+
--jd-color-border-active: rgb(181 181 181);
|
|
42
|
+
--jd-color-border-selected: rgb(30 136 229);
|
|
43
|
+
--jd-color-separator: var(--jd-color-border);
|
|
44
|
+
--jd-color-resizer: rgb(200 200 200);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Colors - Text
|
|
48
|
+
*/
|
|
49
|
+
--jd-color-text: rgb(34 34 34);
|
|
50
|
+
--jd-color-text-icons: rgb(0 0 0 / 75%);
|
|
51
|
+
--jd-color-text-selection: var(--jd-color-white);
|
|
52
|
+
--jd-color-icon: var(--jd-color-dark);
|
|
53
|
+
--jd-color-label: var(--jd-color-gray-dark);
|
|
54
|
+
--jd-color-placeholder: var(--jd-color-gray-dark);
|
|
55
|
+
--jd-color-folder-title: rgb(177 177 177);
|
|
56
|
+
--jd-color-selection: var(--jd-color-dark);
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Colors - Button
|
|
60
|
+
*/
|
|
61
|
+
--jd-color-button-background-hover: rgb(220 220 220);
|
|
62
|
+
--jd-color-button-background-hover-opacity40: rgb(219 219 219 / 40%);
|
|
63
|
+
--jd-color-button-background-hover-opacity60: rgb(219 219 219 / 60%);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Colors - Selection
|
|
67
|
+
*/
|
|
68
|
+
--jd-color-selection-area: rgb(189 189 189);
|
|
69
|
+
--jd-color-table-cell-background-hover: rgb(0 0 0 / 5%);
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Colors - Dark mode
|
|
73
|
+
*/
|
|
74
|
+
--jd-dark-background-color: rgb(87 87 87);
|
|
75
|
+
--jd-dark-background-darknes: rgb(53 53 53);
|
|
76
|
+
--jd-dark-background-ligher: rgb(192 192 192);
|
|
77
|
+
--jd-dark-border-color: rgb(68 68 68);
|
|
78
|
+
--jd-dark-color-border-selected: rgb(21 47 95);
|
|
79
|
+
--jd-dark-icon-color: rgb(192 192 192);
|
|
80
|
+
--jd-dark-text-color: rgb(209 204 204);
|
|
81
|
+
--jd-dark-text-color-opacity50: rgb(206 206 206 / 50%);
|
|
82
|
+
--jd-dark-text-color-opacity80: rgb(206 206 206 / 80%);
|
|
83
|
+
--jd-dark-toolbar-color: rgb(95 92 92);
|
|
84
|
+
--jd-dark-toolbar-seperator-color1: rgb(81 81 81 / 41%);
|
|
85
|
+
--jd-dark-toolbar-seperator-color2: rgb(104 103 103);
|
|
86
|
+
--jd-dark-toolbar-seperator-color3: rgb(105 105 105 / 75%);
|
|
87
|
+
--jd-dark-toolbar-seperator-color-opacity80: rgb(105 105 105 / 80%);
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Colors - Special
|
|
91
|
+
*/
|
|
92
|
+
--jd-color-picker-cell-size: 2.4rem;
|
|
93
|
+
--jd-image-editor-resizer-border-color: rgb(5 255 0);
|
|
94
|
+
--jd-image-editor-resizer-target-bg-color: rgb(140 120 120);
|
|
95
|
+
--jd-image-editor-resizer-target-border-color: rgb(56 56 56);
|
|
96
|
+
--jd-resizer-border-color: rgb(152 193 241);
|
|
97
|
+
--jd-resizer-handle-color: rgb(91 164 243);
|
|
98
|
+
--jd-resizer-handle-hover-color: rgb(83 126 187);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Colors - Em (Alert/Message)
|
|
102
|
+
*/
|
|
103
|
+
--jd-em-color-bg: rgb(207 226 255);
|
|
104
|
+
--jd-em-color-border: rgb(182 212 254);
|
|
105
|
+
--jd-em-color-color: rgb(8 66 152);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Sizes - Buttons
|
|
109
|
+
*/
|
|
110
|
+
--jd-button-icon-size: 1.4rem;
|
|
111
|
+
--jd-button-trigger-size: 1.4rem;
|
|
112
|
+
--jd-button-df-size: calc((var(--jd-button-icon-size) - 0.4rem) * 2);
|
|
113
|
+
--jd-button-size: calc(var(--jd-button-icon-size) + var(--jd-button-df-size) + var(--jd-margin-v) * 2);
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Sizes - Icons
|
|
117
|
+
*/
|
|
118
|
+
--jd-icon-size: 1.2rem;
|
|
119
|
+
--jd-icon-loader-size: 4.8rem;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Sizes - Height
|
|
123
|
+
*/
|
|
124
|
+
--jd-height: 1.8rem;
|
|
125
|
+
--jd-height-element-default: 1.8rem;
|
|
126
|
+
--jd-height-search: 3rem;
|
|
127
|
+
--jd-input-height: 3.2rem;
|
|
128
|
+
--jd-switche-height: 3.2rem;
|
|
129
|
+
--jd-viewer-height: 2.4rem;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Sizes - Width
|
|
133
|
+
*/
|
|
134
|
+
--jd-width-default: 18rem;
|
|
135
|
+
--jd-width-element-default: 1.8rem;
|
|
136
|
+
--jd-width-input-min: var(--jd-width-default);
|
|
137
|
+
--jd-width-search: 32rem;
|
|
138
|
+
--jd-width-search-count-box: 15%;
|
|
139
|
+
--jd-width-search-input-box: 60%;
|
|
140
|
+
--jd-viewer-width: 7rem;
|
|
141
|
+
--jd-switche-width: 6rem;
|
|
142
|
+
--jd-col-size: 15rem;
|
|
143
|
+
--jd-first-column: 31%;
|
|
144
|
+
--jd-image-editor-resizer-target-size: padding-default;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Sizes - Spacing
|
|
148
|
+
*/
|
|
149
|
+
--jd-padding-default: 0.8rem;
|
|
150
|
+
--jd-margin-v: 0.2rem;
|
|
151
|
+
--jd-switche-slider-margin: 0.4rem;
|
|
152
|
+
--jd-em-padding: calc(1rem / 2) 1rem;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Sizes - Other
|
|
156
|
+
*/
|
|
157
|
+
--jd-resizer-handle-size: 1rem;
|
|
158
|
+
--jd-switche-slider-size: calc(var(--jd-switche-height) - var(--jd-switche-slider-margin) * 2);
|
|
159
|
+
--jd-cols: 4;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Border and radius
|
|
163
|
+
*/
|
|
164
|
+
--jd-border-radius-default: 0.3rem;
|
|
165
|
+
--jd-em-border-radius: 0.375rem;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Font
|
|
169
|
+
*/
|
|
170
|
+
--jd-font-default: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, oxygen-sans, ubuntu, cantarell, 'Helvetica Neue', sans-serif;
|
|
171
|
+
--jd-font-size-default: 1.4rem;
|
|
172
|
+
--jd-font-size-small: 1.1rem;
|
|
173
|
+
--jd-em-font-size: 1rem;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Shadow
|
|
177
|
+
*/
|
|
178
|
+
--jd-box-shadow-1: 0 0.8rem 1.6rem rgb(0 0 0 / 19%);
|
|
179
|
+
--jd-box-shadow-blur: 1.6rem;
|
|
180
|
+
--jd-box-shadow-tabs: 0 0.2rem 0.4rem rgb(0 0 0 / 10%);
|
|
181
|
+
--jd-popup-box-shadow: 0 0.4rem 0.1rem -0.2rem rgb(76 76 76 / 20%), 0 0.3rem 0.3rem 0 rgb(76 76 76 / 15%), 0 0.1rem 0.4rem 0 rgb(76 76 76 / 13%);
|
|
182
|
+
--jd-popup-max-height: max(50vh, 35rem);
|
|
183
|
+
--jd-focus-input-box-shadow: 0 0 0 0.05rem rgb(0 123 255 / 25%);
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Z-index
|
|
187
|
+
*/
|
|
188
|
+
--jd-z-index-dialog: 20000004;
|
|
189
|
+
--jd-z-index-dialog-overlay: 20000003;
|
|
190
|
+
--jd-z-index-popup: 10000001;
|
|
191
|
+
--jd-z-index-full-size: 100000;
|
|
192
|
+
--jd-z-index-context-menu: 30000005;
|
|
193
|
+
--jd-z-index-tooltip: 30000006;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Animation and transition
|
|
197
|
+
*/
|
|
198
|
+
--jd-anl-color-new-line: var(--jd-color-border);
|
|
199
|
+
--jd-anl-handle-offset: calc(100% - var(--jd-anl-handle-size));
|
|
200
|
+
--jd-anl-handle-size: 2rem;
|
|
201
|
+
--jd-timeout-button-active: 0.1s;
|
|
202
|
+
--jd-transform-button-active: 0.95;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Tooltip
|
|
206
|
+
*/
|
|
207
|
+
--jd-tooltip-color: rgb(255 255 255);
|
|
208
|
+
--jd-tooltip-background-color: rgb(0 0 0 / 70%);
|
|
209
|
+
--jd-tooltip-sfx-shadow: rgb(0 0 0 / 15%);
|
|
210
|
+
--jd-tooltip-border-width: 0;
|
|
211
|
+
--jd-tooltip-border-color: rgb(229 229 229);
|
|
212
|
+
}
|
package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|