@gct-paas/core-web 0.1.4-dev.0 → 0.1.4-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-Bpd2MFJC.js +33732 -0
- package/dist/index-CwxW5OnC.js +98 -0
- package/dist/index-vFQ1naj3.cjs +98 -0
- package/dist/index.esm.min.mjs +41 -0
- package/dist/index.min.cjs +1 -20
- package/dist/index.min.css +1 -0
- package/dist/index.system.min.js +1 -20
- package/dist/monaco-editor-5rbNTIph.cjs +19 -0
- package/dist/monaco-editor-DHkSqfaq.js +19 -0
- package/dist/monaco-editor-DYUIGpkZ.js +20245 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/components/app-modal/app-modal-component.css +149 -0
- package/es/components/app-modal/app-modal-component.d.ts +26 -0
- package/es/components/app-modal/app-modal-component.mjs +140 -0
- package/es/components/assets-svg-icon/assets-svg-icon.css +188 -0
- package/es/components/assets-svg-icon/assets-svg-icon.d.ts +134 -0
- package/es/components/assets-svg-icon/assets-svg-icon.mjs +238 -0
- package/es/components/assets-svg-icon/request.d.ts +2 -0
- package/es/components/assets-svg-icon/request.mjs +51 -0
- package/es/components/assets-svg-icon/utils.d.ts +9 -0
- package/es/components/assets-svg-icon/utils.mjs +21 -0
- package/es/components/assets-svg-icon/validate.d.ts +4 -0
- package/es/components/assets-svg-icon/validate.mjs +43 -0
- package/es/components/base-button/base-button.css +74 -0
- package/es/components/base-button/base-button.vue.d.ts +173 -0
- package/es/components/base-button/base-button.vue.mjs +7 -0
- package/es/components/base-button/base-button.vue3.mjs +179 -0
- package/es/components/basic-button/basic-button.css +25 -0
- package/es/components/basic-button/basic-button.vue.d.ts +100 -0
- package/es/components/basic-button/basic-button.vue.mjs +7 -0
- package/es/components/basic-button/basic-button.vue3.mjs +130 -0
- package/es/components/code-editor/code-editor.css +67 -0
- package/es/components/code-editor/code-editor.d.ts +2 -5
- package/es/components/code-editor/code-editor.mjs +16 -22
- package/es/components/copy-module-key/copy-module-key.css +24 -0
- package/es/components/copy-module-key/copy-module-key.vue.d.ts +74 -0
- package/es/components/copy-module-key/copy-module-key.vue.mjs +7 -0
- package/es/components/copy-module-key/copy-module-key.vue3.mjs +104 -0
- package/es/components/double-input/double-input.vue.d.ts +49 -0
- package/es/components/double-input/double-input.vue.mjs +158 -0
- package/es/components/double-input/double-input.vue2.mjs +5 -0
- package/es/components/index.d.ts +13 -0
- package/es/components/index.mjs +25 -6
- package/es/components/layout/flex-container/flex-container.css +67 -0
- package/es/components/layout/flex-container/flex-container.mjs +13 -9
- package/es/components/layout/flex-item/flex-item.mjs +11 -9
- package/es/components/layout/grid-container/grid-container.mjs +11 -7
- package/es/components/layout/view-container/view-container.css +83 -0
- package/es/components/layout/view-container/view-container.mjs +6 -7
- package/es/components/svg-icon/svg-icon.css +73 -0
- package/es/components/svg-icon/svg-icon.vue.d.ts +40 -0
- package/es/components/svg-icon/svg-icon.vue.mjs +50 -0
- package/es/components/svg-icon/svg-icon.vue3.mjs +6 -0
- package/es/components/wujie-container/wujie-container.css +74 -0
- package/es/components/wujie-container/wujie-container.d.ts +11 -0
- package/es/components/wujie-container/wujie-container.mjs +84 -0
- package/es/create-app-vue.d.ts +9 -0
- package/es/create-app-vue.mjs +17 -0
- package/es/directives/drag-resize.d.ts +4 -0
- package/es/directives/drag-resize.mjs +42 -0
- package/es/directives/index.d.ts +8 -0
- package/es/directives/index.mjs +9 -0
- package/es/directives/target-loading.d.ts +4 -0
- package/es/directives/target-loading.mjs +40 -0
- package/es/editor/gct-form-check-switch/gct-form-check-switch.d.ts +1 -1
- package/es/editor/gct-form-i18n/gct-form-i18n.d.ts +1 -1
- package/es/editor/gct-form-info/gct-form-info.d.ts +1 -1
- package/es/editor/gct-form-length-unit/gct-form-length-unit.d.ts +1 -1
- package/es/editor/gct-form-number/gct-form-number.d.ts +1 -1
- package/es/editor/gct-form-radio/gct-form-radio.d.ts +1 -1
- package/es/editor/gct-form-select/gct-form-select.d.ts +1 -1
- package/es/editor/gct-form-switch/gct-form-switch.d.ts +1 -1
- package/es/editor/gct-form-textarea/gct-form-textarea.d.ts +1 -1
- package/es/hooks/index.d.ts +3 -0
- package/es/hooks/useDragLine.d.ts +6 -0
- package/es/hooks/useDragLine.mjs +78 -0
- package/es/hooks/useLocale.d.ts +4 -0
- package/es/hooks/useLocale.mjs +32 -0
- package/es/hooks/useTheme.d.ts +8 -0
- package/es/hooks/useTheme.mjs +20 -0
- package/es/index.d.ts +9 -7
- package/es/index.mjs +41 -23
- package/es/modules/code-editor/index.d.ts +163 -0
- package/es/modules/code-editor/index.mjs +8 -0
- package/es/modules/code-editor/monaco-editor.css +49 -0
- package/es/modules/code-editor/monaco-editor.vue.d.ts +143 -0
- package/es/modules/code-editor/monaco-editor.vue.mjs +7 -0
- package/es/modules/code-editor/monaco-editor.vue2.mjs +440 -0
- package/es/modules/code-editor/useEditorConsole.d.ts +54 -0
- package/es/modules/code-editor/useEditorConsole.mjs +194 -0
- package/es/modules/code-editor/useMonacoEditor.d.ts +26 -0
- package/es/modules/code-editor/useMonacoEditor.mjs +26 -0
- package/es/modules/color-picker/index.d.ts +2 -0
- package/es/modules/color-picker/src/ColorPicker.css +16 -0
- package/es/modules/color-picker/src/ColorPicker.vue.d.ts +49 -0
- package/es/modules/color-picker/src/ColorPicker.vue.mjs +8 -0
- package/es/modules/color-picker/src/ColorPicker.vue2.mjs +545 -0
- package/es/modules/color-picker/src/ColorPicker2.css +156 -0
- package/es/modules/formula-editor/constants/index.d.ts +7 -0
- package/es/modules/formula-editor/constants/index.mjs +8 -0
- package/es/modules/formula-editor/formula-editor.d.ts +10 -0
- package/es/modules/formula-editor/formula-editor.mjs +55 -0
- package/es/modules/formula-editor/index.d.ts +4 -0
- package/es/modules/formula-editor/interface/i-formula-editor-options/i-formula-editor-options.d.ts +47 -0
- package/es/modules/formula-editor/interface/i-formula-result/i-formula-result.d.ts +20 -0
- package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.css +72 -0
- package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.d.ts +37 -0
- package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.mjs +195 -0
- package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.css +79 -0
- package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.d.ts +29 -0
- package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.mjs +98 -0
- package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.css +70 -0
- package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.d.ts +50 -0
- package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.mjs +239 -0
- package/es/modules/gct-dnd/constants/index.d.ts +22 -0
- package/es/modules/gct-dnd/constants/index.mjs +20 -0
- package/es/modules/gct-dnd/index.d.ts +5 -0
- package/es/modules/gct-dnd/interface/i-gct-dnd-config.d.ts +101 -0
- package/es/modules/gct-dnd/interface/i-gct-dnd-data.d.ts +14 -0
- package/es/modules/gct-dnd/interface/i-gct-dnd-render-item-options.d.ts +28 -0
- package/es/modules/gct-dnd/interface/i-gct-drag-collect.d.ts +24 -0
- package/es/modules/gct-dnd/interface/i-gct-drag-dnd-data.d.ts +51 -0
- package/es/modules/gct-dnd/interface/i-gct-drop-collect.d.ts +32 -0
- package/es/modules/gct-dnd/interface/i-gct-drop-result.d.ts +47 -0
- package/es/modules/gct-dnd/interface/index.d.ts +7 -0
- package/es/modules/global-modal/index.d.ts +5 -0
- package/es/modules/global-modal/index.mjs +16 -0
- package/es/modules/global-modal/src/BasicModal.vue.d.ts +518 -0
- package/es/modules/global-modal/src/BasicModal.vue.mjs +221 -0
- package/es/modules/global-modal/src/BasicModal.vue2.mjs +5 -0
- package/es/modules/global-modal/src/components/GlboalModal.d.ts +251 -0
- package/es/modules/global-modal/src/components/GlboalModal.mjs +40 -0
- package/es/modules/global-modal/src/components/ModalClose.css +95 -0
- package/es/modules/global-modal/src/components/ModalClose.vue.d.ts +27 -0
- package/es/modules/global-modal/src/components/ModalClose.vue.mjs +79 -0
- package/es/modules/global-modal/src/components/ModalClose.vue3.mjs +6 -0
- package/es/modules/global-modal/src/components/ModalFooter.vue.d.ts +270 -0
- package/es/modules/global-modal/src/components/ModalFooter.vue.mjs +44 -0
- package/es/modules/global-modal/src/components/ModalFooter.vue2.mjs +5 -0
- package/es/modules/global-modal/src/components/ModalHeader.vue.d.ts +17 -0
- package/es/modules/global-modal/src/components/ModalHeader.vue.mjs +11 -0
- package/es/modules/global-modal/src/components/ModalHeader.vue2.mjs +13 -0
- package/es/modules/global-modal/src/components/ModalWrapper.vue.d.ts +95 -0
- package/es/modules/global-modal/src/components/ModalWrapper.vue.mjs +26 -0
- package/es/modules/global-modal/src/components/ModalWrapper.vue2.mjs +136 -0
- package/es/modules/global-modal/src/hooks/useModal.d.ts +6 -0
- package/es/modules/global-modal/src/hooks/useModal.mjs +120 -0
- package/es/modules/global-modal/src/hooks/useModalContext.d.ts +5 -0
- package/es/modules/global-modal/src/hooks/useModalContext.mjs +11 -0
- package/es/modules/global-modal/src/hooks/useModalDrag.d.ts +7 -0
- package/es/modules/global-modal/src/hooks/useModalDrag.mjs +82 -0
- package/es/modules/global-modal/src/hooks/useModalFullScreen.d.ts +11 -0
- package/es/modules/global-modal/src/hooks/useModalFullScreen.mjs +16 -0
- package/es/modules/global-modal/src/index.css +153 -0
- package/es/modules/global-modal/src/props.d.ts +156 -0
- package/es/modules/global-modal/src/props.mjs +57 -0
- package/es/modules/global-modal/src/typing.d.ts +174 -0
- package/es/modules/target-loading/index.d.ts +4 -0
- package/es/modules/target-loading/src/createLoading.d.ts +13 -0
- package/es/modules/target-loading/src/createLoading.mjs +57 -0
- package/es/modules/target-loading/src/target-loading.css +18 -0
- package/es/modules/target-loading/src/target-loading.vue.d.ts +57 -0
- package/es/modules/target-loading/src/target-loading.vue.mjs +52 -0
- package/es/modules/target-loading/src/target-loading.vue3.mjs +7 -0
- package/es/modules/target-loading/src/typing.d.ts +9 -0
- package/es/modules/target-loading/src/useLoading.d.ts +9 -0
- package/es/setup-app.d.ts +1 -0
- package/es/setup-app.mjs +4 -0
- package/es/types/index.d.ts +191 -1
- package/es/utils/index.d.ts +4 -0
- package/es/utils/message-util/message-util.d.ts +7 -0
- package/es/utils/message-util/message-util.mjs +26 -0
- package/es/utils/monaco-loader/monaco-loader.d.ts +59 -0
- package/es/utils/monaco-loader/monaco-loader.mjs +88 -0
- package/es/utils/overlay-controller/overlay-controller.d.ts +18 -0
- package/es/utils/overlay-controller/overlay-controller.mjs +23 -0
- package/es/utils/with-install.d.ts +14 -0
- package/es/utils/with-install.mjs +13 -0
- package/es/widgets/gct-edit-form/gct-edit-form.d.ts +1 -1
- package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.d.ts +1 -1
- package/package.json +26 -14
- package/dist/core-web.css +0 -1
- package/es/_virtual/_commonjsHelpers.mjs +0 -44
- package/es/_virtual/node.mjs +0 -7
- package/es/_virtual/node2.mjs +0 -3
- package/es/components/code-editor/code-editor.scss +0 -3
- package/es/components/layout/flex-container/flex-container.scss +0 -3
- package/es/components/layout/flex-item/flex-item.scss +0 -17
- package/es/components/layout/view-container/view-container.scss +0 -19
- package/es/editor/gct-form-check-switch/gct-form-check-switch.mjs +0 -53
- package/es/editor/gct-form-check-switch/gct-form-check-switch.provider.mjs +0 -6
- package/es/editor/gct-form-check-switch/gct-form-check-switch.scss +0 -10
- package/es/editor/gct-form-check-switch/index.mjs +0 -12
- package/es/editor/gct-form-checkbox/gct-form-checkbox.mjs +0 -70
- package/es/editor/gct-form-checkbox/gct-form-checkbox.scss +0 -56
- package/es/editor/gct-form-checkbox/index.mjs +0 -19
- package/es/editor/gct-form-color/gct-form-color.mjs +0 -45
- package/es/editor/gct-form-color/gct-form-color.provider.mjs +0 -6
- package/es/editor/gct-form-color/gct-form-color.scss +0 -3
- package/es/editor/gct-form-color/index.mjs +0 -17
- package/es/editor/gct-form-field-select/gct-form-field-select.mjs +0 -48
- package/es/editor/gct-form-field-select/gct-form-field-select.provider.mjs +0 -6
- package/es/editor/gct-form-field-select/gct-form-field-select.scss +0 -7
- package/es/editor/gct-form-field-select/gct-model-select.vue +0 -70
- package/es/editor/gct-form-field-select/index.mjs +0 -12
- package/es/editor/gct-form-i18n/gct-form-i18n.mjs +0 -62
- package/es/editor/gct-form-i18n/gct-form-i18n.provider.mjs +0 -6
- package/es/editor/gct-form-i18n/index.mjs +0 -12
- package/es/editor/gct-form-icon-select/gct-form-icon-select.mjs +0 -74
- package/es/editor/gct-form-icon-select/gct-form-icon-select.scss +0 -14
- package/es/editor/gct-form-icon-select/index.mjs +0 -14
- package/es/editor/gct-form-info/gct-form-info.mjs +0 -40
- package/es/editor/gct-form-info/gct-form-info.scss +0 -8
- package/es/editor/gct-form-info/index.mjs +0 -14
- package/es/editor/gct-form-length-unit/gct-form-length-unit.mjs +0 -43
- package/es/editor/gct-form-length-unit/gct-form-length-unit.provider.mjs +0 -6
- package/es/editor/gct-form-length-unit/index.mjs +0 -12
- package/es/editor/gct-form-modal-select/gct-form-modal-select.mjs +0 -99
- package/es/editor/gct-form-modal-select/gct-form-modal-select.provider.mjs +0 -6
- package/es/editor/gct-form-modal-select/gct-form-modal-select.scss +0 -7
- package/es/editor/gct-form-modal-select/index.mjs +0 -12
- package/es/editor/gct-form-number/gct-form-number.mjs +0 -44
- package/es/editor/gct-form-number/gct-form-number.provider.mjs +0 -6
- package/es/editor/gct-form-number/gct-form-number.scss +0 -3
- package/es/editor/gct-form-number/index.mjs +0 -17
- package/es/editor/gct-form-picker/gct-form-picker.mjs +0 -92
- package/es/editor/gct-form-picker/gct-form-picker.provider.mjs +0 -6
- package/es/editor/gct-form-picker/index.mjs +0 -12
- package/es/editor/gct-form-radio/gct-form-radio.mjs +0 -70
- package/es/editor/gct-form-radio/gct-form-radio.scss +0 -68
- package/es/editor/gct-form-radio/index.mjs +0 -19
- package/es/editor/gct-form-select/gct-form-select.mjs +0 -50
- package/es/editor/gct-form-select/gct-form-select.provider.mjs +0 -6
- package/es/editor/gct-form-select/index.mjs +0 -12
- package/es/editor/gct-form-span/gct-form-span.mjs +0 -89
- package/es/editor/gct-form-span/gct-form-span.provider.mjs +0 -6
- package/es/editor/gct-form-span/gct-form-span.scss +0 -10
- package/es/editor/gct-form-span/index.mjs +0 -12
- package/es/editor/gct-form-switch/gct-form-switch.mjs +0 -35
- package/es/editor/gct-form-switch/gct-form-switch.provider.mjs +0 -6
- package/es/editor/gct-form-switch/index.mjs +0 -17
- package/es/editor/gct-form-text/gct-form-text.mjs +0 -45
- package/es/editor/gct-form-text/gct-form-text.provider.mjs +0 -6
- package/es/editor/gct-form-text/index.mjs +0 -17
- package/es/editor/gct-form-textarea/gct-form-textarea.mjs +0 -40
- package/es/editor/gct-form-textarea/gct-form-textarea.provider.mjs +0 -6
- package/es/editor/gct-form-textarea/index.mjs +0 -12
- package/es/editor/index.mjs +0 -51
- package/es/node_modules/.pnpm/@aesoper_normal-utils@0.1.5/node_modules/@aesoper/normal-utils/NormalUtils.es.mjs +0 -3
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/_virtual/_rollupPluginBabelHelpers.mjs +0 -142
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/config/index.mjs +0 -7
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/index.mjs +0 -1
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/loader/index.mjs +0 -188
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/compose.mjs +0 -13
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/curry.mjs +0 -19
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/deepMerge.mjs +0 -14
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/isObject.mjs +0 -5
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/makeCancelable.mjs +0 -20
- package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/validators/index.mjs +0 -49
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/createPopper.mjs +0 -200
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/contains.mjs +0 -26
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.mjs +0 -44
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.mjs +0 -72
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.mjs +0 -60
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.mjs +0 -7
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.mjs +0 -9
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.mjs +0 -32
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.mjs +0 -8
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.mjs +0 -28
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.mjs +0 -5
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.mjs +0 -14
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.mjs +0 -71
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.mjs +0 -22
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.mjs +0 -19
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.mjs +0 -34
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.mjs +0 -14
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.mjs +0 -13
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.mjs +0 -16
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.mjs +0 -23
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.mjs +0 -7
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.mjs +0 -13
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isTableElement.mjs +0 -7
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.mjs +0 -29
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/enums.mjs +0 -33
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/index.mjs +0 -5
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/applyStyles.mjs +0 -87
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/arrow.mjs +0 -92
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/computeStyles.mjs +0 -171
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/eventListeners.mjs +0 -51
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/flip.mjs +0 -149
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/hide.mjs +0 -63
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/index.mjs +0 -9
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/offset.mjs +0 -56
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/popperOffsets.mjs +0 -27
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/preventOverflow.mjs +0 -144
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/popper-lite.mjs +0 -12
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/popper.mjs +0 -19
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.mjs +0 -46
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/computeOffsets.mjs +0 -73
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/debounce.mjs +0 -17
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.mjs +0 -67
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/expandToHashMap.mjs +0 -8
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getAltAxis.mjs +0 -5
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.mjs +0 -7
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getFreshSideObject.mjs +0 -10
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.mjs +0 -5
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositePlacement.mjs +0 -13
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.mjs +0 -11
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.mjs +0 -5
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/math.mjs +0 -5
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/mergeByName.mjs +0 -16
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/mergePaddingObject.mjs +0 -7
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/orderModifiers.mjs +0 -46
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/rectToClientRect.mjs +0 -10
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/userAgent.mjs +0 -13
- package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/within.mjs +0 -11
- package/es/node_modules/.pnpm/@vueuse_core@10.11.1_vue@3.5.13_typescript@5.8.3_/node_modules/@vueuse/core/index.mjs +0 -7487
- package/es/node_modules/.pnpm/@vueuse_shared@10.11.1_vue@3.5.13_typescript@5.8.3_/node_modules/@vueuse/shared/index.mjs +0 -1576
- package/es/node_modules/.pnpm/gradient-parser@1.0.2/node_modules/gradient-parser/build/node.mjs +0 -528
- package/es/node_modules/.pnpm/state-local@1.0.7/node_modules/state-local/lib/es/state-local.mjs +0 -193
- package/es/node_modules/.pnpm/tinycolor2@1.6.0/node_modules/tinycolor2/esm/tinycolor.mjs +0 -1180
- package/es/node_modules/.pnpm/vue-demi@0.14.10_vue@3.5.13_typescript@5.8.3_/node_modules/vue-demi/lib/index.mjs +0 -29
- package/es/node_modules/.pnpm/vue-types@3.0.2_vue@3.5.13_typescript@5.8.3_/node_modules/vue-types/dist/vue-types.m.mjs +0 -3
- package/es/node_modules/.pnpm/vue3-colorpicker@2.3.0_@aesoper_normal-utils@0.1.5_@popperjs_core@2.11.8_@vueuse_core@1_9cfe46f6a11310063dbf07d888abdb76/node_modules/vue3-colorpicker/index.es.mjs +0 -1815
- package/es/vite-env.d.ts +0 -1
- package/es/widgets/gct-edit-form/gct-edit-form.mjs +0 -126
- package/es/widgets/gct-edit-form/index.mjs +0 -10
- package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.mjs +0 -73
- package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.scss +0 -62
- package/es/widgets/gct-form/gct-form-collapse/index.mjs +0 -15
- package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.mjs +0 -71
- package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.mjs +0 -13
- package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.scss +0 -23
- package/es/widgets/gct-form/gct-form-collapse-pane/index.mjs +0 -15
- package/es/widgets/gct-form/gct-form-group/gct-form-group.mjs +0 -88
- package/es/widgets/gct-form/gct-form-group/gct-form-group.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-group/gct-form-group.scss +0 -28
- package/es/widgets/gct-form/gct-form-group/index.mjs +0 -15
- package/es/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.mjs +0 -13
- package/es/widgets/gct-form/gct-form-item/gct-form-item.mjs +0 -141
- package/es/widgets/gct-form/gct-form-item/gct-form-item.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-item/gct-form-item.scss +0 -115
- package/es/widgets/gct-form/gct-form-tab/gct-form-tab.mjs +0 -53
- package/es/widgets/gct-form/gct-form-tab/gct-form-tab.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-tab/gct-form-tab.scss +0 -63
- package/es/widgets/gct-form/gct-form-tab/index.mjs +0 -12
- package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.mjs +0 -65
- package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.scss +0 -16
- package/es/widgets/gct-form/gct-form-tab-pane/index.mjs +0 -15
- package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.mjs +0 -71
- package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.mjs +0 -11
- package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.scss +0 -25
- package/es/widgets/gct-form/gct-form-title-group/index.mjs +0 -16
- package/es/widgets/gct-form/gct-form.mjs +0 -110
- package/es/widgets/gct-form/gct-form.scss +0 -11
- package/es/widgets/gct-form/index.mjs +0 -31
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { isHTMLElement, isElement } from './instanceOf.mjs';
|
|
2
|
-
import { round } from '../utils/math.mjs';
|
|
3
|
-
import getWindow from './getWindow.mjs';
|
|
4
|
-
import isLayoutViewport from './isLayoutViewport.mjs';
|
|
5
|
-
|
|
6
|
-
function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
|
7
|
-
if (includeScale === void 0) {
|
|
8
|
-
includeScale = false;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
if (isFixedStrategy === void 0) {
|
|
12
|
-
isFixedStrategy = false;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
var clientRect = element.getBoundingClientRect();
|
|
16
|
-
var scaleX = 1;
|
|
17
|
-
var scaleY = 1;
|
|
18
|
-
|
|
19
|
-
if (includeScale && isHTMLElement(element)) {
|
|
20
|
-
scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;
|
|
21
|
-
scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
var _ref = isElement(element) ? getWindow(element) : window,
|
|
25
|
-
visualViewport = _ref.visualViewport;
|
|
26
|
-
|
|
27
|
-
var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
|
|
28
|
-
var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
|
|
29
|
-
var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
|
|
30
|
-
var width = clientRect.width / scaleX;
|
|
31
|
-
var height = clientRect.height / scaleY;
|
|
32
|
-
return {
|
|
33
|
-
width: width,
|
|
34
|
-
height: height,
|
|
35
|
-
top: y,
|
|
36
|
-
right: x + width,
|
|
37
|
-
bottom: y + height,
|
|
38
|
-
left: x,
|
|
39
|
-
x: x,
|
|
40
|
-
y: y
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export { getBoundingClientRect as default };
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { viewport } from '../enums.mjs';
|
|
2
|
-
import getViewportRect from './getViewportRect.mjs';
|
|
3
|
-
import getDocumentRect from './getDocumentRect.mjs';
|
|
4
|
-
import listScrollParents from './listScrollParents.mjs';
|
|
5
|
-
import getOffsetParent from './getOffsetParent.mjs';
|
|
6
|
-
import getDocumentElement from './getDocumentElement.mjs';
|
|
7
|
-
import getComputedStyle from './getComputedStyle.mjs';
|
|
8
|
-
import { isElement, isHTMLElement } from './instanceOf.mjs';
|
|
9
|
-
import getBoundingClientRect from './getBoundingClientRect.mjs';
|
|
10
|
-
import getParentNode from './getParentNode.mjs';
|
|
11
|
-
import contains from './contains.mjs';
|
|
12
|
-
import getNodeName from './getNodeName.mjs';
|
|
13
|
-
import rectToClientRect from '../utils/rectToClientRect.mjs';
|
|
14
|
-
import { max, min } from '../utils/math.mjs';
|
|
15
|
-
|
|
16
|
-
function getInnerBoundingClientRect(element, strategy) {
|
|
17
|
-
var rect = getBoundingClientRect(element, false, strategy === 'fixed');
|
|
18
|
-
rect.top = rect.top + element.clientTop;
|
|
19
|
-
rect.left = rect.left + element.clientLeft;
|
|
20
|
-
rect.bottom = rect.top + element.clientHeight;
|
|
21
|
-
rect.right = rect.left + element.clientWidth;
|
|
22
|
-
rect.width = element.clientWidth;
|
|
23
|
-
rect.height = element.clientHeight;
|
|
24
|
-
rect.x = rect.left;
|
|
25
|
-
rect.y = rect.top;
|
|
26
|
-
return rect;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function getClientRectFromMixedType(element, clippingParent, strategy) {
|
|
30
|
-
return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
31
|
-
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
32
|
-
// clipping (or hiding) overflowing elements with a position different from
|
|
33
|
-
// `initial`
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
function getClippingParents(element) {
|
|
37
|
-
var clippingParents = listScrollParents(getParentNode(element));
|
|
38
|
-
var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;
|
|
39
|
-
var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
|
|
40
|
-
|
|
41
|
-
if (!isElement(clipperElement)) {
|
|
42
|
-
return [];
|
|
43
|
-
} // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
return clippingParents.filter(function (clippingParent) {
|
|
47
|
-
return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
48
|
-
});
|
|
49
|
-
} // Gets the maximum area that the element is visible in due to any number of
|
|
50
|
-
// clipping parents
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
function getClippingRect(element, boundary, rootBoundary, strategy) {
|
|
54
|
-
var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
|
|
55
|
-
var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
|
|
56
|
-
var firstClippingParent = clippingParents[0];
|
|
57
|
-
var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
|
|
58
|
-
var rect = getClientRectFromMixedType(element, clippingParent, strategy);
|
|
59
|
-
accRect.top = max(rect.top, accRect.top);
|
|
60
|
-
accRect.right = min(rect.right, accRect.right);
|
|
61
|
-
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
62
|
-
accRect.left = max(rect.left, accRect.left);
|
|
63
|
-
return accRect;
|
|
64
|
-
}, getClientRectFromMixedType(element, firstClippingParent, strategy));
|
|
65
|
-
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
66
|
-
clippingRect.height = clippingRect.bottom - clippingRect.top;
|
|
67
|
-
clippingRect.x = clippingRect.left;
|
|
68
|
-
clippingRect.y = clippingRect.top;
|
|
69
|
-
return clippingRect;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export { getClippingRect as default };
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import getBoundingClientRect from './getBoundingClientRect.mjs';
|
|
2
|
-
import getNodeScroll from './getNodeScroll.mjs';
|
|
3
|
-
import getNodeName from './getNodeName.mjs';
|
|
4
|
-
import { isHTMLElement } from './instanceOf.mjs';
|
|
5
|
-
import getWindowScrollBarX from './getWindowScrollBarX.mjs';
|
|
6
|
-
import getDocumentElement from './getDocumentElement.mjs';
|
|
7
|
-
import isScrollParent from './isScrollParent.mjs';
|
|
8
|
-
import { round } from '../utils/math.mjs';
|
|
9
|
-
|
|
10
|
-
function isElementScaled(element) {
|
|
11
|
-
var rect = element.getBoundingClientRect();
|
|
12
|
-
var scaleX = round(rect.width) / element.offsetWidth || 1;
|
|
13
|
-
var scaleY = round(rect.height) / element.offsetHeight || 1;
|
|
14
|
-
return scaleX !== 1 || scaleY !== 1;
|
|
15
|
-
} // Returns the composite rect of an element relative to its offsetParent.
|
|
16
|
-
// Composite means it takes into account transforms as well as layout.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
20
|
-
if (isFixed === void 0) {
|
|
21
|
-
isFixed = false;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
25
|
-
var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
|
26
|
-
var documentElement = getDocumentElement(offsetParent);
|
|
27
|
-
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);
|
|
28
|
-
var scroll = {
|
|
29
|
-
scrollLeft: 0,
|
|
30
|
-
scrollTop: 0
|
|
31
|
-
};
|
|
32
|
-
var offsets = {
|
|
33
|
-
x: 0,
|
|
34
|
-
y: 0
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
38
|
-
if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078
|
|
39
|
-
isScrollParent(documentElement)) {
|
|
40
|
-
scroll = getNodeScroll(offsetParent);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
if (isHTMLElement(offsetParent)) {
|
|
44
|
-
offsets = getBoundingClientRect(offsetParent, true);
|
|
45
|
-
offsets.x += offsetParent.clientLeft;
|
|
46
|
-
offsets.y += offsetParent.clientTop;
|
|
47
|
-
} else if (documentElement) {
|
|
48
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
return {
|
|
53
|
-
x: rect.left + scroll.scrollLeft - offsets.x,
|
|
54
|
-
y: rect.top + scroll.scrollTop - offsets.y,
|
|
55
|
-
width: rect.width,
|
|
56
|
-
height: rect.height
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export { getCompositeRect as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { isElement } from './instanceOf.mjs';
|
|
2
|
-
|
|
3
|
-
function getDocumentElement(element) {
|
|
4
|
-
// $FlowFixMe[incompatible-return]: assume body is always available
|
|
5
|
-
return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]
|
|
6
|
-
element.document) || window.document).documentElement;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export { getDocumentElement as default };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import getDocumentElement from './getDocumentElement.mjs';
|
|
2
|
-
import getComputedStyle from './getComputedStyle.mjs';
|
|
3
|
-
import getWindowScrollBarX from './getWindowScrollBarX.mjs';
|
|
4
|
-
import getWindowScroll from './getWindowScroll.mjs';
|
|
5
|
-
import { max } from '../utils/math.mjs';
|
|
6
|
-
|
|
7
|
-
// of the `<html>` and `<body>` rect bounds if horizontally scrollable
|
|
8
|
-
|
|
9
|
-
function getDocumentRect(element) {
|
|
10
|
-
var _element$ownerDocumen;
|
|
11
|
-
|
|
12
|
-
var html = getDocumentElement(element);
|
|
13
|
-
var winScroll = getWindowScroll(element);
|
|
14
|
-
var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
|
|
15
|
-
var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
16
|
-
var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
17
|
-
var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
|
|
18
|
-
var y = -winScroll.scrollTop;
|
|
19
|
-
|
|
20
|
-
if (getComputedStyle(body || html).direction === 'rtl') {
|
|
21
|
-
x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
return {
|
|
25
|
-
width: width,
|
|
26
|
-
height: height,
|
|
27
|
-
x: x,
|
|
28
|
-
y: y
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { getDocumentRect as default };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import getBoundingClientRect from './getBoundingClientRect.mjs';
|
|
2
|
-
|
|
3
|
-
// means it doesn't take into account transforms.
|
|
4
|
-
|
|
5
|
-
function getLayoutRect(element) {
|
|
6
|
-
var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
|
|
7
|
-
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
|
8
|
-
|
|
9
|
-
var width = element.offsetWidth;
|
|
10
|
-
var height = element.offsetHeight;
|
|
11
|
-
|
|
12
|
-
if (Math.abs(clientRect.width - width) <= 1) {
|
|
13
|
-
width = clientRect.width;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
if (Math.abs(clientRect.height - height) <= 1) {
|
|
17
|
-
height = clientRect.height;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
return {
|
|
21
|
-
x: element.offsetLeft,
|
|
22
|
-
y: element.offsetTop,
|
|
23
|
-
width: width,
|
|
24
|
-
height: height
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export { getLayoutRect as default };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import getWindowScroll from './getWindowScroll.mjs';
|
|
2
|
-
import getWindow from './getWindow.mjs';
|
|
3
|
-
import { isHTMLElement } from './instanceOf.mjs';
|
|
4
|
-
import getHTMLElementScroll from './getHTMLElementScroll.mjs';
|
|
5
|
-
|
|
6
|
-
function getNodeScroll(node) {
|
|
7
|
-
if (node === getWindow(node) || !isHTMLElement(node)) {
|
|
8
|
-
return getWindowScroll(node);
|
|
9
|
-
} else {
|
|
10
|
-
return getHTMLElementScroll(node);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { getNodeScroll as default };
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import getWindow from './getWindow.mjs';
|
|
2
|
-
import getNodeName from './getNodeName.mjs';
|
|
3
|
-
import getComputedStyle from './getComputedStyle.mjs';
|
|
4
|
-
import { isHTMLElement, isShadowRoot } from './instanceOf.mjs';
|
|
5
|
-
import isTableElement from './isTableElement.mjs';
|
|
6
|
-
import getParentNode from './getParentNode.mjs';
|
|
7
|
-
import getUAString from '../utils/userAgent.mjs';
|
|
8
|
-
|
|
9
|
-
function getTrueOffsetParent(element) {
|
|
10
|
-
if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837
|
|
11
|
-
getComputedStyle(element).position === 'fixed') {
|
|
12
|
-
return null;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
return element.offsetParent;
|
|
16
|
-
} // `.offsetParent` reports `null` for fixed elements, while absolute elements
|
|
17
|
-
// return the containing block
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
function getContainingBlock(element) {
|
|
21
|
-
var isFirefox = /firefox/i.test(getUAString());
|
|
22
|
-
var isIE = /Trident/i.test(getUAString());
|
|
23
|
-
|
|
24
|
-
if (isIE && isHTMLElement(element)) {
|
|
25
|
-
// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
|
|
26
|
-
var elementCss = getComputedStyle(element);
|
|
27
|
-
|
|
28
|
-
if (elementCss.position === 'fixed') {
|
|
29
|
-
return null;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
var currentNode = getParentNode(element);
|
|
34
|
-
|
|
35
|
-
if (isShadowRoot(currentNode)) {
|
|
36
|
-
currentNode = currentNode.host;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
|
|
40
|
-
var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that
|
|
41
|
-
// create a containing block.
|
|
42
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
43
|
-
|
|
44
|
-
if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {
|
|
45
|
-
return currentNode;
|
|
46
|
-
} else {
|
|
47
|
-
currentNode = currentNode.parentNode;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
return null;
|
|
52
|
-
} // Gets the closest ancestor positioned element. Handles some edge cases,
|
|
53
|
-
// such as table ancestors and cross browser bugs.
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
function getOffsetParent(element) {
|
|
57
|
-
var window = getWindow(element);
|
|
58
|
-
var offsetParent = getTrueOffsetParent(element);
|
|
59
|
-
|
|
60
|
-
while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
|
|
61
|
-
offsetParent = getTrueOffsetParent(offsetParent);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {
|
|
65
|
-
return window;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return offsetParent || getContainingBlock(element) || window;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export { getOffsetParent as default };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import getNodeName from './getNodeName.mjs';
|
|
2
|
-
import getDocumentElement from './getDocumentElement.mjs';
|
|
3
|
-
import { isShadowRoot } from './instanceOf.mjs';
|
|
4
|
-
|
|
5
|
-
function getParentNode(element) {
|
|
6
|
-
if (getNodeName(element) === 'html') {
|
|
7
|
-
return element;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
11
|
-
// $FlowFixMe[incompatible-return]
|
|
12
|
-
// $FlowFixMe[prop-missing]
|
|
13
|
-
element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
14
|
-
element.parentNode || ( // DOM Element detected
|
|
15
|
-
isShadowRoot(element) ? element.host : null) || // ShadowRoot detected
|
|
16
|
-
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
17
|
-
getDocumentElement(element) // fallback
|
|
18
|
-
|
|
19
|
-
);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export { getParentNode as default };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import getParentNode from './getParentNode.mjs';
|
|
2
|
-
import isScrollParent from './isScrollParent.mjs';
|
|
3
|
-
import getNodeName from './getNodeName.mjs';
|
|
4
|
-
import { isHTMLElement } from './instanceOf.mjs';
|
|
5
|
-
|
|
6
|
-
function getScrollParent(node) {
|
|
7
|
-
if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {
|
|
8
|
-
// $FlowFixMe[incompatible-return]: assume body is always available
|
|
9
|
-
return node.ownerDocument.body;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
if (isHTMLElement(node) && isScrollParent(node)) {
|
|
13
|
-
return node;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
return getScrollParent(getParentNode(node));
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { getScrollParent as default };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import getWindow from './getWindow.mjs';
|
|
2
|
-
import getDocumentElement from './getDocumentElement.mjs';
|
|
3
|
-
import getWindowScrollBarX from './getWindowScrollBarX.mjs';
|
|
4
|
-
import isLayoutViewport from './isLayoutViewport.mjs';
|
|
5
|
-
|
|
6
|
-
function getViewportRect(element, strategy) {
|
|
7
|
-
var win = getWindow(element);
|
|
8
|
-
var html = getDocumentElement(element);
|
|
9
|
-
var visualViewport = win.visualViewport;
|
|
10
|
-
var width = html.clientWidth;
|
|
11
|
-
var height = html.clientHeight;
|
|
12
|
-
var x = 0;
|
|
13
|
-
var y = 0;
|
|
14
|
-
|
|
15
|
-
if (visualViewport) {
|
|
16
|
-
width = visualViewport.width;
|
|
17
|
-
height = visualViewport.height;
|
|
18
|
-
var layoutViewport = isLayoutViewport();
|
|
19
|
-
|
|
20
|
-
if (layoutViewport || !layoutViewport && strategy === 'fixed') {
|
|
21
|
-
x = visualViewport.offsetLeft;
|
|
22
|
-
y = visualViewport.offsetTop;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return {
|
|
27
|
-
width: width,
|
|
28
|
-
height: height,
|
|
29
|
-
x: x + getWindowScrollBarX(element),
|
|
30
|
-
y: y
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export { getViewportRect as default };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
function getWindow(node) {
|
|
2
|
-
if (node == null) {
|
|
3
|
-
return window;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
if (node.toString() !== '[object Window]') {
|
|
7
|
-
var ownerDocument = node.ownerDocument;
|
|
8
|
-
return ownerDocument ? ownerDocument.defaultView || window : window;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
return node;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { getWindow as default };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import getWindow from './getWindow.mjs';
|
|
2
|
-
|
|
3
|
-
function getWindowScroll(node) {
|
|
4
|
-
var win = getWindow(node);
|
|
5
|
-
var scrollLeft = win.pageXOffset;
|
|
6
|
-
var scrollTop = win.pageYOffset;
|
|
7
|
-
return {
|
|
8
|
-
scrollLeft: scrollLeft,
|
|
9
|
-
scrollTop: scrollTop
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { getWindowScroll as default };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import getBoundingClientRect from './getBoundingClientRect.mjs';
|
|
2
|
-
import getDocumentElement from './getDocumentElement.mjs';
|
|
3
|
-
import getWindowScroll from './getWindowScroll.mjs';
|
|
4
|
-
|
|
5
|
-
function getWindowScrollBarX(element) {
|
|
6
|
-
// If <html> has a CSS width greater than the viewport, then this will be
|
|
7
|
-
// incorrect for RTL.
|
|
8
|
-
// Popper 1 is broken in this case and never had a bug report so let's assume
|
|
9
|
-
// it's not an issue. I don't think anyone ever specifies width on <html>
|
|
10
|
-
// anyway.
|
|
11
|
-
// Browsers where the left scrollbar doesn't cause an issue report `0` for
|
|
12
|
-
// this (e.g. Edge 2019, IE11, Safari)
|
|
13
|
-
return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export { getWindowScrollBarX as default };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import getWindow from './getWindow.mjs';
|
|
2
|
-
|
|
3
|
-
function isElement(node) {
|
|
4
|
-
var OwnElement = getWindow(node).Element;
|
|
5
|
-
return node instanceof OwnElement || node instanceof Element;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
function isHTMLElement(node) {
|
|
9
|
-
var OwnElement = getWindow(node).HTMLElement;
|
|
10
|
-
return node instanceof OwnElement || node instanceof HTMLElement;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
function isShadowRoot(node) {
|
|
14
|
-
// IE 11 has no ShadowRoot
|
|
15
|
-
if (typeof ShadowRoot === 'undefined') {
|
|
16
|
-
return false;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
var OwnElement = getWindow(node).ShadowRoot;
|
|
20
|
-
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export { isElement, isHTMLElement, isShadowRoot };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import getComputedStyle from './getComputedStyle.mjs';
|
|
2
|
-
|
|
3
|
-
function isScrollParent(element) {
|
|
4
|
-
// Firefox wants us to check `-x` and `-y` variations as well
|
|
5
|
-
var _getComputedStyle = getComputedStyle(element),
|
|
6
|
-
overflow = _getComputedStyle.overflow,
|
|
7
|
-
overflowX = _getComputedStyle.overflowX,
|
|
8
|
-
overflowY = _getComputedStyle.overflowY;
|
|
9
|
-
|
|
10
|
-
return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { isScrollParent as default };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import getScrollParent from './getScrollParent.mjs';
|
|
2
|
-
import getParentNode from './getParentNode.mjs';
|
|
3
|
-
import getWindow from './getWindow.mjs';
|
|
4
|
-
import isScrollParent from './isScrollParent.mjs';
|
|
5
|
-
|
|
6
|
-
/*
|
|
7
|
-
given a DOM element, return the list of all scroll parents, up the list of ancesors
|
|
8
|
-
until we get to the top window object. This list is what we attach scroll listeners
|
|
9
|
-
to, because if any of these parent elements scroll, we'll need to re-calculate the
|
|
10
|
-
reference element's position.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
function listScrollParents(element, list) {
|
|
14
|
-
var _element$ownerDocumen;
|
|
15
|
-
|
|
16
|
-
if (list === void 0) {
|
|
17
|
-
list = [];
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
var scrollParent = getScrollParent(element);
|
|
21
|
-
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
|
|
22
|
-
var win = getWindow(scrollParent);
|
|
23
|
-
var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
|
|
24
|
-
var updatedList = list.concat(target);
|
|
25
|
-
return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
26
|
-
updatedList.concat(listScrollParents(getParentNode(target)));
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { listScrollParents as default };
|
package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/enums.mjs
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
var top = 'top';
|
|
2
|
-
var bottom = 'bottom';
|
|
3
|
-
var right = 'right';
|
|
4
|
-
var left = 'left';
|
|
5
|
-
var auto = 'auto';
|
|
6
|
-
var basePlacements = [top, bottom, right, left];
|
|
7
|
-
var start = 'start';
|
|
8
|
-
var end = 'end';
|
|
9
|
-
var clippingParents = 'clippingParents';
|
|
10
|
-
var viewport = 'viewport';
|
|
11
|
-
var popper = 'popper';
|
|
12
|
-
var reference = 'reference';
|
|
13
|
-
var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
|
|
14
|
-
return acc.concat([placement + "-" + start, placement + "-" + end]);
|
|
15
|
-
}, []);
|
|
16
|
-
var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
|
|
17
|
-
return acc.concat([placement, placement + "-" + start, placement + "-" + end]);
|
|
18
|
-
}, []); // modifiers that need to read the DOM
|
|
19
|
-
|
|
20
|
-
var beforeRead = 'beforeRead';
|
|
21
|
-
var read = 'read';
|
|
22
|
-
var afterRead = 'afterRead'; // pure-logic modifiers
|
|
23
|
-
|
|
24
|
-
var beforeMain = 'beforeMain';
|
|
25
|
-
var main = 'main';
|
|
26
|
-
var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)
|
|
27
|
-
|
|
28
|
-
var beforeWrite = 'beforeWrite';
|
|
29
|
-
var write = 'write';
|
|
30
|
-
var afterWrite = 'afterWrite';
|
|
31
|
-
var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
|
|
32
|
-
|
|
33
|
-
export { afterMain, afterRead, afterWrite, auto, basePlacements, beforeMain, beforeRead, beforeWrite, bottom, clippingParents, end, left, main, modifierPhases, placements, popper, read, reference, right, start, top, variationPlacements, viewport, write };
|
package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/index.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { afterMain, afterRead, afterWrite, auto, basePlacements, beforeMain, beforeRead, beforeWrite, bottom, clippingParents, end, left, main, modifierPhases, placements, popper, read, reference, right, start, top, variationPlacements, viewport, write } from './enums.mjs';
|
|
2
|
-
import './modifiers/index.mjs';
|
|
3
|
-
export { createPopper as createPopperBase, popperGenerator } from './createPopper.mjs';
|
|
4
|
-
export { createPopper } from './popper.mjs';
|
|
5
|
-
export { createPopper as createPopperLite } from './popper-lite.mjs';
|