@sd-angular/core 1.2.94 → 1.2.97
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/api/package.json +12 -1
- package/api/sd-angular-core-api.d.ts +2 -0
- package/api/sd-angular-core-api.d.ts.__ivy_ngcc_bak +4 -0
- package/api/sd-angular-core-api.d.ts.map +1 -0
- package/autocomplete/package.json +12 -1
- package/autocomplete/sd-angular-core-autocomplete.d.ts +2 -0
- package/autocomplete/sd-angular-core-autocomplete.d.ts.__ivy_ngcc_bak +4 -0
- package/autocomplete/sd-angular-core-autocomplete.d.ts.map +1 -0
- package/badge/package.json +12 -1
- package/badge/sd-angular-core-badge.d.ts +2 -0
- package/badge/sd-angular-core-badge.d.ts.__ivy_ngcc_bak +4 -0
- package/badge/sd-angular-core-badge.d.ts.map +1 -0
- package/bundles/sd-angular-core-api.umd.js +2 -1
- package/bundles/sd-angular-core-api.umd.js.__ivy_ngcc_bak +876 -0
- package/bundles/sd-angular-core-api.umd.js.map +1 -1
- package/bundles/sd-angular-core-api.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-autocomplete.umd.js +2 -1
- package/bundles/sd-angular-core-autocomplete.umd.js.__ivy_ngcc_bak +791 -0
- package/bundles/sd-angular-core-autocomplete.umd.js.map +1 -1
- package/bundles/sd-angular-core-autocomplete.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-badge.umd.js +2 -1
- package/bundles/sd-angular-core-badge.umd.js.__ivy_ngcc_bak +89 -0
- package/bundles/sd-angular-core-badge.umd.js.map +1 -1
- package/bundles/sd-angular-core-badge.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-button.umd.js +6 -2
- package/bundles/sd-angular-core-button.umd.js.__ivy_ngcc_bak +447 -0
- package/bundles/sd-angular-core-button.umd.js.map +1 -1
- package/bundles/sd-angular-core-button.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-button.umd.min.js +1 -1
- package/bundles/sd-angular-core-button.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-cache.umd.js +2 -1
- package/bundles/sd-angular-core-cache.umd.js.__ivy_ngcc_bak +623 -0
- package/bundles/sd-angular-core-cache.umd.js.map +1 -1
- package/bundles/sd-angular-core-cache.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-chart.umd.js +2 -1
- package/bundles/sd-angular-core-chart.umd.js.__ivy_ngcc_bak +1106 -0
- package/bundles/sd-angular-core-chart.umd.js.map +1 -1
- package/bundles/sd-angular-core-chart.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-checkbox.umd.js +2 -1
- package/bundles/sd-angular-core-checkbox.umd.js.__ivy_ngcc_bak +461 -0
- package/bundles/sd-angular-core-checkbox.umd.js.map +1 -1
- package/bundles/sd-angular-core-checkbox.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-chip.umd.js +2 -1
- package/bundles/sd-angular-core-chip.umd.js.__ivy_ngcc_bak +1051 -0
- package/bundles/sd-angular-core-chip.umd.js.map +1 -1
- package/bundles/sd-angular-core-chip.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-comment.umd.js +2 -1
- package/bundles/sd-angular-core-comment.umd.js.__ivy_ngcc_bak +456 -0
- package/bundles/sd-angular-core-comment.umd.js.map +1 -1
- package/bundles/sd-angular-core-comment.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-common.umd.js +2 -1
- package/bundles/sd-angular-core-common.umd.js.__ivy_ngcc_bak +962 -0
- package/bundles/sd-angular-core-common.umd.js.map +1 -1
- package/bundles/sd-angular-core-common.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-confirm.umd.js +2 -1
- package/bundles/sd-angular-core-confirm.umd.js.__ivy_ngcc_bak +159 -0
- package/bundles/sd-angular-core-confirm.umd.js.map +1 -1
- package/bundles/sd-angular-core-confirm.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-date-month.umd.js +2 -1
- package/bundles/sd-angular-core-date-month.umd.js.__ivy_ngcc_bak +650 -0
- package/bundles/sd-angular-core-date-month.umd.js.map +1 -1
- package/bundles/sd-angular-core-date-month.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-date-range.umd.js +2 -1
- package/bundles/sd-angular-core-date-range.umd.js.__ivy_ngcc_bak +660 -0
- package/bundles/sd-angular-core-date-range.umd.js.map +1 -1
- package/bundles/sd-angular-core-date-range.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-date-time.umd.js +2 -1
- package/bundles/sd-angular-core-date-time.umd.js.__ivy_ngcc_bak +734 -0
- package/bundles/sd-angular-core-date-time.umd.js.map +1 -1
- package/bundles/sd-angular-core-date-time.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-db.umd.js +2 -1
- package/bundles/sd-angular-core-db.umd.js.__ivy_ngcc_bak +464 -0
- package/bundles/sd-angular-core-db.umd.js.map +1 -1
- package/bundles/sd-angular-core-db.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-dynamic-report.umd.js +2 -1
- package/bundles/sd-angular-core-dynamic-report.umd.js.__ivy_ngcc_bak +96 -0
- package/bundles/sd-angular-core-dynamic-report.umd.js.map +1 -1
- package/bundles/sd-angular-core-dynamic-report.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-editor.umd.js +13 -21
- package/bundles/sd-angular-core-editor.umd.js.__ivy_ngcc_bak +943 -0
- package/bundles/sd-angular-core-editor.umd.js.map +1 -1
- package/bundles/sd-angular-core-editor.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-editor.umd.min.js +2 -2
- package/bundles/sd-angular-core-editor.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-excel.umd.js +2 -1
- package/bundles/sd-angular-core-excel.umd.js.__ivy_ngcc_bak +500 -0
- package/bundles/sd-angular-core-excel.umd.js.map +1 -1
- package/bundles/sd-angular-core-excel.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-export.umd.js +2 -1
- package/bundles/sd-angular-core-export.umd.js.__ivy_ngcc_bak +712 -0
- package/bundles/sd-angular-core-export.umd.js.map +1 -1
- package/bundles/sd-angular-core-export.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-filter.umd.js +2 -1
- package/bundles/sd-angular-core-filter.umd.js.__ivy_ngcc_bak +703 -0
- package/bundles/sd-angular-core-filter.umd.js.map +1 -1
- package/bundles/sd-angular-core-filter.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-form.umd.js +2 -1
- package/bundles/sd-angular-core-form.umd.js.__ivy_ngcc_bak +88 -0
- package/bundles/sd-angular-core-form.umd.js.map +1 -1
- package/bundles/sd-angular-core-form.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-grid-material.umd.js +2 -1
- package/bundles/sd-angular-core-grid-material.umd.js.__ivy_ngcc_bak +5029 -0
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-grid.umd.js +2 -1
- package/bundles/sd-angular-core-grid.umd.js.__ivy_ngcc_bak +5125 -0
- package/bundles/sd-angular-core-grid.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-group.umd.js +2 -1
- package/bundles/sd-angular-core-group.umd.js.__ivy_ngcc_bak +93 -0
- package/bundles/sd-angular-core-group.umd.js.map +1 -1
- package/bundles/sd-angular-core-group.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-header-title.umd.js +2 -1
- package/bundles/sd-angular-core-header-title.umd.js.__ivy_ngcc_bak +56 -0
- package/bundles/sd-angular-core-header-title.umd.js.map +1 -1
- package/bundles/sd-angular-core-header-title.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-image-preview.umd.js +2 -1
- package/bundles/sd-angular-core-image-preview.umd.js.__ivy_ngcc_bak +121 -0
- package/bundles/sd-angular-core-image-preview.umd.js.map +1 -1
- package/bundles/sd-angular-core-image-preview.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-input-currency.umd.js +2 -1
- package/bundles/sd-angular-core-input-currency.umd.js.__ivy_ngcc_bak +737 -0
- package/bundles/sd-angular-core-input-currency.umd.js.map +1 -1
- package/bundles/sd-angular-core-input-currency.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-input-dropdown.umd.js +2 -1
- package/bundles/sd-angular-core-input-dropdown.umd.js.__ivy_ngcc_bak +634 -0
- package/bundles/sd-angular-core-input-dropdown.umd.js.map +1 -1
- package/bundles/sd-angular-core-input-dropdown.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-input-number.umd.js +2 -1
- package/bundles/sd-angular-core-input-number.umd.js.__ivy_ngcc_bak +792 -0
- package/bundles/sd-angular-core-input-number.umd.js.map +1 -1
- package/bundles/sd-angular-core-input-number.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-input-upload-file.umd.js +2 -1
- package/bundles/sd-angular-core-input-upload-file.umd.js.__ivy_ngcc_bak +648 -0
- package/bundles/sd-angular-core-input-upload-file.umd.js.map +1 -1
- package/bundles/sd-angular-core-input-upload-file.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-input.umd.js +2 -1
- package/bundles/sd-angular-core-input.umd.js.__ivy_ngcc_bak +798 -0
- package/bundles/sd-angular-core-input.umd.js.map +1 -1
- package/bundles/sd-angular-core-input.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-json-editor.umd.js +2 -1
- package/bundles/sd-angular-core-json-editor.umd.js.__ivy_ngcc_bak +523 -0
- package/bundles/sd-angular-core-json-editor.umd.js.map +1 -1
- package/bundles/sd-angular-core-json-editor.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-konva.umd.js +2 -1
- package/bundles/sd-angular-core-konva.umd.js.__ivy_ngcc_bak +605 -0
- package/bundles/sd-angular-core-konva.umd.js.map +1 -1
- package/bundles/sd-angular-core-konva.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-label.umd.js +2 -1
- package/bundles/sd-angular-core-label.umd.js.__ivy_ngcc_bak +60 -0
- package/bundles/sd-angular-core-label.umd.js.map +1 -1
- package/bundles/sd-angular-core-label.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-loading.umd.js +2 -1
- package/bundles/sd-angular-core-loading.umd.js.__ivy_ngcc_bak +413 -0
- package/bundles/sd-angular-core-loading.umd.js.map +1 -1
- package/bundles/sd-angular-core-loading.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-modal-resizable.umd.js +2 -1
- package/bundles/sd-angular-core-modal-resizable.umd.js.__ivy_ngcc_bak +487 -0
- package/bundles/sd-angular-core-modal-resizable.umd.js.map +1 -1
- package/bundles/sd-angular-core-modal-resizable.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-modal.umd.js +2 -1
- package/bundles/sd-angular-core-modal.umd.js.__ivy_ngcc_bak +307 -0
- package/bundles/sd-angular-core-modal.umd.js.map +1 -1
- package/bundles/sd-angular-core-modal.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-notify.umd.js +2 -1
- package/bundles/sd-angular-core-notify.umd.js.__ivy_ngcc_bak +719 -0
- package/bundles/sd-angular-core-notify.umd.js.map +1 -1
- package/bundles/sd-angular-core-notify.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-popover.umd.js +2 -1
- package/bundles/sd-angular-core-popover.umd.js.__ivy_ngcc_bak +752 -0
- package/bundles/sd-angular-core-popover.umd.js.map +1 -1
- package/bundles/sd-angular-core-popover.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-quick-action.umd.js +2 -1
- package/bundles/sd-angular-core-quick-action.umd.js.__ivy_ngcc_bak +66 -0
- package/bundles/sd-angular-core-quick-action.umd.js.map +1 -1
- package/bundles/sd-angular-core-quick-action.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-radio.umd.js +2 -1
- package/bundles/sd-angular-core-radio.umd.js.__ivy_ngcc_bak +535 -0
- package/bundles/sd-angular-core-radio.umd.js.map +1 -1
- package/bundles/sd-angular-core-radio.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-select-badge.umd.js +2 -1
- package/bundles/sd-angular-core-select-badge.umd.js.__ivy_ngcc_bak +486 -0
- package/bundles/sd-angular-core-select-badge.umd.js.map +1 -1
- package/bundles/sd-angular-core-select-badge.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-select-editor.umd.js +2 -1
- package/bundles/sd-angular-core-select-editor.umd.js.__ivy_ngcc_bak +431 -0
- package/bundles/sd-angular-core-select-editor.umd.js.map +1 -1
- package/bundles/sd-angular-core-select-editor.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-select.umd.js +2 -1
- package/bundles/sd-angular-core-select.umd.js.__ivy_ngcc_bak +921 -0
- package/bundles/sd-angular-core-select.umd.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-service.umd.js +2 -1
- package/bundles/sd-angular-core-service.umd.js.__ivy_ngcc_bak +42 -0
- package/bundles/sd-angular-core-service.umd.js.map +1 -1
- package/bundles/sd-angular-core-service.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-setting.umd.js +2 -1
- package/bundles/sd-angular-core-setting.umd.js.__ivy_ngcc_bak +664 -0
- package/bundles/sd-angular-core-setting.umd.js.map +1 -1
- package/bundles/sd-angular-core-setting.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-side-drawer.umd.js +2 -1
- package/bundles/sd-angular-core-side-drawer.umd.js.__ivy_ngcc_bak +438 -0
- package/bundles/sd-angular-core-side-drawer.umd.js.map +1 -1
- package/bundles/sd-angular-core-side-drawer.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-switch.umd.js +2 -1
- package/bundles/sd-angular-core-switch.umd.js.__ivy_ngcc_bak +454 -0
- package/bundles/sd-angular-core-switch.umd.js.map +1 -1
- package/bundles/sd-angular-core-switch.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-tab-router.umd.js +2 -1
- package/bundles/sd-angular-core-tab-router.umd.js.__ivy_ngcc_bak +941 -0
- package/bundles/sd-angular-core-tab-router.umd.js.map +1 -1
- package/bundles/sd-angular-core-tab-router.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-textarea.umd.js +2 -1
- package/bundles/sd-angular-core-textarea.umd.js.__ivy_ngcc_bak +642 -0
- package/bundles/sd-angular-core-textarea.umd.js.map +1 -1
- package/bundles/sd-angular-core-textarea.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-time.umd.js +2 -1
- package/bundles/sd-angular-core-time.umd.js.__ivy_ngcc_bak +497 -0
- package/bundles/sd-angular-core-time.umd.js.map +1 -1
- package/bundles/sd-angular-core-time.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-timeline.umd.js +2 -1
- package/bundles/sd-angular-core-timeline.umd.js.__ivy_ngcc_bak +102 -0
- package/bundles/sd-angular-core-timeline.umd.js.map +1 -1
- package/bundles/sd-angular-core-timeline.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-translate.umd.js +2 -1
- package/bundles/sd-angular-core-translate.umd.js.__ivy_ngcc_bak +119 -0
- package/bundles/sd-angular-core-translate.umd.js.map +1 -1
- package/bundles/sd-angular-core-translate.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-upload-excel.umd.js +2 -1
- package/bundles/sd-angular-core-upload-excel.umd.js.__ivy_ngcc_bak +1114 -0
- package/bundles/sd-angular-core-upload-excel.umd.js.map +1 -1
- package/bundles/sd-angular-core-upload-excel.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-upload-file.umd.js +2 -1
- package/bundles/sd-angular-core-upload-file.umd.js.__ivy_ngcc_bak +880 -0
- package/bundles/sd-angular-core-upload-file.umd.js.map +1 -1
- package/bundles/sd-angular-core-upload-file.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-utility.umd.js +2 -1
- package/bundles/sd-angular-core-utility.umd.js.__ivy_ngcc_bak +708 -0
- package/bundles/sd-angular-core-utility.umd.js.map +1 -1
- package/bundles/sd-angular-core-utility.umd.js.map.__ivy_ngcc_bak +1 -0
- package/bundles/sd-angular-core-view.umd.js +2 -1
- package/bundles/sd-angular-core-view.umd.js.__ivy_ngcc_bak +32 -0
- package/bundles/sd-angular-core-view.umd.js.map +1 -1
- package/bundles/sd-angular-core-view.umd.js.map.__ivy_ngcc_bak +1 -0
- package/button/package.json +12 -1
- package/button/sd-angular-core-button.d.ts +2 -0
- package/button/sd-angular-core-button.d.ts.__ivy_ngcc_bak +4 -0
- package/button/sd-angular-core-button.d.ts.map +1 -0
- package/button/sd-angular-core-button.metadata.json +1 -1
- package/cache/package.json +12 -1
- package/cache/sd-angular-core-cache.d.ts +2 -0
- package/cache/sd-angular-core-cache.d.ts.__ivy_ngcc_bak +4 -0
- package/cache/sd-angular-core-cache.d.ts.map +1 -0
- package/chart/package.json +12 -1
- package/chart/sd-angular-core-chart.d.ts +2 -0
- package/chart/sd-angular-core-chart.d.ts.__ivy_ngcc_bak +4 -0
- package/chart/sd-angular-core-chart.d.ts.map +1 -0
- package/checkbox/package.json +12 -1
- package/checkbox/sd-angular-core-checkbox.d.ts +2 -0
- package/checkbox/sd-angular-core-checkbox.d.ts.__ivy_ngcc_bak +5 -0
- package/checkbox/sd-angular-core-checkbox.d.ts.map +1 -0
- package/chip/package.json +12 -1
- package/chip/sd-angular-core-chip.d.ts +2 -0
- package/chip/sd-angular-core-chip.d.ts.__ivy_ngcc_bak +5 -0
- package/chip/sd-angular-core-chip.d.ts.map +1 -0
- package/comment/package.json +12 -1
- package/comment/sd-angular-core-comment.d.ts +2 -0
- package/comment/sd-angular-core-comment.d.ts.__ivy_ngcc_bak +4 -0
- package/comment/sd-angular-core-comment.d.ts.map +1 -0
- package/common/package.json +12 -1
- package/common/sd-angular-core-common.d.ts +2 -0
- package/common/sd-angular-core-common.d.ts.__ivy_ngcc_bak +4 -0
- package/common/sd-angular-core-common.d.ts.map +1 -0
- package/confirm/package.json +12 -1
- package/confirm/sd-angular-core-confirm.d.ts +2 -0
- package/confirm/sd-angular-core-confirm.d.ts.__ivy_ngcc_bak +4 -0
- package/confirm/sd-angular-core-confirm.d.ts.map +1 -0
- package/date-month/package.json +12 -1
- package/date-month/sd-angular-core-date-month.d.ts +2 -0
- package/date-month/sd-angular-core-date-month.d.ts.__ivy_ngcc_bak +5 -0
- package/date-month/sd-angular-core-date-month.d.ts.map +1 -0
- package/date-range/package.json +12 -1
- package/date-range/sd-angular-core-date-range.d.ts +2 -0
- package/date-range/sd-angular-core-date-range.d.ts.__ivy_ngcc_bak +4 -0
- package/date-range/sd-angular-core-date-range.d.ts.map +1 -0
- package/date-time/package.json +12 -1
- package/date-time/sd-angular-core-date-time.d.ts +2 -0
- package/date-time/sd-angular-core-date-time.d.ts.__ivy_ngcc_bak +4 -0
- package/date-time/sd-angular-core-date-time.d.ts.map +1 -0
- package/db/package.json +12 -1
- package/db/sd-angular-core-db.d.ts +2 -0
- package/db/sd-angular-core-db.d.ts.__ivy_ngcc_bak +4 -0
- package/db/sd-angular-core-db.d.ts.map +1 -0
- package/dynamic-report/package.json +12 -1
- package/dynamic-report/sd-angular-core-dynamic-report.d.ts +2 -0
- package/dynamic-report/sd-angular-core-dynamic-report.d.ts.__ivy_ngcc_bak +4 -0
- package/dynamic-report/sd-angular-core-dynamic-report.d.ts.map +1 -0
- package/editor/package.json +12 -1
- package/editor/sd-angular-core-editor.d.ts +2 -0
- package/editor/sd-angular-core-editor.d.ts.__ivy_ngcc_bak +4 -0
- package/editor/sd-angular-core-editor.d.ts.map +1 -0
- package/editor/sd-angular-core-editor.metadata.json +1 -1
- package/editor/src/lib/editor.component.d.ts +1 -6
- package/editor/src/lib/editor.model.d.ts +4 -2
- package/esm2015/api/sd-angular-core-api.js +1 -1
- package/esm2015/api/sd-angular-core-api.js.__ivy_ngcc_bak +5 -0
- package/esm2015/autocomplete/sd-angular-core-autocomplete.js +1 -1
- package/esm2015/autocomplete/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +5 -0
- package/esm2015/badge/sd-angular-core-badge.js +1 -1
- package/esm2015/badge/sd-angular-core-badge.js.__ivy_ngcc_bak +5 -0
- package/esm2015/button/sd-angular-core-button.js +1 -1
- package/esm2015/button/sd-angular-core-button.js.__ivy_ngcc_bak +5 -0
- package/esm2015/button/src/lib/button.component.js +5 -2
- package/esm2015/cache/sd-angular-core-cache.js +1 -1
- package/esm2015/cache/sd-angular-core-cache.js.__ivy_ngcc_bak +5 -0
- package/esm2015/chart/sd-angular-core-chart.js +1 -1
- package/esm2015/chart/sd-angular-core-chart.js.__ivy_ngcc_bak +5 -0
- package/esm2015/checkbox/sd-angular-core-checkbox.js +1 -1
- package/esm2015/checkbox/sd-angular-core-checkbox.js.__ivy_ngcc_bak +6 -0
- package/esm2015/chip/sd-angular-core-chip.js +1 -1
- package/esm2015/chip/sd-angular-core-chip.js.__ivy_ngcc_bak +6 -0
- package/esm2015/comment/sd-angular-core-comment.js +1 -1
- package/esm2015/comment/sd-angular-core-comment.js.__ivy_ngcc_bak +5 -0
- package/esm2015/common/sd-angular-core-common.js +1 -1
- package/esm2015/common/sd-angular-core-common.js.__ivy_ngcc_bak +5 -0
- package/esm2015/confirm/sd-angular-core-confirm.js +1 -1
- package/esm2015/confirm/sd-angular-core-confirm.js.__ivy_ngcc_bak +5 -0
- package/esm2015/date-month/sd-angular-core-date-month.js +1 -1
- package/esm2015/date-month/sd-angular-core-date-month.js.__ivy_ngcc_bak +6 -0
- package/esm2015/date-range/sd-angular-core-date-range.js +1 -1
- package/esm2015/date-range/sd-angular-core-date-range.js.__ivy_ngcc_bak +5 -0
- package/esm2015/date-time/sd-angular-core-date-time.js +1 -1
- package/esm2015/date-time/sd-angular-core-date-time.js.__ivy_ngcc_bak +5 -0
- package/esm2015/db/sd-angular-core-db.js +1 -1
- package/esm2015/db/sd-angular-core-db.js.__ivy_ngcc_bak +5 -0
- package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js +1 -1
- package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +5 -0
- package/esm2015/editor/sd-angular-core-editor.js +1 -1
- package/esm2015/editor/sd-angular-core-editor.js.__ivy_ngcc_bak +5 -0
- package/esm2015/editor/src/lib/editor.component.js +8 -19
- package/esm2015/editor/src/lib/editor.model.js +2 -2
- package/esm2015/excel/sd-angular-core-excel.js +1 -1
- package/esm2015/excel/sd-angular-core-excel.js.__ivy_ngcc_bak +5 -0
- package/esm2015/export/sd-angular-core-export.js +1 -1
- package/esm2015/export/sd-angular-core-export.js.__ivy_ngcc_bak +5 -0
- package/esm2015/filter/sd-angular-core-filter.js +1 -1
- package/esm2015/filter/sd-angular-core-filter.js.__ivy_ngcc_bak +8 -0
- package/esm2015/form/sd-angular-core-form.js +1 -1
- package/esm2015/form/sd-angular-core-form.js.__ivy_ngcc_bak +5 -0
- package/esm2015/grid/sd-angular-core-grid.js +1 -1
- package/esm2015/grid/sd-angular-core-grid.js.__ivy_ngcc_bak +5 -0
- package/esm2015/grid-material/sd-angular-core-grid-material.js +1 -1
- package/esm2015/grid-material/sd-angular-core-grid-material.js.__ivy_ngcc_bak +47 -0
- package/esm2015/group/sd-angular-core-group.js +1 -1
- package/esm2015/group/sd-angular-core-group.js.__ivy_ngcc_bak +6 -0
- package/esm2015/header-title/sd-angular-core-header-title.js +1 -1
- package/esm2015/header-title/sd-angular-core-header-title.js.__ivy_ngcc_bak +6 -0
- package/esm2015/image-preview/sd-angular-core-image-preview.js +1 -1
- package/esm2015/image-preview/sd-angular-core-image-preview.js.__ivy_ngcc_bak +7 -0
- package/esm2015/input/sd-angular-core-input.js +1 -1
- package/esm2015/input/sd-angular-core-input.js.__ivy_ngcc_bak +6 -0
- package/esm2015/input-currency/sd-angular-core-input-currency.js +1 -1
- package/esm2015/input-currency/sd-angular-core-input-currency.js.__ivy_ngcc_bak +5 -0
- package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js +1 -1
- package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +5 -0
- package/esm2015/input-number/sd-angular-core-input-number.js +1 -1
- package/esm2015/input-number/sd-angular-core-input-number.js.__ivy_ngcc_bak +5 -0
- package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js +1 -1
- package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +5 -0
- package/esm2015/json-editor/sd-angular-core-json-editor.js +1 -1
- package/esm2015/json-editor/sd-angular-core-json-editor.js.__ivy_ngcc_bak +5 -0
- package/esm2015/konva/sd-angular-core-konva.js +1 -1
- package/esm2015/konva/sd-angular-core-konva.js.__ivy_ngcc_bak +5 -0
- package/esm2015/label/sd-angular-core-label.js +1 -1
- package/esm2015/label/sd-angular-core-label.js.__ivy_ngcc_bak +6 -0
- package/esm2015/loading/sd-angular-core-loading.js +1 -1
- package/esm2015/loading/sd-angular-core-loading.js.__ivy_ngcc_bak +5 -0
- package/esm2015/modal/sd-angular-core-modal.js +1 -1
- package/esm2015/modal/sd-angular-core-modal.js.__ivy_ngcc_bak +5 -0
- package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js +1 -1
- package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +5 -0
- package/esm2015/notify/sd-angular-core-notify.js +1 -1
- package/esm2015/notify/sd-angular-core-notify.js.__ivy_ngcc_bak +5 -0
- package/esm2015/popover/sd-angular-core-popover.js +1 -1
- package/esm2015/popover/sd-angular-core-popover.js.__ivy_ngcc_bak +5 -0
- package/esm2015/quick-action/sd-angular-core-quick-action.js +1 -1
- package/esm2015/quick-action/sd-angular-core-quick-action.js.__ivy_ngcc_bak +5 -0
- package/esm2015/radio/sd-angular-core-radio.js +1 -1
- package/esm2015/radio/sd-angular-core-radio.js.__ivy_ngcc_bak +5 -0
- package/esm2015/select/sd-angular-core-select.js +1 -1
- package/esm2015/select/sd-angular-core-select.js.__ivy_ngcc_bak +5 -0
- package/esm2015/select-badge/sd-angular-core-select-badge.js +1 -1
- package/esm2015/select-badge/sd-angular-core-select-badge.js.__ivy_ngcc_bak +5 -0
- package/esm2015/select-editor/sd-angular-core-select-editor.js +1 -1
- package/esm2015/select-editor/sd-angular-core-select-editor.js.__ivy_ngcc_bak +5 -0
- package/esm2015/service/sd-angular-core-service.js +1 -1
- package/esm2015/service/sd-angular-core-service.js.__ivy_ngcc_bak +5 -0
- package/esm2015/setting/sd-angular-core-setting.js +1 -1
- package/esm2015/setting/sd-angular-core-setting.js.__ivy_ngcc_bak +5 -0
- package/esm2015/side-drawer/sd-angular-core-side-drawer.js +1 -1
- package/esm2015/side-drawer/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +5 -0
- package/esm2015/switch/sd-angular-core-switch.js +1 -1
- package/esm2015/switch/sd-angular-core-switch.js.__ivy_ngcc_bak +5 -0
- package/esm2015/tab-router/sd-angular-core-tab-router.js +1 -1
- package/esm2015/tab-router/sd-angular-core-tab-router.js.__ivy_ngcc_bak +7 -0
- package/esm2015/textarea/sd-angular-core-textarea.js +1 -1
- package/esm2015/textarea/sd-angular-core-textarea.js.__ivy_ngcc_bak +5 -0
- package/esm2015/time/sd-angular-core-time.js +1 -1
- package/esm2015/time/sd-angular-core-time.js.__ivy_ngcc_bak +6 -0
- package/esm2015/timeline/sd-angular-core-timeline.js +1 -1
- package/esm2015/timeline/sd-angular-core-timeline.js.__ivy_ngcc_bak +6 -0
- package/esm2015/translate/sd-angular-core-translate.js +1 -1
- package/esm2015/translate/sd-angular-core-translate.js.__ivy_ngcc_bak +5 -0
- package/esm2015/upload-excel/sd-angular-core-upload-excel.js +1 -1
- package/esm2015/upload-excel/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +7 -0
- package/esm2015/upload-file/sd-angular-core-upload-file.js +1 -1
- package/esm2015/upload-file/sd-angular-core-upload-file.js.__ivy_ngcc_bak +5 -0
- package/esm2015/utility/sd-angular-core-utility.js +1 -1
- package/esm2015/utility/sd-angular-core-utility.js.__ivy_ngcc_bak +5 -0
- package/esm2015/view/sd-angular-core-view.js +1 -1
- package/esm2015/view/sd-angular-core-view.js.__ivy_ngcc_bak +5 -0
- package/excel/package.json +12 -1
- package/excel/sd-angular-core-excel.d.ts +2 -0
- package/excel/sd-angular-core-excel.d.ts.__ivy_ngcc_bak +4 -0
- package/excel/sd-angular-core-excel.d.ts.map +1 -0
- package/export/package.json +12 -1
- package/export/sd-angular-core-export.d.ts +2 -0
- package/export/sd-angular-core-export.d.ts.__ivy_ngcc_bak +4 -0
- package/export/sd-angular-core-export.d.ts.map +1 -0
- package/fesm2015/sd-angular-core-api.js +2 -1
- package/fesm2015/sd-angular-core-api.js.__ivy_ngcc_bak +496 -0
- package/fesm2015/sd-angular-core-api.js.map +1 -1
- package/fesm2015/sd-angular-core-api.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-autocomplete.js +2 -1
- package/fesm2015/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +427 -0
- package/fesm2015/sd-angular-core-autocomplete.js.map +1 -1
- package/fesm2015/sd-angular-core-autocomplete.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-badge.js +2 -1
- package/fesm2015/sd-angular-core-badge.js.__ivy_ngcc_bak +70 -0
- package/fesm2015/sd-angular-core-badge.js.map +1 -1
- package/fesm2015/sd-angular-core-badge.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-button.js +6 -2
- package/fesm2015/sd-angular-core-button.js.__ivy_ngcc_bak +118 -0
- package/fesm2015/sd-angular-core-button.js.map +1 -1
- package/fesm2015/sd-angular-core-button.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-cache.js +2 -1
- package/fesm2015/sd-angular-core-cache.js.__ivy_ngcc_bak +259 -0
- package/fesm2015/sd-angular-core-cache.js.map +1 -1
- package/fesm2015/sd-angular-core-cache.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-chart.js +2 -1
- package/fesm2015/sd-angular-core-chart.js.__ivy_ngcc_bak +727 -0
- package/fesm2015/sd-angular-core-chart.js.map +1 -1
- package/fesm2015/sd-angular-core-chart.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-checkbox.js +2 -1
- package/fesm2015/sd-angular-core-checkbox.js.__ivy_ngcc_bak +120 -0
- package/fesm2015/sd-angular-core-checkbox.js.map +1 -1
- package/fesm2015/sd-angular-core-checkbox.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-chip.js +2 -1
- package/fesm2015/sd-angular-core-chip.js.__ivy_ngcc_bak +632 -0
- package/fesm2015/sd-angular-core-chip.js.map +1 -1
- package/fesm2015/sd-angular-core-chip.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-comment.js +2 -1
- package/fesm2015/sd-angular-core-comment.js.__ivy_ngcc_bak +118 -0
- package/fesm2015/sd-angular-core-comment.js.map +1 -1
- package/fesm2015/sd-angular-core-comment.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-common.js +2 -1
- package/fesm2015/sd-angular-core-common.js.__ivy_ngcc_bak +562 -0
- package/fesm2015/sd-angular-core-common.js.map +1 -1
- package/fesm2015/sd-angular-core-common.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-confirm.js +2 -1
- package/fesm2015/sd-angular-core-confirm.js.__ivy_ngcc_bak +154 -0
- package/fesm2015/sd-angular-core-confirm.js.map +1 -1
- package/fesm2015/sd-angular-core-confirm.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-date-month.js +2 -1
- package/fesm2015/sd-angular-core-date-month.js.__ivy_ngcc_bak +289 -0
- package/fesm2015/sd-angular-core-date-month.js.map +1 -1
- package/fesm2015/sd-angular-core-date-month.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-date-range.js +2 -1
- package/fesm2015/sd-angular-core-date-range.js.__ivy_ngcc_bak +297 -0
- package/fesm2015/sd-angular-core-date-range.js.map +1 -1
- package/fesm2015/sd-angular-core-date-range.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-date-time.js +2 -1
- package/fesm2015/sd-angular-core-date-time.js.__ivy_ngcc_bak +367 -0
- package/fesm2015/sd-angular-core-date-time.js.map +1 -1
- package/fesm2015/sd-angular-core-date-time.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-db.js +2 -1
- package/fesm2015/sd-angular-core-db.js.__ivy_ngcc_bak +91 -0
- package/fesm2015/sd-angular-core-db.js.map +1 -1
- package/fesm2015/sd-angular-core-db.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-dynamic-report.js +2 -1
- package/fesm2015/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +82 -0
- package/fesm2015/sd-angular-core-dynamic-report.js.map +1 -1
- package/fesm2015/sd-angular-core-dynamic-report.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-editor.js +10 -19
- package/fesm2015/sd-angular-core-editor.js.__ivy_ngcc_bak +576 -0
- package/fesm2015/sd-angular-core-editor.js.map +1 -1
- package/fesm2015/sd-angular-core-editor.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-excel.js +2 -1
- package/fesm2015/sd-angular-core-excel.js.__ivy_ngcc_bak +100 -0
- package/fesm2015/sd-angular-core-excel.js.map +1 -1
- package/fesm2015/sd-angular-core-excel.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-export.js +2 -1
- package/fesm2015/sd-angular-core-export.js.__ivy_ngcc_bak +272 -0
- package/fesm2015/sd-angular-core-export.js.map +1 -1
- package/fesm2015/sd-angular-core-export.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-filter.js +2 -1
- package/fesm2015/sd-angular-core-filter.js.__ivy_ngcc_bak +323 -0
- package/fesm2015/sd-angular-core-filter.js.map +1 -1
- package/fesm2015/sd-angular-core-filter.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-form.js +2 -1
- package/fesm2015/sd-angular-core-form.js.__ivy_ngcc_bak +104 -0
- package/fesm2015/sd-angular-core-form.js.map +1 -1
- package/fesm2015/sd-angular-core-form.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-grid-material.js +2 -1
- package/fesm2015/sd-angular-core-grid-material.js.__ivy_ngcc_bak +3740 -0
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/fesm2015/sd-angular-core-grid-material.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-grid.js +2 -1
- package/fesm2015/sd-angular-core-grid.js.__ivy_ngcc_bak +3935 -0
- package/fesm2015/sd-angular-core-grid.js.map +1 -1
- package/fesm2015/sd-angular-core-grid.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-group.js +2 -1
- package/fesm2015/sd-angular-core-group.js.__ivy_ngcc_bak +74 -0
- package/fesm2015/sd-angular-core-group.js.map +1 -1
- package/fesm2015/sd-angular-core-group.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-header-title.js +2 -1
- package/fesm2015/sd-angular-core-header-title.js.__ivy_ngcc_bak +45 -0
- package/fesm2015/sd-angular-core-header-title.js.map +1 -1
- package/fesm2015/sd-angular-core-header-title.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-image-preview.js +2 -1
- package/fesm2015/sd-angular-core-image-preview.js.__ivy_ngcc_bak +107 -0
- package/fesm2015/sd-angular-core-image-preview.js.map +1 -1
- package/fesm2015/sd-angular-core-image-preview.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-input-currency.js +2 -1
- package/fesm2015/sd-angular-core-input-currency.js.__ivy_ngcc_bak +330 -0
- package/fesm2015/sd-angular-core-input-currency.js.map +1 -1
- package/fesm2015/sd-angular-core-input-currency.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-input-dropdown.js +2 -1
- package/fesm2015/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +268 -0
- package/fesm2015/sd-angular-core-input-dropdown.js.map +1 -1
- package/fesm2015/sd-angular-core-input-dropdown.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-input-number.js +2 -1
- package/fesm2015/sd-angular-core-input-number.js.__ivy_ngcc_bak +415 -0
- package/fesm2015/sd-angular-core-input-number.js.map +1 -1
- package/fesm2015/sd-angular-core-input-number.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-input-upload-file.js +2 -1
- package/fesm2015/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +274 -0
- package/fesm2015/sd-angular-core-input-upload-file.js.map +1 -1
- package/fesm2015/sd-angular-core-input-upload-file.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-input.js +2 -1
- package/fesm2015/sd-angular-core-input.js.__ivy_ngcc_bak +398 -0
- package/fesm2015/sd-angular-core-input.js.map +1 -1
- package/fesm2015/sd-angular-core-input.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-json-editor.js +2 -1
- package/fesm2015/sd-angular-core-json-editor.js.__ivy_ngcc_bak +180 -0
- package/fesm2015/sd-angular-core-json-editor.js.map +1 -1
- package/fesm2015/sd-angular-core-json-editor.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-konva.js +2 -1
- package/fesm2015/sd-angular-core-konva.js.__ivy_ngcc_bak +237 -0
- package/fesm2015/sd-angular-core-konva.js.map +1 -1
- package/fesm2015/sd-angular-core-konva.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-label.js +2 -1
- package/fesm2015/sd-angular-core-label.js.__ivy_ngcc_bak +49 -0
- package/fesm2015/sd-angular-core-label.js.map +1 -1
- package/fesm2015/sd-angular-core-label.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-loading.js +2 -1
- package/fesm2015/sd-angular-core-loading.js.__ivy_ngcc_bak +83 -0
- package/fesm2015/sd-angular-core-loading.js.map +1 -1
- package/fesm2015/sd-angular-core-loading.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-modal-resizable.js +2 -1
- package/fesm2015/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +161 -0
- package/fesm2015/sd-angular-core-modal-resizable.js.map +1 -1
- package/fesm2015/sd-angular-core-modal-resizable.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-modal.js +2 -1
- package/fesm2015/sd-angular-core-modal.js.__ivy_ngcc_bak +284 -0
- package/fesm2015/sd-angular-core-modal.js.map +1 -1
- package/fesm2015/sd-angular-core-modal.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-notify.js +2 -1
- package/fesm2015/sd-angular-core-notify.js.__ivy_ngcc_bak +402 -0
- package/fesm2015/sd-angular-core-notify.js.map +1 -1
- package/fesm2015/sd-angular-core-notify.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-popover.js +2 -1
- package/fesm2015/sd-angular-core-popover.js.__ivy_ngcc_bak +415 -0
- package/fesm2015/sd-angular-core-popover.js.map +1 -1
- package/fesm2015/sd-angular-core-popover.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-quick-action.js +2 -1
- package/fesm2015/sd-angular-core-quick-action.js.__ivy_ngcc_bak +53 -0
- package/fesm2015/sd-angular-core-quick-action.js.map +1 -1
- package/fesm2015/sd-angular-core-quick-action.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-radio.js +2 -1
- package/fesm2015/sd-angular-core-radio.js.__ivy_ngcc_bak +188 -0
- package/fesm2015/sd-angular-core-radio.js.map +1 -1
- package/fesm2015/sd-angular-core-radio.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-select-badge.js +2 -1
- package/fesm2015/sd-angular-core-select-badge.js.__ivy_ngcc_bak +156 -0
- package/fesm2015/sd-angular-core-select-badge.js.map +1 -1
- package/fesm2015/sd-angular-core-select-badge.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-select-editor.js +2 -1
- package/fesm2015/sd-angular-core-select-editor.js.__ivy_ngcc_bak +110 -0
- package/fesm2015/sd-angular-core-select-editor.js.map +1 -1
- package/fesm2015/sd-angular-core-select-editor.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-select.js +2 -1
- package/fesm2015/sd-angular-core-select.js.__ivy_ngcc_bak +487 -0
- package/fesm2015/sd-angular-core-select.js.map +1 -1
- package/fesm2015/sd-angular-core-select.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-service.js +2 -1
- package/fesm2015/sd-angular-core-service.js.__ivy_ngcc_bak +36 -0
- package/fesm2015/sd-angular-core-service.js.map +1 -1
- package/fesm2015/sd-angular-core-service.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-setting.js +2 -1
- package/fesm2015/sd-angular-core-setting.js.__ivy_ngcc_bak +290 -0
- package/fesm2015/sd-angular-core-setting.js.map +1 -1
- package/fesm2015/sd-angular-core-setting.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-side-drawer.js +2 -1
- package/fesm2015/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +115 -0
- package/fesm2015/sd-angular-core-side-drawer.js.map +1 -1
- package/fesm2015/sd-angular-core-side-drawer.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-switch.js +2 -1
- package/fesm2015/sd-angular-core-switch.js.__ivy_ngcc_bak +116 -0
- package/fesm2015/sd-angular-core-switch.js.map +1 -1
- package/fesm2015/sd-angular-core-switch.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-tab-router.js +2 -1
- package/fesm2015/sd-angular-core-tab-router.js.__ivy_ngcc_bak +531 -0
- package/fesm2015/sd-angular-core-tab-router.js.map +1 -1
- package/fesm2015/sd-angular-core-tab-router.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-textarea.js +2 -1
- package/fesm2015/sd-angular-core-textarea.js.__ivy_ngcc_bak +266 -0
- package/fesm2015/sd-angular-core-textarea.js.map +1 -1
- package/fesm2015/sd-angular-core-textarea.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-time.js +2 -1
- package/fesm2015/sd-angular-core-time.js.__ivy_ngcc_bak +143 -0
- package/fesm2015/sd-angular-core-time.js.map +1 -1
- package/fesm2015/sd-angular-core-time.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-timeline.js +2 -1
- package/fesm2015/sd-angular-core-timeline.js.__ivy_ngcc_bak +87 -0
- package/fesm2015/sd-angular-core-timeline.js.map +1 -1
- package/fesm2015/sd-angular-core-timeline.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-translate.js +2 -1
- package/fesm2015/sd-angular-core-translate.js.__ivy_ngcc_bak +101 -0
- package/fesm2015/sd-angular-core-translate.js.map +1 -1
- package/fesm2015/sd-angular-core-translate.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-upload-excel.js +2 -1
- package/fesm2015/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +638 -0
- package/fesm2015/sd-angular-core-upload-excel.js.map +1 -1
- package/fesm2015/sd-angular-core-upload-excel.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-upload-file.js +2 -1
- package/fesm2015/sd-angular-core-upload-file.js.__ivy_ngcc_bak +462 -0
- package/fesm2015/sd-angular-core-upload-file.js.map +1 -1
- package/fesm2015/sd-angular-core-upload-file.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-utility.js +2 -1
- package/fesm2015/sd-angular-core-utility.js.__ivy_ngcc_bak +364 -0
- package/fesm2015/sd-angular-core-utility.js.map +1 -1
- package/fesm2015/sd-angular-core-utility.js.map.__ivy_ngcc_bak +1 -0
- package/fesm2015/sd-angular-core-view.js +2 -1
- package/fesm2015/sd-angular-core-view.js.__ivy_ngcc_bak +23 -0
- package/fesm2015/sd-angular-core-view.js.map +1 -1
- package/fesm2015/sd-angular-core-view.js.map.__ivy_ngcc_bak +1 -0
- package/filter/package.json +12 -1
- package/filter/sd-angular-core-filter.d.ts +2 -0
- package/filter/sd-angular-core-filter.d.ts.__ivy_ngcc_bak +7 -0
- package/filter/sd-angular-core-filter.d.ts.map +1 -0
- package/form/package.json +12 -1
- package/form/sd-angular-core-form.d.ts +2 -0
- package/form/sd-angular-core-form.d.ts.__ivy_ngcc_bak +4 -0
- package/form/sd-angular-core-form.d.ts.map +1 -0
- package/grid/package.json +12 -1
- package/grid/sd-angular-core-grid.d.ts +2 -0
- package/grid/sd-angular-core-grid.d.ts.__ivy_ngcc_bak +4 -0
- package/grid/sd-angular-core-grid.d.ts.map +1 -0
- package/grid-material/package.json +12 -1
- package/grid-material/sd-angular-core-grid-material.d.ts +2 -0
- package/grid-material/sd-angular-core-grid-material.d.ts.__ivy_ngcc_bak +46 -0
- package/grid-material/sd-angular-core-grid-material.d.ts.map +1 -0
- package/group/package.json +12 -1
- package/group/sd-angular-core-group.d.ts +2 -0
- package/group/sd-angular-core-group.d.ts.__ivy_ngcc_bak +5 -0
- package/group/sd-angular-core-group.d.ts.map +1 -0
- package/header-title/package.json +12 -1
- package/header-title/sd-angular-core-header-title.d.ts +2 -0
- package/header-title/sd-angular-core-header-title.d.ts.__ivy_ngcc_bak +5 -0
- package/header-title/sd-angular-core-header-title.d.ts.map +1 -0
- package/image-preview/package.json +12 -1
- package/image-preview/sd-angular-core-image-preview.d.ts +2 -0
- package/image-preview/sd-angular-core-image-preview.d.ts.__ivy_ngcc_bak +6 -0
- package/image-preview/sd-angular-core-image-preview.d.ts.map +1 -0
- package/input/package.json +12 -1
- package/input/sd-angular-core-input.d.ts +2 -0
- package/input/sd-angular-core-input.d.ts.__ivy_ngcc_bak +5 -0
- package/input/sd-angular-core-input.d.ts.map +1 -0
- package/input-currency/package.json +12 -1
- package/input-currency/sd-angular-core-input-currency.d.ts +2 -0
- package/input-currency/sd-angular-core-input-currency.d.ts.__ivy_ngcc_bak +4 -0
- package/input-currency/sd-angular-core-input-currency.d.ts.map +1 -0
- package/input-dropdown/package.json +12 -1
- package/input-dropdown/sd-angular-core-input-dropdown.d.ts +2 -0
- package/input-dropdown/sd-angular-core-input-dropdown.d.ts.__ivy_ngcc_bak +4 -0
- package/input-dropdown/sd-angular-core-input-dropdown.d.ts.map +1 -0
- package/input-number/package.json +12 -1
- package/input-number/sd-angular-core-input-number.d.ts +2 -0
- package/input-number/sd-angular-core-input-number.d.ts.__ivy_ngcc_bak +4 -0
- package/input-number/sd-angular-core-input-number.d.ts.map +1 -0
- package/input-upload-file/package.json +12 -1
- package/input-upload-file/sd-angular-core-input-upload-file.d.ts +2 -0
- package/input-upload-file/sd-angular-core-input-upload-file.d.ts.__ivy_ngcc_bak +4 -0
- package/input-upload-file/sd-angular-core-input-upload-file.d.ts.map +1 -0
- package/json-editor/package.json +12 -1
- package/json-editor/sd-angular-core-json-editor.d.ts +2 -0
- package/json-editor/sd-angular-core-json-editor.d.ts.__ivy_ngcc_bak +4 -0
- package/json-editor/sd-angular-core-json-editor.d.ts.map +1 -0
- package/konva/package.json +12 -1
- package/konva/sd-angular-core-konva.d.ts +2 -0
- package/konva/sd-angular-core-konva.d.ts.__ivy_ngcc_bak +4 -0
- package/konva/sd-angular-core-konva.d.ts.map +1 -0
- package/label/package.json +12 -1
- package/label/sd-angular-core-label.d.ts +2 -0
- package/label/sd-angular-core-label.d.ts.__ivy_ngcc_bak +5 -0
- package/label/sd-angular-core-label.d.ts.map +1 -0
- package/loading/package.json +12 -1
- package/loading/sd-angular-core-loading.d.ts +2 -0
- package/loading/sd-angular-core-loading.d.ts.__ivy_ngcc_bak +4 -0
- package/loading/sd-angular-core-loading.d.ts.map +1 -0
- package/modal/package.json +12 -1
- package/modal/sd-angular-core-modal.d.ts +2 -0
- package/modal/sd-angular-core-modal.d.ts.__ivy_ngcc_bak +4 -0
- package/modal/sd-angular-core-modal.d.ts.map +1 -0
- package/modal-resizable/package.json +12 -1
- package/modal-resizable/sd-angular-core-modal-resizable.d.ts +2 -0
- package/modal-resizable/sd-angular-core-modal-resizable.d.ts.__ivy_ngcc_bak +4 -0
- package/modal-resizable/sd-angular-core-modal-resizable.d.ts.map +1 -0
- package/notify/package.json +12 -1
- package/notify/sd-angular-core-notify.d.ts +2 -0
- package/notify/sd-angular-core-notify.d.ts.__ivy_ngcc_bak +4 -0
- package/notify/sd-angular-core-notify.d.ts.map +1 -0
- package/package.json +1 -1
- package/popover/package.json +12 -1
- package/popover/sd-angular-core-popover.d.ts +2 -0
- package/popover/sd-angular-core-popover.d.ts.__ivy_ngcc_bak +4 -0
- package/popover/sd-angular-core-popover.d.ts.map +1 -0
- package/quick-action/package.json +12 -1
- package/quick-action/sd-angular-core-quick-action.d.ts +2 -0
- package/quick-action/sd-angular-core-quick-action.d.ts.__ivy_ngcc_bak +4 -0
- package/quick-action/sd-angular-core-quick-action.d.ts.map +1 -0
- package/radio/package.json +12 -1
- package/radio/sd-angular-core-radio.d.ts +2 -0
- package/radio/sd-angular-core-radio.d.ts.__ivy_ngcc_bak +4 -0
- package/radio/sd-angular-core-radio.d.ts.map +1 -0
- package/sd-angular-core-1.2.97.tgz +0 -0
- package/select/package.json +12 -1
- package/select/sd-angular-core-select.d.ts +2 -0
- package/select/sd-angular-core-select.d.ts.__ivy_ngcc_bak +4 -0
- package/select/sd-angular-core-select.d.ts.map +1 -0
- package/select-badge/package.json +12 -1
- package/select-badge/sd-angular-core-select-badge.d.ts +2 -0
- package/select-badge/sd-angular-core-select-badge.d.ts.__ivy_ngcc_bak +4 -0
- package/select-badge/sd-angular-core-select-badge.d.ts.map +1 -0
- package/select-editor/package.json +12 -1
- package/select-editor/sd-angular-core-select-editor.d.ts +2 -0
- package/select-editor/sd-angular-core-select-editor.d.ts.__ivy_ngcc_bak +4 -0
- package/select-editor/sd-angular-core-select-editor.d.ts.map +1 -0
- package/service/package.json +12 -1
- package/service/sd-angular-core-service.d.ts +2 -0
- package/service/sd-angular-core-service.d.ts.__ivy_ngcc_bak +4 -0
- package/service/sd-angular-core-service.d.ts.map +1 -0
- package/setting/package.json +12 -1
- package/setting/sd-angular-core-setting.d.ts +2 -0
- package/setting/sd-angular-core-setting.d.ts.__ivy_ngcc_bak +4 -0
- package/setting/sd-angular-core-setting.d.ts.map +1 -0
- package/side-drawer/package.json +12 -1
- package/side-drawer/sd-angular-core-side-drawer.d.ts +2 -0
- package/side-drawer/sd-angular-core-side-drawer.d.ts.__ivy_ngcc_bak +4 -0
- package/side-drawer/sd-angular-core-side-drawer.d.ts.map +1 -0
- package/switch/package.json +12 -1
- package/switch/sd-angular-core-switch.d.ts +2 -0
- package/switch/sd-angular-core-switch.d.ts.__ivy_ngcc_bak +4 -0
- package/switch/sd-angular-core-switch.d.ts.map +1 -0
- package/tab-router/package.json +12 -1
- package/tab-router/sd-angular-core-tab-router.d.ts +2 -0
- package/tab-router/sd-angular-core-tab-router.d.ts.__ivy_ngcc_bak +6 -0
- package/tab-router/sd-angular-core-tab-router.d.ts.map +1 -0
- package/textarea/package.json +12 -1
- package/textarea/sd-angular-core-textarea.d.ts +2 -0
- package/textarea/sd-angular-core-textarea.d.ts.__ivy_ngcc_bak +4 -0
- package/textarea/sd-angular-core-textarea.d.ts.map +1 -0
- package/time/package.json +12 -1
- package/time/sd-angular-core-time.d.ts +2 -0
- package/time/sd-angular-core-time.d.ts.__ivy_ngcc_bak +5 -0
- package/time/sd-angular-core-time.d.ts.map +1 -0
- package/timeline/package.json +12 -1
- package/timeline/sd-angular-core-timeline.d.ts +2 -0
- package/timeline/sd-angular-core-timeline.d.ts.__ivy_ngcc_bak +5 -0
- package/timeline/sd-angular-core-timeline.d.ts.map +1 -0
- package/translate/package.json +12 -1
- package/translate/sd-angular-core-translate.d.ts +2 -0
- package/translate/sd-angular-core-translate.d.ts.__ivy_ngcc_bak +4 -0
- package/translate/sd-angular-core-translate.d.ts.map +1 -0
- package/upload-excel/package.json +12 -1
- package/upload-excel/sd-angular-core-upload-excel.d.ts +2 -0
- package/upload-excel/sd-angular-core-upload-excel.d.ts.__ivy_ngcc_bak +6 -0
- package/upload-excel/sd-angular-core-upload-excel.d.ts.map +1 -0
- package/upload-file/package.json +12 -1
- package/upload-file/sd-angular-core-upload-file.d.ts +2 -0
- package/upload-file/sd-angular-core-upload-file.d.ts.__ivy_ngcc_bak +4 -0
- package/upload-file/sd-angular-core-upload-file.d.ts.map +1 -0
- package/utility/package.json +12 -1
- package/utility/sd-angular-core-utility.d.ts +2 -0
- package/utility/sd-angular-core-utility.d.ts.__ivy_ngcc_bak +4 -0
- package/utility/sd-angular-core-utility.d.ts.map +1 -0
- package/view/package.json +12 -1
- package/view/sd-angular-core-view.d.ts +2 -0
- package/view/sd-angular-core-view.d.ts.__ivy_ngcc_bak +4 -0
- package/view/sd-angular-core-view.d.ts.map +1 -0
- package/sd-angular-core-1.2.94.tgz +0 -0
|
@@ -0,0 +1,943 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('ngx-quill'), require('@angular/forms'), require('uuid'), require('rxjs'), require('quill-mention'), require('@sd-angular/core/common'), require('@angular/common'), require('@sd-angular/core/translate'), require('@sd-angular/core/button'), require('@sd-angular/core/textarea'), require('@sd-angular/core/api')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@sd-angular/core/editor', ['exports', '@angular/core', 'ngx-quill', '@angular/forms', 'uuid', 'rxjs', 'quill-mention', '@sd-angular/core/common', '@angular/common', '@sd-angular/core/translate', '@sd-angular/core/button', '@sd-angular/core/textarea', '@sd-angular/core/api'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['sd-angular'] = global['sd-angular'] || {}, global['sd-angular'].core = global['sd-angular'].core || {}, global['sd-angular'].core.editor = {}), global.ng.core, global['ngx-quill'], global.ng.forms, global.uuid, global.rxjs, null, global['sd-angular'].core.common, global.ng.common, global['sd-angular'].core.translate, global['sd-angular'].core.button, global['sd-angular'].core.textarea, global['sd-angular'].core.api));
|
|
5
|
+
}(this, (function (exports, core, ngxQuill, forms, uuid, rxjs, quillMention, common, common$1, translate, button, textarea, api) { 'use strict';
|
|
6
|
+
|
|
7
|
+
var EDITOR_CONFIG = new core.InjectionToken('editor.configuration');
|
|
8
|
+
|
|
9
|
+
/*! *****************************************************************************
|
|
10
|
+
Copyright (c) Microsoft Corporation.
|
|
11
|
+
|
|
12
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
13
|
+
purpose with or without fee is hereby granted.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
16
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
17
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
18
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
19
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
20
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
21
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
22
|
+
***************************************************************************** */
|
|
23
|
+
/* global Reflect, Promise */
|
|
24
|
+
var extendStatics = function (d, b) {
|
|
25
|
+
extendStatics = Object.setPrototypeOf ||
|
|
26
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
27
|
+
function (d, b) { for (var p in b)
|
|
28
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
29
|
+
d[p] = b[p]; };
|
|
30
|
+
return extendStatics(d, b);
|
|
31
|
+
};
|
|
32
|
+
function __extends(d, b) {
|
|
33
|
+
if (typeof b !== "function" && b !== null)
|
|
34
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
35
|
+
extendStatics(d, b);
|
|
36
|
+
function __() { this.constructor = d; }
|
|
37
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
38
|
+
}
|
|
39
|
+
var __assign = function () {
|
|
40
|
+
__assign = Object.assign || function __assign(t) {
|
|
41
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
42
|
+
s = arguments[i];
|
|
43
|
+
for (var p in s)
|
|
44
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
45
|
+
t[p] = s[p];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
return __assign.apply(this, arguments);
|
|
50
|
+
};
|
|
51
|
+
function __rest(s, e) {
|
|
52
|
+
var t = {};
|
|
53
|
+
for (var p in s)
|
|
54
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
55
|
+
t[p] = s[p];
|
|
56
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
57
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
58
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
59
|
+
t[p[i]] = s[p[i]];
|
|
60
|
+
}
|
|
61
|
+
return t;
|
|
62
|
+
}
|
|
63
|
+
function __decorate(decorators, target, key, desc) {
|
|
64
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
65
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
66
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
67
|
+
else
|
|
68
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
69
|
+
if (d = decorators[i])
|
|
70
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
71
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
72
|
+
}
|
|
73
|
+
function __param(paramIndex, decorator) {
|
|
74
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
75
|
+
}
|
|
76
|
+
function __metadata(metadataKey, metadataValue) {
|
|
77
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
78
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
79
|
+
}
|
|
80
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
81
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
82
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
83
|
+
function fulfilled(value) { try {
|
|
84
|
+
step(generator.next(value));
|
|
85
|
+
}
|
|
86
|
+
catch (e) {
|
|
87
|
+
reject(e);
|
|
88
|
+
} }
|
|
89
|
+
function rejected(value) { try {
|
|
90
|
+
step(generator["throw"](value));
|
|
91
|
+
}
|
|
92
|
+
catch (e) {
|
|
93
|
+
reject(e);
|
|
94
|
+
} }
|
|
95
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
96
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
function __generator(thisArg, body) {
|
|
100
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
101
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
102
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
103
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
104
|
+
function step(op) {
|
|
105
|
+
if (f)
|
|
106
|
+
throw new TypeError("Generator is already executing.");
|
|
107
|
+
while (_)
|
|
108
|
+
try {
|
|
109
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
110
|
+
return t;
|
|
111
|
+
if (y = 0, t)
|
|
112
|
+
op = [op[0] & 2, t.value];
|
|
113
|
+
switch (op[0]) {
|
|
114
|
+
case 0:
|
|
115
|
+
case 1:
|
|
116
|
+
t = op;
|
|
117
|
+
break;
|
|
118
|
+
case 4:
|
|
119
|
+
_.label++;
|
|
120
|
+
return { value: op[1], done: false };
|
|
121
|
+
case 5:
|
|
122
|
+
_.label++;
|
|
123
|
+
y = op[1];
|
|
124
|
+
op = [0];
|
|
125
|
+
continue;
|
|
126
|
+
case 7:
|
|
127
|
+
op = _.ops.pop();
|
|
128
|
+
_.trys.pop();
|
|
129
|
+
continue;
|
|
130
|
+
default:
|
|
131
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
132
|
+
_ = 0;
|
|
133
|
+
continue;
|
|
134
|
+
}
|
|
135
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
136
|
+
_.label = op[1];
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
140
|
+
_.label = t[1];
|
|
141
|
+
t = op;
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
144
|
+
if (t && _.label < t[2]) {
|
|
145
|
+
_.label = t[2];
|
|
146
|
+
_.ops.push(op);
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
if (t[2])
|
|
150
|
+
_.ops.pop();
|
|
151
|
+
_.trys.pop();
|
|
152
|
+
continue;
|
|
153
|
+
}
|
|
154
|
+
op = body.call(thisArg, _);
|
|
155
|
+
}
|
|
156
|
+
catch (e) {
|
|
157
|
+
op = [6, e];
|
|
158
|
+
y = 0;
|
|
159
|
+
}
|
|
160
|
+
finally {
|
|
161
|
+
f = t = 0;
|
|
162
|
+
}
|
|
163
|
+
if (op[0] & 5)
|
|
164
|
+
throw op[1];
|
|
165
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
169
|
+
if (k2 === undefined)
|
|
170
|
+
k2 = k;
|
|
171
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
172
|
+
}) : (function (o, m, k, k2) {
|
|
173
|
+
if (k2 === undefined)
|
|
174
|
+
k2 = k;
|
|
175
|
+
o[k2] = m[k];
|
|
176
|
+
});
|
|
177
|
+
function __exportStar(m, o) {
|
|
178
|
+
for (var p in m)
|
|
179
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
180
|
+
__createBinding(o, m, p);
|
|
181
|
+
}
|
|
182
|
+
function __values(o) {
|
|
183
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
184
|
+
if (m)
|
|
185
|
+
return m.call(o);
|
|
186
|
+
if (o && typeof o.length === "number")
|
|
187
|
+
return {
|
|
188
|
+
next: function () {
|
|
189
|
+
if (o && i >= o.length)
|
|
190
|
+
o = void 0;
|
|
191
|
+
return { value: o && o[i++], done: !o };
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
195
|
+
}
|
|
196
|
+
function __read(o, n) {
|
|
197
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
198
|
+
if (!m)
|
|
199
|
+
return o;
|
|
200
|
+
var i = m.call(o), r, ar = [], e;
|
|
201
|
+
try {
|
|
202
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
203
|
+
ar.push(r.value);
|
|
204
|
+
}
|
|
205
|
+
catch (error) {
|
|
206
|
+
e = { error: error };
|
|
207
|
+
}
|
|
208
|
+
finally {
|
|
209
|
+
try {
|
|
210
|
+
if (r && !r.done && (m = i["return"]))
|
|
211
|
+
m.call(i);
|
|
212
|
+
}
|
|
213
|
+
finally {
|
|
214
|
+
if (e)
|
|
215
|
+
throw e.error;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
return ar;
|
|
219
|
+
}
|
|
220
|
+
/** @deprecated */
|
|
221
|
+
function __spread() {
|
|
222
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
223
|
+
ar = ar.concat(__read(arguments[i]));
|
|
224
|
+
return ar;
|
|
225
|
+
}
|
|
226
|
+
/** @deprecated */
|
|
227
|
+
function __spreadArrays() {
|
|
228
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
229
|
+
s += arguments[i].length;
|
|
230
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
231
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
232
|
+
r[k] = a[j];
|
|
233
|
+
return r;
|
|
234
|
+
}
|
|
235
|
+
function __spreadArray(to, from, pack) {
|
|
236
|
+
if (pack || arguments.length === 2)
|
|
237
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
238
|
+
if (ar || !(i in from)) {
|
|
239
|
+
if (!ar)
|
|
240
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
241
|
+
ar[i] = from[i];
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
245
|
+
}
|
|
246
|
+
function __await(v) {
|
|
247
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
248
|
+
}
|
|
249
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
250
|
+
if (!Symbol.asyncIterator)
|
|
251
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
252
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
253
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
254
|
+
function verb(n) { if (g[n])
|
|
255
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
256
|
+
function resume(n, v) { try {
|
|
257
|
+
step(g[n](v));
|
|
258
|
+
}
|
|
259
|
+
catch (e) {
|
|
260
|
+
settle(q[0][3], e);
|
|
261
|
+
} }
|
|
262
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
263
|
+
function fulfill(value) { resume("next", value); }
|
|
264
|
+
function reject(value) { resume("throw", value); }
|
|
265
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
266
|
+
resume(q[0][0], q[0][1]); }
|
|
267
|
+
}
|
|
268
|
+
function __asyncDelegator(o) {
|
|
269
|
+
var i, p;
|
|
270
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
271
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
272
|
+
}
|
|
273
|
+
function __asyncValues(o) {
|
|
274
|
+
if (!Symbol.asyncIterator)
|
|
275
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
276
|
+
var m = o[Symbol.asyncIterator], i;
|
|
277
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
278
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
279
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
280
|
+
}
|
|
281
|
+
function __makeTemplateObject(cooked, raw) {
|
|
282
|
+
if (Object.defineProperty) {
|
|
283
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
284
|
+
}
|
|
285
|
+
else {
|
|
286
|
+
cooked.raw = raw;
|
|
287
|
+
}
|
|
288
|
+
return cooked;
|
|
289
|
+
}
|
|
290
|
+
;
|
|
291
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
292
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
293
|
+
}) : function (o, v) {
|
|
294
|
+
o["default"] = v;
|
|
295
|
+
};
|
|
296
|
+
function __importStar(mod) {
|
|
297
|
+
if (mod && mod.__esModule)
|
|
298
|
+
return mod;
|
|
299
|
+
var result = {};
|
|
300
|
+
if (mod != null)
|
|
301
|
+
for (var k in mod)
|
|
302
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
303
|
+
__createBinding(result, mod, k);
|
|
304
|
+
__setModuleDefault(result, mod);
|
|
305
|
+
return result;
|
|
306
|
+
}
|
|
307
|
+
function __importDefault(mod) {
|
|
308
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
309
|
+
}
|
|
310
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
311
|
+
if (kind === "a" && !f)
|
|
312
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
313
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
314
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
315
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
316
|
+
}
|
|
317
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
318
|
+
if (kind === "m")
|
|
319
|
+
throw new TypeError("Private method is not writable");
|
|
320
|
+
if (kind === "a" && !f)
|
|
321
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
322
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
323
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
324
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
var Constants = {
|
|
328
|
+
ARE_YOU_WANT_TO_DELETE: 'Are you sure you want to delete?',
|
|
329
|
+
ACTIVE: 'active',
|
|
330
|
+
IN_ACTIVE: 'inactive',
|
|
331
|
+
APPROVE: 'approve',
|
|
332
|
+
UN_APPROVE: 'unapprove',
|
|
333
|
+
ACCEPT_SIZE_IMAGE: 'Logo only accept image with size <= 2MB',
|
|
334
|
+
ACCEPT_TYPE_IMAGE: 'image/png, image/gif, image/jpeg, image/bmp, image/x-icon',
|
|
335
|
+
PAGE_TYPE_NEW: 'new',
|
|
336
|
+
PAGE_TYPE_EDIT: 'edit',
|
|
337
|
+
SAVE: 'saveOb',
|
|
338
|
+
SAVE_AND_CONTINUE: 'saveAndContOb',
|
|
339
|
+
IMAGE_SIZE: 2048000,
|
|
340
|
+
SUCCESS: 'Success',
|
|
341
|
+
IMPORT_SUCCESSFULLY: 'Import successfully!',
|
|
342
|
+
ERROR: 'Error',
|
|
343
|
+
FAILED: 'fail',
|
|
344
|
+
FILE: 'file',
|
|
345
|
+
NONE: 'none',
|
|
346
|
+
NOT_EXIST_ID_OR_LINK: 'This ID/Link is not existing',
|
|
347
|
+
FEATURE_IS_PENDING: 'This feature is pending',
|
|
348
|
+
NOT_SUPPORT_FILE_IMAGE: 'File upload is not supported.',
|
|
349
|
+
NOT_SUPPORT_FILE_IMPORT: 'File import is not supported.',
|
|
350
|
+
NETWORK_ERROR: 'Network Error',
|
|
351
|
+
SORT_BY: [
|
|
352
|
+
{
|
|
353
|
+
value: 0,
|
|
354
|
+
name: 'Created Date'
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
value: 1,
|
|
358
|
+
name: 'Title'
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
DESC: [
|
|
362
|
+
{
|
|
363
|
+
value: true,
|
|
364
|
+
name: 'Descending'
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
value: false,
|
|
368
|
+
name: 'Ascending'
|
|
369
|
+
}
|
|
370
|
+
],
|
|
371
|
+
FORM_ERRORS: {
|
|
372
|
+
Id: '',
|
|
373
|
+
textSearch: '',
|
|
374
|
+
ImportLogId: '',
|
|
375
|
+
SortBy: '',
|
|
376
|
+
Reverse: '',
|
|
377
|
+
},
|
|
378
|
+
VALIDATION_MESSAGES: {}
|
|
379
|
+
};
|
|
380
|
+
var PROMOTION_PERMISSIONS = ['ListPromotion', 'AddNewPromotion', 'EditPromotion',
|
|
381
|
+
'ActiveOrInactivePromotion', 'RemovePromotion', 'ImportPromotion', 'ExportPromotion'];
|
|
382
|
+
var ValidateMessageConstants = {
|
|
383
|
+
TITLE_REQUIRED: 'Title is required',
|
|
384
|
+
TITLE_MAXLENGTH: 'Title is not more than 55 characters',
|
|
385
|
+
TITLE_PATTERN: 'Title is required',
|
|
386
|
+
CREATED_AT_REQUIRED: 'Created At is required',
|
|
387
|
+
SHOW_ON_HOME_REQUIRED: 'Show On Home is required',
|
|
388
|
+
DISPLAY_NUMBER_REQUIRED: 'Display Number is required',
|
|
389
|
+
CONTENT_TYPE_REQUIRED: 'Content Type is required',
|
|
390
|
+
DISCOUNT_PERCENT_REQUIRED: 'Discount percent is required',
|
|
391
|
+
DISCOUNT_PERCENT_MAX: 'Max discount percent is 100, cannot input greater',
|
|
392
|
+
DISCOUNT_PERCENT_MIN: 'Min discount percent is 0, cannot input lower'
|
|
393
|
+
};
|
|
394
|
+
var PROMOTION_FORM = {
|
|
395
|
+
FORM_ERRORS: {
|
|
396
|
+
title: '',
|
|
397
|
+
createdAt: '',
|
|
398
|
+
displayNumber: '',
|
|
399
|
+
showOnHome: '',
|
|
400
|
+
discountPercent: '',
|
|
401
|
+
isActive: '',
|
|
402
|
+
ctaLabelName: '',
|
|
403
|
+
ctaDeepLink: '',
|
|
404
|
+
tags: ''
|
|
405
|
+
},
|
|
406
|
+
VALIDATION_MESSAGES: {
|
|
407
|
+
title: {
|
|
408
|
+
required: ValidateMessageConstants.TITLE_REQUIRED,
|
|
409
|
+
maxlength: ValidateMessageConstants.TITLE_MAXLENGTH,
|
|
410
|
+
pattern: ValidateMessageConstants.TITLE_PATTERN
|
|
411
|
+
},
|
|
412
|
+
createdAt: {
|
|
413
|
+
required: ValidateMessageConstants.CREATED_AT_REQUIRED
|
|
414
|
+
},
|
|
415
|
+
showOnHome: {
|
|
416
|
+
required: ValidateMessageConstants.SHOW_ON_HOME_REQUIRED
|
|
417
|
+
},
|
|
418
|
+
displayNumber: {
|
|
419
|
+
required: ValidateMessageConstants.DISPLAY_NUMBER_REQUIRED
|
|
420
|
+
},
|
|
421
|
+
discountPercent: {
|
|
422
|
+
required: ValidateMessageConstants.DISCOUNT_PERCENT_REQUIRED,
|
|
423
|
+
max: ValidateMessageConstants.DISCOUNT_PERCENT_MAX,
|
|
424
|
+
min: ValidateMessageConstants.DISCOUNT_PERCENT_MIN
|
|
425
|
+
},
|
|
426
|
+
tags: {
|
|
427
|
+
required: ValidateMessageConstants.CONTENT_TYPE_REQUIRED
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
var _name, _subscription, _model, _form, _updateValidator, _quill, _initUploadImage;
|
|
433
|
+
var SdEditor = /** @class */ (function () {
|
|
434
|
+
function SdEditor(ngZone, ref, configuration) {
|
|
435
|
+
var _this = this;
|
|
436
|
+
this.ngZone = ngZone;
|
|
437
|
+
this.ref = ref;
|
|
438
|
+
this.configuration = configuration;
|
|
439
|
+
_name.set(this, "N" + uuid.v4());
|
|
440
|
+
this.id = "I" + uuid.v4();
|
|
441
|
+
_subscription.set(this, new rxjs.Subscription());
|
|
442
|
+
_model.set(this, void 0);
|
|
443
|
+
this.required = false;
|
|
444
|
+
this.modelChange = new core.EventEmitter();
|
|
445
|
+
this.placeholder = '';
|
|
446
|
+
this.styles = { height: '250px' };
|
|
447
|
+
this.formControl = new forms.FormControl();
|
|
448
|
+
this.domain = '';
|
|
449
|
+
_form.set(this, void 0);
|
|
450
|
+
this.enableHTMLButton = false;
|
|
451
|
+
this.showHtmlEditor = false;
|
|
452
|
+
this.quillConfig = {
|
|
453
|
+
// toolbar: '.toolbar',
|
|
454
|
+
toolbar: {
|
|
455
|
+
container: [
|
|
456
|
+
['bold', 'italic', 'underline', 'strike'],
|
|
457
|
+
['blockquote', 'code-block'],
|
|
458
|
+
[{ 'header': 1 }, { 'header': 2 }],
|
|
459
|
+
[{ 'list': 'ordered' }, { 'list': 'bullet' }],
|
|
460
|
+
[{ 'script': 'sub' }, { 'script': 'super' }],
|
|
461
|
+
[{ 'indent': '-1' }, { 'indent': '+1' }],
|
|
462
|
+
[{ 'direction': 'rtl' }],
|
|
463
|
+
[{ 'size': ['small', false, 'large', 'huge'] }],
|
|
464
|
+
[{ 'header': [1, 2, 3, 4, 5, 6, false] }],
|
|
465
|
+
[{ 'color': [] }, { 'background': [] }],
|
|
466
|
+
[{ 'font': [] }],
|
|
467
|
+
[{ 'align': [] }],
|
|
468
|
+
['clean'],
|
|
469
|
+
['link', 'image', 'video'] // link and image, video
|
|
470
|
+
]
|
|
471
|
+
},
|
|
472
|
+
mention: {
|
|
473
|
+
allowedChars: /^[A-Za-z0-9\sÅÄÖåäö._-]*$/,
|
|
474
|
+
mentionDenotationChars: ['@', '#'],
|
|
475
|
+
source: function (searchTerm, renderList, mentionChar) {
|
|
476
|
+
if ((_this.mentionValues && mentionChar === '@') || (_this.hashTagValues && mentionChar === '#')) {
|
|
477
|
+
var values = void 0;
|
|
478
|
+
if (mentionChar === '@') {
|
|
479
|
+
values = _this.mentionValues;
|
|
480
|
+
}
|
|
481
|
+
else if (mentionChar === '#') {
|
|
482
|
+
values = _this.hashTagValues;
|
|
483
|
+
}
|
|
484
|
+
else {
|
|
485
|
+
values = [];
|
|
486
|
+
}
|
|
487
|
+
if (searchTerm.length === 0) {
|
|
488
|
+
renderList(values, searchTerm);
|
|
489
|
+
}
|
|
490
|
+
else {
|
|
491
|
+
var matches = [];
|
|
492
|
+
// tslint:disable-next-line:prefer-for-of
|
|
493
|
+
for (var i = 0; i < values.length; i++) {
|
|
494
|
+
// tslint:disable-next-line:no-bitwise
|
|
495
|
+
if (~values[i].value.toLowerCase().indexOf(searchTerm.toLowerCase())) {
|
|
496
|
+
matches.push(values[i]);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
renderList(matches, searchTerm);
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
},
|
|
504
|
+
keyboard: {
|
|
505
|
+
bindings: {
|
|
506
|
+
enter: {
|
|
507
|
+
key: 13,
|
|
508
|
+
handler: function (range, context) {
|
|
509
|
+
return true;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
};
|
|
515
|
+
this.sdChange = new core.EventEmitter();
|
|
516
|
+
this.timerLoadQuillToolbar = null;
|
|
517
|
+
_updateValidator.set(this, function () {
|
|
518
|
+
_this.formControl.clearValidators();
|
|
519
|
+
_this.formControl.clearAsyncValidators();
|
|
520
|
+
var validators = [];
|
|
521
|
+
if (_this.required) {
|
|
522
|
+
validators.push(forms.Validators.required);
|
|
523
|
+
}
|
|
524
|
+
if (_this.minlength > 0) {
|
|
525
|
+
validators.push(forms.Validators.minLength(_this.minlength));
|
|
526
|
+
}
|
|
527
|
+
if (_this.maxlength > 0) {
|
|
528
|
+
validators.push(forms.Validators.maxLength(_this.maxlength));
|
|
529
|
+
}
|
|
530
|
+
_this.formControl.setValidators(validators);
|
|
531
|
+
_this.formControl.updateValueAndValidity();
|
|
532
|
+
_this.ref.markForCheck();
|
|
533
|
+
});
|
|
534
|
+
_quill.set(this, void 0);
|
|
535
|
+
this.editorInit = function (quill) {
|
|
536
|
+
__classPrivateFieldSet(_this, _quill, quill);
|
|
537
|
+
_this.quillEvent = quill;
|
|
538
|
+
// const txtArea = document.createElement('textarea');
|
|
539
|
+
// txtArea.style.cssText =
|
|
540
|
+
// 'width: 100%;margin: 0px;background: rgb(29, 29, 29);' +
|
|
541
|
+
// 'box-sizing: border-box;color: rgb(204, 204, 204);' +
|
|
542
|
+
// 'font-size: 15px;outline: none;padding: 20px;' +
|
|
543
|
+
// 'line-height: 24px;font-family: Consolas, Menlo, Monaco, "Courier New", monospace;' +
|
|
544
|
+
// 'position: absolute;top: 0;bottom: 0;border: none;display:none';
|
|
545
|
+
// const htmlEditor = quill.addContainer('ql-custom');
|
|
546
|
+
// htmlEditor.appendChild(txtArea);
|
|
547
|
+
// const myEditor = quill.container;
|
|
548
|
+
// quill.on('text-change', (delta, oldDelta, source) => {
|
|
549
|
+
// const html = myEditor.children[0].innerHTML;
|
|
550
|
+
// txtArea.value = html;
|
|
551
|
+
// // if (quill.getLength() > this.maxlength) {
|
|
552
|
+
// // quill.deleteText(this.maxlength, quill.getLength());
|
|
553
|
+
// // }
|
|
554
|
+
// // this.formControl.setValue(html);
|
|
555
|
+
// });
|
|
556
|
+
var self = _this;
|
|
557
|
+
__classPrivateFieldGet(_this, _initUploadImage).call(_this, quill);
|
|
558
|
+
// this.ngZone.runOutsideAngular(() => {
|
|
559
|
+
// quill.getModule('toolbar').addHandler('image', function () {
|
|
560
|
+
// let fileInput = this.container.querySelector('input.ql-image[type=file]');
|
|
561
|
+
// if (fileInput == null) {
|
|
562
|
+
// fileInput = document.createElement('input');
|
|
563
|
+
// fileInput.setAttribute('type', Constants.FILE);
|
|
564
|
+
// fileInput.setAttribute('accept', 'image/png, image/gif, image/jpeg, image/bmp, image/x-icon');
|
|
565
|
+
// fileInput.classList.add('ql-image');
|
|
566
|
+
// fileInput.addEventListener('change', () => {
|
|
567
|
+
// const files = fileInput.files;
|
|
568
|
+
// const range = this.quill.getSelection(true);
|
|
569
|
+
// if (!files || !files.length) {
|
|
570
|
+
// return;
|
|
571
|
+
// }
|
|
572
|
+
// const formData = new FormData();
|
|
573
|
+
// formData.append(Constants.FILE, files[0]);
|
|
574
|
+
// this.quill.enable(false);
|
|
575
|
+
// self.#uploadImage(formData, quill, range, fileInput);
|
|
576
|
+
// });
|
|
577
|
+
// this.container.appendChild(fileInput);
|
|
578
|
+
// }
|
|
579
|
+
// fileInput.click();
|
|
580
|
+
// });
|
|
581
|
+
// });
|
|
582
|
+
_this.ref.markForCheck();
|
|
583
|
+
};
|
|
584
|
+
_initUploadImage.set(this, function (quill) {
|
|
585
|
+
var self = _this;
|
|
586
|
+
_this.ngZone.runOutsideAngular(function () {
|
|
587
|
+
quill.getModule('toolbar').addHandler('image', function () {
|
|
588
|
+
var _this = this;
|
|
589
|
+
var fileInput = this.container.querySelector('input.ql-image[type=file]');
|
|
590
|
+
if (fileInput == null) {
|
|
591
|
+
fileInput = document.createElement('input');
|
|
592
|
+
fileInput.setAttribute('type', Constants.FILE);
|
|
593
|
+
fileInput.setAttribute('accept', 'image/png, image/gif, image/jpeg, image/bmp, image/x-icon');
|
|
594
|
+
fileInput.classList.add('ql-image');
|
|
595
|
+
fileInput.addEventListener('change', function () {
|
|
596
|
+
var _a;
|
|
597
|
+
var files = fileInput.files;
|
|
598
|
+
var range = _this.quill.getSelection(true);
|
|
599
|
+
if (!files || !files.length) {
|
|
600
|
+
return;
|
|
601
|
+
}
|
|
602
|
+
var formData = new FormData();
|
|
603
|
+
formData.append(Constants.FILE, files[0]);
|
|
604
|
+
_this.quill.enable(false);
|
|
605
|
+
// self.#uploadImage(formData, quill, range, fileInput);
|
|
606
|
+
(_a = self.configuration) === null || _a === void 0 ? void 0 : _a.uploadImage(formData, self.args).then(function (url) {
|
|
607
|
+
self.ngZone.runOutsideAngular(function () {
|
|
608
|
+
quill.enable(true);
|
|
609
|
+
// quill.editor.insertEmbed(range.index, 'image', resp?.data?.imageUrl || resp?.data?.publish_url || resp?.url || '');
|
|
610
|
+
quill.getModule('clipboard').dangerouslyPasteHTML(range.index, '<a target="_blank" href="' + (url || '')
|
|
611
|
+
+ '"><img src="' + (url || '') + '" alt="c-image-editor-quill"></a>', 'user');
|
|
612
|
+
// quill.insertText();
|
|
613
|
+
var content = quill.getContents();
|
|
614
|
+
quill.setContents(content);
|
|
615
|
+
quill.setSelection(range.index + 1, 'user');
|
|
616
|
+
fileInput.value = '';
|
|
617
|
+
});
|
|
618
|
+
});
|
|
619
|
+
});
|
|
620
|
+
this.container.appendChild(fileInput);
|
|
621
|
+
}
|
|
622
|
+
fileInput.click();
|
|
623
|
+
});
|
|
624
|
+
});
|
|
625
|
+
});
|
|
626
|
+
this.onModelChange = function (val) {
|
|
627
|
+
_this.formControl.setValue(val);
|
|
628
|
+
_this.modelHTML = val;
|
|
629
|
+
_this.ref.markForCheck();
|
|
630
|
+
};
|
|
631
|
+
this.onClickShowHtmlEditor = function () {
|
|
632
|
+
_this.showHtmlEditor = !_this.showHtmlEditor;
|
|
633
|
+
_this.ref.markForCheck();
|
|
634
|
+
};
|
|
635
|
+
}
|
|
636
|
+
Object.defineProperty(SdEditor.prototype, "model", {
|
|
637
|
+
set: function (val) {
|
|
638
|
+
__classPrivateFieldSet(this, _model, val);
|
|
639
|
+
this.modelHTML = val;
|
|
640
|
+
this.formControl.setValue(__classPrivateFieldGet(this, _model), {
|
|
641
|
+
emitEvent: false
|
|
642
|
+
});
|
|
643
|
+
this.ref.detectChanges();
|
|
644
|
+
},
|
|
645
|
+
enumerable: false,
|
|
646
|
+
configurable: true
|
|
647
|
+
});
|
|
648
|
+
Object.defineProperty(SdEditor.prototype, "disabled", {
|
|
649
|
+
set: function (val) {
|
|
650
|
+
val = (val === '') || val;
|
|
651
|
+
if (val) {
|
|
652
|
+
this.formControl.disable();
|
|
653
|
+
}
|
|
654
|
+
else {
|
|
655
|
+
this.formControl.enable();
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
enumerable: false,
|
|
659
|
+
configurable: true
|
|
660
|
+
});
|
|
661
|
+
Object.defineProperty(SdEditor.prototype, "pRequired", {
|
|
662
|
+
set: function (val) {
|
|
663
|
+
this.required = (val === '') || val;
|
|
664
|
+
__classPrivateFieldGet(this, _updateValidator).call(this);
|
|
665
|
+
},
|
|
666
|
+
enumerable: false,
|
|
667
|
+
configurable: true
|
|
668
|
+
});
|
|
669
|
+
Object.defineProperty(SdEditor.prototype, "_minlength", {
|
|
670
|
+
set: function (val) {
|
|
671
|
+
this.minlength = +val;
|
|
672
|
+
__classPrivateFieldGet(this, _updateValidator).call(this);
|
|
673
|
+
},
|
|
674
|
+
enumerable: false,
|
|
675
|
+
configurable: true
|
|
676
|
+
});
|
|
677
|
+
Object.defineProperty(SdEditor.prototype, "_maxlength", {
|
|
678
|
+
set: function (val) {
|
|
679
|
+
this.maxlength = +val;
|
|
680
|
+
__classPrivateFieldGet(this, _updateValidator).call(this);
|
|
681
|
+
},
|
|
682
|
+
enumerable: false,
|
|
683
|
+
configurable: true
|
|
684
|
+
});
|
|
685
|
+
Object.defineProperty(SdEditor.prototype, "form", {
|
|
686
|
+
set: function (val) {
|
|
687
|
+
if (val) {
|
|
688
|
+
if (val instanceof forms.NgForm) {
|
|
689
|
+
__classPrivateFieldSet(this, _form, val.form);
|
|
690
|
+
}
|
|
691
|
+
else {
|
|
692
|
+
__classPrivateFieldSet(this, _form, val);
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
enumerable: false,
|
|
697
|
+
configurable: true
|
|
698
|
+
});
|
|
699
|
+
SdEditor.prototype.ngOnInit = function () {
|
|
700
|
+
var e_1, _c;
|
|
701
|
+
var _this = this;
|
|
702
|
+
var _a, _b;
|
|
703
|
+
(_a = __classPrivateFieldGet(this, _form)) === null || _a === void 0 ? void 0 : _a.addControl(__classPrivateFieldGet(this, _name), this.formControl);
|
|
704
|
+
if (this.toolbar) {
|
|
705
|
+
this.quillConfig.toolbar.container = this.toolbar;
|
|
706
|
+
}
|
|
707
|
+
var _loop_1 = function (action) {
|
|
708
|
+
if (this_1.quillConfig.toolbar.container.toString().includes(action.key)) {
|
|
709
|
+
var qlKey_1 = "button.ql-" + action.key;
|
|
710
|
+
var interval_1 = setInterval(function () {
|
|
711
|
+
if (document.querySelector(qlKey_1)) {
|
|
712
|
+
clearInterval(interval_1);
|
|
713
|
+
document.querySelector(qlKey_1).innerHTML = action.icon;
|
|
714
|
+
var customAction = document.querySelector(qlKey_1);
|
|
715
|
+
if (customAction.getAttribute('listener') !== '1') {
|
|
716
|
+
customAction.setAttribute('listener', '1');
|
|
717
|
+
if (action.tooltip) {
|
|
718
|
+
customAction.setAttribute('title', action.tooltip);
|
|
719
|
+
}
|
|
720
|
+
customAction.addEventListener('click', function (e) {
|
|
721
|
+
var cursorPosition = localStorage.getItem('quillRange');
|
|
722
|
+
var element = e.currentTarget; // Lấy element của action được click
|
|
723
|
+
var toolbar = element.closest('.ql-formats').closest('.ql-toolbar'); // Lấy toolbar element
|
|
724
|
+
var id = toolbar.closest('quill-editor').id; // Lấy id của editor để phục vụ loading
|
|
725
|
+
var loadingId = "#box-" + id; // id của editor;
|
|
726
|
+
action.click(e, {
|
|
727
|
+
qlKey: qlKey_1,
|
|
728
|
+
element: element,
|
|
729
|
+
loadingId: loadingId,
|
|
730
|
+
cursorPosition: JSON.parse(cursorPosition),
|
|
731
|
+
quill: __classPrivateFieldGet(_this, _quill),
|
|
732
|
+
args: _this.args
|
|
733
|
+
});
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
}, 1000);
|
|
738
|
+
}
|
|
739
|
+
};
|
|
740
|
+
var this_1 = this;
|
|
741
|
+
try {
|
|
742
|
+
for (var _d = __values((((_b = this.configuration) === null || _b === void 0 ? void 0 : _b.actions) || [])), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
743
|
+
var action = _e.value;
|
|
744
|
+
_loop_1(action);
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
748
|
+
finally {
|
|
749
|
+
try {
|
|
750
|
+
if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
|
|
751
|
+
}
|
|
752
|
+
finally { if (e_1) throw e_1.error; }
|
|
753
|
+
}
|
|
754
|
+
// if (this.quillConfig.toolbar.container.toString().includes('customFile')) {
|
|
755
|
+
// this.timerLoadQuillToolbar = setInterval(() => {
|
|
756
|
+
// if (document.querySelector('button.ql-customFile')) {
|
|
757
|
+
// clearInterval(this.timerLoadQuillToolbar);
|
|
758
|
+
// document.querySelector('button.ql-customFile').innerHTML = this.customButtonFileSVG;
|
|
759
|
+
// const customButton = document.querySelector('button.ql-customFile');
|
|
760
|
+
// if (customButton.getAttribute('listener') !== '1') {
|
|
761
|
+
// customButton.setAttribute('listener', '1');
|
|
762
|
+
// customButton.addEventListener('click', this.customFileHandler);
|
|
763
|
+
// }
|
|
764
|
+
// }
|
|
765
|
+
// }, 1000);
|
|
766
|
+
// }
|
|
767
|
+
this.ref.markForCheck();
|
|
768
|
+
};
|
|
769
|
+
// customFileHandler = (e) => {
|
|
770
|
+
// const customButton = e.currentTarget;
|
|
771
|
+
// const quillToolbar = customButton.closest('.ql-formats').closest('.ql-toolbar');
|
|
772
|
+
// const quillBox = quillToolbar.closest('.ql-formats')
|
|
773
|
+
// let fileInput: HTMLInputElement = quillToolbar.querySelector('input.ql-customFile[type=file]');
|
|
774
|
+
// if (fileInput == null) {
|
|
775
|
+
// fileInput = document.createElement('input');
|
|
776
|
+
// fileInput.setAttribute('type', Constants.FILE);
|
|
777
|
+
// fileInput.setAttribute('accept', '*');
|
|
778
|
+
// fileInput.classList.add('ql-customFile');
|
|
779
|
+
// fileInput.addEventListener('change', () => {
|
|
780
|
+
// const files = fileInput.files;
|
|
781
|
+
// if (!files || !files.length) {
|
|
782
|
+
// return;
|
|
783
|
+
// }
|
|
784
|
+
// const formData = new FormData();
|
|
785
|
+
// formData.append(Constants.FILE, files[0]);
|
|
786
|
+
// let range = localStorage.getItem('quillRange');
|
|
787
|
+
// if (range) {
|
|
788
|
+
// range = JSON.parse(range);
|
|
789
|
+
// }
|
|
790
|
+
// this.quillEvent.enable(false);
|
|
791
|
+
// this.#uploadFile(formData, this.quillEvent, range, fileInput, quillToolbar.closest('quill-editor').id);
|
|
792
|
+
// });
|
|
793
|
+
// quillToolbar.appendChild(fileInput);
|
|
794
|
+
// }
|
|
795
|
+
// fileInput.click();
|
|
796
|
+
// }
|
|
797
|
+
SdEditor.prototype.ngAfterViewInit = function () {
|
|
798
|
+
var _this = this;
|
|
799
|
+
__classPrivateFieldGet(this, _subscription).add(this.formControl.valueChanges.subscribe(function (val) {
|
|
800
|
+
_this.modelChange.emit(val);
|
|
801
|
+
_this.sdChange.emit(val);
|
|
802
|
+
}));
|
|
803
|
+
};
|
|
804
|
+
SdEditor.prototype.ngOnDestroy = function () {
|
|
805
|
+
var _a;
|
|
806
|
+
(_a = __classPrivateFieldGet(this, _form)) === null || _a === void 0 ? void 0 : _a.removeControl(__classPrivateFieldGet(this, _name));
|
|
807
|
+
__classPrivateFieldGet(this, _subscription).unsubscribe();
|
|
808
|
+
};
|
|
809
|
+
// #uploadImage = (formData, quill, range, fileInput) => {
|
|
810
|
+
// if (!this.urlUploadImage) {
|
|
811
|
+
// this.urlUploadImage = '/partner/v2/merchandise/file/uploaduserfile';
|
|
812
|
+
// }
|
|
813
|
+
// // this.domain = 'https://api-commerce-qc.vinid.dev';
|
|
814
|
+
// this.sdApiService.post(this.urlUploadImage, formData).then((resp: any) => {
|
|
815
|
+
// this.ngZone.runOutsideAngular(() => {
|
|
816
|
+
// quill.enable(true);
|
|
817
|
+
// // quill.editor.insertEmbed(range.index, 'image', resp?.data?.imageUrl || resp?.data?.publish_url || resp?.url || '');
|
|
818
|
+
// quill.getModule('clipboard').dangerouslyPasteHTML(range.index, '<a target="_blank" href="' + (resp?.data?.imageUrl || resp?.data?.publish_url || resp?.url || '')
|
|
819
|
+
// + '"><img src="' + (resp?.data?.imageUrl || resp?.data?.publish_url || resp?.url || '') + '" alt="c-image-editor-quill"></a>', 'user');
|
|
820
|
+
// // quill.insertText();
|
|
821
|
+
// const content = quill.getContents();
|
|
822
|
+
// quill.setContents(content);
|
|
823
|
+
// quill.setSelection(range.index + 1, 'user');
|
|
824
|
+
// fileInput.value = '';
|
|
825
|
+
// });
|
|
826
|
+
// });
|
|
827
|
+
// this.ref.markForCheck();
|
|
828
|
+
// }
|
|
829
|
+
// #uploadFile = (formData, quill, range, fileInput, loadingID) => {
|
|
830
|
+
// if (!this.urlUploadFile) {
|
|
831
|
+
// this.urlUploadFile = '/partner/v2/merchandise/file/uploaduserfile';
|
|
832
|
+
// }
|
|
833
|
+
// // this.domain = 'https://api-commerce-qc.vinid.dev';
|
|
834
|
+
// this.loadingService.start('#box-' + loadingID);
|
|
835
|
+
// this.sdApiService.post(this.urlUploadFile, formData).then((resp: any) => {
|
|
836
|
+
// this.ngZone.runOutsideAngular(() => {
|
|
837
|
+
// quill.enable(true);
|
|
838
|
+
// // quill.editor.insertEmbed(range.index, 'image', resp?.data?.imageUrl || resp?.data?.publish_url || resp?.url || '');
|
|
839
|
+
// quill.getModule('clipboard').dangerouslyPasteHTML(range.index, '<a target="_blank" href="' + (resp?.data?.imageUrl || resp?.data?.publish_url || resp?.url || '')
|
|
840
|
+
// + '">' + (resp?.data?.imageUrl || resp?.data?.publish_url || resp?.url || '') + '</a>', 'user');
|
|
841
|
+
// // quill.insertText();
|
|
842
|
+
// const content = quill.getContents();
|
|
843
|
+
// quill.setContents(content);
|
|
844
|
+
// quill.setSelection(range.index + 1, 'user');
|
|
845
|
+
// fileInput.value = '';
|
|
846
|
+
// });
|
|
847
|
+
// this.loadingService.stop('#box-' + loadingID);
|
|
848
|
+
// }).catch((er) => {
|
|
849
|
+
// this.loadingService.stop('#box-' + loadingID);
|
|
850
|
+
// });
|
|
851
|
+
// this.ref.markForCheck();
|
|
852
|
+
// }
|
|
853
|
+
SdEditor.prototype.onSelectionChanged = function (e) {
|
|
854
|
+
// localStorage.setItem('quillRange', e.range ? JSON.stringify(e.range) : (e.oldRange ? JSON.stringify(e.oldRange) : null));
|
|
855
|
+
localStorage.setItem('quillRange', e.editor.getSelection() ? JSON.stringify(e.editor.getSelection()) : null);
|
|
856
|
+
};
|
|
857
|
+
SdEditor.prototype.onContentChanged = function (e) {
|
|
858
|
+
localStorage.setItem('quillRange', JSON.stringify({
|
|
859
|
+
index: (e.editor.getLength() ? e.editor.getLength() - 1 : 0),
|
|
860
|
+
length: 0
|
|
861
|
+
}));
|
|
862
|
+
};
|
|
863
|
+
return SdEditor;
|
|
864
|
+
}());
|
|
865
|
+
_name = new WeakMap(), _subscription = new WeakMap(), _model = new WeakMap(), _form = new WeakMap(), _updateValidator = new WeakMap(), _quill = new WeakMap(), _initUploadImage = new WeakMap();
|
|
866
|
+
SdEditor.decorators = [
|
|
867
|
+
{ type: core.Component, args: [{
|
|
868
|
+
selector: 'sd-editor',
|
|
869
|
+
template: "<div id=\"box-{{id}}\">\r\n <label *ngIf=\"label && !sdLabelDef?.templateRef\" class=\"d-block T14M\">{{label}} <span class=\"text-danger mb-2\"\r\n *ngIf=\"required\">*</span></label>\r\n <ng-container *ngIf=\"sdLabelDef?.templateRef\" matSuffix>\r\n <ng-container *ngTemplateOutlet=\"sdLabelDef.templateRef\">\r\n </ng-container>\r\n </ng-container>\r\n <ng-container *ngIf=\"!formControl.disabled && !showHtmlEditor\">\r\n <quill-editor #editor [styles]=\"styles\" (onEditorCreated)=\"editorInit($event)\" [ngModel]=\"formControl.value\"\r\n (onSelectionChanged)=\"onSelectionChanged($event)\"\r\n (onContentChanged)=\"onContentChanged($event)\"\r\n (ngModelChange)=\"onModelChange($event)\" [id]=\"id\" [modules]=\"quillConfig\" [placeholder]=\"placeholder\"\r\n [maxLength]=\"maxlength\">\r\n </quill-editor>\r\n <span class=\"d-block text-danger mt-5\" *ngIf=\"formControl.errors?.required\">\r\n {{'This field is required' | sdTranslate}}\r\n </span>\r\n <span class=\"d-block text-danger mt-5\" *ngIf=\"formControl.errors?.minlength\">\r\n {{'Max length' | sdTranslate}} <strong>{{minlength}}</strong>\r\n </span>\r\n <span class=\"d-block text-danger mt-5\" *ngIf=\"formControl.errors?.maxlength\">\r\n {{'Max length' | sdTranslate}} <strong>{{maxlength}}</strong>\r\n </span>\r\n </ng-container>\r\n <ng-container *ngIf=\"formControl.disabled\">\r\n <div [innerHtml]=\"formControl.value\"></div>\r\n </ng-container>\r\n <ng-container *ngIf=\"enableHTMLButton\">\r\n <sd-textarea [(model)]=\"modelHTML\" *ngIf=\"showHtmlEditor\" rows=\"20\"\r\n (modelChange)=\"onModelChange($event)\"></sd-textarea>\r\n <sd-button\r\n title=\"{{showHtmlEditor?'\u1EA8n':'Hi\u1EC7n'}} m\u00E3 HTML\"\r\n class=\"mr-8\"\r\n fontSet=\"material-icons-outlined\"\r\n (action)=\"onClickShowHtmlEditor()\"\r\n type=\"light\"\r\n ></sd-button>\r\n </ng-container>\r\n</div>\r\n",
|
|
870
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
871
|
+
styles: ["::ng-deep img[alt=c-image-editor-quill]{max-width:80%}::ng-deep .ql-toolbar input.ql-customFile[type=file]{display:none}"]
|
|
872
|
+
},] }
|
|
873
|
+
];
|
|
874
|
+
SdEditor.ctorParameters = function () { return [
|
|
875
|
+
{ type: core.NgZone },
|
|
876
|
+
{ type: core.ChangeDetectorRef },
|
|
877
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [EDITOR_CONFIG,] }, { type: core.Optional }] }
|
|
878
|
+
]; };
|
|
879
|
+
SdEditor.propDecorators = {
|
|
880
|
+
editor: [{ type: core.ViewChild, args: ['editor',] }],
|
|
881
|
+
label: [{ type: core.Input }],
|
|
882
|
+
model: [{ type: core.Input }],
|
|
883
|
+
disabled: [{ type: core.Input }],
|
|
884
|
+
pRequired: [{ type: core.Input }],
|
|
885
|
+
_minlength: [{ type: core.Input, args: ['minlength',] }],
|
|
886
|
+
_maxlength: [{ type: core.Input, args: ['maxlength',] }],
|
|
887
|
+
modelChange: [{ type: core.Output }],
|
|
888
|
+
placeholder: [{ type: core.Input }],
|
|
889
|
+
styles: [{ type: core.Input }],
|
|
890
|
+
args: [{ type: core.Input }],
|
|
891
|
+
domain: [{ type: core.Input }],
|
|
892
|
+
form: [{ type: core.Input }],
|
|
893
|
+
toolbar: [{ type: core.Input }],
|
|
894
|
+
enableHTMLButton: [{ type: core.Input }],
|
|
895
|
+
mentionValues: [{ type: core.Input }],
|
|
896
|
+
hashTagValues: [{ type: core.Input }],
|
|
897
|
+
sdLabelDef: [{ type: core.ContentChild, args: [common.SdLabelDefDirective,] }],
|
|
898
|
+
sdChange: [{ type: core.Output }]
|
|
899
|
+
};
|
|
900
|
+
|
|
901
|
+
var SdEditorModule = /** @class */ (function () {
|
|
902
|
+
function SdEditorModule() {
|
|
903
|
+
}
|
|
904
|
+
return SdEditorModule;
|
|
905
|
+
}());
|
|
906
|
+
SdEditorModule.decorators = [
|
|
907
|
+
{ type: core.NgModule, args: [{
|
|
908
|
+
declarations: [SdEditor],
|
|
909
|
+
imports: [
|
|
910
|
+
common$1.CommonModule,
|
|
911
|
+
forms.FormsModule,
|
|
912
|
+
forms.ReactiveFormsModule,
|
|
913
|
+
ngxQuill.QuillModule.forRoot(),
|
|
914
|
+
translate.SdTranslateModule,
|
|
915
|
+
button.SdButtonModule,
|
|
916
|
+
textarea.SdTextareaModule,
|
|
917
|
+
api.SdApiModule
|
|
918
|
+
],
|
|
919
|
+
exports: [SdEditor],
|
|
920
|
+
providers: [],
|
|
921
|
+
},] }
|
|
922
|
+
];
|
|
923
|
+
|
|
924
|
+
/*
|
|
925
|
+
* Public API Surface of superdev-angular-core
|
|
926
|
+
*/
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Generated bundle index. Do not edit.
|
|
930
|
+
*/
|
|
931
|
+
|
|
932
|
+
exports.Constants = Constants;
|
|
933
|
+
exports.EDITOR_CONFIG = EDITOR_CONFIG;
|
|
934
|
+
exports.PROMOTION_FORM = PROMOTION_FORM;
|
|
935
|
+
exports.PROMOTION_PERMISSIONS = PROMOTION_PERMISSIONS;
|
|
936
|
+
exports.SdEditor = SdEditor;
|
|
937
|
+
exports.SdEditorModule = SdEditorModule;
|
|
938
|
+
exports.ValidateMessageConstants = ValidateMessageConstants;
|
|
939
|
+
|
|
940
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
941
|
+
|
|
942
|
+
})));
|
|
943
|
+
//# sourceMappingURL=sd-angular-core-editor.umd.js.map
|