qms-angular 1.0.70 → 1.0.74
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 +2010 -606
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/components/button/button.js +2 -2
- package/esm2015/lib/components/qms-navigation-drawer/qms-navigation-drawer.component.js +5 -3
- package/esm2015/lib/components/qms-navigation-drawer/qms-navigation-drawer.module.js +4 -4
- package/esm2015/lib/components/qms-paginator/index.js +2 -0
- package/esm2015/lib/components/qms-paginator/public_api.js +3 -0
- package/esm2015/lib/components/qms-paginator/qms-paginator.component.js +173 -0
- package/esm2015/lib/components/qms-paginator/qms-paginator.module.js +34 -0
- package/esm2015/lib/components/qms-status-dropdown/qms-status-dropdown.component.js +2 -2
- package/esm2015/lib/components/range-slider/directives/range-slider-lockup.directive.js +20 -0
- package/esm2015/lib/components/range-slider/directives/range-slider.directive.js +34 -0
- package/esm2015/lib/components/range-slider/index.js +2 -0
- package/esm2015/lib/components/range-slider/public-api.js +4 -0
- package/esm2015/lib/components/range-slider/range-slider.module.js +22 -0
- package/esm2015/lib/components/related/popup/related-popup.component.js +1 -1
- package/esm2015/lib/components/select-include-children/select-include-children.component.js +112 -45
- package/esm2015/lib/components/select-one/select-one.component.js +50 -3
- package/esm2015/lib/components/side-sheet/directives/drawer-content.directive.js +20 -0
- package/esm2015/lib/components/side-sheet/directives/drawer-header-action.directive.js +20 -0
- package/esm2015/lib/components/side-sheet/directives/drawer-header.directive.js +20 -0
- package/esm2015/lib/components/side-sheet/directives/drawer.directive.js +20 -0
- package/esm2015/lib/components/side-sheet/index.js +2 -0
- package/esm2015/lib/components/side-sheet/public-api.js +6 -0
- package/esm2015/lib/components/side-sheet/side-sheet.module.js +28 -0
- package/esm2015/lib/components/tree/tree.component.js +15 -19
- package/esm2015/lib/components/treeNew/tree.component.js +6 -3
- package/esm2015/lib/directives/table/table-row.directive.js +42 -0
- package/esm2015/lib/directives/table/table.directive.js +13 -60
- package/esm2015/lib/model/en.js +38 -3
- package/esm2015/lib/model/no.js +37 -2
- package/esm2015/lib/qms-angular.module.js +5 -24
- package/esm2015/lib/qms-ckeditor-components/common/bpmn/inspector.function.js +68 -16
- package/esm2015/lib/qms-ckeditor-components/common/classes/qmsUploadAdapter.js +89 -0
- package/esm2015/lib/qms-ckeditor-components/common/constants/ckeditorEvent.constant.js +7 -1
- package/esm2015/lib/qms-ckeditor-components/common/constants/ckeditorFlowchart.const.js +10 -1
- package/esm2015/lib/qms-ckeditor-components/common/constants/ckeditorLink.constant.js +7 -0
- package/esm2015/lib/qms-ckeditor-components/common/enums/document-type.enum.js +2 -1
- package/esm2015/lib/qms-ckeditor-components/common/enums/shape-flow-chart-connection-type.js +8 -0
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-data.model.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-flowchart-template.model.js +9 -0
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-flowchart.model.js +9 -0
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-save-as-template.model.js +3 -0
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-video-tree.model.js +4 -0
- package/esm2015/lib/qms-ckeditor-components/common/models/wproofreader-config.model.js +6 -0
- package/esm2015/lib/qms-ckeditor-components/common/module/confirm/qms-ckeditor-confirm.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-about/qms-ckeditor-about.component.js +38 -0
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.js +564 -34
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/save-template/save-template.component.js +46 -18
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-fullscreen/qms-ckeditor-fullscreen.component.js +1 -46
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-imagemap/qms-ckeditor-imagemap.component.js +9 -8
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/attachments/link-attachment.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/qms-ckeditor-link.component.js +5 -2
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-load-template/qms-ckeditor-load-template.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-relation/qmsckeditor-related.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-template/qms-ckeditor-template.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-tooltip/qms-ckeditor-tooltip.component.js +4 -5
- package/esm2015/lib/qms-ckeditor-components/models/qms-ckeditor-bpmn-data.model.js +8 -0
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +184 -28
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.module.js +8 -2
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-bpmn.service.js +58 -20
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-flowchart.service.js +26 -0
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-tree.service.js +4 -1
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-upload.service.js +20 -0
- package/esm2015/public-api.js +10 -7
- package/esm2015/qms-angular.js +12 -8
- package/fesm2015/qms-angular.js +1900 -572
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/components/button/button.d.ts +1 -1
- package/lib/components/qms-navigation-drawer/qms-navigation-drawer.component.d.ts +1 -0
- package/lib/components/qms-paginator/index.d.ts +1 -0
- package/lib/components/qms-paginator/public_api.d.ts +2 -0
- package/lib/components/qms-paginator/qms-paginator.component.d.ts +51 -0
- package/lib/components/qms-paginator/qms-paginator.module.d.ts +2 -0
- package/lib/{directives/range-slider → components/range-slider/directives}/range-slider-lockup.directive.d.ts +0 -0
- package/lib/{directives/range-slider → components/range-slider/directives}/range-slider.directive.d.ts +0 -0
- package/lib/components/range-slider/index.d.ts +1 -0
- package/lib/components/range-slider/public-api.d.ts +3 -0
- package/lib/components/range-slider/range-slider.module.d.ts +2 -0
- package/lib/components/select-include-children/select-include-children.component.d.ts +2 -1
- package/lib/components/select-one/select-one.component.d.ts +4 -0
- package/lib/{directives/side-sheet → components/side-sheet/directives}/drawer-content.directive.d.ts +0 -0
- package/lib/{directives/side-sheet → components/side-sheet/directives}/drawer-header-action.directive.d.ts +0 -0
- package/lib/{directives/side-sheet → components/side-sheet/directives}/drawer-header.directive.d.ts +0 -0
- package/lib/{directives/side-sheet → components/side-sheet/directives}/drawer.directive.d.ts +0 -0
- package/lib/components/side-sheet/index.d.ts +1 -0
- package/lib/components/side-sheet/public-api.d.ts +5 -0
- package/lib/components/side-sheet/side-sheet.module.d.ts +2 -0
- package/lib/directives/table/table-row.directive.d.ts +13 -0
- package/lib/directives/table/table.directive.d.ts +1 -11
- package/lib/model/en.d.ts +35 -0
- package/lib/model/no.d.ts +35 -0
- package/lib/qms-ckeditor-components/common/bpmn/inspector.function.d.ts +28 -0
- package/lib/qms-ckeditor-components/common/classes/qmsUploadAdapter.d.ts +18 -0
- package/lib/qms-ckeditor-components/common/constants/ckeditorEvent.constant.d.ts +6 -0
- package/lib/qms-ckeditor-components/common/constants/ckeditorFlowchart.const.d.ts +9 -0
- package/lib/qms-ckeditor-components/common/constants/ckeditorLink.constant.d.ts +6 -0
- package/lib/qms-ckeditor-components/common/enums/document-type.enum.d.ts +1 -0
- package/lib/qms-ckeditor-components/common/enums/shape-flow-chart-connection-type.d.ts +6 -0
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-data.model.d.ts +5 -0
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-flowchart-template.model.d.ts +7 -0
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-flowchart.model.d.ts +7 -0
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-save-as-template.model.d.ts +5 -0
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-video-tree.model.d.ts +5 -0
- package/lib/qms-ckeditor-components/common/models/wproofreader-config.model.d.ts +25 -0
- package/lib/qms-ckeditor-components/components/qms-ckeditor-about/qms-ckeditor-about.component.d.ts +15 -0
- package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.d.ts +88 -4
- package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/save-template/save-template.component.d.ts +8 -2
- package/lib/qms-ckeditor-components/components/qms-ckeditor-imagemap/qms-ckeditor-imagemap.component.d.ts +2 -1
- package/lib/qms-ckeditor-components/models/qms-ckeditor-bpmn-data.model.d.ts +7 -0
- package/lib/qms-ckeditor-components/qms-ckeditor.component.d.ts +17 -5
- package/lib/qms-ckeditor-components/services/qms-ckeditor-bpmn.service.d.ts +1 -0
- package/lib/qms-ckeditor-components/services/qms-ckeditor-flowchart.service.d.ts +10 -0
- package/lib/qms-ckeditor-components/services/qms-ckeditor-tree.service.d.ts +2 -0
- package/lib/qms-ckeditor-components/services/qms-ckeditor-upload.service.d.ts +5 -0
- package/lib.theme.scss +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +6 -6
- package/qms-angular.d.ts +11 -7
- package/qms-angular.metadata.json +1 -1
- package/src/assets/images/ckeditor5.svg +1 -0
- package/src/assets/jointjs/js/rappid.js +55919 -55836
- package/src/assets/jointjs/scss/bpmn.scss +2 -1
- 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/az.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/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/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/lv.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/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/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/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/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 +23 -0
- package/src/assets/qms-ckeditor-plugin/package.json +2 -0
- package/src/assets/qms-ckeditor-plugin/src/ckeditor.js +18 -4
- package/src/assets/qms-ckeditor-plugin/src/plugins/aboutckeditor/aboutckeditor.js +28 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/bpmn/bpmndialogcommand.js +74 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/bpmn/qmsCKEditorBpmnPlugin.js +6 -44
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/lang/contexts.json +3 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/lang/translations/de.po +21 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/lang/translations/en.po +21 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/lang/translations/gl.po +21 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/lang/translations/hu.po +21 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/lang/translations/it.po +21 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/lang/translations/ru.po +21 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/lang/translations/zh.po +21 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/src/index.js +10 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/src/sourceediting.js +386 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/src/utils/formathtml.js +142 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/theme/icons/source-editing.svg +1 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/theme/sourceediting.css +48 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/common/qmsCKEditorConstant.js +11 -1
- package/src/assets/qms-ckeditor-plugin/src/plugins/common/qmsCKEditorService.js +21 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/common/qmsCKEditorUtil.js +29 -7
- package/src/assets/qms-ckeditor-plugin/src/plugins/fullscreen/qmsCKEditorFullscreenPlugin.js +22 -15
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/converters.js +93 -92
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/imagemap.js +4 -4
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/imagemapcommand.js +93 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/imagemapdialogcommand.js +59 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/imagemapediting.js +92 -87
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/imagemapui.js +13 -14
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/resizeimagemapcommand.js +25 -24
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/utils.js +40 -49
- package/src/assets/qms-ckeditor-plugin/src/plugins/link/linkcommand.js +131 -176
- package/src/assets/qms-ckeditor-plugin/src/plugins/link/linkdialogcommand.js +88 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/link/linkediting.js +2 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/link/linkui.js +41 -32
- package/src/assets/qms-ckeditor-plugin/src/plugins/tableofcontents/tableofcontents.js +14 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/tableofcontents/tableofcontentscommand.js +87 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/tableofcontents/tableofcontentsediting.js +59 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/tableofcontents/tableofcontentsui.js +35 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/tableofcontents/utils.js +62 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/template/loadtemplatedialogcommand.js +14 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/template/qmsCKEditorLoadTemplatePlugin.js +10 -12
- package/src/assets/qms-ckeditor-plugin/src/plugins/template/qmsCKEdtiorTemplatePlugin.js +10 -7
- package/src/assets/qms-ckeditor-plugin/src/plugins/template/templatedialogcommand.js +9 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/timestamp/timestamp.js +15 -18
- package/src/assets/qms-ckeditor-plugin/src/plugins/timestamp/timestampcommand.js +17 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/tooltip/removetooltipcommand.js +42 -26
- package/src/assets/qms-ckeditor-plugin/src/plugins/tooltip/tooltip.js +3 -3
- package/src/assets/qms-ckeditor-plugin/src/plugins/tooltip/tooltipcommand.js +75 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/tooltip/tooltipdialogcommand.js +68 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/tooltip/tooltipediting.js +206 -131
- package/src/assets/qms-ckeditor-plugin/src/plugins/tooltip/tooltipui.js +424 -136
- package/src/assets/qms-ckeditor-plugin/src/plugins/tooltip/ui/actionsview.js +67 -12
- package/src/assets/qms-ckeditor-plugin/src/plugins/tooltip/utils.js +17 -55
- package/src/assets/qms-ckeditor-plugin/src/plugins/video/autovideo.js +1 -5
- package/src/assets/qms-ckeditor-plugin/src/plugins/video/video/videoediting.js +5 -2
- package/src/assets/qms-ckeditor-plugin/src/plugins/video/videoupload/browsevideodialogcommand.js +25 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/video/videoupload/uploadvideocommand.js +3 -16
- package/src/assets/qms-ckeditor-plugin/src/plugins/video/videoupload/videouploadediting.js +4 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/video/videoupload/videouploadui.js +12 -23
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/fullscreen_exit.svg +1 -0
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/information.svg +1 -50
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/table-excel.svg +44 -0
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/timestamp.svg +1 -1
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/tooltip.svg +1 -0
- package/src/assets/qms-ckeditor-plugin/src/themes/styles/heading.css +54 -0
- package/src/assets/qms-ckeditor-plugin/src/themes/styles/tooltip.css +11 -53
- package/src/lib/components/button/button-icon.scss +5 -1
- package/src/lib/components/qms-navigation-drawer/qms-navigation-drawer.component.scss +36 -22
- package/src/lib/components/qms-paginator/qms-paginator.component.scss +143 -0
- package/src/lib/qms-ckeditor-components/components/qms-ckeditor-about/qms-ckeditor-about.component.scss +16 -0
- package/src/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.scss +69 -17
- package/src/lib/qms-ckeditor-components/components/qms-ckeditor-imagemap/qms-ckeditor-imagemap.component.scss +26 -23
- package/src/lib/qms-ckeditor-components/qms-ckeditor.component.scss +24 -0
- package/src/lib/qms-ckeditor-components/styles/_modules.scss +9 -1
- package/src/themes/core/_range-slider.scss +61 -42
- package/src/themes/core/_side-sheet.scss +2 -2
- package/src/themes/core/_table.scss +158 -37
- package/esm2015/lib/directives/range-slider/range-slider-lockup.directive.js +0 -20
- package/esm2015/lib/directives/range-slider/range-slider.directive.js +0 -36
- package/esm2015/lib/directives/side-sheet/drawer-content.directive.js +0 -20
- package/esm2015/lib/directives/side-sheet/drawer-header-action.directive.js +0 -20
- package/esm2015/lib/directives/side-sheet/drawer-header.directive.js +0 -20
- package/esm2015/lib/directives/side-sheet/drawer.directive.js +0 -20
- package/esm2015/lib/qms-ckeditor-components/common/classes/uploadAdapter.js +0 -26
- package/lib/qms-ckeditor-components/common/classes/uploadAdapter.d.ts +0 -5
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/insertimagemapcommand.js +0 -128
- package/src/assets/qms-ckeditor-plugin/src/plugins/tooltip/inserttooltipcommand.js +0 -88
@@ -1,8 +1,8 @@
|
|
1
1
|
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@angular/common'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/radio'), require('@angular/material/dialog'), require('rxjs/operators'), require('@angular/material/autocomplete'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/material/input'), require('@angular/material/card'), require('@angular/material/icon'), require('@angular/material/checkbox'), require('@angular/material/chips'), require('@angular/material/button'), require('@angular/material/core'), require('@angular/material/progress-spinner'), require('@angular/cdk/a11y'), require('@angular/cdk/coercion'), require('@angular/cdk/collections'), require('@angular/platform-browser/animations'), require('moment'), require('@angular/material/list'), require('@angular/material/expansion'), require('@angular/cdk/scrolling'), require('@angular/material/sidenav'), require('@angular/material/tree'), require('@angular/material/menu'), require('@angular/platform-browser'), require('@angular/cdk/tree'), require('@angular/common/http'), require('@angular/material/button-toggle'), require('@angular/material/select'), require('@angular/material/snack-bar'), require('@ckeditor/ckeditor5-angular'), require('jquery'), require('lodash'), require('@angular/material/tooltip'), require('@angular/material/badge'), require('@angular/material/toolbar'), require('@angular/cdk/stepper'), require('@angular/material/stepper'), require('@angular/material/slide-toggle'), require('@angular/cdk/drag-drop')) :
|
3
|
-
typeof define === 'function' && define.amd ? define('qms-angular', ['exports', '@angular/core', 'rxjs', '@angular/common', '@angular/forms', '@angular/material/form-field', '@angular/material/radio', '@angular/material/dialog', 'rxjs/operators', '@angular/material/autocomplete', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/material/input', '@angular/material/card', '@angular/material/icon', '@angular/material/checkbox', '@angular/material/chips', '@angular/material/button', '@angular/material/core', '@angular/material/progress-spinner', '@angular/cdk/a11y', '@angular/cdk/coercion', '@angular/cdk/collections', '@angular/platform-browser/animations', 'moment', '@angular/material/list', '@angular/material/expansion', '@angular/cdk/scrolling', '@angular/material/sidenav', '@angular/material/tree', '@angular/material/menu', '@angular/platform-browser', '@angular/cdk/tree', '@angular/common/http', '@angular/material/button-toggle', '@angular/material/select', '@angular/material/snack-bar', '@ckeditor/ckeditor5-angular', 'jquery', 'lodash', '@angular/material/tooltip', '@angular/material/badge', '@angular/material/toolbar', '@angular/cdk/stepper', '@angular/material/stepper', '@angular/material/slide-toggle', '@angular/cdk/drag-drop'], factory) :
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['qms-angular'] = {}, global.ng.core, global.rxjs, global.ng.common, global.ng.forms, global.ng.material.formField, global.ng.material.radio, global.ng.material.dialog, global.rxjs.operators, global.ng.material.autocomplete, global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.material.input, global.ng.material.card, global.ng.material.icon, global.ng.material.checkbox, global.ng.material.chips, global.ng.material.button, global.ng.material.core, global.ng.material.progressSpinner, global.ng.cdk.a11y, global.ng.cdk.coercion, global.ng.cdk.collections, global.ng.platformBrowser.animations, global.moment, global.ng.material.list, global.ng.material.expansion, global.ng.cdk.scrolling, global.ng.material.sidenav, global.ng.material.tree, global.ng.material.menu, global.ng.platformBrowser, global.ng.cdk.tree, global.ng.common.http, global.ng.material.buttonToggle, global.ng.material.select, global.ng.material.snackBar, global.ckeditor5Angular, global.$$1, global._, global.ng.material.tooltip, global.ng.material.badge, global.ng.material.toolbar, global.ng.cdk.stepper, global.ng.material.stepper, global.ng.material.slideToggle, global.ng.cdk.dragDrop));
|
5
|
-
}(this, (function (exports, i0, rxjs, common, forms, formField, radio, dialog, operators, autocomplete, overlay, portal, input, card, icon, checkbox, chips, button, core, progressSpinner, a11y, coercion, collections, animations, moment, list, expansion, scrolling, sidenav, tree$1, menu, platformBrowser, tree, i1, buttonToggle, select, snackBar, ckeditor5Angular, $$1, _, tooltip, badge, toolbar, stepper$1, stepper, slideToggle, dragDrop) { 'use strict';
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@angular/common'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/radio'), require('@angular/material/dialog'), require('rxjs/operators'), require('@angular/material/autocomplete'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/material/input'), require('@angular/material/card'), require('@angular/material/icon'), require('@angular/material/checkbox'), require('@angular/material/chips'), require('@angular/material/button'), require('@angular/material/core'), require('@angular/material/progress-spinner'), require('@angular/cdk/a11y'), require('@angular/cdk/coercion'), require('@angular/cdk/collections'), require('@angular/platform-browser/animations'), require('moment'), require('@angular/material/list'), require('@angular/material/expansion'), require('@angular/cdk/scrolling'), require('@angular/material/sidenav'), require('@angular/material/tree'), require('@angular/material/menu'), require('@angular/platform-browser'), require('@angular/cdk/tree'), require('@angular/common/http'), require('@angular/material/button-toggle'), require('@angular/material/select'), require('@angular/material/snack-bar'), require('@ckeditor/ckeditor5-angular'), require('jquery'), require('lodash'), require('buffer'), require('@angular/material/tooltip'), require('@angular/material/tabs'), require('@angular/material/progress-bar'), require('@angular/material/badge'), require('@angular/material/toolbar'), require('@angular/cdk/stepper'), require('@angular/material/stepper'), require('@angular/material/slide-toggle'), require('@angular/cdk/drag-drop')) :
|
3
|
+
typeof define === 'function' && define.amd ? define('qms-angular', ['exports', '@angular/core', 'rxjs', '@angular/common', '@angular/forms', '@angular/material/form-field', '@angular/material/radio', '@angular/material/dialog', 'rxjs/operators', '@angular/material/autocomplete', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/material/input', '@angular/material/card', '@angular/material/icon', '@angular/material/checkbox', '@angular/material/chips', '@angular/material/button', '@angular/material/core', '@angular/material/progress-spinner', '@angular/cdk/a11y', '@angular/cdk/coercion', '@angular/cdk/collections', '@angular/platform-browser/animations', 'moment', '@angular/material/list', '@angular/material/expansion', '@angular/cdk/scrolling', '@angular/material/sidenav', '@angular/material/tree', '@angular/material/menu', '@angular/platform-browser', '@angular/cdk/tree', '@angular/common/http', '@angular/material/button-toggle', '@angular/material/select', '@angular/material/snack-bar', '@ckeditor/ckeditor5-angular', 'jquery', 'lodash', 'buffer', '@angular/material/tooltip', '@angular/material/tabs', '@angular/material/progress-bar', '@angular/material/badge', '@angular/material/toolbar', '@angular/cdk/stepper', '@angular/material/stepper', '@angular/material/slide-toggle', '@angular/cdk/drag-drop'], factory) :
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['qms-angular'] = {}, global.ng.core, global.rxjs, global.ng.common, global.ng.forms, global.ng.material.formField, global.ng.material.radio, global.ng.material.dialog, global.rxjs.operators, global.ng.material.autocomplete, global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.material.input, global.ng.material.card, global.ng.material.icon, global.ng.material.checkbox, global.ng.material.chips, global.ng.material.button, global.ng.material.core, global.ng.material.progressSpinner, global.ng.cdk.a11y, global.ng.cdk.coercion, global.ng.cdk.collections, global.ng.platformBrowser.animations, global.moment, global.ng.material.list, global.ng.material.expansion, global.ng.cdk.scrolling, global.ng.material.sidenav, global.ng.material.tree, global.ng.material.menu, global.ng.platformBrowser, global.ng.cdk.tree, global.ng.common.http, global.ng.material.buttonToggle, global.ng.material.select, global.ng.material.snackBar, global.ckeditor5Angular, global.$$1, global._, global.buffer, global.ng.material.tooltip, global.ng.material.tabs, global.ng.material.progressBar, global.ng.material.badge, global.ng.material.toolbar, global.ng.cdk.stepper, global.ng.material.stepper, global.ng.material.slideToggle, global.ng.cdk.dragDrop));
|
5
|
+
}(this, (function (exports, i0, rxjs, common, forms, formField, radio, dialog, operators, autocomplete, overlay, portal, input, card, icon, checkbox, chips, button, core, progressSpinner, a11y, coercion, collections, animations, moment, list, expansion, scrolling, sidenav, tree$1, menu, platformBrowser, tree, i1, buttonToggle, select, snackBar, ckeditor5Angular, $$1, _, buffer, tooltip, tabs, progressBar, badge, toolbar, stepper$1, stepper, slideToggle, dragDrop) { 'use strict';
|
6
6
|
|
7
7
|
function _interopNamespace(e) {
|
8
8
|
if (e && e.__esModule) return e;
|
@@ -97,6 +97,8 @@
|
|
97
97
|
"DOCUMENTS_IN": "Documents in"
|
98
98
|
},
|
99
99
|
"QMSCKEDITOR": {
|
100
|
+
"ID": "ID",
|
101
|
+
"INFORMATION": "Information",
|
100
102
|
"REMOVE_MAP": "Remove Map",
|
101
103
|
"IMAGE_MAP_PROPERTIES": "Image Map Properties",
|
102
104
|
"INSERT_TOOLTIP": "Insert a tooltip",
|
@@ -149,7 +151,7 @@
|
|
149
151
|
"EMAIL_BODY": "Body",
|
150
152
|
"ANCHOR_ATTACHMENT": "Attachments",
|
151
153
|
"ANCHOR_RELATED_DOCUMENT": "Related document",
|
152
|
-
"ADD_DOCUMENT_PROCESS": "Add document/ process",
|
154
|
+
"ADD_DOCUMENT_PROCESS": "Add document / process",
|
153
155
|
"ADD_DOCUMENT": "Add document",
|
154
156
|
"ADD": "Add",
|
155
157
|
"PROCESSES": "Processes",
|
@@ -167,7 +169,26 @@
|
|
167
169
|
"RECTANGLE_DRAW": "Hold down SHIFT for square mode",
|
168
170
|
"SQUARE_DRAW": "Release SHIFT for rectangle mode",
|
169
171
|
"INVALID_URL": "Invalid URL",
|
170
|
-
"REQUIRED_URL": "URL is required"
|
172
|
+
"REQUIRED_URL": "URL is required",
|
173
|
+
"CLOSE": "Close",
|
174
|
+
"DOCUMENT_PROCESS": "Document / Process",
|
175
|
+
"UPLOAD_FILE_NOT_VALID_FORMAT": "The file uploaded is invalid format. Supported file formats: {0}",
|
176
|
+
"UPLOAD_FILE_OVERSIZE": "The file uploaded is over the limit size. The limit size is {0}MB",
|
177
|
+
"UPLOAD_FILE_FAILED": "Failed to upload file.",
|
178
|
+
"ASSISTIVE_TEXT": "Assistive text",
|
179
|
+
"WORDS": "Words",
|
180
|
+
"CHARACTERS": "Characters",
|
181
|
+
"SELECT_VIDEO_FROM_ARCHIVE": "Select video from the archive"
|
182
|
+
},
|
183
|
+
"ABOUT": {
|
184
|
+
"ABOUT_CKEDITOR": "About CKEditor",
|
185
|
+
"CKEDITOR5_VERSION": "CKEditor 5 version",
|
186
|
+
"FOR_LICENSING_INFORMATION_PLEASE_VISIT_OUR_WEBSITE": "For licensing information please visit our website",
|
187
|
+
"ALL_RIGHTS_RESERVED": "All rights reserved",
|
188
|
+
"CHECK": "Check",
|
189
|
+
"FOR_HELP": "for help",
|
190
|
+
"CKEDITOR_USERS_GUIDE": "CKEditor User's Guide",
|
191
|
+
"COPYRIGHT": "Copyright ©"
|
171
192
|
},
|
172
193
|
"BPMN": {
|
173
194
|
"DEFAULT": "Default",
|
@@ -298,6 +319,20 @@
|
|
298
319
|
"TEMPLATE_NAME": "Template name",
|
299
320
|
"TEMPLATE_INFO": "Please input template name",
|
300
321
|
"SELECT_TEMPLATE_INFORMATION": "You must select a template before you do this action.",
|
322
|
+
"CONNECTION": "Connection",
|
323
|
+
"PROPERTIES": "Properties",
|
324
|
+
"BUSINESS_PROCESS_MODEL_AND_NOTATION": "Business Process Model and Notation",
|
325
|
+
"CONNECTED_ATTACHMENT": "Connected attachment",
|
326
|
+
"CONNECTED_DOCUMENT_OR_PROCESS": "Connected document / process",
|
327
|
+
"DELETE_ATTACHMENT": "Delete attachment",
|
328
|
+
"DELETE_DOCUMENT_OR_PROCESS": "Delete document / process",
|
329
|
+
"CHOOSE_ANCHOR_IN_TEXT_OPTIONAL": "Choose anchor in in text (optional)",
|
330
|
+
"RELOAD_ANCHORS": "Reload Anchors",
|
331
|
+
"RESET_TO_ORIGINAL": "Reset to original",
|
332
|
+
"AUTO_LAYOUT_GRAPH": "Auto-layout Graph",
|
333
|
+
"FULLSCREEN": "Fullscreen",
|
334
|
+
"FLOWCHART": "Flowchart",
|
335
|
+
"HANDBOOK": "Handbook",
|
301
336
|
},
|
302
337
|
"QMSCKEDITOR_MESSAGE": {
|
303
338
|
"CONFIRM_DELETE_TEMPLATE": "Are you sure you want to delete this template?",
|
@@ -359,6 +394,8 @@
|
|
359
394
|
"DOCUMENTS_IN": "Dokumenter i"
|
360
395
|
},
|
361
396
|
"QMSCKEDITOR": {
|
397
|
+
"ID": "ID",
|
398
|
+
"INFORMATION": "Informasjon",
|
362
399
|
"REMOVE_MAP": "Fjern kartet",
|
363
400
|
"IMAGE_MAP_PROPERTIES": "Bilde Kart Egenskaper",
|
364
401
|
"INSERT_TOOLTIP": "Sett inn et verktøytips",
|
@@ -429,7 +466,26 @@
|
|
429
466
|
"RECTANGLE_DRAW": "Hold nede SKIFT for kvadratisk modus",
|
430
467
|
"SQUARE_DRAW": "Slipp SKIFT for rektangelmodus",
|
431
468
|
"INVALID_URL": "Ugyldig URL",
|
432
|
-
"REQUIRED_URL": "URL er påkrevd"
|
469
|
+
"REQUIRED_URL": "URL er påkrevd",
|
470
|
+
"CLOSE": "Close",
|
471
|
+
"DOCUMENT_PROCESS": "Dokument / Prosess",
|
472
|
+
"UPLOAD_FILE_NOT_VALID_FORMAT": "Filen som er lastet opp er ugyldig format. Støttede filformater: {0}",
|
473
|
+
"UPLOAD_FILE_OVERSIZE": "Filen som er lastet opp er over grensestørrelsen. Grensestørrelsen er {0}MB",
|
474
|
+
"UPLOAD_FILE_FAILED": "Kunne ikke laste opp filen.",
|
475
|
+
"ASSISTIVE_TEXT": "Hjelpende tekst",
|
476
|
+
"WORDS": "Ord",
|
477
|
+
"CHARACTERS": "Tegn",
|
478
|
+
"SELECT_VIDEO_FROM_ARCHIVE": "Velg video fra arkivet"
|
479
|
+
},
|
480
|
+
"ABOUT": {
|
481
|
+
"ABOUT_CKEDITOR": "Om CKEditor",
|
482
|
+
"CKEDITOR5_VERSION": "CKEditor 5 versjon",
|
483
|
+
"FOR_LICENSING_INFORMATION_PLEASE_VISIT_OUR_WEBSITE": "For lisensieringsinformasjon, besøk vår nettside",
|
484
|
+
"ALL_RIGHTS_RESERVED": "Alle rettigheter er forbeholdt",
|
485
|
+
"CHECK": "Se",
|
486
|
+
"FOR_HELP": "for hjelp",
|
487
|
+
"CKEDITOR_USERS_GUIDE": "brukerhåndboken for CKEditor",
|
488
|
+
"COPYRIGHT": "Opphavsrett ©"
|
433
489
|
},
|
434
490
|
"BPMN": {
|
435
491
|
"DEFAULT": "Standard",
|
@@ -560,6 +616,20 @@
|
|
560
616
|
"TEMPLATE_NAME": "Malnavn",
|
561
617
|
"TEMPLATE_INFO": "Vennligst skriv inn malnavn",
|
562
618
|
"SELECT_TEMPLATE_INFORMATION": "Du må velge en malen før du utfører denne handlingen.",
|
619
|
+
"CONNECTION": "Forbindelse",
|
620
|
+
"PROPERTIES": "Egenskaper",
|
621
|
+
"BUSINESS_PROCESS_MODEL_AND_NOTATION": "Forretningsprosessmodell og notasjon",
|
622
|
+
"CONNECTED_ATTACHMENT": "Tilkoblet vedlegg",
|
623
|
+
"CONNECTED_DOCUMENT_OR_PROCESS": "Koblet dokumentet / prosessen",
|
624
|
+
"DELETE_ATTACHMENT": "Slett vedlegg",
|
625
|
+
"DELETE_DOCUMENT_OR_PROCESS": "Slett dokumentet / prosessen",
|
626
|
+
"CHOOSE_ANCHOR_IN_TEXT_OPTIONAL": "Velg anker i tekst (valgfritt)",
|
627
|
+
"RELOAD_ANCHORS": "Last ankere på nytt",
|
628
|
+
"RESET_TO_ORIGINAL": "Forkast endringer",
|
629
|
+
"AUTO_LAYOUT_GRAPH": "Auto-layout Graf",
|
630
|
+
"FULLSCREEN": "Fullskjermvisning",
|
631
|
+
"FLOWCHART": "Flytskjema",
|
632
|
+
"HANDBOOK": "eHåndbok",
|
563
633
|
},
|
564
634
|
"QMSCKEDITOR_MESSAGE": {
|
565
635
|
"CONFIRM_DELETE_TEMPLATE": "Er du sikker på at du vil slette denne malen?",
|
@@ -1622,63 +1692,6 @@
|
|
1622
1692
|
value: [{ type: i0.Input }]
|
1623
1693
|
};
|
1624
1694
|
|
1625
|
-
var QMSRangeSliderLockUpDirective = /** @class */ (function () {
|
1626
|
-
function QMSRangeSliderLockUpDirective(ele) {
|
1627
|
-
this.ele = ele;
|
1628
|
-
}
|
1629
|
-
QMSRangeSliderLockUpDirective.prototype.ngOnInit = function () {
|
1630
|
-
if (this.ele) {
|
1631
|
-
this.ele.nativeElement.classList.add('qms-range-slider-lockup');
|
1632
|
-
}
|
1633
|
-
};
|
1634
|
-
return QMSRangeSliderLockUpDirective;
|
1635
|
-
}());
|
1636
|
-
QMSRangeSliderLockUpDirective.decorators = [
|
1637
|
-
{ type: i0.Directive, args: [{
|
1638
|
-
selector: 'mat-slider[qms-range-slider-lockup]',
|
1639
|
-
},] }
|
1640
|
-
];
|
1641
|
-
QMSRangeSliderLockUpDirective.ctorParameters = function () { return [
|
1642
|
-
{ type: i0.ElementRef }
|
1643
|
-
]; };
|
1644
|
-
|
1645
|
-
var QMSRangeSliderDirective = /** @class */ (function () {
|
1646
|
-
function QMSRangeSliderDirective(ele) {
|
1647
|
-
this.ele = ele;
|
1648
|
-
}
|
1649
|
-
QMSRangeSliderDirective.prototype.ngOnInit = function () {
|
1650
|
-
if (this.ele) {
|
1651
|
-
this.ele.nativeElement.classList.add('qms-range-slider');
|
1652
|
-
}
|
1653
|
-
};
|
1654
|
-
QMSRangeSliderDirective.prototype.onMouseUp = function () {
|
1655
|
-
var _this = this;
|
1656
|
-
clearTimeout(this.timerId);
|
1657
|
-
this.timerId = setTimeout(function () {
|
1658
|
-
_this.ele.nativeElement.classList.remove('qms-range-slider-active');
|
1659
|
-
_this.ele.nativeElement.classList.remove('mat-slider-thumb-start');
|
1660
|
-
}, 500);
|
1661
|
-
};
|
1662
|
-
QMSRangeSliderDirective.prototype.onMouseDown = function () {
|
1663
|
-
clearTimeout(this.timerId);
|
1664
|
-
this.ele.nativeElement.classList.add('qms-range-slider-active');
|
1665
|
-
this.ele.nativeElement.classList.add('mat-slider-thumb-start');
|
1666
|
-
};
|
1667
|
-
return QMSRangeSliderDirective;
|
1668
|
-
}());
|
1669
|
-
QMSRangeSliderDirective.decorators = [
|
1670
|
-
{ type: i0.Directive, args: [{
|
1671
|
-
selector: 'mat-slider[qms-range-slider]',
|
1672
|
-
},] }
|
1673
|
-
];
|
1674
|
-
QMSRangeSliderDirective.ctorParameters = function () { return [
|
1675
|
-
{ type: i0.ElementRef }
|
1676
|
-
]; };
|
1677
|
-
QMSRangeSliderDirective.propDecorators = {
|
1678
|
-
onMouseUp: [{ type: i0.HostListener, args: ['mouseup', [],] }],
|
1679
|
-
onMouseDown: [{ type: i0.HostListener, args: ['mousedown', [],] }]
|
1680
|
-
};
|
1681
|
-
|
1682
1695
|
var ScrollToSelectedDirective = /** @class */ (function () {
|
1683
1696
|
function ScrollToSelectedDirective(el, renderer) {
|
1684
1697
|
this.el = el;
|
@@ -1796,86 +1809,6 @@
|
|
1796
1809
|
isLoading: [{ type: i0.Input }]
|
1797
1810
|
};
|
1798
1811
|
|
1799
|
-
var QMSDrawerContentDirective = /** @class */ (function () {
|
1800
|
-
function QMSDrawerContentDirective(ele) {
|
1801
|
-
this.ele = ele;
|
1802
|
-
}
|
1803
|
-
QMSDrawerContentDirective.prototype.ngOnInit = function () {
|
1804
|
-
if (this.ele) {
|
1805
|
-
this.ele.nativeElement.classList.add('qms-drawer-content');
|
1806
|
-
}
|
1807
|
-
};
|
1808
|
-
return QMSDrawerContentDirective;
|
1809
|
-
}());
|
1810
|
-
QMSDrawerContentDirective.decorators = [
|
1811
|
-
{ type: i0.Directive, args: [{
|
1812
|
-
selector: '[qms-drawer-content]',
|
1813
|
-
},] }
|
1814
|
-
];
|
1815
|
-
QMSDrawerContentDirective.ctorParameters = function () { return [
|
1816
|
-
{ type: i0.ElementRef }
|
1817
|
-
]; };
|
1818
|
-
|
1819
|
-
var QMSDrawerHeaderActionDirective = /** @class */ (function () {
|
1820
|
-
function QMSDrawerHeaderActionDirective(ele) {
|
1821
|
-
this.ele = ele;
|
1822
|
-
}
|
1823
|
-
QMSDrawerHeaderActionDirective.prototype.ngOnInit = function () {
|
1824
|
-
if (this.ele) {
|
1825
|
-
this.ele.nativeElement.classList.add('qms-drawer-header__action');
|
1826
|
-
}
|
1827
|
-
};
|
1828
|
-
return QMSDrawerHeaderActionDirective;
|
1829
|
-
}());
|
1830
|
-
QMSDrawerHeaderActionDirective.decorators = [
|
1831
|
-
{ type: i0.Directive, args: [{
|
1832
|
-
selector: '[qms-drawer-header-action]',
|
1833
|
-
},] }
|
1834
|
-
];
|
1835
|
-
QMSDrawerHeaderActionDirective.ctorParameters = function () { return [
|
1836
|
-
{ type: i0.ElementRef }
|
1837
|
-
]; };
|
1838
|
-
|
1839
|
-
var QMSDrawerHeaderDirective = /** @class */ (function () {
|
1840
|
-
function QMSDrawerHeaderDirective(ele) {
|
1841
|
-
this.ele = ele;
|
1842
|
-
}
|
1843
|
-
QMSDrawerHeaderDirective.prototype.ngOnInit = function () {
|
1844
|
-
if (this.ele) {
|
1845
|
-
this.ele.nativeElement.classList.add('qms-drawer-header');
|
1846
|
-
}
|
1847
|
-
};
|
1848
|
-
return QMSDrawerHeaderDirective;
|
1849
|
-
}());
|
1850
|
-
QMSDrawerHeaderDirective.decorators = [
|
1851
|
-
{ type: i0.Directive, args: [{
|
1852
|
-
selector: '[qms-drawer-header]',
|
1853
|
-
},] }
|
1854
|
-
];
|
1855
|
-
QMSDrawerHeaderDirective.ctorParameters = function () { return [
|
1856
|
-
{ type: i0.ElementRef }
|
1857
|
-
]; };
|
1858
|
-
|
1859
|
-
var QMSDrawerDirective = /** @class */ (function () {
|
1860
|
-
function QMSDrawerDirective(ele) {
|
1861
|
-
this.ele = ele;
|
1862
|
-
}
|
1863
|
-
QMSDrawerDirective.prototype.ngOnInit = function () {
|
1864
|
-
if (this.ele) {
|
1865
|
-
this.ele.nativeElement.classList.add('qms-drawer');
|
1866
|
-
}
|
1867
|
-
};
|
1868
|
-
return QMSDrawerDirective;
|
1869
|
-
}());
|
1870
|
-
QMSDrawerDirective.decorators = [
|
1871
|
-
{ type: i0.Directive, args: [{
|
1872
|
-
selector: '[qms-drawer]',
|
1873
|
-
},] }
|
1874
|
-
];
|
1875
|
-
QMSDrawerDirective.ctorParameters = function () { return [
|
1876
|
-
{ type: i0.ElementRef }
|
1877
|
-
]; };
|
1878
|
-
|
1879
1812
|
var QMSTextBlockLine = /** @class */ (function () {
|
1880
1813
|
function QMSTextBlockLine(elRef, renderer) {
|
1881
1814
|
this.elRef = elRef;
|
@@ -3063,7 +2996,7 @@
|
|
3063
2996
|
inputs: ['disabled', 'color', 'active'],
|
3064
2997
|
encapsulation: i0.ViewEncapsulation.None,
|
3065
2998
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
3066
|
-
styles: ["@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWJ0bbck.woff2) format(\"woff2\");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFUZ0bbck.woff2) format(\"woff2\");unicode-range:U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWZ0bbck.woff2) format(\"woff2\");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFVp0bbck.woff2) format(\"woff2\");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWp0bbck.woff2) format(\"woff2\");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFW50bbck.woff2) format(\"woff2\");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFVZ0b.woff2) format(\"woff2\");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCFPrEHJA.woff2) format(\"woff2\");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCMPrEHJA.woff2) format(\"woff2\");unicode-range:U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCHPrEHJA.woff2) format(\"woff2\");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCGPrEHJA.woff2) format(\"woff2\");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrE.woff2) format(\"woff2\");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}.qms-btn{height:36px;line-height:34px;padding:0 10px;background-color:#1954a9;color:#fff}.qms-btn:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn.qms-primary{background-color:#1954a9;color:#fff}.qms-btn.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn.qms-primary:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn.qms-primary:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn.qms-secondary{background-color:#9e360f;color:#fff}.qms-btn.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn.qms-secondary:not([disabled]):focus{background-color:#9e360f;box-shadow:0 0 0 2px #cf9b87}.qms-btn.qms-secondary:not([disabled]):hover{background-color:#b63e11;color:#fff}.qms-btn-lg{height:48px;line-height:38px;padding:4px 14px;background-color:#1954a9;color:#fff}.qms-btn-lg:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-lg:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn-lg:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn-lg.qms-primary{background-color:#1954a9;color:#fff}.qms-btn-lg.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-lg.qms-primary:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn-lg.qms-primary:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn-lg.qms-secondary{background-color:#9e360f;color:#fff}.qms-btn-lg.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-lg.qms-secondary:not([disabled]):focus{background-color:#9e360f;box-shadow:0 0 0 2px #cf9b87}.qms-btn-lg.qms-secondary:not([disabled]):hover{background-color:#b63e11;color:#fff}.qms-btn-outlined{height:36px;line-height:34px;padding:0 9px;background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-outlined:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-outlined:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-outlined:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-outlined.qms-primary{background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-outlined.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-outlined.qms-primary:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-outlined.qms-primary:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-outlined.qms-secondary{background-color:#fff;color:#9e360f;border:1px solid #9e360f}.qms-btn-outlined.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-outlined.qms-secondary:not([disabled]):focus{background-color:#fff;color:#b63e11;box-shadow:0 0 0 2px #872e0d}.qms-btn-outlined.qms-secondary:not([disabled]):hover{background-color:rgba(207,71,20,.06);color:#b63e11;border:1px solid #b63e11}.qms-btn-outlined-lg{height:48px;line-height:38px;padding:4px 13px;background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-outlined-lg:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-outlined-lg:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-outlined-lg:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-outlined-lg.qms-primary{background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-outlined-lg.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-outlined-lg.qms-primary:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-outlined-lg.qms-primary:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-outlined-lg.qms-secondary{background-color:#fff;color:#9e360f;border:1px solid #9e360f}.qms-btn-outlined-lg.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-outlined-lg.qms-secondary:not([disabled]):focus{background-color:#fff;color:#b63e11;box-shadow:0 0 0 2px #872e0d}.qms-btn-outlined-lg.qms-secondary:not([disabled]):hover{background-color:rgba(207,71,20,.06);color:#b63e11;border:1px solid #b63e11}.qms-btn-text{height:36px;line-height:34px;padding:0 10px;background-color:transparent;color:#1954a9}.qms-btn-text:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-text:not([disabled]):focus{background-color:transparent;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-text:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-text.qms-primary{background-color:transparent;color:#1954a9}.qms-btn-text.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-text.qms-primary:not([disabled]):focus{background-color:transparent;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-text.qms-primary:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-text.qms-secondary{background-color:transparent;color:#9e360f}.qms-btn-text.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-text.qms-secondary:not([disabled]):focus{background-color:transparent;color:#b63e11;box-shadow:0 0 0 2px #872e0d}.qms-btn-text.qms-secondary:not([disabled]):hover{background-color:rgba(207,71,20,.06);color:#b63e11}.qms-btn-text-lg{height:48px;line-height:38px;padding:4px 14px;background-color:transparent;color:#1954a9}.qms-btn-text-lg:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-text-lg:not([disabled]):focus{background-color:transparent;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-text-lg:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-text-lg.qms-primary{background-color:transparent;color:#1954a9}.qms-btn-text-lg.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-text-lg.qms-primary:not([disabled]):focus{background-color:transparent;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-text-lg.qms-primary:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-text-lg.qms-secondary{background-color:transparent;color:#9e360f}.qms-btn-text-lg.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-text-lg.qms-secondary:not([disabled]):focus{background-color:transparent;color:#b63e11;box-shadow:0 0 0 2px #872e0d}.qms-btn-text-lg.qms-secondary:not([disabled]):hover{background-color:rgba(207,71,20,.06);color:#b63e11}.qms-btn-fab,.qms-btn-fab-sm{min-width:0;width:56px;height:56px;padding:0;flex-shrink:0;box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2);background-color:#1954a9;color:#fff}.qms-btn-fab-sm .qms-btn-wrapper,.qms-btn-fab .qms-btn-wrapper{padding:16px 0;display:inline-block;line-height:24px}.qms-btn-fab-sm:not([disabled]):focus:not(:focus-visible),.qms-btn-fab:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-fab-sm:not([disabled]):focus,.qms-btn-fab:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn-fab-sm:not([disabled]):hover,.qms-btn-fab:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn-fab-sm:not([disabled]):focus:not(:focus-visible),.qms-btn-fab:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-sm:not([disabled]):focus,.qms-btn-fab:not([disabled]):focus{box-shadow:0 0 0 2px #8caad4,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab.qms-primary,.qms-primary.qms-btn-fab-sm{background-color:#1954a9;color:#fff}.qms-btn-fab.qms-primary:not([disabled]):focus:not(:focus-visible),.qms-primary.qms-btn-fab-sm:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-fab.qms-primary:not([disabled]):focus,.qms-primary.qms-btn-fab-sm:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn-fab.qms-primary:not([disabled]):hover,.qms-primary.qms-btn-fab-sm:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn-fab.qms-primary:not([disabled]):focus:not(:focus-visible),.qms-primary.qms-btn-fab-sm:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab.qms-primary:not([disabled]):focus,.qms-primary.qms-btn-fab-sm:not([disabled]):focus{box-shadow:0 0 0 2px #8caad4,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab.qms-secondary,.qms-secondary.qms-btn-fab-sm{background-color:#9e360f;color:#fff}.qms-btn-fab.qms-secondary:not([disabled]):focus:not(:focus-visible),.qms-secondary.qms-btn-fab-sm:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-fab.qms-secondary:not([disabled]):focus,.qms-secondary.qms-btn-fab-sm:not([disabled]):focus{background-color:#9e360f;box-shadow:0 0 0 2px #cf9b87}.qms-btn-fab.qms-secondary:not([disabled]):hover,.qms-secondary.qms-btn-fab-sm:not([disabled]):hover{background-color:#b63e11;color:#fff}.qms-btn-fab.qms-secondary:not([disabled]):focus:not(:focus-visible),.qms-secondary.qms-btn-fab-sm:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab.qms-secondary:not([disabled]):focus,.qms-secondary.qms-btn-fab-sm:not([disabled]):focus{box-shadow:0 0 0 2px #cf9b87,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-sm{min-width:0;width:40px;height:40px;padding:0;flex-shrink:0;box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-sm .qms-btn-wrapper{padding:8px 0;display:inline-block;line-height:24px}.qms-btn-fab-outlined,.qms-btn-fab-outlined-sm{min-width:0;width:56px;height:56px;padding:0;flex-shrink:0;box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2);background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-fab-outlined-sm .qms-btn-wrapper,.qms-btn-fab-outlined .qms-btn-wrapper{padding:16px 0;display:inline-block;line-height:24px}.qms-btn-fab-outlined-sm:not([disabled]):focus:not(:focus-visible),.qms-btn-fab-outlined:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-sm:not([disabled]):focus,.qms-btn-fab-outlined:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-sm:not([disabled]):hover,.qms-btn-fab-outlined:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-fab-outlined.qms-primary,.qms-primary.qms-btn-fab-outlined-sm{background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-fab-outlined.qms-primary:not([disabled]):focus:not(:focus-visible),.qms-primary.qms-btn-fab-outlined-sm:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined.qms-primary:not([disabled]):focus,.qms-primary.qms-btn-fab-outlined-sm:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined.qms-primary:not([disabled]):hover,.qms-primary.qms-btn-fab-outlined-sm:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-fab-outlined.qms-secondary,.qms-secondary.qms-btn-fab-outlined-sm{background-color:#fff;color:#9e360f;border:1px solid rgba(0,0,0,.12)}.qms-btn-fab-outlined.qms-secondary:not([disabled]):focus:not(:focus-visible),.qms-secondary.qms-btn-fab-outlined-sm:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined.qms-secondary:not([disabled]):focus,.qms-secondary.qms-btn-fab-outlined-sm:not([disabled]):focus{background-color:#fff;color:#b63e11;box-shadow:0 0 0 2px #872e0d,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined.qms-secondary:not([disabled]):hover,.qms-secondary.qms-btn-fab-outlined-sm:not([disabled]):hover{background-color:rgba(207,71,20,.06);color:#b63e11}.qms-btn-fab-outlined-sm{min-width:0;width:40px;height:40px;padding:0;flex-shrink:0;box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-sm .qms-btn-wrapper{padding:8px 0;display:inline-block;line-height:24px}.qms-btn-fab-ext{box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2);padding:0 16px;border-radius:30px;line-height:54px;height:56px;background-color:#1954a9;color:#fff}.qms-btn-fab-ext:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-fab-ext:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn-fab-ext:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn-fab-ext:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-ext:not([disabled]):focus{box-shadow:0 0 0 2px #8caad4,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-ext.qms-primary{background-color:#1954a9;color:#fff}.qms-btn-fab-ext.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-fab-ext.qms-primary:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn-fab-ext.qms-primary:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn-fab-ext.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-ext.qms-primary:not([disabled]):focus{box-shadow:0 0 0 2px #8caad4,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-ext.qms-secondary{background-color:#9e360f;color:#fff}.qms-btn-fab-ext.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-fab-ext.qms-secondary:not([disabled]):focus{background-color:#9e360f;box-shadow:0 0 0 2px #cf9b87}.qms-btn-fab-ext.qms-secondary:not([disabled]):hover{background-color:#b63e11;color:#fff}.qms-btn-fab-ext.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-ext.qms-secondary:not([disabled]):focus{box-shadow:0 0 0 2px #cf9b87,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext{box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2);padding:0 16px;border-radius:30px;line-height:54px;height:56px;background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-fab-outlined-ext:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-fab-outlined-ext.qms-primary{background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-fab-outlined-ext.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext.qms-primary:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext.qms-primary:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-fab-outlined-ext.qms-secondary{background-color:#fff;color:#9e360f;border:1px solid rgba(0,0,0,.12)}.qms-btn-fab-outlined-ext.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext.qms-secondary:not([disabled]):focus{background-color:#fff;color:#b63e11;box-shadow:0 0 0 2px #872e0d,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext.qms-secondary:not([disabled]):hover{background-color:rgba(207,71,20,.06);color:#b63e11}.qms-btn-icon{box-sizing:border-box;position:relative;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;font-style:normal}.qms-btn-icon.qms-btn-disabled{cursor:default;background:#e4e4e4;color:rgba(0,0,0,.38)}.qms-btn-icon .mat-icon{font-size:24px!important;padding-bottom:1px}.qms-btn-icon::-moz-focus-inner{border:0}.qms-btn-icon:not([disabled]):hover{text-decoration:none}.qms-btn-icon .qms-btn-icon-wrapper>*{vertical-align:middle}.qms-btn-icon:after{content:\"\";position:absolute;top:50%;left:50%;width:10px;height:10px;background:hsla(0,0%,100%,.5);opacity:0;border-radius:100%;transform:scale(1) translate(-50%);transform-origin:50% 50%}.qms-btn-icon{padding:0;min-width:0;width:48px;height:48px;line-height:48px;border-radius:50%;flex-shrink:0;border:none;background:transparent}.qms-btn-icon:focus{outline:0}.qms-btn-icon:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-icon.qms-light{color:rgba(0,0,0,.6)}.qms-btn-icon.qms-light:not([disabled]):focus,.qms-btn-icon.qms-light:not([disabled]):hover{background-color:rgba(0,0,0,.08);color:#323232}.qms-btn-icon.qms-light:not([disabled]):active{background-color:rgba(0,0,0,.24);color:#323232}.qms-btn-icon.qms-light.qms-btn-disabled{color:rgba(0,0,0,.24);background-color:transparent}.qms-btn-icon.qms-light:not(.qms-btn-disabled).active-icon{color:#1954a9}.qms-btn-icon.qms-light:not(.qms-btn-disabled).active-icon:not([disabled]):active,.qms-btn-icon.qms-light:not(.qms-btn-disabled).active-icon:not([disabled]):focus,.qms-btn-icon.qms-light:not(.qms-btn-disabled).active-icon:not([disabled]):hover{background-color:#e5eefb;color:#1954a9}.qms-btn-icon.qms-dark{color:#fff}.qms-btn-icon.qms-dark:not([disabled]):focus,.qms-btn-icon.qms-dark:not([disabled]):hover{background-color:hsla(0,0%,100%,.08)}.qms-btn-icon.qms-dark:not([disabled]):active{background-color:hsla(0,0%,100%,.24)}.qms-btn-icon.qms-dark.qms-btn-disabled{color:hsla(0,0%,100%,.24);background-color:transparent}.qms-btn-icon.qms-dark.active-icon{color:#f6b59d}.qms-btn-icon.qms-dark.active-icon:not([disabled]):focus,.qms-btn-icon.qms-dark.active-icon:not([disabled]):hover{background-color:hsla(0,0%,100%,.08)}.qms-btn-icon.qms-dark.active-icon:not([disabled]):active{background-color:hsla(0,0%,100%,.24)}.qms-btn-icon .qms-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1);top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.qms-btn-icon .qms-btn-icon-wrapper .mat-icon{vertical-align:middle;line-height:24px}.icon-wrapper{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center}.icon-wrapper.light.disabled .caption{color:rgba(0,0,0,.24);cursor:default;background-color:transparent}.icon-wrapper.light.active .caption{color:#1954a9}.icon-wrapper.light:not(.disabled):hover .caption{color:#323232}.icon-wrapper.light:not(.disabled):focus .caption{color:rgba(0,0,0,.6)}.icon-wrapper.light:not(.disabled):active .caption{color:#323232}.icon-wrapper.light .caption{color:rgba(0,0,0,.6)}.icon-wrapper.dark.disabled .caption{color:hsla(0,0%,100%,.24);cursor:default;background-color:transparent}.icon-wrapper.dark.active .caption{color:#f6b59d}.icon-wrapper.dark .caption{color:#fff}.icon-wrapper .caption{font-size:.75rem;line-height:16px;font-family:Open Sans;font-weight:400}@-webkit-keyframes ripple{0%{transform:scale(0);opacity:1}20%{transform:scale(25);opacity:1}to{opacity:0;transform:scale(40)}}@keyframes ripple{0%{transform:scale(0);opacity:1}20%{transform:scale(25);opacity:1}to{opacity:0;transform:scale(40)}}"]
|
2999
|
+
styles: ["@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWJ0bbck.woff2) format(\"woff2\");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFUZ0bbck.woff2) format(\"woff2\");unicode-range:U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWZ0bbck.woff2) format(\"woff2\");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFVp0bbck.woff2) format(\"woff2\");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWp0bbck.woff2) format(\"woff2\");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFW50bbck.woff2) format(\"woff2\");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFVZ0b.woff2) format(\"woff2\");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCFPrEHJA.woff2) format(\"woff2\");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCMPrEHJA.woff2) format(\"woff2\");unicode-range:U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCHPrEHJA.woff2) format(\"woff2\");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCGPrEHJA.woff2) format(\"woff2\");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrE.woff2) format(\"woff2\");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}.qms-btn{height:36px;line-height:34px;padding:0 10px;background-color:#1954a9;color:#fff}.qms-btn:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn.qms-primary{background-color:#1954a9;color:#fff}.qms-btn.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn.qms-primary:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn.qms-primary:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn.qms-secondary{background-color:#9e360f;color:#fff}.qms-btn.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn.qms-secondary:not([disabled]):focus{background-color:#9e360f;box-shadow:0 0 0 2px #cf9b87}.qms-btn.qms-secondary:not([disabled]):hover{background-color:#b63e11;color:#fff}.qms-btn-lg{height:48px;line-height:38px;padding:4px 14px;background-color:#1954a9;color:#fff}.qms-btn-lg:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-lg:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn-lg:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn-lg.qms-primary{background-color:#1954a9;color:#fff}.qms-btn-lg.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-lg.qms-primary:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn-lg.qms-primary:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn-lg.qms-secondary{background-color:#9e360f;color:#fff}.qms-btn-lg.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-lg.qms-secondary:not([disabled]):focus{background-color:#9e360f;box-shadow:0 0 0 2px #cf9b87}.qms-btn-lg.qms-secondary:not([disabled]):hover{background-color:#b63e11;color:#fff}.qms-btn-outlined{height:36px;line-height:34px;padding:0 9px;background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-outlined:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-outlined:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-outlined:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-outlined.qms-primary{background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-outlined.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-outlined.qms-primary:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-outlined.qms-primary:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-outlined.qms-secondary{background-color:#fff;color:#9e360f;border:1px solid #9e360f}.qms-btn-outlined.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-outlined.qms-secondary:not([disabled]):focus{background-color:#fff;color:#b63e11;box-shadow:0 0 0 2px #872e0d}.qms-btn-outlined.qms-secondary:not([disabled]):hover{background-color:rgba(207,71,20,.06);color:#b63e11;border:1px solid #b63e11}.qms-btn-outlined-lg{height:48px;line-height:38px;padding:4px 13px;background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-outlined-lg:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-outlined-lg:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-outlined-lg:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-outlined-lg.qms-primary{background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-outlined-lg.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-outlined-lg.qms-primary:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-outlined-lg.qms-primary:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-outlined-lg.qms-secondary{background-color:#fff;color:#9e360f;border:1px solid #9e360f}.qms-btn-outlined-lg.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-outlined-lg.qms-secondary:not([disabled]):focus{background-color:#fff;color:#b63e11;box-shadow:0 0 0 2px #872e0d}.qms-btn-outlined-lg.qms-secondary:not([disabled]):hover{background-color:rgba(207,71,20,.06);color:#b63e11;border:1px solid #b63e11}.qms-btn-text{height:36px;line-height:34px;padding:0 10px;background-color:transparent;color:#1954a9}.qms-btn-text:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-text:not([disabled]):focus{background-color:transparent;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-text:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-text.qms-primary{background-color:transparent;color:#1954a9}.qms-btn-text.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-text.qms-primary:not([disabled]):focus{background-color:transparent;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-text.qms-primary:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-text.qms-secondary{background-color:transparent;color:#9e360f}.qms-btn-text.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-text.qms-secondary:not([disabled]):focus{background-color:transparent;color:#b63e11;box-shadow:0 0 0 2px #872e0d}.qms-btn-text.qms-secondary:not([disabled]):hover{background-color:rgba(207,71,20,.06);color:#b63e11}.qms-btn-text-lg{height:48px;line-height:38px;padding:4px 14px;background-color:transparent;color:#1954a9}.qms-btn-text-lg:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-text-lg:not([disabled]):focus{background-color:transparent;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-text-lg:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-text-lg.qms-primary{background-color:transparent;color:#1954a9}.qms-btn-text-lg.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-text-lg.qms-primary:not([disabled]):focus{background-color:transparent;color:#1954a9;box-shadow:0 0 0 2px #1954a9}.qms-btn-text-lg.qms-primary:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-text-lg.qms-secondary{background-color:transparent;color:#9e360f}.qms-btn-text-lg.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-text-lg.qms-secondary:not([disabled]):focus{background-color:transparent;color:#b63e11;box-shadow:0 0 0 2px #872e0d}.qms-btn-text-lg.qms-secondary:not([disabled]):hover{background-color:rgba(207,71,20,.06);color:#b63e11}.qms-btn-fab,.qms-btn-fab-sm{min-width:0;width:56px;height:56px;padding:0;flex-shrink:0;box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2);background-color:#1954a9;color:#fff}.qms-btn-fab-sm .qms-btn-wrapper,.qms-btn-fab .qms-btn-wrapper{padding:16px 0;display:inline-block;line-height:24px}.qms-btn-fab-sm:not([disabled]):focus:not(:focus-visible),.qms-btn-fab:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-fab-sm:not([disabled]):focus,.qms-btn-fab:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn-fab-sm:not([disabled]):hover,.qms-btn-fab:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn-fab-sm:not([disabled]):focus:not(:focus-visible),.qms-btn-fab:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-sm:not([disabled]):focus,.qms-btn-fab:not([disabled]):focus{box-shadow:0 0 0 2px #8caad4,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab.qms-primary,.qms-primary.qms-btn-fab-sm{background-color:#1954a9;color:#fff}.qms-btn-fab.qms-primary:not([disabled]):focus:not(:focus-visible),.qms-primary.qms-btn-fab-sm:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-fab.qms-primary:not([disabled]):focus,.qms-primary.qms-btn-fab-sm:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn-fab.qms-primary:not([disabled]):hover,.qms-primary.qms-btn-fab-sm:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn-fab.qms-primary:not([disabled]):focus:not(:focus-visible),.qms-primary.qms-btn-fab-sm:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab.qms-primary:not([disabled]):focus,.qms-primary.qms-btn-fab-sm:not([disabled]):focus{box-shadow:0 0 0 2px #8caad4,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab.qms-secondary,.qms-secondary.qms-btn-fab-sm{background-color:#9e360f;color:#fff}.qms-btn-fab.qms-secondary:not([disabled]):focus:not(:focus-visible),.qms-secondary.qms-btn-fab-sm:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-fab.qms-secondary:not([disabled]):focus,.qms-secondary.qms-btn-fab-sm:not([disabled]):focus{background-color:#9e360f;box-shadow:0 0 0 2px #cf9b87}.qms-btn-fab.qms-secondary:not([disabled]):hover,.qms-secondary.qms-btn-fab-sm:not([disabled]):hover{background-color:#b63e11;color:#fff}.qms-btn-fab.qms-secondary:not([disabled]):focus:not(:focus-visible),.qms-secondary.qms-btn-fab-sm:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab.qms-secondary:not([disabled]):focus,.qms-secondary.qms-btn-fab-sm:not([disabled]):focus{box-shadow:0 0 0 2px #cf9b87,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-sm{min-width:0;width:40px;height:40px;padding:0;flex-shrink:0;box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-sm .qms-btn-wrapper{padding:8px 0;display:inline-block;line-height:24px}.qms-btn-fab-outlined,.qms-btn-fab-outlined-sm{min-width:0;width:56px;height:56px;padding:0;flex-shrink:0;box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2);background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-fab-outlined-sm .qms-btn-wrapper,.qms-btn-fab-outlined .qms-btn-wrapper{padding:16px 0;display:inline-block;line-height:24px}.qms-btn-fab-outlined-sm:not([disabled]):focus:not(:focus-visible),.qms-btn-fab-outlined:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-sm:not([disabled]):focus,.qms-btn-fab-outlined:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-sm:not([disabled]):hover,.qms-btn-fab-outlined:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-fab-outlined.qms-primary,.qms-primary.qms-btn-fab-outlined-sm{background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-fab-outlined.qms-primary:not([disabled]):focus:not(:focus-visible),.qms-primary.qms-btn-fab-outlined-sm:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined.qms-primary:not([disabled]):focus,.qms-primary.qms-btn-fab-outlined-sm:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined.qms-primary:not([disabled]):hover,.qms-primary.qms-btn-fab-outlined-sm:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-fab-outlined.qms-secondary,.qms-secondary.qms-btn-fab-outlined-sm{background-color:#fff;color:#9e360f;border:1px solid rgba(0,0,0,.12)}.qms-btn-fab-outlined.qms-secondary:not([disabled]):focus:not(:focus-visible),.qms-secondary.qms-btn-fab-outlined-sm:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined.qms-secondary:not([disabled]):focus,.qms-secondary.qms-btn-fab-outlined-sm:not([disabled]):focus{background-color:#fff;color:#b63e11;box-shadow:0 0 0 2px #872e0d,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined.qms-secondary:not([disabled]):hover,.qms-secondary.qms-btn-fab-outlined-sm:not([disabled]):hover{background-color:rgba(207,71,20,.06);color:#b63e11}.qms-btn-fab-outlined-sm{min-width:0;width:40px;height:40px;padding:0;flex-shrink:0;box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-sm .qms-btn-wrapper{padding:8px 0;display:inline-block;line-height:24px}.qms-btn-fab-ext{box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2);padding:0 16px;border-radius:30px;line-height:54px;height:56px;background-color:#1954a9;color:#fff}.qms-btn-fab-ext:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-fab-ext:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn-fab-ext:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn-fab-ext:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-ext:not([disabled]):focus{box-shadow:0 0 0 2px #8caad4,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-ext.qms-primary{background-color:#1954a9;color:#fff}.qms-btn-fab-ext.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-fab-ext.qms-primary:not([disabled]):focus{background-color:#1954a9;box-shadow:0 0 0 2px #8caad4}.qms-btn-fab-ext.qms-primary:not([disabled]):hover{background-color:#2873df;color:#fff}.qms-btn-fab-ext.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-ext.qms-primary:not([disabled]):focus{box-shadow:0 0 0 2px #8caad4,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-ext.qms-secondary{background-color:#9e360f;color:#fff}.qms-btn-fab-ext.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-fab-ext.qms-secondary:not([disabled]):focus{background-color:#9e360f;box-shadow:0 0 0 2px #cf9b87}.qms-btn-fab-ext.qms-secondary:not([disabled]):hover{background-color:#b63e11;color:#fff}.qms-btn-fab-ext.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-ext.qms-secondary:not([disabled]):focus{box-shadow:0 0 0 2px #cf9b87,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext{box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2);padding:0 16px;border-radius:30px;line-height:54px;height:56px;background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-fab-outlined-ext:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-fab-outlined-ext.qms-primary{background-color:#fff;color:#1954a9;border:1px solid rgba(0,0,0,.12)}.qms-btn-fab-outlined-ext.qms-primary:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext.qms-primary:not([disabled]):focus{background-color:#fff;color:#1954a9;box-shadow:0 0 0 2px #1954a9,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext.qms-primary:not([disabled]):hover{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-fab-outlined-ext.qms-secondary{background-color:#fff;color:#9e360f;border:1px solid rgba(0,0,0,.12)}.qms-btn-fab-outlined-ext.qms-secondary:not([disabled]):focus:not(:focus-visible){box-shadow:0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext.qms-secondary:not([disabled]):focus{background-color:#fff;color:#b63e11;box-shadow:0 0 0 2px #872e0d,0 8px 10px rgba(0,0,0,.14),0 3px 14px rgba(0,0,0,.12),0 5px 5px rgba(0,0,0,.2)}.qms-btn-fab-outlined-ext.qms-secondary:not([disabled]):hover{background-color:rgba(207,71,20,.06);color:#b63e11}.qms-btn-icon{box-sizing:border-box;position:relative;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;font-style:normal}.qms-btn-icon.qms-btn-disabled{cursor:default;background:#e4e4e4;color:rgba(0,0,0,.38)}.qms-btn-icon .mat-icon{font-size:24px!important;padding-bottom:1px}.qms-btn-icon::-moz-focus-inner{border:0}.qms-btn-icon:not([disabled]):hover{text-decoration:none}.qms-btn-icon .qms-btn-icon-wrapper>*{vertical-align:middle}.qms-btn-icon:after{content:\"\";position:absolute;top:50%;left:50%;width:10px;height:10px;background:hsla(0,0%,100%,.5);opacity:0;border-radius:100%;transform:scale(1) translate(-50%);transform-origin:50% 50%}.qms-btn-icon{padding:0;min-width:0;width:48px;height:48px;line-height:48px;border-radius:50%;flex-shrink:0;border:none;background:transparent}.qms-btn-icon:focus{outline:0}.qms-btn-icon:not([disabled]):focus:not(:focus-visible){box-shadow:none}.qms-btn-icon.qms-light{color:rgba(0,0,0,.6)}.qms-btn-icon.qms-light:not([disabled]):focus,.qms-btn-icon.qms-light:not([disabled]):hover{background-color:rgba(0,0,0,.08);color:#323232}.qms-btn-icon.qms-light:not([disabled]):active{background-color:rgba(0,0,0,.24);color:#323232}.qms-btn-icon.qms-light.qms-btn-disabled{color:rgba(0,0,0,.24);background-color:transparent}.qms-btn-icon.qms-light:not(.qms-btn-disabled).active-icon{color:#1954a9}.qms-btn-icon.qms-light:not(.qms-btn-disabled).active-icon:not([disabled]):focus,.qms-btn-icon.qms-light:not(.qms-btn-disabled).active-icon:not([disabled]):hover{background-color:#e5eefb;color:#1954a9}.qms-btn-icon.qms-light:not(.qms-btn-disabled).active-icon:not([disabled]):active{background-color:rgba(40,115,223,.06);color:#1954a9}.qms-btn-icon.qms-dark{color:#fff}.qms-btn-icon.qms-dark:not([disabled]):focus,.qms-btn-icon.qms-dark:not([disabled]):hover{background-color:hsla(0,0%,100%,.08)}.qms-btn-icon.qms-dark:not([disabled]):active{background-color:hsla(0,0%,100%,.24)}.qms-btn-icon.qms-dark.qms-btn-disabled{color:hsla(0,0%,100%,.24);background-color:transparent}.qms-btn-icon.qms-dark.active-icon{color:#f6b59d}.qms-btn-icon.qms-dark.active-icon:not([disabled]):focus,.qms-btn-icon.qms-dark.active-icon:not([disabled]):hover{background-color:hsla(0,0%,100%,.08)}.qms-btn-icon.qms-dark.active-icon:not([disabled]):active{background-color:hsla(0,0%,100%,.24)}.qms-btn-icon .qms-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1);top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.qms-btn-icon .qms-btn-icon-wrapper .mat-icon{vertical-align:middle;line-height:24px}.icon-wrapper{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center}.icon-wrapper.light.disabled .caption{color:rgba(0,0,0,.24);cursor:default;background-color:transparent}.icon-wrapper.light.active .caption{color:#1954a9}.icon-wrapper.light:not(.disabled):hover .caption{color:#323232}.icon-wrapper.light:not(.disabled):focus .caption{color:rgba(0,0,0,.6)}.icon-wrapper.light:not(.disabled):active .caption{color:#323232}.icon-wrapper.light .caption{color:rgba(0,0,0,.6)}.icon-wrapper.dark.disabled .caption{color:hsla(0,0%,100%,.24);cursor:default;background-color:transparent}.icon-wrapper.dark.active .caption{color:#f6b59d}.icon-wrapper.dark .caption{color:#fff}.icon-wrapper .caption{font-size:.75rem;line-height:16px;font-family:Open Sans;font-weight:400}@-webkit-keyframes ripple{0%{transform:scale(0);opacity:1}20%{transform:scale(25);opacity:1}to{opacity:0;transform:scale(40)}}@keyframes ripple{0%{transform:scale(0);opacity:1}20%{transform:scale(25);opacity:1}to{opacity:0;transform:scale(40)}}"]
|
3067
3000
|
},] }
|
3068
3001
|
];
|
3069
3002
|
QMSButtonIcon.ctorParameters = function () { return [
|
@@ -3206,62 +3139,12 @@
|
|
3206
3139
|
mode: [{ type: i0.Input, args: ['mode',] }]
|
3207
3140
|
};
|
3208
3141
|
|
3209
|
-
var QMSTableExpandDirective = /** @class */ (function () {
|
3210
|
-
function QMSTableExpandDirective(_el, renderer) {
|
3211
|
-
this._el = _el;
|
3212
|
-
this.renderer = renderer;
|
3213
|
-
this._el.nativeElement.classList.add('qms-table');
|
3214
|
-
}
|
3215
|
-
QMSTableExpandDirective.prototype.ngAfterViewChecked = function () {
|
3216
|
-
var e_1, _c;
|
3217
|
-
var matRows = this._el.nativeElement.querySelectorAll('mat-row');
|
3218
|
-
try {
|
3219
|
-
for (var _d = __values(Object.entries(matRows)), _e = _d.next(); !_e.done; _e = _d.next()) {
|
3220
|
-
var _f = __read(_e.value, 2), key = _f[0], value = _f[1];
|
3221
|
-
this.renderer.addClass(value, 'qms-row');
|
3222
|
-
}
|
3223
|
-
}
|
3224
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
3225
|
-
finally {
|
3226
|
-
try {
|
3227
|
-
if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
|
3228
|
-
}
|
3229
|
-
finally { if (e_1) throw e_1.error; }
|
3230
|
-
}
|
3231
|
-
};
|
3232
|
-
return QMSTableExpandDirective;
|
3233
|
-
}());
|
3234
|
-
QMSTableExpandDirective.decorators = [
|
3235
|
-
{ type: i0.Directive, args: [{
|
3236
|
-
selector: '[qms-table-expand]',
|
3237
|
-
host: { 'class': 'qms-table-expand' }
|
3238
|
-
},] }
|
3239
|
-
];
|
3240
|
-
QMSTableExpandDirective.ctorParameters = function () { return [
|
3241
|
-
{ type: i0.ElementRef },
|
3242
|
-
{ type: i0.Renderer2 }
|
3243
|
-
]; };
|
3244
3142
|
var QMSTableDirective = /** @class */ (function () {
|
3245
3143
|
function QMSTableDirective(_el, renderer) {
|
3246
3144
|
this._el = _el;
|
3247
3145
|
this.renderer = renderer;
|
3248
3146
|
}
|
3249
3147
|
QMSTableDirective.prototype.ngAfterViewChecked = function () {
|
3250
|
-
var e_2, _c;
|
3251
|
-
var matRows = this._el.nativeElement.querySelectorAll('mat-row');
|
3252
|
-
try {
|
3253
|
-
for (var _d = __values(Object.entries(matRows)), _e = _d.next(); !_e.done; _e = _d.next()) {
|
3254
|
-
var _f = __read(_e.value, 2), key = _f[0], value = _f[1];
|
3255
|
-
this.renderer.addClass(value, 'qms-row');
|
3256
|
-
}
|
3257
|
-
}
|
3258
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
3259
|
-
finally {
|
3260
|
-
try {
|
3261
|
-
if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
|
3262
|
-
}
|
3263
|
-
finally { if (e_2) throw e_2.error; }
|
3264
|
-
}
|
3265
3148
|
};
|
3266
3149
|
return QMSTableDirective;
|
3267
3150
|
}());
|
@@ -3281,7 +3164,7 @@
|
|
3281
3164
|
this.renderer = renderer;
|
3282
3165
|
}
|
3283
3166
|
QMSTableChildrenDirective.prototype.ngAfterViewChecked = function () {
|
3284
|
-
var
|
3167
|
+
var e_1, _c;
|
3285
3168
|
var matRows = this._el.nativeElement.querySelectorAll('mat-row');
|
3286
3169
|
try {
|
3287
3170
|
for (var _d = __values(Object.entries(matRows)), _e = _d.next(); !_e.done; _e = _d.next()) {
|
@@ -3290,12 +3173,12 @@
|
|
3290
3173
|
this.renderer.addClass(value, 'qms-row-group');
|
3291
3174
|
}
|
3292
3175
|
}
|
3293
|
-
catch (
|
3176
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
3294
3177
|
finally {
|
3295
3178
|
try {
|
3296
3179
|
if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
|
3297
3180
|
}
|
3298
|
-
finally { if (
|
3181
|
+
finally { if (e_1) throw e_1.error; }
|
3299
3182
|
}
|
3300
3183
|
};
|
3301
3184
|
return QMSTableChildrenDirective;
|
@@ -3310,18 +3193,6 @@
|
|
3310
3193
|
{ type: i0.ElementRef },
|
3311
3194
|
{ type: i0.Renderer2 }
|
3312
3195
|
]; };
|
3313
|
-
var QMSRowExpandDirective = /** @class */ (function () {
|
3314
|
-
function QMSRowExpandDirective() {
|
3315
|
-
}
|
3316
|
-
return QMSRowExpandDirective;
|
3317
|
-
}());
|
3318
|
-
QMSRowExpandDirective.decorators = [
|
3319
|
-
{ type: i0.Directive, args: [{
|
3320
|
-
selector: '[qms-row-expand]',
|
3321
|
-
host: { 'class': 'qms-row-expand' }
|
3322
|
-
},] }
|
3323
|
-
];
|
3324
|
-
QMSRowExpandDirective.ctorParameters = function () { return []; };
|
3325
3196
|
var QMSRowDetailDirective = /** @class */ (function () {
|
3326
3197
|
function QMSRowDetailDirective() {
|
3327
3198
|
}
|
@@ -3353,7 +3224,7 @@
|
|
3353
3224
|
this.focusClass = 'focus-grid-style';
|
3354
3225
|
this.onRowExpandEvent = new i0.EventEmitter();
|
3355
3226
|
}
|
3356
|
-
Object.defineProperty(CdkDetailRowDirective.prototype, "
|
3227
|
+
Object.defineProperty(CdkDetailRowDirective.prototype, "expanded", {
|
3357
3228
|
get: function () {
|
3358
3229
|
return this.opened;
|
3359
3230
|
},
|
@@ -3390,6 +3261,8 @@
|
|
3390
3261
|
CdkDetailRowDirective.prototype.ngOnChanges = function (changes) {
|
3391
3262
|
this.vcRef.clear();
|
3392
3263
|
if (this.othertRef && this.row) {
|
3264
|
+
if (this.opened)
|
3265
|
+
this.vcRef.createEmbeddedView(this.tRef, { $implicit: this.row });
|
3393
3266
|
this.vcRef.createEmbeddedView(this.othertRef, { $implicit: this.row });
|
3394
3267
|
}
|
3395
3268
|
};
|
@@ -3399,7 +3272,7 @@
|
|
3399
3272
|
if (this.othertRef && this.row) {
|
3400
3273
|
this.vcRef.createEmbeddedView(this.othertRef, { $implicit: this.row });
|
3401
3274
|
if (((_a = this.row) === null || _a === void 0 ? void 0 : _a.children) && ((_b = this.row) === null || _b === void 0 ? void 0 : _b.children.length) > 0) {
|
3402
|
-
this._el.nativeElement.classList.add('
|
3275
|
+
this._el.nativeElement.classList.add('expandable-group');
|
3403
3276
|
}
|
3404
3277
|
}
|
3405
3278
|
};
|
@@ -3421,25 +3294,13 @@
|
|
3421
3294
|
}
|
3422
3295
|
};
|
3423
3296
|
CdkDetailRowDirective.prototype.toggle = function () {
|
3424
|
-
if (this.
|
3425
|
-
this.
|
3426
|
-
|
3427
|
-
|
3428
|
-
|
3429
|
-
|
3430
|
-
|
3431
|
-
this.render();
|
3432
|
-
}
|
3433
|
-
this.opened = !this.opened;
|
3434
|
-
this.onRowExpandEvent.emit(this.opened);
|
3435
|
-
};
|
3436
|
-
CdkDetailRowDirective.prototype.render = function () {
|
3437
|
-
this.vcRef.clear();
|
3438
|
-
if (this.tRef && this.row) {
|
3439
|
-
this.vcRef.createEmbeddedView(this.tRef, { $implicit: this.row });
|
3440
|
-
if (this.othertRef) {
|
3441
|
-
this.vcRef.createEmbeddedView(this.othertRef, { $implicit: this.row });
|
3442
|
-
}
|
3297
|
+
if (this.tRef) {
|
3298
|
+
if (this.opened)
|
3299
|
+
this.vcRef.detach(0);
|
3300
|
+
else
|
3301
|
+
this.vcRef.createEmbeddedView(this.tRef, { $implicit: this.row }, 0);
|
3302
|
+
this.opened = !this.opened;
|
3303
|
+
this.onRowExpandEvent.emit(this.opened);
|
3443
3304
|
}
|
3444
3305
|
};
|
3445
3306
|
return CdkDetailRowDirective;
|
@@ -3455,7 +3316,7 @@
|
|
3455
3316
|
]; };
|
3456
3317
|
CdkDetailRowDirective.propDecorators = {
|
3457
3318
|
onRowExpandEvent: [{ type: i0.Output }],
|
3458
|
-
|
3319
|
+
expanded: [{ type: i0.HostBinding, args: ['class.qms-row-expanded',] }],
|
3459
3320
|
cdkDetailRow: [{ type: i0.Input }],
|
3460
3321
|
template: [{ type: i0.Input, args: ['cdkDetailRowTpl',] }],
|
3461
3322
|
otherTemplate: [{ type: i0.Input, args: ['cdkotherTemplate',] }],
|
@@ -3464,6 +3325,68 @@
|
|
3464
3325
|
onKeydown: [{ type: i0.HostListener, args: ['document:keydown', ['$event.target'],] }]
|
3465
3326
|
};
|
3466
3327
|
|
3328
|
+
var QMSTableRowDirective = /** @class */ (function () {
|
3329
|
+
function QMSTableRowDirective(_el, renderer) {
|
3330
|
+
this._el = _el;
|
3331
|
+
this.renderer = renderer;
|
3332
|
+
}
|
3333
|
+
QMSTableRowDirective.prototype.ngAfterViewChecked = function () {
|
3334
|
+
};
|
3335
|
+
Object.defineProperty(QMSTableRowDirective.prototype, "cdkDetailRow", {
|
3336
|
+
set: function (value) {
|
3337
|
+
this._rowData = value;
|
3338
|
+
},
|
3339
|
+
enumerable: false,
|
3340
|
+
configurable: true
|
3341
|
+
});
|
3342
|
+
Object.defineProperty(QMSTableRowDirective.prototype, "disable", {
|
3343
|
+
get: function () {
|
3344
|
+
return this._rowData.disabled;
|
3345
|
+
},
|
3346
|
+
enumerable: false,
|
3347
|
+
configurable: true
|
3348
|
+
});
|
3349
|
+
Object.defineProperty(QMSTableRowDirective.prototype, "select", {
|
3350
|
+
get: function () {
|
3351
|
+
return this._rowData.selected;
|
3352
|
+
},
|
3353
|
+
enumerable: false,
|
3354
|
+
configurable: true
|
3355
|
+
});
|
3356
|
+
Object.defineProperty(QMSTableRowDirective.prototype, "group", {
|
3357
|
+
get: function () {
|
3358
|
+
return this._rowData.childen;
|
3359
|
+
},
|
3360
|
+
enumerable: false,
|
3361
|
+
configurable: true
|
3362
|
+
});
|
3363
|
+
Object.defineProperty(QMSTableRowDirective.prototype, "isDraft", {
|
3364
|
+
get: function () {
|
3365
|
+
return this._rowData.isDraft;
|
3366
|
+
},
|
3367
|
+
enumerable: false,
|
3368
|
+
configurable: true
|
3369
|
+
});
|
3370
|
+
return QMSTableRowDirective;
|
3371
|
+
}());
|
3372
|
+
QMSTableRowDirective.decorators = [
|
3373
|
+
{ type: i0.Directive, args: [{
|
3374
|
+
selector: '[qms-table-row]',
|
3375
|
+
host: { 'class': 'qms-table-row' }
|
3376
|
+
},] }
|
3377
|
+
];
|
3378
|
+
QMSTableRowDirective.ctorParameters = function () { return [
|
3379
|
+
{ type: i0.ElementRef },
|
3380
|
+
{ type: i0.Renderer2 }
|
3381
|
+
]; };
|
3382
|
+
QMSTableRowDirective.propDecorators = {
|
3383
|
+
cdkDetailRow: [{ type: i0.Input }],
|
3384
|
+
disable: [{ type: i0.HostBinding, args: ['class.qms-table-row-disabled',] }],
|
3385
|
+
select: [{ type: i0.HostBinding, args: ['class.qms-table-row-selected',] }],
|
3386
|
+
group: [{ type: i0.HostBinding, args: ['class.qms-table-row-group',] }],
|
3387
|
+
isDraft: [{ type: i0.HostBinding, args: ['class.qms-table-row-draft',] }]
|
3388
|
+
};
|
3389
|
+
|
3467
3390
|
var ɵ0$2 = { appearance: 'fill' }, ɵ1 = { color: 'none' };
|
3468
3391
|
var QmsAngularModule = /** @class */ (function () {
|
3469
3392
|
function QmsAngularModule() {
|
@@ -3498,22 +3421,15 @@
|
|
3498
3421
|
QMSFileUploadMultipleDirective,
|
3499
3422
|
QMSFileUploadMultipleDisplayDirective,
|
3500
3423
|
QMSFileUploadMultipleSelectorDirective,
|
3501
|
-
QMSRangeSliderDirective,
|
3502
|
-
QMSRangeSliderLockUpDirective,
|
3503
3424
|
QMSDropdownMenuItem,
|
3504
3425
|
QMSScrollbarDirective,
|
3505
3426
|
QMSTextBlockDirective,
|
3506
3427
|
QMSTextBlockLine,
|
3507
|
-
QMSDrawerDirective,
|
3508
|
-
QMSDrawerHeaderDirective,
|
3509
|
-
QMSDrawerContentDirective,
|
3510
|
-
QMSDrawerHeaderActionDirective,
|
3511
3428
|
QMSToolTipRendererDirective,
|
3512
|
-
QMSTableExpandDirective,
|
3513
3429
|
QMSTableDirective,
|
3430
|
+
QMSTableRowDirective,
|
3514
3431
|
QMSRowDetailDirective,
|
3515
3432
|
QMSTableChildrenDirective,
|
3516
|
-
QMSRowExpandDirective,
|
3517
3433
|
CdkDetailRowDirective,
|
3518
3434
|
QMSCollapseGroupDirective,
|
3519
3435
|
DateFormatPipe,
|
@@ -3559,16 +3475,10 @@
|
|
3559
3475
|
QMSFileUploadMultipleDirective,
|
3560
3476
|
QMSFileUploadMultipleDisplayDirective,
|
3561
3477
|
QMSFileUploadMultipleSelectorDirective,
|
3562
|
-
QMSRangeSliderDirective,
|
3563
|
-
QMSRangeSliderLockUpDirective,
|
3564
3478
|
QMSDropdownMenuItem,
|
3565
3479
|
QMSScrollbarDirective,
|
3566
3480
|
QMSTextBlockDirective,
|
3567
3481
|
QMSTextBlockLine,
|
3568
|
-
QMSDrawerDirective,
|
3569
|
-
QMSDrawerHeaderDirective,
|
3570
|
-
QMSDrawerContentDirective,
|
3571
|
-
QMSDrawerHeaderActionDirective,
|
3572
3482
|
QMSToolTipRendererDirective,
|
3573
3483
|
DateFormatPipe,
|
3574
3484
|
QMSChipInputDirective,
|
@@ -3580,11 +3490,10 @@
|
|
3580
3490
|
QMSTooltipImageDirective,
|
3581
3491
|
SelectDialog,
|
3582
3492
|
QMSAppBar,
|
3583
|
-
QMSTableExpandDirective,
|
3584
3493
|
QMSTableDirective,
|
3494
|
+
QMSTableRowDirective,
|
3585
3495
|
QMSTableChildrenDirective,
|
3586
3496
|
QMSRowDetailDirective,
|
3587
|
-
QMSRowExpandDirective,
|
3588
3497
|
CdkDetailRowDirective,
|
3589
3498
|
QMSCollapseGroupDirective
|
3590
3499
|
],
|
@@ -3597,18 +3506,94 @@
|
|
3597
3506
|
},] }
|
3598
3507
|
];
|
3599
3508
|
|
3600
|
-
var
|
3601
|
-
function
|
3509
|
+
var QMSRangeSliderLockUpDirective = /** @class */ (function () {
|
3510
|
+
function QMSRangeSliderLockUpDirective(ele) {
|
3511
|
+
this.ele = ele;
|
3602
3512
|
}
|
3603
|
-
|
3513
|
+
QMSRangeSliderLockUpDirective.prototype.ngOnInit = function () {
|
3514
|
+
if (this.ele) {
|
3515
|
+
this.ele.nativeElement.classList.add('qms-range-slider-lockup');
|
3516
|
+
}
|
3517
|
+
};
|
3518
|
+
return QMSRangeSliderLockUpDirective;
|
3604
3519
|
}());
|
3605
|
-
|
3520
|
+
QMSRangeSliderLockUpDirective.decorators = [
|
3606
3521
|
{ type: i0.Directive, args: [{
|
3607
|
-
selector: '[
|
3608
|
-
host: { 'class': 'leading-icon' }
|
3522
|
+
selector: 'mat-slider[qms-range-slider-lockup]',
|
3609
3523
|
},] }
|
3610
3524
|
];
|
3611
|
-
|
3525
|
+
QMSRangeSliderLockUpDirective.ctorParameters = function () { return [
|
3526
|
+
{ type: i0.ElementRef }
|
3527
|
+
]; };
|
3528
|
+
|
3529
|
+
var QMSRangeSliderDirective = /** @class */ (function () {
|
3530
|
+
function QMSRangeSliderDirective(ele) {
|
3531
|
+
this.ele = ele;
|
3532
|
+
}
|
3533
|
+
QMSRangeSliderDirective.prototype.ngOnInit = function () {
|
3534
|
+
if (this.ele) {
|
3535
|
+
this.ele.nativeElement.classList.add('qms-range-slider');
|
3536
|
+
}
|
3537
|
+
};
|
3538
|
+
QMSRangeSliderDirective.prototype.onMouseUp = function () {
|
3539
|
+
var _this = this;
|
3540
|
+
clearTimeout(this.timerId);
|
3541
|
+
this.timerId = setTimeout(function () {
|
3542
|
+
_this.ele.nativeElement.classList.remove('qms-range-slider-active');
|
3543
|
+
}, 500);
|
3544
|
+
};
|
3545
|
+
QMSRangeSliderDirective.prototype.onMouseDown = function () {
|
3546
|
+
clearTimeout(this.timerId);
|
3547
|
+
this.ele.nativeElement.classList.add('qms-range-slider-active');
|
3548
|
+
};
|
3549
|
+
return QMSRangeSliderDirective;
|
3550
|
+
}());
|
3551
|
+
QMSRangeSliderDirective.decorators = [
|
3552
|
+
{ type: i0.Directive, args: [{
|
3553
|
+
selector: 'mat-slider[qms-range-slider]',
|
3554
|
+
},] }
|
3555
|
+
];
|
3556
|
+
QMSRangeSliderDirective.ctorParameters = function () { return [
|
3557
|
+
{ type: i0.ElementRef }
|
3558
|
+
]; };
|
3559
|
+
QMSRangeSliderDirective.propDecorators = {
|
3560
|
+
onMouseUp: [{ type: i0.HostListener, args: ['mouseup', [],] }],
|
3561
|
+
onMouseDown: [{ type: i0.HostListener, args: ['mousedown', [],] }]
|
3562
|
+
};
|
3563
|
+
|
3564
|
+
var QMSRangeSliderModule = /** @class */ (function () {
|
3565
|
+
function QMSRangeSliderModule() {
|
3566
|
+
}
|
3567
|
+
return QMSRangeSliderModule;
|
3568
|
+
}());
|
3569
|
+
QMSRangeSliderModule.decorators = [
|
3570
|
+
{ type: i0.NgModule, args: [{
|
3571
|
+
declarations: [
|
3572
|
+
QMSRangeSliderDirective,
|
3573
|
+
QMSRangeSliderLockUpDirective
|
3574
|
+
],
|
3575
|
+
imports: [
|
3576
|
+
common.CommonModule
|
3577
|
+
],
|
3578
|
+
exports: [
|
3579
|
+
QMSRangeSliderDirective,
|
3580
|
+
QMSRangeSliderLockUpDirective
|
3581
|
+
]
|
3582
|
+
},] }
|
3583
|
+
];
|
3584
|
+
|
3585
|
+
var QMSListLeadingIcon = /** @class */ (function () {
|
3586
|
+
function QMSListLeadingIcon() {
|
3587
|
+
}
|
3588
|
+
return QMSListLeadingIcon;
|
3589
|
+
}());
|
3590
|
+
QMSListLeadingIcon.decorators = [
|
3591
|
+
{ type: i0.Directive, args: [{
|
3592
|
+
selector: '[leading-icon]',
|
3593
|
+
host: { 'class': 'leading-icon' }
|
3594
|
+
},] }
|
3595
|
+
];
|
3596
|
+
var QMSListLine = /** @class */ (function () {
|
3612
3597
|
function QMSListLine(elRef, renderer) {
|
3613
3598
|
this.elRef = elRef;
|
3614
3599
|
this.renderer = renderer;
|
@@ -4848,6 +4833,9 @@
|
|
4848
4833
|
_this.treeControl.expand(x);
|
4849
4834
|
});
|
4850
4835
|
}
|
4836
|
+
setTimeout(function () {
|
4837
|
+
_this.treeControlNodes.emit(_this.treeControl);
|
4838
|
+
}, 500);
|
4851
4839
|
};
|
4852
4840
|
TreeComponent.prototype.getParent = function (node) {
|
4853
4841
|
var treeControl = this.treeControl;
|
@@ -4905,19 +4893,12 @@
|
|
4905
4893
|
this.treeControl.dataNodes[i].disabled = false;
|
4906
4894
|
}
|
4907
4895
|
if (this.disabledList.length) {
|
4908
|
-
|
4909
|
-
|
4910
|
-
|
4911
|
-
|
4912
|
-
|
4913
|
-
|
4914
|
-
}
|
4915
|
-
});
|
4916
|
-
};
|
4917
|
-
var this_3 = this;
|
4918
|
-
for (var i = 0; i < this.treeControl.dataNodes.length; i++) {
|
4919
|
-
_loop_3(i);
|
4920
|
-
}
|
4896
|
+
this.disabledList.forEach(function (x) {
|
4897
|
+
var index = _this.treeControl.dataNodes.findIndex(function (node) { return node.id === x.id && (!x.parentId || x.parentId === node.parentId); });
|
4898
|
+
if (index >= 0) {
|
4899
|
+
_this.treeControl.dataNodes[index].disabled = true;
|
4900
|
+
}
|
4901
|
+
});
|
4921
4902
|
}
|
4922
4903
|
//Selected node with select one
|
4923
4904
|
if (this.disabledList.length && this.treeConfig.selectOne) {
|
@@ -4929,33 +4910,32 @@
|
|
4929
4910
|
this.listChildNode = [];
|
4930
4911
|
this.getChild(listChildNodeSameLevel);
|
4931
4912
|
this.getChildNodeSelectOne.emit(this.listChildNode);
|
4932
|
-
var
|
4933
|
-
if (itemMarkChecked ===
|
4934
|
-
parentItem =
|
4935
|
-
|
4913
|
+
var _loop_3 = function (i) {
|
4914
|
+
if (itemMarkChecked === this_3.treeControl.dataNodes[i].id) {
|
4915
|
+
parentItem = this_3.treeControl.dataNodes[i].parentId;
|
4916
|
+
this_3.selectNodeEvent.emit(this_3.treeControl.dataNodes[i]);
|
4936
4917
|
}
|
4937
|
-
|
4918
|
+
this_3.disabledList.forEach(function (el) {
|
4938
4919
|
if (_this.treeControl.dataNodes[i].id === el.toUpperCase()) {
|
4939
4920
|
_this.treeControl.expand(_this.treeControl.dataNodes[i]);
|
4940
4921
|
}
|
4941
4922
|
});
|
4942
4923
|
// remove all children nodes when user dont need to show them
|
4943
|
-
|
4924
|
+
this_3.listChildNode.forEach(function (el) {
|
4944
4925
|
var _a;
|
4945
4926
|
if (el.id && ((_a = _this.treeControl.dataNodes[i]) === null || _a === void 0 ? void 0 : _a.id) === el.id) {
|
4946
4927
|
_this.treeControl.dataNodes.splice(i, 1);
|
4947
4928
|
}
|
4948
4929
|
});
|
4949
4930
|
};
|
4950
|
-
var
|
4931
|
+
var this_3 = this;
|
4951
4932
|
for (var i = 0; i < this.treeControl.dataNodes.length; i++) {
|
4952
|
-
|
4933
|
+
_loop_3(i);
|
4953
4934
|
}
|
4954
4935
|
this.idCheckIcon = this.idToCheckSelectOne(itemMarkChecked, parentItem);
|
4955
4936
|
}
|
4956
4937
|
else {
|
4957
4938
|
this.idCheckIcon = '';
|
4958
|
-
this.treeControl.collapseAll();
|
4959
4939
|
this.cdRef.detectChanges();
|
4960
4940
|
}
|
4961
4941
|
};
|
@@ -5079,10 +5059,7 @@
|
|
5079
5059
|
this.checklistSelection.toggle(node);
|
5080
5060
|
}
|
5081
5061
|
// process/ document single selected
|
5082
|
-
if (this.singleSelectedNode) {
|
5083
|
-
this.checkBoxEvent.emit(this.checklistSelection.selected);
|
5084
|
-
}
|
5085
|
-
else {
|
5062
|
+
if (!this.singleSelectedNode) {
|
5086
5063
|
var descendants = this.treeControl.getDescendants(node).filter(function (item) { return !item.disabled; });
|
5087
5064
|
this.checkSelectedSameNode(descendants, this.descendantsAllSelected(node));
|
5088
5065
|
!this.descendantsAllSelected(node)
|
@@ -5094,8 +5071,8 @@
|
|
5094
5071
|
_this.checklistSelection.deselect(element);
|
5095
5072
|
});
|
5096
5073
|
}
|
5097
|
-
this.checkBoxEvent.emit(this.checklistSelection.selected);
|
5098
5074
|
}
|
5075
|
+
this.checkBoxEvent.emit(this.checklistSelection.selected);
|
5099
5076
|
};
|
5100
5077
|
TreeComponent.prototype.todoChildSelectionToggle = function (node) {
|
5101
5078
|
for (var i = 0; i < this.treeControl.dataNodes.length; i++) {
|
@@ -5150,7 +5127,6 @@
|
|
5150
5127
|
});
|
5151
5128
|
setTimeout(function () {
|
5152
5129
|
_this.checkBoxEvent.emit(_this.checklistSelection.selected);
|
5153
|
-
_this.treeControlNodes.emit(_this.treeControl);
|
5154
5130
|
}, 500);
|
5155
5131
|
};
|
5156
5132
|
TreeComponent.prototype.todoFolderSelection = function (nodes) {
|
@@ -5166,6 +5142,7 @@
|
|
5166
5142
|
}
|
5167
5143
|
});
|
5168
5144
|
this.checkBoxEvent.emit(this.checklistSelection.selected);
|
5145
|
+
this.idCheckIcon = this.idToCheckSelectOne(nodes[0].id, nodes[0].parentId);
|
5169
5146
|
};
|
5170
5147
|
TreeComponent.prototype.selectNode = function (node) {
|
5171
5148
|
if (window[RelatedConst$1.IS_DISPLAY_SEARCH_RESULT]) {
|
@@ -5422,7 +5399,7 @@
|
|
5422
5399
|
}
|
5423
5400
|
};
|
5424
5401
|
TreeComponent.prototype.getNodeId = function (node) {
|
5425
|
-
return "_" + (node.parentId ? node.parentId : '') + "_" + node.id + "_" + node.level;
|
5402
|
+
return "_" + (node.parentId ? node.parentId.toLowerCase() : '') + "_" + node.id.toLowerCase() + "_" + node.level;
|
5426
5403
|
};
|
5427
5404
|
TreeComponent.prototype.getNodeByIdAndParentId = function (nodeId, parentId) {
|
5428
5405
|
return this.treeControl.dataNodes.find(function (x) {
|
@@ -5440,7 +5417,7 @@
|
|
5440
5417
|
TreeComponent.decorators = [
|
5441
5418
|
{ type: i0.Component, args: [{
|
5442
5419
|
selector: 'qms-tree',
|
5443
|
-
template: "<mat-tree\r\n [dataSource]=\"dataSource\"\r\n [treeControl]=\"treeControl\"\r\n class=\"tree__container\"\r\n>\r\n <mat-tree-node\r\n class=\"tree-branch\"\r\n *matTreeNodeDef=\"let node\"\r\n matTreeNodeToggle\r\n matTreeNodePadding\r\n >\r\n <!-- form thu 1 - child -->\r\n <mat-checkbox\r\n qms-group-options\r\n [disabled]=\"node.disabled\"\r\n color=\"default\"\r\n *ngIf=\"node.name && showCheckBox && !onlyCheckBoxForChild && !onlyFolder\"\r\n class=\"checklist-leaf-node\"\r\n [checked]=\"checklistSelection.isSelected(node)\"\r\n (change)=\"todoItemSelectionToggle(node)\"\r\n >\r\n </mat-checkbox>\r\n\r\n <!-- form thu 2 -->\r\n <mat-checkbox\r\n qms-group-options\r\n [disabled]=\"node.disabled\"\r\n color=\"default\"\r\n *ngIf=\"node.name && showCheckBox && onlyCheckBoxForChild && !onlyFolder\"\r\n class=\"ml-10 checklist-leaf-node\"\r\n [checked]=\"checklistSelection.isSelected(node)\"\r\n (change)=\"todoItemSelectionToggle(node)\"\r\n ></mat-checkbox>\r\n <div\r\n class=\"expand-node\"\r\n *ngIf=\"node.name && !onlyFolder\"\r\n [class.bgSelected]=\"\r\n treeConfig.selectOne &&\r\n idCheckIcon == idToCheckSelectOne(node.id, node.parentId)\r\n \"\r\n (click)=\"selectNode(node)\"\r\n [id]=\"getNodeId(node)\"\r\n >\r\n <div class=\"expand-node__text\">\r\n <mat-icon\r\n *ngIf=\"displayType === itemIconType.name && !onlyCheckBoxForChild\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined\"\r\n >\r\n {{ itemIcon }}\r\n </mat-icon>\r\n\r\n <mat-icon\r\n *ngIf=\"displayType === itemIconType.svg\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined\"\r\n [svgIcon]=\"itemIconSvg\"\r\n >\r\n </mat-icon>\r\n\r\n <img\r\n *ngIf=\"displayType === itemIconType.path\"\r\n class=\"mat-icon\"\r\n [src]=\"itemIconPath\"\r\n />\r\n\r\n <img\r\n *ngIf=\"displayType === itemIconType.base64\"\r\n class=\"mat-icon image-base64\"\r\n [src]=\"getImagePath()\"\r\n />\r\n\r\n <mat-icon\r\n *ngIf=\"displayType === itemIconType.none\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined\"\r\n [svgIcon]=\"getItemIcon(node)\"\r\n ></mat-icon>\r\n <span\r\n class=\"text-node\"\r\n [class.select-one-checked]=\"\r\n treeConfig.selectOne &&\r\n idCheckIcon == idToCheckSelectOne(node.id, node.parentId)\r\n \"\r\n >{{ node.name }}</span\r\n >\r\n </div>\r\n <mat-icon\r\n class=\"select-one-checked\"\r\n *ngIf=\"\r\n treeConfig.selectOne &&\r\n idCheckIcon == idToCheckSelectOne(node.id, node.parentId)\r\n \"\r\n >done</mat-icon\r\n >\r\n </div>\r\n </mat-tree-node>\r\n\r\n <mat-tree-node *matTreeNodeDef=\"let node; when: hasChild\" matTreeNodePadding>\r\n <!-- form thu 1 - parent -->\r\n <mat-checkbox\r\n qms-group-options\r\n [disabled]=\"node.disabled\"\r\n color=\"default\"\r\n *ngIf=\"node.name && showCheckBox && !onlyCheckBoxForChild\"\r\n [checked]=\"descendantsAllSelected(node)\"\r\n [indeterminate]=\"descendantsPartiallySelected(node)\"\r\n (change)=\"todoItemSelectionToggle(node)\"\r\n ></mat-checkbox>\r\n <button\r\n class=\"button-boder\"\r\n mat-icon-button\r\n matTreeNodeToggle\r\n [disableRipple]=\"!node.hasChild\"\r\n [attr.aria-label]=\"'toggle ' + node.filename\"\r\n *ngIf=\"node.name\"\r\n >\r\n <mat-icon\r\n *ngIf=\"openIcon && closeIcon\"\r\n class=\"mat-icon-rtl-mirror\"\r\n [ngStyle]=\"{\r\n color: treeControl.isExpanded(node) ? openIconColor : closeIconColor\r\n }\"\r\n >{{ getNodeIcon(node) }}</mat-icon\r\n >\r\n <mat-icon\r\n *ngIf=\"!openIcon || !closeIcon\"\r\n class=\"mat-icon-rtl-mirror\"\r\n [ngClass]=\"{\r\n 'open-icon': treeControl.isExpanded(node),\r\n 'not-department-icon': moduleId !== dataType.document\r\n }\"\r\n [svgIcon]=\"getNodeIcon(node)\"\r\n >\r\n </mat-icon>\r\n </button>\r\n <span\r\n *ngIf=\"expandOnTitleClick\"\r\n matTreeNodeToggle\r\n class=\"text-node-parent\"\r\n style=\"cursor: pointer\"\r\n (click)=\"onExpandNode(node)\"\r\n [ngStyle]=\"{\r\n color: treeControl.isExpanded(node) ? openIconColor : '#000000'\r\n }\"\r\n >\r\n <span>{{ node.name }}</span>\r\n </span>\r\n <span\r\n *ngIf=\"!expandOnTitleClick\"\r\n class=\"text-node-parent\"\r\n (click)=\"selectFolderNode(node)\"\r\n style=\"cursor: pointer\"\r\n [id]=\"getNodeId(node)\"\r\n >\r\n <span\r\n [class.select-one-checked]=\"\r\n treeConfig.selectOne &&\r\n idCheckIcon == idToCheckSelectOne(node.id, node.parentId)\r\n \"\r\n >{{ node.name }}</span\r\n >\r\n <mat-icon\r\n class=\"select-one-checked\"\r\n *ngIf=\"\r\n treeConfig.selectOne &&\r\n idCheckIcon == idToCheckSelectOne(node.id, node.parentId)\r\n \"\r\n >done</mat-icon\r\n >\r\n </span>\r\n </mat-tree-node>\r\n</mat-tree>\r\n",
|
5420
|
+
template: "<mat-tree\r\n [dataSource]=\"dataSource\"\r\n [treeControl]=\"treeControl\"\r\n class=\"tree__container\"\r\n>\r\n <mat-tree-node\r\n class=\"tree-branch\"\r\n *matTreeNodeDef=\"let node\"\r\n matTreeNodeToggle\r\n matTreeNodePadding\r\n >\r\n <!-- form thu 1 - child -->\r\n <mat-checkbox\r\n qms-group-options\r\n [disabled]=\"node.disabled\"\r\n color=\"default\"\r\n *ngIf=\"node.name && showCheckBox && !onlyCheckBoxForChild && !onlyFolder\"\r\n class=\"checklist-leaf-node\"\r\n [checked]=\"checklistSelection.isSelected(node)\"\r\n (change)=\"todoItemSelectionToggle(node)\"\r\n >\r\n </mat-checkbox>\r\n\r\n <!-- form thu 2 -->\r\n <mat-checkbox\r\n qms-group-options\r\n [disabled]=\"node.disabled\"\r\n color=\"default\"\r\n *ngIf=\"node.name && showCheckBox && onlyCheckBoxForChild && !onlyFolder\"\r\n class=\"ml-10 checklist-leaf-node\"\r\n [checked]=\"checklistSelection.isSelected(node)\"\r\n (change)=\"todoItemSelectionToggle(node)\"\r\n ></mat-checkbox>\r\n <div\r\n class=\"expand-node\"\r\n *ngIf=\"node.name && !onlyFolder\"\r\n [class.bgSelected]=\"\r\n treeConfig.selectOne &&\r\n idCheckIcon == idToCheckSelectOne(node.id, node.parentId)\r\n \"\r\n (click)=\"selectNode(node)\"\r\n [id]=\"getNodeId(node)\"\r\n >\r\n <div class=\"expand-node__text\">\r\n <mat-icon\r\n *ngIf=\"displayType === itemIconType.name && !onlyCheckBoxForChild\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined\"\r\n >\r\n {{ itemIcon }}\r\n </mat-icon>\r\n\r\n <mat-icon\r\n *ngIf=\"displayType === itemIconType.svg\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined\"\r\n [svgIcon]=\"itemIconSvg\"\r\n >\r\n </mat-icon>\r\n\r\n <img\r\n *ngIf=\"displayType === itemIconType.path\"\r\n class=\"mat-icon\"\r\n [src]=\"itemIconPath\"\r\n />\r\n\r\n <img\r\n *ngIf=\"displayType === itemIconType.base64\"\r\n class=\"mat-icon image-base64\"\r\n [src]=\"getImagePath()\"\r\n />\r\n\r\n <mat-icon\r\n *ngIf=\"displayType === itemIconType.none\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined\"\r\n [svgIcon]=\"getItemIcon(node)\"\r\n ></mat-icon>\r\n <span\r\n class=\"text-node\"\r\n [class.select-one-checked]=\"\r\n treeConfig.selectOne &&\r\n idCheckIcon == idToCheckSelectOne(node.id, node.parentId)\r\n \"\r\n >{{ node.name }}</span\r\n >\r\n </div>\r\n <mat-icon\r\n class=\"select-one-checked\"\r\n *ngIf=\"\r\n treeConfig.selectOne &&\r\n idCheckIcon == idToCheckSelectOne(node.id, node.parentId)\r\n \"\r\n >done</mat-icon\r\n >\r\n </div>\r\n </mat-tree-node>\r\n\r\n <mat-tree-node *matTreeNodeDef=\"let node; when: hasChild\" matTreeNodePadding>\r\n <!-- form thu 1 - parent -->\r\n <mat-checkbox\r\n qms-group-options\r\n [disabled]=\"node.disabled\"\r\n color=\"default\"\r\n *ngIf=\"node.name && showCheckBox && !onlyCheckBoxForChild\"\r\n [checked]=\"descendantsAllSelected(node)\"\r\n [indeterminate]=\"descendantsPartiallySelected(node)\"\r\n (change)=\"todoItemSelectionToggle(node)\"\r\n ></mat-checkbox>\r\n <button\r\n class=\"button-boder\"\r\n mat-icon-button\r\n matTreeNodeToggle\r\n [disableRipple]=\"!node.hasChild\"\r\n [attr.aria-label]=\"'toggle ' + node.filename\"\r\n *ngIf=\"node.name\"\r\n >\r\n <mat-icon\r\n *ngIf=\"openIcon && closeIcon\"\r\n class=\"mat-icon-rtl-mirror\"\r\n [ngStyle]=\"{\r\n color: treeControl.isExpanded(node) ? openIconColor : closeIconColor\r\n }\"\r\n >{{ getNodeIcon(node) }}</mat-icon\r\n >\r\n <mat-icon\r\n *ngIf=\"!openIcon || !closeIcon\"\r\n class=\"mat-icon-rtl-mirror\"\r\n [ngClass]=\"{\r\n 'open-icon': treeControl.isExpanded(node),\r\n 'not-department-icon': moduleId !== dataType.document\r\n }\"\r\n [svgIcon]=\"getNodeIcon(node)\"\r\n >\r\n </mat-icon>\r\n </button>\r\n <span\r\n *ngIf=\"expandOnTitleClick\"\r\n matTreeNodeToggle\r\n class=\"text-node-parent\"\r\n style=\"cursor: pointer\"\r\n (click)=\"onExpandNode(node)\"\r\n [id]=\"getNodeId(node)\"\r\n [ngStyle]=\"{\r\n color: treeControl.isExpanded(node) ? openIconColor : '#000000'\r\n }\"\r\n >\r\n <span>{{ node.name }}</span>\r\n </span>\r\n <span\r\n *ngIf=\"!expandOnTitleClick\"\r\n class=\"text-node-parent\"\r\n (click)=\"selectFolderNode(node)\"\r\n style=\"cursor: pointer\"\r\n [id]=\"getNodeId(node)\"\r\n >\r\n <span\r\n [class.select-one-checked]=\"\r\n treeConfig.selectOne &&\r\n idCheckIcon == idToCheckSelectOne(node.id, node.parentId)\r\n \"\r\n >{{ node.name }}</span\r\n >\r\n <mat-icon\r\n class=\"select-one-checked\"\r\n *ngIf=\"\r\n treeConfig.selectOne &&\r\n idCheckIcon == idToCheckSelectOne(node.id, node.parentId)\r\n \"\r\n >done</mat-icon\r\n >\r\n </span>\r\n </mat-tree-node>\r\n</mat-tree>\r\n",
|
5444
5421
|
encapsulation: i0.ViewEncapsulation.None,
|
5445
5422
|
styles: ["@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWJ0bbck.woff2) format(\"woff2\");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFUZ0bbck.woff2) format(\"woff2\");unicode-range:U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWZ0bbck.woff2) format(\"woff2\");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFVp0bbck.woff2) format(\"woff2\");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWp0bbck.woff2) format(\"woff2\");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFW50bbck.woff2) format(\"woff2\");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFVZ0b.woff2) format(\"woff2\");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCFPrEHJA.woff2) format(\"woff2\");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCMPrEHJA.woff2) format(\"woff2\");unicode-range:U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCHPrEHJA.woff2) format(\"woff2\");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCGPrEHJA.woff2) format(\"woff2\");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrE.woff2) format(\"woff2\");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}.tree__container{font-family:Open Sans;font-style:normal;font-weight:400;font-size:.875rem;line-height:19px;color:#323232}.tree__container .mat-tree-node{color:#000;min-height:0}.tree__container .mat-tree-node .mat-checkbox.qms-group-options{padding:0}.tree__container .mat-tree-node .mat-checkbox.qms-group-options .mat-checkbox-inner-container{margin-right:11px}.tree__container .button{margin-left:6px}.tree__container .button:focus,.tree__container .button:hover{background-color:#009ef2;border-radius:2px;width:auto}.tree__container .button-boder:focus,.tree__container .button:focus{outline:0}.tree__container .button-folder-boder:focus{outline:0}.tree__container .button-folder-boder:focus,.tree__container .button-folder-boder:hover{background-color:#009ef2;border-radius:2px;width:auto}.tree__container .expand-node{margin-left:8px;min-height:32px;justify-content:space-between;width:100%}.tree__container .expand-node,.tree__container .expand-node .expand-node__text{display:flex;align-items:center}.tree__container .expand-node .mat-icon{color:rgba(0,0,0,.6);margin-right:17px;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content}.tree__container .expand-node .mat-icon svg{display:block;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content}.tree__container .expand-node.bgSelected .select-one-checked{color:#1954a9}.tree__container .text-node-parent{width:100%;display:flex;align-items:center;justify-content:space-between;margin-left:10px;cursor:pointer}.tree__container .text-node-parent.active-item{color:#1954a9!important}.tree__container .text-node-parent .select-one-checked{color:#1954a9}.tree__container .mr-11{margin-right:11px}.tree__container .ml-10{margin-left:10px}.tree__container .tree-branch:hover{background-color:#e5eefb}.tree__container .image-base64{width:20px;height:20px}.tree__container .mat-checkbox.qms-group-options.mat-checkbox-checked{background:transparent!important}::ng-deep .mat-tree .mat-checkbox.qms-group-options{padding:0}::ng-deep .mat-tree .mat-checkbox.qms-group-options.mat-checkbox-checked{background-color:transparent}::ng-deep .mat-tree .mat-checkbox.qms-group-options .mat-checkbox-inner-container{margin-right:0}svg{display:block;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content}.open-icon.not-department-icon svg path,.open-icon svg path:first-child{fill:#1954a9}.mat-checkbox.mat-checkbox-disabled.qms-group-options.mat-checkbox-checked .mat-checkbox-background{background-color:#e0e0e0!important}"]
|
5446
5423
|
},] }
|
@@ -7435,7 +7412,7 @@
|
|
7435
7412
|
{ type: i0.Component, args: [{
|
7436
7413
|
selector: 'app-confirm-popup',
|
7437
7414
|
template: "<div\r\n id=\"qmsckeditor-confirm\"\r\n class=\"qmsckeditor qmsckeditor__confirm__container\"\r\n>\r\n <h2>{{ data.title }}</h2>\r\n <div class=\"row ml2 mr-0\" [innerHTML]=\"data.content\"></div>\r\n <div *ngIf=\"!data.isMessage\" class=\"row ml-0 mr-0 mt20\">\r\n <div *ngIf=\"data.isAdvance\" class=\"mt-4\">\r\n <mat-checkbox [(ngModel)]=\"isNotShowAgain\">{{\r\n data.checkText\r\n }}</mat-checkbox>\r\n </div>\r\n <div class=\"qmsckeditor confirm__button__groups ml-auto mt-auto\">\r\n <button mat-button class=\"cancel\" (click)=\"onCancelClick()\">\r\n {{ LANG.QMSCKEDITOR.CANCEL }}\r\n </button>\r\n <button\r\n *ngIf=\"!data.isAdvance\"\r\n mat-button\r\n class=\"confirm ml3\"\r\n (click)=\"onConfirmClick()\"\r\n >\r\n {{ LANG.QMSCKEDITOR.CONFIRM }}\r\n </button>\r\n <button\r\n *ngIf=\"data.isAdvance\"\r\n mat-button\r\n class=\"confirm ml3\"\r\n (click)=\"onAdvanceConfirmClick()\"\r\n >\r\n {{ LANG.QMSCKEDITOR.CONFIRM }}\r\n </button>\r\n </div>\r\n </div>\r\n <div *ngIf=\"data.isMessage\" class=\"row ml-0 mr-0 mt20\">\r\n <div class=\"ml-auto mt-auto\">\r\n <button mat-button class=\"save ml-3\" (click)=\"onConfirmClick()\">\r\n {{ LANG.QMSCKEDITOR.OK }}\r\n </button>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
7438
|
-
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:
|
7415
|
+
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:472px;overflow:auto}.qmsckeditor.save__as__template.height{height:125px}.ck-content .ck-horizontal-line,.ck-content .page-break{width:100%}.ck-content hr{background:#ccc}"]
|
7439
7416
|
},] }
|
7440
7417
|
];
|
7441
7418
|
QMSCKEditorConfirmComponent.ctorParameters = function () { return [
|
@@ -7699,51 +7676,6 @@
|
|
7699
7676
|
this.showHideFullScreen('block', 'show-content-wrapper', '0px', '0px', '2px', '93vh');
|
7700
7677
|
};
|
7701
7678
|
QMSCKEditorFullscreenComponent.prototype.showHideFullScreen = function (display, className, paddingTop, paddingBottom, marginTopMain, heightIframe) {
|
7702
|
-
var sidebar = window.parent.document.getElementById('sidebar_left');
|
7703
|
-
if (sidebar) {
|
7704
|
-
if (display === 'block') {
|
7705
|
-
if (!sidebar.classList.contains('show-sidebar_left')) {
|
7706
|
-
sidebar.classList.add('show-sidebar_left');
|
7707
|
-
}
|
7708
|
-
}
|
7709
|
-
else if (display === 'none') {
|
7710
|
-
if (sidebar.classList.contains('show-sidebar_left')) {
|
7711
|
-
sidebar.classList.remove('show-sidebar_left');
|
7712
|
-
}
|
7713
|
-
}
|
7714
|
-
}
|
7715
|
-
var topbars = window.parent.document.getElementsByClassName('navbar-fixed-top');
|
7716
|
-
if (topbars && topbars.length > 0) {
|
7717
|
-
var topbar = topbars[0];
|
7718
|
-
topbar.style.display = display;
|
7719
|
-
}
|
7720
|
-
var contentWrapper = window.parent.document.getElementById('content_wrapper');
|
7721
|
-
if (contentWrapper) {
|
7722
|
-
contentWrapper.className = className;
|
7723
|
-
}
|
7724
|
-
var bodies = window.parent.document.getElementsByTagName('body');
|
7725
|
-
if (bodies && bodies.length > 0) {
|
7726
|
-
var body = bodies[0];
|
7727
|
-
body.style.paddingTop = paddingTop;
|
7728
|
-
body.style.paddingBottom = paddingBottom;
|
7729
|
-
if (display === 'block') {
|
7730
|
-
body.classList.remove('sidebar-hidden');
|
7731
|
-
body.classList.add('sidebar-ltr');
|
7732
|
-
}
|
7733
|
-
else if (display === 'none') {
|
7734
|
-
body.classList.remove('sidebar-ltr');
|
7735
|
-
body.classList.add('sidebar-hidden');
|
7736
|
-
}
|
7737
|
-
}
|
7738
|
-
var main = window.parent.document.getElementById('main');
|
7739
|
-
if (main) {
|
7740
|
-
main.style.marginTop = marginTopMain;
|
7741
|
-
}
|
7742
|
-
var iframes = window.parent.document.getElementsByClassName('processIFrameModule');
|
7743
|
-
if (iframes && iframes.length > 0) {
|
7744
|
-
var iframe = iframes[0];
|
7745
|
-
iframe.style.height = heightIframe;
|
7746
|
-
}
|
7747
7679
|
var ck = window.document.getElementById('qmsckeditor');
|
7748
7680
|
if (ck) {
|
7749
7681
|
if (display === 'none') {
|
@@ -7916,7 +7848,7 @@
|
|
7916
7848
|
{ type: i0.Component, args: [{
|
7917
7849
|
selector: 'link-attachment',
|
7918
7850
|
template: "<div\r\n id=\"qmsckeditor_link_attachment\"\r\n class=\"qmsckeditor qmsckeditor__link__attachment__container\"\r\n>\r\n <div id=\"qmsckeditor_link_attachment_header\">\r\n <span\r\n id=\"qmsckeditor_link_attachment_header_001\"\r\n mat-icon-button\r\n class=\"qmsckeditor button__close\"\r\n (click)=\"onCloseDialog()\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </span>\r\n <div id=\"qmsckeditor_link_attachment_header_002\" mat-dialog-content>\r\n <h2 id=\"qmsckeditor_link_attachment_header_002_001\">\r\n {{ LANG.QMSCKEDITOR.ATTACHMENT }}\r\n </h2>\r\n </div>\r\n </div>\r\n <div\r\n id=\"qmsckeditor_link_attachment_content\"\r\n class=\"qmsckeditor template-content height\"\r\n >\r\n <div id=\"qmsckeditor_link_attachment_content_001\" class=\"mt-1 pl-2 pr-2\">\r\n <mat-card\r\n class=\"qmsckeditor card col-12\"\r\n *ngFor=\"let attachment of attachments\"\r\n >\r\n <div\r\n class=\"row\"\r\n (click)=\"\r\n onSelectedAttachment(attachment.extraId, attachment.fileName)\r\n \"\r\n >\r\n <div class=\"qmsckeditor__cursor col-12\">\r\n <div class=\"col-12 pl-0 title\">\r\n <span>{{ attachment.fileName }}</span>\r\n </div>\r\n <div class=\"col-12 pl-0 content\">\r\n <span>{{ attachment.extraId }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-card>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
7919
|
-
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:
|
7851
|
+
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:472px;overflow:auto}.qmsckeditor.save__as__template.height{height:125px}.ck-content .ck-horizontal-line,.ck-content .page-break{width:100%}.ck-content hr{background:#ccc}"]
|
7920
7852
|
},] }
|
7921
7853
|
];
|
7922
7854
|
LinkAttachmentComponent.ctorParameters = function () { return [
|
@@ -7998,6 +7930,7 @@
|
|
7998
7930
|
|
7999
7931
|
exports.QMSCKEditorDocumentType = void 0;
|
8000
7932
|
(function (QMSCKEditorDocumentType) {
|
7933
|
+
QMSCKEditorDocumentType[QMSCKEditorDocumentType["other"] = 0] = "other";
|
8001
7934
|
QMSCKEditorDocumentType[QMSCKEditorDocumentType["document"] = 1] = "document";
|
8002
7935
|
QMSCKEditorDocumentType[QMSCKEditorDocumentType["process"] = 2] = "process";
|
8003
7936
|
QMSCKEditorDocumentType[QMSCKEditorDocumentType["area"] = 3] = "area";
|
@@ -8090,6 +8023,10 @@
|
|
8090
8023
|
QMSCKEditorTreeService.prototype.getProcessList = function () {
|
8091
8024
|
return this.get('ckeditorTree/GetProcessList');
|
8092
8025
|
};
|
8026
|
+
QMSCKEditorTreeService.prototype.getUploadVideoList = function (folderId) {
|
8027
|
+
if (folderId === void 0) { folderId = null; }
|
8028
|
+
return this.get('ckeditorTree/GetUploadVideoList', { folderId: folderId });
|
8029
|
+
};
|
8093
8030
|
return QMSCKEditorTreeService;
|
8094
8031
|
}(QMSCKEditorBaseService));
|
8095
8032
|
QMSCKEditorTreeService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function QMSCKEditorTreeService_Factory() { return new QMSCKEditorTreeService(i0__namespace.ɵɵinject(i1__namespace.HttpClient), i0__namespace.ɵɵinject(QMSCKEditorGlobalService)); }, token: QMSCKEditorTreeService, providedIn: "root" });
|
@@ -8390,7 +8327,7 @@
|
|
8390
8327
|
{ type: i0.Component, args: [{
|
8391
8328
|
selector: 'app-dialog',
|
8392
8329
|
template: "<div id=\"qmsckeditor_tree\" class=\"qmsckeditor qmsckeditor__tree__containter\">\r\n <span\r\n mat-icon-button\r\n class=\"qmsckeditor button__close\"\r\n (click)=\"onCloseClick()\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </span>\r\n <div id=\"qmsckeditor_tree_001\" mat-dialog-content>\r\n <h2 *ngIf=\"!isOnlyDocument\">\r\n {{ LANG.QMSCKEDITOR.ADD_DOCUMENT_PROCESS }}\r\n </h2>\r\n <h2 *ngIf=\"isOnlyDocument\">{{ LANG.QMSCKEDITOR.ADD_DOCUMENT }}</h2>\r\n </div>\r\n <div\r\n id=\"qmsckeditor_tree_002\"\r\n class=\"input__field\"\r\n (click)=\"showSearchResult()\"\r\n >\r\n <input\r\n #name\r\n type=\"text\"\r\n placeholder=\"{{ LANG.QMSCKEDITOR.SEARCH }}\"\r\n matInput\r\n [formControl]=\"myControl\"\r\n [matAutocomplete]=\"auto\"\r\n />\r\n <mat-icon>search</mat-icon>\r\n </div>\r\n <mat-autocomplete\r\n #auto=\"matAutocomplete\"\r\n [displayWith]=\"displayRelated\"\r\n style=\"height: 50vh\"\r\n >\r\n <cdk-virtual-scroll-viewport\r\n itemSize=\"10\"\r\n class=\"related-viewport\"\r\n style=\"height: 50vh\"\r\n >\r\n <mat-option\r\n *cdkVirtualFor=\"let option of filteredOptions\"\r\n [value]=\"option\"\r\n >\r\n <div\r\n *ngIf=\"option.type == 1\"\r\n class=\"col-12\"\r\n (click)=\"selectRelated(option.id, option.type)\"\r\n >\r\n <span\r\n ><img\r\n class=\"mat-icon\"\r\n src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAiElEQVR4AezOAQaAABQE0dDBuk2AjvCPGDrQb0GQ2NCqzDAAvOFP0ahLb7pvvjwBmn1ABrXqfhOqj/3KR+VBPioMOqPyIB+VB/moPMhH5UGdAk26rs6B/AABAgQIECBAgL4E2vcZpJFG+DA5DppPQweFk+MgHiAuB+L7VHTIeyDuBg9kDBcwCgBx1CcsdvijVwAAAABJRU5ErkJggg==\"\r\n /></span>\r\n <span>{{ option.name }}</span>\r\n </div>\r\n <div\r\n *ngIf=\"option.type == 2\"\r\n class=\"col-12\"\r\n (click)=\"selectRelated(option.id, option.type)\"\r\n >\r\n <span\r\n ><img\r\n class=\"mat-icon\"\r\n src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYAQMAAADaua+7AAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAZQTFRFAAAAbHV9mFYLuQAAAAJ0Uk5TAP9bkSK1AAAAKUlEQVR4nGNgQALyjT/AWPL/DDCG8dmAclgx4w8wZgeqBWEGIBuMEQAAaJkRERdvY48AAAAASUVORK5CYII=\"\r\n /></span>\r\n <span>{{ option.name }}</span>\r\n </div>\r\n </mat-option>\r\n </cdk-virtual-scroll-viewport>\r\n </mat-autocomplete>\r\n <div id=\"qmsckeditor_tree_003\" class=\"row ml-0 mr-0 mt20\">\r\n <div id=\"qmsckeditor_tree_003_001\" class=\"content-box\">\r\n <strong *ngIf=\"!isOnlyDocument\">{{ LANG.QMSCKEDITOR.PROCESSES }}</strong>\r\n <qms-ckeditor-tree\r\n *ngIf=\"!isOnlyDocument\"\r\n [areaOfCurrentProcess]=\"areaOfCurrentProcess\"\r\n [listParentObj]=\"listParentProcessId\"\r\n [treeData]=\"treeProcessData\"\r\n [rawData]=\"processData\"\r\n [docType]=\"2\"\r\n [useExpandFeature]=\"true\"\r\n [allowSelectFolder]=\"isEnableFolder\"\r\n (selectNodeEvent)=\"selectProcessNode($event)\"\r\n (selectFolderEvent)=\"selectAreaNode($event)\"\r\n ></qms-ckeditor-tree>\r\n <div *ngIf=\"!isOnlyDocument\" class=\"line-divider\"></div>\r\n <strong>{{ LANG.QMSCKEDITOR.DOCUMENTS }}</strong>\r\n <qms-ckeditor-tree\r\n [areaOfCurrentProcess]=\"areaOfCurrentProcess\"\r\n [listParentObj]=\"listParentDocumentId\"\r\n [treeData]=\"treeDocumentData\"\r\n [rawData]=\"documentData\"\r\n [useExpandFeature]=\"true\"\r\n [docType]=\"1\"\r\n [allowSelectFolder]=\"isEnableFolder\"\r\n (selectNodeEvent)=\"selectDocumentNode($event)\"\r\n (selectFolderEvent)=\"selectHandbookNode($event)\"\r\n ></qms-ckeditor-tree>\r\n </div>\r\n </div>\r\n <div\r\n id=\"qmsckeditor_tree_004\"\r\n class=\"qmsckeditor button__groups mt20 row ml-0 mr-0\"\r\n >\r\n <button\r\n type=\"button\"\r\n class=\"save col-12\"\r\n mat-flat-button\r\n (click)=\"onAddDocumentProcess()\"\r\n >\r\n {{ LANG.QMSCKEDITOR.ADD }}\r\n </button>\r\n </div>\r\n</div>\r\n",
|
8393
|
-
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:
|
8330
|
+
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:472px;overflow:auto}.qmsckeditor.save__as__template.height{height:125px}.ck-content .ck-horizontal-line,.ck-content .page-break{width:100%}.ck-content hr{background:#ccc}::ng-deep .qmsckeditor__tree__containter .input__field input{width:97%;padding:10px;outline:none;border:none;background:#eee}::ng-deep .qmsckeditor__tree__containter .input__field .mat-icon{margin-left:-35px;cursor:pointer;vertical-align:middle}::ng-deep .qmsckeditor__tree__containter .mat-tree{background:#00283a}::ng-deep .qmsckeditor__tree__containter .mat-tree-node{color:#fff;min-height:40px}::ng-deep .qmsckeditor__tree__containter .folder-icon{color:#a4b0de}::ng-deep .qmsckeditor__tree__containter .mat-icon{margin-bottom:5px}::ng-deep .qmsckeditor__tree__containter .content-box{min-width:375px;width:100%;height:435px;overflow-y:auto;background:#00283a;color:#fff}::ng-deep .qmsckeditor__tree__containter .content-box .content-box-item{width:100%;height:56px;border:1px solid #d4d5d6;padding:15px}::ng-deep .qmsckeditor__tree__containter .content-box .content-box-item:hover{background:#d8ddf0;cursor:pointer}::ng-deep .qmsckeditor__tree__containter .content-box .content-box-item .content-box-text{float:left;width:90%;height:26px;overflow:hidden}::ng-deep .qmsckeditor__tree__containter .content-box .content-box-item .content-box-icon{float:right}::ng-deep .qmsckeditor__tree__containter .content-box .content-box-item:not(:last-child){border-bottom:none}::ng-deep .qmsckeditor__tree__containter .content-box strong{text-transform:uppercase;margin:10px 0 0 2px}::ng-deep .qmsckeditor__tree__containter .line-divider{border-bottom:1px solid #ccc;height:1px;margin-top:10px}::ng-deep .qmsckeditor__tree__containter .loading ::ng-deep .mat-progress-spinner{width:21px;height:21px;margin:0 auto;top:32px}::ng-deep .mat-autocomplete-panel.mat-autocomplete-visible{overflow:hidden;max-height:none}::ng-deep .mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden;display:none}"]
|
8394
8331
|
},] }
|
8395
8332
|
];
|
8396
8333
|
QMSCKEditorRelatedComponent.ctorParameters = function () { return [
|
@@ -8534,6 +8471,9 @@
|
|
8534
8471
|
this.anchorByName = url.substr(hashIndex + 1, url.length - hashIndex);
|
8535
8472
|
this.anchorTitle = this.data.title;
|
8536
8473
|
}
|
8474
|
+
else if (typeId === exports.LinkType.url) {
|
8475
|
+
//selectedProtocol
|
8476
|
+
}
|
8537
8477
|
};
|
8538
8478
|
QMSCKEditorLinkComponent.prototype.onSelectedLinkType = function () {
|
8539
8479
|
if (this.selectedLink === exports.LinkType.anchorText) {
|
@@ -8731,7 +8671,7 @@
|
|
8731
8671
|
{ type: i0.Component, args: [{
|
8732
8672
|
selector: 'qms-ckeditor-link',
|
8733
8673
|
template: "<div id=\"qmsckeditor_link\" class=\"qmsckeditor qmsckeditor__link__container\">\r\n <div id=\"qmsckeditor_link_header\">\r\n <span id=\"qmsckeditor_link_header_001\" mat-icon-button class=\"qmsckeditor button__close\" (click)=\"onCloseDialog()\">\r\n <mat-icon>close</mat-icon>\r\n </span>\r\n <div id=\"qmsckeditor_link_header_002\" mat-dialog-content>\r\n <h2 id=\"qmsckeditor_link_header_001\">\r\n {{ LANG.QMSCKEDITOR.LINK }}\r\n </h2>\r\n </div>\r\n </div>\r\n <div id=\"qmsckeditor_link_type\" class=\"row\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-3\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.LINK_TYPE }}</mat-label>\r\n <mat-select disableOptionCentering name=\"linkTypeList\" [(ngModel)]=\"selectedLink\"\r\n (ngModelChange)=\"onSelectedLinkType()\">\r\n <mat-option *ngFor=\"let link of linkTypes\" [value]=\"link.id\">\r\n {{ link.name }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div id=\"qmsckeditor_link_content\">\r\n <form [formGroup]=\"linkFormGroup\" class=\"qmsckeditor link__content height row\" *ngIf=\"selectedLink === 0\">\r\n <div id=\"qmsckeditor_link_url\" class=\"col-12 mt-1 pl-3 pr-3\">\r\n <mat-expansion-panel id=\"qmsckeditor_link_url_panel\" [expanded]=\"isExpanded\" (opened)=\"isExpanded = true\"\r\n (closed)=\"isExpanded = false\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{ LANG.QMSCKEDITOR.URL_HEADER }}\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div id=\"qmsckeditor_link_url_001\" class=\"row mt-2\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.TARGET }}</mat-label>\r\n <mat-select [(ngModel)]=\"selectedTarget\" formControlName=\"targetList\" disableOptionCentering>\r\n <mat-option *ngFor=\"let target of targets\" [value]=\"target.id\">\r\n {{ target.name }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div id=\"qmsckeditor_link_url_002\" class=\"row\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-3\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.PROTOCOL }}</mat-label>\r\n <mat-select [(ngModel)]=\"selectedProtocol\" formControlName=\"protocolList\" disableOptionCentering>\r\n <mat-option *ngFor=\"let protocol of protocols\" [value]=\"protocol.id\">\r\n {{ protocol.name }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div id=\"qmsckeditor_link_url_003\" class=\"row\">\r\n <mat-form-field class=\"col-12 pl-3 pr-3\" appearance=\"fill\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.LINK_URL }}</mat-label>\r\n <input matInput [(ngModel)]=\"url\" name=\"url\" formControlName=\"url\" />\r\n <mat-error *ngIf=\"linkFormGroup.get('url').hasError('required')\" class=\"mt5\">\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div id=\"qmsckeditor_link_url_004\" class=\"row\">\r\n <mat-form-field class=\"col-12 pl-3 pr-3\" appearance=\"fill\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.ADVISORY_TITLE }}</mat-label>\r\n <input matInput [(ngModel)]=\"advisoryTitle\" formControlName=\"advisoryTitle\" />\r\n <mat-error *ngIf=\"linkFormGroup.get('advisoryTitle').hasError('required')\" class=\"mt5\">\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div id=\"qmsckeditor_link_url_005\" class=\"qmsckeditor button__groups row\">\r\n <div class=\"col-6 pl-3\">\r\n <button class=\"save\" mat-flat-button (click)=\"eHandbook(false, false)\">\r\n {{ LANG.QMSCKEDITOR.HANDBOOK }}\r\n </button>\r\n </div>\r\n <div class=\"col-6 pr-3\">\r\n <button class=\"save\" mat-flat-button (click)=\"attachment()\">\r\n {{ LANG.QMSCKEDITOR.ATTACHMENT }}\r\n </button>\r\n </div>\r\n </div>\r\n </mat-expansion-panel>\r\n </div>\r\n </form>\r\n\r\n <form [formGroup]=\"anchorTextFormGroup\" class=\"qmsckeditor link__content height row\" *ngIf=\"selectedLink === 1\">\r\n <div id=\"qmsckeditor_link_anchor_text\" class=\"col-12 mt-1 pl-3 pr-3\">\r\n <mat-expansion-panel id=\"qmsckeditor_link_anchor_text_panel\" [expanded]=\"isExpanded\"\r\n (opened)=\"isExpanded = true\" (closed)=\"isExpanded = false\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{ LANG.QMSCKEDITOR.ANCHOR_TEXT_HEADER }}\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div id=\"qmsckeditor_link_anchor_text_001\" class=\"row mt-2\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.ANCHOR_BY_NAME }}</mat-label>\r\n <mat-select [(ngModel)]=\"anchorText\" formControlName=\"anchorText\">\r\n <mat-option *ngFor=\"let editorAnchor of editorAnchors\" [value]=\"editorAnchor.anchorValue\"\r\n disableOptionCentering>\r\n {{ editorAnchor.viewValue }}\r\n </mat-option>\r\n </mat-select>\r\n <mat-error *ngIf=\"\r\n anchorTextFormGroup.get('anchorText').hasError('required')\r\n \" class=\"mt5\">\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n </mat-expansion-panel>\r\n </div>\r\n </form>\r\n\r\n <form [formGroup]=\"emailFormGroup\" class=\"qmsckeditor link__content height row\" *ngIf=\"selectedLink === 2\">\r\n <div id=\"qmsckeditor_link_email\" class=\"col-12 mt-1 pl-3 pr-3\">\r\n <mat-expansion-panel id=\"qmsckeditor_link_email_panel\" [expanded]=\"isExpanded\" (opened)=\"isExpanded = true\"\r\n (closed)=\"isExpanded = false\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{ LANG.QMSCKEDITOR.EMAIL_HEADER }}\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div id=\"qmsckeditor_link_email_001\" class=\"row\">\r\n <mat-form-field class=\"col-12 pl-3 pr-3\" appearance=\"fill\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.EMAIL_ADDRESS }}</mat-label>\r\n <input matInput [(ngModel)]=\"emailAddress\" formControlName=\"emailAddress\" />\r\n <mat-error *ngIf=\"emailFormGroup.get('emailAddress').hasError('required')\" class=\"mt5\">\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div id=\"qmsckeditor_link_email_002\" class=\"row\">\r\n <mat-form-field class=\"col-12 pl-3 pr-3\" appearance=\"fill\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.EMAIL_SUBJECT }}</mat-label>\r\n <input matInput [(ngModel)]=\"emailSubject\" formControlName=\"emailSubject\" />\r\n <mat-error *ngIf=\"emailFormGroup.get('emailSubject').hasError('required')\" class=\"mt5\">\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div id=\"qmsckeditor_link_email_003\" class=\"row\">\r\n <mat-form-field class=\"col-12 pl-3 pr-3\" appearance=\"fill\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.EMAIL_BODY }}</mat-label>\r\n <textarea matInput [(ngModel)]=\"emailBody\" formControlName=\"emailBody\"></textarea>\r\n <mat-error *ngIf=\"emailFormGroup.get('emailBody').hasError('required')\" class=\"mt5\">\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n </mat-expansion-panel>\r\n </div>\r\n </form>\r\n\r\n <form [formGroup]=\"anchorDocFormGroup\" class=\"qmsckeditor link__content height row\" *ngIf=\"selectedLink === 3\">\r\n <div id=\"qmsckeditor_link_anchor_doc\" class=\"col-12 mt-1 pl-3 pr-3\">\r\n <mat-expansion-panel id=\"qmsckeditor_link_email_panel\" [expanded]=\"isExpanded\" (opened)=\"isExpanded = true\"\r\n (closed)=\"isExpanded = false\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{ LANG.QMSCKEDITOR.EMAIL_HEADER }}\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div id=\"qmsckeditor_link_anchor_doc_001\" class=\"qmsckeditor button__groups row\">\r\n <div class=\"col-6 pl-3\">\r\n <button class=\"cancel\" mat-flat-button (click)=\"eHandbook(true, true)\">\r\n {{ LANG.QMSCKEDITOR.HANDBOOK }}\r\n </button>\r\n </div>\r\n </div>\r\n <div id=\"qmsckeditor_link_anchor_doc_002\" class=\"row mt-4\">\r\n <mat-form-field class=\"col-12 pl-3 pr-3\" appearance=\"fill\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.DOCUMENT }}</mat-label>\r\n <input matInput [(ngModel)]=\"anchorTitle\" formControlName=\"anchorTitle\" />\r\n <mat-error *ngIf=\"\r\n anchorDocFormGroup.get('anchorTitle').hasError('required')\r\n \" class=\"mt5\">\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div id=\"qmsckeditor_link_anchor_doc_003\" class=\"row mt-2\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.ANCHOR_BY_NAME }}</mat-label>\r\n <mat-select [(ngModel)]=\"anchorByName\" formControlName=\"anchorByName\" disableOptionCentering>\r\n <mat-option *ngFor=\"let docAnchor of documentAnchors\" [value]=\"docAnchor.anchorValue\">\r\n {{ docAnchor.viewValue }}\r\n </mat-option>\r\n </mat-select>\r\n <mat-error *ngIf=\"\r\n anchorDocFormGroup.get('anchorByName').hasError('required')\r\n \" class=\"mt5\">\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n </mat-expansion-panel>\r\n </div>\r\n </form>\r\n </div>\r\n\r\n <div id=\"qmsckeditor_link_footer\" class=\"qmsckeditor button__groups row\">\r\n <div class=\"col-12 mt-3 pl-3 pr-3\">\r\n <button class=\"save\" mat-flat-button (click)=\"setLink()\" [disabled]=\"disableOkButton()\">\r\n {{ LANG.QMSCKEDITOR.OK }}\r\n </button>\r\n </div>\r\n </div>\r\n</div>",
|
8734
|
-
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:
|
8674
|
+
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:472px;overflow:auto}.qmsckeditor.save__as__template.height{height:125px}.ck-content .ck-horizontal-line,.ck-content .page-break{width:100%}.ck-content hr{background:#ccc}.qmsckeditor__link__container textarea.mat-input-element{min-height:130px}"]
|
8735
8675
|
},] }
|
8736
8676
|
];
|
8737
8677
|
QMSCKEditorLinkComponent.ctorParameters = function () { return [
|
@@ -9049,7 +8989,7 @@
|
|
9049
8989
|
{ type: i0.Component, args: [{
|
9050
8990
|
selector: 'app-qmsck-template',
|
9051
8991
|
template: "<div\r\n id=\"qmsckeditor-template\"\r\n class=\"qmsckeditor qmsckeditor__template__container\"\r\n>\r\n <div id=\"qmsckeditor-template-header\">\r\n <span\r\n id=\"qmsckeditor-template-header_001\"\r\n mat-icon-button\r\n class=\"qmsckeditor button__close\"\r\n (click)=\"onCloseDialog()\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </span>\r\n <div\r\n id=\"qmsckeditor-template-header_002\"\r\n mat-dialog-content\r\n *ngIf=\"!isEdit\"\r\n >\r\n <h2 id=\"qmsckeditor-template_002_001\">\r\n {{ LANG.QMSCKEDITOR.CREATE_NEW_TEMPLATE }}\r\n </h2>\r\n </div>\r\n <div id=\"qmsckeditor-template-header_002\" mat-dialog-content *ngIf=\"isEdit\">\r\n <h2 id=\"qmsckeditor-template_002_001\">\r\n {{ LANG.QMSCKEDITOR.UPDATE_TEMPLATE }}\r\n </h2>\r\n </div>\r\n </div>\r\n\r\n <form [formGroup]=\"templateFormGroup\">\r\n <div\r\n id=\"qmsckeditor-template-content\"\r\n class=\"qmsckeditor template-content height\"\r\n >\r\n <div id=\"qmsckeditor-template-content_001\" class=\"col-12 mt-1 pl-2 pr-2\">\r\n <mat-expansion-panel\r\n id=\"qmsckeditor-template-panel\"\r\n [expanded]=\"isExpanded\"\r\n (opened)=\"isExpanded = true\"\r\n (closed)=\"isExpanded = false\"\r\n >\r\n <div id=\"qmsckeditor-template-panel_001\">\r\n <div id=\"qmsckeditor-template-panel_001_000\" class=\"mt-2\">\r\n <mat-form-field appearance=\"fill\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.TEMPLATE }}</mat-label>\r\n <mat-select\r\n formControlName=\"templateList\"\r\n [(ngModel)]=\"selectedId\"\r\n (ngModelChange)=\"onSelectChange()\"\r\n [disabled]=\"isEdit\"\r\n >\r\n <mat-option\r\n *ngFor=\"let template of templates\"\r\n [value]=\"template.id\"\r\n >\r\n {{ template.title }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div id=\"qmsckeditor-template-panel_001_001\">\r\n <mat-form-field class=\"col-12 pl-0 pr-0\" appearance=\"fill\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.TITLE }}</mat-label>\r\n <input\r\n matInput\r\n [(ngModel)]=\"template.title\"\r\n formControlName=\"title\"\r\n />\r\n <mat-error\r\n *ngIf=\"templateFormGroup.get('title').hasError('required')\"\r\n class=\"mt5\"\r\n >\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div id=\"qmsckeditor-template-panel_001_002\">\r\n <mat-form-field class=\"col-12 pl-0 pr-0\" appearance=\"fill\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.DESCRIPTION }}</mat-label>\r\n <textarea\r\n matInput\r\n [(ngModel)]=\"template.description\"\r\n formControlName=\"description\"\r\n ></textarea>\r\n <mat-error\r\n *ngIf=\"\r\n templateFormGroup.get('description').hasError('required')\r\n \"\r\n class=\"mt5\"\r\n >\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div\r\n id=\"qmsckeditor-template-panel_001_003\"\r\n class=\"qmsckeditor button__groups row mr-0 ml-0\"\r\n >\r\n <div class=\"col-6 pl-0\" *ngIf=\"!isEdit\">\r\n <button\r\n class=\"delete\"\r\n mat-flat-button\r\n (click)=\"deleteTemplate()\"\r\n [disabled]=\"selectedId === 0\"\r\n >\r\n {{ LANG.QMSCKEDITOR.DELETE }}\r\n </button>\r\n </div>\r\n <div class=\"col-6 pr-0\" *ngIf=\"!isEdit && selectedId === 0\">\r\n <button\r\n class=\"save\"\r\n mat-flat-button\r\n (click)=\"saveTemplate()\"\r\n [disabled]=\"templateFormGroup.invalid\"\r\n >\r\n {{ LANG.QMSCKEDITOR.SAVE }}\r\n </button>\r\n </div>\r\n <div class=\"col-6 pl-0\" *ngIf=\"isEdit\">\r\n <button\r\n class=\"cancel\"\r\n mat-flat-button\r\n (click)=\"cancelTemplate()\"\r\n [disabled]=\"selectedId === 0\"\r\n >\r\n {{ LANG.QMSCKEDITOR.CANCEL }}\r\n </button>\r\n </div>\r\n <div class=\"col-6 pr-0\" *ngIf=\"isEdit || selectedId !== 0\">\r\n <button\r\n class=\"save\"\r\n mat-flat-button\r\n (click)=\"updateTemplate()\"\r\n [disabled]=\"templateFormGroup.invalid\"\r\n >\r\n {{ LANG.QMSCKEDITOR.UPDATE }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-expansion-panel>\r\n </div>\r\n </div>\r\n </form>\r\n</div>\r\n",
|
9052
|
-
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:
|
8992
|
+
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:472px;overflow:auto}.qmsckeditor.save__as__template.height{height:125px}.ck-content .ck-horizontal-line,.ck-content .page-break{width:100%}.ck-content hr{background:#ccc}.qmsckeditor__template__container .mat-form-field{width:100%}.qmsckeditor__template__container textarea.mat-input-element{min-height:150px}.qmsckeditor__template__container .template-checkbox{padding-top:20px}"]
|
9053
8993
|
},] }
|
9054
8994
|
];
|
9055
8995
|
QMSCKEditorTemplateComponent.ctorParameters = function () { return [
|
@@ -9185,7 +9125,7 @@
|
|
9185
9125
|
{ type: i0.Component, args: [{
|
9186
9126
|
selector: 'app-qmsck-load-template',
|
9187
9127
|
template: "<div\r\n id=\"qmsckeditor-load-template\"\r\n class=\"qmsckeditor qmsckeditor__loadtemplate__container\"\r\n>\r\n <div id=\"qmsckeditor-load-template-header\">\r\n <span\r\n id=\"qmsckeditor-load-template-header_001\"\r\n mat-icon-button\r\n class=\"qmsckeditor button__close\"\r\n (click)=\"onCloseDialog()\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </span>\r\n <div id=\"qmsckeditor-load-template-header_002\" mat-dialog-content>\r\n <h2 id=\"qmsckeditor-template_002_001\">\r\n {{ LANG.QMSCKEDITOR.CONTENT_TEMPLATE }}\r\n </h2>\r\n </div>\r\n </div>\r\n <div id=\"load-template_002\">\r\n <div id=\"load-template_002_001\" class=\"title col-12 mt-3\">\r\n <h2 id=\"load-template_002_001_001\">\r\n {{ LANG.QMSCKEDITOR.CHOOSE_TEMPLATE }}\r\n </h2>\r\n </div>\r\n </div>\r\n <div\r\n id=\"qmsckeditor-load-template-content\"\r\n class=\"qmsckeditor template-content height\"\r\n >\r\n <div id=\"qmsckeditor-load-template-content_003\" class=\"mt-1 pl-2 pr-2\">\r\n <mat-card\r\n class=\"qmsckeditor card col-12\"\r\n *ngFor=\"let template of templates\"\r\n >\r\n <div class=\"row\">\r\n <div\r\n class=\"qmsckeditor__cursor col-10\"\r\n (click)=\"onSelectTemplate(template.id)\"\r\n >\r\n <div class=\"col-12 pl-0 title\">\r\n <span>{{ template.title }}</span>\r\n </div>\r\n <div class=\"col-12 pl-0 content\">\r\n <span>{{ template.description }}</span>\r\n </div>\r\n </div>\r\n <div class=\"qmsckeditor__cursor col-1\">\r\n <mat-icon (click)=\"onEditTemplate(template.id)\">edit</mat-icon>\r\n </div>\r\n <div class=\"qmsckeditor__cursor col-1\">\r\n <mat-icon (click)=\"onDeleteTemplate(template.id)\">delete</mat-icon>\r\n </div>\r\n </div>\r\n </mat-card>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
9188
|
-
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:
|
9128
|
+
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:472px;overflow:auto}.qmsckeditor.save__as__template.height{height:125px}.ck-content .ck-horizontal-line,.ck-content .page-break{width:100%}.ck-content hr{background:#ccc}.qmsckeditor__loadtemplate__container .template-checkbox{padding-top:20px}"]
|
9189
9129
|
},] }
|
9190
9130
|
];
|
9191
9131
|
QMSCKEditorLoadTemplateComponent.ctorParameters = function () { return [
|
@@ -9196,31 +9136,95 @@
|
|
9196
9136
|
{ type: String, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
9197
9137
|
]; };
|
9198
9138
|
|
9199
|
-
var
|
9200
|
-
function
|
9139
|
+
var QmsUploadAdapter = /** @class */ (function () {
|
9140
|
+
function QmsUploadAdapter(loader, config) {
|
9201
9141
|
this.loader = loader;
|
9142
|
+
this.config = config;
|
9143
|
+
this.config.imageUploadTypes = this.config.imageUploadTypes || 'png,jpeg,jpg';
|
9144
|
+
this.config.maxFileSizeMB = this.config.maxFileSizeMB || 2;
|
9145
|
+
if (this.config.imageUploadTypes.indexOf('jpeg') > -1) {
|
9146
|
+
this.config.imageUploadTypes += ',jpg';
|
9147
|
+
}
|
9148
|
+
else if (this.config.imageUploadTypes.indexOf('jpg') > -1) {
|
9149
|
+
this.config.imageUploadTypes += ',jpeg';
|
9150
|
+
}
|
9202
9151
|
}
|
9203
|
-
|
9152
|
+
QmsUploadAdapter.prototype.abort = function () {
|
9153
|
+
if (this.xhr) {
|
9154
|
+
this.xhr.abort();
|
9155
|
+
}
|
9156
|
+
};
|
9157
|
+
QmsUploadAdapter.prototype._initRequest = function () {
|
9158
|
+
var xhr = this.xhr = new XMLHttpRequest();
|
9159
|
+
xhr.open('POST', this.config.apiUrl + "ckeditorUpload/UploadImage", true);
|
9160
|
+
xhr.responseType = 'json';
|
9161
|
+
};
|
9162
|
+
QmsUploadAdapter.prototype._initListeners = function (resolve, reject, filename) {
|
9163
|
+
var xhr = this.xhr;
|
9164
|
+
var loader = this.loader;
|
9165
|
+
var genericErrorText = this.config.LANG.QMSCKEDITOR.FAILED_TO_UPLOAD_FILE + ": " + filename + ".";
|
9166
|
+
xhr.addEventListener('error', function () { return reject(genericErrorText); });
|
9167
|
+
xhr.addEventListener('abort', function () { return reject(); });
|
9168
|
+
xhr.addEventListener('load', function () {
|
9169
|
+
var response = xhr.response;
|
9170
|
+
if (!response || response.error) {
|
9171
|
+
return reject(response && response.error ? response.error.message : genericErrorText);
|
9172
|
+
}
|
9173
|
+
resolve({ default: response });
|
9174
|
+
});
|
9175
|
+
if (xhr.upload) {
|
9176
|
+
xhr.upload.addEventListener('progress', function (evt) {
|
9177
|
+
if (evt.lengthComputable) {
|
9178
|
+
loader.uploadTotal = evt.total;
|
9179
|
+
loader.uploaded = evt.loaded;
|
9180
|
+
}
|
9181
|
+
});
|
9182
|
+
}
|
9183
|
+
};
|
9184
|
+
QmsUploadAdapter.prototype._sendRequest = function (file) {
|
9185
|
+
var data = new FormData();
|
9186
|
+
data.append('file', file, file.name);
|
9187
|
+
data.append('name', file.name);
|
9188
|
+
this.xhr.send(data);
|
9189
|
+
};
|
9190
|
+
QmsUploadAdapter.prototype._getExtension = function (file) {
|
9191
|
+
if (!file.name) {
|
9192
|
+
return '';
|
9193
|
+
}
|
9194
|
+
var filenames = file.name.toLowerCase().split('.');
|
9195
|
+
if (filenames.length < 1) {
|
9196
|
+
return '';
|
9197
|
+
}
|
9198
|
+
return filenames[1];
|
9199
|
+
};
|
9200
|
+
QmsUploadAdapter.prototype.upload = function () {
|
9201
|
+
var _this = this;
|
9204
9202
|
return this.loader.file
|
9205
9203
|
.then(function (file) {
|
9206
9204
|
return new Promise(function (resolve, reject) {
|
9207
|
-
var
|
9208
|
-
|
9209
|
-
|
9205
|
+
var reader = new FileReader();
|
9206
|
+
reader.readAsArrayBuffer(file);
|
9207
|
+
reader.onload = function () {
|
9208
|
+
var fileExtension = _this._getExtension(file);
|
9209
|
+
if (_this.config.imageUploadTypes.indexOf(fileExtension) > -1) {
|
9210
|
+
if (file.size > (_this.config.maxFileSizeMB * 1024 * 1024)) {
|
9211
|
+
reject(("" + _this.config.LANG.QMSCKEDITOR.UPLOAD_FILE_OVERSIZE).replace('{0}', _this.config.maxFileSizeMB.toString()));
|
9212
|
+
}
|
9213
|
+
_this._initRequest();
|
9214
|
+
_this._initListeners(resolve, reject, file.name);
|
9215
|
+
_this._sendRequest(file);
|
9216
|
+
}
|
9217
|
+
else {
|
9218
|
+
reject(("" + _this.config.LANG.QMSCKEDITOR.UPLOAD_FILE_NOT_VALID_FORMAT).replace('{0}', _this.config.imageUploadTypes));
|
9219
|
+
}
|
9210
9220
|
};
|
9211
|
-
// if (file.size > 512000) {
|
9212
|
-
// const msg = `${file.name} is more than 500kb. Sorry, it has to be less than or equal to 500kb`;
|
9213
|
-
// QMSCKEditorToastService.error(msg);
|
9214
|
-
// reject();
|
9215
|
-
// }
|
9216
|
-
myReader.readAsDataURL(file);
|
9217
9221
|
});
|
9218
9222
|
})
|
9219
9223
|
.catch(function (error) {
|
9220
9224
|
throw error;
|
9221
9225
|
});
|
9222
9226
|
};
|
9223
|
-
return
|
9227
|
+
return QmsUploadAdapter;
|
9224
9228
|
}());
|
9225
9229
|
|
9226
9230
|
var CKEditorEventConst = /** @class */ (function () {
|
@@ -9241,7 +9245,13 @@
|
|
9241
9245
|
CKEditorEventConst.QMSCK_BPMN_PLUGIN_MSG = 'QMSCK_BPMN_PLUGIN_MSG';
|
9242
9246
|
CKEditorEventConst.QMSCK_BPMN_PLUGIN_RESP = 'QMSCK_BPMN_PLUGIN_RESP';
|
9243
9247
|
CKEditorEventConst.QMSCK_BPMN = 'bpmn';
|
9244
|
-
CKEditorEventConst.
|
9248
|
+
CKEditorEventConst.QMSCK_ABOUT_CKEDITOR_PLUGIN_MSG = "QMSCK_ABOUT_CKEDITOR_PLUGIN_MSG";
|
9249
|
+
CKEditorEventConst.QMSCK_FLOWCHART_PLUGIN_MSG = 'QMSCK_FLOWCHART_PLUGIN_MSG';
|
9250
|
+
CKEditorEventConst.QMSCK_FLOWCHART_PLUGIN_RESP = 'QMSCK_FLOWCHART_PLUGIN_RESP';
|
9251
|
+
CKEditorEventConst.QMSCK_FLOWCHART = 'flowchart';
|
9252
|
+
CKEditorEventConst.QMSCK_TOGGLE_TOOLBAR_MSG = 'QMSCK_TOGGLE_TOOLBAR_MSG';
|
9253
|
+
CKEditorEventConst.QMSCK_BROWSE_VIDEO_MSG = 'QMSCK_BROWSE_VIDEO_MSG';
|
9254
|
+
CKEditorEventConst.QMSCK_BROWSE_VIDEO_RESP = 'QMSCK_BROWSE_VIDEO_RESP';
|
9245
9255
|
|
9246
9256
|
var IFRAME_SRC = '//cdn.iframe.ly/api/iframe';
|
9247
9257
|
var API_KEY = 'b499e92e857f435c39c14d';
|
@@ -9540,6 +9550,7 @@
|
|
9540
9550
|
FlowChartConst.PROCESS_SHAPE_FLOWCHART = 'processShapeFlowChart';
|
9541
9551
|
FlowChartConst.SHAPE_FLOWCHART_LOADING = 'SHAPE_FLOWCHART_LOADING';
|
9542
9552
|
FlowChartConst.IS_SHOW_CONNECTYPE = 'isShowConnectType';
|
9553
|
+
FlowChartConst.MY_CELL_VIEW = 'MY_CELL_VIEW';
|
9543
9554
|
FlowChartConst.SHAPE_TYPE = 'shapeType';
|
9544
9555
|
FlowChartConst.EDIT_MODE = 'EDIT_MODE';
|
9545
9556
|
FlowChartConst.PROCESS_SHAPE_DETAIL_MODEL = 'PROCESS_SHAPE_DETAIL_MODEL';
|
@@ -9553,7 +9564,15 @@
|
|
9553
9564
|
FlowChartConst.SAVE_AS_TEMPLATE = 'SAVE_AS_TEMPLATE';
|
9554
9565
|
FlowChartConst.DELETE_TEMPLATE = 'DELETE_TEMPLATE';
|
9555
9566
|
FlowChartConst.RESET_TEMPLATE = 'RESET_TEMPLATE';
|
9556
|
-
FlowChartConst.ORG_JSONCONTENT = 'ORG_JSONCONTENT';
|
9567
|
+
FlowChartConst.ORG_JSONCONTENT = 'ORG_JSONCONTENT';
|
9568
|
+
FlowChartConst.KS_CHANGE_TEMPLATE = 'KS_ORG_JSONCONTENT';
|
9569
|
+
FlowChartConst.KS_DELETE_TEMPLATE = 'KS_DELETE_TEMPLATE';
|
9570
|
+
FlowChartConst.KS_SAVE_AS_TEMPLATE = 'KS_SAVE_AS_TEMPLATE';
|
9571
|
+
FlowChartConst.KS_RESET_TEMPLATE = 'KS_RESET_TEMPLATE';
|
9572
|
+
FlowChartConst.KS_ORG_JSONCONTENT = 'KS_ORG_JSONCONTENT';
|
9573
|
+
FlowChartConst.KS_SELECTED_FLOWCHART_ID = 'KS_SELECTED_FLOWCHART_ID';
|
9574
|
+
FlowChartConst.KS_SELECTED_JSONCONTENT = 'KS_SELECTED_JSONCONTENT';
|
9575
|
+
FlowChartConst.KS_IS_SELECTED_TEMPLATE = 'KS_IS_SELECTED_TEMPLATE';
|
9557
9576
|
|
9558
9577
|
function create() {
|
9559
9578
|
function s4() {
|
@@ -9578,6 +9597,12 @@
|
|
9578
9597
|
return QMSCKEditorBpmn;
|
9579
9598
|
}());
|
9580
9599
|
|
9600
|
+
var QMSCKEditorSaveAsTemplate = /** @class */ (function () {
|
9601
|
+
function QMSCKEditorSaveAsTemplate() {
|
9602
|
+
}
|
9603
|
+
return QMSCKEditorSaveAsTemplate;
|
9604
|
+
}());
|
9605
|
+
|
9581
9606
|
var QMSCKEditorBpmnApiService = /** @class */ (function (_super) {
|
9582
9607
|
__extends(QMSCKEditorBpmnApiService, _super);
|
9583
9608
|
function QMSCKEditorBpmnApiService() {
|
@@ -10455,10 +10480,36 @@
|
|
10455
10480
|
style: 'text-align:end;margin-right:4px;margin-top:16px;'
|
10456
10481
|
},
|
10457
10482
|
input: {
|
10458
|
-
style: 'width:
|
10483
|
+
style: 'width:170px;'
|
10459
10484
|
}
|
10460
10485
|
}
|
10461
10486
|
},
|
10487
|
+
'font-family': {
|
10488
|
+
type: 'select',
|
10489
|
+
options: [
|
10490
|
+
'Calibri',
|
10491
|
+
'Cambria',
|
10492
|
+
'Arial',
|
10493
|
+
'Helvetica',
|
10494
|
+
'Times New Roman',
|
10495
|
+
'Courier New',
|
10496
|
+
'Georgia',
|
10497
|
+
'Garamond',
|
10498
|
+
'Tahoma',
|
10499
|
+
'Lucida Console',
|
10500
|
+
'Comic Sans MS'
|
10501
|
+
],
|
10502
|
+
label: "" + LANG.BPMN.FONT_FAMILY,
|
10503
|
+
defaultValue: 'Calibri'
|
10504
|
+
},
|
10505
|
+
'font-size': {
|
10506
|
+
type: 'range',
|
10507
|
+
min: 7,
|
10508
|
+
max: 80,
|
10509
|
+
unit: 'px',
|
10510
|
+
label: "" + LANG.BPMN.FONT_SIZE,
|
10511
|
+
defaultValue: 12
|
10512
|
+
},
|
10462
10513
|
sublanes: {
|
10463
10514
|
type: 'list',
|
10464
10515
|
label: 'Add lanes',
|
@@ -10489,10 +10540,36 @@
|
|
10489
10540
|
style: 'text-align:end;margin-right:4px;margin-top:16px;'
|
10490
10541
|
},
|
10491
10542
|
input: {
|
10492
|
-
style: 'width:
|
10543
|
+
style: 'width:170px;'
|
10493
10544
|
}
|
10494
10545
|
}
|
10495
10546
|
},
|
10547
|
+
'font-family': {
|
10548
|
+
type: 'select',
|
10549
|
+
options: [
|
10550
|
+
'Calibri',
|
10551
|
+
'Cambria',
|
10552
|
+
'Arial',
|
10553
|
+
'Helvetica',
|
10554
|
+
'Times New Roman',
|
10555
|
+
'Courier New',
|
10556
|
+
'Georgia',
|
10557
|
+
'Garamond',
|
10558
|
+
'Tahoma',
|
10559
|
+
'Lucida Console',
|
10560
|
+
'Comic Sans MS'
|
10561
|
+
],
|
10562
|
+
label: "" + LANG.BPMN.FONT_FAMILY,
|
10563
|
+
defaultValue: 'Calibri'
|
10564
|
+
},
|
10565
|
+
'font-size': {
|
10566
|
+
type: 'range',
|
10567
|
+
min: 7,
|
10568
|
+
max: 80,
|
10569
|
+
unit: 'px',
|
10570
|
+
label: "" + LANG.BPMN.FONT_SIZE,
|
10571
|
+
defaultValue: 12
|
10572
|
+
},
|
10496
10573
|
sublanes: {
|
10497
10574
|
type: 'list',
|
10498
10575
|
label: "" + LANG.BPMN.ADD_SUBLANES,
|
@@ -10541,7 +10618,7 @@
|
|
10541
10618
|
style: 'text-align:end;margin-right:4px;margin-top:16px;'
|
10542
10619
|
},
|
10543
10620
|
input: {
|
10544
|
-
style: 'width:
|
10621
|
+
style: 'width:170px;'
|
10545
10622
|
}
|
10546
10623
|
}
|
10547
10624
|
}
|
@@ -10585,73 +10662,73 @@
|
|
10585
10662
|
'header/fill': {
|
10586
10663
|
type: 'color',
|
10587
10664
|
label: "" + LANG.BPMN.HEADER_COLOR,
|
10588
|
-
group:
|
10665
|
+
group: "" + LANG.BPMN.APPEARANCE,
|
10589
10666
|
index: 1
|
10590
10667
|
},
|
10591
10668
|
'header/stroke': {
|
10592
10669
|
type: 'color',
|
10593
10670
|
label: "" + LANG.BPMN.HEADER_STROKE_COLOR,
|
10594
|
-
group:
|
10671
|
+
group: "" + LANG.BPMN.APPEARANCE,
|
10595
10672
|
index: 2
|
10596
10673
|
},
|
10597
10674
|
'headerLabel/fill': {
|
10598
10675
|
type: 'color',
|
10599
10676
|
label: "" + LANG.BPMN.HEADER_LABEL_COLOR,
|
10600
|
-
group:
|
10677
|
+
group: "" + LANG.BPMN.APPEARANCE,
|
10601
10678
|
index: 3
|
10602
10679
|
},
|
10603
10680
|
'lanes/fill': {
|
10604
10681
|
type: 'color',
|
10605
10682
|
label: "" + LANG.BPMN.LANE_BODY_COLOR,
|
10606
|
-
group:
|
10683
|
+
group: "" + LANG.BPMN.APPEARANCE,
|
10607
10684
|
index: 4
|
10608
10685
|
},
|
10609
10686
|
'lanes/stroke': {
|
10610
10687
|
type: 'color',
|
10611
10688
|
label: "" + LANG.BPMN.LANE_STROKE_COLOR,
|
10612
|
-
group:
|
10689
|
+
group: "" + LANG.BPMN.APPEARANCE,
|
10613
10690
|
index: 5
|
10614
10691
|
},
|
10615
10692
|
'laneHeaders/fill': {
|
10616
10693
|
type: 'color',
|
10617
10694
|
label: "" + LANG.BPMN.LANE_HEADER_COLOR,
|
10618
|
-
group:
|
10695
|
+
group: "" + LANG.BPMN.APPEARANCE,
|
10619
10696
|
index: 6
|
10620
10697
|
},
|
10621
10698
|
'laneHeaders/stroke': {
|
10622
10699
|
type: 'color',
|
10623
10700
|
label: "" + LANG.BPMN.LANE_HEADER_STROKE,
|
10624
|
-
group:
|
10701
|
+
group: "" + LANG.BPMN.APPEARANCE,
|
10625
10702
|
index: 7
|
10626
10703
|
},
|
10627
10704
|
'laneLabels/fill': {
|
10628
10705
|
type: 'color',
|
10629
10706
|
label: "" + LANG.BPMN.LANE_LABEL_COLOR,
|
10630
|
-
group:
|
10707
|
+
group: "" + LANG.BPMN.APPEARANCE,
|
10631
10708
|
index: 8
|
10632
10709
|
},
|
10633
10710
|
'milestoneHeaders/fill': {
|
10634
10711
|
type: 'color',
|
10635
10712
|
label: "" + LANG.BPMN.MILESTONE_HEADER_FILL,
|
10636
|
-
group:
|
10713
|
+
group: "" + LANG.BPMN.APPEARANCE,
|
10637
10714
|
index: 9
|
10638
10715
|
},
|
10639
10716
|
'milestoneHeaders/stroke': {
|
10640
10717
|
type: 'color',
|
10641
10718
|
label: "" + LANG.BPMN.MILESTONE_STROKE,
|
10642
|
-
group:
|
10719
|
+
group: "" + LANG.BPMN.APPEARANCE,
|
10643
10720
|
index: 10
|
10644
10721
|
},
|
10645
10722
|
'milestoneLabels/fill': {
|
10646
10723
|
type: 'color',
|
10647
10724
|
label: "" + LANG.BPMN.MILESTONE_LABEL_COLOR,
|
10648
|
-
group:
|
10725
|
+
group: "" + LANG.BPMN.APPEARANCE,
|
10649
10726
|
index: 11
|
10650
10727
|
},
|
10651
10728
|
'milestoneLines/stroke': {
|
10652
10729
|
type: 'color',
|
10653
10730
|
label: "" + LANG.BPMN.MILESTONE_LINE_COLOR,
|
10654
|
-
group:
|
10731
|
+
group: "" + LANG.BPMN.APPEARANCE,
|
10655
10732
|
index: 12
|
10656
10733
|
},
|
10657
10734
|
'headerLabel/text-anchor': {
|
@@ -12096,6 +12173,7 @@
|
|
12096
12173
|
}).on({
|
12097
12174
|
'blank:pointerdown': function (evt, x, y) {
|
12098
12175
|
closeTools();
|
12176
|
+
_this.setSelectedCellView(null);
|
12099
12177
|
// selection.startSelecting(evt, x, y);
|
12100
12178
|
if (keyboard.isActive('shift', evt)) {
|
12101
12179
|
selection.startSelecting(evt, x, y);
|
@@ -12110,6 +12188,7 @@
|
|
12110
12188
|
},
|
12111
12189
|
'cell:pointerup': function (cellView) {
|
12112
12190
|
openTools(cellView);
|
12191
|
+
_this.setSelectedCellView(cellView);
|
12113
12192
|
},
|
12114
12193
|
'link:mouseenter': function (linkView) {
|
12115
12194
|
// Open tool only if there is none yet
|
@@ -12344,10 +12423,12 @@
|
|
12344
12423
|
verticalGap: 20,
|
12345
12424
|
resizeToFit: false
|
12346
12425
|
});
|
12426
|
+
var setSelectedCellView = this.setSelectedCellView;
|
12347
12427
|
// Create tooltips for all the shapes in stencil.
|
12348
12428
|
stencil.on('element:drop', function (elementView) {
|
12349
12429
|
// open inspector after a new element dropped from stencil
|
12350
12430
|
openTools(elementView);
|
12431
|
+
setSelectedCellView(elementView);
|
12351
12432
|
});
|
12352
12433
|
/* KEYBOARD */
|
12353
12434
|
if (editMode === exports.FlowchartViewMode.Edit) {
|
@@ -12373,21 +12454,32 @@
|
|
12373
12454
|
},
|
12374
12455
|
'ctrl+x shift+delete': function () {
|
12375
12456
|
clipboard.cutElements(selection.collection, graph);
|
12457
|
+
setSelectedCellView(null);
|
12376
12458
|
},
|
12377
12459
|
'delete backspace': function (evt) {
|
12378
12460
|
evt.preventDefault();
|
12379
12461
|
graph.removeCells(selection.collection.toArray());
|
12462
|
+
setSelectedCellView(null);
|
12380
12463
|
},
|
12381
12464
|
'ctrl+z': function () {
|
12465
|
+
var notify = isSelectedCellViewInSelection(selection);
|
12382
12466
|
commandManager.undo();
|
12383
12467
|
selection.cancelSelection();
|
12468
|
+
if (notify) {
|
12469
|
+
setSelectedCellView(null);
|
12470
|
+
}
|
12384
12471
|
},
|
12385
12472
|
'ctrl+y': function () {
|
12473
|
+
var notify = isSelectedCellViewInSelection(selection);
|
12386
12474
|
commandManager.redo();
|
12387
12475
|
selection.cancelSelection();
|
12476
|
+
if (notify) {
|
12477
|
+
setSelectedCellView(null);
|
12478
|
+
}
|
12388
12479
|
},
|
12389
12480
|
'ctrl+a': function () {
|
12390
12481
|
selection.collection.reset(graph.getElements());
|
12482
|
+
setSelectedCellView(null);
|
12391
12483
|
},
|
12392
12484
|
'ctrl+plus': function (evt) {
|
12393
12485
|
evt.preventDefault();
|
@@ -12410,7 +12502,6 @@
|
|
12410
12502
|
return;
|
12411
12503
|
}
|
12412
12504
|
closeTools();
|
12413
|
-
window["my_cellView"] = cellView;
|
12414
12505
|
var cell = cellView.model;
|
12415
12506
|
var type = cell.get('type');
|
12416
12507
|
// const tablName = window[FlowChartConst.TAB_NAME];
|
@@ -12426,7 +12517,7 @@
|
|
12426
12517
|
// }
|
12427
12518
|
// });
|
12428
12519
|
// }
|
12429
|
-
|
12520
|
+
joint.ui.Inspector.create('#inspector-container', {
|
12430
12521
|
cell: cell,
|
12431
12522
|
inputs: inputs[type],
|
12432
12523
|
groups: {
|
@@ -12590,8 +12681,6 @@
|
|
12590
12681
|
// }
|
12591
12682
|
/* QMS-2125: Show process connect type */
|
12592
12683
|
window[FlowChartConst.IS_SHOW_CONNECTYPE] = true;
|
12593
|
-
window[FlowChartConst.SELECTED_SHAPE_ID] = cellView.model.attributes.id;
|
12594
|
-
window[FlowChartConst.SHAPE_TYPE] = cellView.model.attributes.type;
|
12595
12684
|
window[FlowChartConst.SHAPE_FLOWCHART_LOADING] = true;
|
12596
12685
|
/* QMS-1404: Customization */
|
12597
12686
|
window[FlowChartConst.PAPER] = paper;
|
@@ -12603,6 +12692,11 @@
|
|
12603
12692
|
freeTransform = null;
|
12604
12693
|
joint.ui.Halo.clear(paper);
|
12605
12694
|
}
|
12695
|
+
function isSelectedCellViewInSelection(selection) {
|
12696
|
+
var models = selection.collection.toArray() || [];
|
12697
|
+
var selectedShapeId = window[FlowChartConst.SELECTED_SHAPE_ID];
|
12698
|
+
return !!selectedShapeId && models.filter(function (model) { return model.attributes.id == selectedShapeId; });
|
12699
|
+
}
|
12606
12700
|
function showStatus(message, type) {
|
12607
12701
|
var _this = this;
|
12608
12702
|
$__namespace('.status').removeClass('info error success').addClass(type).html(message);
|
@@ -12691,8 +12785,13 @@
|
|
12691
12785
|
_this.jsonOriginalContent = JSON.stringify(graph.toJSON());
|
12692
12786
|
window[FlowChartConst.ORG_JSONCONTENT] = _this.jsonOriginalContent;
|
12693
12787
|
window.postMessage(FlowChartConst.CHANGING_TEMPLATE, _this.getOriginForSelf());
|
12788
|
+
_this.setSelectedCellView(null);
|
12694
12789
|
}
|
12695
12790
|
},
|
12791
|
+
onClear: function () {
|
12792
|
+
graph.clear();
|
12793
|
+
_this.setSelectedCellView(null);
|
12794
|
+
},
|
12696
12795
|
onDeleteTemplate: function () {
|
12697
12796
|
_this.isSelectedTemplate = window[FlowChartConst.IS_SELECTED_TEMPLATE];
|
12698
12797
|
if (_this.isSelectedTemplate) {
|
@@ -12733,7 +12832,7 @@
|
|
12733
12832
|
'tojson:pointerclick': toolbarCommands.toJSON,
|
12734
12833
|
'load:pointerclick': toolbarCommands.loadGraph,
|
12735
12834
|
'save:pointerclick': toolbarCommands.saveGraph,
|
12736
|
-
'clear:pointerclick':
|
12835
|
+
'clear:pointerclick': toolbarCommands.onClear,
|
12737
12836
|
'print:pointerclick': ___namespace.bind(paper.print, paper),
|
12738
12837
|
'saveAsTemplate:pointerclick': toolbarCommands.onSaveAsTemplate,
|
12739
12838
|
'selectTemplate:option:select': toolbarCommands.onSelected,
|
@@ -12856,6 +12955,19 @@
|
|
12856
12955
|
}
|
12857
12956
|
}
|
12858
12957
|
};
|
12958
|
+
BpmnService.prototype.setSelectedCellView = function (cellView) {
|
12959
|
+
if (cellView) {
|
12960
|
+
window[FlowChartConst.MY_CELL_VIEW] = cellView;
|
12961
|
+
window[FlowChartConst.SELECTED_SHAPE_ID] = cellView.model.attributes.id;
|
12962
|
+
window[FlowChartConst.SHAPE_TYPE] = cellView.model.attributes.type;
|
12963
|
+
}
|
12964
|
+
else {
|
12965
|
+
window[FlowChartConst.MY_CELL_VIEW] = null;
|
12966
|
+
window[FlowChartConst.SELECTED_SHAPE_ID] = '';
|
12967
|
+
window[FlowChartConst.SHAPE_TYPE] = '';
|
12968
|
+
}
|
12969
|
+
window.postMessage(FlowChartConst.SELECTED_SHAPE_ID, '*');
|
12970
|
+
};
|
12859
12971
|
BpmnService.prototype.getTempGraph = function () {
|
12860
12972
|
if (this.jsonTempContent) {
|
12861
12973
|
this.loadProcessDiagram(JSON.parse(this.jsonTempContent));
|
@@ -12920,20 +13032,23 @@
|
|
12920
13032
|
}
|
12921
13033
|
};
|
12922
13034
|
BpmnService.prototype.openShapeFunctionality = function (LANG) {
|
12923
|
-
var myCellView = window[
|
12924
|
-
|
12925
|
-
|
12926
|
-
|
12927
|
-
|
12928
|
-
|
12929
|
-
|
12930
|
-
|
12931
|
-
|
12932
|
-
|
12933
|
-
|
12934
|
-
|
12935
|
-
|
12936
|
-
|
13035
|
+
var myCellView = window[FlowChartConst.MY_CELL_VIEW];
|
13036
|
+
if (!!myCellView) {
|
13037
|
+
joint.ui.Inspector.close();
|
13038
|
+
var inputs = InspectorFunction.getInspectorConfiguration(bpmn2, LANG);
|
13039
|
+
var cell = myCellView.model;
|
13040
|
+
var type = cell.get('type');
|
13041
|
+
joint.ui.Inspector.create('#inspector-container', {
|
13042
|
+
cell: cell,
|
13043
|
+
inputs: inputs[type],
|
13044
|
+
groups: {
|
13045
|
+
general: { label: type, index: 1 },
|
13046
|
+
defaults: { index: 2 },
|
13047
|
+
fontsize: { index: 3 },
|
13048
|
+
appearance: { index: 4 }
|
13049
|
+
}
|
13050
|
+
});
|
13051
|
+
}
|
12937
13052
|
};
|
12938
13053
|
BpmnService.prototype.setZoomToFit = function (editMode) {
|
12939
13054
|
if (editMode === exports.FlowchartViewMode.View) {
|
@@ -13101,21 +13216,62 @@
|
|
13101
13216
|
},] }
|
13102
13217
|
];
|
13103
13218
|
|
13219
|
+
var QMSCKEditorFlowchart = /** @class */ (function () {
|
13220
|
+
function QMSCKEditorFlowchart() {
|
13221
|
+
this.id = '';
|
13222
|
+
this.jsonContent = '';
|
13223
|
+
this.isTemplate = false;
|
13224
|
+
this.templateName = '';
|
13225
|
+
}
|
13226
|
+
return QMSCKEditorFlowchart;
|
13227
|
+
}());
|
13228
|
+
|
13229
|
+
var QMSCKEditorFlowchartService = /** @class */ (function (_super) {
|
13230
|
+
__extends(QMSCKEditorFlowchartService, _super);
|
13231
|
+
function QMSCKEditorFlowchartService() {
|
13232
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
13233
|
+
}
|
13234
|
+
QMSCKEditorFlowchartService.prototype.flowchartModifying = function (flowchart) {
|
13235
|
+
return this.post('ckeditorFlowchart/FlowchartModifying', flowchart);
|
13236
|
+
};
|
13237
|
+
QMSCKEditorFlowchartService.prototype.getFlowchartById = function (id) {
|
13238
|
+
return this.get('ckeditorFlowchart/GetFlowchartById', { id: id });
|
13239
|
+
};
|
13240
|
+
QMSCKEditorFlowchartService.prototype.flowchartGetTemplates = function () {
|
13241
|
+
return this.get('ckeditorFlowchart/FlowchartGetTemplates');
|
13242
|
+
};
|
13243
|
+
QMSCKEditorFlowchartService.prototype.flowchartDeleteTemplate = function (id) {
|
13244
|
+
return this.delete('ckeditorFlowchart/FlowchartDeleteTemplate', { id: id });
|
13245
|
+
};
|
13246
|
+
return QMSCKEditorFlowchartService;
|
13247
|
+
}(QMSCKEditorBaseService));
|
13248
|
+
QMSCKEditorFlowchartService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function QMSCKEditorFlowchartService_Factory() { return new QMSCKEditorFlowchartService(i0__namespace.ɵɵinject(i1__namespace.HttpClient), i0__namespace.ɵɵinject(QMSCKEditorGlobalService)); }, token: QMSCKEditorFlowchartService, providedIn: "root" });
|
13249
|
+
QMSCKEditorFlowchartService.decorators = [
|
13250
|
+
{ type: i0.Injectable, args: [{
|
13251
|
+
providedIn: 'root'
|
13252
|
+
},] }
|
13253
|
+
];
|
13254
|
+
|
13104
13255
|
var SaveTemplateComponent = /** @class */ (function (_super) {
|
13105
13256
|
__extends(SaveTemplateComponent, _super);
|
13106
|
-
function SaveTemplateComponent(translate, bmpnService, bpmnApiService, dialogRef, data) {
|
13257
|
+
function SaveTemplateComponent(translate, bmpnService, bpmnApiService, flowchartService, dialogRef, data) {
|
13107
13258
|
var _this = _super.call(this) || this;
|
13108
13259
|
_this.translate = translate;
|
13109
13260
|
_this.bmpnService = bmpnService;
|
13110
13261
|
_this.bpmnApiService = bpmnApiService;
|
13262
|
+
_this.flowchartService = flowchartService;
|
13111
13263
|
_this.dialogRef = dialogRef;
|
13112
13264
|
_this.data = data;
|
13113
13265
|
_this.saveFormGroup = new forms.FormGroup({
|
13114
13266
|
templateName: new forms.FormControl('', [forms.Validators.required])
|
13115
13267
|
});
|
13268
|
+
_this.templateType = '';
|
13116
13269
|
_this.templateName = '';
|
13117
13270
|
_this.bpmn = new QMSCKEditorBpmn();
|
13118
|
-
_this.
|
13271
|
+
_this.flowchart = new QMSCKEditorFlowchart();
|
13272
|
+
_this.templateType = data.templateType;
|
13273
|
+
_this.bpmn = data.bpmn;
|
13274
|
+
_this.flowchart = null; //data.flowchart;
|
13119
13275
|
return _this;
|
13120
13276
|
}
|
13121
13277
|
SaveTemplateComponent.prototype.ngOnInit = function () {
|
@@ -13128,20 +13284,38 @@
|
|
13128
13284
|
};
|
13129
13285
|
SaveTemplateComponent.prototype.saveTemplate = function () {
|
13130
13286
|
var _this = this;
|
13131
|
-
this.
|
13132
|
-
|
13133
|
-
|
13134
|
-
|
13135
|
-
|
13136
|
-
|
13137
|
-
|
13138
|
-
|
13139
|
-
|
13140
|
-
|
13141
|
-
|
13142
|
-
|
13143
|
-
|
13144
|
-
|
13287
|
+
if (this.templateType === CKEditorEventConst.QMSCK_BPMN) {
|
13288
|
+
this.bpmn.templateName = this.templateName;
|
13289
|
+
this.bpmnApiService
|
13290
|
+
.bpmnModifying(this.bpmn)
|
13291
|
+
.pipe(operators.takeUntil(this.ngUnsubcribe))
|
13292
|
+
.subscribe(function (result) {
|
13293
|
+
if (result) {
|
13294
|
+
_this.bmpnService.addItemTemplate(result, _this.bpmn);
|
13295
|
+
QMSCKEditorToastService.success(_this.LANG.QMSCKEDITOR.SAVED);
|
13296
|
+
_this.onCloseDialog();
|
13297
|
+
}
|
13298
|
+
else {
|
13299
|
+
QMSCKEditorToastService.error(_this.LANG.QMSCKEDITOR.SAVE_FAILED);
|
13300
|
+
}
|
13301
|
+
});
|
13302
|
+
}
|
13303
|
+
else if (this.templateType === CKEditorEventConst.QMSCK_FLOWCHART) {
|
13304
|
+
this.flowchart.templateName = this.templateName;
|
13305
|
+
this.flowchartService
|
13306
|
+
.flowchartModifying(this.flowchart)
|
13307
|
+
.pipe(operators.takeUntil(this.ngUnsubcribe))
|
13308
|
+
.subscribe(function (result) {
|
13309
|
+
if (result) {
|
13310
|
+
QMSCKEditorToastService.success(_this.LANG.QMSCKEDITOR.SAVED);
|
13311
|
+
_this.flowchart.id = result;
|
13312
|
+
_this.dialogRef.close(_this.flowchart);
|
13313
|
+
}
|
13314
|
+
else {
|
13315
|
+
QMSCKEditorToastService.error(_this.LANG.QMSCKEDITOR.SAVE_FAILED);
|
13316
|
+
}
|
13317
|
+
});
|
13318
|
+
}
|
13145
13319
|
};
|
13146
13320
|
SaveTemplateComponent.prototype.onCloseDialog = function () {
|
13147
13321
|
this.dialogRef.close();
|
@@ -13159,25 +13333,100 @@
|
|
13159
13333
|
{ type: TranslateLibraryService },
|
13160
13334
|
{ type: BpmnService },
|
13161
13335
|
{ type: QMSCKEditorBpmnApiService },
|
13336
|
+
{ type: QMSCKEditorFlowchartService },
|
13162
13337
|
{ type: dialog.MatDialogRef },
|
13163
|
-
{ type:
|
13338
|
+
{ type: QMSCKEditorSaveAsTemplate, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
13164
13339
|
]; };
|
13165
13340
|
|
13341
|
+
var ShapeFlowChartConnectionType;
|
13342
|
+
(function (ShapeFlowChartConnectionType) {
|
13343
|
+
ShapeFlowChartConnectionType[ShapeFlowChartConnectionType["Activity"] = 1] = "Activity";
|
13344
|
+
ShapeFlowChartConnectionType[ShapeFlowChartConnectionType["DocumentOrProcess"] = 2] = "DocumentOrProcess";
|
13345
|
+
ShapeFlowChartConnectionType[ShapeFlowChartConnectionType["Link"] = 3] = "Link";
|
13346
|
+
ShapeFlowChartConnectionType[ShapeFlowChartConnectionType["Attachment"] = 4] = "Attachment";
|
13347
|
+
})(ShapeFlowChartConnectionType || (ShapeFlowChartConnectionType = {}));
|
13348
|
+
|
13349
|
+
var QMSCKEditorBpmnData = /** @class */ (function () {
|
13350
|
+
function QMSCKEditorBpmnData() {
|
13351
|
+
this.id = '';
|
13352
|
+
this.entityId = '';
|
13353
|
+
this.editorContent = '';
|
13354
|
+
}
|
13355
|
+
return QMSCKEditorBpmnData;
|
13356
|
+
}());
|
13357
|
+
|
13358
|
+
var CKEditorLinkConst = /** @class */ (function () {
|
13359
|
+
function CKEditorLinkConst() {
|
13360
|
+
}
|
13361
|
+
return CKEditorLinkConst;
|
13362
|
+
}());
|
13363
|
+
CKEditorLinkConst.FOLDER_PARTIAL_URL = '/folder/';
|
13364
|
+
CKEditorLinkConst.DOCUMENT_PARTIAL_URL = '/document/';
|
13365
|
+
CKEditorLinkConst.AREA_PARTIAL_URL = '/area/detail/';
|
13366
|
+
CKEditorLinkConst.PROCESS_PARTIAL_URL = '/process-detail/';
|
13367
|
+
|
13368
|
+
var QMSCKEditorUploadService = /** @class */ (function (_super) {
|
13369
|
+
__extends(QMSCKEditorUploadService, _super);
|
13370
|
+
function QMSCKEditorUploadService() {
|
13371
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
13372
|
+
}
|
13373
|
+
QMSCKEditorUploadService.prototype.uploadImage = function (file) {
|
13374
|
+
var formData = new FormData();
|
13375
|
+
formData.append('name', file.name);
|
13376
|
+
formData.append('file', file);
|
13377
|
+
return this.post('ckeditorUpload/UploadImage', formData);
|
13378
|
+
};
|
13379
|
+
return QMSCKEditorUploadService;
|
13380
|
+
}(QMSCKEditorBaseService));
|
13381
|
+
QMSCKEditorUploadService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function QMSCKEditorUploadService_Factory() { return new QMSCKEditorUploadService(i0__namespace.ɵɵinject(i1__namespace.HttpClient), i0__namespace.ɵɵinject(QMSCKEditorGlobalService)); }, token: QMSCKEditorUploadService, providedIn: "root" });
|
13382
|
+
QMSCKEditorUploadService.decorators = [
|
13383
|
+
{ type: i0.Injectable, args: [{
|
13384
|
+
providedIn: 'root'
|
13385
|
+
},] }
|
13386
|
+
];
|
13387
|
+
|
13388
|
+
var ILink = /** @class */ (function () {
|
13389
|
+
function ILink() {
|
13390
|
+
this.target = exports.TargetTypeName.new;
|
13391
|
+
this.documentType = exports.QMSCKEditorDocumentType.other;
|
13392
|
+
this.url = '';
|
13393
|
+
this.title = '';
|
13394
|
+
this.icon = '';
|
13395
|
+
this.content = '';
|
13396
|
+
}
|
13397
|
+
return ILink;
|
13398
|
+
}());
|
13166
13399
|
var QMSCKEditorBpmnComponent = /** @class */ (function (_super) {
|
13167
13400
|
__extends(QMSCKEditorBpmnComponent, _super);
|
13168
|
-
function QMSCKEditorBpmnComponent(dialog, translate, bmpnService, bpmnApiService, dialogRef, data) {
|
13401
|
+
function QMSCKEditorBpmnComponent(dialog, translate, bmpnService, bpmnApiService, linkService, uploadService, dialogRef, data) {
|
13169
13402
|
var _this = _super.call(this) || this;
|
13170
13403
|
_this.dialog = dialog;
|
13171
13404
|
_this.translate = translate;
|
13172
13405
|
_this.bmpnService = bmpnService;
|
13173
13406
|
_this.bpmnApiService = bpmnApiService;
|
13407
|
+
_this.linkService = linkService;
|
13408
|
+
_this.uploadService = uploadService;
|
13174
13409
|
_this.dialogRef = dialogRef;
|
13175
13410
|
_this.data = data;
|
13176
13411
|
_this.expandedPanel = true;
|
13177
13412
|
_this.id = '';
|
13413
|
+
_this.entityId = '';
|
13414
|
+
_this.editorContent = '';
|
13178
13415
|
_this.bpmn = new QMSCKEditorBpmn();
|
13179
13416
|
_this.bpmnTemlates = [];
|
13180
|
-
_this.
|
13417
|
+
_this.targets = [];
|
13418
|
+
_this.connectionTypes = [];
|
13419
|
+
_this.selectedTarget = exports.TargetTypeName.new;
|
13420
|
+
_this.linkUrl = '';
|
13421
|
+
_this.linkTitle = '';
|
13422
|
+
_this.anchorByName = '';
|
13423
|
+
_this.linkIcon = '';
|
13424
|
+
_this.linkId = '';
|
13425
|
+
_this.documentType = exports.QMSCKEditorDocumentType.other;
|
13426
|
+
_this.id = data.id;
|
13427
|
+
_this.module = data.module;
|
13428
|
+
_this.entityId = data.entityId;
|
13429
|
+
_this.editorContent = data.editorContent;
|
13181
13430
|
return _this;
|
13182
13431
|
}
|
13183
13432
|
QMSCKEditorBpmnComponent.prototype.onMessage = function (event) {
|
@@ -13188,7 +13437,7 @@
|
|
13188
13437
|
this.onDeleteTemplate(this.LANG.BPMN.DELETE_TEMPLATE, this.LANG.QMSCKEDITOR_MESSAGE.CONFIRM_DELETE_TEMPLATE);
|
13189
13438
|
}
|
13190
13439
|
else if (event.data === FlowChartConst.MUST_SELECT_TEMPLATE) {
|
13191
|
-
this.
|
13440
|
+
this.showConfirmDialog(this.LANG.BPMN.SELECT_TEMPLATE, this.LANG.BPMN.SELECT_TEMPLATE_INFORMATION, true);
|
13192
13441
|
}
|
13193
13442
|
else if (event.data === FlowChartConst.CHANGING_TEMPLATE) {
|
13194
13443
|
this.onSelectedTemplate();
|
@@ -13196,36 +13445,73 @@
|
|
13196
13445
|
else if (event.data === FlowChartConst.RESET_TEMPLATE) {
|
13197
13446
|
this.onResetTemplate();
|
13198
13447
|
}
|
13448
|
+
else if (event.data === FlowChartConst.SELECTED_SHAPE_ID) {
|
13449
|
+
this.onSeletedCellView();
|
13450
|
+
}
|
13199
13451
|
};
|
13200
13452
|
QMSCKEditorBpmnComponent.prototype.ngOnInit = function () {
|
13201
13453
|
return __awaiter(this, void 0, void 0, function () {
|
13202
|
-
var
|
13454
|
+
var _b, _c;
|
13203
13455
|
var _this = this;
|
13204
|
-
return __generator(this, function (
|
13205
|
-
switch (
|
13456
|
+
return __generator(this, function (_d) {
|
13457
|
+
switch (_d.label) {
|
13206
13458
|
case 0:
|
13207
13459
|
this.translate.getLanguageSubject$.pipe(operators.takeUntil(this.ngUnsubcribe)).subscribe(function (res) {
|
13208
13460
|
if (res) {
|
13209
13461
|
_this.LANG = _this.translate.getObjectLang(res);
|
13210
13462
|
}
|
13211
13463
|
});
|
13212
|
-
|
13464
|
+
_b = this;
|
13213
13465
|
return [4 /*yield*/, this.getTemplates()];
|
13214
13466
|
case 1:
|
13215
|
-
|
13467
|
+
_b.bpmnTemlates = _d.sent();
|
13216
13468
|
if (!this.id) return [3 /*break*/, 3];
|
13217
|
-
|
13469
|
+
_c = this;
|
13218
13470
|
return [4 /*yield*/, this.getJsonContent(this.id)];
|
13219
13471
|
case 2:
|
13220
|
-
|
13221
|
-
|
13472
|
+
_c.jsonContent = _d.sent();
|
13473
|
+
_d.label = 3;
|
13222
13474
|
case 3:
|
13223
13475
|
this.bmpnService.buildDiagram(this.bpmnTemlates, null, CKEditorEventConst.QMSCK_BPMN, this.jsonContent, 1, this.LANG);
|
13476
|
+
this.initDocumentIcons();
|
13477
|
+
this.initTarget();
|
13478
|
+
this.initConnectionType();
|
13479
|
+
this.initLink();
|
13224
13480
|
return [2 /*return*/];
|
13225
13481
|
}
|
13226
13482
|
});
|
13227
13483
|
});
|
13228
13484
|
};
|
13485
|
+
QMSCKEditorBpmnComponent.prototype.initTarget = function () {
|
13486
|
+
if (this.targets) {
|
13487
|
+
this.targets.push({ id: exports.TargetTypeName.new, name: this.LANG.QMSCKEDITOR.TARTGET_NEW });
|
13488
|
+
this.targets.push({ id: exports.TargetTypeName.same, name: this.LANG.QMSCKEDITOR.TARGET_SAME });
|
13489
|
+
}
|
13490
|
+
};
|
13491
|
+
QMSCKEditorBpmnComponent.prototype.initConnectionType = function () {
|
13492
|
+
if (this.connectionTypes) {
|
13493
|
+
this.connectionTypes.push({ id: ShapeFlowChartConnectionType.DocumentOrProcess, name: this.LANG.QMSCKEDITOR.DOCUMENT_PROCESS });
|
13494
|
+
this.connectionTypes.push({ id: ShapeFlowChartConnectionType.Attachment, name: this.LANG.QMSCKEDITOR.ATTACHMENT });
|
13495
|
+
}
|
13496
|
+
};
|
13497
|
+
QMSCKEditorBpmnComponent.prototype.initDocumentIcons = function () {
|
13498
|
+
this.documentIcons = {};
|
13499
|
+
this.documentIcons[exports.QMSCKEditorDocumentType.document] = 'text_snippet';
|
13500
|
+
this.documentIcons[exports.QMSCKEditorDocumentType.process] = 'account_tree';
|
13501
|
+
this.documentIcons[exports.QMSCKEditorDocumentType.area] = 'folder';
|
13502
|
+
this.documentIcons[exports.QMSCKEditorDocumentType.folder] = 'folder';
|
13503
|
+
this.documentIcons[exports.QMSCKEditorDocumentType.other] = 'text_snippet';
|
13504
|
+
};
|
13505
|
+
QMSCKEditorBpmnComponent.prototype.initLink = function () {
|
13506
|
+
this.link = null;
|
13507
|
+
this.linkId = '';
|
13508
|
+
this.documentType = exports.QMSCKEditorDocumentType.other;
|
13509
|
+
this.linkIcon = this.documentIcons[exports.QMSCKEditorDocumentType.other];
|
13510
|
+
this.selectedTarget = exports.TargetTypeName.new;
|
13511
|
+
this.anchorByName = '';
|
13512
|
+
this.linkTitle = '';
|
13513
|
+
this.documentAnchors = [];
|
13514
|
+
};
|
13229
13515
|
QMSCKEditorBpmnComponent.prototype.expandPanel = function () {
|
13230
13516
|
this.expandedPanel = !this.expandedPanel;
|
13231
13517
|
var panelStencil = document.getElementById('panel-stencil-container');
|
@@ -13247,7 +13533,7 @@
|
|
13247
13533
|
QMSCKEditorBpmnComponent.prototype.getTemplates = function () {
|
13248
13534
|
return __awaiter(this, void 0, void 0, function () {
|
13249
13535
|
var _this = this;
|
13250
|
-
return __generator(this, function (
|
13536
|
+
return __generator(this, function (_b) {
|
13251
13537
|
return [2 /*return*/, new Promise(function (resolve) {
|
13252
13538
|
_this.bpmnApiService
|
13253
13539
|
.bpmnGetTemplates()
|
@@ -13262,7 +13548,7 @@
|
|
13262
13548
|
QMSCKEditorBpmnComponent.prototype.getJsonContent = function (id) {
|
13263
13549
|
return __awaiter(this, void 0, void 0, function () {
|
13264
13550
|
var _this = this;
|
13265
|
-
return __generator(this, function (
|
13551
|
+
return __generator(this, function (_b) {
|
13266
13552
|
return [2 /*return*/, new Promise(function (resolve) {
|
13267
13553
|
_this.bpmnApiService
|
13268
13554
|
.getBpmnById(id)
|
@@ -13276,13 +13562,12 @@
|
|
13276
13562
|
});
|
13277
13563
|
});
|
13278
13564
|
};
|
13279
|
-
QMSCKEditorBpmnComponent.prototype.saveImageContent = function () {
|
13565
|
+
QMSCKEditorBpmnComponent.prototype.saveImageContent = function (graphObject) {
|
13280
13566
|
return __awaiter(this, void 0, void 0, function () {
|
13281
13567
|
var _this = this;
|
13282
|
-
return __generator(this, function (
|
13568
|
+
return __generator(this, function (_b) {
|
13283
13569
|
return [2 /*return*/, new Promise(function (resolve) {
|
13284
|
-
var
|
13285
|
-
var jsonContent = JSON.stringify(graph.toJSON());
|
13570
|
+
var jsonContent = JSON.stringify(graphObject);
|
13286
13571
|
_this.bpmn = {
|
13287
13572
|
id: _this.id ? _this.id : guidHelper.empty,
|
13288
13573
|
jsonContent: jsonContent,
|
@@ -13301,9 +13586,22 @@
|
|
13301
13586
|
});
|
13302
13587
|
});
|
13303
13588
|
};
|
13589
|
+
QMSCKEditorBpmnComponent.prototype.dataUrlToFile = function (dataUrl, filename) {
|
13590
|
+
var arr = dataUrl.split(',');
|
13591
|
+
if (arr.length < 2) {
|
13592
|
+
return undefined;
|
13593
|
+
}
|
13594
|
+
var mimeArr = arr[0].match(/:(.*?);/);
|
13595
|
+
if (!mimeArr || mimeArr.length < 2) {
|
13596
|
+
return undefined;
|
13597
|
+
}
|
13598
|
+
var mime = mimeArr[1];
|
13599
|
+
var buff = buffer.Buffer.from(arr[1], 'base64');
|
13600
|
+
return new File([buff], filename, { type: mime });
|
13601
|
+
};
|
13304
13602
|
QMSCKEditorBpmnComponent.prototype.getImageContent = function (paper) {
|
13305
13603
|
return __awaiter(this, void 0, void 0, function () {
|
13306
|
-
return __generator(this, function (
|
13604
|
+
return __generator(this, function (_b) {
|
13307
13605
|
return [2 /*return*/, new Promise(function (resolve) {
|
13308
13606
|
paper.toPNG(function (imageData) {
|
13309
13607
|
var arrString = imageData.split(',');
|
@@ -13315,18 +13613,27 @@
|
|
13315
13613
|
};
|
13316
13614
|
QMSCKEditorBpmnComponent.prototype.onInsertImage = function () {
|
13317
13615
|
return __awaiter(this, void 0, void 0, function () {
|
13318
|
-
var
|
13319
|
-
return __generator(this, function (
|
13320
|
-
switch (
|
13321
|
-
case 0:
|
13322
|
-
|
13323
|
-
id = _b.sent();
|
13616
|
+
var graph, paper, clientRect, graphObject, id, imageContent, _b, file, imageUrl, imagemap, result;
|
13617
|
+
return __generator(this, function (_c) {
|
13618
|
+
switch (_c.label) {
|
13619
|
+
case 0:
|
13620
|
+
graph = window[FlowChartConst.GRAPH];
|
13324
13621
|
paper = window["paper"];
|
13325
|
-
|
13622
|
+
clientRect = paper.paperToLocalRect(paper.getContentBBox());
|
13623
|
+
graphObject = graph.toJSON();
|
13624
|
+
return [4 /*yield*/, this.saveImageContent(graphObject)];
|
13625
|
+
case 1:
|
13626
|
+
id = _c.sent();
|
13627
|
+
_b = 'data:image/png;base64,';
|
13326
13628
|
return [4 /*yield*/, this.getImageContent(paper)];
|
13327
13629
|
case 2:
|
13328
|
-
imageContent =
|
13329
|
-
|
13630
|
+
imageContent = _b + (_c.sent());
|
13631
|
+
file = this.dataUrlToFile(imageContent, CKEditorEventConst.QMSCK_BPMN + "#" + id);
|
13632
|
+
return [4 /*yield*/, this.uploadService.uploadImage(file).toPromise()];
|
13633
|
+
case 3:
|
13634
|
+
imageUrl = _c.sent();
|
13635
|
+
imagemap = this.toImageMap(id, graphObject.cells, clientRect);
|
13636
|
+
result = { key: CKEditorEventConst.QMSCK_BPMN + "#" + id, values: imageUrl, imagemap: imagemap };
|
13330
13637
|
this.dialogRef.close(result);
|
13331
13638
|
return [2 /*return*/];
|
13332
13639
|
}
|
@@ -13336,16 +13643,203 @@
|
|
13336
13643
|
QMSCKEditorBpmnComponent.prototype.onCloseDialog = function () {
|
13337
13644
|
this.dialogRef.close();
|
13338
13645
|
};
|
13646
|
+
QMSCKEditorBpmnComponent.prototype.removeLink = function () {
|
13647
|
+
var _this = this;
|
13648
|
+
var title = this.LANG.BPMN.DELETE_ATTACHMENT;
|
13649
|
+
var content = this.LANG.BPMN.CONFIRM_DELETE_ATTACHMENT;
|
13650
|
+
if (this.selectedConnectionType == ShapeFlowChartConnectionType.DocumentOrProcess) {
|
13651
|
+
title = this.LANG.BPMN.DELETE_DOCUMENT_OR_PROCESS;
|
13652
|
+
content = this.LANG.QMSCKEDITOR_MESSAGE.CONFIRM_DELETE_DOCUMENT_OR_PROCESS;
|
13653
|
+
}
|
13654
|
+
this.showConfirmDialog(title, content, false, function (value) {
|
13655
|
+
if (value) {
|
13656
|
+
if (value == true || (typeof value == 'object' && value.isConfirmed == true)) {
|
13657
|
+
_this.link = null;
|
13658
|
+
}
|
13659
|
+
}
|
13660
|
+
});
|
13661
|
+
};
|
13662
|
+
QMSCKEditorBpmnComponent.prototype.onConnectionTypeChange = function () {
|
13663
|
+
var _this = this;
|
13664
|
+
this.selectedConnectionType = this.connectionType;
|
13665
|
+
if (this.link) {
|
13666
|
+
this.showConfirmDialog(this.LANG.QMSCKEDITOR.INFORMATION, this.LANG.QMSCKEDITOR_MESSAGE.CONFIRM_DELETE_EXISTING_CONNECTION, true, function () {
|
13667
|
+
_this.connectionType = 0;
|
13668
|
+
});
|
13669
|
+
return;
|
13670
|
+
}
|
13671
|
+
switch (this.connectionType) {
|
13672
|
+
case ShapeFlowChartConnectionType.DocumentOrProcess:
|
13673
|
+
this.openHandbookDialog(false);
|
13674
|
+
break;
|
13675
|
+
case ShapeFlowChartConnectionType.Attachment:
|
13676
|
+
this.openAttachmentDialog();
|
13677
|
+
break;
|
13678
|
+
}
|
13679
|
+
};
|
13680
|
+
QMSCKEditorBpmnComponent.prototype.onAnchorByNameChange = function () {
|
13681
|
+
this.updateCellViewValues();
|
13682
|
+
};
|
13683
|
+
QMSCKEditorBpmnComponent.prototype.openHandbookDialog = function (isOnlyDocument) {
|
13684
|
+
var _this = this;
|
13685
|
+
var data = new QMSCKEditorRelation();
|
13686
|
+
data.isOnlyDocument = isOnlyDocument;
|
13687
|
+
data.isEnableFolder = !isOnlyDocument;
|
13688
|
+
var dialogTemplate = this.dialog.open(QMSCKEditorRelatedComponent, {
|
13689
|
+
width: '650px',
|
13690
|
+
height: '650px',
|
13691
|
+
data: data,
|
13692
|
+
disableClose: true
|
13693
|
+
});
|
13694
|
+
dialogTemplate
|
13695
|
+
.afterClosed()
|
13696
|
+
.pipe(operators.takeUntil(this.ngUnsubcribe))
|
13697
|
+
.subscribe(function (result) {
|
13698
|
+
if (result) {
|
13699
|
+
_this.documentType = result.type;
|
13700
|
+
_this.linkId = _this.getLinkId(result.url, result.type);
|
13701
|
+
if (result.type == exports.QMSCKEditorDocumentType.document) {
|
13702
|
+
_this.linkTitle = result.title + "(" + result.id + ")";
|
13703
|
+
_this.getAnchorDocument(result.id);
|
13704
|
+
}
|
13705
|
+
else {
|
13706
|
+
_this.linkUrl = result.url;
|
13707
|
+
if (!_this.linkTitle) {
|
13708
|
+
_this.linkTitle = result.title;
|
13709
|
+
}
|
13710
|
+
}
|
13711
|
+
_this.selectedTarget = exports.TargetTypeName.new;
|
13712
|
+
_this.updateCellViewValues();
|
13713
|
+
}
|
13714
|
+
_this.connectionType = 0;
|
13715
|
+
});
|
13716
|
+
};
|
13717
|
+
QMSCKEditorBpmnComponent.prototype.openAttachmentDialog = function () {
|
13718
|
+
var _this = this;
|
13719
|
+
var data = new QMSCKEditorParamter();
|
13720
|
+
data.module = this.module;
|
13721
|
+
data.entityId = this.entityId;
|
13722
|
+
var dialogTemplate = this.dialog.open(LinkAttachmentComponent, {
|
13723
|
+
width: '650px',
|
13724
|
+
height: '650px',
|
13725
|
+
data: data,
|
13726
|
+
disableClose: true
|
13727
|
+
});
|
13728
|
+
dialogTemplate
|
13729
|
+
.afterClosed()
|
13730
|
+
.pipe(operators.takeUntil(this.ngUnsubcribe))
|
13731
|
+
.subscribe(function (result) {
|
13732
|
+
if (result) {
|
13733
|
+
_this.documentType = exports.QMSCKEditorDocumentType.other;
|
13734
|
+
_this.linkUrl = result.url;
|
13735
|
+
if (!_this.linkTitle) {
|
13736
|
+
_this.linkTitle = result.title;
|
13737
|
+
}
|
13738
|
+
_this.selectedTarget = exports.TargetTypeName.new;
|
13739
|
+
_this.updateCellViewValues();
|
13740
|
+
}
|
13741
|
+
_this.connectionType = 0;
|
13742
|
+
});
|
13743
|
+
};
|
13744
|
+
QMSCKEditorBpmnComponent.prototype.getAnchorDocument = function (documentId) {
|
13745
|
+
var _this = this;
|
13746
|
+
this.isLoadingDocumentAnchor = true;
|
13747
|
+
this.linkService
|
13748
|
+
.getAnchorDocumentList(documentId)
|
13749
|
+
.pipe(operators.takeUntil(this.ngUnsubcribe))
|
13750
|
+
.subscribe(function (documents) {
|
13751
|
+
_this.documentAnchors = _this.extractDocumentAnchors(documents || []);
|
13752
|
+
_this.isLoadingDocumentAnchor = false;
|
13753
|
+
});
|
13754
|
+
};
|
13755
|
+
QMSCKEditorBpmnComponent.prototype.extractDocumentAnchors = function (anchorDocument) {
|
13756
|
+
var anchors = [{ value: 0, viewValue: '', anchorValue: exports.LinkAnchor.Blank }];
|
13757
|
+
var id = 3;
|
13758
|
+
if (anchorDocument) {
|
13759
|
+
anchorDocument.forEach(function (e) {
|
13760
|
+
var div = document.createElement('div');
|
13761
|
+
div.innerHTML = e.richText;
|
13762
|
+
var domContent = div;
|
13763
|
+
var aTags = domContent.getElementsByTagName('a');
|
13764
|
+
if (aTags) {
|
13765
|
+
var _loop_1 = function (i) {
|
13766
|
+
var tag = aTags[i];
|
13767
|
+
if (tag.name) {
|
13768
|
+
var index = anchors.findIndex(function (x) {
|
13769
|
+
return x.anchorValue === tag.name;
|
13770
|
+
});
|
13771
|
+
if (index < 0) {
|
13772
|
+
anchors.push({
|
13773
|
+
value: id,
|
13774
|
+
viewValue: tag.name,
|
13775
|
+
anchorValue: tag.name
|
13776
|
+
});
|
13777
|
+
id += 1;
|
13778
|
+
}
|
13779
|
+
}
|
13780
|
+
};
|
13781
|
+
// tslint:disable-next-line:prefer-for-of
|
13782
|
+
for (var i = 0; i < aTags.length; i++) {
|
13783
|
+
_loop_1(i);
|
13784
|
+
}
|
13785
|
+
}
|
13786
|
+
});
|
13787
|
+
}
|
13788
|
+
anchors.push({
|
13789
|
+
value: 1,
|
13790
|
+
viewValue: this.LANG.QMSCKEDITOR.ANCHOR_ATTACHMENT,
|
13791
|
+
anchorValue: exports.LinkAnchor.Attachment
|
13792
|
+
});
|
13793
|
+
anchors.push({
|
13794
|
+
value: 2,
|
13795
|
+
viewValue: this.LANG.QMSCKEDITOR.ANCHOR_RELATED_DOCUMENT,
|
13796
|
+
anchorValue: exports.LinkAnchor.Related
|
13797
|
+
});
|
13798
|
+
return anchors;
|
13799
|
+
};
|
13800
|
+
QMSCKEditorBpmnComponent.prototype.reloadAnchors = function () {
|
13801
|
+
if (!!this.linkId && this.documentType == exports.QMSCKEditorDocumentType.document) {
|
13802
|
+
this.getAnchorDocument(this.linkId);
|
13803
|
+
}
|
13804
|
+
};
|
13805
|
+
QMSCKEditorBpmnComponent.prototype.buildLink = function () {
|
13806
|
+
var link = new ILink();
|
13807
|
+
link.target = this.selectedTarget;
|
13808
|
+
link.title = this.linkTitle;
|
13809
|
+
link.url = this.linkUrl;
|
13810
|
+
link.documentType = this.documentType || exports.QMSCKEditorDocumentType.other;
|
13811
|
+
link.icon = this.documentIcons[link.documentType];
|
13812
|
+
link.content = '';
|
13813
|
+
switch (this.documentType) {
|
13814
|
+
case exports.QMSCKEditorDocumentType.document:
|
13815
|
+
link.url = "" + CKEditorLinkConst.DOCUMENT_PARTIAL_URL + this.linkId + "#" + this.anchorByName;
|
13816
|
+
link.content = this.LANG.QMSCKEDITOR.ID + ": " + this.linkId;
|
13817
|
+
break;
|
13818
|
+
case exports.QMSCKEditorDocumentType.process:
|
13819
|
+
link.content = this.LANG.QMSCKEDITOR.ID + ": " + this.linkId;
|
13820
|
+
break;
|
13821
|
+
case exports.QMSCKEditorDocumentType.area:
|
13822
|
+
link.content = this.LANG.QMSCKEDITOR.ID + ": " + this.linkId;
|
13823
|
+
break;
|
13824
|
+
case exports.QMSCKEditorDocumentType.folder:
|
13825
|
+
link.content = this.LANG.QMSCKEDITOR.ID + ": " + this.linkId;
|
13826
|
+
break;
|
13827
|
+
}
|
13828
|
+
return link;
|
13829
|
+
};
|
13339
13830
|
QMSCKEditorBpmnComponent.prototype.onSaveAsTemplate = function () {
|
13340
13831
|
var graph = window[FlowChartConst.GRAPH];
|
13341
13832
|
var jsonContent = JSON.stringify(graph.toJSON());
|
13342
|
-
var
|
13343
|
-
|
13833
|
+
var template = new QMSCKEditorBpmn();
|
13834
|
+
template = {
|
13344
13835
|
id: guidHelper.empty,
|
13345
13836
|
jsonContent: jsonContent,
|
13346
13837
|
isTemplate: true,
|
13347
13838
|
templateName: ''
|
13348
13839
|
};
|
13840
|
+
var data = new QMSCKEditorSaveAsTemplate();
|
13841
|
+
data.templateType = CKEditorEventConst.QMSCK_BPMN;
|
13842
|
+
data.bpmn = template;
|
13349
13843
|
var dialogTemplate = this.dialog.open(SaveTemplateComponent, {
|
13350
13844
|
width: '450px',
|
13351
13845
|
height: '220px',
|
@@ -13368,10 +13862,13 @@
|
|
13368
13862
|
if (graph) {
|
13369
13863
|
graph.fromJSON(JSON.parse(selectedJsonContent));
|
13370
13864
|
}
|
13865
|
+
window[FlowChartConst.MY_CELL_VIEW] = null;
|
13866
|
+
window[FlowChartConst.SELECTED_SHAPE_ID] = '';
|
13867
|
+
window[FlowChartConst.SHAPE_TYPE] = '';
|
13868
|
+
this.onSeletedCellView();
|
13371
13869
|
}
|
13372
13870
|
};
|
13373
13871
|
QMSCKEditorBpmnComponent.prototype.onDeleteTemplate = function (title, content) {
|
13374
|
-
var _this = this;
|
13375
13872
|
var data = new QMSCKEditorDialogData();
|
13376
13873
|
data.title = title;
|
13377
13874
|
data.content = content;
|
@@ -13385,24 +13882,119 @@
|
|
13385
13882
|
.pipe(operators.takeUntil(this.ngUnsubcribe))
|
13386
13883
|
.subscribe(function (result) {
|
13387
13884
|
if (result) {
|
13388
|
-
var id_1 = window[FlowChartConst.SELECTED_FLOWCHART_ID];
|
13389
|
-
_this.bpmnApiService
|
13390
|
-
.bpmnDeleteTemplate(id_1)
|
13391
|
-
.pipe(operators.takeUntil(_this.ngUnsubcribe))
|
13392
|
-
.subscribe(function (result) {
|
13393
|
-
if (result) {
|
13394
|
-
_this.bmpnService.removeSelectItem(id_1);
|
13395
|
-
_this.bmpnService.setDefaultSelectedValue();
|
13396
|
-
window[FlowChartConst.IS_SELECTED_TEMPLATE] = false;
|
13397
|
-
QMSCKEditorToastService.success(_this.LANG.QMSCKEDITOR.DELETED);
|
13398
|
-
}
|
13399
|
-
else {
|
13400
|
-
QMSCKEditorToastService.error(_this.LANG.QMSCKEDITOR.DELETE_FAILED);
|
13401
|
-
}
|
13402
|
-
});
|
13403
13885
|
}
|
13404
13886
|
});
|
13405
13887
|
};
|
13888
|
+
QMSCKEditorBpmnComponent.prototype.onSeletedCellView = function () {
|
13889
|
+
this.selectedCellView = window[FlowChartConst.MY_CELL_VIEW];
|
13890
|
+
this.initLink();
|
13891
|
+
if (!!this.selectedCellView) {
|
13892
|
+
var attributes_1 = this.selectedCellView.model.attributes;
|
13893
|
+
var excludedTypes = ['bpmn2.Flow', 'bpmn2.HeaderedPool', 'bpmn2.ConversationLink', 'bpmn2.AnnotationLink', 'bpmn2.DataAssociation'];
|
13894
|
+
if (!attributes_1.type || excludedTypes.findIndex(function (type) { return type.toLowerCase() == attributes_1.type.toLowerCase(); }) > -1) {
|
13895
|
+
this.selectedCellView = null;
|
13896
|
+
}
|
13897
|
+
else {
|
13898
|
+
this.linkUrl = attributes_1.linkUrl || '';
|
13899
|
+
if (!!this.linkUrl) {
|
13900
|
+
this.parseLinkUrl(this.linkUrl);
|
13901
|
+
this.selectedTarget = attributes_1.linkTarget;
|
13902
|
+
this.linkTitle = attributes_1.linkTitle;
|
13903
|
+
this.link = this.buildLink();
|
13904
|
+
}
|
13905
|
+
}
|
13906
|
+
}
|
13907
|
+
};
|
13908
|
+
QMSCKEditorBpmnComponent.prototype.onTabChange = function ($event) {
|
13909
|
+
window[FlowChartConst.TAB_NAME] = $event.tab.textLabel;
|
13910
|
+
if ($event.tab.textLabel == this.LANG.BPMN.PROPERTIES) {
|
13911
|
+
this.bmpnService.openShapeFunctionality(this.LANG);
|
13912
|
+
}
|
13913
|
+
};
|
13914
|
+
QMSCKEditorBpmnComponent.prototype.parseLinkUrl = function (url) {
|
13915
|
+
if (!!url) {
|
13916
|
+
var hashIndex = url.indexOf('#');
|
13917
|
+
this.documentType = this.getDocumentType(url);
|
13918
|
+
this.linkIcon = this.documentIcons[this.documentType];
|
13919
|
+
this.linkId = this.getLinkId(url, this.documentType);
|
13920
|
+
if (!!this.linkId && this.documentType == exports.QMSCKEditorDocumentType.document && hashIndex > -1) {
|
13921
|
+
this.anchorByName = url.substr(hashIndex + 1, url.length - hashIndex);
|
13922
|
+
this.getAnchorDocument(this.linkId);
|
13923
|
+
}
|
13924
|
+
}
|
13925
|
+
};
|
13926
|
+
QMSCKEditorBpmnComponent.prototype.getPartialUrl = function (type) {
|
13927
|
+
switch (type) {
|
13928
|
+
case exports.QMSCKEditorDocumentType.document:
|
13929
|
+
return CKEditorLinkConst.DOCUMENT_PARTIAL_URL;
|
13930
|
+
case exports.QMSCKEditorDocumentType.process:
|
13931
|
+
return CKEditorLinkConst.PROCESS_PARTIAL_URL;
|
13932
|
+
case exports.QMSCKEditorDocumentType.area:
|
13933
|
+
return CKEditorLinkConst.AREA_PARTIAL_URL;
|
13934
|
+
case exports.QMSCKEditorDocumentType.folder:
|
13935
|
+
return CKEditorLinkConst.FOLDER_PARTIAL_URL;
|
13936
|
+
default:
|
13937
|
+
return '';
|
13938
|
+
}
|
13939
|
+
};
|
13940
|
+
QMSCKEditorBpmnComponent.prototype.getLinkId = function (url, type) {
|
13941
|
+
var partialUrlIndex = 0;
|
13942
|
+
var partialUrlLength = 0;
|
13943
|
+
var id = '';
|
13944
|
+
var from = 0;
|
13945
|
+
var urlLowerCase = !!url ? url.toLowerCase() : '';
|
13946
|
+
var partialUrl = this.getPartialUrl(type).toLowerCase();
|
13947
|
+
var hashIndex = urlLowerCase.indexOf('#');
|
13948
|
+
if (!!partialUrl) {
|
13949
|
+
partialUrlIndex = urlLowerCase.indexOf(partialUrl);
|
13950
|
+
partialUrlLength = partialUrl.length;
|
13951
|
+
from = partialUrlIndex + partialUrlLength;
|
13952
|
+
if (type == exports.QMSCKEditorDocumentType.document && hashIndex > -1) {
|
13953
|
+
id = urlLowerCase.substr(from, hashIndex - from);
|
13954
|
+
}
|
13955
|
+
else {
|
13956
|
+
var length = urlLowerCase.substr(from).indexOf('/');
|
13957
|
+
if (length < 0) {
|
13958
|
+
id = urlLowerCase.substr(from);
|
13959
|
+
}
|
13960
|
+
else {
|
13961
|
+
id = urlLowerCase.substr(from, length);
|
13962
|
+
}
|
13963
|
+
}
|
13964
|
+
}
|
13965
|
+
if (type == exports.QMSCKEditorDocumentType.document) {
|
13966
|
+
try {
|
13967
|
+
parseInt(id, 10);
|
13968
|
+
}
|
13969
|
+
catch (_a) {
|
13970
|
+
id = '';
|
13971
|
+
}
|
13972
|
+
}
|
13973
|
+
return id;
|
13974
|
+
};
|
13975
|
+
QMSCKEditorBpmnComponent.prototype.getDocumentType = function (url) {
|
13976
|
+
if (url.indexOf(CKEditorLinkConst.DOCUMENT_PARTIAL_URL) > -1) {
|
13977
|
+
return exports.QMSCKEditorDocumentType.document;
|
13978
|
+
}
|
13979
|
+
else if (url.indexOf(CKEditorLinkConst.PROCESS_PARTIAL_URL) > -1) {
|
13980
|
+
return exports.QMSCKEditorDocumentType.process;
|
13981
|
+
}
|
13982
|
+
else if (url.indexOf(CKEditorLinkConst.AREA_PARTIAL_URL) > -1) {
|
13983
|
+
return exports.QMSCKEditorDocumentType.area;
|
13984
|
+
}
|
13985
|
+
else if (url.indexOf(CKEditorLinkConst.FOLDER_PARTIAL_URL) > -1) {
|
13986
|
+
return exports.QMSCKEditorDocumentType.folder;
|
13987
|
+
}
|
13988
|
+
return exports.QMSCKEditorDocumentType.other;
|
13989
|
+
};
|
13990
|
+
QMSCKEditorBpmnComponent.prototype.updateCellViewValues = function () {
|
13991
|
+
if (!!this.selectedCellView) {
|
13992
|
+
this.link = this.buildLink();
|
13993
|
+
this.selectedCellView.model.prop('linkUrl', this.link.url);
|
13994
|
+
this.selectedCellView.model.prop('linkTarget', this.link.target);
|
13995
|
+
this.selectedCellView.model.prop('linkTitle', this.link.title);
|
13996
|
+
}
|
13997
|
+
};
|
13406
13998
|
QMSCKEditorBpmnComponent.prototype.onResetTemplate = function () {
|
13407
13999
|
var ogrJsonContent = window[FlowChartConst.ORG_JSONCONTENT];
|
13408
14000
|
if (ogrJsonContent) {
|
@@ -13412,34 +14004,190 @@
|
|
13412
14004
|
this.bmpnService.setDefaultSelectedValue();
|
13413
14005
|
window[FlowChartConst.IS_SELECTED_TEMPLATE] = false;
|
13414
14006
|
}
|
14007
|
+
window[FlowChartConst.MY_CELL_VIEW] = null;
|
14008
|
+
window[FlowChartConst.SELECTED_SHAPE_ID] = '';
|
14009
|
+
window[FlowChartConst.SHAPE_TYPE] = '';
|
14010
|
+
this.onSeletedCellView();
|
14011
|
+
}
|
14012
|
+
};
|
14013
|
+
QMSCKEditorBpmnComponent.prototype.showConfirmDialog = function (title, content, isMessage, callback) {
|
14014
|
+
var data = new QMSCKEditorDialogData();
|
14015
|
+
data.title = title;
|
14016
|
+
data.content = content;
|
14017
|
+
data.isMessage = isMessage;
|
14018
|
+
var dialogRef = this.dialog.open(QMSCKEditorConfirmComponent, {
|
14019
|
+
width: '500px',
|
14020
|
+
minHeight: '175px',
|
14021
|
+
data: data
|
14022
|
+
});
|
14023
|
+
dialogRef
|
14024
|
+
.afterClosed()
|
14025
|
+
.pipe(operators.takeUntil(this.ngUnsubcribe))
|
14026
|
+
.subscribe(function (result) {
|
14027
|
+
if (callback) {
|
14028
|
+
callback(result);
|
14029
|
+
}
|
14030
|
+
});
|
14031
|
+
};
|
14032
|
+
QMSCKEditorBpmnComponent.prototype.toImageMap = function (id, cells, clientRect) {
|
14033
|
+
var map = { name: id, id: id, areas: [], imageHeight: 0, imageWidth: 0 };
|
14034
|
+
map.imageHeight = clientRect.height;
|
14035
|
+
map.imageWidth = clientRect.width;
|
14036
|
+
if (cells && cells.length != 0) {
|
14037
|
+
var isVerticalPool = false;
|
14038
|
+
for (var i = 0; i < cells.length; i++) {
|
14039
|
+
var shape = cells[i];
|
14040
|
+
var size_1 = shape['size'] || { width: 0, height: 0 };
|
14041
|
+
var bbox_1 = shape['bbox'] || { x: 0, y: 0 };
|
14042
|
+
var position_1 = shape['position'] || { x: 0, y: 0 };
|
14043
|
+
bbox_1.x = position_1.x;
|
14044
|
+
bbox_1.y = position_1.y;
|
14045
|
+
bbox_1.width = size_1.width;
|
14046
|
+
bbox_1.height = size_1.height;
|
14047
|
+
shape['bbox'] = bbox_1;
|
14048
|
+
shape['additionalWidth'] = (bbox_1.width > size_1.width) ? (bbox_1.width - size_1.width) : 0;
|
14049
|
+
}
|
14050
|
+
var offsetX = this.getMinXOffset(cells);
|
14051
|
+
var offsetY = this.getMinYOffset(cells);
|
14052
|
+
var additionalOffsetY = 0;
|
14053
|
+
for (var i = 0; i < cells.length; i++) {
|
14054
|
+
var shape = cells[i];
|
14055
|
+
var href = shape.linkUrl;
|
14056
|
+
var target = shape.linkTarget;
|
14057
|
+
var alt = shape.linkTitle;
|
14058
|
+
if (shape.type == 'bpmn2.Pool' || shape.type == 'bpmn2.HeaderedPool') {
|
14059
|
+
additionalOffsetY = (shape.additionalWidth / 2);
|
14060
|
+
isVerticalPool = (shape.type == 'bpmn2.Pool' || shape.type == 'bpmn2.HeaderedPool') && shape.angle != 0 ? true : false;
|
14061
|
+
}
|
14062
|
+
if (!!href && href.length > 0) {
|
14063
|
+
var size = shape['size'] || { width: 0, height: 0 };
|
14064
|
+
var bbox = shape['bbox'] || { x: 0, y: 0 };
|
14065
|
+
var position = shape['position'] || { x: 0, y: 0 };
|
14066
|
+
bbox.x = position.x;
|
14067
|
+
bbox.y = position.y;
|
14068
|
+
bbox.width = size.width;
|
14069
|
+
bbox.height = size.height;
|
14070
|
+
var additionalOffsetX = (shape.additionalWidth / 2);
|
14071
|
+
var x1, y1, x2, y2;
|
14072
|
+
if (shape.includeTextInClickableArea == true) {
|
14073
|
+
x1 = (bbox.x - offsetX - additionalOffsetX);
|
14074
|
+
y1 = (bbox.y - offsetY);
|
14075
|
+
x2 = (x1 + shape.bbox.width - 1);
|
14076
|
+
y2 = (y1 + shape.bbox.height);
|
14077
|
+
}
|
14078
|
+
else {
|
14079
|
+
var transformX = offsetX, transformY = offsetY;
|
14080
|
+
if (offsetX < 0 && isVerticalPool) {
|
14081
|
+
transformX = offsetX + size.height;
|
14082
|
+
transformY = offsetY - size.height;
|
14083
|
+
}
|
14084
|
+
if (offsetY < 0 && isVerticalPool) {
|
14085
|
+
transformY = offsetY + additionalOffsetY;
|
14086
|
+
}
|
14087
|
+
x1 = (bbox.x - transformX);
|
14088
|
+
y1 = (bbox.y - transformY);
|
14089
|
+
x2 = (x1 + size.width - 1);
|
14090
|
+
y2 = (y1 + size.height);
|
14091
|
+
}
|
14092
|
+
var coords = x1 + "," + y1 + "," + x2 + "," + y2;
|
14093
|
+
switch (shape.type) {
|
14094
|
+
case 'bpmn2.Activity':
|
14095
|
+
case 'bpmn2.Gateway':
|
14096
|
+
case 'bpmn2.Event':
|
14097
|
+
case 'bpmn2.Conversation':
|
14098
|
+
case 'bpmn2.DataObject':
|
14099
|
+
case 'bpmn2.DataStore':
|
14100
|
+
case 'bpmn.Choreography':
|
14101
|
+
case 'bpmn.Message':
|
14102
|
+
map.areas.push({
|
14103
|
+
shape: 'rect',
|
14104
|
+
coords: coords,
|
14105
|
+
href: href,
|
14106
|
+
target: target,
|
14107
|
+
alt: alt
|
14108
|
+
});
|
14109
|
+
break;
|
14110
|
+
default:
|
14111
|
+
map.areas.push({
|
14112
|
+
shape: 'rect',
|
14113
|
+
coords: coords,
|
14114
|
+
href: href,
|
14115
|
+
target: target,
|
14116
|
+
alt: alt
|
14117
|
+
});
|
14118
|
+
break;
|
14119
|
+
}
|
14120
|
+
}
|
14121
|
+
}
|
14122
|
+
}
|
14123
|
+
return map;
|
14124
|
+
};
|
14125
|
+
QMSCKEditorBpmnComponent.prototype.getMinXOffset = function (shapes) {
|
14126
|
+
var filterShapes = shapes.filter(function (s) {
|
14127
|
+
return s.type !== 'bpmn2.Flow'
|
14128
|
+
&& s.type != 'bpmn2.ConversationLink'
|
14129
|
+
&& s.type != 'bpmn2.DataAssociation'
|
14130
|
+
&& s.type != 'bpmn2.AnnotationLink';
|
14131
|
+
});
|
14132
|
+
var minValue;
|
14133
|
+
var minObject;
|
14134
|
+
if (!filterShapes || !filterShapes.length) {
|
14135
|
+
minValue = this.getXPosition(shapes[0]);
|
14136
|
+
minObject = shapes[0];
|
14137
|
+
}
|
14138
|
+
else {
|
14139
|
+
minValue = this.getXPosition(filterShapes[0]);
|
14140
|
+
minObject = filterShapes[0];
|
14141
|
+
}
|
14142
|
+
for (var i = 1; i < filterShapes.length; i++) {
|
14143
|
+
var xPosition = this.getXPosition(filterShapes[i]);
|
14144
|
+
if (xPosition < minValue) {
|
14145
|
+
minValue = xPosition;
|
14146
|
+
minObject = filterShapes[i];
|
14147
|
+
}
|
13415
14148
|
}
|
14149
|
+
return minValue;
|
13416
14150
|
};
|
13417
|
-
QMSCKEditorBpmnComponent.prototype.
|
13418
|
-
|
13419
|
-
|
13420
|
-
|
13421
|
-
|
13422
|
-
|
13423
|
-
|
13424
|
-
|
13425
|
-
|
14151
|
+
QMSCKEditorBpmnComponent.prototype.getXPosition = function (shape) {
|
14152
|
+
return shape.bbox.x - (shape.additionalWidth / 2);
|
14153
|
+
};
|
14154
|
+
QMSCKEditorBpmnComponent.prototype.getYPosition = function (shape) {
|
14155
|
+
return shape.bbox.y - (shape.additionalWidth / 2);
|
14156
|
+
};
|
14157
|
+
QMSCKEditorBpmnComponent.prototype.getMinYOffset = function (shapes) {
|
14158
|
+
var filterShapes = shapes.filter(function (s) {
|
14159
|
+
return s.type !== 'bpmn2.Flow'
|
14160
|
+
&& s.type != 'bpmn2.ConversationLink'
|
14161
|
+
&& s.type != 'bpmn2.DataAssociation'
|
14162
|
+
&& s.type != 'bpmn2.AnnotationLink';
|
13426
14163
|
});
|
13427
|
-
|
13428
|
-
|
13429
|
-
|
13430
|
-
|
13431
|
-
|
13432
|
-
|
14164
|
+
var minValue;
|
14165
|
+
var minObject;
|
14166
|
+
if (!filterShapes || !filterShapes.length) {
|
14167
|
+
minValue = shapes[0].bbox.y;
|
14168
|
+
minObject = shapes[0];
|
14169
|
+
}
|
14170
|
+
else {
|
14171
|
+
minValue = filterShapes[0].bbox.y;
|
14172
|
+
minObject = filterShapes[0];
|
14173
|
+
}
|
14174
|
+
for (var i = 1; i < filterShapes.length; i++) {
|
14175
|
+
var yPosition = this.getYPosition(filterShapes[i]);
|
14176
|
+
if (yPosition < minValue) {
|
14177
|
+
minValue = yPosition;
|
14178
|
+
minObject = filterShapes[i];
|
13433
14179
|
}
|
13434
|
-
}
|
14180
|
+
}
|
14181
|
+
return minValue;
|
13435
14182
|
};
|
14183
|
+
;
|
13436
14184
|
return QMSCKEditorBpmnComponent;
|
13437
14185
|
}(QMSCKEditorBaseComponent));
|
13438
14186
|
QMSCKEditorBpmnComponent.decorators = [
|
13439
14187
|
{ type: i0.Component, args: [{
|
13440
14188
|
selector: 'qms-bpmn',
|
13441
|
-
template: "<div id=\"qmsckeditor-bpmn\" class=\"qmsckeditor qmsckeditor__bpmn__container\">\r\n <div id=\"qmsckeditor-load-template-header\">\r\n <span\r\n id=\"qmsckeditor-bpmn-header_001\"\r\n mat-icon-button\r\n class=\"qmsckeditor button__close\"\r\n (click)=\"onCloseDialog()\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </span>\r\n <span\r\n id=\"qmsckeditor-bpmn-header_002\"\r\n mat-icon-button\r\n class=\"qmsckeditor button__done\"\r\n (click)=\"onInsertImage()\"\r\n >\r\n <mat-icon>done</mat-icon>\r\n </span>\r\n <div id=\"qmsckeditor-load-template-header_002\" mat-dialog-content>\r\n <h2 id=\"qmsckeditor-template_002_001\">\r\n
|
13442
|
-
styles: [".qmsckeditor__bpmn__container .bpmn__editor{width:100%;height:600px}.qmsckeditor__bpmn__container #leftpanel{float:left;width:70%;height:550px}.qmsckeditor__bpmn__container #rightpanel{float:right;width:30%;height:550px;border:solid;border-width:0 1px 1px 0;overflow-y:auto}.qmsckeditor__bpmn__container #toolbarpanel{position:relative;top:0;bottom:0;left:0;right:0;margin-bottom:17px;height:50px;width:100%}.qmsckeditor__bpmn__container #paperpanel{position:relative;top:0;bottom:0;left:0;right:0;height:400px;width:100%}.qmsckeditor__bpmn__container #stencilpanel{position:relative;top:0;bottom:0;left:0;right:0;height:150px;width:100%}.qmsckeditor__bpmn__container #toolbar-container{position:relative;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.qmsckeditor__bpmn__container #paper-container{position:relative;top:0;bottom:0;left:0;right:0;width:100%;height:inherit}.qmsckeditor__bpmn__container #inspector-container{position:relative;top:0;right:0;bottom:0;width:100%;background:#fff}.qmsckeditor__bpmn__container #stencil-container{position:absolute;top:0;bottom:0;left:0;right:0;width:1174px;height:inherit}.qmsckeditor__bpmn__container #statusbar-container{position:absolute;left:0;right:0;bottom:0;height:25px}.qmsckeditor__bpmn__container #panel-stencil-container{position:absolute;left:0;right:0;bottom:0;height:150px;overflow-x:auto;overflow-y:hidden;background-image:url(\"data:image/png;base64,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\");background-repeat:repeat;transition:all .5s ease-in-out 0s}.qmsckeditor__bpmn__container #panel-stencil-container .mat-expansion-panel-header-title{color:#fff}.qmsckeditor__bpmn__container #panel-stencil-container .joint-theme-default{background:none}.qmsckeditor__bpmn__container #panel-stencil-container ::ng-deep .mat-expansion-indicator:after{color:#fff;transform:rotate(-135deg)}.qmsckeditor__bpmn__container #panel-stencil-container .mat-expansion-panel-header{min-width:1224px;max-width:100%}.qmsckeditor__bpmn__container #panel-stencil-container .joint-stencil>.content{width:1200px}.qmsckeditor__bpmn__container ::ng-deep .joint-inspector.joint-theme-bpmn .list-item .input-wrapper input{width:70%;float:none}"]
|
14189
|
+
template: "<div id=\"qmsckeditor-bpmn\" class=\"qmsckeditor qmsckeditor__bpmn__container\">\r\n <div id=\"qmsckeditor-load-template-header\">\r\n <span\r\n id=\"qmsckeditor-bpmn-header_001\"\r\n mat-icon-button\r\n class=\"qmsckeditor button__close\"\r\n (click)=\"onCloseDialog()\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </span>\r\n <span\r\n id=\"qmsckeditor-bpmn-header_002\"\r\n mat-icon-button\r\n class=\"qmsckeditor button__done\"\r\n (click)=\"onInsertImage()\"\r\n >\r\n <mat-icon>done</mat-icon>\r\n </span>\r\n <div id=\"qmsckeditor-load-template-header_002\" mat-dialog-content>\r\n <h2 id=\"qmsckeditor-template_002_001\">\r\n {{ LANG.BPMN.BUSINESS_PROCESS_MODEL_AND_NOTATION }}\r\n </h2>\r\n </div>\r\n </div>\r\n\r\n <div id=\"bpmn\" class=\"bpmn__editor\">\r\n <div id=\"toolbarpanel\">\r\n <div id=\"toolbar-container\"></div>\r\n </div>\r\n <div id=\"leftpanel\">\r\n <div id=\"paperpanel\">\r\n <div id=\"paper-container\"></div>\r\n </div>\r\n <div id=\"stencilpanel\">\r\n <mat-expansion-panel\r\n id=\"panel-stencil-container\"\r\n [expanded]=\"expandedPanel\"\r\n (click)=\"expandPanel()\"\r\n >\r\n <mat-expansion-panel-header>\r\n <mat-panel-title> </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div id=\"stencil-container\"></div>\r\n </mat-expansion-panel>\r\n <!-- <div id=\"stencil-container\"></div> -->\r\n </div>\r\n </div>\r\n <div id=\"rightpanel\">\r\n <mat-tab-group\r\n mat-stretch-tabs\r\n mat-align-tabs=\"center\"\r\n (selectedTabChange)=\"onTabChange($event)\"\r\n >\r\n <mat-tab\r\n [label]=\"LANG.BPMN.PROPERTIES\"\r\n id=\"qmsckeditor_bpmn_properties\"\r\n >\r\n <div id=\"inspector-container\"></div>\r\n <!-- <div class=\"about\" *ngIf=\"!selectedCellView\">\r\n <h1>{{ LANG.BPMN.BUSINESS_PROCESS_MODEL_AND_NOTATION }}</h1>\r\n </div> -->\r\n </mat-tab>\r\n <mat-tab\r\n [label]=\"LANG.BPMN.CONNECTION\"\r\n id=\"qmsckeditor_bpmn_connection\"\r\n >\r\n <!-- <div class=\"about\" *ngIf=\"!selectedCellView\">\r\n <h1>{{ LANG.BPMN.BUSINESS_PROCESS_MODEL_AND_NOTATION }}</h1>\r\n </div> -->\r\n <mat-expansion-panel\r\n id=\"qmsckeditor_bpmn_connection_panel\"\r\n [expanded]=\"true\"\r\n (opened)=\"(true)\"\r\n (closed)=\"(false)\"\r\n hideToggle\r\n *ngIf=\"!!selectedCellView\"\r\n >\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{ LANG.BPMN.CONNECTION }}\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div id=\"qmsckeditor_bpmn_connection_panel_001\" class=\"col-12 mt8\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.ANCHOR_BY_NAME }}</mat-label>\r\n <mat-select\r\n [(ngModel)]=\"connectionType\"\r\n name=\"connectionType\"\r\n (ngModelChange)=\"onConnectionTypeChange()\"\r\n >\r\n <mat-option\r\n *ngFor=\"let item of connectionTypes\"\r\n [value]=\"item.id\"\r\n disableOptionCentering\r\n >\r\n {{ item.name }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div\r\n id=\"qmsckeditor_bpmn_connection_panel_002\"\r\n class=\"col-12 mt8\"\r\n *ngIf=\"!!link\"\r\n >\r\n <mat-card>\r\n <div class=\"row\">\r\n <div class=\"col-1 mt-n4\">\r\n <mat-icon aria-hidden=\"true\" class=\"fs32\">{{\r\n link.icon\r\n }}</mat-icon>\r\n </div>\r\n <div class=\"col-10\">\r\n <mat-card-title class=\"fs16\">{{\r\n link.title\r\n }}</mat-card-title>\r\n <mat-card-subtitle>{{ link.content }}</mat-card-subtitle>\r\n </div>\r\n <div class=\"col-1 pa0 mt-n4\">\r\n <button mat-icon-button>\r\n <mat-icon (click)=\"removeLink()\">close</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </mat-card>\r\n </div>\r\n <div\r\n id=\"qmsckeditor_bpmn_connection_panel_003\"\r\n class=\"col-12 mt24\"\r\n *ngIf=\"!!link && link.documentType === 1\"\r\n >\r\n <div class=\"row\">\r\n <div class=\"col-10\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12\">\r\n <mat-label>{{\r\n LANG.BPMN.CHOOSE_ANCHOR_IN_TEXT_OPTIONAL\r\n }}</mat-label>\r\n <mat-label *ngIf=\"isLoadingDocumentAnchor\">\r\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\r\n </mat-label>\r\n <mat-select\r\n [(ngModel)]=\"anchorByName\"\r\n name=\"anchorByName\"\r\n (ngModelChange)=\"onAnchorByNameChange()\"\r\n disableOptionCentering\r\n >\r\n <mat-option\r\n *ngIf=\"\r\n documentAnchors === null ||\r\n documentAnchors.length == 0\r\n \"\r\n disabled\r\n ></mat-option>\r\n <mat-option\r\n *ngFor=\"let docAnchor of documentAnchors\"\r\n [value]=\"docAnchor.anchorValue\"\r\n >\r\n {{ docAnchor.viewValue }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"col-2 mt8 pa0\">\r\n <button\r\n mat-raised-button\r\n [matTooltip]=\"LANG.BPMN.RELOAD_ANCHORS\"\r\n (click)=\"reloadAnchors()\"\r\n [disabled]=\"isLoadingDocumentAnchor\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n id=\"qmsckeditor_bpmn_connection_panel_004\"\r\n class=\"col-12 mt8\"\r\n *ngIf=\"!!link\"\r\n >\r\n <mat-form-field appearance=\"fill\" class=\"col-12\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.TARGET }}</mat-label>\r\n <mat-select\r\n [(ngModel)]=\"selectedTarget\"\r\n name=\"selectedTarget\"\r\n disableOptionCentering\r\n >\r\n <mat-option\r\n *ngFor=\"let target of targets\"\r\n [value]=\"target.id\"\r\n >\r\n {{ target.name }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n </mat-expansion-panel>\r\n </mat-tab>\r\n </mat-tab-group>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
14190
|
+
styles: [":host ::ng-deep .qmsckeditor__bpmn__container .bpmn__editor{width:100%;height:600px}:host ::ng-deep .qmsckeditor__bpmn__container #leftpanel{float:left;width:70%;height:550px}:host ::ng-deep .qmsckeditor__bpmn__container #rightpanel{float:right;width:30%;height:550px;border:solid;border-width:0 1px 1px 0;overflow-y:auto}:host ::ng-deep .qmsckeditor__bpmn__container #toolbarpanel{position:relative;top:0;bottom:0;left:0;right:0;margin-bottom:16px;height:50px;width:100%}:host ::ng-deep .qmsckeditor__bpmn__container #paperpanel{position:relative;top:0;bottom:0;left:0;right:0;height:400px;width:100%}:host ::ng-deep .qmsckeditor__bpmn__container #stencilpanel{position:relative;top:0;bottom:0;left:0;right:0;height:150px;width:100%}:host ::ng-deep .qmsckeditor__bpmn__container #toolbar-container{position:relative;top:0;bottom:0;left:0;right:0;width:100%;height:100%}:host ::ng-deep .qmsckeditor__bpmn__container #paper-container{position:relative;top:0;bottom:0;left:0;right:0;width:100%;height:inherit}:host ::ng-deep .qmsckeditor__bpmn__container #inspector-container{position:relative;top:0;right:0;bottom:0;width:100%;background:#fff}:host ::ng-deep .qmsckeditor__bpmn__container #stencil-container{position:absolute;top:0;bottom:0;left:0;right:0;width:1174px;height:inherit}:host ::ng-deep .qmsckeditor__bpmn__container #statusbar-container{position:absolute;left:0;right:0;bottom:0;height:25px}:host ::ng-deep .qmsckeditor__bpmn__container #panel-stencil-container{position:absolute;left:0;right:0;bottom:0;height:150px;overflow-x:auto;overflow-y:hidden;background-image:url(\"data:image/png;base64,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\");background-repeat:repeat;transition:all .5s ease-in-out 0s}:host ::ng-deep .qmsckeditor__bpmn__container #panel-stencil-container .mat-expansion-panel-header-title{color:#fff}:host ::ng-deep .qmsckeditor__bpmn__container #panel-stencil-container .joint-theme-default{background:none}:host ::ng-deep .qmsckeditor__bpmn__container #panel-stencil-container .mat-expansion-indicator:after{color:#fff;transform:rotate(-135deg)}:host ::ng-deep .qmsckeditor__bpmn__container #panel-stencil-container .mat-expansion-panel-header{min-width:1224px;max-width:100%}:host ::ng-deep .qmsckeditor__bpmn__container #panel-stencil-container .joint-stencil>.content{width:1200px}:host ::ng-deep .qmsckeditor__bpmn__container .joint-inspector.joint-theme-bpmn .list-item .input-wrapper input{width:70%;float:none}:host ::ng-deep .qmsckeditor__bpmn__container .object-property[data-property$=\"/fill\"]{width:100%}:host ::ng-deep .qmsckeditor__bpmn__container .object-property[data-property$=\"/stroke\"]{width:100%}:host ::ng-deep .qmsckeditor__bpmn__container .field[data-field$=\"/fill\"]{width:100%}:host ::ng-deep .qmsckeditor__bpmn__container .field[data-field$=\"/stroke\"]{width:100%}:host ::ng-deep .qmsckeditor__bpmn__container .joint-inspector.joint-theme-bpmn .list-item:nth-child(odd){background:#ecefff;background:-webkit-gradient(left,#ecefff 0,#fafafa 100%);background:linear-gradient(270deg,#91a1c9 0,#fafafa);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#ECEFFF\",endColorstr=\"#3571b0\",GradientType=0)}:host ::ng-deep .qmsckeditor__bpmn__container .joint-inspector.joint-theme-bpmn .list-item:nth-child(2n){background:#ecefff;background:-webkit-gradient(left,#ecefff 0,#fafafa 100%);background:linear-gradient(270deg,#91a1c9 0,#fafafa);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#ECEFFF\",endColorstr=\"#3571b0\",GradientType=0)}:host ::ng-deep .qmsckeditor__bpmn__container .joint-inspector.joint-theme-bpmn .list-item .list-item:nth-child(odd){background:#eceff7;background:-webkit-gradient(left,#eceff7 0,#eceff7 100%);background:linear-gradient(270deg,#eceff7 0,#eceff7);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#eceff7\",endColorstr=\"#eceff7\",GradientType=0)}:host ::ng-deep .qmsckeditor__bpmn__container .joint-inspector.joint-theme-bpmn .list-item .list-item:nth-child(2n){background:#eceff7;background:-webkit-gradient(left,#eceff7 0,#eceff7 100%);background:linear-gradient(270deg,#eceff7 0,#eceff7);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#eceff7\",endColorstr=\"#eceff7\",GradientType=0)}:host ::ng-deep .qmsckeditor__bpmn__container .joint-inspector.joint-theme-bpmn .list-item{border-radius:10px;box-shadow:0 1px 1px 1px rgba(0,0,0,.2)}"]
|
13443
14191
|
},] }
|
13444
14192
|
];
|
13445
14193
|
QMSCKEditorBpmnComponent.ctorParameters = function () { return [
|
@@ -13447,8 +14195,10 @@
|
|
13447
14195
|
{ type: TranslateLibraryService },
|
13448
14196
|
{ type: BpmnService },
|
13449
14197
|
{ type: QMSCKEditorBpmnApiService },
|
14198
|
+
{ type: QMSCKEditorLinkService },
|
14199
|
+
{ type: QMSCKEditorUploadService },
|
13450
14200
|
{ type: dialog.MatDialogRef },
|
13451
|
-
{ type:
|
14201
|
+
{ type: QMSCKEditorBpmnData, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
13452
14202
|
]; };
|
13453
14203
|
QMSCKEditorBpmnComponent.propDecorators = {
|
13454
14204
|
onMessage: [{ type: i0.HostListener, args: ['window:message', ['$event'],] }]
|
@@ -15484,6 +16234,7 @@
|
|
15484
16234
|
_this.anchorText = '';
|
15485
16235
|
//anchorByName = '';
|
15486
16236
|
_this.advisoryTitle = '';
|
16237
|
+
_this.isImageLoading = false;
|
15487
16238
|
_this.isUrlProcessing = false;
|
15488
16239
|
_this.naturalImageWidth = 0;
|
15489
16240
|
_this.naturalImageHeight = 0;
|
@@ -15618,8 +16369,10 @@
|
|
15618
16369
|
QMSCKEditorImageMapComponent.prototype.ngAfterViewInit = function () {
|
15619
16370
|
var _this = this;
|
15620
16371
|
if (this.myImageRef) {
|
16372
|
+
this.isImageLoading = true;
|
15621
16373
|
this.imageListeners.push(this.renderer.listen(this.myImageRef.nativeElement, 'load', function () {
|
15622
16374
|
_this.onImageLoad();
|
16375
|
+
_this.isImageLoading = false;
|
15623
16376
|
}));
|
15624
16377
|
}
|
15625
16378
|
// Avoid drag&drop of the image
|
@@ -15654,9 +16407,9 @@
|
|
15654
16407
|
}
|
15655
16408
|
});
|
15656
16409
|
};
|
15657
|
-
QMSCKEditorImageMapComponent.prototype.parseLinkUrl = function (url
|
16410
|
+
QMSCKEditorImageMapComponent.prototype.parseLinkUrl = function (url) {
|
15658
16411
|
var protocol = this.protocolRegex.exec(url);
|
15659
|
-
if (protocol) {
|
16412
|
+
if (!!protocol) {
|
15660
16413
|
this.processedUrl = url.substr(protocol[0].length);
|
15661
16414
|
this.url = this.processedUrl;
|
15662
16415
|
this.selectedProtocol = protocol[0].toLowerCase();
|
@@ -15669,9 +16422,7 @@
|
|
15669
16422
|
else {
|
15670
16423
|
this.processedUrl = url;
|
15671
16424
|
this.url = this.processedUrl;
|
15672
|
-
|
15673
|
-
this.selectedProtocol = defaultProtocolName || exports.ProtocolTypeName.http;
|
15674
|
-
}
|
16425
|
+
this.selectedProtocol = exports.ProtocolTypeName.other;
|
15675
16426
|
}
|
15676
16427
|
};
|
15677
16428
|
QMSCKEditorImageMapComponent.prototype.onSelectArea = function (area) {
|
@@ -15948,8 +16699,8 @@
|
|
15948
16699
|
QMSCKEditorImageMapComponent.decorators = [
|
15949
16700
|
{ type: i0.Component, args: [{
|
15950
16701
|
selector: 'app-qmsck-imagemap',
|
15951
|
-
template: "<div id=\"qmsckeditor-imagemap\" class=\"qmsckeditor qmsckeditor__imagemap__container\">\r\n <div id=\"qmsckeditor-imagemap-header\">\r\n <span id=\"qmsckeditor-imagemap-header_001\" mat-icon-button class=\"qmsckeditor button__close\"\r\n (click)=\"onCloseDialog()\">\r\n <mat-icon>close</mat-icon>\r\n </span>\r\n <div id=\"qmsckeditor-imagemap-header_002\" mat-dialog-content>\r\n <h2 id=\"qmsckeditor-imagemap_002_001\">\r\n {{ LANG.QMSCKEDITOR.IMAGE_MAP_PROPERTIES }}\r\n </h2>\r\n </div>\r\n </div>\r\n <div id=\"qmsckeditor-imagemap-content\">\r\n <div id=\"qmsckeditor-imagemap-content_001\" class=\"col-12 mt-1 pl-2 pr-2\">\r\n <mat-expansion-panel id=\"qmsckeditor-imagemap-panel\" [expanded]=\"true\" (opened)=\"(true)\" (closed)=\"(false)\">\r\n <div id=\"qmsckeditor-imagemap-panel_001\">\r\n <div id=\"qmsckeditor-imagemap-panel_001_001\" class=\"qmsckeditor__imagemap__information\">\r\n <form [formGroup]=\"imageMapFormGroup\">\r\n <div class=\"row\">\r\n <div class=\"col-9\">\r\n <mat-button-toggle-group [(ngModel)]=\"selectedMode\" formControlName=\"modeList\"\r\n (change)=\"onModeChange($event)\">\r\n <mat-button-toggle *ngFor=\"let mode of modes\" [value]=\"mode.id\"\r\n [matTooltip]=\"mode.name\">\r\n <mat-icon color=\"red\" [svgIcon]=\"mode.icon\" aria-hidden=\"true\">\r\n </mat-icon>\r\n </mat-button-toggle>\r\n </mat-button-toggle-group>\r\n <span style=\"margin-left: 15px;\" #myStatus></span>\r\n </div>\r\n <div class=\"col-3\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-3 pb-1\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.ZOOM }}</mat-label>\r\n <mat-select [(ngModel)]=\"selectedZoom\" formControlName=\"zoomList\"\r\n (ngModelChange)=\"onZoomChange()\" disableOptionCentering>\r\n <mat-option *ngFor=\"let zoomType of zoomTypes\" [value]=\"zoomType.id\">\r\n {{ zoomType.name }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n <div class=\"row\" [ngClass]=\"{'hidden': !showImageMapInformation}\">\r\n <div class=\"col-3\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-3 pb-1\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.LINK_TYPE }}</mat-label>\r\n <mat-select [(ngModel)]=\"selectedLinkType\" formControlName=\"linkTypeList\"\r\n (ngModelChange)=\"onLinkTypeChange()\" disableOptionCentering>\r\n <mat-option *ngFor=\"let link of linkTypes\" [value]=\"link.id\">\r\n {{ link.name }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"col-3\" *ngIf=\"selectedLinkType === 0\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-3 pb-1\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.TARGET }}</mat-label>\r\n <mat-select [(ngModel)]=\"selectedTarget\" formControlName=\"targetList\"\r\n (ngModelChange)=\"onTargetChange()\" disableOptionCentering>\r\n <mat-option *ngFor=\"let target of targets\" [value]=\"target.id\">\r\n {{ target.name }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n <div class=\"row\" [ngClass]=\"{'hidden': !showImageMapInformation}\"\r\n *ngIf=\"selectedLinkType === 1\">\r\n <div class=\"col-3\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.ANCHOR_BY_NAME }}</mat-label>\r\n <mat-select [(ngModel)]=\"anchorText\" formControlName=\"anchorTextList\"\r\n (ngModelChange)=\"onAnchorTextChange()\">\r\n <mat-option *ngFor=\"let editorAnchor of editorAnchors\"\r\n [value]=\"editorAnchor.anchorValue\" disableOptionCentering>\r\n {{ editorAnchor.viewValue }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n <div class=\"row\" [ngClass]=\"{'hidden': !showImageMapInformation}\"\r\n *ngIf=\"selectedLinkType === 0\">\r\n <div class=\"col-3\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-3 pb-1\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.PROTOCOL }}</mat-label>\r\n <mat-select [(ngModel)]=\"selectedProtocol\" formControlName=\"protocolList\"\r\n (ngModelChange)=\"onProtocolChange()\" disableOptionCentering>\r\n <mat-option *ngFor=\"let protocol of protocols\" [value]=\"protocol.id\">\r\n {{ protocol.name }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"col-5\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-3 pb-1\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.LINK_URL }}</mat-label>\r\n <input matInput [(ngModel)]=\"url\" name=\"url\" formControlName=\"url\"\r\n (ngModelChange)=\"onUrlChange()\" (keyup)=\"onUrlKeyup()\" />\r\n <mat-error *ngIf=\"imageMapFormGroup.get('url').hasError('required')\">{{\r\n LANG.QMSCKEDITOR.REQUIRED_URL }}\r\n </mat-error>\r\n <mat-error *ngIf=\"imageMapFormGroup.get('url').hasError('invalidURL')\">{{\r\n LANG.QMSCKEDITOR.INVALID_URL }}</mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"col-4\">\r\n <div class=\"row button__groups\">\r\n <div class=\"col-6\">\r\n <button class=\"save\" mat-stroked-button (click)=\"attachment()\">\r\n {{ LANG.QMSCKEDITOR.ATTACHMENT }}\r\n </button>\r\n </div>\r\n <div class=\"col-6\">\r\n <button class=\"save\" mat-stroked-button (click)=\"eHandbook(false, false)\">\r\n {{ LANG.QMSCKEDITOR.HANDBOOK }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n <div id=\"qmsckeditor-imagemap-panel_001_002\" class=\"qmsckeditor__imagemap__map\">\r\n <img #myImage [src]=\"imageMapData.imageUrl\">\r\n </div>\r\n <div id=\"qmsckeditor-imagemap-panel_001_003\" class=\"qmsckeditor button__groups row mr-0 ml-0 mt-4\">\r\n <div class=\"col-4 pr-0\">\r\n <button class=\"save\" mat-flat-button (click)=\"removeMap()\">\r\n {{ LANG.QMSCKEDITOR.REMOVE_MAP }}\r\n </button>\r\n </div>\r\n <div class=\"col-4 pr-0\">\r\n <button class=\"save\" mat-flat-button (click)=\"save()\">\r\n {{ LANG.QMSCKEDITOR.SAVE }}\r\n </button>\r\n </div>\r\n <div class=\"col-4 pl-0\">\r\n <button class=\"cancel\" mat-flat-button (click)=\"cancel()\">\r\n {{ LANG.QMSCKEDITOR.CANCEL }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-expansion-panel>\r\n </div>\r\n </div>\r\n</div>",
|
15952
|
-
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:
|
16702
|
+
template: "<div id=\"qmsckeditor-imagemap\" class=\"qmsckeditor qmsckeditor__imagemap__container\">\r\n <div id=\"qmsckeditor-imagemap-header\">\r\n <span id=\"qmsckeditor-imagemap-header_001\" mat-icon-button class=\"qmsckeditor button__close\"\r\n (click)=\"onCloseDialog()\">\r\n <mat-icon>close</mat-icon>\r\n </span>\r\n <div id=\"qmsckeditor-imagemap-header_002\" mat-dialog-content>\r\n <h2 id=\"qmsckeditor-imagemap_002_001\">\r\n {{ LANG.QMSCKEDITOR.IMAGE_MAP_PROPERTIES }}\r\n </h2>\r\n </div>\r\n </div>\r\n <div id=\"qmsckeditor-imagemap-content\">\r\n <div id=\"qmsckeditor-imagemap-content_001\" class=\"col-12 mt-1 pl-2 pr-2\">\r\n <mat-expansion-panel id=\"qmsckeditor-imagemap-panel\" [expanded]=\"true\" (opened)=\"(true)\" (closed)=\"(false)\">\r\n <div id=\"qmsckeditor-imagemap-panel_001\">\r\n <div id=\"qmsckeditor-imagemap-panel_001_001\" class=\"qmsckeditor__imagemap__information\">\r\n <form [formGroup]=\"imageMapFormGroup\">\r\n <div class=\"row\">\r\n <div class=\"col-9\">\r\n <mat-button-toggle-group [(ngModel)]=\"selectedMode\" formControlName=\"modeList\"\r\n (change)=\"onModeChange($event)\">\r\n <mat-button-toggle *ngFor=\"let mode of modes\" [value]=\"mode.id\"\r\n [matTooltip]=\"mode.name\">\r\n <mat-icon color=\"red\" [svgIcon]=\"mode.icon\" aria-hidden=\"true\">\r\n </mat-icon>\r\n </mat-button-toggle>\r\n </mat-button-toggle-group>\r\n <span style=\"margin-left: 15px;\" #myStatus></span>\r\n </div>\r\n <div class=\"col-3\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-3 pb-1\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.ZOOM }}</mat-label>\r\n <mat-select [(ngModel)]=\"selectedZoom\" formControlName=\"zoomList\"\r\n (ngModelChange)=\"onZoomChange()\" disableOptionCentering>\r\n <mat-option *ngFor=\"let zoomType of zoomTypes\" [value]=\"zoomType.id\">\r\n {{ zoomType.name }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n <div class=\"row\" [ngClass]=\"{'hidden': !showImageMapInformation}\">\r\n <div class=\"col-3\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-3 pb-1\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.LINK_TYPE }}</mat-label>\r\n <mat-select [(ngModel)]=\"selectedLinkType\" formControlName=\"linkTypeList\"\r\n (ngModelChange)=\"onLinkTypeChange()\" disableOptionCentering>\r\n <mat-option *ngFor=\"let link of linkTypes\" [value]=\"link.id\">\r\n {{ link.name }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"col-3\" *ngIf=\"selectedLinkType === 0\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-3 pb-1\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.TARGET }}</mat-label>\r\n <mat-select [(ngModel)]=\"selectedTarget\" formControlName=\"targetList\"\r\n (ngModelChange)=\"onTargetChange()\" disableOptionCentering>\r\n <mat-option *ngFor=\"let target of targets\" [value]=\"target.id\">\r\n {{ target.name }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n <div class=\"row\" [ngClass]=\"{'hidden': !showImageMapInformation}\"\r\n *ngIf=\"selectedLinkType === 1\">\r\n <div class=\"col-3\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.ANCHOR_BY_NAME }}</mat-label>\r\n <mat-select [(ngModel)]=\"anchorText\" formControlName=\"anchorTextList\"\r\n (ngModelChange)=\"onAnchorTextChange()\">\r\n <mat-option *ngFor=\"let editorAnchor of editorAnchors\"\r\n [value]=\"editorAnchor.anchorValue\" disableOptionCentering>\r\n {{ editorAnchor.viewValue }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n </div>\r\n <div class=\"row\" [ngClass]=\"{'hidden': !showImageMapInformation}\"\r\n *ngIf=\"selectedLinkType === 0\">\r\n <div class=\"col-3\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-3 pb-1\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.PROTOCOL }}</mat-label>\r\n <mat-select [(ngModel)]=\"selectedProtocol\" formControlName=\"protocolList\"\r\n (ngModelChange)=\"onProtocolChange()\" disableOptionCentering>\r\n <mat-option *ngFor=\"let protocol of protocols\" [value]=\"protocol.id\">\r\n {{ protocol.name }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"col-5\">\r\n <mat-form-field appearance=\"fill\" class=\"col-12 pl-3 pr-3 pb-1\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.LINK_URL }}</mat-label>\r\n <input matInput [(ngModel)]=\"url\" name=\"url\" formControlName=\"url\"\r\n (ngModelChange)=\"onUrlChange()\" (keyup)=\"onUrlKeyup()\" />\r\n <mat-error *ngIf=\"imageMapFormGroup.get('url').hasError('required')\">{{\r\n LANG.QMSCKEDITOR.REQUIRED_URL }}\r\n </mat-error>\r\n <mat-error *ngIf=\"imageMapFormGroup.get('url').hasError('invalidURL')\">{{\r\n LANG.QMSCKEDITOR.INVALID_URL }}</mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"col-4\">\r\n <div class=\"row button__groups\">\r\n <div class=\"col-6\">\r\n <button class=\"save\" mat-stroked-button (click)=\"attachment()\">\r\n {{ LANG.QMSCKEDITOR.ATTACHMENT }}\r\n </button>\r\n </div>\r\n <div class=\"col-6\">\r\n <button class=\"save\" mat-stroked-button (click)=\"eHandbook(false, false)\">\r\n {{ LANG.QMSCKEDITOR.HANDBOOK }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n <div id=\"qmsckeditor-imagemap-panel_001_002\" class=\"qmsckeditor__imagemap__map\">\r\n <img #myImage [src]=\"imageMapData.imageUrl\">\r\n <mat-spinner diameter=\"40\" mode=\"indeterminate\" *ngIf=\"isImageLoading\"></mat-spinner>\r\n </div>\r\n <div id=\"qmsckeditor-imagemap-panel_001_003\" class=\"qmsckeditor button__groups row mr-0 ml-0 mt-4\">\r\n <div class=\"col-4 pr-0\">\r\n <button class=\"save\" mat-flat-button (click)=\"removeMap()\">\r\n {{ LANG.QMSCKEDITOR.REMOVE_MAP }}\r\n </button>\r\n </div>\r\n <div class=\"col-4 pr-0\">\r\n <button class=\"save\" mat-flat-button (click)=\"save()\">\r\n {{ LANG.QMSCKEDITOR.SAVE }}\r\n </button>\r\n </div>\r\n <div class=\"col-4 pl-0\">\r\n <button class=\"cancel\" mat-flat-button (click)=\"cancel()\">\r\n {{ LANG.QMSCKEDITOR.CANCEL }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-expansion-panel>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
16703
|
+
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:472px;overflow:auto}.qmsckeditor.save__as__template.height{height:125px}.ck-content .ck-horizontal-line,.ck-content .page-break{width:100%}.ck-content hr{background:#ccc}::ng-deep .qmsckeditor__imagemap__container .mat-form-field{width:100%}::ng-deep .qmsckeditor__imagemap__container .qmsckeditor__imagemap__information{position:relative}::ng-deep .qmsckeditor__imagemap__container .qmsckeditor__imagemap__map{overflow:auto;width:800px;min-height:371px;position:relative;max-height:460px;display:flex;justify-content:center;align-items:flex-start}::ng-deep .qmsckeditor__imagemap__container .mat-button-toggle-checked{border:1px solid #000!important}::ng-deep .qmsckeditor__imagemap__container .hidden{visibility:hidden}"]
|
15953
16704
|
},] }
|
15954
16705
|
];
|
15955
16706
|
QMSCKEditorImageMapComponent.ctorParameters = function () { return [
|
@@ -15999,7 +16750,7 @@
|
|
15999
16750
|
_this.LANG = _this.translate.getObjectLang(res);
|
16000
16751
|
}
|
16001
16752
|
});
|
16002
|
-
this.editorConfig = CKEditorCommonFunctions.getCKEditorConfiguration('
|
16753
|
+
this.editorConfig = CKEditorCommonFunctions.getCKEditorConfiguration('heading,|,fontsize,fontfamily,fontColor,fontBackgroundColor,|,bold,italic,underline,strikethrough,|,alignment,|,bulletedList,numberedList,|,outdent,indent,|,subscript,superscript,|,undo,redo,|,specialCharacters,blockQuote,insertTable,|,link,anchor,|,timestamp,|,removeformat');
|
16003
16754
|
};
|
16004
16755
|
QMSCKEditorTooltipComponent.prototype.ngAfterViewChecked = function () {
|
16005
16756
|
this.cdr.detectChanges();
|
@@ -16038,8 +16789,8 @@
|
|
16038
16789
|
QMSCKEditorTooltipComponent.decorators = [
|
16039
16790
|
{ type: i0.Component, args: [{
|
16040
16791
|
selector: 'app-qmsck-tooltip',
|
16041
|
-
template: "<div
|
16042
|
-
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:
|
16792
|
+
template: "<div id=\"qmsckeditor-tooltip\" class=\"qmsckeditor qmsckeditor__tooltip__container\">\r\n <div id=\"qmsckeditor-tooltip-header\">\r\n <span id=\"qmsckeditor-tooltip-header_001\" mat-icon-button class=\"qmsckeditor button__close\"\r\n (click)=\"onCloseDialog()\">\r\n <mat-icon>close</mat-icon>\r\n </span>\r\n <div id=\"qmsckeditor-tooltip-header_002\" mat-dialog-content>\r\n <h2 id=\"qmsckeditor-tooltip_002_001\">\r\n {{ LANG.QMSCKEDITOR.INSERT_TOOLTIP }}\r\n </h2>\r\n </div>\r\n </div>\r\n <form [formGroup]=\"tooltipFormGroup\">\r\n <div id=\"qmsckeditor-tooltip-content\" class=\"qmsckeditor tooltip-content height\">\r\n <div id=\"qmsckeditor-tooltip-content_001\" class=\"col-12 mt-1 pl-2 pr-2\">\r\n <mat-expansion-panel id=\"qmsckeditor-tooltip-panel\" [expanded]=\"true\" (opened)=\"(true)\" (closed)=\"(false)\">\r\n <div id=\"qmsckeditor-tooltip-panel_001\">\r\n <div id=\"qmsckeditor-tooltip-panel_001_001\">\r\n <mat-form-field class=\"col-12 pl-0 pr-0\" appearance=\"fill\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.TITLE }}</mat-label>\r\n <input matInput [(ngModel)]=\"tooltip.text\" formControlName=\"title\" />\r\n </mat-form-field>\r\n </div>\r\n <div id=\"qmsckeditor-tooltip-panel_001_002\">\r\n <mat-label>{{ LANG.QMSCKEDITOR.CONTENT }}</mat-label>\r\n <div class=\"qmsckeditor_container col-12 pl-0 pr-0\">\r\n <ckeditor class=\"qms-ckeditor\" [(editor)]=\"editor\" [config]=\"editorConfig\" (ready)=\"onReady($event)\"\r\n [(ngModel)]=\"tooltip.content\" (change)=\"onChanged($event)\" (blur)=\"onBlur($event)\"\r\n formControlName=\"content\">\r\n </ckeditor>\r\n </div>\r\n </div>\r\n <div id=\"qmsckeditor-tooltip-panel_001_003\" class=\"qmsckeditor button__groups row mr-0 ml-0 mt-4\">\r\n <div class=\"col-6 pr-0\">\r\n <button class=\"save\" mat-flat-button (click)=\"saveTooltip()\" [disabled]=\"tooltipFormGroup.invalid\">\r\n {{ LANG.QMSCKEDITOR.SAVE }}\r\n </button>\r\n </div>\r\n <div class=\"col-6 pl-0\">\r\n <button class=\"cancel\" mat-flat-button (click)=\"cancelTooltip()\">\r\n {{ LANG.QMSCKEDITOR.CANCEL }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-expansion-panel>\r\n </div>\r\n </div>\r\n </form>\r\n</div>",
|
16793
|
+
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:472px;overflow:auto}.qmsckeditor.save__as__template.height{height:125px}.ck-content .ck-horizontal-line,.ck-content .page-break{width:100%}.ck-content hr{background:#ccc}.qmsckeditor__tooltip__container .mat-form-field{width:100%}.qmsckeditor__tooltip__container textarea.mat-input-element{min-height:150px}"]
|
16043
16794
|
},] }
|
16044
16795
|
];
|
16045
16796
|
QMSCKEditorTooltipComponent.ctorParameters = function () { return [
|
@@ -16049,16 +16800,54 @@
|
|
16049
16800
|
{ type: QMSCKEditorTooltip, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
16050
16801
|
]; };
|
16051
16802
|
|
16052
|
-
|
16803
|
+
var QMSCKEditorAboutComponent = /** @class */ (function (_super) {
|
16804
|
+
__extends(QMSCKEditorAboutComponent, _super);
|
16805
|
+
function QMSCKEditorAboutComponent(translate, dialogRef, data) {
|
16806
|
+
var _this = _super.call(this) || this;
|
16807
|
+
_this.translate = translate;
|
16808
|
+
_this.dialogRef = dialogRef;
|
16809
|
+
_this.data = data;
|
16810
|
+
_this.currentVersion = data;
|
16811
|
+
return _this;
|
16812
|
+
}
|
16813
|
+
QMSCKEditorAboutComponent.prototype.ngOnInit = function () {
|
16814
|
+
var _this = this;
|
16815
|
+
this.translate.getLanguageSubject$.pipe(operators.takeUntil(this.ngUnsubcribe)).subscribe(function (res) {
|
16816
|
+
if (res) {
|
16817
|
+
_this.LANG = _this.translate.getObjectLang(res);
|
16818
|
+
}
|
16819
|
+
});
|
16820
|
+
this.currentYear = new Date().getFullYear();
|
16821
|
+
};
|
16822
|
+
QMSCKEditorAboutComponent.prototype.onCloseDialog = function () {
|
16823
|
+
this.dialogRef.close();
|
16824
|
+
};
|
16825
|
+
return QMSCKEditorAboutComponent;
|
16826
|
+
}(QMSCKEditorBaseComponent));
|
16827
|
+
QMSCKEditorAboutComponent.decorators = [
|
16828
|
+
{ type: i0.Component, args: [{
|
16829
|
+
selector: 'app-about-ckeditor',
|
16830
|
+
template: "<div id=\"qmsckeditor-about\" class=\"qmsckeditor qmsckeditor__about__container\">\r\n <div id=\"qmsckeditor-about-header\">\r\n <span id=\"qmsckeditor-about-header_001\" mat-icon-button class=\"qmsckeditor button__close\"\r\n (click)=\"onCloseDialog()\">\r\n <mat-icon>close</mat-icon>\r\n </span>\r\n <div id=\"qmsckeditor-about-header_002\" mat-dialog-content>\r\n <h2 id=\"qmsckeditor-about_002_001\">\r\n {{ LANG.ABOUT.ABOUT_CKEDITOR }}\r\n </h2>\r\n </div>\r\n </div>\r\n <div id=\"qmsckeditor-about-content\">\r\n <div class=\"col-12 qmsckeditor__about__logo__container\">\r\n <img class=\"qmsckeditor__about__logo\" src=\"../../../../assets/images/ckeditor5.svg\" alt=\"CKEditor logo\">\r\n </div>\r\n <div class=\"col-12\">\r\n <p>{{LANG.ABOUT.CKEDITOR5_VERSION}} {{currentVersion}}.<br><a target=\"_blank\"\r\n href=\"https://ckeditor.com/\">https://ckeditor.com</a></p>\r\n <p>{{LANG.ABOUT.CHECK}} <a target=\"_blank\"\r\n href=\"https://ckeditor.com/docs/\">{{LANG.ABOUT.CKEDITOR_USERS_GUIDE}}</a> {{LANG.ABOUT.FOR_HELP}}.\r\n </p>\r\n <p>{{LANG.ABOUT.FOR_LICENSING_INFORMATION_PLEASE_VISIT_OUR_WEBSITE}}:<br><a target=\"_blank\"\r\n href=\"https://ckeditor.com/legal/ckeditor-oss-license/\">https://ckeditor.com/legal/ckeditor-oss-license/</a>\r\n </p>\r\n <p>{{LANG.ABOUT.COPYRIGHT}} 2003-{{currentYear}}, <a target=\"_blank\"\r\n href=\"https://cksource.com/\">CKSource</a> - Frederico Knabben.\r\n <br>{{LANG.ABOUT.ALL_RIGHTS_RESERVED}}.\r\n </p>\r\n </div>\r\n <div class=\"col-12\">\r\n <button mat-stroked-button class=\"qmsckeditor__about__button\" (click)=\"onCloseDialog()\">\r\n {{ LANG.QMSCKEDITOR.CLOSE }}\r\n </button>\r\n </div>\r\n </div>\r\n</div>",
|
16831
|
+
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:472px;overflow:auto}.qmsckeditor.save__as__template.height{height:125px}.ck-content .ck-horizontal-line,.ck-content .page-break{width:100%}.ck-content hr{background:#ccc}.qmsckeditor__about__container .qmsckeditor__about__logo__container{display:flex;justify-content:center;margin-bottom:10px}.qmsckeditor__about__container .qmsckeditor__about__logo{height:64px}.qmsckeditor__about__container .qmsckeditor__about__button{float:right}"]
|
16832
|
+
},] }
|
16833
|
+
];
|
16834
|
+
QMSCKEditorAboutComponent.ctorParameters = function () { return [
|
16835
|
+
{ type: TranslateLibraryService },
|
16836
|
+
{ type: dialog.MatDialogRef },
|
16837
|
+
{ type: String, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
16838
|
+
]; };
|
16839
|
+
|
16053
16840
|
var QMSCKEditorComponent = /** @class */ (function (_super) {
|
16054
16841
|
__extends(QMSCKEditorComponent, _super);
|
16055
16842
|
/**
|
16056
16843
|
* Constructor
|
16057
16844
|
*/
|
16058
|
-
function QMSCKEditorComponent(dialog, globalService, qmsCKEditorFullscreenComponent, renderer, elRef) {
|
16845
|
+
function QMSCKEditorComponent(dialog, translate, globalService, treeService, qmsCKEditorFullscreenComponent, renderer, elRef) {
|
16059
16846
|
var _this = _super.call(this) || this;
|
16060
16847
|
_this.dialog = dialog;
|
16848
|
+
_this.translate = translate;
|
16061
16849
|
_this.globalService = globalService;
|
16850
|
+
_this.treeService = treeService;
|
16062
16851
|
_this.qmsCKEditorFullscreenComponent = qmsCKEditorFullscreenComponent;
|
16063
16852
|
_this.renderer = renderer;
|
16064
16853
|
_this.elRef = elRef;
|
@@ -16070,9 +16859,6 @@
|
|
16070
16859
|
}
|
16071
16860
|
QMSCKEditorComponent.prototype.onMessage = function (event) {
|
16072
16861
|
switch (event.data.eventName) {
|
16073
|
-
case this.ckEditorEventConst.QMSCK_FULLSCREEN_PLUGIN_MSG:
|
16074
|
-
this.fullscreenEventHandling();
|
16075
|
-
break;
|
16076
16862
|
case this.ckEditorEventConst.QMSCK_TEMPLATE_PLUGIN_MSG:
|
16077
16863
|
this.templateEventHandling();
|
16078
16864
|
break;
|
@@ -16091,16 +16877,28 @@
|
|
16091
16877
|
case this.ckEditorEventConst.QMSCK_BPMN_PLUGIN_MSG:
|
16092
16878
|
this.bpmnEventHandling(event.data.value);
|
16093
16879
|
break;
|
16880
|
+
case this.ckEditorEventConst.QMSCK_ABOUT_CKEDITOR_PLUGIN_MSG:
|
16881
|
+
this.aboutCKEditorEventHandling(event.data.value);
|
16882
|
+
break;
|
16094
16883
|
case this.ckEditorEventConst.QMSCK_TOGGLE_TOOLBAR_MSG:
|
16095
16884
|
this.toggleToolbarEventHandling();
|
16096
16885
|
break;
|
16886
|
+
case this.ckEditorEventConst.QMSCK_BROWSE_VIDEO_MSG:
|
16887
|
+
this.browseVideoEventHandling(event.data.value);
|
16888
|
+
break;
|
16097
16889
|
default:
|
16098
16890
|
break;
|
16099
16891
|
}
|
16100
16892
|
};
|
16101
16893
|
QMSCKEditorComponent.prototype.ngOnInit = function () {
|
16894
|
+
var _this = this;
|
16102
16895
|
this.name = 'CKEditor custom build';
|
16103
16896
|
this.ckEditor = this.qmsckPlugin.pluginObject;
|
16897
|
+
this.translate.getLanguageSubject$.pipe(operators.takeUntil(this.ngUnsubcribe)).subscribe(function (res) {
|
16898
|
+
if (res) {
|
16899
|
+
_this.LANG = _this.translate.getObjectLang(res);
|
16900
|
+
}
|
16901
|
+
});
|
16104
16902
|
this.ckeditorConfig = CKEditorCommonFunctions.getCKEditorConfiguration(this.qmsckPlugin.itemToolbar);
|
16105
16903
|
this.globalService.setApiUrl(this.qmsckData.apiUrl);
|
16106
16904
|
if (this.isEnabledMathtypeConfig()) {
|
@@ -16112,6 +16910,15 @@
|
|
16112
16910
|
if (this.isEnabledToggleToolbar()) {
|
16113
16911
|
this.addToggleToolbarConfig();
|
16114
16912
|
}
|
16913
|
+
if (this.isEnabledWProofreader()) {
|
16914
|
+
this.addWProofreaderConfig();
|
16915
|
+
}
|
16916
|
+
if (this.isEnabledTOCToolbar()) {
|
16917
|
+
this.addToggleTOCConfig();
|
16918
|
+
}
|
16919
|
+
if (this.isEnabledFullScreenConfig()) {
|
16920
|
+
this.addFullScreenConfig();
|
16921
|
+
}
|
16115
16922
|
};
|
16116
16923
|
QMSCKEditorComponent.prototype.ngOnDestroy = function () {
|
16117
16924
|
if (this.editorInstance) {
|
@@ -16129,6 +16936,23 @@
|
|
16129
16936
|
this.renderer.addClass(this.elRef.nativeElement, 'ck-disabled');
|
16130
16937
|
}
|
16131
16938
|
};
|
16939
|
+
QMSCKEditorComponent.prototype.isEnabledWProofreader = function () {
|
16940
|
+
var pattern = /(wproofreader)/gmi;
|
16941
|
+
return !!this.qmsckData.wproofreader
|
16942
|
+
&& !!this.qmsckData.wproofreader.srcUrl
|
16943
|
+
&& !!this.qmsckPlugin.itemToolbar
|
16944
|
+
&& this.qmsckPlugin.itemToolbar.search(pattern) > -1;
|
16945
|
+
};
|
16946
|
+
QMSCKEditorComponent.prototype.addWProofreaderConfig = function () {
|
16947
|
+
var wproofreaderConfig = {
|
16948
|
+
wproofreader: Object.assign({}, this.qmsckData.wproofreader)
|
16949
|
+
};
|
16950
|
+
if (!this.qmsckData.wproofreader.serviceId || this.qmsckData.wproofreader.serviceId.length == 0) {
|
16951
|
+
//Fallback value of serviceId property to demo serviceId
|
16952
|
+
this.qmsckData.wproofreader.serviceId = '1:KpkvQ2-6KNUj-L1W3u2-C9j0K1-Zv2tY1-CfDOx-WfGRg2-qXtci-YyyE34-j09H42-b0aCt3-d9a';
|
16953
|
+
}
|
16954
|
+
this.ckEditor.defaultConfig = Object.assign(this.ckEditor.defaultConfig || {}, wproofreaderConfig);
|
16955
|
+
};
|
16132
16956
|
QMSCKEditorComponent.prototype.isEnabledToggleToolbar = function () {
|
16133
16957
|
var pattern = /(toggleToolbar)/gmi;
|
16134
16958
|
return !!this.qmsckData.toggleToolbar
|
@@ -16144,6 +16968,35 @@
|
|
16144
16968
|
};
|
16145
16969
|
this.ckEditor.defaultConfig = Object.assign(this.ckEditor.defaultConfig || {}, toggleToolbarConfig);
|
16146
16970
|
};
|
16971
|
+
QMSCKEditorComponent.prototype.isEnabledFullScreenConfig = function () {
|
16972
|
+
var pattern = /(qmsFullscreen)/gmi;
|
16973
|
+
return !!this.qmsckPlugin.itemToolbar
|
16974
|
+
&& !!this.qmsckData.fullScreenClass
|
16975
|
+
&& this.qmsckPlugin.itemToolbar.search(pattern) > -1;
|
16976
|
+
};
|
16977
|
+
QMSCKEditorComponent.prototype.addFullScreenConfig = function () {
|
16978
|
+
var fullScreenConfig = {
|
16979
|
+
fullScreenConfig: {
|
16980
|
+
class: this.qmsckData.fullScreenClass
|
16981
|
+
}
|
16982
|
+
};
|
16983
|
+
this.ckEditor.defaultConfig = Object.assign(this.ckEditor.defaultConfig || {}, fullScreenConfig);
|
16984
|
+
};
|
16985
|
+
QMSCKEditorComponent.prototype.isEnabledTOCToolbar = function () {
|
16986
|
+
var pattern = /(tableOfContents)/gmi;
|
16987
|
+
return !!this.qmsckData.tableOfContentHeadings
|
16988
|
+
&& !!this.qmsckPlugin.itemToolbar
|
16989
|
+
&& this.qmsckPlugin.itemToolbar.search(pattern) > -1;
|
16990
|
+
};
|
16991
|
+
QMSCKEditorComponent.prototype.addToggleTOCConfig = function () {
|
16992
|
+
var items = this.qmsckData.tableOfContentHeadings.split(',');
|
16993
|
+
var tableOfContents = {
|
16994
|
+
tableOfContents: {
|
16995
|
+
supportedHeadings: items
|
16996
|
+
}
|
16997
|
+
};
|
16998
|
+
this.ckEditor.defaultConfig = Object.assign(this.ckEditor.defaultConfig || {}, tableOfContents);
|
16999
|
+
};
|
16147
17000
|
QMSCKEditorComponent.prototype.isEnabledTimestampConfig = function () {
|
16148
17001
|
var pattern = /(timestamp)/gmi;
|
16149
17002
|
return !!this.qmsckData.timestampFormat
|
@@ -16207,33 +17060,23 @@
|
|
16207
17060
|
this.initEditor(editor);
|
16208
17061
|
};
|
16209
17062
|
QMSCKEditorComponent.prototype.initEditor = function (editor) {
|
17063
|
+
var _this = this;
|
17064
|
+
var imageUploadTypes = editor.config.get('image.upload.types');
|
17065
|
+
var maxFileSizeMB = this.qmsckData.maxFileSizeMB;
|
17066
|
+
var config = { apiUrl: this.qmsckData.apiUrl, LANG: this.LANG, imageUploadTypes: imageUploadTypes, maxFileSizeMB: maxFileSizeMB };
|
17067
|
+
editor.plugins.get("FileRepository").createUploadAdapter = function (loader) {
|
17068
|
+
return new QmsUploadAdapter(loader, config);
|
17069
|
+
};
|
16210
17070
|
editor.ui
|
16211
17071
|
.getEditableElement()
|
16212
17072
|
.parentElement.insertBefore(editor.ui.view.toolbar.element, editor.ui.getEditableElement());
|
16213
|
-
editor.plugins.get('FileRepository').createUploadAdapter = function (loader) {
|
16214
|
-
return new UploadAdapter(loader);
|
16215
|
-
};
|
16216
17073
|
// Apped Wordcount to CKeditor
|
16217
17074
|
editor.plugins.get('WordCount').on('update', function (evt, stats) {
|
16218
17075
|
// Prints the current content statistics.
|
16219
17076
|
var wordsBox = document.querySelector('.wordcount-content');
|
16220
|
-
wordsBox.textContent = "
|
17077
|
+
wordsBox.textContent = _this.LANG.QMSCKEDITOR.WORDS + ": " + stats.words + " / " + _this.LANG.QMSCKEDITOR.CHARACTERS + ": " + stats.characters;
|
16221
17078
|
});
|
16222
17079
|
};
|
16223
|
-
/**
|
16224
|
-
* Full screen - Restore down
|
16225
|
-
*/
|
16226
|
-
QMSCKEditorComponent.prototype.fullscreenEventHandling = function () {
|
16227
|
-
var ck = window.document.getElementById('qmsckeditor');
|
16228
|
-
if (ck) {
|
16229
|
-
if (!ck.classList.contains('qmsckeditor__fullscreen')) {
|
16230
|
-
this.qmsCKEditorFullscreenComponent.showFullScreen();
|
16231
|
-
}
|
16232
|
-
else {
|
16233
|
-
this.qmsCKEditorFullscreenComponent.hideFullScreen();
|
16234
|
-
}
|
16235
|
-
}
|
16236
|
-
};
|
16237
17080
|
/**
|
16238
17081
|
* Add template - Load template
|
16239
17082
|
*/
|
@@ -16319,7 +17162,7 @@
|
|
16319
17162
|
data.ckEditor = this.qmsckPlugin.pluginObject;
|
16320
17163
|
var dialogTemplate = this.dialog.open(QMSCKEditorTooltipComponent, {
|
16321
17164
|
width: '650px',
|
16322
|
-
height: '
|
17165
|
+
height: '555px',
|
16323
17166
|
data: data,
|
16324
17167
|
disableClose: true
|
16325
17168
|
});
|
@@ -16371,12 +17214,17 @@
|
|
16371
17214
|
*/
|
16372
17215
|
QMSCKEditorComponent.prototype.bpmnEventHandling = function (id) {
|
16373
17216
|
var _this = this;
|
17217
|
+
var data = new QMSCKEditorBpmnData();
|
17218
|
+
data.id = id;
|
17219
|
+
data.module = this.qmsckData.module;
|
17220
|
+
data.entityId = this.qmsckData.entityId;
|
17221
|
+
data.editorContent = this.qmsckContentInput;
|
16374
17222
|
var dialogTemplate = this.dialog.open(QMSCKEditorBpmnComponent, {
|
16375
17223
|
width: '89vw',
|
16376
17224
|
maxWidth: '100vw',
|
16377
17225
|
height: '700px',
|
16378
17226
|
maxHeight: '100vw',
|
16379
|
-
data:
|
17227
|
+
data: data,
|
16380
17228
|
disableClose: true
|
16381
17229
|
});
|
16382
17230
|
dialogTemplate
|
@@ -16391,6 +17239,21 @@
|
|
16391
17239
|
}
|
16392
17240
|
});
|
16393
17241
|
};
|
17242
|
+
/*
|
17243
|
+
About CKEditor
|
17244
|
+
*/
|
17245
|
+
QMSCKEditorComponent.prototype.aboutCKEditorEventHandling = function (version) {
|
17246
|
+
var dialogTemplate = this.dialog.open(QMSCKEditorAboutComponent, {
|
17247
|
+
width: '500px',
|
17248
|
+
data: version,
|
17249
|
+
disableClose: true
|
17250
|
+
});
|
17251
|
+
dialogTemplate
|
17252
|
+
.afterClosed()
|
17253
|
+
.pipe(operators.takeUntil(this.ngUnsubcribe))
|
17254
|
+
.subscribe(function (result) {
|
17255
|
+
});
|
17256
|
+
};
|
16394
17257
|
/*
|
16395
17258
|
Toolbar toggle
|
16396
17259
|
*/
|
@@ -16450,12 +17313,86 @@
|
|
16450
17313
|
}
|
16451
17314
|
}
|
16452
17315
|
};
|
17316
|
+
/**
|
17317
|
+
* Browse Video
|
17318
|
+
*/
|
17319
|
+
QMSCKEditorComponent.prototype.browseVideoEventHandling = function (value) {
|
17320
|
+
var _this = this;
|
17321
|
+
this.treeService
|
17322
|
+
.getUploadVideoList()
|
17323
|
+
.pipe(operators.takeUntil(this.ngUnsubcribe))
|
17324
|
+
.subscribe(function (response) {
|
17325
|
+
var videos = response || [];
|
17326
|
+
var config = {
|
17327
|
+
allowSelectFolder: false,
|
17328
|
+
areaOfCurrentProcess: '',
|
17329
|
+
showCheckBox: true,
|
17330
|
+
allowMultipleCheck: value.allowMultipleFiles,
|
17331
|
+
onlyCheckBoxForChild: true,
|
17332
|
+
moduleId: DataType$1.document,
|
17333
|
+
openIcon: 'folder_open',
|
17334
|
+
openIconColor: '#1954A9',
|
17335
|
+
closeIcon: 'folder_filled',
|
17336
|
+
closeIconColor: '#4acaff',
|
17337
|
+
itemIcon: 'insert_drive_file',
|
17338
|
+
itemIconPath: '',
|
17339
|
+
itemIconBase64: '',
|
17340
|
+
singleSelectedNode: true,
|
17341
|
+
expandAll: true
|
17342
|
+
};
|
17343
|
+
var data = new PopupData();
|
17344
|
+
data.moduleId = 2;
|
17345
|
+
data.moduleName = _this.LANG.QMSCKEDITOR.SELECT_VIDEO_FROM_ARCHIVE;
|
17346
|
+
data.treeData1 = videos.map(function (item) {
|
17347
|
+
return {
|
17348
|
+
rootId: item.rootId,
|
17349
|
+
parentId: item.parentId,
|
17350
|
+
rootName: item.rootName,
|
17351
|
+
subName: item.subName,
|
17352
|
+
childId: item.childId,
|
17353
|
+
childName: item.childName,
|
17354
|
+
statusId: item.statusId,
|
17355
|
+
displayId: item.displayId,
|
17356
|
+
contentType: item.contentType,
|
17357
|
+
url: item.url
|
17358
|
+
};
|
17359
|
+
});
|
17360
|
+
data.treeData2 = [];
|
17361
|
+
data.treeConfig1 = config;
|
17362
|
+
var dialogRef = _this.dialog.open(RelatedPopupComponent, {
|
17363
|
+
minWidth: '450px',
|
17364
|
+
maxWidth: '800px',
|
17365
|
+
minHeight: '620px',
|
17366
|
+
data: data,
|
17367
|
+
panelClass: 'qmsckeditor-browse-video-popup'
|
17368
|
+
});
|
17369
|
+
setTimeout(function () {
|
17370
|
+
var searchBox = window.document.querySelector('.qmsckeditor-browse-video-popup #qmslib_related_popup_search');
|
17371
|
+
if (searchBox) {
|
17372
|
+
searchBox.style.display = 'none';
|
17373
|
+
}
|
17374
|
+
}, 100);
|
17375
|
+
dialogRef
|
17376
|
+
.afterClosed()
|
17377
|
+
.subscribe(function (result) {
|
17378
|
+
if (result) {
|
17379
|
+
var ids_1 = result.reduce(function (result, item) {
|
17380
|
+
result[item.id.toString()] = item.id;
|
17381
|
+
return result;
|
17382
|
+
}, {});
|
17383
|
+
var urls = videos.filter(function (i) { return i.childId && !!ids_1[i.childId.toString()]; }).map(function (i) { return i.url; });
|
17384
|
+
var evt = new CustomEvent(_this.ckEditorEventConst.QMSCK_BROWSE_VIDEO_RESP, { detail: { urls: urls } });
|
17385
|
+
window.dispatchEvent(evt);
|
17386
|
+
}
|
17387
|
+
});
|
17388
|
+
});
|
17389
|
+
};
|
16453
17390
|
return QMSCKEditorComponent;
|
16454
17391
|
}(QMSCKEditorBaseComponent));
|
16455
17392
|
QMSCKEditorComponent.decorators = [
|
16456
17393
|
{ type: i0.Component, args: [{
|
16457
17394
|
selector: 'qms-ckeditor',
|
16458
|
-
template: "<div id=\"qmsckeditor\" class=\"qmsckeditor_container\">\r\n <ckeditor class=\"qms-ckeditor\" [tagName]=\"ckTagname\" [(editor)]=\"ckEditor\" [config]=\"ckeditorConfig\"\r\n (ready)=\"onReady($event)\" [(ngModel)]=\"qmsckContentInput\" (change)=\"onChanged($event)\" (blur)=\"onBlur($event)\"\r\n [disabled]=\"isDisabled\">\r\n </ckeditor>\r\n <div class=\"sub-container\">\r\n <div class=\"\">\r\n <span>
|
17395
|
+
template: "<div id=\"qmsckeditor\" class=\"qmsckeditor_container\">\r\n <ckeditor class=\"qms-ckeditor\" [tagName]=\"ckTagname\" [(editor)]=\"ckEditor\" [config]=\"ckeditorConfig\"\r\n (ready)=\"onReady($event)\" [(ngModel)]=\"qmsckContentInput\" (change)=\"onChanged($event)\" (blur)=\"onBlur($event)\"\r\n [disabled]=\"isDisabled\">\r\n </ckeditor>\r\n <div class=\"sub-container\">\r\n <div class=\"\">\r\n <span>{{LANG.QMSCKEDITOR.ASSISTIVE_TEXT}}</span>\r\n </div>\r\n <div class=\"wordcount-content\"></div>\r\n </div>\r\n</div>\r\n",
|
16459
17396
|
providers: [
|
16460
17397
|
QMSCKEditorFullscreenComponent,
|
16461
17398
|
{
|
@@ -16471,12 +17408,14 @@
|
|
16471
17408
|
],
|
16472
17409
|
encapsulation: i0.ViewEncapsulation.None,
|
16473
17410
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
16474
|
-
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{
|
17411
|
+
styles: [".mt5{margin-top:5px!important}.mt10{margin-top:10px!important}.mt7{margin-top:7px!important}.mt15{margin-top:15px!important}.mt20{margin-top:20px!important}.mt30{margin-top:30px!important}.mt40{margin-top:40px!important}.ml2{margin-left:2px!important}.ml3{margin-left:3px!important}.ml5{margin-left:5px!important}.ml15{margin-left:15px!important}.ml10{margin-left:10px!important}.ml12{margin-left:12px!important}.ml16{margin-left:16px!important}.ml-auto{margin-left:auto!important}.ml-25{margin-left:-25px!important}.mr5{margin-right:5px!important}.mr12{margin-right:12px!important}.mr15{margin-right:15px!important}.mb5{margin-bottom:5px!important}.mb10{margin-bottom:10px!important}.mb15{margin-bottom:15px!important}.pt8{padding-top:8px!important}.pt10{padding-top:10px!important}.pt15{padding-top:15px!important}.pt16{padding-top:16px!important}.pl15{padding-left:15px!important}.pl0{padding-left:0!important}.pr0{padding-right:0!important}.pr15{padding-right:15px!important}.fs12{font-size:12px}.fs14{font-size:14px!important}.fs16{font-size:16px!important}.fs22{font-size:22px!important}.fw500{font-weight:500!important}.italic-text{font-style:italic}.display-flex{display:flex}.qmsckeditor{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.qmsckeditor h2{font-size:20px;font-weight:400}.qmsckeditor .mat-dialog-content{padding:0}.qmsckeditor .mat-icon{color:#909497}.qmsckeditor__fullscreen{overflow-y:auto;max-height:100vh;overflow-x:hidden}.qmsckeditor__cursor{cursor:pointer}.qmsckeditor__notallowed{cursor:not-allowed}.qmsckeditor.button__close,.qmsckeditor.button__done{float:right;top:-24px;right:-24px;cursor:pointer}.qmsckeditor.button__done{margin-right:20px}.qmsckeditor.button__done .mat-icon{color:#28a745;font-weight:700}.qmsckeditor.button__groups button{min-height:40px;width:100%;border-radius:4px;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px}.qmsckeditor.button__groups .save{background:#f8f9f9}.qmsckeditor.button__groups .save:hover{background:#e5e7e9}.qmsckeditor.button__groups .save:disabled{cursor:not-allowed}.qmsckeditor.button__groups .cancel{background:#f8f9f9}.qmsckeditor.button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.button__groups .cancel:disabled{cursor:not-allowed}.qmsckeditor.button__groups .delete{background:#f8f9f9}.qmsckeditor.button__groups .delete:hover{background:#e5e7e9}.qmsckeditor.button__groups .delete:disabled{cursor:not-allowed}.qmsckeditor.confirm__button__groups button{min-height:36px;border-radius:4px;width:auto;border:1px solid #c5c5c5;font-family:Open Sans;font-weight:600;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px}.qmsckeditor.confirm__button__groups .confirm{background:#f8f9f9}.qmsckeditor.confirm__button__groups .confirm:hover{background:#e5e7e9}.qmsckeditor.confirm__button__groups .cancel{background:#f8f9f9}.qmsckeditor.confirm__button__groups .cancel:hover{background:#e5e7e9}.qmsckeditor.template-content.height{min-height:420px;max-height:520px;overflow:auto}.qmsckeditor.template-content.title{margin-left:-9px}.qmsckeditor.link__content.height{min-height:400px;max-height:520px}.qmsckeditor.card{margin-bottom:10px;min-height:60px;box-shadow:none;border:1px solid #e5e5e5}.qmsckeditor.card .title{font-weight:700}.qmsckeditor.card .content{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qmsckeditor.card .material-icons{font-size:20px}.qmsckeditor.tooltip-content.height{min-height:400px;max-height:472px;overflow:auto}.qmsckeditor.save__as__template.height{height:125px}.ck-content .ck-horizontal-line,.ck-content .page-break{width:100%}.ck-content hr{background:#ccc}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWJ0bbck.woff2) format(\"woff2\");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFUZ0bbck.woff2) format(\"woff2\");unicode-range:U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWZ0bbck.woff2) format(\"woff2\");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFVp0bbck.woff2) format(\"woff2\");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWp0bbck.woff2) format(\"woff2\");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFW50bbck.woff2) format(\"woff2\");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFVZ0b.woff2) format(\"woff2\");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCFPrEHJA.woff2) format(\"woff2\");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCMPrEHJA.woff2) format(\"woff2\");unicode-range:U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCHPrEHJA.woff2) format(\"woff2\");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCGPrEHJA.woff2) format(\"woff2\");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrE.woff2) format(\"woff2\");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}.qmsckeditor_container .qmsckeditor__minwidth{width:100%}.qmsckeditor_container .ck-editor__editable{overflow-y:auto}.qms-ckeditor .ck.ck-editor__editable{max-height:172px;min-height:172px;background-color:rgba(0,0,0,.04);font-family:Open Sans}.qms-ckeditor .ck.ck-editor__editable:not(.ck-focused,.ck-read-only):hover{background-color:rgba(0,0,0,.08);border-bottom:2px solid rgba(0,0,0,.38)}.qms-ckeditor .ck.ck-editor__editable::-webkit-scrollbar{width:12px}.qms-ckeditor .ck.ck-editor__editable::-webkit-scrollbar-track{background:transparent;background-clip:content-box}.qms-ckeditor .ck.ck-editor__editable::-webkit-scrollbar-thumb{background:rgba(0,0,0,.38);border-radius:20px;width:4px;border:4px solid transparent;background-clip:content-box}.qms-ckeditor .ck.ck-editor__editable::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.5);background-clip:content-box;border:4px solid transparent}.qms-ckeditor .ck-placeholder{font-size:1rem;font-weight:600;color:rgba(0,0,0,.6)}.qms-ckeditor .ck-disabled .ck.ck-editor__main>.ck-editor__editable,.qms-ckeditor .ck-disabled .ck.ck-toolbar{background-color:#e4e4e4;pointer-events:none}.qms-ckeditor .ck-disabled .ck-button{pointer-events:none}.qms-ckeditor .ck.ck-editor__main>.ck-editor__editable:not(.ck-focused):focus{border-radius:4px}.qms-ckeditor .ck.ck-editor__editable:not(.ck-editor__nested-editable).ck-focused{border:1px solid #c4c4c4;border-bottom:2px solid #1954a9;border-radius:4px;box-shadow:none;background-color:rgba(0,0,0,.08)}.qms-ckeditor .ck.ck-toolbar{box-shadow:0 1px 3px rgba(51,51,51,.2)}.qms-ckeditor .ck.ck-sticky-panel .ck-sticky-panel__content_sticky{box-shadow:none;border-width:0}.qmsckeditor__fullscreen{position:fixed;top:0;left:0;bottom:0;right:0;overflow:auto;background:#fff}.qmsckeditor__fullscreen .qms-ckeditor{height:98%;display:block;width:100%}.qmsckeditor__fullscreen .ck.ck-editor__main{height:98%}.qmsckeditor__fullscreen .ck.ck-editor__editable{height:inherit}.sub-container{display:flex;justify-content:space-between;padding:0 10px;font-family:Open Sans;font-size:.75rem;font-weight:400;line-height:16px;color:rgba(0,0,0,.6)}"]
|
16475
17412
|
},] }
|
16476
17413
|
];
|
16477
17414
|
QMSCKEditorComponent.ctorParameters = function () { return [
|
16478
17415
|
{ type: dialog.MatDialog },
|
17416
|
+
{ type: TranslateLibraryService },
|
16479
17417
|
{ type: QMSCKEditorGlobalService },
|
17418
|
+
{ type: QMSCKEditorTreeService },
|
16480
17419
|
{ type: QMSCKEditorFullscreenComponent },
|
16481
17420
|
{ type: i0.Renderer2 },
|
16482
17421
|
{ type: i0.ElementRef }
|
@@ -16513,7 +17452,8 @@
|
|
16513
17452
|
QMSCKEditorTooltipComponent,
|
16514
17453
|
QMSCKEditorImageMapComponent,
|
16515
17454
|
QMSCKEditorBpmnComponent,
|
16516
|
-
SaveTemplateComponent
|
17455
|
+
SaveTemplateComponent,
|
17456
|
+
QMSCKEditorAboutComponent
|
16517
17457
|
],
|
16518
17458
|
imports: [
|
16519
17459
|
ckeditor5Angular.CKEditorModule,
|
@@ -16539,6 +17479,8 @@
|
|
16539
17479
|
autocomplete.MatAutocompleteModule,
|
16540
17480
|
scrolling.ScrollingModule,
|
16541
17481
|
i1.HttpClientModule,
|
17482
|
+
tabs.MatTabsModule,
|
17483
|
+
progressBar.MatProgressBarModule,
|
16542
17484
|
SharedModule
|
16543
17485
|
],
|
16544
17486
|
providers: [],
|
@@ -16685,54 +17627,159 @@
|
|
16685
17627
|
QmsAppBarModule.decorators = [
|
16686
17628
|
{ type: i0.NgModule, args: [{
|
16687
17629
|
declarations: [
|
16688
|
-
QmsAppBarComponent
|
17630
|
+
QmsAppBarComponent
|
17631
|
+
],
|
17632
|
+
imports: [
|
17633
|
+
common.CommonModule,
|
17634
|
+
icon.MatIconModule,
|
17635
|
+
toolbar.MatToolbarModule,
|
17636
|
+
button.MatButtonModule,
|
17637
|
+
tooltip.MatTooltipModule,
|
17638
|
+
badge.MatBadgeModule,
|
17639
|
+
QMSButtonModule
|
17640
|
+
],
|
17641
|
+
exports: [
|
17642
|
+
QmsAppBarComponent
|
17643
|
+
]
|
17644
|
+
},] }
|
17645
|
+
];
|
17646
|
+
|
17647
|
+
var ConfirmDialog = /** @class */ (function () {
|
17648
|
+
function ConfirmDialog() {
|
17649
|
+
this.title = '';
|
17650
|
+
this.body = '';
|
17651
|
+
this.normalTitle = '';
|
17652
|
+
this.buttonType = 'normal';
|
17653
|
+
this.closeButton = false;
|
17654
|
+
this.actionText = 'Confirm';
|
17655
|
+
this.cancelText = 'Cancel';
|
17656
|
+
}
|
17657
|
+
return ConfirmDialog;
|
17658
|
+
}());
|
17659
|
+
var QMSDialogConfig = /** @class */ (function (_super) {
|
17660
|
+
__extends(QMSDialogConfig, _super);
|
17661
|
+
function QMSDialogConfig(data, width, minHeight, panelClass) {
|
17662
|
+
if (width === void 0) { width = ''; }
|
17663
|
+
if (minHeight === void 0) { minHeight = ''; }
|
17664
|
+
if (panelClass === void 0) { panelClass = ''; }
|
17665
|
+
var _this = _super.call(this) || this;
|
17666
|
+
_this.data = data;
|
17667
|
+
_this.width = width;
|
17668
|
+
_this.disableClose = false;
|
17669
|
+
_this.panelClass = ['qms-dialog'];
|
17670
|
+
_this.panelClass.push(panelClass);
|
17671
|
+
_this.autoFocus = false;
|
17672
|
+
_this.restoreFocus = false;
|
17673
|
+
return _this;
|
17674
|
+
}
|
17675
|
+
return QMSDialogConfig;
|
17676
|
+
}(dialog.MatDialogConfig));
|
17677
|
+
|
17678
|
+
var QMSDrawerContentDirective = /** @class */ (function () {
|
17679
|
+
function QMSDrawerContentDirective(ele) {
|
17680
|
+
this.ele = ele;
|
17681
|
+
}
|
17682
|
+
QMSDrawerContentDirective.prototype.ngOnInit = function () {
|
17683
|
+
if (this.ele) {
|
17684
|
+
this.ele.nativeElement.classList.add('qms-drawer-content');
|
17685
|
+
}
|
17686
|
+
};
|
17687
|
+
return QMSDrawerContentDirective;
|
17688
|
+
}());
|
17689
|
+
QMSDrawerContentDirective.decorators = [
|
17690
|
+
{ type: i0.Directive, args: [{
|
17691
|
+
selector: '[qms-drawer-content]',
|
17692
|
+
},] }
|
17693
|
+
];
|
17694
|
+
QMSDrawerContentDirective.ctorParameters = function () { return [
|
17695
|
+
{ type: i0.ElementRef }
|
17696
|
+
]; };
|
17697
|
+
|
17698
|
+
var QMSDrawerHeaderActionDirective = /** @class */ (function () {
|
17699
|
+
function QMSDrawerHeaderActionDirective(ele) {
|
17700
|
+
this.ele = ele;
|
17701
|
+
}
|
17702
|
+
QMSDrawerHeaderActionDirective.prototype.ngOnInit = function () {
|
17703
|
+
if (this.ele) {
|
17704
|
+
this.ele.nativeElement.classList.add('qms-drawer-header__action');
|
17705
|
+
}
|
17706
|
+
};
|
17707
|
+
return QMSDrawerHeaderActionDirective;
|
17708
|
+
}());
|
17709
|
+
QMSDrawerHeaderActionDirective.decorators = [
|
17710
|
+
{ type: i0.Directive, args: [{
|
17711
|
+
selector: '[qms-drawer-header-action]',
|
17712
|
+
},] }
|
17713
|
+
];
|
17714
|
+
QMSDrawerHeaderActionDirective.ctorParameters = function () { return [
|
17715
|
+
{ type: i0.ElementRef }
|
17716
|
+
]; };
|
17717
|
+
|
17718
|
+
var QMSDrawerHeaderDirective = /** @class */ (function () {
|
17719
|
+
function QMSDrawerHeaderDirective(ele) {
|
17720
|
+
this.ele = ele;
|
17721
|
+
}
|
17722
|
+
QMSDrawerHeaderDirective.prototype.ngOnInit = function () {
|
17723
|
+
if (this.ele) {
|
17724
|
+
this.ele.nativeElement.classList.add('qms-drawer-header');
|
17725
|
+
}
|
17726
|
+
};
|
17727
|
+
return QMSDrawerHeaderDirective;
|
17728
|
+
}());
|
17729
|
+
QMSDrawerHeaderDirective.decorators = [
|
17730
|
+
{ type: i0.Directive, args: [{
|
17731
|
+
selector: '[qms-drawer-header]',
|
17732
|
+
},] }
|
17733
|
+
];
|
17734
|
+
QMSDrawerHeaderDirective.ctorParameters = function () { return [
|
17735
|
+
{ type: i0.ElementRef }
|
17736
|
+
]; };
|
17737
|
+
|
17738
|
+
var QMSDrawerDirective = /** @class */ (function () {
|
17739
|
+
function QMSDrawerDirective(ele) {
|
17740
|
+
this.ele = ele;
|
17741
|
+
}
|
17742
|
+
QMSDrawerDirective.prototype.ngOnInit = function () {
|
17743
|
+
if (this.ele) {
|
17744
|
+
this.ele.nativeElement.classList.add('qms-drawer');
|
17745
|
+
}
|
17746
|
+
};
|
17747
|
+
return QMSDrawerDirective;
|
17748
|
+
}());
|
17749
|
+
QMSDrawerDirective.decorators = [
|
17750
|
+
{ type: i0.Directive, args: [{
|
17751
|
+
selector: '[qms-drawer]',
|
17752
|
+
},] }
|
17753
|
+
];
|
17754
|
+
QMSDrawerDirective.ctorParameters = function () { return [
|
17755
|
+
{ type: i0.ElementRef }
|
17756
|
+
]; };
|
17757
|
+
|
17758
|
+
var QMSSideSheetModule = /** @class */ (function () {
|
17759
|
+
function QMSSideSheetModule() {
|
17760
|
+
}
|
17761
|
+
return QMSSideSheetModule;
|
17762
|
+
}());
|
17763
|
+
QMSSideSheetModule.decorators = [
|
17764
|
+
{ type: i0.NgModule, args: [{
|
17765
|
+
declarations: [
|
17766
|
+
QMSDrawerDirective,
|
17767
|
+
QMSDrawerHeaderDirective,
|
17768
|
+
QMSDrawerContentDirective,
|
17769
|
+
QMSDrawerHeaderActionDirective,
|
16689
17770
|
],
|
16690
17771
|
imports: [
|
16691
|
-
common.CommonModule
|
16692
|
-
icon.MatIconModule,
|
16693
|
-
toolbar.MatToolbarModule,
|
16694
|
-
button.MatButtonModule,
|
16695
|
-
tooltip.MatTooltipModule,
|
16696
|
-
badge.MatBadgeModule,
|
16697
|
-
QMSButtonModule
|
17772
|
+
common.CommonModule
|
16698
17773
|
],
|
16699
17774
|
exports: [
|
16700
|
-
|
17775
|
+
QMSDrawerDirective,
|
17776
|
+
QMSDrawerHeaderDirective,
|
17777
|
+
QMSDrawerContentDirective,
|
17778
|
+
QMSDrawerHeaderActionDirective,
|
16701
17779
|
]
|
16702
17780
|
},] }
|
16703
17781
|
];
|
16704
17782
|
|
16705
|
-
var ConfirmDialog = /** @class */ (function () {
|
16706
|
-
function ConfirmDialog() {
|
16707
|
-
this.title = '';
|
16708
|
-
this.body = '';
|
16709
|
-
this.normalTitle = '';
|
16710
|
-
this.buttonType = 'normal';
|
16711
|
-
this.closeButton = false;
|
16712
|
-
this.actionText = 'Confirm';
|
16713
|
-
this.cancelText = 'Cancel';
|
16714
|
-
}
|
16715
|
-
return ConfirmDialog;
|
16716
|
-
}());
|
16717
|
-
var QMSDialogConfig = /** @class */ (function (_super) {
|
16718
|
-
__extends(QMSDialogConfig, _super);
|
16719
|
-
function QMSDialogConfig(data, width, minHeight, panelClass) {
|
16720
|
-
if (width === void 0) { width = ''; }
|
16721
|
-
if (minHeight === void 0) { minHeight = ''; }
|
16722
|
-
if (panelClass === void 0) { panelClass = ''; }
|
16723
|
-
var _this = _super.call(this) || this;
|
16724
|
-
_this.data = data;
|
16725
|
-
_this.width = width;
|
16726
|
-
_this.disableClose = false;
|
16727
|
-
_this.panelClass = ['qms-dialog'];
|
16728
|
-
_this.panelClass.push(panelClass);
|
16729
|
-
_this.autoFocus = false;
|
16730
|
-
_this.restoreFocus = false;
|
16731
|
-
return _this;
|
16732
|
-
}
|
16733
|
-
return QMSDialogConfig;
|
16734
|
-
}(dialog.MatDialogConfig));
|
16735
|
-
|
16736
17783
|
var QMSTooltipModule = /** @class */ (function () {
|
16737
17784
|
function QMSTooltipModule() {
|
16738
17785
|
}
|
@@ -17044,7 +18091,7 @@
|
|
17044
18091
|
QmsStatusDropdownComponent.decorators = [
|
17045
18092
|
{ type: i0.Component, args: [{
|
17046
18093
|
selector: 'qms-status-dropdown',
|
17047
|
-
template: "<div
|
18094
|
+
template: "<div\r\n id=\"qms-status-dropdown-container\"\r\n class=\"qms-status-dropdown-container {{ getClassType(value) }}\"\r\n>\r\n <mat-form-field\r\n class=\"material-custom-multiselect height-40\"\r\n [style.width]=\"width\"\r\n >\r\n <mat-select\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"onModelChange()\"\r\n disableOptionCentering\r\n >\r\n <ng-container *ngIf=\"options\">\r\n <mat-option *ngFor=\"let option of options\" [value]=\"option.type\">\r\n <label class=\"qms-label qms-label-{{ getClassType(option.type) }}\">{{\r\n option.text\r\n }}</label>\r\n </mat-option>\r\n </ng-container>\r\n </mat-select>\r\n </mat-form-field>\r\n</div>\r\n",
|
17048
18095
|
styles: [".qms-status-dropdown-container ::ng-deep .material-custom-multiselect{height:40px}.qms-status-dropdown-container ::ng-deep .material-custom-multiselect.mat-focused{outline:1px solid #1954a9;border-radius:2px}.qms-status-dropdown-container ::ng-deep .material-custom-multiselect .mat-form-field-flex{border-radius:2px;padding:0 17.5px 0 16px;width:100%;height:40px}.qms-status-dropdown-container ::ng-deep .material-custom-multiselect .mat-form-field-flex .mat-select-min-line{font-family:Open Sans;font-size:14px;font-weight:600;line-height:16px;letter-spacing:1px}.qms-status-dropdown-container ::ng-deep .material-custom-multiselect .mat-form-field-infix{padding-top:0;border-top:10px solid transparent}.qms-status-dropdown-container ::ng-deep .material-custom-multiselect .mat-form-field-infix .mat-select-value-text{line-height:16px}.qms-status-dropdown-container ::ng-deep .material-custom-multiselect .mat-form-field-wrapper .mat-form-field-underline{display:none}.qms-status-dropdown-container.warning ::ng-deep .material-custom-multiselect .mat-form-field-flex{background-color:#e4cf53}.qms-status-dropdown-container.warning ::ng-deep .material-custom-multiselect .mat-form-field-flex .mat-select-arrow-wrapper .mat-select-arrow{color:rgba(0,0,0,.6)}.qms-status-dropdown-container.warning ::ng-deep .material-custom-multiselect .mat-select-value{color:#323232}.qms-status-dropdown-container.warning ::ng-deep .material-custom-multiselect .mat-select-arrow{color:#323232}.qms-status-dropdown-container.light ::ng-deep .material-custom-multiselect .mat-form-field-flex{background-color:rgba(0,0,0,.1)}.qms-status-dropdown-container.light ::ng-deep .material-custom-multiselect .mat-form-field-flex .mat-select-arrow-wrapper .mat-select-arrow{color:rgba(0,0,0,.6)}.qms-status-dropdown-container.light ::ng-deep .material-custom-multiselect .mat-select-value{color:#323232}.qms-status-dropdown-container.light ::ng-deep .material-custom-multiselect .mat-select-arrow{color:#323232}.qms-status-dropdown-container.danger ::ng-deep .material-custom-multiselect .mat-form-field-flex{background-color:#9e360f}.qms-status-dropdown-container.danger ::ng-deep .material-custom-multiselect .mat-form-field-flex .mat-select-arrow-wrapper .mat-select-arrow{color:hsla(0,0%,100%,.6)}.qms-status-dropdown-container.danger ::ng-deep .material-custom-multiselect .mat-select-value{color:#fff}.qms-status-dropdown-container.danger ::ng-deep .material-custom-multiselect .mat-select-arrow{color:#fff}.qms-status-dropdown-container.success ::ng-deep .material-custom-multiselect .mat-form-field-flex{background-color:#005832}.qms-status-dropdown-container.success ::ng-deep .material-custom-multiselect .mat-select-value{color:#fff}.qms-status-dropdown-container.success ::ng-deep .material-custom-multiselect .mat-select-arrow{color:#fff}.qms-status-dropdown-container.success ::ng-deep .material-custom-multiselect .mat-select-arrow-wrapper .mat-select-arrow{color:hsla(0,0%,100%,.6)}.qms-status-dropdown-container ::ng-deep mat-select .mat-select-value{font-size:14px;line-height:16px;color:#323232;font-weight:500}.qms-status-dropdown-container ::ng-deep mat-select .mat-select-arrow-wrapper{padding-top:17.5px}.qms-status-dropdown-container ::ng-deep mat-select .mat-select-arrow-wrapper .mat-select-arrow{border-top:4px solid}.qms-status-dropdown-container ::ng-deep mat-option .mat-option-custom .mat-pseudo-checkbox-checked:after{top:3px;width:11px;height:5px;border-left:3px solid}"]
|
17049
18096
|
},] }
|
17050
18097
|
];
|
@@ -17499,10 +18546,10 @@
|
|
17499
18546
|
appIconService.registerRiskIcon(iconRegistry, domSanitizer);
|
17500
18547
|
}
|
17501
18548
|
SelectIncludeChildrenPopUpComponent.prototype.ngAfterViewInit = function () {
|
18549
|
+
this.initTree(this.checkedNodeList);
|
17502
18550
|
if (this.editItem) {
|
17503
18551
|
this.focusEditItem(this.editItem);
|
17504
18552
|
}
|
17505
|
-
this.initTree(this.checkedNodeList);
|
17506
18553
|
};
|
17507
18554
|
SelectIncludeChildrenPopUpComponent.prototype.ngOnDestroy = function () {
|
17508
18555
|
this.ngUnsubscribe.next();
|
@@ -17550,16 +18597,61 @@
|
|
17550
18597
|
_this.selectedOptions.push(element);
|
17551
18598
|
if (element.type === exports.SelectOptionTypes.IncludeChildren) {
|
17552
18599
|
_this.selectedOptions = _this.selectedOptions.concat(element.children);
|
18600
|
+
if (!_this.includeChildren) {
|
18601
|
+
_this.disabledList = __spreadArray(__spreadArray([], __read(_this.disabledList)), [element]);
|
18602
|
+
_this.disabledList = __spreadArray(__spreadArray([], __read(_this.disabledList)), __read(element.children.map(function (x) {
|
18603
|
+
return {
|
18604
|
+
id: x.id,
|
18605
|
+
itemName: x.itemName,
|
18606
|
+
children: [],
|
18607
|
+
parentId: x.parentId,
|
18608
|
+
type: x.type,
|
18609
|
+
noSelectedChildren: 0,
|
18610
|
+
noChildren: 0
|
18611
|
+
};
|
18612
|
+
})));
|
18613
|
+
}
|
18614
|
+
}
|
18615
|
+
else {
|
18616
|
+
if (_this.includeChildren) {
|
18617
|
+
_this.disabledList = __spreadArray(__spreadArray([], __read(_this.disabledList)), [element]);
|
18618
|
+
}
|
17553
18619
|
}
|
17554
18620
|
_this.selectedData = _this.mapSelectOptionToTreeNode(_this.selectedOptions);
|
17555
18621
|
});
|
17556
18622
|
}
|
17557
18623
|
};
|
17558
18624
|
SelectIncludeChildrenPopUpComponent.prototype.focusEditItem = function (selectedOption) {
|
17559
|
-
var
|
18625
|
+
var _this = this;
|
18626
|
+
var parent;
|
18627
|
+
var parentList = [];
|
18628
|
+
parent = this.treeData.find(function (x) { return x.rootId === selectedOption.parentId; });
|
18629
|
+
if (parent) {
|
18630
|
+
parentList.push({
|
18631
|
+
id: parent.rootId,
|
18632
|
+
itemName: parent.rootName,
|
18633
|
+
parentId: parent.parentId,
|
18634
|
+
type: exports.SelectOptionTypes.IncludeChildren
|
18635
|
+
});
|
18636
|
+
parentList = this.getParentLineOfNode(parentList, parent);
|
18637
|
+
}
|
18638
|
+
var node;
|
18639
|
+
if (parentList.length > 0) {
|
18640
|
+
parentList.forEach(function (parent) {
|
18641
|
+
node = _this.dataTrees.toArray()[0].getNodeByIdAndParentId(parent.id, parent.parentId);
|
18642
|
+
if (node) {
|
18643
|
+
_this.dataTrees.toArray()[0].expandNode(node);
|
18644
|
+
var element = document.getElementById("_" + (node.parentId ? node.parentId.toLowerCase() : '') + "_" + node.id.toLowerCase() + "_" + node.level);
|
18645
|
+
if (element) {
|
18646
|
+
element.scrollIntoView(false);
|
18647
|
+
}
|
18648
|
+
}
|
18649
|
+
});
|
18650
|
+
}
|
18651
|
+
node = this.dataTrees.toArray()[0].getNodeByIdAndParentId(selectedOption.id, selectedOption.parentId);
|
17560
18652
|
if (node) {
|
17561
18653
|
this.dataTrees.toArray()[0].expandNode(node);
|
17562
|
-
var element = document.getElementById("_" + (node.parentId ? node.parentId : '') + "_" + node.id + "_" + node.level);
|
18654
|
+
var element = document.getElementById("_" + (node.parentId ? node.parentId.toLowerCase() : '') + "_" + node.id.toLowerCase() + "_" + node.level);
|
17563
18655
|
if (element) {
|
17564
18656
|
element.scrollIntoView(false);
|
17565
18657
|
}
|
@@ -17570,7 +18662,7 @@
|
|
17570
18662
|
if (index >= 0) {
|
17571
18663
|
if (this.checkedNodeList[index].type === exports.SelectOptionTypes.IncludeChildren) {
|
17572
18664
|
this.removeIncludeChildren(item);
|
17573
|
-
this.
|
18665
|
+
this.deleteNodeFromSelectedNode(item);
|
17574
18666
|
}
|
17575
18667
|
else {
|
17576
18668
|
var position = this.selectedOptions.findIndex(function (x) { return x.id === item.id && x.parentId === item.parentId; });
|
@@ -17578,8 +18670,9 @@
|
|
17578
18670
|
this.selectedOptions.splice(position, 1);
|
17579
18671
|
}
|
17580
18672
|
}
|
18673
|
+
this.focusEditItem(this.checkedNodeList[index]);
|
18674
|
+
this.enableSelectedNode(this.checkedNodeList[index]);
|
17581
18675
|
this.checkedNodeList.splice(index, 1);
|
17582
|
-
this.enableSelectedNode({ id: item.id, parentId: item.parentId, itemName: item.name, type: exports.SelectOptionTypes.IncludeChildren });
|
17583
18676
|
this.selectedData = this.mapSelectOptionToTreeNode(this.selectedOptions);
|
17584
18677
|
}
|
17585
18678
|
};
|
@@ -17611,7 +18704,7 @@
|
|
17611
18704
|
this.checkedNodeList.push({
|
17612
18705
|
id: item.id,
|
17613
18706
|
itemName: item.itemName,
|
17614
|
-
type:
|
18707
|
+
type: item.type,
|
17615
18708
|
parentId: item.parentId,
|
17616
18709
|
children: [],
|
17617
18710
|
noChildren: 0,
|
@@ -17620,6 +18713,15 @@
|
|
17620
18713
|
}
|
17621
18714
|
}
|
17622
18715
|
this.selectedData = this.mapSelectOptionToTreeNode(this.selectedOptions);
|
18716
|
+
this.focusEditItem({
|
18717
|
+
id: item.id,
|
18718
|
+
itemName: item.itemName,
|
18719
|
+
type: item.type,
|
18720
|
+
parentId: item.parentId,
|
18721
|
+
children: [],
|
18722
|
+
noChildren: 0,
|
18723
|
+
noSelectedChildren: 0
|
18724
|
+
});
|
17623
18725
|
};
|
17624
18726
|
SelectIncludeChildrenPopUpComponent.prototype.getItemIconType = function (item) {
|
17625
18727
|
if (item.itemIcon && item.itemIcon.length)
|
@@ -17692,12 +18794,29 @@
|
|
17692
18794
|
};
|
17693
18795
|
SelectIncludeChildrenPopUpComponent.prototype.removeIncludeChildren = function (item) {
|
17694
18796
|
var _this = this;
|
18797
|
+
var index = this.checkedNodeList.findIndex(function (x) { return x.id.toLowerCase() === item.id.toLowerCase() && x.parentId.toLowerCase() === x.parentId.toLowerCase() && x.type === exports.SelectOptionTypes.IncludeChildren; });
|
18798
|
+
if (index >= 0) {
|
18799
|
+
var listChildren_1 = this.checkedNodeList[index].children;
|
18800
|
+
var itemIndex_1 = this.selectedOptions.findIndex(function (node) { return node.id.toLowerCase() === item.id.toLowerCase() && node.parentId.toLowerCase() === item.parentId.toLowerCase(); });
|
18801
|
+
if (itemIndex_1 >= 0) {
|
18802
|
+
this.enableSelectedNode(this.checkedNodeList[index]);
|
18803
|
+
this.selectedOptions.splice(itemIndex_1, 1);
|
18804
|
+
}
|
18805
|
+
listChildren_1.forEach(function (x) {
|
18806
|
+
var index = _this.selectedOptions.findIndex(function (node) { return node.id.toLowerCase() === x.id.toLowerCase() && node.parentId.toLowerCase() === x.parentId.toLowerCase(); });
|
18807
|
+
if (index >= 0) {
|
18808
|
+
_this.selectedOptions.splice(index, 1);
|
18809
|
+
_this.disabledList = _this.disabledList.filter(function (node) { return !(x.id.toLowerCase() === node.id.toLowerCase() && x.parentId.toLowerCase() === node.parentId.toLowerCase()); });
|
18810
|
+
}
|
18811
|
+
});
|
18812
|
+
return;
|
18813
|
+
}
|
17695
18814
|
var listChildren = [];
|
17696
18815
|
listChildren = this.getAllChildrenNodeRecursive(listChildren, item);
|
17697
18816
|
var itemIndex = this.selectedOptions.findIndex(function (node) { return node.id === item.id && node.parentId === item.parentId; });
|
17698
18817
|
if (itemIndex >= 0) {
|
17699
|
-
this.enableSelectedNode(this.selectedOptions[itemIndex]);
|
17700
18818
|
this.selectedOptions.splice(itemIndex, 1);
|
18819
|
+
this.disabledList = this.disabledList.filter(function (x) { return !(x.id === item.id && x.parentId === item.parentId); });
|
17701
18820
|
}
|
17702
18821
|
listChildren.forEach(function (x) {
|
17703
18822
|
var index = _this.selectedOptions.findIndex(function (node) { return node.id === x.id && node.parentId === x.parentId; });
|
@@ -17817,7 +18936,7 @@
|
|
17817
18936
|
}
|
17818
18937
|
}
|
17819
18938
|
this.checkedNodeList = this.checkedNodeList.filter(function (x) { return x.id !== node.id || x.parentId !== node.parentId; });
|
17820
|
-
this.
|
18939
|
+
this.deleteNodeFromSelectedNode(node);
|
17821
18940
|
}
|
17822
18941
|
else {
|
17823
18942
|
var itemIndex = this.selectedOptions.findIndex(function (item) { return node.id === item.id && node.parentId === item.parentId; });
|
@@ -17891,7 +19010,17 @@
|
|
17891
19010
|
});
|
17892
19011
|
};
|
17893
19012
|
SelectIncludeChildrenPopUpComponent.prototype.refactorSelectList = function (node) {
|
19013
|
+
this.combineNodes({
|
19014
|
+
id: node.id,
|
19015
|
+
itemName: node.name,
|
19016
|
+
type: exports.SelectOptionTypes.IncludeChildren,
|
19017
|
+
parentId: node.parentId
|
19018
|
+
});
|
19019
|
+
};
|
19020
|
+
SelectIncludeChildrenPopUpComponent.prototype.deleteNodeFromSelectedNode = function (node) {
|
17894
19021
|
var _this = this;
|
19022
|
+
var children = [];
|
19023
|
+
children = this.getAllChildrenNodeRecursive(children, node);
|
17895
19024
|
var parent;
|
17896
19025
|
var parentList = [];
|
17897
19026
|
parent = this.treeData.find(function (x) { return x.rootId === node.parentId; });
|
@@ -17904,30 +19033,23 @@
|
|
17904
19033
|
});
|
17905
19034
|
parentList = this.getParentLineOfNode(parentList, parent);
|
17906
19035
|
}
|
19036
|
+
var parentIndex = -1;
|
17907
19037
|
if (parentList.length > 0) {
|
17908
|
-
|
17909
|
-
.findIndex(function (
|
17910
|
-
|
17911
|
-
|
17912
|
-
|
17913
|
-
|
17914
|
-
|
17915
|
-
|
17916
|
-
|
17917
|
-
|
17918
|
-
|
17919
|
-
|
17920
|
-
|
17921
|
-
|
17922
|
-
|
17923
|
-
}
|
17924
|
-
}
|
17925
|
-
else {
|
17926
|
-
this.combineNodes({
|
17927
|
-
id: node.id,
|
17928
|
-
itemName: node.name,
|
17929
|
-
type: exports.SelectOptionTypes.IncludeChildren,
|
17930
|
-
parentId: node.parentId
|
19038
|
+
parentList.forEach(function (parent) {
|
19039
|
+
parentIndex = _this.checkedNodeList.findIndex(function (x) { return x.id.toLowerCase() === parent.id.toLowerCase() && x.parentId.toLowerCase() === parent.parentId.toLowerCase(); });
|
19040
|
+
if (parentIndex >= 0) {
|
19041
|
+
var index = _this.checkedNodeList[parentIndex].children.findIndex(function (x) { return x.id.toLowerCase() === node.id.toLowerCase() && x.parentId.toLowerCase() === node.parentId.toLowerCase(); });
|
19042
|
+
if (index >= 0) {
|
19043
|
+
_this.checkedNodeList[parentIndex].children.splice(index, 1);
|
19044
|
+
}
|
19045
|
+
children.forEach(function (child) {
|
19046
|
+
var index = _this.checkedNodeList[parentIndex].children.findIndex(function (x) { return x.id.toLowerCase() === child.id.toLowerCase() && x.parentId.toLowerCase() === child.parentId.toLowerCase(); });
|
19047
|
+
if (index >= 0) {
|
19048
|
+
_this.checkedNodeList[parentIndex].children.splice(index, 1);
|
19049
|
+
}
|
19050
|
+
});
|
19051
|
+
_this.checkedNodeList[parentIndex].noSelectedChildren = _this.checkedNodeList[parentIndex].children.length;
|
19052
|
+
}
|
17931
19053
|
});
|
17932
19054
|
}
|
17933
19055
|
};
|
@@ -17972,7 +19094,7 @@
|
|
17972
19094
|
this.checkedNodeList[selectedNodeIndex].children = nodeList;
|
17973
19095
|
this.checkedNodeList[selectedNodeIndex].noChildren = children.length;
|
17974
19096
|
this.checkedNodeList[selectedNodeIndex].noSelectedChildren = nodeList.length;
|
17975
|
-
this.checkedNodeList[selectedNodeIndex].type =
|
19097
|
+
this.checkedNodeList[selectedNodeIndex].type = exports.SelectOptionTypes.IncludeChildren;
|
17976
19098
|
}
|
17977
19099
|
};
|
17978
19100
|
SelectIncludeChildrenPopUpComponent.prototype.getParentLineOfNode = function (listParent, node) {
|
@@ -17997,7 +19119,7 @@
|
|
17997
19119
|
return {
|
17998
19120
|
id: x.id,
|
17999
19121
|
name: x.itemName,
|
18000
|
-
parentId:
|
19122
|
+
parentId: x.parentId,
|
18001
19123
|
level: 0,
|
18002
19124
|
expandable: true,
|
18003
19125
|
hasChild: true,
|
@@ -18029,18 +19151,11 @@
|
|
18029
19151
|
}
|
18030
19152
|
};
|
18031
19153
|
SelectIncludeChildrenPopUpComponent.prototype.enableSelectedNode = function (node) {
|
18032
|
-
var children = [];
|
18033
|
-
children = this.getAllChildrenNodeRecursive(children, {
|
18034
|
-
id: node.id,
|
18035
|
-
name: node.itemName,
|
18036
|
-
parentId: node.parentId,
|
18037
|
-
level: 0,
|
18038
|
-
expandable: true,
|
18039
|
-
hasChild: true,
|
18040
|
-
disabled: false
|
18041
|
-
});
|
18042
|
-
this.disabledList = this.disabledList.filter(function (x) { return children.filter(function (child) { return (x.id === child.id && x.parentId === child.parentId); }).length === 0; });
|
18043
19154
|
this.disabledList = this.disabledList.filter(function (x) { return !(x.id === node.id && x.parentId === node.parentId); });
|
19155
|
+
if (node.type === exports.SelectOptionTypes.IncludeChildren) {
|
19156
|
+
var children_1 = node.children;
|
19157
|
+
this.disabledList = this.disabledList.filter(function (x) { return children_1.filter(function (child) { return (x.id === child.id && x.parentId === child.parentId); }).length === 0; });
|
19158
|
+
}
|
18044
19159
|
};
|
18045
19160
|
return SelectIncludeChildrenPopUpComponent;
|
18046
19161
|
}());
|
@@ -18407,6 +19522,7 @@
|
|
18407
19522
|
return related ? related.itemName : undefined;
|
18408
19523
|
};
|
18409
19524
|
SelectOneDialog.prototype.selectItemSearched = function (item) {
|
19525
|
+
var _this = this;
|
18410
19526
|
var _a;
|
18411
19527
|
if ((_a = this.treeConfig) === null || _a === void 0 ? void 0 : _a.selectOne) {
|
18412
19528
|
this.disabledList = [];
|
@@ -18438,9 +19554,57 @@
|
|
18438
19554
|
children: [],
|
18439
19555
|
parentId: node.parentId
|
18440
19556
|
};
|
18441
|
-
|
19557
|
+
setTimeout(function () {
|
19558
|
+
_this.dataTrees.toArray()[0].todoFolderSelection([treeNode]);
|
19559
|
+
_this.expandAndScrollToNode(treeNode, node);
|
19560
|
+
}, 500);
|
18442
19561
|
return;
|
18443
19562
|
};
|
19563
|
+
SelectOneDialog.prototype.expandAndScrollToNode = function (treeNode, node) {
|
19564
|
+
var _this = this;
|
19565
|
+
var parent;
|
19566
|
+
var parentList = [];
|
19567
|
+
parent = this.treeData.find(function (x) { return x.rootId === node.parentId; });
|
19568
|
+
if (parent) {
|
19569
|
+
parentList.push({
|
19570
|
+
id: parent.rootId,
|
19571
|
+
itemName: parent.rootName,
|
19572
|
+
parentId: parent.parentId
|
19573
|
+
});
|
19574
|
+
parentList = this.getParentLineOfNode(parentList, parent);
|
19575
|
+
}
|
19576
|
+
if (parentList.length) {
|
19577
|
+
parentList.reverse().forEach(function (x) {
|
19578
|
+
_this.focusEditItem(x);
|
19579
|
+
});
|
19580
|
+
}
|
19581
|
+
else {
|
19582
|
+
this.focusEditItem(treeNode);
|
19583
|
+
}
|
19584
|
+
};
|
19585
|
+
SelectOneDialog.prototype.getParentLineOfNode = function (listParent, node) {
|
19586
|
+
var parent;
|
19587
|
+
parent = this.treeData.find(function (x) { return x.rootId === node.parentId; });
|
19588
|
+
if (parent) {
|
19589
|
+
listParent = __spreadArray(__spreadArray([], __read(listParent)), [{
|
19590
|
+
id: parent.rootId,
|
19591
|
+
itemName: parent.rootName,
|
19592
|
+
parentId: parent.parentId
|
19593
|
+
}]);
|
19594
|
+
this.getParentLineOfNode(listParent, parent);
|
19595
|
+
}
|
19596
|
+
return listParent;
|
19597
|
+
};
|
19598
|
+
SelectOneDialog.prototype.focusEditItem = function (selectedOption) {
|
19599
|
+
var node = this.dataTrees.toArray()[0].getNodeByIdAndParentId(selectedOption.id, selectedOption.parentId);
|
19600
|
+
if (node) {
|
19601
|
+
this.dataTrees.toArray()[0].expandNode(node);
|
19602
|
+
var element = document.getElementById("_" + (node.parentId ? node.parentId : '') + "_" + node.id + "_" + node.level);
|
19603
|
+
if (element) {
|
19604
|
+
element.scrollIntoView(false);
|
19605
|
+
}
|
19606
|
+
}
|
19607
|
+
};
|
18444
19608
|
SelectOneDialog.prototype.onCloseClick = function () {
|
18445
19609
|
this.selectedFolder = null;
|
18446
19610
|
this.dialogRef.close();
|
@@ -18566,7 +19730,7 @@
|
|
18566
19730
|
SelectOneDialog.decorators = [
|
18567
19731
|
{ type: i0.Component, args: [{
|
18568
19732
|
selector: 'qms-select-one',
|
18569
|
-
template: "<div id=\"qmslib_related_popup\" class=\"qmslib__related__popup__container\">\r\n <div id=\"qmslib_related_popup_header\">\r\n <span mat-icon-button class=\"button__close\" (click)=\"onCloseClick()\">\r\n <mat-icon mat-icon>close</mat-icon>\r\n </span>\r\n <div id=\"qmslib_related_popup_header_001\" mat-dialog-content>\r\n <span>{{ moduleName }}</span>\r\n </div>\r\n </div>\r\n\r\n <div\r\n id=\"qmslib_related_popup_search\"\r\n class=\"input__field\"\r\n (click)=\"showSearchResult()\"\r\n >\r\n <input\r\n #name\r\n type=\"text\"\r\n placeholder=\"{{ LANG.SEARCH }}\"\r\n matInput\r\n [formControl]=\"myControl\"\r\n [matAutocomplete]=\"auto\"\r\n #autoCompleteInputSearch\r\n />\r\n <mat-icon>search</mat-icon>\r\n </div>\r\n\r\n <div class=\"line__divider\"></div>\r\n\r\n <mat-autocomplete\r\n #auto=\"matAutocomplete\"\r\n [displayWith]=\"displayRelated\"\r\n class=\"mat-autocomplete_related-viewport\"\r\n >\r\n <cdk-virtual-scroll-viewport\r\n qms-scrollbar\r\n itemSize=\"10\"\r\n class=\"related-viewport\"\r\n >\r\n <div class=\"search__module-result\" *ngIf=\"filteredOptions.length\">\r\n <mat-option\r\n class=\"search__option\"\r\n *ngFor=\"let option of getModuleFilteredOptions()\"\r\n [value]=\"option\"\r\n (click)=\"selectItemSearched(option)\"\r\n >\r\n <qms-list-item type=\"image-square\">\r\n <mat-icon\r\n leading-icon\r\n type=\"image-square\"\r\n [svgIcon]=\"getNodeIcon(option)\"\r\n ></mat-icon>\r\n <div qms-list-header>\r\n <div\r\n qms-line\r\n type=\"caption\"\r\n qms-tool-tip=\"{{\r\n isEllipsisActive(searchItemResult) ? option.parentName : ''\r\n }}\"\r\n mode=\"dark\"\r\n *ngIf=\"getParentName(option)\"\r\n >\r\n <span #searchItemResult class=\"search__result__parent-name\">\r\n {{ option.parentName }}\r\n </span>\r\n </div>\r\n <div qms-line type=\"subtitle\" class=\"search__option-name\">\r\n {{ option.itemName }}\r\n </div>\r\n <div\r\n class=\"caption\"\r\n *ngIf=\"option.breadcumbs && option.breadcumbs.length\"\r\n >\r\n <qms-breadcrumb\r\n class=\"breadcrumb-containe\"\r\n type=\"table\"\r\n numDisplayItem=\"1\"\r\n [nodes]=\"option.breadcumbs\"\r\n >\r\n </qms-breadcrumb>\r\n </div>\r\n </div>\r\n <div qms-line color=\"default-subtitle\" *ngIf=\"getItemId(option)\">\r\n <span class=\"material-icons-outlined search__description-icon\">\r\n local_offer\r\n </span>\r\n {{ getItemId(option) }}\r\n </div>\r\n </qms-list-item>\r\n </mat-option>\r\n </div>\r\n </cdk-virtual-scroll-viewport>\r\n </mat-autocomplete>\r\n\r\n <div class=\"row\">\r\n <div\r\n class=\"qms-scrollbar col-12 qmslib_related_popup_content\"\r\n [ngClass]=\"{\r\n panel__content_item: checkedNodeList.length,\r\n panel__content: !checkedNodeList.length\r\n }\"\r\n >\r\n <mat-expansion-panel\r\n hideToggle\r\n id=\"qmslib_related_popup_common_001\"\r\n [expanded]=\"isCommonExpanded\"\r\n (opened)=\"isCommonExpanded = true\"\r\n (closed)=\"isCommonExpanded = false\"\r\n class=\"panel-tree\"\r\n >\r\n <div id=\"qmslib_related_popup_common_002\">\r\n <qms-tree\r\n [treeData]=\"treeData\"\r\n [treeConfig]=\"treeConfig\"\r\n [selectedData]=\"selectedData\"\r\n [selectedRiskData]=\"selectedRiskData\"\r\n [disabledList]=\"disabledList\"\r\n (selectNodeEvent)=\"selectNodeTreeEvent($event)\"\r\n (getChildNodeSelectOne)=\"getChildNodeSelectOne($event)\"\r\n [expandOnTitleClick]=\"false\"\r\n [expandToChildNode]=\"expandToChildNode\"\r\n ></qms-tree>\r\n </div>\r\n </mat-expansion-panel>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"checkedNodeList.length\" class=\"line__divider\"></div>\r\n\r\n <div *ngIf=\"checkedNodeList.length\" class=\"panel__item qms-scrollbar\">\r\n <div class=\"related__item__inline\" *ngFor=\"let item of checkedNodeList\">\r\n <button\r\n *ngIf=\"item.itemName\"\r\n mat-button\r\n class=\"related__item__content\"\r\n qms-tool-tip=\"{{\r\n isEllipsisActive(itemName) ? getItemChipName(item) : ''\r\n }}\"\r\n mode=\"dark\"\r\n >\r\n <span class=\"related__item__content_name\" #itemName>{{\r\n getItemChipName(item)\r\n }}</span>\r\n <mat-icon (click)=\"removeCheckedNodeList()\">cancel</mat-icon>\r\n </button>\r\n </div>\r\n </div
|
19733
|
+
template: "<div id=\"qmslib_related_popup\" class=\"qmslib__related__popup__container\">\r\n <div id=\"qmslib_related_popup_header\">\r\n <span mat-icon-button class=\"button__close\" (click)=\"onCloseClick()\">\r\n <mat-icon mat-icon>close</mat-icon>\r\n </span>\r\n <div id=\"qmslib_related_popup_header_001\" mat-dialog-content>\r\n <span>{{ moduleName }}</span>\r\n </div>\r\n </div>\r\n\r\n <div\r\n id=\"qmslib_related_popup_search\"\r\n class=\"input__field\"\r\n (click)=\"showSearchResult()\"\r\n >\r\n <input\r\n #name\r\n type=\"text\"\r\n placeholder=\"{{ LANG.SEARCH }}\"\r\n matInput\r\n [formControl]=\"myControl\"\r\n [matAutocomplete]=\"auto\"\r\n #autoCompleteInputSearch\r\n />\r\n <mat-icon>search</mat-icon>\r\n </div>\r\n\r\n <div class=\"line__divider\"></div>\r\n\r\n <mat-autocomplete\r\n #auto=\"matAutocomplete\"\r\n [displayWith]=\"displayRelated\"\r\n class=\"mat-autocomplete_related-viewport\"\r\n >\r\n <cdk-virtual-scroll-viewport\r\n qms-scrollbar\r\n itemSize=\"10\"\r\n class=\"related-viewport\"\r\n >\r\n <div class=\"search__module-result\" *ngIf=\"filteredOptions.length\">\r\n <mat-option\r\n class=\"search__option\"\r\n *ngFor=\"let option of getModuleFilteredOptions()\"\r\n [value]=\"option\"\r\n (click)=\"selectItemSearched(option)\"\r\n >\r\n <qms-list-item type=\"image-square\">\r\n <mat-icon\r\n leading-icon\r\n type=\"image-square\"\r\n [svgIcon]=\"getNodeIcon(option)\"\r\n ></mat-icon>\r\n <div qms-list-header>\r\n <div\r\n qms-line\r\n type=\"caption\"\r\n qms-tool-tip=\"{{\r\n isEllipsisActive(searchItemResult) ? option.parentName : ''\r\n }}\"\r\n mode=\"dark\"\r\n *ngIf=\"getParentName(option)\"\r\n >\r\n <span #searchItemResult class=\"search__result__parent-name\">\r\n {{ option.parentName }}\r\n </span>\r\n </div>\r\n <div qms-line type=\"subtitle\" class=\"search__option-name\">\r\n {{ option.itemName }}\r\n </div>\r\n <div\r\n class=\"caption\"\r\n *ngIf=\"option.breadcumbs && option.breadcumbs.length\"\r\n >\r\n <qms-breadcrumb\r\n class=\"breadcrumb-containe\"\r\n type=\"table\"\r\n numDisplayItem=\"1\"\r\n [nodes]=\"option.breadcumbs\"\r\n >\r\n </qms-breadcrumb>\r\n </div>\r\n </div>\r\n <div qms-line color=\"default-subtitle\" *ngIf=\"getItemId(option)\">\r\n <span class=\"material-icons-outlined search__description-icon\">\r\n local_offer\r\n </span>\r\n {{ getItemId(option) }}\r\n </div>\r\n </qms-list-item>\r\n </mat-option>\r\n </div>\r\n </cdk-virtual-scroll-viewport>\r\n </mat-autocomplete>\r\n\r\n <div class=\"row\">\r\n <div\r\n class=\"qms-scrollbar col-12 qmslib_related_popup_content\"\r\n [ngClass]=\"{\r\n panel__content_item: checkedNodeList.length,\r\n panel__content: !checkedNodeList.length\r\n }\"\r\n >\r\n <mat-expansion-panel\r\n hideToggle\r\n id=\"qmslib_related_popup_common_001\"\r\n [expanded]=\"isCommonExpanded\"\r\n (opened)=\"isCommonExpanded = true\"\r\n (closed)=\"isCommonExpanded = false\"\r\n class=\"panel-tree\"\r\n >\r\n <div id=\"qmslib_related_popup_common_002\">\r\n <qms-tree\r\n [treeData]=\"treeData\"\r\n [treeConfig]=\"treeConfig\"\r\n [selectedData]=\"selectedData\"\r\n [selectedRiskData]=\"selectedRiskData\"\r\n [disabledList]=\"disabledList\"\r\n (selectNodeEvent)=\"selectNodeTreeEvent($event)\"\r\n (getChildNodeSelectOne)=\"getChildNodeSelectOne($event)\"\r\n [expandOnTitleClick]=\"false\"\r\n [expandToChildNode]=\"expandToChildNode\"\r\n ></qms-tree>\r\n </div>\r\n </mat-expansion-panel>\r\n </div>\r\n </div>\r\n\r\n <!-- <div *ngIf=\"checkedNodeList.length\" class=\"line__divider\"></div>\r\n\r\n <div *ngIf=\"checkedNodeList.length\" class=\"panel__item qms-scrollbar\">\r\n <div class=\"related__item__inline\" *ngFor=\"let item of checkedNodeList\">\r\n <button\r\n *ngIf=\"item.itemName\"\r\n mat-button\r\n class=\"related__item__content\"\r\n qms-tool-tip=\"{{\r\n isEllipsisActive(itemName) ? getItemChipName(item) : ''\r\n }}\"\r\n mode=\"dark\"\r\n >\r\n <span class=\"related__item__content_name\" #itemName>{{\r\n getItemChipName(item)\r\n }}</span>\r\n <mat-icon (click)=\"removeCheckedNodeList()\">cancel</mat-icon>\r\n </button>\r\n </div>\r\n </div> -->\r\n\r\n <div class=\"line__divider\"></div>\r\n\r\n <div class=\"confirm__button__groups\">\r\n <button\r\n *ngIf=\"!checkedNodeList.length\"\r\n qms-btn\r\n style=\"margin-top: 7px\"\r\n (click)=\"onAddClick()\"\r\n >\r\n {{ LANG.ADD }}\r\n </button>\r\n <button\r\n *ngIf=\"checkedNodeList.length\"\r\n qms-btn\r\n style=\"margin-top: 0px\"\r\n (click)=\"onAddClick()\"\r\n >\r\n {{ LANG.ADD }} ({{ checkedNodeList.length }})\r\n </button>\r\n <button\r\n qms-btn-text\r\n [ngStyle]=\"{ 'margin-top': checkedNodeList.length ? '0px' : '7px' }\"\r\n (click)=\"onCloseClick()\"\r\n >\r\n {{ LANG.CANCEL }}\r\n </button>\r\n </div>\r\n</div>\r\n",
|
18570
19734
|
encapsulation: i0.ViewEncapsulation.None,
|
18571
19735
|
styles: [".qms-scrollbar::-webkit-scrollbar{width:12px}.qms-scrollbar::-webkit-scrollbar-track{background:rgba(0,0,0,.12);background-clip:content-box}.qms-scrollbar::-webkit-scrollbar-thumb{background:rgba(0,0,0,.38);border-radius:20px;width:4px;border:4px solid transparent;background-clip:content-box}.qms-scrollbar::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.5);background-clip:content-box;border:4px solid transparent}.qms-scrollbar.none-scroll-bg::-webkit-scrollbar-track{background:transparent;background-clip:content-box}.qms__popup .button__close{float:right;top:-24px;right:-24px;cursor:pointer}.qms__danger button{border:none;color:#fff;padding:0;text-align:center;text-decoration:none;display:inline-block;cursor:pointer;height:20px;width:20px;font-family:Open Sans;font-size:12px;font-weight:600;font-style:normal;line-height:16px}.qms__danger .red{background-color:#9e360f;margin-left:10px}.qms__danger .yellow{background-color:#e4cf53;margin-left:10px;color:#323232}.qms__danger .green{background-color:#00804c;margin-left:10px}.confirm__button__groups{margin-top:11px}.confirm__button__groups button{min-height:36px;width:auto;font-family:Open Sans;font-weight:500;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px;margin-right:5px;float:right}.confirm__button__groups .confirm{background:#f8f9f9}.confirm__button__groups .confirm:hover{background:#001983;color:#fff}.confirm__button__groups .confirm:disabled{cursor:not-allowed}.confirm__button__groups .cancel{background:#f8f9f9}.confirm__button__groups .cancel:hover{background:#001983;color:#fff}.qmslib__related__popup__container .input__field{display:flex;align-items:center}.qmslib__related__popup__container .input__field input{width:100%;padding:10px;outline:none;border:none;background:#eee}.qmslib__related__popup__container .input__field .mat-icon{margin-left:-30px;cursor:pointer;vertical-align:middle}.qmslib__related__popup__container .line__divider{border-bottom:1px solid #ccc;height:1px;margin-top:10px;min-width:300px;max-width:100%}.qmslib__related__popup__container .button__close{float:right;top:-24px;right:-24px;cursor:pointer}.qmslib__related__popup__container .panel__content{height:450px;overflow:auto;margin-top:12px}.qmslib__related__popup__container .panel__content_item{height:350px;overflow:auto;margin-top:12px}.qmslib__related__popup__container .panel-tree .mat-expansion-panel-body{padding:0 12px 12px}.qmslib__related__popup__container .mat-expansion-panel-header{height:30px;font-size:12px;letter-spacing:1px;font-family:Raleway;font-weight:600;padding:0}.qmslib__related__popup__container .mat-expansion-panel-header .mat-expansion-panel-header-title{align-items:center;margin-left:12px}.qmslib__related__popup__container .mat-expansion-panel-header .related_popup_toggle-btn{width:1.5rem;height:1.5rem;line-height:1.5rem}.qmslib__related__popup__container .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:none}.qmslib__related__popup__container .panel__item{height:100px;margin-top:12px;overflow-x:hidden;overflow-y:auto;padding-right:5px;width:100%;max-width:100%;display:flex;flex-wrap:wrap;align-content:flex-start}.qmslib__related__popup__container .panel__item .related__item__inline{max-width:100%}.qmslib__related__popup__container .panel__item .related__item__content{height:32px;line-height:32px;background-color:#e5e5e5;max-width:100%;margin-bottom:5px;margin-left:2.5px;margin-right:2.5px}.qmslib__related__popup__container .panel__item .related__item__content .mat-icon{color:#8e8e8e;font-size:24px}.qmslib__related__popup__container .panel__item .related__item__content span.related__item__content_name{display:inline-block;min-width:calc(100% - 13px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:320px}cdk-virtual-scroll-viewport{overflow-x:hidden}cdk-virtual-scroll-viewport .search__module-result{margin:1.5rem;padding:0 0 .5rem}cdk-virtual-scroll-viewport .search__module-result .search__module-title{font-size:14px;font-weight:600}cdk-virtual-scroll-viewport .search__module-result .search__option{height:auto;line-height:normal;padding:8px 0;border-bottom:1px solid #e0e0e0}cdk-virtual-scroll-viewport .search__module-result .search__option .qms-list-item.mat-2-line.image-item{height:auto}cdk-virtual-scroll-viewport .search__module-result .search__option .qms-list-item-content{margin:0;border-bottom:none}cdk-virtual-scroll-viewport .search__module-result .search__option .qms-list-item-content .wrap-image.image-square{width:2.5rem;height:100%;background:transparent;align-self:center;margin-right:0}cdk-virtual-scroll-viewport .search__module-result .search__option .qms-list-item-content .wrap-image.image-square img{width:24px;height:24px}cdk-virtual-scroll-viewport .search__module-result .search__option .qms-list-item-content .material-icons-outlined.leading-icon,cdk-virtual-scroll-viewport .search__module-result .search__option .qms-list-item-content mat-icon.leading-icon{padding:4px 0 4px 4px}cdk-virtual-scroll-viewport .search__module-result .search__option .qms-list-item-content .subtitle{font-weight:400}cdk-virtual-scroll-viewport .search__module-result .search__option .qms-list-item-content .caption{overflow:hidden;line-height:normal;white-space:normal;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;padding:0;margin:0}cdk-virtual-scroll-viewport .search__module-result .search__option .qms-list-item-content .caption span.search__result__parent-name{display:inline-block;width:auto;width:calc(100% - 13px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}cdk-virtual-scroll-viewport .search__module-result .search__option .qms-list-item-content .default-subtitle{color:rgba(0,0,0,.38)}cdk-virtual-scroll-viewport .search__module-result .search__option .qms-list-item-content .search__description-icon{margin-right:0;width:12px;height:12px;font-size:12px}cdk-virtual-scroll-viewport .search__module-result .search__option .qms-list-item-content .qms-list-text{border-bottom:none}cdk-virtual-scroll-viewport .search__module-result .search__option .qms-list-item-content .breadcrumb-containe .qms-breadcrumb-item .mat-icon{font-size:16px!important;padding-bottom:1px}cdk-virtual-scroll-viewport .search__module-result svg{display:block}#qmslib_related_popup_header_001{margin-bottom:20px;padding:0;font-weight:600;font-family:Raleway}.padding-5{padding:5px}.mat-autocomplete_related-viewport{height:100%;max-height:100%!important}.mat-autocomplete_related-viewport .cdk-virtual-scroll-content-wrapper{width:100%}.mat-autocomplete_related-viewport .related-viewport{min-height:10.25rem}"]
|
18572
19736
|
},] }
|
@@ -19004,12 +20168,15 @@
|
|
19004
20168
|
NewTreeComponent.prototype.checkDisabledList = function () {
|
19005
20169
|
var _this = this;
|
19006
20170
|
// Disable List
|
20171
|
+
for (var i = 0; i < this.treeControl.dataNodes.length; i++) {
|
20172
|
+
this.treeControl.dataNodes[i].disabled = false;
|
20173
|
+
}
|
19007
20174
|
if (this.disabledList.length) {
|
19008
20175
|
var _loop_3 = function (i) {
|
19009
20176
|
this_3.disabledList.forEach(function (x) {
|
19010
20177
|
var _a;
|
19011
|
-
if (x.id === _this.treeControl.dataNodes[i].id
|
19012
|
-
&& (!x.parentId || x.parentId === ((_a = _this.treeControl.dataNodes[i]) === null || _a === void 0 ? void 0 : _a.parentId))) {
|
20178
|
+
if (x.id.toLowerCase() === _this.treeControl.dataNodes[i].id.toLowerCase()
|
20179
|
+
&& (!x.parentId || x.parentId.toLowerCase() === ((_a = _this.treeControl.dataNodes[i]) === null || _a === void 0 ? void 0 : _a.parentId.toLowerCase()))) {
|
19013
20180
|
_this.treeControl.dataNodes[i].disabled = true;
|
19014
20181
|
}
|
19015
20182
|
});
|
@@ -20529,6 +21696,7 @@
|
|
20529
21696
|
this.dataSource = new tree$1.MatTreeFlatDataSource(this.treeControl, this.treeFlattener);
|
20530
21697
|
this.hoverNode = {};
|
20531
21698
|
this.expandingNodes = [];
|
21699
|
+
this.activeNode = '';
|
20532
21700
|
this.hasChild = function (_, node) { return node.expandable; };
|
20533
21701
|
this.dataSource.data = this.treeData;
|
20534
21702
|
}
|
@@ -20573,6 +21741,7 @@
|
|
20573
21741
|
});
|
20574
21742
|
};
|
20575
21743
|
QMSNavigationDrawerComponent.prototype.onClickNode = function (nodeId) {
|
21744
|
+
this.activeNode = nodeId;
|
20576
21745
|
this.onClickNodeEvent.emit(nodeId);
|
20577
21746
|
};
|
20578
21747
|
QMSNavigationDrawerComponent.prototype.onOver = function (node) {
|
@@ -20834,8 +22003,8 @@
|
|
20834
22003
|
QMSNavigationDrawerComponent.decorators = [
|
20835
22004
|
{ type: i0.Component, args: [{
|
20836
22005
|
selector: 'app-qms-navigation-drawer',
|
20837
|
-
template: "<mat-tree class=\"qms-navigation-drawer-container\" [dataSource]=\"dataSource\" [treeControl]=\"treeControl\" cdkDropList\r\n (cdkDropListDropped)=\"drop($event)\" [cdkDropListDisabled]=\"dragDropListDisabled\">\r\n <!-- This is the tree node template for leaf nodes -->\r\n <mat-tree-node *matTreeNodeDef=\"let node\"
|
20838
|
-
styles: ["::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node{width:272px!important;height:48px!important}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node{min-height:34px;margin:16px 0;padding-right:34px}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content{width:100%;position:relative;cursor:pointer}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .arrow-icon{color:#00324e}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .collapse-expand-icon{color:#3e57b7}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .collapse-expand-icon:hover{background:rgba(0,0,0,.08)}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .add-icon
|
22006
|
+
template: "\r\n<mat-tree class=\"qms-navigation-drawer-container\" [dataSource]=\"dataSource\" [treeControl]=\"treeControl\" cdkDropList\r\n (cdkDropListDropped)=\"drop($event)\" [cdkDropListDisabled]=\"dragDropListDisabled\">\r\n <!-- This is the tree node template for leaf nodes -->\r\n <mat-tree-node *matTreeNodeDef=\"let node\" (mouseover)=\"onOver(node)\" matTreeNodePadding matTreeNodePaddingIndent=\"34\"\r\n cdkDrag [cdkDragData]=\"node\" (mouseenter)=\"dragHover(node)\" (mouseleave)=\"dragHoverEnd()\"\r\n (cdkDragStarted)=\"dragStart()\" (cdkDragReleased)=\"dragEnd()\"\r\n [ngClass]=\"{'expand-node' : treeControl.isExpanded(node), 'collapse-node': !treeControl.isExpanded(node), 'active': activeNode == node.id}\">\r\n <div *ngIf=\"!node.isReadOnly\" (click)=\"onClickNode(node.id)\" class=\"tree-content\">\r\n <button tabindex=\"-1\" class=\"button-icon collapse-expand-icon\" qms-btn-icon>\r\n <img class=\"img-icon\" [src]=\"faIconPath\" alt=\"\" />\r\n </button>\r\n <div class=\"span-text\">{{ node.name }}</div>\r\n <button tabindex=\"-1\" class=\"button-icon add-icon\"\r\n *ngIf=\"showFavoriteIcon && (node.id === hoverNode.id || node.favorite)\"\r\n (click)=\"addFavoriteNode(node.id, $event)\" (mouseenter)=\"setHoverFavorite(node.id)\"\r\n (mouseleave)=\"setHoverFavorite(null)\" [ngClass]=\"{'btn-favorite': (node.id === hoverNode.id && isHover)}\"\r\n qms-tool-tip=\"{{!node.favorite ? addFavoriteTooltip : deleteFavoriteTooltip}}\" mode=\"dark\" position=\"bottom\"\r\n qms-btn-icon>\r\n <mat-icon class=\"mat-icon-rtl-mirror blur-icon\" [class.favorite]=\"true\"\r\n [class.not-favorite]=\"!node.favorite && node.id === hoverNode.id && isHover\">\r\n {{node.favorite && node.id === hoverNode.id && isHover ? 'star_rate_outline' : ''}}\r\n {{!node.favorite && node.id === hoverNode.id && isHover ? 'star_border' : ''}}\r\n </mat-icon>\r\n </button>\r\n <button tabindex=\"-1\" class=\"button-icon add-icon\" *ngIf=\"node.id === hoverNode.id && isHover\"\r\n qms-tool-tip=\"{{addNodeTooltip}}\" (click)=\"addNewNode(node.id, $event)\" mode=\"dark\" position=\"bottom\" qms-btn-icon>\r\n <mat-icon class=\"mat-icon-rtl-mirror\">\r\n add\r\n </mat-icon>\r\n </button>\r\n </div>\r\n </mat-tree-node>\r\n <!-- This is the tree node template for expandable nodes -->\r\n <mat-tree-node *matTreeNodeDef=\"let node;when: hasChild\" (mouseover)=\"onOver(node)\" matTreeNodePadding\r\n matTreeNodePaddingIndent=\"34\" cdkDrag [cdkDragData]=\"node\" (mouseenter)=\"dragHover(node)\"\r\n (mouseleave)=\"dragHoverEnd()\" (cdkDragStarted)=\"dragStart()\" (cdkDragReleased)=\"dragEnd()\"\r\n [ngClass]=\"\r\n {'expand-node' : treeControl.isExpanded(node), 'collapse-node': !treeControl.isExpanded(node), 'active': activeNode == node.id}\">\r\n <div *ngIf=\"!node.isReadOnly\" (click)=\"onClickNode(node.id)\" class=\"tree-content\"\r\n (keydown)=\"onKeyDownNode($event, node)\">\r\n <button tabindex=\"-1\" class=\"button-icon collapse-expand-icon\" qms-btn-icon matTreeNodeToggle [attr.aria-label]=\"'toggle ' + node.name\"\r\n (click)=\"onClickToggleNode(node)\">\r\n <mat-icon class=\"mat-icon-rtl-mirror arrow-icon left-icon\">\r\n {{treeControl.isExpanded(node) ? 'expand_less' : 'expand_more'}}\r\n </mat-icon>\r\n </button>\r\n <div class=\"span-text\">{{ node.name }}</div>\r\n <button tabindex=\"-1\" class=\"button-icon add-icon\"\r\n qms-tool-tip=\"{{!node.favorite ? addFavoriteTooltip : deleteFavoriteTooltip}}\"\r\n *ngIf=\"showFavoriteIcon && (node.id === hoverNode.id || node.favorite)\"\r\n (click)=\"addFavoriteNode(node.id, $event)\" [ngClass]=\"{'btn-favorite': (node.id === hoverNode.id && isHover)}\"\r\n (mouseenter)=\"setHoverFavorite(node.id)\" (mouseleave)=\"setHoverFavorite(null)\" mode=\"dark\" position=\"below\"\r\n qms-btn-icon>\r\n <mat-icon class=\"mat-icon-rtl-mirror blur-icon\" [class.favorite]=\"true\"\r\n [class.not-favorite]=\"!node.favorite && node.id === hoverNode.id && isHover\">\r\n {{node.favorite && node.id === hoverNode.id && isHover ? 'star_rate_outline' : ''}}\r\n {{!node.favorite && node.id === hoverNode.id && isHover ? 'star_border' : ''}}\r\n </mat-icon>\r\n </button>\r\n <button tabindex=\"-1\" class=\"button-icon add-icon\" *ngIf=\"node.id === hoverNode.id && isHover\"\r\n qms-tool-tip=\"{{addNodeTooltip}}\" mode=\"dark\" position=\"bottom\" (click)=\"addNewNode(node.id, $event)\" qms-btn-icon>\r\n <mat-icon class=\"mat-icon-rtl-mirror\">\r\n add\r\n </mat-icon>\r\n </button>\r\n </div>\r\n </mat-tree-node>\r\n</mat-tree>\r\n",
|
22007
|
+
styles: ["::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node{width:272px!important;height:48px!important}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node{min-height:34px;margin:16px 0;padding-right:34px}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.active{background-color:#f2f7fd;color:#1954a9!important}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.active img{filter:opacity(.5) drop-shadow(0 0 0 #1954A9)}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content{width:100%;position:relative;cursor:pointer;align-items:center}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .arrow-icon{color:#00324e}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .collapse-expand-icon{color:#3e57b7}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .collapse-expand-icon:hover{background:rgba(0,0,0,.08)}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .add-icon:hover{background:rgba(0,0,0,.08)}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .left-icon{color:#919191}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.expand-node{padding-left:0;position:static;height:32px;left:calc(50% - 216px/2);top:0;font-family:Open Sans;font-style:normal;font-weight:400;font-size:14px;line-height:19px;display:flex;align-items:center;color:#1954a9;flex:none;order:0;align-self:stretch;flex-grow:1}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.expand-node ::ng-deep mat-icon{color:#1954a9}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.collapse-node{position:static;height:32px;left:calc(50% - 176px/2);top:0;font-family:Open Sans;font-style:normal;font-weight:400;font-size:14px;line-height:19px;display:flex;align-items:center;color:#323232;flex:none;order:0;align-self:stretch;flex-grow:1}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content{display:flex}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .button-icon{width:40px;height:40px;line-height:30px!important;border-radius:50%}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .button-icon:hover{border-radius:50%}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .img-icon{max-height:25px;max-width:25px}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .add-icon{position:absolute;right:-34px}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .add-icon mat-icon{top:3px;right:3px;border-radius:50%;color:rgba(0,0,0,.6)}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .favorite{color:#b13514!important}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .not-favorite{color:rgba(0,0,0,.6)!important}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .btn-favorite{right:6px;color:unset}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .space-icon{position:absolute;top:-5px;left:0}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .span-text{position:relative;overflow:hidden;text-overflow:ellipsis;padding-left:7px;max-width:calc(100% - 56px);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .span-text:after{content:\"\";display:block;clear:both}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node:first-child{margin:0}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.collapse-node:hover{background:#00000014}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.collapse-node:active{background:#0000001f}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.expand-node:active{background:#f2f7fd}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node:hover .span-text{max-width:calc(100% - 96px)}"]
|
20839
22008
|
},] }
|
20840
22009
|
];
|
20841
22010
|
QMSNavigationDrawerComponent.ctorParameters = function () { return []; };
|
@@ -20872,11 +22041,11 @@
|
|
20872
22041
|
common.CommonModule,
|
20873
22042
|
icon.MatIconModule,
|
20874
22043
|
toolbar.MatToolbarModule,
|
20875
|
-
button.MatButtonModule,
|
20876
22044
|
QMSButtonModule,
|
20877
22045
|
tooltip.MatTooltipModule,
|
20878
22046
|
dragDrop.DragDropModule,
|
20879
|
-
tree$1.MatTreeModule
|
22047
|
+
tree$1.MatTreeModule,
|
22048
|
+
QmsAngularModule
|
20880
22049
|
],
|
20881
22050
|
exports: [
|
20882
22051
|
QMSNavigationDrawerComponent
|
@@ -20884,6 +22053,232 @@
|
|
20884
22053
|
},] }
|
20885
22054
|
];
|
20886
22055
|
|
22056
|
+
var DEFAULT_PAGE_SIZE = 50;
|
22057
|
+
exports.PaginationSize = void 0;
|
22058
|
+
(function (PaginationSize) {
|
22059
|
+
PaginationSize["small"] = "small";
|
22060
|
+
PaginationSize["medium"] = "medium";
|
22061
|
+
PaginationSize["large"] = "large";
|
22062
|
+
PaginationSize["mobile"] = "mobile";
|
22063
|
+
})(exports.PaginationSize || (exports.PaginationSize = {}));
|
22064
|
+
var QMSPaginatorComponent = /** @class */ (function () {
|
22065
|
+
function QMSPaginatorComponent() {
|
22066
|
+
this.sizeMedium = 'medium';
|
22067
|
+
this.sizeSmall = 'small';
|
22068
|
+
this.sizeLarge = 'large';
|
22069
|
+
this.sizeMobile = 'mobile';
|
22070
|
+
this.size = exports.PaginationSize.large;
|
22071
|
+
this._pageSizeOptions = [5, 10, 25, 100];
|
22072
|
+
this._pageSize = 10;
|
22073
|
+
this._length = 0;
|
22074
|
+
this._pageIndex = 0;
|
22075
|
+
this.page = new i0.EventEmitter();
|
22076
|
+
this.previousPageIndex = 0;
|
22077
|
+
this.numberOfPages = [];
|
22078
|
+
this.displayNumberOfPages = [];
|
22079
|
+
}
|
22080
|
+
Object.defineProperty(QMSPaginatorComponent.prototype, "pageSizeOptions", {
|
22081
|
+
get: function () {
|
22082
|
+
return this._pageSizeOptions;
|
22083
|
+
},
|
22084
|
+
set: function (value) {
|
22085
|
+
this._pageSizeOptions = (value || []).map(function (p) { return coercion.coerceNumberProperty(p); });
|
22086
|
+
},
|
22087
|
+
enumerable: false,
|
22088
|
+
configurable: true
|
22089
|
+
});
|
22090
|
+
Object.defineProperty(QMSPaginatorComponent.prototype, "pageSize", {
|
22091
|
+
get: function () {
|
22092
|
+
return this._pageSize;
|
22093
|
+
},
|
22094
|
+
set: function (value) {
|
22095
|
+
this._pageSize = Math.max(coercion.coerceNumberProperty(value), 0);
|
22096
|
+
this._updateDisplayedPageSizeOptions();
|
22097
|
+
},
|
22098
|
+
enumerable: false,
|
22099
|
+
configurable: true
|
22100
|
+
});
|
22101
|
+
Object.defineProperty(QMSPaginatorComponent.prototype, "length", {
|
22102
|
+
get: function () {
|
22103
|
+
return this._length;
|
22104
|
+
},
|
22105
|
+
set: function (value) {
|
22106
|
+
this._length = coercion.coerceNumberProperty(value);
|
22107
|
+
},
|
22108
|
+
enumerable: false,
|
22109
|
+
configurable: true
|
22110
|
+
});
|
22111
|
+
Object.defineProperty(QMSPaginatorComponent.prototype, "pageIndex", {
|
22112
|
+
get: function () {
|
22113
|
+
return this._pageIndex + 1;
|
22114
|
+
},
|
22115
|
+
set: function (value) {
|
22116
|
+
this.previousPageIndex = this._pageIndex;
|
22117
|
+
this._pageIndex = Math.max(coercion.coerceNumberProperty(value - 1), 0);
|
22118
|
+
this.displayNumberOfPages = this.pagination(this._pageIndex, this.numberOfPages.length);
|
22119
|
+
this._emitPageEvent(this.previousPageIndex);
|
22120
|
+
},
|
22121
|
+
enumerable: false,
|
22122
|
+
configurable: true
|
22123
|
+
});
|
22124
|
+
QMSPaginatorComponent.prototype.ngOnInit = function () {
|
22125
|
+
this.getNumberOfPages();
|
22126
|
+
};
|
22127
|
+
QMSPaginatorComponent.prototype._updateDisplayedPageSizeOptions = function () {
|
22128
|
+
if (!this.pageSize) {
|
22129
|
+
this._pageSize =
|
22130
|
+
this.pageSizeOptions.length != 0 ? this.pageSizeOptions[0] : DEFAULT_PAGE_SIZE;
|
22131
|
+
}
|
22132
|
+
};
|
22133
|
+
QMSPaginatorComponent.prototype.getNumberOfPages = function () {
|
22134
|
+
if (!this.pageSize) {
|
22135
|
+
return;
|
22136
|
+
}
|
22137
|
+
this.numberOfPages = [];
|
22138
|
+
var Arrlength = Math.ceil(this._length / this._pageSize);
|
22139
|
+
for (var index = 1; index <= Arrlength; index++) {
|
22140
|
+
this.numberOfPages.push(index);
|
22141
|
+
}
|
22142
|
+
this.minPage = 1;
|
22143
|
+
this.maxpage = this.numberOfPages.length;
|
22144
|
+
this.renderDisplayNumberOfpages();
|
22145
|
+
};
|
22146
|
+
QMSPaginatorComponent.prototype.renderDisplayNumberOfpages = function () {
|
22147
|
+
if (this.numberOfPages.length <= 5) {
|
22148
|
+
this.displayNumberOfPages = this.numberOfPages.map(function (x) { return x.toString(); });
|
22149
|
+
return;
|
22150
|
+
}
|
22151
|
+
this.displayNumberOfPages = this.numberOfPages.map(function (x) { return x.toString(); });
|
22152
|
+
this.displayNumberOfPages = this.pagination(this.pageIndex, this.numberOfPages.length);
|
22153
|
+
};
|
22154
|
+
QMSPaginatorComponent.prototype.changePage = function (page) {
|
22155
|
+
this.pageIndex = page;
|
22156
|
+
this.displayNumberOfPages = this.pagination(parseInt(page.toString()), this.numberOfPages.length);
|
22157
|
+
};
|
22158
|
+
QMSPaginatorComponent.prototype.pagination = function (c, m) {
|
22159
|
+
var e_1, _a;
|
22160
|
+
var current = c;
|
22161
|
+
var last = m;
|
22162
|
+
var delta = 1;
|
22163
|
+
if (current == this.minPage || current == this.maxpage) {
|
22164
|
+
delta = 3;
|
22165
|
+
}
|
22166
|
+
else if (current == (this.minPage + 1)) {
|
22167
|
+
delta = 2;
|
22168
|
+
}
|
22169
|
+
else if (current == (this.maxpage - 1)) {
|
22170
|
+
delta = 2;
|
22171
|
+
}
|
22172
|
+
var left = current - delta;
|
22173
|
+
var right = current + delta + 1;
|
22174
|
+
var range = [];
|
22175
|
+
var rangeWithDots = [];
|
22176
|
+
var l;
|
22177
|
+
for (var i = 1; i <= last; i++) {
|
22178
|
+
if (i == 1 || i == last || i >= left && i < right) {
|
22179
|
+
range.push(i);
|
22180
|
+
}
|
22181
|
+
}
|
22182
|
+
try {
|
22183
|
+
for (var range_1 = __values(range), range_1_1 = range_1.next(); !range_1_1.done; range_1_1 = range_1.next()) {
|
22184
|
+
var i = range_1_1.value;
|
22185
|
+
if (l) {
|
22186
|
+
if (i - l !== 1) {
|
22187
|
+
rangeWithDots.push('...');
|
22188
|
+
}
|
22189
|
+
}
|
22190
|
+
rangeWithDots.push(i);
|
22191
|
+
l = i;
|
22192
|
+
}
|
22193
|
+
}
|
22194
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
22195
|
+
finally {
|
22196
|
+
try {
|
22197
|
+
if (range_1_1 && !range_1_1.done && (_a = range_1.return)) _a.call(range_1);
|
22198
|
+
}
|
22199
|
+
finally { if (e_1) throw e_1.error; }
|
22200
|
+
}
|
22201
|
+
return rangeWithDots;
|
22202
|
+
};
|
22203
|
+
QMSPaginatorComponent.prototype.nextPage = function () {
|
22204
|
+
this.previousPageIndex = this.pageIndex;
|
22205
|
+
this.pageIndex = this.pageIndex + 1;
|
22206
|
+
this.displayNumberOfPages = this.pagination(this.pageIndex, this.numberOfPages.length);
|
22207
|
+
};
|
22208
|
+
QMSPaginatorComponent.prototype.previousPage = function () {
|
22209
|
+
this.previousPageIndex = this.pageIndex;
|
22210
|
+
this.pageIndex = this.pageIndex - 1;
|
22211
|
+
this.displayNumberOfPages = this.pagination(this.pageIndex, this.numberOfPages.length);
|
22212
|
+
};
|
22213
|
+
QMSPaginatorComponent.prototype._changePageSize = function (pageSize) {
|
22214
|
+
this.previousPageIndex = this.pageIndex;
|
22215
|
+
this.pageSize = pageSize;
|
22216
|
+
this.pageIndex = 1;
|
22217
|
+
this.getNumberOfPages();
|
22218
|
+
};
|
22219
|
+
QMSPaginatorComponent.prototype._changePageNumber = function (pageNumber) {
|
22220
|
+
this.pageIndex = pageNumber;
|
22221
|
+
this.getNumberOfPages();
|
22222
|
+
};
|
22223
|
+
QMSPaginatorComponent.prototype._emitPageEvent = function (previousPageIndex) {
|
22224
|
+
this.page.emit({
|
22225
|
+
previousPageIndex: previousPageIndex,
|
22226
|
+
pageIndex: this._pageIndex,
|
22227
|
+
pageSize: this.pageSize,
|
22228
|
+
length: this.length,
|
22229
|
+
});
|
22230
|
+
};
|
22231
|
+
QMSPaginatorComponent.prototype.ngAfterViewChecked = function () {
|
22232
|
+
};
|
22233
|
+
return QMSPaginatorComponent;
|
22234
|
+
}());
|
22235
|
+
QMSPaginatorComponent.decorators = [
|
22236
|
+
{ type: i0.Component, args: [{
|
22237
|
+
selector: 'qms-paginator',
|
22238
|
+
template: "<div class=\"qms-paginator-outer-container\" [class.size-small]='size == sizeSmall'>\r\n <div class=\"mat-paginator-container\" *ngIf='size != sizeMobile'>\r\n <div class=\"qms-total-result\">\r\n <span>Resultater: {{length}}</span>\r\n </div>\r\n <div class=\"qms-paginator-page-size\" *ngIf='size != sizeSmall'>\r\n <div class=\"qms-pagesize-label\">Rader per side:</div>\r\n <mat-form-field\r\n qms-form\r\n qms-select-input\r\n class=\"qms-form-page-size\"\r\n appearance=\"fill\">\r\n <mat-select\r\n panelClass=\"qms-select-panel\"\r\n [value]=\"pageSize\"\r\n (selectionChange)=\"_changePageSize($event.value)\"\r\n qms-select>\r\n <mat-option *ngFor=\"let item of pageSizeOptions\" [value]=\"item\">\r\n {{ item }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"qms-paginator-page-size\" *ngIf='size != sizeMedium && size != sizeSmall'>\r\n <div class=\"qms-pagesize-label \">Hopp til side:</div>\r\n\r\n <mat-form-field\r\n qms-form\r\n qms-select-input\r\n class=\"qms-form-page-size\"\r\n appearance=\"fill\">\r\n <mat-select\r\n panelClass=\"qms-select-panel\"\r\n [value]=\"pageIndex\"\r\n (selectionChange)=\"_changePageNumber($event.value)\"\r\n qms-select>\r\n <mat-option *ngFor=\"let item of numberOfPages\" [value]=\"item\">\r\n {{ item }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field> \r\n </div>\r\n <div class=\"qms-paginator-range-actions\">\r\n <button qms-btn-icon color=\"light\" (click)='previousPage()' [disabled]='minPage == pageIndex'>\r\n <mat-icon>chevron_left</mat-icon>\r\n </button>\r\n <ng-container *ngFor='let item of displayNumberOfPages' >\r\n <span *ngIf='item == \"...\"' class=\"qms-3d\">{{item}}</span>\r\n <button *ngIf='item != \"...\"' qms-btn-icon color=\"light\" \r\n [class.selected]='pageIndex == item' [disabled]='pageIndex == item'\r\n (click)='changePage(item)'>\r\n {{item}}\r\n </button>\r\n </ng-container>\r\n \r\n <button qms-btn-icon color=\"light\" (click)='nextPage()' [disabled]='maxpage == pageIndex'>\r\n <mat-icon>chevron_right</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <div class=\"mat-paginator-container-mobile\" *ngIf='size == sizeMobile'>\r\n <div class=\"mat-paginator-container\" *ngIf='size == sizeMobile'>\r\n <div class=\"qms-paginator-range-actions\">\r\n <button qms-btn-icon color=\"light\" (click)='previousPage()' [disabled]='minPage == pageIndex'>\r\n <mat-icon>chevron_left</mat-icon>\r\n </button>\r\n <ng-container *ngFor='let item of displayNumberOfPages' >\r\n <span *ngIf='item == \"...\"' class=\"qms-3d\">{{item}}</span>\r\n <button *ngIf='item != \"...\"' qms-btn-icon color=\"light\" \r\n [class.selected]='pageIndex == item' [disabled]='pageIndex == item'\r\n (click)='changePage(item)'>\r\n {{item}}\r\n </button>\r\n </ng-container>\r\n \r\n <button qms-btn-icon color=\"light\" (click)='nextPage()' [disabled]='maxpage == pageIndex'>\r\n <mat-icon>chevron_right</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"qms-total-result\">\r\n <span>Resultater: {{length}}</span>\r\n </div>\r\n <div style=\"display: flex;\">\r\n <div class=\"qms-paginator-page-size\" *ngIf='size != sizeSmall'>\r\n <div class=\"qms-pagesize-label\">Rader per side:</div>\r\n <mat-form-field\r\n qms-form\r\n qms-select-input\r\n class=\"qms-form-page-size\"\r\n appearance=\"fill\">\r\n <mat-select\r\n panelClass=\"qms-select-panel\"\r\n [value]=\"pageSize\"\r\n (selectionChange)=\"_changePageSize($event.value)\"\r\n qms-select>\r\n <mat-option *ngFor=\"let item of pageSizeOptions\" [value]=\"item\">\r\n {{ item }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"qms-paginator-page-size\" *ngIf='size != sizeMedium && size != sizeSmall'>\r\n <div class=\"qms-pagesize-label \">Hopp til side:</div>\r\n <mat-form-field\r\n qms-form\r\n qms-select-input\r\n class=\"qms-form-page-size\"\r\n appearance=\"fill\">\r\n <mat-select\r\n panelClass=\"qms-select-panel\"\r\n [value]=\"pageIndex\"\r\n (selectionChange)=\"_changePageNumber($event.value)\"\r\n qms-select>\r\n <mat-option *ngFor=\"let item of numberOfPages\" [value]=\"item\">\r\n {{ item }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field> \r\n </div>\r\n </div>\r\n \r\n </div>\r\n \r\n</div>",
|
22239
|
+
host: {
|
22240
|
+
'class': 'qms-paginator'
|
22241
|
+
},
|
22242
|
+
styles: ["::ng-deep .qms-paginator{display:block}::ng-deep .qms-paginator .qms-paginator-outer-container{display:flex}::ng-deep .qms-paginator .mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}::ng-deep .qms-paginator .mat-paginator-container .mat-select .mat-select-arrow{margin-top:17.5px}::ng-deep .qms-paginator .mat-paginator-container .qms-total-result{margin-right:24px;margin-bottom:15px}::ng-deep .qms-paginator .mat-paginator-container .qms-total-result span{font-weight:400;font-size:14px;line-height:22px;color:rgba(0,0,0,.6)}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-page-size{margin-right:24px;display:flex;align-items:baseline}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-page-size .qms-pagesize-label{font-weight:400;font-size:14px;line-height:22px;color:#323232;font-family:Open Sans;font-style:normal;margin-right:8px}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-page-size .qms-form-page-size .mat-form-field-flex{width:80px}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-page-size .jump-page .mat-form-field-wrapper .mat-form-field-flex{width:55px}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-page-size .mat-form-field-flex{height:40px}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-page-size .mat-form-field-flex .mat-form-field-infix{padding-top:7px;border-top:0;padding-bottom:0}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-range-actions{display:flex;align-items:center;margin-bottom:15px}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-range-actions .selected{background-color:#e5eefb;color:#1954a9}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-range-actions .qms-3d{font-weight:600;font-size:14px;line-height:22px;color:#323232}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-range-actions button:not(.qms-btn-disabled) .qms-btn-icon-wrapper{color:#323232}::ng-deep .qms-paginator .mat-paginator-container-mobile .mat-select .mat-select-arrow{margin-top:17.5px}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-total-result{margin-bottom:16px}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-total-result span{font-family:Open Sans;font-style:normal;font-weight:400;font-size:12px;line-height:16px;color:rgba(0,0,0,.6)}::ng-deep .qms-paginator .mat-paginator-container-mobile .mat-paginator-container{justify-content:flex-start}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-paginator-page-size{margin-right:24px;display:flex;align-items:baseline}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-paginator-page-size .qms-pagesize-label{font-weight:400;font-size:12px;line-height:22px;color:#323232;font-family:Open Sans;font-style:normal;margin-right:8px}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-paginator-page-size .qms-form-page-size .mat-form-field-flex{width:80px}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-paginator-page-size .jump-page .mat-form-field-wrapper .mat-form-field-flex{width:55px}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-paginator-page-size .mat-form-field-flex{height:40px}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-paginator-page-size .mat-form-field-flex .mat-form-field-infix{padding-top:7px;border-top:0;padding-bottom:0}::ng-deep .qms-paginator .size-small .mat-paginator-container{justify-content:flex-start}"]
|
22243
|
+
},] }
|
22244
|
+
];
|
22245
|
+
QMSPaginatorComponent.ctorParameters = function () { return []; };
|
22246
|
+
QMSPaginatorComponent.propDecorators = {
|
22247
|
+
size: [{ type: i0.Input }],
|
22248
|
+
pageSizeOptions: [{ type: i0.Input }],
|
22249
|
+
pageSize: [{ type: i0.Input }],
|
22250
|
+
length: [{ type: i0.Input }],
|
22251
|
+
pageIndex: [{ type: i0.Input }],
|
22252
|
+
page: [{ type: i0.Output }]
|
22253
|
+
};
|
22254
|
+
|
22255
|
+
var QmsPaginatorModule = /** @class */ (function () {
|
22256
|
+
function QmsPaginatorModule() {
|
22257
|
+
}
|
22258
|
+
return QmsPaginatorModule;
|
22259
|
+
}());
|
22260
|
+
QmsPaginatorModule.decorators = [
|
22261
|
+
{ type: i0.NgModule, args: [{
|
22262
|
+
declarations: [
|
22263
|
+
QMSPaginatorComponent
|
22264
|
+
],
|
22265
|
+
imports: [
|
22266
|
+
common.CommonModule,
|
22267
|
+
forms.FormsModule,
|
22268
|
+
forms.ReactiveFormsModule,
|
22269
|
+
icon.MatIconModule,
|
22270
|
+
tooltip.MatTooltipModule,
|
22271
|
+
select.MatSelectModule,
|
22272
|
+
button.MatButtonModule,
|
22273
|
+
QmsAngularModule,
|
22274
|
+
QMSButtonModule,
|
22275
|
+
],
|
22276
|
+
exports: [
|
22277
|
+
QMSPaginatorComponent
|
22278
|
+
]
|
22279
|
+
},] }
|
22280
|
+
];
|
22281
|
+
|
20887
22282
|
/*
|
20888
22283
|
* Public API Surface of qms-angular
|
20889
22284
|
*/
|
@@ -20954,6 +22349,8 @@
|
|
20954
22349
|
exports.QMSCKEditorConfirmComponent = QMSCKEditorConfirmComponent;
|
20955
22350
|
exports.QMSCKEditorData = QMSCKEditorData;
|
20956
22351
|
exports.QMSCKEditorDialogData = QMSCKEditorDialogData;
|
22352
|
+
exports.QMSCKEditorFlowchart = QMSCKEditorFlowchart;
|
22353
|
+
exports.QMSCKEditorFlowchartService = QMSCKEditorFlowchartService;
|
20957
22354
|
exports.QMSCKEditorFullscreenComponent = QMSCKEditorFullscreenComponent;
|
20958
22355
|
exports.QMSCKEditorGlobalService = QMSCKEditorGlobalService;
|
20959
22356
|
exports.QMSCKEditorInjector = QMSCKEditorInjector;
|
@@ -20965,6 +22362,7 @@
|
|
20965
22362
|
exports.QMSCKEditorPlugin = QMSCKEditorPlugin;
|
20966
22363
|
exports.QMSCKEditorRelatedComponent = QMSCKEditorRelatedComponent;
|
20967
22364
|
exports.QMSCKEditorRelation = QMSCKEditorRelation;
|
22365
|
+
exports.QMSCKEditorSaveAsTemplate = QMSCKEditorSaveAsTemplate;
|
20968
22366
|
exports.QMSCKEditorTemplate = QMSCKEditorTemplate;
|
20969
22367
|
exports.QMSCKEditorTemplateService = QMSCKEditorTemplateService;
|
20970
22368
|
exports.QMSCKEditorToastService = QMSCKEditorToastService;
|
@@ -21013,15 +22411,16 @@
|
|
21013
22411
|
exports.QMSNavigationDrawerComponent = QMSNavigationDrawerComponent;
|
21014
22412
|
exports.QMSNavigationDrawerModule = QMSNavigationDrawerModule;
|
21015
22413
|
exports.QMSNewTreeModule = QMSNewTreeModule;
|
22414
|
+
exports.QMSPaginatorComponent = QMSPaginatorComponent;
|
21016
22415
|
exports.QMSProcessDocumentItem = QMSProcessDocumentItem;
|
21017
22416
|
exports.QMSRangeSliderDirective = QMSRangeSliderDirective;
|
21018
22417
|
exports.QMSRangeSliderLockUpDirective = QMSRangeSliderLockUpDirective;
|
22418
|
+
exports.QMSRangeSliderModule = QMSRangeSliderModule;
|
21019
22419
|
exports.QMSRelatedGlobalService = QMSRelatedGlobalService;
|
21020
22420
|
exports.QMSRelatedModule = QMSRelatedModule;
|
21021
22421
|
exports.QMSRichText = QMSRichText;
|
21022
22422
|
exports.QMSRichTextModule = QMSRichTextModule;
|
21023
22423
|
exports.QMSRowDetailDirective = QMSRowDetailDirective;
|
21024
|
-
exports.QMSRowExpandDirective = QMSRowExpandDirective;
|
21025
22424
|
exports.QMSScrolableAttachmentListDirective = QMSScrolableAttachmentListDirective;
|
21026
22425
|
exports.QMSScrollbarDirective = QMSScrollbarDirective;
|
21027
22426
|
exports.QMSSearchFieldDirective = QMSSearchFieldDirective;
|
@@ -21031,6 +22430,7 @@
|
|
21031
22430
|
exports.QMSSelectOneModule = QMSSelectOneModule;
|
21032
22431
|
exports.QMSSelectProcessDocumentGlobalService = QMSSelectProcessDocumentGlobalService;
|
21033
22432
|
exports.QMSSelectProcessDocumentModule = QMSSelectProcessDocumentModule;
|
22433
|
+
exports.QMSSideSheetModule = QMSSideSheetModule;
|
21034
22434
|
exports.QMSSnackbarConfig = QMSSnackbarConfig;
|
21035
22435
|
exports.QMSSuffixDirective = QMSSuffixDirective;
|
21036
22436
|
exports.QMSSuffixFieldDirective = QMSSuffixFieldDirective;
|
@@ -21042,7 +22442,6 @@
|
|
21042
22442
|
exports.QMSTableActionBlock = QMSTableActionBlock;
|
21043
22443
|
exports.QMSTableChildrenDirective = QMSTableChildrenDirective;
|
21044
22444
|
exports.QMSTableDirective = QMSTableDirective;
|
21045
|
-
exports.QMSTableExpandDirective = QMSTableExpandDirective;
|
21046
22445
|
exports.QMSTableModule = QMSTableModule;
|
21047
22446
|
exports.QMSTextBlockDirective = QMSTextBlockDirective;
|
21048
22447
|
exports.QMSTextBlockLine = QMSTextBlockLine;
|
@@ -21070,6 +22469,7 @@
|
|
21070
22469
|
exports.QmsBannerLoadingComponent = QmsBannerLoadingComponent;
|
21071
22470
|
exports.QmsBannerLoadingModule = QmsBannerLoadingModule;
|
21072
22471
|
exports.QmsBannerModule = QmsBannerModule;
|
22472
|
+
exports.QmsPaginatorModule = QmsPaginatorModule;
|
21073
22473
|
exports.QmsReportContentPortraitComponent = QmsReportContentPortraitComponent;
|
21074
22474
|
exports.QmsReportCoverPortraitComponent = QmsReportCoverPortraitComponent;
|
21075
22475
|
exports.QmsReportModule = QmsReportModule;
|
@@ -21123,14 +22523,18 @@
|
|
21123
22523
|
exports.notExceedSize = notExceedSize;
|
21124
22524
|
exports.requiredFileType = requiredFileType;
|
21125
22525
|
exports.ɵ1 = ɵ1;
|
21126
|
-
exports.ɵa =
|
21127
|
-
exports.ɵb =
|
22526
|
+
exports.ɵa = QMSTableRowDirective;
|
22527
|
+
exports.ɵb = SharedMaterialModule;
|
21128
22528
|
exports.ɵc = QMSCKEditorTreeService;
|
21129
|
-
exports.ɵd =
|
21130
|
-
exports.ɵe =
|
21131
|
-
exports.ɵf =
|
21132
|
-
exports.ɵg =
|
21133
|
-
exports.ɵh =
|
22529
|
+
exports.ɵd = QMSCKEditorTemplateComponent;
|
22530
|
+
exports.ɵe = LinkAttachmentComponent;
|
22531
|
+
exports.ɵf = QMSCKEditorTooltipComponent;
|
22532
|
+
exports.ɵg = QMSCKEditorTooltip;
|
22533
|
+
exports.ɵh = QMSCKEditorImageMapComponent;
|
22534
|
+
exports.ɵi = QMSCKEditorImageMap;
|
22535
|
+
exports.ɵj = QMSCKEditorUploadService;
|
22536
|
+
exports.ɵk = QMSCKEditorBpmnData;
|
22537
|
+
exports.ɵl = QMSCKEditorAboutComponent;
|
21134
22538
|
|
21135
22539
|
Object.defineProperty(exports, '__esModule', { value: true });
|
21136
22540
|
|