@worktile/theia 16.1.2 → 16.1.4
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/components/contextmenu/contextmenu.component.d.ts +1 -1
- package/components/conversion-hint/conversion-hint.component.d.ts +1 -1
- package/components/inline-toolbar/inline-toolbar.component.d.ts +1 -1
- package/components/listbox/listbox.d.ts +3 -3
- package/components/plugin-menu/plugin-menu.component.d.ts +1 -1
- package/components/table-select/table-select.component.d.ts +1 -1
- package/components/toolbar/toolbar.component.d.ts +1 -1
- package/components/toolbar-group/toolbar-group.component.d.ts +1 -1
- package/core/toolbar-item/base-toolbar-item.d.ts +2 -2
- package/editor.component.d.ts +1 -1
- package/editor.module.d.ts +1 -1
- package/{esm2022 → esm2020}/components/action/prevent-default.mjs +4 -4
- package/{esm2022 → esm2020}/components/column-resize/column-resize-notifier.mjs +4 -4
- package/{esm2022 → esm2020}/components/column-resize/column-resize.directive.mjs +4 -4
- package/{esm2022 → esm2020}/components/column-resize/column-resize.module.mjs +9 -9
- package/{esm2022 → esm2020}/components/column-resize/event-dispatcher.mjs +4 -4
- package/{esm2022 → esm2020}/components/column-resize/overlay-handle.component.mjs +4 -4
- package/{esm2022 → esm2020}/components/column-resize/resizing.store.mjs +4 -4
- package/{esm2022 → esm2020}/components/contextmenu/contextmenu.component.mjs +4 -4
- package/{esm2022 → esm2020}/components/conversion-hint/conversion-hint.component.mjs +4 -4
- package/{esm2022 → esm2020}/components/element/element.component.mjs +4 -4
- package/{esm2022 → esm2020}/components/inline-toolbar/inline-toolbar.component.mjs +6 -6
- package/esm2020/components/listbox/listbox.mjs +375 -0
- package/{esm2022 → esm2020}/components/plugin-menu/plugin-menu.component.mjs +4 -4
- package/{esm2022 → esm2020}/components/table-select/table-select.component.mjs +4 -4
- package/{esm2022 → esm2020}/components/template/template.component.mjs +4 -4
- package/{esm2022 → esm2020}/components/text/text.component.mjs +4 -4
- package/{esm2022 → esm2020}/components/toolbar/toolbar.component.mjs +4 -4
- package/{esm2022 → esm2020}/components/toolbar-dropdown/toolbar-dropdown.component.mjs +4 -4
- package/{esm2022 → esm2020}/components/toolbar-group/toolbar-group.component.mjs +4 -4
- package/{esm2022 → esm2020}/components/toolbar-item/toolbar-item.component.mjs +6 -6
- package/esm2020/constants/plugin-menu.mjs +309 -0
- package/{esm2022 → esm2020}/core/toolbar-item/base-toolbar-item.mjs +7 -7
- package/{esm2022 → esm2020}/editor.component.mjs +11 -11
- package/esm2020/editor.module.mjs +254 -0
- package/{esm2022 → esm2020}/interfaces/view-base.mjs +4 -4
- package/{esm2022 → esm2020}/pipes.mjs +10 -10
- package/{esm2022 → esm2020}/plugins/blockquote/blockquote.component.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/code/code.component.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/color/toolbar-item.component.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/hr/hr.component.mjs +6 -6
- package/{esm2022 → esm2020}/plugins/image/image.component.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/inline-code/inline-code.component.mjs +6 -6
- package/{esm2022 → esm2020}/plugins/link/edit/link-edit.component.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/link/hover/link-hover.component.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/link/link.component.mjs +9 -9
- package/{esm2022 → esm2020}/plugins/list/components/bulleted-list.component.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/list/components/list-item.component.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/list/components/numbered-list.component.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/mention/suggestion.component.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/quick-insert/components/quick-insert.component.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/table/components/insert-mark/insert-mark.component.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/table/components/row/row.component.mjs +6 -6
- package/{esm2022 → esm2020}/plugins/table/components/table.component.mjs +16 -16
- package/{esm2022 → esm2020}/plugins/table/components/td/td.component.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/table/components/toolbar/table-options.component.mjs +6 -6
- package/esm2020/plugins/table/components/toolbar/table-toolbar.component.mjs +190 -0
- package/{esm2022 → esm2020}/plugins/table/table.pipe.mjs +7 -7
- package/{esm2022 → esm2020}/plugins/table/table.service.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/table/table.store.mjs +4 -4
- package/{esm2022 → esm2020}/plugins/table/toolbar-item.component.mjs +6 -7
- package/{esm2022 → esm2020}/plugins/todo-item/todo-item.component.mjs +6 -6
- package/esm2020/plugins/vertical-align/toolbar-item.component.mjs +82 -0
- package/{esm2022 → esm2020}/services/context.service.mjs +4 -4
- package/{esm2022 → esm2020}/services/table-contextmenu.service.mjs +4 -4
- package/{esm2022 → esm2020}/services/toolbar.service.mjs +4 -4
- package/fesm2015/worktile-theia.mjs +16706 -0
- package/fesm2015/worktile-theia.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/worktile-theia.mjs +431 -448
- package/fesm2020/worktile-theia.mjs.map +1 -0
- package/interfaces/editor.d.ts +2 -4
- package/package.json +11 -5
- package/plugins/link/edit/link-edit.component.d.ts +1 -1
- package/plugins/link/hover/link-hover.component.d.ts +1 -1
- package/plugins/mention/suggestion.component.d.ts +1 -1
- package/plugins/quick-insert/components/quick-insert.component.d.ts +1 -1
- package/plugins/table/components/insert-mark/insert-mark.component.d.ts +1 -1
- package/plugins/table/components/table.component.d.ts +1 -1
- package/plugins/table/components/toolbar/table-options.component.d.ts +1 -1
- package/plugins/table/components/toolbar/table-toolbar.component.d.ts +1 -1
- package/queries/is-range-across-blocks.d.ts +1 -1
- package/esm2022/components/listbox/listbox.mjs +0 -375
- package/esm2022/constants/plugin-menu.mjs +0 -325
- package/esm2022/editor.module.mjs +0 -254
- package/esm2022/plugins/table/components/toolbar/table-toolbar.component.mjs +0 -189
- package/esm2022/plugins/vertical-align/toolbar-item.component.mjs +0 -83
- package/fesm2022/worktile-theia.mjs.map +0 -1
- /package/{esm2022 → esm2020}/components/column-resize/resize-ref.mjs +0 -0
- /package/{esm2022 → esm2020}/components/column-resize/selectors.mjs +0 -0
- /package/{esm2022 → esm2020}/components/index.mjs +0 -0
- /package/{esm2022 → esm2020}/components/listbox/listbox.type.mjs +0 -0
- /package/{esm2022 → esm2020}/constants/auto-format-rules.mjs +0 -0
- /package/{esm2022 → esm2020}/constants/code.mjs +0 -0
- /package/{esm2022 → esm2020}/constants/color-select.mjs +0 -0
- /package/{esm2022 → esm2020}/constants/default.mjs +0 -0
- /package/{esm2022 → esm2020}/constants/error.mjs +0 -0
- /package/{esm2022 → esm2020}/constants/index.mjs +0 -0
- /package/{esm2022 → esm2020}/constants/node-types.mjs +0 -0
- /package/{esm2022 → esm2020}/constants/selector.mjs +0 -0
- /package/{esm2022 → esm2020}/constants/toolbar.mjs +0 -0
- /package/{esm2022 → esm2020}/core/create-plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/core/create-toolbar.mjs +0 -0
- /package/{esm2022 → esm2020}/core/index.mjs +0 -0
- /package/{esm2022 → esm2020}/core/utils/combine-plugins.mjs +0 -0
- /package/{esm2022 → esm2020}/core/utils/flatten-deep-plugins.mjs +0 -0
- /package/{esm2022 → esm2020}/core/utils/get-plugin-options.mjs +0 -0
- /package/{esm2022 → esm2020}/core/utils/get-plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/core/utils/get-plugins.mjs +0 -0
- /package/{esm2022 → esm2020}/core/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/core/utils/merge-array.mjs +0 -0
- /package/{esm2022 → esm2020}/core/utils/merge-deep-plugins.mjs +0 -0
- /package/{esm2022 → esm2020}/core/utils/merge-options.mjs +0 -0
- /package/{esm2022 → esm2020}/core/utils/nested-structure-by-key.mjs +0 -0
- /package/{esm2022 → esm2020}/core/utils/plugin-menu.mjs +0 -0
- /package/{esm2022 → esm2020}/core/utils/plugins-by-key.mjs +0 -0
- /package/{esm2022 → esm2020}/core/with-theia.mjs +0 -0
- /package/{esm2022 → esm2020}/custom-types.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/auto-format.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/editor.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/element.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/image.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/index.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/plugins/index.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/plugins/no-infer.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/plugins/plugin-key.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/plugins/plugin-menu.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/plugins/plugins.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/plugins/with-override.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/reset-block-type-plugin-options.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/toolbar.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/upload.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/utility/index.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/utility/nested-structure-by-key.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/utility/override-by-key.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/utility/types.mjs +0 -0
- /package/{esm2022 → esm2020}/interfaces/valid-children-types.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/align/align.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/align/align.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/autoformat/autoformat.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/autoformat/transforms/auto-format-block.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/autoformat/transforms/auto-format-inline.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/blockquote/blockquote.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/blockquote/blockquote.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/code/code.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/code/code.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/color/color.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/color/color.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/common/block-card.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/common/common.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/common/get-fragment.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/common/history.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/common/insert-data-by-invalid-type.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/common/move-selection.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/common/remove-empty.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/common/remove-void.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/common/reset-type.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/common/transforms.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/deserialize/deserialize-html.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/deserialize/deserialize-md.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/font-size/font-size.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/heading/heading.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/heading/heading.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/hr/hr.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/hr/hr.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/image/image.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/image/image.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/indent/indent.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/indent/indent.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/indent/on-keydown-indent.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/index.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/inline-code/inline-code.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/inline-code/inline-code.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/link/link.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/link/link.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/link/link.types.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/list.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/list.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/normalizers/get-list-normalizer.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/normalizers/normalize-list-item.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/normalizers/normalize-no.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/on-key-down-list.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/queries/get-list-item-entry.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/queries/get-list-item-sublist.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/queries/get-list-types.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/queries/get-start-list-item.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/queries/has-list-in-list-item.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/queries/is-in-list.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/queries/is-list-nested.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/queries/is-list.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/queries/is-node-type-list.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/queries/is-selection-at-list-item-start.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/queries/is-selection-in-same-list-item.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/queries/is-single-list-item.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/transforms/insert-list-data.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/transforms/insert-list-item.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/transforms/move-list-item-down.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/transforms/move-list-item-sublist-items-to-list-item-sublist.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/transforms/move-list-item-sublist-items-to-list.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/transforms/move-list-item-up.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/transforms/unwrap-list.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/list/types.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/mark/mark.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/mark/mark.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/mention/index.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/mention/mention.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/mention/mention.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/mention/mention.type.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/node-id/node-id.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/normalizers/insert-paragraph-nodes.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/normalizers/remove-empty-nodes.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/normalizers/trailing-node.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/paint-format/paint-format.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/quick-insert/quick-insert.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/quick-insert/quick-insert.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/soft-break/soft-break.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/soft-break/soft-break.types.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/table.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/table.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/table.types.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/transforms/clear-cell.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/transforms/clear-table-node.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/transforms/index.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/transforms/insert-column.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/transforms/insert-row.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/transforms/insert-table.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/transforms/remove-column.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/transforms/remove-row.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/transforms/remove-table.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/add-columns.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/calc-anchor-position.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/calc-span.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/calculate-table.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/cell-position.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/create-cell.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/create-row.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/create-table-position.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/create-table.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/get-grid-columns.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/get-min-max-cell-index.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/get-select-cell-node.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/handle-cell.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/is-header-row.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/is-legal-table.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/is-range-in-table.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/is-selection-in-table.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/is-virtual-key.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/merge-cell.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/next-path.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/normalize-table.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/remove-columns.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/remove-row-column.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/set-cells-background-color.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/set-menu-cell-invisibility.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/set-node-options.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/split-cell.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/table-entry.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/table/utils/table-position.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/todo-item/todo-item.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/todo-item/todo-item.plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/plugins/vertical-align/vertical-align.editor.mjs +0 -0
- /package/{esm2022 → esm2020}/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/anchor-block-entry.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/anchor-block.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/anchor-inline-entry.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/find-descendant.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/find-node.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/find-path.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-above-by-type.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-above.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-anchor-block-entry.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-block-above.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-block-card-above.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-block-card-cursor.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-container-blocks.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-directly-parent.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-insert-elements-path.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-last-child-path.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-last-node.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-next-sibling-nodes.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-node.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-nodes-by-type.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-nodes.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-parent.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-plain-text.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-plugin-by-toolbar.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-point-before.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-point-from-location.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-previous-path.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-rang-from-block-start.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-range-before.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-selection-marks.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-selection-nodes-by-type.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-text.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/get-toolbar-disabled.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/index.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-across-blocks.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-ancestor-empty.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-ancestor.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-block-above-empty.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-block-active.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-block-card-cursor.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-block-text-empty-after-selection.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-collapsed.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-contain-nested-type.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-container-type.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-descendant.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-empty-content-filter.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-empty-content.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-empty-paragraph-by-path.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-empty-paragraph.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-first-child.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-global-collapsed.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-include-types.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-node-type-in.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-node-type.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-paragraph.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-point-at-root.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-range-across-blocks.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-range-at-root.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/is-start.mjs +0 -0
- /package/{esm2022 → esm2020}/queries/some-node.mjs +0 -0
- /package/{esm2022 → esm2020}/shortcuts/index.mjs +0 -0
- /package/{esm2022 → esm2020}/shortcuts/mark.mjs +0 -0
- /package/{esm2022 → esm2020}/test/index.mjs +0 -0
- /package/{esm2022 → esm2020}/test/utils/with-plugin.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/apply-deep-to-nodes.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/clear-marks.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/close-conversion-hint.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/delete-element.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/handle-continual-delete-backward.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/handle-continual-insert-break.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/index.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/insert-elements.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/insert-paragraph.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/merge-deep-to-nodes.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/move-children.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/on-keydown-reset-block-type.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/set-end-selection.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/set-marks.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/set-node.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/un-hang-range.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/un-wrap.mjs +0 -0
- /package/{esm2022 → esm2020}/transforms/unwrap-nodes-by-type.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/auto-focus.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/blob.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/cast-array.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/color-picker.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/common.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/copy-node.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/create-empty-paragraph.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/data-transform.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/dom.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/editor-uuid.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/fragment.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/get-editable-element-height.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/get-toolbar-class.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/id-creator.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/insert-data-by-invalid-type.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/is-clean-empty-paragraph.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/is-inline.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/lodash.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/match.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/merge-element-options.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/refocus.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/scroll-into-view.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/weak-maps.mjs +0 -0
- /package/{esm2022 → esm2020}/worktile-theia.mjs +0 -0
|
@@ -99,10 +99,10 @@ class TheBaseElementComponent extends BaseElementComponent {
|
|
|
99
99
|
const blockClass = this.editor.isInline(this.element) ? 'slate-inline-block' : 'slate-block';
|
|
100
100
|
this.nativeElement.classList.add(`slate-element-${this.element.type}`, blockClass);
|
|
101
101
|
}
|
|
102
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheBaseElementComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
103
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheBaseElementComponent, selector: "TheBaseElementComponent", usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
104
102
|
}
|
|
105
|
-
i0.ɵɵ
|
|
103
|
+
TheBaseElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBaseElementComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
104
|
+
TheBaseElementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheBaseElementComponent, selector: "TheBaseElementComponent", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBaseElementComponent, decorators: [{
|
|
106
106
|
type: Component,
|
|
107
107
|
args: [{
|
|
108
108
|
selector: 'TheBaseElementComponent',
|
|
@@ -114,10 +114,10 @@ class TheDefaultElementComponent extends TheBaseElementComponent {
|
|
|
114
114
|
get indent() {
|
|
115
115
|
return this.element?.indent;
|
|
116
116
|
}
|
|
117
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheDefaultElementComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
118
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheDefaultElementComponent, selector: "[theDefaultElement]", host: { properties: { "attr.the-indent": "this.indent" } }, usesInheritance: true, ngImport: i0, template: '<slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>', isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
119
117
|
}
|
|
120
|
-
i0.ɵɵ
|
|
118
|
+
TheDefaultElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheDefaultElementComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
119
|
+
TheDefaultElementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheDefaultElementComponent, selector: "[theDefaultElement]", host: { properties: { "attr.the-indent": "this.indent" } }, usesInheritance: true, ngImport: i0, template: '<slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>', isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheDefaultElementComponent, decorators: [{
|
|
121
121
|
type: Component,
|
|
122
122
|
args: [{
|
|
123
123
|
selector: '[theDefaultElement]',
|
|
@@ -572,168 +572,152 @@ const PluginMenuSvgs = [
|
|
|
572
572
|
},
|
|
573
573
|
{
|
|
574
574
|
key: PluginMenuIcons.heading_1,
|
|
575
|
-
svg:
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
<path d="M0.486666667,8.8817842e-16 C0.751763347,9.50503252e-16 0.966666667,0.21490332 0.966666667,0.48 L0.966,4.188 L5.638,4.188 L5.63888889,0.48 C5.63888889,0.21490332 5.85379221,4.37275529e-16 6.11888889,8.8817842e-16 C6.39065224,8.3948095e-16 6.60555556,0.21490332 6.60555556,0.48 L6.60555556,9.18666667 C6.60555556,9.45176335 6.39065224,9.66666667 6.12555556,9.66666667 C5.85379221,9.66666667 5.63888889,9.45176335 5.63888889,9.18666667 L5.638,5.155 L0.966,5.155 L0.966666667,9.18666667 C0.966666667,9.45176335 0.751763347,9.66666667 0.486666667,9.66666667 C0.21490332,9.66666667 -8.5571344e-16,9.45176335 -8.8817842e-16,9.18666667 L-8.8817842e-16,0.48 C-9.206434e-16,0.21490332 0.21490332,5.48297831e-16 0.48,8.8817842e-16 Z M10.1533333,3.25323092 C10.41843,3.25323092 10.6333333,3.46813424 10.6333333,3.73323092 L10.6332222,8.69923092 L11.5222222,8.7 C11.7431361,8.7 11.9222222,8.8790861 11.9222222,9.1 L11.9222222,9.26666667 C11.9222222,9.48758057 11.7431361,9.66666667 11.5222222,9.66666667 L8.69722222,9.66666667 C8.47630832,9.66666667 8.29722222,9.48758057 8.29722222,9.26666667 L8.29722222,9.1 C8.29722222,8.8790861 8.47630832,8.7 8.69722222,8.7 L9.66622222,8.69923092 L9.66661166,4.83023092 L9.22952121,5.2392987 C9.05879467,5.39859668 8.80335832,5.41040234 8.62020432,5.28015221 L8.54649699,5.21554647 C8.36443045,5.02030401 8.37506666,4.7144468 8.57025613,4.53232345 L9.78398904,3.39983871 C9.81813435,3.36797911 9.85566805,3.3420192 9.8953342,3.3219155 C9.96893129,3.27904764 10.0547841,3.25323092 10.1466667,3.25323092 Z" id="形状结合"></path>
|
|
584
|
-
</g>
|
|
585
|
-
<path d="M6.92777778,22.5555556 L14.8222222,22.5555556 C15.0891599,22.5555556 15.3055556,22.7719513 15.3055556,23.0388889 C15.3055556,23.3058265 15.0891599,23.5222222 14.8222222,23.5222222 L6.92777778,23.5222222 C6.66084015,23.5222222 6.44444444,23.3058265 6.44444444,23.0388889 C6.44444444,22.7719513 6.66084015,22.5555556 6.92777778,22.5555556 Z M6.92777778,19.3333333 L22.0722222,19.3333333 C22.3391599,19.3333333 22.5555556,19.549729 22.5555556,19.8166667 C22.5555556,20.0836043 22.3391599,20.3 22.0722222,20.3 L6.92777778,20.3 C6.66084015,20.3 6.44444444,20.0836043 6.44444444,19.8166667 C6.44444444,19.549729 6.66084015,19.3333333 6.92777778,19.3333333 Z" id="形状结合" fill="#CACACA"></path>
|
|
586
|
-
</g>
|
|
575
|
+
svg: `<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
576
|
+
<title>H1</title>
|
|
577
|
+
<g id="H1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
578
|
+
<g id="icon">
|
|
579
|
+
<path d="M4,0 L24,0 C26.209139,1.11220812e-15 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 1.78856188e-15,26.209139 0,24 L0,4 C-7.1463071e-16,1.790861 1.790861,-3.82769592e-17 4,0 Z" id="矩形" fill="#FFFFFF"></path>
|
|
580
|
+
<path d="M24,0 C26.209139,0 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 0,26.209139 0,24 L0,4 C0,1.790861 1.790861,0 4,0 L24,0 Z M24,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,24 C1,25.6568542 2.34314575,27 4,27 L24,27 C25.6568542,27 27,25.6568542 27,24 L27,4 C27,2.34314575 25.6568542,1 24,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
581
|
+
<g id="1.Base基础/1.icon图标/11.editor/header-1" transform="translate(7.250000, 5.638889)" fill="#666666">
|
|
582
|
+
<path d="M0.486666667,8.8817842e-16 C0.751763347,9.50503252e-16 0.966666667,0.21490332 0.966666667,0.48 L0.966,4.188 L5.638,4.188 L5.63888889,0.48 C5.63888889,0.21490332 5.85379221,4.37275529e-16 6.11888889,8.8817842e-16 C6.39065224,8.3948095e-16 6.60555556,0.21490332 6.60555556,0.48 L6.60555556,9.18666667 C6.60555556,9.45176335 6.39065224,9.66666667 6.12555556,9.66666667 C5.85379221,9.66666667 5.63888889,9.45176335 5.63888889,9.18666667 L5.638,5.155 L0.966,5.155 L0.966666667,9.18666667 C0.966666667,9.45176335 0.751763347,9.66666667 0.486666667,9.66666667 C0.21490332,9.66666667 -8.5571344e-16,9.45176335 -8.8817842e-16,9.18666667 L-8.8817842e-16,0.48 C-9.206434e-16,0.21490332 0.21490332,5.48297831e-16 0.48,8.8817842e-16 Z M10.1533333,3.25323092 C10.41843,3.25323092 10.6333333,3.46813424 10.6333333,3.73323092 L10.6332222,8.69923092 L11.5222222,8.7 C11.7431361,8.7 11.9222222,8.8790861 11.9222222,9.1 L11.9222222,9.26666667 C11.9222222,9.48758057 11.7431361,9.66666667 11.5222222,9.66666667 L8.69722222,9.66666667 C8.47630832,9.66666667 8.29722222,9.48758057 8.29722222,9.26666667 L8.29722222,9.1 C8.29722222,8.8790861 8.47630832,8.7 8.69722222,8.7 L9.66622222,8.69923092 L9.66661166,4.83023092 L9.22952121,5.2392987 C9.05879467,5.39859668 8.80335832,5.41040234 8.62020432,5.28015221 L8.54649699,5.21554647 C8.36443045,5.02030401 8.37506666,4.7144468 8.57025613,4.53232345 L9.78398904,3.39983871 C9.81813435,3.36797911 9.85566805,3.3420192 9.8953342,3.3219155 C9.96893129,3.27904764 10.0547841,3.25323092 10.1466667,3.25323092 Z" id="形状结合"></path>
|
|
587
583
|
</g>
|
|
588
|
-
|
|
589
|
-
|
|
584
|
+
<path d="M6.92777778,22.5555556 L14.8222222,22.5555556 C15.0891599,22.5555556 15.3055556,22.7719513 15.3055556,23.0388889 C15.3055556,23.3058265 15.0891599,23.5222222 14.8222222,23.5222222 L6.92777778,23.5222222 C6.66084015,23.5222222 6.44444444,23.3058265 6.44444444,23.0388889 C6.44444444,22.7719513 6.66084015,22.5555556 6.92777778,22.5555556 Z M6.92777778,19.3333333 L22.0722222,19.3333333 C22.3391599,19.3333333 22.5555556,19.549729 22.5555556,19.8166667 C22.5555556,20.0836043 22.3391599,20.3 22.0722222,20.3 L6.92777778,20.3 C6.66084015,20.3 6.44444444,20.0836043 6.44444444,19.8166667 C6.44444444,19.549729 6.66084015,19.3333333 6.92777778,19.3333333 Z" id="形状结合" fill="#CACACA"></path>
|
|
585
|
+
</g>
|
|
586
|
+
</g>
|
|
587
|
+
</svg>`
|
|
590
588
|
},
|
|
591
589
|
{
|
|
592
590
|
key: PluginMenuIcons.heading_2,
|
|
593
|
-
svg:
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
<path d="M1.29222222,1.61111111 C1.5573189,1.61111111 1.77222222,1.82601443 1.77222222,2.09111111 L1.77155556,5.79911111 L6.44355556,5.79911111 L6.44444444,2.09111111 C6.44444444,1.82601443 6.65934776,1.61111111 6.92444444,1.61111111 C7.19620779,1.61111111 7.41111111,1.82601443 7.41111111,2.09111111 L7.41111111,10.7977778 C7.41111111,11.0628745 7.19620779,11.2777778 6.93111111,11.2777778 C6.65934776,11.2777778 6.44444444,11.0628745 6.44444444,10.7977778 L6.44355556,6.76611111 L1.77155556,6.76611111 L1.77222222,10.7977778 C1.77222222,11.0628745 1.5573189,11.2777778 1.29222222,11.2777778 C1.02045888,11.2777778 0.805555556,11.0628745 0.805555556,10.7977778 L0.805555556,2.09111111 C0.805555556,1.82601443 1.02045888,1.61111111 1.28555556,1.61111111 Z M8.54294866,10.4032326 C8.46549728,10.9453191 8.88653734,11.2093734 9.4040306,11.163087 L11.8695555,11.1650088 C12.1364932,11.1650088 12.3528889,10.9486131 12.3528889,10.6816755 C12.3528889,10.4147378 12.1364932,10.1983421 11.8695555,10.1983421 L9.55217211,10.1983421 C9.60918772,9.92829744 9.70569542,9.74900596 9.9446738,9.49220573 C9.97197905,9.46286418 10.0006812,9.4338407 10.0308266,9.40514925 C10.0679212,9.3698437 10.1057089,9.33674814 10.1448148,9.30516195 C10.2581667,9.2136064 10.3681121,9.14331129 10.5709549,9.02767503 C11.2068418,8.66516981 11.4676596,8.47753842 11.8884967,7.99593234 C12.6911804,7.07734092 12.3931352,5.55838894 11.128364,5.0741833 C10.5598979,4.85655145 9.85150899,4.9436238 9.27174711,5.27959293 C9.01795716,5.42666295 8.80133283,5.6322987 8.62349658,5.89139752 C8.47243845,6.11148191 8.52839529,6.41235237 8.74847967,6.5634105 C8.96856406,6.71446863 9.26943452,6.6585118 9.42049266,6.43842741 C9.51915996,6.29467392 9.63059666,6.18889 9.7564252,6.11597299 C10.0954248,5.91952439 10.5021542,5.86953083 10.7827471,5.97695316 C11.3954703,6.21152839 11.5364026,6.92977344 11.1605804,7.35986444 C10.8276846,7.74083056 10.6416645,7.87465269 10.0922091,8.18788523 C9.84765548,8.32729991 9.70077752,8.42120842 9.53741414,8.55315866 C9.47812108,8.60105026 9.42063041,8.65140227 9.36438446,8.70493545 C9.32009556,8.74708828 9.2776503,8.79000875 9.23702309,8.83366574 C8.95040764,9.14165557 8.76259006,9.47514822 8.65373667,9.8216451 C8.61323435,9.95057013 8.58575819,10.0744594 8.56723778,10.1981068 C8.55807029,10.2593115 8.54386212,10.3912347 8.54294866,10.4032326 Z" id="形状结合"></path>
|
|
602
|
-
</g>
|
|
603
|
-
<path d="M6.92777778,22.5555556 L14.8222222,22.5555556 C15.0891599,22.5555556 15.3055556,22.7719513 15.3055556,23.0388889 C15.3055556,23.3058265 15.0891599,23.5222222 14.8222222,23.5222222 L6.92777778,23.5222222 C6.66084015,23.5222222 6.44444444,23.3058265 6.44444444,23.0388889 C6.44444444,22.7719513 6.66084015,22.5555556 6.92777778,22.5555556 Z M6.92777778,19.3333333 L22.0722222,19.3333333 C22.3391599,19.3333333 22.5555556,19.549729 22.5555556,19.8166667 C22.5555556,20.0836043 22.3391599,20.3 22.0722222,20.3 L6.92777778,20.3 C6.66084015,20.3 6.44444444,20.0836043 6.44444444,19.8166667 C6.44444444,19.549729 6.66084015,19.3333333 6.92777778,19.3333333 Z" id="形状结合" fill="#CACACA"></path>
|
|
604
|
-
</g>
|
|
591
|
+
svg: `<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
592
|
+
<title>H2</title>
|
|
593
|
+
<g id="H2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
594
|
+
<g id="icon">
|
|
595
|
+
<path d="M4,0 L24,0 C26.209139,1.11220812e-15 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 1.78856188e-15,26.209139 0,24 L0,4 C-7.1463071e-16,1.790861 1.790861,-3.82769592e-17 4,0 Z" id="矩形" fill="#FFFFFF"></path>
|
|
596
|
+
<path d="M24,0 C26.209139,0 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 0,26.209139 0,24 L0,4 C0,1.790861 1.790861,0 4,0 L24,0 Z M24,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,24 C1,25.6568542 2.34314575,27 4,27 L24,27 C25.6568542,27 27,25.6568542 27,24 L27,4 C27,2.34314575 25.6568542,1 24,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
597
|
+
<g id="1.Base基础/1.icon图标/11.editor/header-1" transform="translate(6.444444, 4.027778)" fill="#666666">
|
|
598
|
+
<path d="M1.29222222,1.61111111 C1.5573189,1.61111111 1.77222222,1.82601443 1.77222222,2.09111111 L1.77155556,5.79911111 L6.44355556,5.79911111 L6.44444444,2.09111111 C6.44444444,1.82601443 6.65934776,1.61111111 6.92444444,1.61111111 C7.19620779,1.61111111 7.41111111,1.82601443 7.41111111,2.09111111 L7.41111111,10.7977778 C7.41111111,11.0628745 7.19620779,11.2777778 6.93111111,11.2777778 C6.65934776,11.2777778 6.44444444,11.0628745 6.44444444,10.7977778 L6.44355556,6.76611111 L1.77155556,6.76611111 L1.77222222,10.7977778 C1.77222222,11.0628745 1.5573189,11.2777778 1.29222222,11.2777778 C1.02045888,11.2777778 0.805555556,11.0628745 0.805555556,10.7977778 L0.805555556,2.09111111 C0.805555556,1.82601443 1.02045888,1.61111111 1.28555556,1.61111111 Z M8.54294866,10.4032326 C8.46549728,10.9453191 8.88653734,11.2093734 9.4040306,11.163087 L11.8695555,11.1650088 C12.1364932,11.1650088 12.3528889,10.9486131 12.3528889,10.6816755 C12.3528889,10.4147378 12.1364932,10.1983421 11.8695555,10.1983421 L9.55217211,10.1983421 C9.60918772,9.92829744 9.70569542,9.74900596 9.9446738,9.49220573 C9.97197905,9.46286418 10.0006812,9.4338407 10.0308266,9.40514925 C10.0679212,9.3698437 10.1057089,9.33674814 10.1448148,9.30516195 C10.2581667,9.2136064 10.3681121,9.14331129 10.5709549,9.02767503 C11.2068418,8.66516981 11.4676596,8.47753842 11.8884967,7.99593234 C12.6911804,7.07734092 12.3931352,5.55838894 11.128364,5.0741833 C10.5598979,4.85655145 9.85150899,4.9436238 9.27174711,5.27959293 C9.01795716,5.42666295 8.80133283,5.6322987 8.62349658,5.89139752 C8.47243845,6.11148191 8.52839529,6.41235237 8.74847967,6.5634105 C8.96856406,6.71446863 9.26943452,6.6585118 9.42049266,6.43842741 C9.51915996,6.29467392 9.63059666,6.18889 9.7564252,6.11597299 C10.0954248,5.91952439 10.5021542,5.86953083 10.7827471,5.97695316 C11.3954703,6.21152839 11.5364026,6.92977344 11.1605804,7.35986444 C10.8276846,7.74083056 10.6416645,7.87465269 10.0922091,8.18788523 C9.84765548,8.32729991 9.70077752,8.42120842 9.53741414,8.55315866 C9.47812108,8.60105026 9.42063041,8.65140227 9.36438446,8.70493545 C9.32009556,8.74708828 9.2776503,8.79000875 9.23702309,8.83366574 C8.95040764,9.14165557 8.76259006,9.47514822 8.65373667,9.8216451 C8.61323435,9.95057013 8.58575819,10.0744594 8.56723778,10.1981068 C8.55807029,10.2593115 8.54386212,10.3912347 8.54294866,10.4032326 Z" id="形状结合"></path>
|
|
605
599
|
</g>
|
|
606
|
-
|
|
607
|
-
|
|
600
|
+
<path d="M6.92777778,22.5555556 L14.8222222,22.5555556 C15.0891599,22.5555556 15.3055556,22.7719513 15.3055556,23.0388889 C15.3055556,23.3058265 15.0891599,23.5222222 14.8222222,23.5222222 L6.92777778,23.5222222 C6.66084015,23.5222222 6.44444444,23.3058265 6.44444444,23.0388889 C6.44444444,22.7719513 6.66084015,22.5555556 6.92777778,22.5555556 Z M6.92777778,19.3333333 L22.0722222,19.3333333 C22.3391599,19.3333333 22.5555556,19.549729 22.5555556,19.8166667 C22.5555556,20.0836043 22.3391599,20.3 22.0722222,20.3 L6.92777778,20.3 C6.66084015,20.3 6.44444444,20.0836043 6.44444444,19.8166667 C6.44444444,19.549729 6.66084015,19.3333333 6.92777778,19.3333333 Z" id="形状结合" fill="#CACACA"></path>
|
|
601
|
+
</g>
|
|
602
|
+
</g>
|
|
603
|
+
</svg>`
|
|
608
604
|
},
|
|
609
605
|
{
|
|
610
606
|
key: PluginMenuIcons.heading_3,
|
|
611
|
-
svg:
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
<path d="M1.29222222,1.61111111 C1.5573189,1.61111111 1.77222222,1.82601443 1.77222222,2.09111111 L1.77155556,5.79911111 L6.44355556,5.79911111 L6.44444444,2.09111111 C6.44444444,1.82601443 6.65934776,1.61111111 6.92444444,1.61111111 C7.19620779,1.61111111 7.41111111,1.82601443 7.41111111,2.09111111 L7.41111111,10.7977778 C7.41111111,11.0628745 7.19620779,11.2777778 6.93111111,11.2777778 C6.65934776,11.2777778 6.44444444,11.0628745 6.44444444,10.7977778 L6.44355556,6.76611111 L1.77155556,6.76611111 L1.77222222,10.7977778 C1.77222222,11.0628745 1.5573189,11.2777778 1.29222222,11.2777778 C1.02045888,11.2777778 0.805555556,11.0628745 0.805555556,10.7977778 L0.805555556,2.09111111 C0.805555556,1.82601443 1.02045888,1.61111111 1.28555556,1.61111111 Z M11.948143,5.79180879 C12.192703,5.47396858 11.9661194,5.01373083 11.5650807,5.01373083 L8.88060052,5.01373083 C8.61366289,5.01373083 8.39726719,5.23012653 8.39726719,5.49706416 C8.39726719,5.76400179 8.61366289,5.98039749 8.88060052,5.98039749 L10.5833317,5.98039749 L9.54636273,7.32808515 C9.48134505,7.4125848 9.44609168,7.51621136 9.44609168,7.62282979 L9.44609168,7.91799037 C9.44609168,8.18980116 9.670148,8.40816141 9.94186869,8.4011635 C10.2134677,8.39416871 10.4585479,8.42132967 10.6774338,8.48206912 C11.0681589,8.59049288 11.2956745,9.04295787 11.144216,9.57106622 C11.0337145,9.95636505 10.6647495,10.1691949 10.1647748,10.1691949 C9.70164909,10.1691949 9.23540718,9.99918387 8.75794251,9.65224072 C8.54199506,9.49532547 8.23973012,9.54318053 8.08281487,9.75912798 C7.92589961,9.97507543 7.97375467,10.2773404 8.18970212,10.4342556 C8.83030566,10.8997414 9.49159006,11.1358616 10.1647748,11.1358616 C11.0993241,11.1358616 11.830095,10.6860003 12.0734236,9.83755774 C12.3756837,8.78363144 11.8418254,7.80198592 10.9359105,7.55060026 C10.8414661,7.52439254 10.7445514,7.50259363 10.6451818,7.48519091 L11.948143,5.79180879 Z" id="形状结合"></path>
|
|
620
|
-
</g>
|
|
621
|
-
<path d="M6.92777778,22.5555556 L14.8222222,22.5555556 C15.0891599,22.5555556 15.3055556,22.7719513 15.3055556,23.0388889 C15.3055556,23.3058265 15.0891599,23.5222222 14.8222222,23.5222222 L6.92777778,23.5222222 C6.66084015,23.5222222 6.44444444,23.3058265 6.44444444,23.0388889 C6.44444444,22.7719513 6.66084015,22.5555556 6.92777778,22.5555556 Z M6.92777778,19.3333333 L22.0722222,19.3333333 C22.3391599,19.3333333 22.5555556,19.549729 22.5555556,19.8166667 C22.5555556,20.0836043 22.3391599,20.3 22.0722222,20.3 L6.92777778,20.3 C6.66084015,20.3 6.44444444,20.0836043 6.44444444,19.8166667 C6.44444444,19.549729 6.66084015,19.3333333 6.92777778,19.3333333 Z" id="形状结合" fill="#CACACA"></path>
|
|
622
|
-
</g>
|
|
607
|
+
svg: `<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
608
|
+
<title>H3</title>
|
|
609
|
+
<g id="H3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
610
|
+
<g id="icon">
|
|
611
|
+
<path d="M4,0 L24,0 C26.209139,1.11220812e-15 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 1.78856188e-15,26.209139 0,24 L0,4 C-7.1463071e-16,1.790861 1.790861,-3.82769592e-17 4,0 Z" id="矩形" fill="#FFFFFF"></path>
|
|
612
|
+
<path d="M24,0 C26.209139,0 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 0,26.209139 0,24 L0,4 C0,1.790861 1.790861,0 4,0 L24,0 Z M24,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,24 C1,25.6568542 2.34314575,27 4,27 L24,27 C25.6568542,27 27,25.6568542 27,24 L27,4 C27,2.34314575 25.6568542,1 24,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
613
|
+
<g id="1.Base基础/1.icon图标/11.editor/header-1" transform="translate(6.444444, 4.027778)" fill="#666666">
|
|
614
|
+
<path d="M1.29222222,1.61111111 C1.5573189,1.61111111 1.77222222,1.82601443 1.77222222,2.09111111 L1.77155556,5.79911111 L6.44355556,5.79911111 L6.44444444,2.09111111 C6.44444444,1.82601443 6.65934776,1.61111111 6.92444444,1.61111111 C7.19620779,1.61111111 7.41111111,1.82601443 7.41111111,2.09111111 L7.41111111,10.7977778 C7.41111111,11.0628745 7.19620779,11.2777778 6.93111111,11.2777778 C6.65934776,11.2777778 6.44444444,11.0628745 6.44444444,10.7977778 L6.44355556,6.76611111 L1.77155556,6.76611111 L1.77222222,10.7977778 C1.77222222,11.0628745 1.5573189,11.2777778 1.29222222,11.2777778 C1.02045888,11.2777778 0.805555556,11.0628745 0.805555556,10.7977778 L0.805555556,2.09111111 C0.805555556,1.82601443 1.02045888,1.61111111 1.28555556,1.61111111 Z M11.948143,5.79180879 C12.192703,5.47396858 11.9661194,5.01373083 11.5650807,5.01373083 L8.88060052,5.01373083 C8.61366289,5.01373083 8.39726719,5.23012653 8.39726719,5.49706416 C8.39726719,5.76400179 8.61366289,5.98039749 8.88060052,5.98039749 L10.5833317,5.98039749 L9.54636273,7.32808515 C9.48134505,7.4125848 9.44609168,7.51621136 9.44609168,7.62282979 L9.44609168,7.91799037 C9.44609168,8.18980116 9.670148,8.40816141 9.94186869,8.4011635 C10.2134677,8.39416871 10.4585479,8.42132967 10.6774338,8.48206912 C11.0681589,8.59049288 11.2956745,9.04295787 11.144216,9.57106622 C11.0337145,9.95636505 10.6647495,10.1691949 10.1647748,10.1691949 C9.70164909,10.1691949 9.23540718,9.99918387 8.75794251,9.65224072 C8.54199506,9.49532547 8.23973012,9.54318053 8.08281487,9.75912798 C7.92589961,9.97507543 7.97375467,10.2773404 8.18970212,10.4342556 C8.83030566,10.8997414 9.49159006,11.1358616 10.1647748,11.1358616 C11.0993241,11.1358616 11.830095,10.6860003 12.0734236,9.83755774 C12.3756837,8.78363144 11.8418254,7.80198592 10.9359105,7.55060026 C10.8414661,7.52439254 10.7445514,7.50259363 10.6451818,7.48519091 L11.948143,5.79180879 Z" id="形状结合"></path>
|
|
623
615
|
</g>
|
|
624
|
-
|
|
625
|
-
|
|
616
|
+
<path d="M6.92777778,22.5555556 L14.8222222,22.5555556 C15.0891599,22.5555556 15.3055556,22.7719513 15.3055556,23.0388889 C15.3055556,23.3058265 15.0891599,23.5222222 14.8222222,23.5222222 L6.92777778,23.5222222 C6.66084015,23.5222222 6.44444444,23.3058265 6.44444444,23.0388889 C6.44444444,22.7719513 6.66084015,22.5555556 6.92777778,22.5555556 Z M6.92777778,19.3333333 L22.0722222,19.3333333 C22.3391599,19.3333333 22.5555556,19.549729 22.5555556,19.8166667 C22.5555556,20.0836043 22.3391599,20.3 22.0722222,20.3 L6.92777778,20.3 C6.66084015,20.3 6.44444444,20.0836043 6.44444444,19.8166667 C6.44444444,19.549729 6.66084015,19.3333333 6.92777778,19.3333333 Z" id="形状结合" fill="#CACACA"></path>
|
|
617
|
+
</g>
|
|
618
|
+
</g>
|
|
619
|
+
</svg>`
|
|
626
620
|
},
|
|
627
621
|
{
|
|
628
622
|
key: PluginMenuIcons.heading_4,
|
|
629
|
-
svg:
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
<path d="M1.29222222,1.61111111 C1.5573189,1.61111111 1.77222222,1.82601443 1.77222222,2.09111111 L1.77155556,5.79911111 L6.44355556,5.79911111 L6.44444444,2.09111111 C6.44444444,1.82601443 6.65934776,1.61111111 6.92444444,1.61111111 C7.19620779,1.61111111 7.41111111,1.82601443 7.41111111,2.09111111 L7.41111111,10.7977778 C7.41111111,11.0628745 7.19620779,11.2777778 6.93111111,11.2777778 C6.65934776,11.2777778 6.44444444,11.0628745 6.44444444,10.7977778 L6.44355556,6.76611111 L1.77155556,6.76611111 L1.77222222,10.7977778 C1.77222222,11.0628745 1.5573189,11.2777778 1.29222222,11.2777778 C1.02045888,11.2777778 0.805555556,11.0628745 0.805555556,10.7977778 L0.805555556,2.09111111 C0.805555556,1.82601443 1.02045888,1.61111111 1.28555556,1.61111111 Z M10.8019545,4.76358802 C11.0688522,4.76820431 11.2814733,4.98830989 11.276857,5.2552076 L11.227722,8.04846189 L11.9367156,8.04858418 C12.1739935,8.04858418 12.371337,8.2195635 12.4122617,8.44503773 L12.4200489,8.53191751 C12.4200489,8.79885514 12.2036532,9.01525084 11.9367156,9.01525084 L11.210722,9.01446189 L11.1806618,10.8168794 C11.1765584,11.0541218 11.0021919,11.248479 10.7760437,11.2854984 L10.6890422,11.2917819 C10.4221445,11.2871657 10.2095234,11.0670601 10.2141397,10.8001624 L10.244722,9.01446189 L8.53186071,9.01525084 C8.17452736,9.01525084 7.95025766,8.64635821 8.08952304,8.3363514 L8.12821939,8.26605139 L10.2919929,4.98098295 C10.3949928,4.82460722 10.5732365,4.74757228 10.7474255,4.7661967 Z M10.260722,8.04846189 L10.283722,6.75046189 L9.42897666,8.04858418 L10.260722,8.04846189 Z" id="形状结合"></path>
|
|
638
|
-
</g>
|
|
639
|
-
<path d="M6.92777778,22.5555556 L14.8222222,22.5555556 C15.0891599,22.5555556 15.3055556,22.7719513 15.3055556,23.0388889 C15.3055556,23.3058265 15.0891599,23.5222222 14.8222222,23.5222222 L6.92777778,23.5222222 C6.66084015,23.5222222 6.44444444,23.3058265 6.44444444,23.0388889 C6.44444444,22.7719513 6.66084015,22.5555556 6.92777778,22.5555556 Z M6.92777778,19.3333333 L22.0722222,19.3333333 C22.3391599,19.3333333 22.5555556,19.549729 22.5555556,19.8166667 C22.5555556,20.0836043 22.3391599,20.3 22.0722222,20.3 L6.92777778,20.3 C6.66084015,20.3 6.44444444,20.0836043 6.44444444,19.8166667 C6.44444444,19.549729 6.66084015,19.3333333 6.92777778,19.3333333 Z" id="形状结合" fill="#CACACA"></path>
|
|
640
|
-
</g>
|
|
623
|
+
svg: `<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
624
|
+
<title>H4</title>
|
|
625
|
+
<g id="H4" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
626
|
+
<g id="icon">
|
|
627
|
+
<path d="M4,0 L24,0 C26.209139,1.11220812e-15 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 1.78856188e-15,26.209139 0,24 L0,4 C-7.1463071e-16,1.790861 1.790861,-3.82769592e-17 4,0 Z" id="矩形" fill="#FFFFFF"></path>
|
|
628
|
+
<path d="M24,0 C26.209139,0 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 0,26.209139 0,24 L0,4 C0,1.790861 1.790861,0 4,0 L24,0 Z M24,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,24 C1,25.6568542 2.34314575,27 4,27 L24,27 C25.6568542,27 27,25.6568542 27,24 L27,4 C27,2.34314575 25.6568542,1 24,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
629
|
+
<g id="1.Base基础/1.icon图标/11.editor/header-1" transform="translate(6.444444, 4.027778)" fill="#666666">
|
|
630
|
+
<path d="M1.29222222,1.61111111 C1.5573189,1.61111111 1.77222222,1.82601443 1.77222222,2.09111111 L1.77155556,5.79911111 L6.44355556,5.79911111 L6.44444444,2.09111111 C6.44444444,1.82601443 6.65934776,1.61111111 6.92444444,1.61111111 C7.19620779,1.61111111 7.41111111,1.82601443 7.41111111,2.09111111 L7.41111111,10.7977778 C7.41111111,11.0628745 7.19620779,11.2777778 6.93111111,11.2777778 C6.65934776,11.2777778 6.44444444,11.0628745 6.44444444,10.7977778 L6.44355556,6.76611111 L1.77155556,6.76611111 L1.77222222,10.7977778 C1.77222222,11.0628745 1.5573189,11.2777778 1.29222222,11.2777778 C1.02045888,11.2777778 0.805555556,11.0628745 0.805555556,10.7977778 L0.805555556,2.09111111 C0.805555556,1.82601443 1.02045888,1.61111111 1.28555556,1.61111111 Z M10.8019545,4.76358802 C11.0688522,4.76820431 11.2814733,4.98830989 11.276857,5.2552076 L11.227722,8.04846189 L11.9367156,8.04858418 C12.1739935,8.04858418 12.371337,8.2195635 12.4122617,8.44503773 L12.4200489,8.53191751 C12.4200489,8.79885514 12.2036532,9.01525084 11.9367156,9.01525084 L11.210722,9.01446189 L11.1806618,10.8168794 C11.1765584,11.0541218 11.0021919,11.248479 10.7760437,11.2854984 L10.6890422,11.2917819 C10.4221445,11.2871657 10.2095234,11.0670601 10.2141397,10.8001624 L10.244722,9.01446189 L8.53186071,9.01525084 C8.17452736,9.01525084 7.95025766,8.64635821 8.08952304,8.3363514 L8.12821939,8.26605139 L10.2919929,4.98098295 C10.3949928,4.82460722 10.5732365,4.74757228 10.7474255,4.7661967 Z M10.260722,8.04846189 L10.283722,6.75046189 L9.42897666,8.04858418 L10.260722,8.04846189 Z" id="形状结合"></path>
|
|
641
631
|
</g>
|
|
642
|
-
|
|
643
|
-
|
|
632
|
+
<path d="M6.92777778,22.5555556 L14.8222222,22.5555556 C15.0891599,22.5555556 15.3055556,22.7719513 15.3055556,23.0388889 C15.3055556,23.3058265 15.0891599,23.5222222 14.8222222,23.5222222 L6.92777778,23.5222222 C6.66084015,23.5222222 6.44444444,23.3058265 6.44444444,23.0388889 C6.44444444,22.7719513 6.66084015,22.5555556 6.92777778,22.5555556 Z M6.92777778,19.3333333 L22.0722222,19.3333333 C22.3391599,19.3333333 22.5555556,19.549729 22.5555556,19.8166667 C22.5555556,20.0836043 22.3391599,20.3 22.0722222,20.3 L6.92777778,20.3 C6.66084015,20.3 6.44444444,20.0836043 6.44444444,19.8166667 C6.44444444,19.549729 6.66084015,19.3333333 6.92777778,19.3333333 Z" id="形状结合" fill="#CACACA"></path>
|
|
633
|
+
</g>
|
|
634
|
+
</g>
|
|
635
|
+
</svg>`
|
|
644
636
|
},
|
|
645
637
|
{
|
|
646
638
|
key: PluginMenuIcons.bulletedList,
|
|
647
|
-
svg:
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
<path d="M0.483185877,12.0833333 L9.98903635,12.0833333 C10.2558925,12.0833333 10.4722222,12.299663 10.4722222,12.5665192 C10.4722222,12.8333754 10.2558925,13.0497051 9.98903635,13.0497051 L0.483185877,13.0497051 C0.216329686,13.0497051 3.2680458e-17,12.8333754 0,12.5665192 C-3.2680458e-17,12.299663 0.216329686,12.0833333 0.483185877,12.0833333 Z" id="矩形备份-77"></path>
|
|
662
|
-
</g>
|
|
663
|
-
</g>
|
|
639
|
+
svg: `<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
640
|
+
<title>无序列表</title>
|
|
641
|
+
<g id="无序列表" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
642
|
+
<g id="icon">
|
|
643
|
+
<path d="M4,0 L24,0 C26.209139,1.11220812e-15 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 1.78856188e-15,26.209139 0,24 L0,4 C-7.1463071e-16,1.790861 1.790861,-3.82769592e-17 4,0 Z" id="矩形" fill="#FFFFFF"></path>
|
|
644
|
+
<path d="M24,0 C26.209139,0 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 0,26.209139 0,24 L0,4 C0,1.790861 1.790861,0 4,0 L24,0 Z M24,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,24 C1,25.6568542 2.34314575,27 4,27 L24,27 C25.6568542,27 27,25.6568542 27,24 L27,4 C27,2.34314575 25.6568542,1 24,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
645
|
+
<g id="1.icon图标/11.editor/-save备份-32" transform="translate(6.444444, 7.250000)">
|
|
646
|
+
<circle id="椭圆形" fill="#666666" cx="1.20833333" cy="1.20833333" r="1.20833333"></circle>
|
|
647
|
+
<circle id="椭圆形备份" fill="#666666" cx="1.20833333" cy="7.25" r="1.20833333"></circle>
|
|
648
|
+
<circle id="椭圆形备份-2" fill="#666666" cx="1.20833333" cy="13.2916667" r="1.20833333"></circle>
|
|
649
|
+
<g id="编组-2" transform="translate(5.638889, 0.805556)" fill="#CACACA">
|
|
650
|
+
<path d="M0.483185877,6.0896638 L6.76681412,6.0896638 C7.03367031,6.0896638 7.25,6.30599348 7.25,6.57284968 C7.25,6.83970587 7.03367031,7.05603555 6.76681412,7.05603555 L0.483185877,7.05603555 C0.216329686,7.05603555 3.2680458e-17,6.83970587 0,6.57284968 C-3.2680458e-17,6.30599348 0.216329686,6.0896638 0.483185877,6.0896638 Z" id="矩形备份-74"></path>
|
|
651
|
+
<path d="M0.483185877,0 L9.98903635,0 C10.2558925,5.01716756e-16 10.4722222,0.216329686 10.4722222,0.483185877 C10.4722222,0.750042068 10.2558925,0.966371753 9.98903635,0.966371753 L0.483185877,0.966371753 C0.216329686,0.966371753 3.2680458e-17,0.750042068 0,0.483185877 C-3.2680458e-17,0.216329686 0.216329686,1.04531838e-16 0.483185877,0 Z" id="矩形备份-75"></path>
|
|
652
|
+
<path d="M0.483185877,12.0833333 L9.98903635,12.0833333 C10.2558925,12.0833333 10.4722222,12.299663 10.4722222,12.5665192 C10.4722222,12.8333754 10.2558925,13.0497051 9.98903635,13.0497051 L0.483185877,13.0497051 C0.216329686,13.0497051 3.2680458e-17,12.8333754 0,12.5665192 C-3.2680458e-17,12.299663 0.216329686,12.0833333 0.483185877,12.0833333 Z" id="矩形备份-77"></path>
|
|
664
653
|
</g>
|
|
665
654
|
</g>
|
|
666
|
-
</
|
|
667
|
-
|
|
655
|
+
</g>
|
|
656
|
+
</g>
|
|
657
|
+
</svg>`
|
|
668
658
|
},
|
|
669
659
|
{
|
|
670
660
|
key: PluginMenuIcons.numberedList,
|
|
671
|
-
svg:
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
<path d="M0.483185877,12.0833333 L9.98903635,12.0833333 C10.2558925,12.0833333 10.4722222,12.299663 10.4722222,12.5665192 C10.4722222,12.8333754 10.2558925,13.0497051 9.98903635,13.0497051 L0.483185877,13.0497051 C0.216329686,13.0497051 3.2680458e-17,12.8333754 0,12.5665192 C-3.2680458e-17,12.299663 0.216329686,12.0833333 0.483185877,12.0833333 Z" id="矩形备份-77"></path>
|
|
684
|
-
</g>
|
|
685
|
-
</g>
|
|
661
|
+
svg: `<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
662
|
+
<title>有序列表</title>
|
|
663
|
+
<g id="有序列表" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
664
|
+
<g id="icon">
|
|
665
|
+
<path d="M4,0 L24,0 C26.209139,1.11220812e-15 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 1.78856188e-15,26.209139 0,24 L0,4 C-7.1463071e-16,1.790861 1.790861,-3.82769592e-17 4,0 Z" id="矩形" fill="#FFFFFF"></path>
|
|
666
|
+
<path d="M24,0 C26.209139,0 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 0,26.209139 0,24 L0,4 C0,1.790861 1.790861,0 4,0 L24,0 Z M24,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,24 C1,25.6568542 2.34314575,27 4,27 L24,27 C25.6568542,27 27,25.6568542 27,24 L27,4 C27,2.34314575 25.6568542,1 24,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
667
|
+
<g id="1.icon图标/11.editor/-save备份-32" transform="translate(6.444444, 6.444444)">
|
|
668
|
+
<path d="M1.04017606,1.15763283 L1.04017606,3.82018834 L2.08035212,3.82018834 L2.08035212,0 L1.27132629,0 L0,0.810342981 L0.462300471,1.62068596 L1.04017606,1.15763283 Z M0.115575118,6.83003369 L0.809025824,7.40885011 C0.924600942,7.17732354 1.15575118,7.06156026 1.27132629,7.06156026 C1.38690141,7.06156026 1.38690141,7.06156026 1.50247653,7.17732354 C1.61805165,7.29308683 1.61805165,7.29308683 1.61805165,7.40885011 C1.61805165,7.52461339 1.61805165,7.64037668 1.50247653,7.75613996 C1.38690141,7.87190324 1.27132629,7.98766652 1.15575118,8.21919309 L0.115575118,9.37682592 L0.115575118,10.0714056 L2.65822771,10.0714056 L2.65822771,9.14529935 L1.50247653,9.14529935 L1.964777,8.68224622 C2.31150235,8.33495637 2.54265259,8.10342981 2.54265259,7.87190324 C2.65822771,7.64037668 2.65822771,7.52461339 2.65822771,7.29308683 C2.65822771,6.94579698 2.54265259,6.71427041 2.31150235,6.48274385 C2.08035212,6.25121728 1.73362677,6.135454 1.38690141,6.135454 C0.809025824,6.135454 0.346725353,6.36698056 0.115575118,6.83003369 Z M2.19592724,14.2388838 C2.54265259,14.0073572 2.65822771,13.7758307 2.65822771,13.3127775 C2.65822771,12.9654877 2.54265259,12.7339611 2.31150235,12.5024346 C2.08035212,12.270908 1.73362677,12.270908 1.38690141,12.270908 C1.15575118,12.270908 0.809025824,12.3866713 0.577875589,12.5024346 C0.346725353,12.6181978 0.231150235,12.8497244 0.115575118,13.081251 L0.924600942,13.5443041 C1.04017606,13.3127775 1.15575118,13.1970143 1.38690141,13.1970143 C1.50247653,13.1970143 1.61805165,13.1970143 1.61805165,13.3127775 C1.73362677,13.3127775 1.73362677,13.4285408 1.73362677,13.5443041 C1.73362677,13.6600674 1.73362677,13.6600674 1.61805165,13.7758307 C1.50247653,13.7758307 1.50247653,13.891594 1.38690141,13.891594 L1.04017606,13.891594 L1.04017606,14.7019369 L1.27132629,14.7019369 C1.38690141,14.7019369 1.50247653,14.7019369 1.61805165,14.8177002 C1.73362677,14.9334635 1.73362677,14.9334635 1.73362677,15.0492268 C1.73362677,15.1649901 1.73362677,15.2807534 1.61805165,15.2807534 C1.50247653,15.3965166 1.50247653,15.3965166 1.38690141,15.3965166 C1.15575118,15.3965166 1.04017606,15.2807534 0.924600942,15.0492268 L0,15.2807534 C0.115575118,15.5122799 0.231150235,15.7438065 0.577875589,15.975333 C0.809025824,16.0910963 1.15575118,16.2068596 1.50247653,16.2068596 C1.84920188,16.2068596 2.19592724,16.0910963 2.42707747,15.8595698 C2.65822771,15.6280432 2.77380283,15.3965166 2.77380283,15.0492268 C2.77380283,14.7019369 2.54265259,14.3546471 2.19592724,14.2388838 Z" id="合并形状" fill="#666666" fill-rule="nonzero"></path>
|
|
669
|
+
<g id="编组-2" transform="translate(5.638889, 1.611111)" fill="#CACACA">
|
|
670
|
+
<path d="M0.483185877,6.0896638 L6.76681412,6.0896638 C7.03367031,6.0896638 7.25,6.30599348 7.25,6.57284968 C7.25,6.83970587 7.03367031,7.05603555 6.76681412,7.05603555 L0.483185877,7.05603555 C0.216329686,7.05603555 3.2680458e-17,6.83970587 0,6.57284968 C-3.2680458e-17,6.30599348 0.216329686,6.0896638 0.483185877,6.0896638 Z" id="矩形备份-74"></path>
|
|
671
|
+
<path d="M0.483185877,0 L9.98903635,0 C10.2558925,5.01716756e-16 10.4722222,0.216329686 10.4722222,0.483185877 C10.4722222,0.750042068 10.2558925,0.966371753 9.98903635,0.966371753 L0.483185877,0.966371753 C0.216329686,0.966371753 3.2680458e-17,0.750042068 0,0.483185877 C-3.2680458e-17,0.216329686 0.216329686,1.04531838e-16 0.483185877,0 Z" id="矩形备份-75"></path>
|
|
672
|
+
<path d="M0.483185877,12.0833333 L9.98903635,12.0833333 C10.2558925,12.0833333 10.4722222,12.299663 10.4722222,12.5665192 C10.4722222,12.8333754 10.2558925,13.0497051 9.98903635,13.0497051 L0.483185877,13.0497051 C0.216329686,13.0497051 3.2680458e-17,12.8333754 0,12.5665192 C-3.2680458e-17,12.299663 0.216329686,12.0833333 0.483185877,12.0833333 Z" id="矩形备份-77"></path>
|
|
686
673
|
</g>
|
|
687
674
|
</g>
|
|
688
|
-
</
|
|
689
|
-
|
|
675
|
+
</g>
|
|
676
|
+
</g>
|
|
677
|
+
</svg>`
|
|
690
678
|
},
|
|
691
679
|
{
|
|
692
680
|
key: PluginMenuIcons.link,
|
|
693
|
-
svg:
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
<path d="M7.45355719,4.93747921 C9.23314138,4.93747921 10.6757794,6.38011724 10.6757794,8.15970143 L10.6757794,11.3819237 C10.6757794,13.1615078 9.23314138,14.6041459 7.45355719,14.6041459 C5.673973,14.6041459 4.23133497,13.1615078 4.23133497,11.3819237 L4.23177941,10.5771459 L5.19877941,10.5771459 L5.19800164,11.3819237 C5.19800164,12.6276326 6.20784825,13.6374792 7.45355719,13.6374792 C8.69926613,13.6374792 9.70911275,12.6276326 9.70911275,11.3819237 L9.70911275,8.15970143 C9.70911275,6.9139925 8.69926613,5.90414588 7.45355719,5.90414588 L7.45355719,4.93747921 Z M7.45355719,0.104145876 C9.23314138,0.104145876 10.6757794,1.5467839 10.6757794,3.3263681 L10.675335,4.13114588 L9.70833497,4.13114588 L9.70911275,3.3263681 C9.70911275,2.08065916 8.69926613,1.07081254 7.45355719,1.07081254 C6.20784825,1.07081254 5.19800164,2.08065916 5.19800164,3.3263681 L5.19800164,6.54859032 C5.19800164,7.79429926 6.20784825,8.80414588 7.45355719,8.80414588 L7.45355719,9.77081254 C5.673973,9.77081254 4.23133497,8.32817451 4.23133497,6.54859032 L4.23133497,3.3263681 C4.23133497,1.5467839 5.673973,0.104145876 7.45355719,0.104145876 Z" id="形状结合" transform="translate(7.453557, 7.354146) rotate(46.000000) translate(-7.453557, -7.354146) "></path>
|
|
706
|
-
</g>
|
|
707
|
-
</g>
|
|
681
|
+
svg: `<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
682
|
+
<title>链接</title>
|
|
683
|
+
<g id="链接" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
684
|
+
<g id="icon">
|
|
685
|
+
<path d="M4,0 L24,0 C26.209139,1.11220812e-15 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 1.78856188e-15,26.209139 0,24 L0,4 C-7.1463071e-16,1.790861 1.790861,-3.82769592e-17 4,0 Z" id="矩形" fill="#FFFFFF"></path>
|
|
686
|
+
<path d="M24,0 C26.209139,0 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 0,26.209139 0,24 L0,4 C0,1.790861 1.790861,0 4,0 L24,0 Z M24,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,24 C1,25.6568542 2.34314575,27 4,27 L24,27 C25.6568542,27 27,25.6568542 27,24 L27,4 C27,2.34314575 25.6568542,1 24,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
687
|
+
<g id="编组-5" transform="translate(4.027778, 8.055556)">
|
|
688
|
+
<path d="M15.0350681,6.34736082 L17.4060977,6.34736082 C17.6730353,6.34736082 17.889431,6.56375652 17.889431,6.83069415 C17.889431,7.09763178 17.6730353,7.31402748 17.4060977,7.31402748 L15.0350681,7.31402748 C14.7681305,7.31402748 14.5517348,7.09763178 14.5517348,6.83069415 C14.5517348,6.56375652 14.7681305,6.34736082 15.0350681,6.34736082 Z" id="矩形备份-76" fill="#73D897"></path>
|
|
689
|
+
<path d="M15.0350681,1.84691117 L19.6555556,1.84691117 C19.9224932,1.84691117 20.1388889,2.06330687 20.1388889,2.3302445 C20.1388889,2.59718213 19.9224932,2.81357784 19.6555556,2.81357784 L15.0350681,2.81357784 C14.7681305,2.81357784 14.5517348,2.59718213 14.5517348,2.3302445 C14.5517348,2.06330687 14.7681305,1.84691117 15.0350681,1.84691117 Z" id="矩形备份-89" fill="#6698FF"></path>
|
|
690
|
+
<path d="M15.0350681,10.8478105 L19.6555556,10.8478105 C19.9224932,10.8478105 20.1388889,11.0642062 20.1388889,11.3311438 C20.1388889,11.5980814 19.9224932,11.8144771 19.6555556,11.8144771 L15.0350681,11.8144771 C14.7681305,11.8144771 14.5517348,11.5980814 14.5517348,11.3311438 C14.5517348,11.0642062 14.7681305,10.8478105 15.0350681,10.8478105 Z" id="矩形备份-91" fill="#FF7575"></path>
|
|
691
|
+
<g id="1.Base基础/1.icon图标/11.editor/link-insert" transform="translate(-0.805556, -0.805556)" fill="#DDDDDD">
|
|
692
|
+
<path d="M7.45355719,4.93747921 C9.23314138,4.93747921 10.6757794,6.38011724 10.6757794,8.15970143 L10.6757794,11.3819237 C10.6757794,13.1615078 9.23314138,14.6041459 7.45355719,14.6041459 C5.673973,14.6041459 4.23133497,13.1615078 4.23133497,11.3819237 L4.23177941,10.5771459 L5.19877941,10.5771459 L5.19800164,11.3819237 C5.19800164,12.6276326 6.20784825,13.6374792 7.45355719,13.6374792 C8.69926613,13.6374792 9.70911275,12.6276326 9.70911275,11.3819237 L9.70911275,8.15970143 C9.70911275,6.9139925 8.69926613,5.90414588 7.45355719,5.90414588 L7.45355719,4.93747921 Z M7.45355719,0.104145876 C9.23314138,0.104145876 10.6757794,1.5467839 10.6757794,3.3263681 L10.675335,4.13114588 L9.70833497,4.13114588 L9.70911275,3.3263681 C9.70911275,2.08065916 8.69926613,1.07081254 7.45355719,1.07081254 C6.20784825,1.07081254 5.19800164,2.08065916 5.19800164,3.3263681 L5.19800164,6.54859032 C5.19800164,7.79429926 6.20784825,8.80414588 7.45355719,8.80414588 L7.45355719,9.77081254 C5.673973,9.77081254 4.23133497,8.32817451 4.23133497,6.54859032 L4.23133497,3.3263681 C4.23133497,1.5467839 5.673973,0.104145876 7.45355719,0.104145876 Z" id="形状结合" transform="translate(7.453557, 7.354146) rotate(46.000000) translate(-7.453557, -7.354146) "></path>
|
|
708
693
|
</g>
|
|
709
694
|
</g>
|
|
710
|
-
</
|
|
711
|
-
|
|
695
|
+
</g>
|
|
696
|
+
</g>
|
|
697
|
+
</svg>`
|
|
712
698
|
},
|
|
713
699
|
{
|
|
714
700
|
key: PluginMenuIcons.checkItem,
|
|
715
|
-
svg:
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
<polyline id="路径" stroke-width="1.2" points="2.41667271 4.30160205 4.22917271 6.11410205 7.12315464 3.02084542"></polyline>
|
|
731
|
-
</g>
|
|
732
|
-
</g>
|
|
701
|
+
svg: `<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
702
|
+
<title>待办事项</title>
|
|
703
|
+
<g id="待办事项" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
704
|
+
<g id="icon备份-2">
|
|
705
|
+
<path d="M4,0 L24,0 C26.209139,1.11220812e-15 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 1.78856188e-15,26.209139 0,24 L0,4 C-7.1463071e-16,1.790861 1.790861,-3.82769592e-17 4,0 Z" id="矩形" fill="#FFFFFF"></path>
|
|
706
|
+
<path d="M24,0 C26.209139,0 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 0,26.209139 0,24 L0,4 C0,1.790861 1.790861,0 4,0 L24,0 Z M24,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,24 C1,25.6568542 2.34314575,27 4,27 L24,27 C25.6568542,27 27,25.6568542 27,24 L27,4 C27,2.34314575 25.6568542,1 24,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
707
|
+
<g id="编组-4" transform="translate(4.027778, 9.666667)">
|
|
708
|
+
<g id="编组-3" transform="translate(12.808333, 0.000000)" fill="#CACACA">
|
|
709
|
+
<path d="M0.483333333,4.50044965 L2.85436291,4.50044965 C3.12130054,4.50044965 3.33769625,4.71684535 3.33769625,4.98378298 C3.33769625,5.25072061 3.12130054,5.46711632 2.85436291,5.46711632 L0.483333333,5.46711632 C0.216395704,5.46711632 1.46532971e-12,5.25072061 1.46529702e-12,4.98378298 C1.46526433e-12,4.71684535 0.216395704,4.50044965 0.483333333,4.50044965 Z" id="矩形备份-74"></path>
|
|
710
|
+
<path d="M0.483333333,0 L5.1038208,0 C5.37075843,3.6496629e-16 5.58715414,0.216395704 5.58715414,0.483333333 C5.58715414,0.750270962 5.37075843,0.966666667 5.1038208,0.966666667 L0.483333333,0.966666667 C0.216395704,0.966666667 3.26904313e-17,0.750270962 0,0.483333333 C-3.26904313e-17,0.216395704 0.216395704,4.9035647e-17 0.483333333,0 Z" id="矩形备份-75"></path>
|
|
711
|
+
<path d="M0.483333333,9.0008993 L5.1038208,9.0008993 C5.37075843,9.0008993 5.58715414,9.217295 5.58715414,9.48423263 C5.58715414,9.75117026 5.37075843,9.96756596 5.1038208,9.96756596 L0.483333333,9.96756596 C0.216395704,9.96756596 3.26904313e-17,9.75117026 0,9.48423263 C-3.26904313e-17,9.217295 0.216395704,9.0008993 0.483333333,9.0008993 Z" id="矩形备份-77"></path>
|
|
712
|
+
</g>
|
|
713
|
+
<g id="3.Data-Input-数据输入/-3.Checkbox-多选框-/-3.Select" stroke="#6698FF">
|
|
714
|
+
<path d="M8.45833575,0.4 C8.68155193,0.4 8.88363194,0.49047157 9.02990764,0.636748731 C9.17618616,0.783028715 9.266657,0.985114583 9.266657,1.20833333 L9.266657,8.4583575 C9.266657,8.68157335 9.17618423,8.88365952 9.02990467,9.02994054 C8.88362938,9.17621729 8.68155079,9.26669083 8.45833575,9.26669083 L1.20831037,9.26669083 C0.985115594,9.26669083 0.783038483,9.17620636 0.63675948,9.02992458 C0.490483285,8.88364561 0.4,8.68156715 0.4,8.4583575 L0.4,1.20833333 C0.4,0.985120782 0.490481351,0.783042629 0.63675651,0.636764691 C0.783035922,0.4904825 0.985114455,0.4 1.20831037,0.4 Z" id="圆角矩形-12-拷贝-12" stroke-width="0.8" fill="#6698FF" opacity="0.300000012"></path>
|
|
715
|
+
<polyline id="路径" stroke-width="1.2" points="2.41667271 4.30160205 4.22917271 6.11410205 7.12315464 3.02084542"></polyline>
|
|
733
716
|
</g>
|
|
734
717
|
</g>
|
|
735
|
-
</
|
|
736
|
-
|
|
718
|
+
</g>
|
|
719
|
+
</g>
|
|
720
|
+
</svg>`
|
|
737
721
|
}
|
|
738
722
|
];
|
|
739
723
|
let THE_DEFAULT_MENU_ICONS_HAS_INITIALIZED = false;
|
|
@@ -760,10 +744,10 @@ class ElementStylePipe {
|
|
|
760
744
|
}
|
|
761
745
|
return style;
|
|
762
746
|
}
|
|
763
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: ElementStylePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
764
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: ElementStylePipe, name: "elementStyle" }); }
|
|
765
747
|
}
|
|
766
|
-
i0.ɵɵ
|
|
748
|
+
ElementStylePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ElementStylePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
749
|
+
ElementStylePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ElementStylePipe, name: "elementStyle" });
|
|
750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ElementStylePipe, decorators: [{
|
|
767
751
|
type: Pipe,
|
|
768
752
|
args: [{
|
|
769
753
|
name: 'elementStyle'
|
|
@@ -778,10 +762,10 @@ class ElementClassPipe {
|
|
|
778
762
|
}
|
|
779
763
|
return classStr;
|
|
780
764
|
}
|
|
781
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: ElementClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
782
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: ElementClassPipe, name: "elementClass" }); }
|
|
783
765
|
}
|
|
784
|
-
i0.ɵɵ
|
|
766
|
+
ElementClassPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ElementClassPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
767
|
+
ElementClassPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ElementClassPipe, name: "elementClass" });
|
|
768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ElementClassPipe, decorators: [{
|
|
785
769
|
type: Pipe,
|
|
786
770
|
args: [{
|
|
787
771
|
name: 'elementClass'
|
|
@@ -794,10 +778,10 @@ class PluginMenuPipe {
|
|
|
794
778
|
}
|
|
795
779
|
return icon;
|
|
796
780
|
}
|
|
797
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: PluginMenuPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
798
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: PluginMenuPipe, name: "getMenuIcon" }); }
|
|
799
781
|
}
|
|
800
|
-
i0.ɵɵ
|
|
782
|
+
PluginMenuPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PluginMenuPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
783
|
+
PluginMenuPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PluginMenuPipe, name: "getMenuIcon" });
|
|
784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PluginMenuPipe, decorators: [{
|
|
801
785
|
type: Pipe,
|
|
802
786
|
args: [{
|
|
803
787
|
name: 'getMenuIcon'
|
|
@@ -831,10 +815,10 @@ class TheTemplateComponent {
|
|
|
831
815
|
return null;
|
|
832
816
|
};
|
|
833
817
|
}
|
|
834
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
835
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheTemplateComponent, selector: "the-template,[theTemplate]", viewQueries: [{ propertyName: "paragraphTemplate", first: true, predicate: ["paragraph"], descendants: true, read: TemplateRef, static: true }, { propertyName: "headingOneTemplate", first: true, predicate: ["headingOne"], descendants: true, read: TemplateRef, static: true }, { propertyName: "headingTwoTemplate", first: true, predicate: ["headingTwo"], descendants: true, read: TemplateRef, static: true }, { propertyName: "headingThreeTemplate", first: true, predicate: ["headingThree"], descendants: true, read: TemplateRef, static: true }, { propertyName: "headingFourTemplate", first: true, predicate: ["headingFour"], descendants: true, read: TemplateRef, static: true }, { propertyName: "headingFiveTemplate", first: true, predicate: ["headingFive"], descendants: true, read: TemplateRef, static: true }, { propertyName: "headingSixTemplate", first: true, predicate: ["headingSix"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: "<ng-template #paragraph let-context=\"context\" let-viewContext=\"viewContext\">\n <div theDefaultElement [context]=\"context\" [viewContext]=\"viewContext\" [ngStyle]=\"context.element | elementStyle\"></div>\n</ng-template>\n<ng-template #headingOne let-context=\"context\" let-viewContext=\"viewContext\">\n <h1\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h1>\n</ng-template>\n<ng-template #headingTwo let-context=\"context\" let-viewContext=\"viewContext\">\n <h2\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h2>\n</ng-template>\n<ng-template #headingThree let-context=\"context\" let-viewContext=\"viewContext\">\n <h3\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h3>\n</ng-template>\n<ng-template #headingFour let-context=\"context\" let-viewContext=\"viewContext\">\n <h4\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h4>\n</ng-template>\n<ng-template #headingFive let-context=\"context\" let-viewContext=\"viewContext\">\n <h5\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h5>\n</ng-template>\n<ng-template #headingSix let-context=\"context\" let-viewContext=\"viewContext\">\n <h6\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h6>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: TheDefaultElementComponent, selector: "[theDefaultElement]" }, { kind: "pipe", type: ElementStylePipe, name: "elementStyle" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
836
818
|
}
|
|
837
|
-
i0.ɵɵ
|
|
819
|
+
TheTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
820
|
+
TheTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheTemplateComponent, selector: "the-template,[theTemplate]", viewQueries: [{ propertyName: "paragraphTemplate", first: true, predicate: ["paragraph"], descendants: true, read: TemplateRef, static: true }, { propertyName: "headingOneTemplate", first: true, predicate: ["headingOne"], descendants: true, read: TemplateRef, static: true }, { propertyName: "headingTwoTemplate", first: true, predicate: ["headingTwo"], descendants: true, read: TemplateRef, static: true }, { propertyName: "headingThreeTemplate", first: true, predicate: ["headingThree"], descendants: true, read: TemplateRef, static: true }, { propertyName: "headingFourTemplate", first: true, predicate: ["headingFour"], descendants: true, read: TemplateRef, static: true }, { propertyName: "headingFiveTemplate", first: true, predicate: ["headingFive"], descendants: true, read: TemplateRef, static: true }, { propertyName: "headingSixTemplate", first: true, predicate: ["headingSix"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: "<ng-template #paragraph let-context=\"context\" let-viewContext=\"viewContext\">\n <div theDefaultElement [context]=\"context\" [viewContext]=\"viewContext\" [ngStyle]=\"context.element | elementStyle\"></div>\n</ng-template>\n<ng-template #headingOne let-context=\"context\" let-viewContext=\"viewContext\">\n <h1\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h1>\n</ng-template>\n<ng-template #headingTwo let-context=\"context\" let-viewContext=\"viewContext\">\n <h2\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h2>\n</ng-template>\n<ng-template #headingThree let-context=\"context\" let-viewContext=\"viewContext\">\n <h3\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h3>\n</ng-template>\n<ng-template #headingFour let-context=\"context\" let-viewContext=\"viewContext\">\n <h4\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h4>\n</ng-template>\n<ng-template #headingFive let-context=\"context\" let-viewContext=\"viewContext\">\n <h5\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h5>\n</ng-template>\n<ng-template #headingSix let-context=\"context\" let-viewContext=\"viewContext\">\n <h6\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h6>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: TheDefaultElementComponent, selector: "[theDefaultElement]" }, { kind: "pipe", type: ElementStylePipe, name: "elementStyle" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
821
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTemplateComponent, decorators: [{
|
|
838
822
|
type: Component,
|
|
839
823
|
args: [{ selector: 'the-template,[theTemplate]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #paragraph let-context=\"context\" let-viewContext=\"viewContext\">\n <div theDefaultElement [context]=\"context\" [viewContext]=\"viewContext\" [ngStyle]=\"context.element | elementStyle\"></div>\n</ng-template>\n<ng-template #headingOne let-context=\"context\" let-viewContext=\"viewContext\">\n <h1\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h1>\n</ng-template>\n<ng-template #headingTwo let-context=\"context\" let-viewContext=\"viewContext\">\n <h2\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h2>\n</ng-template>\n<ng-template #headingThree let-context=\"context\" let-viewContext=\"viewContext\">\n <h3\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h3>\n</ng-template>\n<ng-template #headingFour let-context=\"context\" let-viewContext=\"viewContext\">\n <h4\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h4>\n</ng-template>\n<ng-template #headingFive let-context=\"context\" let-viewContext=\"viewContext\">\n <h5\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h5>\n</ng-template>\n<ng-template #headingSix let-context=\"context\" let-viewContext=\"viewContext\">\n <h6\n theDefaultElement\n [context]=\"context\"\n [viewContext]=\"viewContext\"\n [attr.id]=\"context.element.key\"\n [ngStyle]=\"context.element | elementStyle\"\n ></h6>\n</ng-template>\n" }]
|
|
840
824
|
}], propDecorators: { paragraphTemplate: [{
|
|
@@ -899,10 +883,10 @@ class TheTextComponent extends BaseTextComponent {
|
|
|
899
883
|
super.onContextChange();
|
|
900
884
|
this.applyTextMark();
|
|
901
885
|
}
|
|
902
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheTextComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
903
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheTextComponent, selector: "span[theText]", host: { attributes: { "data-slate-node": "text" } }, usesInheritance: true, ngImport: i0, template: `<slate-leaves [context]="context" [viewContext]="viewContext"></slate-leaves>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateLeavesComponent, selector: "slate-leaves", inputs: ["context"] }] }); }
|
|
904
886
|
}
|
|
905
|
-
i0.ɵɵ
|
|
887
|
+
TheTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTextComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
888
|
+
TheTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheTextComponent, selector: "span[theText]", host: { attributes: { "data-slate-node": "text" } }, usesInheritance: true, ngImport: i0, template: `<slate-leaves [context]="context" [viewContext]="viewContext"></slate-leaves>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateLeavesComponent, selector: "slate-leaves", inputs: ["context"] }] });
|
|
889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTextComponent, decorators: [{
|
|
906
890
|
type: Component,
|
|
907
891
|
args: [{
|
|
908
892
|
selector: 'span[theText]',
|
|
@@ -2676,10 +2660,10 @@ class TheBaseToolbarItem {
|
|
|
2676
2660
|
this.active = false;
|
|
2677
2661
|
}
|
|
2678
2662
|
}
|
|
2679
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheBaseToolbarItem, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2680
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.1", type: TheBaseToolbarItem, inputs: { toolbarItem: "toolbarItem", editor: "editor", itemMousedownHandle: "itemMousedownHandle" }, host: { properties: { "class.disabled": "this.disabledState", "class.active": "this.activeState" } }, ngImport: i0 }); }
|
|
2681
2663
|
}
|
|
2682
|
-
i0.ɵɵ
|
|
2664
|
+
TheBaseToolbarItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBaseToolbarItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2665
|
+
TheBaseToolbarItem.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TheBaseToolbarItem, inputs: { toolbarItem: "toolbarItem", editor: "editor", itemMousedownHandle: "itemMousedownHandle" }, host: { properties: { "class.disabled": "this.disabledState", "class.active": "this.activeState" } }, ngImport: i0 });
|
|
2666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBaseToolbarItem, decorators: [{
|
|
2683
2667
|
type: Directive
|
|
2684
2668
|
}], propDecorators: { toolbarItem: [{
|
|
2685
2669
|
type: Input
|
|
@@ -2714,10 +2698,10 @@ class TheBaseToolbarDropdown extends TheBaseToolbarItem {
|
|
|
2714
2698
|
this.activeMenuItem = activeItem ? activeItem : this.defaultDropdownItem;
|
|
2715
2699
|
}
|
|
2716
2700
|
}
|
|
2717
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheBaseToolbarDropdown, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2718
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.1", type: TheBaseToolbarDropdown, inputs: { menus: "menus", mode: "mode", dropdownItemKey: "dropdownItemKey" }, usesInheritance: true, ngImport: i0 }); }
|
|
2719
2701
|
}
|
|
2720
|
-
i0.ɵɵ
|
|
2702
|
+
TheBaseToolbarDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBaseToolbarDropdown, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2703
|
+
TheBaseToolbarDropdown.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TheBaseToolbarDropdown, inputs: { menus: "menus", mode: "mode", dropdownItemKey: "dropdownItemKey" }, usesInheritance: true, ngImport: i0 });
|
|
2704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBaseToolbarDropdown, decorators: [{
|
|
2721
2705
|
type: Directive
|
|
2722
2706
|
}], propDecorators: { menus: [{
|
|
2723
2707
|
type: Input
|
|
@@ -2840,10 +2824,10 @@ class TheToolbarDropdownComponent extends TheBaseToolbarDropdown {
|
|
|
2840
2824
|
.withPush(false)
|
|
2841
2825
|
.withPositions([bottomPosition, topPosition]);
|
|
2842
2826
|
}
|
|
2843
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheToolbarDropdownComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.ThyPopover }, { token: i0.ViewContainerRef }, { token: i2$1.Overlay }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2844
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheToolbarDropdownComponent, selector: "the-toolbar-dropdown", host: { properties: { "class": "this.className" } }, viewQueries: [{ propertyName: "iconModeTemplate", first: true, predicate: ["iconModeTemplate"], descendants: true, static: true }, { propertyName: "textModeTemplate", first: true, predicate: ["textModeTemplate"], descendants: true, static: true }, { propertyName: "dropdownTemplate", first: true, predicate: ["dropdownTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<a\n *ngIf=\"mode === dropdownMode.icon\"\n href=\"javascript:;\"\n class=\"icon-mode\"\n thyAction\n [thyActionIcon]=\"activeIcon\"\n [thyActionActive]=\"activeDropdown\"\n (mousedown)=\"preventDefault($event)\"\n (click)=\"toggleDropdown($event)\"\n>\n <thy-icon *ngIf=\"!toolbarItem.isHideDropdownActionIcon\" class=\"font-size-sm text-desc ml-1\" thyIconName=\"caret-down\"></thy-icon>\n</a>\n<a\n *ngIf=\"mode !== dropdownMode.icon\"\n href=\"javascript:;\"\n class=\"text-mode\"\n thyAction\n (mousedown)=\"preventDefault($event)\"\n (click)=\"toggleDropdown($event)\"\n>\n <span class=\"show-text\">{{ activeMenuItem?.name }}</span>\n <thy-icon class=\"font-size-sm text-desc ml-1\" thyIconName=\"caret-down\"></thy-icon>\n</a>\n\n<ng-template #dropdownTemplate>\n <div class=\"thy-dropdown-menu\">\n <ng-container *ngFor=\"let menu of menus\">\n <a\n *ngIf=\"menu.key !== 'split'\"\n class=\"d-flex justify-content-between text-secondary\"\n href=\"javascript:;\"\n thyDropdownMenuItem\n [ngStyle]=\"menu?.styles\"\n [thyDropdownMenuItemActive]=\"activeKeys.includes(menu.key)\"\n (mousedown)=\"preventDefault($event)\"\n (click)=\"itemMousedown($event, menu)\"\n >\n <div class=\"d-flex align-items-center\">\n <thy-icon\n class=\"text-secondary\"\n *ngIf=\"menu?.icon && mode === dropdownMode.icon\"\n thyDropdownMenuItemIcon\n [thyIconName]=\"menu.icon\"\n ></thy-icon>\n <span class=\"text-body\" *ngIf=\"menu?.name\" thyDropdownMenuItemName>{{ menu.name }}</span>\n </div>\n <div class=\"menu-item-right font-size-sm text-muted\" *ngIf=\"menu?.shortcutKey\">{{ menu.shortcutKey }}</div>\n </a>\n <thy-dropdown-menu-divider *ngIf=\"menu.key === 'split'\"></thy-dropdown-menu-divider>\n </ng-container>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i6.ThyDropdownMenuDividerComponent, selector: "thy-dropdown-menu-divider" }, { kind: "directive", type: i6.ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "directive", type: i6.ThyDropdownMenuItemNameDirective, selector: "[thyDropdownMenuItemName]" }, { kind: "directive", type: i6.ThyDropdownMenuItemIconDirective, selector: "[thyDropdownMenuItemIcon]" }, { kind: "directive", type: i6.ThyDropdownMenuItemActiveDirective, selector: "[thyDropdownMenuItemActive]", inputs: ["thyDropdownMenuItemActive"] }] }); }
|
|
2845
2827
|
}
|
|
2846
|
-
i0.ɵɵ
|
|
2828
|
+
TheToolbarDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheToolbarDropdownComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.ThyPopover }, { token: i0.ViewContainerRef }, { token: i2$1.Overlay }], target: i0.ɵɵFactoryTarget.Component });
|
|
2829
|
+
TheToolbarDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheToolbarDropdownComponent, selector: "the-toolbar-dropdown", host: { properties: { "class": "this.className" } }, viewQueries: [{ propertyName: "iconModeTemplate", first: true, predicate: ["iconModeTemplate"], descendants: true, static: true }, { propertyName: "textModeTemplate", first: true, predicate: ["textModeTemplate"], descendants: true, static: true }, { propertyName: "dropdownTemplate", first: true, predicate: ["dropdownTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<a\n *ngIf=\"mode === dropdownMode.icon\"\n href=\"javascript:;\"\n class=\"icon-mode\"\n thyAction\n [thyActionIcon]=\"activeIcon\"\n [thyActionActive]=\"activeDropdown\"\n (mousedown)=\"preventDefault($event)\"\n (click)=\"toggleDropdown($event)\"\n>\n <thy-icon *ngIf=\"!toolbarItem.isHideDropdownActionIcon\" class=\"font-size-sm text-desc ml-1\" thyIconName=\"caret-down\"></thy-icon>\n</a>\n<a\n *ngIf=\"mode !== dropdownMode.icon\"\n href=\"javascript:;\"\n class=\"text-mode\"\n thyAction\n (mousedown)=\"preventDefault($event)\"\n (click)=\"toggleDropdown($event)\"\n>\n <span class=\"show-text\">{{ activeMenuItem?.name }}</span>\n <thy-icon class=\"font-size-sm text-desc ml-1\" thyIconName=\"caret-down\"></thy-icon>\n</a>\n\n<ng-template #dropdownTemplate>\n <div class=\"thy-dropdown-menu\">\n <ng-container *ngFor=\"let menu of menus\">\n <a\n *ngIf=\"menu.key !== 'split'\"\n class=\"d-flex justify-content-between text-secondary\"\n href=\"javascript:;\"\n thyDropdownMenuItem\n [ngStyle]=\"menu?.styles\"\n [thyDropdownMenuItemActive]=\"activeKeys.includes(menu.key)\"\n (mousedown)=\"preventDefault($event)\"\n (click)=\"itemMousedown($event, menu)\"\n >\n <div class=\"d-flex align-items-center\">\n <thy-icon\n class=\"text-secondary\"\n *ngIf=\"menu?.icon && mode === dropdownMode.icon\"\n thyDropdownMenuItemIcon\n [thyIconName]=\"menu.icon\"\n ></thy-icon>\n <span class=\"text-body\" *ngIf=\"menu?.name\" thyDropdownMenuItemName>{{ menu.name }}</span>\n </div>\n <div class=\"menu-item-right font-size-sm text-muted\" *ngIf=\"menu?.shortcutKey\">{{ menu.shortcutKey }}</div>\n </a>\n <thy-dropdown-menu-divider *ngIf=\"menu.key === 'split'\"></thy-dropdown-menu-divider>\n </ng-container>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i6.ThyDropdownMenuDividerComponent, selector: "thy-dropdown-menu-divider" }, { kind: "directive", type: i6.ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "directive", type: i6.ThyDropdownMenuItemNameDirective, selector: "[thyDropdownMenuItemName]" }, { kind: "directive", type: i6.ThyDropdownMenuItemIconDirective, selector: "[thyDropdownMenuItemIcon]" }, { kind: "directive", type: i6.ThyDropdownMenuItemActiveDirective, selector: "[thyDropdownMenuItemActive]", inputs: ["thyDropdownMenuItemActive"] }] });
|
|
2830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheToolbarDropdownComponent, decorators: [{
|
|
2847
2831
|
type: Component,
|
|
2848
2832
|
args: [{ selector: 'the-toolbar-dropdown', template: "<a\n *ngIf=\"mode === dropdownMode.icon\"\n href=\"javascript:;\"\n class=\"icon-mode\"\n thyAction\n [thyActionIcon]=\"activeIcon\"\n [thyActionActive]=\"activeDropdown\"\n (mousedown)=\"preventDefault($event)\"\n (click)=\"toggleDropdown($event)\"\n>\n <thy-icon *ngIf=\"!toolbarItem.isHideDropdownActionIcon\" class=\"font-size-sm text-desc ml-1\" thyIconName=\"caret-down\"></thy-icon>\n</a>\n<a\n *ngIf=\"mode !== dropdownMode.icon\"\n href=\"javascript:;\"\n class=\"text-mode\"\n thyAction\n (mousedown)=\"preventDefault($event)\"\n (click)=\"toggleDropdown($event)\"\n>\n <span class=\"show-text\">{{ activeMenuItem?.name }}</span>\n <thy-icon class=\"font-size-sm text-desc ml-1\" thyIconName=\"caret-down\"></thy-icon>\n</a>\n\n<ng-template #dropdownTemplate>\n <div class=\"thy-dropdown-menu\">\n <ng-container *ngFor=\"let menu of menus\">\n <a\n *ngIf=\"menu.key !== 'split'\"\n class=\"d-flex justify-content-between text-secondary\"\n href=\"javascript:;\"\n thyDropdownMenuItem\n [ngStyle]=\"menu?.styles\"\n [thyDropdownMenuItemActive]=\"activeKeys.includes(menu.key)\"\n (mousedown)=\"preventDefault($event)\"\n (click)=\"itemMousedown($event, menu)\"\n >\n <div class=\"d-flex align-items-center\">\n <thy-icon\n class=\"text-secondary\"\n *ngIf=\"menu?.icon && mode === dropdownMode.icon\"\n thyDropdownMenuItemIcon\n [thyIconName]=\"menu.icon\"\n ></thy-icon>\n <span class=\"text-body\" *ngIf=\"menu?.name\" thyDropdownMenuItemName>{{ menu.name }}</span>\n </div>\n <div class=\"menu-item-right font-size-sm text-muted\" *ngIf=\"menu?.shortcutKey\">{{ menu.shortcutKey }}</div>\n </a>\n <thy-dropdown-menu-divider *ngIf=\"menu.key === 'split'\"></thy-dropdown-menu-divider>\n </ng-container>\n </div>\n</ng-template>\n" }]
|
|
2849
2833
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThyPopover }, { type: i0.ViewContainerRef }, { type: i2$1.Overlay }]; }, propDecorators: { className: [{
|
|
@@ -2883,8 +2867,9 @@ class TheToolbarItemComponent extends TheBaseToolbarItem {
|
|
|
2883
2867
|
}
|
|
2884
2868
|
this.toolbarItem?.execute(this.editor);
|
|
2885
2869
|
}
|
|
2886
|
-
|
|
2887
|
-
|
|
2870
|
+
}
|
|
2871
|
+
TheToolbarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheToolbarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2872
|
+
TheToolbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheToolbarItemComponent, selector: "the-toolbar-item", host: { listeners: { "mousedown": "toggleDropdown($event)" }, properties: { "class": "this.className" } }, usesInheritance: true, ngImport: i0, template: `
|
|
2888
2873
|
<a
|
|
2889
2874
|
href="javascript:;"
|
|
2890
2875
|
thyAction
|
|
@@ -2897,9 +2882,8 @@ class TheToolbarItemComponent extends TheBaseToolbarItem {
|
|
|
2897
2882
|
(click)="execute($event)"
|
|
2898
2883
|
></a>
|
|
2899
2884
|
<ng-template #tooltip let-data> {{ data?.name }} {{ data?.shortcutKey }} </ng-template>
|
|
2900
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }] });
|
|
2901
|
-
|
|
2902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheToolbarItemComponent, decorators: [{
|
|
2885
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }] });
|
|
2886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheToolbarItemComponent, decorators: [{
|
|
2903
2887
|
type: Component,
|
|
2904
2888
|
args: [{
|
|
2905
2889
|
selector: 'the-toolbar-item',
|
|
@@ -3151,10 +3135,10 @@ class TheToolbarComponent {
|
|
|
3151
3135
|
}
|
|
3152
3136
|
return TheToolbarItemComponent;
|
|
3153
3137
|
}
|
|
3154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheToolbarComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: TheToolbarGroupToken }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3155
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheToolbarComponent, selector: "the-toolbar", inputs: { editor: "editor", toolbarItems: "toolbarItems", align: "align", containerClass: "containerClass", isMore: "isMore", afterTemplate: "afterTemplate" }, host: { properties: { "style.justifyContent": "this.justifyContent" }, classAttribute: "the-toolbar-container d-flex align-items-center" }, viewQueries: [{ propertyName: "toolbarContainer", first: true, predicate: ["toolbarContainer"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container #toolbarContainer></ng-container>\n<ng-content></ng-content>\n<ng-template *ngIf=\"afterTemplate\" [ngTemplateOutlet]=\"afterTemplate\"></ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
3156
3138
|
}
|
|
3157
|
-
i0.ɵɵ
|
|
3139
|
+
TheToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheToolbarComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: TheToolbarGroupToken }], target: i0.ɵɵFactoryTarget.Component });
|
|
3140
|
+
TheToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheToolbarComponent, selector: "the-toolbar", inputs: { editor: "editor", toolbarItems: "toolbarItems", align: "align", containerClass: "containerClass", isMore: "isMore", afterTemplate: "afterTemplate" }, host: { properties: { "style.justifyContent": "this.justifyContent" }, classAttribute: "the-toolbar-container d-flex align-items-center" }, viewQueries: [{ propertyName: "toolbarContainer", first: true, predicate: ["toolbarContainer"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container #toolbarContainer></ng-container>\n<ng-content></ng-content>\n<ng-template *ngIf=\"afterTemplate\" [ngTemplateOutlet]=\"afterTemplate\"></ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
3141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheToolbarComponent, decorators: [{
|
|
3158
3142
|
type: Component,
|
|
3159
3143
|
args: [{ selector: 'the-toolbar', host: {
|
|
3160
3144
|
class: 'the-toolbar-container d-flex align-items-center'
|
|
@@ -3305,10 +3289,10 @@ class TheContextService {
|
|
|
3305
3289
|
this.destroy$.next();
|
|
3306
3290
|
this.destroy$.complete();
|
|
3307
3291
|
}
|
|
3308
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheContextService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3309
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheContextService }); }
|
|
3310
3292
|
}
|
|
3311
|
-
i0.ɵɵ
|
|
3293
|
+
TheContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheContextService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3294
|
+
TheContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheContextService });
|
|
3295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheContextService, decorators: [{
|
|
3312
3296
|
type: Injectable
|
|
3313
3297
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
3314
3298
|
|
|
@@ -5479,10 +5463,10 @@ class TheBaseSuggestion {
|
|
|
5479
5463
|
handleMousedown(event) {
|
|
5480
5464
|
event.preventDefault();
|
|
5481
5465
|
}
|
|
5482
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheBaseSuggestion, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5483
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.1", type: TheBaseSuggestion, inputs: { editor: "editor", type: "type", keywords: "keywords" }, host: { listeners: { "mousedown": "handleMousedown($event)" } }, ngImport: i0 }); }
|
|
5484
5466
|
}
|
|
5485
|
-
i0.ɵɵ
|
|
5467
|
+
TheBaseSuggestion.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBaseSuggestion, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5468
|
+
TheBaseSuggestion.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TheBaseSuggestion, inputs: { editor: "editor", type: "type", keywords: "keywords" }, host: { listeners: { "mousedown": "handleMousedown($event)" } }, ngImport: i0 });
|
|
5469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBaseSuggestion, decorators: [{
|
|
5486
5470
|
type: Directive
|
|
5487
5471
|
}], propDecorators: { editor: [{
|
|
5488
5472
|
type: Input
|
|
@@ -5523,10 +5507,10 @@ class TheTableSelectComponent {
|
|
|
5523
5507
|
this.maxRowIndex = -1;
|
|
5524
5508
|
}
|
|
5525
5509
|
}
|
|
5526
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheTableSelectComponent, deps: [{ token: i1$1.ThyPopoverRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5527
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheTableSelectComponent, selector: "table-select", inputs: { optionsParam: "optionsParam", editor: "editor", beforeInsert: "beforeInsert" }, ngImport: i0, template: "<div class=\"table-selector-container\">\n <div *ngFor=\"let item of tableData; let rowIndex = index\" class=\"selector-row\" (mousedown)=\"executeTable($event)\">\n <span\n *ngFor=\"let item of tableData; let colIndex = index\"\n [ngClass]=\"{ 'active-cell': rowIndex <= maxRowIndex && colIndex <= maxColIndex, 'selector-cell': true }\"\n (mouseenter)=\"onSelectCells(rowIndex, colIndex)\"\n >\n </span>\n </div>\n <span class=\"selector-text\">{{ maxRowIndex + 1 }} x {{ maxColIndex + 1 }}</span>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] }); }
|
|
5528
5510
|
}
|
|
5529
|
-
i0.ɵɵ
|
|
5511
|
+
TheTableSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableSelectComponent, deps: [{ token: i1$1.ThyPopoverRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5512
|
+
TheTableSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheTableSelectComponent, selector: "table-select", inputs: { optionsParam: "optionsParam", editor: "editor", beforeInsert: "beforeInsert" }, ngImport: i0, template: "<div class=\"table-selector-container\">\n <div *ngFor=\"let item of tableData; let rowIndex = index\" class=\"selector-row\" (mousedown)=\"executeTable($event)\">\n <span\n *ngFor=\"let item of tableData; let colIndex = index\"\n [ngClass]=\"{ 'active-cell': rowIndex <= maxRowIndex && colIndex <= maxColIndex, 'selector-cell': true }\"\n (mouseenter)=\"onSelectCells(rowIndex, colIndex)\"\n >\n </span>\n </div>\n <span class=\"selector-text\">{{ maxRowIndex + 1 }} x {{ maxColIndex + 1 }}</span>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
5513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableSelectComponent, decorators: [{
|
|
5530
5514
|
type: Component,
|
|
5531
5515
|
args: [{ selector: 'table-select', template: "<div class=\"table-selector-container\">\n <div *ngFor=\"let item of tableData; let rowIndex = index\" class=\"selector-row\" (mousedown)=\"executeTable($event)\">\n <span\n *ngFor=\"let item of tableData; let colIndex = index\"\n [ngClass]=\"{ 'active-cell': rowIndex <= maxRowIndex && colIndex <= maxColIndex, 'selector-cell': true }\"\n (mouseenter)=\"onSelectCells(rowIndex, colIndex)\"\n >\n </span>\n </div>\n <span class=\"selector-text\">{{ maxRowIndex + 1 }} x {{ maxColIndex + 1 }}</span>\n</div>\n" }]
|
|
5532
5516
|
}], ctorParameters: function () { return [{ type: i1$1.ThyPopoverRef }]; }, propDecorators: { optionsParam: [{
|
|
@@ -5578,15 +5562,15 @@ class TheListboxOptionDirective {
|
|
|
5578
5562
|
getActive() {
|
|
5579
5563
|
return this._active;
|
|
5580
5564
|
}
|
|
5581
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheListboxOptionDirective, deps: [{ token: THE_LISTBOX_PARENT_OPTION_TOKEN, optional: true, skipSelf: true }, { token: THE_LISTBOX_PARENT_GROUP_TOKEN }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5582
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.1", type: TheListboxOptionDirective, selector: "[theListboxOption]", inputs: { theOptionValue: "theOptionValue", theOptionDisabled: "theOptionDisabled" }, host: { properties: { "class": "this.className" } }, providers: [
|
|
5583
|
-
{
|
|
5584
|
-
provide: THE_LISTBOX_PARENT_OPTION_TOKEN,
|
|
5585
|
-
useExisting: TheListboxOptionDirective
|
|
5586
|
-
}
|
|
5587
|
-
], queries: [{ propertyName: "_options", predicate: i0.forwardRef(function () { return TheListboxOptionDirective; }), descendants: true }], exportAs: ["theListboxOption"], ngImport: i0 }); }
|
|
5588
5565
|
}
|
|
5589
|
-
i0.ɵɵ
|
|
5566
|
+
TheListboxOptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheListboxOptionDirective, deps: [{ token: THE_LISTBOX_PARENT_OPTION_TOKEN, optional: true, skipSelf: true }, { token: THE_LISTBOX_PARENT_GROUP_TOKEN }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5567
|
+
TheListboxOptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TheListboxOptionDirective, selector: "[theListboxOption]", inputs: { theOptionValue: "theOptionValue", theOptionDisabled: "theOptionDisabled" }, host: { properties: { "class": "this.className" } }, providers: [
|
|
5568
|
+
{
|
|
5569
|
+
provide: THE_LISTBOX_PARENT_OPTION_TOKEN,
|
|
5570
|
+
useExisting: TheListboxOptionDirective
|
|
5571
|
+
}
|
|
5572
|
+
], queries: [{ propertyName: "_options", predicate: i0.forwardRef(function () { return TheListboxOptionDirective; }), descendants: true }], exportAs: ["theListboxOption"], ngImport: i0 });
|
|
5573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheListboxOptionDirective, decorators: [{
|
|
5590
5574
|
type: Directive,
|
|
5591
5575
|
args: [{
|
|
5592
5576
|
selector: '[theListboxOption]',
|
|
@@ -5661,15 +5645,15 @@ class TheListboxGroupDirective {
|
|
|
5661
5645
|
getLast() {
|
|
5662
5646
|
return this.options[this.options.length - 1];
|
|
5663
5647
|
}
|
|
5664
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheListboxGroupDirective, deps: [{ token: THE_LISTBOX_PARENT_OPTION_TOKEN, optional: true, skipSelf: true }, { token: THE_LISTBOX_TOKEN }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5665
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.1", type: TheListboxGroupDirective, selector: "[theListboxGroup]", inputs: { horizontalColumn: "horizontalColumn" }, host: { properties: { "class": "this.className" } }, providers: [
|
|
5666
|
-
{
|
|
5667
|
-
provide: THE_LISTBOX_PARENT_GROUP_TOKEN,
|
|
5668
|
-
useExisting: TheListboxGroupDirective
|
|
5669
|
-
}
|
|
5670
|
-
], queries: [{ propertyName: "_options", predicate: TheListboxOptionDirective, descendants: true }], exportAs: ["theListboxGroup"], ngImport: i0 }); }
|
|
5671
5648
|
}
|
|
5672
|
-
i0.ɵɵ
|
|
5649
|
+
TheListboxGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheListboxGroupDirective, deps: [{ token: THE_LISTBOX_PARENT_OPTION_TOKEN, optional: true, skipSelf: true }, { token: THE_LISTBOX_TOKEN }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5650
|
+
TheListboxGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TheListboxGroupDirective, selector: "[theListboxGroup]", inputs: { horizontalColumn: "horizontalColumn" }, host: { properties: { "class": "this.className" } }, providers: [
|
|
5651
|
+
{
|
|
5652
|
+
provide: THE_LISTBOX_PARENT_GROUP_TOKEN,
|
|
5653
|
+
useExisting: TheListboxGroupDirective
|
|
5654
|
+
}
|
|
5655
|
+
], queries: [{ propertyName: "_options", predicate: TheListboxOptionDirective, descendants: true }], exportAs: ["theListboxGroup"], ngImport: i0 });
|
|
5656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheListboxGroupDirective, decorators: [{
|
|
5673
5657
|
type: Directive,
|
|
5674
5658
|
args: [{
|
|
5675
5659
|
selector: '[theListboxGroup]',
|
|
@@ -5872,15 +5856,15 @@ class TheListboxDirective {
|
|
|
5872
5856
|
this._optionChangesSubscription.unsubscribe();
|
|
5873
5857
|
this._keyboardSubscription.unsubscribe();
|
|
5874
5858
|
}
|
|
5875
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheListboxDirective, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5876
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.1", type: TheListboxDirective, selector: "[theListBox]", inputs: { keyboardContainer: "keyboardContainer", autoActiveFirstItem: "autoActiveFirstItem" }, outputs: { theListboxChange: "theListboxChange" }, host: { properties: { "class": "this.className" } }, providers: [
|
|
5877
|
-
{
|
|
5878
|
-
provide: THE_LISTBOX_TOKEN,
|
|
5879
|
-
useExisting: TheListboxDirective
|
|
5880
|
-
}
|
|
5881
|
-
], queries: [{ propertyName: "_groups", predicate: TheListboxGroupDirective, descendants: true }, { propertyName: "_options", predicate: TheListboxOptionDirective, descendants: true }], exportAs: ["theListBox"], ngImport: i0 }); }
|
|
5882
5859
|
}
|
|
5883
|
-
i0.ɵɵ
|
|
5860
|
+
TheListboxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheListboxDirective, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5861
|
+
TheListboxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TheListboxDirective, selector: "[theListBox]", inputs: { keyboardContainer: "keyboardContainer", autoActiveFirstItem: "autoActiveFirstItem" }, outputs: { theListboxChange: "theListboxChange" }, host: { properties: { "class": "this.className" } }, providers: [
|
|
5862
|
+
{
|
|
5863
|
+
provide: THE_LISTBOX_TOKEN,
|
|
5864
|
+
useExisting: TheListboxDirective
|
|
5865
|
+
}
|
|
5866
|
+
], queries: [{ propertyName: "_groups", predicate: TheListboxGroupDirective, descendants: true }, { propertyName: "_options", predicate: TheListboxOptionDirective, descendants: true }], exportAs: ["theListBox"], ngImport: i0 });
|
|
5867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheListboxDirective, decorators: [{
|
|
5884
5868
|
type: Directive,
|
|
5885
5869
|
args: [{
|
|
5886
5870
|
selector: '[theListBox]',
|
|
@@ -5913,10 +5897,10 @@ class ThePreventDefaultDirective {
|
|
|
5913
5897
|
mousedown(event) {
|
|
5914
5898
|
event.preventDefault();
|
|
5915
5899
|
}
|
|
5916
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: ThePreventDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5917
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.1", type: ThePreventDefaultDirective, selector: "[thePreventDefault]", host: { listeners: { "mousedown": "mousedown($event)" } }, exportAs: ["thePreventDefault"], ngImport: i0 }); }
|
|
5918
5900
|
}
|
|
5919
|
-
i0.ɵɵ
|
|
5901
|
+
ThePreventDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ThePreventDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5902
|
+
ThePreventDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ThePreventDefaultDirective, selector: "[thePreventDefault]", host: { listeners: { "mousedown": "mousedown($event)" } }, exportAs: ["thePreventDefault"], ngImport: i0 });
|
|
5903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ThePreventDefaultDirective, decorators: [{
|
|
5920
5904
|
type: Directive,
|
|
5921
5905
|
args: [{
|
|
5922
5906
|
selector: '[thePreventDefault]',
|
|
@@ -6080,10 +6064,10 @@ class ThePluginMenuComponent extends mixinUnsubscribe(MixinBase) {
|
|
|
6080
6064
|
ngOnDestroy() {
|
|
6081
6065
|
super.ngOnDestroy();
|
|
6082
6066
|
}
|
|
6083
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: ThePluginMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$1.ThyPopoverRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6084
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: ThePluginMenuComponent, selector: "the-plugin-menu", inputs: { editor: "editor", theDisplaySearch: "theDisplaySearch", thePluginMenu: "thePluginMenu", sceneKey: "sceneKey", subPanelClass: "subPanelClass", autoActiveFirstItem: "autoActiveFirstItem" }, host: { properties: { "class": "this.containerClassName" } }, viewQueries: [{ propertyName: "dropdownTriggers", predicate: ["dropdownTriggers"], descendants: true, read: ThyDropdownDirective }], usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"theDisplaySearch\" class=\"menu-search px-5 pt-5 pb-2\">\n <thy-input-search [(ngModel)]=\"keyWords\" placeholder=\"\u641C\u7D22\" thyIconPosition=\"after\" (ngModelChange)=\"updateKeywords(keyWords)\">\n </thy-input-search>\n</div>\n\n<div\n *ngIf=\"groupMenu.length > 0; else thyEmpty\"\n theListBox\n [keyboardContainer]=\"keyboardContainer\"\n [autoActiveFirstItem]=\"listBoxAutoActiveFirstItem\"\n (theListboxChange)=\"theListboxChange($event)\"\n class=\"thy-dropdown-menu the-plugin-menu-scroll-container pb-2 pt-0\"\n>\n <div *ngIf=\"iconMenu?.length > 0\" theListboxGroup [horizontalColumn]=\"6\" class=\"icon-menu d-flex pl-5 py-1\">\n <ng-container *ngFor=\"let item of iconMenu; trackBy: trackByFn\">\n <a\n *ngIf=\"item.type === ThePluginMenuItemType.icon\"\n href=\"javascript:;\"\n class=\"mt-2\"\n thyAction\n theListboxOption\n [theOptionValue]=\"item\"\n [thyActionIcon]=\"item.icon\"\n [thyTooltip]=\"item?.name\"\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n ></a>\n </ng-container>\n </div>\n\n <thy-divider *ngIf=\"this.iconMenu?.length\" class=\"my-2\"></thy-divider>\n <div theListboxGroup>\n <ng-container *ngFor=\"let item of groupMenu; trackBy: trackByFn\">\n <ng-container *ngIf=\"item.isMenuItem && !(item.children?.length > 0) && item.key !== 'table'\">\n <div\n thyDropdownMenuItem\n theListboxOption\n [theOptionValue]=\"item\"\n class=\"py-0\"\n thePreventDefault\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n (click)=\"handleItemSelection(item)\"\n >\n <div *ngIf=\"item.menuIcon\" class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon | getMenuIcon: sceneKey\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.isMenuItem && item.children?.length > 0\" #hasExpanded>\n <div\n #dropdownTriggers\n [thyDropdown]=\"expand\"\n thyTrigger=\"hover\"\n thyDropdownMenuItem\n [thyDisabled]=\"item.disabled\"\n theListboxOption\n [theOptionValue]=\"item\"\n [theOptionDisabled]=\"item.disabled\"\n [thyPopoverOptions]=\"expandPopoverOptions\"\n class=\"py-0\"\n thePreventDefault\n [thyPanelClass]=\"subPanelClass\"\n (click)=\"handleItemSelection(item)\"\n >\n <div *ngIf=\"item.menuIcon\" class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon | getMenuIcon: sceneKey\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n <div *ngIf=\"item.children?.length > 0\">\n <thy-icon class=\"text-muted\" thyIconName=\"angle-right\"></thy-icon>\n </div>\n <thy-dropdown-menu #expand>\n <div class=\"the-plugin-menu-container expand-menu\" theListboxGroup>\n <ng-container *ngFor=\"let child of item.children\">\n <div\n *ngIf=\"child.type === ThePluginMenuItemType.group\"\n thyDropdownMenuItem\n theListboxOption\n class=\"py-0\"\n thePreventDefault\n [theOptionDisabled]=\"item.disabled\"\n [thyDisabled]=\"child.disabled\"\n (click)=\"handleItemSelection(child)\"\n [theOptionValue]=\"child\"\n >\n <div *ngIf=\"child.menuIcon\" class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"child.menuIcon | getMenuIcon: sceneKey\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ child.name }}\n </div>\n </div>\n </div>\n <thy-divider *ngIf=\"child === 'divider'\" class=\"my-2\"></thy-divider>\n </ng-container>\n </div>\n </thy-dropdown-menu>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.isMenuItem && item.key === 'table'\">\n <div\n #dropdownTriggers\n [thyPopover]=\"tableSelect\"\n thyPlacement=\"rightTop\"\n thyTrigger=\"hover\"\n thyDropdownMenuItem\n theListboxOption\n [thyConfig]=\"tableSelectPopoverConfig\"\n [theOptionValue]=\"item\"\n [theOptionDisabled]=\"item.disabled\"\n [thyDisabled]=\"item.disabled\"\n class=\"py-0\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon | getMenuIcon: sceneKey\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n <div>\n <thy-icon class=\"text-muted\" thyIconName=\"angle-right\"></thy-icon>\n </div>\n\n <ng-template #tableSelect>\n <table-select\n class=\"plugin-menu-table the-table-selector-panel\"\n [editor]=\"editor\"\n [beforeInsert]=\"removeKeywords\"\n ></table-select>\n </ng-template>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.isMenuItem\" #menuGroup>\n <thy-dropdown-menu-group class=\"font-size-sm\" [thyTitle]=\"item.groupName\"></thy-dropdown-menu-group>\n </ng-container>\n </ng-container>\n </div>\n</div>\n\n<ng-template #thyEmpty>\n <div class=\"empty d-flex align-items-center justify-content-center\">\n <thy-empty [thyMessage]=\"thyMessage\"></thy-empty>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i6$1.ThyInputSearchComponent, selector: "thy-input-search", inputs: ["name", "placeholder", "thyTheme", "thySearchFocus", "thyIconPosition", "thySize"], outputs: ["clear", "thyClear"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i8$1.ThyDividerComponent, selector: "thy-divider", inputs: ["thyVertical", "thyStyle", "thyColor", "thyText", "thyTextDirection", "thyDeeper"] }, { kind: "directive", type: i6.ThyDropdownDirective, selector: "[thyDropdown]", inputs: ["thyDropdownMenu", "thyDropdown", "thyTrigger", "thyShowDelay", "thyHideDelay", "thyActiveClass", "thyPopoverOptions", "thyPlacement", "thyMenuInsideClosable", "thyPanelClass"], outputs: ["thyActiveChange"] }, { kind: "component", type: i6.ThyDropdownMenuComponent, selector: "thy-dropdown-menu", inputs: ["thyWidth", "thyImmediateRender"] }, { kind: "component", type: i6.ThyDropdownMenuGroupComponent, selector: "thy-dropdown-menu-group", inputs: ["thyTitle"] }, { kind: "directive", type: i6.ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "component", type: i10.ThyEmptyComponent, selector: "thy-empty", inputs: ["thyMessage", "thyTranslationKey", "thyTranslationValues", "thyEntityName", "thyEntityNameTranslateKey", "thyIconName", "thySize", "thyMarginTop", "thyTopAuto", "thyContainer", "thyImageUrl", "thyImageLoading", "thyImageFetchPriority", "thyDescription"] }, { kind: "directive", type: i1$1.ThyPopoverDirective, selector: "[thyPopover]", inputs: ["thyPopover", "thyTrigger", "thyPlacement", "thyOffset", "thyConfig", "thyShowDelay", "thyHideDelay", "thyAutoAdaptive", "thyDisabled"] }, { kind: "component", type: TheTableSelectComponent, selector: "table-select", inputs: ["optionsParam", "editor", "beforeInsert"] }, { kind: "directive", type: TheListboxOptionDirective, selector: "[theListboxOption]", inputs: ["theOptionValue", "theOptionDisabled"], exportAs: ["theListboxOption"] }, { kind: "directive", type: TheListboxGroupDirective, selector: "[theListboxGroup]", inputs: ["horizontalColumn"], exportAs: ["theListboxGroup"] }, { kind: "directive", type: TheListboxDirective, selector: "[theListBox]", inputs: ["keyboardContainer", "autoActiveFirstItem"], outputs: ["theListboxChange"], exportAs: ["theListBox"] }, { kind: "directive", type: ThePreventDefaultDirective, selector: "[thePreventDefault]", exportAs: ["thePreventDefault"] }, { kind: "pipe", type: PluginMenuPipe, name: "getMenuIcon" }] }); }
|
|
6085
6067
|
}
|
|
6086
|
-
i0.ɵɵ
|
|
6068
|
+
ThePluginMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ThePluginMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$1.ThyPopoverRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6069
|
+
ThePluginMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ThePluginMenuComponent, selector: "the-plugin-menu", inputs: { editor: "editor", theDisplaySearch: "theDisplaySearch", thePluginMenu: "thePluginMenu", sceneKey: "sceneKey", subPanelClass: "subPanelClass", autoActiveFirstItem: "autoActiveFirstItem" }, host: { properties: { "class": "this.containerClassName" } }, viewQueries: [{ propertyName: "dropdownTriggers", predicate: ["dropdownTriggers"], descendants: true, read: ThyDropdownDirective }], usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"theDisplaySearch\" class=\"menu-search px-5 pt-5 pb-2\">\n <thy-input-search [(ngModel)]=\"keyWords\" placeholder=\"\u641C\u7D22\" thyIconPosition=\"after\" (ngModelChange)=\"updateKeywords(keyWords)\">\n </thy-input-search>\n</div>\n\n<div\n *ngIf=\"groupMenu.length > 0; else thyEmpty\"\n theListBox\n [keyboardContainer]=\"keyboardContainer\"\n [autoActiveFirstItem]=\"listBoxAutoActiveFirstItem\"\n (theListboxChange)=\"theListboxChange($event)\"\n class=\"thy-dropdown-menu the-plugin-menu-scroll-container pb-2 pt-0\"\n>\n <div *ngIf=\"iconMenu?.length > 0\" theListboxGroup [horizontalColumn]=\"6\" class=\"icon-menu d-flex pl-5 py-1\">\n <ng-container *ngFor=\"let item of iconMenu; trackBy: trackByFn\">\n <a\n *ngIf=\"item.type === ThePluginMenuItemType.icon\"\n href=\"javascript:;\"\n class=\"mt-2\"\n thyAction\n theListboxOption\n [theOptionValue]=\"item\"\n [thyActionIcon]=\"item.icon\"\n [thyTooltip]=\"item?.name\"\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n ></a>\n </ng-container>\n </div>\n\n <thy-divider *ngIf=\"this.iconMenu?.length\" class=\"my-2\"></thy-divider>\n <div theListboxGroup>\n <ng-container *ngFor=\"let item of groupMenu; trackBy: trackByFn\">\n <ng-container *ngIf=\"item.isMenuItem && !(item.children?.length > 0) && item.key !== 'table'\">\n <div\n thyDropdownMenuItem\n theListboxOption\n [theOptionValue]=\"item\"\n class=\"py-0\"\n thePreventDefault\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n (click)=\"handleItemSelection(item)\"\n >\n <div *ngIf=\"item.menuIcon\" class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon | getMenuIcon: sceneKey\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.isMenuItem && item.children?.length > 0\" #hasExpanded>\n <div\n #dropdownTriggers\n [thyDropdown]=\"expand\"\n thyTrigger=\"hover\"\n thyDropdownMenuItem\n [thyDisabled]=\"item.disabled\"\n theListboxOption\n [theOptionValue]=\"item\"\n [theOptionDisabled]=\"item.disabled\"\n [thyPopoverOptions]=\"expandPopoverOptions\"\n class=\"py-0\"\n thePreventDefault\n [thyPanelClass]=\"subPanelClass\"\n (click)=\"handleItemSelection(item)\"\n >\n <div *ngIf=\"item.menuIcon\" class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon | getMenuIcon: sceneKey\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n <div *ngIf=\"item.children?.length > 0\">\n <thy-icon class=\"text-muted\" thyIconName=\"angle-right\"></thy-icon>\n </div>\n <thy-dropdown-menu #expand>\n <div class=\"the-plugin-menu-container expand-menu\" theListboxGroup>\n <ng-container *ngFor=\"let child of item.children\">\n <div\n *ngIf=\"child.type === ThePluginMenuItemType.group\"\n thyDropdownMenuItem\n theListboxOption\n class=\"py-0\"\n thePreventDefault\n [theOptionDisabled]=\"item.disabled\"\n [thyDisabled]=\"child.disabled\"\n (click)=\"handleItemSelection(child)\"\n [theOptionValue]=\"child\"\n >\n <div *ngIf=\"child.menuIcon\" class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"child.menuIcon | getMenuIcon: sceneKey\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ child.name }}\n </div>\n </div>\n </div>\n <thy-divider *ngIf=\"child === 'divider'\" class=\"my-2\"></thy-divider>\n </ng-container>\n </div>\n </thy-dropdown-menu>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.isMenuItem && item.key === 'table'\">\n <div\n #dropdownTriggers\n [thyPopover]=\"tableSelect\"\n thyPlacement=\"rightTop\"\n thyTrigger=\"hover\"\n thyDropdownMenuItem\n theListboxOption\n [thyConfig]=\"tableSelectPopoverConfig\"\n [theOptionValue]=\"item\"\n [theOptionDisabled]=\"item.disabled\"\n [thyDisabled]=\"item.disabled\"\n class=\"py-0\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon | getMenuIcon: sceneKey\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n <div>\n <thy-icon class=\"text-muted\" thyIconName=\"angle-right\"></thy-icon>\n </div>\n\n <ng-template #tableSelect>\n <table-select\n class=\"plugin-menu-table the-table-selector-panel\"\n [editor]=\"editor\"\n [beforeInsert]=\"removeKeywords\"\n ></table-select>\n </ng-template>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.isMenuItem\" #menuGroup>\n <thy-dropdown-menu-group class=\"font-size-sm\" [thyTitle]=\"item.groupName\"></thy-dropdown-menu-group>\n </ng-container>\n </ng-container>\n </div>\n</div>\n\n<ng-template #thyEmpty>\n <div class=\"empty d-flex align-items-center justify-content-center\">\n <thy-empty [thyMessage]=\"thyMessage\"></thy-empty>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i6$1.ThyInputSearchComponent, selector: "thy-input-search", inputs: ["name", "placeholder", "thyTheme", "thySearchFocus", "thyIconPosition", "thySize"], outputs: ["clear", "thyClear"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i8$1.ThyDividerComponent, selector: "thy-divider", inputs: ["thyVertical", "thyStyle", "thyColor", "thyText", "thyTextDirection", "thyDeeper"] }, { kind: "directive", type: i6.ThyDropdownDirective, selector: "[thyDropdown]", inputs: ["thyDropdownMenu", "thyDropdown", "thyTrigger", "thyShowDelay", "thyHideDelay", "thyActiveClass", "thyPopoverOptions", "thyPlacement", "thyMenuInsideClosable", "thyPanelClass"], outputs: ["thyActiveChange"] }, { kind: "component", type: i6.ThyDropdownMenuComponent, selector: "thy-dropdown-menu", inputs: ["thyWidth"] }, { kind: "component", type: i6.ThyDropdownMenuGroupComponent, selector: "thy-dropdown-menu-group", inputs: ["thyTitle"] }, { kind: "directive", type: i6.ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "component", type: i10.ThyEmptyComponent, selector: "thy-empty", inputs: ["thyMessage", "thyTranslationKey", "thyTranslationValues", "thyEntityName", "thyEntityNameTranslateKey", "thyIconName", "thySize", "thyMarginTop", "thyTopAuto", "thyContainer", "thyImageUrl", "thyImageLoading", "thyImageFetchPriority", "thyDescription"] }, { kind: "directive", type: i1$1.ThyPopoverDirective, selector: "[thyPopover]", inputs: ["thyPopover", "thyTrigger", "thyPlacement", "thyOffset", "thyConfig", "thyShowDelay", "thyHideDelay", "thyAutoAdaptive", "thyDisabled"] }, { kind: "component", type: TheTableSelectComponent, selector: "table-select", inputs: ["optionsParam", "editor", "beforeInsert"] }, { kind: "directive", type: TheListboxOptionDirective, selector: "[theListboxOption]", inputs: ["theOptionValue", "theOptionDisabled"], exportAs: ["theListboxOption"] }, { kind: "directive", type: TheListboxGroupDirective, selector: "[theListboxGroup]", inputs: ["horizontalColumn"], exportAs: ["theListboxGroup"] }, { kind: "directive", type: TheListboxDirective, selector: "[theListBox]", inputs: ["keyboardContainer", "autoActiveFirstItem"], outputs: ["theListboxChange"], exportAs: ["theListBox"] }, { kind: "directive", type: ThePreventDefaultDirective, selector: "[thePreventDefault]", exportAs: ["thePreventDefault"] }, { kind: "pipe", type: PluginMenuPipe, name: "getMenuIcon" }] });
|
|
6070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ThePluginMenuComponent, decorators: [{
|
|
6087
6071
|
type: Component,
|
|
6088
6072
|
args: [{ selector: 'the-plugin-menu', template: "<div *ngIf=\"theDisplaySearch\" class=\"menu-search px-5 pt-5 pb-2\">\n <thy-input-search [(ngModel)]=\"keyWords\" placeholder=\"\u641C\u7D22\" thyIconPosition=\"after\" (ngModelChange)=\"updateKeywords(keyWords)\">\n </thy-input-search>\n</div>\n\n<div\n *ngIf=\"groupMenu.length > 0; else thyEmpty\"\n theListBox\n [keyboardContainer]=\"keyboardContainer\"\n [autoActiveFirstItem]=\"listBoxAutoActiveFirstItem\"\n (theListboxChange)=\"theListboxChange($event)\"\n class=\"thy-dropdown-menu the-plugin-menu-scroll-container pb-2 pt-0\"\n>\n <div *ngIf=\"iconMenu?.length > 0\" theListboxGroup [horizontalColumn]=\"6\" class=\"icon-menu d-flex pl-5 py-1\">\n <ng-container *ngFor=\"let item of iconMenu; trackBy: trackByFn\">\n <a\n *ngIf=\"item.type === ThePluginMenuItemType.icon\"\n href=\"javascript:;\"\n class=\"mt-2\"\n thyAction\n theListboxOption\n [theOptionValue]=\"item\"\n [thyActionIcon]=\"item.icon\"\n [thyTooltip]=\"item?.name\"\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n ></a>\n </ng-container>\n </div>\n\n <thy-divider *ngIf=\"this.iconMenu?.length\" class=\"my-2\"></thy-divider>\n <div theListboxGroup>\n <ng-container *ngFor=\"let item of groupMenu; trackBy: trackByFn\">\n <ng-container *ngIf=\"item.isMenuItem && !(item.children?.length > 0) && item.key !== 'table'\">\n <div\n thyDropdownMenuItem\n theListboxOption\n [theOptionValue]=\"item\"\n class=\"py-0\"\n thePreventDefault\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n (click)=\"handleItemSelection(item)\"\n >\n <div *ngIf=\"item.menuIcon\" class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon | getMenuIcon: sceneKey\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.isMenuItem && item.children?.length > 0\" #hasExpanded>\n <div\n #dropdownTriggers\n [thyDropdown]=\"expand\"\n thyTrigger=\"hover\"\n thyDropdownMenuItem\n [thyDisabled]=\"item.disabled\"\n theListboxOption\n [theOptionValue]=\"item\"\n [theOptionDisabled]=\"item.disabled\"\n [thyPopoverOptions]=\"expandPopoverOptions\"\n class=\"py-0\"\n thePreventDefault\n [thyPanelClass]=\"subPanelClass\"\n (click)=\"handleItemSelection(item)\"\n >\n <div *ngIf=\"item.menuIcon\" class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon | getMenuIcon: sceneKey\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n <div *ngIf=\"item.children?.length > 0\">\n <thy-icon class=\"text-muted\" thyIconName=\"angle-right\"></thy-icon>\n </div>\n <thy-dropdown-menu #expand>\n <div class=\"the-plugin-menu-container expand-menu\" theListboxGroup>\n <ng-container *ngFor=\"let child of item.children\">\n <div\n *ngIf=\"child.type === ThePluginMenuItemType.group\"\n thyDropdownMenuItem\n theListboxOption\n class=\"py-0\"\n thePreventDefault\n [theOptionDisabled]=\"item.disabled\"\n [thyDisabled]=\"child.disabled\"\n (click)=\"handleItemSelection(child)\"\n [theOptionValue]=\"child\"\n >\n <div *ngIf=\"child.menuIcon\" class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"child.menuIcon | getMenuIcon: sceneKey\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ child.name }}\n </div>\n </div>\n </div>\n <thy-divider *ngIf=\"child === 'divider'\" class=\"my-2\"></thy-divider>\n </ng-container>\n </div>\n </thy-dropdown-menu>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.isMenuItem && item.key === 'table'\">\n <div\n #dropdownTriggers\n [thyPopover]=\"tableSelect\"\n thyPlacement=\"rightTop\"\n thyTrigger=\"hover\"\n thyDropdownMenuItem\n theListboxOption\n [thyConfig]=\"tableSelectPopoverConfig\"\n [theOptionValue]=\"item\"\n [theOptionDisabled]=\"item.disabled\"\n [thyDisabled]=\"item.disabled\"\n class=\"py-0\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon | getMenuIcon: sceneKey\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n <div>\n <thy-icon class=\"text-muted\" thyIconName=\"angle-right\"></thy-icon>\n </div>\n\n <ng-template #tableSelect>\n <table-select\n class=\"plugin-menu-table the-table-selector-panel\"\n [editor]=\"editor\"\n [beforeInsert]=\"removeKeywords\"\n ></table-select>\n </ng-template>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.isMenuItem\" #menuGroup>\n <thy-dropdown-menu-group class=\"font-size-sm\" [thyTitle]=\"item.groupName\"></thy-dropdown-menu-group>\n </ng-container>\n </ng-container>\n </div>\n</div>\n\n<ng-template #thyEmpty>\n <div class=\"empty d-flex align-items-center justify-content-center\">\n <thy-empty [thyMessage]=\"thyMessage\"></thy-empty>\n </div>\n</ng-template>\n" }]
|
|
6089
6073
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$1.ThyPopoverRef }]; }, propDecorators: { dropdownTriggers: [{
|
|
@@ -6243,7 +6227,6 @@ class TheVerticalToolbarItemComponent extends TheBaseToolbarDropdown {
|
|
|
6243
6227
|
minWidth: 0,
|
|
6244
6228
|
viewContainerRef: this.viewContainerRef,
|
|
6245
6229
|
insideClosable: false,
|
|
6246
|
-
backdropClosable: false,
|
|
6247
6230
|
hasBackdrop: false
|
|
6248
6231
|
});
|
|
6249
6232
|
}
|
|
@@ -6252,10 +6235,10 @@ class TheVerticalToolbarItemComponent extends TheBaseToolbarDropdown {
|
|
|
6252
6235
|
this.dropdownPopoverRef.close();
|
|
6253
6236
|
}
|
|
6254
6237
|
}
|
|
6255
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheVerticalToolbarItemComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.ThyPopover }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6256
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheVerticalToolbarItemComponent, selector: "the-toolbar-vertical-align-item", host: { listeners: { "document: mousedown": "handleDocumentMouseDown($event)" }, properties: { "class.hide": "!active" }, classAttribute: "the-toolbar-dropdown-container verticalAlign" }, viewQueries: [{ propertyName: "template", first: true, predicate: ["VerticalAlignItems"], descendants: true, read: TemplateRef, static: true }], usesInheritance: true, ngImport: i0, template: "<a\n href=\"javascript:;\"\n class=\"icon-mode link-with-down\"\n thyAction\n [thyActionIcon]=\"activeMenuItem?.icon\"\n [thyActionActive]=\"isOpened\"\n [thyTooltip]=\"toolbarItem?.name\"\n thyTooltipPlacement=\"top\"\n (mousedown)=\"execute($event)\"\n>\n <thy-icon class=\"font-size-sm text-desc ml-1\" thyIconName=\"caret-down\"></thy-icon>\n</a>\n\n<ng-template #VerticalAlignItems>\n <div class=\"thy-dropdown-menu\">\n <ng-container *ngFor=\"let menu of toolbarItem?.includes\">\n <a\n href=\"javascript:;\"\n thyDropdownMenuItem\n [thyDropdownMenuItemActive]=\"menu.key === activeMenuItem?.key\"\n (mousedown)=\"itemMousedown($event, menu)\"\n >\n <thy-icon *ngIf=\"menu.icon\" thyDropdownMenuItemIcon [thyIconName]=\"menu?.icon\"></thy-icon>\n <span thyDropdownMenuItemName>{{ menu.name }}</span>\n </a>\n </ng-container>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "directive", type: i6.ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "directive", type: i6.ThyDropdownMenuItemNameDirective, selector: "[thyDropdownMenuItemName]" }, { kind: "directive", type: i6.ThyDropdownMenuItemIconDirective, selector: "[thyDropdownMenuItemIcon]" }, { kind: "directive", type: i6.ThyDropdownMenuItemActiveDirective, selector: "[thyDropdownMenuItemActive]", inputs: ["thyDropdownMenuItemActive"] }] }); }
|
|
6257
6238
|
}
|
|
6258
|
-
i0.ɵɵ
|
|
6239
|
+
TheVerticalToolbarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheVerticalToolbarItemComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.ThyPopover }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6240
|
+
TheVerticalToolbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheVerticalToolbarItemComponent, selector: "the-toolbar-vertical-align-item", host: { listeners: { "document: mousedown": "handleDocumentMouseDown($event)" }, properties: { "class.hide": "!active" }, classAttribute: "the-toolbar-dropdown-container verticalAlign" }, viewQueries: [{ propertyName: "template", first: true, predicate: ["VerticalAlignItems"], descendants: true, read: TemplateRef, static: true }], usesInheritance: true, ngImport: i0, template: "<a\n href=\"javascript:;\"\n class=\"icon-mode link-with-down\"\n thyAction\n [thyActionIcon]=\"activeMenuItem?.icon\"\n [thyActionActive]=\"isOpened\"\n [thyTooltip]=\"toolbarItem?.name\"\n thyTooltipPlacement=\"top\"\n (mousedown)=\"execute($event)\"\n>\n <thy-icon class=\"font-size-sm text-desc ml-1\" thyIconName=\"caret-down\"></thy-icon>\n</a>\n\n<ng-template #VerticalAlignItems>\n <div class=\"thy-dropdown-menu\">\n <ng-container *ngFor=\"let menu of toolbarItem?.includes\">\n <a\n href=\"javascript:;\"\n thyDropdownMenuItem\n [thyDropdownMenuItemActive]=\"menu.key === activeMenuItem?.key\"\n (mousedown)=\"itemMousedown($event, menu)\"\n >\n <thy-icon *ngIf=\"menu.icon\" thyDropdownMenuItemIcon [thyIconName]=\"menu?.icon\"></thy-icon>\n <span thyDropdownMenuItemName>{{ menu.name }}</span>\n </a>\n </ng-container>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "directive", type: i6.ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "directive", type: i6.ThyDropdownMenuItemNameDirective, selector: "[thyDropdownMenuItemName]" }, { kind: "directive", type: i6.ThyDropdownMenuItemIconDirective, selector: "[thyDropdownMenuItemIcon]" }, { kind: "directive", type: i6.ThyDropdownMenuItemActiveDirective, selector: "[thyDropdownMenuItemActive]", inputs: ["thyDropdownMenuItemActive"] }] });
|
|
6241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheVerticalToolbarItemComponent, decorators: [{
|
|
6259
6242
|
type: Component,
|
|
6260
6243
|
args: [{ selector: 'the-toolbar-vertical-align-item', host: {
|
|
6261
6244
|
class: 'the-toolbar-dropdown-container verticalAlign',
|
|
@@ -7032,10 +7015,10 @@ class TheBlockquoteComponent extends TheBaseElementComponent {
|
|
|
7032
7015
|
this.elementRef = elementRef;
|
|
7033
7016
|
this.cdr = cdr;
|
|
7034
7017
|
}
|
|
7035
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheBlockquoteComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7036
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheBlockquoteComponent, selector: "blockquote[theBlockquote]", usesInheritance: true, ngImport: i0, template: `<slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] }); }
|
|
7037
7018
|
}
|
|
7038
|
-
i0.ɵɵ
|
|
7019
|
+
TheBlockquoteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBlockquoteComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7020
|
+
TheBlockquoteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheBlockquoteComponent, selector: "blockquote[theBlockquote]", usesInheritance: true, ngImport: i0, template: `<slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
|
|
7021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBlockquoteComponent, decorators: [{
|
|
7039
7022
|
type: Component,
|
|
7040
7023
|
args: [{
|
|
7041
7024
|
selector: 'blockquote[theBlockquote]',
|
|
@@ -7330,10 +7313,10 @@ class TheCodeComponent extends TheBaseElementComponent {
|
|
|
7330
7313
|
this.destroy$.next();
|
|
7331
7314
|
this.destroy$.complete();
|
|
7332
7315
|
}
|
|
7333
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheCodeComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$2.ThyNotifyService }, { token: TheContextService }, { token: i0.NgZone }, { token: THE_MODE_TOKEN }, { token: i1$1.ThyPopover }, { token: i0.ViewContainerRef }, { token: i2$1.Overlay }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7334
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheCodeComponent, selector: "div[theCode]", viewQueries: [{ propertyName: "toolbar", first: true, predicate: ["toolbar"], descendants: true, read: TemplateRef, static: true }, { propertyName: "codemirror", first: true, predicate: ["codemirror"], descendants: true, read: CodeMirrorComponent }, { propertyName: "toolbarDropdownComponent", first: true, predicate: TheToolbarDropdownComponent, descendants: true, read: TheToolbarDropdownComponent }], usesInheritance: true, ngImport: i0, template: "<slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"></slate-children>\n\n<!-- \u53EA\u8BFB\u6A21\u5F0F\u4E0BCodeMirror-sizer\u9AD8\u5EA6\u6BD4\u7F16\u8F91\u6A21\u5F0F\u4E0B\u591A2px\uFF0C\u8BBE\u7F6EthyMinHeight\u4E3A46px\u9632\u6B62\u62D6\u62FD\u5230\u6700\u5C0F\u9AD8\u5EA6\u65F6\u53EA\u8BFB\u6A21\u5F0F\u4E0B\u51FA\u73B0\u6EDA\u52A8\u6761 -->\n<div\n thyResizable\n [thyMinHeight]=\"46\"\n [thyBounds]=\"resizeBounds\"\n [style.height.px]=\"resizeHeight\"\n (thyResize)=\"onResize($event)\"\n (thyResizeEnd)=\"onEndResize()\"\n class=\"resize-code-container\"\n [ngClass]=\"{ focus: isCollapsedAndNonReadonly, readonly: options.readOnly, active: isHightLight && isCollapsedAndNonReadonly }\"\n>\n <ng-codemirror\n *ngIf=\"startRenderCodemirror\"\n #codemirror\n contenteditable=\"false\"\n class=\"ng-codemirror-wrapper\"\n [ngStyle]=\"{ maxHeight: maxHeight > 0 ? maxHeight + 'px' : 'auto' }\"\n [options]=\"options\"\n [ngModel]=\"code\"\n [delayRefreshTime]=\"300\"\n (ngModelChange)=\"codeChange($event)\"\n (focusChange)=\"focusChange($event)\"\n [autoMaxHeight]=\"maxHeight\"\n >\n </ng-codemirror>\n <thy-resize-handle thyDirection=\"bottom\" class=\"code-resize-icon\" *ngIf=\"isCollapsedAndNonReadonly\"></thy-resize-handle>\n</div>\n\n<ng-template #toolbar>\n <thy-actions thySize=\"xxs\" thePreventDefault>\n <the-toolbar-dropdown\n [menus]=\"menus\"\n [toolbarItem]=\"activeLanguage\"\n [dropdownItemKey]=\"activeLanguage?.key\"\n [itemMousedownHandle]=\"onChangeLanguage\"\n >\n </the-toolbar-dropdown>\n <span class=\"auto-wrap d-flex align-items-center px-2 text-secondary\">\n <span>\u81EA\u52A8\u6362\u884C</span>\n <thy-switch\n class=\"auto-wrap-btn d-flex ml-1\"\n [(ngModel)]=\"options.lineWrapping\"\n (ngModelChange)=\"onChangeWrap($event)\"\n thySize=\"sm\"\n ></thy-switch>\n </span>\n <a href=\"javascript:;\" thyAction thyActionIcon=\"copy\" thyTooltip=\"\u590D\u5236\" thyTooltipPlacement=\"top\" (click)=\"onCopy($event)\"></a>\n <thy-divider class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"></thy-divider>\n <a\n href=\"javascript:;\"\n thyAction\n thyType=\"danger\"\n thyActionIcon=\"trash\"\n thyTooltip=\"\u5220\u9664\"\n thyTooltipPlacement=\"top\"\n (click)=\"onDelete($event)\"\n ></a>\n </thy-actions>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "directive", type: i9.ThyResizableDirective, selector: "[thyResizable]", inputs: ["thyBounds", "thyMaxHeight", "thyMaxWidth", "thyMinHeight", "thyMinWidth", "thyGridColumnCount", "thyMaxColumn", "thyMinColumn", "thyLockAspectRatio", "thyPreview", "thyDisabled"], outputs: ["thyResize", "thyResizeStart", "thyResizeEnd"] }, { kind: "component", type: i9.ThyResizeHandleComponent, selector: "thy-resize-handle, [thy-resize-handle]", inputs: ["thyDirection", "thyLine"], outputs: ["thyMouseDown"], exportAs: ["thyResizeHandle"] }, { kind: "component", type: i10$1.ThySwitchComponent, selector: "thy-switch", inputs: ["thyType", "thySize", "thyDisabled"], outputs: ["thyChange"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i7.ThyActionsComponent, selector: "thy-actions", inputs: ["thySize"] }, { kind: "component", type: i8$1.ThyDividerComponent, selector: "thy-divider", inputs: ["thyVertical", "thyStyle", "thyColor", "thyText", "thyTextDirection", "thyDeeper"] }, { kind: "component", type: i13.CodeMirrorComponent, selector: "ng-codemirror, [ngCodeMirror]", inputs: ["autoMaxHeight", "options", "delayRefreshTime"], outputs: ["focusChange"] }, { kind: "component", type: TheToolbarDropdownComponent, selector: "the-toolbar-dropdown" }, { kind: "directive", type: ThePreventDefaultDirective, selector: "[thePreventDefault]", exportAs: ["thePreventDefault"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7335
7316
|
}
|
|
7336
|
-
i0.ɵɵ
|
|
7317
|
+
TheCodeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheCodeComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$2.ThyNotifyService }, { token: TheContextService }, { token: i0.NgZone }, { token: THE_MODE_TOKEN }, { token: i1$1.ThyPopover }, { token: i0.ViewContainerRef }, { token: i2$1.Overlay }], target: i0.ɵɵFactoryTarget.Component });
|
|
7318
|
+
TheCodeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheCodeComponent, selector: "div[theCode]", viewQueries: [{ propertyName: "toolbar", first: true, predicate: ["toolbar"], descendants: true, read: TemplateRef, static: true }, { propertyName: "codemirror", first: true, predicate: ["codemirror"], descendants: true, read: CodeMirrorComponent }, { propertyName: "toolbarDropdownComponent", first: true, predicate: TheToolbarDropdownComponent, descendants: true, read: TheToolbarDropdownComponent }], usesInheritance: true, ngImport: i0, template: "<slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"></slate-children>\n\n<!-- \u53EA\u8BFB\u6A21\u5F0F\u4E0BCodeMirror-sizer\u9AD8\u5EA6\u6BD4\u7F16\u8F91\u6A21\u5F0F\u4E0B\u591A2px\uFF0C\u8BBE\u7F6EthyMinHeight\u4E3A46px\u9632\u6B62\u62D6\u62FD\u5230\u6700\u5C0F\u9AD8\u5EA6\u65F6\u53EA\u8BFB\u6A21\u5F0F\u4E0B\u51FA\u73B0\u6EDA\u52A8\u6761 -->\n<div\n thyResizable\n [thyMinHeight]=\"46\"\n [thyBounds]=\"resizeBounds\"\n [style.height.px]=\"resizeHeight\"\n (thyResize)=\"onResize($event)\"\n (thyResizeEnd)=\"onEndResize()\"\n class=\"resize-code-container\"\n [ngClass]=\"{ focus: isCollapsedAndNonReadonly, readonly: options.readOnly, active: isHightLight && isCollapsedAndNonReadonly }\"\n>\n <ng-codemirror\n *ngIf=\"startRenderCodemirror\"\n #codemirror\n contenteditable=\"false\"\n class=\"ng-codemirror-wrapper\"\n [ngStyle]=\"{ maxHeight: maxHeight > 0 ? maxHeight + 'px' : 'auto' }\"\n [options]=\"options\"\n [ngModel]=\"code\"\n [delayRefreshTime]=\"300\"\n (ngModelChange)=\"codeChange($event)\"\n (focusChange)=\"focusChange($event)\"\n [autoMaxHeight]=\"maxHeight\"\n >\n </ng-codemirror>\n <thy-resize-handle thyDirection=\"bottom\" class=\"code-resize-icon\" *ngIf=\"isCollapsedAndNonReadonly\"></thy-resize-handle>\n</div>\n\n<ng-template #toolbar>\n <thy-actions thySize=\"xxs\" thePreventDefault>\n <the-toolbar-dropdown\n [menus]=\"menus\"\n [toolbarItem]=\"activeLanguage\"\n [dropdownItemKey]=\"activeLanguage?.key\"\n [itemMousedownHandle]=\"onChangeLanguage\"\n >\n </the-toolbar-dropdown>\n <span class=\"auto-wrap d-flex align-items-center px-2 text-secondary\">\n <span>\u81EA\u52A8\u6362\u884C</span>\n <thy-switch\n class=\"auto-wrap-btn d-flex ml-1\"\n [(ngModel)]=\"options.lineWrapping\"\n (ngModelChange)=\"onChangeWrap($event)\"\n thySize=\"sm\"\n ></thy-switch>\n </span>\n <a href=\"javascript:;\" thyAction thyActionIcon=\"copy\" thyTooltip=\"\u590D\u5236\" thyTooltipPlacement=\"top\" (click)=\"onCopy($event)\"></a>\n <thy-divider class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"></thy-divider>\n <a\n href=\"javascript:;\"\n thyAction\n thyType=\"danger\"\n thyActionIcon=\"trash\"\n thyTooltip=\"\u5220\u9664\"\n thyTooltipPlacement=\"top\"\n (click)=\"onDelete($event)\"\n ></a>\n </thy-actions>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "directive", type: i9.ThyResizableDirective, selector: "[thyResizable]", inputs: ["thyBounds", "thyMaxHeight", "thyMaxWidth", "thyMinHeight", "thyMinWidth", "thyGridColumnCount", "thyMaxColumn", "thyMinColumn", "thyLockAspectRatio", "thyPreview", "thyDisabled"], outputs: ["thyResize", "thyResizeStart", "thyResizeEnd"] }, { kind: "component", type: i9.ThyResizeHandleComponent, selector: "thy-resize-handle, [thy-resize-handle]", inputs: ["thyDirection", "thyLine"], outputs: ["thyMouseDown"], exportAs: ["thyResizeHandle"] }, { kind: "component", type: i10$1.ThySwitchComponent, selector: "thy-switch", inputs: ["thyType", "thySize", "thyDisabled"], outputs: ["thyChange"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i7.ThyActionsComponent, selector: "thy-actions", inputs: ["thySize"] }, { kind: "component", type: i8$1.ThyDividerComponent, selector: "thy-divider", inputs: ["thyVertical", "thyStyle", "thyColor", "thyText", "thyTextDirection", "thyDeeper"] }, { kind: "component", type: i13.CodeMirrorComponent, selector: "ng-codemirror, [ngCodeMirror]", inputs: ["autoMaxHeight", "options", "delayRefreshTime"], outputs: ["focusChange"] }, { kind: "component", type: TheToolbarDropdownComponent, selector: "the-toolbar-dropdown" }, { kind: "directive", type: ThePreventDefaultDirective, selector: "[thePreventDefault]", exportAs: ["thePreventDefault"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheCodeComponent, decorators: [{
|
|
7337
7320
|
type: Component,
|
|
7338
7321
|
args: [{ selector: 'div[theCode]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"></slate-children>\n\n<!-- \u53EA\u8BFB\u6A21\u5F0F\u4E0BCodeMirror-sizer\u9AD8\u5EA6\u6BD4\u7F16\u8F91\u6A21\u5F0F\u4E0B\u591A2px\uFF0C\u8BBE\u7F6EthyMinHeight\u4E3A46px\u9632\u6B62\u62D6\u62FD\u5230\u6700\u5C0F\u9AD8\u5EA6\u65F6\u53EA\u8BFB\u6A21\u5F0F\u4E0B\u51FA\u73B0\u6EDA\u52A8\u6761 -->\n<div\n thyResizable\n [thyMinHeight]=\"46\"\n [thyBounds]=\"resizeBounds\"\n [style.height.px]=\"resizeHeight\"\n (thyResize)=\"onResize($event)\"\n (thyResizeEnd)=\"onEndResize()\"\n class=\"resize-code-container\"\n [ngClass]=\"{ focus: isCollapsedAndNonReadonly, readonly: options.readOnly, active: isHightLight && isCollapsedAndNonReadonly }\"\n>\n <ng-codemirror\n *ngIf=\"startRenderCodemirror\"\n #codemirror\n contenteditable=\"false\"\n class=\"ng-codemirror-wrapper\"\n [ngStyle]=\"{ maxHeight: maxHeight > 0 ? maxHeight + 'px' : 'auto' }\"\n [options]=\"options\"\n [ngModel]=\"code\"\n [delayRefreshTime]=\"300\"\n (ngModelChange)=\"codeChange($event)\"\n (focusChange)=\"focusChange($event)\"\n [autoMaxHeight]=\"maxHeight\"\n >\n </ng-codemirror>\n <thy-resize-handle thyDirection=\"bottom\" class=\"code-resize-icon\" *ngIf=\"isCollapsedAndNonReadonly\"></thy-resize-handle>\n</div>\n\n<ng-template #toolbar>\n <thy-actions thySize=\"xxs\" thePreventDefault>\n <the-toolbar-dropdown\n [menus]=\"menus\"\n [toolbarItem]=\"activeLanguage\"\n [dropdownItemKey]=\"activeLanguage?.key\"\n [itemMousedownHandle]=\"onChangeLanguage\"\n >\n </the-toolbar-dropdown>\n <span class=\"auto-wrap d-flex align-items-center px-2 text-secondary\">\n <span>\u81EA\u52A8\u6362\u884C</span>\n <thy-switch\n class=\"auto-wrap-btn d-flex ml-1\"\n [(ngModel)]=\"options.lineWrapping\"\n (ngModelChange)=\"onChangeWrap($event)\"\n thySize=\"sm\"\n ></thy-switch>\n </span>\n <a href=\"javascript:;\" thyAction thyActionIcon=\"copy\" thyTooltip=\"\u590D\u5236\" thyTooltipPlacement=\"top\" (click)=\"onCopy($event)\"></a>\n <thy-divider class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"></thy-divider>\n <a\n href=\"javascript:;\"\n thyAction\n thyType=\"danger\"\n thyActionIcon=\"trash\"\n thyTooltip=\"\u5220\u9664\"\n thyTooltipPlacement=\"top\"\n (click)=\"onDelete($event)\"\n ></a>\n </thy-actions>\n</ng-template>\n" }]
|
|
7339
7322
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$2.ThyNotifyService }, { type: TheContextService }, { type: i0.NgZone }, { type: TheModeConfig, decorators: [{
|
|
@@ -7447,10 +7430,10 @@ class TheColorToolbarItemComponent extends TheBaseToolbarItem {
|
|
|
7447
7430
|
Transforms.select(this.editor, this.editor.selection);
|
|
7448
7431
|
ColorEditor.setColor(this.editor, this.selectedColor, this.type);
|
|
7449
7432
|
}
|
|
7450
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheColorToolbarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7451
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheColorToolbarItemComponent, selector: "the-color-toolbar-item", host: { classAttribute: "the-toolbar-item" }, usesInheritance: true, ngImport: i0, template: "<a\n href=\"javascript:;\"\n thyAction\n [thyActionActive]=\"active\"\n [thyTooltip]=\"toolbarItem.name\"\n thyTooltipPlacement=\"top\"\n thyColorPicker\n thyPlacement=\"bottomLeft\"\n [(ngModel)]=\"selectedColor\"\n (ngModelChange)=\"changeColor($event)\"\n (mousedown)=\"preventDefault($event)\"\n>\n <thy-icon\n [thyIconName]=\"toolbarItem.icon\"\n thyIconType=\"twotone\"\n [thyTwotoneColor]=\"active ?? (toolbarItem.key === 'color' ? defaultColorLine : defaultBackgroundColorLine)\"\n ></thy-icon>\n <thy-icon class=\"link-down-icon font-size-sm text-desc ml-1\" thyIconName=\"caret-down\"></thy-icon>\n</a>\n", dependencies: [{ kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "directive", type: i5.ThyColorPickerDirective, selector: "[thyColorPicker]", inputs: ["thyOffset", "thyHasBackdrop", "thyDefaultColor", "thyTransparentColorSelectable", "thyPresetColors", "thyPlacement", "thyTrigger", "thyShowDelay", "thyHideDelay"], outputs: ["thyPanelOpen", "thyPanelClose"] }] }); }
|
|
7452
7433
|
}
|
|
7453
|
-
i0.ɵɵ
|
|
7434
|
+
TheColorToolbarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheColorToolbarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7435
|
+
TheColorToolbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheColorToolbarItemComponent, selector: "the-color-toolbar-item", host: { classAttribute: "the-toolbar-item" }, usesInheritance: true, ngImport: i0, template: "<a\n href=\"javascript:;\"\n thyAction\n [thyActionActive]=\"active\"\n [thyTooltip]=\"toolbarItem.name\"\n thyTooltipPlacement=\"top\"\n thyColorPicker\n thyPlacement=\"bottomLeft\"\n [(ngModel)]=\"selectedColor\"\n (ngModelChange)=\"changeColor($event)\"\n (mousedown)=\"preventDefault($event)\"\n>\n <thy-icon\n [thyIconName]=\"toolbarItem.icon\"\n thyIconType=\"twotone\"\n [thyTwotoneColor]=\"active ?? (toolbarItem.key === 'color' ? defaultColorLine : defaultBackgroundColorLine)\"\n ></thy-icon>\n <thy-icon class=\"link-down-icon font-size-sm text-desc ml-1\" thyIconName=\"caret-down\"></thy-icon>\n</a>\n", dependencies: [{ kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "directive", type: i5.ThyColorPickerDirective, selector: "[thyColorPicker]", inputs: ["thyOffset", "thyHasBackdrop", "thyDefaultColor", "thyTransparentColorSelectable", "thyPresetColors", "thyPlacement", "thyTrigger", "thyShowDelay", "thyHideDelay"], outputs: ["thyPanelOpen", "thyPanelClose"] }] });
|
|
7436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheColorToolbarItemComponent, decorators: [{
|
|
7454
7437
|
type: Component,
|
|
7455
7438
|
args: [{ selector: 'the-color-toolbar-item', host: {
|
|
7456
7439
|
class: 'the-toolbar-item'
|
|
@@ -8195,10 +8178,10 @@ class TheConversionHintComponent {
|
|
|
8195
8178
|
clearCloseTimer() {
|
|
8196
8179
|
clearInterval(this.closeTimer);
|
|
8197
8180
|
}
|
|
8198
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheConversionHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8199
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheConversionHintComponent, selector: "the-conversion-hint", inputs: { editor: "editor", conversion: "conversion" }, host: { listeners: { "mouseenter": "mouseenter()", "mouseleave": "mouseleave()" }, classAttribute: "the-conversion-hint" }, ngImport: i0, template: "<ng-container>\n <thy-alert thyType=\"primary-weak\" thyIcon=\"info-circle-fill\" thyCloseable=\"true\" thyMessage=\"\u68C0\u6D4B\u5230\u7C98\u8D34\u5185\u5BB9\u7B26\u5408Markdown\u8BED\u6CD5\">\n <ng-template #operation>\n <a href=\"javascript:;\" thyAlertActionItem (click)=\"conversion()\"> \u7ACB\u5373\u8F6C\u6362 </a>\n </ng-template>\n </thy-alert>\n</ng-container>\n", dependencies: [{ kind: "component", type: i1$3.ThyAlertComponent, selector: "thy-alert", inputs: ["thyType", "thyTheme", "thyMessage", "thyIcon", "thyCloseable"] }, { kind: "directive", type: i1$3.ThyAlertActionItemDirective, selector: "[thyAlertActionItem]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8200
8181
|
}
|
|
8201
|
-
i0.ɵɵ
|
|
8182
|
+
TheConversionHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheConversionHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8183
|
+
TheConversionHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheConversionHintComponent, selector: "the-conversion-hint", inputs: { editor: "editor", conversion: "conversion" }, host: { listeners: { "mouseenter": "mouseenter()", "mouseleave": "mouseleave()" }, classAttribute: "the-conversion-hint" }, ngImport: i0, template: "<ng-container>\n <thy-alert thyType=\"primary-weak\" thyIcon=\"info-circle-fill\" thyCloseable=\"true\" thyMessage=\"\u68C0\u6D4B\u5230\u7C98\u8D34\u5185\u5BB9\u7B26\u5408Markdown\u8BED\u6CD5\">\n <ng-template #operation>\n <a href=\"javascript:;\" thyAlertActionItem (click)=\"conversion()\"> \u7ACB\u5373\u8F6C\u6362 </a>\n </ng-template>\n </thy-alert>\n</ng-container>\n", dependencies: [{ kind: "component", type: i1$3.ThyAlertComponent, selector: "thy-alert", inputs: ["thyType", "thyTheme", "thyMessage", "thyIcon", "thyCloseable"] }, { kind: "directive", type: i1$3.ThyAlertActionItemDirective, selector: "[thyAlertActionItem]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheConversionHintComponent, decorators: [{
|
|
8202
8185
|
type: Component,
|
|
8203
8186
|
args: [{ selector: 'the-conversion-hint', host: {
|
|
8204
8187
|
class: 'the-conversion-hint'
|
|
@@ -8565,15 +8548,15 @@ class TheHrComponent extends TheBaseElementComponent {
|
|
|
8565
8548
|
}
|
|
8566
8549
|
});
|
|
8567
8550
|
}
|
|
8568
|
-
|
|
8569
|
-
|
|
8551
|
+
}
|
|
8552
|
+
TheHrComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheHrComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
8553
|
+
TheHrComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheHrComponent, selector: "the-hr, [theHr]", usesInheritance: true, ngImport: i0, template: `
|
|
8570
8554
|
<div class="the-hr" contenteditable="false" [ngClass]="{ active: isCollapsedAndNonReadonly }">
|
|
8571
8555
|
<hr class="the-hr" />
|
|
8572
8556
|
<slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>
|
|
8573
8557
|
</div>
|
|
8574
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
|
|
8575
|
-
|
|
8576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheHrComponent, decorators: [{
|
|
8558
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
|
|
8559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheHrComponent, decorators: [{
|
|
8577
8560
|
type: Component,
|
|
8578
8561
|
args: [{
|
|
8579
8562
|
selector: 'the-hr, [theHr]',
|
|
@@ -9026,10 +9009,10 @@ class TheImageComponent extends TheBaseElementComponent {
|
|
|
9026
9009
|
event.preventDefault();
|
|
9027
9010
|
event.stopPropagation();
|
|
9028
9011
|
}
|
|
9029
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheImageComponent, deps: [{ token: i0.ElementRef }, { token: THE_UPLOAD_SERVICE_TOKEN }, { token: i0.ChangeDetectorRef }, { token: TheContextService }, { token: i1$1.ThyPopover }, { token: i2$1.Overlay }, { token: i0.ViewContainerRef }, { token: i4$1.ThyImageGroupComponent }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9030
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheImageComponent, selector: "the-image, [theImage]", viewQueries: [{ propertyName: "imageContent", first: true, predicate: ["imageContent"], descendants: true }, { propertyName: "img", first: true, predicate: ["img"], descendants: true }, { propertyName: "layoutToolbar", first: true, predicate: ["layoutToolbar"], descendants: true, static: true }, { propertyName: "imageDirective", first: true, predicate: ThyImageDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"></slate-children>\n\n<div class=\"image-container\" contenteditable=\"false\" [style.textAlign]=\"imageEntry.align\">\n <div #imageContent *ngIf=\"imageEntry.thumbUrl\" class=\"image-content\" [class.cursor-pointer]=\"!selection\">\n <img\n #img\n thyImage\n class=\"main-image\"\n [class.image-collapsed]=\"selection && !uploading\"\n [ngStyle]=\"{ 'width.px': imageBindingWidth }\"\n [alt]=\"imageEntry.name\"\n [thySrc]=\"imageEntry.thumbUrl\"\n [thyPreviewSrc]=\"imageEntry.thumbUrl\"\n [thyOriginSrc]=\"imageEntry.originUrl\"\n [thyDisablePreview]=\"disablePreview\"\n [thyImageMeta]=\"{ name: imageEntry.name, size: imageEntry.size }\"\n (load)=\"imageLoaded($event)\"\n (mousedown)=\"preventDefault($event)\"\n (error)=\"imageError($event)\"\n (click)=\"imageClick($event)\"\n />\n <div *ngIf=\"isCollapsedAndNonReadonly\" class=\"image-profile\" [class.outline]=\"selection\">\n <ng-container *ngIf=\"!loadImageError\">\n <span (mousedown)=\"startDrag($event, '-xl')\" class=\"image-pointer left top\"></span>\n <span (mousedown)=\"startDrag($event, 'xl')\" class=\"image-pointer right top\"></span>\n <span (mousedown)=\"startDrag($event, 'xl')\" class=\"image-pointer right bottom\"></span>\n <span (mousedown)=\"startDrag($event, '-xl')\" class=\"image-pointer left bottom\"></span>\n </ng-container>\n </div>\n <div *ngIf=\"uploading\" class=\"uploading\">\n <div class=\"uploading-percentage\">\n <thy-progress thyType=\"primary\" [thyValue]=\"percentage\" thySize=\"sm\"></thy-progress>\n <thy-icon (click)=\"cancelUpload($event)\" thyIconName=\"close-circle-bold-fill\" thyIconLegging=\"true\"> </thy-icon>\n </div>\n </div>\n <div *ngIf=\"!uploading\" class=\"layer\" [class.readonly]=\"readonly\"></div>\n </div>\n <div *ngIf=\"!imageEntry.thumbUrl\" class=\"image-loading cursor-pointer\" contenteditable=\"false\">\n <thy-icon thyIconName=\"image\"></thy-icon>\n </div>\n</div>\n\n<ng-template #layoutToolbar>\n <thy-actions thySize=\"xxs\">\n <ng-container *ngFor=\"let item of layoutOptions\">\n <a\n *ngIf=\"item.key !== 'split'\"\n href=\"javascript:;\"\n thyAction\n [thyType]=\"item.key === 'remove' ? 'danger' : 'primary'\"\n [thyActionIcon]=\"item.icon\"\n [thyActionActive]=\"layoutActive(item.key)\"\n [thyTooltip]=\"item.name\"\n thyTooltipPlacement=\"top\"\n (mousedown)=\"item?.handle($event, item.key)\"\n ></a>\n <thy-divider *ngIf=\"item.key === 'split'\" class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"></thy-divider>\n </ng-container>\n </thy-actions>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i9$1.ThyProgressComponent, selector: "thy-progress", inputs: ["thyType", "thySize", "thyValue", "thyMax", "thyTips", "thyShape", "thyGapDegree", "thyGapPosition", "thyStrokeWidth"] }, { kind: "directive", type: i4$1.ThyImageDirective, selector: "img[thyImage]", inputs: ["thySrc", "thyPreviewSrc", "thyOriginSrc", "thyImageMeta", "thyDisablePreview", "thyResolveSize"], exportAs: ["thyImage"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i7.ThyActionsComponent, selector: "thy-actions", inputs: ["thySize"] }, { kind: "component", type: i8$1.ThyDividerComponent, selector: "thy-divider", inputs: ["thyVertical", "thyStyle", "thyColor", "thyText", "thyTextDirection", "thyDeeper"] }] }); }
|
|
9031
9012
|
}
|
|
9032
|
-
i0.ɵɵ
|
|
9013
|
+
TheImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheImageComponent, deps: [{ token: i0.ElementRef }, { token: THE_UPLOAD_SERVICE_TOKEN }, { token: i0.ChangeDetectorRef }, { token: TheContextService }, { token: i1$1.ThyPopover }, { token: i2$1.Overlay }, { token: i0.ViewContainerRef }, { token: i4$1.ThyImageGroupComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
9014
|
+
TheImageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheImageComponent, selector: "the-image, [theImage]", viewQueries: [{ propertyName: "imageContent", first: true, predicate: ["imageContent"], descendants: true }, { propertyName: "img", first: true, predicate: ["img"], descendants: true }, { propertyName: "layoutToolbar", first: true, predicate: ["layoutToolbar"], descendants: true, static: true }, { propertyName: "imageDirective", first: true, predicate: ThyImageDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"></slate-children>\n\n<div class=\"image-container\" contenteditable=\"false\" [style.textAlign]=\"imageEntry.align\">\n <div #imageContent *ngIf=\"imageEntry.thumbUrl\" class=\"image-content\" [class.cursor-pointer]=\"!selection\">\n <img\n #img\n thyImage\n class=\"main-image\"\n [class.image-collapsed]=\"selection && !uploading\"\n [ngStyle]=\"{ 'width.px': imageBindingWidth }\"\n [alt]=\"imageEntry.name\"\n [thySrc]=\"imageEntry.thumbUrl\"\n [thyPreviewSrc]=\"imageEntry.thumbUrl\"\n [thyOriginSrc]=\"imageEntry.originUrl\"\n [thyDisablePreview]=\"disablePreview\"\n [thyImageMeta]=\"{ name: imageEntry.name, size: imageEntry.size }\"\n (load)=\"imageLoaded($event)\"\n (mousedown)=\"preventDefault($event)\"\n (error)=\"imageError($event)\"\n (click)=\"imageClick($event)\"\n />\n <div *ngIf=\"isCollapsedAndNonReadonly\" class=\"image-profile\" [class.outline]=\"selection\">\n <ng-container *ngIf=\"!loadImageError\">\n <span (mousedown)=\"startDrag($event, '-xl')\" class=\"image-pointer left top\"></span>\n <span (mousedown)=\"startDrag($event, 'xl')\" class=\"image-pointer right top\"></span>\n <span (mousedown)=\"startDrag($event, 'xl')\" class=\"image-pointer right bottom\"></span>\n <span (mousedown)=\"startDrag($event, '-xl')\" class=\"image-pointer left bottom\"></span>\n </ng-container>\n </div>\n <div *ngIf=\"uploading\" class=\"uploading\">\n <div class=\"uploading-percentage\">\n <thy-progress thyType=\"primary\" [thyValue]=\"percentage\" thySize=\"sm\"></thy-progress>\n <thy-icon (click)=\"cancelUpload($event)\" thyIconName=\"close-circle-bold-fill\" thyIconLegging=\"true\"> </thy-icon>\n </div>\n </div>\n <div *ngIf=\"!uploading\" class=\"layer\" [class.readonly]=\"readonly\"></div>\n </div>\n <div *ngIf=\"!imageEntry.thumbUrl\" class=\"image-loading cursor-pointer\" contenteditable=\"false\">\n <thy-icon thyIconName=\"image\"></thy-icon>\n </div>\n</div>\n\n<ng-template #layoutToolbar>\n <thy-actions thySize=\"xxs\">\n <ng-container *ngFor=\"let item of layoutOptions\">\n <a\n *ngIf=\"item.key !== 'split'\"\n href=\"javascript:;\"\n thyAction\n [thyType]=\"item.key === 'remove' ? 'danger' : 'primary'\"\n [thyActionIcon]=\"item.icon\"\n [thyActionActive]=\"layoutActive(item.key)\"\n [thyTooltip]=\"item.name\"\n thyTooltipPlacement=\"top\"\n (mousedown)=\"item?.handle($event, item.key)\"\n ></a>\n <thy-divider *ngIf=\"item.key === 'split'\" class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"></thy-divider>\n </ng-container>\n </thy-actions>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i9$1.ThyProgressComponent, selector: "thy-progress", inputs: ["thyType", "thySize", "thyValue", "thyMax", "thyTips", "thyShape", "thyGapDegree", "thyGapPosition", "thyStrokeWidth"] }, { kind: "directive", type: i4$1.ThyImageDirective, selector: "img[thyImage]", inputs: ["thySrc", "thyPreviewSrc", "thyOriginSrc", "thyImageMeta", "thyDisablePreview", "thyResolveSize"], exportAs: ["thyImage"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i7.ThyActionsComponent, selector: "thy-actions", inputs: ["thySize"] }, { kind: "component", type: i8$1.ThyDividerComponent, selector: "thy-divider", inputs: ["thyVertical", "thyStyle", "thyColor", "thyText", "thyTextDirection", "thyDeeper"] }] });
|
|
9015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheImageComponent, decorators: [{
|
|
9033
9016
|
type: Component,
|
|
9034
9017
|
args: [{ selector: 'the-image, [theImage]', template: "<slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"></slate-children>\n\n<div class=\"image-container\" contenteditable=\"false\" [style.textAlign]=\"imageEntry.align\">\n <div #imageContent *ngIf=\"imageEntry.thumbUrl\" class=\"image-content\" [class.cursor-pointer]=\"!selection\">\n <img\n #img\n thyImage\n class=\"main-image\"\n [class.image-collapsed]=\"selection && !uploading\"\n [ngStyle]=\"{ 'width.px': imageBindingWidth }\"\n [alt]=\"imageEntry.name\"\n [thySrc]=\"imageEntry.thumbUrl\"\n [thyPreviewSrc]=\"imageEntry.thumbUrl\"\n [thyOriginSrc]=\"imageEntry.originUrl\"\n [thyDisablePreview]=\"disablePreview\"\n [thyImageMeta]=\"{ name: imageEntry.name, size: imageEntry.size }\"\n (load)=\"imageLoaded($event)\"\n (mousedown)=\"preventDefault($event)\"\n (error)=\"imageError($event)\"\n (click)=\"imageClick($event)\"\n />\n <div *ngIf=\"isCollapsedAndNonReadonly\" class=\"image-profile\" [class.outline]=\"selection\">\n <ng-container *ngIf=\"!loadImageError\">\n <span (mousedown)=\"startDrag($event, '-xl')\" class=\"image-pointer left top\"></span>\n <span (mousedown)=\"startDrag($event, 'xl')\" class=\"image-pointer right top\"></span>\n <span (mousedown)=\"startDrag($event, 'xl')\" class=\"image-pointer right bottom\"></span>\n <span (mousedown)=\"startDrag($event, '-xl')\" class=\"image-pointer left bottom\"></span>\n </ng-container>\n </div>\n <div *ngIf=\"uploading\" class=\"uploading\">\n <div class=\"uploading-percentage\">\n <thy-progress thyType=\"primary\" [thyValue]=\"percentage\" thySize=\"sm\"></thy-progress>\n <thy-icon (click)=\"cancelUpload($event)\" thyIconName=\"close-circle-bold-fill\" thyIconLegging=\"true\"> </thy-icon>\n </div>\n </div>\n <div *ngIf=\"!uploading\" class=\"layer\" [class.readonly]=\"readonly\"></div>\n </div>\n <div *ngIf=\"!imageEntry.thumbUrl\" class=\"image-loading cursor-pointer\" contenteditable=\"false\">\n <thy-icon thyIconName=\"image\"></thy-icon>\n </div>\n</div>\n\n<ng-template #layoutToolbar>\n <thy-actions thySize=\"xxs\">\n <ng-container *ngFor=\"let item of layoutOptions\">\n <a\n *ngIf=\"item.key !== 'split'\"\n href=\"javascript:;\"\n thyAction\n [thyType]=\"item.key === 'remove' ? 'danger' : 'primary'\"\n [thyActionIcon]=\"item.icon\"\n [thyActionActive]=\"layoutActive(item.key)\"\n [thyTooltip]=\"item.name\"\n thyTooltipPlacement=\"top\"\n (mousedown)=\"item?.handle($event, item.key)\"\n ></a>\n <thy-divider *ngIf=\"item.key === 'split'\" class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"></thy-divider>\n </ng-container>\n </thy-actions>\n</ng-template>\n" }]
|
|
9035
9018
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
@@ -9227,12 +9210,12 @@ class TheInlineCodeComponent extends TheBaseElementComponent {
|
|
|
9227
9210
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1249405
|
|
9228
9211
|
this.inlineChromiumBugfix = String.fromCodePoint(160);
|
|
9229
9212
|
}
|
|
9230
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheInlineCodeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9231
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheInlineCodeComponent, selector: "span[theInlineCode]", usesInheritance: true, ngImport: i0, template: `<span contenteditable="false" class="the-break-char">{{ inlineChromiumBugfix }}</span>
|
|
9232
|
-
<span><slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children></span>
|
|
9233
|
-
<span contenteditable="false" class="the-break-char">{{ inlineChromiumBugfix }}</span>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] }); }
|
|
9234
9213
|
}
|
|
9235
|
-
i0.ɵɵ
|
|
9214
|
+
TheInlineCodeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheInlineCodeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
9215
|
+
TheInlineCodeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheInlineCodeComponent, selector: "span[theInlineCode]", usesInheritance: true, ngImport: i0, template: `<span contenteditable="false" class="the-break-char">{{ inlineChromiumBugfix }}</span>
|
|
9216
|
+
<span><slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children></span>
|
|
9217
|
+
<span contenteditable="false" class="the-break-char">{{ inlineChromiumBugfix }}</span>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
|
|
9218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheInlineCodeComponent, decorators: [{
|
|
9236
9219
|
type: Component,
|
|
9237
9220
|
args: [{
|
|
9238
9221
|
selector: 'span[theInlineCode]',
|
|
@@ -9332,10 +9315,10 @@ class TheLinkHoverComponent {
|
|
|
9332
9315
|
this.deleteHandle();
|
|
9333
9316
|
event.stopPropagation();
|
|
9334
9317
|
}
|
|
9335
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheLinkHoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9336
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheLinkHoverComponent, selector: "the-link-hover", inputs: { link: "link", dom: "dom", editHandle: "editHandle", deleteHandle: "deleteHandle" }, ngImport: i0, template: "<div class=\"link-hover-card px-1\">\n <a readonly href=\"{{ link }}\" target=\"_blank\" rel=\"{{ aTagRelAttr }}\" class=\"hover-control-plaintext text-truncate mx-2\">\n {{ link }}\n </a>\n <thy-divider class=\"mx-2\" [thyVertical]=\"true\"></thy-divider>\n <a href=\"javascript:;\" thyAction thyActionIcon=\"edit\" thePreventDefault (click)=\"editLink($event)\"></a>\n <thy-divider class=\"mx-2\" [thyVertical]=\"true\"></thy-divider>\n <a href=\"javascript:;\" thyAction thyActionIcon=\"unlink-insert\" thePreventDefault (click)=\"removeLink($event)\"></a>\n</div>\n", dependencies: [{ kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i8$1.ThyDividerComponent, selector: "thy-divider", inputs: ["thyVertical", "thyStyle", "thyColor", "thyText", "thyTextDirection", "thyDeeper"] }, { kind: "directive", type: ThePreventDefaultDirective, selector: "[thePreventDefault]", exportAs: ["thePreventDefault"] }] }); }
|
|
9337
9318
|
}
|
|
9338
|
-
i0.ɵɵ
|
|
9319
|
+
TheLinkHoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheLinkHoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9320
|
+
TheLinkHoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheLinkHoverComponent, selector: "the-link-hover", inputs: { link: "link", dom: "dom", editHandle: "editHandle", deleteHandle: "deleteHandle" }, ngImport: i0, template: "<div class=\"link-hover-card px-1\">\n <a readonly href=\"{{ link }}\" target=\"_blank\" rel=\"{{ aTagRelAttr }}\" class=\"hover-control-plaintext text-truncate mx-2\">\n {{ link }}\n </a>\n <thy-divider class=\"mx-2\" [thyVertical]=\"true\"></thy-divider>\n <a href=\"javascript:;\" thyAction thyActionIcon=\"edit\" thePreventDefault (click)=\"editLink($event)\"></a>\n <thy-divider class=\"mx-2\" [thyVertical]=\"true\"></thy-divider>\n <a href=\"javascript:;\" thyAction thyActionIcon=\"unlink-insert\" thePreventDefault (click)=\"removeLink($event)\"></a>\n</div>\n", dependencies: [{ kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i8$1.ThyDividerComponent, selector: "thy-divider", inputs: ["thyVertical", "thyStyle", "thyColor", "thyText", "thyTextDirection", "thyDeeper"] }, { kind: "directive", type: ThePreventDefaultDirective, selector: "[thePreventDefault]", exportAs: ["thePreventDefault"] }] });
|
|
9321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheLinkHoverComponent, decorators: [{
|
|
9339
9322
|
type: Component,
|
|
9340
9323
|
args: [{ selector: 'the-link-hover', template: "<div class=\"link-hover-card px-1\">\n <a readonly href=\"{{ link }}\" target=\"_blank\" rel=\"{{ aTagRelAttr }}\" class=\"hover-control-plaintext text-truncate mx-2\">\n {{ link }}\n </a>\n <thy-divider class=\"mx-2\" [thyVertical]=\"true\"></thy-divider>\n <a href=\"javascript:;\" thyAction thyActionIcon=\"edit\" thePreventDefault (click)=\"editLink($event)\"></a>\n <thy-divider class=\"mx-2\" [thyVertical]=\"true\"></thy-divider>\n <a href=\"javascript:;\" thyAction thyActionIcon=\"unlink-insert\" thePreventDefault (click)=\"removeLink($event)\"></a>\n</div>\n" }]
|
|
9341
9324
|
}], ctorParameters: function () { return []; }, propDecorators: { link: [{
|
|
@@ -9413,10 +9396,10 @@ class TheLinkEditComponent {
|
|
|
9413
9396
|
form.validator.setElementErrorMessage(`link`, '请输入正确的链接');
|
|
9414
9397
|
}
|
|
9415
9398
|
}
|
|
9416
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheLinkEditComponent, deps: [{ token: i1$1.ThyPopoverRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9417
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheLinkEditComponent, selector: "the-link-edit", inputs: { tag: "tag", node: "node", link: "link", text: "text", originSelection: "originSelection" }, host: { listeners: { "document: mousedown": "handleDocumentMouseDown($event)" }, properties: { "class": "this.className" } }, ngImport: i0, template: "<form thyForm #linkForm=\"thyForm\" [thyFormValidatorConfig]=\"validatorConfig\" name=\"linkForm\">\n <thy-form-group thyLabelText=\"\u6587\u672C\">\n <input thyInput placeholder=\"\u8BF7\u8F93\u5165\u6587\u672C\" required name=\"text\" [(ngModel)]=\"text\" thyAutofocus type=\"text\" />\n </thy-form-group>\n <thy-form-group thyLabelText=\"\u94FE\u63A5\">\n <input name=\"link\" thyInput placeholder=\"\u8BF7\u8F93\u5165\u94FE\u63A5\" required type=\"text\" #linkControl=\"ngModel\" [(ngModel)]=\"link\" />\n </thy-form-group>\n <thy-form-group-footer>\n <div class=\"btn-pair\">\n <button thyButton=\"link-secondary\" thySize=\"sm\" (click)=\"closePopover()\">\u53D6\u6D88</button>\n <button thyButton=\"primary-square\" thySize=\"sm\" (thyFormSubmit)=\"applyLink(linkForm)\">\u5E94\u7528</button>\n </div>\n </thy-form-group-footer>\n</form>\n", dependencies: [{ kind: "directive", type: i2$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.ThyFormDirective, selector: "[thyForm],[thy-form]", inputs: ["thyLayout", "thyEnterKeyMode", "thyFormValidatorConfig"], exportAs: ["thyForm"] }, { kind: "component", type: i3.ThyFormGroupComponent, selector: "thy-form-group", inputs: ["thyLabelText", "thyLabelTextTranslateKey", "thyLabelRequired", "thyLabelPaddingTopClear", "thyFeedbackIcon", "thyTipsMode", "thyTips", "thyTipsTranslateKey", "thyRowFill"] }, { kind: "directive", type: i3.ThyFormSubmitDirective, selector: "[thyFormSubmit],[thy-form-submit]", outputs: ["thyFormSubmit"] }, { kind: "component", type: i3.ThyFormGroupFooterComponent, selector: "thy-form-group-footer", inputs: ["thyAlign"] }, { kind: "directive", type: i5$1.ThyAutofocusDirective, selector: "input[thyAutofocus],textarea[thyAutofocus]", inputs: ["thyAutofocus", "thyAutoSelect"] }, { kind: "directive", type: i6$1.ThyInputDirective, selector: "input[thyInput], select[thyInput], textarea[thyInput]", inputs: ["thySize"], exportAs: ["thyInput"] }, { kind: "component", type: i6$2.ThyButtonComponent, selector: "thy-button,[thy-button],[thyButton]", inputs: ["thyButton", "thyType", "thyLoading", "thyLoadingText", "thySize", "thyIcon", "thyBlock"] }] }); }
|
|
9418
9399
|
}
|
|
9419
|
-
i0.ɵɵ
|
|
9400
|
+
TheLinkEditComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheLinkEditComponent, deps: [{ token: i1$1.ThyPopoverRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
9401
|
+
TheLinkEditComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheLinkEditComponent, selector: "the-link-edit", inputs: { tag: "tag", node: "node", link: "link", text: "text", originSelection: "originSelection" }, host: { listeners: { "document: mousedown": "handleDocumentMouseDown($event)" }, properties: { "class": "this.className" } }, ngImport: i0, template: "<form thyForm #linkForm=\"thyForm\" [thyFormValidatorConfig]=\"validatorConfig\" name=\"linkForm\">\n <thy-form-group thyLabelText=\"\u6587\u672C\">\n <input thyInput placeholder=\"\u8BF7\u8F93\u5165\u6587\u672C\" required name=\"text\" [(ngModel)]=\"text\" thyAutofocus type=\"text\" />\n </thy-form-group>\n <thy-form-group thyLabelText=\"\u94FE\u63A5\">\n <input name=\"link\" thyInput placeholder=\"\u8BF7\u8F93\u5165\u94FE\u63A5\" required type=\"text\" #linkControl=\"ngModel\" [(ngModel)]=\"link\" />\n </thy-form-group>\n <thy-form-group-footer>\n <div class=\"btn-pair\">\n <button thyButton=\"link-secondary\" thySize=\"sm\" (click)=\"closePopover()\">\u53D6\u6D88</button>\n <button thyButton=\"primary-square\" thySize=\"sm\" (thyFormSubmit)=\"applyLink(linkForm)\">\u5E94\u7528</button>\n </div>\n </thy-form-group-footer>\n</form>\n", dependencies: [{ kind: "directive", type: i2$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.ThyFormDirective, selector: "[thyForm],[thy-form]", inputs: ["thyLayout", "thyEnterKeyMode", "thyFormValidatorConfig"], exportAs: ["thyForm"] }, { kind: "component", type: i3.ThyFormGroupComponent, selector: "thy-form-group", inputs: ["thyLabelText", "thyLabelTextTranslateKey", "thyLabelRequired", "thyLabelPaddingTopClear", "thyFeedbackIcon", "thyTipsMode", "thyTips", "thyTipsTranslateKey", "thyRowFill"] }, { kind: "directive", type: i3.ThyFormSubmitDirective, selector: "[thyFormSubmit],[thy-form-submit]", outputs: ["thyFormSubmit"] }, { kind: "component", type: i3.ThyFormGroupFooterComponent, selector: "thy-form-group-footer", inputs: ["thyAlign"] }, { kind: "directive", type: i5$1.ThyAutofocusDirective, selector: "input[thyAutofocus],textarea[thyAutofocus]", inputs: ["thyAutofocus", "thyAutoSelect"] }, { kind: "directive", type: i6$1.ThyInputDirective, selector: "input[thyInput], select[thyInput], textarea[thyInput]", inputs: ["thySize"], exportAs: ["thyInput"] }, { kind: "component", type: i6$2.ThyButtonComponent, selector: "thy-button,[thy-button],[thyButton]", inputs: ["thyButton", "thyType", "thyLoading", "thyLoadingText", "thySize", "thyIcon", "thyBlock"] }] });
|
|
9402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheLinkEditComponent, decorators: [{
|
|
9420
9403
|
type: Component,
|
|
9421
9404
|
args: [{ selector: 'the-link-edit', template: "<form thyForm #linkForm=\"thyForm\" [thyFormValidatorConfig]=\"validatorConfig\" name=\"linkForm\">\n <thy-form-group thyLabelText=\"\u6587\u672C\">\n <input thyInput placeholder=\"\u8BF7\u8F93\u5165\u6587\u672C\" required name=\"text\" [(ngModel)]=\"text\" thyAutofocus type=\"text\" />\n </thy-form-group>\n <thy-form-group thyLabelText=\"\u94FE\u63A5\">\n <input name=\"link\" thyInput placeholder=\"\u8BF7\u8F93\u5165\u94FE\u63A5\" required type=\"text\" #linkControl=\"ngModel\" [(ngModel)]=\"link\" />\n </thy-form-group>\n <thy-form-group-footer>\n <div class=\"btn-pair\">\n <button thyButton=\"link-secondary\" thySize=\"sm\" (click)=\"closePopover()\">\u53D6\u6D88</button>\n <button thyButton=\"primary-square\" thySize=\"sm\" (thyFormSubmit)=\"applyLink(linkForm)\">\u5E94\u7528</button>\n </div>\n </thy-form-group-footer>\n</form>\n" }]
|
|
9422
9405
|
}], ctorParameters: function () { return [{ type: i1$1.ThyPopoverRef }]; }, propDecorators: { className: [{
|
|
@@ -9554,10 +9537,10 @@ class TheBaseLinkComponent extends TheBaseElementComponent {
|
|
|
9554
9537
|
super.ngOnDestroy();
|
|
9555
9538
|
this.close(LinkCloseTypes.destroy);
|
|
9556
9539
|
}
|
|
9557
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheBaseLinkComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.ThyPopover }, { token: i2$1.Overlay }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9558
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheBaseLinkComponent, selector: "[TheBaseLinkComponent]", host: { listeners: { "click": "mousedownHandle($event)" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
9559
9540
|
}
|
|
9560
|
-
i0.ɵɵ
|
|
9541
|
+
TheBaseLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBaseLinkComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.ThyPopover }, { token: i2$1.Overlay }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
9542
|
+
TheBaseLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheBaseLinkComponent, selector: "[TheBaseLinkComponent]", host: { listeners: { "click": "mousedownHandle($event)" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
9543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBaseLinkComponent, decorators: [{
|
|
9561
9544
|
type: Component,
|
|
9562
9545
|
args: [{
|
|
9563
9546
|
selector: '[TheBaseLinkComponent]',
|
|
@@ -9574,12 +9557,12 @@ class TheLinkComponent extends TheBaseLinkComponent {
|
|
|
9574
9557
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1249405
|
|
9575
9558
|
this.inlineChromiumBugfix = String.fromCodePoint(160);
|
|
9576
9559
|
}
|
|
9577
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheLinkComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9578
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheLinkComponent, selector: "a[theLink]", host: { attributes: { "target": "_blank" }, properties: { "attr.href": "element.url" } }, usesInheritance: true, ngImport: i0, template: ` <span contenteditable="false" class="the-break-char">{{ inlineChromiumBugfix }}</span>
|
|
9579
|
-
<span><slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children></span>
|
|
9580
|
-
<span contenteditable="false" class="the-break-char">{{ inlineChromiumBugfix }}</span>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] }); }
|
|
9581
9560
|
}
|
|
9582
|
-
i0.ɵɵ
|
|
9561
|
+
TheLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheLinkComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
9562
|
+
TheLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheLinkComponent, selector: "a[theLink]", host: { attributes: { "target": "_blank" }, properties: { "attr.href": "element.url" } }, usesInheritance: true, ngImport: i0, template: ` <span contenteditable="false" class="the-break-char">{{ inlineChromiumBugfix }}</span>
|
|
9563
|
+
<span><slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children></span>
|
|
9564
|
+
<span contenteditable="false" class="the-break-char">{{ inlineChromiumBugfix }}</span>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
|
|
9565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheLinkComponent, decorators: [{
|
|
9583
9566
|
type: Component,
|
|
9584
9567
|
args: [{
|
|
9585
9568
|
selector: 'a[theLink]',
|
|
@@ -10234,10 +10217,10 @@ class TheNumberedListComponent extends TheBaseElementComponent {
|
|
|
10234
10217
|
ngOnDestroy() {
|
|
10235
10218
|
super.ngOnDestroy();
|
|
10236
10219
|
}
|
|
10237
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheNumberedListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10238
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheNumberedListComponent, selector: "ol[theOl]", host: { properties: { "attr.start": "this.start", "attr.the-level": "this.level" } }, usesInheritance: true, ngImport: i0, template: `<slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] }); }
|
|
10239
10220
|
}
|
|
10240
|
-
i0.ɵɵ
|
|
10221
|
+
TheNumberedListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheNumberedListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10222
|
+
TheNumberedListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheNumberedListComponent, selector: "ol[theOl]", host: { properties: { "attr.start": "this.start", "attr.the-level": "this.level" } }, usesInheritance: true, ngImport: i0, template: `<slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
|
|
10223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheNumberedListComponent, decorators: [{
|
|
10241
10224
|
type: Component,
|
|
10242
10225
|
args: [{
|
|
10243
10226
|
selector: 'ol[theOl]',
|
|
@@ -10266,10 +10249,10 @@ class TheBulletedListComponent extends TheBaseElementComponent {
|
|
|
10266
10249
|
ngOnDestroy() {
|
|
10267
10250
|
super.ngOnDestroy();
|
|
10268
10251
|
}
|
|
10269
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheBulletedListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10270
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheBulletedListComponent, selector: "ul[theUl]", host: { properties: { "attr.the-level": "this.level" } }, usesInheritance: true, ngImport: i0, template: `<slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] }); }
|
|
10271
10252
|
}
|
|
10272
|
-
i0.ɵɵ
|
|
10253
|
+
TheBulletedListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBulletedListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10254
|
+
TheBulletedListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheBulletedListComponent, selector: "ul[theUl]", host: { properties: { "attr.the-level": "this.level" } }, usesInheritance: true, ngImport: i0, template: `<slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
|
|
10255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheBulletedListComponent, decorators: [{
|
|
10273
10256
|
type: Component,
|
|
10274
10257
|
args: [{
|
|
10275
10258
|
selector: 'ul[theUl]',
|
|
@@ -10355,10 +10338,10 @@ class TheListItemComponent extends TheBaseElementComponent {
|
|
|
10355
10338
|
this.elementRef.nativeElement.removeAttribute(multiDigit);
|
|
10356
10339
|
}
|
|
10357
10340
|
}
|
|
10358
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheListItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10359
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheListItemComponent, selector: "li[theLi]", usesInheritance: true, ngImport: i0, template: `<slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] }); }
|
|
10360
10341
|
}
|
|
10361
|
-
i0.ɵɵ
|
|
10342
|
+
TheListItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheListItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10343
|
+
TheListItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheListItemComponent, selector: "li[theLi]", usesInheritance: true, ngImport: i0, template: `<slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
|
|
10344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheListItemComponent, decorators: [{
|
|
10362
10345
|
type: Component,
|
|
10363
10346
|
args: [{
|
|
10364
10347
|
selector: 'li[theLi]',
|
|
@@ -11213,10 +11196,10 @@ class TheToolbarGroupComponent {
|
|
|
11213
11196
|
this.groupPopoverRef.close();
|
|
11214
11197
|
}
|
|
11215
11198
|
}
|
|
11216
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheToolbarGroupComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.ThyPopover }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11217
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheToolbarGroupComponent, selector: "the-toolbar-group", inputs: { menus: "menus", item: "item" }, host: { listeners: { "mousedown": "mousedownHandler($event)", "document:mouseup": "documentMouseupHandle($event)", "click": "clickHandle($event)" }, properties: { "class": "this.className" } }, viewQueries: [{ propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: "<a\n href=\"javascript:;\"\n thyAction\n [thyActionIcon]=\"item.icon\"\n [thyActionActive]=\"active\"\n [thyTooltip]=\"item?.name\"\n thyTooltipPlacement=\"top\"\n></a>\n\n<ng-template #groupTemplate>\n <the-toolbar class=\"group\" [editor]=\"editor\" [toolbarItems]=\"menus\" [isMore]=\"false\"></the-toolbar>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: TheToolbarComponent, selector: "the-toolbar", inputs: ["editor", "toolbarItems", "align", "containerClass", "isMore", "afterTemplate"] }] }); }
|
|
11218
11199
|
}
|
|
11219
|
-
i0.ɵɵ
|
|
11200
|
+
TheToolbarGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheToolbarGroupComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.ThyPopover }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11201
|
+
TheToolbarGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheToolbarGroupComponent, selector: "the-toolbar-group", inputs: { menus: "menus", item: "item" }, host: { listeners: { "mousedown": "mousedownHandler($event)", "document:mouseup": "documentMouseupHandle($event)", "click": "clickHandle($event)" }, properties: { "class": "this.className" } }, viewQueries: [{ propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: "<a\n href=\"javascript:;\"\n thyAction\n [thyActionIcon]=\"item.icon\"\n [thyActionActive]=\"active\"\n [thyTooltip]=\"item?.name\"\n thyTooltipPlacement=\"top\"\n></a>\n\n<ng-template #groupTemplate>\n <the-toolbar class=\"group\" [editor]=\"editor\" [toolbarItems]=\"menus\" [isMore]=\"false\"></the-toolbar>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: TheToolbarComponent, selector: "the-toolbar", inputs: ["editor", "toolbarItems", "align", "containerClass", "isMore", "afterTemplate"] }] });
|
|
11202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheToolbarGroupComponent, decorators: [{
|
|
11220
11203
|
type: Component,
|
|
11221
11204
|
args: [{ selector: 'the-toolbar-group', template: "<a\n href=\"javascript:;\"\n thyAction\n [thyActionIcon]=\"item.icon\"\n [thyActionActive]=\"active\"\n [thyTooltip]=\"item?.name\"\n thyTooltipPlacement=\"top\"\n></a>\n\n<ng-template #groupTemplate>\n <the-toolbar class=\"group\" [editor]=\"editor\" [toolbarItems]=\"menus\" [isMore]=\"false\"></the-toolbar>\n</ng-template>\n" }]
|
|
11222
11205
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThyPopover }, { type: i0.ViewContainerRef }]; }, propDecorators: { className: [{
|
|
@@ -11261,10 +11244,10 @@ class ColumnResizeNotifierSource {
|
|
|
11261
11244
|
/** Triggers a resize action. */
|
|
11262
11245
|
this.triggerResize = new Subject();
|
|
11263
11246
|
}
|
|
11264
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: ColumnResizeNotifierSource, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11265
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: ColumnResizeNotifierSource }); }
|
|
11266
11247
|
}
|
|
11267
|
-
i0.ɵɵ
|
|
11248
|
+
ColumnResizeNotifierSource.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ColumnResizeNotifierSource, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11249
|
+
ColumnResizeNotifierSource.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ColumnResizeNotifierSource });
|
|
11250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ColumnResizeNotifierSource, decorators: [{
|
|
11268
11251
|
type: Injectable
|
|
11269
11252
|
}] });
|
|
11270
11253
|
|
|
@@ -11313,10 +11296,10 @@ class TableCellEventDispatcher {
|
|
|
11313
11296
|
complete: () => observer.complete()
|
|
11314
11297
|
}));
|
|
11315
11298
|
}
|
|
11316
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TableCellEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11317
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TableCellEventDispatcher }); }
|
|
11318
11299
|
}
|
|
11319
|
-
i0.ɵɵ
|
|
11300
|
+
TableCellEventDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCellEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11301
|
+
TableCellEventDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCellEventDispatcher });
|
|
11302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCellEventDispatcher, decorators: [{
|
|
11320
11303
|
type: Injectable
|
|
11321
11304
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
11322
11305
|
|
|
@@ -11531,10 +11514,10 @@ class TheContextMenuComponent {
|
|
|
11531
11514
|
this.wrap = true;
|
|
11532
11515
|
}
|
|
11533
11516
|
ngOnInit() { }
|
|
11534
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheContextMenuComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.ThyPopoverRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11535
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheContextMenuComponent, selector: "the-contextmenu", inputs: { menuEntities: "menuEntities", actionHandle: "actionHandle", activeHandle: "activeHandle", deactivateHandle: "deactivateHandle" }, host: { listeners: { "document: mousedown": "handleDocumentMouseDown($event)", "mousedown": "handleMouseDown($event)" }, properties: { "class.the-overlay-menu-wrap": "this.wrap" } }, ngImport: i0, template: "<div class=\"thy-dropdown-menu\">\n <ng-container *ngFor=\"let menuItem of menuEntities\">\n <ng-container *ngIf=\"menuItem.visibility && !menuItem?.isInputNumber && menuItem.key !== 'background-color'\">\n <ng-template [ngTemplateOutlet]=\"defaultMenuTemplate\" [ngTemplateOutletContext]=\"{ $implicit: menuItem }\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"menuItem.visibility && menuItem.key === 'background-color'\">\n <ng-template [ngTemplateOutlet]=\"backgroundColorTemplate\" [ngTemplateOutletContext]=\"{ $implicit: menuItem }\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"menuItem.visibility && menuItem?.isInputNumber\">\n <ng-template [ngTemplateOutlet]=\"inputNumberMenuTemplate\" [ngTemplateOutletContext]=\"{ $implicit: menuItem }\"></ng-template>\n </ng-container>\n <thy-dropdown-menu-divider *ngIf=\"menuItem.divider && menuItem.visibility\"></thy-dropdown-menu-divider>\n </ng-container>\n</div>\n\n<ng-template #defaultMenuTemplate let-item>\n <a\n href=\"javascript:;\"\n thyDropdownMenuItem\n (mousedown)=\"itemMousedown($event, item)\"\n (mouseenter)=\"itemMouseenter($event, item)\"\n (mouseleave)=\"itemMouseleave($event, item)\"\n >\n <span thyDropdownMenuItemIcon>\n <thy-icon [thyIconName]=\"item.icon\"></thy-icon>\n </span>\n <span thyDropdownMenuItemName>{{ item.name }}</span>\n <span *ngIf=\"item.extendIcon\" thyDropdownMenuItemExtendIcon>\n <thy-icon thyIconName=\"{{ item.extendIcon }}\"></thy-icon>\n </span>\n </a>\n</ng-template>\n\n<ng-template #backgroundColorTemplate let-item>\n <a\n href=\"javascript:;\"\n thyDropdownMenuItem\n thyColorPicker\n thyTrigger=\"hover\"\n thyPlacement=\"rightTop\"\n [(ngModel)]=\"item.backgroundColor\"\n (ngModelChange)=\"changeColor($event, item)\"\n [thyHasBackdrop]=\"false\"\n >\n <span thyDropdownMenuItemIcon>\n <thy-icon [thyIconName]=\"item.icon\" thyIconType=\"twotone\" [thyTwotoneColor]=\"item.backgroundColor\"></thy-icon>\n </span>\n <span thyDropdownMenuItemName>{{ item.name }}</span>\n <span *ngIf=\"item.extendIcon\" thyDropdownMenuItemExtendIcon>\n <thy-icon thyIconName=\"{{ item.extendIcon }}\"></thy-icon>\n </span>\n </a>\n</ng-template>\n\n<ng-template #inputNumberMenuTemplate let-item>\n <a href=\"javascript:;\" class=\"the-input-number-menu\" thyDropdownMenuItem (click)=\"itemMousedown($event, item)\">\n <span thyDropdownMenuItemIcon>\n <thy-icon [thyIconName]=\"item.icon\"></thy-icon>\n </span>\n <span thyDropdownMenuItemName class=\"d-flex align-items-center\">\n {{ item.name }}\n <thy-input-number\n #inputNumber\n class=\"mx-2\"\n thySize=\"sm\"\n [(ngModel)]=\"item.count\"\n [thyStep]=\"1\"\n [thyMin]=\"1\"\n (click)=\"inputNumberFocus($event)\"\n (thyEnter)=\"itemEnterHandle($event, item)\"\n thyStopPropagation\n ></thy-input-number>\n {{ item.nameSuffix }}\n </span>\n </a>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i5$1.ThyEnterDirective, selector: "[thyEnter]", outputs: ["thyEnter"] }, { kind: "directive", type: i5$1.ThyStopPropagationDirective, selector: "[thyStopPropagation]", inputs: ["thyStopPropagation"] }, { kind: "component", type: i6.ThyDropdownMenuDividerComponent, selector: "thy-dropdown-menu-divider" }, { kind: "directive", type: i6.ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "directive", type: i6.ThyDropdownMenuItemNameDirective, selector: "[thyDropdownMenuItemName]" }, { kind: "directive", type: i6.ThyDropdownMenuItemIconDirective, selector: "[thyDropdownMenuItemIcon]" }, { kind: "directive", type: i6.ThyDropdownMenuItemExtendIconDirective, selector: "[thyDropdownMenuItemExtendIcon]" }, { kind: "component", type: i7$1.ThyInputNumberComponent, selector: "thy-input-number", inputs: ["thyAutoFocus", "thyPlaceholder", "thyDisabled", "thyMax", "thyMin", "thyStep", "thySize", "thyPrecision", "thySuffix"], outputs: ["thyBlur", "thyFocus"] }, { kind: "directive", type: i5.ThyColorPickerDirective, selector: "[thyColorPicker]", inputs: ["thyOffset", "thyHasBackdrop", "thyDefaultColor", "thyTransparentColorSelectable", "thyPresetColors", "thyPlacement", "thyTrigger", "thyShowDelay", "thyHideDelay"], outputs: ["thyPanelOpen", "thyPanelClose"] }] }); }
|
|
11536
11517
|
}
|
|
11537
|
-
i0.ɵɵ
|
|
11518
|
+
TheContextMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheContextMenuComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.ThyPopoverRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11519
|
+
TheContextMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheContextMenuComponent, selector: "the-contextmenu", inputs: { menuEntities: "menuEntities", actionHandle: "actionHandle", activeHandle: "activeHandle", deactivateHandle: "deactivateHandle" }, host: { listeners: { "document: mousedown": "handleDocumentMouseDown($event)", "mousedown": "handleMouseDown($event)" }, properties: { "class.the-overlay-menu-wrap": "this.wrap" } }, ngImport: i0, template: "<div class=\"thy-dropdown-menu\">\n <ng-container *ngFor=\"let menuItem of menuEntities\">\n <ng-container *ngIf=\"menuItem.visibility && !menuItem?.isInputNumber && menuItem.key !== 'background-color'\">\n <ng-template [ngTemplateOutlet]=\"defaultMenuTemplate\" [ngTemplateOutletContext]=\"{ $implicit: menuItem }\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"menuItem.visibility && menuItem.key === 'background-color'\">\n <ng-template [ngTemplateOutlet]=\"backgroundColorTemplate\" [ngTemplateOutletContext]=\"{ $implicit: menuItem }\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"menuItem.visibility && menuItem?.isInputNumber\">\n <ng-template [ngTemplateOutlet]=\"inputNumberMenuTemplate\" [ngTemplateOutletContext]=\"{ $implicit: menuItem }\"></ng-template>\n </ng-container>\n <thy-dropdown-menu-divider *ngIf=\"menuItem.divider && menuItem.visibility\"></thy-dropdown-menu-divider>\n </ng-container>\n</div>\n\n<ng-template #defaultMenuTemplate let-item>\n <a\n href=\"javascript:;\"\n thyDropdownMenuItem\n (mousedown)=\"itemMousedown($event, item)\"\n (mouseenter)=\"itemMouseenter($event, item)\"\n (mouseleave)=\"itemMouseleave($event, item)\"\n >\n <span thyDropdownMenuItemIcon>\n <thy-icon [thyIconName]=\"item.icon\"></thy-icon>\n </span>\n <span thyDropdownMenuItemName>{{ item.name }}</span>\n <span *ngIf=\"item.extendIcon\" thyDropdownMenuItemExtendIcon>\n <thy-icon thyIconName=\"{{ item.extendIcon }}\"></thy-icon>\n </span>\n </a>\n</ng-template>\n\n<ng-template #backgroundColorTemplate let-item>\n <a\n href=\"javascript:;\"\n thyDropdownMenuItem\n thyColorPicker\n thyTrigger=\"hover\"\n thyPlacement=\"rightTop\"\n [(ngModel)]=\"item.backgroundColor\"\n (ngModelChange)=\"changeColor($event, item)\"\n [thyHasBackdrop]=\"false\"\n >\n <span thyDropdownMenuItemIcon>\n <thy-icon [thyIconName]=\"item.icon\" thyIconType=\"twotone\" [thyTwotoneColor]=\"item.backgroundColor\"></thy-icon>\n </span>\n <span thyDropdownMenuItemName>{{ item.name }}</span>\n <span *ngIf=\"item.extendIcon\" thyDropdownMenuItemExtendIcon>\n <thy-icon thyIconName=\"{{ item.extendIcon }}\"></thy-icon>\n </span>\n </a>\n</ng-template>\n\n<ng-template #inputNumberMenuTemplate let-item>\n <a href=\"javascript:;\" class=\"the-input-number-menu\" thyDropdownMenuItem (click)=\"itemMousedown($event, item)\">\n <span thyDropdownMenuItemIcon>\n <thy-icon [thyIconName]=\"item.icon\"></thy-icon>\n </span>\n <span thyDropdownMenuItemName class=\"d-flex align-items-center\">\n {{ item.name }}\n <thy-input-number\n #inputNumber\n class=\"mx-2\"\n thySize=\"sm\"\n [(ngModel)]=\"item.count\"\n [thyStep]=\"1\"\n [thyMin]=\"1\"\n (click)=\"inputNumberFocus($event)\"\n (thyEnter)=\"itemEnterHandle($event, item)\"\n thyStopPropagation\n ></thy-input-number>\n {{ item.nameSuffix }}\n </span>\n </a>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i5$1.ThyEnterDirective, selector: "[thyEnter]", outputs: ["thyEnter"] }, { kind: "directive", type: i5$1.ThyStopPropagationDirective, selector: "[thyStopPropagation]", inputs: ["thyStopPropagation"] }, { kind: "component", type: i6.ThyDropdownMenuDividerComponent, selector: "thy-dropdown-menu-divider" }, { kind: "directive", type: i6.ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "directive", type: i6.ThyDropdownMenuItemNameDirective, selector: "[thyDropdownMenuItemName]" }, { kind: "directive", type: i6.ThyDropdownMenuItemIconDirective, selector: "[thyDropdownMenuItemIcon]" }, { kind: "directive", type: i6.ThyDropdownMenuItemExtendIconDirective, selector: "[thyDropdownMenuItemExtendIcon]" }, { kind: "component", type: i7$1.ThyInputNumberComponent, selector: "thy-input-number", inputs: ["thyAutoFocus", "thyPlaceholder", "thyDisabled", "thyMax", "thyMin", "thyStep", "thySize", "thyPrecision", "thySuffix"], outputs: ["thyBlur", "thyFocus"] }, { kind: "directive", type: i5.ThyColorPickerDirective, selector: "[thyColorPicker]", inputs: ["thyOffset", "thyHasBackdrop", "thyDefaultColor", "thyTransparentColorSelectable", "thyPresetColors", "thyPlacement", "thyTrigger", "thyShowDelay", "thyHideDelay"], outputs: ["thyPanelOpen", "thyPanelClose"] }] });
|
|
11520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheContextMenuComponent, decorators: [{
|
|
11538
11521
|
type: Component,
|
|
11539
11522
|
args: [{ selector: 'the-contextmenu', template: "<div class=\"thy-dropdown-menu\">\n <ng-container *ngFor=\"let menuItem of menuEntities\">\n <ng-container *ngIf=\"menuItem.visibility && !menuItem?.isInputNumber && menuItem.key !== 'background-color'\">\n <ng-template [ngTemplateOutlet]=\"defaultMenuTemplate\" [ngTemplateOutletContext]=\"{ $implicit: menuItem }\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"menuItem.visibility && menuItem.key === 'background-color'\">\n <ng-template [ngTemplateOutlet]=\"backgroundColorTemplate\" [ngTemplateOutletContext]=\"{ $implicit: menuItem }\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"menuItem.visibility && menuItem?.isInputNumber\">\n <ng-template [ngTemplateOutlet]=\"inputNumberMenuTemplate\" [ngTemplateOutletContext]=\"{ $implicit: menuItem }\"></ng-template>\n </ng-container>\n <thy-dropdown-menu-divider *ngIf=\"menuItem.divider && menuItem.visibility\"></thy-dropdown-menu-divider>\n </ng-container>\n</div>\n\n<ng-template #defaultMenuTemplate let-item>\n <a\n href=\"javascript:;\"\n thyDropdownMenuItem\n (mousedown)=\"itemMousedown($event, item)\"\n (mouseenter)=\"itemMouseenter($event, item)\"\n (mouseleave)=\"itemMouseleave($event, item)\"\n >\n <span thyDropdownMenuItemIcon>\n <thy-icon [thyIconName]=\"item.icon\"></thy-icon>\n </span>\n <span thyDropdownMenuItemName>{{ item.name }}</span>\n <span *ngIf=\"item.extendIcon\" thyDropdownMenuItemExtendIcon>\n <thy-icon thyIconName=\"{{ item.extendIcon }}\"></thy-icon>\n </span>\n </a>\n</ng-template>\n\n<ng-template #backgroundColorTemplate let-item>\n <a\n href=\"javascript:;\"\n thyDropdownMenuItem\n thyColorPicker\n thyTrigger=\"hover\"\n thyPlacement=\"rightTop\"\n [(ngModel)]=\"item.backgroundColor\"\n (ngModelChange)=\"changeColor($event, item)\"\n [thyHasBackdrop]=\"false\"\n >\n <span thyDropdownMenuItemIcon>\n <thy-icon [thyIconName]=\"item.icon\" thyIconType=\"twotone\" [thyTwotoneColor]=\"item.backgroundColor\"></thy-icon>\n </span>\n <span thyDropdownMenuItemName>{{ item.name }}</span>\n <span *ngIf=\"item.extendIcon\" thyDropdownMenuItemExtendIcon>\n <thy-icon thyIconName=\"{{ item.extendIcon }}\"></thy-icon>\n </span>\n </a>\n</ng-template>\n\n<ng-template #inputNumberMenuTemplate let-item>\n <a href=\"javascript:;\" class=\"the-input-number-menu\" thyDropdownMenuItem (click)=\"itemMousedown($event, item)\">\n <span thyDropdownMenuItemIcon>\n <thy-icon [thyIconName]=\"item.icon\"></thy-icon>\n </span>\n <span thyDropdownMenuItemName class=\"d-flex align-items-center\">\n {{ item.name }}\n <thy-input-number\n #inputNumber\n class=\"mx-2\"\n thySize=\"sm\"\n [(ngModel)]=\"item.count\"\n [thyStep]=\"1\"\n [thyMin]=\"1\"\n (click)=\"inputNumberFocus($event)\"\n (thyEnter)=\"itemEnterHandle($event, item)\"\n thyStopPropagation\n ></thy-input-number>\n {{ item.nameSuffix }}\n </span>\n </a>\n</ng-template>\n" }]
|
|
11540
11523
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThyPopoverRef }]; }, propDecorators: { menuEntities: [{
|
|
@@ -12118,10 +12101,10 @@ class TableStore {
|
|
|
12118
12101
|
this.anchorCellPath = path;
|
|
12119
12102
|
}
|
|
12120
12103
|
}
|
|
12121
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TableStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12122
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TableStore }); }
|
|
12123
12104
|
}
|
|
12124
|
-
i0.ɵɵ
|
|
12105
|
+
TableStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12106
|
+
TableStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableStore });
|
|
12107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableStore, decorators: [{
|
|
12125
12108
|
type: Injectable
|
|
12126
12109
|
}], ctorParameters: function () { return []; } });
|
|
12127
12110
|
|
|
@@ -12381,10 +12364,10 @@ class TheTableContextMenuService {
|
|
|
12381
12364
|
return this.menuRef.afterClosed();
|
|
12382
12365
|
}
|
|
12383
12366
|
}
|
|
12384
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheTableContextMenuService, deps: [{ token: TableStore }, { token: i1$1.ThyPopover }, { token: i0.NgZone }, { token: TheContextService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12385
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheTableContextMenuService }); }
|
|
12386
12367
|
}
|
|
12387
|
-
i0.ɵɵ
|
|
12368
|
+
TheTableContextMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableContextMenuService, deps: [{ token: TableStore }, { token: i1$1.ThyPopover }, { token: i0.NgZone }, { token: TheContextService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12369
|
+
TheTableContextMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableContextMenuService });
|
|
12370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableContextMenuService, decorators: [{
|
|
12388
12371
|
type: Injectable
|
|
12389
12372
|
}], ctorParameters: function () { return [{ type: TableStore }, { type: i1$1.ThyPopover }, { type: i0.NgZone }, { type: TheContextService }]; } });
|
|
12390
12373
|
|
|
@@ -12437,8 +12420,9 @@ class TheTableOptionsComponent {
|
|
|
12437
12420
|
Transforms.setNodes(this.editor, { header: null }, { at: rowPath });
|
|
12438
12421
|
}
|
|
12439
12422
|
}
|
|
12440
|
-
|
|
12441
|
-
|
|
12423
|
+
}
|
|
12424
|
+
TheTableOptionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableOptionsComponent, deps: [{ token: i1$1.ThyPopoverRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
12425
|
+
TheTableOptionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheTableOptionsComponent, selector: "the-table-options", inputs: { editor: "editor" }, ngImport: i0, template: `
|
|
12442
12426
|
<div class="thy-dropdown-menu table-drop-menu">
|
|
12443
12427
|
<ng-container *ngFor="let option of tableDropdownList">
|
|
12444
12428
|
<a thyDropdownMenuItem href="javascript:;" (mousedown)="setTableOptions($event, option)">
|
|
@@ -12449,9 +12433,8 @@ class TheTableOptionsComponent {
|
|
|
12449
12433
|
</a>
|
|
12450
12434
|
</ng-container>
|
|
12451
12435
|
</div>
|
|
12452
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i6.ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "directive", type: i6.ThyDropdownMenuItemNameDirective, selector: "[thyDropdownMenuItemName]" }, { kind: "directive", type: i6.ThyDropdownMenuItemIconDirective, selector: "[thyDropdownMenuItemIcon]" }] });
|
|
12453
|
-
|
|
12454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheTableOptionsComponent, decorators: [{
|
|
12436
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i6.ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "directive", type: i6.ThyDropdownMenuItemNameDirective, selector: "[thyDropdownMenuItemName]" }, { kind: "directive", type: i6.ThyDropdownMenuItemIconDirective, selector: "[thyDropdownMenuItemIcon]" }] });
|
|
12437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableOptionsComponent, decorators: [{
|
|
12455
12438
|
type: Component,
|
|
12456
12439
|
args: [{
|
|
12457
12440
|
selector: 'the-table-options',
|
|
@@ -12579,6 +12562,7 @@ class TheTableToolbarComponent {
|
|
|
12579
12562
|
this.selectedColor = newColor;
|
|
12580
12563
|
}
|
|
12581
12564
|
setFullscreen(event) {
|
|
12565
|
+
this.popoverRef.close();
|
|
12582
12566
|
this.tableOptions.setFullscreen(this.editor, event, this.tableElement);
|
|
12583
12567
|
}
|
|
12584
12568
|
mousedown(event) {
|
|
@@ -12618,10 +12602,10 @@ class TheTableToolbarComponent {
|
|
|
12618
12602
|
panelClass: 'table-options-pannel'
|
|
12619
12603
|
});
|
|
12620
12604
|
}
|
|
12621
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheTableToolbarComponent, deps: [{ token: i1$1.ThyPopover }, { token: i1$1.ThyPopoverRef }, { token: i1$2.ThyNotifyService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12622
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheTableToolbarComponent, selector: "the-table-toolbar", inputs: { tableStore: "tableStore", tableElement: "tableElement" }, ngImport: i0, template: "<thy-actions thySize=\"xxs\">\n <ng-container *ngFor=\"let item of cellMenuList\">\n <a\n *ngIf=\"item.visibility\"\n href=\"javascript:;\"\n thyAction\n [thyActionIcon]=\"item.icon\"\n [thyTooltip]=\"item.name\"\n (mousedown)=\"item.actionHandle()\"\n ></a>\n </ng-container>\n <thy-divider *ngIf=\"hasDivider\" class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"> </thy-divider>\n <a\n href=\"javascript:;\"\n thyAction\n thyTooltip=\"\u5355\u5143\u683C\u80CC\u666F\"\n thyColorPicker\n [(ngModel)]=\"selectedColor\"\n (ngModelChange)=\"changeColor($event)\"\n (mousedown)=\"openColorPanel($event)\"\n thyPlacement=\"bottomLeft\"\n [thyHasBackdrop]=\"false\"\n >\n <thy-icon thyIconName=\"background-tt\" thyIconType=\"twotone\" [thyTwotoneColor]=\"selectedColor\"></thy-icon>\n </a>\n <a\n href=\"javascript:;\"\n *ngIf=\"tableStore.isSelectedTable && !isColumnEqual\"\n thyAction\n thyTooltip=\"\u5217\u7B49\u5BBD\"\n (mousedown)=\"setEquallyColumnHandle($event)\"\n >\n <thy-icon thyIconName=\"table-column-equal-width\"></thy-icon>\n </a>\n <a\n href=\"javascript:;\"\n *ngIf=\"tableStore.isSelectedTable && tableOptions?.showFullscreen\"\n thyAction\n thyTooltip=\"\u5168\u5C4F\"\n (mousedown)=\"setFullscreen($event)\"\n >\n <thy-icon thyIconName=\"arrows-alt\"></thy-icon>\n </a>\n <a\n *ngIf=\"tableStore.isSelectedTable && !tableStore?.isFullscreen\"\n class=\"fullscreen-hidden\"\n href=\"javascript:;\"\n thyAction\n thyActionIcon=\"copy\"\n thyTooltip=\"\u590D\u5236\"\n (mousedown)=\"onCopy($event)\"\n ></a>\n <ng-container *ngIf=\"tableStore.isSelectedTable\">\n <thy-divider class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"></thy-divider>\n <a href=\"javascript:;\" class=\"link-with-down\" thyAction (mousedown)=\"mousedown($event)\" (click)=\"openTableOptionMenu($event)\">\n <span>\u8868\u683C\u9009\u9879</span>\n <thy-icon class=\"font-size-sm text-desc ml-1\" thyIconName=\"caret-down\"></thy-icon>\n </a>\n </ng-container>\n <ng-container *ngIf=\"tableStore?.isFullscreen ? deleteIcon && !tableStore.isSelectedTable : deleteIcon\">\n <thy-divider class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"></thy-divider>\n <a\n href=\"javascript:;\"\n thyAction\n thyType=\"danger\"\n [thyActionIcon]=\"deleteIcon\"\n [thyTooltip]=\"iconName\"\n (mousedown)=\"onDelete($event)\"\n (mouseenter)=\"onEnterDelete($event)\"\n (mouseleave)=\"onLeaveDelete($event)\"\n ></a>\n </ng-container>\n</thy-actions>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i7.ThyActionsComponent, selector: "thy-actions", inputs: ["thySize"] }, { kind: "component", type: i8$1.ThyDividerComponent, selector: "thy-divider", inputs: ["thyVertical", "thyStyle", "thyColor", "thyText", "thyTextDirection", "thyDeeper"] }, { kind: "directive", type: i5.ThyColorPickerDirective, selector: "[thyColorPicker]", inputs: ["thyOffset", "thyHasBackdrop", "thyDefaultColor", "thyTransparentColorSelectable", "thyPresetColors", "thyPlacement", "thyTrigger", "thyShowDelay", "thyHideDelay"], outputs: ["thyPanelOpen", "thyPanelClose"] }] }); }
|
|
12623
12605
|
}
|
|
12624
|
-
i0.ɵɵ
|
|
12606
|
+
TheTableToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableToolbarComponent, deps: [{ token: i1$1.ThyPopover }, { token: i1$1.ThyPopoverRef }, { token: i1$2.ThyNotifyService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12607
|
+
TheTableToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheTableToolbarComponent, selector: "the-table-toolbar", inputs: { tableStore: "tableStore", tableElement: "tableElement" }, ngImport: i0, template: "<thy-actions thySize=\"xxs\">\n <ng-container *ngFor=\"let item of cellMenuList\">\n <a\n *ngIf=\"item.visibility\"\n href=\"javascript:;\"\n thyAction\n [thyActionIcon]=\"item.icon\"\n [thyTooltip]=\"item.name\"\n (mousedown)=\"item.actionHandle()\"\n ></a>\n </ng-container>\n <thy-divider *ngIf=\"hasDivider\" class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"> </thy-divider>\n <a\n href=\"javascript:;\"\n thyAction\n thyTooltip=\"\u5355\u5143\u683C\u80CC\u666F\"\n thyColorPicker\n [(ngModel)]=\"selectedColor\"\n (ngModelChange)=\"changeColor($event)\"\n (mousedown)=\"openColorPanel($event)\"\n thyPlacement=\"bottomLeft\"\n [thyHasBackdrop]=\"false\"\n >\n <thy-icon thyIconName=\"background-tt\" thyIconType=\"twotone\" [thyTwotoneColor]=\"selectedColor\"></thy-icon>\n </a>\n <a\n href=\"javascript:;\"\n *ngIf=\"tableStore.isSelectedTable && !isColumnEqual\"\n thyAction\n thyTooltip=\"\u5217\u7B49\u5BBD\"\n (mousedown)=\"setEquallyColumnHandle($event)\"\n >\n <thy-icon thyIconName=\"table-column-equal-width\"></thy-icon>\n </a>\n <a\n href=\"javascript:;\"\n *ngIf=\"tableStore.isSelectedTable && tableOptions?.showFullscreen\"\n thyAction\n thyTooltip=\"\u5168\u5C4F\"\n (mousedown)=\"setFullscreen($event)\"\n >\n <thy-icon thyIconName=\"arrows-alt\"></thy-icon>\n </a>\n <a\n *ngIf=\"tableStore.isSelectedTable && !tableStore?.isFullscreen\"\n class=\"fullscreen-hidden\"\n href=\"javascript:;\"\n thyAction\n thyActionIcon=\"copy\"\n thyTooltip=\"\u590D\u5236\"\n (mousedown)=\"onCopy($event)\"\n ></a>\n <ng-container *ngIf=\"tableStore.isSelectedTable\">\n <thy-divider class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"></thy-divider>\n <a href=\"javascript:;\" class=\"link-with-down\" thyAction (mousedown)=\"mousedown($event)\" (click)=\"openTableOptionMenu($event)\">\n <span>\u8868\u683C\u9009\u9879</span>\n <thy-icon class=\"font-size-sm text-desc ml-1\" thyIconName=\"caret-down\"></thy-icon>\n </a>\n </ng-container>\n <ng-container *ngIf=\"tableStore?.isFullscreen ? deleteIcon && !tableStore.isSelectedTable : deleteIcon\">\n <thy-divider class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"></thy-divider>\n <a\n href=\"javascript:;\"\n thyAction\n thyType=\"danger\"\n [thyActionIcon]=\"deleteIcon\"\n [thyTooltip]=\"iconName\"\n (mousedown)=\"onDelete($event)\"\n (mouseenter)=\"onEnterDelete($event)\"\n (mouseleave)=\"onLeaveDelete($event)\"\n ></a>\n </ng-container>\n</thy-actions>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i7.ThyActionsComponent, selector: "thy-actions", inputs: ["thySize"] }, { kind: "component", type: i8$1.ThyDividerComponent, selector: "thy-divider", inputs: ["thyVertical", "thyStyle", "thyColor", "thyText", "thyTextDirection", "thyDeeper"] }, { kind: "directive", type: i5.ThyColorPickerDirective, selector: "[thyColorPicker]", inputs: ["thyOffset", "thyHasBackdrop", "thyDefaultColor", "thyTransparentColorSelectable", "thyPresetColors", "thyPlacement", "thyTrigger", "thyShowDelay", "thyHideDelay"], outputs: ["thyPanelOpen", "thyPanelClose"] }] });
|
|
12608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableToolbarComponent, decorators: [{
|
|
12625
12609
|
type: Component,
|
|
12626
12610
|
args: [{ selector: 'the-table-toolbar', template: "<thy-actions thySize=\"xxs\">\n <ng-container *ngFor=\"let item of cellMenuList\">\n <a\n *ngIf=\"item.visibility\"\n href=\"javascript:;\"\n thyAction\n [thyActionIcon]=\"item.icon\"\n [thyTooltip]=\"item.name\"\n (mousedown)=\"item.actionHandle()\"\n ></a>\n </ng-container>\n <thy-divider *ngIf=\"hasDivider\" class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"> </thy-divider>\n <a\n href=\"javascript:;\"\n thyAction\n thyTooltip=\"\u5355\u5143\u683C\u80CC\u666F\"\n thyColorPicker\n [(ngModel)]=\"selectedColor\"\n (ngModelChange)=\"changeColor($event)\"\n (mousedown)=\"openColorPanel($event)\"\n thyPlacement=\"bottomLeft\"\n [thyHasBackdrop]=\"false\"\n >\n <thy-icon thyIconName=\"background-tt\" thyIconType=\"twotone\" [thyTwotoneColor]=\"selectedColor\"></thy-icon>\n </a>\n <a\n href=\"javascript:;\"\n *ngIf=\"tableStore.isSelectedTable && !isColumnEqual\"\n thyAction\n thyTooltip=\"\u5217\u7B49\u5BBD\"\n (mousedown)=\"setEquallyColumnHandle($event)\"\n >\n <thy-icon thyIconName=\"table-column-equal-width\"></thy-icon>\n </a>\n <a\n href=\"javascript:;\"\n *ngIf=\"tableStore.isSelectedTable && tableOptions?.showFullscreen\"\n thyAction\n thyTooltip=\"\u5168\u5C4F\"\n (mousedown)=\"setFullscreen($event)\"\n >\n <thy-icon thyIconName=\"arrows-alt\"></thy-icon>\n </a>\n <a\n *ngIf=\"tableStore.isSelectedTable && !tableStore?.isFullscreen\"\n class=\"fullscreen-hidden\"\n href=\"javascript:;\"\n thyAction\n thyActionIcon=\"copy\"\n thyTooltip=\"\u590D\u5236\"\n (mousedown)=\"onCopy($event)\"\n ></a>\n <ng-container *ngIf=\"tableStore.isSelectedTable\">\n <thy-divider class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"></thy-divider>\n <a href=\"javascript:;\" class=\"link-with-down\" thyAction (mousedown)=\"mousedown($event)\" (click)=\"openTableOptionMenu($event)\">\n <span>\u8868\u683C\u9009\u9879</span>\n <thy-icon class=\"font-size-sm text-desc ml-1\" thyIconName=\"caret-down\"></thy-icon>\n </a>\n </ng-container>\n <ng-container *ngIf=\"tableStore?.isFullscreen ? deleteIcon && !tableStore.isSelectedTable : deleteIcon\">\n <thy-divider class=\"mr-2 ml-1 align-self-center\" [thyVertical]=\"true\"></thy-divider>\n <a\n href=\"javascript:;\"\n thyAction\n thyType=\"danger\"\n [thyActionIcon]=\"deleteIcon\"\n [thyTooltip]=\"iconName\"\n (mousedown)=\"onDelete($event)\"\n (mouseenter)=\"onEnterDelete($event)\"\n (mouseleave)=\"onLeaveDelete($event)\"\n ></a>\n </ng-container>\n</thy-actions>\n" }]
|
|
12627
12611
|
}], ctorParameters: function () { return [{ type: i1$1.ThyPopover }, { type: i1$1.ThyPopoverRef }, { type: i1$2.ThyNotifyService }]; }, propDecorators: { tableStore: [{
|
|
@@ -12768,10 +12752,10 @@ class TableService {
|
|
|
12768
12752
|
e.preventDefault();
|
|
12769
12753
|
}
|
|
12770
12754
|
}
|
|
12771
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TableService, deps: [{ token: i1$1.ThyPopover }, { token: i2$1.Overlay }, { token: TableStore }, { token: i0.NgZone }, { token: TheContextService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
12772
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TableService }); }
|
|
12773
12755
|
}
|
|
12774
|
-
i0.ɵɵ
|
|
12756
|
+
TableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableService, deps: [{ token: i1$1.ThyPopover }, { token: i2$1.Overlay }, { token: TableStore }, { token: i0.NgZone }, { token: TheContextService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12757
|
+
TableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableService });
|
|
12758
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableService, decorators: [{
|
|
12775
12759
|
type: Injectable
|
|
12776
12760
|
}], ctorParameters: function () { return [{ type: i1$1.ThyPopover }, { type: i2$1.Overlay }, { type: TableStore }, { type: i0.NgZone }, { type: TheContextService }]; } });
|
|
12777
12761
|
|
|
@@ -12793,10 +12777,10 @@ class TableFreezeColumnPipe {
|
|
|
12793
12777
|
const mergeColumnCells = rows && rows.map(cells => cells[0]).filter(item => item.colspan && item.colspan !== 1);
|
|
12794
12778
|
return !!(tablePluginOptions?.freezeColumnHeader && table.options?.headerColumn && !mergeColumnCells.length && stickyColumn);
|
|
12795
12779
|
}
|
|
12796
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TableFreezeColumnPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
12797
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: TableFreezeColumnPipe, name: "freezeColumn" }); }
|
|
12798
12780
|
}
|
|
12799
|
-
i0.ɵɵ
|
|
12781
|
+
TableFreezeColumnPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableFreezeColumnPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
12782
|
+
TableFreezeColumnPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TableFreezeColumnPipe, name: "freezeColumn" });
|
|
12783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableFreezeColumnPipe, decorators: [{
|
|
12800
12784
|
type: Pipe,
|
|
12801
12785
|
args: [{ name: 'freezeColumn' }]
|
|
12802
12786
|
}] });
|
|
@@ -12809,10 +12793,10 @@ class TableFreezeRowPipe {
|
|
|
12809
12793
|
}
|
|
12810
12794
|
return false;
|
|
12811
12795
|
}
|
|
12812
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TableFreezeRowPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
12813
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: TableFreezeRowPipe, name: "freezeRow" }); }
|
|
12814
12796
|
}
|
|
12815
|
-
i0.ɵɵ
|
|
12797
|
+
TableFreezeRowPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableFreezeRowPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
12798
|
+
TableFreezeRowPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TableFreezeRowPipe, name: "freezeRow" });
|
|
12799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableFreezeRowPipe, decorators: [{
|
|
12816
12800
|
type: Pipe,
|
|
12817
12801
|
args: [{ name: 'freezeRow' }]
|
|
12818
12802
|
}] });
|
|
@@ -12902,10 +12886,10 @@ class TheColumnResizeDirective {
|
|
|
12902
12886
|
this.destroyed.next();
|
|
12903
12887
|
this.destroyed.complete();
|
|
12904
12888
|
}
|
|
12905
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheColumnResizeDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: TableCellEventDispatcher }, { token: ColumnResizeNotifierSource }, { token: THE_TABLE_COMPONENT_TOKEN }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
12906
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.1", type: TheColumnResizeDirective, selector: "div[theColumnResize]", ngImport: i0 }); }
|
|
12907
12889
|
}
|
|
12908
|
-
i0.ɵɵ
|
|
12890
|
+
TheColumnResizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheColumnResizeDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: TableCellEventDispatcher }, { token: ColumnResizeNotifierSource }, { token: THE_TABLE_COMPONENT_TOKEN }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12891
|
+
TheColumnResizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TheColumnResizeDirective, selector: "div[theColumnResize]", ngImport: i0 });
|
|
12892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheColumnResizeDirective, decorators: [{
|
|
12909
12893
|
type: Directive,
|
|
12910
12894
|
args: [{
|
|
12911
12895
|
selector: 'div[theColumnResize]'
|
|
@@ -12990,10 +12974,10 @@ class TheInsertMarkComponent {
|
|
|
12990
12974
|
return result + 'px';
|
|
12991
12975
|
}
|
|
12992
12976
|
}
|
|
12993
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheInsertMarkComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12994
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheInsertMarkComponent, selector: "the-table-insert-mark", inputs: { type: "type", at: "at", tableStore: "tableStore", parentElement: "parentElement" }, host: { classAttribute: "the-table-insert-mark" }, ngImport: i0, template: "<div\n [thyTooltip]=\"!disabled && tooltipContent\"\n class=\"the-table-controls-insert-wrapper\"\n [ngClass]=\"{ disabled: disabled }\"\n contenteditable=\"false\"\n (mousedown)=\"onMouseDown($event)\"\n (mouseenter)=\"onMouseEnter($event)\"\n (mouseleave)=\"onMouseLeave($event)\"\n>\n <div\n class=\"the-table-controls-insert-line\"\n *ngIf=\"dotWrapperHovered\"\n [attr.data-dot-type]=\"type\"\n [ngStyle]=\"{ height: type === 'column' && insertLength, width: type === 'row' && insertLength }\"\n ></div>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }] }); }
|
|
12995
12977
|
}
|
|
12996
|
-
i0.ɵɵ
|
|
12978
|
+
TheInsertMarkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheInsertMarkComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
12979
|
+
TheInsertMarkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheInsertMarkComponent, selector: "the-table-insert-mark", inputs: { type: "type", at: "at", tableStore: "tableStore", parentElement: "parentElement" }, host: { classAttribute: "the-table-insert-mark" }, ngImport: i0, template: "<div\n [thyTooltip]=\"!disabled && tooltipContent\"\n class=\"the-table-controls-insert-wrapper\"\n [ngClass]=\"{ disabled: disabled }\"\n contenteditable=\"false\"\n (mousedown)=\"onMouseDown($event)\"\n (mouseenter)=\"onMouseEnter($event)\"\n (mouseleave)=\"onMouseLeave($event)\"\n>\n <div\n class=\"the-table-controls-insert-line\"\n *ngIf=\"dotWrapperHovered\"\n [attr.data-dot-type]=\"type\"\n [ngStyle]=\"{ height: type === 'column' && insertLength, width: type === 'row' && insertLength }\"\n ></div>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }] });
|
|
12980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheInsertMarkComponent, decorators: [{
|
|
12997
12981
|
type: Component,
|
|
12998
12982
|
args: [{ selector: 'the-table-insert-mark', host: {
|
|
12999
12983
|
class: 'the-table-insert-mark'
|
|
@@ -13734,22 +13718,22 @@ class TheTableComponent extends TheBaseElementComponent {
|
|
|
13734
13718
|
this.destroy$.next();
|
|
13735
13719
|
this.destroy$.complete();
|
|
13736
13720
|
}
|
|
13737
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheTableComponent, deps: [{ token: i0.ElementRef }, { token: TableCellEventDispatcher }, { token: ColumnResizeNotifierSource }, { token: TableStore }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: TableService }, { token: TheTableContextMenuService }, { token: TableFreezeColumnPipe }, { token: TableFreezeRowPipe }, { token: i0.Renderer2 }, { token: TheContextService }, { token: THE_MODE_TOKEN }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13738
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheTableComponent, selector: "the-table, [theTable]", host: { listeners: { "mousedown": "handleMousedown($event)" }, properties: { "class.the-table-with-controls": "isInTable || tableStore.isRightClicking || tableStore.isFocusedInput", "class.the-table-with-sticky-column": "freezeColumnPipe.transform(element, tablePluginOptions)", "class.the-numbered-table": "element?.options?.numberedColumn", "class.the-table-selection-hide": "tableStore.isCellSelecting || tableStore.isRightClicking || tableStore.isFocusedInput" } }, providers: [
|
|
13739
|
-
TableStore,
|
|
13740
|
-
TableService,
|
|
13741
|
-
TheTableContextMenuService,
|
|
13742
|
-
TableCellEventDispatcher,
|
|
13743
|
-
ColumnResizeNotifierSource,
|
|
13744
|
-
TableFreezeColumnPipe,
|
|
13745
|
-
TableFreezeRowPipe,
|
|
13746
|
-
{
|
|
13747
|
-
provide: THE_TABLE_COMPONENT_TOKEN,
|
|
13748
|
-
useExisting: TheTableComponent
|
|
13749
|
-
}
|
|
13750
|
-
], viewQueries: [{ propertyName: "tableWrapper", first: true, predicate: ["tableWrapper"], descendants: true, read: ElementRef, static: true }, { propertyName: "theTableElement", first: true, predicate: ["theTable"], descendants: true, read: ElementRef, static: true }, { propertyName: "tbodyElement", first: true, predicate: ["tbody"], descendants: true, read: ElementRef, static: true }, { propertyName: "tableRowControlsWrapper", first: true, predicate: ["tableRowControlsWrapper"], descendants: true, read: ElementRef }, { propertyName: "columnControlsWrapper", first: true, predicate: ["columnControlsWrapper"], descendants: true, read: ElementRef }, { propertyName: "cornerControl", first: true, predicate: ["cornerControl"], descendants: true, read: ElementRef }, { propertyName: "rowControlsInner", first: true, predicate: ["rowControlsInner"], descendants: true, read: ElementRef }, { propertyName: "headerRowLeftShadow", first: true, predicate: ["headerRowLeftShadow"], descendants: true, read: ElementRef }, { propertyName: "headerRowRightShadow", first: true, predicate: ["headerRowRightShadow"], descendants: true, read: ElementRef }, { propertyName: "colgroup", first: true, predicate: ["colgroup"], descendants: true, read: ElementRef }, { propertyName: "rowControlsButtonWrapper", predicate: ["rowControlsButtonWrapper"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<div class=\"the-table-container\" theColumnResize>\n <div #tableRowControlsWrapper class=\"the-table-row-controls-wrapper\">\n <div\n class=\"the-table-corner-controls the-sticky-corner-controls\"\n #cornerControl\n [ngClass]=\"{\n visible: !readonly && (isInTable || tableStore.isRightClicking || tableStore.isFocusedInput),\n 'control-active': isSelectedAllCell,\n dangerous: tableStore.isSelectedTable && tableStore.dangerousCells.length > 0\n }\"\n >\n <div class=\"the-table-corner-button\" (mousedown)=\"onSelectTable($event)\"></div>\n <div class=\"the-table-corner-controls-insert-row-marker\" *ngIf=\"!headerRow\">\n <the-table-insert-mark type=\"row\" [at]=\"0\" [tableStore]=\"tableStore\"></the-table-insert-mark>\n </div>\n <div class=\"the-table-corner-controls-insert-column-marker\" *ngIf=\"!element?.options?.headerColumn\">\n <the-table-insert-mark type=\"column\" [at]=\"0\" [tableStore]=\"tableStore\"></the-table-insert-mark>\n </div>\n </div>\n <div class=\"the-table-row-controls\">\n <div class=\"the-table-row-controls-inner\" #rowControlsInner>\n <div\n class=\"the-table-row-controls-button-wrap\"\n #rowControlsButtonWrapper\n *ngFor=\"let control of rowControls; let i = index; trackBy: trackByFnRowControls\"\n [ngClass]=\"{\n 'control-active': tableStore.selectedRowsIndex.includes(control.rowIndex),\n dangerous: tableStore.dangerousRowsIndex.includes(control.rowIndex) && tableStore.dangerousCells.length > 0\n }\"\n >\n <ng-container\n *ngIf=\"!readonly && (isInTable || tableStore.isRightClicking || tableStore.isFocusedInput) && !element?.options?.numberedColumn\"\n >\n <button\n (mousedown)=\"onRowMousedown($event, control.rowIndex)\"\n type=\"button\"\n [ngStyle]=\"{ height: control.height + 1 + 'px' }\"\n class=\"the-table-row-controls-button the-table-controls-button\"\n ></button>\n </ng-container>\n <ng-container *ngIf=\"element?.options?.numberedColumn\">\n <div\n [contentEditable]=\"false\"\n contenteditable=\"false\"\n (mousedown)=\"onRowMousedown($event, control.rowIndex)\"\n class=\"the-table-numbered-controls-button\"\n [ngStyle]=\"{ height: control.height + 1 + 'px' }\"\n >\n <p class=\"row-number d-flex align-items-center\">{{ headerRow && i === 0 ? '' : headerRow ? i : i + 1 }}</p>\n </div>\n </ng-container>\n <the-table-insert-mark type=\"row\" [at]=\"control.rowIndex + 1\" [tableStore]=\"tableStore\"> </the-table-insert-mark>\n </div>\n </div>\n </div>\n </div>\n <div class=\"the-table-wrapper\" #tableWrapper [ngClass]=\"{ 'the-table-numbered': element?.options?.numberedColumn }\">\n <table class=\"the-table\" #theTable>\n <colgroup #colgroup *ngIf=\"columns\">\n <col *ngIf=\"readonly && element?.options?.numberedColumn\" class=\"the-table-number-col\" />\n <col *ngFor=\"let col of columns\" [ngStyle]=\"{ width: col.width + 'px' }\" />\n </colgroup>\n <thead>\n <tr class=\"the-table-col-controls-wrapper the-sticky-row\" #columnControlsWrapper>\n <th *ngIf=\"readonly && element?.options?.numberedColumn\" class=\"the-table-number-col\"></th>\n <th\n #colControl\n class=\"the-table-col-controls\"\n *ngFor=\"let control of colControls; let i = index; trackBy: trackByFnColControls\"\n [ngClass]=\"{\n 'control-active': tableStore.selectedColumnsIndex.includes(i),\n dangerous: tableStore.dangerousColumnsIndex.includes(i) && tableStore.dangerousCells.length > 0\n }\"\n (mousedown)=\"onColMousedown($event, i)\"\n >\n <the-table-insert-mark\n *ngIf=\"isInTable || tableStore.isRightClicking || tableStore.isFocusedInput\"\n type=\"column\"\n [at]=\"i + 1\"\n [tableStore]=\"tableStore\"\n [parentElement]=\"colControl\"\n >\n </the-table-insert-mark>\n </th>\n </tr>\n </thead>\n <tbody #tbody>\n <slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"> </slate-children>\n </tbody>\n <div\n *ngIf=\"!element?.options?.headerColumn\"\n #headerRowLeftShadow\n class=\"header-row-shadow header-row-left-shadow\"\n contenteditable=\"false\"\n ></div>\n <div class=\"header-row-shadow header-row-right-shadow\" #headerRowRightShadow contenteditable=\"false\"></div>\n </table>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }, { kind: "directive", type: TheColumnResizeDirective, selector: "div[theColumnResize]" }, { kind: "component", type: TheInsertMarkComponent, selector: "the-table-insert-mark", inputs: ["type", "at", "tableStore", "parentElement"] }] }); }
|
|
13751
13721
|
}
|
|
13752
|
-
i0.ɵɵ
|
|
13722
|
+
TheTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableComponent, deps: [{ token: i0.ElementRef }, { token: TableCellEventDispatcher }, { token: ColumnResizeNotifierSource }, { token: TableStore }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: TableService }, { token: TheTableContextMenuService }, { token: TableFreezeColumnPipe }, { token: TableFreezeRowPipe }, { token: i0.Renderer2 }, { token: TheContextService }, { token: THE_MODE_TOKEN }], target: i0.ɵɵFactoryTarget.Component });
|
|
13723
|
+
TheTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheTableComponent, selector: "the-table, [theTable]", host: { listeners: { "mousedown": "handleMousedown($event)" }, properties: { "class.the-table-with-controls": "isInTable || tableStore.isRightClicking || tableStore.isFocusedInput", "class.the-table-with-sticky-column": "freezeColumnPipe.transform(element, tablePluginOptions)", "class.the-numbered-table": "element?.options?.numberedColumn", "class.the-table-selection-hide": "tableStore.isCellSelecting || tableStore.isRightClicking || tableStore.isFocusedInput" } }, providers: [
|
|
13724
|
+
TableStore,
|
|
13725
|
+
TableService,
|
|
13726
|
+
TheTableContextMenuService,
|
|
13727
|
+
TableCellEventDispatcher,
|
|
13728
|
+
ColumnResizeNotifierSource,
|
|
13729
|
+
TableFreezeColumnPipe,
|
|
13730
|
+
TableFreezeRowPipe,
|
|
13731
|
+
{
|
|
13732
|
+
provide: THE_TABLE_COMPONENT_TOKEN,
|
|
13733
|
+
useExisting: TheTableComponent
|
|
13734
|
+
}
|
|
13735
|
+
], viewQueries: [{ propertyName: "tableWrapper", first: true, predicate: ["tableWrapper"], descendants: true, read: ElementRef, static: true }, { propertyName: "theTableElement", first: true, predicate: ["theTable"], descendants: true, read: ElementRef, static: true }, { propertyName: "tbodyElement", first: true, predicate: ["tbody"], descendants: true, read: ElementRef, static: true }, { propertyName: "tableRowControlsWrapper", first: true, predicate: ["tableRowControlsWrapper"], descendants: true, read: ElementRef }, { propertyName: "columnControlsWrapper", first: true, predicate: ["columnControlsWrapper"], descendants: true, read: ElementRef }, { propertyName: "cornerControl", first: true, predicate: ["cornerControl"], descendants: true, read: ElementRef }, { propertyName: "rowControlsInner", first: true, predicate: ["rowControlsInner"], descendants: true, read: ElementRef }, { propertyName: "headerRowLeftShadow", first: true, predicate: ["headerRowLeftShadow"], descendants: true, read: ElementRef }, { propertyName: "headerRowRightShadow", first: true, predicate: ["headerRowRightShadow"], descendants: true, read: ElementRef }, { propertyName: "colgroup", first: true, predicate: ["colgroup"], descendants: true, read: ElementRef }, { propertyName: "rowControlsButtonWrapper", predicate: ["rowControlsButtonWrapper"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<div class=\"the-table-container\" theColumnResize>\n <div #tableRowControlsWrapper class=\"the-table-row-controls-wrapper\">\n <div\n class=\"the-table-corner-controls the-sticky-corner-controls\"\n #cornerControl\n [ngClass]=\"{\n visible: !readonly && (isInTable || tableStore.isRightClicking || tableStore.isFocusedInput),\n 'control-active': isSelectedAllCell,\n dangerous: tableStore.isSelectedTable && tableStore.dangerousCells.length > 0\n }\"\n >\n <div class=\"the-table-corner-button\" (mousedown)=\"onSelectTable($event)\"></div>\n <div class=\"the-table-corner-controls-insert-row-marker\" *ngIf=\"!headerRow\">\n <the-table-insert-mark type=\"row\" [at]=\"0\" [tableStore]=\"tableStore\"></the-table-insert-mark>\n </div>\n <div class=\"the-table-corner-controls-insert-column-marker\" *ngIf=\"!element?.options?.headerColumn\">\n <the-table-insert-mark type=\"column\" [at]=\"0\" [tableStore]=\"tableStore\"></the-table-insert-mark>\n </div>\n </div>\n <div class=\"the-table-row-controls\">\n <div class=\"the-table-row-controls-inner\" #rowControlsInner>\n <div\n class=\"the-table-row-controls-button-wrap\"\n #rowControlsButtonWrapper\n *ngFor=\"let control of rowControls; let i = index; trackBy: trackByFnRowControls\"\n [ngClass]=\"{\n 'control-active': tableStore.selectedRowsIndex.includes(control.rowIndex),\n dangerous: tableStore.dangerousRowsIndex.includes(control.rowIndex) && tableStore.dangerousCells.length > 0\n }\"\n >\n <ng-container\n *ngIf=\"!readonly && (isInTable || tableStore.isRightClicking || tableStore.isFocusedInput) && !element?.options?.numberedColumn\"\n >\n <button\n (mousedown)=\"onRowMousedown($event, control.rowIndex)\"\n type=\"button\"\n [ngStyle]=\"{ height: control.height + 1 + 'px' }\"\n class=\"the-table-row-controls-button the-table-controls-button\"\n ></button>\n </ng-container>\n <ng-container *ngIf=\"element?.options?.numberedColumn\">\n <div\n [contentEditable]=\"false\"\n contenteditable=\"false\"\n (mousedown)=\"onRowMousedown($event, control.rowIndex)\"\n class=\"the-table-numbered-controls-button\"\n [ngStyle]=\"{ height: control.height + 1 + 'px' }\"\n >\n <p class=\"row-number d-flex align-items-center\">{{ headerRow && i === 0 ? '' : headerRow ? i : i + 1 }}</p>\n </div>\n </ng-container>\n <the-table-insert-mark type=\"row\" [at]=\"control.rowIndex + 1\" [tableStore]=\"tableStore\"> </the-table-insert-mark>\n </div>\n </div>\n </div>\n </div>\n <div class=\"the-table-wrapper\" #tableWrapper [ngClass]=\"{ 'the-table-numbered': element?.options?.numberedColumn }\">\n <table class=\"the-table\" #theTable>\n <colgroup #colgroup *ngIf=\"columns\">\n <col *ngIf=\"readonly && element?.options?.numberedColumn\" class=\"the-table-number-col\" />\n <col *ngFor=\"let col of columns\" [ngStyle]=\"{ width: col.width + 'px' }\" />\n </colgroup>\n <thead>\n <tr class=\"the-table-col-controls-wrapper the-sticky-row\" #columnControlsWrapper>\n <th *ngIf=\"readonly && element?.options?.numberedColumn\" class=\"the-table-number-col\"></th>\n <th\n #colControl\n class=\"the-table-col-controls\"\n *ngFor=\"let control of colControls; let i = index; trackBy: trackByFnColControls\"\n [ngClass]=\"{\n 'control-active': tableStore.selectedColumnsIndex.includes(i),\n dangerous: tableStore.dangerousColumnsIndex.includes(i) && tableStore.dangerousCells.length > 0\n }\"\n (mousedown)=\"onColMousedown($event, i)\"\n >\n <the-table-insert-mark\n *ngIf=\"isInTable || tableStore.isRightClicking || tableStore.isFocusedInput\"\n type=\"column\"\n [at]=\"i + 1\"\n [tableStore]=\"tableStore\"\n [parentElement]=\"colControl\"\n >\n </the-table-insert-mark>\n </th>\n </tr>\n </thead>\n <tbody #tbody>\n <slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"> </slate-children>\n </tbody>\n <div\n *ngIf=\"!element?.options?.headerColumn\"\n #headerRowLeftShadow\n class=\"header-row-shadow header-row-left-shadow\"\n contenteditable=\"false\"\n ></div>\n <div class=\"header-row-shadow header-row-right-shadow\" #headerRowRightShadow contenteditable=\"false\"></div>\n </table>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }, { kind: "directive", type: TheColumnResizeDirective, selector: "div[theColumnResize]" }, { kind: "component", type: TheInsertMarkComponent, selector: "the-table-insert-mark", inputs: ["type", "at", "tableStore", "parentElement"] }] });
|
|
13736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableComponent, decorators: [{
|
|
13753
13737
|
type: Component,
|
|
13754
13738
|
args: [{ selector: 'the-table, [theTable]', providers: [
|
|
13755
13739
|
TableStore,
|
|
@@ -13896,15 +13880,15 @@ class TheTableRowComponent extends TheBaseElementComponent {
|
|
|
13896
13880
|
this.numberedColumn = ps.table?.options?.numberedColumn;
|
|
13897
13881
|
this.rowNumber = headerRow && rowIndex === 0 ? '' : headerRow ? rowIndex : rowIndex + 1;
|
|
13898
13882
|
}
|
|
13899
|
-
|
|
13900
|
-
|
|
13883
|
+
}
|
|
13884
|
+
TheTableRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableRowComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
13885
|
+
TheTableRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheTableRowComponent, selector: "tr[theTableRow]", host: { properties: { "style.height": "this.height" } }, usesInheritance: true, ngImport: i0, template: `
|
|
13901
13886
|
<td *ngIf="readonly && numberedColumn" class="the-table-number-column align-middle" thePreventDefault>
|
|
13902
13887
|
{{ rowNumber }}
|
|
13903
13888
|
</td>
|
|
13904
13889
|
<slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>
|
|
13905
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }, { kind: "directive", type: ThePreventDefaultDirective, selector: "[thePreventDefault]", exportAs: ["thePreventDefault"] }] });
|
|
13906
|
-
|
|
13907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheTableRowComponent, decorators: [{
|
|
13890
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }, { kind: "directive", type: ThePreventDefaultDirective, selector: "[thePreventDefault]", exportAs: ["thePreventDefault"] }] });
|
|
13891
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableRowComponent, decorators: [{
|
|
13908
13892
|
type: Component,
|
|
13909
13893
|
args: [{
|
|
13910
13894
|
selector: 'tr[theTableRow]',
|
|
@@ -14064,10 +14048,10 @@ class ColumnResizingStore {
|
|
|
14064
14048
|
popRow() {
|
|
14065
14049
|
this.resizeRows.pop();
|
|
14066
14050
|
}
|
|
14067
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: ColumnResizingStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14068
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: ColumnResizingStore }); }
|
|
14069
14051
|
}
|
|
14070
|
-
i0.ɵɵ
|
|
14052
|
+
ColumnResizingStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ColumnResizingStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14053
|
+
ColumnResizingStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ColumnResizingStore });
|
|
14054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ColumnResizingStore, decorators: [{
|
|
14071
14055
|
type: Injectable
|
|
14072
14056
|
}], ctorParameters: function () { return []; } });
|
|
14073
14057
|
|
|
@@ -14221,10 +14205,10 @@ class TheColumnResizeOverlayHandleComponent {
|
|
|
14221
14205
|
this.destroyed.next();
|
|
14222
14206
|
this.destroyed.complete();
|
|
14223
14207
|
}
|
|
14224
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheColumnResizeOverlayHandleComponent, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: ResizeRef }, { token: TableCellEventDispatcher }, { token: DOCUMENT }, { token: ColumnResizeNotifierSource }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14225
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheColumnResizeOverlayHandleComponent, selector: "ng-component", host: { classAttribute: "the-table-resize-overlay-thumb" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14226
14208
|
}
|
|
14227
|
-
i0.ɵɵ
|
|
14209
|
+
TheColumnResizeOverlayHandleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheColumnResizeOverlayHandleComponent, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: ResizeRef }, { token: TableCellEventDispatcher }, { token: DOCUMENT }, { token: ColumnResizeNotifierSource }], target: i0.ɵɵFactoryTarget.Component });
|
|
14210
|
+
TheColumnResizeOverlayHandleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheColumnResizeOverlayHandleComponent, selector: "ng-component", host: { classAttribute: "the-table-resize-overlay-thumb" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheColumnResizeOverlayHandleComponent, decorators: [{
|
|
14228
14212
|
type: Component,
|
|
14229
14213
|
args: [{
|
|
14230
14214
|
host: { class: 'the-table-resize-overlay-thumb' },
|
|
@@ -14881,10 +14865,10 @@ class TheTdComponent extends TheBaseElementComponent {
|
|
|
14881
14865
|
this.destroy$.next();
|
|
14882
14866
|
this.destroy$.complete();
|
|
14883
14867
|
}
|
|
14884
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheTdComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i2$1.Overlay }, { token: ColumnResizingStore }, { token: i2$1.ScrollDispatcher }, { token: TableFreezeColumnPipe }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14885
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheTdComponent, selector: "td[theTd]", host: { properties: { "style.backgroundColor": "this.backgroundColor", "attr.colspan": "this.colspan", "attr.rowspan": "this.rowspan", "style.display": "this.display" } }, providers: [ColumnResizingStore], usesInheritance: true, ngImport: i0, template: "<div #cellInner>\n <slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"></slate-children>\n</div>\n", dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] }); }
|
|
14886
14868
|
}
|
|
14887
|
-
i0.ɵɵ
|
|
14869
|
+
TheTdComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTdComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i2$1.Overlay }, { token: ColumnResizingStore }, { token: i2$1.ScrollDispatcher }, { token: TableFreezeColumnPipe }], target: i0.ɵɵFactoryTarget.Component });
|
|
14870
|
+
TheTdComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheTdComponent, selector: "td[theTd]", host: { properties: { "style.backgroundColor": "this.backgroundColor", "attr.colspan": "this.colspan", "attr.rowspan": "this.rowspan", "style.display": "this.display" } }, providers: [ColumnResizingStore], usesInheritance: true, ngImport: i0, template: "<div #cellInner>\n <slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"></slate-children>\n</div>\n", dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
|
|
14871
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTdComponent, decorators: [{
|
|
14888
14872
|
type: Component,
|
|
14889
14873
|
args: [{ selector: 'td[theTd]', providers: [ColumnResizingStore], template: "<div #cellInner>\n <slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"></slate-children>\n</div>\n" }]
|
|
14890
14874
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i2$1.Overlay }, { type: ColumnResizingStore }, { type: i2$1.ScrollDispatcher }, { type: TableFreezeColumnPipe }]; }, propDecorators: { backgroundColor: [{
|
|
@@ -14963,7 +14947,6 @@ class TheTableToolbarItemComponent extends TheBaseToolbarItem {
|
|
|
14963
14947
|
optionsParam
|
|
14964
14948
|
},
|
|
14965
14949
|
minWidth: 0,
|
|
14966
|
-
backdropClosable: false,
|
|
14967
14950
|
hasBackdrop: false,
|
|
14968
14951
|
outsideClosable: true,
|
|
14969
14952
|
insideClosable: false,
|
|
@@ -14974,8 +14957,9 @@ class TheTableToolbarItemComponent extends TheBaseToolbarItem {
|
|
|
14974
14957
|
});
|
|
14975
14958
|
return this.tableSelectRef;
|
|
14976
14959
|
}
|
|
14977
|
-
|
|
14978
|
-
|
|
14960
|
+
}
|
|
14961
|
+
TheTableToolbarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableToolbarItemComponent, deps: [{ token: i1$1.ThyPopover }, { token: i2$1.Overlay }], target: i0.ɵɵFactoryTarget.Component });
|
|
14962
|
+
TheTableToolbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheTableToolbarItemComponent, selector: "the-table-toolbar-item", host: { classAttribute: "the-toolbar-dropdown-container" }, usesInheritance: true, ngImport: i0, template: `
|
|
14979
14963
|
<a
|
|
14980
14964
|
href="javascript:;"
|
|
14981
14965
|
class="link-with-down"
|
|
@@ -14989,9 +14973,8 @@ class TheTableToolbarItemComponent extends TheBaseToolbarItem {
|
|
|
14989
14973
|
>
|
|
14990
14974
|
<thy-icon class="link-down-icon font-size-sm text-desc ml-1" thyIconName="caret-down"> </thy-icon>
|
|
14991
14975
|
</a>
|
|
14992
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }] });
|
|
14993
|
-
|
|
14994
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheTableToolbarItemComponent, decorators: [{
|
|
14976
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i7.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }] });
|
|
14977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTableToolbarItemComponent, decorators: [{
|
|
14995
14978
|
type: Component,
|
|
14996
14979
|
args: [{
|
|
14997
14980
|
selector: 'the-table-toolbar-item',
|
|
@@ -15567,15 +15550,15 @@ class TheTodoItemComponent extends TheBaseElementComponent {
|
|
|
15567
15550
|
}
|
|
15568
15551
|
setNode(this.editor, { checked }, this.element);
|
|
15569
15552
|
}
|
|
15570
|
-
|
|
15571
|
-
|
|
15553
|
+
}
|
|
15554
|
+
TheTodoItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTodoItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: TheContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15555
|
+
TheTodoItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheTodoItemComponent, selector: "div[theTodoItem]", host: { properties: { "class.the-check-item": "this.checkItemClass", "class.the-todo-item-selectable": "this.checkItemSelectable", "attr.the-level": "this.level" } }, usesInheritance: true, ngImport: i0, template: `
|
|
15572
15556
|
<span contenteditable="false" class="todo-item-status">
|
|
15573
15557
|
<input #checkbox type="checkbox" [checked]="element.checked" (click)="onCheck(checkbox.checked)" />
|
|
15574
15558
|
</span>
|
|
15575
15559
|
<span><slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children></span>
|
|
15576
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
|
|
15577
|
-
|
|
15578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheTodoItemComponent, decorators: [{
|
|
15560
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
|
|
15561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheTodoItemComponent, decorators: [{
|
|
15579
15562
|
type: Component,
|
|
15580
15563
|
args: [{
|
|
15581
15564
|
selector: 'div[theTodoItem]',
|
|
@@ -15840,16 +15823,16 @@ class TheInlineToolbarComponent {
|
|
|
15840
15823
|
this.destroy$.next();
|
|
15841
15824
|
this.destroy$.complete();
|
|
15842
15825
|
}
|
|
15843
|
-
|
|
15844
|
-
|
|
15826
|
+
}
|
|
15827
|
+
TheInlineToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheInlineToolbarComponent, deps: [{ token: i0.ElementRef }, { token: i2$1.ScrollDispatcher }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: TheContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15828
|
+
TheInlineToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheInlineToolbarComponent, selector: "the-inline-toolbar", inputs: { editor: "editor", toolbarItems: "toolbarItems" }, host: { properties: { "class.hide": "toolbarItems.length === 0" } }, viewQueries: [{ propertyName: "inlineToolbar", first: true, predicate: ["inlineToolbar"], descendants: true }], ngImport: i0, template: `<the-toolbar
|
|
15845
15829
|
#inlineToolbar
|
|
15846
15830
|
class="the-inline-toolbar"
|
|
15847
15831
|
[editor]="editor"
|
|
15848
15832
|
[toolbarItems]="toolbarItems"
|
|
15849
15833
|
[isMore]="false"
|
|
15850
|
-
></the-toolbar> `, isInline: true, dependencies: [{ kind: "component", type: TheToolbarComponent, selector: "the-toolbar", inputs: ["editor", "toolbarItems", "align", "containerClass", "isMore", "afterTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15851
|
-
|
|
15852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheInlineToolbarComponent, decorators: [{
|
|
15834
|
+
></the-toolbar> `, isInline: true, dependencies: [{ kind: "component", type: TheToolbarComponent, selector: "the-toolbar", inputs: ["editor", "toolbarItems", "align", "containerClass", "isMore", "afterTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
15835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheInlineToolbarComponent, decorators: [{
|
|
15853
15836
|
type: Component,
|
|
15854
15837
|
args: [{
|
|
15855
15838
|
selector: 'the-inline-toolbar',
|
|
@@ -15965,10 +15948,10 @@ class TheQuickInsertComponent {
|
|
|
15965
15948
|
this.checkStatus();
|
|
15966
15949
|
}, 100);
|
|
15967
15950
|
}
|
|
15968
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheQuickInsertComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15969
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheQuickInsertComponent, selector: "[theQuickInsert]", inputs: { editor: "editor", isVisible: "isVisible" }, host: { listeners: { "mousedown": "handleMousedownNativeElement($event)" }, properties: { "class": "this.className" } }, viewQueries: [{ propertyName: "iconElement", first: true, predicate: ["iconElement"], descendants: true, read: ElementRef }], ngImport: i0, template: "<thy-icon\n #iconElement\n [thyIconName]=\"displayIconName\"\n class=\"quick-insert-icon text-desc font-size-xlg\"\n (mouseenter)=\"mouseEnter($event)\"\n (mouseleave)=\"mouseLeave($event)\"\n (mousedown)=\"handleClick($event)\"\n></thy-icon>\n", dependencies: [{ kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }] }); }
|
|
15970
15951
|
}
|
|
15971
|
-
i0.ɵɵ
|
|
15952
|
+
TheQuickInsertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheQuickInsertComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15953
|
+
TheQuickInsertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheQuickInsertComponent, selector: "[theQuickInsert]", inputs: { editor: "editor", isVisible: "isVisible" }, host: { listeners: { "mousedown": "handleMousedownNativeElement($event)" }, properties: { "class": "this.className" } }, viewQueries: [{ propertyName: "iconElement", first: true, predicate: ["iconElement"], descendants: true, read: ElementRef }], ngImport: i0, template: "<thy-icon\n #iconElement\n [thyIconName]=\"displayIconName\"\n class=\"quick-insert-icon text-desc font-size-xlg\"\n (mouseenter)=\"mouseEnter($event)\"\n (mouseleave)=\"mouseLeave($event)\"\n (mousedown)=\"handleClick($event)\"\n></thy-icon>\n", dependencies: [{ kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }] });
|
|
15954
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheQuickInsertComponent, decorators: [{
|
|
15972
15955
|
type: Component,
|
|
15973
15956
|
args: [{ selector: '[theQuickInsert]', template: "<thy-icon\n #iconElement\n [thyIconName]=\"displayIconName\"\n class=\"quick-insert-icon text-desc font-size-xlg\"\n (mouseenter)=\"mouseEnter($event)\"\n (mouseleave)=\"mouseLeave($event)\"\n (mousedown)=\"handleClick($event)\"\n></thy-icon>\n" }]
|
|
15974
15957
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { className: [{
|
|
@@ -16353,17 +16336,17 @@ class TheEditorComponent extends mixinUnsubscribe(MixinBase) {
|
|
|
16353
16336
|
text
|
|
16354
16337
|
};
|
|
16355
16338
|
}
|
|
16356
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheEditorComponent, deps: [{ token: TheContextService }, { token: i0.ViewContainerRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i4.ThyIconRegistry }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16357
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: TheEditorComponent, selector: "the-editor, theEditor", inputs: { theOptions: "theOptions", thePlugins: "thePlugins", theGlobalToolbar: "theGlobalToolbar", theDecorate: "theDecorate", theOnError: "theOnError" }, outputs: { theOnSave: "theOnSave", theOnDOMEvent: "theOnDOMEvent", theEditorCreated: "theEditorCreated", theUploadingStatus: "theUploadingStatus" }, host: { properties: { "class.the-editor-readonly": "theOptions?.readonly" }, classAttribute: "the-editor" }, providers: [
|
|
16358
|
-
TheContextService,
|
|
16359
|
-
{
|
|
16360
|
-
provide: NG_VALUE_ACCESSOR,
|
|
16361
|
-
useExisting: forwardRef(() => TheEditorComponent),
|
|
16362
|
-
multi: true
|
|
16363
|
-
}
|
|
16364
|
-
], viewQueries: [{ propertyName: "templateInstance", first: true, predicate: ["templateInstance"], descendants: true, static: true }, { propertyName: "theEditableContainer", first: true, predicate: ["theEditableContainer"], descendants: true, read: ElementRef, static: true }, { propertyName: "globalToolbarInstance", first: true, predicate: ["globalToolbar"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<the-toolbar\n *ngIf=\"!theOptions?.readonly && !theGlobalToolbar\"\n [ngClass]=\"{\n 'the-toolbar-disabled': theOptions?.disabled\n }\"\n #globalToolbar\n [editor]=\"editor\"\n [toolbarItems]=\"toolbarEntity.global\"\n [containerClass]=\"globalToolbarClass\"\n [align]=\"theOptions?.toolbar?.align\"\n></the-toolbar>\n\n<div\n #theEditableContainer\n class=\"the-editable-container\"\n thyImageGroup\n [ngClass]=\"{\n 'the-editor-disabled': theOptions?.disabled,\n 'max-height': maxHeight\n }\"\n [ngStyle]=\"{ 'max-height': maxHeight }\"\n>\n <slate-editable\n class=\"the-editor-typo\"\n [editor]=\"editor\"\n [ngModel]=\"editorValue\"\n (ngModelChange)=\"valueChange($event)\"\n [decorate]=\"decorate\"\n [placeholder]=\"theOptions?.placeholder\"\n [placeholderDecorate]=\"theOptions?.placeholderDecorate ? theOptions?.placeholderDecorate : null\"\n [renderElement]=\"renderElement\"\n [renderText]=\"renderText\"\n [renderLeaf]=\"renderLeaf\"\n [readonly]=\"theOptions?.readonly || theOptions?.disabled\"\n [keydown]=\"onKeyDown\"\n [click]=\"onClick\"\n [paste]=\"onSlaPaste\"\n [beforeInput]=\"onSlaBeforeInput\"\n [blur]=\"onSlaBlur\"\n [focus]=\"onSlaFocus\"\n [copy]=\"onSlaCopy\"\n [cut]=\"onSlaCut\"\n [isStrictDecorate]=\"false\"\n [compositionStart]=\"onSlaCompositionStart\"\n [compositionEnd]=\"onSlaCompositionEnd\"\n [dragStart]=\"onSlaDragStart\"\n [dragOver]=\"onSlaDragOver\"\n [drop]=\"onDrop\"\n (mousedown)=\"mousedown($event)\"\n [scrollSelectionIntoView]=\"scrollSelectionIntoView\"\n ></slate-editable>\n <the-inline-toolbar\n *ngIf=\"!theOptions?.readonly && theOptions?.inlineToolbarVisible\"\n [editor]=\"editor\"\n [toolbarItems]=\"toolbarEntity.inline\"\n ></the-inline-toolbar>\n <div *ngIf=\"!theOptions?.readonly\" theQuickInsert [editor]=\"editor\" [isVisible]=\"visibleQuickInsertPlus\"></div>\n <the-template #templateInstance></the-template>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i1.SlateEditableComponent, selector: "slate-editable", inputs: ["editor", "renderElement", "renderLeaf", "renderText", "decorate", "placeholderDecorate", "scrollSelectionIntoView", "isStrictDecorate", "trackBy", "readonly", "placeholder", "beforeInput", "blur", "click", "compositionEnd", "compositionUpdate", "compositionStart", "copy", "cut", "dragOver", "dragStart", "dragEnd", "drop", "focus", "keydown", "paste", "spellCheck", "autoCorrect", "autoCapitalize"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$1.ThyImageGroupComponent, selector: "thy-image-group, [thyImageGroup]" }, { kind: "component", type: TheToolbarComponent, selector: "the-toolbar", inputs: ["editor", "toolbarItems", "align", "containerClass", "isMore", "afterTemplate"] }, { kind: "component", type: TheInlineToolbarComponent, selector: "the-inline-toolbar", inputs: ["editor", "toolbarItems"] }, { kind: "component", type: TheQuickInsertComponent, selector: "[theQuickInsert]", inputs: ["editor", "isVisible"] }, { kind: "component", type: TheTemplateComponent, selector: "the-template,[theTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
16365
16339
|
}
|
|
16366
|
-
i0.ɵɵ
|
|
16340
|
+
TheEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheEditorComponent, deps: [{ token: TheContextService }, { token: i0.ViewContainerRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i4.ThyIconRegistry }], target: i0.ɵɵFactoryTarget.Component });
|
|
16341
|
+
TheEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TheEditorComponent, selector: "the-editor, theEditor", inputs: { theOptions: "theOptions", thePlugins: "thePlugins", theGlobalToolbar: "theGlobalToolbar", theDecorate: "theDecorate", theOnError: "theOnError" }, outputs: { theOnSave: "theOnSave", theOnDOMEvent: "theOnDOMEvent", theEditorCreated: "theEditorCreated", theUploadingStatus: "theUploadingStatus" }, host: { properties: { "class.the-editor-readonly": "theOptions?.readonly" }, classAttribute: "the-editor" }, providers: [
|
|
16342
|
+
TheContextService,
|
|
16343
|
+
{
|
|
16344
|
+
provide: NG_VALUE_ACCESSOR,
|
|
16345
|
+
useExisting: forwardRef(() => TheEditorComponent),
|
|
16346
|
+
multi: true
|
|
16347
|
+
}
|
|
16348
|
+
], viewQueries: [{ propertyName: "templateInstance", first: true, predicate: ["templateInstance"], descendants: true, static: true }, { propertyName: "theEditableContainer", first: true, predicate: ["theEditableContainer"], descendants: true, read: ElementRef, static: true }, { propertyName: "globalToolbarInstance", first: true, predicate: ["globalToolbar"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<the-toolbar\n *ngIf=\"!theOptions?.readonly && !theGlobalToolbar\"\n [ngClass]=\"{\n 'the-toolbar-disabled': theOptions?.disabled\n }\"\n #globalToolbar\n [editor]=\"editor\"\n [toolbarItems]=\"toolbarEntity.global\"\n [containerClass]=\"globalToolbarClass\"\n [align]=\"theOptions?.toolbar?.align\"\n></the-toolbar>\n\n<div\n #theEditableContainer\n class=\"the-editable-container\"\n thyImageGroup\n [ngClass]=\"{\n 'the-editor-disabled': theOptions?.disabled,\n 'max-height': maxHeight\n }\"\n [ngStyle]=\"{ 'max-height': maxHeight }\"\n>\n <slate-editable\n class=\"the-editor-typo\"\n [editor]=\"editor\"\n [ngModel]=\"editorValue\"\n (ngModelChange)=\"valueChange($event)\"\n [decorate]=\"decorate\"\n [placeholder]=\"theOptions?.placeholder\"\n [placeholderDecorate]=\"theOptions?.placeholderDecorate ? theOptions?.placeholderDecorate : null\"\n [renderElement]=\"renderElement\"\n [renderText]=\"renderText\"\n [renderLeaf]=\"renderLeaf\"\n [readonly]=\"theOptions?.readonly || theOptions?.disabled\"\n [keydown]=\"onKeyDown\"\n [click]=\"onClick\"\n [paste]=\"onSlaPaste\"\n [beforeInput]=\"onSlaBeforeInput\"\n [blur]=\"onSlaBlur\"\n [focus]=\"onSlaFocus\"\n [copy]=\"onSlaCopy\"\n [cut]=\"onSlaCut\"\n [isStrictDecorate]=\"false\"\n [compositionStart]=\"onSlaCompositionStart\"\n [compositionEnd]=\"onSlaCompositionEnd\"\n [dragStart]=\"onSlaDragStart\"\n [dragOver]=\"onSlaDragOver\"\n [drop]=\"onDrop\"\n (mousedown)=\"mousedown($event)\"\n [scrollSelectionIntoView]=\"scrollSelectionIntoView\"\n ></slate-editable>\n <the-inline-toolbar\n *ngIf=\"!theOptions?.readonly && theOptions?.inlineToolbarVisible\"\n [editor]=\"editor\"\n [toolbarItems]=\"toolbarEntity.inline\"\n ></the-inline-toolbar>\n <div *ngIf=\"!theOptions?.readonly\" theQuickInsert [editor]=\"editor\" [isVisible]=\"visibleQuickInsertPlus\"></div>\n <the-template #templateInstance></the-template>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i1.SlateEditableComponent, selector: "slate-editable", inputs: ["editor", "renderElement", "renderLeaf", "renderText", "decorate", "placeholderDecorate", "scrollSelectionIntoView", "isStrictDecorate", "trackBy", "readonly", "placeholder", "beforeInput", "blur", "click", "compositionEnd", "compositionUpdate", "compositionStart", "copy", "cut", "dragOver", "dragStart", "dragEnd", "drop", "focus", "keydown", "paste", "spellCheck", "autoCorrect", "autoCapitalize"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$1.ThyImageGroupComponent, selector: "thy-image-group, [thyImageGroup]" }, { kind: "component", type: TheToolbarComponent, selector: "the-toolbar", inputs: ["editor", "toolbarItems", "align", "containerClass", "isMore", "afterTemplate"] }, { kind: "component", type: TheInlineToolbarComponent, selector: "the-inline-toolbar", inputs: ["editor", "toolbarItems"] }, { kind: "component", type: TheQuickInsertComponent, selector: "[theQuickInsert]", inputs: ["editor", "isVisible"] }, { kind: "component", type: TheTemplateComponent, selector: "the-template,[theTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
16349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheEditorComponent, decorators: [{
|
|
16367
16350
|
type: Component,
|
|
16368
16351
|
args: [{ selector: 'the-editor, theEditor', providers: [
|
|
16369
16352
|
TheContextService,
|
|
@@ -16408,11 +16391,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImpor
|
|
|
16408
16391
|
const ENTRY_COMMON_COMPONENTS = [TheColumnResizeOverlayHandleComponent];
|
|
16409
16392
|
const DIRECTIVES = [TheColumnResizeDirective];
|
|
16410
16393
|
class TheColumnResizeCommonModule {
|
|
16411
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheColumnResizeCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
16412
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: TheColumnResizeCommonModule, declarations: [TheColumnResizeOverlayHandleComponent], exports: [TheColumnResizeOverlayHandleComponent] }); }
|
|
16413
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheColumnResizeCommonModule }); }
|
|
16414
16394
|
}
|
|
16415
|
-
i0.ɵɵ
|
|
16395
|
+
TheColumnResizeCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheColumnResizeCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16396
|
+
TheColumnResizeCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TheColumnResizeCommonModule, declarations: [TheColumnResizeOverlayHandleComponent], exports: [TheColumnResizeOverlayHandleComponent] });
|
|
16397
|
+
TheColumnResizeCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheColumnResizeCommonModule });
|
|
16398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheColumnResizeCommonModule, decorators: [{
|
|
16416
16399
|
type: NgModule,
|
|
16417
16400
|
args: [{
|
|
16418
16401
|
declarations: ENTRY_COMMON_COMPONENTS,
|
|
@@ -16420,11 +16403,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImpor
|
|
|
16420
16403
|
}]
|
|
16421
16404
|
}] });
|
|
16422
16405
|
class TheColumnSizeModule {
|
|
16423
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheColumnSizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
16424
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: TheColumnSizeModule, declarations: [TheColumnResizeDirective], imports: [OverlayModule, TheColumnResizeCommonModule], exports: [TheColumnResizeDirective] }); }
|
|
16425
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheColumnSizeModule, imports: [OverlayModule, TheColumnResizeCommonModule] }); }
|
|
16426
16406
|
}
|
|
16427
|
-
i0.ɵɵ
|
|
16407
|
+
TheColumnSizeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheColumnSizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16408
|
+
TheColumnSizeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TheColumnSizeModule, declarations: [TheColumnResizeDirective], imports: [OverlayModule, TheColumnResizeCommonModule], exports: [TheColumnResizeDirective] });
|
|
16409
|
+
TheColumnSizeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheColumnSizeModule, imports: [OverlayModule, TheColumnResizeCommonModule] });
|
|
16410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheColumnSizeModule, decorators: [{
|
|
16428
16411
|
type: NgModule,
|
|
16429
16412
|
args: [{
|
|
16430
16413
|
imports: [OverlayModule, TheColumnResizeCommonModule],
|
|
@@ -16505,87 +16488,87 @@ const PLUGIN_COMPONENTS = [
|
|
|
16505
16488
|
];
|
|
16506
16489
|
const PIPES = [ElementStylePipe, ElementClassPipe, TableFreezeColumnPipe, TableFreezeRowPipe, PluginMenuPipe];
|
|
16507
16490
|
class TheEditorModule {
|
|
16508
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
16509
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: TheEditorModule, declarations: [TheEditorComponent, ElementStylePipe, ElementClassPipe, TableFreezeColumnPipe, TableFreezeRowPipe, PluginMenuPipe, TheToolbarComponent,
|
|
16510
|
-
TheToolbarDropdownComponent,
|
|
16511
|
-
TheToolbarGroupComponent,
|
|
16512
|
-
TheToolbarItemComponent,
|
|
16513
|
-
TheInlineToolbarComponent,
|
|
16514
|
-
TheTextComponent,
|
|
16515
|
-
TheDefaultElementComponent,
|
|
16516
|
-
TheQuickInsertComponent,
|
|
16517
|
-
ThePluginMenuComponent,
|
|
16518
|
-
TheColorToolbarItemComponent,
|
|
16519
|
-
TheContextMenuComponent,
|
|
16520
|
-
TheInsertMarkComponent,
|
|
16521
|
-
TheTableSelectComponent,
|
|
16522
|
-
TheTableToolbarItemComponent,
|
|
16523
|
-
TheConversionHintComponent,
|
|
16524
|
-
TheVerticalToolbarItemComponent,
|
|
16525
|
-
TheTableOptionsComponent,
|
|
16526
|
-
TheListboxOptionDirective,
|
|
16527
|
-
TheListboxGroupDirective,
|
|
16528
|
-
TheListboxDirective,
|
|
16529
|
-
ThePreventDefaultDirective, TheImageComponent,
|
|
16530
|
-
TheTemplateComponent,
|
|
16531
|
-
TheHrComponent,
|
|
16532
|
-
TheBlockquoteComponent,
|
|
16533
|
-
TheTodoItemComponent,
|
|
16534
|
-
TheListItemComponent,
|
|
16535
|
-
TheBulletedListComponent,
|
|
16536
|
-
TheNumberedListComponent,
|
|
16537
|
-
TheCodeComponent,
|
|
16538
|
-
TheLinkComponent,
|
|
16539
|
-
TheLinkEditComponent,
|
|
16540
|
-
TheLinkHoverComponent,
|
|
16541
|
-
TheTableToolbarComponent,
|
|
16542
|
-
TheTableComponent,
|
|
16543
|
-
TheTableRowComponent,
|
|
16544
|
-
TheTdComponent,
|
|
16545
|
-
TheInlineCodeComponent], imports: [CommonModule, ScrollingModule, SlateModule, FormsModule, ThyIconModule,
|
|
16546
|
-
ThyAvatarModule,
|
|
16547
|
-
ThyNavModule,
|
|
16548
|
-
ThyFormModule,
|
|
16549
|
-
ThySharedModule,
|
|
16550
|
-
ThyListModule,
|
|
16551
|
-
ThyTooltipModule,
|
|
16552
|
-
ThyProgressModule,
|
|
16553
|
-
ThyAutocompleteModule,
|
|
16554
|
-
ThyInputModule,
|
|
16555
|
-
ThySelectModule,
|
|
16556
|
-
ThyButtonModule,
|
|
16557
|
-
ThyNotifyModule,
|
|
16558
|
-
ThyAlertModule,
|
|
16559
|
-
ThyResizableModule,
|
|
16560
|
-
ThySwitchModule,
|
|
16561
|
-
ThyImageModule,
|
|
16562
|
-
ThyDialogModule,
|
|
16563
|
-
ThyActionModule,
|
|
16564
|
-
ThyDividerModule,
|
|
16565
|
-
ThyDropdownModule,
|
|
16566
|
-
ThyMenuModule,
|
|
16567
|
-
ThyEmptyModule,
|
|
16568
|
-
ThyPopoverModule,
|
|
16569
|
-
ThyInputNumberModule,
|
|
16570
|
-
ThyColorPickerModule, CodemirrorModule, TheColumnSizeModule], exports: [TheEditorComponent,
|
|
16571
|
-
TheToolbarComponent,
|
|
16572
|
-
TheToolbarDropdownComponent,
|
|
16573
|
-
TheToolbarItemComponent,
|
|
16574
|
-
TheDefaultElementComponent,
|
|
16575
|
-
ThePluginMenuComponent,
|
|
16576
|
-
TheListboxOptionDirective,
|
|
16577
|
-
TheListboxGroupDirective,
|
|
16578
|
-
TheListboxDirective,
|
|
16579
|
-
ThePreventDefaultDirective] }); }
|
|
16580
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheEditorModule, providers: [
|
|
16581
|
-
{
|
|
16582
|
-
provide: TheToolbarGroupToken,
|
|
16583
|
-
useValue: TheToolbarGroupComponent
|
|
16584
|
-
},
|
|
16585
|
-
THE_MODE_PROVIDER
|
|
16586
|
-
], imports: [CommonModule, ScrollingModule, SlateModule, FormsModule, TETHYS, CodemirrorModule, TheColumnSizeModule] }); }
|
|
16587
16491
|
}
|
|
16588
|
-
i0.ɵɵ
|
|
16492
|
+
TheEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16493
|
+
TheEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TheEditorModule, declarations: [TheEditorComponent, ElementStylePipe, ElementClassPipe, TableFreezeColumnPipe, TableFreezeRowPipe, PluginMenuPipe, TheToolbarComponent,
|
|
16494
|
+
TheToolbarDropdownComponent,
|
|
16495
|
+
TheToolbarGroupComponent,
|
|
16496
|
+
TheToolbarItemComponent,
|
|
16497
|
+
TheInlineToolbarComponent,
|
|
16498
|
+
TheTextComponent,
|
|
16499
|
+
TheDefaultElementComponent,
|
|
16500
|
+
TheQuickInsertComponent,
|
|
16501
|
+
ThePluginMenuComponent,
|
|
16502
|
+
TheColorToolbarItemComponent,
|
|
16503
|
+
TheContextMenuComponent,
|
|
16504
|
+
TheInsertMarkComponent,
|
|
16505
|
+
TheTableSelectComponent,
|
|
16506
|
+
TheTableToolbarItemComponent,
|
|
16507
|
+
TheConversionHintComponent,
|
|
16508
|
+
TheVerticalToolbarItemComponent,
|
|
16509
|
+
TheTableOptionsComponent,
|
|
16510
|
+
TheListboxOptionDirective,
|
|
16511
|
+
TheListboxGroupDirective,
|
|
16512
|
+
TheListboxDirective,
|
|
16513
|
+
ThePreventDefaultDirective, TheImageComponent,
|
|
16514
|
+
TheTemplateComponent,
|
|
16515
|
+
TheHrComponent,
|
|
16516
|
+
TheBlockquoteComponent,
|
|
16517
|
+
TheTodoItemComponent,
|
|
16518
|
+
TheListItemComponent,
|
|
16519
|
+
TheBulletedListComponent,
|
|
16520
|
+
TheNumberedListComponent,
|
|
16521
|
+
TheCodeComponent,
|
|
16522
|
+
TheLinkComponent,
|
|
16523
|
+
TheLinkEditComponent,
|
|
16524
|
+
TheLinkHoverComponent,
|
|
16525
|
+
TheTableToolbarComponent,
|
|
16526
|
+
TheTableComponent,
|
|
16527
|
+
TheTableRowComponent,
|
|
16528
|
+
TheTdComponent,
|
|
16529
|
+
TheInlineCodeComponent], imports: [CommonModule, ScrollingModule, SlateModule, FormsModule, ThyIconModule,
|
|
16530
|
+
ThyAvatarModule,
|
|
16531
|
+
ThyNavModule,
|
|
16532
|
+
ThyFormModule,
|
|
16533
|
+
ThySharedModule,
|
|
16534
|
+
ThyListModule,
|
|
16535
|
+
ThyTooltipModule,
|
|
16536
|
+
ThyProgressModule,
|
|
16537
|
+
ThyAutocompleteModule,
|
|
16538
|
+
ThyInputModule,
|
|
16539
|
+
ThySelectModule,
|
|
16540
|
+
ThyButtonModule,
|
|
16541
|
+
ThyNotifyModule,
|
|
16542
|
+
ThyAlertModule,
|
|
16543
|
+
ThyResizableModule,
|
|
16544
|
+
ThySwitchModule,
|
|
16545
|
+
ThyImageModule,
|
|
16546
|
+
ThyDialogModule,
|
|
16547
|
+
ThyActionModule,
|
|
16548
|
+
ThyDividerModule,
|
|
16549
|
+
ThyDropdownModule,
|
|
16550
|
+
ThyMenuModule,
|
|
16551
|
+
ThyEmptyModule,
|
|
16552
|
+
ThyPopoverModule,
|
|
16553
|
+
ThyInputNumberModule,
|
|
16554
|
+
ThyColorPickerModule, CodemirrorModule, TheColumnSizeModule], exports: [TheEditorComponent,
|
|
16555
|
+
TheToolbarComponent,
|
|
16556
|
+
TheToolbarDropdownComponent,
|
|
16557
|
+
TheToolbarItemComponent,
|
|
16558
|
+
TheDefaultElementComponent,
|
|
16559
|
+
ThePluginMenuComponent,
|
|
16560
|
+
TheListboxOptionDirective,
|
|
16561
|
+
TheListboxGroupDirective,
|
|
16562
|
+
TheListboxDirective,
|
|
16563
|
+
ThePreventDefaultDirective] });
|
|
16564
|
+
TheEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheEditorModule, providers: [
|
|
16565
|
+
{
|
|
16566
|
+
provide: TheToolbarGroupToken,
|
|
16567
|
+
useValue: TheToolbarGroupComponent
|
|
16568
|
+
},
|
|
16569
|
+
THE_MODE_PROVIDER
|
|
16570
|
+
], imports: [CommonModule, ScrollingModule, SlateModule, FormsModule, TETHYS, CodemirrorModule, TheColumnSizeModule] });
|
|
16571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheEditorModule, decorators: [{
|
|
16589
16572
|
type: NgModule,
|
|
16590
16573
|
args: [{
|
|
16591
16574
|
declarations: [TheEditorComponent, ...PIPES, ...COMPONENTS, ...PLUGIN_COMPONENTS],
|
|
@@ -16649,10 +16632,10 @@ class TheToolbarService {
|
|
|
16649
16632
|
return item;
|
|
16650
16633
|
});
|
|
16651
16634
|
}
|
|
16652
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheToolbarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
16653
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: TheToolbarService }); }
|
|
16654
16635
|
}
|
|
16655
|
-
i0.ɵɵ
|
|
16636
|
+
TheToolbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheToolbarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16637
|
+
TheToolbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheToolbarService });
|
|
16638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TheToolbarService, decorators: [{
|
|
16656
16639
|
type: Injectable
|
|
16657
16640
|
}] });
|
|
16658
16641
|
|