@orangelogic/design-system 2.92.0 → 2.93.0
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/library/chunks/asset.Duzr3O3z.js +370 -0
- package/library/chunks/{endpoints.BpAhLyZw.js → asset.types.6DCzTOQm.js} +517 -515
- package/library/chunks/{button.BrIJPc2a.js → button.BZjbVq8t.js} +3 -3
- package/library/chunks/button.styles.Cz4EELcL.js +5 -0
- package/library/chunks/{color-swatch-group.CpuPC0u3.js → color-swatch-group.DRKpTlyp.js} +5 -5
- package/library/chunks/{color-swatch.hsIcIXE-.js → color-swatch.CbL_TpRZ.js} +1 -1
- package/library/chunks/{confirm-popover.Bk0_yxOs.js → confirm-popover.bBo9aPlX.js} +3 -3
- package/library/chunks/{cropper.DTokTzP9.js → cropper.BRKVzJDb.js} +2 -2
- package/library/chunks/{dialog.CPAszptn.js → dialog.DRW8iwh-.js} +20 -13
- package/library/chunks/{dom.Dd4Wh-Mt.js → dom.DURaLV1d.js} +1 -1
- package/library/chunks/{dot-pagination.CWKKpM7m.js → dot-pagination.CvUr6R4S.js} +1 -1
- package/library/chunks/{file-on-demand.CTJQ6P_F.js → file-on-demand.Z7nx9v2R.js} +10 -10
- package/library/chunks/{folder-select.D6NkbExX.js → folder-select.DxBOSyvo.js} +48 -49
- package/library/chunks/{form.Bi8x0jbW.js → form.nRqYei4e.js} +1 -1
- package/library/chunks/header.ClxEkQPZ.js +700 -0
- package/library/chunks/{i18n.CgwQHLcP.js → i18n.W6czbRms.js} +87 -7
- package/library/chunks/icon-button.MqA-pNw8.js +149 -0
- package/library/chunks/{iframe.DnAs6e8f.js → iframe.PcSPtm_O.js} +1 -1
- package/library/chunks/{image.DbfpMKMc.js → image.C3LupRuN.js} +118 -115
- package/library/chunks/image.ocYnNdYK.js +150 -0
- package/library/chunks/{index.zCSI4caC.js → index.B7slZiaV.js} +173 -148
- package/library/chunks/{list-editor.T0Lrm0Yo.js → list-editor.BnIOuHUQ.js} +12 -13
- package/library/chunks/number.DE78rV_g.js +104 -0
- package/library/chunks/{option.T4KSh5qy.js → option.Cx54zrJq.js} +1 -1
- package/library/chunks/{pagination.DC9JIt4s.js → pagination.CG5odPWi.js} +4 -4
- package/library/chunks/{responsive.DL-wBD4P.js → responsive.D9TUCX5p.js} +1 -1
- package/library/chunks/{string.B_mXTq0K.js → string.DfV21HEI.js} +12 -8
- package/library/chunks/{tab-group.B6olTWpV.js → tab-group.BLZ-qEpp.js} +4 -4
- package/library/chunks/{table.Da1P5WrI.js → table.1GgUDoqR.js} +1068 -951
- package/library/chunks/template.ClovJacp.js +31 -0
- package/library/chunks/{time.D_uFZqqe.js → time.wo2iH5iw.js} +1 -1
- package/library/chunks/toast.Bc4wpYJ1.js +150 -0
- package/library/chunks/{tree.D5Fv7i1r.js → tree.CKi63r95.js} +89 -89
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +8 -8
- package/library/components/atoms.js +12 -12
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +4 -4
- package/library/components/checkbox.js +1 -1
- package/library/components/color-picker.js +4 -4
- package/library/components/color-swatch-group.js +6 -6
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +2 -2
- package/library/components/corner-position-input-group.js +2 -2
- package/library/components/cropper.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +4 -4
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +11 -11
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +2 -2
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +1 -1
- package/library/components/list-editor.js +6 -6
- package/library/components/markdown.js +2 -2
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +56 -53
- package/library/components/menu.js +10 -7
- package/library/components/molecules.js +5 -5
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/pagination.js +5 -5
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/radio-button.js +1 -1
- package/library/components/radio-group.js +1 -1
- package/library/components/range.js +2 -2
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +3 -3
- package/library/components/share-option-list.js +2 -2
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +2 -2
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/switch.js +1 -1
- package/library/components/tab-group.js +5 -5
- package/library/components/tab.js +2 -2
- package/library/components/table.js +57 -55
- package/library/components/tag.js +2 -2
- package/library/components/textarea.js +1 -1
- package/library/components/timecode.js +1 -1
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +28464 -28907
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/button/button.d.ts +5 -0
- package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +1 -0
- package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +1 -0
- package/library/packages/atoms/src/components/markdown/parser.d.ts +1 -1
- package/library/packages/atoms/src/components/menu/menu.d.ts +6 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +6 -0
- package/library/packages/atoms/src/components/table/styles/table-clickable-cell.styles.d.ts +10 -0
- package/library/packages/atoms/src/components/table/table.d.ts +1 -0
- package/library/packages/base/src/resizable-element.d.ts +1 -0
- package/library/packages/events/src/cx-code-block-language-change.d.ts +8 -0
- package/library/packages/events/src/cx-find-and-replace.d.ts +32 -0
- package/library/packages/events/src/cx-link-request.d.ts +12 -0
- package/library/packages/events/src/cx-rich-text-anchor-apply-request.d.ts +9 -0
- package/library/packages/events/src/cx-rich-text-blur.d.ts +6 -0
- package/library/packages/events/src/cx-rich-text-change.d.ts +8 -0
- package/library/packages/events/src/cx-rich-text-click.d.ts +6 -0
- package/library/packages/events/src/cx-rich-text-focus.d.ts +6 -0
- package/library/packages/events/src/cx-rich-text-image-drop.d.ts +8 -0
- package/library/packages/events/src/cx-rich-text-image-save.d.ts +23 -0
- package/library/packages/events/src/cx-rich-text-link-save.d.ts +19 -0
- package/library/packages/events/src/cx-rich-text-native-spellcheck-change.d.ts +12 -0
- package/library/packages/events/src/cx-rich-text-review-layout-refresh.d.ts +8 -0
- package/library/packages/events/src/cx-rich-text-review-node-created.d.ts +13 -0
- package/library/packages/events/src/cx-rich-text-review-selection-changed.d.ts +11 -0
- package/library/packages/events/src/cx-rich-text-suggestion-hover.d.ts +12 -0
- package/library/packages/events/src/cx-rich-text-table-cell-save.d.ts +15 -0
- package/library/packages/events/src/cx-rich-text-table-save.d.ts +16 -0
- package/library/packages/events/src/cx-rich-text-video-save.d.ts +28 -0
- package/library/packages/events/src/cx-special-characters-insert.d.ts +13 -0
- package/library/packages/events/src/cx-tiptap-code-block-doc-request.d.ts +19 -0
- package/library/packages/events/src/cx-tiptap-image-doc-request.d.ts +24 -0
- package/library/packages/events/src/cx-tiptap-image-host-feedback.d.ts +13 -0
- package/library/packages/events/src/cx-tiptap-video-doc-request.d.ts +24 -0
- package/library/packages/events/src/cx-tiptap-video-host-feedback.d.ts +13 -0
- package/library/packages/events/src/events.d.ts +25 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/core/modules/optional.d.ts +2 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/ClickableCell/ClickableCell.d.ts +44 -0
- package/library/packages/{atoms/src/components/table/modules → hybrid/table-core/src/tabulator-tables/modules/HoverMenu}/HoverMenu.d.ts +7 -5
- package/library/packages/molecules/src/index.d.ts +1 -0
- package/library/packages/molecules/src/mentions/mentions.d.ts +53 -0
- package/library/packages/organisms/src/comment/comment.d.ts +3 -3
- package/library/packages/organisms/src/comment/extensions/index.d.ts +0 -1
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/index.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.d.ts +5 -10
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/constant.d.ts +12 -13
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/index.d.ts +1 -1
- package/library/packages/organisms/src/find-and-replace/find-and-replace.d.ts +84 -0
- package/library/packages/organisms/src/index.d.ts +2 -0
- package/library/packages/organisms/src/{content-builder/plugins/rich-text-editor/components/rte-bubble-menu/special-char-dialog.d.ts → special-characters-dialog/special-characters-dialog.d.ts} +11 -12
- package/library/packages/services/src/api/asset/asset.d.ts +17 -15
- package/library/packages/services/src/api/asset/asset.types.d.ts +97 -32
- package/library/packages/services/src/api/asset/asset.utils.d.ts +9 -0
- package/library/packages/services/src/api/endpoints.d.ts +2 -4
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +7 -0
- package/library/packages/tools/src/tiptap/constants/constants.d.ts +41 -0
- package/library/packages/tools/src/tiptap/constants/index.d.ts +1 -0
- package/library/packages/tools/src/tiptap/extensions/blockquote/index.d.ts +2 -0
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/bubble-menu.d.ts → tools/src/tiptap/extensions/bubble-menu/index.d.ts} +11 -27
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/bullet-list/index.d.ts +3 -0
- package/library/packages/tools/src/tiptap/extensions/code-block/code-block-doc-bridge.d.ts +13 -0
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/CodeBlock.d.ts → tools/src/tiptap/extensions/code-block/code-block.d.ts} +2 -1
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/CodeBlockPrism.d.ts → tools/src/tiptap/extensions/code-block/index.d.ts} +2 -1
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/PrismPlugin.d.ts → tools/src/tiptap/extensions/code-block/prism-plugin.d.ts} +1 -0
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/document/commands.d.ts +2 -2
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/link/helpers/autolink.d.ts +1 -1
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/clickHandler.d.ts → tools/src/tiptap/extensions/link/helpers/click-handler.d.ts} +1 -1
- package/library/packages/tools/src/tiptap/extensions/link/helpers/is-valid-url.d.ts +1 -0
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/pasteHandler.d.ts → tools/src/tiptap/extensions/link/helpers/paste-handler.d.ts} +1 -1
- package/library/packages/tools/src/tiptap/extensions/link/index.d.ts +6 -0
- package/library/packages/tools/src/tiptap/extensions/list-item/index.d.ts +2 -0
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/ordered-list/index.d.ts +2 -0
- package/library/packages/tools/src/tiptap/extensions/text-style/index.d.ts +7 -0
- package/library/packages/tools/src/tiptap/utils/anchor-links.d.ts +2 -0
- package/library/packages/tools/src/tiptap/utils/extend-class-style.d.ts +4 -0
- package/library/packages/tools/src/tiptap/utils/is-only-code-block-selection.d.ts +4 -0
- package/library/packages/tools/src/tiptap/utils/parse-tracks.d.ts +1 -0
- package/library/packages/tools/src/tiptap/utils/rich-text-inline-viewer-doc-bridge.d.ts +38 -0
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/utils/getStyles.d.ts → tools/src/tiptap/utils/styles.d.ts} +4 -4
- package/library/packages/tools/src/tiptap/utils/text-block-type-input-rule-no-delete.d.ts +3 -0
- package/library/packages/types/src/menu-item.d.ts +2 -0
- package/library/packages/types/src/special-characters-dialog.d.ts +19 -0
- package/library/packages/types/src/table.d.ts +13 -0
- package/library/packages/types/src/tiptap.d.ts +52 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +80 -0
- package/library/packages/utils/src/image/image.d.ts +14 -1
- package/library/packages/utils/src/index.d.ts +1 -0
- package/library/packages/utils/src/keyboard/index.d.ts +1 -0
- package/library/packages/utils/src/keyboard/keyboard.d.ts +9 -0
- package/library/packages/utils/src/number/number.d.ts +4 -0
- package/library/packages/utils/src/object/object.d.ts +2 -0
- package/library/packages/utils/src/string/string.d.ts +1 -0
- package/library/packages/utils/src/template/template.d.ts +1 -0
- package/library/react-web-component.d.ts +154 -13
- package/library/utils.js +187 -177
- package/package.json +1 -1
- package/library/chunks/asset.CVuNAhz3.js +0 -287
- package/library/chunks/button.styles.CKqn956w.js +0 -5
- package/library/chunks/content-builder.B4Tqoc6M.js +0 -127
- package/library/chunks/header.DPVuEZN-.js +0 -177
- package/library/chunks/icon-button.BpwPU4Vg.js +0 -149
- package/library/chunks/image.mbpyiQpQ.js +0 -82
- package/library/chunks/number.CjNxU7Xs.js +0 -93
- package/library/chunks/template.CsJd8Pb_.js +0 -20
- package/library/chunks/toast.BXNbwZV8.js +0 -25
- package/library/packages/organisms/src/comment/components/comment-mention/comment-mention.d.ts +0 -44
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/index.d.ts +0 -1
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/rte-code-block-toolbar.d.ts +0 -28
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/index.d.ts +0 -1
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/rte-image-viewer.d.ts +0 -68
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/rte-image-viewer.styles.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/blockquote/index.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/index.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/image/convertSrcToBlob.d.ts +0 -6
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/image/index.d.ts +0 -4
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/isValidUrl.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/index.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/list-item/index.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/text-style/index.d.ts +0 -17
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/extendClassStyle.d.ts +0 -6
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/getImageNaturalWidthHeight.d.ts +0 -1
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/isAbsolute.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/isValidImageUrl.d.ts +0 -3
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/parseBooleanString.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/processAnchorLink.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/textblockTypeInputRuleNoDelete.d.ts +0 -3
- /package/library/packages/{organisms/src/comment/components/comment-mention/comment-mention.styles.d.ts → molecules/src/mentions/mentions.styles.d.ts} +0 -0
- /package/library/packages/organisms/src/{content-builder/plugins/rich-text-editor/components/rte-bubble-menu/special-char-dialog.styles.d.ts → find-and-replace/find-and-replace.styles.d.ts} +0 -0
- /package/library/packages/organisms/src/{content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/rte-code-block-toolbar.styles.d.ts → special-characters-dialog/special-characters-dialog.styles.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/anchor/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/aside-block → tools/src/tiptap/extensions/aside}/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/div/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/document/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/font-size/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/heading/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/highlight/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/inline-class/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/line-height/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/list-item/commands.d.ts +0 -0
- /package/library/packages/{organisms/src/comment/extensions/mention.d.ts → tools/src/tiptap/extensions/mention/index.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/other-elements → tools/src/tiptap/extensions/other-element}/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/other-styles/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/paragraph/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/placeholder/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/table/cellselection.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/columnResizing.d.ts → tools/src/tiptap/extensions/table/column-resizing.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/table/commands.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/copyPaste.d.ts → tools/src/tiptap/extensions/table/copy-paste.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/createCell.d.ts → tools/src/tiptap/extensions/table/create-cell.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/createTable.d.ts → tools/src/tiptap/extensions/table/create-table.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/fixTables.d.ts → tools/src/tiptap/extensions/table/fix-tables.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/getTableNodeTypes.d.ts → tools/src/tiptap/extensions/table/get-table-node-types.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/table/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/table/input.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/rowResizing.d.ts → tools/src/tiptap/extensions/table/row-resizing.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/tableEditing.d.ts → tools/src/tiptap/extensions/table/table-editing.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/table/utils.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/text-align/index.d.ts +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { C as _ } from "./button.
|
|
2
|
-
import { C as q, D as G } from "./dialog.
|
|
1
|
+
import { C as _ } from "./button.BZjbVq8t.js";
|
|
2
|
+
import { C as q, D as G } from "./dialog.DRW8iwh-.js";
|
|
3
3
|
import j from "../components/grid.js";
|
|
4
4
|
import P from "../components/grid-item.js";
|
|
5
5
|
import S from "../components/input.js";
|
|
6
6
|
import R from "../components/line-clamp.js";
|
|
7
|
-
import { C as F } from "./option.
|
|
7
|
+
import { C as F } from "./option.Cx54zrJq.js";
|
|
8
8
|
import B from "../components/radio.js";
|
|
9
9
|
import K from "../components/radio-group.js";
|
|
10
10
|
import U from "../components/select.js";
|
|
11
11
|
import E from "../components/space.js";
|
|
12
|
-
import { C as H, H as V } from "./table.
|
|
12
|
+
import { C as H, H as V } from "./table.1GgUDoqR.js";
|
|
13
13
|
import { C as L } from "./typography.DJC_UXgs.js";
|
|
14
14
|
import { n as o, C as T } from "./lib-cortex-element.CVMmyPMC.js";
|
|
15
15
|
import W from "../components/dynamic-select.js";
|
|
16
16
|
import { c as D } from "./component.styles.CRO4Odto.js";
|
|
17
17
|
import { c as M } from "./custom-element.L4WJXn1j.js";
|
|
18
18
|
import { d as J } from "./debounce.DaHuiSGU.js";
|
|
19
|
-
import { L as z } from "./i18n.
|
|
19
|
+
import { L as z } from "./i18n.W6czbRms.js";
|
|
20
20
|
import { w as g } from "./watch.BCJD77bD.js";
|
|
21
21
|
import { a as X } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
22
22
|
import { i as O, x as l } from "./lit-element.jLBm65_O.js";
|
|
@@ -28,13 +28,12 @@ import { o as Q } from "./map.D8heArFD.js";
|
|
|
28
28
|
import { c as b } from "./repeat.DbF2p5ae.js";
|
|
29
29
|
import { n as N } from "./when.Dr1es41R.js";
|
|
30
30
|
import { t as ee } from "./toString.CL_lYXbK.js";
|
|
31
|
-
import { C as ae } from "./icon-button.
|
|
32
|
-
import { C as te } from "./image.
|
|
33
|
-
import { a as ie, D as $ } from "./asset.
|
|
31
|
+
import { C as ae } from "./icon-button.MqA-pNw8.js";
|
|
32
|
+
import { C as te } from "./image.C3LupRuN.js";
|
|
33
|
+
import { a as ie, D as $ } from "./asset.Duzr3O3z.js";
|
|
34
34
|
import { a as ne } from "./index.Cpamj0jB.js";
|
|
35
|
-
import { A as v } from "./
|
|
36
|
-
import { a as
|
|
37
|
-
import { t as re } from "./toast.BXNbwZV8.js";
|
|
35
|
+
import { A as v, t as se } from "./toast.Bc4wpYJ1.js";
|
|
36
|
+
import { a as re, t as w } from "./string.DfV21HEI.js";
|
|
38
37
|
var A, I;
|
|
39
38
|
function oe() {
|
|
40
39
|
return I || (I = 1, A = {
|
|
@@ -841,9 +840,9 @@ let p = class extends T {
|
|
|
841
840
|
this.accepts
|
|
842
841
|
);
|
|
843
842
|
if (this.accepts.length > 0 && Object.values(e).some(
|
|
844
|
-
(t) => !this.accepts.includes(
|
|
843
|
+
(t) => !this.accepts.includes(re(t.src) ?? "")
|
|
845
844
|
))
|
|
846
|
-
|
|
845
|
+
se(this.localize.term("nonAcceptedExtension", this.accepts), {
|
|
847
846
|
notificationType: "warning"
|
|
848
847
|
});
|
|
849
848
|
else if (this.multiple) {
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
function f({
|
|
2
|
+
decimals: e = 2,
|
|
3
|
+
inputUnit: t = "B",
|
|
4
|
+
targetUnit: n = "B",
|
|
5
|
+
value: r
|
|
6
|
+
}) {
|
|
7
|
+
const s = {
|
|
8
|
+
B: 1,
|
|
9
|
+
GB: 1073741824,
|
|
10
|
+
KB: 1024,
|
|
11
|
+
MB: 1048576,
|
|
12
|
+
TB: 1099511627776
|
|
13
|
+
}, i = {
|
|
14
|
+
Gb: 1024 ** 3 / 8,
|
|
15
|
+
Kb: 1024 / 8,
|
|
16
|
+
Mb: 1024 ** 2 / 8,
|
|
17
|
+
Tb: 1024 ** 4 / 8,
|
|
18
|
+
b: 1 / 8
|
|
19
|
+
}, o = { ...s, ...i }, a = o[n], d = r * o[t], c = parseFloat((d / a).toFixed(e));
|
|
20
|
+
return Number.isNaN(c) ? 0 : c;
|
|
21
|
+
}
|
|
22
|
+
function h(e) {
|
|
23
|
+
return e > 360 ? 360 : e < -360 ? -360 : e;
|
|
24
|
+
}
|
|
25
|
+
function u(e, t) {
|
|
26
|
+
return t === 0 ? e : u(t, e % t);
|
|
27
|
+
}
|
|
28
|
+
function l(e, t) {
|
|
29
|
+
if (!e || !t)
|
|
30
|
+
return "-- / --";
|
|
31
|
+
const n = u(e, t);
|
|
32
|
+
return `${e / n} / ${t / n}`;
|
|
33
|
+
}
|
|
34
|
+
function m(e, t) {
|
|
35
|
+
const n = Math.round(e), r = Math.round(t), s = u(n, r);
|
|
36
|
+
return {
|
|
37
|
+
height: r / s,
|
|
38
|
+
width: n / s
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function g(e, t, n) {
|
|
42
|
+
const r = n * Math.PI / 180;
|
|
43
|
+
if (n % 90 === 0)
|
|
44
|
+
return {
|
|
45
|
+
height: n % 180 === 0 ? t : e,
|
|
46
|
+
width: n % 180 === 0 ? e : t
|
|
47
|
+
};
|
|
48
|
+
const s = Math.abs(Math.cos(r)), i = Math.abs(Math.sin(r)), o = e * s + t * i, a = e * i + t * s;
|
|
49
|
+
return {
|
|
50
|
+
height: Math.round(a),
|
|
51
|
+
width: Math.round(o)
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function N(e) {
|
|
55
|
+
if (!e || typeof e != "string")
|
|
56
|
+
return 0;
|
|
57
|
+
const t = e.trim();
|
|
58
|
+
if (!t)
|
|
59
|
+
return 0;
|
|
60
|
+
if (t.endsWith("s") && !t.endsWith("ms")) {
|
|
61
|
+
const n = parseFloat(t);
|
|
62
|
+
return isNaN(n) || n < 0 ? 0 : n * 1e3;
|
|
63
|
+
}
|
|
64
|
+
if (t.endsWith("m")) {
|
|
65
|
+
const n = parseFloat(t);
|
|
66
|
+
return isNaN(n) || n < 0 ? 0 : n * 60 * 1e3;
|
|
67
|
+
}
|
|
68
|
+
if (t.endsWith("h")) {
|
|
69
|
+
const n = parseFloat(t);
|
|
70
|
+
return isNaN(n) || n < 0 ? 0 : n * 60 * 60 * 1e3;
|
|
71
|
+
}
|
|
72
|
+
if (t.endsWith("ms")) {
|
|
73
|
+
const n = parseFloat(t);
|
|
74
|
+
return isNaN(n) || n < 0 ? 0 : n;
|
|
75
|
+
}
|
|
76
|
+
return 0;
|
|
77
|
+
}
|
|
78
|
+
function b(e) {
|
|
79
|
+
const t = /^(-?\d*\.?\d+)([a-zA-Z%]*)$/.exec(e.trim());
|
|
80
|
+
if (!t)
|
|
81
|
+
return null;
|
|
82
|
+
const n = Number.parseFloat(t[1]);
|
|
83
|
+
return { unit: t[2] || "", value: n };
|
|
84
|
+
}
|
|
85
|
+
function p(e) {
|
|
86
|
+
if (!Number.isFinite(e))
|
|
87
|
+
return "0";
|
|
88
|
+
const [t, n] = String(e).split("."), r = t.startsWith("-"), i = (r ? t.slice(1) : t).replace(
|
|
89
|
+
/\B(?=(\d{3})+(?!\d))/g,
|
|
90
|
+
","
|
|
91
|
+
), o = r ? "-" : "";
|
|
92
|
+
return n !== void 0 ? `${o}${i}.${n}` : `${o}${i}`;
|
|
93
|
+
}
|
|
94
|
+
export {
|
|
95
|
+
f as a,
|
|
96
|
+
N as b,
|
|
97
|
+
m as c,
|
|
98
|
+
l as d,
|
|
99
|
+
b as e,
|
|
100
|
+
p as f,
|
|
101
|
+
u as g,
|
|
102
|
+
g as r,
|
|
103
|
+
h as s
|
|
104
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as s, C as x } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as m } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as v } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as g } from "./i18n.
|
|
4
|
+
import { L as g } from "./i18n.W6czbRms.js";
|
|
5
5
|
import { w as d } from "./watch.BCJD77bD.js";
|
|
6
6
|
import { i as b, x as h } from "./lit-element.jLBm65_O.js";
|
|
7
7
|
import { r as f } from "./state.CSDxrqLd.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import b from "../components/space.js";
|
|
2
2
|
import { n as o, C as _ } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import { C as P, I as y } from "./icon-button.
|
|
3
|
+
import { C as P, I as y } from "./icon-button.MqA-pNw8.js";
|
|
4
4
|
import { c as f } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as z } from "./i18n.
|
|
5
|
+
import { L as z } from "./i18n.W6czbRms.js";
|
|
6
6
|
import { c as m } from "./math.DqTA6ya4.js";
|
|
7
7
|
import { w as d } from "./watch.BCJD77bD.js";
|
|
8
8
|
import { i as C, x as s } from "./lit-element.jLBm65_O.js";
|
|
@@ -10,9 +10,9 @@ import { r as S } from "./state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as $ } from "./class-map.BiVq-cVR.js";
|
|
11
11
|
import { c as x } from "./repeat.DbF2p5ae.js";
|
|
12
12
|
import { n as g } from "./when.Dr1es41R.js";
|
|
13
|
-
import { C as v } from "./button.
|
|
13
|
+
import { C as v } from "./button.BZjbVq8t.js";
|
|
14
14
|
import w from "../components/input.js";
|
|
15
|
-
import { C as I } from "./option.
|
|
15
|
+
import { C as I } from "./option.Cx54zrJq.js";
|
|
16
16
|
import B from "../components/select.js";
|
|
17
17
|
import N from "../components/tooltip.js";
|
|
18
18
|
import { C as k } from "./typography.DJC_UXgs.js";
|
|
@@ -4,10 +4,10 @@ const C = 50;
|
|
|
4
4
|
function E(t) {
|
|
5
5
|
return t.replaceAll(/[\s_]+/g, "-").replaceAll(/([a-z])([A-Z])/g, "$1-$2").replaceAll(/([A-Z])([A-Z])/g, "$1-$2").replaceAll(/([a-z])([0-9])/g, "$1-$2").replaceAll(/([A-Z])([0-9])/g, "$1-$2").replaceAll(/([0-9])([a-z])/g, "$1-$2").replaceAll(/([0-9])([A-Z])/g, "$1-$2").toLowerCase().replaceAll(/^-+|-+$/g, "");
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function w(t) {
|
|
8
8
|
return t.replaceAll(/[-_]+/g, " ").split(" ").map((r) => r.charAt(0).toUpperCase() + r.slice(1)).join("");
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function I(t) {
|
|
11
11
|
return t.trim().replaceAll(/([a-z])([A-Z])/g, "$1 $2").replaceAll(/([^0-9])([0-9])/g, "$1 $2").replaceAll(/([0-9])([a-z])/g, "$1 $2").replaceAll(/([0-9])([A-Z])/g, "$1 $2").replaceAll(/([A-Z])([A-Z])/g, "$1 $2").replaceAll(/[^A-Za-z0-9]/g, " ").split(" ").filter((r) => r).reduce((r, e, n) => `${r}${n ? $(e.toLowerCase()) : e.toLowerCase()}`, "");
|
|
12
12
|
}
|
|
13
13
|
function x(t) {
|
|
@@ -144,33 +144,37 @@ function y(t) {
|
|
|
144
144
|
function U(t) {
|
|
145
145
|
return typeof t == "string" ? t.replaceAll(" ", " ") : t == null ? "" : String(t);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function B(t) {
|
|
148
148
|
return t == null || t === "" ? " " : String(t);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function W(t) {
|
|
151
151
|
return typeof t != "string" ? !1 : Object.values(m).includes(t);
|
|
152
152
|
}
|
|
153
|
+
function q(t) {
|
|
154
|
+
return t ? t.toLowerCase() === "true" : !1;
|
|
155
|
+
}
|
|
153
156
|
export {
|
|
154
157
|
C as F,
|
|
155
158
|
S as G,
|
|
156
159
|
h as M,
|
|
157
160
|
c as T,
|
|
158
161
|
H as a,
|
|
159
|
-
|
|
162
|
+
B as b,
|
|
160
163
|
U as c,
|
|
161
164
|
A as d,
|
|
162
165
|
k as e,
|
|
163
166
|
O as f,
|
|
164
167
|
v as g,
|
|
165
168
|
m as h,
|
|
166
|
-
|
|
169
|
+
W as i,
|
|
167
170
|
D as j,
|
|
168
171
|
_ as k,
|
|
169
172
|
E as l,
|
|
170
|
-
|
|
171
|
-
|
|
173
|
+
w as m,
|
|
174
|
+
I as n,
|
|
172
175
|
x as o,
|
|
173
176
|
j as p,
|
|
177
|
+
q,
|
|
174
178
|
R as r,
|
|
175
179
|
y as s,
|
|
176
180
|
L as t,
|
|
@@ -2,10 +2,10 @@ import In from "../components/resize-observer.js";
|
|
|
2
2
|
import { n as wt, C as Fn } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import { c as Ln } from "./component.styles.CRO4Odto.js";
|
|
4
4
|
import { c as $n } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as Nn } from "./i18n.
|
|
5
|
+
import { L as Nn } from "./i18n.W6czbRms.js";
|
|
6
6
|
import { s as Zi } from "./scroll.xtO5yojm.js";
|
|
7
7
|
import { w as ft } from "./watch.BCJD77bD.js";
|
|
8
|
-
import { i as Bn } from "./dom.
|
|
8
|
+
import { i as Bn } from "./dom.DURaLV1d.js";
|
|
9
9
|
import { s as Wn } from "./parse.Cu5nBDTb.js";
|
|
10
10
|
import { i as Vn, x as $t } from "./lit-element.jLBm65_O.js";
|
|
11
11
|
import { r as at } from "./state.CSDxrqLd.js";
|
|
@@ -17,9 +17,9 @@ import { i as Ji } from "./guard.D4axKaMo.js";
|
|
|
17
17
|
import { o as tr } from "./map.D8heArFD.js";
|
|
18
18
|
import { o as Ue } from "./style-map.llVFPd__.js";
|
|
19
19
|
import { n as Pe } from "./when.Dr1es41R.js";
|
|
20
|
-
import { C as Yn } from "./button.
|
|
20
|
+
import { C as Yn } from "./button.BZjbVq8t.js";
|
|
21
21
|
import Xn from "../components/dropdown.js";
|
|
22
|
-
import { C as qn } from "./icon-button.
|
|
22
|
+
import { C as qn } from "./icon-button.MqA-pNw8.js";
|
|
23
23
|
import Gn from "../components/menu.js";
|
|
24
24
|
import Kn from "../components/menu-item.js";
|
|
25
25
|
import jn from "../components/tab.js";
|