@globalpayments/vega 2.34.0 → 2.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-4e819773.js → app-globals-48582633.js} +2 -2
- package/dist/cjs/{content-state-3a2724f6.js → content-state-6a5b9736.js} +64 -294
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{text-color-toolbar-button-slimmer-b1c9f40e.js → text-color-toolbar-button-slimmer-21a166e4.js} +1 -1
- package/dist/cjs/{text-node-0d12da5a.js → text-node-494856f3.js} +0 -122
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-pagination.cjs.entry.js +5 -2
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +2 -2
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +629 -416
- package/dist/cjs/vega-table_8.cjs.entry.js +1 -1
- package/dist/cjs/vega.cjs.js +3 -3
- package/dist/collection/components/vega-pagination/vega-pagination.js +5 -2
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/bold-annotation.js +0 -10
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/code-annotation.js +0 -9
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.js +0 -44
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/image-annotation.js +0 -10
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/indent-annotation.js +0 -42
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/italic-annotation.js +0 -9
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-annotation.js +0 -14
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.js +0 -11
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-color-annotation.js +0 -26
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-annotation.js +0 -44
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/underline-annotation.js +0 -11
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +0 -18
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/image-block.js +0 -13
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-block.js +0 -19
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-item-block.js +0 -27
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/text-block.js +2 -14
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/image-node.js +0 -10
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/text-node.js +0 -32
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/block-to-rte-block-strategy.abstract.js +258 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/continue-inline-to-rte-text-block-strategy.js +71 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/element-to-dto-strategy-processor.js +70 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/element-to-dto-strategy.abstract.js +37 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/img-to-rte-image-block-strategy.js +55 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/inline-block-to-rte-text-block-strategy.js +85 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/li-to-rte-list-item-block-strategy.js +49 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/ol-to-rte-list-block-strategy.js +50 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/span-img-to-rte-image-block-strategy.js +60 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/ul-to-rte-list-block-strategy.js +50 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/vega-image-to-rte-image-block-strategy.js +56 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paste-handler.js +7 -3
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.css +3 -0
- package/dist/esm/{app-globals-9971ccfd.js → app-globals-48531a04.js} +2 -2
- package/dist/esm/{content-state-acf55eb0.js → content-state-4b036bf1.js} +65 -295
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{text-color-toolbar-button-slimmer-d0255b98.js → text-color-toolbar-button-slimmer-b2270b64.js} +1 -1
- package/dist/esm/{text-node-6f7d736c.js → text-node-a652ca87.js} +0 -122
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-pagination.entry.js +5 -2
- package/dist/esm/vega-rich-text-content.entry.js +2 -2
- package/dist/esm/vega-rich-text-editor_4.entry.js +630 -417
- package/dist/esm/vega-table_8.entry.js +1 -1
- package/dist/esm/vega.js +3 -3
- package/dist/types/components/vega-pagination/vega-pagination.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/bold-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/annotations/code-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.d.ts +0 -14
- package/dist/types/components/vega-rich-text-editor/dto/annotations/image-annotation.d.ts +0 -8
- package/dist/types/components/vega-rich-text-editor/dto/annotations/indent-annotation.d.ts +0 -14
- package/dist/types/components/vega-rich-text-editor/dto/annotations/italic-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/annotations/link-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-color-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-annotation.d.ts +0 -14
- package/dist/types/components/vega-rich-text-editor/dto/annotations/underline-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/blocks/block.abstract.d.ts +0 -8
- package/dist/types/components/vega-rich-text-editor/dto/blocks/image-block.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/dto/blocks/list-block.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/dto/blocks/list-item-block.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/dto/blocks/text-block.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/dto/nodes/image-node.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/dto/nodes/text-node.d.ts +0 -2
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/block-to-rte-block-strategy.abstract.d.ts +111 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/continue-inline-to-rte-text-block-strategy.d.ts +32 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/element-to-dto-strategy-processor.d.ts +19 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/element-to-dto-strategy.abstract.d.ts +32 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/img-to-rte-image-block-strategy.d.ts +31 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/inline-block-to-rte-text-block-strategy.d.ts +38 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/li-to-rte-list-item-block-strategy.d.ts +35 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/ol-to-rte-list-block-strategy.d.ts +36 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/span-img-to-rte-image-block-strategy.d.ts +31 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/ul-to-rte-list-block-strategy.d.ts +36 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/vega-image-to-rte-image-block-strategy.d.ts +31 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-d302f052.entry.js → p-0190095c.entry.js} +1 -1
- package/dist/vega/p-10393104.js +1 -0
- package/dist/vega/p-584dcd9b.js +1 -0
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-c1d97d12.entry.js → p-734ea281.entry.js} +1 -1
- package/dist/vega/{p-49f4a666.js → p-8836c1b9.js} +1 -1
- package/dist/vega/p-8f004647.entry.js +1 -0
- package/dist/vega/p-9e732a26.entry.js +1 -0
- package/dist/vega/{p-2fc3af2f.js → p-9f39dd10.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-handler.abstract.js +0 -135
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-processor.js +0 -74
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/image-to-dto-handler.js +0 -47
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/inline-block-to-dto-handler.js +0 -39
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/link-to-dto-handler.js +0 -50
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-item-to-dto-handler.js +0 -41
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-to-dto-handler.js +0 -57
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/paragraph-to-dto-handler.js +0 -56
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-block-to-dto-handler.js +0 -77
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-to-dto-handler.js +0 -44
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-handler.abstract.d.ts +0 -67
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-processor.d.ts +0 -29
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/image-to-dto-handler.d.ts +0 -37
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/inline-block-to-dto-handler.d.ts +0 -35
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/link-to-dto-handler.d.ts +0 -37
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-item-to-dto-handler.d.ts +0 -36
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-to-dto-handler.d.ts +0 -39
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/paragraph-to-dto-handler.d.ts +0 -39
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-block-to-dto-handler.d.ts +0 -46
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-to-dto-handler.d.ts +0 -37
- package/dist/vega/p-315667f1.js +0 -1
- package/dist/vega/p-728b029a.entry.js +0 -1
- package/dist/vega/p-b6af0fc1.entry.js +0 -1
- package/dist/vega/p-e43c2a27.js +0 -1
package/dist/vega/vega.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-9c1eeff2.js";import{g as i}from"./p-2fc3af2f.js";import"./p-acf7f903.js";import"./p-7a40e033.js";import"./p-112455b1.js";import"./p-452e284a.js";import"./p-3ce31dc3.js";import"./p-59bdf9b8.js";import"./p-1995e98e.js";import"./p-eac38d87.js";import"./p-262ec334.js";import"./p-70151c27.js";import"./p-4bcd6612.js";import"./p-74168615.js";import"./p-ed45b3b6.js";import"./p-f763e2eb.js";import"./p-a5ffe912.js";import"./p-443ad3b3.js";import"./p-8c26227e.js";import"./p-d057999f.js";import"./p-f357cf46.js";import"./p-11a19ca0.js";import"./p-5f377954.js";import"./p-65b79fd7.js";import"./p-e1e1fcf0.js";import"./p-d884c644.js";import"./p-74958b1a.js";import"./p-3a0a4d15.js";import"./p-315667f1.js";import"./p-b1f65b13.js";import"./p-86194314.js";import"./p-e43c2a27.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((e=>(i(),a(JSON.parse('[["p-b6af0fc1",[[1,"vega-pagination",{"current":[1538],"total":[2],"pageSize":[1026,"page-size"],"extensions":[16],"pageSizeSelectorOptions":[1040],"pageCount":[32]}]]],["p-2a7e9422",[[1,"vega-stepper",{"stepperId":[513,"id"],"max":[514],"min":[514],"value":[1538],"label":[1],"inputDisabled":[4,"input-disabled"],"disabled":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"buttonVariant":[1,"button-variant"]}]]],["p-d987e404",[[1,"vega-page-notification",{"notificationTitle":[1,"title"],"message":[1],"type":[1],"duration":[2],"showCloseButton":[4,"show-close-button"],"actionButtons":[16],"close":[64]}],[1,"vega-page-notification-list"]]],["p-d0351d71",[[1,"vega-color-picker",{"value":[1537],"hint":[1],"disabled":[516],"required":[516],"label":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"colors":[16],"isInline":[4,"is-inline"]}]]],["p-57405834",[[1,"vega-app-header-button",{"dropdown":[16],"size":[1],"label":[1],"showLabel":[4,"show-label"],"avatar":[16],"avatarPosition":[1,"avatar-position"],"showBorder":[4,"show-border"],"showMenuArrowIcon":[4,"show-menu-arrow-icon"],"selected":[4],"isDropdownShow":[32],"currentBreakpoint":[32]}]]],["p-6741e2b9",[[1,"vega-button-link",{"link":[1],"size":[1],"icon":[513],"iconType":[1,"icon-type"],"iconAlign":[1,"icon-align"],"label":[1025],"disabled":[4],"danger":[4],"eventful":[4],"target":[1]}]]],["p-d6732a72",[[1,"vega-chip",{"text":[1],"clickable":[4],"variant":[1],"size":[1],"bgColor":[1,"bg-color"],"textColor":[1,"text-color"],"statusColor":[1,"status-color"],"chipType":[1,"chip-type"],"showCloseIcon":[4,"show-close-icon"],"icon":[1],"iconAlign":[1,"icon-align"],"currentBreakpoint":[32],"currentSize":[32]}]]],["p-9d1b9e70",[[1,"vega-input-credit-card",{"required":[1540],"disabled":[516],"label":[1],"hint":[1],"size":[1],"placeholder":[1],"hideCardNumberOnBlur":[4,"hide-card-number-on-blur"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"isValid":[1540,"is-valid"],"value":[1537]}]]],["p-b9e2add4",[[1,"vega-item-toggle",{"itemToggleStatusMap":[16],"statusMap":[16],"isToggled":[1028,"is-toggled"],"toggleItemStatus":[32]}]]],["p-d400a1d9",[[1,"vega-progress-tracker",{"current":[2],"direction":[1],"steps":[16],"completedStepArray":[16],"completedSteps":[16],"canClickStep":[4,"can-click-step"],"nextStep":[64],"prevStep":[64],"setCurrent":[64],"getCurrent":[64]}]]],["p-e65c8ac7",[[1,"vega-checkbox",{"identifier":[1],"value":[1032],"checked":[1028],"disabled":[516],"size":[1],"required":[516],"isValid":[1540,"is-valid"],"groupDisabled":[32],"showError":[32],"setValue":[64]}],[1,"vega-checkbox-group",{"label":[1],"value":[1040],"vegaFlexProp":[16],"disabled":[516],"required":[516],"hint":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16]}]]],["p-6a084fe1",[[1,"vega-hint"]]],["p-109a00cf",[[1,"vega-button-group",{"variant":[1],"size":[1],"iconAlign":[1,"icon-align"]}],[1,"vega-button-group-item",{"icon":[1],"label":[1],"iconOnly":[4,"icon-only"],"itemKey":[1,"item-key"],"dropdownProps":[16],"dropdownSource":[16],"variant":[32],"size":[32],"iconAlign":[32]}]]],["p-034e6348",[[1,"vega-loading-indicator",{"shape":[1],"size":[1],"mode":[1],"percent":[2],"label":[1],"hint":[1],"status":[1],"currentBreakpoint":[32]}],[1,"vega-loader-wrapper"]]],["p-d35643c5",[[1,"vega-radio-group",{"label":[1],"value":[1537],"name":[1],"vegaFlexProp":[16],"required":[516],"hint":[1],"isValid":[1540,"is-valid"],"disabled":[516],"autoValidation":[516,"auto-validation"],"validationRules":[16]}],[1,"vega-radio",{"value":[1],"name":[1],"checked":[1028],"disabled":[4],"size":[1],"groupDisabled":[32],"showError":[32]}]]],["p-d302f052",[[1,"vega-table",{"columns":[16],"dataSource":[1040],"rowSelection":[1040],"rowExpandable":[4,"row-expandable"],"rowClickable":[4,"row-clickable"],"rowDivider":[4,"row-divider"],"columnDivider":[4,"column-divider"],"striped":[4],"density":[1],"paddingX":[16],"showHeader":[4,"show-header"],"pagination":[16],"emptyDescription":[1,"empty-description"],"rowKey":[1,"row-key"],"scrollConfig":[16],"sortConfig":[16],"selectedRowKeySet":[32],"expandedRowKeySet":[32],"currentBreakpoint":[32],"sortersMap":[32],"currentData":[32],"currentClickedRowKey":[32],"currentPage":[32],"pageSize":[32],"editingRows":[32],"isSelectedAll":[32],"isTemplateRenderMode":[32],"openExpandRow":[64],"closeExpandRow":[64],"closeAllExpandRow":[64],"toggleExpandRow":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[64],"startRowEditMode":[64],"stopRowEditMode":[64],"stopAllRowEditMode":[64],"getRowData":[64],"getRowsData":[64],"getFormRef":[64],"addNewRow":[64],"saveEditRow":[64],"saveAllEditRows":[64],"getEditingRowsKey":[64],"removeRow":[64]}],[1,"vega-table-body"],[1,"vega-table-cell",{"textAlign":[1,"text-align"],"breakpoint":[1],"overflow":[1],"width":[1],"currentBreakpoint":[32],"density":[32]}],[1,"vega-table-expand-row",{"rowKey":[1,"row-key"],"currentBreakpoint":[32],"withMultipleSelection":[32],"expanded":[32],"checked":[32],"colSpan":[32]}],[1,"vega-table-head",{"fixed":[32]}],[1,"vega-table-head-cell",{"breakpoint":[1],"sorter":[1],"sortOrder":[1025,"sort-order"],"textAlign":[1,"text-align"],"width":[1],"currentBreakpoint":[32],"density":[32]}],[1,"vega-table-head-row",{"selectAllDisabled":[4,"select-all-disabled"],"hideSelectAll":[4,"hide-select-all"],"currentBreakpoint":[32],"expandable":[32],"selectionType":[32],"paddingX":[32],"checkedAll":[32],"columnDivider":[32],"density":[32],"isEmptyTable":[32],"isTemplateRenderMode":[32]}],[1,"vega-table-row",{"rowKey":[1,"row-key"],"currentBreakpoint":[32],"clicked":[32],"expandable":[32],"clickable":[32],"paddingX":[32],"selectionType":[32],"checked":[32],"expanded":[32],"rowDivider":[32],"columnDivider":[32],"density":[32]}]]],["p-e89e9769",[[1,"vega-left-nav",{"open":[1028],"headerConfig":[16],"source":[16],"footnote":[1],"showAsOverlay":[4,"show-as-overlay"],"autoCollapseOnOverlay":[4,"auto-collapse-on-overlay"],"autoCollapseGroups":[4,"auto-collapse-groups"],"openState":[32],"toggle":[64]}],[1,"vega-left-nav-group",{"icon":[1],"label":[1],"autoCollapseGroups":[32]}],[1,"vega-left-nav-link",{"icon":[1],"selected":[1540],"url":[1],"counterBadge":[16]}],[1,"vega-left-nav-section",{"sectionHeader":[16]}],[1,"vega-nav-card",{"source":[16],"maxHeight":[520,"max-height"],"currentMaxHeight":[32]}]]],["p-728b029a",[[1,"vega-rich-text-editor",{"label":[1],"required":[516],"placeholder":[1],"disabled":[4],"hint":[1],"rows":[2],"value":[1040],"toolbarItems":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"richTextContentEditable":[32],"selectionMap":[32],"isInDarkMode":[32]}],[1,"vega-rich-text-editor-toolbar-button",{"disabled":[4],"selected":[4],"showArrowIcon":[4,"show-arrow-icon"],"icon":[1],"iconColor":[1,"icon-color"]}],[1,"vega-rich-text-image-editor",{"alt":[513],"size":[513],"currentPage":[32],"selected":[32]}],[1,"vega-rich-text-link-editor",{"status":[1025],"record":[16],"resetStatusAfterHide":[4,"reset-status-after-hide"],"target":[16],"show":[64]}]]],["p-76fc408e",[[1,"vega-calendar",{"viewMode":[1025,"view-mode"],"events":[16],"timeFormat":[1,"time-format"],"moreActionDropdownProps":[16],"showEventColorBar":[4,"show-event-color-bar"],"showWeekends":[4,"show-weekends"],"calendarView":[32],"currentPeriod":[32],"showAllEventsInDayOrWeekView":[32],"calendarEvents":[32]}],[1,"vega-calendar-event",{"calendarEvent":[16],"timeFormat":[32],"slotMode":[32],"showColorBar":[32]}],[1,"vega-calendar-event-slot",{"eventKey":[513,"event-key"]}]]],["p-22563151",[[1,"vega-popover",{"size":[8],"placement":[1],"alignment":[1],"positionRelativeTo":[1,"position-relative-to"],"trigger":[1],"showArrow":[4,"show-arrow"],"isPopoverShow":[32],"show":[64],"hide":[64]}],[1,"vega-popover-content-box",{"showArrow":[4,"show-arrow"]}]]],["p-c0d6a587",[[1,"vega-segment-control",{"block":[4],"size":[1],"segments":[16],"selected":[1025],"variant":[1],"isOverflowBlockSegments":[32]}]]],["p-80ccd894",[[1,"vega-text",{"overflow":[1],"tooltip":[16]}]]],["p-55beac7f",[[1,"vega-textarea",{"placeholder":[1],"hint":[1],"disabled":[516],"label":[1],"showCounter":[4,"show-counter"],"value":[1537],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"required":[1540],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"resizable":[4],"validationRules":[16],"currentCharCount":[32]},[[0,"input","handleValueTextarea"]]]]],["p-94de7a02",[[1,"vega-toggle-switch",{"checked":[1540],"value":[1540],"size":[1],"label":[1],"required":[516],"disabled":[516],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"]}]]],["p-b3f9cc3a",[[1,"vega-date-picker",{"mode":[1],"value":[1537],"label":[1],"required":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"format":[1],"size":[1],"validationRules":[16],"minDate":[1537,"min-date"],"maxDate":[1537,"max-date"],"placeholder":[1],"clearButton":[4,"clear-button"],"readOnly":[4,"read-only"],"allowRepick":[4,"allow-repick"],"dropdownConfig":[16],"showClearIcon":[4,"show-clear-icon"],"disabled":[516],"doClose":[64],"doOpen":[64]}],[1,"vega-date-picker-calendar"]]],["p-23795da1",[[1,"vega-selection-chip",{"label":[1],"size":[1],"variant":[1],"disabled":[1028],"checked":[1540],"block":[4],"disabledTooltip":[16],"swatchColor":[1,"swatch-color"],"value":[1],"showError":[32],"currentBreakpoint":[32],"selectType":[32]}],[1,"vega-selection-chip-group",{"label":[1],"hint":[1],"selectType":[1,"select-type"],"value":[1025],"required":[4],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-3897bb2d",[[1,"vega-selection-tile",{"titleText":[1,"title"],"note":[1],"prefixIcon":[1,"prefix-icon"],"disabled":[1028],"checked":[1028],"selectType":[1025,"select-type"],"value":[1],"showError":[32]}],[1,"vega-selection-tile-group",{"label":[1],"hint":[1],"selectType":[1,"select-type"],"value":[1025],"layout":[1],"required":[4],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-1564cc4d",[[1,"vega-tab-group",{"selectedTabDataTarget":[1025,"selected-tab-data-target"],"gap":[1],"showCloseButton":[4,"show-close-button"],"tabItems":[1040],"positionRelativeTo":[1,"position-relative-to"],"variant":[1],"tabPages":[32],"tabWidthArray":[32],"currentPageIndex":[32]}],[1,"vega-tab-group-panel",{"isActive":[4,"is-active"]}]]],["p-19b26168",[[1,"vega-time-picker",{"label":[1],"mode":[1],"required":[516],"placeholder":[1],"increments":[2],"timeFormat":[513,"time-format"],"value":[1537],"size":[1],"disabled":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"positionRelativeTo":[1,"position-relative-to"],"dropdownSource":[32],"isDropdownShow":[32],"selectedTimeValue":[32]}],[1,"vega-time-picker-dropdown"]]],["p-2ca6d977",[[1,"vega-accordion",{"drawsBackground":[4,"draws-background"],"prefixIcon":[1,"prefix-icon"],"accordionTitle":[1,"accordion-title"],"expandIconAlign":[1,"expand-icon-align"],"expand":[1028],"iconPosition":[1,"icon-position"],"showExpandIcon":[4,"show-expand-icon"],"groupId":[1,"group-id"]}]]],["p-2e419309",[[1,"vega-app-footer",{"content":[1],"termOfUseLabel":[1,"term-of-use-label"],"termOfUseUrl":[1,"term-of-use-url"],"termOfUseUrlTarget":[1,"term-of-use-url-target"],"privacyPolicyLabel":[1,"privacy-policy-label"],"privacyPolicyUrl":[1,"privacy-policy-url"],"privacyPolicyUrlTarget":[1,"privacy-policy-url-target"],"hideDefaultLinks":[4,"hide-default-links"],"additionalLinks":[16],"showDisclaimer":[4,"show-disclaimer"],"disclaimerUrlTarget":[1,"disclaimer-url-target"]}]]],["p-afec17ad",[[1,"vega-banner",{"type":[1],"bannerTitle":[1,"banner-title"],"content":[1],"actionButtons":[16],"showCloseButton":[4,"show-close-button"],"isOpen":[4,"is-open"],"doClose":[64]}]]],["p-92f88033",[[1,"vega-bar-chart",{"options":[16]}]]],["p-c26e6820",[[1,"vega-breadcrumb",{"maxItems":[8,"max-items"],"items":[16]}]]],["p-6b286226",[[1,"vega-card",{"padding":[1],"margin":[1],"variant":[1],"backgroundColor":[1,"background-color"]}]]],["p-a6169ad6",[[1,"vega-combo-box",{"label":[1],"required":[516],"source":[1040],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"disabled":[516],"placeholder":[1],"hint":[1],"size":[1],"vegaDropdownProps":[16],"useDefaultFilter":[4,"use-default-filter"],"close":[64],"open":[64]}]]],["p-bd894860",[[1,"vega-counter-badge",{"dot":[4],"color":[1],"count":[2],"offset":[16]}]]],["p-8b78c6a3",[[1,"vega-divider",{"direction":[1],"variant":[1],"margin":[1],"currentBreakpoint":[32]}]]],["p-589e6041",[[1,"vega-field-error",{"message":[1]}]]],["p-d9b86108",[[1,"vega-file-uploader",{"label":[1],"variant":[1],"hint":[1],"value":[1040],"disabled":[4],"required":[4],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"],"accept":[1]}]]],["p-62cea2e7",[[1,"vega-image-uploader",{"value":[1040],"accept":[1],"status":[1537],"showPreviewButton":[4,"show-preview-button"],"showRemoveButton":[4,"show-remove-button"],"showReplaceButton":[4,"show-replace-button"],"disabled":[516],"required":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"label":[1],"hint":[1],"actionTitle":[1,"action-title"],"actionSubTitle":[1,"action-sub-title"],"width":[8],"height":[8],"getContentURL":[64]}]]],["p-29277e41",[[1,"vega-input-numeric",{"prefixText":[1,"prefix-text"],"suffixText":[1,"suffix-text"],"prefixIcon":[1,"prefix-icon"],"value":[1025],"size":[1],"placeholder":[1],"thousandComma":[4,"thousand-comma"],"integerOnly":[4,"integer-only"],"disabled":[4],"minorIncrement":[2,"minor-increment"],"majorIncrement":[2,"major-increment"],"label":[1],"hint":[1],"required":[4],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"isCompactInputWidth":[32]}]]],["p-b693c1ac",[[1,"vega-input-phone-number",{"label":[1],"size":[1],"required":[1540],"disabled":[516],"countryCode":[1537,"country-code"],"allowedCountryCodes":[16],"value":[1537],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"placeholder":[1],"hint":[1],"phoneNumberInputValue":[32]}]]],["p-e27e115d",[[1,"vega-input-range",{"label":[1],"value":[1040],"prefixIcon":[513,"prefix-icon"],"showClearIcon":[4,"show-clear-icon"],"min":[514],"max":[514],"required":[1540],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[16],"disabled":[516],"hint":[1],"stack":[1]}]]],["p-f5b2e72a",[[1,"vega-line-chart",{"options":[16],"reRender":[64]}]]],["p-c532b132",[[1,"vega-pie-chart",{"options":[16],"reRender":[64]}]]],["p-c1d97d12",[[1,"vega-rich-text-content",{"content":[16],"placeholder":[32],"contentEditable":[32],"vegaFocus":[64]}]]],["p-5eee21b4",[[1,"vega-section-title",{"titleText":[1,"title"],"description":[1],"icon":[1],"iconAlign":[1,"icon-align"]}]]],["p-d720b06a",[[1,"vega-signature-capture",{"mode":[1],"label":[1],"required":[516],"showClearBtn":[4,"show-clear-btn"],"placeholder":[1],"placeholderIcon":[1,"placeholder-icon"],"disabled":[4],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"height":[8],"currentBreakpoint":[32],"isDrawing":[32],"clear":[64]}]]],["p-9968e71d",[[1,"vega-skeleton",{"type":[513],"width":[8],"height":[8],"animated":[4]}]]],["p-6b722905",[[1,"vega-slot-container"]]],["p-8d7b45f7",[[1,"vega-dialog",{"dialogTitle":[1,"dialog-title"],"content":[1],"type":[1],"okButton":[16],"handleOk":[16],"cancelButton":[16],"handleCancel":[16],"showCancel":[4,"show-cancel"],"modalProps":[16],"currentBreakpoint":[32]}],[1,"vega-modal",{"backdrop":[1],"size":[8],"open":[1028],"animation":[4],"modalTitle":[1,"modal-title"],"backdropColor":[1,"backdrop-color"],"isVerticallyCenter":[4,"is-vertically-center"],"isVerticallyCentered":[4,"is-vertically-centered"],"showCloseButton":[4,"show-close-button"],"padding":[1],"contentMaxHeight":[2,"content-max-height"],"handleClose":[16],"currentBreakpoint":[32],"modal":[64]},[[10,"click","listenDataTarget"],[0,"click","listenDataDismiss"]]]]],["p-ecd64c7f",[[1,"vega-carousel",{"perPage":[2,"per-page"],"itemsPerPage":[2,"items-per-page"],"showSlider":[4,"show-slider"],"spacing":[1],"canSwipe":[4,"can-swipe"],"page":[32],"totalPages":[32],"nextPage":[64],"prevPage":[64],"goToPage":[64]}]]],["p-7a9f453e",[[1,"vega-dropdown-content-box"],[1,"vega-dropdown-group",{"label":[1],"divide":[4]}],[1,"vega-dropdown-item",{"label":[1],"itemKey":[513,"item-key"],"count":[2],"prefixIcon":[1,"prefix-icon"],"disabled":[4],"height":[2],"danger":[4],"selectType":[32],"prefixIconSlot":[32],"selected":[32],"itemDisplayRule":[32]}],[1,"vega-virtual-scroll",{"source":[16],"approxItemHeight":[2,"approx-item-height"],"viewportMaxHeight":[2,"viewport-max-height"],"isLoading":[4,"is-loading"],"virtualizationThreshold":[2,"virtualization-threshold"],"sourceItemIdentifier":[1,"source-item-identifier"],"renderItem":[16],"positionConfig":[32],"scrollTop":[32],"scrollToIndex":[64]}],[1,"vega-dropdown",{"size":[8],"trigger":[1],"translocation":[16],"source":[1040],"positionRelativeTo":[1,"position-relative-to"],"selectType":[1,"select-type"],"selectedSourceKey":[1025,"selected-source-key"],"prefixIconSlot":[4,"prefix-icon-slot"],"maxHeight":[2,"max-height"],"searchable":[4],"matchTargetWidth":[4,"match-target-width"],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"itemDisplayRule":[1,"item-display-rule"],"matchContainerHeight":[4,"match-container-height"],"caseSensitive":[4,"case-sensitive"],"dynamicOption":[4,"dynamic-option"],"useDefaultFilter":[4,"use-default-filter"],"isLoading":[4,"is-loading"],"placement":[1],"alignment":[1],"isLazyLoading":[4,"is-lazy-loading"],"searchTriggerBy":[1,"search-trigger-by"],"searchString":[32],"isDropdownShow":[32],"sourceForRender":[32],"show":[64],"hide":[64],"search":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[64]}]]],["p-390c5236",[[1,"vega-font",{"variant":[1],"color":[1],"disableResponsive":[4,"disable-responsive"],"textAlign":[1,"text-align"],"as":[1],"currentBreakpoint":[32]}]]],["p-cfdc148a",[[1,"vega-form",{"isValid":[1028,"is-valid"],"isTouched":[1028,"is-touched"],"valid":[64],"getValue":[64],"setValue":[64],"reset":[64]}]]],["p-84c597c8",[[1,"vega-input-select",{"label":[1],"required":[516],"selectedLabel":[16],"selectType":[1,"select-type"],"source":[1040],"value":[1537],"isValid":[1540,"is-valid"],"autoValidation":[4,"auto-validation"],"validationRules":[16],"prefixIcon":[1,"prefix-icon"],"disabled":[516],"placeholder":[1],"hint":[1],"vegaDropdownProps":[16],"size":[1],"sourceLazyLoadCallback":[16],"isDropdownShow":[32],"currentBreakpoint":[32],"isLazyLoading":[32],"doClose":[64],"doOpen":[64],"doChange":[64]}]]],["p-21992602",[[1,"vega-sidenav",{"source":[16],"footnote":[1],"headerConfig":[16],"openByDefault":[1,"open-by-default"],"openState":[32],"toggle":[64]},[[10,"click","collapseSidenavByBackDropClick"]]],[1,"vega-sidenav-group",{"icon":[1],"label":[1],"openState":[32]}],[1,"vega-sidenav-link",{"icon":[1],"selected":[1540],"url":[1],"showSideBarOnClickLink":[4,"show-side-bar-on-click-link"],"openState":[32]}]]],["p-8be45a45",[[1,"vega-button",{"size":[1],"variant":[1],"icon":[1],"iconAlign":[1,"icon-align"],"label":[1025],"disabled":[4],"danger":[4],"block":[4],"type":[1],"loading":[4],"currentBreakpoint":[32]}]]],["p-18886765",[[1,"vega-backdrop",{"color":[1],"visible":[4],"duration":[2]}]]],["p-d2ab6096",[[1,"vega-box",{"padding":[1],"margin":[1],"display":[1],"border":[1],"borderStyle":[1,"border-style"],"shadow":[1],"borderColor":[1,"border-color"],"backgroundColor":[1,"background-color"],"width":[8],"height":[8],"minHeight":[8,"min-height"],"maxHeight":[8,"max-height"],"responsiveClass":[1,"responsive-class"],"corners":[1],"flexBasis":[1,"flex-basis"],"flexGrow":[8,"flex-grow"],"flexShrink":[8,"flex-shrink"],"order":[8],"flex":[8],"alignSelf":[1,"align-self"],"justifySelf":[1,"justify-self"],"gridColumn":[8,"grid-column"],"gridRow":[8,"grid-row"],"gridArea":[8,"grid-area"],"currentBreakpoint":[32]}]]],["p-8e17b9dd",[[1,"vega-grid",{"column":[8],"row":[8],"gap":[1]}]]],["p-cebf93f1",[[1,"vega-tooltip-content-box",{"text":[1]}],[1,"vega-tooltip",{"size":[8],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"trigger":[1],"content":[1],"text":[1],"placement":[1],"alignment":[1],"positionRelativeTo":[1,"position-relative-to"],"disableInteractive":[4,"disable-interactive"],"isTooltipShow":[32]}]]],["p-5e95402a",[[1,"vega-icon",{"icon":[513],"size":[1],"color":[1]}]]],["p-34939c97",[[1,"vega-button-circle",{"size":[1],"variant":[1],"icon":[513],"label":[1],"disabled":[4],"danger":[4],"type":[1],"iconColor":[1,"icon-color"],"showTooltip":[4,"show-tooltip"],"tooltip":[16]}]]],["p-6e4b2752",[[1,"vega-field-label",{"suffixButtonProps":[16],"label":[1025],"isFieldRequired":[4,"is-field-required"],"disabled":[4]}]]],["p-c34487e1",[[1,"vega-input",{"label":[1],"labelSuffixButtonProps":[16],"value":[1537],"valueUpdateTrigger":[1,"value-update-trigger"],"type":[513],"name":[1],"autocomplete":[1],"prefixIcon":[513,"prefix-icon"],"email":[516],"required":[1540],"min":[514],"max":[514],"minLength":[514,"min-length"],"maxLength":[514,"max-length"],"showClearIcon":[4,"show-clear-icon"],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[1],"disabled":[516],"hint":[1],"maskConfig":[16],"disableCopyPaste":[4,"disable-copy-paste"],"prefixText":[32],"suffixText":[32],"isCompactInputWidth":[32],"doFocus":[64],"doBlur":[64]}]]],["p-0cd2b50f",[[1,"vega-flex",{"gap":[1],"margin":[1],"breakpoint":[1],"direction":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"],"flexWrap":[1,"flex-wrap"],"flex":[8],"flexBasis":[1,"flex-basis"],"flexGrow":[8,"flex-grow"],"flexShrink":[8,"flex-shrink"],"useNativeFlex":[4,"use-native-flex"],"currentBreakpoint":[32]}]]]]'),e))));
|
|
1
|
+
import{p as e,b as a}from"./p-9c1eeff2.js";import{g as i}from"./p-9f39dd10.js";import"./p-acf7f903.js";import"./p-7a40e033.js";import"./p-112455b1.js";import"./p-452e284a.js";import"./p-3ce31dc3.js";import"./p-59bdf9b8.js";import"./p-1995e98e.js";import"./p-eac38d87.js";import"./p-262ec334.js";import"./p-70151c27.js";import"./p-4bcd6612.js";import"./p-74168615.js";import"./p-ed45b3b6.js";import"./p-f763e2eb.js";import"./p-a5ffe912.js";import"./p-443ad3b3.js";import"./p-8c26227e.js";import"./p-d057999f.js";import"./p-f357cf46.js";import"./p-11a19ca0.js";import"./p-5f377954.js";import"./p-65b79fd7.js";import"./p-e1e1fcf0.js";import"./p-d884c644.js";import"./p-74958b1a.js";import"./p-3a0a4d15.js";import"./p-584dcd9b.js";import"./p-b1f65b13.js";import"./p-86194314.js";import"./p-10393104.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((e=>(i(),a(JSON.parse('[["p-9e732a26",[[1,"vega-pagination",{"current":[1538],"total":[2],"pageSize":[1026,"page-size"],"extensions":[16],"pageSizeSelectorOptions":[1040],"pageCount":[32]}]]],["p-2a7e9422",[[1,"vega-stepper",{"stepperId":[513,"id"],"max":[514],"min":[514],"value":[1538],"label":[1],"inputDisabled":[4,"input-disabled"],"disabled":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"buttonVariant":[1,"button-variant"]}]]],["p-d987e404",[[1,"vega-page-notification",{"notificationTitle":[1,"title"],"message":[1],"type":[1],"duration":[2],"showCloseButton":[4,"show-close-button"],"actionButtons":[16],"close":[64]}],[1,"vega-page-notification-list"]]],["p-d0351d71",[[1,"vega-color-picker",{"value":[1537],"hint":[1],"disabled":[516],"required":[516],"label":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"colors":[16],"isInline":[4,"is-inline"]}]]],["p-57405834",[[1,"vega-app-header-button",{"dropdown":[16],"size":[1],"label":[1],"showLabel":[4,"show-label"],"avatar":[16],"avatarPosition":[1,"avatar-position"],"showBorder":[4,"show-border"],"showMenuArrowIcon":[4,"show-menu-arrow-icon"],"selected":[4],"isDropdownShow":[32],"currentBreakpoint":[32]}]]],["p-6741e2b9",[[1,"vega-button-link",{"link":[1],"size":[1],"icon":[513],"iconType":[1,"icon-type"],"iconAlign":[1,"icon-align"],"label":[1025],"disabled":[4],"danger":[4],"eventful":[4],"target":[1]}]]],["p-d6732a72",[[1,"vega-chip",{"text":[1],"clickable":[4],"variant":[1],"size":[1],"bgColor":[1,"bg-color"],"textColor":[1,"text-color"],"statusColor":[1,"status-color"],"chipType":[1,"chip-type"],"showCloseIcon":[4,"show-close-icon"],"icon":[1],"iconAlign":[1,"icon-align"],"currentBreakpoint":[32],"currentSize":[32]}]]],["p-9d1b9e70",[[1,"vega-input-credit-card",{"required":[1540],"disabled":[516],"label":[1],"hint":[1],"size":[1],"placeholder":[1],"hideCardNumberOnBlur":[4,"hide-card-number-on-blur"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"isValid":[1540,"is-valid"],"value":[1537]}]]],["p-b9e2add4",[[1,"vega-item-toggle",{"itemToggleStatusMap":[16],"statusMap":[16],"isToggled":[1028,"is-toggled"],"toggleItemStatus":[32]}]]],["p-d400a1d9",[[1,"vega-progress-tracker",{"current":[2],"direction":[1],"steps":[16],"completedStepArray":[16],"completedSteps":[16],"canClickStep":[4,"can-click-step"],"nextStep":[64],"prevStep":[64],"setCurrent":[64],"getCurrent":[64]}]]],["p-e65c8ac7",[[1,"vega-checkbox",{"identifier":[1],"value":[1032],"checked":[1028],"disabled":[516],"size":[1],"required":[516],"isValid":[1540,"is-valid"],"groupDisabled":[32],"showError":[32],"setValue":[64]}],[1,"vega-checkbox-group",{"label":[1],"value":[1040],"vegaFlexProp":[16],"disabled":[516],"required":[516],"hint":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16]}]]],["p-6a084fe1",[[1,"vega-hint"]]],["p-109a00cf",[[1,"vega-button-group",{"variant":[1],"size":[1],"iconAlign":[1,"icon-align"]}],[1,"vega-button-group-item",{"icon":[1],"label":[1],"iconOnly":[4,"icon-only"],"itemKey":[1,"item-key"],"dropdownProps":[16],"dropdownSource":[16],"variant":[32],"size":[32],"iconAlign":[32]}]]],["p-034e6348",[[1,"vega-loading-indicator",{"shape":[1],"size":[1],"mode":[1],"percent":[2],"label":[1],"hint":[1],"status":[1],"currentBreakpoint":[32]}],[1,"vega-loader-wrapper"]]],["p-d35643c5",[[1,"vega-radio-group",{"label":[1],"value":[1537],"name":[1],"vegaFlexProp":[16],"required":[516],"hint":[1],"isValid":[1540,"is-valid"],"disabled":[516],"autoValidation":[516,"auto-validation"],"validationRules":[16]}],[1,"vega-radio",{"value":[1],"name":[1],"checked":[1028],"disabled":[4],"size":[1],"groupDisabled":[32],"showError":[32]}]]],["p-0190095c",[[1,"vega-table",{"columns":[16],"dataSource":[1040],"rowSelection":[1040],"rowExpandable":[4,"row-expandable"],"rowClickable":[4,"row-clickable"],"rowDivider":[4,"row-divider"],"columnDivider":[4,"column-divider"],"striped":[4],"density":[1],"paddingX":[16],"showHeader":[4,"show-header"],"pagination":[16],"emptyDescription":[1,"empty-description"],"rowKey":[1,"row-key"],"scrollConfig":[16],"sortConfig":[16],"selectedRowKeySet":[32],"expandedRowKeySet":[32],"currentBreakpoint":[32],"sortersMap":[32],"currentData":[32],"currentClickedRowKey":[32],"currentPage":[32],"pageSize":[32],"editingRows":[32],"isSelectedAll":[32],"isTemplateRenderMode":[32],"openExpandRow":[64],"closeExpandRow":[64],"closeAllExpandRow":[64],"toggleExpandRow":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[64],"startRowEditMode":[64],"stopRowEditMode":[64],"stopAllRowEditMode":[64],"getRowData":[64],"getRowsData":[64],"getFormRef":[64],"addNewRow":[64],"saveEditRow":[64],"saveAllEditRows":[64],"getEditingRowsKey":[64],"removeRow":[64]}],[1,"vega-table-body"],[1,"vega-table-cell",{"textAlign":[1,"text-align"],"breakpoint":[1],"overflow":[1],"width":[1],"currentBreakpoint":[32],"density":[32]}],[1,"vega-table-expand-row",{"rowKey":[1,"row-key"],"currentBreakpoint":[32],"withMultipleSelection":[32],"expanded":[32],"checked":[32],"colSpan":[32]}],[1,"vega-table-head",{"fixed":[32]}],[1,"vega-table-head-cell",{"breakpoint":[1],"sorter":[1],"sortOrder":[1025,"sort-order"],"textAlign":[1,"text-align"],"width":[1],"currentBreakpoint":[32],"density":[32]}],[1,"vega-table-head-row",{"selectAllDisabled":[4,"select-all-disabled"],"hideSelectAll":[4,"hide-select-all"],"currentBreakpoint":[32],"expandable":[32],"selectionType":[32],"paddingX":[32],"checkedAll":[32],"columnDivider":[32],"density":[32],"isEmptyTable":[32],"isTemplateRenderMode":[32]}],[1,"vega-table-row",{"rowKey":[1,"row-key"],"currentBreakpoint":[32],"clicked":[32],"expandable":[32],"clickable":[32],"paddingX":[32],"selectionType":[32],"checked":[32],"expanded":[32],"rowDivider":[32],"columnDivider":[32],"density":[32]}]]],["p-e89e9769",[[1,"vega-left-nav",{"open":[1028],"headerConfig":[16],"source":[16],"footnote":[1],"showAsOverlay":[4,"show-as-overlay"],"autoCollapseOnOverlay":[4,"auto-collapse-on-overlay"],"autoCollapseGroups":[4,"auto-collapse-groups"],"openState":[32],"toggle":[64]}],[1,"vega-left-nav-group",{"icon":[1],"label":[1],"autoCollapseGroups":[32]}],[1,"vega-left-nav-link",{"icon":[1],"selected":[1540],"url":[1],"counterBadge":[16]}],[1,"vega-left-nav-section",{"sectionHeader":[16]}],[1,"vega-nav-card",{"source":[16],"maxHeight":[520,"max-height"],"currentMaxHeight":[32]}]]],["p-8f004647",[[1,"vega-rich-text-editor",{"label":[1],"required":[516],"placeholder":[1],"disabled":[4],"hint":[1],"rows":[2],"value":[1040],"toolbarItems":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"richTextContentEditable":[32],"selectionMap":[32],"isInDarkMode":[32]}],[1,"vega-rich-text-editor-toolbar-button",{"disabled":[4],"selected":[4],"showArrowIcon":[4,"show-arrow-icon"],"icon":[1],"iconColor":[1,"icon-color"]}],[1,"vega-rich-text-image-editor",{"alt":[513],"size":[513],"currentPage":[32],"selected":[32]}],[1,"vega-rich-text-link-editor",{"status":[1025],"record":[16],"resetStatusAfterHide":[4,"reset-status-after-hide"],"target":[16],"show":[64]}]]],["p-76fc408e",[[1,"vega-calendar",{"viewMode":[1025,"view-mode"],"events":[16],"timeFormat":[1,"time-format"],"moreActionDropdownProps":[16],"showEventColorBar":[4,"show-event-color-bar"],"showWeekends":[4,"show-weekends"],"calendarView":[32],"currentPeriod":[32],"showAllEventsInDayOrWeekView":[32],"calendarEvents":[32]}],[1,"vega-calendar-event",{"calendarEvent":[16],"timeFormat":[32],"slotMode":[32],"showColorBar":[32]}],[1,"vega-calendar-event-slot",{"eventKey":[513,"event-key"]}]]],["p-22563151",[[1,"vega-popover",{"size":[8],"placement":[1],"alignment":[1],"positionRelativeTo":[1,"position-relative-to"],"trigger":[1],"showArrow":[4,"show-arrow"],"isPopoverShow":[32],"show":[64],"hide":[64]}],[1,"vega-popover-content-box",{"showArrow":[4,"show-arrow"]}]]],["p-c0d6a587",[[1,"vega-segment-control",{"block":[4],"size":[1],"segments":[16],"selected":[1025],"variant":[1],"isOverflowBlockSegments":[32]}]]],["p-80ccd894",[[1,"vega-text",{"overflow":[1],"tooltip":[16]}]]],["p-55beac7f",[[1,"vega-textarea",{"placeholder":[1],"hint":[1],"disabled":[516],"label":[1],"showCounter":[4,"show-counter"],"value":[1537],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"required":[1540],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"resizable":[4],"validationRules":[16],"currentCharCount":[32]},[[0,"input","handleValueTextarea"]]]]],["p-94de7a02",[[1,"vega-toggle-switch",{"checked":[1540],"value":[1540],"size":[1],"label":[1],"required":[516],"disabled":[516],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"]}]]],["p-b3f9cc3a",[[1,"vega-date-picker",{"mode":[1],"value":[1537],"label":[1],"required":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"format":[1],"size":[1],"validationRules":[16],"minDate":[1537,"min-date"],"maxDate":[1537,"max-date"],"placeholder":[1],"clearButton":[4,"clear-button"],"readOnly":[4,"read-only"],"allowRepick":[4,"allow-repick"],"dropdownConfig":[16],"showClearIcon":[4,"show-clear-icon"],"disabled":[516],"doClose":[64],"doOpen":[64]}],[1,"vega-date-picker-calendar"]]],["p-23795da1",[[1,"vega-selection-chip",{"label":[1],"size":[1],"variant":[1],"disabled":[1028],"checked":[1540],"block":[4],"disabledTooltip":[16],"swatchColor":[1,"swatch-color"],"value":[1],"showError":[32],"currentBreakpoint":[32],"selectType":[32]}],[1,"vega-selection-chip-group",{"label":[1],"hint":[1],"selectType":[1,"select-type"],"value":[1025],"required":[4],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-3897bb2d",[[1,"vega-selection-tile",{"titleText":[1,"title"],"note":[1],"prefixIcon":[1,"prefix-icon"],"disabled":[1028],"checked":[1028],"selectType":[1025,"select-type"],"value":[1],"showError":[32]}],[1,"vega-selection-tile-group",{"label":[1],"hint":[1],"selectType":[1,"select-type"],"value":[1025],"layout":[1],"required":[4],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-1564cc4d",[[1,"vega-tab-group",{"selectedTabDataTarget":[1025,"selected-tab-data-target"],"gap":[1],"showCloseButton":[4,"show-close-button"],"tabItems":[1040],"positionRelativeTo":[1,"position-relative-to"],"variant":[1],"tabPages":[32],"tabWidthArray":[32],"currentPageIndex":[32]}],[1,"vega-tab-group-panel",{"isActive":[4,"is-active"]}]]],["p-19b26168",[[1,"vega-time-picker",{"label":[1],"mode":[1],"required":[516],"placeholder":[1],"increments":[2],"timeFormat":[513,"time-format"],"value":[1537],"size":[1],"disabled":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"positionRelativeTo":[1,"position-relative-to"],"dropdownSource":[32],"isDropdownShow":[32],"selectedTimeValue":[32]}],[1,"vega-time-picker-dropdown"]]],["p-2ca6d977",[[1,"vega-accordion",{"drawsBackground":[4,"draws-background"],"prefixIcon":[1,"prefix-icon"],"accordionTitle":[1,"accordion-title"],"expandIconAlign":[1,"expand-icon-align"],"expand":[1028],"iconPosition":[1,"icon-position"],"showExpandIcon":[4,"show-expand-icon"],"groupId":[1,"group-id"]}]]],["p-2e419309",[[1,"vega-app-footer",{"content":[1],"termOfUseLabel":[1,"term-of-use-label"],"termOfUseUrl":[1,"term-of-use-url"],"termOfUseUrlTarget":[1,"term-of-use-url-target"],"privacyPolicyLabel":[1,"privacy-policy-label"],"privacyPolicyUrl":[1,"privacy-policy-url"],"privacyPolicyUrlTarget":[1,"privacy-policy-url-target"],"hideDefaultLinks":[4,"hide-default-links"],"additionalLinks":[16],"showDisclaimer":[4,"show-disclaimer"],"disclaimerUrlTarget":[1,"disclaimer-url-target"]}]]],["p-afec17ad",[[1,"vega-banner",{"type":[1],"bannerTitle":[1,"banner-title"],"content":[1],"actionButtons":[16],"showCloseButton":[4,"show-close-button"],"isOpen":[4,"is-open"],"doClose":[64]}]]],["p-92f88033",[[1,"vega-bar-chart",{"options":[16]}]]],["p-c26e6820",[[1,"vega-breadcrumb",{"maxItems":[8,"max-items"],"items":[16]}]]],["p-6b286226",[[1,"vega-card",{"padding":[1],"margin":[1],"variant":[1],"backgroundColor":[1,"background-color"]}]]],["p-a6169ad6",[[1,"vega-combo-box",{"label":[1],"required":[516],"source":[1040],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"disabled":[516],"placeholder":[1],"hint":[1],"size":[1],"vegaDropdownProps":[16],"useDefaultFilter":[4,"use-default-filter"],"close":[64],"open":[64]}]]],["p-bd894860",[[1,"vega-counter-badge",{"dot":[4],"color":[1],"count":[2],"offset":[16]}]]],["p-8b78c6a3",[[1,"vega-divider",{"direction":[1],"variant":[1],"margin":[1],"currentBreakpoint":[32]}]]],["p-589e6041",[[1,"vega-field-error",{"message":[1]}]]],["p-d9b86108",[[1,"vega-file-uploader",{"label":[1],"variant":[1],"hint":[1],"value":[1040],"disabled":[4],"required":[4],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"],"accept":[1]}]]],["p-62cea2e7",[[1,"vega-image-uploader",{"value":[1040],"accept":[1],"status":[1537],"showPreviewButton":[4,"show-preview-button"],"showRemoveButton":[4,"show-remove-button"],"showReplaceButton":[4,"show-replace-button"],"disabled":[516],"required":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"label":[1],"hint":[1],"actionTitle":[1,"action-title"],"actionSubTitle":[1,"action-sub-title"],"width":[8],"height":[8],"getContentURL":[64]}]]],["p-29277e41",[[1,"vega-input-numeric",{"prefixText":[1,"prefix-text"],"suffixText":[1,"suffix-text"],"prefixIcon":[1,"prefix-icon"],"value":[1025],"size":[1],"placeholder":[1],"thousandComma":[4,"thousand-comma"],"integerOnly":[4,"integer-only"],"disabled":[4],"minorIncrement":[2,"minor-increment"],"majorIncrement":[2,"major-increment"],"label":[1],"hint":[1],"required":[4],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"isCompactInputWidth":[32]}]]],["p-b693c1ac",[[1,"vega-input-phone-number",{"label":[1],"size":[1],"required":[1540],"disabled":[516],"countryCode":[1537,"country-code"],"allowedCountryCodes":[16],"value":[1537],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"placeholder":[1],"hint":[1],"phoneNumberInputValue":[32]}]]],["p-e27e115d",[[1,"vega-input-range",{"label":[1],"value":[1040],"prefixIcon":[513,"prefix-icon"],"showClearIcon":[4,"show-clear-icon"],"min":[514],"max":[514],"required":[1540],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[16],"disabled":[516],"hint":[1],"stack":[1]}]]],["p-f5b2e72a",[[1,"vega-line-chart",{"options":[16],"reRender":[64]}]]],["p-c532b132",[[1,"vega-pie-chart",{"options":[16],"reRender":[64]}]]],["p-734ea281",[[1,"vega-rich-text-content",{"content":[16],"placeholder":[32],"contentEditable":[32],"vegaFocus":[64]}]]],["p-5eee21b4",[[1,"vega-section-title",{"titleText":[1,"title"],"description":[1],"icon":[1],"iconAlign":[1,"icon-align"]}]]],["p-d720b06a",[[1,"vega-signature-capture",{"mode":[1],"label":[1],"required":[516],"showClearBtn":[4,"show-clear-btn"],"placeholder":[1],"placeholderIcon":[1,"placeholder-icon"],"disabled":[4],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"height":[8],"currentBreakpoint":[32],"isDrawing":[32],"clear":[64]}]]],["p-9968e71d",[[1,"vega-skeleton",{"type":[513],"width":[8],"height":[8],"animated":[4]}]]],["p-6b722905",[[1,"vega-slot-container"]]],["p-8d7b45f7",[[1,"vega-dialog",{"dialogTitle":[1,"dialog-title"],"content":[1],"type":[1],"okButton":[16],"handleOk":[16],"cancelButton":[16],"handleCancel":[16],"showCancel":[4,"show-cancel"],"modalProps":[16],"currentBreakpoint":[32]}],[1,"vega-modal",{"backdrop":[1],"size":[8],"open":[1028],"animation":[4],"modalTitle":[1,"modal-title"],"backdropColor":[1,"backdrop-color"],"isVerticallyCenter":[4,"is-vertically-center"],"isVerticallyCentered":[4,"is-vertically-centered"],"showCloseButton":[4,"show-close-button"],"padding":[1],"contentMaxHeight":[2,"content-max-height"],"handleClose":[16],"currentBreakpoint":[32],"modal":[64]},[[10,"click","listenDataTarget"],[0,"click","listenDataDismiss"]]]]],["p-ecd64c7f",[[1,"vega-carousel",{"perPage":[2,"per-page"],"itemsPerPage":[2,"items-per-page"],"showSlider":[4,"show-slider"],"spacing":[1],"canSwipe":[4,"can-swipe"],"page":[32],"totalPages":[32],"nextPage":[64],"prevPage":[64],"goToPage":[64]}]]],["p-7a9f453e",[[1,"vega-dropdown-content-box"],[1,"vega-dropdown-group",{"label":[1],"divide":[4]}],[1,"vega-dropdown-item",{"label":[1],"itemKey":[513,"item-key"],"count":[2],"prefixIcon":[1,"prefix-icon"],"disabled":[4],"height":[2],"danger":[4],"selectType":[32],"prefixIconSlot":[32],"selected":[32],"itemDisplayRule":[32]}],[1,"vega-virtual-scroll",{"source":[16],"approxItemHeight":[2,"approx-item-height"],"viewportMaxHeight":[2,"viewport-max-height"],"isLoading":[4,"is-loading"],"virtualizationThreshold":[2,"virtualization-threshold"],"sourceItemIdentifier":[1,"source-item-identifier"],"renderItem":[16],"positionConfig":[32],"scrollTop":[32],"scrollToIndex":[64]}],[1,"vega-dropdown",{"size":[8],"trigger":[1],"translocation":[16],"source":[1040],"positionRelativeTo":[1,"position-relative-to"],"selectType":[1,"select-type"],"selectedSourceKey":[1025,"selected-source-key"],"prefixIconSlot":[4,"prefix-icon-slot"],"maxHeight":[2,"max-height"],"searchable":[4],"matchTargetWidth":[4,"match-target-width"],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"itemDisplayRule":[1,"item-display-rule"],"matchContainerHeight":[4,"match-container-height"],"caseSensitive":[4,"case-sensitive"],"dynamicOption":[4,"dynamic-option"],"useDefaultFilter":[4,"use-default-filter"],"isLoading":[4,"is-loading"],"placement":[1],"alignment":[1],"isLazyLoading":[4,"is-lazy-loading"],"searchTriggerBy":[1,"search-trigger-by"],"searchString":[32],"isDropdownShow":[32],"sourceForRender":[32],"show":[64],"hide":[64],"search":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[64]}]]],["p-390c5236",[[1,"vega-font",{"variant":[1],"color":[1],"disableResponsive":[4,"disable-responsive"],"textAlign":[1,"text-align"],"as":[1],"currentBreakpoint":[32]}]]],["p-cfdc148a",[[1,"vega-form",{"isValid":[1028,"is-valid"],"isTouched":[1028,"is-touched"],"valid":[64],"getValue":[64],"setValue":[64],"reset":[64]}]]],["p-84c597c8",[[1,"vega-input-select",{"label":[1],"required":[516],"selectedLabel":[16],"selectType":[1,"select-type"],"source":[1040],"value":[1537],"isValid":[1540,"is-valid"],"autoValidation":[4,"auto-validation"],"validationRules":[16],"prefixIcon":[1,"prefix-icon"],"disabled":[516],"placeholder":[1],"hint":[1],"vegaDropdownProps":[16],"size":[1],"sourceLazyLoadCallback":[16],"isDropdownShow":[32],"currentBreakpoint":[32],"isLazyLoading":[32],"doClose":[64],"doOpen":[64],"doChange":[64]}]]],["p-21992602",[[1,"vega-sidenav",{"source":[16],"footnote":[1],"headerConfig":[16],"openByDefault":[1,"open-by-default"],"openState":[32],"toggle":[64]},[[10,"click","collapseSidenavByBackDropClick"]]],[1,"vega-sidenav-group",{"icon":[1],"label":[1],"openState":[32]}],[1,"vega-sidenav-link",{"icon":[1],"selected":[1540],"url":[1],"showSideBarOnClickLink":[4,"show-side-bar-on-click-link"],"openState":[32]}]]],["p-8be45a45",[[1,"vega-button",{"size":[1],"variant":[1],"icon":[1],"iconAlign":[1,"icon-align"],"label":[1025],"disabled":[4],"danger":[4],"block":[4],"type":[1],"loading":[4],"currentBreakpoint":[32]}]]],["p-18886765",[[1,"vega-backdrop",{"color":[1],"visible":[4],"duration":[2]}]]],["p-d2ab6096",[[1,"vega-box",{"padding":[1],"margin":[1],"display":[1],"border":[1],"borderStyle":[1,"border-style"],"shadow":[1],"borderColor":[1,"border-color"],"backgroundColor":[1,"background-color"],"width":[8],"height":[8],"minHeight":[8,"min-height"],"maxHeight":[8,"max-height"],"responsiveClass":[1,"responsive-class"],"corners":[1],"flexBasis":[1,"flex-basis"],"flexGrow":[8,"flex-grow"],"flexShrink":[8,"flex-shrink"],"order":[8],"flex":[8],"alignSelf":[1,"align-self"],"justifySelf":[1,"justify-self"],"gridColumn":[8,"grid-column"],"gridRow":[8,"grid-row"],"gridArea":[8,"grid-area"],"currentBreakpoint":[32]}]]],["p-8e17b9dd",[[1,"vega-grid",{"column":[8],"row":[8],"gap":[1]}]]],["p-cebf93f1",[[1,"vega-tooltip-content-box",{"text":[1]}],[1,"vega-tooltip",{"size":[8],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"trigger":[1],"content":[1],"text":[1],"placement":[1],"alignment":[1],"positionRelativeTo":[1,"position-relative-to"],"disableInteractive":[4,"disable-interactive"],"isTooltipShow":[32]}]]],["p-5e95402a",[[1,"vega-icon",{"icon":[513],"size":[1],"color":[1]}]]],["p-34939c97",[[1,"vega-button-circle",{"size":[1],"variant":[1],"icon":[513],"label":[1],"disabled":[4],"danger":[4],"type":[1],"iconColor":[1,"icon-color"],"showTooltip":[4,"show-tooltip"],"tooltip":[16]}]]],["p-6e4b2752",[[1,"vega-field-label",{"suffixButtonProps":[16],"label":[1025],"isFieldRequired":[4,"is-field-required"],"disabled":[4]}]]],["p-c34487e1",[[1,"vega-input",{"label":[1],"labelSuffixButtonProps":[16],"value":[1537],"valueUpdateTrigger":[1,"value-update-trigger"],"type":[513],"name":[1],"autocomplete":[1],"prefixIcon":[513,"prefix-icon"],"email":[516],"required":[1540],"min":[514],"max":[514],"minLength":[514,"min-length"],"maxLength":[514,"max-length"],"showClearIcon":[4,"show-clear-icon"],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[1],"disabled":[516],"hint":[1],"maskConfig":[16],"disableCopyPaste":[4,"disable-copy-paste"],"prefixText":[32],"suffixText":[32],"isCompactInputWidth":[32],"doFocus":[64],"doBlur":[64]}]]],["p-0cd2b50f",[[1,"vega-flex",{"gap":[1],"margin":[1],"breakpoint":[1],"direction":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"],"flexWrap":[1,"flex-wrap"],"flex":[8],"flexBasis":[1,"flex-basis"],"flexGrow":[8,"flex-grow"],"flexShrink":[8,"flex-shrink"],"useNativeFlex":[4,"use-native-flex"],"currentBreakpoint":[32]}]]]]'),e))));
|
package/package.json
CHANGED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { RTETextBlock } from '../../../../dto/blocks/text-block';
|
|
2
|
-
/**
|
|
3
|
-
* Abstract class of element to DTO handler
|
|
4
|
-
*/
|
|
5
|
-
export class ElementToDTOHandlerAbstract {
|
|
6
|
-
/**
|
|
7
|
-
* At new of handler, We need to inherit the style of the parent element
|
|
8
|
-
* and clone an empty element so that the child elements can be appended.
|
|
9
|
-
*
|
|
10
|
-
* @param {HTMLElement} element - Current element.
|
|
11
|
-
*/
|
|
12
|
-
constructor(element) {
|
|
13
|
-
this.setEntityElementStyle(element);
|
|
14
|
-
this.setElement(element);
|
|
15
|
-
}
|
|
16
|
-
/* istanbul ignore next */
|
|
17
|
-
// eslint-disable-next-line jsdoc/require-returns-check
|
|
18
|
-
/**
|
|
19
|
-
* Can be handle, the class inherit this class should implement it.
|
|
20
|
-
*
|
|
21
|
-
* @param {HTMLElement} element - Current element.
|
|
22
|
-
* @returns {boolean} Can be handle.
|
|
23
|
-
*/
|
|
24
|
-
static canHandle(element) {
|
|
25
|
-
throw new Error(`Method not implemented! ${element}`);
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Transform current text block to a DTO.
|
|
29
|
-
*
|
|
30
|
-
* @returns {RTETextBlock} Current text block.
|
|
31
|
-
*/
|
|
32
|
-
static currentTextBlockElementToDTO() {
|
|
33
|
-
const element = this.getCurrentTextBlockElement();
|
|
34
|
-
const firstNode = element.firstChild;
|
|
35
|
-
if (firstNode && firstNode.nodeName === 'SPAN' && firstNode.textContent === '\n') {
|
|
36
|
-
firstNode.remove();
|
|
37
|
-
}
|
|
38
|
-
if (element.childNodes.length > 0) {
|
|
39
|
-
const block = RTETextBlock.fromHTML(element, 'paragraph');
|
|
40
|
-
element.innerHTML = '';
|
|
41
|
-
return block;
|
|
42
|
-
}
|
|
43
|
-
return null;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Get current text block element.
|
|
47
|
-
*
|
|
48
|
-
* @returns {HTMLDivElement} - Current text block element.
|
|
49
|
-
*/
|
|
50
|
-
static getCurrentTextBlockElement() {
|
|
51
|
-
return ElementToDTOHandlerAbstract.currentTextBlockElement;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* While it a empty block. we should use new line span instead this block.
|
|
55
|
-
*
|
|
56
|
-
* @param {HTMLElement} blockElement - Current block element.
|
|
57
|
-
* @returns {boolean} - is handled.
|
|
58
|
-
*/
|
|
59
|
-
handleEmptyBlock(blockElement) {
|
|
60
|
-
if (this.currentVirtualElement.childNodes.length === 0) {
|
|
61
|
-
(blockElement || ElementToDTOHandlerAbstract.getCurrentTextBlockElement()).append(this.createNewLineSpan());
|
|
62
|
-
return true;
|
|
63
|
-
}
|
|
64
|
-
return false;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Inherit style of parent.
|
|
68
|
-
*
|
|
69
|
-
* @param {HTMLElement} element - Current element.
|
|
70
|
-
*/
|
|
71
|
-
setEntityElementStyle(element) {
|
|
72
|
-
if (element.nodeType === Node.TEXT_NODE)
|
|
73
|
-
return;
|
|
74
|
-
let currentStyle = element.getAttribute('style') || '';
|
|
75
|
-
const currentClass = element.classList;
|
|
76
|
-
const parent = element.parentElement;
|
|
77
|
-
const parentStyle = parent.getAttribute('style') || '';
|
|
78
|
-
const parentClass = parent.classList;
|
|
79
|
-
switch (element.nodeName) {
|
|
80
|
-
case 'CODE':
|
|
81
|
-
currentClass.add('v-rte--code');
|
|
82
|
-
break;
|
|
83
|
-
case 'STRONG':
|
|
84
|
-
currentStyle += 'font-weight: bold; ';
|
|
85
|
-
break;
|
|
86
|
-
case 'I':
|
|
87
|
-
case 'EM':
|
|
88
|
-
currentStyle += 'font-style: italic; ';
|
|
89
|
-
break;
|
|
90
|
-
case 'S':
|
|
91
|
-
currentClass.add('v-rte--strikethrough');
|
|
92
|
-
break;
|
|
93
|
-
case 'U':
|
|
94
|
-
currentClass.add('v-rte--underline');
|
|
95
|
-
break;
|
|
96
|
-
default:
|
|
97
|
-
break;
|
|
98
|
-
}
|
|
99
|
-
element.setAttribute('style', parentStyle + currentStyle);
|
|
100
|
-
element.classList.add(...Array.from(parentClass));
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* Set current element.
|
|
104
|
-
* while element is a text node, we should wrap it and inherit it style
|
|
105
|
-
* otherwise, we should clone it and clear content.
|
|
106
|
-
*
|
|
107
|
-
* @param {HTMLElement} element - Current element.
|
|
108
|
-
*/
|
|
109
|
-
setElement(element) {
|
|
110
|
-
this.currentEntityElement = element;
|
|
111
|
-
if (element.nodeType === Node.TEXT_NODE) {
|
|
112
|
-
const wrapper = document.createElement('span');
|
|
113
|
-
wrapper.setAttribute('style', element.parentElement.getAttribute('style'));
|
|
114
|
-
wrapper.setAttribute('class', element.parentElement.getAttribute('class'));
|
|
115
|
-
wrapper.append(element);
|
|
116
|
-
this.currentVirtualElement = wrapper;
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
const elementClone = element.cloneNode(true);
|
|
120
|
-
elementClone.innerHTML = '';
|
|
121
|
-
this.currentVirtualElement = elementClone;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Create a new line span.
|
|
126
|
-
*
|
|
127
|
-
* @returns {HTMLElement} - new line span.
|
|
128
|
-
*/
|
|
129
|
-
createNewLineSpan() {
|
|
130
|
-
const span = document.createElement('span');
|
|
131
|
-
span.append('\n');
|
|
132
|
-
return span;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
ElementToDTOHandlerAbstract.currentTextBlockElement = document.createElement('div');
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { ElementToDTOHandlerAbstract } from './element-to-dto-handler.abstract';
|
|
2
|
-
import { ImageToDTOHandler } from './image-to-dto-handler';
|
|
3
|
-
import { InlineBlockToDTOHandler } from './inline-block-to-dto-handler';
|
|
4
|
-
import { LinkToDTOHandler } from './link-to-dto-handler';
|
|
5
|
-
import { ListItemToDTOHandler } from './list-item-to-dto-handler';
|
|
6
|
-
import { ListToDTOHandler } from './list-to-dto-handler';
|
|
7
|
-
import { ParagraphToDTOHandler } from './paragraph-to-dto-handler';
|
|
8
|
-
import { TextBlockToDTOHandler } from './text-block-to-dto-handler';
|
|
9
|
-
import { TextToDTOHandler } from './text-to-dto-handler';
|
|
10
|
-
/**
|
|
11
|
-
* Element to DTO processor
|
|
12
|
-
*/
|
|
13
|
-
export class ElementToDTOProcessor {
|
|
14
|
-
constructor() {
|
|
15
|
-
this.elementHandlers = [
|
|
16
|
-
TextToDTOHandler,
|
|
17
|
-
ImageToDTOHandler,
|
|
18
|
-
ListToDTOHandler,
|
|
19
|
-
ListItemToDTOHandler,
|
|
20
|
-
TextBlockToDTOHandler,
|
|
21
|
-
ParagraphToDTOHandler,
|
|
22
|
-
LinkToDTOHandler,
|
|
23
|
-
InlineBlockToDTOHandler,
|
|
24
|
-
];
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Transform element to block DTO.
|
|
28
|
-
*
|
|
29
|
-
* @param {HTMLElement} element - An pasted element.
|
|
30
|
-
* @returns {RTEContentBlock[]} Block DTO.
|
|
31
|
-
*/
|
|
32
|
-
process(element) {
|
|
33
|
-
const blocks = this.transformDomToDto(Array.from(element.childNodes), null);
|
|
34
|
-
blocks.push(ElementToDTOHandlerAbstract.currentTextBlockElementToDTO());
|
|
35
|
-
return blocks.filter(Boolean);
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Transform elements to block DTO.
|
|
39
|
-
*
|
|
40
|
-
* @param {HTMLElement[]} elements - An pasted elements.
|
|
41
|
-
* @param {HTMLElement} blockElement - Current block element.
|
|
42
|
-
* @returns {RTEContentBlock[]} Block DTO.
|
|
43
|
-
*/
|
|
44
|
-
transformDomToDto(elements, blockElement) {
|
|
45
|
-
const rootBlocks = [];
|
|
46
|
-
elements.forEach((element) => {
|
|
47
|
-
if (this.isInvalidElement(element))
|
|
48
|
-
return;
|
|
49
|
-
const handler = this.elementHandlers.find((elementHandler) => elementHandler.canHandle(element));
|
|
50
|
-
const handle = new handler(element);
|
|
51
|
-
if (element.nodeType !== Node.TEXT_NODE) {
|
|
52
|
-
rootBlocks.push(...this.transformDomToDto(handle.childElements(), handle.getNextBlockElement(blockElement)));
|
|
53
|
-
}
|
|
54
|
-
rootBlocks.push(...handle.handle(blockElement));
|
|
55
|
-
});
|
|
56
|
-
return rootBlocks;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Checks if the given element is valid to parse.
|
|
60
|
-
*
|
|
61
|
-
* @param {HTMLElement} element - The pasted element.
|
|
62
|
-
* @returns {boolean} Is valid
|
|
63
|
-
*/
|
|
64
|
-
isInvalidElement(element) {
|
|
65
|
-
if (element.nodeType === Node.COMMENT_NODE)
|
|
66
|
-
return true;
|
|
67
|
-
if (element.nodeType === Node.TEXT_NODE && element.nodeValue.includes('\t')) {
|
|
68
|
-
const value = element.nodeValue.replace(/\n|\t/gm, '');
|
|
69
|
-
if (value.length === 0)
|
|
70
|
-
return true;
|
|
71
|
-
}
|
|
72
|
-
return ['META', 'BUTTON', 'STYLE'].includes(element.nodeName);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { RTEImageBlock } from '../../../../dto/blocks/image-block';
|
|
2
|
-
import { ElementToDTOHandlerAbstract } from './element-to-dto-handler.abstract';
|
|
3
|
-
/**
|
|
4
|
-
* Transform image element to DTO.
|
|
5
|
-
*/
|
|
6
|
-
export class ImageToDTOHandler extends ElementToDTOHandlerAbstract {
|
|
7
|
-
/**
|
|
8
|
-
* Can be transform.
|
|
9
|
-
*
|
|
10
|
-
* @param {HTMLElement} element - An pasted element.
|
|
11
|
-
* @returns {boolean} Result.
|
|
12
|
-
*/
|
|
13
|
-
static canHandle(element) {
|
|
14
|
-
return (element.nodeType === Node.ELEMENT_NODE &&
|
|
15
|
-
(element.nodeName === 'IMG' || element.querySelector('vega-rich-text-image-editor') !== null));
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Special the child elements of current.
|
|
19
|
-
*
|
|
20
|
-
* @returns {HTMLElement[]} - child elements.
|
|
21
|
-
*/
|
|
22
|
-
childElements() {
|
|
23
|
-
return [];
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Transform element to DTO.
|
|
27
|
-
* When blockElement is exist, it means that the current element is a child node,
|
|
28
|
-
* and we need to wait for its root block to be converted into a dto.
|
|
29
|
-
* Otherwise, the current node is the root node, and we can directly convert it.
|
|
30
|
-
*
|
|
31
|
-
* @returns {RTEContentBlock[]} - Block DTO.
|
|
32
|
-
*/
|
|
33
|
-
handle() {
|
|
34
|
-
return [
|
|
35
|
-
ElementToDTOHandlerAbstract.currentTextBlockElementToDTO(),
|
|
36
|
-
RTEImageBlock.fromHTML(this.currentEntityElement),
|
|
37
|
-
];
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Get the block element for child nodes
|
|
41
|
-
*
|
|
42
|
-
* @returns {HTMLElement} - Block element for child nodes.
|
|
43
|
-
*/
|
|
44
|
-
getNextBlockElement() {
|
|
45
|
-
return this.currentVirtualElement;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ElementToDTOHandlerAbstract } from './element-to-dto-handler.abstract';
|
|
2
|
-
/**
|
|
3
|
-
* Transform link element to DTO.
|
|
4
|
-
*/
|
|
5
|
-
export class InlineBlockToDTOHandler extends ElementToDTOHandlerAbstract {
|
|
6
|
-
/**
|
|
7
|
-
* Can be transform.
|
|
8
|
-
*
|
|
9
|
-
* @returns {boolean} Result.
|
|
10
|
-
*/
|
|
11
|
-
static canHandle() {
|
|
12
|
-
return true;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Special the child elements of current.
|
|
16
|
-
*
|
|
17
|
-
* @returns {HTMLElement[]} - child elements.
|
|
18
|
-
*/
|
|
19
|
-
childElements() {
|
|
20
|
-
return Array.from(this.currentEntityElement.childNodes);
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* The inline block is a child element, and there is no need to convert it to a dto here
|
|
24
|
-
*
|
|
25
|
-
* @returns {RTEContentBlock[]} - Empty dto.
|
|
26
|
-
*/
|
|
27
|
-
handle() {
|
|
28
|
-
return [];
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Get the block element for child nodes
|
|
32
|
-
*
|
|
33
|
-
* @param {Nullable<HTMLElement>} blockElement - Current block container.
|
|
34
|
-
* @returns {Nullable<HTMLElement>} - blockElement.
|
|
35
|
-
*/
|
|
36
|
-
getNextBlockElement(blockElement) {
|
|
37
|
-
return blockElement;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { generateUUID } from '../../../../../../utils/misc';
|
|
2
|
-
import { ElementToDTOHandlerAbstract } from './element-to-dto-handler.abstract';
|
|
3
|
-
/**
|
|
4
|
-
* Transform link element to DTO.
|
|
5
|
-
*/
|
|
6
|
-
export class LinkToDTOHandler extends ElementToDTOHandlerAbstract {
|
|
7
|
-
constructor(element) {
|
|
8
|
-
super(element);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Can be transform.
|
|
12
|
-
*
|
|
13
|
-
* @param {HTMLElement} element - An pasted element.
|
|
14
|
-
* @returns {boolean} Result.
|
|
15
|
-
*/
|
|
16
|
-
static canHandle(element) {
|
|
17
|
-
return ['A'].includes(element.nodeName);
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Special the child elements of current.
|
|
21
|
-
*
|
|
22
|
-
* @returns {HTMLElement[]} - child elements.
|
|
23
|
-
*/
|
|
24
|
-
childElements() {
|
|
25
|
-
return Array.from(this.currentEntityElement.childNodes);
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Format and append element for it block element.
|
|
29
|
-
*
|
|
30
|
-
* @param {Nullable<HTMLElement>} blockElement - Current block container.
|
|
31
|
-
* @returns {RTEContentBlock[]} - Block DTO.
|
|
32
|
-
*/
|
|
33
|
-
handle(blockElement) {
|
|
34
|
-
const key = generateUUID();
|
|
35
|
-
Array.from(this.currentVirtualElement.children).forEach((childElement) => {
|
|
36
|
-
childElement.setAttribute('data-href', this.currentVirtualElement.href);
|
|
37
|
-
childElement.setAttribute('data-group-key', key);
|
|
38
|
-
(blockElement || ElementToDTOHandlerAbstract.getCurrentTextBlockElement()).append(childElement);
|
|
39
|
-
});
|
|
40
|
-
return [];
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Get the block element for child nodes
|
|
44
|
-
*
|
|
45
|
-
* @returns {HTMLElement} - Block element for child nodes.
|
|
46
|
-
*/
|
|
47
|
-
getNextBlockElement() {
|
|
48
|
-
return this.currentVirtualElement;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ElementToDTOHandlerAbstract } from './element-to-dto-handler.abstract';
|
|
2
|
-
/**
|
|
3
|
-
* Transform list element to DTO.
|
|
4
|
-
*/
|
|
5
|
-
export class ListItemToDTOHandler extends ElementToDTOHandlerAbstract {
|
|
6
|
-
/**
|
|
7
|
-
* Can be transform.
|
|
8
|
-
*
|
|
9
|
-
* @param {HTMLElement} element - An pasted element.
|
|
10
|
-
* @returns {boolean} Result.
|
|
11
|
-
*/
|
|
12
|
-
static canHandle(element) {
|
|
13
|
-
return ['LI'].includes(element.nodeName);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Special the child elements of current.
|
|
17
|
-
*
|
|
18
|
-
* @returns {HTMLElement[]} - child elements.
|
|
19
|
-
*/
|
|
20
|
-
childElements() {
|
|
21
|
-
return Array.from(this.currentEntityElement.childNodes);
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Append list item node to it block element.
|
|
25
|
-
*
|
|
26
|
-
* @param {Nullable<HTMLElement>} blockElement - Current block container.
|
|
27
|
-
* @returns {RTEContentBlock[]} - Block DTO.
|
|
28
|
-
*/
|
|
29
|
-
handle(blockElement) {
|
|
30
|
-
blockElement.append(this.currentVirtualElement);
|
|
31
|
-
return [];
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Get the block element for child nodes
|
|
35
|
-
*
|
|
36
|
-
* @returns {HTMLElement} - Block element for child nodes.
|
|
37
|
-
*/
|
|
38
|
-
getNextBlockElement() {
|
|
39
|
-
return this.currentVirtualElement;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { RTEListBlock } from '../../../../dto/blocks/list-block';
|
|
2
|
-
import { ElementToDTOHandlerAbstract } from './element-to-dto-handler.abstract';
|
|
3
|
-
import { ListItemToDTOHandler } from './list-item-to-dto-handler';
|
|
4
|
-
/**
|
|
5
|
-
* Transform list element to DTO.
|
|
6
|
-
*/
|
|
7
|
-
export class ListToDTOHandler extends ElementToDTOHandlerAbstract {
|
|
8
|
-
/**
|
|
9
|
-
* Can be transform.
|
|
10
|
-
*
|
|
11
|
-
* @param {HTMLElement} element - An pasted element.
|
|
12
|
-
* @returns {boolean} Result.
|
|
13
|
-
*/
|
|
14
|
-
static canHandle(element) {
|
|
15
|
-
return ['UL', 'OL'].includes(element.nodeName);
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Special the child elements of current.
|
|
19
|
-
*
|
|
20
|
-
* @returns {HTMLElement[]} - child elements.
|
|
21
|
-
*/
|
|
22
|
-
childElements() {
|
|
23
|
-
return Array.from(this.currentEntityElement.childNodes);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Transform element to DTO.
|
|
27
|
-
* When blockElement is exist, it means that the current element is a child node,
|
|
28
|
-
* and we need to append and wait for its root block to be converted into a dto.
|
|
29
|
-
* Otherwise, the current node is the root node, and we can directly convert it.
|
|
30
|
-
*
|
|
31
|
-
* @param {Nullable<HTMLElement>} blockElement - Current block container.
|
|
32
|
-
* @returns {RTEContentBlock[]} - Block DTO.
|
|
33
|
-
*/
|
|
34
|
-
handle(blockElement) {
|
|
35
|
-
if (this.handleEmptyBlock(blockElement)) {
|
|
36
|
-
return [];
|
|
37
|
-
}
|
|
38
|
-
if (blockElement && ListItemToDTOHandler.canHandle(blockElement)) {
|
|
39
|
-
blockElement.append(this.currentVirtualElement);
|
|
40
|
-
return [];
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
return [
|
|
44
|
-
ElementToDTOHandlerAbstract.currentTextBlockElementToDTO(),
|
|
45
|
-
RTEListBlock.fromHTML(this.currentVirtualElement),
|
|
46
|
-
];
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Get the block element for child nodes
|
|
51
|
-
*
|
|
52
|
-
* @returns {HTMLElement} - Block element for child nodes.
|
|
53
|
-
*/
|
|
54
|
-
getNextBlockElement() {
|
|
55
|
-
return this.currentVirtualElement;
|
|
56
|
-
}
|
|
57
|
-
}
|