@sparrowengg/twigs-editor-react 0.0.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/README.md +38 -0
- package/dist/cjs/_virtual/_commonjsHelpers.js +8 -0
- package/dist/cjs/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/cjs/_virtual/assertString.js +6 -0
- package/dist/cjs/_virtual/assertString.js.map +1 -0
- package/dist/cjs/_virtual/isFQDN.js +6 -0
- package/dist/cjs/_virtual/isFQDN.js.map +1 -0
- package/dist/cjs/_virtual/isIP.js +6 -0
- package/dist/cjs/_virtual/isIP.js.map +1 -0
- package/dist/cjs/_virtual/isURL.js +12 -0
- package/dist/cjs/_virtual/isURL.js.map +1 -0
- package/dist/cjs/_virtual/isURL2.js +6 -0
- package/dist/cjs/_virtual/isURL2.js.map +1 -0
- package/dist/cjs/_virtual/merge.js +6 -0
- package/dist/cjs/_virtual/merge.js.map +1 -0
- package/dist/cjs/components/base-dropdown/index.js +175 -0
- package/dist/cjs/components/base-dropdown/index.js.map +1 -0
- package/dist/cjs/components/dialog-link-editor/index.js +291 -0
- package/dist/cjs/components/dialog-link-editor/index.js.map +1 -0
- package/dist/cjs/components/dialog-link-editor/link-editor-dialog.js +199 -0
- package/dist/cjs/components/dialog-link-editor/link-editor-dialog.js.map +1 -0
- package/dist/cjs/components/dialog-link-editor/link-tooltip.js +122 -0
- package/dist/cjs/components/dialog-link-editor/link-tooltip.js.map +1 -0
- package/dist/cjs/components/floating-toolbar/floating-toolbar.js +302 -0
- package/dist/cjs/components/floating-toolbar/floating-toolbar.js.map +1 -0
- package/dist/cjs/components/rich-editor/index.js +142 -0
- package/dist/cjs/components/rich-editor/index.js.map +1 -0
- package/dist/cjs/components/toolbar/toolbar.js +76 -0
- package/dist/cjs/components/toolbar/toolbar.js.map +1 -0
- package/dist/cjs/components/toolbar/tools/bold.js +52 -0
- package/dist/cjs/components/toolbar/tools/bold.js.map +1 -0
- package/dist/cjs/components/toolbar/tools/code-block.js +79 -0
- package/dist/cjs/components/toolbar/tools/code-block.js.map +1 -0
- package/dist/cjs/components/toolbar/tools/code.js +54 -0
- package/dist/cjs/components/toolbar/tools/code.js.map +1 -0
- package/dist/cjs/components/toolbar/tools/commons.js +16 -0
- package/dist/cjs/components/toolbar/tools/commons.js.map +1 -0
- package/dist/cjs/components/toolbar/tools/format.js +136 -0
- package/dist/cjs/components/toolbar/tools/format.js.map +1 -0
- package/dist/cjs/components/toolbar/tools/italic.js +57 -0
- package/dist/cjs/components/toolbar/tools/italic.js.map +1 -0
- package/dist/cjs/components/toolbar/tools/link.js +71 -0
- package/dist/cjs/components/toolbar/tools/link.js.map +1 -0
- package/dist/cjs/components/toolbar/tools/ordered-list.js +62 -0
- package/dist/cjs/components/toolbar/tools/ordered-list.js.map +1 -0
- package/dist/cjs/components/toolbar/tools/text-align.js +82 -0
- package/dist/cjs/components/toolbar/tools/text-align.js.map +1 -0
- package/dist/cjs/components/toolbar/tools/underline.js +57 -0
- package/dist/cjs/components/toolbar/tools/underline.js.map +1 -0
- package/dist/cjs/components/toolbar/tools/unordered-list.js +62 -0
- package/dist/cjs/components/toolbar/tools/unordered-list.js.map +1 -0
- package/dist/cjs/components/toolbar-context/context.js +148 -0
- package/dist/cjs/components/toolbar-context/context.js.map +1 -0
- package/dist/cjs/components/toolbar-context/store.js +75 -0
- package/dist/cjs/components/toolbar-context/store.js.map +1 -0
- package/dist/cjs/components/toolbar-context/utils.js +6 -0
- package/dist/cjs/components/toolbar-context/utils.js.map +1 -0
- package/dist/cjs/editor.js +154 -0
- package/dist/cjs/editor.js.map +1 -0
- package/dist/cjs/index.js +86 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/nodes/emoji.js +86 -0
- package/dist/cjs/nodes/emoji.js.map +1 -0
- package/dist/cjs/nodes/hashtag.js +109 -0
- package/dist/cjs/nodes/hashtag.js.map +1 -0
- package/dist/cjs/nodes/image.js +215 -0
- package/dist/cjs/nodes/image.js.map +1 -0
- package/dist/cjs/nodes/kudos.js +110 -0
- package/dist/cjs/nodes/kudos.js.map +1 -0
- package/dist/cjs/nodes/mention.js +109 -0
- package/dist/cjs/nodes/mention.js.map +1 -0
- package/dist/cjs/nodes/variables.js +109 -0
- package/dist/cjs/nodes/variables.js.map +1 -0
- package/dist/cjs/plugins/data-management-plugin/index.js +40 -0
- package/dist/cjs/plugins/data-management-plugin/index.js.map +1 -0
- package/dist/cjs/plugins/emoji/emoji-list.js +16609 -0
- package/dist/cjs/plugins/emoji/emoji-list.js.map +1 -0
- package/dist/cjs/plugins/emoji/index.js +126 -0
- package/dist/cjs/plugins/emoji/index.js.map +1 -0
- package/dist/cjs/plugins/hashtag/index.js +100 -0
- package/dist/cjs/plugins/hashtag/index.js.map +1 -0
- package/dist/cjs/plugins/images/index.js +164 -0
- package/dist/cjs/plugins/images/index.js.map +1 -0
- package/dist/cjs/plugins/images/utils.js +10 -0
- package/dist/cjs/plugins/images/utils.js.map +1 -0
- package/dist/cjs/plugins/link/auto-link.js +21 -0
- package/dist/cjs/plugins/link/auto-link.js.map +1 -0
- package/dist/cjs/plugins/link/convert-selection-on-paste.js +34 -0
- package/dist/cjs/plugins/link/convert-selection-on-paste.js.map +1 -0
- package/dist/cjs/plugins/link/link.js +68 -0
- package/dist/cjs/plugins/link/link.js.map +1 -0
- package/dist/cjs/plugins/mentions/index.js +108 -0
- package/dist/cjs/plugins/mentions/index.js.map +1 -0
- package/dist/cjs/plugins/tab-focus/index.js +54 -0
- package/dist/cjs/plugins/tab-focus/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/_virtual/_commonjsHelpers.js +8 -0
- package/dist/cjs/react-components/dist/es/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/cjs/react-components/dist/es/_virtual/index.js +6 -0
- package/dist/cjs/react-components/dist/es/_virtual/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/_virtual/index2.js +6 -0
- package/dist/cjs/react-components/dist/es/_virtual/index2.js.map +1 -0
- package/dist/cjs/react-components/dist/es/_virtual/react-is.development.js +6 -0
- package/dist/cjs/react-components/dist/es/_virtual/react-is.development.js.map +1 -0
- package/dist/cjs/react-components/dist/es/_virtual/react-is.production.min.js +6 -0
- package/dist/cjs/react-components/dist/es/_virtual/react-is.production.min.js.map +1 -0
- package/dist/cjs/react-components/dist/es/box/box.js +47 -0
- package/dist/cjs/react-components/dist/es/box/box.js.map +1 -0
- package/dist/cjs/react-components/dist/es/button/button.js +774 -0
- package/dist/cjs/react-components/dist/es/button/button.js.map +1 -0
- package/dist/cjs/react-components/dist/es/button/icon-button.js +77 -0
- package/dist/cjs/react-components/dist/es/button/icon-button.js.map +1 -0
- package/dist/cjs/react-components/dist/es/button/side-element.js +199 -0
- package/dist/cjs/react-components/dist/es/button/side-element.js.map +1 -0
- package/dist/cjs/react-components/dist/es/button/utils.js +105 -0
- package/dist/cjs/react-components/dist/es/button/utils.js.map +1 -0
- package/dist/cjs/react-components/dist/es/dialog/dialog.js +197 -0
- package/dist/cjs/react-components/dist/es/dialog/dialog.js.map +1 -0
- package/dist/cjs/react-components/dist/es/dropdown/dropdown.js +195 -0
- package/dist/cjs/react-components/dist/es/dropdown/dropdown.js.map +1 -0
- package/dist/cjs/react-components/dist/es/flex/flex.js +98 -0
- package/dist/cjs/react-components/dist/es/flex/flex.js.map +1 -0
- package/dist/cjs/react-components/dist/es/form-helper-text/form-helper-text.js +76 -0
- package/dist/cjs/react-components/dist/es/form-helper-text/form-helper-text.js.map +1 -0
- package/dist/cjs/react-components/dist/es/form-label/form-label.js +176 -0
- package/dist/cjs/react-components/dist/es/form-label/form-label.js.map +1 -0
- package/dist/cjs/react-components/dist/es/input/form-input.js +159 -0
- package/dist/cjs/react-components/dist/es/input/form-input.js.map +1 -0
- package/dist/cjs/react-components/dist/es/input/input.js +377 -0
- package/dist/cjs/react-components/dist/es/input/input.js.map +1 -0
- package/dist/cjs/react-components/dist/es/link/link.js +58 -0
- package/dist/cjs/react-components/dist/es/link/link.js.map +1 -0
- package/dist/cjs/react-components/dist/es/loader/circle.js +204 -0
- package/dist/cjs/react-components/dist/es/loader/circle.js.map +1 -0
- package/dist/cjs/react-components/dist/es/loader/line.js +130 -0
- package/dist/cjs/react-components/dist/es/loader/line.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js +21 -0
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +14 -0
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +19 -0
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +14 -0
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +788 -0
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +612 -0
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +299 -0
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +146 -0
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js +148 -0
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js +14 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +48 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +71 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +41 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js +102 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +354 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +33 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +234 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +303 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +48 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +229 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js +37 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js +47 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +847 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +309 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +39 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +142 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +65 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +246 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +104 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +509 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +34 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +68 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +40 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +29 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +62 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +58 -0
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/@stitches/react/dist/index.js +9 -0
- package/dist/cjs/react-components/dist/es/node_modules/@stitches/react/dist/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js +134 -0
- package/dist/cjs/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js +19 -0
- package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js +17 -0
- package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js +27 -0
- package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js +11 -0
- package/dist/cjs/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/object-assign/index.js +102 -0
- package/dist/cjs/react-components/dist/es/node_modules/object-assign/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/checkPropTypes.js +118 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +77 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +628 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/index.js +35 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +24 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/has.js +14 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +193 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +29 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js +22 -0
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +34 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +184 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +60 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +24 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +110 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +8 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +12 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +80 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +16 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +35 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +22 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +47 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +54 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js +419 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js +637 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js +10 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/config.js +10 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/config.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js +25 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js +8 -0
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/tslib/tslib.es6.js +55 -0
- package/dist/cjs/react-components/dist/es/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +27 -0
- package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +25 -0
- package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +45 -0
- package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +43 -0
- package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
- package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +80 -0
- package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
- package/dist/cjs/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js +9 -0
- package/dist/cjs/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/cjs/react-components/dist/es/packages/react-icons/dist/es/icons/info.js +97 -0
- package/dist/cjs/react-components/dist/es/packages/react-icons/dist/es/icons/info.js.map +1 -0
- package/dist/cjs/react-components/dist/es/stitches.config.js +392 -0
- package/dist/cjs/react-components/dist/es/stitches.config.js.map +1 -0
- package/dist/cjs/react-components/dist/es/text/text.js +117 -0
- package/dist/cjs/react-components/dist/es/text/text.js.map +1 -0
- package/dist/cjs/react-components/dist/es/tooltip/tooltip.js +156 -0
- package/dist/cjs/react-components/dist/es/tooltip/tooltip.js.map +1 -0
- package/dist/cjs/react-components/dist/es/utils/prefix-class-name.js +10 -0
- package/dist/cjs/react-components/dist/es/utils/prefix-class-name.js.map +1 -0
- package/dist/cjs/react-editor/node_modules/clsx/dist/clsx.js +9 -0
- package/dist/cjs/react-editor/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/cjs/react-editor/node_modules/validator/es/lib/isFQDN.js +75 -0
- package/dist/cjs/react-editor/node_modules/validator/es/lib/isFQDN.js.map +1 -0
- package/dist/cjs/react-editor/node_modules/validator/es/lib/isIP.js +58 -0
- package/dist/cjs/react-editor/node_modules/validator/es/lib/isIP.js.map +1 -0
- package/dist/cjs/react-editor/node_modules/validator/es/lib/isURL.js +163 -0
- package/dist/cjs/react-editor/node_modules/validator/es/lib/isURL.js.map +1 -0
- package/dist/cjs/react-editor/node_modules/validator/es/lib/util/assertString.js +16 -0
- package/dist/cjs/react-editor/node_modules/validator/es/lib/util/assertString.js.map +1 -0
- package/dist/cjs/react-editor/node_modules/validator/es/lib/util/merge.js +17 -0
- package/dist/cjs/react-editor/node_modules/validator/es/lib/util/merge.js.map +1 -0
- package/dist/cjs/react-editor/node_modules/validator/lib/isFQDN.js +93 -0
- package/dist/cjs/react-editor/node_modules/validator/lib/isFQDN.js.map +1 -0
- package/dist/cjs/react-editor/node_modules/validator/lib/isIP.js +75 -0
- package/dist/cjs/react-editor/node_modules/validator/lib/isIP.js.map +1 -0
- package/dist/cjs/react-editor/node_modules/validator/lib/isURL.js +182 -0
- package/dist/cjs/react-editor/node_modules/validator/lib/isURL.js.map +1 -0
- package/dist/cjs/react-editor/node_modules/validator/lib/util/assertString.js +32 -0
- package/dist/cjs/react-editor/node_modules/validator/lib/util/assertString.js.map +1 -0
- package/dist/cjs/react-editor/node_modules/validator/lib/util/merge.js +33 -0
- package/dist/cjs/react-editor/node_modules/validator/lib/util/merge.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/bold.js +86 -0
- package/dist/cjs/react-icons/dist/es/icons/bold.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/close.js +86 -0
- package/dist/cjs/react-icons/dist/es/icons/close.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/code-block.js +78 -0
- package/dist/cjs/react-icons/dist/es/icons/code-block.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/code.js +96 -0
- package/dist/cjs/react-icons/dist/es/icons/code.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/delete.js +116 -0
- package/dist/cjs/react-icons/dist/es/icons/delete.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/italics.js +96 -0
- package/dist/cjs/react-icons/dist/es/icons/italics.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/link.js +86 -0
- package/dist/cjs/react-icons/dist/es/icons/link.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/ordered-list.js +86 -0
- package/dist/cjs/react-icons/dist/es/icons/ordered-list.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/pencil.js +86 -0
- package/dist/cjs/react-icons/dist/es/icons/pencil.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/text-align-center.js +74 -0
- package/dist/cjs/react-icons/dist/es/icons/text-align-center.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/text-align-justify.js +74 -0
- package/dist/cjs/react-icons/dist/es/icons/text-align-justify.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/text-align-left.js +74 -0
- package/dist/cjs/react-icons/dist/es/icons/text-align-left.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/text-align-right.js +74 -0
- package/dist/cjs/react-icons/dist/es/icons/text-align-right.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/text-format.js +78 -0
- package/dist/cjs/react-icons/dist/es/icons/text-format.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/underline.js +77 -0
- package/dist/cjs/react-icons/dist/es/icons/underline.js.map +1 -0
- package/dist/cjs/react-icons/dist/es/icons/unordered-list.js +126 -0
- package/dist/cjs/react-icons/dist/es/icons/unordered-list.js.map +1 -0
- package/dist/cjs/utils/commands.js +8 -0
- package/dist/cjs/utils/commands.js.map +1 -0
- package/dist/cjs/utils/get-dom-range-rect.js +19 -0
- package/dist/cjs/utils/get-dom-range-rect.js.map +1 -0
- package/dist/cjs/utils/get-selected-node.js +21 -0
- package/dist/cjs/utils/get-selected-node.js.map +1 -0
- package/dist/cjs/utils/prefix-class-name.js +10 -0
- package/dist/cjs/utils/prefix-class-name.js.map +1 -0
- package/dist/cjs/utils/set-floating-elem-position-for-link-editor.js +30 -0
- package/dist/cjs/utils/set-floating-elem-position-for-link-editor.js.map +1 -0
- package/dist/cjs/utils/set-floating-elem-position.js +33 -0
- package/dist/cjs/utils/set-floating-elem-position.js.map +1 -0
- package/dist/cjs/utils/use-node-focus.js +35 -0
- package/dist/cjs/utils/use-node-focus.js.map +1 -0
- package/dist/es/_virtual/_commonjsHelpers.js +6 -0
- package/dist/es/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/es/_virtual/assertString.js +4 -0
- package/dist/es/_virtual/assertString.js.map +1 -0
- package/dist/es/_virtual/isFQDN.js +4 -0
- package/dist/es/_virtual/isFQDN.js.map +1 -0
- package/dist/es/_virtual/isIP.js +4 -0
- package/dist/es/_virtual/isIP.js.map +1 -0
- package/dist/es/_virtual/isURL.js +8 -0
- package/dist/es/_virtual/isURL.js.map +1 -0
- package/dist/es/_virtual/isURL2.js +4 -0
- package/dist/es/_virtual/isURL2.js.map +1 -0
- package/dist/es/_virtual/merge.js +4 -0
- package/dist/es/_virtual/merge.js.map +1 -0
- package/dist/es/components/base-dropdown/index.js +173 -0
- package/dist/es/components/base-dropdown/index.js.map +1 -0
- package/dist/es/components/dialog-link-editor/index.js +289 -0
- package/dist/es/components/dialog-link-editor/index.js.map +1 -0
- package/dist/es/components/dialog-link-editor/link-editor-dialog.js +197 -0
- package/dist/es/components/dialog-link-editor/link-editor-dialog.js.map +1 -0
- package/dist/es/components/dialog-link-editor/link-tooltip.js +120 -0
- package/dist/es/components/dialog-link-editor/link-tooltip.js.map +1 -0
- package/dist/es/components/floating-toolbar/floating-toolbar.js +300 -0
- package/dist/es/components/floating-toolbar/floating-toolbar.js.map +1 -0
- package/dist/es/components/rich-editor/index.js +140 -0
- package/dist/es/components/rich-editor/index.js.map +1 -0
- package/dist/es/components/toolbar/toolbar.js +74 -0
- package/dist/es/components/toolbar/toolbar.js.map +1 -0
- package/dist/es/components/toolbar/tools/bold.js +50 -0
- package/dist/es/components/toolbar/tools/bold.js.map +1 -0
- package/dist/es/components/toolbar/tools/code-block.js +77 -0
- package/dist/es/components/toolbar/tools/code-block.js.map +1 -0
- package/dist/es/components/toolbar/tools/code.js +52 -0
- package/dist/es/components/toolbar/tools/code.js.map +1 -0
- package/dist/es/components/toolbar/tools/commons.js +14 -0
- package/dist/es/components/toolbar/tools/commons.js.map +1 -0
- package/dist/es/components/toolbar/tools/format.js +134 -0
- package/dist/es/components/toolbar/tools/format.js.map +1 -0
- package/dist/es/components/toolbar/tools/italic.js +55 -0
- package/dist/es/components/toolbar/tools/italic.js.map +1 -0
- package/dist/es/components/toolbar/tools/link.js +69 -0
- package/dist/es/components/toolbar/tools/link.js.map +1 -0
- package/dist/es/components/toolbar/tools/ordered-list.js +60 -0
- package/dist/es/components/toolbar/tools/ordered-list.js.map +1 -0
- package/dist/es/components/toolbar/tools/text-align.js +80 -0
- package/dist/es/components/toolbar/tools/text-align.js.map +1 -0
- package/dist/es/components/toolbar/tools/underline.js +55 -0
- package/dist/es/components/toolbar/tools/underline.js.map +1 -0
- package/dist/es/components/toolbar/tools/unordered-list.js +60 -0
- package/dist/es/components/toolbar/tools/unordered-list.js.map +1 -0
- package/dist/es/components/toolbar-context/context.js +145 -0
- package/dist/es/components/toolbar-context/context.js.map +1 -0
- package/dist/es/components/toolbar-context/store.js +72 -0
- package/dist/es/components/toolbar-context/store.js.map +1 -0
- package/dist/es/components/toolbar-context/utils.js +4 -0
- package/dist/es/components/toolbar-context/utils.js.map +1 -0
- package/dist/es/editor.js +152 -0
- package/dist/es/editor.js.map +1 -0
- package/dist/es/index.js +34 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/nodes/emoji.js +82 -0
- package/dist/es/nodes/emoji.js.map +1 -0
- package/dist/es/nodes/hashtag.js +105 -0
- package/dist/es/nodes/hashtag.js.map +1 -0
- package/dist/es/nodes/image.js +211 -0
- package/dist/es/nodes/image.js.map +1 -0
- package/dist/es/nodes/kudos.js +106 -0
- package/dist/es/nodes/kudos.js.map +1 -0
- package/dist/es/nodes/mention.js +105 -0
- package/dist/es/nodes/mention.js.map +1 -0
- package/dist/es/nodes/variables.js +105 -0
- package/dist/es/nodes/variables.js.map +1 -0
- package/dist/es/plugins/data-management-plugin/index.js +38 -0
- package/dist/es/plugins/data-management-plugin/index.js.map +1 -0
- package/dist/es/plugins/emoji/emoji-list.js +16605 -0
- package/dist/es/plugins/emoji/emoji-list.js.map +1 -0
- package/dist/es/plugins/emoji/index.js +124 -0
- package/dist/es/plugins/emoji/index.js.map +1 -0
- package/dist/es/plugins/hashtag/index.js +98 -0
- package/dist/es/plugins/hashtag/index.js.map +1 -0
- package/dist/es/plugins/images/index.js +162 -0
- package/dist/es/plugins/images/index.js.map +1 -0
- package/dist/es/plugins/images/utils.js +7 -0
- package/dist/es/plugins/images/utils.js.map +1 -0
- package/dist/es/plugins/link/auto-link.js +19 -0
- package/dist/es/plugins/link/auto-link.js.map +1 -0
- package/dist/es/plugins/link/convert-selection-on-paste.js +32 -0
- package/dist/es/plugins/link/convert-selection-on-paste.js.map +1 -0
- package/dist/es/plugins/link/link.js +66 -0
- package/dist/es/plugins/link/link.js.map +1 -0
- package/dist/es/plugins/mentions/index.js +106 -0
- package/dist/es/plugins/mentions/index.js.map +1 -0
- package/dist/es/plugins/tab-focus/index.js +52 -0
- package/dist/es/plugins/tab-focus/index.js.map +1 -0
- package/dist/es/react-components/dist/es/_virtual/_commonjsHelpers.js +6 -0
- package/dist/es/react-components/dist/es/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/es/react-components/dist/es/_virtual/index.js +4 -0
- package/dist/es/react-components/dist/es/_virtual/index.js.map +1 -0
- package/dist/es/react-components/dist/es/_virtual/index2.js +4 -0
- package/dist/es/react-components/dist/es/_virtual/index2.js.map +1 -0
- package/dist/es/react-components/dist/es/_virtual/react-is.development.js +4 -0
- package/dist/es/react-components/dist/es/_virtual/react-is.development.js.map +1 -0
- package/dist/es/react-components/dist/es/_virtual/react-is.production.min.js +4 -0
- package/dist/es/react-components/dist/es/_virtual/react-is.production.min.js.map +1 -0
- package/dist/es/react-components/dist/es/box/box.js +45 -0
- package/dist/es/react-components/dist/es/box/box.js.map +1 -0
- package/dist/es/react-components/dist/es/button/button.js +772 -0
- package/dist/es/react-components/dist/es/button/button.js.map +1 -0
- package/dist/es/react-components/dist/es/button/icon-button.js +75 -0
- package/dist/es/react-components/dist/es/button/icon-button.js.map +1 -0
- package/dist/es/react-components/dist/es/button/side-element.js +197 -0
- package/dist/es/react-components/dist/es/button/side-element.js.map +1 -0
- package/dist/es/react-components/dist/es/button/utils.js +100 -0
- package/dist/es/react-components/dist/es/button/utils.js.map +1 -0
- package/dist/es/react-components/dist/es/dialog/dialog.js +193 -0
- package/dist/es/react-components/dist/es/dialog/dialog.js.map +1 -0
- package/dist/es/react-components/dist/es/dropdown/dropdown.js +190 -0
- package/dist/es/react-components/dist/es/dropdown/dropdown.js.map +1 -0
- package/dist/es/react-components/dist/es/flex/flex.js +96 -0
- package/dist/es/react-components/dist/es/flex/flex.js.map +1 -0
- package/dist/es/react-components/dist/es/form-helper-text/form-helper-text.js +74 -0
- package/dist/es/react-components/dist/es/form-helper-text/form-helper-text.js.map +1 -0
- package/dist/es/react-components/dist/es/form-label/form-label.js +174 -0
- package/dist/es/react-components/dist/es/form-label/form-label.js.map +1 -0
- package/dist/es/react-components/dist/es/input/form-input.js +157 -0
- package/dist/es/react-components/dist/es/input/form-input.js.map +1 -0
- package/dist/es/react-components/dist/es/input/input.js +374 -0
- package/dist/es/react-components/dist/es/input/input.js.map +1 -0
- package/dist/es/react-components/dist/es/link/link.js +56 -0
- package/dist/es/react-components/dist/es/link/link.js.map +1 -0
- package/dist/es/react-components/dist/es/loader/circle.js +202 -0
- package/dist/es/react-components/dist/es/loader/circle.js.map +1 -0
- package/dist/es/react-components/dist/es/loader/line.js +128 -0
- package/dist/es/react-components/dist/es/loader/line.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js +17 -0
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +10 -0
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +15 -0
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +10 -0
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +777 -0
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +600 -0
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +269 -0
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +123 -0
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js +129 -0
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js +12 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +26 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +69 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +19 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js +80 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +318 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +12 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +212 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +254 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +27 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +208 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js +16 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js +25 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +796 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +280 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +18 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +120 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +42 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +221 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +82 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +476 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +47 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +19 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +8 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +41 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +36 -0
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/@stitches/react/dist/index.js +6 -0
- package/dist/es/react-components/dist/es/node_modules/@stitches/react/dist/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js +132 -0
- package/dist/es/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js +15 -0
- package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js +13 -0
- package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js +23 -0
- package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js +9 -0
- package/dist/es/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/object-assign/index.js +100 -0
- package/dist/es/react-components/dist/es/node_modules/object-assign/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/checkPropTypes.js +116 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +75 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +626 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/index.js +31 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +22 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/lib/has.js +12 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +191 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +27 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js +20 -0
- package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +161 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +39 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +22 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +107 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +57 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +11 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +32 -0
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +20 -0
- package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +26 -0
- package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +52 -0
- package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js +415 -0
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js +628 -0
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js +6 -0
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/config.js +6 -0
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/config.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js +22 -0
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js +6 -0
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/tslib/tslib.es6.js +52 -0
- package/dist/es/react-components/dist/es/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +25 -0
- package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +23 -0
- package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +43 -0
- package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +22 -0
- package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
- package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +78 -0
- package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
- package/dist/es/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js +4 -0
- package/dist/es/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/es/react-components/dist/es/packages/react-icons/dist/es/icons/info.js +95 -0
- package/dist/es/react-components/dist/es/packages/react-icons/dist/es/icons/info.js.map +1 -0
- package/dist/es/react-components/dist/es/stitches.config.js +379 -0
- package/dist/es/react-components/dist/es/stitches.config.js.map +1 -0
- package/dist/es/react-components/dist/es/text/text.js +115 -0
- package/dist/es/react-components/dist/es/text/text.js.map +1 -0
- package/dist/es/react-components/dist/es/tooltip/tooltip.js +153 -0
- package/dist/es/react-components/dist/es/tooltip/tooltip.js.map +1 -0
- package/dist/es/react-components/dist/es/utils/prefix-class-name.js +8 -0
- package/dist/es/react-components/dist/es/utils/prefix-class-name.js.map +1 -0
- package/dist/es/react-editor/node_modules/clsx/dist/clsx.js +4 -0
- package/dist/es/react-editor/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/es/react-editor/node_modules/validator/es/lib/isFQDN.js +71 -0
- package/dist/es/react-editor/node_modules/validator/es/lib/isFQDN.js.map +1 -0
- package/dist/es/react-editor/node_modules/validator/es/lib/isIP.js +54 -0
- package/dist/es/react-editor/node_modules/validator/es/lib/isIP.js.map +1 -0
- package/dist/es/react-editor/node_modules/validator/es/lib/isURL.js +159 -0
- package/dist/es/react-editor/node_modules/validator/es/lib/isURL.js.map +1 -0
- package/dist/es/react-editor/node_modules/validator/es/lib/util/assertString.js +12 -0
- package/dist/es/react-editor/node_modules/validator/es/lib/util/assertString.js.map +1 -0
- package/dist/es/react-editor/node_modules/validator/es/lib/util/merge.js +13 -0
- package/dist/es/react-editor/node_modules/validator/es/lib/util/merge.js.map +1 -0
- package/dist/es/react-editor/node_modules/validator/lib/isFQDN.js +91 -0
- package/dist/es/react-editor/node_modules/validator/lib/isFQDN.js.map +1 -0
- package/dist/es/react-editor/node_modules/validator/lib/isIP.js +73 -0
- package/dist/es/react-editor/node_modules/validator/lib/isIP.js.map +1 -0
- package/dist/es/react-editor/node_modules/validator/lib/isURL.js +180 -0
- package/dist/es/react-editor/node_modules/validator/lib/isURL.js.map +1 -0
- package/dist/es/react-editor/node_modules/validator/lib/util/assertString.js +30 -0
- package/dist/es/react-editor/node_modules/validator/lib/util/assertString.js.map +1 -0
- package/dist/es/react-editor/node_modules/validator/lib/util/merge.js +31 -0
- package/dist/es/react-editor/node_modules/validator/lib/util/merge.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/bold.js +84 -0
- package/dist/es/react-icons/dist/es/icons/bold.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/close.js +84 -0
- package/dist/es/react-icons/dist/es/icons/close.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/code-block.js +76 -0
- package/dist/es/react-icons/dist/es/icons/code-block.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/code.js +94 -0
- package/dist/es/react-icons/dist/es/icons/code.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/delete.js +114 -0
- package/dist/es/react-icons/dist/es/icons/delete.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/italics.js +94 -0
- package/dist/es/react-icons/dist/es/icons/italics.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/link.js +84 -0
- package/dist/es/react-icons/dist/es/icons/link.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/ordered-list.js +84 -0
- package/dist/es/react-icons/dist/es/icons/ordered-list.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/pencil.js +84 -0
- package/dist/es/react-icons/dist/es/icons/pencil.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/text-align-center.js +72 -0
- package/dist/es/react-icons/dist/es/icons/text-align-center.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/text-align-justify.js +72 -0
- package/dist/es/react-icons/dist/es/icons/text-align-justify.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/text-align-left.js +72 -0
- package/dist/es/react-icons/dist/es/icons/text-align-left.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/text-align-right.js +72 -0
- package/dist/es/react-icons/dist/es/icons/text-align-right.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/text-format.js +76 -0
- package/dist/es/react-icons/dist/es/icons/text-format.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/underline.js +75 -0
- package/dist/es/react-icons/dist/es/icons/underline.js.map +1 -0
- package/dist/es/react-icons/dist/es/icons/unordered-list.js +124 -0
- package/dist/es/react-icons/dist/es/icons/unordered-list.js.map +1 -0
- package/dist/es/utils/commands.js +6 -0
- package/dist/es/utils/commands.js.map +1 -0
- package/dist/es/utils/get-dom-range-rect.js +17 -0
- package/dist/es/utils/get-dom-range-rect.js.map +1 -0
- package/dist/es/utils/get-selected-node.js +19 -0
- package/dist/es/utils/get-selected-node.js.map +1 -0
- package/dist/es/utils/prefix-class-name.js +8 -0
- package/dist/es/utils/prefix-class-name.js.map +1 -0
- package/dist/es/utils/set-floating-elem-position-for-link-editor.js +28 -0
- package/dist/es/utils/set-floating-elem-position-for-link-editor.js.map +1 -0
- package/dist/es/utils/set-floating-elem-position.js +31 -0
- package/dist/es/utils/set-floating-elem-position.js.map +1 -0
- package/dist/es/utils/use-node-focus.js +33 -0
- package/dist/es/utils/use-node-focus.js.map +1 -0
- package/dist/index.d.ts +445 -0
- package/package.json +151 -0
package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var zeroGap = {
|
4
|
+
left: 0,
|
5
|
+
top: 0,
|
6
|
+
right: 0,
|
7
|
+
gap: 0,
|
8
|
+
};
|
9
|
+
var parse = function (x) { return parseInt(x || '', 10) || 0; };
|
10
|
+
var getOffset = function (gapMode) {
|
11
|
+
var cs = window.getComputedStyle(document.body);
|
12
|
+
var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];
|
13
|
+
var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];
|
14
|
+
var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];
|
15
|
+
return [parse(left), parse(top), parse(right)];
|
16
|
+
};
|
17
|
+
var getGapWidth = function (gapMode) {
|
18
|
+
if (gapMode === void 0) { gapMode = 'margin'; }
|
19
|
+
if (typeof window === 'undefined') {
|
20
|
+
return zeroGap;
|
21
|
+
}
|
22
|
+
var offsets = getOffset(gapMode);
|
23
|
+
var documentWidth = document.documentElement.clientWidth;
|
24
|
+
var windowWidth = window.innerWidth;
|
25
|
+
return {
|
26
|
+
left: offsets[0],
|
27
|
+
top: offsets[1],
|
28
|
+
right: offsets[2],
|
29
|
+
gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),
|
30
|
+
};
|
31
|
+
};
|
32
|
+
|
33
|
+
exports.getGapWidth = getGapWidth;
|
34
|
+
exports.zeroGap = zeroGap;
|
35
|
+
//# sourceMappingURL=utils.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../../../../../../../../react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nvar getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n\nexport { getGapWidth, zeroGap };\n//# sourceMappingURL=utils.js.map\n"],"names":[],"mappings":";;AAAG,IAAC,OAAO,GAAG;AACd,IAAI,IAAI,EAAE,CAAC;AACX,IAAI,GAAG,EAAE,CAAC;AACV,IAAI,KAAK,EAAE,CAAC;AACZ,IAAI,GAAG,EAAE,CAAC;AACV;AACA,IAAI,KAAK,GAAG,UAAU,CAAC,EAAE,EAAE,OAAO,QAAQ,CAAC,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;AAC/D,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-0,0 +1,22 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var hook = require('./hook.js');
|
4
|
+
|
5
|
+
/**
|
6
|
+
* create a Component to add styles on demand
|
7
|
+
* - styles are added when first instance is mounted
|
8
|
+
* - styles are removed when the last instance is unmounted
|
9
|
+
* - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior
|
10
|
+
*/
|
11
|
+
var styleSingleton = function () {
|
12
|
+
var useStyle = hook.styleHookSingleton();
|
13
|
+
var Sheet = function (_a) {
|
14
|
+
var styles = _a.styles, dynamic = _a.dynamic;
|
15
|
+
useStyle(styles, dynamic);
|
16
|
+
return null;
|
17
|
+
};
|
18
|
+
return Sheet;
|
19
|
+
};
|
20
|
+
|
21
|
+
exports.styleSingleton = styleSingleton;
|
22
|
+
//# sourceMappingURL=component.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../../../../../../../../../../react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js"],"sourcesContent":["import { styleHookSingleton } from './hook.js';\n\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nvar styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n\nexport { styleSingleton };\n//# sourceMappingURL=component.js.map\n"],"names":["styleHookSingleton"],"mappings":";;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACG,IAAC,cAAc,GAAG,YAAY;AACjC,IAAI,IAAI,QAAQ,GAAGA,uBAAkB,EAAE;AACvC,IAAI,IAAI,KAAK,GAAG,UAAU,EAAE,EAAE;AAC9B,QAAQ,IAAI,MAAM,GAAG,EAAE,CAAC,MAAM,EAAE,OAAO,GAAG,EAAE,CAAC,OAAO;AACpD,QAAQ,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;AACjC,QAAQ,OAAO,IAAI;AACnB,KAAK;AACL,IAAI,OAAO,KAAK;AAChB;;;;","x_google_ignoreList":[0]}
|
package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var React = require('react');
|
4
|
+
var singleton = require('./singleton.js');
|
5
|
+
|
6
|
+
function _interopNamespaceDefault(e) {
|
7
|
+
var n = Object.create(null);
|
8
|
+
if (e) {
|
9
|
+
Object.keys(e).forEach(function (k) {
|
10
|
+
if (k !== 'default') {
|
11
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
12
|
+
Object.defineProperty(n, k, d.get ? d : {
|
13
|
+
enumerable: true,
|
14
|
+
get: function () { return e[k]; }
|
15
|
+
});
|
16
|
+
}
|
17
|
+
});
|
18
|
+
}
|
19
|
+
n.default = e;
|
20
|
+
return Object.freeze(n);
|
21
|
+
}
|
22
|
+
|
23
|
+
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
24
|
+
|
25
|
+
/**
|
26
|
+
* creates a hook to control style singleton
|
27
|
+
* @see {@link styleSingleton} for a safer component version
|
28
|
+
* @example
|
29
|
+
* ```tsx
|
30
|
+
* const useStyle = styleHookSingleton();
|
31
|
+
* ///
|
32
|
+
* useStyle('body { overflow: hidden}');
|
33
|
+
*/
|
34
|
+
var styleHookSingleton = function () {
|
35
|
+
var sheet = singleton.stylesheetSingleton();
|
36
|
+
return function (styles, isDynamic) {
|
37
|
+
React__namespace.useEffect(function () {
|
38
|
+
sheet.add(styles);
|
39
|
+
return function () {
|
40
|
+
sheet.remove();
|
41
|
+
};
|
42
|
+
}, [styles && isDynamic]);
|
43
|
+
};
|
44
|
+
};
|
45
|
+
|
46
|
+
exports.styleHookSingleton = styleHookSingleton;
|
47
|
+
//# sourceMappingURL=hook.js.map
|
package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hook.js","sources":["../../../../../../../../../../react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton.js';\n\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nvar styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n\nexport { styleHookSingleton };\n//# sourceMappingURL=hook.js.map\n"],"names":["stylesheetSingleton","React"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG,IAAC,kBAAkB,GAAG,YAAY;AACrC,IAAI,IAAI,KAAK,GAAGA,6BAAmB,EAAE;AACrC,IAAI,OAAO,UAAU,MAAM,EAAE,SAAS,EAAE;AACxC,QAAQC,gBAAK,CAAC,SAAS,CAAC,YAAY;AACpC,YAAY,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC;AAC7B,YAAY,OAAO,YAAY;AAC/B,gBAAgB,KAAK,CAAC,MAAM,EAAE;AAC9B,aAAa;AACb,SAAS,EAAE,CAAC,MAAM,IAAI,SAAS,CAAC,CAAC;AACjC,KAAK;AACL;;;;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var index = require('../../../get-nonce/dist/es2015/index.js');
|
4
|
+
|
5
|
+
function makeStyleTag() {
|
6
|
+
if (!document)
|
7
|
+
return null;
|
8
|
+
var tag = document.createElement('style');
|
9
|
+
tag.type = 'text/css';
|
10
|
+
var nonce = index.getNonce();
|
11
|
+
if (nonce) {
|
12
|
+
tag.setAttribute('nonce', nonce);
|
13
|
+
}
|
14
|
+
return tag;
|
15
|
+
}
|
16
|
+
function injectStyles(tag, css) {
|
17
|
+
// @ts-ignore
|
18
|
+
if (tag.styleSheet) {
|
19
|
+
// @ts-ignore
|
20
|
+
tag.styleSheet.cssText = css;
|
21
|
+
}
|
22
|
+
else {
|
23
|
+
tag.appendChild(document.createTextNode(css));
|
24
|
+
}
|
25
|
+
}
|
26
|
+
function insertStyleTag(tag) {
|
27
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
28
|
+
head.appendChild(tag);
|
29
|
+
}
|
30
|
+
var stylesheetSingleton = function () {
|
31
|
+
var counter = 0;
|
32
|
+
var stylesheet = null;
|
33
|
+
return {
|
34
|
+
add: function (style) {
|
35
|
+
if (counter == 0) {
|
36
|
+
if ((stylesheet = makeStyleTag())) {
|
37
|
+
injectStyles(stylesheet, style);
|
38
|
+
insertStyleTag(stylesheet);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
counter++;
|
42
|
+
},
|
43
|
+
remove: function () {
|
44
|
+
counter--;
|
45
|
+
if (!counter && stylesheet) {
|
46
|
+
stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);
|
47
|
+
stylesheet = null;
|
48
|
+
}
|
49
|
+
},
|
50
|
+
};
|
51
|
+
};
|
52
|
+
|
53
|
+
exports.stylesheetSingleton = stylesheetSingleton;
|
54
|
+
//# sourceMappingURL=singleton.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"singleton.js","sources":["../../../../../../../../../../react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from '../../../get-nonce/dist/es2015/index.js';\n\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nvar stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n\nexport { stylesheetSingleton };\n//# sourceMappingURL=singleton.js.map\n"],"names":["getNonce"],"mappings":";;;;AAEA,SAAS,YAAY,GAAG;AACxB,IAAI,IAAI,CAAC,QAAQ;AACjB,QAAQ,OAAO,IAAI;AACnB,IAAI,IAAI,GAAG,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;AAC7C,IAAI,GAAG,CAAC,IAAI,GAAG,UAAU;AACzB,IAAI,IAAI,KAAK,GAAGA,cAAQ,EAAE;AAC1B,IAAI,IAAI,KAAK,EAAE;AACf,QAAQ,GAAG,CAAC,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC;AACxC;AACA,IAAI,OAAO,GAAG;AACd;AACA,SAAS,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE;AAChC;AACA,IAAI,IAAI,GAAG,CAAC,UAAU,EAAE;AACxB;AACA,QAAQ,GAAG,CAAC,UAAU,CAAC,OAAO,GAAG,GAAG;AACpC;AACA,SAAS;AACT,QAAQ,GAAG,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;AACrD;AACA;AACA,SAAS,cAAc,CAAC,GAAG,EAAE;AAC7B,IAAI,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACxE,IAAI,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC;AACzB;AACG,IAAC,mBAAmB,GAAG,YAAY;AACtC,IAAI,IAAI,OAAO,GAAG,CAAC;AACnB,IAAI,IAAI,UAAU,GAAG,IAAI;AACzB,IAAI,OAAO;AACX,QAAQ,GAAG,EAAE,UAAU,KAAK,EAAE;AAC9B,YAAY,IAAI,OAAO,IAAI,CAAC,EAAE;AAC9B,gBAAgB,KAAK,UAAU,GAAG,YAAY,EAAE,GAAG;AACnD,oBAAoB,YAAY,CAAC,UAAU,EAAE,KAAK,CAAC;AACnD,oBAAoB,cAAc,CAAC,UAAU,CAAC;AAC9C;AACA;AACA,YAAY,OAAO,EAAE;AACrB,SAAS;AACT,QAAQ,MAAM,EAAE,YAAY;AAC5B,YAAY,OAAO,EAAE;AACrB,YAAY,IAAI,CAAC,OAAO,IAAI,UAAU,EAAE;AACxC,gBAAgB,UAAU,CAAC,UAAU,IAAI,UAAU,CAAC,UAAU,CAAC,WAAW,CAAC,UAAU,CAAC;AACtF,gBAAgB,UAAU,GAAG,IAAI;AACjC;AACA,SAAS;AACT,KAAK;AACL;;;;","x_google_ignoreList":[0]}
|
package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js
ADDED
@@ -0,0 +1,419 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
var _extends = require('../../@babel/runtime/helpers/esm/extends.js');
|
6
|
+
var objectWithoutPropertiesLoose = require('../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js');
|
7
|
+
var inheritsLoose = require('../../@babel/runtime/helpers/esm/inheritsLoose.js');
|
8
|
+
var index = require('../../prop-types/index.js');
|
9
|
+
var addClass = require('../../dom-helpers/esm/addClass.js');
|
10
|
+
var removeClass$1 = require('../../dom-helpers/esm/removeClass.js');
|
11
|
+
var React = require('react');
|
12
|
+
var Transition = require('./Transition.js');
|
13
|
+
var PropTypes = require('./utils/PropTypes.js');
|
14
|
+
var reflow = require('./utils/reflow.js');
|
15
|
+
|
16
|
+
var _addClass = function addClass$1(node, classes) {
|
17
|
+
return node && classes && classes.split(' ').forEach(function (c) {
|
18
|
+
return addClass.default(node, c);
|
19
|
+
});
|
20
|
+
};
|
21
|
+
|
22
|
+
var removeClass = function removeClass(node, classes) {
|
23
|
+
return node && classes && classes.split(' ').forEach(function (c) {
|
24
|
+
return removeClass$1.default(node, c);
|
25
|
+
});
|
26
|
+
};
|
27
|
+
/**
|
28
|
+
* A transition component inspired by the excellent
|
29
|
+
* [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should
|
30
|
+
* use it if you're using CSS transitions or animations. It's built upon the
|
31
|
+
* [`Transition`](https://reactcommunity.org/react-transition-group/transition)
|
32
|
+
* component, so it inherits all of its props.
|
33
|
+
*
|
34
|
+
* `CSSTransition` applies a pair of class names during the `appear`, `enter`,
|
35
|
+
* and `exit` states of the transition. The first class is applied and then a
|
36
|
+
* second `*-active` class in order to activate the CSS transition. After the
|
37
|
+
* transition, matching `*-done` class names are applied to persist the
|
38
|
+
* transition state.
|
39
|
+
*
|
40
|
+
* ```jsx
|
41
|
+
* function App() {
|
42
|
+
* const [inProp, setInProp] = useState(false);
|
43
|
+
* return (
|
44
|
+
* <div>
|
45
|
+
* <CSSTransition in={inProp} timeout={200} classNames="my-node">
|
46
|
+
* <div>
|
47
|
+
* {"I'll receive my-node-* classes"}
|
48
|
+
* </div>
|
49
|
+
* </CSSTransition>
|
50
|
+
* <button type="button" onClick={() => setInProp(true)}>
|
51
|
+
* Click to Enter
|
52
|
+
* </button>
|
53
|
+
* </div>
|
54
|
+
* );
|
55
|
+
* }
|
56
|
+
* ```
|
57
|
+
*
|
58
|
+
* When the `in` prop is set to `true`, the child component will first receive
|
59
|
+
* the class `example-enter`, then the `example-enter-active` will be added in
|
60
|
+
* the next tick. `CSSTransition` [forces a
|
61
|
+
* reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)
|
62
|
+
* between before adding the `example-enter-active`. This is an important trick
|
63
|
+
* because it allows us to transition between `example-enter` and
|
64
|
+
* `example-enter-active` even though they were added immediately one after
|
65
|
+
* another. Most notably, this is what makes it possible for us to animate
|
66
|
+
* _appearance_.
|
67
|
+
*
|
68
|
+
* ```css
|
69
|
+
* .my-node-enter {
|
70
|
+
* opacity: 0;
|
71
|
+
* }
|
72
|
+
* .my-node-enter-active {
|
73
|
+
* opacity: 1;
|
74
|
+
* transition: opacity 200ms;
|
75
|
+
* }
|
76
|
+
* .my-node-exit {
|
77
|
+
* opacity: 1;
|
78
|
+
* }
|
79
|
+
* .my-node-exit-active {
|
80
|
+
* opacity: 0;
|
81
|
+
* transition: opacity 200ms;
|
82
|
+
* }
|
83
|
+
* ```
|
84
|
+
*
|
85
|
+
* `*-active` classes represent which styles you want to animate **to**, so it's
|
86
|
+
* important to add `transition` declaration only to them, otherwise transitions
|
87
|
+
* might not behave as intended! This might not be obvious when the transitions
|
88
|
+
* are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in
|
89
|
+
* the example above (minus `transition`), but it becomes apparent in more
|
90
|
+
* complex transitions.
|
91
|
+
*
|
92
|
+
* **Note**: If you're using the
|
93
|
+
* [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)
|
94
|
+
* prop, make sure to define styles for `.appear-*` classes as well.
|
95
|
+
*/
|
96
|
+
|
97
|
+
|
98
|
+
var CSSTransition = /*#__PURE__*/function (_React$Component) {
|
99
|
+
inheritsLoose.default(CSSTransition, _React$Component);
|
100
|
+
|
101
|
+
function CSSTransition() {
|
102
|
+
var _this;
|
103
|
+
|
104
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
105
|
+
args[_key] = arguments[_key];
|
106
|
+
}
|
107
|
+
|
108
|
+
_this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
|
109
|
+
_this.appliedClasses = {
|
110
|
+
appear: {},
|
111
|
+
enter: {},
|
112
|
+
exit: {}
|
113
|
+
};
|
114
|
+
|
115
|
+
_this.onEnter = function (maybeNode, maybeAppearing) {
|
116
|
+
var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),
|
117
|
+
node = _this$resolveArgument[0],
|
118
|
+
appearing = _this$resolveArgument[1];
|
119
|
+
|
120
|
+
_this.removeClasses(node, 'exit');
|
121
|
+
|
122
|
+
_this.addClass(node, appearing ? 'appear' : 'enter', 'base');
|
123
|
+
|
124
|
+
if (_this.props.onEnter) {
|
125
|
+
_this.props.onEnter(maybeNode, maybeAppearing);
|
126
|
+
}
|
127
|
+
};
|
128
|
+
|
129
|
+
_this.onEntering = function (maybeNode, maybeAppearing) {
|
130
|
+
var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),
|
131
|
+
node = _this$resolveArgument2[0],
|
132
|
+
appearing = _this$resolveArgument2[1];
|
133
|
+
|
134
|
+
var type = appearing ? 'appear' : 'enter';
|
135
|
+
|
136
|
+
_this.addClass(node, type, 'active');
|
137
|
+
|
138
|
+
if (_this.props.onEntering) {
|
139
|
+
_this.props.onEntering(maybeNode, maybeAppearing);
|
140
|
+
}
|
141
|
+
};
|
142
|
+
|
143
|
+
_this.onEntered = function (maybeNode, maybeAppearing) {
|
144
|
+
var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),
|
145
|
+
node = _this$resolveArgument3[0],
|
146
|
+
appearing = _this$resolveArgument3[1];
|
147
|
+
|
148
|
+
var type = appearing ? 'appear' : 'enter';
|
149
|
+
|
150
|
+
_this.removeClasses(node, type);
|
151
|
+
|
152
|
+
_this.addClass(node, type, 'done');
|
153
|
+
|
154
|
+
if (_this.props.onEntered) {
|
155
|
+
_this.props.onEntered(maybeNode, maybeAppearing);
|
156
|
+
}
|
157
|
+
};
|
158
|
+
|
159
|
+
_this.onExit = function (maybeNode) {
|
160
|
+
var _this$resolveArgument4 = _this.resolveArguments(maybeNode),
|
161
|
+
node = _this$resolveArgument4[0];
|
162
|
+
|
163
|
+
_this.removeClasses(node, 'appear');
|
164
|
+
|
165
|
+
_this.removeClasses(node, 'enter');
|
166
|
+
|
167
|
+
_this.addClass(node, 'exit', 'base');
|
168
|
+
|
169
|
+
if (_this.props.onExit) {
|
170
|
+
_this.props.onExit(maybeNode);
|
171
|
+
}
|
172
|
+
};
|
173
|
+
|
174
|
+
_this.onExiting = function (maybeNode) {
|
175
|
+
var _this$resolveArgument5 = _this.resolveArguments(maybeNode),
|
176
|
+
node = _this$resolveArgument5[0];
|
177
|
+
|
178
|
+
_this.addClass(node, 'exit', 'active');
|
179
|
+
|
180
|
+
if (_this.props.onExiting) {
|
181
|
+
_this.props.onExiting(maybeNode);
|
182
|
+
}
|
183
|
+
};
|
184
|
+
|
185
|
+
_this.onExited = function (maybeNode) {
|
186
|
+
var _this$resolveArgument6 = _this.resolveArguments(maybeNode),
|
187
|
+
node = _this$resolveArgument6[0];
|
188
|
+
|
189
|
+
_this.removeClasses(node, 'exit');
|
190
|
+
|
191
|
+
_this.addClass(node, 'exit', 'done');
|
192
|
+
|
193
|
+
if (_this.props.onExited) {
|
194
|
+
_this.props.onExited(maybeNode);
|
195
|
+
}
|
196
|
+
};
|
197
|
+
|
198
|
+
_this.resolveArguments = function (maybeNode, maybeAppearing) {
|
199
|
+
return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`
|
200
|
+
: [maybeNode, maybeAppearing];
|
201
|
+
};
|
202
|
+
|
203
|
+
_this.getClassNames = function (type) {
|
204
|
+
var classNames = _this.props.classNames;
|
205
|
+
var isStringClassNames = typeof classNames === 'string';
|
206
|
+
var prefix = isStringClassNames && classNames ? classNames + "-" : '';
|
207
|
+
var baseClassName = isStringClassNames ? "" + prefix + type : classNames[type];
|
208
|
+
var activeClassName = isStringClassNames ? baseClassName + "-active" : classNames[type + "Active"];
|
209
|
+
var doneClassName = isStringClassNames ? baseClassName + "-done" : classNames[type + "Done"];
|
210
|
+
return {
|
211
|
+
baseClassName: baseClassName,
|
212
|
+
activeClassName: activeClassName,
|
213
|
+
doneClassName: doneClassName
|
214
|
+
};
|
215
|
+
};
|
216
|
+
|
217
|
+
return _this;
|
218
|
+
}
|
219
|
+
|
220
|
+
var _proto = CSSTransition.prototype;
|
221
|
+
|
222
|
+
_proto.addClass = function addClass(node, type, phase) {
|
223
|
+
var className = this.getClassNames(type)[phase + "ClassName"];
|
224
|
+
|
225
|
+
var _this$getClassNames = this.getClassNames('enter'),
|
226
|
+
doneClassName = _this$getClassNames.doneClassName;
|
227
|
+
|
228
|
+
if (type === 'appear' && phase === 'done' && doneClassName) {
|
229
|
+
className += " " + doneClassName;
|
230
|
+
} // This is to force a repaint,
|
231
|
+
// which is necessary in order to transition styles when adding a class name.
|
232
|
+
|
233
|
+
|
234
|
+
if (phase === 'active') {
|
235
|
+
if (node) reflow.forceReflow(node);
|
236
|
+
}
|
237
|
+
|
238
|
+
if (className) {
|
239
|
+
this.appliedClasses[type][phase] = className;
|
240
|
+
|
241
|
+
_addClass(node, className);
|
242
|
+
}
|
243
|
+
};
|
244
|
+
|
245
|
+
_proto.removeClasses = function removeClasses(node, type) {
|
246
|
+
var _this$appliedClasses$ = this.appliedClasses[type],
|
247
|
+
baseClassName = _this$appliedClasses$.base,
|
248
|
+
activeClassName = _this$appliedClasses$.active,
|
249
|
+
doneClassName = _this$appliedClasses$.done;
|
250
|
+
this.appliedClasses[type] = {};
|
251
|
+
|
252
|
+
if (baseClassName) {
|
253
|
+
removeClass(node, baseClassName);
|
254
|
+
}
|
255
|
+
|
256
|
+
if (activeClassName) {
|
257
|
+
removeClass(node, activeClassName);
|
258
|
+
}
|
259
|
+
|
260
|
+
if (doneClassName) {
|
261
|
+
removeClass(node, doneClassName);
|
262
|
+
}
|
263
|
+
};
|
264
|
+
|
265
|
+
_proto.render = function render() {
|
266
|
+
var _this$props = this.props;
|
267
|
+
_this$props.classNames;
|
268
|
+
var props = objectWithoutPropertiesLoose.default(_this$props, ["classNames"]);
|
269
|
+
|
270
|
+
return /*#__PURE__*/React.createElement(Transition.default, _extends.default({}, props, {
|
271
|
+
onEnter: this.onEnter,
|
272
|
+
onEntered: this.onEntered,
|
273
|
+
onEntering: this.onEntering,
|
274
|
+
onExit: this.onExit,
|
275
|
+
onExiting: this.onExiting,
|
276
|
+
onExited: this.onExited
|
277
|
+
}));
|
278
|
+
};
|
279
|
+
|
280
|
+
return CSSTransition;
|
281
|
+
}(React.Component);
|
282
|
+
|
283
|
+
CSSTransition.defaultProps = {
|
284
|
+
classNames: ''
|
285
|
+
};
|
286
|
+
CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends.default({}, Transition.default.propTypes, {
|
287
|
+
/**
|
288
|
+
* The animation classNames applied to the component as it appears, enters,
|
289
|
+
* exits or has finished the transition. A single name can be provided, which
|
290
|
+
* will be suffixed for each stage, e.g. `classNames="fade"` applies:
|
291
|
+
*
|
292
|
+
* - `fade-appear`, `fade-appear-active`, `fade-appear-done`
|
293
|
+
* - `fade-enter`, `fade-enter-active`, `fade-enter-done`
|
294
|
+
* - `fade-exit`, `fade-exit-active`, `fade-exit-done`
|
295
|
+
*
|
296
|
+
* A few details to note about how these classes are applied:
|
297
|
+
*
|
298
|
+
* 1. They are _joined_ with the ones that are already defined on the child
|
299
|
+
* component, so if you want to add some base styles, you can use
|
300
|
+
* `className` without worrying that it will be overridden.
|
301
|
+
*
|
302
|
+
* 2. If the transition component mounts with `in={false}`, no classes are
|
303
|
+
* applied yet. You might be expecting `*-exit-done`, but if you think
|
304
|
+
* about it, a component cannot finish exiting if it hasn't entered yet.
|
305
|
+
*
|
306
|
+
* 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This
|
307
|
+
* allows you to define different behavior for when appearing is done and
|
308
|
+
* when regular entering is done, using selectors like
|
309
|
+
* `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply
|
310
|
+
* an epic entrance animation when element first appears in the DOM using
|
311
|
+
* [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can
|
312
|
+
* simply use `fade-enter-done` for defining both cases.
|
313
|
+
*
|
314
|
+
* Each individual classNames can also be specified independently like:
|
315
|
+
*
|
316
|
+
* ```js
|
317
|
+
* classNames={{
|
318
|
+
* appear: 'my-appear',
|
319
|
+
* appearActive: 'my-active-appear',
|
320
|
+
* appearDone: 'my-done-appear',
|
321
|
+
* enter: 'my-enter',
|
322
|
+
* enterActive: 'my-active-enter',
|
323
|
+
* enterDone: 'my-done-enter',
|
324
|
+
* exit: 'my-exit',
|
325
|
+
* exitActive: 'my-active-exit',
|
326
|
+
* exitDone: 'my-done-exit',
|
327
|
+
* }}
|
328
|
+
* ```
|
329
|
+
*
|
330
|
+
* If you want to set these classes using CSS Modules:
|
331
|
+
*
|
332
|
+
* ```js
|
333
|
+
* import styles from './styles.css';
|
334
|
+
* ```
|
335
|
+
*
|
336
|
+
* you might want to use camelCase in your CSS file, that way could simply
|
337
|
+
* spread them instead of listing them one by one:
|
338
|
+
*
|
339
|
+
* ```js
|
340
|
+
* classNames={{ ...styles }}
|
341
|
+
* ```
|
342
|
+
*
|
343
|
+
* @type {string | {
|
344
|
+
* appear?: string,
|
345
|
+
* appearActive?: string,
|
346
|
+
* appearDone?: string,
|
347
|
+
* enter?: string,
|
348
|
+
* enterActive?: string,
|
349
|
+
* enterDone?: string,
|
350
|
+
* exit?: string,
|
351
|
+
* exitActive?: string,
|
352
|
+
* exitDone?: string,
|
353
|
+
* }}
|
354
|
+
*/
|
355
|
+
classNames: PropTypes.classNamesShape,
|
356
|
+
|
357
|
+
/**
|
358
|
+
* A `<Transition>` callback fired immediately after the 'enter' or 'appear' class is
|
359
|
+
* applied.
|
360
|
+
*
|
361
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
362
|
+
*
|
363
|
+
* @type Function(node: HtmlElement, isAppearing: bool)
|
364
|
+
*/
|
365
|
+
onEnter: index.default.func,
|
366
|
+
|
367
|
+
/**
|
368
|
+
* A `<Transition>` callback fired immediately after the 'enter-active' or
|
369
|
+
* 'appear-active' class is applied.
|
370
|
+
*
|
371
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
372
|
+
*
|
373
|
+
* @type Function(node: HtmlElement, isAppearing: bool)
|
374
|
+
*/
|
375
|
+
onEntering: index.default.func,
|
376
|
+
|
377
|
+
/**
|
378
|
+
* A `<Transition>` callback fired immediately after the 'enter' or
|
379
|
+
* 'appear' classes are **removed** and the `done` class is added to the DOM node.
|
380
|
+
*
|
381
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
382
|
+
*
|
383
|
+
* @type Function(node: HtmlElement, isAppearing: bool)
|
384
|
+
*/
|
385
|
+
onEntered: index.default.func,
|
386
|
+
|
387
|
+
/**
|
388
|
+
* A `<Transition>` callback fired immediately after the 'exit' class is
|
389
|
+
* applied.
|
390
|
+
*
|
391
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
392
|
+
*
|
393
|
+
* @type Function(node: HtmlElement)
|
394
|
+
*/
|
395
|
+
onExit: index.default.func,
|
396
|
+
|
397
|
+
/**
|
398
|
+
* A `<Transition>` callback fired immediately after the 'exit-active' is applied.
|
399
|
+
*
|
400
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
401
|
+
*
|
402
|
+
* @type Function(node: HtmlElement)
|
403
|
+
*/
|
404
|
+
onExiting: index.default.func,
|
405
|
+
|
406
|
+
/**
|
407
|
+
* A `<Transition>` callback fired immediately after the 'exit' classes
|
408
|
+
* are **removed** and the `exit-done` class is added to the DOM node.
|
409
|
+
*
|
410
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
411
|
+
*
|
412
|
+
* @type Function(node: HtmlElement)
|
413
|
+
*/
|
414
|
+
onExited: index.default.func
|
415
|
+
}) : {};
|
416
|
+
var CSSTransition$1 = CSSTransition;
|
417
|
+
|
418
|
+
exports.default = CSSTransition$1;
|
419
|
+
//# sourceMappingURL=CSSTransition.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CSSTransition.js","sources":["../../../../../../../../../react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js"],"sourcesContent":["import _extends from '../../@babel/runtime/helpers/esm/extends.js';\nimport _objectWithoutPropertiesLoose from '../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js';\nimport _inheritsLoose from '../../@babel/runtime/helpers/esm/inheritsLoose.js';\nimport PropTypes from '../../prop-types/index.js';\nimport addClass from '../../dom-helpers/esm/addClass.js';\nimport removeClass$1 from '../../dom-helpers/esm/removeClass.js';\nimport React__default from 'react';\nimport Transition from './Transition.js';\nimport { classNamesShape } from './utils/PropTypes.js';\nimport { forceReflow } from './utils/reflow.js';\n\nvar _addClass = function addClass$1(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return addClass(node, c);\n });\n};\n\nvar removeClass = function removeClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return removeClass$1(node, c);\n });\n};\n/**\n * A transition component inspired by the excellent\n * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should\n * use it if you're using CSS transitions or animations. It's built upon the\n * [`Transition`](https://reactcommunity.org/react-transition-group/transition)\n * component, so it inherits all of its props.\n *\n * `CSSTransition` applies a pair of class names during the `appear`, `enter`,\n * and `exit` states of the transition. The first class is applied and then a\n * second `*-active` class in order to activate the CSS transition. After the\n * transition, matching `*-done` class names are applied to persist the\n * transition state.\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <CSSTransition in={inProp} timeout={200} classNames=\"my-node\">\n * <div>\n * {\"I'll receive my-node-* classes\"}\n * </div>\n * </CSSTransition>\n * <button type=\"button\" onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the `in` prop is set to `true`, the child component will first receive\n * the class `example-enter`, then the `example-enter-active` will be added in\n * the next tick. `CSSTransition` [forces a\n * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)\n * between before adding the `example-enter-active`. This is an important trick\n * because it allows us to transition between `example-enter` and\n * `example-enter-active` even though they were added immediately one after\n * another. Most notably, this is what makes it possible for us to animate\n * _appearance_.\n *\n * ```css\n * .my-node-enter {\n * opacity: 0;\n * }\n * .my-node-enter-active {\n * opacity: 1;\n * transition: opacity 200ms;\n * }\n * .my-node-exit {\n * opacity: 1;\n * }\n * .my-node-exit-active {\n * opacity: 0;\n * transition: opacity 200ms;\n * }\n * ```\n *\n * `*-active` classes represent which styles you want to animate **to**, so it's\n * important to add `transition` declaration only to them, otherwise transitions\n * might not behave as intended! This might not be obvious when the transitions\n * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in\n * the example above (minus `transition`), but it becomes apparent in more\n * complex transitions.\n *\n * **Note**: If you're using the\n * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)\n * prop, make sure to define styles for `.appear-*` classes as well.\n */\n\n\nvar CSSTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(CSSTransition, _React$Component);\n\n function CSSTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.appliedClasses = {\n appear: {},\n enter: {},\n exit: {}\n };\n\n _this.onEnter = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument[0],\n appearing = _this$resolveArgument[1];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, appearing ? 'appear' : 'enter', 'base');\n\n if (_this.props.onEnter) {\n _this.props.onEnter(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntering = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument2[0],\n appearing = _this$resolveArgument2[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.addClass(node, type, 'active');\n\n if (_this.props.onEntering) {\n _this.props.onEntering(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntered = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument3[0],\n appearing = _this$resolveArgument3[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.removeClasses(node, type);\n\n _this.addClass(node, type, 'done');\n\n if (_this.props.onEntered) {\n _this.props.onEntered(maybeNode, maybeAppearing);\n }\n };\n\n _this.onExit = function (maybeNode) {\n var _this$resolveArgument4 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument4[0];\n\n _this.removeClasses(node, 'appear');\n\n _this.removeClasses(node, 'enter');\n\n _this.addClass(node, 'exit', 'base');\n\n if (_this.props.onExit) {\n _this.props.onExit(maybeNode);\n }\n };\n\n _this.onExiting = function (maybeNode) {\n var _this$resolveArgument5 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument5[0];\n\n _this.addClass(node, 'exit', 'active');\n\n if (_this.props.onExiting) {\n _this.props.onExiting(maybeNode);\n }\n };\n\n _this.onExited = function (maybeNode) {\n var _this$resolveArgument6 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument6[0];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, 'exit', 'done');\n\n if (_this.props.onExited) {\n _this.props.onExited(maybeNode);\n }\n };\n\n _this.resolveArguments = function (maybeNode, maybeAppearing) {\n return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`\n : [maybeNode, maybeAppearing];\n };\n\n _this.getClassNames = function (type) {\n var classNames = _this.props.classNames;\n var isStringClassNames = typeof classNames === 'string';\n var prefix = isStringClassNames && classNames ? classNames + \"-\" : '';\n var baseClassName = isStringClassNames ? \"\" + prefix + type : classNames[type];\n var activeClassName = isStringClassNames ? baseClassName + \"-active\" : classNames[type + \"Active\"];\n var doneClassName = isStringClassNames ? baseClassName + \"-done\" : classNames[type + \"Done\"];\n return {\n baseClassName: baseClassName,\n activeClassName: activeClassName,\n doneClassName: doneClassName\n };\n };\n\n return _this;\n }\n\n var _proto = CSSTransition.prototype;\n\n _proto.addClass = function addClass(node, type, phase) {\n var className = this.getClassNames(type)[phase + \"ClassName\"];\n\n var _this$getClassNames = this.getClassNames('enter'),\n doneClassName = _this$getClassNames.doneClassName;\n\n if (type === 'appear' && phase === 'done' && doneClassName) {\n className += \" \" + doneClassName;\n } // This is to force a repaint,\n // which is necessary in order to transition styles when adding a class name.\n\n\n if (phase === 'active') {\n if (node) forceReflow(node);\n }\n\n if (className) {\n this.appliedClasses[type][phase] = className;\n\n _addClass(node, className);\n }\n };\n\n _proto.removeClasses = function removeClasses(node, type) {\n var _this$appliedClasses$ = this.appliedClasses[type],\n baseClassName = _this$appliedClasses$.base,\n activeClassName = _this$appliedClasses$.active,\n doneClassName = _this$appliedClasses$.done;\n this.appliedClasses[type] = {};\n\n if (baseClassName) {\n removeClass(node, baseClassName);\n }\n\n if (activeClassName) {\n removeClass(node, activeClassName);\n }\n\n if (doneClassName) {\n removeClass(node, doneClassName);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props;\n _this$props.classNames;\n var props = _objectWithoutPropertiesLoose(_this$props, [\"classNames\"]);\n\n return /*#__PURE__*/React__default.createElement(Transition, _extends({}, props, {\n onEnter: this.onEnter,\n onEntered: this.onEntered,\n onEntering: this.onEntering,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }));\n };\n\n return CSSTransition;\n}(React__default.Component);\n\nCSSTransition.defaultProps = {\n classNames: ''\n};\nCSSTransition.propTypes = process.env.NODE_ENV !== \"production\" ? _extends({}, Transition.propTypes, {\n /**\n * The animation classNames applied to the component as it appears, enters,\n * exits or has finished the transition. A single name can be provided, which\n * will be suffixed for each stage, e.g. `classNames=\"fade\"` applies:\n *\n * - `fade-appear`, `fade-appear-active`, `fade-appear-done`\n * - `fade-enter`, `fade-enter-active`, `fade-enter-done`\n * - `fade-exit`, `fade-exit-active`, `fade-exit-done`\n *\n * A few details to note about how these classes are applied:\n *\n * 1. They are _joined_ with the ones that are already defined on the child\n * component, so if you want to add some base styles, you can use\n * `className` without worrying that it will be overridden.\n *\n * 2. If the transition component mounts with `in={false}`, no classes are\n * applied yet. You might be expecting `*-exit-done`, but if you think\n * about it, a component cannot finish exiting if it hasn't entered yet.\n *\n * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This\n * allows you to define different behavior for when appearing is done and\n * when regular entering is done, using selectors like\n * `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply\n * an epic entrance animation when element first appears in the DOM using\n * [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can\n * simply use `fade-enter-done` for defining both cases.\n *\n * Each individual classNames can also be specified independently like:\n *\n * ```js\n * classNames={{\n * appear: 'my-appear',\n * appearActive: 'my-active-appear',\n * appearDone: 'my-done-appear',\n * enter: 'my-enter',\n * enterActive: 'my-active-enter',\n * enterDone: 'my-done-enter',\n * exit: 'my-exit',\n * exitActive: 'my-active-exit',\n * exitDone: 'my-done-exit',\n * }}\n * ```\n *\n * If you want to set these classes using CSS Modules:\n *\n * ```js\n * import styles from './styles.css';\n * ```\n *\n * you might want to use camelCase in your CSS file, that way could simply\n * spread them instead of listing them one by one:\n *\n * ```js\n * classNames={{ ...styles }}\n * ```\n *\n * @type {string | {\n * appear?: string,\n * appearActive?: string,\n * appearDone?: string,\n * enter?: string,\n * enterActive?: string,\n * enterDone?: string,\n * exit?: string,\n * exitActive?: string,\n * exitDone?: string,\n * }}\n */\n classNames: classNamesShape,\n\n /**\n * A `<Transition>` callback fired immediately after the 'enter' or 'appear' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEnter: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'enter-active' or\n * 'appear-active' class is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'enter' or\n * 'appear' classes are **removed** and the `done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntered: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'exit' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExit: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'exit-active' is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExiting: PropTypes.func,\n\n /**\n * A `<Transition>` callback fired immediately after the 'exit' classes\n * are **removed** and the `exit-done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExited: PropTypes.func\n}) : {};\nvar CSSTransition$1 = CSSTransition;\n\nexport { CSSTransition$1 as default };\n//# sourceMappingURL=CSSTransition.js.map\n"],"names":["addClass","removeClass$1","_inheritsLoose","forceReflow","_objectWithoutPropertiesLoose","React__default","Transition","_extends","classNamesShape","PropTypes"],"mappings":";;;;;;;;;;;;;;;AAWA,IAAI,SAAS,GAAG,SAAS,UAAU,CAAC,IAAI,EAAE,OAAO,EAAE;AACnD,EAAE,OAAO,IAAI,IAAI,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;AACpE,IAAI,OAAOA,gBAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AAC5B,GAAG,CAAC;AACJ,CAAC;;AAED,IAAI,WAAW,GAAG,SAAS,WAAW,CAAC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AG;AAC7B,EAAE,UAAU,EAAE;AACd,CAAC;AACD,aAAa,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,GAAGE,gBAAQ,CAAC,EAAE,EAAED,kBAAU,CAAC,SAAS,EAAE;AACrG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,UAAU,EAAEE,yBAAe;;AAE7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,OAAO,EAAEC,aAAS,CAAC,IAAI;;AAEzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,UAAU,EAAEA,aAAS,CAAC,IAAI;;AAE5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,SAAS,EAAEA,aAAS,CAAC,IAAI;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,MAAM,EAAEA,aAAS,CAAC,IAAI;;AAExB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,SAAS,EAAEA,aAAS,CAAC,IAAI;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,QAAQ,EAAEA,aAAS,CAAC;AACtB,CAAC,CAAC,GAAG,EAAE;AACJ,IAAC,eAAe,GAAG;;;;","x_google_ignoreList":[0]}
|