qms-angular 1.0.55 → 1.0.56
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/bundles/qms-angular.umd.js +4003 -12241
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/components/app-icon/app-icon.module.js +16 -29
- package/esm2015/lib/components/app-icon/icon-registry.service.js +7 -9
- package/esm2015/lib/components/badges/qms-badges.component.js +15 -24
- package/esm2015/lib/components/badges/qms-badges.module.js +18 -33
- package/esm2015/lib/components/banner/qms-banner/qms-banner.component.js +16 -28
- package/esm2015/lib/components/banner/qms-banner/qms-banner.module.js +19 -36
- package/esm2015/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.js +16 -28
- package/esm2015/lib/components/banner/qms-banner-confirm/qms-banner-confirm.module.js +19 -36
- package/esm2015/lib/components/banner/qms-banner-loading/qms-banner-loading.component.js +13 -19
- package/esm2015/lib/components/banner/qms-banner-loading/qms-banner-loading.module.js +17 -30
- package/esm2015/lib/components/breadcrumb/breadcrumb-direction-icon.directive.js +10 -11
- package/esm2015/lib/components/breadcrumb/breadcrumb-item.directive.js +17 -20
- package/esm2015/lib/components/breadcrumb/breadcrumb.js +28 -40
- package/esm2015/lib/components/breadcrumb/breadcrumb.module.js +26 -50
- package/esm2015/lib/components/button/button-toggle.js +85 -120
- package/esm2015/lib/components/button/button.js +78 -86
- package/esm2015/lib/components/button/button.module.js +27 -51
- package/esm2015/lib/components/comment/comment.js +18 -29
- package/esm2015/lib/components/dialog/dialog.js +28 -38
- package/esm2015/lib/components/edit-file-name-dialog/edit-file-name-dialog.js +16 -24
- package/esm2015/lib/components/edit-file-name-dialog/edit-file-name-dialog.module.js +31 -71
- package/esm2015/lib/components/list/list.js +89 -101
- package/esm2015/lib/components/list/list.module.js +50 -94
- package/esm2015/lib/components/qms-app-bar/qms-app-bar.component.js +29 -55
- package/esm2015/lib/components/qms-app-bar/qms-app-bar.module.js +20 -39
- package/esm2015/lib/components/qms-stepper/qms-stepper.component.js +22 -32
- package/esm2015/lib/components/qms-stepper/qms-stepper.module.js +25 -35
- package/esm2015/lib/components/related/content/related-content.component.js +12 -19
- package/esm2015/lib/components/related/list-other-related/list-related.component.js +25 -29
- package/esm2015/lib/components/related/popup/related-popup.component.js +33 -50
- package/esm2015/lib/components/related/related.module.js +43 -96
- package/esm2015/lib/components/related/risk/analysis/analysis.component.js +17 -23
- package/esm2015/lib/components/related/risk/list/list.component.js +18 -22
- package/esm2015/lib/components/related/risk/result/result.component.js +16 -23
- package/esm2015/lib/components/related/service/related-global.service.js +6 -7
- package/esm2015/lib/components/related/sidenav/sidenav.component.js +12 -21
- package/esm2015/lib/components/reports/qms-report-content-portrait/qms-report-content-portrait.component.js +18 -22
- package/esm2015/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.js +18 -22
- package/esm2015/lib/components/reports/qms-reports.module.js +20 -29
- package/esm2015/lib/components/rich-text/rich-text.js +32 -47
- package/esm2015/lib/components/rich-text/rich-text.module.js +21 -35
- package/esm2015/lib/components/select-dialog/select-dialog.js +16 -31
- package/esm2015/lib/components/select-include-children/select-include-children.component.js +33 -47
- package/esm2015/lib/components/select-include-children/select-include-children.module.js +33 -78
- package/esm2015/lib/components/select-include-children/services/select-global.service.js +6 -7
- package/esm2015/lib/components/suffix-field/suffix-field.directive.js +21 -22
- package/esm2015/lib/components/table/table-action.js +31 -31
- package/esm2015/lib/components/table/table.module.js +21 -37
- package/esm2015/lib/components/test-only/test-only.component.js +11 -14
- package/esm2015/lib/components/tooltip/tooltip.js +19 -24
- package/esm2015/lib/components/tooltip/tooltip.module.js +20 -38
- package/esm2015/lib/components/tree/tree.component.js +33 -46
- package/esm2015/lib/components/tree/tree.module.js +30 -69
- package/esm2015/lib/components/upload-file-error-dialog/upload-file-error-dialog.js +16 -22
- package/esm2015/lib/components/upload-file-error-dialog/upload-file-error-dialog.module.js +31 -71
- package/esm2015/lib/directives/chip-input/chip-input-chip-list.directive.js +13 -13
- package/esm2015/lib/directives/chip-input/chip-input-field.directive.js +10 -11
- package/esm2015/lib/directives/chip-input/chip-input-select-dropdown.directive.js +10 -11
- package/esm2015/lib/directives/chip-input/chip-input-select-field.directive.js +14 -17
- package/esm2015/lib/directives/chip-input/chip-input-select-trigger.directive.js +13 -14
- package/esm2015/lib/directives/chips/chip-body.directive.js +10 -11
- package/esm2015/lib/directives/chips/chip.directive.js +13 -13
- package/esm2015/lib/directives/dropdown-menu/dropdown-item.directive.js +14 -16
- package/esm2015/lib/directives/file-upload/file-upload-attachment-list.directive.js +10 -11
- package/esm2015/lib/directives/file-upload/file-upload-display.directive.js +16 -19
- package/esm2015/lib/directives/file-upload/file-upload-multiple-display.directive.js +14 -16
- package/esm2015/lib/directives/file-upload/file-upload-multiple-selector.directive.js +20 -26
- package/esm2015/lib/directives/file-upload/file-upload-multiple.directive.js +15 -19
- package/esm2015/lib/directives/file-upload/file-upload-scrollable-attachment-list.directive.js +10 -11
- package/esm2015/lib/directives/file-upload/file-upload-selector.directive.js +18 -25
- package/esm2015/lib/directives/file-upload/file-upload.directive.js +20 -24
- package/esm2015/lib/directives/form.directive.js +51 -48
- package/esm2015/lib/directives/margin.directive.js +14 -15
- package/esm2015/lib/directives/range-slider/range-slider-lockup.directive.js +10 -11
- package/esm2015/lib/directives/range-slider/range-slider.directive.js +14 -17
- package/esm2015/lib/directives/scroll-selected/scroll-to-selected.directive.js +15 -16
- package/esm2015/lib/directives/scrollbar/scrollbar.directive.js +13 -13
- package/esm2015/lib/directives/search-field.directive.js +22 -21
- package/esm2015/lib/directives/side-sheet/drawer-content.directive.js +10 -11
- package/esm2015/lib/directives/side-sheet/drawer-header-action.directive.js +10 -11
- package/esm2015/lib/directives/side-sheet/drawer-header.directive.js +10 -11
- package/esm2015/lib/directives/side-sheet/drawer.directive.js +10 -11
- package/esm2015/lib/directives/tab/tab-group-advanced.directive.js +14 -15
- package/esm2015/lib/directives/tab/tab-group.directive.js +10 -11
- package/esm2015/lib/directives/tab/tab-label.directive.js +10 -11
- package/esm2015/lib/directives/text-block/text-block-line.directive.js +16 -20
- package/esm2015/lib/directives/text-block/text-block.directive.js +14 -17
- package/esm2015/lib/directives/tooltip/tooltip-image.directive.js +13 -14
- package/esm2015/lib/directives/tooltip/tooltip-renderer.directive.js +22 -35
- package/esm2015/lib/material-module.js +16 -35
- package/esm2015/lib/model/en.js +4 -35
- package/esm2015/lib/model/no.js +3 -34
- package/esm2015/lib/pipe/dateFormat.pipe.js +10 -11
- package/esm2015/lib/qms-angular.component.js +11 -13
- package/esm2015/lib/qms-angular.module.js +121 -232
- package/esm2015/lib/qms-angular.service.js +8 -9
- package/esm2015/lib/qms-ckeditor-components/common/bpmn/toolbar.function.js +12 -32
- package/esm2015/lib/qms-ckeditor-components/common/constants/ckeditorEvent.constant.js +1 -5
- package/esm2015/lib/qms-ckeditor-components/common/constants/ckeditorFlowchart.const.js +1 -10
- package/esm2015/lib/qms-ckeditor-components/common/enums/document-type.enum.js +1 -2
- package/esm2015/lib/qms-ckeditor-components/common/functions/common.function.js +2 -2
- package/esm2015/lib/qms-ckeditor-components/common/module/confirm/qms-ckeditor-confirm.component.js +16 -23
- package/esm2015/lib/qms-ckeditor-components/common/module/tree/qms-ckeditor-tree.component.js +19 -34
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.js +53 -577
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/save-template/save-template.component.js +35 -69
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-fullscreen/qms-ckeditor-fullscreen.component.js +8 -12
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-imagemap/qms-ckeditor-imagemap.component.js +30 -39
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/attachments/link-attachment.component.js +18 -22
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/qms-ckeditor-link.component.js +20 -29
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-load-template/qms-ckeditor-load-template.component.js +18 -22
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-relation/qmsckeditor-related.component.js +23 -35
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-template/qms-ckeditor-template.component.js +20 -30
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-tooltip/qms-ckeditor-tooltip.component.js +18 -27
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor-base.component.js +4 -7
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +44 -118
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.module.js +55 -131
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-base.service.js +10 -10
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-bpmn-api.service.js +9 -9
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-bpmn.service.js +26 -66
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-global.service.js +8 -9
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-link.service.js +9 -9
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-tree.service.js +9 -9
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckedtior-template.service.js +9 -9
- package/esm2015/lib/services/translation-registry.service.js +8 -9
- package/esm2015/lib/shared.module.js +4 -9
- package/esm2015/public-api.js +1 -16
- package/esm2015/qms-angular.js +9 -1
- package/fesm2015/qms-angular.js +3031 -11134
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/components/app-icon/app-icon.module.d.ts +0 -7
- package/lib/components/app-icon/icon-registry.service.d.ts +0 -3
- package/lib/components/badges/qms-badges.component.d.ts +0 -3
- package/lib/components/badges/qms-badges.module.d.ts +0 -9
- package/lib/components/banner/qms-banner/qms-banner.component.d.ts +0 -3
- package/lib/components/banner/qms-banner/qms-banner.module.d.ts +0 -10
- package/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.d.ts +0 -3
- package/lib/components/banner/qms-banner-confirm/qms-banner-confirm.module.d.ts +0 -10
- package/lib/components/banner/qms-banner-loading/qms-banner-loading.component.d.ts +0 -3
- package/lib/components/banner/qms-banner-loading/qms-banner-loading.module.d.ts +0 -8
- package/lib/components/breadcrumb/breadcrumb-direction-icon.directive.d.ts +0 -3
- package/lib/components/breadcrumb/breadcrumb-item.directive.d.ts +0 -3
- package/lib/components/breadcrumb/breadcrumb.d.ts +0 -3
- package/lib/components/breadcrumb/breadcrumb.module.d.ts +0 -13
- package/lib/components/button/button-toggle.d.ts +0 -5
- package/lib/components/button/button.d.ts +0 -7
- package/lib/components/button/button.module.d.ts +0 -9
- package/lib/components/comment/comment.d.ts +0 -3
- package/lib/components/dialog/dialog.d.ts +0 -5
- package/lib/components/edit-file-name-dialog/edit-file-name-dialog.d.ts +0 -3
- package/lib/components/edit-file-name-dialog/edit-file-name-dialog.module.d.ts +0 -16
- package/lib/components/list/list.d.ts +0 -15
- package/lib/components/list/list.module.d.ts +0 -11
- package/lib/components/qms-app-bar/qms-app-bar.component.d.ts +0 -3
- package/lib/components/qms-app-bar/qms-app-bar.module.d.ts +0 -12
- package/lib/components/qms-stepper/qms-stepper.component.d.ts +0 -3
- package/lib/components/qms-stepper/qms-stepper.module.d.ts +0 -8
- package/lib/components/related/content/related-content.component.d.ts +0 -3
- package/lib/components/related/list-other-related/list-related.component.d.ts +0 -3
- package/lib/components/related/popup/related-popup.component.d.ts +0 -3
- package/lib/components/related/related.module.d.ts +0 -29
- package/lib/components/related/risk/analysis/analysis.component.d.ts +0 -3
- package/lib/components/related/risk/list/list.component.d.ts +0 -3
- package/lib/components/related/risk/result/result.component.d.ts +0 -3
- package/lib/components/related/service/related-global.service.d.ts +0 -3
- package/lib/components/related/sidenav/sidenav.component.d.ts +0 -3
- package/lib/components/reports/qms-report-content-portrait/qms-report-content-portrait.component.d.ts +0 -3
- package/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.d.ts +0 -3
- package/lib/components/reports/qms-reports.module.d.ts +0 -7
- package/lib/components/rich-text/rich-text.d.ts +0 -3
- package/lib/components/rich-text/rich-text.module.d.ts +0 -8
- package/lib/components/select-dialog/select-dialog.d.ts +0 -3
- package/lib/components/select-include-children/select-include-children.component.d.ts +0 -3
- package/lib/components/select-include-children/select-include-children.module.d.ts +0 -25
- package/lib/components/select-include-children/services/select-global.service.d.ts +0 -3
- package/lib/components/suffix-field/suffix-field.directive.d.ts +0 -5
- package/lib/components/table/table-action.d.ts +0 -5
- package/lib/components/table/table.module.d.ts +0 -8
- package/lib/components/test-only/test-only.component.d.ts +0 -3
- package/lib/components/tooltip/tooltip.d.ts +0 -3
- package/lib/components/tooltip/tooltip.module.d.ts +0 -9
- package/lib/components/tree/tree.component.d.ts +0 -3
- package/lib/components/tree/tree.module.d.ts +0 -22
- package/lib/components/upload-file-error-dialog/upload-file-error-dialog.d.ts +0 -3
- package/lib/components/upload-file-error-dialog/upload-file-error-dialog.module.d.ts +0 -16
- package/lib/directives/chip-input/chip-input-chip-list.directive.d.ts +0 -3
- package/lib/directives/chip-input/chip-input-field.directive.d.ts +0 -3
- package/lib/directives/chip-input/chip-input-select-dropdown.directive.d.ts +0 -3
- package/lib/directives/chip-input/chip-input-select-field.directive.d.ts +0 -3
- package/lib/directives/chip-input/chip-input-select-trigger.directive.d.ts +0 -3
- package/lib/directives/chips/chip-body.directive.d.ts +0 -3
- package/lib/directives/chips/chip.directive.d.ts +0 -3
- package/lib/directives/dropdown-menu/dropdown-item.directive.d.ts +0 -3
- package/lib/directives/file-upload/file-upload-attachment-list.directive.d.ts +0 -3
- package/lib/directives/file-upload/file-upload-display.directive.d.ts +0 -3
- package/lib/directives/file-upload/file-upload-multiple-display.directive.d.ts +0 -3
- package/lib/directives/file-upload/file-upload-multiple-selector.directive.d.ts +0 -3
- package/lib/directives/file-upload/file-upload-multiple.directive.d.ts +0 -3
- package/lib/directives/file-upload/file-upload-scrollable-attachment-list.directive.d.ts +0 -3
- package/lib/directives/file-upload/file-upload-selector.directive.d.ts +0 -3
- package/lib/directives/file-upload/file-upload.directive.d.ts +0 -5
- package/lib/directives/form.directive.d.ts +0 -11
- package/lib/directives/margin.directive.d.ts +0 -3
- package/lib/directives/range-slider/range-slider-lockup.directive.d.ts +0 -3
- package/lib/directives/range-slider/range-slider.directive.d.ts +0 -3
- package/lib/directives/scroll-selected/scroll-to-selected.directive.d.ts +0 -3
- package/lib/directives/scrollbar/scrollbar.directive.d.ts +0 -3
- package/lib/directives/search-field.directive.d.ts +0 -5
- package/lib/directives/side-sheet/drawer-content.directive.d.ts +0 -3
- package/lib/directives/side-sheet/drawer-header-action.directive.d.ts +0 -3
- package/lib/directives/side-sheet/drawer-header.directive.d.ts +0 -3
- package/lib/directives/side-sheet/drawer.directive.d.ts +0 -3
- package/lib/directives/tab/tab-group-advanced.directive.d.ts +0 -3
- package/lib/directives/tab/tab-group.directive.d.ts +0 -3
- package/lib/directives/tab/tab-label.directive.d.ts +0 -3
- package/lib/directives/text-block/text-block-line.directive.d.ts +0 -3
- package/lib/directives/text-block/text-block.directive.d.ts +0 -3
- package/lib/directives/tooltip/tooltip-image.directive.d.ts +0 -3
- package/lib/directives/tooltip/tooltip-renderer.directive.d.ts +0 -3
- package/lib/material-module.d.ts +0 -12
- package/lib/model/en.d.ts +0 -31
- package/lib/model/no.d.ts +0 -31
- package/lib/pipe/dateFormat.pipe.d.ts +0 -3
- package/lib/qms-angular.component.d.ts +0 -3
- package/lib/qms-angular.module.d.ts +0 -49
- package/lib/qms-angular.service.d.ts +0 -3
- package/lib/qms-ckeditor-components/common/bpmn/toolbar.function.d.ts +2 -2
- package/lib/qms-ckeditor-components/common/constants/ckeditorEvent.constant.d.ts +0 -4
- package/lib/qms-ckeditor-components/common/constants/ckeditorFlowchart.const.d.ts +0 -9
- package/lib/qms-ckeditor-components/common/enums/document-type.enum.d.ts +0 -1
- package/lib/qms-ckeditor-components/common/module/confirm/qms-ckeditor-confirm.component.d.ts +0 -3
- package/lib/qms-ckeditor-components/common/module/tree/qms-ckeditor-tree.component.d.ts +0 -3
- package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.d.ts +4 -88
- package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/save-template/save-template.component.d.ts +2 -11
- package/lib/qms-ckeditor-components/components/qms-ckeditor-fullscreen/qms-ckeditor-fullscreen.component.d.ts +0 -3
- package/lib/qms-ckeditor-components/components/qms-ckeditor-imagemap/qms-ckeditor-imagemap.component.d.ts +0 -3
- package/lib/qms-ckeditor-components/components/qms-ckeditor-link/attachments/link-attachment.component.d.ts +0 -3
- package/lib/qms-ckeditor-components/components/qms-ckeditor-link/qms-ckeditor-link.component.d.ts +0 -3
- package/lib/qms-ckeditor-components/components/qms-ckeditor-load-template/qms-ckeditor-load-template.component.d.ts +0 -3
- package/lib/qms-ckeditor-components/components/qms-ckeditor-relation/qmsckeditor-related.component.d.ts +0 -4
- package/lib/qms-ckeditor-components/components/qms-ckeditor-template/qms-ckeditor-template.component.d.ts +0 -3
- package/lib/qms-ckeditor-components/components/qms-ckeditor-tooltip/qms-ckeditor-tooltip.component.d.ts +0 -3
- package/lib/qms-ckeditor-components/qms-ckeditor-base.component.d.ts +0 -3
- package/lib/qms-ckeditor-components/qms-ckeditor.component.d.ts +0 -8
- package/lib/qms-ckeditor-components/qms-ckeditor.module.d.ts +0 -44
- package/lib/qms-ckeditor-components/services/qms-ckeditor-base.service.d.ts +0 -3
- package/lib/qms-ckeditor-components/services/qms-ckeditor-bpmn-api.service.d.ts +0 -3
- package/lib/qms-ckeditor-components/services/qms-ckeditor-bpmn.service.d.ts +0 -4
- package/lib/qms-ckeditor-components/services/qms-ckeditor-global.service.d.ts +0 -3
- package/lib/qms-ckeditor-components/services/qms-ckeditor-link.service.d.ts +0 -3
- package/lib/qms-ckeditor-components/services/qms-ckeditor-tree.service.d.ts +0 -3
- package/lib/qms-ckeditor-components/services/qms-ckedtior-template.service.d.ts +0 -3
- package/lib/services/translation-registry.service.d.ts +0 -3
- package/lib/shared.module.d.ts +0 -4
- package/lib.theme.scss +0 -8
- package/package.json +2 -1
- package/public-api.d.ts +0 -14
- package/qms-angular.d.ts +8 -1
- package/qms-angular.metadata.json +1 -0
- package/src/assets/jointjs/scss/bpmn.scss +35 -36
- package/src/assets/qms-ckeditor-plugin/build/ckeditor.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/ckeditor.js.map +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ar.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/az.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/bg.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/cs.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/da.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/de-ch.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/de.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/en-au.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/en-gb.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/es.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/et.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/fa.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/fi.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/fr.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/gl.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/he.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/hi.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/hr.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/hu.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/id.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/it.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ja.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ko.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ku.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/lt.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/lv.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/nb.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ne.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/nl.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/no.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/pl.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/pt-br.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ro.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ru.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sk.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sl.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sq.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sr-latn.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sr.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sv.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/th.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/tk.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/tr.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ug.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/uk.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/vi.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/zh-cn.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/zh.js +1 -1
- package/src/assets/qms-ckeditor-plugin/package-lock.json +12177 -17
- package/src/assets/qms-ckeditor-plugin/package.json +0 -1
- package/src/assets/qms-ckeditor-plugin/src/ckeditor.js +3 -22
- package/src/assets/qms-ckeditor-plugin/src/dist/ckeditor.dev.js +173 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/bpmn/qmsCKEditorBpmnPlugin.js +5 -24
- package/src/assets/qms-ckeditor-plugin/src/plugins/common/qmsCKEditorConstant.js +1 -7
- package/src/assets/qms-ckeditor-plugin/src/plugins/common/qmsCKEditorService.js +0 -20
- package/src/assets/qms-ckeditor-plugin/src/plugins/fullscreen/dist/qmsCKEditorFullscreenPlugin.dev.js +87 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/imagemapediting.js +43 -47
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/imagemapui.js +1 -1
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/insertimagemapcommand.js +108 -72
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/resizeimagemapcommand.js +3 -4
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/utils.js +0 -13
- package/src/assets/qms-ckeditor-plugin/src/plugins/timestamp/timestamp.js +8 -8
- package/src/assets/qms-ckeditor-plugin/src/plugins/tooltip/tooltipui.js +24 -23
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/information.svg +50 -1
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/timestamp.svg +1 -1
- package/src/lib/components/tree/tree.component.scss +1 -1
- package/src/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.scss +1 -15
- package/src/lib/qms-ckeditor-components/styles/_layout.scss +0 -24
- package/src/lib/qms-ckeditor-components/styles/_modules.scss +0 -8
- package/esm2015/lib/qms-ckeditor-components/common/constants/ckeditorLink.constant.js +0 -7
- package/esm2015/lib/qms-ckeditor-components/common/enums/shape-flow-chart-connection-type.js +0 -8
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/sample/sample-graphs.js +0 -16
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/halo-service.js +0 -105
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/inspector-service.js +0 -3762
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/keyboard-service.js +0 -68
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.js +0 -372
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/stencil-service.js +0 -1041
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/toolbar-service.js +0 -326
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/shapes/app-shapes.js +0 -318
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/themes/theme-picker.js +0 -80
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-flowchart-template.model.js +0 -9
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-flowchart.model.js +0 -9
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-save-as-template.model.js +0 -3
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-about/qms-ckeditor-about.component.js +0 -43
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.js +0 -322
- package/esm2015/lib/qms-ckeditor-components/models/qms-ckeditor-bpmn-data.model.js +0 -8
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-flowchart.service.js +0 -26
- package/lib/qms-ckeditor-components/common/constants/ckeditorLink.constant.d.ts +0 -6
- package/lib/qms-ckeditor-components/common/enums/shape-flow-chart-connection-type.d.ts +0 -6
- package/lib/qms-ckeditor-components/common/flowchart/sample/sample-graphs.d.ts +0 -14
- package/lib/qms-ckeditor-components/common/flowchart/service/halo-service.d.ts +0 -48
- package/lib/qms-ckeditor-components/common/flowchart/service/inspector-service.d.ts +0 -18
- package/lib/qms-ckeditor-components/common/flowchart/service/keyboard-service.d.ts +0 -17
- package/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.d.ts +0 -62
- package/lib/qms-ckeditor-components/common/flowchart/service/stencil-service.d.ts +0 -1183
- package/lib/qms-ckeditor-components/common/flowchart/service/toolbar-service.d.ts +0 -216
- package/lib/qms-ckeditor-components/common/flowchart/shapes/app-shapes.d.ts +0 -61
- package/lib/qms-ckeditor-components/common/flowchart/themes/theme-picker.d.ts +0 -36
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-flowchart-template.model.d.ts +0 -7
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-flowchart.model.d.ts +0 -7
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-save-as-template.model.d.ts +0 -7
- package/lib/qms-ckeditor-components/components/qms-ckeditor-about/qms-ckeditor-about.component.d.ts +0 -18
- package/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.d.ts +0 -44
- package/lib/qms-ckeditor-components/models/qms-ckeditor-bpmn-data.model.d.ts +0 -7
- package/lib/qms-ckeditor-components/services/qms-ckeditor-flowchart.service.d.ts +0 -13
- package/src/assets/images/ckeditor5.svg +0 -1
- package/src/assets/jointjs/fonts/Alegreya_Sans/AlegreyaSans-Bold.ttf +0 -0
- package/src/assets/jointjs/fonts/Alegreya_Sans/AlegreyaSans-Light.ttf +0 -0
- package/src/assets/jointjs/fonts/Alegreya_Sans/AlegreyaSans-Regular.ttf +0 -0
- package/src/assets/jointjs/fonts/Alegreya_Sans/OFL.txt +0 -92
- package/src/assets/jointjs/fonts/Averia_Libre/AveriaLibre-Bold.ttf +0 -0
- package/src/assets/jointjs/fonts/Averia_Libre/AveriaLibre-Light.ttf +0 -0
- package/src/assets/jointjs/fonts/Averia_Libre/AveriaLibre-Regular.ttf +0 -0
- package/src/assets/jointjs/fonts/Averia_Libre/OFL.txt +0 -93
- package/src/assets/jointjs/fonts/Roboto_Condensed/LICENSE.txt +0 -202
- package/src/assets/jointjs/fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf +0 -0
- package/src/assets/jointjs/fonts/Roboto_Condensed/RobotoCondensed-Light.ttf +0 -0
- package/src/assets/jointjs/fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf +0 -0
- package/src/assets/jointjs/images/delete-icon-modern.png +0 -0
- package/src/assets/jointjs/images/image-icon1.svg +0 -1
- package/src/assets/jointjs/images/image-icon2.svg +0 -6
- package/src/assets/jointjs/images/image-icon3.svg +0 -11
- package/src/assets/jointjs/images/image-icon4.svg +0 -8
- package/src/assets/jointjs/images/member-female.png +0 -0
- package/src/assets/jointjs/images/member-male.png +0 -0
- package/src/assets/jointjs/images/no-color-icon.svg +0 -72
- package/src/assets/jointjs/images/reset-icon-modern.png +0 -0
- package/src/assets/jointjs/images/save-icon-modern.png +0 -0
- package/src/assets/jointjs/images/to-front-icon-modern.png +0 -0
- package/src/assets/jointjs/images/toback-icon-modern.png +0 -0
- package/src/assets/jointjs/images/toolbar-icons-dark.woff +0 -0
- package/src/assets/jointjs/images/toolbar-icons-material.png +0 -0
- package/src/assets/jointjs/images/toolbar-icons-modern.png +0 -0
- package/src/assets/jointjs/images/transparent-icon.svg +0 -50
- package/src/assets/jointjs/scss/style.dark.scss +0 -233
- package/src/assets/jointjs/scss/style.material.scss +0 -234
- package/src/assets/jointjs/scss/style.modern.scss +0 -225
- package/src/assets/jointjs/scss/style.scss +0 -216
- package/src/assets/jointjs/scss/theme-picker.scss +0 -21
- package/src/assets/qms-ckeditor-plugin/src/plugins/aboutckeditor/aboutckeditor.js +0 -28
- package/src/assets/qms-ckeditor-plugin/src/plugins/flowchart/qmsCKEditorFlowchartPlugin.js +0 -63
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/openimagemapcommand.js +0 -58
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/flowchart.svg +0 -507
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/tooltip.svg +0 -1
- package/src/lib/components/select-one/select-one.component.scss +0 -240
- package/src/lib/qms-ckeditor-components/components/qms-ckeditor-about/qms-ckeditor-about.component.scss +0 -16
- package/src/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.scss +0 -5
- package/src/themes/_non-bg-srcollbar.scss +0 -4
@@ -1,92 +1,128 @@
|
|
1
1
|
|
2
2
|
import { Command } from '@ckeditor/ckeditor5-core';
|
3
3
|
import { isImage } from '@ckeditor/ckeditor5-image/src/image/utils';
|
4
|
-
import
|
5
|
-
|
4
|
+
import * as QMSCKEditorConstant from '../common/qmsCKEditorConstant';
|
5
|
+
import * as QMSCKEditorService from '../common/qmsCKEditorService';
|
6
|
+
import { ImageMapAttributes, ImageMapElements, trimStart, parsePixelToFloat, findFirstMapNode, findMapNodes, drawMap } from './utils';
|
7
|
+
import { getSelectedImageWidget } from '@ckeditor/ckeditor5-image/src/image/utils';
|
8
|
+
|
6
9
|
export default class InsertImageMapCommand extends Command {
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
|
11
|
+
refresh() {
|
12
|
+
const element = this.editor.model.document.selection.getSelectedElement();
|
13
|
+
this.isEnabled = isImage(element);
|
14
|
+
}
|
15
|
+
|
16
|
+
execute() {
|
13
17
|
const editor = this.editor;
|
14
18
|
const model = editor.model;
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
}
|
24
|
-
const oldName = imageElement.getAttribute(ImageMapAttributes.IMAGE_USE_MAP) || options.oldName;
|
19
|
+
const view = editor.editing.view;
|
20
|
+
const selectedElement = model.document.selection.getSelectedElement();
|
21
|
+
|
22
|
+
const mapName = selectedElement.getAttribute(ImageMapAttributes.IMAGE_USE_MAP);
|
23
|
+
let originalImageSrc = selectedElement.getAttribute(ImageMapAttributes.IMAGE_SRC);
|
24
|
+
if(selectedElement.hasAttribute(ImageMapAttributes.IMAGE_SAVED_SRC) && selectedElement.getAttribute(ImageMapAttributes.IMAGE_SAVED_SRC)){
|
25
|
+
originalImageSrc = selectedElement.getAttribute(ImageMapAttributes.IMAGE_SAVED_SRC);
|
26
|
+
}
|
25
27
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
existingMapElements.forEach(element => {
|
31
|
-
writer.remove(element);
|
32
|
-
});
|
33
|
-
}
|
34
|
-
}
|
28
|
+
const data = {'imageUrl': originalImageSrc, 'areas': [], imageWidth: null, imageHeight: null};
|
29
|
+
const imageWidget = getSelectedImageWidget( view.document.selection);
|
30
|
+
const widgetResizePlugin = editor.plugins.get('WidgetResize');
|
31
|
+
const resizer = widgetResizePlugin.getResizerByViewElement( imageWidget );
|
35
32
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
33
|
+
if(resizer){
|
34
|
+
const resizerWrapper = resizer._viewResizerWrapper;
|
35
|
+
data.imageWidth = parsePixelToFloat(resizerWrapper.getStyle('width', 0));
|
36
|
+
data.imageHeight = parsePixelToFloat(resizerWrapper.getStyle('height', 0));
|
37
|
+
}
|
38
|
+
|
39
|
+
if(!!mapName){
|
40
|
+
const range = model.createRangeIn(model.document.getRoot());
|
41
|
+
const existingMapElement = findFirstMapNode(trimStart(mapName, '#'), range);
|
42
|
+
if(existingMapElement){
|
43
|
+
data.areas = JSON.parse(existingMapElement.getAttribute(ImageMapAttributes.MAP_AREAS) || []);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
QMSCKEditorService.imageMapNotify(data);
|
48
|
+
window[QMSCKEditorConstant.QMSCK_IMAGEMAP_IS_PROCESSING] = false;
|
49
|
+
window.addEventListener(QMSCKEditorConstant.QMSCK_IMAGEMAP_PLUGIN_RESP, (evt) => {
|
50
|
+
if (window[QMSCKEditorConstant.QMSCK_IMAGEMAP_IS_PROCESSING]) {
|
51
|
+
return;
|
52
|
+
}
|
53
|
+
window[QMSCKEditorConstant.QMSCK_IMAGEMAP_IS_PROCESSING] = true;
|
54
|
+
model.change(writer => {
|
55
|
+
var newMapName = trimStart(evt.detail.name, '#');
|
56
|
+
const areas = evt.detail.areas;
|
57
|
+
const width = evt.detail.imageWidth;
|
58
|
+
const height = evt.detail.imageHeight;
|
59
|
+
const imageElement = model.document.selection.getSelectedElement();
|
60
|
+
const oldMapName = imageElement.getAttribute(ImageMapAttributes.IMAGE_USE_MAP);
|
41
61
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
62
|
+
if(!!oldMapName){
|
63
|
+
const range = model.createRangeIn(model.document.getRoot());
|
64
|
+
const existingMapElements = findMapNodes([trimStart(oldMapName, '#')], range);
|
65
|
+
if(existingMapElements && existingMapElements.length > 0){
|
66
|
+
existingMapElements.forEach(element => {
|
67
|
+
writer.remove(element);
|
68
|
+
});
|
69
|
+
}
|
48
70
|
}
|
49
71
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
const mapElement = writer.createElement(ImageMapElements.MAP, attrs);
|
56
|
-
|
57
|
-
writer.insert(mapElement, writer.createPositionAt(imageElement, "after"));
|
72
|
+
if(!!areas && areas.length > 0)
|
73
|
+
{
|
74
|
+
writer.setAttribute(ImageMapAttributes.IMAGE_USE_MAP, '#' + newMapName, imageElement);
|
75
|
+
writer.setAttribute(ImageMapAttributes.IMAGE_WIDTH, width, imageElement);
|
76
|
+
writer.setAttribute(ImageMapAttributes.IMAGE_HEIGHT, height, imageElement);
|
58
77
|
|
59
|
-
|
60
|
-
|
61
|
-
writer.setAttribute(ImageMapAttributes.
|
62
|
-
|
78
|
+
let originalImageSrc = imageElement.getAttribute(ImageMapAttributes.IMAGE_SRC);
|
79
|
+
if(!imageElement.hasAttribute(ImageMapAttributes.IMAGE_SAVED_SRC) || !imageElement.getAttribute(ImageMapAttributes.IMAGE_SAVED_SRC)){
|
80
|
+
writer.setAttribute(ImageMapAttributes.IMAGE_SAVED_SRC, originalImageSrc, imageElement);
|
81
|
+
}
|
82
|
+
else{
|
83
|
+
originalImageSrc = imageElement.getAttribute(ImageMapAttributes.IMAGE_SAVED_SRC);
|
84
|
+
}
|
85
|
+
|
86
|
+
drawMap(originalImageSrc, width, height, areas, (oldsrc, newsrc) =>{
|
87
|
+
model.enqueueChange(writer => {
|
88
|
+
writer.setAttribute(ImageMapAttributes.IMAGE_SRC, newsrc, imageElement);
|
89
|
+
} );
|
63
90
|
});
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
91
|
+
|
92
|
+
let attrs = {};
|
93
|
+
attrs[ImageMapAttributes.MAP_NAME] = newMapName;
|
94
|
+
attrs[ImageMapAttributes.MAP_AREAS] = JSON.stringify(areas);
|
95
|
+
attrs[ImageMapAttributes.MAP_WIDTH] = width;
|
96
|
+
attrs[ImageMapAttributes.MAP_HEIGHT] = height;
|
97
|
+
const mapElement = writer.createElement(ImageMapElements.MAP, attrs);
|
70
98
|
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
if(
|
75
|
-
writer.
|
99
|
+
writer.insert(mapElement, writer.createPositionAt(imageElement, "after"));
|
100
|
+
}
|
101
|
+
else {
|
102
|
+
if(imageElement.hasAttribute(ImageMapAttributes.IMAGE_USE_MAP)){
|
103
|
+
writer.removeAttribute(ImageMapAttributes.IMAGE_USE_MAP, imageElement);
|
104
|
+
}
|
105
|
+
|
106
|
+
if(imageElement.hasAttribute(ImageMapAttributes.IMAGE_SAVED_SRC)){
|
107
|
+
|
108
|
+
let src = imageElement.getAttribute(ImageMapAttributes.IMAGE_SAVED_SRC);
|
109
|
+
if(!!src){
|
110
|
+
writer.setAttribute(ImageMapAttributes.IMAGE_SRC, src, imageElement);
|
111
|
+
}
|
112
|
+
writer.removeAttribute(ImageMapAttributes.IMAGE_SAVED_SRC, imageElement);
|
113
|
+
}
|
114
|
+
|
115
|
+
if(imageElement.hasAttribute(ImageMapAttributes.IMAGE_HEIGHT)){
|
116
|
+
writer.removeAttribute(ImageMapAttributes.IMAGE_HEIGHT, imageElement);
|
76
117
|
}
|
77
|
-
writer.removeAttribute(ImageMapAttributes.IMAGE_SAVED_SRC, imageElement);
|
78
|
-
}
|
79
|
-
|
80
|
-
if(imageElement.hasAttribute(ImageMapAttributes.IMAGE_HEIGHT)){
|
81
|
-
writer.removeAttribute(ImageMapAttributes.IMAGE_HEIGHT, imageElement);
|
82
|
-
}
|
83
118
|
|
84
|
-
|
85
|
-
|
119
|
+
if(imageElement.hasAttribute(ImageMapAttributes.IMAGE_WIDTH)){
|
120
|
+
writer.removeAttribute(ImageMapAttributes.IMAGE_WIDTH, imageElement);
|
121
|
+
}
|
86
122
|
}
|
87
|
-
|
88
|
-
|
89
|
-
|
123
|
+
});
|
124
|
+
},
|
125
|
+
{ once: true });
|
90
126
|
}
|
91
127
|
}
|
92
128
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
import { Command } from '@ckeditor/ckeditor5-core';
|
3
3
|
import { isImage } from '@ckeditor/ckeditor5-image/src/image/utils';
|
4
|
-
import { ImageMapAttributes, trimStart, parsePixelToFloat, findFirstMapNode, drawMap, resizeAreaWidth, resizeAreaHeight
|
4
|
+
import { ImageMapAttributes, trimStart, parsePixelToFloat, findFirstMapNode, drawMap, resizeAreaWidth, resizeAreaHeight } from './utils';
|
5
5
|
import { getSelectedImageWidget} from '@ckeditor/ckeditor5-image/src/image/utils';
|
6
6
|
|
7
7
|
export default class ResizeImageMapCommand extends Command {
|
@@ -11,7 +11,7 @@ export default class ResizeImageMapCommand extends Command {
|
|
11
11
|
this.isEnabled = isImage(element) && element.hasAttribute(ImageMapAttributes.IMAGE_USE_MAP);
|
12
12
|
}
|
13
13
|
|
14
|
-
execute(
|
14
|
+
execute() {
|
15
15
|
const editor = this.editor;
|
16
16
|
const model = editor.model;
|
17
17
|
const view = this.editor.editing.view;
|
@@ -68,9 +68,8 @@ export default class ResizeImageMapCommand extends Command {
|
|
68
68
|
writer.setAttribute(ImageMapAttributes.IMAGE_HEIGHT, newHeight, imageElement);
|
69
69
|
|
70
70
|
drawMap(originalImageSrc, newWidth, newHeight, areas, (oldsrc, newsrc) =>{
|
71
|
-
model.enqueueChange(writer
|
71
|
+
model.enqueueChange(writer => {
|
72
72
|
writer.setAttribute(ImageMapAttributes.IMAGE_SRC, newsrc, imageElement);
|
73
|
-
this.fire(createResizedEvent(mapName));
|
74
73
|
});
|
75
74
|
});
|
76
75
|
});
|
@@ -34,7 +34,6 @@ export const ImageMapAttributes = {
|
|
34
34
|
}
|
35
35
|
|
36
36
|
export const ImageMapCommands = {
|
37
|
-
OPEN: 'openImageMap',
|
38
37
|
INSERT: 'insertImageMap',
|
39
38
|
RESIZE: 'resizeImageMap'
|
40
39
|
}
|
@@ -44,18 +43,6 @@ export const ImageMapElements = {
|
|
44
43
|
IMAGE: 'image'//It is already defined by the image plugin
|
45
44
|
}
|
46
45
|
|
47
|
-
export function createInsertedEvent(mapname){
|
48
|
-
return trimStart(mapname, '#') + '_inserted';
|
49
|
-
}
|
50
|
-
|
51
|
-
export function createRemovedEvent(mapname){
|
52
|
-
return trimStart(mapname, '#') + '_removed';
|
53
|
-
}
|
54
|
-
|
55
|
-
export function createResizedEvent(mapname){
|
56
|
-
return trimStart(mapname, '#') + '_resized';
|
57
|
-
}
|
58
|
-
|
59
46
|
export function trimStart(text, charToRemove){
|
60
47
|
if(text && text.length > 0){
|
61
48
|
if(text.charAt(0) == charToRemove){
|
@@ -10,19 +10,19 @@ import { toMap } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
* The default DateTime pattern is dd/MM/yyyy hh:mm:ss aaa
|
11
11
|
*
|
12
12
|
* DateTime Patterns:
|
13
|
-
*
|
13
|
+
*
|
14
14
|
* yy = 2-digit year; yyyy = full year
|
15
|
-
*
|
15
|
+
*
|
16
16
|
* M = digit month; MM = 2-digit month
|
17
|
-
*
|
17
|
+
*
|
18
18
|
* d = digit day; dd = 2-digit day
|
19
|
-
*
|
19
|
+
*
|
20
20
|
* h = hours am/pm; hh = 2-digit hours am/pm; H = hours; HH = 2-digit hours
|
21
|
-
*
|
21
|
+
*
|
22
22
|
* m = minutes; mm = 2-digit minutes; aaa = AM/PM
|
23
|
-
*
|
23
|
+
*
|
24
24
|
* s = seconds; ss = 2-digit seconds
|
25
|
-
*
|
25
|
+
*
|
26
26
|
* S = miliseconds
|
27
27
|
*/
|
28
28
|
export default class Timestamp extends Plugin {
|
@@ -37,7 +37,7 @@ export default class Timestamp extends Plugin {
|
|
37
37
|
buttonView.set( {
|
38
38
|
label: t('Timestamp'),
|
39
39
|
icon: timestampIcon,
|
40
|
-
withText:
|
40
|
+
withText: true,
|
41
41
|
tooltip: true
|
42
42
|
} );
|
43
43
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
3
|
-
import
|
3
|
+
import informationIcon from '../../themes/icons/information.svg';
|
4
4
|
import * as QMSCKEditorConstant from '../common/qmsCKEditorConstant';
|
5
5
|
import * as QMSCKEditorService from '../common/qmsCKEditorService';
|
6
6
|
import ActionsView from './ui/actionsview';
|
@@ -12,7 +12,7 @@ export default class TooltipUI extends Plugin {
|
|
12
12
|
static get requires() {
|
13
13
|
return [ContextualBalloon];
|
14
14
|
}
|
15
|
-
|
15
|
+
|
16
16
|
static get pluginName() {
|
17
17
|
return 'TooltipUI';
|
18
18
|
}
|
@@ -24,25 +24,25 @@ export default class TooltipUI extends Plugin {
|
|
24
24
|
get _isInBalloon() {
|
25
25
|
return this._balloon.hasView(this._actionView);
|
26
26
|
}
|
27
|
-
|
27
|
+
|
28
28
|
init() {
|
29
29
|
const editor = this.editor;
|
30
30
|
const t = editor.t;
|
31
31
|
const view = editor.editing.view;
|
32
|
-
|
32
|
+
|
33
33
|
view.addObserver(ClickObserver);
|
34
34
|
this._createActionsView();
|
35
|
-
|
35
|
+
|
36
36
|
editor.ui.componentFactory.add('tooltip', locale => {
|
37
37
|
const buttonView = new ButtonView(locale);
|
38
38
|
|
39
39
|
buttonView.set({
|
40
40
|
label: t('Tooltip'),
|
41
|
-
icon:
|
42
|
-
withText:
|
41
|
+
icon: informationIcon,
|
42
|
+
withText: true,
|
43
43
|
tooltip: true
|
44
44
|
});
|
45
|
-
|
45
|
+
|
46
46
|
// Bind button to the command.
|
47
47
|
const insertTooltipCommand = editor.commands.get(INSERT_TOOLTIP_COMMAND);
|
48
48
|
buttonView.bind('isEnabled').to(insertTooltipCommand, 'isEnabled' );
|
@@ -55,26 +55,26 @@ export default class TooltipUI extends Plugin {
|
|
55
55
|
return buttonView;
|
56
56
|
});
|
57
57
|
}
|
58
|
-
|
58
|
+
|
59
59
|
destroy() {
|
60
60
|
super.destroy();
|
61
61
|
this._actionView.destroy();
|
62
62
|
}
|
63
|
-
|
63
|
+
|
64
64
|
_createActionsView() {
|
65
65
|
const editor = this.editor;
|
66
66
|
const view = editor.editing.view;
|
67
67
|
const viewDocument = view.document;
|
68
68
|
this._balloon = this.editor.plugins.get('ContextualBalloon');
|
69
|
-
this._actionView = new ActionsView(editor.locale);
|
69
|
+
this._actionView = new ActionsView(editor.locale);
|
70
70
|
|
71
71
|
const insertTooltipCommand = editor.commands.get(INSERT_TOOLTIP_COMMAND);
|
72
72
|
const removeTooltipCommand = editor.commands.get(REMOVE_TOOLTIP_COMMAND);
|
73
|
-
|
73
|
+
|
74
74
|
this._actionView.bind(TOOLTIP_ATTRIBUTE).to( insertTooltipCommand, 'value');
|
75
75
|
this._actionView.editButtonView.bind('isEnabled').to(insertTooltipCommand);
|
76
76
|
this._actionView.removeButtonView.bind('isEnabled').to(removeTooltipCommand);
|
77
|
-
|
77
|
+
|
78
78
|
this.listenTo(this._actionView, 'edit', () => {
|
79
79
|
const tooltip = { text: '', content: '' };
|
80
80
|
const selectedElement = this._getSelectedTooltipElement();
|
@@ -93,7 +93,7 @@ export default class TooltipUI extends Plugin {
|
|
93
93
|
editor.execute(REMOVE_TOOLTIP_COMMAND);
|
94
94
|
this._hideActionsView(true);
|
95
95
|
});
|
96
|
-
|
96
|
+
|
97
97
|
this._actionView.keystrokes.set('Esc', (data, cancel) => {
|
98
98
|
this._hideActionsView(true);
|
99
99
|
cancel();
|
@@ -106,7 +106,7 @@ export default class TooltipUI extends Plugin {
|
|
106
106
|
this._showActionsView();
|
107
107
|
}
|
108
108
|
});
|
109
|
-
|
109
|
+
|
110
110
|
// Close on click outside of balloon panel element.
|
111
111
|
clickOutsideHandler({
|
112
112
|
emitter: this._actionView,
|
@@ -124,18 +124,18 @@ export default class TooltipUI extends Plugin {
|
|
124
124
|
const viewDocument = editor.editing.view.document;
|
125
125
|
//const command = editor.commands.get('imageTextAlternative');
|
126
126
|
//const labeledInput = this._actionView.labeledInput;
|
127
|
-
|
127
|
+
|
128
128
|
if (!this._isInBalloon) {
|
129
129
|
this._balloon.add({
|
130
130
|
view: this._actionView,
|
131
131
|
position: this._getBalloonPositionData()
|
132
132
|
});
|
133
133
|
}
|
134
|
-
|
134
|
+
|
135
135
|
// Reposition the balloon or hide the form if an tooltip is no longer selected.
|
136
136
|
const prevSelectedElement = this._getSelectedTooltipElement();
|
137
137
|
const prevSelectionParent = getSelectionParent(viewDocument);
|
138
|
-
|
138
|
+
|
139
139
|
this.listenTo(editor.ui, 'update', () => {
|
140
140
|
const selectedElement = this._getSelectedTooltipElement();
|
141
141
|
const selectionParent = getSelectionParent(viewDocument);
|
@@ -143,9 +143,9 @@ export default class TooltipUI extends Plugin {
|
|
143
143
|
if ((prevSelectedElement && !selectedElement) || (!prevSelectedElement && selectionParent !== prevSelectionParent)) {
|
144
144
|
this._hideActionsView(true);
|
145
145
|
}
|
146
|
-
else if (this._isVisible)
|
146
|
+
else if (this._isVisible)
|
147
147
|
{
|
148
|
-
this._balloon.updatePosition(this._getBalloonPositionData());
|
148
|
+
this._balloon.updatePosition(this._getBalloonPositionData());
|
149
149
|
}
|
150
150
|
});
|
151
151
|
}
|
@@ -162,7 +162,7 @@ export default class TooltipUI extends Plugin {
|
|
162
162
|
if (!this._isInBalloon) {
|
163
163
|
return;
|
164
164
|
}
|
165
|
-
|
165
|
+
|
166
166
|
if (this._actionView.focusTracker.isFocused) {
|
167
167
|
this._actionView.removeButtonView.focus();
|
168
168
|
}
|
@@ -179,7 +179,7 @@ export default class TooltipUI extends Plugin {
|
|
179
179
|
const selection = view.document.selection;
|
180
180
|
if (selection.isCollapsed) {
|
181
181
|
return findTooltipElementAncestor(selection.getFirstPosition());
|
182
|
-
}
|
182
|
+
}
|
183
183
|
else {
|
184
184
|
// The range for fully selected link is usually anchored in adjacent text nodes.
|
185
185
|
// Trim it to get closer to the actual link element.
|
@@ -193,10 +193,11 @@ export default class TooltipUI extends Plugin {
|
|
193
193
|
// Check if the link element is fully selected.
|
194
194
|
if (view.createRangeIn(startTooltip).getTrimmed().isEqual(range)) {
|
195
195
|
return startTooltip;
|
196
|
-
}
|
196
|
+
}
|
197
197
|
else {
|
198
198
|
return null;
|
199
199
|
}
|
200
200
|
}
|
201
201
|
}
|
202
202
|
}
|
203
|
+
|
@@ -1 +1,50 @@
|
|
1
|
-
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4
|
+
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
5
|
+
<g>
|
6
|
+
<g>
|
7
|
+
<g>
|
8
|
+
<path d="M256,85.333c-23.531,0-42.667,19.135-42.667,42.667s19.135,42.667,42.667,42.667s42.667-19.135,42.667-42.667
|
9
|
+
S279.531,85.333,256,85.333z M256,149.333c-11.76,0-21.333-9.573-21.333-21.333s9.573-21.333,21.333-21.333
|
10
|
+
s21.333,9.573,21.333,21.333S267.76,149.333,256,149.333z"/>
|
11
|
+
<path d="M288,192h-85.333c-5.896,0-10.667,4.771-10.667,10.667v42.667c0,5.896,4.771,10.667,10.667,10.667h10.667v160
|
12
|
+
c0,5.896,4.771,10.667,10.667,10.667h64c5.896,0,10.667-4.771,10.667-10.667V202.667C298.667,196.771,293.896,192,288,192z
|
13
|
+
M277.333,405.333h-42.667v-160c0-5.896-4.771-10.667-10.667-10.667h-10.667v-21.333h64V405.333z"/>
|
14
|
+
<path d="M256,0C114.844,0,0,114.844,0,256s114.844,256,256,256s256-114.844,256-256S397.156,0,256,0z M256,490.667
|
15
|
+
C126.604,490.667,21.333,385.396,21.333,256S126.604,21.333,256,21.333S490.667,126.604,490.667,256S385.396,490.667,256,490.667
|
16
|
+
z"/>
|
17
|
+
</g>
|
18
|
+
</g>
|
19
|
+
</g>
|
20
|
+
<g>
|
21
|
+
</g>
|
22
|
+
<g>
|
23
|
+
</g>
|
24
|
+
<g>
|
25
|
+
</g>
|
26
|
+
<g>
|
27
|
+
</g>
|
28
|
+
<g>
|
29
|
+
</g>
|
30
|
+
<g>
|
31
|
+
</g>
|
32
|
+
<g>
|
33
|
+
</g>
|
34
|
+
<g>
|
35
|
+
</g>
|
36
|
+
<g>
|
37
|
+
</g>
|
38
|
+
<g>
|
39
|
+
</g>
|
40
|
+
<g>
|
41
|
+
</g>
|
42
|
+
<g>
|
43
|
+
</g>
|
44
|
+
<g>
|
45
|
+
</g>
|
46
|
+
<g>
|
47
|
+
</g>
|
48
|
+
<g>
|
49
|
+
</g>
|
50
|
+
</svg>
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" height="512" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M512 1005.714286C241.371429 1005.714286 18.285714 782.628571 18.285714 512 18.285714 241.371429 241.371429 18.285714 512 18.285714c270.628571 0 493.714286 223.085714 493.714286 493.714286C1005.714286 782.628571 782.628571 1005.714286 512 1005.714286zM512 76.8C270.628571 76.8 76.8 270.628571 76.8 512S270.628571 947.2 512 947.2c241.371429 0 435.2-193.828571 435.2-435.2S753.371429 76.8 512 76.8zM709.485714 669.257143c-3.657143 0-10.971429 0-14.628571-3.657143l-215.771429-120.685714L479.085714 256c0-14.628571 14.628571-29.257143 29.257143-29.257143s29.257143 14.628571 29.257143 29.257143L537.6 512l182.857143 102.4c14.628571 7.314286 18.285714 25.6 10.971429 40.228571C731.428571 661.942857 720.457143 669.257143 709.485714 669.257143z" /></svg>
|
@@ -37,7 +37,7 @@
|
|
37
37
|
bottom:0;
|
38
38
|
left:0;
|
39
39
|
right:0;
|
40
|
-
margin-bottom:
|
40
|
+
margin-bottom: 17px;
|
41
41
|
height:50px;
|
42
42
|
width:100%;
|
43
43
|
}
|
@@ -151,20 +151,6 @@
|
|
151
151
|
width: 70%;
|
152
152
|
float: none;
|
153
153
|
}
|
154
|
-
|
155
|
-
::ng-deep .object-property[data-property$="/fill"] {
|
156
|
-
width: 100%;
|
157
|
-
}
|
158
|
-
::ng-deep .object-property[data-property$="/stroke"]
|
159
|
-
{
|
160
|
-
width: 100%;
|
161
|
-
}
|
162
|
-
::ng-deep .field[data-field$="/fill"] {
|
163
|
-
width: 100%;
|
164
|
-
}
|
165
|
-
::ng-deep .field[data-field$="/stroke"] {
|
166
|
-
width: 100%;
|
167
|
-
}
|
168
154
|
}
|
169
155
|
|
170
156
|
|
@@ -1,8 +1,4 @@
|
|
1
1
|
/* #region margin-top */
|
2
|
-
.mt-n4{
|
3
|
-
margin-top: -4px !important;
|
4
|
-
}
|
5
|
-
|
6
2
|
.mt5 {
|
7
3
|
margin-top: 5px !important;
|
8
4
|
}
|
@@ -15,23 +11,14 @@
|
|
15
11
|
margin-top: 7px !important;
|
16
12
|
}
|
17
13
|
|
18
|
-
.mt8 {
|
19
|
-
margin-top: 8px !important;
|
20
|
-
}
|
21
|
-
|
22
14
|
.mt15 {
|
23
15
|
margin-top: 15px !important;
|
24
16
|
}
|
25
17
|
|
26
|
-
|
27
18
|
.mt20 {
|
28
19
|
margin-top: 20px !important;
|
29
20
|
}
|
30
21
|
|
31
|
-
.mt24 {
|
32
|
-
margin-top: 24px !important;
|
33
|
-
}
|
34
|
-
|
35
22
|
.mt30 {
|
36
23
|
margin-top: 30px !important;
|
37
24
|
}
|
@@ -148,13 +135,6 @@
|
|
148
135
|
|
149
136
|
/* #endregion */
|
150
137
|
|
151
|
-
/* #region padding */
|
152
|
-
.pa0 {
|
153
|
-
padding: 0px !important;
|
154
|
-
}
|
155
|
-
|
156
|
-
/* #endregion */
|
157
|
-
|
158
138
|
|
159
139
|
/* #region font-size*/
|
160
140
|
.fs12 {
|
@@ -172,10 +152,6 @@
|
|
172
152
|
.fs22 {
|
173
153
|
font-size: 22px !important;
|
174
154
|
}
|
175
|
-
|
176
|
-
.fs32 {
|
177
|
-
font-size: 32px !important;
|
178
|
-
}
|
179
155
|
/* #endregion */
|
180
156
|
|
181
157
|
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export class CKEditorLinkConst {
|
2
|
-
}
|
3
|
-
CKEditorLinkConst.FOLDER_PARTIAL_URL = '/folder/';
|
4
|
-
CKEditorLinkConst.DOCUMENT_PARTIAL_URL = '/document/';
|
5
|
-
CKEditorLinkConst.AREA_PARTIAL_URL = '/area/detail/';
|
6
|
-
CKEditorLinkConst.PROCESS_PARTIAL_URL = '/process-detail/';
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2tlZGl0b3JMaW5rLmNvbnN0YW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcW1zLWFuZ3VsYXIvc3JjL2xpYi9xbXMtY2tlZGl0b3ItY29tcG9uZW50cy9jb21tb24vY29uc3RhbnRzL2NrZWRpdG9yTGluay5jb25zdGFudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQU8saUJBQWlCOztBQUNaLG9DQUFrQixHQUFHLFVBQVUsQ0FBQztBQUNoQyxzQ0FBb0IsR0FBRyxZQUFZLENBQUM7QUFDcEMsa0NBQWdCLEdBQUcsZUFBZSxDQUFDO0FBQ25DLHFDQUFtQixHQUFHLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIENLRWRpdG9yTGlua0NvbnN0IHtcclxuICAgIHB1YmxpYyBzdGF0aWMgRk9MREVSX1BBUlRJQUxfVVJMID0gJy9mb2xkZXIvJztcclxuICAgIHB1YmxpYyBzdGF0aWMgRE9DVU1FTlRfUEFSVElBTF9VUkwgPSAnL2RvY3VtZW50Lyc7XHJcbiAgICBwdWJsaWMgc3RhdGljIEFSRUFfUEFSVElBTF9VUkwgPSAnL2FyZWEvZGV0YWlsLyc7XHJcbiAgICBwdWJsaWMgc3RhdGljIFBST0NFU1NfUEFSVElBTF9VUkwgPSAnL3Byb2Nlc3MtZGV0YWlsLyc7XHJcbn1cclxuIl19
|
package/esm2015/lib/qms-ckeditor-components/common/enums/shape-flow-chart-connection-type.js
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
export var ShapeFlowChartConnectionType;
|
2
|
-
(function (ShapeFlowChartConnectionType) {
|
3
|
-
ShapeFlowChartConnectionType[ShapeFlowChartConnectionType["Activity"] = 1] = "Activity";
|
4
|
-
ShapeFlowChartConnectionType[ShapeFlowChartConnectionType["DocumentOrProcess"] = 2] = "DocumentOrProcess";
|
5
|
-
ShapeFlowChartConnectionType[ShapeFlowChartConnectionType["Link"] = 3] = "Link";
|
6
|
-
ShapeFlowChartConnectionType[ShapeFlowChartConnectionType["Attachment"] = 4] = "Attachment";
|
7
|
-
})(ShapeFlowChartConnectionType || (ShapeFlowChartConnectionType = {}));
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhcGUtZmxvdy1jaGFydC1jb25uZWN0aW9uLXR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9xbXMtYW5ndWxhci9zcmMvbGliL3Ftcy1ja2VkaXRvci1jb21wb25lbnRzL2NvbW1vbi9lbnVtcy9zaGFwZS1mbG93LWNoYXJ0LWNvbm5lY3Rpb24tdHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSw0QkFLWDtBQUxELFdBQVksNEJBQTRCO0lBQ3BDLHVGQUFZLENBQUE7SUFDWix5R0FBcUIsQ0FBQTtJQUNyQiwrRUFBUSxDQUFBO0lBQ1IsMkZBQWMsQ0FBQTtBQUNsQixDQUFDLEVBTFcsNEJBQTRCLEtBQTVCLDRCQUE0QixRQUt2QyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIFNoYXBlRmxvd0NoYXJ0Q29ubmVjdGlvblR5cGUge1xyXG4gICAgQWN0aXZpdHkgPSAxLFxyXG4gICAgRG9jdW1lbnRPclByb2Nlc3MgPSAyLFxyXG4gICAgTGluayA9IDMsXHJcbiAgICBBdHRhY2htZW50ID0gNFxyXG59XHJcbiJdfQ==
|