@qxs-bns/components 0.0.17 → 0.0.18
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/es/index.js +16 -0
- package/es/index.js.map +1 -0
- package/es/package.json.js +4 -0
- package/es/package.json.js.map +1 -0
- package/es/src/components.js +10 -0
- package/es/src/components.js.map +1 -0
- package/es/src/defaults.js +7 -0
- package/es/src/defaults.js.map +1 -0
- package/es/src/file-upload/index.js +7 -0
- package/es/src/file-upload/index.js.map +1 -0
- package/es/src/file-upload/src/file-upload.vue.js +113 -0
- package/es/src/file-upload/src/file-upload.vue.js.map +1 -0
- package/es/src/file-upload/src/file-upload.vue2.js +6 -0
- package/es/src/file-upload/src/file-upload.vue2.js.map +1 -0
- package/es/src/fixed-action-bar/index.js +7 -0
- package/es/src/fixed-action-bar/index.js.map +1 -0
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue.js +85 -0
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue.js.map +1 -0
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue2.js +6 -0
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue2.js.map +1 -0
- package/es/src/image-upload/index.js +7 -0
- package/es/src/image-upload/index.js.map +1 -0
- package/es/src/image-upload/src/image-upload.vue.js +229 -0
- package/es/src/image-upload/src/image-upload.vue.js.map +1 -0
- package/es/src/image-upload/src/image-upload.vue2.js +6 -0
- package/es/src/image-upload/src/image-upload.vue2.js.map +1 -0
- package/es/src/make-installer.js +16 -0
- package/es/src/make-installer.js.map +1 -0
- package/es/src/photo-crop-tool/index.js +7 -0
- package/es/src/photo-crop-tool/index.js.map +1 -0
- package/es/src/photo-crop-tool/src/composables.js +56 -0
- package/es/src/photo-crop-tool/src/composables.js.map +1 -0
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue.js +399 -0
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue.js.map +1 -0
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue2.js +6 -0
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue2.js.map +1 -0
- package/es/src/subject-action/index.js +7 -0
- package/es/src/subject-action/index.js.map +1 -0
- package/es/src/subject-action/src/subject-action.vue.js +322 -0
- package/es/src/subject-action/src/subject-action.vue.js.map +1 -0
- package/es/src/subject-action/src/subject-action.vue2.js +6 -0
- package/es/src/subject-action/src/subject-action.vue2.js.map +1 -0
- package/es/src/subject-layout/index.js +7 -0
- package/es/src/subject-layout/index.js.map +1 -0
- package/es/src/subject-layout/src/subject-layout.vue.js +37 -0
- package/es/src/subject-layout/src/subject-layout.vue.js.map +1 -0
- package/es/src/subject-layout/src/subject-layout.vue2.js +6 -0
- package/es/src/subject-layout/src/subject-layout.vue2.js.map +1 -0
- package/es/src/subject-list/index.js +7 -0
- package/es/src/subject-list/index.js.map +1 -0
- package/es/src/subject-list/src/components/SubjectPageEnd.vue.js +95 -0
- package/es/src/subject-list/src/components/SubjectPageEnd.vue.js.map +1 -0
- package/es/src/subject-list/src/components/SubjectPageEnd.vue2.js +6 -0
- package/es/src/subject-list/src/components/SubjectPageEnd.vue2.js.map +1 -0
- package/es/src/subject-list/src/components/SubjectRichText.vue.js +93 -0
- package/es/src/subject-list/src/components/SubjectRichText.vue.js.map +1 -0
- package/es/src/subject-list/src/components/SubjectRichText.vue2.js +6 -0
- package/es/src/subject-list/src/components/SubjectRichText.vue2.js.map +1 -0
- package/es/src/subject-list/src/components/subject-blank-fill.vue.js +477 -0
- package/es/src/subject-list/src/components/subject-blank-fill.vue.js.map +1 -0
- package/es/src/subject-list/src/components/subject-blank-fill.vue2.js +6 -0
- package/es/src/subject-list/src/components/subject-blank-fill.vue2.js.map +1 -0
- package/es/src/subject-list/src/components/subject-scale.vue.js +448 -0
- package/es/src/subject-list/src/components/subject-scale.vue.js.map +1 -0
- package/es/src/subject-list/src/components/subject-scale.vue2.js +6 -0
- package/es/src/subject-list/src/components/subject-scale.vue2.js.map +1 -0
- package/es/src/subject-list/src/components/subject-single.vue.js +733 -0
- package/es/src/subject-list/src/components/subject-single.vue.js.map +1 -0
- package/es/src/subject-list/src/components/subject-single.vue2.js +6 -0
- package/es/src/subject-list/src/components/subject-single.vue2.js.map +1 -0
- package/es/src/subject-list/src/components/subject-text-fill.vue.js +584 -0
- package/es/src/subject-list/src/components/subject-text-fill.vue.js.map +1 -0
- package/es/src/subject-list/src/components/subject-text-fill.vue2.js +6 -0
- package/es/src/subject-list/src/components/subject-text-fill.vue2.js.map +1 -0
- package/es/src/subject-list/src/subject-list.vue.js +288 -0
- package/es/src/subject-list/src/subject-list.vue.js.map +1 -0
- package/es/src/subject-list/src/subject-list.vue2.js +6 -0
- package/es/src/subject-list/src/subject-list.vue2.js.map +1 -0
- package/es/src/subject-type/index.js +7 -0
- package/es/src/subject-type/index.js.map +1 -0
- package/es/src/subject-type/src/subject-type.vue.js +180 -0
- package/es/src/subject-type/src/subject-type.vue.js.map +1 -0
- package/es/src/subject-type/src/subject-type.vue2.js +6 -0
- package/es/src/subject-type/src/subject-type.vue2.js.map +1 -0
- package/es/src/tiny-mce-editor/index.js +7 -0
- package/es/src/tiny-mce-editor/index.js.map +1 -0
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue.js +157 -0
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue.js.map +1 -0
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue2.js +6 -0
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue2.js.map +1 -0
- package/es/src/withInstall.js +11 -0
- package/es/src/withInstall.js.map +1 -0
- package/lib/index.js +30 -27
- package/lib/index.js.map +1 -1
- package/lib/package.json.js +5 -4
- package/lib/package.json.js.map +1 -1
- package/lib/src/components.js +23 -22
- package/lib/src/components.js.map +1 -1
- package/lib/src/defaults.js +10 -6
- package/lib/src/defaults.js.map +1 -1
- package/lib/src/file-upload/index.js +11 -7
- package/lib/src/file-upload/index.js.map +1 -1
- package/lib/src/file-upload/src/file-upload.vue.js +115 -6
- package/lib/src/file-upload/src/file-upload.vue.js.map +1 -1
- package/lib/src/file-upload/src/file-upload.vue2.js +9 -91
- package/lib/src/file-upload/src/file-upload.vue2.js.map +1 -1
- package/lib/src/fixed-action-bar/index.js +11 -7
- package/lib/src/fixed-action-bar/index.js.map +1 -1
- package/lib/src/fixed-action-bar/src/fixed-action-bar.vue.js +87 -6
- package/lib/src/fixed-action-bar/src/fixed-action-bar.vue.js.map +1 -1
- package/lib/src/fixed-action-bar/src/fixed-action-bar.vue2.js +9 -66
- package/lib/src/fixed-action-bar/src/fixed-action-bar.vue2.js.map +1 -1
- package/lib/src/image-upload/index.js +11 -7
- package/lib/src/image-upload/index.js.map +1 -1
- package/lib/src/image-upload/src/image-upload.vue.js +231 -6
- package/lib/src/image-upload/src/image-upload.vue.js.map +1 -1
- package/lib/src/image-upload/src/image-upload.vue2.js +9 -176
- package/lib/src/image-upload/src/image-upload.vue2.js.map +1 -1
- package/lib/src/make-installer.js +14 -10
- package/lib/src/make-installer.js.map +1 -1
- package/lib/src/photo-crop-tool/index.js +11 -7
- package/lib/src/photo-crop-tool/index.js.map +1 -1
- package/lib/src/photo-crop-tool/src/composables.js +55 -31
- package/lib/src/photo-crop-tool/src/composables.js.map +1 -1
- package/lib/src/photo-crop-tool/src/photo-crop-tool.vue.js +402 -7
- package/lib/src/photo-crop-tool/src/photo-crop-tool.vue.js.map +1 -1
- package/lib/src/photo-crop-tool/src/photo-crop-tool.vue2.js +9 -255
- package/lib/src/photo-crop-tool/src/photo-crop-tool.vue2.js.map +1 -1
- package/lib/src/subject-action/index.js +11 -7
- package/lib/src/subject-action/index.js.map +1 -1
- package/lib/src/subject-action/src/subject-action.vue.js +324 -6
- package/lib/src/subject-action/src/subject-action.vue.js.map +1 -1
- package/lib/src/subject-action/src/subject-action.vue2.js +9 -276
- package/lib/src/subject-action/src/subject-action.vue2.js.map +1 -1
- package/lib/src/subject-layout/index.js +11 -7
- package/lib/src/subject-layout/index.js.map +1 -1
- package/lib/src/subject-layout/src/subject-layout.vue.js +39 -6
- package/lib/src/subject-layout/src/subject-layout.vue.js.map +1 -1
- package/lib/src/subject-layout/src/subject-layout.vue2.js +9 -24
- package/lib/src/subject-layout/src/subject-layout.vue2.js.map +1 -1
- package/lib/src/subject-list/index.js +11 -7
- package/lib/src/subject-list/index.js.map +1 -1
- package/lib/src/subject-list/src/components/SubjectPageEnd.vue.js +98 -7
- package/lib/src/subject-list/src/components/SubjectPageEnd.vue.js.map +1 -1
- package/lib/src/subject-list/src/components/SubjectPageEnd.vue2.js +9 -68
- package/lib/src/subject-list/src/components/SubjectPageEnd.vue2.js.map +1 -1
- package/lib/src/subject-list/src/components/SubjectRichText.vue.js +96 -7
- package/lib/src/subject-list/src/components/SubjectRichText.vue.js.map +1 -1
- package/lib/src/subject-list/src/components/SubjectRichText.vue2.js +9 -74
- package/lib/src/subject-list/src/components/SubjectRichText.vue2.js.map +1 -1
- package/lib/src/subject-list/src/components/subject-blank-fill.vue.js +479 -6
- package/lib/src/subject-list/src/components/subject-blank-fill.vue.js.map +1 -1
- package/lib/src/subject-list/src/components/subject-blank-fill.vue2.js +9 -305
- package/lib/src/subject-list/src/components/subject-blank-fill.vue2.js.map +1 -1
- package/lib/src/subject-list/src/components/subject-scale.vue.js +450 -6
- package/lib/src/subject-list/src/components/subject-scale.vue.js.map +1 -1
- package/lib/src/subject-list/src/components/subject-scale.vue2.js +9 -288
- package/lib/src/subject-list/src/components/subject-scale.vue2.js.map +1 -1
- package/lib/src/subject-list/src/components/subject-single.vue.js +735 -6
- package/lib/src/subject-list/src/components/subject-single.vue.js.map +1 -1
- package/lib/src/subject-list/src/components/subject-single.vue2.js +9 -485
- package/lib/src/subject-list/src/components/subject-single.vue2.js.map +1 -1
- package/lib/src/subject-list/src/components/subject-text-fill.vue.js +586 -6
- package/lib/src/subject-list/src/components/subject-text-fill.vue.js.map +1 -1
- package/lib/src/subject-list/src/components/subject-text-fill.vue2.js +9 -369
- package/lib/src/subject-list/src/components/subject-text-fill.vue2.js.map +1 -1
- package/lib/src/subject-list/src/subject-list.vue.js +291 -7
- package/lib/src/subject-list/src/subject-list.vue.js.map +1 -1
- package/lib/src/subject-list/src/subject-list.vue2.js +9 -249
- package/lib/src/subject-list/src/subject-list.vue2.js.map +1 -1
- package/lib/src/subject-type/index.js +11 -7
- package/lib/src/subject-type/index.js.map +1 -1
- package/lib/src/subject-type/src/subject-type.vue.js +183 -7
- package/lib/src/subject-type/src/subject-type.vue.js.map +1 -1
- package/lib/src/subject-type/src/subject-type.vue2.js +9 -96
- package/lib/src/subject-type/src/subject-type.vue2.js.map +1 -1
- package/lib/src/tiny-mce-editor/index.js +11 -7
- package/lib/src/tiny-mce-editor/index.js.map +1 -1
- package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue.js +160 -7
- package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue.js.map +1 -1
- package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue2.js +9 -143
- package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue2.js.map +1 -1
- package/lib/src/withInstall.js +11 -8
- package/lib/src/withInstall.js.map +1 -1
- package/package.json +26 -33
- package/types/index.d.ts +6 -0
- package/types/src/base/style/css.d.ts +2 -0
- package/types/src/base/style/index.d.ts +2 -0
- package/types/src/components.d.ts +10 -0
- package/types/src/components.d.ts.map +1 -0
- package/types/src/data-chart/index.d.ts +4 -0
- package/types/src/data-chart/index.d.ts.map +1 -0
- package/types/src/data-chart/src/analyze.d.ts +23 -0
- package/types/src/data-chart/src/utils/config.d.ts +41 -0
- package/types/src/data-chart/src/utils/injectionKeys.d.ts +3 -0
- package/types/src/data-chart/src/utils/useCharts.d.ts +16 -0
- package/types/src/data-chart/style/index.d.ts +3 -0
- package/types/src/file-upload/index.d.ts +4 -0
- package/types/src/file-upload/index.d.ts.map +1 -0
- package/types/src/file-upload/style/index.d.ts +3 -0
- package/types/src/fixed-action-bar/index.d.ts +4 -0
- package/types/src/fixed-action-bar/index.d.ts.map +1 -0
- package/types/src/fixed-action-bar/style/index.d.ts +3 -0
- package/types/src/image-upload/index.d.ts +4 -0
- package/types/src/image-upload/index.d.ts.map +1 -0
- package/types/src/image-upload/style/index.d.ts +3 -0
- package/types/src/make-installer.d.ts +9 -0
- package/types/src/photo-crop-tool/index.d.ts +4 -0
- package/types/src/photo-crop-tool/index.d.ts.map +1 -0
- package/types/src/photo-crop-tool/style/index.d.ts +3 -0
- package/types/src/subject-action/index.d.ts +4 -0
- package/types/src/subject-action/index.d.ts.map +1 -0
- package/types/src/subject-action/style/index.d.ts +3 -0
- package/types/src/subject-layout/index.d.ts +4 -0
- package/types/src/subject-layout/index.d.ts.map +1 -0
- package/types/src/subject-layout/style/index.d.ts +3 -0
- package/types/src/subject-list/index.d.ts +4 -0
- package/types/src/subject-list/index.d.ts.map +1 -0
- package/types/src/subject-list/style/index.d.ts +3 -0
- package/types/src/subject-type/index.d.ts +4 -0
- package/types/src/subject-type/index.d.ts.map +1 -0
- package/types/src/subject-type/style/index.d.ts +3 -0
- package/types/src/tiny-mce-editor/index.d.ts +4 -0
- package/types/src/tiny-mce-editor/index.d.ts.map +1 -0
- package/types/src/tiny-mce-editor/style/index.d.ts +3 -0
- package/types/src/withInstall.d.ts +4 -0
- package/types/tsconfig.tsbuildinfo +1 -0
- package/README.md +0 -0
- package/es/_virtual/@amap/amap-jsapi-loader/dist/index.mjs +0 -132
- package/es/_virtual/@amap/amap-jsapi-loader/dist/index.mjs.map +0 -1
- package/es/_virtual/@ctrl/tinycolor/dist/module/conversion.mjs +0 -116
- package/es/_virtual/@ctrl/tinycolor/dist/module/conversion.mjs.map +0 -1
- package/es/_virtual/@ctrl/tinycolor/dist/module/css-color-names.mjs +0 -154
- package/es/_virtual/@ctrl/tinycolor/dist/module/css-color-names.mjs.map +0 -1
- package/es/_virtual/@ctrl/tinycolor/dist/module/format-input.mjs +0 -69
- package/es/_virtual/@ctrl/tinycolor/dist/module/format-input.mjs.map +0 -1
- package/es/_virtual/@ctrl/tinycolor/dist/module/index.mjs +0 -184
- package/es/_virtual/@ctrl/tinycolor/dist/module/index.mjs.map +0 -1
- package/es/_virtual/@ctrl/tinycolor/dist/module/util.mjs +0 -33
- package/es/_virtual/@ctrl/tinycolor/dist/module/util.mjs.map +0 -1
- package/es/_virtual/@sxzz/popperjs-es/dist/index.mjs +0 -575
- package/es/_virtual/@sxzz/popperjs-es/dist/index.mjs.map +0 -1
- package/es/_virtual/@vue/shared/dist/shared.esm-bundler.mjs +0 -27
- package/es/_virtual/@vue/shared/dist/shared.esm-bundler.mjs.map +0 -1
- package/es/_virtual/@vueuse/core/index.mjs +0 -374
- package/es/_virtual/@vueuse/core/index.mjs.map +0 -1
- package/es/_virtual/@vueuse/core/index2.mjs +0 -214
- package/es/_virtual/@vueuse/core/index2.mjs.map +0 -1
- package/es/_virtual/@vueuse/shared/index.mjs +0 -155
- package/es/_virtual/@vueuse/shared/index.mjs.map +0 -1
- package/es/_virtual/@vueuse/shared/index2.mjs +0 -99
- package/es/_virtual/@vueuse/shared/index2.mjs.map +0 -1
- package/es/_virtual/_commonjsHelpers.mjs +0 -7
- package/es/_virtual/_commonjsHelpers.mjs.map +0 -1
- package/es/_virtual/_plugin-vue_export-helper.mjs +0 -10
- package/es/_virtual/_plugin-vue_export-helper.mjs.map +0 -1
- package/es/_virtual/dynamic-import-helper.mjs +0 -17
- package/es/_virtual/dynamic-import-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/_virtual/plugin-vue_export-helper.mjs +0 -10
- package/es/_virtual/element-plus/es/_virtual/plugin-vue_export-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/alert/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/alert/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/alert/src/alert.mjs +0 -41
- package/es/_virtual/element-plus/es/components/alert/src/alert.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/alert/src/alert2.mjs +0 -94
- package/es/_virtual/element-plus/es/components/alert/src/alert2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/badge/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/badge/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/badge/src/badge.mjs +0 -37
- package/es/_virtual/element-plus/es/components/badge/src/badge.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/badge/src/badge2.mjs +0 -73
- package/es/_virtual/element-plus/es/components/badge/src/badge2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/button/index.mjs +0 -12
- package/es/_virtual/element-plus/es/components/button/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/button/src/button-custom.mjs +0 -52
- package/es/_virtual/element-plus/es/components/button/src/button-custom.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/button/src/button-group.mjs +0 -40
- package/es/_virtual/element-plus/es/components/button/src/button-group.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/button/src/button-group2.mjs +0 -9
- package/es/_virtual/element-plus/es/components/button/src/button-group2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/button/src/button.mjs +0 -61
- package/es/_virtual/element-plus/es/components/button/src/button.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/button/src/button2.mjs +0 -85
- package/es/_virtual/element-plus/es/components/button/src/button2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/button/src/constants.mjs +0 -5
- package/es/_virtual/element-plus/es/components/button/src/constants.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/button/src/use-button.mjs +0 -54
- package/es/_virtual/element-plus/es/components/button/src/use-button.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/checkbox/index.mjs +0 -16
- package/es/_virtual/element-plus/es/components/checkbox/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/checkbox/src/checkbox-button.mjs +0 -105
- package/es/_virtual/element-plus/es/components/checkbox/src/checkbox-button.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/checkbox/src/checkbox-group.mjs +0 -90
- package/es/_virtual/element-plus/es/components/checkbox/src/checkbox-group.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/checkbox/src/checkbox-group2.mjs +0 -44
- package/es/_virtual/element-plus/es/components/checkbox/src/checkbox-group2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/checkbox/src/checkbox.mjs +0 -72
- package/es/_virtual/element-plus/es/components/checkbox/src/checkbox.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/checkbox/src/checkbox2.mjs +0 -121
- package/es/_virtual/element-plus/es/components/checkbox/src/checkbox2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-disabled.mjs +0 -22
- package/es/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-disabled.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-event.mjs +0 -58
- package/es/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-event.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-model.mjs +0 -26
- package/es/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-model.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-status.mjs +0 -32
- package/es/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-status.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox.mjs +0 -71
- package/es/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/checkbox/src/constants.mjs +0 -5
- package/es/_virtual/element-plus/es/components/checkbox/src/constants.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/col/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/col/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/col/src/col.mjs +0 -48
- package/es/_virtual/element-plus/es/components/col/src/col.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/col/src/col2.mjs +0 -54
- package/es/_virtual/element-plus/es/components/col/src/col2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/collection/src/collection-item.mjs +0 -14
- package/es/_virtual/element-plus/es/components/collection/src/collection-item.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/collection/src/collection.mjs +0 -61
- package/es/_virtual/element-plus/es/components/collection/src/collection.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/collection/src/collection2.mjs +0 -13
- package/es/_virtual/element-plus/es/components/collection/src/collection2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/config-provider/src/config-provider-props.mjs +0 -46
- package/es/_virtual/element-plus/es/components/config-provider/src/config-provider-props.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/config-provider/src/config-provider.mjs +0 -19
- package/es/_virtual/element-plus/es/components/config-provider/src/config-provider.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/config-provider/src/constants.mjs +0 -5
- package/es/_virtual/element-plus/es/components/config-provider/src/constants.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/config-provider/src/hooks/use-global-config.mjs +0 -67
- package/es/_virtual/element-plus/es/components/config-provider/src/hooks/use-global-config.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/dialog/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/dialog/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/dialog/src/constants.mjs +0 -5
- package/es/_virtual/element-plus/es/components/dialog/src/constants.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/dialog/src/dialog-content.mjs +0 -34
- package/es/_virtual/element-plus/es/components/dialog/src/dialog-content.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/dialog/src/dialog-content2.mjs +0 -90
- package/es/_virtual/element-plus/es/components/dialog/src/dialog-content2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/dialog/src/dialog.mjs +0 -83
- package/es/_virtual/element-plus/es/components/dialog/src/dialog.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/dialog/src/dialog2.mjs +0 -176
- package/es/_virtual/element-plus/es/components/dialog/src/dialog2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/dialog/src/use-dialog.mjs +0 -98
- package/es/_virtual/element-plus/es/components/dialog/src/use-dialog.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/dropdown/src/dropdown.mjs +0 -111
- package/es/_virtual/element-plus/es/components/dropdown/src/dropdown.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/focus-trap/src/focus-trap.mjs +0 -179
- package/es/_virtual/element-plus/es/components/focus-trap/src/focus-trap.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/focus-trap/src/tokens.mjs +0 -18
- package/es/_virtual/element-plus/es/components/focus-trap/src/tokens.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/focus-trap/src/utils.mjs +0 -104
- package/es/_virtual/element-plus/es/components/focus-trap/src/utils.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/form/src/constants.mjs +0 -6
- package/es/_virtual/element-plus/es/components/form/src/constants.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/form/src/hooks/use-form-common-props.mjs +0 -16
- package/es/_virtual/element-plus/es/components/form/src/hooks/use-form-common-props.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/form/src/hooks/use-form-item.mjs +0 -38
- package/es/_virtual/element-plus/es/components/form/src/hooks/use-form-item.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/icon/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/icon/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/icon/src/icon.mjs +0 -44
- package/es/_virtual/element-plus/es/components/icon/src/icon.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/icon/src/icon2.mjs +0 -13
- package/es/_virtual/element-plus/es/components/icon/src/icon2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/image/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/image/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/image/src/image.mjs +0 -73
- package/es/_virtual/element-plus/es/components/image/src/image.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/image/src/image2.mjs +0 -193
- package/es/_virtual/element-plus/es/components/image/src/image2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/image-viewer/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/image-viewer/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/image-viewer/src/image-viewer.mjs +0 -54
- package/es/_virtual/element-plus/es/components/image-viewer/src/image-viewer.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/image-viewer/src/image-viewer2.mjs +0 -372
- package/es/_virtual/element-plus/es/components/image-viewer/src/image-viewer2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/input/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/input/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/input/src/input.mjs +0 -117
- package/es/_virtual/element-plus/es/components/input/src/input.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/input/src/input2.mjs +0 -368
- package/es/_virtual/element-plus/es/components/input/src/input2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/input/src/utils.mjs +0 -58
- package/es/_virtual/element-plus/es/components/input/src/utils.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/input-number/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/input-number/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/input-number/src/input-number.mjs +0 -75
- package/es/_virtual/element-plus/es/components/input-number/src/input-number.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/input-number/src/input-number2.mjs +0 -234
- package/es/_virtual/element-plus/es/components/input-number/src/input-number2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/link/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/link/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/link/src/link.mjs +0 -29
- package/es/_virtual/element-plus/es/components/link/src/link.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/link/src/link2.mjs +0 -59
- package/es/_virtual/element-plus/es/components/link/src/link2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/message/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/message/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/message/src/instance.mjs +0 -16
- package/es/_virtual/element-plus/es/components/message/src/instance.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/message/src/message.mjs +0 -97
- package/es/_virtual/element-plus/es/components/message/src/message.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/message/src/message2.mjs +0 -136
- package/es/_virtual/element-plus/es/components/message/src/message2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/message/src/method.mjs +0 -109
- package/es/_virtual/element-plus/es/components/message/src/method.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/overlay/index.mjs +0 -10
- package/es/_virtual/element-plus/es/components/overlay/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/overlay/src/overlay.mjs +0 -59
- package/es/_virtual/element-plus/es/components/overlay/src/overlay.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popover/index.mjs +0 -12
- package/es/_virtual/element-plus/es/components/popover/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popover/src/directive.mjs +0 -18
- package/es/_virtual/element-plus/es/components/popover/src/directive.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popover/src/popover.mjs +0 -79
- package/es/_virtual/element-plus/es/components/popover/src/popover.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popover/src/popover2.mjs +0 -100
- package/es/_virtual/element-plus/es/components/popover/src/popover2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/popper/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/src/arrow.mjs +0 -11
- package/es/_virtual/element-plus/es/components/popper/src/arrow.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/src/arrow2.mjs +0 -44
- package/es/_virtual/element-plus/es/components/popper/src/arrow2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/src/composables/use-content-dom.mjs +0 -35
- package/es/_virtual/element-plus/es/components/popper/src/composables/use-content-dom.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/src/composables/use-content.mjs +0 -62
- package/es/_virtual/element-plus/es/components/popper/src/composables/use-content.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/src/composables/use-focus-trap.mjs +0 -28
- package/es/_virtual/element-plus/es/components/popper/src/composables/use-focus-trap.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/src/constants.mjs +0 -6
- package/es/_virtual/element-plus/es/components/popper/src/constants.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/src/content.mjs +0 -103
- package/es/_virtual/element-plus/es/components/popper/src/content.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/src/content2.mjs +0 -117
- package/es/_virtual/element-plus/es/components/popper/src/content2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/src/popper.mjs +0 -22
- package/es/_virtual/element-plus/es/components/popper/src/popper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/src/popper2.mjs +0 -37
- package/es/_virtual/element-plus/es/components/popper/src/popper2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/src/trigger.mjs +0 -34
- package/es/_virtual/element-plus/es/components/popper/src/trigger.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/src/trigger2.mjs +0 -103
- package/es/_virtual/element-plus/es/components/popper/src/trigger2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/popper/src/utils.mjs +0 -69
- package/es/_virtual/element-plus/es/components/popper/src/utils.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/progress/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/progress/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/progress/src/progress.mjs +0 -58
- package/es/_virtual/element-plus/es/components/progress/src/progress.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/progress/src/progress2.mjs +0 -167
- package/es/_virtual/element-plus/es/components/progress/src/progress2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/radio/index.mjs +0 -15
- package/es/_virtual/element-plus/es/components/radio/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/radio/src/constants.mjs +0 -5
- package/es/_virtual/element-plus/es/components/radio/src/constants.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/radio/src/radio-button.mjs +0 -74
- package/es/_virtual/element-plus/es/components/radio/src/radio-button.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/radio/src/radio-button2.mjs +0 -18
- package/es/_virtual/element-plus/es/components/radio/src/radio-button2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/radio/src/radio-group.mjs +0 -48
- package/es/_virtual/element-plus/es/components/radio/src/radio-group.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/radio/src/radio-group2.mjs +0 -60
- package/es/_virtual/element-plus/es/components/radio/src/radio-group2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/radio/src/radio.mjs +0 -48
- package/es/_virtual/element-plus/es/components/radio/src/radio.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/radio/src/radio2.mjs +0 -86
- package/es/_virtual/element-plus/es/components/radio/src/radio2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/radio/src/use-radio.mjs +0 -37
- package/es/_virtual/element-plus/es/components/radio/src/use-radio.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/row/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/row/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/row/src/constants.mjs +0 -5
- package/es/_virtual/element-plus/es/components/row/src/constants.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/row/src/row.mjs +0 -33
- package/es/_virtual/element-plus/es/components/row/src/row.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/row/src/row2.mjs +0 -50
- package/es/_virtual/element-plus/es/components/row/src/row2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/scrollbar/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/scrollbar/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/scrollbar/src/bar.mjs +0 -15
- package/es/_virtual/element-plus/es/components/scrollbar/src/bar.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/scrollbar/src/bar2.mjs +0 -48
- package/es/_virtual/element-plus/es/components/scrollbar/src/bar2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/scrollbar/src/constants.mjs +0 -5
- package/es/_virtual/element-plus/es/components/scrollbar/src/constants.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/scrollbar/src/scrollbar.mjs +0 -70
- package/es/_virtual/element-plus/es/components/scrollbar/src/scrollbar.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/scrollbar/src/scrollbar2.mjs +0 -131
- package/es/_virtual/element-plus/es/components/scrollbar/src/scrollbar2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/scrollbar/src/thumb.mjs +0 -15
- package/es/_virtual/element-plus/es/components/scrollbar/src/thumb.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/scrollbar/src/thumb2.mjs +0 -88
- package/es/_virtual/element-plus/es/components/scrollbar/src/thumb2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/scrollbar/src/util.mjs +0 -35
- package/es/_virtual/element-plus/es/components/scrollbar/src/util.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/select/index.mjs +0 -15
- package/es/_virtual/element-plus/es/components/select/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/select/src/option-group.mjs +0 -76
- package/es/_virtual/element-plus/es/components/select/src/option-group.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/select/src/option.mjs +0 -84
- package/es/_virtual/element-plus/es/components/select/src/option.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/select/src/options.mjs +0 -27
- package/es/_virtual/element-plus/es/components/select/src/options.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/select/src/select-dropdown.mjs +0 -50
- package/es/_virtual/element-plus/es/components/select/src/select-dropdown.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/select/src/select.mjs +0 -128
- package/es/_virtual/element-plus/es/components/select/src/select.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/select/src/select2.mjs +0 -420
- package/es/_virtual/element-plus/es/components/select/src/select2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/select/src/token.mjs +0 -6
- package/es/_virtual/element-plus/es/components/select/src/token.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/select/src/useOption.mjs +0 -50
- package/es/_virtual/element-plus/es/components/select/src/useOption.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/select/src/useSelect.mjs +0 -363
- package/es/_virtual/element-plus/es/components/select/src/useSelect.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/slot/src/only-child.mjs +0 -56
- package/es/_virtual/element-plus/es/components/slot/src/only-child.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/index.mjs +0 -12
- package/es/_virtual/element-plus/es/components/table/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/composables/use-scrollbar.mjs +0 -21
- package/es/_virtual/element-plus/es/components/table/src/composables/use-scrollbar.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/config.mjs +0 -165
- package/es/_virtual/element-plus/es/components/table/src/config.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/filter-panel.mjs +0 -217
- package/es/_virtual/element-plus/es/components/table/src/filter-panel.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/h-helper.mjs +0 -23
- package/es/_virtual/element-plus/es/components/table/src/h-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/layout-observer.mjs +0 -51
- package/es/_virtual/element-plus/es/components/table/src/layout-observer.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/store/current.mjs +0 -46
- package/es/_virtual/element-plus/es/components/table/src/store/current.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/store/expand.mjs +0 -43
- package/es/_virtual/element-plus/es/components/table/src/store/expand.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/store/helper.mjs +0 -57
- package/es/_virtual/element-plus/es/components/table/src/store/helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/store/index.mjs +0 -111
- package/es/_virtual/element-plus/es/components/table/src/store/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/store/tree.mjs +0 -146
- package/es/_virtual/element-plus/es/components/table/src/store/tree.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/store/watcher.mjs +0 -295
- package/es/_virtual/element-plus/es/components/table/src/store/watcher.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table/defaults.mjs +0 -89
- package/es/_virtual/element-plus/es/components/table/src/table/defaults.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table/key-render-helper.mjs +0 -19
- package/es/_virtual/element-plus/es/components/table/src/table/key-render-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table/style-helper.mjs +0 -175
- package/es/_virtual/element-plus/es/components/table/src/table/style-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table/utils-helper.mjs +0 -36
- package/es/_virtual/element-plus/es/components/table/src/table/utils-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-body/defaults.mjs +0 -26
- package/es/_virtual/element-plus/es/components/table/src/table-body/defaults.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-body/events-helper.mjs +0 -83
- package/es/_virtual/element-plus/es/components/table/src/table-body/events-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-body/index.mjs +0 -65
- package/es/_virtual/element-plus/es/components/table/src/table-body/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-body/render-helper.mjs +0 -153
- package/es/_virtual/element-plus/es/components/table/src/table-body/render-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-body/styles-helper.mjs +0 -71
- package/es/_virtual/element-plus/es/components/table/src/table-body/styles-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-body/td-wrapper.mjs +0 -41
- package/es/_virtual/element-plus/es/components/table/src/table-body/td-wrapper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-column/defaults.mjs +0 -61
- package/es/_virtual/element-plus/es/components/table/src/table-column/defaults.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-column/index.mjs +0 -120
- package/es/_virtual/element-plus/es/components/table/src/table-column/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-column/render-helper.mjs +0 -86
- package/es/_virtual/element-plus/es/components/table/src/table-column/render-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-column/watcher-helper.mjs +0 -56
- package/es/_virtual/element-plus/es/components/table/src/table-column/watcher-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-footer/index.mjs +0 -84
- package/es/_virtual/element-plus/es/components/table/src/table-footer/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-footer/mapState-helper.mjs +0 -17
- package/es/_virtual/element-plus/es/components/table/src/table-footer/mapState-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-footer/style-helper.mjs +0 -27
- package/es/_virtual/element-plus/es/components/table/src/table-footer/style-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-header/event-helper.mjs +0 -98
- package/es/_virtual/element-plus/es/components/table/src/table-header/event-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-header/index.mjs +0 -205
- package/es/_virtual/element-plus/es/components/table/src/table-header/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-header/style.helper.mjs +0 -52
- package/es/_virtual/element-plus/es/components/table/src/table-header/style.helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-header/utils-helper.mjs +0 -46
- package/es/_virtual/element-plus/es/components/table/src/table-header/utils-helper.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table-layout.mjs +0 -137
- package/es/_virtual/element-plus/es/components/table/src/table-layout.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/table.mjs +0 -354
- package/es/_virtual/element-plus/es/components/table/src/table.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/tokens.mjs +0 -5
- package/es/_virtual/element-plus/es/components/table/src/tokens.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/table/src/util.mjs +0 -272
- package/es/_virtual/element-plus/es/components/table/src/util.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/tag/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/tag/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/tag/src/tag.mjs +0 -103
- package/es/_virtual/element-plus/es/components/tag/src/tag.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/tag/src/tag2.mjs +0 -31
- package/es/_virtual/element-plus/es/components/tag/src/tag2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/teleport/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/teleport/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/teleport/src/teleport.mjs +0 -12
- package/es/_virtual/element-plus/es/components/teleport/src/teleport.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/teleport/src/teleport2.mjs +0 -20
- package/es/_virtual/element-plus/es/components/teleport/src/teleport2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/tooltip/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/tooltip/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/tooltip/src/constants.mjs +0 -5
- package/es/_virtual/element-plus/es/components/tooltip/src/constants.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/tooltip/src/content.mjs +0 -151
- package/es/_virtual/element-plus/es/components/tooltip/src/content.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/tooltip/src/content2.mjs +0 -41
- package/es/_virtual/element-plus/es/components/tooltip/src/content2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/tooltip/src/tooltip.mjs +0 -44
- package/es/_virtual/element-plus/es/components/tooltip/src/tooltip.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/tooltip/src/tooltip2.mjs +0 -160
- package/es/_virtual/element-plus/es/components/tooltip/src/tooltip2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/tooltip/src/trigger.mjs +0 -30
- package/es/_virtual/element-plus/es/components/tooltip/src/trigger.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/tooltip/src/trigger2.mjs +0 -64
- package/es/_virtual/element-plus/es/components/tooltip/src/trigger2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/tooltip/src/utils.mjs +0 -10
- package/es/_virtual/element-plus/es/components/tooltip/src/utils.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/upload/index.mjs +0 -8
- package/es/_virtual/element-plus/es/components/upload/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/upload/src/ajax.mjs +0 -54
- package/es/_virtual/element-plus/es/components/upload/src/ajax.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/upload/src/constants.mjs +0 -5
- package/es/_virtual/element-plus/es/components/upload/src/constants.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/upload/src/upload-content.mjs +0 -49
- package/es/_virtual/element-plus/es/components/upload/src/upload-content.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/upload/src/upload-content2.mjs +0 -174
- package/es/_virtual/element-plus/es/components/upload/src/upload-content2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/upload/src/upload-dragger.mjs +0 -15
- package/es/_virtual/element-plus/es/components/upload/src/upload-dragger.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/upload/src/upload-dragger2.mjs +0 -50
- package/es/_virtual/element-plus/es/components/upload/src/upload-dragger2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/upload/src/upload-list.mjs +0 -33
- package/es/_virtual/element-plus/es/components/upload/src/upload-list.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/upload/src/upload-list2.mjs +0 -176
- package/es/_virtual/element-plus/es/components/upload/src/upload-list2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/upload/src/upload.mjs +0 -115
- package/es/_virtual/element-plus/es/components/upload/src/upload.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/upload/src/upload2.mjs +0 -130
- package/es/_virtual/element-plus/es/components/upload/src/upload2.mjs.map +0 -1
- package/es/_virtual/element-plus/es/components/upload/src/use-handlers.mjs +0 -107
- package/es/_virtual/element-plus/es/components/upload/src/use-handlers.mjs.map +0 -1
- package/es/_virtual/element-plus/es/constants/aria.mjs +0 -16
- package/es/_virtual/element-plus/es/constants/aria.mjs.map +0 -1
- package/es/_virtual/element-plus/es/constants/event.mjs +0 -7
- package/es/_virtual/element-plus/es/constants/event.mjs.map +0 -1
- package/es/_virtual/element-plus/es/constants/size.mjs +0 -5
- package/es/_virtual/element-plus/es/constants/size.mjs.map +0 -1
- package/es/_virtual/element-plus/es/directives/click-outside/index.mjs +0 -45
- package/es/_virtual/element-plus/es/directives/click-outside/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/directives/mousewheel/index.mjs +0 -18
- package/es/_virtual/element-plus/es/directives/mousewheel/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/directives/repeat-click/index.mjs +0 -25
- package/es/_virtual/element-plus/es/directives/repeat-click/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-aria/index.mjs +0 -15
- package/es/_virtual/element-plus/es/hooks/use-aria/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-attrs/index.mjs +0 -14
- package/es/_virtual/element-plus/es/hooks/use-attrs/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-calc-input-width/index.mjs +0 -19
- package/es/_virtual/element-plus/es/hooks/use-calc-input-width/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-composition/index.mjs +0 -30
- package/es/_virtual/element-plus/es/hooks/use-composition/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-cursor/index.mjs +0 -40
- package/es/_virtual/element-plus/es/hooks/use-cursor/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-delayed-toggle/index.mjs +0 -50
- package/es/_virtual/element-plus/es/hooks/use-delayed-toggle/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-deprecated/index.mjs +0 -15
- package/es/_virtual/element-plus/es/hooks/use-deprecated/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-draggable/index.mjs +0 -42
- package/es/_virtual/element-plus/es/hooks/use-draggable/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-empty-values/index.mjs +0 -28
- package/es/_virtual/element-plus/es/hooks/use-empty-values/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-escape-keydown/index.mjs +0 -17
- package/es/_virtual/element-plus/es/hooks/use-escape-keydown/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-focus-controller/index.mjs +0 -35
- package/es/_virtual/element-plus/es/hooks/use-focus-controller/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-forward-ref/index.mjs +0 -24
- package/es/_virtual/element-plus/es/hooks/use-forward-ref/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-id/index.mjs +0 -23
- package/es/_virtual/element-plus/es/hooks/use-id/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-locale/index.mjs +0 -25
- package/es/_virtual/element-plus/es/hooks/use-locale/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-lockscreen/index.mjs +0 -31
- package/es/_virtual/element-plus/es/hooks/use-lockscreen/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-model-toggle/index.mjs +0 -73
- package/es/_virtual/element-plus/es/hooks/use-model-toggle/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-namespace/index.mjs +0 -45
- package/es/_virtual/element-plus/es/hooks/use-namespace/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-popper/index.mjs +0 -89
- package/es/_virtual/element-plus/es/hooks/use-popper/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-popper-container/index.mjs +0 -27
- package/es/_virtual/element-plus/es/hooks/use-popper-container/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-prop/index.mjs +0 -12
- package/es/_virtual/element-plus/es/hooks/use-prop/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-same-target/index.mjs +0 -17
- package/es/_virtual/element-plus/es/hooks/use-same-target/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-size/index.mjs +0 -17
- package/es/_virtual/element-plus/es/hooks/use-size/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-timeout/index.mjs +0 -15
- package/es/_virtual/element-plus/es/hooks/use-timeout/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/hooks/use-z-index/index.mjs +0 -25
- package/es/_virtual/element-plus/es/hooks/use-z-index/index.mjs.map +0 -1
- package/es/_virtual/element-plus/es/locale/lang/en.mjs +0 -183
- package/es/_virtual/element-plus/es/locale/lang/en.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/browser.mjs +0 -9
- package/es/_virtual/element-plus/es/utils/browser.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/dom/aria.mjs +0 -22
- package/es/_virtual/element-plus/es/utils/dom/aria.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/dom/event.mjs +0 -9
- package/es/_virtual/element-plus/es/utils/dom/event.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/dom/position.mjs +0 -17
- package/es/_virtual/element-plus/es/utils/dom/position.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/dom/scroll.mjs +0 -61
- package/es/_virtual/element-plus/es/utils/dom/scroll.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/dom/style.mjs +0 -48
- package/es/_virtual/element-plus/es/utils/dom/style.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/error.mjs +0 -20
- package/es/_virtual/element-plus/es/utils/error.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/i18n.mjs +0 -5
- package/es/_virtual/element-plus/es/utils/i18n.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/objects.mjs +0 -15
- package/es/_virtual/element-plus/es/utils/objects.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/raf.mjs +0 -6
- package/es/_virtual/element-plus/es/utils/raf.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/strings.mjs +0 -5
- package/es/_virtual/element-plus/es/utils/strings.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/types.mjs +0 -18
- package/es/_virtual/element-plus/es/utils/types.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/typescript.mjs +0 -5
- package/es/_virtual/element-plus/es/utils/typescript.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/vue/icon.mjs +0 -28
- package/es/_virtual/element-plus/es/utils/vue/icon.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/vue/install.mjs +0 -21
- package/es/_virtual/element-plus/es/utils/vue/install.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/vue/props/runtime.mjs +0 -32
- package/es/_virtual/element-plus/es/utils/vue/props/runtime.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/vue/refs.mjs +0 -10
- package/es/_virtual/element-plus/es/utils/vue/refs.mjs.map +0 -1
- package/es/_virtual/element-plus/es/utils/vue/vnode.mjs +0 -6
- package/es/_virtual/element-plus/es/utils/vue/vnode.mjs.map +0 -1
- package/es/_virtual/element-plus/theme-chalk/src/tooltip.scss.mjs +0 -2
- package/es/_virtual/element-plus/theme-chalk/src/tooltip.scss.mjs.map +0 -1
- package/es/_virtual/index.mjs +0 -3
- package/es/_virtual/index.mjs.map +0 -1
- package/es/_virtual/index10.mjs +0 -3
- package/es/_virtual/index10.mjs.map +0 -1
- package/es/_virtual/index11.mjs +0 -3
- package/es/_virtual/index11.mjs.map +0 -1
- package/es/_virtual/index12.mjs +0 -3
- package/es/_virtual/index12.mjs.map +0 -1
- package/es/_virtual/index13.mjs +0 -3
- package/es/_virtual/index13.mjs.map +0 -1
- package/es/_virtual/index14.mjs +0 -3
- package/es/_virtual/index14.mjs.map +0 -1
- package/es/_virtual/index15.mjs +0 -3
- package/es/_virtual/index15.mjs.map +0 -1
- package/es/_virtual/index16.mjs +0 -12
- package/es/_virtual/index16.mjs.map +0 -1
- package/es/_virtual/index17.mjs +0 -5
- package/es/_virtual/index17.mjs.map +0 -1
- package/es/_virtual/index18.mjs +0 -5
- package/es/_virtual/index18.mjs.map +0 -1
- package/es/_virtual/index19.mjs +0 -5
- package/es/_virtual/index19.mjs.map +0 -1
- package/es/_virtual/index2.mjs +0 -3
- package/es/_virtual/index2.mjs.map +0 -1
- package/es/_virtual/index20.mjs +0 -5
- package/es/_virtual/index20.mjs.map +0 -1
- package/es/_virtual/index21.mjs +0 -5
- package/es/_virtual/index21.mjs.map +0 -1
- package/es/_virtual/index22.mjs +0 -5
- package/es/_virtual/index22.mjs.map +0 -1
- package/es/_virtual/index23.mjs +0 -5
- package/es/_virtual/index23.mjs.map +0 -1
- package/es/_virtual/index24.mjs +0 -5
- package/es/_virtual/index24.mjs.map +0 -1
- package/es/_virtual/index25.mjs +0 -5
- package/es/_virtual/index25.mjs.map +0 -1
- package/es/_virtual/index26.mjs +0 -5
- package/es/_virtual/index26.mjs.map +0 -1
- package/es/_virtual/index27.mjs +0 -5
- package/es/_virtual/index27.mjs.map +0 -1
- package/es/_virtual/index28.mjs +0 -5
- package/es/_virtual/index28.mjs.map +0 -1
- package/es/_virtual/index29.mjs +0 -5
- package/es/_virtual/index29.mjs.map +0 -1
- package/es/_virtual/index3.mjs +0 -3
- package/es/_virtual/index3.mjs.map +0 -1
- package/es/_virtual/index30.mjs +0 -5
- package/es/_virtual/index30.mjs.map +0 -1
- package/es/_virtual/index31.mjs +0 -5
- package/es/_virtual/index31.mjs.map +0 -1
- package/es/_virtual/index32.mjs +0 -5
- package/es/_virtual/index32.mjs.map +0 -1
- package/es/_virtual/index4.mjs +0 -3
- package/es/_virtual/index4.mjs.map +0 -1
- package/es/_virtual/index5.mjs +0 -3
- package/es/_virtual/index5.mjs.map +0 -1
- package/es/_virtual/index6.mjs +0 -3
- package/es/_virtual/index6.mjs.map +0 -1
- package/es/_virtual/index7.mjs +0 -3
- package/es/_virtual/index7.mjs.map +0 -1
- package/es/_virtual/index8.mjs +0 -3
- package/es/_virtual/index8.mjs.map +0 -1
- package/es/_virtual/index9.mjs +0 -3
- package/es/_virtual/index9.mjs.map +0 -1
- package/es/_virtual/model.mjs +0 -5
- package/es/_virtual/model.mjs.map +0 -1
- package/es/_virtual/normalize-wheel-es/dist/index.mjs +0 -89
- package/es/_virtual/normalize-wheel-es/dist/index.mjs.map +0 -1
- package/es/_virtual/plugin.mjs +0 -5
- package/es/_virtual/plugin.mjs.map +0 -1
- package/es/_virtual/plugin10.mjs +0 -5
- package/es/_virtual/plugin10.mjs.map +0 -1
- package/es/_virtual/plugin11.mjs +0 -5
- package/es/_virtual/plugin11.mjs.map +0 -1
- package/es/_virtual/plugin12.mjs +0 -5
- package/es/_virtual/plugin12.mjs.map +0 -1
- package/es/_virtual/plugin13.mjs +0 -5
- package/es/_virtual/plugin13.mjs.map +0 -1
- package/es/_virtual/plugin14.mjs +0 -5
- package/es/_virtual/plugin14.mjs.map +0 -1
- package/es/_virtual/plugin2.mjs +0 -5
- package/es/_virtual/plugin2.mjs.map +0 -1
- package/es/_virtual/plugin3.mjs +0 -5
- package/es/_virtual/plugin3.mjs.map +0 -1
- package/es/_virtual/plugin4.mjs +0 -5
- package/es/_virtual/plugin4.mjs.map +0 -1
- package/es/_virtual/plugin5.mjs +0 -5
- package/es/_virtual/plugin5.mjs.map +0 -1
- package/es/_virtual/plugin6.mjs +0 -5
- package/es/_virtual/plugin6.mjs.map +0 -1
- package/es/_virtual/plugin7.mjs +0 -5
- package/es/_virtual/plugin7.mjs.map +0 -1
- package/es/_virtual/plugin8.mjs +0 -5
- package/es/_virtual/plugin8.mjs.map +0 -1
- package/es/_virtual/plugin9.mjs +0 -5
- package/es/_virtual/plugin9.mjs.map +0 -1
- package/es/_virtual/theme.mjs +0 -3
- package/es/_virtual/theme.mjs.map +0 -1
- package/es/_virtual/theme2.mjs +0 -5
- package/es/_virtual/theme2.mjs.map +0 -1
- package/es/_virtual/tinymce/icons/default/icons.mjs +0 -229
- package/es/_virtual/tinymce/icons/default/icons.mjs.map +0 -1
- package/es/_virtual/tinymce/models/dom/index.mjs +0 -10
- package/es/_virtual/tinymce/models/dom/index.mjs.map +0 -1
- package/es/_virtual/tinymce/models/dom/model.mjs +0 -4282
- package/es/_virtual/tinymce/models/dom/model.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/autolink/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/autolink/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/autolink/plugin.mjs +0 -112
- package/es/_virtual/tinymce/plugins/autolink/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/autoresize/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/autoresize/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/autoresize/plugin.mjs +0 -106
- package/es/_virtual/tinymce/plugins/autoresize/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/code/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/code/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/code/plugin.mjs +0 -65
- package/es/_virtual/tinymce/plugins/code/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/fullscreen/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/fullscreen/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/fullscreen/plugin.mjs +0 -703
- package/es/_virtual/tinymce/plugins/fullscreen/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/image/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/image/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/image/plugin.mjs +0 -882
- package/es/_virtual/tinymce/plugins/image/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/insertdatetime/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/insertdatetime/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/insertdatetime/plugin.mjs +0 -115
- package/es/_virtual/tinymce/plugins/insertdatetime/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/link/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/link/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/link/plugin.mjs +0 -815
- package/es/_virtual/tinymce/plugins/link/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/lists/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/lists/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/lists/plugin.mjs +0 -1169
- package/es/_virtual/tinymce/plugins/lists/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/media/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/media/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/media/plugin.mjs +0 -777
- package/es/_virtual/tinymce/plugins/media/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/nonbreaking/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/nonbreaking/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/nonbreaking/plugin.mjs +0 -79
- package/es/_virtual/tinymce/plugins/nonbreaking/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/preview/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/preview/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/preview/plugin.mjs +0 -384
- package/es/_virtual/tinymce/plugins/preview/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/searchreplace/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/searchreplace/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/searchreplace/plugin.mjs +0 -675
- package/es/_virtual/tinymce/plugins/searchreplace/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/table/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/table/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/table/plugin.mjs +0 -2147
- package/es/_virtual/tinymce/plugins/table/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/wordcount/index.mjs +0 -10
- package/es/_virtual/tinymce/plugins/wordcount/index.mjs.map +0 -1
- package/es/_virtual/tinymce/plugins/wordcount/plugin.mjs +0 -270
- package/es/_virtual/tinymce/plugins/wordcount/plugin.mjs.map +0 -1
- package/es/_virtual/tinymce/themes/silver/theme.mjs +0 -21392
- package/es/_virtual/tinymce/themes/silver/theme.mjs.map +0 -1
- package/es/_virtual/tinymce/tinymce.mjs +0 -16923
- package/es/_virtual/tinymce/tinymce.mjs.map +0 -1
- package/es/_virtual/tinymce.mjs +0 -8
- package/es/_virtual/tinymce.mjs.map +0 -1
- package/es/_virtual/tinymce2.mjs +0 -5
- package/es/_virtual/tinymce2.mjs.map +0 -1
- package/es/_virtual/xlsx/xlsx.mjs +0 -15604
- package/es/_virtual/xlsx/xlsx.mjs.map +0 -1
- package/es/components.css +0 -1
- package/es/index.d.ts +0 -7
- package/es/index.mjs +0 -28
- package/es/index.mjs.map +0 -1
- package/es/package.json.mjs +0 -5
- package/es/package.json.mjs.map +0 -1
- package/es/packages/hooks/src/use-namespace.mjs +0 -50
- package/es/packages/hooks/src/use-namespace.mjs.map +0 -1
- package/es/packages/utils/src/device.mjs +0 -8
- package/es/packages/utils/src/device.mjs.map +0 -1
- package/es/packages/utils/src/json.mjs +0 -15
- package/es/packages/utils/src/json.mjs.map +0 -1
- package/es/public/tiny-mce-editor/tinymce/langs/zh-Hans.js +0 -7
- package/es/public/tiny-mce-editor/tinymce/skins/content/dark/content.css +0 -78
- package/es/public/tiny-mce-editor/tinymce/skins/content/dark/content.min.css +0 -21
- package/es/public/tiny-mce-editor/tinymce/skins/content/default/content.css +0 -72
- package/es/public/tiny-mce-editor/tinymce/skins/content/default/content.min.css +0 -20
- package/es/public/tiny-mce-editor/tinymce/skins/content/document/content.css +0 -77
- package/es/public/tiny-mce-editor/tinymce/skins/content/document/content.min.css +0 -21
- package/es/public/tiny-mce-editor/tinymce/skins/content/tinymce-5/content.css +0 -72
- package/es/public/tiny-mce-editor/tinymce/skins/content/tinymce-5/content.min.css +0 -20
- package/es/public/tiny-mce-editor/tinymce/skins/content/tinymce-5-dark/content.css +0 -78
- package/es/public/tiny-mce-editor/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -21
- package/es/public/tiny-mce-editor/tinymce/skins/content/writer/content.css +0 -73
- package/es/public/tiny-mce-editor/tinymce/skins/content/writer/content.min.css +0 -20
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide/content.css +0 -775
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide/content.inline.css +0 -769
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide/content.inline.min.css +0 -310
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide/content.min.css +0 -312
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide/skin.css +0 -3109
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide/skin.min.css +0 -771
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -35
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -10
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/content.css +0 -756
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/content.inline.css +0 -769
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -310
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/content.min.css +0 -299
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/skin.css +0 -3112
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/skin.min.css +0 -772
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -35
- package/es/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -10
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/content.css +0 -775
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/content.inline.css +0 -769
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -310
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/content.min.css +0 -312
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/skin.css +0 -3199
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/skin.min.css +0 -812
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +0 -35
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -10
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/content.css +0 -756
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.css +0 -769
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -310
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -299
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/skin.css +0 -3199
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -812
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +0 -35
- package/es/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -10
- package/es/src/base/style/css.d.ts +0 -2
- package/es/src/base/style/index.d.ts +0 -2
- package/es/src/components.d.ts +0 -11
- package/es/src/components.d.ts.map +0 -1
- package/es/src/components.mjs +0 -23
- package/es/src/components.mjs.map +0 -1
- package/es/src/data-chart/index.d.ts +0 -20
- package/es/src/data-chart/index.d.ts.map +0 -1
- package/es/src/data-chart/index.mjs +0 -8
- package/es/src/data-chart/index.mjs.map +0 -1
- package/es/src/data-chart/src/analyze.d.ts +0 -24
- package/es/src/data-chart/src/components/area.vue.mjs +0 -9
- package/es/src/data-chart/src/components/area.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/area.vue2.mjs +0 -155
- package/es/src/data-chart/src/components/area.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/bar.vue.mjs +0 -8
- package/es/src/data-chart/src/components/bar.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/bar.vue2.mjs +0 -125
- package/es/src/data-chart/src/components/bar.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/card.vue.mjs +0 -9
- package/es/src/data-chart/src/components/card.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/card.vue2.mjs +0 -94
- package/es/src/data-chart/src/components/card.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/empty.svg.mjs +0 -5
- package/es/src/data-chart/src/components/empty.svg.mjs.map +0 -1
- package/es/src/data-chart/src/components/empty.svg2.mjs +0 -5
- package/es/src/data-chart/src/components/empty.svg2.mjs.map +0 -1
- package/es/src/data-chart/src/components/empty.vue.mjs +0 -9
- package/es/src/data-chart/src/components/empty.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/empty.vue2.mjs +0 -27
- package/es/src/data-chart/src/components/empty.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/funnel.vue.mjs +0 -8
- package/es/src/data-chart/src/components/funnel.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/funnel.vue2.mjs +0 -67
- package/es/src/data-chart/src/components/funnel.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/line.vue.mjs +0 -9
- package/es/src/data-chart/src/components/line.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/line.vue2.mjs +0 -105
- package/es/src/data-chart/src/components/line.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/pie.vue.mjs +0 -8
- package/es/src/data-chart/src/components/pie.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/pie.vue2.mjs +0 -107
- package/es/src/data-chart/src/components/pie.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/radar.vue.mjs +0 -8
- package/es/src/data-chart/src/components/radar.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/radar.vue2.mjs +0 -65
- package/es/src/data-chart/src/components/radar.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/scatter-simple.vue.mjs +0 -8
- package/es/src/data-chart/src/components/scatter-simple.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/scatter-simple.vue2.mjs +0 -52
- package/es/src/data-chart/src/components/scatter-simple.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/scatter.vue.mjs +0 -8
- package/es/src/data-chart/src/components/scatter.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/scatter.vue2.mjs +0 -67
- package/es/src/data-chart/src/components/scatter.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/table.vue.mjs +0 -9
- package/es/src/data-chart/src/components/table.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/table.vue2.mjs +0 -94
- package/es/src/data-chart/src/components/table.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/data-chart.vue.d.ts +0 -144
- package/es/src/data-chart/src/data-chart.vue.d.ts.map +0 -1
- package/es/src/data-chart/src/data-chart.vue.mjs +0 -9
- package/es/src/data-chart/src/data-chart.vue.mjs.map +0 -1
- package/es/src/data-chart/src/data-chart.vue2.mjs +0 -85
- package/es/src/data-chart/src/data-chart.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/utils/config.d.ts +0 -42
- package/es/src/data-chart/src/utils/config.mjs +0 -417
- package/es/src/data-chart/src/utils/config.mjs.map +0 -1
- package/es/src/data-chart/src/utils/injectionKeys.d.ts +0 -4
- package/es/src/data-chart/src/utils/injectionKeys.mjs +0 -5
- package/es/src/data-chart/src/utils/injectionKeys.mjs.map +0 -1
- package/es/src/data-chart/src/utils/useCharts.d.ts +0 -17
- package/es/src/data-chart/src/utils/useCharts.mjs +0 -132
- package/es/src/data-chart/src/utils/useCharts.mjs.map +0 -1
- package/es/src/data-chart/style/index.d.ts +0 -2
- package/es/src/defaults.mjs +0 -7
- package/es/src/defaults.mjs.map +0 -1
- package/es/src/file-upload/index.d.ts +0 -37
- package/es/src/file-upload/index.d.ts.map +0 -1
- package/es/src/file-upload/index.mjs +0 -8
- package/es/src/file-upload/index.mjs.map +0 -1
- package/es/src/file-upload/src/file-upload.vue.d.ts +0 -38
- package/es/src/file-upload/src/file-upload.vue.d.ts.map +0 -1
- package/es/src/file-upload/src/file-upload.vue.mjs +0 -8
- package/es/src/file-upload/src/file-upload.vue.mjs.map +0 -1
- package/es/src/file-upload/src/file-upload.vue2.mjs +0 -92
- package/es/src/file-upload/src/file-upload.vue2.mjs.map +0 -1
- package/es/src/file-upload/style/index.d.ts +0 -2
- package/es/src/fixed-action-bar/index.d.ts +0 -41
- package/es/src/fixed-action-bar/index.d.ts.map +0 -1
- package/es/src/fixed-action-bar/index.mjs +0 -8
- package/es/src/fixed-action-bar/index.mjs.map +0 -1
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue.d.ts +0 -22
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue.d.ts.map +0 -1
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue.mjs +0 -8
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue.mjs.map +0 -1
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue2.mjs +0 -67
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue2.mjs.map +0 -1
- package/es/src/fixed-action-bar/style/index.d.ts +0 -2
- package/es/src/image-upload/index.d.ts +0 -47
- package/es/src/image-upload/index.d.ts.map +0 -1
- package/es/src/image-upload/index.mjs +0 -8
- package/es/src/image-upload/index.mjs.map +0 -1
- package/es/src/image-upload/src/image-upload.vue.d.ts +0 -48
- package/es/src/image-upload/src/image-upload.vue.d.ts.map +0 -1
- package/es/src/image-upload/src/image-upload.vue.mjs +0 -8
- package/es/src/image-upload/src/image-upload.vue.mjs.map +0 -1
- package/es/src/image-upload/src/image-upload.vue2.mjs +0 -177
- package/es/src/image-upload/src/image-upload.vue2.mjs.map +0 -1
- package/es/src/image-upload/style/index.d.ts +0 -2
- package/es/src/make-installer.d.ts +0 -10
- package/es/src/make-installer.mjs +0 -14
- package/es/src/make-installer.mjs.map +0 -1
- package/es/src/photo-crop-tool/index.d.ts +0 -55
- package/es/src/photo-crop-tool/index.d.ts.map +0 -1
- package/es/src/photo-crop-tool/index.mjs +0 -8
- package/es/src/photo-crop-tool/index.mjs.map +0 -1
- package/es/src/photo-crop-tool/src/composables.mjs +0 -34
- package/es/src/photo-crop-tool/src/composables.mjs.map +0 -1
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue.d.ts +0 -66
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue.d.ts.map +0 -1
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue.mjs +0 -8
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue.mjs.map +0 -1
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue2.mjs +0 -256
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue2.mjs.map +0 -1
- package/es/src/photo-crop-tool/style/index.d.ts +0 -2
- package/es/src/subject-action/index.d.ts +0 -79
- package/es/src/subject-action/index.d.ts.map +0 -1
- package/es/src/subject-action/index.mjs +0 -8
- package/es/src/subject-action/index.mjs.map +0 -1
- package/es/src/subject-action/src/subject-action.vue.d.ts +0 -78
- package/es/src/subject-action/src/subject-action.vue.d.ts.map +0 -1
- package/es/src/subject-action/src/subject-action.vue.mjs +0 -8
- package/es/src/subject-action/src/subject-action.vue.mjs.map +0 -1
- package/es/src/subject-action/src/subject-action.vue2.mjs +0 -277
- package/es/src/subject-action/src/subject-action.vue2.mjs.map +0 -1
- package/es/src/subject-action/style/index.d.ts +0 -2
- package/es/src/subject-layout/index.d.ts +0 -28
- package/es/src/subject-layout/index.d.ts.map +0 -1
- package/es/src/subject-layout/index.mjs +0 -8
- package/es/src/subject-layout/index.mjs.map +0 -1
- package/es/src/subject-layout/src/subject-layout.vue.d.ts +0 -18
- package/es/src/subject-layout/src/subject-layout.vue.d.ts.map +0 -1
- package/es/src/subject-layout/src/subject-layout.vue.mjs +0 -8
- package/es/src/subject-layout/src/subject-layout.vue.mjs.map +0 -1
- package/es/src/subject-layout/src/subject-layout.vue2.mjs +0 -25
- package/es/src/subject-layout/src/subject-layout.vue2.mjs.map +0 -1
- package/es/src/subject-layout/style/index.d.ts +0 -2
- package/es/src/subject-list/index.d.ts +0 -20
- package/es/src/subject-list/index.d.ts.map +0 -1
- package/es/src/subject-list/index.mjs +0 -8
- package/es/src/subject-list/index.mjs.map +0 -1
- package/es/src/subject-list/src/components/SubjectPageEnd.vue.d.ts +0 -31
- package/es/src/subject-list/src/components/SubjectPageEnd.vue.d.ts.map +0 -1
- package/es/src/subject-list/src/components/SubjectPageEnd.vue.mjs +0 -8
- package/es/src/subject-list/src/components/SubjectPageEnd.vue.mjs.map +0 -1
- package/es/src/subject-list/src/components/SubjectPageEnd.vue2.mjs +0 -69
- package/es/src/subject-list/src/components/SubjectPageEnd.vue2.mjs.map +0 -1
- package/es/src/subject-list/src/components/SubjectRichText.vue.d.ts +0 -33
- package/es/src/subject-list/src/components/SubjectRichText.vue.d.ts.map +0 -1
- package/es/src/subject-list/src/components/SubjectRichText.vue.mjs +0 -8
- package/es/src/subject-list/src/components/SubjectRichText.vue.mjs.map +0 -1
- package/es/src/subject-list/src/components/SubjectRichText.vue2.mjs +0 -75
- package/es/src/subject-list/src/components/SubjectRichText.vue2.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-blank-fill.vue.d.ts +0 -47
- package/es/src/subject-list/src/components/subject-blank-fill.vue.d.ts.map +0 -1
- package/es/src/subject-list/src/components/subject-blank-fill.vue.mjs +0 -8
- package/es/src/subject-list/src/components/subject-blank-fill.vue.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-blank-fill.vue2.mjs +0 -306
- package/es/src/subject-list/src/components/subject-blank-fill.vue2.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-scale.vue.d.ts +0 -41
- package/es/src/subject-list/src/components/subject-scale.vue.d.ts.map +0 -1
- package/es/src/subject-list/src/components/subject-scale.vue.mjs +0 -8
- package/es/src/subject-list/src/components/subject-scale.vue.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-scale.vue2.mjs +0 -289
- package/es/src/subject-list/src/components/subject-scale.vue2.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-single.vue.d.ts +0 -49
- package/es/src/subject-list/src/components/subject-single.vue.d.ts.map +0 -1
- package/es/src/subject-list/src/components/subject-single.vue.mjs +0 -8
- package/es/src/subject-list/src/components/subject-single.vue.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-single.vue2.mjs +0 -486
- package/es/src/subject-list/src/components/subject-single.vue2.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-text-fill.vue.d.ts +0 -51
- package/es/src/subject-list/src/components/subject-text-fill.vue.d.ts.map +0 -1
- package/es/src/subject-list/src/components/subject-text-fill.vue.mjs +0 -8
- package/es/src/subject-list/src/components/subject-text-fill.vue.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-text-fill.vue2.mjs +0 -370
- package/es/src/subject-list/src/components/subject-text-fill.vue2.mjs.map +0 -1
- package/es/src/subject-list/src/subject-list.vue.d.ts +0 -23
- package/es/src/subject-list/src/subject-list.vue.d.ts.map +0 -1
- package/es/src/subject-list/src/subject-list.vue.mjs +0 -8
- package/es/src/subject-list/src/subject-list.vue.mjs.map +0 -1
- package/es/src/subject-list/src/subject-list.vue2.mjs +0 -250
- package/es/src/subject-list/src/subject-list.vue2.mjs.map +0 -1
- package/es/src/subject-list/style/index.d.ts +0 -2
- package/es/src/subject-type/index.d.ts +0 -8
- package/es/src/subject-type/index.d.ts.map +0 -1
- package/es/src/subject-type/index.mjs +0 -8
- package/es/src/subject-type/index.mjs.map +0 -1
- package/es/src/subject-type/src/subject-type.vue.d.ts +0 -7
- package/es/src/subject-type/src/subject-type.vue.d.ts.map +0 -1
- package/es/src/subject-type/src/subject-type.vue.mjs +0 -8
- package/es/src/subject-type/src/subject-type.vue.mjs.map +0 -1
- package/es/src/subject-type/src/subject-type.vue2.mjs +0 -97
- package/es/src/subject-type/src/subject-type.vue2.mjs.map +0 -1
- package/es/src/subject-type/style/index.d.ts +0 -2
- package/es/src/tiny-mce-editor/index.d.ts +0 -20
- package/es/src/tiny-mce-editor/index.d.ts.map +0 -1
- package/es/src/tiny-mce-editor/index.mjs +0 -8
- package/es/src/tiny-mce-editor/index.mjs.map +0 -1
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue.d.ts +0 -21
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue.d.ts.map +0 -1
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue.mjs +0 -8
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue.mjs.map +0 -1
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue2.mjs +0 -144
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue2.mjs.map +0 -1
- package/es/src/tiny-mce-editor/style/index.d.ts +0 -2
- package/es/src/withInstall.d.ts +0 -5
- package/es/src/withInstall.mjs +0 -10
- package/es/src/withInstall.mjs.map +0 -1
- package/es/theme-chalk/base.css +0 -658
- package/es/theme-chalk/base.scss +0 -18
- package/es/theme-chalk/common/element-plus.css +0 -402
- package/es/theme-chalk/common/element-plus.scss +0 -605
- package/es/theme-chalk/common/popup.css +0 -37
- package/es/theme-chalk/common/popup.scss +0 -43
- package/es/theme-chalk/common/transition.css +0 -119
- package/es/theme-chalk/common/transition.scss +0 -126
- package/es/theme-chalk/common/var.css +0 -1
- package/es/theme-chalk/common/var.scss +0 -1511
- package/es/theme-chalk/data-chart.css +0 -4
- package/es/theme-chalk/data-chart.scss +0 -7
- package/es/theme-chalk/file-upload.css +0 -23
- package/es/theme-chalk/file-upload.scss +0 -33
- package/es/theme-chalk/fixed-action-bar.css +0 -14
- package/es/theme-chalk/fixed-action-bar.scss +0 -18
- package/es/theme-chalk/image-upload.css +0 -117
- package/es/theme-chalk/image-upload.scss +0 -136
- package/es/theme-chalk/index.css +0 -1202
- package/es/theme-chalk/index.scss +0 -13
- package/es/theme-chalk/mixins/_col.css +0 -1
- package/es/theme-chalk/mixins/_col.scss +0 -33
- package/es/theme-chalk/mixins/_var.css +0 -1
- package/es/theme-chalk/mixins/_var.scss +0 -87
- package/es/theme-chalk/mixins/config.css +0 -0
- package/es/theme-chalk/mixins/config.scss +0 -5
- package/es/theme-chalk/mixins/function.css +0 -0
- package/es/theme-chalk/mixins/function.scss +0 -95
- package/es/theme-chalk/mixins/mixins.css +0 -1
- package/es/theme-chalk/mixins/mixins.scss +0 -236
- package/es/theme-chalk/mixins/utils.css +0 -0
- package/es/theme-chalk/mixins/utils.scss +0 -39
- package/es/theme-chalk/photo-crop-tool.css +0 -76
- package/es/theme-chalk/photo-crop-tool.scss +0 -84
- package/es/theme-chalk/subject-action.css +0 -27
- package/es/theme-chalk/subject-action.scss +0 -34
- package/es/theme-chalk/subject-layout.css +0 -23
- package/es/theme-chalk/subject-layout.scss +0 -26
- package/es/theme-chalk/subject-list.css +0 -222
- package/es/theme-chalk/subject-list.scss +0 -302
- package/es/theme-chalk/subject-template.css +0 -4
- package/es/theme-chalk/subject-template.scss +0 -5
- package/es/theme-chalk/subject-type.css +0 -24
- package/es/theme-chalk/subject-type.scss +0 -32
- package/es/theme-chalk/tiny-mce-editor.css +0 -16
- package/es/theme-chalk/tiny-mce-editor.scss +0 -23
- package/es/theme-chalk/var.css +0 -129
- package/es/theme-chalk/var.scss +0 -87
- package/lib/_virtual/@amap/amap-jsapi-loader/dist/index.js +0 -132
- package/lib/_virtual/@amap/amap-jsapi-loader/dist/index.js.map +0 -1
- package/lib/_virtual/@ctrl/tinycolor/dist/module/conversion.js +0 -116
- package/lib/_virtual/@ctrl/tinycolor/dist/module/conversion.js.map +0 -1
- package/lib/_virtual/@ctrl/tinycolor/dist/module/css-color-names.js +0 -154
- package/lib/_virtual/@ctrl/tinycolor/dist/module/css-color-names.js.map +0 -1
- package/lib/_virtual/@ctrl/tinycolor/dist/module/format-input.js +0 -69
- package/lib/_virtual/@ctrl/tinycolor/dist/module/format-input.js.map +0 -1
- package/lib/_virtual/@ctrl/tinycolor/dist/module/index.js +0 -184
- package/lib/_virtual/@ctrl/tinycolor/dist/module/index.js.map +0 -1
- package/lib/_virtual/@ctrl/tinycolor/dist/module/util.js +0 -33
- package/lib/_virtual/@ctrl/tinycolor/dist/module/util.js.map +0 -1
- package/lib/_virtual/@sxzz/popperjs-es/dist/index.js +0 -575
- package/lib/_virtual/@sxzz/popperjs-es/dist/index.js.map +0 -1
- package/lib/_virtual/@vue/shared/dist/shared.esm-bundler.js +0 -27
- package/lib/_virtual/@vue/shared/dist/shared.esm-bundler.js.map +0 -1
- package/lib/_virtual/@vueuse/core/index.js +0 -374
- package/lib/_virtual/@vueuse/core/index.js.map +0 -1
- package/lib/_virtual/@vueuse/core/index2.js +0 -214
- package/lib/_virtual/@vueuse/core/index2.js.map +0 -1
- package/lib/_virtual/@vueuse/shared/index.js +0 -155
- package/lib/_virtual/@vueuse/shared/index.js.map +0 -1
- package/lib/_virtual/@vueuse/shared/index2.js +0 -99
- package/lib/_virtual/@vueuse/shared/index2.js.map +0 -1
- package/lib/_virtual/_commonjsHelpers.js +0 -7
- package/lib/_virtual/_commonjsHelpers.js.map +0 -1
- package/lib/_virtual/_plugin-vue_export-helper.js +0 -10
- package/lib/_virtual/_plugin-vue_export-helper.js.map +0 -1
- package/lib/_virtual/dynamic-import-helper.js +0 -17
- package/lib/_virtual/dynamic-import-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/_virtual/plugin-vue_export-helper.js +0 -10
- package/lib/_virtual/element-plus/es/_virtual/plugin-vue_export-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/alert/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/alert/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/alert/src/alert.js +0 -41
- package/lib/_virtual/element-plus/es/components/alert/src/alert.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/alert/src/alert2.js +0 -94
- package/lib/_virtual/element-plus/es/components/alert/src/alert2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/badge/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/badge/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/badge/src/badge.js +0 -37
- package/lib/_virtual/element-plus/es/components/badge/src/badge.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/badge/src/badge2.js +0 -73
- package/lib/_virtual/element-plus/es/components/badge/src/badge2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/button/index.js +0 -12
- package/lib/_virtual/element-plus/es/components/button/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/button/src/button-custom.js +0 -52
- package/lib/_virtual/element-plus/es/components/button/src/button-custom.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/button/src/button-group.js +0 -40
- package/lib/_virtual/element-plus/es/components/button/src/button-group.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/button/src/button-group2.js +0 -9
- package/lib/_virtual/element-plus/es/components/button/src/button-group2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/button/src/button.js +0 -61
- package/lib/_virtual/element-plus/es/components/button/src/button.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/button/src/button2.js +0 -85
- package/lib/_virtual/element-plus/es/components/button/src/button2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/button/src/constants.js +0 -5
- package/lib/_virtual/element-plus/es/components/button/src/constants.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/button/src/use-button.js +0 -54
- package/lib/_virtual/element-plus/es/components/button/src/use-button.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/checkbox/index.js +0 -16
- package/lib/_virtual/element-plus/es/components/checkbox/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/checkbox/src/checkbox-button.js +0 -105
- package/lib/_virtual/element-plus/es/components/checkbox/src/checkbox-button.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/checkbox/src/checkbox-group.js +0 -90
- package/lib/_virtual/element-plus/es/components/checkbox/src/checkbox-group.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/checkbox/src/checkbox-group2.js +0 -44
- package/lib/_virtual/element-plus/es/components/checkbox/src/checkbox-group2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/checkbox/src/checkbox.js +0 -72
- package/lib/_virtual/element-plus/es/components/checkbox/src/checkbox.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/checkbox/src/checkbox2.js +0 -121
- package/lib/_virtual/element-plus/es/components/checkbox/src/checkbox2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-disabled.js +0 -22
- package/lib/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-disabled.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-event.js +0 -58
- package/lib/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-event.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-model.js +0 -26
- package/lib/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-model.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-status.js +0 -32
- package/lib/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox-status.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox.js +0 -71
- package/lib/_virtual/element-plus/es/components/checkbox/src/composables/use-checkbox.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/checkbox/src/constants.js +0 -5
- package/lib/_virtual/element-plus/es/components/checkbox/src/constants.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/col/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/col/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/col/src/col.js +0 -48
- package/lib/_virtual/element-plus/es/components/col/src/col.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/col/src/col2.js +0 -54
- package/lib/_virtual/element-plus/es/components/col/src/col2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/collection/src/collection-item.js +0 -14
- package/lib/_virtual/element-plus/es/components/collection/src/collection-item.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/collection/src/collection.js +0 -61
- package/lib/_virtual/element-plus/es/components/collection/src/collection.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/collection/src/collection2.js +0 -13
- package/lib/_virtual/element-plus/es/components/collection/src/collection2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/config-provider/src/config-provider-props.js +0 -46
- package/lib/_virtual/element-plus/es/components/config-provider/src/config-provider-props.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/config-provider/src/config-provider.js +0 -19
- package/lib/_virtual/element-plus/es/components/config-provider/src/config-provider.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/config-provider/src/constants.js +0 -5
- package/lib/_virtual/element-plus/es/components/config-provider/src/constants.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/config-provider/src/hooks/use-global-config.js +0 -67
- package/lib/_virtual/element-plus/es/components/config-provider/src/hooks/use-global-config.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/dialog/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/dialog/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/dialog/src/constants.js +0 -5
- package/lib/_virtual/element-plus/es/components/dialog/src/constants.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/dialog/src/dialog-content.js +0 -34
- package/lib/_virtual/element-plus/es/components/dialog/src/dialog-content.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/dialog/src/dialog-content2.js +0 -90
- package/lib/_virtual/element-plus/es/components/dialog/src/dialog-content2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/dialog/src/dialog.js +0 -83
- package/lib/_virtual/element-plus/es/components/dialog/src/dialog.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/dialog/src/dialog2.js +0 -176
- package/lib/_virtual/element-plus/es/components/dialog/src/dialog2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/dialog/src/use-dialog.js +0 -98
- package/lib/_virtual/element-plus/es/components/dialog/src/use-dialog.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/dropdown/src/dropdown.js +0 -111
- package/lib/_virtual/element-plus/es/components/dropdown/src/dropdown.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/focus-trap/src/focus-trap.js +0 -179
- package/lib/_virtual/element-plus/es/components/focus-trap/src/focus-trap.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/focus-trap/src/tokens.js +0 -18
- package/lib/_virtual/element-plus/es/components/focus-trap/src/tokens.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/focus-trap/src/utils.js +0 -104
- package/lib/_virtual/element-plus/es/components/focus-trap/src/utils.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/form/src/constants.js +0 -6
- package/lib/_virtual/element-plus/es/components/form/src/constants.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/form/src/hooks/use-form-common-props.js +0 -16
- package/lib/_virtual/element-plus/es/components/form/src/hooks/use-form-common-props.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/form/src/hooks/use-form-item.js +0 -38
- package/lib/_virtual/element-plus/es/components/form/src/hooks/use-form-item.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/icon/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/icon/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/icon/src/icon.js +0 -44
- package/lib/_virtual/element-plus/es/components/icon/src/icon.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/icon/src/icon2.js +0 -13
- package/lib/_virtual/element-plus/es/components/icon/src/icon2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/image/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/image/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/image/src/image.js +0 -73
- package/lib/_virtual/element-plus/es/components/image/src/image.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/image/src/image2.js +0 -193
- package/lib/_virtual/element-plus/es/components/image/src/image2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/image-viewer/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/image-viewer/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/image-viewer/src/image-viewer.js +0 -54
- package/lib/_virtual/element-plus/es/components/image-viewer/src/image-viewer.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/image-viewer/src/image-viewer2.js +0 -372
- package/lib/_virtual/element-plus/es/components/image-viewer/src/image-viewer2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/input/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/input/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/input/src/input.js +0 -117
- package/lib/_virtual/element-plus/es/components/input/src/input.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/input/src/input2.js +0 -368
- package/lib/_virtual/element-plus/es/components/input/src/input2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/input/src/utils.js +0 -58
- package/lib/_virtual/element-plus/es/components/input/src/utils.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/input-number/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/input-number/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/input-number/src/input-number.js +0 -75
- package/lib/_virtual/element-plus/es/components/input-number/src/input-number.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/input-number/src/input-number2.js +0 -234
- package/lib/_virtual/element-plus/es/components/input-number/src/input-number2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/link/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/link/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/link/src/link.js +0 -29
- package/lib/_virtual/element-plus/es/components/link/src/link.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/link/src/link2.js +0 -59
- package/lib/_virtual/element-plus/es/components/link/src/link2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/message/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/message/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/message/src/instance.js +0 -16
- package/lib/_virtual/element-plus/es/components/message/src/instance.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/message/src/message.js +0 -97
- package/lib/_virtual/element-plus/es/components/message/src/message.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/message/src/message2.js +0 -136
- package/lib/_virtual/element-plus/es/components/message/src/message2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/message/src/method.js +0 -109
- package/lib/_virtual/element-plus/es/components/message/src/method.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/overlay/index.js +0 -10
- package/lib/_virtual/element-plus/es/components/overlay/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/overlay/src/overlay.js +0 -59
- package/lib/_virtual/element-plus/es/components/overlay/src/overlay.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popover/index.js +0 -12
- package/lib/_virtual/element-plus/es/components/popover/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popover/src/directive.js +0 -18
- package/lib/_virtual/element-plus/es/components/popover/src/directive.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popover/src/popover.js +0 -79
- package/lib/_virtual/element-plus/es/components/popover/src/popover.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popover/src/popover2.js +0 -100
- package/lib/_virtual/element-plus/es/components/popover/src/popover2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/popper/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/src/arrow.js +0 -11
- package/lib/_virtual/element-plus/es/components/popper/src/arrow.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/src/arrow2.js +0 -44
- package/lib/_virtual/element-plus/es/components/popper/src/arrow2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/src/composables/use-content-dom.js +0 -35
- package/lib/_virtual/element-plus/es/components/popper/src/composables/use-content-dom.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/src/composables/use-content.js +0 -62
- package/lib/_virtual/element-plus/es/components/popper/src/composables/use-content.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/src/composables/use-focus-trap.js +0 -28
- package/lib/_virtual/element-plus/es/components/popper/src/composables/use-focus-trap.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/src/constants.js +0 -6
- package/lib/_virtual/element-plus/es/components/popper/src/constants.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/src/content.js +0 -103
- package/lib/_virtual/element-plus/es/components/popper/src/content.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/src/content2.js +0 -117
- package/lib/_virtual/element-plus/es/components/popper/src/content2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/src/popper.js +0 -22
- package/lib/_virtual/element-plus/es/components/popper/src/popper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/src/popper2.js +0 -37
- package/lib/_virtual/element-plus/es/components/popper/src/popper2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/src/trigger.js +0 -34
- package/lib/_virtual/element-plus/es/components/popper/src/trigger.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/src/trigger2.js +0 -103
- package/lib/_virtual/element-plus/es/components/popper/src/trigger2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/popper/src/utils.js +0 -69
- package/lib/_virtual/element-plus/es/components/popper/src/utils.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/progress/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/progress/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/progress/src/progress.js +0 -58
- package/lib/_virtual/element-plus/es/components/progress/src/progress.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/progress/src/progress2.js +0 -167
- package/lib/_virtual/element-plus/es/components/progress/src/progress2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/radio/index.js +0 -15
- package/lib/_virtual/element-plus/es/components/radio/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/radio/src/constants.js +0 -5
- package/lib/_virtual/element-plus/es/components/radio/src/constants.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/radio/src/radio-button.js +0 -74
- package/lib/_virtual/element-plus/es/components/radio/src/radio-button.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/radio/src/radio-button2.js +0 -18
- package/lib/_virtual/element-plus/es/components/radio/src/radio-button2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/radio/src/radio-group.js +0 -48
- package/lib/_virtual/element-plus/es/components/radio/src/radio-group.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/radio/src/radio-group2.js +0 -60
- package/lib/_virtual/element-plus/es/components/radio/src/radio-group2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/radio/src/radio.js +0 -48
- package/lib/_virtual/element-plus/es/components/radio/src/radio.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/radio/src/radio2.js +0 -86
- package/lib/_virtual/element-plus/es/components/radio/src/radio2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/radio/src/use-radio.js +0 -37
- package/lib/_virtual/element-plus/es/components/radio/src/use-radio.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/row/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/row/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/row/src/constants.js +0 -5
- package/lib/_virtual/element-plus/es/components/row/src/constants.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/row/src/row.js +0 -33
- package/lib/_virtual/element-plus/es/components/row/src/row.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/row/src/row2.js +0 -50
- package/lib/_virtual/element-plus/es/components/row/src/row2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/scrollbar/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/scrollbar/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/scrollbar/src/bar.js +0 -15
- package/lib/_virtual/element-plus/es/components/scrollbar/src/bar.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/scrollbar/src/bar2.js +0 -48
- package/lib/_virtual/element-plus/es/components/scrollbar/src/bar2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/scrollbar/src/constants.js +0 -5
- package/lib/_virtual/element-plus/es/components/scrollbar/src/constants.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/scrollbar/src/scrollbar.js +0 -70
- package/lib/_virtual/element-plus/es/components/scrollbar/src/scrollbar.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/scrollbar/src/scrollbar2.js +0 -131
- package/lib/_virtual/element-plus/es/components/scrollbar/src/scrollbar2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/scrollbar/src/thumb.js +0 -15
- package/lib/_virtual/element-plus/es/components/scrollbar/src/thumb.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/scrollbar/src/thumb2.js +0 -88
- package/lib/_virtual/element-plus/es/components/scrollbar/src/thumb2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/scrollbar/src/util.js +0 -35
- package/lib/_virtual/element-plus/es/components/scrollbar/src/util.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/select/index.js +0 -15
- package/lib/_virtual/element-plus/es/components/select/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/select/src/option-group.js +0 -76
- package/lib/_virtual/element-plus/es/components/select/src/option-group.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/select/src/option.js +0 -84
- package/lib/_virtual/element-plus/es/components/select/src/option.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/select/src/options.js +0 -27
- package/lib/_virtual/element-plus/es/components/select/src/options.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/select/src/select-dropdown.js +0 -50
- package/lib/_virtual/element-plus/es/components/select/src/select-dropdown.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/select/src/select.js +0 -128
- package/lib/_virtual/element-plus/es/components/select/src/select.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/select/src/select2.js +0 -420
- package/lib/_virtual/element-plus/es/components/select/src/select2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/select/src/token.js +0 -6
- package/lib/_virtual/element-plus/es/components/select/src/token.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/select/src/useOption.js +0 -50
- package/lib/_virtual/element-plus/es/components/select/src/useOption.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/select/src/useSelect.js +0 -363
- package/lib/_virtual/element-plus/es/components/select/src/useSelect.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/slot/src/only-child.js +0 -56
- package/lib/_virtual/element-plus/es/components/slot/src/only-child.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/index.js +0 -12
- package/lib/_virtual/element-plus/es/components/table/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/composables/use-scrollbar.js +0 -21
- package/lib/_virtual/element-plus/es/components/table/src/composables/use-scrollbar.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/config.js +0 -165
- package/lib/_virtual/element-plus/es/components/table/src/config.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/filter-panel.js +0 -217
- package/lib/_virtual/element-plus/es/components/table/src/filter-panel.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/h-helper.js +0 -23
- package/lib/_virtual/element-plus/es/components/table/src/h-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/layout-observer.js +0 -51
- package/lib/_virtual/element-plus/es/components/table/src/layout-observer.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/store/current.js +0 -46
- package/lib/_virtual/element-plus/es/components/table/src/store/current.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/store/expand.js +0 -43
- package/lib/_virtual/element-plus/es/components/table/src/store/expand.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/store/helper.js +0 -57
- package/lib/_virtual/element-plus/es/components/table/src/store/helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/store/index.js +0 -111
- package/lib/_virtual/element-plus/es/components/table/src/store/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/store/tree.js +0 -146
- package/lib/_virtual/element-plus/es/components/table/src/store/tree.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/store/watcher.js +0 -295
- package/lib/_virtual/element-plus/es/components/table/src/store/watcher.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table/defaults.js +0 -89
- package/lib/_virtual/element-plus/es/components/table/src/table/defaults.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table/key-render-helper.js +0 -19
- package/lib/_virtual/element-plus/es/components/table/src/table/key-render-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table/style-helper.js +0 -175
- package/lib/_virtual/element-plus/es/components/table/src/table/style-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table/utils-helper.js +0 -36
- package/lib/_virtual/element-plus/es/components/table/src/table/utils-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-body/defaults.js +0 -26
- package/lib/_virtual/element-plus/es/components/table/src/table-body/defaults.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-body/events-helper.js +0 -83
- package/lib/_virtual/element-plus/es/components/table/src/table-body/events-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-body/index.js +0 -65
- package/lib/_virtual/element-plus/es/components/table/src/table-body/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-body/render-helper.js +0 -153
- package/lib/_virtual/element-plus/es/components/table/src/table-body/render-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-body/styles-helper.js +0 -71
- package/lib/_virtual/element-plus/es/components/table/src/table-body/styles-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-body/td-wrapper.js +0 -41
- package/lib/_virtual/element-plus/es/components/table/src/table-body/td-wrapper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-column/defaults.js +0 -61
- package/lib/_virtual/element-plus/es/components/table/src/table-column/defaults.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-column/index.js +0 -120
- package/lib/_virtual/element-plus/es/components/table/src/table-column/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-column/render-helper.js +0 -86
- package/lib/_virtual/element-plus/es/components/table/src/table-column/render-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-column/watcher-helper.js +0 -56
- package/lib/_virtual/element-plus/es/components/table/src/table-column/watcher-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-footer/index.js +0 -84
- package/lib/_virtual/element-plus/es/components/table/src/table-footer/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-footer/mapState-helper.js +0 -17
- package/lib/_virtual/element-plus/es/components/table/src/table-footer/mapState-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-footer/style-helper.js +0 -27
- package/lib/_virtual/element-plus/es/components/table/src/table-footer/style-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-header/event-helper.js +0 -98
- package/lib/_virtual/element-plus/es/components/table/src/table-header/event-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-header/index.js +0 -205
- package/lib/_virtual/element-plus/es/components/table/src/table-header/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-header/style.helper.js +0 -52
- package/lib/_virtual/element-plus/es/components/table/src/table-header/style.helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-header/utils-helper.js +0 -46
- package/lib/_virtual/element-plus/es/components/table/src/table-header/utils-helper.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table-layout.js +0 -137
- package/lib/_virtual/element-plus/es/components/table/src/table-layout.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/table.js +0 -354
- package/lib/_virtual/element-plus/es/components/table/src/table.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/tokens.js +0 -5
- package/lib/_virtual/element-plus/es/components/table/src/tokens.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/table/src/util.js +0 -272
- package/lib/_virtual/element-plus/es/components/table/src/util.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/tag/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/tag/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/tag/src/tag.js +0 -103
- package/lib/_virtual/element-plus/es/components/tag/src/tag.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/tag/src/tag2.js +0 -31
- package/lib/_virtual/element-plus/es/components/tag/src/tag2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/teleport/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/teleport/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/teleport/src/teleport.js +0 -12
- package/lib/_virtual/element-plus/es/components/teleport/src/teleport.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/teleport/src/teleport2.js +0 -20
- package/lib/_virtual/element-plus/es/components/teleport/src/teleport2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/tooltip/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/tooltip/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/tooltip/src/constants.js +0 -5
- package/lib/_virtual/element-plus/es/components/tooltip/src/constants.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/tooltip/src/content.js +0 -151
- package/lib/_virtual/element-plus/es/components/tooltip/src/content.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/tooltip/src/content2.js +0 -41
- package/lib/_virtual/element-plus/es/components/tooltip/src/content2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/tooltip/src/tooltip.js +0 -44
- package/lib/_virtual/element-plus/es/components/tooltip/src/tooltip.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/tooltip/src/tooltip2.js +0 -160
- package/lib/_virtual/element-plus/es/components/tooltip/src/tooltip2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/tooltip/src/trigger.js +0 -30
- package/lib/_virtual/element-plus/es/components/tooltip/src/trigger.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/tooltip/src/trigger2.js +0 -64
- package/lib/_virtual/element-plus/es/components/tooltip/src/trigger2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/tooltip/src/utils.js +0 -10
- package/lib/_virtual/element-plus/es/components/tooltip/src/utils.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/upload/index.js +0 -8
- package/lib/_virtual/element-plus/es/components/upload/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/upload/src/ajax.js +0 -54
- package/lib/_virtual/element-plus/es/components/upload/src/ajax.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/upload/src/constants.js +0 -5
- package/lib/_virtual/element-plus/es/components/upload/src/constants.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/upload/src/upload-content.js +0 -49
- package/lib/_virtual/element-plus/es/components/upload/src/upload-content.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/upload/src/upload-content2.js +0 -174
- package/lib/_virtual/element-plus/es/components/upload/src/upload-content2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/upload/src/upload-dragger.js +0 -15
- package/lib/_virtual/element-plus/es/components/upload/src/upload-dragger.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/upload/src/upload-dragger2.js +0 -50
- package/lib/_virtual/element-plus/es/components/upload/src/upload-dragger2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/upload/src/upload-list.js +0 -33
- package/lib/_virtual/element-plus/es/components/upload/src/upload-list.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/upload/src/upload-list2.js +0 -176
- package/lib/_virtual/element-plus/es/components/upload/src/upload-list2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/upload/src/upload.js +0 -115
- package/lib/_virtual/element-plus/es/components/upload/src/upload.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/upload/src/upload2.js +0 -130
- package/lib/_virtual/element-plus/es/components/upload/src/upload2.js.map +0 -1
- package/lib/_virtual/element-plus/es/components/upload/src/use-handlers.js +0 -107
- package/lib/_virtual/element-plus/es/components/upload/src/use-handlers.js.map +0 -1
- package/lib/_virtual/element-plus/es/constants/aria.js +0 -16
- package/lib/_virtual/element-plus/es/constants/aria.js.map +0 -1
- package/lib/_virtual/element-plus/es/constants/event.js +0 -7
- package/lib/_virtual/element-plus/es/constants/event.js.map +0 -1
- package/lib/_virtual/element-plus/es/constants/size.js +0 -5
- package/lib/_virtual/element-plus/es/constants/size.js.map +0 -1
- package/lib/_virtual/element-plus/es/directives/click-outside/index.js +0 -45
- package/lib/_virtual/element-plus/es/directives/click-outside/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/directives/mousewheel/index.js +0 -18
- package/lib/_virtual/element-plus/es/directives/mousewheel/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/directives/repeat-click/index.js +0 -25
- package/lib/_virtual/element-plus/es/directives/repeat-click/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-aria/index.js +0 -15
- package/lib/_virtual/element-plus/es/hooks/use-aria/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-attrs/index.js +0 -14
- package/lib/_virtual/element-plus/es/hooks/use-attrs/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-calc-input-width/index.js +0 -19
- package/lib/_virtual/element-plus/es/hooks/use-calc-input-width/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-composition/index.js +0 -30
- package/lib/_virtual/element-plus/es/hooks/use-composition/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-cursor/index.js +0 -40
- package/lib/_virtual/element-plus/es/hooks/use-cursor/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-delayed-toggle/index.js +0 -50
- package/lib/_virtual/element-plus/es/hooks/use-delayed-toggle/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-deprecated/index.js +0 -15
- package/lib/_virtual/element-plus/es/hooks/use-deprecated/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-draggable/index.js +0 -42
- package/lib/_virtual/element-plus/es/hooks/use-draggable/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-empty-values/index.js +0 -28
- package/lib/_virtual/element-plus/es/hooks/use-empty-values/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-escape-keydown/index.js +0 -17
- package/lib/_virtual/element-plus/es/hooks/use-escape-keydown/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-focus-controller/index.js +0 -35
- package/lib/_virtual/element-plus/es/hooks/use-focus-controller/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-forward-ref/index.js +0 -24
- package/lib/_virtual/element-plus/es/hooks/use-forward-ref/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-id/index.js +0 -23
- package/lib/_virtual/element-plus/es/hooks/use-id/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-locale/index.js +0 -25
- package/lib/_virtual/element-plus/es/hooks/use-locale/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-lockscreen/index.js +0 -31
- package/lib/_virtual/element-plus/es/hooks/use-lockscreen/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-model-toggle/index.js +0 -73
- package/lib/_virtual/element-plus/es/hooks/use-model-toggle/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-namespace/index.js +0 -45
- package/lib/_virtual/element-plus/es/hooks/use-namespace/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-popper/index.js +0 -89
- package/lib/_virtual/element-plus/es/hooks/use-popper/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-popper-container/index.js +0 -27
- package/lib/_virtual/element-plus/es/hooks/use-popper-container/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-prop/index.js +0 -12
- package/lib/_virtual/element-plus/es/hooks/use-prop/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-same-target/index.js +0 -17
- package/lib/_virtual/element-plus/es/hooks/use-same-target/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-size/index.js +0 -17
- package/lib/_virtual/element-plus/es/hooks/use-size/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-timeout/index.js +0 -15
- package/lib/_virtual/element-plus/es/hooks/use-timeout/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/hooks/use-z-index/index.js +0 -25
- package/lib/_virtual/element-plus/es/hooks/use-z-index/index.js.map +0 -1
- package/lib/_virtual/element-plus/es/locale/lang/en.js +0 -183
- package/lib/_virtual/element-plus/es/locale/lang/en.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/browser.js +0 -9
- package/lib/_virtual/element-plus/es/utils/browser.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/dom/aria.js +0 -22
- package/lib/_virtual/element-plus/es/utils/dom/aria.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/dom/event.js +0 -9
- package/lib/_virtual/element-plus/es/utils/dom/event.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/dom/position.js +0 -17
- package/lib/_virtual/element-plus/es/utils/dom/position.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/dom/scroll.js +0 -61
- package/lib/_virtual/element-plus/es/utils/dom/scroll.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/dom/style.js +0 -48
- package/lib/_virtual/element-plus/es/utils/dom/style.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/error.js +0 -20
- package/lib/_virtual/element-plus/es/utils/error.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/i18n.js +0 -5
- package/lib/_virtual/element-plus/es/utils/i18n.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/objects.js +0 -15
- package/lib/_virtual/element-plus/es/utils/objects.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/raf.js +0 -6
- package/lib/_virtual/element-plus/es/utils/raf.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/strings.js +0 -5
- package/lib/_virtual/element-plus/es/utils/strings.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/types.js +0 -18
- package/lib/_virtual/element-plus/es/utils/types.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/typescript.js +0 -5
- package/lib/_virtual/element-plus/es/utils/typescript.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/vue/icon.js +0 -28
- package/lib/_virtual/element-plus/es/utils/vue/icon.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/vue/install.js +0 -21
- package/lib/_virtual/element-plus/es/utils/vue/install.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/vue/props/runtime.js +0 -32
- package/lib/_virtual/element-plus/es/utils/vue/props/runtime.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/vue/refs.js +0 -10
- package/lib/_virtual/element-plus/es/utils/vue/refs.js.map +0 -1
- package/lib/_virtual/element-plus/es/utils/vue/vnode.js +0 -6
- package/lib/_virtual/element-plus/es/utils/vue/vnode.js.map +0 -1
- package/lib/_virtual/element-plus/theme-chalk/src/tooltip.scss.js +0 -2
- package/lib/_virtual/element-plus/theme-chalk/src/tooltip.scss.js.map +0 -1
- package/lib/_virtual/index.js +0 -3
- package/lib/_virtual/index.js.map +0 -1
- package/lib/_virtual/index10.js +0 -3
- package/lib/_virtual/index10.js.map +0 -1
- package/lib/_virtual/index11.js +0 -3
- package/lib/_virtual/index11.js.map +0 -1
- package/lib/_virtual/index12.js +0 -3
- package/lib/_virtual/index12.js.map +0 -1
- package/lib/_virtual/index13.js +0 -3
- package/lib/_virtual/index13.js.map +0 -1
- package/lib/_virtual/index14.js +0 -3
- package/lib/_virtual/index14.js.map +0 -1
- package/lib/_virtual/index15.js +0 -3
- package/lib/_virtual/index15.js.map +0 -1
- package/lib/_virtual/index16.js +0 -12
- package/lib/_virtual/index16.js.map +0 -1
- package/lib/_virtual/index17.js +0 -5
- package/lib/_virtual/index17.js.map +0 -1
- package/lib/_virtual/index18.js +0 -5
- package/lib/_virtual/index18.js.map +0 -1
- package/lib/_virtual/index19.js +0 -5
- package/lib/_virtual/index19.js.map +0 -1
- package/lib/_virtual/index2.js +0 -3
- package/lib/_virtual/index2.js.map +0 -1
- package/lib/_virtual/index20.js +0 -5
- package/lib/_virtual/index20.js.map +0 -1
- package/lib/_virtual/index21.js +0 -5
- package/lib/_virtual/index21.js.map +0 -1
- package/lib/_virtual/index22.js +0 -5
- package/lib/_virtual/index22.js.map +0 -1
- package/lib/_virtual/index23.js +0 -5
- package/lib/_virtual/index23.js.map +0 -1
- package/lib/_virtual/index24.js +0 -5
- package/lib/_virtual/index24.js.map +0 -1
- package/lib/_virtual/index25.js +0 -5
- package/lib/_virtual/index25.js.map +0 -1
- package/lib/_virtual/index26.js +0 -5
- package/lib/_virtual/index26.js.map +0 -1
- package/lib/_virtual/index27.js +0 -5
- package/lib/_virtual/index27.js.map +0 -1
- package/lib/_virtual/index28.js +0 -5
- package/lib/_virtual/index28.js.map +0 -1
- package/lib/_virtual/index29.js +0 -5
- package/lib/_virtual/index29.js.map +0 -1
- package/lib/_virtual/index3.js +0 -3
- package/lib/_virtual/index3.js.map +0 -1
- package/lib/_virtual/index30.js +0 -5
- package/lib/_virtual/index30.js.map +0 -1
- package/lib/_virtual/index31.js +0 -5
- package/lib/_virtual/index31.js.map +0 -1
- package/lib/_virtual/index32.js +0 -5
- package/lib/_virtual/index32.js.map +0 -1
- package/lib/_virtual/index4.js +0 -3
- package/lib/_virtual/index4.js.map +0 -1
- package/lib/_virtual/index5.js +0 -3
- package/lib/_virtual/index5.js.map +0 -1
- package/lib/_virtual/index6.js +0 -3
- package/lib/_virtual/index6.js.map +0 -1
- package/lib/_virtual/index7.js +0 -3
- package/lib/_virtual/index7.js.map +0 -1
- package/lib/_virtual/index8.js +0 -3
- package/lib/_virtual/index8.js.map +0 -1
- package/lib/_virtual/index9.js +0 -3
- package/lib/_virtual/index9.js.map +0 -1
- package/lib/_virtual/model.js +0 -5
- package/lib/_virtual/model.js.map +0 -1
- package/lib/_virtual/normalize-wheel-es/dist/index.js +0 -89
- package/lib/_virtual/normalize-wheel-es/dist/index.js.map +0 -1
- package/lib/_virtual/plugin.js +0 -5
- package/lib/_virtual/plugin.js.map +0 -1
- package/lib/_virtual/plugin10.js +0 -5
- package/lib/_virtual/plugin10.js.map +0 -1
- package/lib/_virtual/plugin11.js +0 -5
- package/lib/_virtual/plugin11.js.map +0 -1
- package/lib/_virtual/plugin12.js +0 -5
- package/lib/_virtual/plugin12.js.map +0 -1
- package/lib/_virtual/plugin13.js +0 -5
- package/lib/_virtual/plugin13.js.map +0 -1
- package/lib/_virtual/plugin14.js +0 -5
- package/lib/_virtual/plugin14.js.map +0 -1
- package/lib/_virtual/plugin2.js +0 -5
- package/lib/_virtual/plugin2.js.map +0 -1
- package/lib/_virtual/plugin3.js +0 -5
- package/lib/_virtual/plugin3.js.map +0 -1
- package/lib/_virtual/plugin4.js +0 -5
- package/lib/_virtual/plugin4.js.map +0 -1
- package/lib/_virtual/plugin5.js +0 -5
- package/lib/_virtual/plugin5.js.map +0 -1
- package/lib/_virtual/plugin6.js +0 -5
- package/lib/_virtual/plugin6.js.map +0 -1
- package/lib/_virtual/plugin7.js +0 -5
- package/lib/_virtual/plugin7.js.map +0 -1
- package/lib/_virtual/plugin8.js +0 -5
- package/lib/_virtual/plugin8.js.map +0 -1
- package/lib/_virtual/plugin9.js +0 -5
- package/lib/_virtual/plugin9.js.map +0 -1
- package/lib/_virtual/theme.js +0 -3
- package/lib/_virtual/theme.js.map +0 -1
- package/lib/_virtual/theme2.js +0 -5
- package/lib/_virtual/theme2.js.map +0 -1
- package/lib/_virtual/tinymce/icons/default/icons.js +0 -229
- package/lib/_virtual/tinymce/icons/default/icons.js.map +0 -1
- package/lib/_virtual/tinymce/models/dom/index.js +0 -10
- package/lib/_virtual/tinymce/models/dom/index.js.map +0 -1
- package/lib/_virtual/tinymce/models/dom/model.js +0 -4282
- package/lib/_virtual/tinymce/models/dom/model.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/autolink/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/autolink/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/autolink/plugin.js +0 -112
- package/lib/_virtual/tinymce/plugins/autolink/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/autoresize/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/autoresize/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/autoresize/plugin.js +0 -106
- package/lib/_virtual/tinymce/plugins/autoresize/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/code/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/code/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/code/plugin.js +0 -65
- package/lib/_virtual/tinymce/plugins/code/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/fullscreen/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/fullscreen/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/fullscreen/plugin.js +0 -703
- package/lib/_virtual/tinymce/plugins/fullscreen/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/image/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/image/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/image/plugin.js +0 -882
- package/lib/_virtual/tinymce/plugins/image/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/insertdatetime/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/insertdatetime/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/insertdatetime/plugin.js +0 -115
- package/lib/_virtual/tinymce/plugins/insertdatetime/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/link/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/link/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/link/plugin.js +0 -815
- package/lib/_virtual/tinymce/plugins/link/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/lists/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/lists/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/lists/plugin.js +0 -1169
- package/lib/_virtual/tinymce/plugins/lists/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/media/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/media/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/media/plugin.js +0 -777
- package/lib/_virtual/tinymce/plugins/media/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/nonbreaking/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/nonbreaking/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/nonbreaking/plugin.js +0 -79
- package/lib/_virtual/tinymce/plugins/nonbreaking/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/preview/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/preview/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/preview/plugin.js +0 -384
- package/lib/_virtual/tinymce/plugins/preview/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/searchreplace/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/searchreplace/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/searchreplace/plugin.js +0 -675
- package/lib/_virtual/tinymce/plugins/searchreplace/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/table/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/table/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/table/plugin.js +0 -2147
- package/lib/_virtual/tinymce/plugins/table/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/wordcount/index.js +0 -10
- package/lib/_virtual/tinymce/plugins/wordcount/index.js.map +0 -1
- package/lib/_virtual/tinymce/plugins/wordcount/plugin.js +0 -270
- package/lib/_virtual/tinymce/plugins/wordcount/plugin.js.map +0 -1
- package/lib/_virtual/tinymce/themes/silver/theme.js +0 -21392
- package/lib/_virtual/tinymce/themes/silver/theme.js.map +0 -1
- package/lib/_virtual/tinymce/tinymce.js +0 -16923
- package/lib/_virtual/tinymce/tinymce.js.map +0 -1
- package/lib/_virtual/tinymce.js +0 -8
- package/lib/_virtual/tinymce.js.map +0 -1
- package/lib/_virtual/tinymce2.js +0 -5
- package/lib/_virtual/tinymce2.js.map +0 -1
- package/lib/_virtual/xlsx/xlsx.js +0 -15604
- package/lib/_virtual/xlsx/xlsx.js.map +0 -1
- package/lib/components.css +0 -1
- package/lib/index.d.ts +0 -7
- package/lib/index.d.ts.map +0 -1
- package/lib/packages/hooks/src/use-namespace.js +0 -50
- package/lib/packages/hooks/src/use-namespace.js.map +0 -1
- package/lib/packages/utils/src/device.js +0 -8
- package/lib/packages/utils/src/device.js.map +0 -1
- package/lib/packages/utils/src/json.js +0 -15
- package/lib/packages/utils/src/json.js.map +0 -1
- package/lib/public/tiny-mce-editor/tinymce/langs/zh-Hans.js +0 -7
- package/lib/public/tiny-mce-editor/tinymce/skins/content/dark/content.css +0 -78
- package/lib/public/tiny-mce-editor/tinymce/skins/content/dark/content.min.css +0 -21
- package/lib/public/tiny-mce-editor/tinymce/skins/content/default/content.css +0 -72
- package/lib/public/tiny-mce-editor/tinymce/skins/content/default/content.min.css +0 -20
- package/lib/public/tiny-mce-editor/tinymce/skins/content/document/content.css +0 -77
- package/lib/public/tiny-mce-editor/tinymce/skins/content/document/content.min.css +0 -21
- package/lib/public/tiny-mce-editor/tinymce/skins/content/tinymce-5/content.css +0 -72
- package/lib/public/tiny-mce-editor/tinymce/skins/content/tinymce-5/content.min.css +0 -20
- package/lib/public/tiny-mce-editor/tinymce/skins/content/tinymce-5-dark/content.css +0 -78
- package/lib/public/tiny-mce-editor/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -21
- package/lib/public/tiny-mce-editor/tinymce/skins/content/writer/content.css +0 -73
- package/lib/public/tiny-mce-editor/tinymce/skins/content/writer/content.min.css +0 -20
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide/content.css +0 -775
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide/content.inline.css +0 -769
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide/content.inline.min.css +0 -310
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide/content.min.css +0 -312
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide/skin.css +0 -3109
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide/skin.min.css +0 -771
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -35
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -10
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/content.css +0 -756
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/content.inline.css +0 -769
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -310
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/content.min.css +0 -299
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/skin.css +0 -3112
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/skin.min.css +0 -772
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -35
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -10
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/content.css +0 -775
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/content.inline.css +0 -769
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -310
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/content.min.css +0 -312
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/skin.css +0 -3199
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/skin.min.css +0 -812
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +0 -35
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -10
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/content.css +0 -756
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.css +0 -769
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -310
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -299
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/skin.css +0 -3199
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -812
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +0 -35
- package/lib/public/tiny-mce-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -10
- package/lib/src/base/style/css.d.ts +0 -2
- package/lib/src/base/style/css.d.ts.map +0 -1
- package/lib/src/base/style/index.d.ts +0 -2
- package/lib/src/base/style/index.d.ts.map +0 -1
- package/lib/src/components.d.ts +0 -11
- package/lib/src/components.d.ts.map +0 -1
- package/lib/src/data-chart/index.d.ts +0 -20
- package/lib/src/data-chart/index.d.ts.map +0 -1
- package/lib/src/data-chart/index.js +0 -8
- package/lib/src/data-chart/index.js.map +0 -1
- package/lib/src/data-chart/src/analyze.d.ts +0 -24
- package/lib/src/data-chart/src/analyze.d.ts.map +0 -1
- package/lib/src/data-chart/src/components/area.vue.js +0 -9
- package/lib/src/data-chart/src/components/area.vue.js.map +0 -1
- package/lib/src/data-chart/src/components/area.vue2.js +0 -155
- package/lib/src/data-chart/src/components/area.vue2.js.map +0 -1
- package/lib/src/data-chart/src/components/bar.vue.js +0 -8
- package/lib/src/data-chart/src/components/bar.vue.js.map +0 -1
- package/lib/src/data-chart/src/components/bar.vue2.js +0 -125
- package/lib/src/data-chart/src/components/bar.vue2.js.map +0 -1
- package/lib/src/data-chart/src/components/card.vue.js +0 -9
- package/lib/src/data-chart/src/components/card.vue.js.map +0 -1
- package/lib/src/data-chart/src/components/card.vue2.js +0 -94
- package/lib/src/data-chart/src/components/card.vue2.js.map +0 -1
- package/lib/src/data-chart/src/components/empty.svg.js +0 -5
- package/lib/src/data-chart/src/components/empty.svg.js.map +0 -1
- package/lib/src/data-chart/src/components/empty.svg2.js +0 -5
- package/lib/src/data-chart/src/components/empty.svg2.js.map +0 -1
- package/lib/src/data-chart/src/components/empty.vue.js +0 -9
- package/lib/src/data-chart/src/components/empty.vue.js.map +0 -1
- package/lib/src/data-chart/src/components/empty.vue2.js +0 -27
- package/lib/src/data-chart/src/components/empty.vue2.js.map +0 -1
- package/lib/src/data-chart/src/components/funnel.vue.js +0 -8
- package/lib/src/data-chart/src/components/funnel.vue.js.map +0 -1
- package/lib/src/data-chart/src/components/funnel.vue2.js +0 -67
- package/lib/src/data-chart/src/components/funnel.vue2.js.map +0 -1
- package/lib/src/data-chart/src/components/line.vue.js +0 -9
- package/lib/src/data-chart/src/components/line.vue.js.map +0 -1
- package/lib/src/data-chart/src/components/line.vue2.js +0 -105
- package/lib/src/data-chart/src/components/line.vue2.js.map +0 -1
- package/lib/src/data-chart/src/components/pie.vue.js +0 -8
- package/lib/src/data-chart/src/components/pie.vue.js.map +0 -1
- package/lib/src/data-chart/src/components/pie.vue2.js +0 -107
- package/lib/src/data-chart/src/components/pie.vue2.js.map +0 -1
- package/lib/src/data-chart/src/components/radar.vue.js +0 -8
- package/lib/src/data-chart/src/components/radar.vue.js.map +0 -1
- package/lib/src/data-chart/src/components/radar.vue2.js +0 -65
- package/lib/src/data-chart/src/components/radar.vue2.js.map +0 -1
- package/lib/src/data-chart/src/components/scatter-simple.vue.js +0 -8
- package/lib/src/data-chart/src/components/scatter-simple.vue.js.map +0 -1
- package/lib/src/data-chart/src/components/scatter-simple.vue2.js +0 -52
- package/lib/src/data-chart/src/components/scatter-simple.vue2.js.map +0 -1
- package/lib/src/data-chart/src/components/scatter.vue.js +0 -8
- package/lib/src/data-chart/src/components/scatter.vue.js.map +0 -1
- package/lib/src/data-chart/src/components/scatter.vue2.js +0 -67
- package/lib/src/data-chart/src/components/scatter.vue2.js.map +0 -1
- package/lib/src/data-chart/src/components/table.vue.js +0 -9
- package/lib/src/data-chart/src/components/table.vue.js.map +0 -1
- package/lib/src/data-chart/src/components/table.vue2.js +0 -94
- package/lib/src/data-chart/src/components/table.vue2.js.map +0 -1
- package/lib/src/data-chart/src/data-chart.vue.d.ts +0 -144
- package/lib/src/data-chart/src/data-chart.vue.d.ts.map +0 -1
- package/lib/src/data-chart/src/data-chart.vue.js +0 -9
- package/lib/src/data-chart/src/data-chart.vue.js.map +0 -1
- package/lib/src/data-chart/src/data-chart.vue2.js +0 -85
- package/lib/src/data-chart/src/data-chart.vue2.js.map +0 -1
- package/lib/src/data-chart/src/utils/config.d.ts +0 -42
- package/lib/src/data-chart/src/utils/config.d.ts.map +0 -1
- package/lib/src/data-chart/src/utils/config.js +0 -417
- package/lib/src/data-chart/src/utils/config.js.map +0 -1
- package/lib/src/data-chart/src/utils/injectionKeys.d.ts +0 -4
- package/lib/src/data-chart/src/utils/injectionKeys.d.ts.map +0 -1
- package/lib/src/data-chart/src/utils/injectionKeys.js +0 -5
- package/lib/src/data-chart/src/utils/injectionKeys.js.map +0 -1
- package/lib/src/data-chart/src/utils/useCharts.d.ts +0 -17
- package/lib/src/data-chart/src/utils/useCharts.d.ts.map +0 -1
- package/lib/src/data-chart/src/utils/useCharts.js +0 -132
- package/lib/src/data-chart/src/utils/useCharts.js.map +0 -1
- package/lib/src/data-chart/style/index.d.ts +0 -2
- package/lib/src/data-chart/style/index.d.ts.map +0 -1
- package/lib/src/defaults.d.ts +0 -6
- package/lib/src/defaults.d.ts.map +0 -1
- package/lib/src/file-upload/index.d.ts +0 -37
- package/lib/src/file-upload/index.d.ts.map +0 -1
- package/lib/src/file-upload/src/file-upload.vue.d.ts +0 -38
- package/lib/src/file-upload/src/file-upload.vue.d.ts.map +0 -1
- package/lib/src/file-upload/style/index.d.ts +0 -2
- package/lib/src/file-upload/style/index.d.ts.map +0 -1
- package/lib/src/fixed-action-bar/index.d.ts +0 -41
- package/lib/src/fixed-action-bar/index.d.ts.map +0 -1
- package/lib/src/fixed-action-bar/src/fixed-action-bar.vue.d.ts +0 -22
- package/lib/src/fixed-action-bar/src/fixed-action-bar.vue.d.ts.map +0 -1
- package/lib/src/fixed-action-bar/style/index.d.ts +0 -2
- package/lib/src/fixed-action-bar/style/index.d.ts.map +0 -1
- package/lib/src/image-upload/index.d.ts +0 -47
- package/lib/src/image-upload/index.d.ts.map +0 -1
- package/lib/src/image-upload/src/image-upload.vue.d.ts +0 -48
- package/lib/src/image-upload/src/image-upload.vue.d.ts.map +0 -1
- package/lib/src/image-upload/style/index.d.ts +0 -2
- package/lib/src/image-upload/style/index.d.ts.map +0 -1
- package/lib/src/make-installer.d.ts +0 -10
- package/lib/src/make-installer.d.ts.map +0 -1
- package/lib/src/photo-crop-tool/index.d.ts +0 -55
- package/lib/src/photo-crop-tool/index.d.ts.map +0 -1
- package/lib/src/photo-crop-tool/src/composables.d.ts +0 -7
- package/lib/src/photo-crop-tool/src/composables.d.ts.map +0 -1
- package/lib/src/photo-crop-tool/src/photo-crop-tool.vue.d.ts +0 -66
- package/lib/src/photo-crop-tool/src/photo-crop-tool.vue.d.ts.map +0 -1
- package/lib/src/photo-crop-tool/style/index.d.ts +0 -2
- package/lib/src/photo-crop-tool/style/index.d.ts.map +0 -1
- package/lib/src/subject-action/index.d.ts +0 -79
- package/lib/src/subject-action/index.d.ts.map +0 -1
- package/lib/src/subject-action/src/subject-action.vue.d.ts +0 -78
- package/lib/src/subject-action/src/subject-action.vue.d.ts.map +0 -1
- package/lib/src/subject-action/style/index.d.ts +0 -2
- package/lib/src/subject-action/style/index.d.ts.map +0 -1
- package/lib/src/subject-layout/index.d.ts +0 -28
- package/lib/src/subject-layout/index.d.ts.map +0 -1
- package/lib/src/subject-layout/src/subject-layout.vue.d.ts +0 -18
- package/lib/src/subject-layout/src/subject-layout.vue.d.ts.map +0 -1
- package/lib/src/subject-layout/style/index.d.ts +0 -2
- package/lib/src/subject-layout/style/index.d.ts.map +0 -1
- package/lib/src/subject-list/index.d.ts +0 -20
- package/lib/src/subject-list/index.d.ts.map +0 -1
- package/lib/src/subject-list/src/components/SubjectPageEnd.vue.d.ts +0 -31
- package/lib/src/subject-list/src/components/SubjectPageEnd.vue.d.ts.map +0 -1
- package/lib/src/subject-list/src/components/SubjectRichText.vue.d.ts +0 -33
- package/lib/src/subject-list/src/components/SubjectRichText.vue.d.ts.map +0 -1
- package/lib/src/subject-list/src/components/subject-blank-fill.vue.d.ts +0 -47
- package/lib/src/subject-list/src/components/subject-blank-fill.vue.d.ts.map +0 -1
- package/lib/src/subject-list/src/components/subject-scale.vue.d.ts +0 -41
- package/lib/src/subject-list/src/components/subject-scale.vue.d.ts.map +0 -1
- package/lib/src/subject-list/src/components/subject-single.vue.d.ts +0 -49
- package/lib/src/subject-list/src/components/subject-single.vue.d.ts.map +0 -1
- package/lib/src/subject-list/src/components/subject-text-fill.vue.d.ts +0 -51
- package/lib/src/subject-list/src/components/subject-text-fill.vue.d.ts.map +0 -1
- package/lib/src/subject-list/src/subject-list.vue.d.ts +0 -23
- package/lib/src/subject-list/src/subject-list.vue.d.ts.map +0 -1
- package/lib/src/subject-list/style/index.d.ts +0 -2
- package/lib/src/subject-list/style/index.d.ts.map +0 -1
- package/lib/src/subject-type/index.d.ts +0 -8
- package/lib/src/subject-type/index.d.ts.map +0 -1
- package/lib/src/subject-type/src/subject-type.vue.d.ts +0 -7
- package/lib/src/subject-type/src/subject-type.vue.d.ts.map +0 -1
- package/lib/src/subject-type/style/index.d.ts +0 -2
- package/lib/src/subject-type/style/index.d.ts.map +0 -1
- package/lib/src/tiny-mce-editor/index.d.ts +0 -20
- package/lib/src/tiny-mce-editor/index.d.ts.map +0 -1
- package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue.d.ts +0 -21
- package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue.d.ts.map +0 -1
- package/lib/src/tiny-mce-editor/style/index.d.ts +0 -2
- package/lib/src/tiny-mce-editor/style/index.d.ts.map +0 -1
- package/lib/src/withInstall.d.ts +0 -5
- package/lib/src/withInstall.d.ts.map +0 -1
- package/lib/theme-chalk/base.css +0 -658
- package/lib/theme-chalk/base.scss +0 -18
- package/lib/theme-chalk/common/element-plus.css +0 -402
- package/lib/theme-chalk/common/element-plus.scss +0 -605
- package/lib/theme-chalk/common/popup.css +0 -37
- package/lib/theme-chalk/common/popup.scss +0 -43
- package/lib/theme-chalk/common/transition.css +0 -119
- package/lib/theme-chalk/common/transition.scss +0 -126
- package/lib/theme-chalk/common/var.css +0 -1
- package/lib/theme-chalk/common/var.scss +0 -1511
- package/lib/theme-chalk/data-chart.css +0 -4
- package/lib/theme-chalk/data-chart.scss +0 -7
- package/lib/theme-chalk/file-upload.css +0 -23
- package/lib/theme-chalk/file-upload.scss +0 -33
- package/lib/theme-chalk/fixed-action-bar.css +0 -14
- package/lib/theme-chalk/fixed-action-bar.scss +0 -18
- package/lib/theme-chalk/image-upload.css +0 -117
- package/lib/theme-chalk/image-upload.scss +0 -136
- package/lib/theme-chalk/index.css +0 -1202
- package/lib/theme-chalk/index.scss +0 -13
- package/lib/theme-chalk/mixins/_col.css +0 -1
- package/lib/theme-chalk/mixins/_col.scss +0 -33
- package/lib/theme-chalk/mixins/_var.css +0 -1
- package/lib/theme-chalk/mixins/_var.scss +0 -87
- package/lib/theme-chalk/mixins/config.css +0 -0
- package/lib/theme-chalk/mixins/config.scss +0 -5
- package/lib/theme-chalk/mixins/function.css +0 -0
- package/lib/theme-chalk/mixins/function.scss +0 -95
- package/lib/theme-chalk/mixins/mixins.css +0 -1
- package/lib/theme-chalk/mixins/mixins.scss +0 -236
- package/lib/theme-chalk/mixins/utils.css +0 -0
- package/lib/theme-chalk/mixins/utils.scss +0 -39
- package/lib/theme-chalk/photo-crop-tool.css +0 -76
- package/lib/theme-chalk/photo-crop-tool.scss +0 -84
- package/lib/theme-chalk/subject-action.css +0 -27
- package/lib/theme-chalk/subject-action.scss +0 -34
- package/lib/theme-chalk/subject-layout.css +0 -23
- package/lib/theme-chalk/subject-layout.scss +0 -26
- package/lib/theme-chalk/subject-list.css +0 -222
- package/lib/theme-chalk/subject-list.scss +0 -302
- package/lib/theme-chalk/subject-template.css +0 -4
- package/lib/theme-chalk/subject-template.scss +0 -5
- package/lib/theme-chalk/subject-type.css +0 -24
- package/lib/theme-chalk/subject-type.scss +0 -32
- package/lib/theme-chalk/tiny-mce-editor.css +0 -16
- package/lib/theme-chalk/tiny-mce-editor.scss +0 -23
- package/lib/theme-chalk/var.css +0 -129
- package/lib/theme-chalk/var.scss +0 -87
- /package/{es → types}/index.d.ts.map +0 -0
- /package/{es → types}/src/base/style/css.d.ts.map +0 -0
- /package/{es → types}/src/base/style/index.d.ts.map +0 -0
- /package/{es → types}/src/data-chart/src/analyze.d.ts.map +0 -0
- /package/{es → types}/src/data-chart/src/utils/config.d.ts.map +0 -0
- /package/{es → types}/src/data-chart/src/utils/injectionKeys.d.ts.map +0 -0
- /package/{es → types}/src/data-chart/src/utils/useCharts.d.ts.map +0 -0
- /package/{es → types}/src/data-chart/style/index.d.ts.map +0 -0
- /package/{es → types}/src/defaults.d.ts +0 -0
- /package/{es → types}/src/defaults.d.ts.map +0 -0
- /package/{es → types}/src/file-upload/style/index.d.ts.map +0 -0
- /package/{es → types}/src/fixed-action-bar/style/index.d.ts.map +0 -0
- /package/{es → types}/src/image-upload/style/index.d.ts.map +0 -0
- /package/{es → types}/src/make-installer.d.ts.map +0 -0
- /package/{es → types}/src/photo-crop-tool/src/composables.d.ts +0 -0
- /package/{es → types}/src/photo-crop-tool/src/composables.d.ts.map +0 -0
- /package/{es → types}/src/photo-crop-tool/style/index.d.ts.map +0 -0
- /package/{es → types}/src/subject-action/style/index.d.ts.map +0 -0
- /package/{es → types}/src/subject-layout/style/index.d.ts.map +0 -0
- /package/{es → types}/src/subject-list/style/index.d.ts.map +0 -0
- /package/{es → types}/src/subject-type/style/index.d.ts.map +0 -0
- /package/{es → types}/src/tiny-mce-editor/style/index.d.ts.map +0 -0
- /package/{es → types}/src/withInstall.d.ts.map +0 -0
@@ -1,4282 +0,0 @@
|
|
1
|
-
var WC = Object.defineProperty, PC = Object.defineProperties;
|
2
|
-
var _C = Object.getOwnPropertyDescriptors;
|
3
|
-
var ri = Object.getOwnPropertySymbols;
|
4
|
-
var LC = Object.prototype.hasOwnProperty, AC = Object.prototype.propertyIsEnumerable;
|
5
|
-
var ci = (vt, st, pt) => st in vt ? WC(vt, st, { enumerable: !0, configurable: !0, writable: !0, value: pt }) : vt[st] = pt, et = (vt, st) => {
|
6
|
-
for (var pt in st || (st = {}))
|
7
|
-
LC.call(st, pt) && ci(vt, pt, st[pt]);
|
8
|
-
if (ri)
|
9
|
-
for (var pt of ri(st))
|
10
|
-
AC.call(st, pt) && ci(vt, pt, st[pt]);
|
11
|
-
return vt;
|
12
|
-
}, it = (vt, st) => PC(vt, _C(st));
|
13
|
-
import { __exports as li } from "../../../model.js";
|
14
|
-
var ai;
|
15
|
-
function S0() {
|
16
|
-
return ai ? li : (ai = 1, function() {
|
17
|
-
var vt = tinymce.util.Tools.resolve("tinymce.ModelManager");
|
18
|
-
const st = (t, e, n) => {
|
19
|
-
var o;
|
20
|
-
return n(t, e.prototype) ? !0 : ((o = t.constructor) === null || o === void 0 ? void 0 : o.name) === e.name;
|
21
|
-
}, pt = (t) => {
|
22
|
-
const e = typeof t;
|
23
|
-
return t === null ? "null" : e === "object" && Array.isArray(t) ? "array" : e === "object" && st(t, String, (n, o) => o.isPrototypeOf(n)) ? "string" : e;
|
24
|
-
}, ao = (t) => (e) => pt(e) === t, io = (t) => (e) => typeof e === t, tr = (t) => (e) => t === e, _e = ao("string"), er = ao("object"), un = ao("array"), ii = tr(null), ui = io("boolean"), di = tr(void 0), mi = (t) => t == null, ie = (t) => !mi(t), Le = io("function"), uo = io("number"), R = () => {
|
25
|
-
}, fi = (t, e) => (...n) => t(e.apply(null, n)), gi = (t, e) => (n) => t(e(n)), T = (t) => () => t, M = (t) => t, pi = (t, e) => t === e;
|
26
|
-
function Q(t, ...e) {
|
27
|
-
return (...n) => {
|
28
|
-
const o = e.concat(n);
|
29
|
-
return t.apply(null, o);
|
30
|
-
};
|
31
|
-
}
|
32
|
-
const nr = (t) => (e) => !t(e), hi = (t) => () => {
|
33
|
-
throw new Error(t);
|
34
|
-
}, or = (t) => t(), xt = T(!1), B = T(!0);
|
35
|
-
class u {
|
36
|
-
constructor(e, n) {
|
37
|
-
this.tag = e, this.value = n;
|
38
|
-
}
|
39
|
-
static some(e) {
|
40
|
-
return new u(!0, e);
|
41
|
-
}
|
42
|
-
static none() {
|
43
|
-
return u.singletonNone;
|
44
|
-
}
|
45
|
-
fold(e, n) {
|
46
|
-
return this.tag ? n(this.value) : e();
|
47
|
-
}
|
48
|
-
isSome() {
|
49
|
-
return this.tag;
|
50
|
-
}
|
51
|
-
isNone() {
|
52
|
-
return !this.tag;
|
53
|
-
}
|
54
|
-
map(e) {
|
55
|
-
return this.tag ? u.some(e(this.value)) : u.none();
|
56
|
-
}
|
57
|
-
bind(e) {
|
58
|
-
return this.tag ? e(this.value) : u.none();
|
59
|
-
}
|
60
|
-
exists(e) {
|
61
|
-
return this.tag && e(this.value);
|
62
|
-
}
|
63
|
-
forall(e) {
|
64
|
-
return !this.tag || e(this.value);
|
65
|
-
}
|
66
|
-
filter(e) {
|
67
|
-
return !this.tag || e(this.value) ? this : u.none();
|
68
|
-
}
|
69
|
-
getOr(e) {
|
70
|
-
return this.tag ? this.value : e;
|
71
|
-
}
|
72
|
-
or(e) {
|
73
|
-
return this.tag ? this : e;
|
74
|
-
}
|
75
|
-
getOrThunk(e) {
|
76
|
-
return this.tag ? this.value : e();
|
77
|
-
}
|
78
|
-
orThunk(e) {
|
79
|
-
return this.tag ? this : e();
|
80
|
-
}
|
81
|
-
getOrDie(e) {
|
82
|
-
if (this.tag)
|
83
|
-
return this.value;
|
84
|
-
throw new Error(e != null ? e : "Called getOrDie on None");
|
85
|
-
}
|
86
|
-
static from(e) {
|
87
|
-
return ie(e) ? u.some(e) : u.none();
|
88
|
-
}
|
89
|
-
getOrNull() {
|
90
|
-
return this.tag ? this.value : null;
|
91
|
-
}
|
92
|
-
getOrUndefined() {
|
93
|
-
return this.value;
|
94
|
-
}
|
95
|
-
each(e) {
|
96
|
-
this.tag && e(this.value);
|
97
|
-
}
|
98
|
-
toArray() {
|
99
|
-
return this.tag ? [this.value] : [];
|
100
|
-
}
|
101
|
-
toString() {
|
102
|
-
return this.tag ? `some(${this.value})` : "none()";
|
103
|
-
}
|
104
|
-
}
|
105
|
-
u.singletonNone = new u(!1);
|
106
|
-
const sr = Array.prototype.slice, wi = Array.prototype.indexOf, bi = Array.prototype.push, Ci = (t, e) => wi.call(t, e), z = (t, e) => Ci(t, e) > -1, ut = (t, e) => {
|
107
|
-
for (let n = 0, o = t.length; n < o; n++) {
|
108
|
-
const s = t[n];
|
109
|
-
if (e(s, n))
|
110
|
-
return !0;
|
111
|
-
}
|
112
|
-
return !1;
|
113
|
-
}, ht = (t, e) => {
|
114
|
-
const n = [];
|
115
|
-
for (let o = 0; o < t; o++)
|
116
|
-
n.push(e(o));
|
117
|
-
return n;
|
118
|
-
}, S = (t, e) => {
|
119
|
-
const n = t.length, o = new Array(n);
|
120
|
-
for (let s = 0; s < n; s++) {
|
121
|
-
const r = t[s];
|
122
|
-
o[s] = e(r, s);
|
123
|
-
}
|
124
|
-
return o;
|
125
|
-
}, x = (t, e) => {
|
126
|
-
for (let n = 0, o = t.length; n < o; n++) {
|
127
|
-
const s = t[n];
|
128
|
-
e(s, n);
|
129
|
-
}
|
130
|
-
}, yi = (t, e) => {
|
131
|
-
for (let n = t.length - 1; n >= 0; n--) {
|
132
|
-
const o = t[n];
|
133
|
-
e(o, n);
|
134
|
-
}
|
135
|
-
}, rr = (t, e) => {
|
136
|
-
const n = [], o = [];
|
137
|
-
for (let s = 0, r = t.length; s < r; s++) {
|
138
|
-
const c = t[s];
|
139
|
-
(e(c, s) ? n : o).push(c);
|
140
|
-
}
|
141
|
-
return {
|
142
|
-
pass: n,
|
143
|
-
fail: o
|
144
|
-
};
|
145
|
-
}, H = (t, e) => {
|
146
|
-
const n = [];
|
147
|
-
for (let o = 0, s = t.length; o < s; o++) {
|
148
|
-
const r = t[o];
|
149
|
-
e(r, o) && n.push(r);
|
150
|
-
}
|
151
|
-
return n;
|
152
|
-
}, kt = (t, e, n) => (yi(t, (o, s) => {
|
153
|
-
n = e(n, o, s);
|
154
|
-
}), n), $t = (t, e, n) => (x(t, (o, s) => {
|
155
|
-
n = e(n, o, s);
|
156
|
-
}), n), Si = (t, e, n) => {
|
157
|
-
for (let o = 0, s = t.length; o < s; o++) {
|
158
|
-
const r = t[o];
|
159
|
-
if (e(r, o))
|
160
|
-
return u.some(r);
|
161
|
-
if (n(r, o))
|
162
|
-
break;
|
163
|
-
}
|
164
|
-
return u.none();
|
165
|
-
}, Dt = (t, e) => Si(t, e, xt), mo = (t, e) => {
|
166
|
-
for (let n = 0, o = t.length; n < o; n++) {
|
167
|
-
const s = t[n];
|
168
|
-
if (e(s, n))
|
169
|
-
return u.some(n);
|
170
|
-
}
|
171
|
-
return u.none();
|
172
|
-
}, cr = (t) => {
|
173
|
-
const e = [];
|
174
|
-
for (let n = 0, o = t.length; n < o; ++n) {
|
175
|
-
if (!un(t[n]))
|
176
|
-
throw new Error("Arr.flatten item " + n + " was not an array, input: " + t);
|
177
|
-
bi.apply(e, t[n]);
|
178
|
-
}
|
179
|
-
return e;
|
180
|
-
}, q = (t, e) => cr(S(t, e)), wt = (t, e) => {
|
181
|
-
for (let n = 0, o = t.length; n < o; ++n) {
|
182
|
-
const s = t[n];
|
183
|
-
if (e(s, n) !== !0)
|
184
|
-
return !1;
|
185
|
-
}
|
186
|
-
return !0;
|
187
|
-
}, Ri = (t) => {
|
188
|
-
const e = sr.call(t, 0);
|
189
|
-
return e.reverse(), e;
|
190
|
-
}, fo = (t, e) => {
|
191
|
-
const n = {};
|
192
|
-
for (let o = 0, s = t.length; o < s; o++) {
|
193
|
-
const r = t[o];
|
194
|
-
n[String(r)] = e(r, o);
|
195
|
-
}
|
196
|
-
return n;
|
197
|
-
}, Ti = (t, e) => {
|
198
|
-
const n = sr.call(t, 0);
|
199
|
-
return n.sort(e), n;
|
200
|
-
}, lr = (t, e) => e >= 0 && e < t.length ? u.some(t[e]) : u.none(), dn = (t) => lr(t, 0), ar = (t) => lr(t, t.length - 1), Mt = (t, e) => {
|
201
|
-
for (let n = 0; n < t.length; n++) {
|
202
|
-
const o = e(t[n], n);
|
203
|
-
if (o.isSome())
|
204
|
-
return o;
|
205
|
-
}
|
206
|
-
return u.none();
|
207
|
-
}, Ae = Object.keys, ir = Object.hasOwnProperty, dt = (t, e) => {
|
208
|
-
const n = Ae(t);
|
209
|
-
for (let o = 0, s = n.length; o < s; o++) {
|
210
|
-
const r = n[o], c = t[r];
|
211
|
-
e(c, r);
|
212
|
-
}
|
213
|
-
}, go = (t, e) => vi(t, (n, o) => ({
|
214
|
-
k: o,
|
215
|
-
v: e(n, o)
|
216
|
-
})), vi = (t, e) => {
|
217
|
-
const n = {};
|
218
|
-
return dt(t, (o, s) => {
|
219
|
-
const r = e(o, s);
|
220
|
-
n[r.k] = r.v;
|
221
|
-
}), n;
|
222
|
-
}, xi = (t) => (e, n) => {
|
223
|
-
t[n] = e;
|
224
|
-
}, ki = (t, e, n, o) => {
|
225
|
-
dt(t, (s, r) => {
|
226
|
-
(e(s, r) ? n : o)(s, r);
|
227
|
-
});
|
228
|
-
}, $i = (t, e) => {
|
229
|
-
const n = {};
|
230
|
-
return ki(t, e, xi(n), R), n;
|
231
|
-
}, ur = (t, e) => {
|
232
|
-
const n = [];
|
233
|
-
return dt(t, (o, s) => {
|
234
|
-
n.push(e(o, s));
|
235
|
-
}), n;
|
236
|
-
}, dr = (t) => ur(t, M), Di = (t, e) => po(t, e) ? u.from(t[e]) : u.none(), po = (t, e) => ir.call(t, e), Oi = (t, e) => po(t, e) && t[e] !== void 0 && t[e] !== null, Ei = (t) => {
|
237
|
-
for (const e in t)
|
238
|
-
if (ir.call(t, e))
|
239
|
-
return !1;
|
240
|
-
return !0;
|
241
|
-
}, Bi = typeof window != "undefined" ? window : Function("return this;")(), Wi = (t, e) => {
|
242
|
-
let n = e != null ? e : Bi;
|
243
|
-
for (let o = 0; o < t.length && n !== void 0 && n !== null; ++o)
|
244
|
-
n = n[t[o]];
|
245
|
-
return n;
|
246
|
-
}, mr = (t, e) => {
|
247
|
-
const n = t.split(".");
|
248
|
-
return Wi(n, e);
|
249
|
-
}, Pi = (t, e) => mr(t, e), _i = (t, e) => {
|
250
|
-
const n = Pi(t, e);
|
251
|
-
if (n == null)
|
252
|
-
throw new Error(t + " not available on this browser");
|
253
|
-
return n;
|
254
|
-
}, Li = Object.getPrototypeOf, Ai = (t) => _i("HTMLElement", t), Mi = (t) => {
|
255
|
-
const e = mr("ownerDocument.defaultView", t);
|
256
|
-
return er(t) && (Ai(e).prototype.isPrototypeOf(t) || /^HTML\w*Element$/.test(Li(t).constructor.name));
|
257
|
-
}, Ni = 8, fr = 9, gr = 11, ho = 1, zi = 3, P = (t) => t.dom.nodeName.toLowerCase(), pr = (t) => t.dom.nodeType, mn = (t) => (e) => pr(e) === t, Hi = (t) => pr(t) === Ni || P(t) === "#comment", hr = (t) => Ot(t) && Mi(t.dom), Ot = mn(ho), qt = mn(zi), wr = mn(fr), Ii = mn(gr), rt = (t) => (e) => Ot(e) && P(e) === t, wo = (t, e, n) => {
|
258
|
-
if (_e(n) || ui(n) || uo(n))
|
259
|
-
t.setAttribute(e, n + "");
|
260
|
-
else
|
261
|
-
throw console.error("Invalid call to Attribute.set. Key ", e, ":: Value ", n, ":: Element ", t), new Error("Attribute value was not simple");
|
262
|
-
}, N = (t, e, n) => {
|
263
|
-
wo(t.dom, e, n);
|
264
|
-
}, Me = (t, e) => {
|
265
|
-
const n = t.dom;
|
266
|
-
dt(e, (o, s) => {
|
267
|
-
wo(n, s, o);
|
268
|
-
});
|
269
|
-
}, Fi = (t, e) => {
|
270
|
-
dt(e, (n, o) => {
|
271
|
-
n.fold(() => {
|
272
|
-
L(t, o);
|
273
|
-
}, (s) => {
|
274
|
-
wo(t.dom, o, s);
|
275
|
-
});
|
276
|
-
});
|
277
|
-
}, Kt = (t, e) => {
|
278
|
-
const n = t.dom.getAttribute(e);
|
279
|
-
return n === null ? void 0 : n;
|
280
|
-
}, Gt = (t, e) => u.from(Kt(t, e)), L = (t, e) => {
|
281
|
-
t.dom.removeAttribute(e);
|
282
|
-
}, br = (t) => $t(t.dom.attributes, (e, n) => (e[n.name] = n.value, e), {}), ji = (t, e) => {
|
283
|
-
const o = (e || document).createElement("div");
|
284
|
-
if (o.innerHTML = t, !o.hasChildNodes() || o.childNodes.length > 1) {
|
285
|
-
const s = "HTML does not have a single root node";
|
286
|
-
throw console.error(s, t), new Error(s);
|
287
|
-
}
|
288
|
-
return Ne(o.childNodes[0]);
|
289
|
-
}, Gi = (t, e) => {
|
290
|
-
const o = (e || document).createElement(t);
|
291
|
-
return Ne(o);
|
292
|
-
}, Ui = (t, e) => {
|
293
|
-
const o = (e || document).createTextNode(t);
|
294
|
-
return Ne(o);
|
295
|
-
}, Ne = (t) => {
|
296
|
-
if (t == null)
|
297
|
-
throw new Error("Node cannot be null or undefined");
|
298
|
-
return { dom: t };
|
299
|
-
}, w = {
|
300
|
-
fromHtml: ji,
|
301
|
-
fromTag: Gi,
|
302
|
-
fromText: Ui,
|
303
|
-
fromDom: Ne,
|
304
|
-
fromPoint: (t, e, n) => u.from(t.dom.elementFromPoint(e, n)).map(Ne)
|
305
|
-
}, mt = (t, e) => {
|
306
|
-
const n = t.dom;
|
307
|
-
if (n.nodeType !== ho)
|
308
|
-
return !1;
|
309
|
-
{
|
310
|
-
const o = n;
|
311
|
-
if (o.matches !== void 0)
|
312
|
-
return o.matches(e);
|
313
|
-
if (o.msMatchesSelector !== void 0)
|
314
|
-
return o.msMatchesSelector(e);
|
315
|
-
if (o.webkitMatchesSelector !== void 0)
|
316
|
-
return o.webkitMatchesSelector(e);
|
317
|
-
if (o.mozMatchesSelector !== void 0)
|
318
|
-
return o.mozMatchesSelector(e);
|
319
|
-
throw new Error("Browser lacks native selectors");
|
320
|
-
}
|
321
|
-
}, Cr = (t) => t.nodeType !== ho && t.nodeType !== fr && t.nodeType !== gr || t.childElementCount === 0, Vi = (t, e) => {
|
322
|
-
const n = e === void 0 ? document : e.dom;
|
323
|
-
return Cr(n) ? [] : S(n.querySelectorAll(t), w.fromDom);
|
324
|
-
}, yr = (t, e) => {
|
325
|
-
const n = e === void 0 ? document : e.dom;
|
326
|
-
return Cr(n) ? u.none() : u.from(n.querySelector(t)).map(w.fromDom);
|
327
|
-
}, W = (t, e) => t.dom === e.dom, bo = (t, e) => {
|
328
|
-
const n = t.dom, o = e.dom;
|
329
|
-
return n === o ? !1 : n.contains(o);
|
330
|
-
}, qi = mt, fn = (t) => w.fromDom(t.dom.ownerDocument), gn = (t) => wr(t) ? t : fn(t), Ki = (t) => w.fromDom(gn(t).dom.documentElement), Xi = (t) => w.fromDom(gn(t).dom.defaultView), Xt = (t) => u.from(t.dom.parentNode).map(w.fromDom), Sr = (t) => u.from(t.dom.parentElement).map(w.fromDom), Rr = (t, e) => {
|
331
|
-
const n = Le(e) ? e : xt;
|
332
|
-
let o = t.dom;
|
333
|
-
const s = [];
|
334
|
-
for (; o.parentNode !== null && o.parentNode !== void 0; ) {
|
335
|
-
const r = o.parentNode, c = w.fromDom(r);
|
336
|
-
if (s.push(c), n(c) === !0)
|
337
|
-
break;
|
338
|
-
o = r;
|
339
|
-
}
|
340
|
-
return s;
|
341
|
-
}, Tr = (t) => u.from(t.dom.previousSibling).map(w.fromDom), pn = (t) => u.from(t.dom.nextSibling).map(w.fromDom), ft = (t) => S(t.dom.childNodes, w.fromDom), hn = (t, e) => {
|
342
|
-
const n = t.dom.childNodes;
|
343
|
-
return u.from(n[e]).map(w.fromDom);
|
344
|
-
}, Yi = (t) => hn(t, 0), wn = (t, e) => {
|
345
|
-
Xt(t).each((o) => {
|
346
|
-
o.dom.insertBefore(e.dom, t.dom);
|
347
|
-
});
|
348
|
-
}, ue = (t, e) => {
|
349
|
-
pn(t).fold(() => {
|
350
|
-
Xt(t).each((s) => {
|
351
|
-
_(s, e);
|
352
|
-
});
|
353
|
-
}, (o) => {
|
354
|
-
wn(o, e);
|
355
|
-
});
|
356
|
-
}, Co = (t, e) => {
|
357
|
-
Yi(t).fold(() => {
|
358
|
-
_(t, e);
|
359
|
-
}, (o) => {
|
360
|
-
t.dom.insertBefore(e.dom, o.dom);
|
361
|
-
});
|
362
|
-
}, _ = (t, e) => {
|
363
|
-
t.dom.appendChild(e.dom);
|
364
|
-
}, Ji = (t, e, n) => {
|
365
|
-
hn(t, n).fold(() => {
|
366
|
-
_(t, e);
|
367
|
-
}, (o) => {
|
368
|
-
wn(o, e);
|
369
|
-
});
|
370
|
-
}, Qi = (t, e) => {
|
371
|
-
wn(t, e), _(e, t);
|
372
|
-
}, vr = (t, e) => {
|
373
|
-
x(e, (n, o) => {
|
374
|
-
const s = o === 0 ? t : e[o - 1];
|
375
|
-
ue(s, n);
|
376
|
-
});
|
377
|
-
}, Et = (t, e) => {
|
378
|
-
x(e, (n) => {
|
379
|
-
_(t, n);
|
380
|
-
});
|
381
|
-
}, yo = (t) => {
|
382
|
-
t.dom.textContent = "", x(ft(t), (e) => {
|
383
|
-
Z(e);
|
384
|
-
});
|
385
|
-
}, Z = (t) => {
|
386
|
-
const e = t.dom;
|
387
|
-
e.parentNode !== null && e.parentNode.removeChild(e);
|
388
|
-
}, Zi = (t) => {
|
389
|
-
const e = ft(t);
|
390
|
-
e.length > 0 && vr(t, e), Z(t);
|
391
|
-
}, xr = (t, e) => w.fromDom(t.dom.cloneNode(e)), kr = (t) => xr(t, !1), de = (t) => xr(t, !0), $r = (t, e) => {
|
392
|
-
const n = w.fromTag(e), o = br(t);
|
393
|
-
return Me(n, o), n;
|
394
|
-
}, tu = (t, e) => {
|
395
|
-
const n = $r(t, e), o = ft(de(t));
|
396
|
-
return Et(n, o), n;
|
397
|
-
}, eu = (t, e) => {
|
398
|
-
const n = $r(t, e);
|
399
|
-
ue(t, n);
|
400
|
-
const o = ft(t);
|
401
|
-
return Et(n, o), Z(t), n;
|
402
|
-
}, nu = [
|
403
|
-
"tfoot",
|
404
|
-
"thead",
|
405
|
-
"tbody",
|
406
|
-
"colgroup"
|
407
|
-
], ou = (t) => z(nu, t), su = (t, e) => ({
|
408
|
-
rows: t,
|
409
|
-
columns: e
|
410
|
-
}), ru = (t, e) => ({
|
411
|
-
row: t,
|
412
|
-
column: e
|
413
|
-
}), Dr = (t, e, n) => ({
|
414
|
-
element: t,
|
415
|
-
rowspan: e,
|
416
|
-
colspan: n
|
417
|
-
}), cu = (t, e, n, o) => ({
|
418
|
-
element: t,
|
419
|
-
rowspan: e,
|
420
|
-
colspan: n,
|
421
|
-
isNew: o
|
422
|
-
}), lu = (t, e, n, o, s, r) => ({
|
423
|
-
element: t,
|
424
|
-
rowspan: e,
|
425
|
-
colspan: n,
|
426
|
-
row: o,
|
427
|
-
column: s,
|
428
|
-
isLocked: r
|
429
|
-
}), So = (t, e, n) => ({
|
430
|
-
element: t,
|
431
|
-
cells: e,
|
432
|
-
section: n
|
433
|
-
}), au = (t, e, n, o) => ({
|
434
|
-
element: t,
|
435
|
-
cells: e,
|
436
|
-
section: n,
|
437
|
-
isNew: o
|
438
|
-
}), nt = (t, e, n) => ({
|
439
|
-
element: t,
|
440
|
-
isNew: e,
|
441
|
-
isLocked: n
|
442
|
-
}), Yt = (t, e, n, o) => ({
|
443
|
-
element: t,
|
444
|
-
cells: e,
|
445
|
-
section: n,
|
446
|
-
isNew: o
|
447
|
-
}), iu = (t, e, n, o) => ({
|
448
|
-
startRow: t,
|
449
|
-
startCol: e,
|
450
|
-
finishRow: n,
|
451
|
-
finishCol: o
|
452
|
-
}), uu = (t, e, n) => ({
|
453
|
-
element: t,
|
454
|
-
colspan: e,
|
455
|
-
column: n
|
456
|
-
}), du = (t, e) => ({
|
457
|
-
element: t,
|
458
|
-
columns: e
|
459
|
-
}), Or = (t) => Ii(t) && ie(t.dom.host), Er = (t) => w.fromDom(t.dom.getRootNode()), mu = (t) => Or(t) ? t : w.fromDom(gn(t).dom.body), fu = (t) => {
|
460
|
-
const e = Er(t);
|
461
|
-
return Or(e) ? u.some(e) : u.none();
|
462
|
-
}, gu = (t) => w.fromDom(t.dom.host), pu = (t) => {
|
463
|
-
if (ie(t.target)) {
|
464
|
-
const e = w.fromDom(t.target);
|
465
|
-
if (Ot(e) && hu(e) && t.composed && t.composedPath) {
|
466
|
-
const n = t.composedPath();
|
467
|
-
if (n)
|
468
|
-
return dn(n);
|
469
|
-
}
|
470
|
-
}
|
471
|
-
return u.from(t.target);
|
472
|
-
}, hu = (t) => ie(t.dom.shadowRoot), Nt = (t) => {
|
473
|
-
const e = qt(t) ? t.dom.parentNode : t.dom;
|
474
|
-
if (e == null || e.ownerDocument === null)
|
475
|
-
return !1;
|
476
|
-
const n = e.ownerDocument;
|
477
|
-
return fu(w.fromDom(e)).fold(() => n.body.contains(e), gi(Nt, gu));
|
478
|
-
}, Br = () => Wr(w.fromDom(document)), Wr = (t) => {
|
479
|
-
const e = t.dom.body;
|
480
|
-
if (e == null)
|
481
|
-
throw new Error("Body is not available yet");
|
482
|
-
return w.fromDom(e);
|
483
|
-
}, wu = (t, e, n) => H(Rr(t, n), e), bu = (t, e) => H(ft(t), e), Pr = (t, e) => {
|
484
|
-
let n = [];
|
485
|
-
return x(ft(t), (o) => {
|
486
|
-
e(o) && (n = n.concat([o])), n = n.concat(Pr(o, e));
|
487
|
-
}), n;
|
488
|
-
}, ze = (t, e, n) => wu(t, (o) => mt(o, e), n), bn = (t, e) => bu(t, (n) => mt(n, e)), Bt = (t, e) => Vi(e, t);
|
489
|
-
var _r = (t, e, n, o, s) => t(n, o) ? u.some(n) : Le(s) && s(n) ? u.none() : e(n, o, s);
|
490
|
-
const He = (t, e, n) => {
|
491
|
-
let o = t.dom;
|
492
|
-
const s = Le(n) ? n : xt;
|
493
|
-
for (; o.parentNode; ) {
|
494
|
-
o = o.parentNode;
|
495
|
-
const r = w.fromDom(o);
|
496
|
-
if (e(r))
|
497
|
-
return u.some(r);
|
498
|
-
if (s(r))
|
499
|
-
break;
|
500
|
-
}
|
501
|
-
return u.none();
|
502
|
-
}, Ro = (t, e, n) => _r((s, r) => r(s), He, t, e, n), Cu = (t, e) => {
|
503
|
-
const n = (s) => e(w.fromDom(s));
|
504
|
-
return Dt(t.dom.childNodes, n).map(w.fromDom);
|
505
|
-
}, yu = (t, e) => {
|
506
|
-
const n = (o) => {
|
507
|
-
for (let s = 0; s < o.childNodes.length; s++) {
|
508
|
-
const r = w.fromDom(o.childNodes[s]);
|
509
|
-
if (e(r))
|
510
|
-
return u.some(r);
|
511
|
-
const c = n(o.childNodes[s]);
|
512
|
-
if (c.isSome())
|
513
|
-
return c;
|
514
|
-
}
|
515
|
-
return u.none();
|
516
|
-
};
|
517
|
-
return n(t.dom);
|
518
|
-
}, Jt = (t, e, n) => He(t, (o) => mt(o, e), n), To = (t, e) => Cu(t, (n) => mt(n, e)), me = (t, e) => yr(e, t), G = (t, e, n) => _r((s, r) => mt(s, r), Jt, t, e, n), vo = (t, e, n = pi) => t.exists((o) => n(o, e)), Lr = (t) => {
|
519
|
-
const e = [], n = (o) => {
|
520
|
-
e.push(o);
|
521
|
-
};
|
522
|
-
for (let o = 0; o < t.length; o++)
|
523
|
-
t[o].each(n);
|
524
|
-
return e;
|
525
|
-
}, Su = (t, e) => t != null ? e(t) : u.none(), xo = (t, e) => t ? u.some(e) : u.none(), Ru = (t, e) => t.substring(e), Ar = (t, e, n) => e === "" || t.length >= e.length && t.substr(n, n + e.length) === e, Tu = (t, e) => Cn(t, e) ? Ru(t, e.length) : t, ct = (t, e, n = 0, o) => {
|
526
|
-
const s = t.indexOf(e, n);
|
527
|
-
return s !== -1 ? di(o) ? !0 : s + e.length <= o : !1;
|
528
|
-
}, Cn = (t, e) => Ar(t, e, 0), yn = (t, e) => Ar(t, e, t.length - e.length), vu = ((t) => (e) => e.replace(t, ""))(/^\s+|\s+$/g), xu = (t) => t.length > 0, ku = (t) => {
|
529
|
-
const e = parseFloat(t);
|
530
|
-
return isNaN(e) ? u.none() : u.some(e);
|
531
|
-
}, fe = (t) => t.style !== void 0 && Le(t.style.getPropertyValue), Mr = (t, e, n) => {
|
532
|
-
if (!_e(n))
|
533
|
-
throw console.error("Invalid call to CSS.set. Property ", e, ":: Value ", n, ":: Element ", t), new Error("CSS value must be a string: " + n);
|
534
|
-
fe(t) && t.style.setProperty(e, n);
|
535
|
-
}, $u = (t, e) => {
|
536
|
-
fe(t) && t.style.removeProperty(e);
|
537
|
-
}, U = (t, e, n) => {
|
538
|
-
const o = t.dom;
|
539
|
-
Mr(o, e, n);
|
540
|
-
}, ge = (t, e) => {
|
541
|
-
const n = t.dom;
|
542
|
-
dt(e, (o, s) => {
|
543
|
-
Mr(n, s, o);
|
544
|
-
});
|
545
|
-
}, Qt = (t, e) => {
|
546
|
-
const n = t.dom, s = window.getComputedStyle(n).getPropertyValue(e);
|
547
|
-
return s === "" && !Nt(t) ? Nr(n, e) : s;
|
548
|
-
}, Nr = (t, e) => fe(t) ? t.style.getPropertyValue(e) : "", ko = (t, e) => {
|
549
|
-
const n = t.dom, o = Nr(n, e);
|
550
|
-
return u.from(o).filter((s) => s.length > 0);
|
551
|
-
}, Wt = (t, e) => {
|
552
|
-
const n = t.dom;
|
553
|
-
$u(n, e), vo(Gt(t, "style").map(vu), "") && L(t, "style");
|
554
|
-
}, Du = (t, e) => {
|
555
|
-
const n = t.dom, o = e.dom;
|
556
|
-
fe(n) && fe(o) && (o.style.cssText = n.style.cssText);
|
557
|
-
}, zt = (t, e, n = 0) => Gt(t, e).map((o) => parseInt(o, 10)).getOr(n), $o = (t, e) => zt(t, e, 1), Do = (t) => rt("col")(t) ? zt(t, "span", 1) > 1 : $o(t, "colspan") > 1, Ou = (t) => $o(t, "rowspan") > 1, Sn = (t, e) => parseInt(Qt(t, e), 10), Ie = T(10), zr = T(10), Rn = (t, e) => Oo(t, e, B), Oo = (t, e, n) => q(ft(t), (o) => mt(o, e) ? n(o) ? [o] : [] : Oo(o, e, n)), Eu = (t, e, n = xt) => {
|
558
|
-
if (n(e))
|
559
|
-
return u.none();
|
560
|
-
if (z(t, P(e)))
|
561
|
-
return u.some(e);
|
562
|
-
const o = (s) => mt(s, "table") || n(s);
|
563
|
-
return Jt(e, t.join(","), o);
|
564
|
-
}, Hr = (t, e) => Eu([
|
565
|
-
"td",
|
566
|
-
"th"
|
567
|
-
], t, e), pe = (t) => Rn(t, "th,td"), Eo = (t) => mt(t, "colgroup") ? bn(t, "col") : q(Fr(t), (e) => bn(e, "col")), lt = (t, e) => G(t, "table", e), Ir = (t) => Rn(t, "tr"), Fr = (t) => lt(t).fold(T([]), (e) => bn(e, "colgroup")), jr = (t, e) => S(t, (n) => {
|
568
|
-
if (P(n) === "colgroup") {
|
569
|
-
const o = S(Eo(n), (s) => {
|
570
|
-
const r = zt(s, "span", 1);
|
571
|
-
return Dr(s, 1, r);
|
572
|
-
});
|
573
|
-
return So(n, o, "colgroup");
|
574
|
-
} else {
|
575
|
-
const o = S(pe(n), (s) => {
|
576
|
-
const r = zt(s, "rowspan", 1), c = zt(s, "colspan", 1);
|
577
|
-
return Dr(s, r, c);
|
578
|
-
});
|
579
|
-
return So(n, o, e(n));
|
580
|
-
}
|
581
|
-
}), Bu = (t) => Xt(t).map((e) => {
|
582
|
-
const n = P(e);
|
583
|
-
return ou(n) ? n : "tbody";
|
584
|
-
}).getOr("tbody"), Gr = (t) => {
|
585
|
-
const e = Ir(t), o = [
|
586
|
-
...Fr(t),
|
587
|
-
...e
|
588
|
-
];
|
589
|
-
return jr(o, Bu);
|
590
|
-
}, Wu = (t, e) => jr(t, () => e), Fe = (t) => {
|
591
|
-
let e = !1, n;
|
592
|
-
return (...o) => (e || (e = !0, n = t.apply(null, o)), n);
|
593
|
-
}, Pu = (t, e, n, o) => {
|
594
|
-
const s = t.isiOS() && /ipad/i.test(n) === !0, r = t.isiOS() && !s, c = t.isiOS() || t.isAndroid(), l = c || o("(pointer:coarse)"), a = s || !r && c && o("(min-device-width:768px)"), i = r || c && !a, d = e.isSafari() && t.isiOS() && /safari/i.test(n) === !1, f = !i && !a && !d;
|
595
|
-
return {
|
596
|
-
isiPad: T(s),
|
597
|
-
isiPhone: T(r),
|
598
|
-
isTablet: T(a),
|
599
|
-
isPhone: T(i),
|
600
|
-
isTouch: T(l),
|
601
|
-
isAndroid: t.isAndroid,
|
602
|
-
isiOS: t.isiOS,
|
603
|
-
isWebView: T(d),
|
604
|
-
isDesktop: T(f)
|
605
|
-
};
|
606
|
-
}, _u = (t, e) => {
|
607
|
-
for (let n = 0; n < t.length; n++) {
|
608
|
-
const o = t[n];
|
609
|
-
if (o.test(e))
|
610
|
-
return o;
|
611
|
-
}
|
612
|
-
}, Lu = (t, e) => {
|
613
|
-
const n = _u(t, e);
|
614
|
-
if (!n)
|
615
|
-
return {
|
616
|
-
major: 0,
|
617
|
-
minor: 0
|
618
|
-
};
|
619
|
-
const o = (s) => Number(e.replace(n, "$" + s));
|
620
|
-
return Bo(o(1), o(2));
|
621
|
-
}, Au = (t, e) => {
|
622
|
-
const n = String(e).toLowerCase();
|
623
|
-
return t.length === 0 ? Ur() : Lu(t, n);
|
624
|
-
}, Ur = () => Bo(0, 0), Bo = (t, e) => ({
|
625
|
-
major: t,
|
626
|
-
minor: e
|
627
|
-
}), je = {
|
628
|
-
nu: Bo,
|
629
|
-
detect: Au,
|
630
|
-
unknown: Ur
|
631
|
-
}, Mu = (t, e) => Mt(e.brands, (n) => {
|
632
|
-
const o = n.brand.toLowerCase();
|
633
|
-
return Dt(t, (s) => {
|
634
|
-
var r;
|
635
|
-
return o === ((r = s.brand) === null || r === void 0 ? void 0 : r.toLowerCase());
|
636
|
-
}).map((s) => ({
|
637
|
-
current: s.name,
|
638
|
-
version: je.nu(parseInt(n.version, 10), 0)
|
639
|
-
}));
|
640
|
-
}), Vr = (t, e) => {
|
641
|
-
const n = String(e).toLowerCase();
|
642
|
-
return Dt(t, (o) => o.search(n));
|
643
|
-
}, Nu = (t, e) => Vr(t, e).map((n) => {
|
644
|
-
const o = je.detect(n.versionRegexes, e);
|
645
|
-
return {
|
646
|
-
current: n.name,
|
647
|
-
version: o
|
648
|
-
};
|
649
|
-
}), zu = (t, e) => Vr(t, e).map((n) => {
|
650
|
-
const o = je.detect(n.versionRegexes, e);
|
651
|
-
return {
|
652
|
-
current: n.name,
|
653
|
-
version: o
|
654
|
-
};
|
655
|
-
}), Wo = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Ht = (t) => (e) => ct(e, t), Hu = [
|
656
|
-
{
|
657
|
-
name: "Edge",
|
658
|
-
versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],
|
659
|
-
search: (t) => ct(t, "edge/") && ct(t, "chrome") && ct(t, "safari") && ct(t, "applewebkit")
|
660
|
-
},
|
661
|
-
{
|
662
|
-
name: "Chromium",
|
663
|
-
brand: "Chromium",
|
664
|
-
versionRegexes: [
|
665
|
-
/.*?chrome\/([0-9]+)\.([0-9]+).*/,
|
666
|
-
Wo
|
667
|
-
],
|
668
|
-
search: (t) => ct(t, "chrome") && !ct(t, "chromeframe")
|
669
|
-
},
|
670
|
-
{
|
671
|
-
name: "IE",
|
672
|
-
versionRegexes: [
|
673
|
-
/.*?msie\ ?([0-9]+)\.([0-9]+).*/,
|
674
|
-
/.*?rv:([0-9]+)\.([0-9]+).*/
|
675
|
-
],
|
676
|
-
search: (t) => ct(t, "msie") || ct(t, "trident")
|
677
|
-
},
|
678
|
-
{
|
679
|
-
name: "Opera",
|
680
|
-
versionRegexes: [
|
681
|
-
Wo,
|
682
|
-
/.*?opera\/([0-9]+)\.([0-9]+).*/
|
683
|
-
],
|
684
|
-
search: Ht("opera")
|
685
|
-
},
|
686
|
-
{
|
687
|
-
name: "Firefox",
|
688
|
-
versionRegexes: [/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],
|
689
|
-
search: Ht("firefox")
|
690
|
-
},
|
691
|
-
{
|
692
|
-
name: "Safari",
|
693
|
-
versionRegexes: [
|
694
|
-
Wo,
|
695
|
-
/.*?cpu os ([0-9]+)_([0-9]+).*/
|
696
|
-
],
|
697
|
-
search: (t) => (ct(t, "safari") || ct(t, "mobile/")) && ct(t, "applewebkit")
|
698
|
-
}
|
699
|
-
], Iu = [
|
700
|
-
{
|
701
|
-
name: "Windows",
|
702
|
-
search: Ht("win"),
|
703
|
-
versionRegexes: [/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]
|
704
|
-
},
|
705
|
-
{
|
706
|
-
name: "iOS",
|
707
|
-
search: (t) => ct(t, "iphone") || ct(t, "ipad"),
|
708
|
-
versionRegexes: [
|
709
|
-
/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,
|
710
|
-
/.*cpu os ([0-9]+)_([0-9]+).*/,
|
711
|
-
/.*cpu iphone os ([0-9]+)_([0-9]+).*/
|
712
|
-
]
|
713
|
-
},
|
714
|
-
{
|
715
|
-
name: "Android",
|
716
|
-
search: Ht("android"),
|
717
|
-
versionRegexes: [/.*?android\ ?([0-9]+)\.([0-9]+).*/]
|
718
|
-
},
|
719
|
-
{
|
720
|
-
name: "macOS",
|
721
|
-
search: Ht("mac os x"),
|
722
|
-
versionRegexes: [/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]
|
723
|
-
},
|
724
|
-
{
|
725
|
-
name: "Linux",
|
726
|
-
search: Ht("linux"),
|
727
|
-
versionRegexes: []
|
728
|
-
},
|
729
|
-
{
|
730
|
-
name: "Solaris",
|
731
|
-
search: Ht("sunos"),
|
732
|
-
versionRegexes: []
|
733
|
-
},
|
734
|
-
{
|
735
|
-
name: "FreeBSD",
|
736
|
-
search: Ht("freebsd"),
|
737
|
-
versionRegexes: []
|
738
|
-
},
|
739
|
-
{
|
740
|
-
name: "ChromeOS",
|
741
|
-
search: Ht("cros"),
|
742
|
-
versionRegexes: [/.*?chrome\/([0-9]+)\.([0-9]+).*/]
|
743
|
-
}
|
744
|
-
], qr = {
|
745
|
-
browsers: T(Hu),
|
746
|
-
oses: T(Iu)
|
747
|
-
}, Fu = "Edge", ju = "Chromium", Gu = "IE", Uu = "Opera", Vu = "Firefox", qu = "Safari", Ku = () => Kr({
|
748
|
-
current: void 0,
|
749
|
-
version: je.unknown()
|
750
|
-
}), Kr = (t) => {
|
751
|
-
const e = t.current, n = t.version, o = (s) => () => e === s;
|
752
|
-
return {
|
753
|
-
current: e,
|
754
|
-
version: n,
|
755
|
-
isEdge: o(Fu),
|
756
|
-
isChromium: o(ju),
|
757
|
-
isIE: o(Gu),
|
758
|
-
isOpera: o(Uu),
|
759
|
-
isFirefox: o(Vu),
|
760
|
-
isSafari: o(qu)
|
761
|
-
};
|
762
|
-
}, Xr = {
|
763
|
-
unknown: Ku,
|
764
|
-
nu: Kr
|
765
|
-
}, Xu = "Windows", Yu = "iOS", Ju = "Android", Qu = "Linux", Zu = "macOS", td = "Solaris", ed = "FreeBSD", nd = "ChromeOS", od = () => Yr({
|
766
|
-
current: void 0,
|
767
|
-
version: je.unknown()
|
768
|
-
}), Yr = (t) => {
|
769
|
-
const e = t.current, n = t.version, o = (s) => () => e === s;
|
770
|
-
return {
|
771
|
-
current: e,
|
772
|
-
version: n,
|
773
|
-
isWindows: o(Xu),
|
774
|
-
isiOS: o(Yu),
|
775
|
-
isAndroid: o(Ju),
|
776
|
-
isMacOS: o(Zu),
|
777
|
-
isLinux: o(Qu),
|
778
|
-
isSolaris: o(td),
|
779
|
-
isFreeBSD: o(ed),
|
780
|
-
isChromeOS: o(nd)
|
781
|
-
};
|
782
|
-
}, Jr = {
|
783
|
-
unknown: od,
|
784
|
-
nu: Yr
|
785
|
-
}, sd = { detect: (t, e, n) => {
|
786
|
-
const o = qr.browsers(), s = qr.oses(), r = e.bind((a) => Mu(o, a)).orThunk(() => Nu(o, t)).fold(Xr.unknown, Xr.nu), c = zu(s, t).fold(Jr.unknown, Jr.nu), l = Pu(c, r, t, n);
|
787
|
-
return {
|
788
|
-
browser: r,
|
789
|
-
os: c,
|
790
|
-
deviceType: l
|
791
|
-
};
|
792
|
-
} }, rd = (t) => window.matchMedia(t).matches;
|
793
|
-
let cd = Fe(() => sd.detect(window.navigator.userAgent, u.from(window.navigator.userAgentData), rd));
|
794
|
-
const Qr = () => cd(), Zr = (t, e) => {
|
795
|
-
const n = (l, a) => {
|
796
|
-
if (!uo(a) && !a.match(/^[0-9]+$/))
|
797
|
-
throw new Error(t + ".set accepts only positive integer values. Value was " + a);
|
798
|
-
const i = l.dom;
|
799
|
-
fe(i) && (i.style[t] = a + "px");
|
800
|
-
}, o = (l) => {
|
801
|
-
const a = e(l);
|
802
|
-
if (a <= 0 || a === null) {
|
803
|
-
const i = Qt(l, t);
|
804
|
-
return parseFloat(i) || 0;
|
805
|
-
}
|
806
|
-
return a;
|
807
|
-
}, s = o, r = (l, a) => $t(a, (i, d) => {
|
808
|
-
const f = Qt(l, d), h = f === void 0 ? 0 : parseInt(f, 10);
|
809
|
-
return isNaN(h) ? i : i + h;
|
810
|
-
}, 0);
|
811
|
-
return {
|
812
|
-
set: n,
|
813
|
-
get: o,
|
814
|
-
getOuter: s,
|
815
|
-
aggregate: r,
|
816
|
-
max: (l, a, i) => {
|
817
|
-
const d = r(l, i);
|
818
|
-
return a > d ? a - d : 0;
|
819
|
-
}
|
820
|
-
};
|
821
|
-
}, ld = (t, e) => ku(t).getOr(e), he = (t, e, n) => ld(Qt(t, e), n), ad = (t, e, n, o) => {
|
822
|
-
const s = he(t, `padding-${n}`, 0), r = he(t, `padding-${o}`, 0), c = he(t, `border-${n}-width`, 0), l = he(t, `border-${o}-width`, 0);
|
823
|
-
return e - s - r - c - l;
|
824
|
-
}, id = (t, e) => {
|
825
|
-
const n = t.dom, o = n.getBoundingClientRect().width || n.offsetWidth;
|
826
|
-
return ad(t, o, "left", "right");
|
827
|
-
}, ud = (t) => he(t, "height", t.dom.offsetHeight), dd = (t) => he(t, "width", t.dom.offsetWidth), md = (t) => id(t), tc = Zr("width", (t) => t.dom.offsetWidth), It = (t) => tc.get(t), Po = (t) => tc.getOuter(t), _o = md, fd = dd, Lo = (t, e, n) => {
|
828
|
-
const o = t.cells, s = o.slice(0, e), r = o.slice(e), c = s.concat(n).concat(r);
|
829
|
-
return nc(t, c);
|
830
|
-
}, ec = (t, e, n) => Lo(t, e, [n]), Ge = (t, e, n) => {
|
831
|
-
const o = t.cells;
|
832
|
-
o[e] = n;
|
833
|
-
}, nc = (t, e) => Yt(t.element, e, t.section, t.isNew), gd = (t, e) => {
|
834
|
-
const n = t.cells, o = S(n, e);
|
835
|
-
return Yt(t.element, o, t.section, t.isNew);
|
836
|
-
}, bt = (t, e) => t.cells[e], at = (t, e) => bt(t, e).element, Ct = (t) => t.cells.length, F = (t) => {
|
837
|
-
const e = rr(t, (n) => n.section === "colgroup");
|
838
|
-
return {
|
839
|
-
rows: e.fail,
|
840
|
-
cols: e.pass
|
841
|
-
};
|
842
|
-
}, oc = (t, e, n) => {
|
843
|
-
const o = S(t.cells, n);
|
844
|
-
return Yt(e(t.element), o, t.section, !0);
|
845
|
-
}, Tn = "data-snooker-locked-cols", pd = (t) => Gt(t, Tn).bind((e) => u.from(e.match(/\d+/g))).map((e) => fo(e, B)), Zt = (t) => {
|
846
|
-
const e = $t(F(t).rows, (o, s) => (x(s.cells, (r, c) => {
|
847
|
-
r.isLocked && (o[c] = !0);
|
848
|
-
}), o), {}), n = ur(e, (o, s) => parseInt(s, 10));
|
849
|
-
return Ti(n);
|
850
|
-
}, Ao = (t, e) => t + "," + e, hd = (t, e, n) => u.from(t.access[Ao(e, n)]), wd = (t, e, n) => {
|
851
|
-
const o = sc(t, (s) => n(e, s.element));
|
852
|
-
return o.length > 0 ? u.some(o[0]) : u.none();
|
853
|
-
}, sc = (t, e) => {
|
854
|
-
const n = q(t.all, (o) => o.cells);
|
855
|
-
return H(n, e);
|
856
|
-
}, bd = (t) => {
|
857
|
-
const e = {};
|
858
|
-
let n = 0;
|
859
|
-
return x(t.cells, (o) => {
|
860
|
-
const s = o.colspan;
|
861
|
-
ht(s, (r) => {
|
862
|
-
const c = n + r;
|
863
|
-
e[c] = uu(o.element, s, c);
|
864
|
-
}), n += s;
|
865
|
-
}), e;
|
866
|
-
}, rc = (t) => {
|
867
|
-
const e = {}, n = [], s = dn(t).map((p) => p.element).bind(lt).bind(pd).getOr({});
|
868
|
-
let r = 0, c = 0, l = 0;
|
869
|
-
const {
|
870
|
-
pass: a,
|
871
|
-
fail: i
|
872
|
-
} = rr(t, (p) => p.section === "colgroup");
|
873
|
-
x(i, (p) => {
|
874
|
-
const g = [];
|
875
|
-
x(p.cells, (C) => {
|
876
|
-
let m = 0;
|
877
|
-
for (; e[Ao(l, m)] !== void 0; )
|
878
|
-
m++;
|
879
|
-
const y = Oi(s, m.toString()), v = lu(C.element, C.rowspan, C.colspan, l, m, y);
|
880
|
-
for (let b = 0; b < C.colspan; b++)
|
881
|
-
for (let $ = 0; $ < C.rowspan; $++) {
|
882
|
-
const D = l + $, O = m + b, A = Ao(D, O);
|
883
|
-
e[A] = v, c = Math.max(c, O + 1);
|
884
|
-
}
|
885
|
-
g.push(v);
|
886
|
-
}), r++, n.push(So(p.element, g, p.section)), l++;
|
887
|
-
});
|
888
|
-
const { columns: d, colgroups: f } = ar(a).map((p) => {
|
889
|
-
const g = bd(p);
|
890
|
-
return {
|
891
|
-
colgroups: [du(p.element, dr(g))],
|
892
|
-
columns: g
|
893
|
-
};
|
894
|
-
}).getOrThunk(() => ({
|
895
|
-
colgroups: [],
|
896
|
-
columns: {}
|
897
|
-
}));
|
898
|
-
return {
|
899
|
-
grid: su(r, c),
|
900
|
-
access: e,
|
901
|
-
all: n,
|
902
|
-
columns: d,
|
903
|
-
colgroups: f
|
904
|
-
};
|
905
|
-
}, k = {
|
906
|
-
fromTable: (t) => {
|
907
|
-
const e = Gr(t);
|
908
|
-
return rc(e);
|
909
|
-
},
|
910
|
-
generate: rc,
|
911
|
-
getAt: hd,
|
912
|
-
findItem: wd,
|
913
|
-
filterItems: sc,
|
914
|
-
justCells: (t) => q(t.all, (e) => e.cells),
|
915
|
-
justColumns: (t) => dr(t.columns),
|
916
|
-
hasColumns: (t) => Ae(t.columns).length > 0,
|
917
|
-
getColumnAt: (t, e) => u.from(t.columns[e])
|
918
|
-
}, Mo = (t, e = B) => {
|
919
|
-
const n = t.grid, o = ht(n.columns, M), s = ht(n.rows, M);
|
920
|
-
return S(o, (r) => cc(() => q(s, (i) => k.getAt(t, i, r).filter((d) => d.column === r).toArray()), (i) => i.colspan === 1 && e(i.element), () => k.getAt(t, 0, r)));
|
921
|
-
}, cc = (t, e, n) => {
|
922
|
-
const o = t();
|
923
|
-
return Dt(o, e).orThunk(() => u.from(o[0]).orThunk(n)).map((c) => c.element);
|
924
|
-
}, lc = (t) => {
|
925
|
-
const e = t.grid, n = ht(e.rows, M), o = ht(e.columns, M);
|
926
|
-
return S(n, (s) => cc(() => q(o, (a) => k.getAt(t, s, a).filter((i) => i.row === s).fold(T([]), (i) => [i])), (a) => a.rowspan === 1, () => k.getAt(t, s, 0)));
|
927
|
-
}, Cd = (t, e) => {
|
928
|
-
if (e < 0 || e >= t.length - 1)
|
929
|
-
return u.none();
|
930
|
-
const n = t[e].fold(() => {
|
931
|
-
const s = Ri(t.slice(0, e));
|
932
|
-
return Mt(s, (r, c) => r.map((l) => ({
|
933
|
-
value: l,
|
934
|
-
delta: c + 1
|
935
|
-
})));
|
936
|
-
}, (s) => u.some({
|
937
|
-
value: s,
|
938
|
-
delta: 0
|
939
|
-
})), o = t[e + 1].fold(() => {
|
940
|
-
const s = t.slice(e + 1);
|
941
|
-
return Mt(s, (r, c) => r.map((l) => ({
|
942
|
-
value: l,
|
943
|
-
delta: c + 1
|
944
|
-
})));
|
945
|
-
}, (s) => u.some({
|
946
|
-
value: s,
|
947
|
-
delta: 1
|
948
|
-
}));
|
949
|
-
return n.bind((s) => o.map((r) => {
|
950
|
-
const c = r.delta + s.delta;
|
951
|
-
return Math.abs(r.value - s.value) / c;
|
952
|
-
}));
|
953
|
-
}, ac = (t, e) => (n) => yd(n) === "rtl" ? e : t, yd = (t) => Qt(t, "direction") === "rtl" ? "rtl" : "ltr", ic = Zr("height", (t) => {
|
954
|
-
const e = t.dom;
|
955
|
-
return Nt(t) ? e.getBoundingClientRect().height : e.offsetHeight;
|
956
|
-
}), Ue = (t) => ic.get(t), uc = (t) => ic.getOuter(t), Sd = ud, dc = (t, e) => ({
|
957
|
-
left: t,
|
958
|
-
top: e,
|
959
|
-
translate: (o, s) => dc(t + o, e + s)
|
960
|
-
}), Ft = dc, Rd = (t) => {
|
961
|
-
const e = t.getBoundingClientRect();
|
962
|
-
return Ft(e.left, e.top);
|
963
|
-
}, vn = (t, e) => t !== void 0 ? t : e !== void 0 ? e : 0, we = (t) => {
|
964
|
-
const e = t.dom.ownerDocument, n = e.body, o = e.defaultView, s = e.documentElement;
|
965
|
-
if (n === t.dom)
|
966
|
-
return Ft(n.offsetLeft, n.offsetTop);
|
967
|
-
const r = vn(o == null ? void 0 : o.pageYOffset, s.scrollTop), c = vn(o == null ? void 0 : o.pageXOffset, s.scrollLeft), l = vn(s.clientTop, n.clientTop), a = vn(s.clientLeft, n.clientLeft);
|
968
|
-
return Td(t).translate(c - a, r - l);
|
969
|
-
}, Td = (t) => {
|
970
|
-
const e = t.dom, o = e.ownerDocument.body;
|
971
|
-
return o === e ? Ft(o.offsetLeft, o.offsetTop) : Nt(t) ? Rd(e) : Ft(0, 0);
|
972
|
-
}, mc = (t, e) => ({
|
973
|
-
row: t,
|
974
|
-
y: e
|
975
|
-
}), fc = (t, e) => ({
|
976
|
-
col: t,
|
977
|
-
x: e
|
978
|
-
}), gc = (t) => we(t).left + Po(t), pc = (t) => we(t).left, hc = (t, e) => fc(t, pc(e)), wc = (t, e) => fc(t, gc(e)), No = (t) => we(t).top, vd = (t, e) => mc(t, No(e)), xd = (t, e) => mc(t, No(e) + uc(e)), zo = (t, e, n) => {
|
979
|
-
if (n.length === 0)
|
980
|
-
return [];
|
981
|
-
const o = S(n.slice(1), (r, c) => r.map((l) => t(c, l))), s = n[n.length - 1].map((r) => e(n.length - 1, r));
|
982
|
-
return o.concat([s]);
|
983
|
-
}, kd = (t) => -t, xn = {
|
984
|
-
delta: M,
|
985
|
-
positions: (t) => zo(vd, xd, t),
|
986
|
-
edge: No
|
987
|
-
}, Ho = ac({
|
988
|
-
delta: M,
|
989
|
-
edge: pc,
|
990
|
-
positions: (t) => zo(hc, wc, t)
|
991
|
-
}, {
|
992
|
-
delta: kd,
|
993
|
-
edge: gc,
|
994
|
-
positions: (t) => zo(wc, hc, t)
|
995
|
-
}), kn = {
|
996
|
-
delta: (t, e) => Ho(e).delta(t, e),
|
997
|
-
positions: (t, e) => Ho(e).positions(t, e),
|
998
|
-
edge: (t) => Ho(t).edge(t)
|
999
|
-
}, $d = {
|
1000
|
-
unsupportedLength: [
|
1001
|
-
"em",
|
1002
|
-
"ex",
|
1003
|
-
"cap",
|
1004
|
-
"ch",
|
1005
|
-
"ic",
|
1006
|
-
"rem",
|
1007
|
-
"lh",
|
1008
|
-
"rlh",
|
1009
|
-
"vw",
|
1010
|
-
"vh",
|
1011
|
-
"vi",
|
1012
|
-
"vb",
|
1013
|
-
"vmin",
|
1014
|
-
"vmax",
|
1015
|
-
"cm",
|
1016
|
-
"mm",
|
1017
|
-
"Q",
|
1018
|
-
"in",
|
1019
|
-
"pc",
|
1020
|
-
"pt",
|
1021
|
-
"px"
|
1022
|
-
],
|
1023
|
-
fixed: [
|
1024
|
-
"px",
|
1025
|
-
"pt"
|
1026
|
-
],
|
1027
|
-
relative: ["%"],
|
1028
|
-
empty: [""]
|
1029
|
-
}, Dd = (() => {
|
1030
|
-
const t = "[0-9]+", n = "[eE]" + ("[+-]?" + t), o = "\\.", s = (l) => `(?:${l})?`, c = `[+-]?(?:${[
|
1031
|
-
"Infinity",
|
1032
|
-
t + o + s(t) + s(n),
|
1033
|
-
o + t + s(n),
|
1034
|
-
t + s(n)
|
1035
|
-
].join("|")})`;
|
1036
|
-
return new RegExp(`^(${c})(.*)$`);
|
1037
|
-
})(), Od = (t, e) => ut(e, (n) => ut($d[n], (o) => t === o)), Ed = (t, e) => u.from(Dd.exec(t)).bind((o) => {
|
1038
|
-
const s = Number(o[1]), r = o[2];
|
1039
|
-
return Od(r, e) ? u.some({
|
1040
|
-
value: s,
|
1041
|
-
unit: r
|
1042
|
-
}) : u.none();
|
1043
|
-
}), bc = /(\d+(\.\d+)?)%/, Bd = /(\d+(\.\d+)?)px|em/, Wd = rt("col"), Pd = rt("tr"), Cc = (t, e, n) => {
|
1044
|
-
const o = Sr(t).getOrThunk(() => Wr(fn(t)));
|
1045
|
-
return e(t) / n(o) * 100;
|
1046
|
-
}, yc = (t, e) => {
|
1047
|
-
U(t, "width", e + "px");
|
1048
|
-
}, Sc = (t, e) => {
|
1049
|
-
U(t, "width", e + "%");
|
1050
|
-
}, Io = (t, e) => {
|
1051
|
-
U(t, "height", e + "px");
|
1052
|
-
}, _d = (t) => {
|
1053
|
-
Wt(t, "height");
|
1054
|
-
}, Ld = (t) => Sd(t) + "px", Ad = (t, e, n, o) => {
|
1055
|
-
const s = lt(t).map((r) => {
|
1056
|
-
const c = n(r);
|
1057
|
-
return Math.floor(e / 100 * c);
|
1058
|
-
}).getOr(e);
|
1059
|
-
return o(t, s), s;
|
1060
|
-
}, Md = (t, e, n, o) => {
|
1061
|
-
const s = parseFloat(t);
|
1062
|
-
return yn(t, "%") && P(e) !== "table" ? Ad(e, s, n, o) : s;
|
1063
|
-
}, Nd = (t) => {
|
1064
|
-
const e = Ld(t);
|
1065
|
-
return e ? Md(e, t, Ue, Io) : Ue(t);
|
1066
|
-
}, zd = (t, e, n) => {
|
1067
|
-
const o = n(t), s = $o(t, e);
|
1068
|
-
return o / s;
|
1069
|
-
}, Rc = (t, e) => ko(t, e).orThunk(() => Gt(t, e).map((n) => n + "px")), be = (t) => Rc(t, "width"), Hd = (t) => Rc(t, "height"), Id = (t) => Cc(t, It, _o), Tc = (t) => Wd(t) ? It(t) : fd(t), vc = (t) => Pd(t) ? Ue(t) : zd(t, "rowspan", Nd), Fd = (t) => be(t).bind((n) => Ed(n, [
|
1070
|
-
"fixed",
|
1071
|
-
"relative",
|
1072
|
-
"empty"
|
1073
|
-
])), xc = (t, e, n) => {
|
1074
|
-
U(t, "width", e + n);
|
1075
|
-
}, jd = (t) => It(t) + "px", Gd = (t) => Ue(t) + "px", kc = (t) => Cc(t, It, _o) + "%", Ud = (t) => be(t).exists((e) => bc.test(e)), Vd = (t) => be(t).exists((e) => Bd.test(e)), qd = (t) => be(t).isNone(), Kd = T(bc), Xd = rt("col"), Yd = (t) => be(t).getOrThunk(() => Tc(t) + "px"), Jd = (t) => Hd(t).getOrThunk(() => vc(t) + "px"), Qd = (t) => S(k.justColumns(t), (e) => u.from(e.element)), Zd = (t) => {
|
1076
|
-
const e = Qr().browser, n = e.isChromium() || e.isFirefox();
|
1077
|
-
return Xd(t) ? n : !0;
|
1078
|
-
}, Fo = (t, e, n, o, s, r) => t.filter(o).fold(() => r(Cd(n, e)), (c) => s(c)), jo = (t, e, n, o) => {
|
1079
|
-
const s = Mo(t), r = k.hasColumns(t) ? Qd(t) : s, c = [u.some(kn.edge(e))].concat(S(kn.positions(s, e), (a) => a.map((i) => i.x))), l = nr(Do);
|
1080
|
-
return S(r, (a, i) => Fo(a, i, c, l, (d) => {
|
1081
|
-
if (Zd(d))
|
1082
|
-
return n(d);
|
1083
|
-
{
|
1084
|
-
const f = Su(s[i], M);
|
1085
|
-
return Fo(f, i, c, l, (h) => o(u.some(It(h))), o);
|
1086
|
-
}
|
1087
|
-
}, o));
|
1088
|
-
}, $c = (t) => t.map((e) => e + "px").getOr(""), tm = (t, e) => jo(t, e, Yd, $c), em = (t, e, n) => jo(t, e, Id, (o) => o.fold(() => n.minCellWidth(), (s) => s / n.pixelWidth() * 100)), Go = (t, e, n) => jo(t, e, Tc, (o) => o.getOrThunk(n.minCellWidth)), Dc = (t, e, n, o) => {
|
1089
|
-
const s = lc(t), r = S(t.all, (l) => u.some(l.element)), c = [u.some(xn.edge(e))].concat(S(xn.positions(s, e), (l) => l.map((a) => a.y)));
|
1090
|
-
return S(r, (l, a) => Fo(l, a, c, B, n, o));
|
1091
|
-
}, nm = (t, e) => Dc(t, e, vc, (n) => n.getOrThunk(zr)), om = (t, e) => Dc(t, e, Jd, $c), $n = (t, e) => () => Nt(t) ? e(t) : parseFloat(ko(t, "width").getOr("0")), Oc = (t) => {
|
1092
|
-
const e = $n(t, It), n = T(0);
|
1093
|
-
return {
|
1094
|
-
width: e,
|
1095
|
-
pixelWidth: e,
|
1096
|
-
getWidths: (s, r) => Go(s, t, r),
|
1097
|
-
getCellDelta: n,
|
1098
|
-
singleColumnWidth: T([0]),
|
1099
|
-
minCellWidth: n,
|
1100
|
-
setElementWidth: R,
|
1101
|
-
adjustTableWidth: R,
|
1102
|
-
isRelative: !0,
|
1103
|
-
label: "none"
|
1104
|
-
};
|
1105
|
-
}, Ec = (t) => {
|
1106
|
-
const e = $n(t, (a) => parseFloat(kc(a))), n = $n(t, It);
|
1107
|
-
return {
|
1108
|
-
width: e,
|
1109
|
-
pixelWidth: n,
|
1110
|
-
getWidths: (a, i) => em(a, t, i),
|
1111
|
-
getCellDelta: (a) => a / n() * 100,
|
1112
|
-
singleColumnWidth: (a, i) => [100 - a],
|
1113
|
-
minCellWidth: () => Ie() / n() * 100,
|
1114
|
-
setElementWidth: Sc,
|
1115
|
-
adjustTableWidth: (a) => {
|
1116
|
-
const i = e(), d = a / 100 * i, f = i + d;
|
1117
|
-
Sc(t, f);
|
1118
|
-
},
|
1119
|
-
isRelative: !0,
|
1120
|
-
label: "percent"
|
1121
|
-
};
|
1122
|
-
}, Bc = (t) => {
|
1123
|
-
const e = $n(t, It);
|
1124
|
-
return {
|
1125
|
-
width: e,
|
1126
|
-
pixelWidth: e,
|
1127
|
-
getWidths: (c, l) => Go(c, t, l),
|
1128
|
-
getCellDelta: M,
|
1129
|
-
singleColumnWidth: (c, l) => [Math.max(Ie(), c + l) - c],
|
1130
|
-
minCellWidth: Ie,
|
1131
|
-
setElementWidth: yc,
|
1132
|
-
adjustTableWidth: (c) => {
|
1133
|
-
const l = e() + c;
|
1134
|
-
yc(t, l);
|
1135
|
-
},
|
1136
|
-
isRelative: !1,
|
1137
|
-
label: "pixel"
|
1138
|
-
};
|
1139
|
-
}, sm = (t, e) => Kd().exec(e) !== null ? Ec(t) : Bc(t), Ce = {
|
1140
|
-
getTableSize: (t) => be(t).fold(() => Oc(t), (n) => sm(t, n)),
|
1141
|
-
pixelSize: Bc,
|
1142
|
-
percentageSize: Ec,
|
1143
|
-
noneSize: Oc
|
1144
|
-
}, rm = (t, e, n, o, s, r) => ({
|
1145
|
-
minRow: t,
|
1146
|
-
minCol: e,
|
1147
|
-
maxRow: n,
|
1148
|
-
maxCol: o,
|
1149
|
-
allCells: s,
|
1150
|
-
selectedCells: r
|
1151
|
-
}), cm = (t, e) => {
|
1152
|
-
const n = t.grid.columns;
|
1153
|
-
let s = t.grid.rows, r = n, c = 0, l = 0;
|
1154
|
-
const a = [], i = [];
|
1155
|
-
return dt(t.access, (d) => {
|
1156
|
-
if (a.push(d), e(d)) {
|
1157
|
-
i.push(d);
|
1158
|
-
const f = d.row, h = f + d.rowspan - 1, p = d.column, g = p + d.colspan - 1;
|
1159
|
-
f < s ? s = f : h > c && (c = h), p < r ? r = p : g > l && (l = g);
|
1160
|
-
}
|
1161
|
-
}), rm(s, r, c, l, a, i);
|
1162
|
-
}, lm = (t, e, n) => {
|
1163
|
-
const o = t[n].element, s = w.fromTag("td");
|
1164
|
-
_(s, w.fromTag("br")), (e ? _ : Co)(o, s);
|
1165
|
-
}, am = (t, e, n, o) => {
|
1166
|
-
const s = H(t, (l) => l.section !== "colgroup"), r = e.grid.columns, c = e.grid.rows;
|
1167
|
-
for (let l = 0; l < c; l++) {
|
1168
|
-
let a = !1;
|
1169
|
-
for (let i = 0; i < r; i++)
|
1170
|
-
l < n.minRow || l > n.maxRow || i < n.minCol || i > n.maxCol || (k.getAt(e, l, i).filter(o).isNone() ? lm(s, a, l) : a = !0);
|
1171
|
-
}
|
1172
|
-
}, im = (t, e, n, o) => {
|
1173
|
-
dt(n.columns, (c) => {
|
1174
|
-
(c.column < e.minCol || c.column > e.maxCol) && Z(c.element);
|
1175
|
-
});
|
1176
|
-
const s = H(Rn(t, "tr"), (c) => c.dom.childElementCount === 0);
|
1177
|
-
x(s, Z), (e.minCol === e.maxCol || e.minRow === e.maxRow) && x(Rn(t, "th,td"), (c) => {
|
1178
|
-
L(c, "rowspan"), L(c, "colspan");
|
1179
|
-
}), L(t, Tn), L(t, "data-snooker-col-series"), Ce.getTableSize(t).adjustTableWidth(o);
|
1180
|
-
}, um = (t, e, n, o) => {
|
1181
|
-
if (o.minCol === 0 && e.grid.columns === o.maxCol + 1)
|
1182
|
-
return 0;
|
1183
|
-
const s = Go(e, t, n), r = $t(s, (i, d) => i + d, 0), a = $t(s.slice(o.minCol, o.maxCol + 1), (i, d) => i + d, 0) / r * n.pixelWidth() - n.pixelWidth();
|
1184
|
-
return n.getCellDelta(a);
|
1185
|
-
}, dm = (t, e) => {
|
1186
|
-
const n = (h) => mt(h.element, e), o = de(t), s = Gr(o), r = Ce.getTableSize(t), c = k.generate(s), l = cm(c, n), a = "th:not(" + e + "),td:not(" + e + ")", i = Oo(o, "th,td", (h) => mt(h, a));
|
1187
|
-
x(i, Z), am(s, c, l, n);
|
1188
|
-
const d = k.fromTable(t), f = um(t, d, r, l);
|
1189
|
-
return im(o, l, c, f), o;
|
1190
|
-
}, mm = " ", Uo = ((t, e) => {
|
1191
|
-
const n = (r) => {
|
1192
|
-
if (!t(r))
|
1193
|
-
throw new Error("Can only get " + e + " value of a " + e + " node");
|
1194
|
-
return o(r).getOr("");
|
1195
|
-
}, o = (r) => t(r) ? u.from(r.dom.nodeValue) : u.none();
|
1196
|
-
return {
|
1197
|
-
get: n,
|
1198
|
-
getOption: o,
|
1199
|
-
set: (r, c) => {
|
1200
|
-
if (!t(r))
|
1201
|
-
throw new Error("Can only set raw " + e + " value of a " + e + " node");
|
1202
|
-
r.dom.nodeValue = c;
|
1203
|
-
}
|
1204
|
-
};
|
1205
|
-
})(qt, "text"), Vo = (t) => Uo.get(t), Wc = (t) => Uo.getOption(t), fm = (t, e) => Uo.set(t, e), Ut = (t) => P(t) === "img" ? 1 : Wc(t).fold(() => ft(t).length, (e) => e.length), gm = (t) => Wc(t).filter((e) => e.trim().length !== 0 || e.indexOf(mm) > -1).isSome(), pm = (t) => hr(t) && Kt(t, "contenteditable") === "false", hm = [
|
1206
|
-
"img",
|
1207
|
-
"br"
|
1208
|
-
], Pc = (t) => gm(t) || z(hm, P(t)) || pm(t), _c = (t) => yu(t, Pc), Lc = (t) => wm(t, Pc), wm = (t, e) => {
|
1209
|
-
const n = (o) => {
|
1210
|
-
const s = ft(o);
|
1211
|
-
for (let r = s.length - 1; r >= 0; r--) {
|
1212
|
-
const c = s[r];
|
1213
|
-
if (e(c))
|
1214
|
-
return u.some(c);
|
1215
|
-
const l = n(c);
|
1216
|
-
if (l.isSome())
|
1217
|
-
return l;
|
1218
|
-
}
|
1219
|
-
return u.none();
|
1220
|
-
};
|
1221
|
-
return n(t);
|
1222
|
-
}, bm = {
|
1223
|
-
scope: [
|
1224
|
-
"row",
|
1225
|
-
"col"
|
1226
|
-
]
|
1227
|
-
}, qo = (t) => () => {
|
1228
|
-
const e = w.fromTag("td", t.dom);
|
1229
|
-
return _(e, w.fromTag("br", t.dom)), e;
|
1230
|
-
}, Ko = (t) => () => w.fromTag("col", t.dom), Ac = (t) => () => w.fromTag("colgroup", t.dom), Mc = (t) => () => w.fromTag("tr", t.dom), Cm = (t, e, n) => {
|
1231
|
-
const o = tu(t, e);
|
1232
|
-
return dt(n, (s, r) => {
|
1233
|
-
s === null ? L(o, r) : N(o, r, s);
|
1234
|
-
}), o;
|
1235
|
-
}, ym = (t) => t, Sm = (t, e, n) => _c(t).map((s) => {
|
1236
|
-
const r = n.join(","), c = ze(s, r, (l) => W(l, t));
|
1237
|
-
return kt(c, (l, a) => {
|
1238
|
-
const i = kr(a);
|
1239
|
-
return _(l, i), i;
|
1240
|
-
}, e);
|
1241
|
-
}).getOr(e), Rm = (t, e) => {
|
1242
|
-
dt(bm, (n, o) => Gt(t, o).filter((s) => z(n, s)).each((s) => N(e, o, s)));
|
1243
|
-
}, Xo = (t, e, n) => {
|
1244
|
-
const o = (c, l) => {
|
1245
|
-
Du(c.element, l), Wt(l, "height"), c.colspan !== 1 && Wt(l, "width");
|
1246
|
-
}, s = (c) => {
|
1247
|
-
const l = w.fromTag(P(c.element), e.dom), a = n.getOr([
|
1248
|
-
"strong",
|
1249
|
-
"em",
|
1250
|
-
"b",
|
1251
|
-
"i",
|
1252
|
-
"span",
|
1253
|
-
"font",
|
1254
|
-
"h1",
|
1255
|
-
"h2",
|
1256
|
-
"h3",
|
1257
|
-
"h4",
|
1258
|
-
"h5",
|
1259
|
-
"h6",
|
1260
|
-
"p",
|
1261
|
-
"div"
|
1262
|
-
]), i = a.length > 0 ? Sm(c.element, l, a) : l;
|
1263
|
-
return _(i, w.fromTag("br")), o(c, l), Rm(c.element, l), t(c.element, l), l;
|
1264
|
-
};
|
1265
|
-
return {
|
1266
|
-
col: (c) => {
|
1267
|
-
const l = w.fromTag(P(c.element), e.dom);
|
1268
|
-
return o(c, l), t(c.element, l), l;
|
1269
|
-
},
|
1270
|
-
colgroup: Ac(e),
|
1271
|
-
row: Mc(e),
|
1272
|
-
cell: s,
|
1273
|
-
replace: Cm,
|
1274
|
-
colGap: Ko(e),
|
1275
|
-
gap: qo(e)
|
1276
|
-
};
|
1277
|
-
}, Nc = (t) => ({
|
1278
|
-
col: Ko(t),
|
1279
|
-
colgroup: Ac(t),
|
1280
|
-
row: Mc(t),
|
1281
|
-
cell: qo(t),
|
1282
|
-
replace: ym,
|
1283
|
-
colGap: Ko(t),
|
1284
|
-
gap: qo(t)
|
1285
|
-
}), Tm = (t, e) => {
|
1286
|
-
const o = document.createElement("div");
|
1287
|
-
return o.innerHTML = t, ft(w.fromDom(o));
|
1288
|
-
}, vm = (t) => S(t, w.fromDom), Pt = (t) => (e) => e.options.get(t), zc = "100%", Hc = (t) => {
|
1289
|
-
var e;
|
1290
|
-
const n = t.dom, o = (e = n.getParent(t.selection.getStart(), n.isBlock)) !== null && e !== void 0 ? e : t.getBody();
|
1291
|
-
return _o(w.fromDom(o)) + "px";
|
1292
|
-
}, xm = (t, e) => Ve(t) || !Uc(t) ? e : ye(t) ? it(et({}, e), {
|
1293
|
-
width: Hc(t)
|
1294
|
-
}) : it(et({}, e), {
|
1295
|
-
width: zc
|
1296
|
-
}), km = (t, e) => Ve(t) || Uc(t) ? e : ye(t) ? it(et({}, e), {
|
1297
|
-
width: Hc(t)
|
1298
|
-
}) : it(et({}, e), {
|
1299
|
-
width: zc
|
1300
|
-
}), $m = (t) => {
|
1301
|
-
const e = t.options.register;
|
1302
|
-
e("table_clone_elements", { processor: "string[]" }), e("table_use_colgroups", {
|
1303
|
-
processor: "boolean",
|
1304
|
-
default: !0
|
1305
|
-
}), e("table_header_type", {
|
1306
|
-
processor: (n) => {
|
1307
|
-
const o = z([
|
1308
|
-
"section",
|
1309
|
-
"cells",
|
1310
|
-
"sectionCells",
|
1311
|
-
"auto"
|
1312
|
-
], n);
|
1313
|
-
return o ? {
|
1314
|
-
value: n,
|
1315
|
-
valid: o
|
1316
|
-
} : {
|
1317
|
-
valid: !1,
|
1318
|
-
message: "Must be one of: section, cells, sectionCells or auto."
|
1319
|
-
};
|
1320
|
-
},
|
1321
|
-
default: "section"
|
1322
|
-
}), e("table_sizing_mode", {
|
1323
|
-
processor: "string",
|
1324
|
-
default: "auto"
|
1325
|
-
}), e("table_default_attributes", {
|
1326
|
-
processor: "object",
|
1327
|
-
default: { border: "1" }
|
1328
|
-
}), e("table_default_styles", {
|
1329
|
-
processor: "object",
|
1330
|
-
default: { "border-collapse": "collapse" }
|
1331
|
-
}), e("table_column_resizing", {
|
1332
|
-
processor: (n) => {
|
1333
|
-
const o = z([
|
1334
|
-
"preservetable",
|
1335
|
-
"resizetable"
|
1336
|
-
], n);
|
1337
|
-
return o ? {
|
1338
|
-
value: n,
|
1339
|
-
valid: o
|
1340
|
-
} : {
|
1341
|
-
valid: !1,
|
1342
|
-
message: "Must be preservetable, or resizetable."
|
1343
|
-
};
|
1344
|
-
},
|
1345
|
-
default: "preservetable"
|
1346
|
-
}), e("table_resize_bars", {
|
1347
|
-
processor: "boolean",
|
1348
|
-
default: !0
|
1349
|
-
}), e("table_style_by_css", {
|
1350
|
-
processor: "boolean",
|
1351
|
-
default: !0
|
1352
|
-
}), e("table_merge_content_on_paste", {
|
1353
|
-
processor: "boolean",
|
1354
|
-
default: !0
|
1355
|
-
});
|
1356
|
-
}, Ic = (t) => u.from(t.options.get("table_clone_elements")), Dm = (t) => {
|
1357
|
-
const e = t.options.get("object_resizing");
|
1358
|
-
return z(e.split(","), "table");
|
1359
|
-
}, Fc = Pt("table_header_type"), Yo = Pt("table_column_resizing"), jc = (t) => Yo(t) === "preservetable", Gc = (t) => Yo(t) === "resizetable", Jo = Pt("table_sizing_mode"), Dn = (t) => Jo(t) === "relative", ye = (t) => Jo(t) === "fixed", Ve = (t) => Jo(t) === "responsive", Om = Pt("table_resize_bars"), Uc = Pt("table_style_by_css"), Em = Pt("table_merge_content_on_paste"), Bm = (t) => {
|
1360
|
-
const e = t.options, n = e.get("table_default_attributes");
|
1361
|
-
return e.isSet("table_default_attributes") ? n : km(t, n);
|
1362
|
-
}, Wm = (t) => {
|
1363
|
-
const e = t.options, n = e.get("table_default_styles");
|
1364
|
-
return e.isSet("table_default_styles") ? n : xm(t, n);
|
1365
|
-
}, Pm = Pt("table_use_colgroups"), _m = Pt("fixed_toolbar_container"), Lm = Pt("fixed_toolbar_container_target"), Am = (t) => {
|
1366
|
-
var e;
|
1367
|
-
if (!t.inline)
|
1368
|
-
return u.none();
|
1369
|
-
const n = (e = _m(t)) !== null && e !== void 0 ? e : "";
|
1370
|
-
if (n.length > 0)
|
1371
|
-
return me(Br(), n);
|
1372
|
-
const o = Lm(t);
|
1373
|
-
return ie(o) ? u.some(w.fromDom(o)) : u.none();
|
1374
|
-
}, Mm = (t) => t.inline && Am(t).isSome(), Nm = Pt("ui_mode"), zm = (t) => !Mm(t) && Nm(t) === "split", Vc = (t) => G(t, "[contenteditable]"), qe = (t, e = !1) => Nt(t) ? t.dom.isContentEditable : Vc(t).fold(T(e), (n) => qc(n) === "true"), qc = (t) => t.dom.contentEditable, On = (t) => w.fromDom(t.getBody()), Se = (t) => (e) => W(e, On(t)), te = (t) => {
|
1375
|
-
L(t, "data-mce-style");
|
1376
|
-
const e = (n) => L(n, "data-mce-style");
|
1377
|
-
x(pe(t), e), x(Eo(t), e), x(Ir(t), e);
|
1378
|
-
}, En = (t) => w.fromDom(t.selection.getStart()), Kc = (t) => t.getBoundingClientRect().width, Xc = (t) => t.getBoundingClientRect().height, Yc = (t) => (e, n) => {
|
1379
|
-
const o = e.dom.getStyle(n, t) || e.dom.getAttrib(n, t);
|
1380
|
-
return u.from(o).filter(xu);
|
1381
|
-
}, Hm = Yc("width"), Im = Yc("height"), Fm = (t) => /^(\d+(\.\d+)?)%$/.test(t), jm = (t) => /^(\d+(\.\d+)?)px$/.test(t), Qo = (t) => Ro(t, rt("table")).exists(qe), Gm = (t, e) => {
|
1382
|
-
const n = e.column, o = e.column + e.colspan - 1, s = e.row, r = e.row + e.rowspan - 1;
|
1383
|
-
return n <= t.finishCol && o >= t.startCol && s <= t.finishRow && r >= t.startRow;
|
1384
|
-
}, Um = (t, e) => e.column >= t.startCol && e.column + e.colspan - 1 <= t.finishCol && e.row >= t.startRow && e.row + e.rowspan - 1 <= t.finishRow, Vm = (t, e) => {
|
1385
|
-
let n = !0;
|
1386
|
-
const o = Q(Um, e);
|
1387
|
-
for (let s = e.startRow; s <= e.finishRow; s++)
|
1388
|
-
for (let r = e.startCol; r <= e.finishCol; r++)
|
1389
|
-
n = n && k.getAt(t, s, r).exists(o);
|
1390
|
-
return n ? u.some(e) : u.none();
|
1391
|
-
}, qm = (t, e) => iu(Math.min(t.row, e.row), Math.min(t.column, e.column), Math.max(t.row + t.rowspan - 1, e.row + e.rowspan - 1), Math.max(t.column + t.colspan - 1, e.column + e.colspan - 1)), Jc = (t, e, n) => {
|
1392
|
-
const o = k.findItem(t, e, W), s = k.findItem(t, n, W);
|
1393
|
-
return o.bind((r) => s.map((c) => qm(r, c)));
|
1394
|
-
}, Km = (t, e, n) => Jc(t, e, n).bind((o) => Vm(t, o)), Xm = (t, e, n, o) => k.findItem(t, e, W).bind((s) => {
|
1395
|
-
const r = n > 0 ? s.row + s.rowspan - 1 : s.row, c = o > 0 ? s.column + s.colspan - 1 : s.column;
|
1396
|
-
return k.getAt(t, r + n, c + o).map((a) => a.element);
|
1397
|
-
}), Qc = (t, e, n) => Jc(t, e, n).map((o) => {
|
1398
|
-
const s = k.filterItems(t, Q(Gm, o));
|
1399
|
-
return S(s, (r) => r.element);
|
1400
|
-
}), Zc = (t, e) => {
|
1401
|
-
const n = (o, s) => bo(s, o);
|
1402
|
-
return k.findItem(t, e, n).map((o) => o.element);
|
1403
|
-
}, Ym = (t, e, n) => lt(t).bind((o) => {
|
1404
|
-
const s = Bn(o);
|
1405
|
-
return Xm(s, t, e, n);
|
1406
|
-
}), Jm = (t, e, n) => {
|
1407
|
-
const o = Bn(t);
|
1408
|
-
return Qc(o, e, n);
|
1409
|
-
}, Zo = (t, e, n, o, s) => {
|
1410
|
-
const r = Bn(t), c = W(t, n) ? u.some(e) : Zc(r, e), l = W(t, s) ? u.some(o) : Zc(r, o);
|
1411
|
-
return c.bind((a) => l.bind((i) => Qc(r, a, i)));
|
1412
|
-
}, Qm = (t, e, n) => {
|
1413
|
-
const o = Bn(t);
|
1414
|
-
return Km(o, e, n);
|
1415
|
-
}, Bn = k.fromTable;
|
1416
|
-
var Zm = [
|
1417
|
-
"body",
|
1418
|
-
"p",
|
1419
|
-
"div",
|
1420
|
-
"article",
|
1421
|
-
"aside",
|
1422
|
-
"figcaption",
|
1423
|
-
"figure",
|
1424
|
-
"footer",
|
1425
|
-
"header",
|
1426
|
-
"nav",
|
1427
|
-
"section",
|
1428
|
-
"ol",
|
1429
|
-
"ul",
|
1430
|
-
"li",
|
1431
|
-
"table",
|
1432
|
-
"thead",
|
1433
|
-
"tbody",
|
1434
|
-
"tfoot",
|
1435
|
-
"caption",
|
1436
|
-
"tr",
|
1437
|
-
"td",
|
1438
|
-
"th",
|
1439
|
-
"h1",
|
1440
|
-
"h2",
|
1441
|
-
"h3",
|
1442
|
-
"h4",
|
1443
|
-
"h5",
|
1444
|
-
"h6",
|
1445
|
-
"blockquote",
|
1446
|
-
"pre",
|
1447
|
-
"address"
|
1448
|
-
], Wn = () => {
|
1449
|
-
const t = (i) => w.fromDom(i.dom.cloneNode(!1)), e = (i) => gn(i).dom, n = (i) => Ot(i) ? P(i) === "body" ? !0 : z(Zm, P(i)) : !1, o = (i) => Ot(i) ? z([
|
1450
|
-
"br",
|
1451
|
-
"img",
|
1452
|
-
"hr",
|
1453
|
-
"input"
|
1454
|
-
], P(i)) : !1, s = (i) => Ot(i) && Kt(i, "contenteditable") === "false", r = (i, d) => i.dom.compareDocumentPosition(d.dom), c = (i, d) => {
|
1455
|
-
const f = br(i);
|
1456
|
-
Me(d, f);
|
1457
|
-
}, l = (i) => {
|
1458
|
-
const d = P(i);
|
1459
|
-
return z([
|
1460
|
-
"script",
|
1461
|
-
"noscript",
|
1462
|
-
"iframe",
|
1463
|
-
"noframes",
|
1464
|
-
"noembed",
|
1465
|
-
"title",
|
1466
|
-
"style",
|
1467
|
-
"textarea",
|
1468
|
-
"xmp"
|
1469
|
-
], d);
|
1470
|
-
}, a = (i) => Ot(i) ? Gt(i, "lang") : u.none();
|
1471
|
-
return {
|
1472
|
-
up: T({
|
1473
|
-
selector: Jt,
|
1474
|
-
closest: G,
|
1475
|
-
predicate: He,
|
1476
|
-
all: Rr
|
1477
|
-
}),
|
1478
|
-
down: T({
|
1479
|
-
selector: Bt,
|
1480
|
-
predicate: Pr
|
1481
|
-
}),
|
1482
|
-
styles: T({
|
1483
|
-
get: Qt,
|
1484
|
-
getRaw: ko,
|
1485
|
-
set: U,
|
1486
|
-
remove: Wt
|
1487
|
-
}),
|
1488
|
-
attrs: T({
|
1489
|
-
get: Kt,
|
1490
|
-
set: N,
|
1491
|
-
remove: L,
|
1492
|
-
copyTo: c
|
1493
|
-
}),
|
1494
|
-
insert: T({
|
1495
|
-
before: wn,
|
1496
|
-
after: ue,
|
1497
|
-
afterAll: vr,
|
1498
|
-
append: _,
|
1499
|
-
appendAll: Et,
|
1500
|
-
prepend: Co,
|
1501
|
-
wrap: Qi
|
1502
|
-
}),
|
1503
|
-
remove: T({
|
1504
|
-
unwrap: Zi,
|
1505
|
-
remove: Z
|
1506
|
-
}),
|
1507
|
-
create: T({
|
1508
|
-
nu: w.fromTag,
|
1509
|
-
clone: t,
|
1510
|
-
text: w.fromText
|
1511
|
-
}),
|
1512
|
-
query: T({
|
1513
|
-
comparePosition: r,
|
1514
|
-
prevSibling: Tr,
|
1515
|
-
nextSibling: pn
|
1516
|
-
}),
|
1517
|
-
property: T({
|
1518
|
-
children: ft,
|
1519
|
-
name: P,
|
1520
|
-
parent: Xt,
|
1521
|
-
document: e,
|
1522
|
-
isText: qt,
|
1523
|
-
isComment: Hi,
|
1524
|
-
isElement: Ot,
|
1525
|
-
isSpecial: l,
|
1526
|
-
getLanguage: a,
|
1527
|
-
getText: Vo,
|
1528
|
-
setText: fm,
|
1529
|
-
isBoundary: n,
|
1530
|
-
isEmptyTag: o,
|
1531
|
-
isNonEditable: s
|
1532
|
-
}),
|
1533
|
-
eq: W,
|
1534
|
-
is: qi
|
1535
|
-
};
|
1536
|
-
};
|
1537
|
-
const tf = (t, e, n, o) => {
|
1538
|
-
const s = n[0], r = n.slice(1);
|
1539
|
-
return o(t, e, s, r);
|
1540
|
-
}, ef = (t, e, n) => n.length > 0 ? tf(t, e, n, nf) : u.none(), nf = (t, e, n, o) => {
|
1541
|
-
const s = e(t, n);
|
1542
|
-
return kt(o, (r, c) => {
|
1543
|
-
const l = e(t, c);
|
1544
|
-
return of(t, r, l);
|
1545
|
-
}, s);
|
1546
|
-
}, of = (t, e, n) => e.bind((o) => n.filter(Q(t.eq, o))), sf = (t, e) => Q(t.eq, e), rf = (t, e, n, o = xt) => {
|
1547
|
-
const s = [e].concat(t.up().all(e)), r = [n].concat(t.up().all(n)), c = (d) => mo(d, o).fold(() => d, (h) => d.slice(0, h + 1)), l = c(s), a = c(r), i = Dt(l, (d) => ut(a, sf(t, d)));
|
1548
|
-
return {
|
1549
|
-
firstpath: l,
|
1550
|
-
secondpath: a,
|
1551
|
-
shared: i
|
1552
|
-
};
|
1553
|
-
}, cf = ef, lf = rf, tl = Wn(), ts = (t, e) => cf(tl, (n, o) => t(o), e), af = (t, e, n) => lf(tl, t, e, n), es = (t) => Jt(t, "table"), Pn = (t, e, n) => {
|
1554
|
-
const o = (s) => (r) => n !== void 0 && n(r) || W(r, s);
|
1555
|
-
return W(t, e) ? u.some({
|
1556
|
-
boxes: u.some([t]),
|
1557
|
-
start: t,
|
1558
|
-
finish: e
|
1559
|
-
}) : es(t).bind((s) => es(e).bind((r) => {
|
1560
|
-
if (W(s, r))
|
1561
|
-
return u.some({
|
1562
|
-
boxes: Jm(s, t, e),
|
1563
|
-
start: t,
|
1564
|
-
finish: e
|
1565
|
-
});
|
1566
|
-
if (bo(s, r)) {
|
1567
|
-
const c = ze(e, "td,th", o(s)), l = c.length > 0 ? c[c.length - 1] : e;
|
1568
|
-
return u.some({
|
1569
|
-
boxes: Zo(s, t, s, e, r),
|
1570
|
-
start: t,
|
1571
|
-
finish: l
|
1572
|
-
});
|
1573
|
-
} else if (bo(r, s)) {
|
1574
|
-
const c = ze(t, "td,th", o(r)), l = c.length > 0 ? c[c.length - 1] : t;
|
1575
|
-
return u.some({
|
1576
|
-
boxes: Zo(r, t, s, e, r),
|
1577
|
-
start: t,
|
1578
|
-
finish: l
|
1579
|
-
});
|
1580
|
-
} else
|
1581
|
-
return af(t, e).shared.bind((c) => G(c, "table", n).bind((l) => {
|
1582
|
-
const a = ze(e, "td,th", o(l)), i = a.length > 0 ? a[a.length - 1] : e, d = ze(t, "td,th", o(l)), f = d.length > 0 ? d[d.length - 1] : t;
|
1583
|
-
return u.some({
|
1584
|
-
boxes: Zo(l, t, s, e, r),
|
1585
|
-
start: f,
|
1586
|
-
finish: i
|
1587
|
-
});
|
1588
|
-
}));
|
1589
|
-
}));
|
1590
|
-
}, ns = (t, e) => {
|
1591
|
-
const n = Bt(t, e);
|
1592
|
-
return n.length > 0 ? u.some(n) : u.none();
|
1593
|
-
}, uf = (t, e) => Dt(t, (n) => mt(n, e)), el = (t, e, n) => me(t, e).bind((o) => me(t, n).bind((s) => ts(es, [
|
1594
|
-
o,
|
1595
|
-
s
|
1596
|
-
]).map((r) => ({
|
1597
|
-
first: o,
|
1598
|
-
last: s,
|
1599
|
-
table: r
|
1600
|
-
})))), df = (t, e) => Jt(t, "table").bind((n) => me(n, e).bind((o) => Pn(o, t).bind((s) => s.boxes.map((r) => ({
|
1601
|
-
boxes: r,
|
1602
|
-
start: s.start,
|
1603
|
-
finish: s.finish
|
1604
|
-
}))))), mf = (t, e, n, o, s) => uf(t, s).bind((r) => Ym(r, e, n).bind((c) => df(c, o))), nl = (t, e) => ns(t, e), ff = (t, e, n) => el(t, e, n).bind((o) => {
|
1605
|
-
const s = (a) => W(t, a), r = "thead,tfoot,tbody,table", c = Jt(o.first, r, s), l = Jt(o.last, r, s);
|
1606
|
-
return c.bind((a) => l.bind((i) => W(a, i) ? Qm(o.table, o.first, o.last) : u.none()));
|
1607
|
-
}), ol = M, gf = (t) => {
|
1608
|
-
const e = (o, s) => Gt(o, s).exists((r) => parseInt(r, 10) > 1), n = (o) => e(o, "rowspan") || e(o, "colspan");
|
1609
|
-
return t.length > 0 && wt(t, n) ? u.some(t) : u.none();
|
1610
|
-
}, pf = (t, e, n) => e.length <= 1 ? u.none() : ff(t, n.firstSelectedSelector, n.lastSelectedSelector).map((o) => ({
|
1611
|
-
bounds: o,
|
1612
|
-
cells: e
|
1613
|
-
})), _n = "data-mce-selected", hf = "td[" + _n + "],th[" + _n + "]", wf = "[" + _n + "]", os = "data-mce-first-selected", bf = "td[" + os + "],th[" + os + "]", ss = "data-mce-last-selected", Cf = "td[" + ss + "],th[" + ss + "]", yf = wf, ee = {
|
1614
|
-
selected: _n,
|
1615
|
-
selectedSelector: hf,
|
1616
|
-
firstSelected: os,
|
1617
|
-
firstSelectedSelector: bf,
|
1618
|
-
lastSelected: ss,
|
1619
|
-
lastSelectedSelector: Cf
|
1620
|
-
}, Ln = (t, e, n) => ({
|
1621
|
-
element: n,
|
1622
|
-
mergable: pf(e, t, ee),
|
1623
|
-
unmergable: gf(t),
|
1624
|
-
selection: ol(t)
|
1625
|
-
}), Sf = (t, e, n) => ({
|
1626
|
-
element: t,
|
1627
|
-
clipboard: e,
|
1628
|
-
generators: n
|
1629
|
-
}), Rf = (t, e, n, o) => ({
|
1630
|
-
selection: ol(t),
|
1631
|
-
clipboard: n,
|
1632
|
-
generators: o
|
1633
|
-
}), Tf = (t) => lt(t).bind((e) => nl(e, ee.firstSelectedSelector)).fold(T(t), (e) => e[0]), sl = (t) => (e, n) => {
|
1634
|
-
const o = P(e), s = o === "col" || o === "colgroup" ? Tf(e) : e;
|
1635
|
-
return G(s, t, n);
|
1636
|
-
}, vf = sl("th,td,caption"), rs = sl("th,td"), _t = (t) => vm(t.model.table.getSelectedCells()), xf = (t) => H(_t(t), (e) => mt(e, ee.selectedSelector)), kf = (t) => lt(t[0]).map((e) => {
|
1637
|
-
const n = dm(e, yf);
|
1638
|
-
return te(n), [n];
|
1639
|
-
}), $f = (t, e) => S(e, (n) => t.selection.serializer.serialize(n.dom, {})).join(""), Df = (t, e) => {
|
1640
|
-
const n = t.getDoc(), o = Er(w.fromDom(t.getBody())), s = w.fromTag("div", n);
|
1641
|
-
N(s, "data-mce-bogus", "all"), ge(s, {
|
1642
|
-
position: "fixed",
|
1643
|
-
left: "-9999999px",
|
1644
|
-
top: "0",
|
1645
|
-
overflow: "hidden",
|
1646
|
-
opacity: "0"
|
1647
|
-
});
|
1648
|
-
const r = mu(o);
|
1649
|
-
Et(s, e), _(r, s);
|
1650
|
-
const c = s.dom.innerText;
|
1651
|
-
return Z(s), c;
|
1652
|
-
}, Of = (t, e) => {
|
1653
|
-
t.on("BeforeGetContent", (n) => {
|
1654
|
-
const o = (s) => {
|
1655
|
-
n.preventDefault(), kf(s).each((r) => {
|
1656
|
-
const c = n.format === "text" ? Df(t, r) : $f(t, r);
|
1657
|
-
n.content = c;
|
1658
|
-
});
|
1659
|
-
};
|
1660
|
-
if (n.selection === !0) {
|
1661
|
-
const s = xf(t);
|
1662
|
-
s.length >= 1 && o(s);
|
1663
|
-
}
|
1664
|
-
}), t.on("BeforeSetContent", (n) => {
|
1665
|
-
if (n.selection === !0 && n.paste === !0) {
|
1666
|
-
const o = _t(t);
|
1667
|
-
dn(o).each((s) => {
|
1668
|
-
lt(s).each((r) => {
|
1669
|
-
const c = H(Tm(n.content), (a) => P(a) !== "meta"), l = rt("table");
|
1670
|
-
if (Em(t) && c.length === 1 && l(c[0])) {
|
1671
|
-
n.preventDefault();
|
1672
|
-
const a = w.fromDom(t.getDoc()), i = Nc(a), d = Sf(s, c[0], i);
|
1673
|
-
e.pasteCells(r, d).each(() => {
|
1674
|
-
t.focus();
|
1675
|
-
});
|
1676
|
-
}
|
1677
|
-
});
|
1678
|
-
});
|
1679
|
-
}
|
1680
|
-
});
|
1681
|
-
}, Ke = (t, e) => ({
|
1682
|
-
element: t,
|
1683
|
-
offset: e
|
1684
|
-
}), rl = (t, e, n) => t.property().isText(e) && t.property().getText(e).trim().length === 0 || t.property().isComment(e) ? n(e).bind((o) => rl(t, o, n).orThunk(() => u.some(o))) : u.none(), cl = (t, e) => t.property().isText(e) ? t.property().getText(e).length : t.property().children(e).length, ll = (t, e) => {
|
1685
|
-
const n = rl(t, e, t.query().prevSibling).getOr(e);
|
1686
|
-
if (t.property().isText(n))
|
1687
|
-
return Ke(n, cl(t, n));
|
1688
|
-
const o = t.property().children(n);
|
1689
|
-
return o.length > 0 ? ll(t, o[o.length - 1]) : Ke(n, cl(t, n));
|
1690
|
-
}, Ef = ll, Bf = Wn(), Wf = (t) => Ef(Bf, t), Pf = (t, e) => {
|
1691
|
-
Do(t) || Fd(t).each((o) => {
|
1692
|
-
const s = o.value / 2;
|
1693
|
-
xc(t, s, o.unit), xc(e, s, o.unit);
|
1694
|
-
});
|
1695
|
-
}, An = (t) => S(t, T(0)), al = (t, e, n, o, s) => s(t.slice(0, e)).concat(o).concat(s(t.slice(n))), il = (t) => (e, n, o, s) => {
|
1696
|
-
if (t(o)) {
|
1697
|
-
const r = Math.max(s, e[n] - Math.abs(o)), c = Math.abs(r - e[n]);
|
1698
|
-
return o >= 0 ? c : -c;
|
1699
|
-
} else
|
1700
|
-
return o;
|
1701
|
-
}, Mn = il((t) => t < 0), _f = il(B), ul = () => {
|
1702
|
-
const t = (l, a, i, d, f) => {
|
1703
|
-
const h = Mn(l, a, d, f);
|
1704
|
-
return al(l, a, i + 1, [
|
1705
|
-
h,
|
1706
|
-
0
|
1707
|
-
], An);
|
1708
|
-
}, e = (l, a, i, d) => {
|
1709
|
-
const f = (100 + i) / 100, h = Math.max(d, (l[a] + i) / f);
|
1710
|
-
return S(l, (p, g) => (g === a ? h : p / f) - p);
|
1711
|
-
}, n = (l, a, i, d, f, h) => h ? e(l, a, d, f) : t(l, a, i, d, f);
|
1712
|
-
return {
|
1713
|
-
resizeTable: (l, a) => l(a),
|
1714
|
-
clampTableDelta: Mn,
|
1715
|
-
calcLeftEdgeDeltas: n,
|
1716
|
-
calcMiddleDeltas: (l, a, i, d, f, h, p) => n(l, i, d, f, h, p),
|
1717
|
-
calcRightEdgeDeltas: (l, a, i, d, f, h) => {
|
1718
|
-
if (h)
|
1719
|
-
return e(l, i, d, f);
|
1720
|
-
{
|
1721
|
-
const p = Mn(l, i, d, f);
|
1722
|
-
return An(l.slice(0, i)).concat([p]);
|
1723
|
-
}
|
1724
|
-
},
|
1725
|
-
calcRedestributedWidths: (l, a, i, d) => {
|
1726
|
-
if (d) {
|
1727
|
-
const h = (a + i) / a, p = S(l, (g) => g / h);
|
1728
|
-
return {
|
1729
|
-
delta: h * 100 - 100,
|
1730
|
-
newSizes: p
|
1731
|
-
};
|
1732
|
-
} else
|
1733
|
-
return {
|
1734
|
-
delta: i,
|
1735
|
-
newSizes: l
|
1736
|
-
};
|
1737
|
-
}
|
1738
|
-
};
|
1739
|
-
}, cs = () => {
|
1740
|
-
const t = (c, l, a, i, d) => {
|
1741
|
-
const f = i >= 0 ? a : l, h = _f(c, f, i, d);
|
1742
|
-
return al(c, l, a + 1, [
|
1743
|
-
h,
|
1744
|
-
-h
|
1745
|
-
], An);
|
1746
|
-
};
|
1747
|
-
return {
|
1748
|
-
resizeTable: (c, l, a) => {
|
1749
|
-
a && c(l);
|
1750
|
-
},
|
1751
|
-
clampTableDelta: (c, l, a, i, d) => {
|
1752
|
-
if (d) {
|
1753
|
-
if (a >= 0)
|
1754
|
-
return a;
|
1755
|
-
{
|
1756
|
-
const f = $t(c, (h, p) => h + p - i, 0);
|
1757
|
-
return Math.max(-f, a);
|
1758
|
-
}
|
1759
|
-
} else
|
1760
|
-
return Mn(c, l, a, i);
|
1761
|
-
},
|
1762
|
-
calcLeftEdgeDeltas: t,
|
1763
|
-
calcMiddleDeltas: (c, l, a, i, d, f) => t(c, a, i, d, f),
|
1764
|
-
calcRightEdgeDeltas: (c, l, a, i, d, f) => {
|
1765
|
-
if (f)
|
1766
|
-
return An(c);
|
1767
|
-
{
|
1768
|
-
const h = i / c.length;
|
1769
|
-
return S(c, T(h));
|
1770
|
-
}
|
1771
|
-
},
|
1772
|
-
calcRedestributedWidths: (c, l, a, i) => ({
|
1773
|
-
delta: 0,
|
1774
|
-
newSizes: c
|
1775
|
-
})
|
1776
|
-
};
|
1777
|
-
}, Nn = (t) => k.fromTable(t).grid, zn = rt("th"), Hn = (t) => wt(t, (e) => zn(e.element)), Lf = (t, e) => t && e ? "sectionCells" : t ? "section" : "cells", dl = (t) => {
|
1778
|
-
const e = t.section === "thead", n = vo(ls(t.cells), "th");
|
1779
|
-
return t.section === "tfoot" ? { type: "footer" } : e || n ? {
|
1780
|
-
type: "header",
|
1781
|
-
subType: Lf(e, n)
|
1782
|
-
} : { type: "body" };
|
1783
|
-
}, ls = (t) => {
|
1784
|
-
const e = H(t, (n) => zn(n.element));
|
1785
|
-
return e.length === 0 ? u.some("td") : e.length === t.length ? u.some("th") : u.none();
|
1786
|
-
}, Af = (t) => {
|
1787
|
-
const e = S(t, (s) => dl(s).type), n = z(e, "header"), o = z(e, "footer");
|
1788
|
-
if (!n && !o)
|
1789
|
-
return u.some("body");
|
1790
|
-
{
|
1791
|
-
const s = z(e, "body");
|
1792
|
-
return n && !s && !o ? u.some("header") : !n && !s && o ? u.some("footer") : u.none();
|
1793
|
-
}
|
1794
|
-
}, Mf = (t) => Mt(t.all, (e) => {
|
1795
|
-
const n = dl(e);
|
1796
|
-
return n.type === "header" ? u.from(n.subType) : u.none();
|
1797
|
-
}), as = (t, e, n) => nt(n(t.element, e), !0, t.isLocked), is = (t, e) => t.section !== e ? Yt(t.element, t.cells, e, t.isNew) : t, ml = () => ({
|
1798
|
-
transformRow: is,
|
1799
|
-
transformCell: (t, e, n) => {
|
1800
|
-
const o = n(t.element, e), s = P(o) !== "td" ? eu(o, "td") : o;
|
1801
|
-
return nt(s, t.isNew, t.isLocked);
|
1802
|
-
}
|
1803
|
-
}), fl = () => ({
|
1804
|
-
transformRow: is,
|
1805
|
-
transformCell: as
|
1806
|
-
}), gl = () => ({
|
1807
|
-
transformRow: (t, e) => is(t, e === "thead" ? "tbody" : e),
|
1808
|
-
transformCell: as
|
1809
|
-
}), Xe = {
|
1810
|
-
getTableSectionType: (t, e) => {
|
1811
|
-
const n = k.fromTable(t);
|
1812
|
-
switch (Mf(n).getOr(e)) {
|
1813
|
-
case "section":
|
1814
|
-
return ml();
|
1815
|
-
case "sectionCells":
|
1816
|
-
return fl();
|
1817
|
-
case "cells":
|
1818
|
-
return gl();
|
1819
|
-
}
|
1820
|
-
},
|
1821
|
-
section: ml,
|
1822
|
-
sectionCells: fl,
|
1823
|
-
cells: gl,
|
1824
|
-
fallback: () => ({
|
1825
|
-
transformRow: M,
|
1826
|
-
transformCell: as
|
1827
|
-
})
|
1828
|
-
}, Ye = (t, e, n, o) => {
|
1829
|
-
n === o ? L(t, e) : N(t, e, n);
|
1830
|
-
}, pl = (t, e, n) => {
|
1831
|
-
ar(bn(t, e)).fold(() => Co(t, n), (o) => ue(o, n));
|
1832
|
-
}, Nf = (t, e) => {
|
1833
|
-
const n = To(t, e).getOrThunk(() => {
|
1834
|
-
const o = w.fromTag(e, fn(t).dom);
|
1835
|
-
return e === "thead" ? pl(t, "caption,colgroup", o) : e === "colgroup" ? pl(t, "caption", o) : _(t, o), o;
|
1836
|
-
});
|
1837
|
-
return yo(n), n;
|
1838
|
-
}, zf = (t, e) => {
|
1839
|
-
const n = [], o = [], s = (p) => S(p, (g) => {
|
1840
|
-
g.isNew && n.push(g.element);
|
1841
|
-
const C = g.element;
|
1842
|
-
return yo(C), x(g.cells, (m) => {
|
1843
|
-
m.isNew && o.push(m.element), Ye(m.element, "colspan", m.colspan, 1), Ye(m.element, "rowspan", m.rowspan, 1), _(C, m.element);
|
1844
|
-
}), C;
|
1845
|
-
}), r = (p) => q(p, (g) => S(g.cells, (C) => (Ye(C.element, "span", C.colspan, 1), C.element))), c = (p, g) => {
|
1846
|
-
const C = Nf(t, g), y = (g === "colgroup" ? r : s)(p);
|
1847
|
-
Et(C, y);
|
1848
|
-
}, l = (p) => {
|
1849
|
-
To(t, p).each(Z);
|
1850
|
-
}, a = (p, g) => {
|
1851
|
-
p.length > 0 ? c(p, g) : l(g);
|
1852
|
-
}, i = [], d = [], f = [], h = [];
|
1853
|
-
return x(e, (p) => {
|
1854
|
-
switch (p.section) {
|
1855
|
-
case "thead":
|
1856
|
-
i.push(p);
|
1857
|
-
break;
|
1858
|
-
case "tbody":
|
1859
|
-
d.push(p);
|
1860
|
-
break;
|
1861
|
-
case "tfoot":
|
1862
|
-
f.push(p);
|
1863
|
-
break;
|
1864
|
-
case "colgroup":
|
1865
|
-
h.push(p);
|
1866
|
-
break;
|
1867
|
-
}
|
1868
|
-
}), a(h, "colgroup"), a(i, "thead"), a(d, "tbody"), a(f, "tfoot"), {
|
1869
|
-
newRows: n,
|
1870
|
-
newCells: o
|
1871
|
-
};
|
1872
|
-
}, Hf = (t) => S(t, (e) => {
|
1873
|
-
const n = kr(e.element);
|
1874
|
-
return x(e.cells, (o) => {
|
1875
|
-
const s = de(o.element);
|
1876
|
-
Ye(s, "colspan", o.colspan, 1), Ye(s, "rowspan", o.rowspan, 1), _(n, s);
|
1877
|
-
}), n;
|
1878
|
-
}), If = (t, e) => S(t, (n) => bt(n, e)), Ff = (t, e) => t[e], hl = (t, e) => {
|
1879
|
-
if (t.length === 0)
|
1880
|
-
return 0;
|
1881
|
-
const n = t[0];
|
1882
|
-
return mo(t, (s) => !e(n.element, s.element)).getOr(t.length);
|
1883
|
-
}, jf = (t, e, n, o) => {
|
1884
|
-
const s = Ff(t, e), r = s.section === "colgroup", c = hl(s.cells.slice(n), o), l = r ? 1 : hl(If(t.slice(e), n), o);
|
1885
|
-
return {
|
1886
|
-
colspan: c,
|
1887
|
-
rowspan: l
|
1888
|
-
};
|
1889
|
-
}, Gf = (t, e) => {
|
1890
|
-
const n = S(t, (s) => S(s.cells, xt)), o = (s, r, c, l) => {
|
1891
|
-
for (let a = s; a < s + c; a++)
|
1892
|
-
for (let i = r; i < r + l; i++)
|
1893
|
-
n[a][i] = !0;
|
1894
|
-
};
|
1895
|
-
return S(t, (s, r) => {
|
1896
|
-
const c = q(s.cells, (l, a) => {
|
1897
|
-
if (n[r][a] === !1) {
|
1898
|
-
const i = jf(t, r, a, e);
|
1899
|
-
return o(r, a, i.rowspan, i.colspan), [cu(l.element, i.rowspan, i.colspan, l.isNew)];
|
1900
|
-
} else
|
1901
|
-
return [];
|
1902
|
-
});
|
1903
|
-
return au(s.element, c, s.section, s.isNew);
|
1904
|
-
});
|
1905
|
-
}, Je = (t, e, n) => {
|
1906
|
-
const o = [];
|
1907
|
-
x(t.colgroups, (s) => {
|
1908
|
-
const r = [];
|
1909
|
-
for (let c = 0; c < t.grid.columns; c++) {
|
1910
|
-
const l = k.getColumnAt(t, c).map((a) => nt(a.element, n, !1)).getOrThunk(() => nt(e.colGap(), !0, !1));
|
1911
|
-
r.push(l);
|
1912
|
-
}
|
1913
|
-
o.push(Yt(s.element, r, "colgroup", n));
|
1914
|
-
});
|
1915
|
-
for (let s = 0; s < t.grid.rows; s++) {
|
1916
|
-
const r = [];
|
1917
|
-
for (let a = 0; a < t.grid.columns; a++) {
|
1918
|
-
const i = k.getAt(t, s, a).map((d) => nt(d.element, n, d.isLocked)).getOrThunk(() => nt(e.gap(), !0, !1));
|
1919
|
-
r.push(i);
|
1920
|
-
}
|
1921
|
-
const c = t.all[s], l = Yt(c.element, r, c.section, n);
|
1922
|
-
o.push(l);
|
1923
|
-
}
|
1924
|
-
return o;
|
1925
|
-
}, Uf = (t, e) => Je(t, e, !1), In = (t) => Gf(t, W), us = (t, e) => Mt(t.all, (n) => Dt(n.cells, (o) => W(e, o.element))), ds = (t, e, n) => {
|
1926
|
-
const o = S(e.selection, (r) => Hr(r).bind((c) => us(t, c)).filter(n)), s = Lr(o);
|
1927
|
-
return xo(s.length > 0, s);
|
1928
|
-
}, j = (t, e, n, o, s) => (r, c, l, a) => {
|
1929
|
-
const i = k.fromTable(r), d = u.from(a == null ? void 0 : a.section).getOrThunk(Xe.fallback);
|
1930
|
-
return e(i, c).map((h) => {
|
1931
|
-
const p = Uf(i, l), g = t(p, h, W, s(l), d), C = Zt(g.grid), m = In(g.grid);
|
1932
|
-
return {
|
1933
|
-
info: h,
|
1934
|
-
grid: m,
|
1935
|
-
cursor: g.cursor,
|
1936
|
-
lockedColumns: C
|
1937
|
-
};
|
1938
|
-
}).bind((h) => {
|
1939
|
-
const p = zf(r, h.grid), g = u.from(a == null ? void 0 : a.sizing).getOrThunk(() => Ce.getTableSize(r)), C = u.from(a == null ? void 0 : a.resize).getOrThunk(cs);
|
1940
|
-
return n(r, h.grid, h.info, {
|
1941
|
-
sizing: g,
|
1942
|
-
resize: C,
|
1943
|
-
section: d
|
1944
|
-
}), o(r), L(r, Tn), h.lockedColumns.length > 0 && N(r, Tn, h.lockedColumns.join(",")), u.some({
|
1945
|
-
cursor: h.cursor,
|
1946
|
-
newRows: p.newRows,
|
1947
|
-
newCells: p.newCells
|
1948
|
-
});
|
1949
|
-
});
|
1950
|
-
}, Vf = (t, e) => Hr(e.element).bind((n) => us(t, n).map((o) => it(et({}, o), {
|
1951
|
-
generators: e.generators,
|
1952
|
-
clipboard: e.clipboard
|
1953
|
-
}))), ms = (t, e) => ds(t, e, B).map((n) => ({
|
1954
|
-
cells: n,
|
1955
|
-
generators: e.generators,
|
1956
|
-
clipboard: e.clipboard
|
1957
|
-
})), qf = (t, e) => e.mergable, Kf = (t, e) => e.unmergable, yt = (t, e) => ds(t, e, B), Re = (t, e) => ds(t, e, (n) => !n.isLocked), Xf = (t, e) => us(t, e).exists((n) => !n.isLocked), wl = (t, e) => wt(e, (n) => Xf(t, n)), Yf = (t, e) => qf(t, e).filter((n) => wl(t, n.cells)), Jf = (t, e) => Kf(t, e).filter((n) => wl(t, n)), Qf = (t, e, n, o) => {
|
1958
|
-
const s = F(t).rows;
|
1959
|
-
if (s.length === 0)
|
1960
|
-
return t;
|
1961
|
-
for (let r = e.startRow; r <= e.finishRow; r++)
|
1962
|
-
for (let c = e.startCol; c <= e.finishCol; c++) {
|
1963
|
-
const l = s[r], a = bt(l, c).isLocked;
|
1964
|
-
Ge(l, c, nt(o(), !1, a));
|
1965
|
-
}
|
1966
|
-
return t;
|
1967
|
-
}, bl = (t, e, n, o) => {
|
1968
|
-
const s = F(t).rows;
|
1969
|
-
let r = !0;
|
1970
|
-
for (let c = 0; c < s.length; c++)
|
1971
|
-
for (let l = 0; l < Ct(s[0]); l++) {
|
1972
|
-
const a = s[c], i = bt(a, l), d = i.element, f = n(d, e);
|
1973
|
-
f && !r ? Ge(a, l, nt(o(), !0, i.isLocked)) : f && (r = !1);
|
1974
|
-
}
|
1975
|
-
return t;
|
1976
|
-
}, Zf = (t, e) => $t(t, (n, o) => ut(n, (s) => e(s.element, o.element)) ? n : n.concat([o]), []), tg = (t, e, n, o) => (e > 0 && e < t[0].cells.length && x(t, (s) => {
|
1977
|
-
const r = s.cells[e - 1];
|
1978
|
-
let c = 0;
|
1979
|
-
const l = o();
|
1980
|
-
for (; s.cells.length > e + c && n(r.element, s.cells[e + c].element); )
|
1981
|
-
Ge(s, e + c, nt(l, !0, s.cells[e + c].isLocked)), c++;
|
1982
|
-
}), t), eg = (t, e, n, o) => {
|
1983
|
-
const s = F(t).rows;
|
1984
|
-
if (e > 0 && e < s.length) {
|
1985
|
-
const r = s[e - 1].cells, c = Zf(r, n);
|
1986
|
-
x(c, (l) => {
|
1987
|
-
let a = u.none();
|
1988
|
-
for (let i = e; i < s.length; i++)
|
1989
|
-
for (let d = 0; d < Ct(s[0]); d++) {
|
1990
|
-
const f = s[i], h = bt(f, d);
|
1991
|
-
n(h.element, l.element) && (a.isNone() && (a = u.some(o())), a.each((g) => {
|
1992
|
-
Ge(f, d, nt(g, !0, h.isLocked));
|
1993
|
-
}));
|
1994
|
-
}
|
1995
|
-
});
|
1996
|
-
}
|
1997
|
-
return t;
|
1998
|
-
}, Cl = (t) => {
|
1999
|
-
const e = (r) => r(t), n = T(t), o = () => s, s = {
|
2000
|
-
tag: !0,
|
2001
|
-
inner: t,
|
2002
|
-
fold: (r, c) => c(t),
|
2003
|
-
isValue: B,
|
2004
|
-
isError: xt,
|
2005
|
-
map: (r) => Fn.value(r(t)),
|
2006
|
-
mapError: o,
|
2007
|
-
bind: e,
|
2008
|
-
exists: e,
|
2009
|
-
forall: e,
|
2010
|
-
getOr: n,
|
2011
|
-
or: o,
|
2012
|
-
getOrThunk: n,
|
2013
|
-
orThunk: o,
|
2014
|
-
getOrDie: n,
|
2015
|
-
each: (r) => {
|
2016
|
-
r(t);
|
2017
|
-
},
|
2018
|
-
toOptional: () => u.some(t)
|
2019
|
-
};
|
2020
|
-
return s;
|
2021
|
-
}, yl = (t) => {
|
2022
|
-
const e = () => n, n = {
|
2023
|
-
tag: !1,
|
2024
|
-
inner: t,
|
2025
|
-
fold: (o, s) => o(t),
|
2026
|
-
isValue: xt,
|
2027
|
-
isError: B,
|
2028
|
-
map: e,
|
2029
|
-
mapError: (o) => Fn.error(o(t)),
|
2030
|
-
bind: e,
|
2031
|
-
exists: xt,
|
2032
|
-
forall: B,
|
2033
|
-
getOr: M,
|
2034
|
-
or: M,
|
2035
|
-
getOrThunk: or,
|
2036
|
-
orThunk: or,
|
2037
|
-
getOrDie: hi(String(t)),
|
2038
|
-
each: R,
|
2039
|
-
toOptional: u.none
|
2040
|
-
};
|
2041
|
-
return n;
|
2042
|
-
}, Fn = {
|
2043
|
-
value: Cl,
|
2044
|
-
error: yl,
|
2045
|
-
fromOption: (t, e) => t.fold(() => yl(e), Cl)
|
2046
|
-
}, ng = (t, e, n) => {
|
2047
|
-
if (t.row >= e.length || t.column > Ct(e[0]))
|
2048
|
-
return Fn.error("invalid start address out of table bounds, row: " + t.row + ", column: " + t.column);
|
2049
|
-
const o = e.slice(t.row), s = o[0].cells.slice(t.column), r = Ct(n[0]), c = n.length;
|
2050
|
-
return Fn.value({
|
2051
|
-
rowDelta: o.length - c,
|
2052
|
-
colDelta: s.length - r
|
2053
|
-
});
|
2054
|
-
}, Sl = (t, e) => {
|
2055
|
-
const n = Ct(t[0]), o = Ct(e[0]);
|
2056
|
-
return {
|
2057
|
-
rowDelta: 0,
|
2058
|
-
colDelta: n - o
|
2059
|
-
};
|
2060
|
-
}, Rl = (t, e) => {
|
2061
|
-
const n = t.length, o = e.length;
|
2062
|
-
return {
|
2063
|
-
rowDelta: n - o,
|
2064
|
-
colDelta: 0
|
2065
|
-
};
|
2066
|
-
}, fs = (t, e, n, o) => {
|
2067
|
-
const s = e.section === "colgroup" ? n.col : n.cell;
|
2068
|
-
return ht(t, (r) => nt(s(), !0, o(r)));
|
2069
|
-
}, og = (t, e, n, o) => {
|
2070
|
-
const s = t[t.length - 1];
|
2071
|
-
return t.concat(ht(e, () => {
|
2072
|
-
const r = s.section === "colgroup" ? n.colgroup : n.row, c = oc(s, r, M), l = fs(c.cells.length, c, n, (a) => po(o, a.toString()));
|
2073
|
-
return nc(c, l);
|
2074
|
-
}));
|
2075
|
-
}, sg = (t, e, n, o) => S(t, (s) => {
|
2076
|
-
const r = fs(e, s, n, xt);
|
2077
|
-
return Lo(s, o, r);
|
2078
|
-
}), rg = (t, e, n) => S(t, (o) => $t(n, (s, r) => {
|
2079
|
-
const c = fs(1, o, e, B)[0];
|
2080
|
-
return ec(s, r, c);
|
2081
|
-
}, o)), Qe = (t, e, n) => {
|
2082
|
-
const o = e.colDelta < 0 ? sg : M, s = e.rowDelta < 0 ? og : M, r = Zt(t), c = Ct(t[0]), l = ut(r, (d) => d === c - 1), a = o(t, Math.abs(e.colDelta), n, l ? c - 1 : c), i = Zt(a);
|
2083
|
-
return s(a, Math.abs(e.rowDelta), n, fo(i, B));
|
2084
|
-
}, cg = (t, e, n, o) => {
|
2085
|
-
const s = bt(t[e], n), r = Q(o, s.element), c = t[e];
|
2086
|
-
return t.length > 1 && Ct(c) > 1 && (n > 0 && r(at(c, n - 1)) || n < c.cells.length - 1 && r(at(c, n + 1)) || e > 0 && r(at(t[e - 1], n)) || e < t.length - 1 && r(at(t[e + 1], n)));
|
2087
|
-
}, lg = (t, e, n, o, s, r) => {
|
2088
|
-
const c = t.row, l = t.column, a = n.length, i = Ct(n[0]), d = c + a, f = l + i + r.length, h = fo(r, B);
|
2089
|
-
for (let p = c; p < d; p++) {
|
2090
|
-
let g = 0;
|
2091
|
-
for (let C = l; C < f; C++) {
|
2092
|
-
if (h[C]) {
|
2093
|
-
g++;
|
2094
|
-
continue;
|
2095
|
-
}
|
2096
|
-
cg(e, p, C, s) && bl(e, at(e[p], C), s, o.cell);
|
2097
|
-
const m = C - l - g, y = bt(n[p - c], m), v = y.element, b = o.replace(v);
|
2098
|
-
Ge(e[p], C, nt(b, !0, y.isLocked));
|
2099
|
-
}
|
2100
|
-
}
|
2101
|
-
return e;
|
2102
|
-
}, ag = (t, e, n) => {
|
2103
|
-
const o = Ct(e[0]), s = F(e).cols.length + t.row, r = ht(o - t.column, (l) => l + t.column), c = Dt(r, (l) => wt(n, (a) => a !== l)).getOr(o - 1);
|
2104
|
-
return {
|
2105
|
-
row: s,
|
2106
|
-
column: c
|
2107
|
-
};
|
2108
|
-
}, Tl = (t, e, n) => H(n, (o) => o >= t.column && o <= Ct(e[0]) + t.column), ig = (t, e, n, o, s) => {
|
2109
|
-
const r = Zt(e), c = ag(t, e, r), l = F(n).rows, a = Tl(c, l, r);
|
2110
|
-
return ng(c, e, l).map((d) => {
|
2111
|
-
const f = it(et({}, d), {
|
2112
|
-
colDelta: d.colDelta - a.length
|
2113
|
-
}), h = Qe(e, f, o), p = Zt(h), g = Tl(c, l, p);
|
2114
|
-
return lg(c, h, l, o, s, g);
|
2115
|
-
});
|
2116
|
-
}, vl = (t, e, n, o, s) => {
|
2117
|
-
tg(e, t, s, o.cell);
|
2118
|
-
const r = Rl(n, e), c = Qe(n, r, o), l = Rl(e, c), a = Qe(e, l, o);
|
2119
|
-
return S(a, (i, d) => Lo(i, t, c[d].cells));
|
2120
|
-
}, xl = (t, e, n, o, s) => {
|
2121
|
-
eg(e, t, s, o.cell);
|
2122
|
-
const r = Zt(e), c = Sl(e, n), l = it(et({}, c), {
|
2123
|
-
colDelta: c.colDelta - r.length
|
2124
|
-
}), a = Qe(e, l, o), {
|
2125
|
-
cols: i,
|
2126
|
-
rows: d
|
2127
|
-
} = F(a), f = Zt(a), h = Sl(n, e), p = it(et({}, h), {
|
2128
|
-
colDelta: h.colDelta + f.length
|
2129
|
-
}), g = rg(n, o, f), C = Qe(g, p, o);
|
2130
|
-
return [
|
2131
|
-
...i,
|
2132
|
-
...d.slice(0, t),
|
2133
|
-
...C,
|
2134
|
-
...d.slice(t, d.length)
|
2135
|
-
];
|
2136
|
-
}, ug = (t, e, n, o) => oc(t, (s) => o(s, n), e), kl = (t, e, n, o, s) => {
|
2137
|
-
const { rows: r, cols: c } = F(t), l = r.slice(0, e), a = r.slice(e), i = ug(r[n], (d, f) => e > 0 && e < r.length && o(at(r[e - 1], f), at(r[e], f)) ? bt(r[e], f) : nt(s(d.element, o), !0, d.isLocked), o, s);
|
2138
|
-
return [
|
2139
|
-
...c,
|
2140
|
-
...l,
|
2141
|
-
i,
|
2142
|
-
...a
|
2143
|
-
];
|
2144
|
-
}, dg = (t, e, n, o, s, r, c) => {
|
2145
|
-
if (n === "colgroup" || !o) {
|
2146
|
-
const l = bt(t, s);
|
2147
|
-
return nt(c(l.element, r), !0, !1);
|
2148
|
-
} else
|
2149
|
-
return bt(t, e);
|
2150
|
-
}, $l = (t, e, n, o, s) => S(t, (r) => {
|
2151
|
-
const c = e > 0 && e < Ct(r) && o(at(r, e - 1), at(r, e)), l = dg(r, e, r.section, c, n, o, s);
|
2152
|
-
return ec(r, e, l);
|
2153
|
-
}), mg = (t, e) => q(t, (n) => {
|
2154
|
-
const o = n.cells, s = kt(e, (r, c) => c >= 0 && c < r.length ? r.slice(0, c).concat(r.slice(c + 1)) : r, o);
|
2155
|
-
return s.length > 0 ? [Yt(n.element, s, n.section, n.isNew)] : [];
|
2156
|
-
}), fg = (t, e, n) => {
|
2157
|
-
const { rows: o, cols: s } = F(t);
|
2158
|
-
return [
|
2159
|
-
...s,
|
2160
|
-
...o.slice(0, e),
|
2161
|
-
...o.slice(n + 1)
|
2162
|
-
];
|
2163
|
-
}, gg = (t, e, n, o) => at(t[e], n) !== void 0 && e > 0 && o(at(t[e - 1], n), at(t[e], n)), pg = (t, e, n) => e > 0 && n(at(t, e - 1), at(t, e)), Dl = (t, e, n, o) => gg(t, e, n, o) || pg(t[e], n, o), hg = (t, e) => wt(e, M) && Hn(t.cells) ? B : (o, s, r) => !(P(o.element) === "th" && e[r]), wg = (t, e) => wt(e, M) && Hn(t) ? B : (o, s, r) => !(P(o.element) === "th" && e[s]), Ol = (t, e, n, o) => {
|
2164
|
-
const s = (c) => c === "row" ? Ou(e) : Do(e), r = (c) => s(c) ? `${c}group` : c;
|
2165
|
-
return t ? zn(e) ? r(n) : null : o && zn(e) ? r(n === "row" ? "col" : "row") : null;
|
2166
|
-
}, bg = (t, e) => (n, o, s) => u.some(Ol(t, n.element, "col", e[s])), Cg = (t, e) => (n, o) => u.some(Ol(t, n.element, "row", e[o])), El = (t, e, n) => nt(n(t.element, e), !0, t.isLocked), gs = (t, e, n, o, s, r, c) => {
|
2167
|
-
const l = (a) => ut(e, (i) => n(a.element, i.element));
|
2168
|
-
return S(t, (a, i) => gd(a, (d, f) => {
|
2169
|
-
if (l(d)) {
|
2170
|
-
const h = c(d, i, f) ? s(d, n, o) : d;
|
2171
|
-
return r(h, i, f).each((p) => {
|
2172
|
-
Fi(h.element, { scope: u.from(p) });
|
2173
|
-
}), h;
|
2174
|
-
} else
|
2175
|
-
return d;
|
2176
|
-
}));
|
2177
|
-
}, Bl = (t, e, n) => q(t, (o, s) => Dl(t, s, e, n) ? [] : [bt(o, e)]), yg = (t, e, n) => {
|
2178
|
-
const o = t[e];
|
2179
|
-
return q(o.cells, (s, r) => Dl(t, e, r, n) ? [] : [s]);
|
2180
|
-
}, Wl = (t, e, n, o, s) => {
|
2181
|
-
const r = F(t).rows, c = q(e, (d) => Bl(r, d, o)), l = S(r, (d) => Hn(d.cells)), a = wg(c, l), i = Cg(n, l);
|
2182
|
-
return gs(t, c, o, s, El, i, a);
|
2183
|
-
}, Sg = (t, e, n, o, s, r, c) => {
|
2184
|
-
const { cols: l, rows: a } = F(t), i = a[e[0]], d = q(e, (m) => yg(a, m, s)), f = S(i.cells, (m, y) => Hn(Bl(a, y, s))), h = [...a];
|
2185
|
-
x(e, (m) => {
|
2186
|
-
h[m] = c.transformRow(a[m], n);
|
2187
|
-
});
|
2188
|
-
const p = [
|
2189
|
-
...l,
|
2190
|
-
...h
|
2191
|
-
], g = hg(i, f), C = bg(o, f);
|
2192
|
-
return gs(p, d, s, r, c.transformCell, C, g);
|
2193
|
-
}, Pl = (t, e, n, o) => {
|
2194
|
-
const s = F(t).rows, r = S(e, (c) => bt(s[c.row], c.column));
|
2195
|
-
return gs(t, r, n, o, El, u.none, B);
|
2196
|
-
}, ne = { generate: (t) => {
|
2197
|
-
if (!un(t))
|
2198
|
-
throw new Error("cases must be an array");
|
2199
|
-
if (t.length === 0)
|
2200
|
-
throw new Error("there must be at least one case");
|
2201
|
-
const e = [], n = {};
|
2202
|
-
return x(t, (o, s) => {
|
2203
|
-
const r = Ae(o);
|
2204
|
-
if (r.length !== 1)
|
2205
|
-
throw new Error("one and only one name per case");
|
2206
|
-
const c = r[0], l = o[c];
|
2207
|
-
if (n[c] !== void 0)
|
2208
|
-
throw new Error("duplicate key detected:" + c);
|
2209
|
-
if (c === "cata")
|
2210
|
-
throw new Error("cannot have a case named cata (sorry)");
|
2211
|
-
if (!un(l))
|
2212
|
-
throw new Error("case arguments must be an array");
|
2213
|
-
e.push(c), n[c] = (...a) => {
|
2214
|
-
const i = a.length;
|
2215
|
-
if (i !== l.length)
|
2216
|
-
throw new Error("Wrong number of arguments to case " + c + ". Expected " + l.length + " (" + l + "), got " + i);
|
2217
|
-
return {
|
2218
|
-
fold: (...f) => {
|
2219
|
-
if (f.length !== t.length)
|
2220
|
-
throw new Error("Wrong number of arguments to fold. Expected " + t.length + ", got " + f.length);
|
2221
|
-
return f[s].apply(null, a);
|
2222
|
-
},
|
2223
|
-
match: (f) => {
|
2224
|
-
const h = Ae(f);
|
2225
|
-
if (e.length !== h.length)
|
2226
|
-
throw new Error("Wrong number of arguments to match. Expected: " + e.join(",") + `
|
2227
|
-
Actual: ` + h.join(","));
|
2228
|
-
if (!wt(e, (g) => z(h, g)))
|
2229
|
-
throw new Error("Not all branches were specified when using match. Specified: " + h.join(", ") + `
|
2230
|
-
Required: ` + e.join(", "));
|
2231
|
-
return f[c].apply(null, a);
|
2232
|
-
},
|
2233
|
-
log: (f) => {
|
2234
|
-
console.log(f, {
|
2235
|
-
constructors: e,
|
2236
|
-
constructor: c,
|
2237
|
-
params: a
|
2238
|
-
});
|
2239
|
-
}
|
2240
|
-
};
|
2241
|
-
};
|
2242
|
-
}), n;
|
2243
|
-
} }, Rg = ne.generate([
|
2244
|
-
{ none: [] },
|
2245
|
-
{ only: ["index"] },
|
2246
|
-
{
|
2247
|
-
left: [
|
2248
|
-
"index",
|
2249
|
-
"next"
|
2250
|
-
]
|
2251
|
-
},
|
2252
|
-
{
|
2253
|
-
middle: [
|
2254
|
-
"prev",
|
2255
|
-
"index",
|
2256
|
-
"next"
|
2257
|
-
]
|
2258
|
-
},
|
2259
|
-
{
|
2260
|
-
right: [
|
2261
|
-
"prev",
|
2262
|
-
"index"
|
2263
|
-
]
|
2264
|
-
}
|
2265
|
-
]), Te = et({}, Rg), Tg = (t, e) => t.length === 0 ? Te.none() : t.length === 1 ? Te.only(0) : e === 0 ? Te.left(0, 1) : e === t.length - 1 ? Te.right(e - 1, e) : e > 0 && e < t.length - 1 ? Te.middle(e - 1, e, e + 1) : Te.none(), vg = (t, e, n, o, s) => {
|
2266
|
-
const r = t.slice(0), c = Tg(t, e), l = T(S(r, T(0))), a = (h) => o.singleColumnWidth(r[h], n), i = (h, p) => s.calcLeftEdgeDeltas(r, h, p, n, o.minCellWidth(), o.isRelative), d = (h, p, g) => s.calcMiddleDeltas(r, h, p, g, n, o.minCellWidth(), o.isRelative), f = (h, p) => s.calcRightEdgeDeltas(r, h, p, n, o.minCellWidth(), o.isRelative);
|
2267
|
-
return c.fold(l, a, i, d, f);
|
2268
|
-
}, xg = (t, e, n) => {
|
2269
|
-
let o = 0;
|
2270
|
-
for (let s = t; s < e; s++)
|
2271
|
-
o += n[s] !== void 0 ? n[s] : 0;
|
2272
|
-
return o;
|
2273
|
-
}, kg = (t, e) => {
|
2274
|
-
const n = k.justCells(t);
|
2275
|
-
return S(n, (o) => {
|
2276
|
-
const s = xg(o.column, o.column + o.colspan, e);
|
2277
|
-
return {
|
2278
|
-
element: o.element,
|
2279
|
-
width: s,
|
2280
|
-
colspan: o.colspan
|
2281
|
-
};
|
2282
|
-
});
|
2283
|
-
}, $g = (t, e) => {
|
2284
|
-
const n = k.justColumns(t);
|
2285
|
-
return S(n, (o, s) => ({
|
2286
|
-
element: o.element,
|
2287
|
-
width: e[s],
|
2288
|
-
colspan: o.colspan
|
2289
|
-
}));
|
2290
|
-
}, Dg = (t, e) => S(t.all, (n, o) => ({
|
2291
|
-
element: n.element,
|
2292
|
-
height: e[o]
|
2293
|
-
})), Og = (t) => kt(t, (e, n) => e + n, 0), Eg = (t, e) => k.hasColumns(t) ? $g(t, e) : kg(t, e), ps = (t, e, n) => {
|
2294
|
-
const o = Eg(t, e);
|
2295
|
-
x(o, (s) => {
|
2296
|
-
n.setElementWidth(s.element, s.width);
|
2297
|
-
});
|
2298
|
-
}, _l = (t, e, n, o, s) => {
|
2299
|
-
const r = k.fromTable(t), c = s.getCellDelta(e), l = s.getWidths(r, s), a = n === r.grid.columns - 1, i = o.clampTableDelta(l, n, c, s.minCellWidth(), a), d = vg(l, n, i, s, o), f = S(d, (h, p) => h + l[p]);
|
2300
|
-
ps(r, f, s), o.resizeTable(s.adjustTableWidth, i, a);
|
2301
|
-
}, Ll = (t, e, n) => {
|
2302
|
-
const o = k.fromTable(t), s = nm(o, t), r = S(s, (a, i) => n === i ? Math.max(e + a, zr()) : a), c = Dg(o, r);
|
2303
|
-
x(c, (a) => {
|
2304
|
-
Io(a.element, a.height);
|
2305
|
-
}), x(k.justCells(o), (a) => {
|
2306
|
-
_d(a.element);
|
2307
|
-
});
|
2308
|
-
const l = Og(r);
|
2309
|
-
Io(t, l);
|
2310
|
-
}, Bg = (t, e, n, o, s) => {
|
2311
|
-
const r = k.generate(e), c = o.getWidths(r, o), l = o.pixelWidth(), { newSizes: a, delta: i } = s.calcRedestributedWidths(c, l, n.pixelDelta, o.isRelative);
|
2312
|
-
ps(r, a, o), o.adjustTableWidth(i);
|
2313
|
-
}, Wg = (t, e, n, o) => {
|
2314
|
-
const s = k.generate(e), r = o.getWidths(s, o);
|
2315
|
-
ps(s, r, o);
|
2316
|
-
}, ve = (t) => $t(t, (n, o) => ut(n, (r) => r.column === o.column) ? n : n.concat([o]), []).sort((n, o) => n.column - o.column), Al = rt("col"), Ml = rt("colgroup"), Nl = (t) => P(t) === "tr" || Ml(t), Pg = (t) => {
|
2317
|
-
const e = zt(t, "colspan", 1), n = zt(t, "rowspan", 1);
|
2318
|
-
return {
|
2319
|
-
element: t,
|
2320
|
-
colspan: e,
|
2321
|
-
rowspan: n
|
2322
|
-
};
|
2323
|
-
}, _g = (t, e = Pg) => {
|
2324
|
-
const n = (l) => Al(l.element) ? t.col(l) : t.cell(l), o = (l) => Ml(l.element) ? t.colgroup(l) : t.row(l), s = (l) => {
|
2325
|
-
if (Nl(l))
|
2326
|
-
return o({ element: l });
|
2327
|
-
{
|
2328
|
-
const a = l, i = n(e(a));
|
2329
|
-
return r = u.some({
|
2330
|
-
item: a,
|
2331
|
-
replacement: i
|
2332
|
-
}), i;
|
2333
|
-
}
|
2334
|
-
};
|
2335
|
-
let r = u.none();
|
2336
|
-
return { getOrInit: (l, a) => r.fold(() => s(l), (i) => a(l, i.item) ? i.replacement : s(l)) };
|
2337
|
-
}, Lg = (t) => (e) => {
|
2338
|
-
const n = [], o = (c, l) => Dt(n, (a) => l(a.item, c)), s = (c) => {
|
2339
|
-
const l = t === "td" ? { scope: null } : {}, a = e.replace(c, t, l);
|
2340
|
-
return n.push({
|
2341
|
-
item: c,
|
2342
|
-
sub: a
|
2343
|
-
}), a;
|
2344
|
-
};
|
2345
|
-
return { replaceOrInit: (c, l) => {
|
2346
|
-
if (Nl(c) || Al(c))
|
2347
|
-
return c;
|
2348
|
-
{
|
2349
|
-
const a = c;
|
2350
|
-
return o(a, l).fold(() => s(a), (i) => l(c, i.item) ? i.sub : s(a));
|
2351
|
-
}
|
2352
|
-
} };
|
2353
|
-
}, zl = (t) => Gt(t, "scope").map((e) => e.substr(0, 3)), ot = {
|
2354
|
-
modification: _g,
|
2355
|
-
transform: Lg,
|
2356
|
-
merging: (t) => ({
|
2357
|
-
unmerge: (o) => {
|
2358
|
-
const s = zl(o);
|
2359
|
-
return s.each((r) => N(o, "scope", r)), () => {
|
2360
|
-
const r = t.cell({
|
2361
|
-
element: o,
|
2362
|
-
colspan: 1,
|
2363
|
-
rowspan: 1
|
2364
|
-
});
|
2365
|
-
return Wt(r, "width"), Wt(o, "width"), s.each((c) => N(r, "scope", c)), r;
|
2366
|
-
};
|
2367
|
-
},
|
2368
|
-
merge: (o) => {
|
2369
|
-
const s = () => {
|
2370
|
-
const r = Lr(S(o, zl));
|
2371
|
-
if (r.length === 0)
|
2372
|
-
return u.none();
|
2373
|
-
{
|
2374
|
-
const c = r[0], l = [
|
2375
|
-
"row",
|
2376
|
-
"col"
|
2377
|
-
];
|
2378
|
-
return ut(r, (i) => i !== c && z(l, i)) ? u.none() : u.from(c);
|
2379
|
-
}
|
2380
|
-
};
|
2381
|
-
return Wt(o[0], "width"), s().fold(() => L(o[0], "scope"), (r) => N(o[0], "scope", r + "group")), T(o[0]);
|
2382
|
-
}
|
2383
|
-
})
|
2384
|
-
}, Ag = [
|
2385
|
-
"body",
|
2386
|
-
"p",
|
2387
|
-
"div",
|
2388
|
-
"article",
|
2389
|
-
"aside",
|
2390
|
-
"figcaption",
|
2391
|
-
"figure",
|
2392
|
-
"footer",
|
2393
|
-
"header",
|
2394
|
-
"nav",
|
2395
|
-
"section",
|
2396
|
-
"ol",
|
2397
|
-
"ul",
|
2398
|
-
"table",
|
2399
|
-
"thead",
|
2400
|
-
"tfoot",
|
2401
|
-
"tbody",
|
2402
|
-
"caption",
|
2403
|
-
"tr",
|
2404
|
-
"td",
|
2405
|
-
"th",
|
2406
|
-
"h1",
|
2407
|
-
"h2",
|
2408
|
-
"h3",
|
2409
|
-
"h4",
|
2410
|
-
"h5",
|
2411
|
-
"h6",
|
2412
|
-
"blockquote",
|
2413
|
-
"pre",
|
2414
|
-
"address"
|
2415
|
-
], Mg = (t, e) => {
|
2416
|
-
const n = t.property().name(e);
|
2417
|
-
return z([
|
2418
|
-
"ol",
|
2419
|
-
"ul"
|
2420
|
-
], n);
|
2421
|
-
}, Ng = (t, e) => {
|
2422
|
-
const n = t.property().name(e);
|
2423
|
-
return z(Ag, n);
|
2424
|
-
}, zg = (t, e) => z([
|
2425
|
-
"br",
|
2426
|
-
"img",
|
2427
|
-
"hr",
|
2428
|
-
"input"
|
2429
|
-
], t.property().name(e)), hs = Wn(), ws = (t) => Ng(hs, t), Hg = (t) => Mg(hs, t), Ig = (t) => zg(hs, t), Fg = (t) => {
|
2430
|
-
const e = rt("br"), n = (a) => wt(a, (i) => e(i) || qt(i) && Vo(i).trim().length === 0), o = (a) => P(a) === "li" || He(a, Hg).isSome(), s = (a) => pn(a).map((i) => ws(i) ? !0 : Ig(i) ? P(i) !== "img" : !1).getOr(!1), r = (a) => Lc(a).bind((i) => {
|
2431
|
-
const d = s(i);
|
2432
|
-
return Xt(i).map((f) => d === !0 || o(f) || e(i) || ws(f) && !W(a, f) ? [] : [w.fromTag("br")]);
|
2433
|
-
}).getOr([]), l = (() => {
|
2434
|
-
const a = q(t, (i) => {
|
2435
|
-
const d = ft(i);
|
2436
|
-
return n(d) ? [] : d.concat(r(i));
|
2437
|
-
});
|
2438
|
-
return a.length === 0 ? [w.fromTag("br")] : a;
|
2439
|
-
})();
|
2440
|
-
yo(t[0]), Et(t[0], l);
|
2441
|
-
}, Hl = (t) => qe(t, !0), Il = (t) => {
|
2442
|
-
pe(t).length === 0 && Z(t);
|
2443
|
-
}, jn = (t, e) => ({
|
2444
|
-
grid: t,
|
2445
|
-
cursor: e
|
2446
|
-
}), jg = (t) => Mt(t, (e) => Mt(e.cells, (n) => {
|
2447
|
-
const o = n.element;
|
2448
|
-
return xo(Hl(o), o);
|
2449
|
-
})), Gg = (t, e, n) => {
|
2450
|
-
var o, s;
|
2451
|
-
const r = F(t).rows;
|
2452
|
-
return u.from((s = (o = r[e]) === null || o === void 0 ? void 0 : o.cells[n]) === null || s === void 0 ? void 0 : s.element).filter(Hl).orThunk(() => jg(r));
|
2453
|
-
}, tt = (t, e, n) => {
|
2454
|
-
const o = Gg(t, e, n);
|
2455
|
-
return jn(t, o);
|
2456
|
-
}, Gn = (t) => $t(t, (n, o) => ut(n, (r) => r.row === o.row) ? n : n.concat([o]), []).sort((n, o) => n.row - o.row), Ug = (t, e, n, o) => {
|
2457
|
-
const s = e[0].row, r = Gn(e), c = kt(r, (l, a) => ({
|
2458
|
-
grid: kl(l.grid, s, a.row + l.delta, n, o.getOrInit),
|
2459
|
-
delta: l.delta + 1
|
2460
|
-
}), {
|
2461
|
-
grid: t,
|
2462
|
-
delta: 0
|
2463
|
-
}).grid;
|
2464
|
-
return tt(c, s, e[0].column);
|
2465
|
-
}, Vg = (t, e, n, o) => {
|
2466
|
-
const s = Gn(e), r = s[s.length - 1], c = r.row + r.rowspan, l = kt(s, (a, i) => kl(a, c, i.row, n, o.getOrInit), t);
|
2467
|
-
return tt(l, c, e[0].column);
|
2468
|
-
}, qg = (t, e, n, o) => {
|
2469
|
-
const s = e.details, r = ve(s), c = r[0].column, l = kt(r, (a, i) => ({
|
2470
|
-
grid: $l(a.grid, c, i.column + a.delta, n, o.getOrInit),
|
2471
|
-
delta: a.delta + 1
|
2472
|
-
}), {
|
2473
|
-
grid: t,
|
2474
|
-
delta: 0
|
2475
|
-
}).grid;
|
2476
|
-
return tt(l, s[0].row, c);
|
2477
|
-
}, Kg = (t, e, n, o) => {
|
2478
|
-
const s = e.details, r = s[s.length - 1], c = r.column + r.colspan, l = ve(s), a = kt(l, (i, d) => $l(i, c, d.column, n, o.getOrInit), t);
|
2479
|
-
return tt(a, s[0].row, c);
|
2480
|
-
}, Xg = (t, e, n, o) => {
|
2481
|
-
const s = ve(e), r = S(s, (l) => l.column), c = Wl(t, r, !0, n, o.replaceOrInit);
|
2482
|
-
return tt(c, e[0].row, e[0].column);
|
2483
|
-
}, Yg = (t, e, n, o) => {
|
2484
|
-
const s = Pl(t, e, n, o.replaceOrInit);
|
2485
|
-
return tt(s, e[0].row, e[0].column);
|
2486
|
-
}, Jg = (t, e, n, o) => {
|
2487
|
-
const s = ve(e), r = S(s, (l) => l.column), c = Wl(t, r, !1, n, o.replaceOrInit);
|
2488
|
-
return tt(c, e[0].row, e[0].column);
|
2489
|
-
}, Qg = (t, e, n, o) => {
|
2490
|
-
const s = Pl(t, e, n, o.replaceOrInit);
|
2491
|
-
return tt(s, e[0].row, e[0].column);
|
2492
|
-
}, bs = (t, e) => (n, o, s, r, c) => {
|
2493
|
-
const l = Gn(o), a = S(l, (d) => d.row), i = Sg(n, a, t, e, s, r.replaceOrInit, c);
|
2494
|
-
return tt(i, o[0].row, o[0].column);
|
2495
|
-
}, Zg = bs("thead", !0), tp = bs("tbody", !1), ep = bs("tfoot", !1), np = (t, e, n, o) => {
|
2496
|
-
const s = ve(e.details), r = mg(t, S(s, (l) => l.column)), c = r.length > 0 ? r[0].cells.length - 1 : 0;
|
2497
|
-
return tt(r, s[0].row, Math.min(s[0].column, c));
|
2498
|
-
}, op = (t, e, n, o) => {
|
2499
|
-
const s = Gn(e), r = fg(t, s[0].row, s[s.length - 1].row), c = Math.max(F(r).rows.length - 1, 0);
|
2500
|
-
return tt(r, Math.min(e[0].row, c), e[0].column);
|
2501
|
-
}, sp = (t, e, n, o) => {
|
2502
|
-
const s = e.cells;
|
2503
|
-
Fg(s);
|
2504
|
-
const r = Qf(t, e.bounds, n, o.merge(s));
|
2505
|
-
return jn(r, u.from(s[0]));
|
2506
|
-
}, rp = (t, e, n, o) => {
|
2507
|
-
const r = kt(e, (c, l) => bl(c, l, n, o.unmerge(l)), t);
|
2508
|
-
return jn(r, u.from(e[0]));
|
2509
|
-
}, cp = (t, e, n, o) => {
|
2510
|
-
const r = ((a, i) => {
|
2511
|
-
const d = k.fromTable(a);
|
2512
|
-
return Je(d, i, !0);
|
2513
|
-
})(e.clipboard, e.generators), c = ru(e.row, e.column);
|
2514
|
-
return ig(c, t, r, e.generators, n).fold(() => jn(t, u.some(e.element)), (a) => tt(a, e.row, e.column));
|
2515
|
-
}, Un = (t, e, n) => {
|
2516
|
-
const o = Wu(t, n.section), s = k.generate(o);
|
2517
|
-
return Je(s, e, !0);
|
2518
|
-
}, lp = (t, e, n, o) => {
|
2519
|
-
const s = F(t).rows, r = e.cells[0].column, c = s[e.cells[0].row], l = Un(e.clipboard, e.generators, c), a = vl(r, t, l, e.generators, n);
|
2520
|
-
return tt(a, e.cells[0].row, e.cells[0].column);
|
2521
|
-
}, ap = (t, e, n, o) => {
|
2522
|
-
const s = F(t).rows, r = e.cells[e.cells.length - 1].column + e.cells[e.cells.length - 1].colspan, c = s[e.cells[0].row], l = Un(e.clipboard, e.generators, c), a = vl(r, t, l, e.generators, n);
|
2523
|
-
return tt(a, e.cells[0].row, r);
|
2524
|
-
}, ip = (t, e, n, o) => {
|
2525
|
-
const s = F(t).rows, r = e.cells[0].row, c = s[r], l = Un(e.clipboard, e.generators, c), a = xl(r, t, l, e.generators, n);
|
2526
|
-
return tt(a, e.cells[0].row, e.cells[0].column);
|
2527
|
-
}, up = (t, e, n, o) => {
|
2528
|
-
const s = F(t).rows, r = e.cells[e.cells.length - 1].row + e.cells[e.cells.length - 1].rowspan, c = s[e.cells[0].row], l = Un(e.clipboard, e.generators, c), a = xl(r, t, l, e.generators, n);
|
2529
|
-
return tt(a, r, e.cells[0].column);
|
2530
|
-
}, dp = (t, e) => {
|
2531
|
-
const n = k.fromTable(t);
|
2532
|
-
return yt(n, e).bind((s) => {
|
2533
|
-
const r = s[s.length - 1], c = s[0].column, l = r.column + r.colspan, a = cr(S(n.all, (i) => H(i.cells, (d) => d.column >= c && d.column < l)));
|
2534
|
-
return ls(a);
|
2535
|
-
}).getOr("");
|
2536
|
-
}, mp = (t, e) => {
|
2537
|
-
const n = k.fromTable(t);
|
2538
|
-
return yt(n, e).bind(ls).getOr("");
|
2539
|
-
}, fp = (t, e) => {
|
2540
|
-
const n = k.fromTable(t);
|
2541
|
-
return yt(n, e).bind((s) => {
|
2542
|
-
const r = s[s.length - 1], c = s[0].row, l = r.row + r.rowspan, a = n.all.slice(c, l);
|
2543
|
-
return Af(a);
|
2544
|
-
}).getOr("");
|
2545
|
-
}, Cs = (t, e, n, o) => Wg(t, e, n, o.sizing), ys = (t, e, n, o) => Bg(t, e, n, o.sizing, o.resize), Fl = (t, e) => ut(e, (n) => n.column === 0 && n.isLocked), jl = (t, e) => ut(e, (n) => n.column + n.colspan >= t.grid.columns && n.isLocked), Gl = (t, e) => {
|
2546
|
-
const n = Mo(t), o = ve(e);
|
2547
|
-
return $t(o, (s, r) => {
|
2548
|
-
const l = n[r.column].map(Po).getOr(0);
|
2549
|
-
return s + l;
|
2550
|
-
}, 0);
|
2551
|
-
}, Ul = (t) => (e, n) => yt(e, n).filter((o) => !(t ? Fl : jl)(e, o)).map((o) => ({
|
2552
|
-
details: o,
|
2553
|
-
pixelDelta: Gl(e, o)
|
2554
|
-
})), gp = (t, e) => Re(t, e).map((n) => ({
|
2555
|
-
details: n,
|
2556
|
-
pixelDelta: -Gl(t, n)
|
2557
|
-
})), Vl = (t) => (e, n) => ms(e, n).filter((o) => !(t ? Fl : jl)(e, o.cells)), Ss = ot.transform("th"), Vn = ot.transform("td"), pp = j(Ug, yt, R, R, ot.modification), hp = j(Vg, yt, R, R, ot.modification), wp = j(qg, Ul(!0), ys, R, ot.modification), bp = j(Kg, Ul(!1), ys, R, ot.modification), Cp = j(np, gp, ys, Il, ot.modification), yp = j(op, yt, R, Il, ot.modification), Sp = j(Xg, Re, R, R, Ss), Rp = j(Jg, Re, R, R, Vn), Tp = j(Zg, yt, R, R, Ss), vp = j(tp, yt, R, R, Vn), xp = j(ep, yt, R, R, Vn), kp = j(Yg, Re, R, R, Ss), $p = j(Qg, Re, R, R, Vn), Dp = j(sp, Yf, Cs, R, ot.merging), Op = j(rp, Jf, Cs, R, ot.merging), Ep = j(cp, Vf, Cs, R, ot.modification), Bp = j(lp, Vl(!0), R, R, ot.modification), Wp = j(ap, Vl(!1), R, R, ot.modification), Pp = j(ip, ms, R, R, ot.modification), _p = j(up, ms, R, R, ot.modification), Lp = dp, Ap = mp, Mp = fp, ql = (t, e) => t.dispatch("NewRow", { node: e }), Kl = (t, e) => t.dispatch("NewCell", { node: e }), oe = (t, e, n) => {
|
2558
|
-
t.dispatch("TableModified", it(et({}, n), {
|
2559
|
-
table: e
|
2560
|
-
}));
|
2561
|
-
}, Np = (t, e, n, o, s) => {
|
2562
|
-
t.dispatch("TableSelectionChange", {
|
2563
|
-
cells: e,
|
2564
|
-
start: n,
|
2565
|
-
finish: o,
|
2566
|
-
otherCells: s
|
2567
|
-
});
|
2568
|
-
}, zp = (t) => {
|
2569
|
-
t.dispatch("TableSelectionClear");
|
2570
|
-
}, Hp = (t, e, n, o, s) => {
|
2571
|
-
t.dispatch("ObjectResizeStart", {
|
2572
|
-
target: e,
|
2573
|
-
width: n,
|
2574
|
-
height: o,
|
2575
|
-
origin: s
|
2576
|
-
});
|
2577
|
-
}, Ip = (t, e, n, o, s) => {
|
2578
|
-
t.dispatch("ObjectResized", {
|
2579
|
-
target: e,
|
2580
|
-
width: n,
|
2581
|
-
height: o,
|
2582
|
-
origin: s
|
2583
|
-
});
|
2584
|
-
}, qn = {
|
2585
|
-
structure: !1,
|
2586
|
-
style: !0
|
2587
|
-
}, I = {
|
2588
|
-
structure: !0,
|
2589
|
-
style: !1
|
2590
|
-
}, Fp = {
|
2591
|
-
structure: !0,
|
2592
|
-
style: !0
|
2593
|
-
}, Xl = (t, e) => Dn(t) ? Ce.percentageSize(e) : ye(t) ? Ce.pixelSize(e) : Ce.getTableSize(e), jp = (t, e, n) => {
|
2594
|
-
const o = (J) => P(On(J)) === "table", s = (J) => !o(t) || Nn(J).rows > 1, r = (J) => !o(t) || Nn(J).columns > 1, c = Ic(t), l = Gc(t) ? R : Pf, a = (J) => {
|
2595
|
-
switch (Fc(t)) {
|
2596
|
-
case "section":
|
2597
|
-
return Xe.section();
|
2598
|
-
case "sectionCells":
|
2599
|
-
return Xe.sectionCells();
|
2600
|
-
case "cells":
|
2601
|
-
return Xe.cells();
|
2602
|
-
default:
|
2603
|
-
return Xe.getTableSectionType(J, "section");
|
2604
|
-
}
|
2605
|
-
}, i = (J, Qs) => Qs.cursor.fold(() => {
|
2606
|
-
const ln = pe(J);
|
2607
|
-
return dn(ln).filter(Nt).map((At) => {
|
2608
|
-
n.clearSelectedCells(J.dom);
|
2609
|
-
const V = t.dom.createRng();
|
2610
|
-
return V.selectNode(At.dom), t.selection.setRng(V), N(At, "data-mce-selected", "1"), V;
|
2611
|
-
});
|
2612
|
-
}, (ln) => {
|
2613
|
-
const At = Wf(ln), V = t.dom.createRng();
|
2614
|
-
return V.setStart(At.element.dom, At.offset), V.setEnd(At.element.dom, At.offset), t.selection.setRng(V), n.clearSelectedCells(J.dom), u.some(V);
|
2615
|
-
}), d = (J, Qs, ln, At) => (V, kC, $C = !1) => {
|
2616
|
-
te(V);
|
2617
|
-
const DC = w.fromDom(t.getDoc()), OC = Xo(ln, DC, c), EC = {
|
2618
|
-
sizing: Xl(t, V),
|
2619
|
-
resize: Gc(t) ? ul() : cs(),
|
2620
|
-
section: a(V)
|
2621
|
-
};
|
2622
|
-
return Qs(V) ? J(V, kC, OC, EC).bind((Zs) => {
|
2623
|
-
e.refresh(V.dom), x(Zs.newRows, (an) => {
|
2624
|
-
ql(t, an.dom);
|
2625
|
-
}), x(Zs.newCells, (an) => {
|
2626
|
-
Kl(t, an.dom);
|
2627
|
-
});
|
2628
|
-
const BC = i(V, Zs);
|
2629
|
-
return Nt(V) && (te(V), $C || oe(t, V.dom, At)), BC.map((an) => ({
|
2630
|
-
rng: an,
|
2631
|
-
effect: At
|
2632
|
-
}));
|
2633
|
-
}) : u.none();
|
2634
|
-
}, f = d(yp, s, R, I), h = d(Cp, r, R, I), p = d(pp, B, R, I), g = d(hp, B, R, I), C = d(wp, B, l, I), m = d(bp, B, l, I), y = d(Dp, B, R, I), v = d(Op, B, R, I), b = d(Bp, B, R, I), $ = d(Wp, B, R, I), D = d(Pp, B, R, I), O = d(_p, B, R, I), A = d(Ep, B, R, Fp), Rt = d(kp, B, R, I), le = d($p, B, R, I), Vt = d(Sp, B, R, I), ae = d(Rp, B, R, I), E = d(Tp, B, R, I), X = d(vp, B, R, I), Y = d(xp, B, R, I);
|
2635
|
-
return {
|
2636
|
-
deleteRow: f,
|
2637
|
-
deleteColumn: h,
|
2638
|
-
insertRowsBefore: p,
|
2639
|
-
insertRowsAfter: g,
|
2640
|
-
insertColumnsBefore: C,
|
2641
|
-
insertColumnsAfter: m,
|
2642
|
-
mergeCells: y,
|
2643
|
-
unmergeCells: v,
|
2644
|
-
pasteColsBefore: b,
|
2645
|
-
pasteColsAfter: $,
|
2646
|
-
pasteRowsBefore: D,
|
2647
|
-
pasteRowsAfter: O,
|
2648
|
-
pasteCells: A,
|
2649
|
-
makeCellsHeader: Rt,
|
2650
|
-
unmakeCellsHeader: le,
|
2651
|
-
makeColumnsHeader: Vt,
|
2652
|
-
unmakeColumnsHeader: ae,
|
2653
|
-
makeRowsHeader: E,
|
2654
|
-
makeRowsBody: X,
|
2655
|
-
makeRowsFooter: Y,
|
2656
|
-
getTableRowType: Mp,
|
2657
|
-
getTableCellType: Ap,
|
2658
|
-
getTableColType: Lp
|
2659
|
-
};
|
2660
|
-
}, Yl = (t, e, n) => {
|
2661
|
-
const o = zt(t, e, 1);
|
2662
|
-
n === 1 || o <= 1 ? L(t, e) : N(t, e, Math.min(n, o));
|
2663
|
-
}, Jl = (t, e) => (n) => {
|
2664
|
-
const o = n.column + n.colspan - 1, s = n.column;
|
2665
|
-
return o >= t && s < e;
|
2666
|
-
}, Gp = (t, e, n) => {
|
2667
|
-
if (k.hasColumns(t)) {
|
2668
|
-
const o = H(k.justColumns(t), Jl(e, n)), s = S(o, (c) => {
|
2669
|
-
const l = de(c.element);
|
2670
|
-
return Yl(l, "span", n - e), l;
|
2671
|
-
}), r = w.fromTag("colgroup");
|
2672
|
-
return Et(r, s), [r];
|
2673
|
-
} else
|
2674
|
-
return [];
|
2675
|
-
}, Up = (t, e, n) => S(t.all, (o) => {
|
2676
|
-
const s = H(o.cells, Jl(e, n)), r = S(s, (l) => {
|
2677
|
-
const a = de(l.element);
|
2678
|
-
return Yl(a, "colspan", n - e), a;
|
2679
|
-
}), c = w.fromTag("tr");
|
2680
|
-
return Et(c, r), c;
|
2681
|
-
}), Vp = (t, e) => {
|
2682
|
-
const n = k.fromTable(t);
|
2683
|
-
return Re(n, e).map((s) => {
|
2684
|
-
const r = s[s.length - 1], c = s[0].column, l = r.column + r.colspan, a = Gp(n, c, l), i = Up(n, c, l);
|
2685
|
-
return [
|
2686
|
-
...a,
|
2687
|
-
...i
|
2688
|
-
];
|
2689
|
-
});
|
2690
|
-
}, qp = (t, e, n) => {
|
2691
|
-
const o = k.fromTable(t);
|
2692
|
-
return yt(o, e).bind((r) => {
|
2693
|
-
const c = Je(o, n, !1), a = F(c).rows.slice(r[0].row, r[r.length - 1].row + r[r.length - 1].rowspan), i = q(a, (f) => {
|
2694
|
-
const h = H(f.cells, (p) => !p.isLocked);
|
2695
|
-
return h.length > 0 ? [it(et({}, f), {
|
2696
|
-
cells: h
|
2697
|
-
})] : [];
|
2698
|
-
}), d = In(i);
|
2699
|
-
return xo(d.length > 0, d);
|
2700
|
-
}).map((r) => Hf(r));
|
2701
|
-
}, Ze = ne.generate([
|
2702
|
-
{ invalid: ["raw"] },
|
2703
|
-
{ pixels: ["value"] },
|
2704
|
-
{ percent: ["value"] }
|
2705
|
-
]), Ql = (t, e, n) => {
|
2706
|
-
const o = n.substring(0, n.length - t.length), s = parseFloat(o);
|
2707
|
-
return o === s.toString() ? e(s) : Ze.invalid(n);
|
2708
|
-
}, Kp = (t) => yn(t, "%") ? Ql("%", Ze.percent, t) : yn(t, "px") ? Ql("px", Ze.pixels, t) : Ze.invalid(t), se = it(et({}, Ze), {
|
2709
|
-
from: Kp
|
2710
|
-
}), Xp = (t, e) => S(t, (n) => se.from(n).fold(() => n, (s) => s / e * 100 + "%", (s) => s + "%")), Yp = (t, e, n) => {
|
2711
|
-
const o = n / e;
|
2712
|
-
return S(t, (s) => se.from(s).fold(() => s, (c) => c * o + "px", (c) => c / 100 * n + "px"));
|
2713
|
-
}, Jp = (t, e) => {
|
2714
|
-
const n = t.fold(() => T(""), (o) => {
|
2715
|
-
const s = o / e;
|
2716
|
-
return T(s + "px");
|
2717
|
-
}, () => {
|
2718
|
-
const o = 100 / e;
|
2719
|
-
return T(o + "%");
|
2720
|
-
});
|
2721
|
-
return ht(e, n);
|
2722
|
-
}, Qp = (t, e, n) => t.fold(() => e, (o) => Yp(e, n, o), (o) => Xp(e, n)), Zl = (t, e, n) => {
|
2723
|
-
const o = se.from(n), s = wt(t, (r) => r === "0px") ? Jp(o, t.length) : Qp(o, t, e);
|
2724
|
-
return eh(s);
|
2725
|
-
}, ta = (t, e) => t.length === 0 ? e : kt(t, (n, o) => se.from(o).fold(T(0), M, M) + n, 0), Zp = (t, e) => {
|
2726
|
-
const n = Math.floor(t);
|
2727
|
-
return {
|
2728
|
-
value: n + e,
|
2729
|
-
remainder: t - n
|
2730
|
-
};
|
2731
|
-
}, th = (t, e) => se.from(t).fold(T(t), (n) => n + e + "px", (n) => n + e + "%"), eh = (t) => {
|
2732
|
-
if (t.length === 0)
|
2733
|
-
return t;
|
2734
|
-
const e = kt(t, (o, s) => {
|
2735
|
-
const r = se.from(s).fold(() => ({
|
2736
|
-
value: s,
|
2737
|
-
remainder: 0
|
2738
|
-
}), (c) => Zp(c, "px"), (c) => ({
|
2739
|
-
value: c + "%",
|
2740
|
-
remainder: 0
|
2741
|
-
}));
|
2742
|
-
return {
|
2743
|
-
output: [r.value].concat(o.output),
|
2744
|
-
remainder: o.remainder + r.remainder
|
2745
|
-
};
|
2746
|
-
}, {
|
2747
|
-
output: [],
|
2748
|
-
remainder: 0
|
2749
|
-
}), n = e.output;
|
2750
|
-
return n.slice(0, n.length - 1).concat([th(n[n.length - 1], Math.round(e.remainder))]);
|
2751
|
-
}, nh = se.from, oh = (t, e, n) => {
|
2752
|
-
x(e, (o) => {
|
2753
|
-
const s = t.slice(o.column, o.colspan + o.column), r = ta(s, Ie());
|
2754
|
-
U(o.element, "width", r + n);
|
2755
|
-
});
|
2756
|
-
}, sh = (t, e, n) => {
|
2757
|
-
x(e, (o, s) => {
|
2758
|
-
const r = ta([t[s]], Ie());
|
2759
|
-
U(o.element, "width", r + n);
|
2760
|
-
});
|
2761
|
-
}, rh = (t, e, n) => {
|
2762
|
-
x(n, (o) => {
|
2763
|
-
Wt(o.element, "height");
|
2764
|
-
}), x(e, (o, s) => {
|
2765
|
-
U(o.element, "height", t[s]);
|
2766
|
-
});
|
2767
|
-
}, ch = (t) => nh(t).fold(T("px"), T("px"), T("%")), Rs = (t, e, n) => {
|
2768
|
-
const o = k.fromTable(t), s = o.all, r = k.justCells(o), c = k.justColumns(o);
|
2769
|
-
e.each((l) => {
|
2770
|
-
const a = ch(l), i = It(t), d = tm(o, t), f = Zl(d, i, l);
|
2771
|
-
k.hasColumns(o) ? sh(f, c, a) : oh(f, r, a), U(t, "width", l);
|
2772
|
-
}), n.each((l) => {
|
2773
|
-
const a = Ue(t), i = om(o, t), d = Zl(i, a, l);
|
2774
|
-
rh(d, s, r), U(t, "height", l);
|
2775
|
-
});
|
2776
|
-
}, ea = Ud, na = Vd, oa = qd, tn = (t) => {
|
2777
|
-
L(t, "width"), L(t, "height");
|
2778
|
-
}, en = (t) => {
|
2779
|
-
const e = kc(t);
|
2780
|
-
Rs(t, u.some(e), u.none()), tn(t);
|
2781
|
-
}, Ts = (t) => {
|
2782
|
-
const e = jd(t);
|
2783
|
-
Rs(t, u.some(e), u.none()), tn(t);
|
2784
|
-
}, lh = (t) => {
|
2785
|
-
const e = Gd(t);
|
2786
|
-
Rs(t, u.none(), u.some(e)), tn(t);
|
2787
|
-
}, sa = (t) => {
|
2788
|
-
Wt(t, "width");
|
2789
|
-
const e = Eo(t), n = e.length > 0 ? e : pe(t);
|
2790
|
-
x(n, (o) => {
|
2791
|
-
Wt(o, "width"), tn(o);
|
2792
|
-
}), tn(t);
|
2793
|
-
}, ah = {
|
2794
|
-
styles: {
|
2795
|
-
"border-collapse": "collapse",
|
2796
|
-
width: "100%"
|
2797
|
-
},
|
2798
|
-
attributes: { border: "1" },
|
2799
|
-
colGroups: !1
|
2800
|
-
}, ih = () => w.fromTag("th"), uh = () => w.fromTag("td"), dh = () => w.fromTag("col"), mh = (t, e, n, o) => {
|
2801
|
-
const s = w.fromTag("tr");
|
2802
|
-
for (let r = 0; r < t; r++) {
|
2803
|
-
const c = o < e || r < n ? ih() : uh();
|
2804
|
-
r < n && N(c, "scope", "row"), o < e && N(c, "scope", "col"), _(c, w.fromTag("br")), _(s, c);
|
2805
|
-
}
|
2806
|
-
return s;
|
2807
|
-
}, fh = (t) => {
|
2808
|
-
const e = w.fromTag("colgroup");
|
2809
|
-
return ht(t, () => _(e, dh())), e;
|
2810
|
-
}, ra = (t, e, n, o) => ht(t, (s) => mh(e, n, o, s)), gh = (t, e, n, o, s, r = ah) => {
|
2811
|
-
const c = w.fromTag("table"), l = s !== "cells";
|
2812
|
-
ge(c, r.styles), Me(c, r.attributes), r.colGroups && _(c, fh(e));
|
2813
|
-
const a = Math.min(t, n);
|
2814
|
-
if (l && n > 0) {
|
2815
|
-
const p = w.fromTag("thead");
|
2816
|
-
_(c, p);
|
2817
|
-
const C = ra(n, e, s === "sectionCells" ? a : 0, o);
|
2818
|
-
Et(p, C);
|
2819
|
-
}
|
2820
|
-
const i = w.fromTag("tbody");
|
2821
|
-
_(c, i);
|
2822
|
-
const d = l ? t - a : t, h = ra(d, e, l ? 0 : n, o);
|
2823
|
-
return Et(i, h), c;
|
2824
|
-
}, ph = (t) => t.dom.innerHTML, hh = (t) => {
|
2825
|
-
const e = w.fromTag("div"), n = w.fromDom(t.dom.cloneNode(!0));
|
2826
|
-
return _(e, n), ph(e);
|
2827
|
-
}, wh = (t, e) => {
|
2828
|
-
t.selection.select(e.dom, !0), t.selection.collapse(!0);
|
2829
|
-
}, bh = (t, e) => {
|
2830
|
-
me(e, "td,th").each(Q(wh, t));
|
2831
|
-
}, Ch = (t, e) => {
|
2832
|
-
x(Bt(e, "tr"), (n) => {
|
2833
|
-
ql(t, n.dom), x(Bt(n, "th,td"), (o) => {
|
2834
|
-
Kl(t, o.dom);
|
2835
|
-
});
|
2836
|
-
});
|
2837
|
-
}, yh = (t) => _e(t) && t.indexOf("%") !== -1, Sh = (t, e, n, o, s) => {
|
2838
|
-
const r = Wm(t), c = {
|
2839
|
-
styles: r,
|
2840
|
-
attributes: Bm(t),
|
2841
|
-
colGroups: Pm(t)
|
2842
|
-
};
|
2843
|
-
return t.undoManager.ignore(() => {
|
2844
|
-
const l = gh(n, e, s, o, Fc(t), c);
|
2845
|
-
N(l, "data-mce-id", "__mce");
|
2846
|
-
const a = hh(l);
|
2847
|
-
t.insertContent(a), t.addVisual();
|
2848
|
-
}), me(On(t), 'table[data-mce-id="__mce"]').map((l) => (ye(t) ? Ts(l) : Ve(t) ? sa(l) : (Dn(t) || yh(r.width)) && en(l), te(l), L(l, "data-mce-id"), Ch(t, l), bh(t, l), l.dom)).getOrNull();
|
2849
|
-
}, Rh = (t, e, n, o = {}) => {
|
2850
|
-
const s = (r) => uo(r) && r > 0;
|
2851
|
-
if (s(e) && s(n)) {
|
2852
|
-
const r = o.headerRows || 0, c = o.headerColumns || 0;
|
2853
|
-
return Sh(t, n, e, c, r);
|
2854
|
-
} else
|
2855
|
-
return console.error("Invalid values for mceInsertTable - rows and columns values are required to insert a table."), null;
|
2856
|
-
};
|
2857
|
-
var Kn = tinymce.util.Tools.resolve("tinymce.FakeClipboard");
|
2858
|
-
const ca = "x-tinymce/dom-table-", vs = ca + "rows", xs = ca + "columns", la = (t) => {
|
2859
|
-
const e = Kn.FakeClipboardItem(t);
|
2860
|
-
Kn.write([e]);
|
2861
|
-
}, ks = (t) => {
|
2862
|
-
var e;
|
2863
|
-
const n = (e = Kn.read()) !== null && e !== void 0 ? e : [];
|
2864
|
-
return Mt(n, (o) => u.from(o.getType(t)));
|
2865
|
-
}, aa = (t) => {
|
2866
|
-
ks(t).isSome() && Kn.clear();
|
2867
|
-
}, ia = (t) => {
|
2868
|
-
t.fold(Th, (e) => la({ [vs]: e }));
|
2869
|
-
}, ua = () => ks(vs), Th = () => aa(vs), da = (t) => {
|
2870
|
-
t.fold(vh, (e) => la({ [xs]: e }));
|
2871
|
-
}, ma = () => ks(xs), vh = () => aa(xs), $s = (t) => vf(En(t), Se(t)).filter(Qo), xh = (t) => rs(En(t), Se(t)).filter(Qo), kh = (t, e) => {
|
2872
|
-
const n = Se(t), o = () => $s(t).each((m) => {
|
2873
|
-
lt(m, n).filter(nr(n)).each((y) => {
|
2874
|
-
const v = w.fromText("");
|
2875
|
-
if (ue(y, v), Z(y), t.dom.isEmpty(t.getBody()))
|
2876
|
-
t.setContent(""), t.selection.setCursorLocation();
|
2877
|
-
else {
|
2878
|
-
const b = t.dom.createRng();
|
2879
|
-
b.setStart(v.dom, 0), b.setEnd(v.dom, 0), t.selection.setRng(b), t.nodeChanged();
|
2880
|
-
}
|
2881
|
-
});
|
2882
|
-
}), s = (m) => $s(t).each((y) => {
|
2883
|
-
Ve(t) || ye(t) || Dn(t) || lt(y, n).each((b) => {
|
2884
|
-
m === "relative" && !ea(b) ? en(b) : m === "fixed" && !na(b) ? Ts(b) : m === "responsive" && !oa(b) && sa(b), te(b), oe(t, b.dom, I);
|
2885
|
-
});
|
2886
|
-
}), r = (m) => lt(m, n), c = (m) => xh(t).bind((y) => r(y).map((v) => m(v, y))), l = (m, y) => {
|
2887
|
-
c((v) => {
|
2888
|
-
t.formatter.toggle("tableclass", { value: y }, v.dom), oe(t, v.dom, qn);
|
2889
|
-
});
|
2890
|
-
}, a = (m, y) => {
|
2891
|
-
c((v) => {
|
2892
|
-
const b = _t(t), D = wt(b, (O) => t.formatter.match("tablecellclass", { value: y }, O.dom)) ? t.formatter.remove : t.formatter.apply;
|
2893
|
-
x(b, (O) => D("tablecellclass", { value: y }, O.dom)), oe(t, v.dom, qn);
|
2894
|
-
});
|
2895
|
-
}, i = () => {
|
2896
|
-
$s(t).each((m) => {
|
2897
|
-
lt(m, n).each((y) => {
|
2898
|
-
To(y, "caption").fold(() => {
|
2899
|
-
const v = w.fromTag("caption");
|
2900
|
-
_(v, w.fromText("Caption")), Ji(y, v, 0), t.selection.setCursorLocation(v.dom, 0);
|
2901
|
-
}, (v) => {
|
2902
|
-
rt("caption")(m) && yr("td", y).each((b) => t.selection.setCursorLocation(b.dom, 0)), Z(v);
|
2903
|
-
}), oe(t, y.dom, I);
|
2904
|
-
});
|
2905
|
-
});
|
2906
|
-
}, d = (m) => {
|
2907
|
-
t.focus();
|
2908
|
-
}, f = (m, y = !1) => c((v, b) => {
|
2909
|
-
const $ = Ln(_t(t), v, b);
|
2910
|
-
m(v, $, y).each(d);
|
2911
|
-
}), h = () => c((m, y) => {
|
2912
|
-
const v = Ln(_t(t), m, y), b = Xo(R, w.fromDom(t.getDoc()), u.none());
|
2913
|
-
return qp(m, v, b);
|
2914
|
-
}), p = () => c((m, y) => {
|
2915
|
-
const v = Ln(_t(t), m, y);
|
2916
|
-
return Vp(m, v);
|
2917
|
-
}), g = (m, y) => y().each((v) => {
|
2918
|
-
const b = S(v, ($) => de($));
|
2919
|
-
c(($, D) => {
|
2920
|
-
const O = Nc(w.fromDom(t.getDoc())), A = Rf(_t(t), D, b, O);
|
2921
|
-
m($, A).each(d);
|
2922
|
-
});
|
2923
|
-
}), C = (m) => (y, v) => Di(v, "type").each((b) => {
|
2924
|
-
f(m(b), v.no_events);
|
2925
|
-
});
|
2926
|
-
dt({
|
2927
|
-
mceTableSplitCells: () => f(e.unmergeCells),
|
2928
|
-
mceTableMergeCells: () => f(e.mergeCells),
|
2929
|
-
mceTableInsertRowBefore: () => f(e.insertRowsBefore),
|
2930
|
-
mceTableInsertRowAfter: () => f(e.insertRowsAfter),
|
2931
|
-
mceTableInsertColBefore: () => f(e.insertColumnsBefore),
|
2932
|
-
mceTableInsertColAfter: () => f(e.insertColumnsAfter),
|
2933
|
-
mceTableDeleteCol: () => f(e.deleteColumn),
|
2934
|
-
mceTableDeleteRow: () => f(e.deleteRow),
|
2935
|
-
mceTableCutCol: () => p().each((m) => {
|
2936
|
-
da(m), f(e.deleteColumn);
|
2937
|
-
}),
|
2938
|
-
mceTableCutRow: () => h().each((m) => {
|
2939
|
-
ia(m), f(e.deleteRow);
|
2940
|
-
}),
|
2941
|
-
mceTableCopyCol: () => p().each((m) => da(m)),
|
2942
|
-
mceTableCopyRow: () => h().each((m) => ia(m)),
|
2943
|
-
mceTablePasteColBefore: () => g(e.pasteColsBefore, ma),
|
2944
|
-
mceTablePasteColAfter: () => g(e.pasteColsAfter, ma),
|
2945
|
-
mceTablePasteRowBefore: () => g(e.pasteRowsBefore, ua),
|
2946
|
-
mceTablePasteRowAfter: () => g(e.pasteRowsAfter, ua),
|
2947
|
-
mceTableDelete: o,
|
2948
|
-
mceTableCellToggleClass: a,
|
2949
|
-
mceTableToggleClass: l,
|
2950
|
-
mceTableToggleCaption: i,
|
2951
|
-
mceTableSizingMode: (m, y) => s(y),
|
2952
|
-
mceTableCellType: C((m) => m === "th" ? e.makeCellsHeader : e.unmakeCellsHeader),
|
2953
|
-
mceTableColType: C((m) => m === "th" ? e.makeColumnsHeader : e.unmakeColumnsHeader),
|
2954
|
-
mceTableRowType: C((m) => {
|
2955
|
-
switch (m) {
|
2956
|
-
case "header":
|
2957
|
-
return e.makeRowsHeader;
|
2958
|
-
case "footer":
|
2959
|
-
return e.makeRowsFooter;
|
2960
|
-
default:
|
2961
|
-
return e.makeRowsBody;
|
2962
|
-
}
|
2963
|
-
})
|
2964
|
-
}, (m, y) => t.addCommand(y, m)), t.addCommand("mceInsertTable", (m, y) => {
|
2965
|
-
Rh(t, y.rows, y.columns, y.options);
|
2966
|
-
}), t.addCommand("mceTableApplyCellStyle", (m, y) => {
|
2967
|
-
const v = (D) => "tablecell" + D.toLowerCase().replace("-", "");
|
2968
|
-
if (!er(y))
|
2969
|
-
return;
|
2970
|
-
const b = H(_t(t), Qo);
|
2971
|
-
if (b.length === 0)
|
2972
|
-
return;
|
2973
|
-
const $ = $i(y, (D, O) => t.formatter.has(v(O)) && _e(D));
|
2974
|
-
Ei($) || (dt($, (D, O) => {
|
2975
|
-
const A = v(O);
|
2976
|
-
x(b, (Rt) => {
|
2977
|
-
D === "" ? t.formatter.remove(A, { value: null }, Rt.dom, !0) : t.formatter.apply(A, { value: D }, Rt.dom);
|
2978
|
-
});
|
2979
|
-
}), r(b[0]).each((D) => oe(t, D.dom, qn)));
|
2980
|
-
});
|
2981
|
-
}, $h = (t, e) => {
|
2982
|
-
const n = Se(t), o = (s) => rs(En(t)).bind((r) => lt(r, n).map((c) => {
|
2983
|
-
const l = Ln(_t(t), c, r);
|
2984
|
-
return s(c, l);
|
2985
|
-
})).getOr("");
|
2986
|
-
dt({
|
2987
|
-
mceTableRowType: () => o(e.getTableRowType),
|
2988
|
-
mceTableCellType: () => o(e.getTableCellType),
|
2989
|
-
mceTableColType: () => o(e.getTableColType)
|
2990
|
-
}, (s, r) => t.addQueryValueHandler(r, s));
|
2991
|
-
}, Ds = ne.generate([
|
2992
|
-
{ before: ["element"] },
|
2993
|
-
{
|
2994
|
-
on: [
|
2995
|
-
"element",
|
2996
|
-
"offset"
|
2997
|
-
]
|
2998
|
-
},
|
2999
|
-
{ after: ["element"] }
|
3000
|
-
]), Dh = (t, e, n, o) => t.fold(e, n, o), Oh = (t) => t.fold(M, M, M), Eh = Ds.before, Bh = Ds.on, Wh = Ds.after, K = {
|
3001
|
-
before: Eh,
|
3002
|
-
on: Bh,
|
3003
|
-
after: Wh,
|
3004
|
-
cata: Dh,
|
3005
|
-
getStart: Oh
|
3006
|
-
}, xe = { create: (t, e) => ({
|
3007
|
-
selection: t,
|
3008
|
-
kill: e
|
3009
|
-
}) }, Ph = (t, e) => {
|
3010
|
-
const n = t.document.createRange();
|
3011
|
-
return n.selectNode(e.dom), n;
|
3012
|
-
}, _h = (t, e) => {
|
3013
|
-
const n = t.document.createRange();
|
3014
|
-
return Lh(n, e), n;
|
3015
|
-
}, Lh = (t, e) => t.selectNodeContents(e.dom), Ah = (t, e) => {
|
3016
|
-
e.fold((n) => {
|
3017
|
-
t.setStartBefore(n.dom);
|
3018
|
-
}, (n, o) => {
|
3019
|
-
t.setStart(n.dom, o);
|
3020
|
-
}, (n) => {
|
3021
|
-
t.setStartAfter(n.dom);
|
3022
|
-
});
|
3023
|
-
}, Mh = (t, e) => {
|
3024
|
-
e.fold((n) => {
|
3025
|
-
t.setEndBefore(n.dom);
|
3026
|
-
}, (n, o) => {
|
3027
|
-
t.setEnd(n.dom, o);
|
3028
|
-
}, (n) => {
|
3029
|
-
t.setEndAfter(n.dom);
|
3030
|
-
});
|
3031
|
-
}, fa = (t, e, n) => {
|
3032
|
-
const o = t.document.createRange();
|
3033
|
-
return Ah(o, e), Mh(o, n), o;
|
3034
|
-
}, Os = (t, e, n, o, s) => {
|
3035
|
-
const r = t.document.createRange();
|
3036
|
-
return r.setStart(e.dom, n), r.setEnd(o.dom, s), r;
|
3037
|
-
}, Nh = (t) => ({
|
3038
|
-
left: t.left,
|
3039
|
-
top: t.top,
|
3040
|
-
right: t.right,
|
3041
|
-
bottom: t.bottom,
|
3042
|
-
width: t.width,
|
3043
|
-
height: t.height
|
3044
|
-
}), zh = (t) => {
|
3045
|
-
const e = t.getClientRects(), n = e.length > 0 ? e[0] : t.getBoundingClientRect();
|
3046
|
-
return n.width > 0 || n.height > 0 ? u.some(n).map(Nh) : u.none();
|
3047
|
-
}, nn = ne.generate([
|
3048
|
-
{
|
3049
|
-
ltr: [
|
3050
|
-
"start",
|
3051
|
-
"soffset",
|
3052
|
-
"finish",
|
3053
|
-
"foffset"
|
3054
|
-
]
|
3055
|
-
},
|
3056
|
-
{
|
3057
|
-
rtl: [
|
3058
|
-
"start",
|
3059
|
-
"soffset",
|
3060
|
-
"finish",
|
3061
|
-
"foffset"
|
3062
|
-
]
|
3063
|
-
}
|
3064
|
-
]), ga = (t, e, n) => e(w.fromDom(n.startContainer), n.startOffset, w.fromDom(n.endContainer), n.endOffset), Hh = (t, e) => e.match({
|
3065
|
-
domRange: (n) => ({
|
3066
|
-
ltr: T(n),
|
3067
|
-
rtl: u.none
|
3068
|
-
}),
|
3069
|
-
relative: (n, o) => ({
|
3070
|
-
ltr: Fe(() => fa(t, n, o)),
|
3071
|
-
rtl: Fe(() => u.some(fa(t, o, n)))
|
3072
|
-
}),
|
3073
|
-
exact: (n, o, s, r) => ({
|
3074
|
-
ltr: Fe(() => Os(t, n, o, s, r)),
|
3075
|
-
rtl: Fe(() => u.some(Os(t, s, r, n, o)))
|
3076
|
-
})
|
3077
|
-
}), Ih = (t, e) => {
|
3078
|
-
const n = e.ltr();
|
3079
|
-
return n.collapsed ? e.rtl().filter((s) => s.collapsed === !1).map((s) => nn.rtl(w.fromDom(s.endContainer), s.endOffset, w.fromDom(s.startContainer), s.startOffset)).getOrThunk(() => ga(t, nn.ltr, n)) : ga(t, nn.ltr, n);
|
3080
|
-
}, pa = (t, e) => {
|
3081
|
-
const n = Hh(t, e);
|
3082
|
-
return Ih(t, n);
|
3083
|
-
}, Es = (t, e) => pa(t, e).match({
|
3084
|
-
ltr: (o, s, r, c) => {
|
3085
|
-
const l = t.document.createRange();
|
3086
|
-
return l.setStart(o.dom, s), l.setEnd(r.dom, c), l;
|
3087
|
-
},
|
3088
|
-
rtl: (o, s, r, c) => {
|
3089
|
-
const l = t.document.createRange();
|
3090
|
-
return l.setStart(r.dom, c), l.setEnd(o.dom, s), l;
|
3091
|
-
}
|
3092
|
-
});
|
3093
|
-
nn.ltr, nn.rtl;
|
3094
|
-
const on = { create: (t, e, n, o) => ({
|
3095
|
-
start: t,
|
3096
|
-
soffset: e,
|
3097
|
-
finish: n,
|
3098
|
-
foffset: o
|
3099
|
-
}) }, ha = { create: (t, e, n, o) => ({
|
3100
|
-
start: K.on(t, e),
|
3101
|
-
finish: K.on(n, o)
|
3102
|
-
}) }, wa = (t, e) => {
|
3103
|
-
const n = Es(t, e);
|
3104
|
-
return on.create(w.fromDom(n.startContainer), n.startOffset, w.fromDom(n.endContainer), n.endOffset);
|
3105
|
-
}, Xn = ha.create, Fh = (t, e, n, o, s, r, c) => W(n, s) && o === r ? u.none() : G(n, "td,th", e).bind((l) => G(s, "td,th", e).bind((a) => ba(t, e, l, a, c))), ba = (t, e, n, o, s) => W(n, o) ? u.none() : Pn(n, o, e).bind((r) => {
|
3106
|
-
const c = r.boxes.getOr([]);
|
3107
|
-
return c.length > 1 ? (s(t, c, r.start, r.finish), u.some(xe.create(u.some(Xn(n, 0, n, Ut(n))), !0))) : u.none();
|
3108
|
-
}), jh = (t, e, n, o, s) => {
|
3109
|
-
const r = (c) => (s.clearBeforeUpdate(n), s.selectRange(n, c.boxes, c.start, c.finish), c.boxes);
|
3110
|
-
return mf(o, t, e, s.firstSelectedSelector, s.lastSelectedSelector).map(r);
|
3111
|
-
}, Bs = (t, e) => ({
|
3112
|
-
item: t,
|
3113
|
-
mode: e
|
3114
|
-
}), Ca = (t, e, n, o = ke) => t.property().parent(e).map((s) => Bs(s, o)), ke = (t, e, n, o = sn) => n.sibling(t, e).map((s) => Bs(s, o)), sn = (t, e, n, o = sn) => {
|
3115
|
-
const s = t.property().children(e);
|
3116
|
-
return n.first(s).map((c) => Bs(c, o));
|
3117
|
-
}, Gh = [
|
3118
|
-
{
|
3119
|
-
current: Ca,
|
3120
|
-
next: ke,
|
3121
|
-
fallback: u.none()
|
3122
|
-
},
|
3123
|
-
{
|
3124
|
-
current: ke,
|
3125
|
-
next: sn,
|
3126
|
-
fallback: u.some(Ca)
|
3127
|
-
},
|
3128
|
-
{
|
3129
|
-
current: sn,
|
3130
|
-
next: sn,
|
3131
|
-
fallback: u.some(ke)
|
3132
|
-
}
|
3133
|
-
], ya = (t, e, n, o, s = Gh) => Dt(s, (c) => c.current === n).bind((c) => c.current(t, e, o, c.next).orThunk(() => c.fallback.bind((l) => ya(t, e, l, o)))), Sa = {
|
3134
|
-
left: () => ({
|
3135
|
-
sibling: (n, o) => n.query().prevSibling(o),
|
3136
|
-
first: (n) => n.length > 0 ? u.some(n[n.length - 1]) : u.none()
|
3137
|
-
}),
|
3138
|
-
right: () => ({
|
3139
|
-
sibling: (n, o) => n.query().nextSibling(o),
|
3140
|
-
first: (n) => n.length > 0 ? u.some(n[0]) : u.none()
|
3141
|
-
})
|
3142
|
-
}, Ws = (t, e, n, o, s, r) => ya(t, e, o, s).bind((l) => r(l.item) ? u.none() : n(l.item) ? u.some(l.item) : Ws(t, l.item, n, l.mode, s, r)), Uh = (t, e, n, o) => Ws(t, e, n, ke, Sa.left(), o), Vh = (t, e, n, o) => Ws(t, e, n, ke, Sa.right(), o), Ra = (t) => (e) => t.property().children(e).length === 0, qh = (t, e, n) => Ta(t, e, Ra(t), n), Kh = (t, e, n) => va(t, e, Ra(t), n), Ta = Uh, va = Vh, Yn = Wn(), xa = (t, e) => qh(Yn, t, e), ka = (t, e) => Kh(Yn, t, e), Xh = (t, e, n) => Ta(Yn, t, e, n), Yh = (t, e, n) => va(Yn, t, e, n), Jh = (t, e, n) => He(t, e, n).isSome(), Jn = ne.generate([
|
3143
|
-
{ none: ["message"] },
|
3144
|
-
{ success: [] },
|
3145
|
-
{ failedUp: ["cell"] },
|
3146
|
-
{ failedDown: ["cell"] }
|
3147
|
-
]), Qh = (t, e, n) => {
|
3148
|
-
const o = t.getRect(e), s = t.getRect(n);
|
3149
|
-
return s.right > o.left && s.left < o.right;
|
3150
|
-
}, Zh = (t) => G(t, "tr"), tw = (t, e, n, o, s, r, c) => G(o, "td,th", c).bind((l) => G(e, "td,th", c).map((a) => W(l, a) ? W(o, l) && Ut(l) === s ? r(a) : Jn.none("in same cell") : ts(Zh, [
|
3151
|
-
l,
|
3152
|
-
a
|
3153
|
-
]).fold(() => Qh(t, a, l) ? Jn.success() : r(a), (i) => r(a)))).getOr(Jn.none("default")), ew = (t, e, n, o, s) => t.fold(e, n, o, s), $e = it(et({}, Jn), {
|
3154
|
-
verify: tw,
|
3155
|
-
cata: ew
|
3156
|
-
}), nw = (t, e, n, o) => ({
|
3157
|
-
parent: t,
|
3158
|
-
children: e,
|
3159
|
-
element: n,
|
3160
|
-
index: o
|
3161
|
-
}), ow = (t) => Xt(t).bind((e) => {
|
3162
|
-
const n = ft(e);
|
3163
|
-
return sw(n, t).map((o) => nw(e, n, t, o));
|
3164
|
-
}), sw = (t, e) => mo(t, Q(W, e)), Ps = rt("br"), _s = (t, e, n) => e(t, n).bind((o) => qt(o) && Vo(o).trim().length === 0 ? _s(o, e, n) : u.some(o)), rw = (t, e, n) => n.traverse(e).orThunk(() => _s(e, n.gather, t)).map(n.relative), cw = (t, e) => hn(t, e).filter(Ps).orThunk(() => hn(t, e - 1).filter(Ps)), lw = (t, e, n, o) => cw(e, n).bind((s) => o.traverse(s).fold(() => _s(s, o.gather, t).map(o.relative), (r) => ow(r).map((c) => K.on(c.parent, c.index)))), aw = (t, e, n, o) => (Ps(e) ? rw(t, e, o) : lw(t, e, n, o)).map((r) => ({
|
3165
|
-
start: r,
|
3166
|
-
finish: r
|
3167
|
-
})), iw = (t) => $e.cata(t, (e) => u.none(), () => u.none(), (e) => u.some(Ke(e, 0)), (e) => u.some(Ke(e, Ut(e)))), Qn = (t, e) => ({
|
3168
|
-
left: t.left,
|
3169
|
-
top: t.top + e,
|
3170
|
-
right: t.right,
|
3171
|
-
bottom: t.bottom + e
|
3172
|
-
}), Zn = (t, e) => ({
|
3173
|
-
left: t.left,
|
3174
|
-
top: t.top - e,
|
3175
|
-
right: t.right,
|
3176
|
-
bottom: t.bottom - e
|
3177
|
-
}), $a = (t, e, n) => ({
|
3178
|
-
left: t.left + e,
|
3179
|
-
top: t.top + n,
|
3180
|
-
right: t.right + e,
|
3181
|
-
bottom: t.bottom + n
|
3182
|
-
}), uw = (t) => t.top, dw = (t) => t.bottom, mw = (t, e, n) => n >= 0 && n < Ut(e) ? t.getRangedRect(e, n, e, n + 1) : n > 0 ? t.getRangedRect(e, n - 1, e, n) : u.none(), to = (t) => ({
|
3183
|
-
left: t.left,
|
3184
|
-
top: t.top,
|
3185
|
-
right: t.right,
|
3186
|
-
bottom: t.bottom
|
3187
|
-
}), Da = (t, e) => u.some(t.getRect(e)), Oa = (t, e, n) => Ot(e) ? Da(t, e).map(to) : qt(e) ? mw(t, e, n).map(to) : u.none(), Ea = (t, e) => Ot(e) ? Da(t, e).map(to) : qt(e) ? t.getRangedRect(e, 0, e, Ut(e)).map(to) : u.none(), re = 5, fw = 100, Lt = ne.generate([
|
3188
|
-
{ none: [] },
|
3189
|
-
{ retry: ["caret"] }
|
3190
|
-
]), gw = (t, e) => t.left < e.left || Math.abs(e.right - t.left) < 1 || t.left > e.right, Ba = (t, e, n) => Ro(e, ws).fold(xt, (o) => Ea(t, o).exists((s) => gw(n, s))), pw = (t, e, n, o, s) => {
|
3191
|
-
const r = Qn(s, re);
|
3192
|
-
return Math.abs(n.bottom - o.bottom) < 1 || n.top > s.bottom ? Lt.retry(r) : n.top === s.bottom ? Lt.retry(Qn(s, 1)) : Ba(t, e, s) ? Lt.retry($a(r, re, 0)) : Lt.none();
|
3193
|
-
}, hw = {
|
3194
|
-
point: uw,
|
3195
|
-
adjuster: (t, e, n, o, s) => {
|
3196
|
-
const r = Zn(s, re);
|
3197
|
-
return Math.abs(n.top - o.top) < 1 || n.bottom < s.top ? Lt.retry(r) : n.bottom === s.top ? Lt.retry(Zn(s, 1)) : Ba(t, e, s) ? Lt.retry($a(r, re, 0)) : Lt.none();
|
3198
|
-
},
|
3199
|
-
move: Zn,
|
3200
|
-
gather: xa
|
3201
|
-
}, ww = {
|
3202
|
-
point: dw,
|
3203
|
-
adjuster: pw,
|
3204
|
-
move: Qn,
|
3205
|
-
gather: ka
|
3206
|
-
}, bw = (t, e, n) => t.elementFromPoint(e, n).filter((o) => P(o) === "table").isSome(), Cw = (t, e, n, o, s) => Ls(t, e, n, e.move(o, re), s), Ls = (t, e, n, o, s) => s === 0 ? u.some(o) : bw(t, o.left, e.point(o)) ? Cw(t, e, n, o, s - 1) : t.situsFromPoint(o.left, e.point(o)).bind((r) => r.start.fold(u.none, (c) => Ea(t, c).bind((l) => e.adjuster(t, c, l, n, o).fold(u.none, (a) => Ls(t, e, n, a, s - 1))).orThunk(() => u.some(o)), u.none)), yw = (t, e, n) => t.point(e) > n.getInnerHeight() ? u.some(t.point(e) - n.getInnerHeight()) : t.point(e) < 0 ? u.some(-t.point(e)) : u.none(), Wa = (t, e, n) => {
|
3207
|
-
const o = t.move(n, re), s = Ls(e, t, n, o, fw).getOr(o);
|
3208
|
-
return yw(t, s, e).fold(() => e.situsFromPoint(s.left, t.point(s)), (r) => (e.scrollBy(0, r), e.situsFromPoint(s.left, t.point(s) - r)));
|
3209
|
-
}, As = {
|
3210
|
-
tryUp: Q(Wa, hw),
|
3211
|
-
tryDown: Q(Wa, ww),
|
3212
|
-
getJumpSize: T(re)
|
3213
|
-
}, Sw = 20, Rw = (t, e, n) => t.getSelection().bind((o) => aw(e, o.finish, o.foffset, n).fold(() => u.some(Ke(o.finish, o.foffset)), (s) => {
|
3214
|
-
const r = t.fromSitus(s), c = $e.verify(t, o.finish, o.foffset, r.finish, r.foffset, n.failure, e);
|
3215
|
-
return iw(c);
|
3216
|
-
})), Ms = (t, e, n, o, s, r) => r === 0 ? u.none() : Tw(t, e, n, o, s).bind((c) => {
|
3217
|
-
const l = t.fromSitus(c), a = $e.verify(t, n, o, l.finish, l.foffset, s.failure, e);
|
3218
|
-
return $e.cata(a, () => u.none(), () => u.some(c), (i) => W(n, i) && o === 0 ? Pa(t, n, o, Zn, s) : Ms(t, e, i, 0, s, r - 1), (i) => W(n, i) && o === Ut(i) ? Pa(t, n, o, Qn, s) : Ms(t, e, i, Ut(i), s, r - 1));
|
3219
|
-
}), Pa = (t, e, n, o, s) => Oa(t, e, n).bind((r) => _a(t, s, o(r, As.getJumpSize()))), _a = (t, e, n) => {
|
3220
|
-
const o = Qr().browser;
|
3221
|
-
return o.isChromium() || o.isSafari() || o.isFirefox() ? e.retry(t, n) : u.none();
|
3222
|
-
}, Tw = (t, e, n, o, s) => Oa(t, n, o).bind((r) => _a(t, s, r)), vw = (t, e, n) => Rw(t, e, n).bind((o) => Ms(t, e, o.element, o.offset, n, Sw).map(t.fromSitus)), xw = (t, e) => Jh(t, (n) => Xt(n).exists((o) => W(o, e))), La = (t, e, n, o, s) => G(o, "td,th", e).bind((r) => G(r, "table", e).bind((c) => xw(s, c) ? vw(t, e, n).bind((l) => G(l.finish, "td,th", e).map((a) => ({
|
3223
|
-
start: r,
|
3224
|
-
finish: a,
|
3225
|
-
range: l
|
3226
|
-
}))) : u.none())), Aa = (t, e, n, o, s, r) => r(o, e).orThunk(() => La(t, e, n, o, s).map((c) => {
|
3227
|
-
const l = c.range;
|
3228
|
-
return xe.create(u.some(Xn(l.start, l.soffset, l.finish, l.foffset)), !0);
|
3229
|
-
})), kw = (t, e) => G(t, "tr", e).bind((n) => G(n, "table", e).bind((o) => {
|
3230
|
-
const s = Bt(o, "tr");
|
3231
|
-
return W(n, s[0]) ? Xh(o, (r) => Lc(r).isSome(), e).map((r) => {
|
3232
|
-
const c = Ut(r);
|
3233
|
-
return xe.create(u.some(Xn(r, c, r, c)), !0);
|
3234
|
-
}) : u.none();
|
3235
|
-
})), $w = (t, e) => G(t, "tr", e).bind((n) => G(n, "table", e).bind((o) => {
|
3236
|
-
const s = Bt(o, "tr");
|
3237
|
-
return W(n, s[s.length - 1]) ? Yh(o, (r) => _c(r).isSome(), e).map((r) => xe.create(u.some(Xn(r, 0, r, 0)), !0)) : u.none();
|
3238
|
-
})), Ma = (t, e, n, o, s, r, c) => La(t, n, o, s, r).bind((l) => ba(e, n, l.start, l.finish, c)), Ns = (t) => {
|
3239
|
-
let e = t;
|
3240
|
-
return {
|
3241
|
-
get: () => e,
|
3242
|
-
set: (s) => {
|
3243
|
-
e = s;
|
3244
|
-
}
|
3245
|
-
};
|
3246
|
-
}, Dw = (t) => {
|
3247
|
-
const e = Ns(u.none()), n = () => e.get().each(t);
|
3248
|
-
return {
|
3249
|
-
clear: () => {
|
3250
|
-
n(), e.set(u.none());
|
3251
|
-
},
|
3252
|
-
isSet: () => e.get().isSome(),
|
3253
|
-
get: () => e.get(),
|
3254
|
-
set: (l) => {
|
3255
|
-
n(), e.set(u.some(l));
|
3256
|
-
}
|
3257
|
-
};
|
3258
|
-
}, eo = () => {
|
3259
|
-
const t = Dw(R), e = (n) => t.get().each(n);
|
3260
|
-
return it(et({}, t), {
|
3261
|
-
on: e
|
3262
|
-
});
|
3263
|
-
}, Na = (t, e) => G(t, "td,th", e), Ow = (t) => Sr(t).exists(qe), Ew = (t, e, n, o) => {
|
3264
|
-
const s = eo(), r = s.clear, c = (d) => {
|
3265
|
-
s.on((f) => {
|
3266
|
-
o.clearBeforeUpdate(e), Na(d.target, n).each((h) => {
|
3267
|
-
Pn(f, h, n).each((p) => {
|
3268
|
-
const g = p.boxes.getOr([]);
|
3269
|
-
if (g.length === 1) {
|
3270
|
-
const C = g[0], m = qc(C) === "false", y = vo(Vc(d.target), C, W);
|
3271
|
-
m && y && o.selectRange(e, g, C, C);
|
3272
|
-
} else g.length > 1 && (o.selectRange(e, g, p.start, p.finish), t.selectContents(h));
|
3273
|
-
});
|
3274
|
-
});
|
3275
|
-
});
|
3276
|
-
};
|
3277
|
-
return {
|
3278
|
-
clearstate: r,
|
3279
|
-
mousedown: (d) => {
|
3280
|
-
o.clear(e), Na(d.target, n).filter(Ow).each(s.set);
|
3281
|
-
},
|
3282
|
-
mouseover: (d) => {
|
3283
|
-
c(d);
|
3284
|
-
},
|
3285
|
-
mouseup: (d) => {
|
3286
|
-
c(d), r();
|
3287
|
-
}
|
3288
|
-
};
|
3289
|
-
}, za = {
|
3290
|
-
traverse: pn,
|
3291
|
-
gather: ka,
|
3292
|
-
relative: K.before,
|
3293
|
-
retry: As.tryDown,
|
3294
|
-
failure: $e.failedDown
|
3295
|
-
}, Ha = {
|
3296
|
-
traverse: Tr,
|
3297
|
-
gather: xa,
|
3298
|
-
relative: K.before,
|
3299
|
-
retry: As.tryUp,
|
3300
|
-
failure: $e.failedUp
|
3301
|
-
}, De = (t) => (e) => e === t, zs = De(38), no = De(40), Oe = (t) => t >= 37 && t <= 40, Bw = {
|
3302
|
-
isBackward: De(37),
|
3303
|
-
isForward: De(39)
|
3304
|
-
}, Ww = {
|
3305
|
-
isBackward: De(39),
|
3306
|
-
isForward: De(37)
|
3307
|
-
}, Pw = (t) => {
|
3308
|
-
const e = t !== void 0 ? t.dom : document, n = e.body.scrollLeft || e.documentElement.scrollLeft, o = e.body.scrollTop || e.documentElement.scrollTop;
|
3309
|
-
return Ft(n, o);
|
3310
|
-
}, _w = (t, e, n) => {
|
3311
|
-
const s = (n !== void 0 ? n.dom : document).defaultView;
|
3312
|
-
s && s.scrollBy(t, e);
|
3313
|
-
}, oo = ne.generate([
|
3314
|
-
{ domRange: ["rng"] },
|
3315
|
-
{
|
3316
|
-
relative: [
|
3317
|
-
"startSitu",
|
3318
|
-
"finishSitu"
|
3319
|
-
]
|
3320
|
-
},
|
3321
|
-
{
|
3322
|
-
exact: [
|
3323
|
-
"start",
|
3324
|
-
"soffset",
|
3325
|
-
"finish",
|
3326
|
-
"foffset"
|
3327
|
-
]
|
3328
|
-
}
|
3329
|
-
]), Lw = (t) => oo.exact(t.start, t.soffset, t.finish, t.foffset), Aw = (t) => t.match({
|
3330
|
-
domRange: (e) => w.fromDom(e.startContainer),
|
3331
|
-
relative: (e, n) => K.getStart(e),
|
3332
|
-
exact: (e, n, o, s) => e
|
3333
|
-
}), Mw = oo.domRange, Nw = oo.relative, zw = oo.exact, Hw = (t) => {
|
3334
|
-
const e = Aw(t);
|
3335
|
-
return Xi(e);
|
3336
|
-
}, Iw = on.create, Ee = {
|
3337
|
-
domRange: Mw,
|
3338
|
-
relative: Nw,
|
3339
|
-
exact: zw,
|
3340
|
-
exactFromRange: Lw,
|
3341
|
-
getWin: Hw,
|
3342
|
-
range: Iw
|
3343
|
-
}, Fw = (t, e, n) => {
|
3344
|
-
var o;
|
3345
|
-
return u.from((o = t.caretPositionFromPoint) === null || o === void 0 ? void 0 : o.call(t, e, n)).bind((s) => {
|
3346
|
-
if (s.offsetNode === null)
|
3347
|
-
return u.none();
|
3348
|
-
const r = t.createRange();
|
3349
|
-
return r.setStart(s.offsetNode, s.offset), r.collapse(), u.some(r);
|
3350
|
-
});
|
3351
|
-
}, jw = (t, e, n) => {
|
3352
|
-
var o;
|
3353
|
-
return u.from((o = t.caretRangeFromPoint) === null || o === void 0 ? void 0 : o.call(t, e, n));
|
3354
|
-
}, Gw = (t, e, n) => t.caretPositionFromPoint ? Fw(t, e, n) : t.caretRangeFromPoint ? jw(t, e, n) : u.none(), Uw = (t, e, n) => {
|
3355
|
-
const o = t.document;
|
3356
|
-
return Gw(o, e, n).map((s) => on.create(w.fromDom(s.startContainer), s.startOffset, w.fromDom(s.endContainer), s.endOffset));
|
3357
|
-
}, so = (t, e) => {
|
3358
|
-
const n = P(t);
|
3359
|
-
return n === "input" ? K.after(t) : z([
|
3360
|
-
"br",
|
3361
|
-
"img"
|
3362
|
-
], n) ? e === 0 ? K.before(t) : K.after(t) : K.on(t, e);
|
3363
|
-
}, Vw = (t, e) => {
|
3364
|
-
const n = t.fold(K.before, so, K.after), o = e.fold(K.before, so, K.after);
|
3365
|
-
return Ee.relative(n, o);
|
3366
|
-
}, qw = (t, e, n, o) => {
|
3367
|
-
const s = so(t, e), r = so(n, o);
|
3368
|
-
return Ee.relative(s, r);
|
3369
|
-
}, Kw = (t, e, n, o) => {
|
3370
|
-
const r = fn(t).dom.createRange();
|
3371
|
-
return r.setStart(t.dom, e), r.setEnd(n.dom, o), r;
|
3372
|
-
}, Xw = (t, e, n, o) => {
|
3373
|
-
const s = Kw(t, e, n, o), r = W(t, n) && e === o;
|
3374
|
-
return s.collapsed && !r;
|
3375
|
-
}, ro = (t) => u.from(t.getSelection()), Ia = (t, e) => {
|
3376
|
-
ro(t).each((n) => {
|
3377
|
-
n.removeAllRanges(), n.addRange(e);
|
3378
|
-
});
|
3379
|
-
}, Hs = (t, e, n, o, s) => {
|
3380
|
-
const r = Os(t, e, n, o, s);
|
3381
|
-
Ia(t, r);
|
3382
|
-
}, Yw = (t, e, n, o, s, r) => {
|
3383
|
-
e.collapse(n.dom, o), e.extend(s.dom, r);
|
3384
|
-
}, Fa = (t, e) => pa(t, e).match({
|
3385
|
-
ltr: (n, o, s, r) => {
|
3386
|
-
Hs(t, n, o, s, r);
|
3387
|
-
},
|
3388
|
-
rtl: (n, o, s, r) => {
|
3389
|
-
ro(t).each((c) => {
|
3390
|
-
if (c.setBaseAndExtent)
|
3391
|
-
c.setBaseAndExtent(n.dom, o, s.dom, r);
|
3392
|
-
else if (c.extend)
|
3393
|
-
try {
|
3394
|
-
Yw(t, c, n, o, s, r);
|
3395
|
-
} catch (l) {
|
3396
|
-
Hs(t, s, r, n, o);
|
3397
|
-
}
|
3398
|
-
else
|
3399
|
-
Hs(t, s, r, n, o);
|
3400
|
-
});
|
3401
|
-
}
|
3402
|
-
}), ja = (t, e, n, o, s) => {
|
3403
|
-
const r = qw(e, n, o, s);
|
3404
|
-
Fa(t, r);
|
3405
|
-
}, Ga = (t, e, n) => {
|
3406
|
-
const o = Vw(e, n);
|
3407
|
-
Fa(t, o);
|
3408
|
-
}, Ua = (t) => {
|
3409
|
-
if (t.rangeCount > 0) {
|
3410
|
-
const e = t.getRangeAt(0), n = t.getRangeAt(t.rangeCount - 1);
|
3411
|
-
return u.some(on.create(w.fromDom(e.startContainer), e.startOffset, w.fromDom(n.endContainer), n.endOffset));
|
3412
|
-
} else
|
3413
|
-
return u.none();
|
3414
|
-
}, Jw = (t) => {
|
3415
|
-
if (t.anchorNode === null || t.focusNode === null)
|
3416
|
-
return Ua(t);
|
3417
|
-
{
|
3418
|
-
const e = w.fromDom(t.anchorNode), n = w.fromDom(t.focusNode);
|
3419
|
-
return Xw(e, t.anchorOffset, n, t.focusOffset) ? u.some(on.create(e, t.anchorOffset, n, t.focusOffset)) : Ua(t);
|
3420
|
-
}
|
3421
|
-
}, Va = (t, e, n = !0) => {
|
3422
|
-
const s = (n ? _h : Ph)(t, e);
|
3423
|
-
Ia(t, s);
|
3424
|
-
}, Qw = (t) => ro(t).filter((e) => e.rangeCount > 0).bind(Jw), qa = (t) => Qw(t).map((e) => Ee.exact(e.start, e.soffset, e.finish, e.foffset)), Zw = (t, e) => {
|
3425
|
-
const n = Es(t, e);
|
3426
|
-
return zh(n);
|
3427
|
-
}, tb = (t, e, n) => Uw(t, e, n), eb = (t) => {
|
3428
|
-
ro(t).each((e) => e.removeAllRanges());
|
3429
|
-
}, Is = (t) => ({
|
3430
|
-
elementFromPoint: (m, y) => w.fromPoint(w.fromDom(t.document), m, y),
|
3431
|
-
getRect: (m) => m.dom.getBoundingClientRect(),
|
3432
|
-
getRangedRect: (m, y, v, b) => {
|
3433
|
-
const $ = Ee.exact(m, y, v, b);
|
3434
|
-
return Zw(t, $);
|
3435
|
-
},
|
3436
|
-
getSelection: () => qa(t).map((m) => wa(t, m)),
|
3437
|
-
fromSitus: (m) => {
|
3438
|
-
const y = Ee.relative(m.start, m.finish);
|
3439
|
-
return wa(t, y);
|
3440
|
-
},
|
3441
|
-
situsFromPoint: (m, y) => tb(t, m, y).map((v) => ha.create(v.start, v.soffset, v.finish, v.foffset)),
|
3442
|
-
clearSelection: () => {
|
3443
|
-
eb(t);
|
3444
|
-
},
|
3445
|
-
collapseSelection: (m = !1) => {
|
3446
|
-
qa(t).each((y) => y.fold((v) => v.collapse(m), (v, b) => {
|
3447
|
-
const $ = m ? v : b;
|
3448
|
-
Ga(t, $, $);
|
3449
|
-
}, (v, b, $, D) => {
|
3450
|
-
const O = m ? v : $, A = m ? b : D;
|
3451
|
-
ja(t, O, A, O, A);
|
3452
|
-
}));
|
3453
|
-
},
|
3454
|
-
setSelection: (m) => {
|
3455
|
-
ja(t, m.start, m.soffset, m.finish, m.foffset);
|
3456
|
-
},
|
3457
|
-
setRelativeSelection: (m, y) => {
|
3458
|
-
Ga(t, m, y);
|
3459
|
-
},
|
3460
|
-
selectNode: (m) => {
|
3461
|
-
Va(t, m, !1);
|
3462
|
-
},
|
3463
|
-
selectContents: (m) => {
|
3464
|
-
Va(t, m);
|
3465
|
-
},
|
3466
|
-
getInnerHeight: () => t.innerHeight,
|
3467
|
-
getScrollY: () => Pw(w.fromDom(t.document)).top,
|
3468
|
-
scrollBy: (m, y) => {
|
3469
|
-
_w(m, y, w.fromDom(t.document));
|
3470
|
-
}
|
3471
|
-
}), Be = (t, e) => ({
|
3472
|
-
rows: t,
|
3473
|
-
cols: e
|
3474
|
-
}), nb = (t, e, n, o) => {
|
3475
|
-
const s = Is(t), r = Ew(s, e, n, o);
|
3476
|
-
return {
|
3477
|
-
clearstate: r.clearstate,
|
3478
|
-
mousedown: r.mousedown,
|
3479
|
-
mouseover: r.mouseover,
|
3480
|
-
mouseup: r.mouseup
|
3481
|
-
};
|
3482
|
-
}, Ka = (t) => Ro(t, hr).exists(qe), Fs = (t, e) => Ka(t) || Ka(e), ob = (t, e, n, o) => {
|
3483
|
-
const s = Is(t), r = () => (o.clear(e), u.none());
|
3484
|
-
return {
|
3485
|
-
keydown: (a, i, d, f, h, p) => {
|
3486
|
-
const g = a.raw, C = g.which, m = g.shiftKey === !0;
|
3487
|
-
return ns(e, o.selectedSelector).fold(() => (Oe(C) && !m && o.clearBeforeUpdate(e), Oe(C) && m && !Fs(i, f) ? u.none : no(C) && m ? Q(Ma, s, e, n, za, f, i, o.selectRange) : zs(C) && m ? Q(Ma, s, e, n, Ha, f, i, o.selectRange) : no(C) ? Q(Aa, s, n, za, f, i, $w) : zs(C) ? Q(Aa, s, n, Ha, f, i, kw) : u.none), (v) => {
|
3488
|
-
const b = ($) => () => Mt($, (O) => jh(O.rows, O.cols, e, v, o)).fold(() => el(e, o.firstSelectedSelector, o.lastSelectedSelector).map((O) => {
|
3489
|
-
const A = no(C) || p.isForward(C) ? K.after : K.before;
|
3490
|
-
return s.setRelativeSelection(K.on(O.first, 0), A(O.table)), o.clear(e), xe.create(u.none(), !0);
|
3491
|
-
}), (O) => u.some(xe.create(u.none(), !0)));
|
3492
|
-
return Oe(C) && m && !Fs(i, f) ? u.none : no(C) && m ? b([Be(1, 0)]) : zs(C) && m ? b([Be(-1, 0)]) : p.isBackward(C) && m ? b([
|
3493
|
-
Be(0, -1),
|
3494
|
-
Be(-1, 0)
|
3495
|
-
]) : p.isForward(C) && m ? b([
|
3496
|
-
Be(0, 1),
|
3497
|
-
Be(1, 0)
|
3498
|
-
]) : Oe(C) && !m ? r : u.none;
|
3499
|
-
})();
|
3500
|
-
},
|
3501
|
-
keyup: (a, i, d, f, h) => ns(e, o.selectedSelector).fold(() => {
|
3502
|
-
const p = a.raw, g = p.which;
|
3503
|
-
return p.shiftKey === !0 && Oe(g) && Fs(i, f) ? Fh(e, n, i, d, f, h, o.selectRange) : u.none();
|
3504
|
-
}, u.none)
|
3505
|
-
};
|
3506
|
-
}, sb = (t, e, n, o) => {
|
3507
|
-
const s = Is(t);
|
3508
|
-
return (r, c) => {
|
3509
|
-
o.clearBeforeUpdate(e), Pn(r, c, n).each((l) => {
|
3510
|
-
const a = l.boxes.getOr([]);
|
3511
|
-
o.selectRange(e, a, l.start, l.finish), s.selectContents(c), s.collapseSelection();
|
3512
|
-
});
|
3513
|
-
};
|
3514
|
-
}, js = (t, e) => {
|
3515
|
-
const n = Kt(t, e);
|
3516
|
-
return n === void 0 || n === "" ? [] : n.split(" ");
|
3517
|
-
}, rb = (t, e, n) => {
|
3518
|
-
const s = js(t, e).concat([n]);
|
3519
|
-
return N(t, e, s.join(" ")), !0;
|
3520
|
-
}, cb = (t, e, n) => {
|
3521
|
-
const o = H(js(t, e), (s) => s !== n);
|
3522
|
-
return o.length > 0 ? N(t, e, o.join(" ")) : L(t, e), !1;
|
3523
|
-
}, co = (t) => t.dom.classList !== void 0, lb = (t) => js(t, "class"), ab = (t, e) => rb(t, "class", e), ib = (t, e) => cb(t, "class", e), jt = (t, e) => {
|
3524
|
-
co(t) ? t.dom.classList.add(e) : ab(t, e);
|
3525
|
-
}, ub = (t) => {
|
3526
|
-
(co(t) ? t.dom.classList : lb(t)).length === 0 && L(t, "class");
|
3527
|
-
}, db = (t, e) => {
|
3528
|
-
co(t) ? t.dom.classList.remove(e) : ib(t, e), ub(t);
|
3529
|
-
}, Gs = (t, e) => co(t) && t.dom.classList.contains(e), mb = (t, e) => {
|
3530
|
-
x(e, (n) => {
|
3531
|
-
db(t, n);
|
3532
|
-
});
|
3533
|
-
}, fb = (t) => (e) => {
|
3534
|
-
jt(e, t);
|
3535
|
-
}, gb = (t) => (e) => {
|
3536
|
-
mb(e, t);
|
3537
|
-
}, pb = {
|
3538
|
-
byClass: (t) => {
|
3539
|
-
const e = fb(t.selected), n = gb([
|
3540
|
-
t.selected,
|
3541
|
-
t.lastSelected,
|
3542
|
-
t.firstSelected
|
3543
|
-
]), o = (r) => {
|
3544
|
-
const c = Bt(r, t.selectedSelector);
|
3545
|
-
x(c, n);
|
3546
|
-
};
|
3547
|
-
return {
|
3548
|
-
clearBeforeUpdate: o,
|
3549
|
-
clear: o,
|
3550
|
-
selectRange: (r, c, l, a) => {
|
3551
|
-
o(r), x(c, e), jt(l, t.firstSelected), jt(a, t.lastSelected);
|
3552
|
-
},
|
3553
|
-
selectedSelector: t.selectedSelector,
|
3554
|
-
firstSelectedSelector: t.firstSelectedSelector,
|
3555
|
-
lastSelectedSelector: t.lastSelectedSelector
|
3556
|
-
};
|
3557
|
-
},
|
3558
|
-
byAttr: (t, e, n) => {
|
3559
|
-
const o = (a) => {
|
3560
|
-
L(a, t.selected), L(a, t.firstSelected), L(a, t.lastSelected);
|
3561
|
-
}, s = (a) => {
|
3562
|
-
N(a, t.selected, "1");
|
3563
|
-
}, r = (a) => {
|
3564
|
-
c(a), n();
|
3565
|
-
}, c = (a) => {
|
3566
|
-
const i = Bt(a, `${t.selectedSelector},${t.firstSelectedSelector},${t.lastSelectedSelector}`);
|
3567
|
-
x(i, o);
|
3568
|
-
};
|
3569
|
-
return {
|
3570
|
-
clearBeforeUpdate: c,
|
3571
|
-
clear: r,
|
3572
|
-
selectRange: (a, i, d, f) => {
|
3573
|
-
r(a), x(i, s), N(d, t.firstSelected, "1"), N(f, t.lastSelected, "1"), e(i, d, f);
|
3574
|
-
},
|
3575
|
-
selectedSelector: t.selectedSelector,
|
3576
|
-
firstSelectedSelector: t.firstSelectedSelector,
|
3577
|
-
lastSelectedSelector: t.lastSelectedSelector
|
3578
|
-
};
|
3579
|
-
}
|
3580
|
-
}, hb = (t, e, n, o) => {
|
3581
|
-
switch (t.tag) {
|
3582
|
-
case "none":
|
3583
|
-
return e();
|
3584
|
-
case "single":
|
3585
|
-
return o(t.element);
|
3586
|
-
case "multiple":
|
3587
|
-
return n(t.elements);
|
3588
|
-
}
|
3589
|
-
}, wb = () => ({ tag: "none" }), bb = (t) => ({
|
3590
|
-
tag: "multiple",
|
3591
|
-
elements: t
|
3592
|
-
}), Cb = (t) => ({
|
3593
|
-
tag: "single",
|
3594
|
-
element: t
|
3595
|
-
}), yb = (t, e, n) => ({ get: () => nl(t(), n).fold(() => e().fold(wb, Cb), bb) }), Sb = (t, e) => {
|
3596
|
-
const n = t.slice(0, e[e.length - 1].row + 1), o = In(n);
|
3597
|
-
return q(o, (s) => {
|
3598
|
-
const r = s.cells.slice(0, e[e.length - 1].column + 1);
|
3599
|
-
return S(r, (c) => c.element);
|
3600
|
-
});
|
3601
|
-
}, Rb = (t, e) => {
|
3602
|
-
const n = t.slice(e[0].row + e[0].rowspan - 1, t.length), o = In(n);
|
3603
|
-
return q(o, (s) => {
|
3604
|
-
const r = s.cells.slice(e[0].column + e[0].colspan - 1, s.cells.length);
|
3605
|
-
return S(r, (c) => c.element);
|
3606
|
-
});
|
3607
|
-
}, Tb = (t, e, n) => {
|
3608
|
-
const o = k.fromTable(t);
|
3609
|
-
return yt(o, e).map((r) => {
|
3610
|
-
const c = Je(o, n, !1), { rows: l } = F(c), a = Sb(l, r), i = Rb(l, r);
|
3611
|
-
return {
|
3612
|
-
upOrLeftCells: a,
|
3613
|
-
downOrRightCells: i
|
3614
|
-
};
|
3615
|
-
});
|
3616
|
-
}, vb = (t, e, n, o, s, r, c) => ({
|
3617
|
-
target: t,
|
3618
|
-
x: e,
|
3619
|
-
y: n,
|
3620
|
-
stop: o,
|
3621
|
-
prevent: s,
|
3622
|
-
kill: r,
|
3623
|
-
raw: c
|
3624
|
-
}), Xa = (t) => {
|
3625
|
-
const e = w.fromDom(pu(t).getOr(t.target)), n = () => t.stopPropagation(), o = () => t.preventDefault(), s = fi(o, n);
|
3626
|
-
return vb(e, t.clientX, t.clientY, n, o, s, t);
|
3627
|
-
}, xb = (t, e) => (n) => {
|
3628
|
-
t(n) && e(Xa(n));
|
3629
|
-
}, kb = (t, e, n, o, s) => {
|
3630
|
-
const r = xb(n, o);
|
3631
|
-
return t.dom.addEventListener(e, r, s), { unbind: Q(Db, t, e, r, s) };
|
3632
|
-
}, $b = (t, e, n, o) => kb(t, e, n, o, !1), Db = (t, e, n, o) => {
|
3633
|
-
t.dom.removeEventListener(e, n, o);
|
3634
|
-
}, Ob = B, We = (t, e, n) => $b(t, e, Ob, n), rn = Xa, Us = (t) => !Gs(w.fromDom(t.target), "ephox-snooker-resizer-bar"), Eb = (t, e) => {
|
3635
|
-
const n = yb(() => w.fromDom(t.getBody()), () => rs(En(t), Se(t)), ee.selectedSelector), o = (a, i, d) => {
|
3636
|
-
lt(i).each((h) => {
|
3637
|
-
const p = S(a, (v) => v.dom), g = Ic(t), C = Xo(R, w.fromDom(t.getDoc()), g), m = _t(t), y = Tb(h, { selection: m }, C).map((v) => go(v, (b) => S(b, ($) => $.dom))).getOrUndefined();
|
3638
|
-
Np(t, p, i.dom, d.dom, y);
|
3639
|
-
});
|
3640
|
-
}, s = () => zp(t), r = pb.byAttr(ee, o, s);
|
3641
|
-
return t.on("init", (a) => {
|
3642
|
-
const i = t.getWin(), d = On(t), f = Se(t), h = () => {
|
3643
|
-
const E = t.selection, X = w.fromDom(E.getStart()), Y = w.fromDom(E.getEnd());
|
3644
|
-
ts(lt, [
|
3645
|
-
X,
|
3646
|
-
Y
|
3647
|
-
]).fold(() => r.clear(d), R);
|
3648
|
-
}, p = nb(i, d, f, r), g = ob(i, d, f, r), C = sb(i, d, f, r), m = (E) => E.raw.shiftKey === !0;
|
3649
|
-
t.on("TableSelectorChange", (E) => C(E.start, E.finish));
|
3650
|
-
const y = (E, X) => {
|
3651
|
-
m(E) && (X.kill && E.kill(), X.selection.each((Y) => {
|
3652
|
-
const Tt = Ee.relative(Y.start, Y.finish), gt = Es(i, Tt);
|
3653
|
-
t.selection.setRng(gt);
|
3654
|
-
}));
|
3655
|
-
}, v = (E) => {
|
3656
|
-
const X = rn(E);
|
3657
|
-
if (X.raw.shiftKey && Oe(X.raw.which)) {
|
3658
|
-
const Y = t.selection.getRng(), Tt = w.fromDom(Y.startContainer), gt = w.fromDom(Y.endContainer);
|
3659
|
-
g.keyup(X, Tt, Y.startOffset, gt, Y.endOffset).each((Pe) => {
|
3660
|
-
y(X, Pe);
|
3661
|
-
});
|
3662
|
-
}
|
3663
|
-
}, b = (E) => {
|
3664
|
-
const X = rn(E);
|
3665
|
-
e.hide();
|
3666
|
-
const Y = t.selection.getRng(), Tt = w.fromDom(Y.startContainer), gt = w.fromDom(Y.endContainer), Pe = ac(Bw, Ww)(w.fromDom(t.selection.getStart()));
|
3667
|
-
g.keydown(X, Tt, Y.startOffset, gt, Y.endOffset, Pe).each((J) => {
|
3668
|
-
y(X, J);
|
3669
|
-
}), e.show();
|
3670
|
-
}, $ = (E) => E.button === 0, D = (E) => E.buttons === void 0 ? !0 : (E.buttons & 1) !== 0, O = (E) => {
|
3671
|
-
p.clearstate();
|
3672
|
-
}, A = (E) => {
|
3673
|
-
$(E) && Us(E) && p.mousedown(rn(E));
|
3674
|
-
}, Rt = (E) => {
|
3675
|
-
D(E) && Us(E) && p.mouseover(rn(E));
|
3676
|
-
}, le = (E) => {
|
3677
|
-
$(E) && Us(E) && p.mouseup(rn(E));
|
3678
|
-
}, ae = (() => {
|
3679
|
-
const E = Ns(w.fromDom(d)), X = Ns(0);
|
3680
|
-
return { touchEnd: (Tt) => {
|
3681
|
-
const gt = w.fromDom(Tt.target);
|
3682
|
-
if (rt("td")(gt) || rt("th")(gt)) {
|
3683
|
-
const Pe = E.get(), J = X.get();
|
3684
|
-
W(Pe, gt) && Tt.timeStamp - J < 300 && (Tt.preventDefault(), C(gt, gt));
|
3685
|
-
}
|
3686
|
-
E.set(gt), X.set(Tt.timeStamp);
|
3687
|
-
} };
|
3688
|
-
})();
|
3689
|
-
t.on("dragstart", O), t.on("mousedown", A), t.on("mouseover", Rt), t.on("mouseup", le), t.on("touchend", ae.touchEnd), t.on("keyup", v), t.on("keydown", b), t.on("NodeChange", h);
|
3690
|
-
}), t.on("PreInit", () => {
|
3691
|
-
t.serializer.addTempAttr(ee.firstSelected), t.serializer.addTempAttr(ee.lastSelected);
|
3692
|
-
}), {
|
3693
|
-
getSelectedCells: () => hb(n.get(), T([]), (a) => S(a, (i) => i.dom), (a) => [a.dom]),
|
3694
|
-
clearSelectedCells: (a) => r.clear(w.fromDom(a))
|
3695
|
-
};
|
3696
|
-
}, St = (t) => {
|
3697
|
-
let e = [];
|
3698
|
-
return {
|
3699
|
-
bind: (r) => {
|
3700
|
-
if (r === void 0)
|
3701
|
-
throw new Error("Event bind error: undefined handler");
|
3702
|
-
e.push(r);
|
3703
|
-
},
|
3704
|
-
unbind: (r) => {
|
3705
|
-
e = H(e, (c) => c !== r);
|
3706
|
-
},
|
3707
|
-
trigger: (...r) => {
|
3708
|
-
const c = {};
|
3709
|
-
x(t, (l, a) => {
|
3710
|
-
c[l] = r[a];
|
3711
|
-
}), x(e, (l) => {
|
3712
|
-
l(c);
|
3713
|
-
});
|
3714
|
-
}
|
3715
|
-
};
|
3716
|
-
}, ce = (t) => {
|
3717
|
-
const e = go(t, (o) => ({
|
3718
|
-
bind: o.bind,
|
3719
|
-
unbind: o.unbind
|
3720
|
-
})), n = go(t, (o) => o.trigger);
|
3721
|
-
return {
|
3722
|
-
registry: e,
|
3723
|
-
trigger: n
|
3724
|
-
};
|
3725
|
-
}, Bb = (t, e) => {
|
3726
|
-
let n = null;
|
3727
|
-
const o = () => {
|
3728
|
-
ii(n) || (clearTimeout(n), n = null);
|
3729
|
-
};
|
3730
|
-
return {
|
3731
|
-
cancel: o,
|
3732
|
-
throttle: (...r) => {
|
3733
|
-
o(), n = setTimeout(() => {
|
3734
|
-
n = null, t.apply(null, r);
|
3735
|
-
}, e);
|
3736
|
-
}
|
3737
|
-
};
|
3738
|
-
}, cn = (t) => t.slice(0).sort(), Wb = (t, e) => {
|
3739
|
-
throw new Error("All required keys (" + cn(t).join(", ") + ") were not specified. Specified keys were: " + cn(e).join(", ") + ".");
|
3740
|
-
}, Pb = (t) => {
|
3741
|
-
throw new Error("Unsupported keys for object: " + cn(t).join(", "));
|
3742
|
-
}, _b = (t, e) => {
|
3743
|
-
if (!un(e))
|
3744
|
-
throw new Error("The " + t + " fields must be an array. Was: " + e + ".");
|
3745
|
-
x(e, (n) => {
|
3746
|
-
if (!_e(n))
|
3747
|
-
throw new Error("The value " + n + " in the " + t + " fields was not a string.");
|
3748
|
-
});
|
3749
|
-
}, Lb = (t, e) => {
|
3750
|
-
throw new Error("All values need to be of type: " + e + ". Keys (" + cn(t).join(", ") + ") were not.");
|
3751
|
-
}, Ab = (t) => {
|
3752
|
-
const e = cn(t);
|
3753
|
-
Dt(e, (o, s) => s < e.length - 1 && o === e[s + 1]).each((o) => {
|
3754
|
-
throw new Error("The field: " + o + " occurs more than once in the combined fields: [" + e.join(", ") + "].");
|
3755
|
-
});
|
3756
|
-
}, Mb = (t, e) => Nb(t, e, {
|
3757
|
-
validate: Le,
|
3758
|
-
label: "function"
|
3759
|
-
}), Nb = (t, e, n) => {
|
3760
|
-
if (e.length === 0)
|
3761
|
-
throw new Error("You must specify at least one required field.");
|
3762
|
-
return _b("required", e), Ab(e), (o) => {
|
3763
|
-
const s = Ae(o);
|
3764
|
-
wt(e, (l) => z(s, l)) || Wb(e, s), t(e, s);
|
3765
|
-
const c = H(e, (l) => !n.validate(o[l], l));
|
3766
|
-
return c.length > 0 && Lb(c, n.label), o;
|
3767
|
-
};
|
3768
|
-
}, zb = (t, e) => {
|
3769
|
-
const n = H(e, (o) => !z(t, o));
|
3770
|
-
n.length > 0 && Pb(n);
|
3771
|
-
}, Vs = (t) => Mb(zb, t), Hb = Vs([
|
3772
|
-
"compare",
|
3773
|
-
"extract",
|
3774
|
-
"mutate",
|
3775
|
-
"sink"
|
3776
|
-
]), Ib = Vs([
|
3777
|
-
"element",
|
3778
|
-
"start",
|
3779
|
-
"stop",
|
3780
|
-
"destroy"
|
3781
|
-
]), Fb = Vs([
|
3782
|
-
"forceDrop",
|
3783
|
-
"drop",
|
3784
|
-
"move",
|
3785
|
-
"delayDrop"
|
3786
|
-
]), jb = () => {
|
3787
|
-
let t = u.none();
|
3788
|
-
const e = () => {
|
3789
|
-
t = u.none();
|
3790
|
-
}, n = (r, c) => {
|
3791
|
-
const l = t.map((a) => r.compare(a, c));
|
3792
|
-
return t = u.some(c), l;
|
3793
|
-
}, o = (r, c) => {
|
3794
|
-
c.extract(r).each((a) => {
|
3795
|
-
n(c, a).each((d) => {
|
3796
|
-
s.trigger.move(d);
|
3797
|
-
});
|
3798
|
-
});
|
3799
|
-
}, s = ce({ move: St(["info"]) });
|
3800
|
-
return {
|
3801
|
-
onEvent: o,
|
3802
|
-
reset: e,
|
3803
|
-
events: s.registry
|
3804
|
-
};
|
3805
|
-
}, Gb = () => {
|
3806
|
-
const t = ce({ move: St(["info"]) });
|
3807
|
-
return {
|
3808
|
-
onEvent: R,
|
3809
|
-
reset: R,
|
3810
|
-
events: t.registry
|
3811
|
-
};
|
3812
|
-
}, Ub = () => {
|
3813
|
-
const t = Gb(), e = jb();
|
3814
|
-
let n = t;
|
3815
|
-
return {
|
3816
|
-
on: () => {
|
3817
|
-
n.reset(), n = e;
|
3818
|
-
},
|
3819
|
-
off: () => {
|
3820
|
-
n.reset(), n = t;
|
3821
|
-
},
|
3822
|
-
isOn: () => n === e,
|
3823
|
-
onEvent: (l, a) => {
|
3824
|
-
n.onEvent(l, a);
|
3825
|
-
},
|
3826
|
-
events: e.events
|
3827
|
-
};
|
3828
|
-
}, Vb = (t, e, n) => {
|
3829
|
-
let o = !1;
|
3830
|
-
const s = ce({
|
3831
|
-
start: St([]),
|
3832
|
-
stop: St([])
|
3833
|
-
}), r = Ub(), c = () => {
|
3834
|
-
g.stop(), r.isOn() && (r.off(), s.trigger.stop());
|
3835
|
-
}, l = Bb(c, 200), a = (m) => {
|
3836
|
-
g.start(m), r.on(), s.trigger.start();
|
3837
|
-
}, i = (m) => {
|
3838
|
-
l.cancel(), r.onEvent(m, e);
|
3839
|
-
};
|
3840
|
-
r.events.move.bind((m) => {
|
3841
|
-
e.mutate(t, m.info);
|
3842
|
-
});
|
3843
|
-
const d = () => {
|
3844
|
-
o = !0;
|
3845
|
-
}, f = () => {
|
3846
|
-
o = !1;
|
3847
|
-
}, h = () => o, p = (m) => (...y) => {
|
3848
|
-
o && m.apply(null, y);
|
3849
|
-
}, g = e.sink(Fb({
|
3850
|
-
forceDrop: c,
|
3851
|
-
drop: p(c),
|
3852
|
-
move: p(i),
|
3853
|
-
delayDrop: p(l.throttle)
|
3854
|
-
}), n), C = () => {
|
3855
|
-
g.destroy();
|
3856
|
-
};
|
3857
|
-
return {
|
3858
|
-
element: g.element,
|
3859
|
-
go: a,
|
3860
|
-
on: d,
|
3861
|
-
off: f,
|
3862
|
-
isActive: h,
|
3863
|
-
destroy: C,
|
3864
|
-
events: s.registry
|
3865
|
-
};
|
3866
|
-
}, Ya = (t) => {
|
3867
|
-
const e = t.replace(/\./g, "-");
|
3868
|
-
return { resolve: (o) => e + "-" + o };
|
3869
|
-
}, Ja = Ya("ephox-dragster").resolve, qb = (t) => {
|
3870
|
-
const e = et({
|
3871
|
-
layerClass: Ja("blocker")
|
3872
|
-
}, t), n = w.fromTag("div");
|
3873
|
-
return N(n, "role", "presentation"), ge(n, {
|
3874
|
-
position: "fixed",
|
3875
|
-
left: "0px",
|
3876
|
-
top: "0px",
|
3877
|
-
width: "100%",
|
3878
|
-
height: "100%"
|
3879
|
-
}), jt(n, Ja("blocker")), jt(n, e.layerClass), {
|
3880
|
-
element: T(n),
|
3881
|
-
destroy: () => {
|
3882
|
-
Z(n);
|
3883
|
-
}
|
3884
|
-
};
|
3885
|
-
};
|
3886
|
-
var Kb = Hb({
|
3887
|
-
compare: (t, e) => Ft(e.left - t.left, e.top - t.top),
|
3888
|
-
extract: (t) => u.some(Ft(t.x, t.y)),
|
3889
|
-
sink: (t, e) => {
|
3890
|
-
const n = qb(e), o = We(n.element(), "mousedown", t.forceDrop), s = We(n.element(), "mouseup", t.drop), r = We(n.element(), "mousemove", t.move), c = We(n.element(), "mouseout", t.delayDrop), l = () => {
|
3891
|
-
n.destroy(), s.unbind(), r.unbind(), c.unbind(), o.unbind();
|
3892
|
-
}, a = (d) => {
|
3893
|
-
_(d, n.element());
|
3894
|
-
}, i = () => {
|
3895
|
-
Z(n.element());
|
3896
|
-
};
|
3897
|
-
return Ib({
|
3898
|
-
element: n.element,
|
3899
|
-
start: a,
|
3900
|
-
stop: i,
|
3901
|
-
destroy: l
|
3902
|
-
});
|
3903
|
-
},
|
3904
|
-
mutate: (t, e) => {
|
3905
|
-
t.mutate(e.left, e.top);
|
3906
|
-
}
|
3907
|
-
});
|
3908
|
-
const Xb = (t, e = {}) => {
|
3909
|
-
var n;
|
3910
|
-
const o = (n = e.mode) !== null && n !== void 0 ? n : Kb;
|
3911
|
-
return Vb(t, o, e);
|
3912
|
-
}, lo = Ya("ephox-snooker").resolve, Yb = () => {
|
3913
|
-
const t = ce({
|
3914
|
-
drag: St([
|
3915
|
-
"xDelta",
|
3916
|
-
"yDelta"
|
3917
|
-
])
|
3918
|
-
});
|
3919
|
-
return {
|
3920
|
-
mutate: (n, o) => {
|
3921
|
-
t.trigger.drag(n, o);
|
3922
|
-
},
|
3923
|
-
events: t.registry
|
3924
|
-
};
|
3925
|
-
}, Jb = () => {
|
3926
|
-
const t = ce({
|
3927
|
-
drag: St([
|
3928
|
-
"xDelta",
|
3929
|
-
"yDelta",
|
3930
|
-
"target"
|
3931
|
-
])
|
3932
|
-
});
|
3933
|
-
let e = u.none();
|
3934
|
-
const n = Yb();
|
3935
|
-
return n.events.drag.bind((r) => {
|
3936
|
-
e.each((c) => {
|
3937
|
-
t.trigger.drag(r.xDelta, r.yDelta, c);
|
3938
|
-
});
|
3939
|
-
}), {
|
3940
|
-
assign: (r) => {
|
3941
|
-
e = u.some(r);
|
3942
|
-
},
|
3943
|
-
get: () => e,
|
3944
|
-
mutate: n.mutate,
|
3945
|
-
events: t.registry
|
3946
|
-
};
|
3947
|
-
}, Qb = (t, e, n, o, s) => {
|
3948
|
-
const r = w.fromTag("div");
|
3949
|
-
return ge(r, {
|
3950
|
-
position: "absolute",
|
3951
|
-
left: e - o / 2 + "px",
|
3952
|
-
top: n + "px",
|
3953
|
-
height: s + "px",
|
3954
|
-
width: o + "px"
|
3955
|
-
}), Me(r, {
|
3956
|
-
"data-column": t,
|
3957
|
-
role: "presentation"
|
3958
|
-
}), r;
|
3959
|
-
}, Zb = (t, e, n, o, s) => {
|
3960
|
-
const r = w.fromTag("div");
|
3961
|
-
return ge(r, {
|
3962
|
-
position: "absolute",
|
3963
|
-
left: e + "px",
|
3964
|
-
top: n - s / 2 + "px",
|
3965
|
-
height: s + "px",
|
3966
|
-
width: o + "px"
|
3967
|
-
}), Me(r, {
|
3968
|
-
"data-row": t,
|
3969
|
-
role: "presentation"
|
3970
|
-
}), r;
|
3971
|
-
}, qs = lo("resizer-bar"), Qa = lo("resizer-rows"), Za = lo("resizer-cols"), ti = 7, tC = (t, e) => q(t.all, (n, o) => e(n.element) ? [o] : []), eC = (t, e) => {
|
3972
|
-
const n = [];
|
3973
|
-
return ht(t.grid.columns, (o) => {
|
3974
|
-
k.getColumnAt(t, o).map((r) => r.element).forall(e) && n.push(o);
|
3975
|
-
}), H(n, (o) => {
|
3976
|
-
const s = k.filterItems(t, (r) => r.column === o);
|
3977
|
-
return wt(s, (r) => e(r.element));
|
3978
|
-
});
|
3979
|
-
}, Ks = (t) => {
|
3980
|
-
const e = Bt(t.parent(), "." + qs);
|
3981
|
-
x(e, Z);
|
3982
|
-
}, ei = (t, e, n) => {
|
3983
|
-
const o = t.origin();
|
3984
|
-
x(e, (s) => {
|
3985
|
-
s.each((r) => {
|
3986
|
-
const c = n(o, r);
|
3987
|
-
jt(c, qs), _(t.parent(), c);
|
3988
|
-
});
|
3989
|
-
});
|
3990
|
-
}, nC = (t, e, n, o) => {
|
3991
|
-
ei(t, e, (s, r) => {
|
3992
|
-
const c = Qb(r.col, r.x - s.left, n.top - s.top, ti, o);
|
3993
|
-
return jt(c, Za), c;
|
3994
|
-
});
|
3995
|
-
}, oC = (t, e, n, o) => {
|
3996
|
-
ei(t, e, (s, r) => {
|
3997
|
-
const c = Zb(r.row, n.left - s.left, r.y - s.top, o, ti);
|
3998
|
-
return jt(c, Qa), c;
|
3999
|
-
});
|
4000
|
-
}, sC = (t, e, n, o, s) => {
|
4001
|
-
const r = we(n), c = e.isResizable, l = o.length > 0 ? xn.positions(o, n) : [], a = l.length > 0 ? tC(t, c) : [], i = H(l, (p, g) => ut(a, (C) => g === C));
|
4002
|
-
oC(e, i, r, Po(n));
|
4003
|
-
const d = s.length > 0 ? kn.positions(s, n) : [], f = d.length > 0 ? eC(t, c) : [], h = H(d, (p, g) => ut(f, (C) => g === C));
|
4004
|
-
nC(e, h, r, uc(n));
|
4005
|
-
}, Xs = (t, e) => {
|
4006
|
-
if (Ks(t), t.isResizable(e)) {
|
4007
|
-
const n = k.fromTable(e), o = lc(n), s = Mo(n);
|
4008
|
-
sC(n, t, e, o, s);
|
4009
|
-
}
|
4010
|
-
}, ni = (t, e) => {
|
4011
|
-
const n = Bt(t.parent(), "." + qs);
|
4012
|
-
x(n, e);
|
4013
|
-
}, rC = (t) => {
|
4014
|
-
ni(t, (e) => {
|
4015
|
-
U(e, "display", "none");
|
4016
|
-
});
|
4017
|
-
}, cC = (t) => {
|
4018
|
-
ni(t, (e) => {
|
4019
|
-
U(e, "display", "block");
|
4020
|
-
});
|
4021
|
-
}, lC = (t) => Gs(t, Qa), aC = (t) => Gs(t, Za), iC = lo("resizer-bar-dragging"), uC = (t) => {
|
4022
|
-
const e = Jb(), n = Xb(e, {});
|
4023
|
-
let o = u.none();
|
4024
|
-
const s = (g, C) => u.from(Kt(g, C));
|
4025
|
-
e.events.drag.bind((g) => {
|
4026
|
-
s(g.target, "data-row").each((C) => {
|
4027
|
-
const m = Sn(g.target, "top");
|
4028
|
-
U(g.target, "top", m + g.yDelta + "px");
|
4029
|
-
}), s(g.target, "data-column").each((C) => {
|
4030
|
-
const m = Sn(g.target, "left");
|
4031
|
-
U(g.target, "left", m + g.xDelta + "px");
|
4032
|
-
});
|
4033
|
-
});
|
4034
|
-
const r = (g, C) => {
|
4035
|
-
const m = Sn(g, C), y = zt(g, "data-initial-" + C, 0);
|
4036
|
-
return m - y;
|
4037
|
-
};
|
4038
|
-
n.events.stop.bind(() => {
|
4039
|
-
e.get().each((g) => {
|
4040
|
-
o.each((C) => {
|
4041
|
-
s(g, "data-row").each((m) => {
|
4042
|
-
const y = r(g, "top");
|
4043
|
-
L(g, "data-initial-top"), p.trigger.adjustHeight(C, y, parseInt(m, 10));
|
4044
|
-
}), s(g, "data-column").each((m) => {
|
4045
|
-
const y = r(g, "left");
|
4046
|
-
L(g, "data-initial-left"), p.trigger.adjustWidth(C, y, parseInt(m, 10));
|
4047
|
-
}), Xs(t, C);
|
4048
|
-
});
|
4049
|
-
});
|
4050
|
-
});
|
4051
|
-
const c = (g, C) => {
|
4052
|
-
p.trigger.startAdjust(), e.assign(g), N(g, "data-initial-" + C, Sn(g, C)), jt(g, iC), U(g, "opacity", "0.2"), n.go(t.dragContainer());
|
4053
|
-
}, l = We(t.parent(), "mousedown", (g) => {
|
4054
|
-
lC(g.target) && c(g.target, "top"), aC(g.target) && c(g.target, "left");
|
4055
|
-
}), a = (g) => W(g, t.view()), i = (g) => G(g, "table", a).filter(qe), d = We(t.view(), "mouseover", (g) => {
|
4056
|
-
i(g.target).fold(() => {
|
4057
|
-
Nt(g.target) && Ks(t);
|
4058
|
-
}, (C) => {
|
4059
|
-
n.isActive() && (o = u.some(C), Xs(t, C));
|
4060
|
-
});
|
4061
|
-
}), f = () => {
|
4062
|
-
l.unbind(), d.unbind(), n.destroy(), Ks(t);
|
4063
|
-
}, h = (g) => {
|
4064
|
-
Xs(t, g);
|
4065
|
-
}, p = ce({
|
4066
|
-
adjustHeight: St([
|
4067
|
-
"table",
|
4068
|
-
"delta",
|
4069
|
-
"row"
|
4070
|
-
]),
|
4071
|
-
adjustWidth: St([
|
4072
|
-
"table",
|
4073
|
-
"delta",
|
4074
|
-
"column"
|
4075
|
-
]),
|
4076
|
-
startAdjust: St([])
|
4077
|
-
});
|
4078
|
-
return {
|
4079
|
-
destroy: f,
|
4080
|
-
refresh: h,
|
4081
|
-
on: n.on,
|
4082
|
-
off: n.off,
|
4083
|
-
hideBars: Q(rC, t),
|
4084
|
-
showBars: Q(cC, t),
|
4085
|
-
events: p.registry
|
4086
|
-
};
|
4087
|
-
}, dC = { create: (t, e, n) => {
|
4088
|
-
const o = xn, s = kn, r = uC(t), c = ce({
|
4089
|
-
beforeResize: St([
|
4090
|
-
"table",
|
4091
|
-
"type"
|
4092
|
-
]),
|
4093
|
-
afterResize: St([
|
4094
|
-
"table",
|
4095
|
-
"type"
|
4096
|
-
]),
|
4097
|
-
startDrag: St([])
|
4098
|
-
});
|
4099
|
-
return r.events.adjustHeight.bind((l) => {
|
4100
|
-
const a = l.table;
|
4101
|
-
c.trigger.beforeResize(a, "row");
|
4102
|
-
const i = o.delta(l.delta, a);
|
4103
|
-
Ll(a, i, l.row), c.trigger.afterResize(a, "row");
|
4104
|
-
}), r.events.startAdjust.bind((l) => {
|
4105
|
-
c.trigger.startDrag();
|
4106
|
-
}), r.events.adjustWidth.bind((l) => {
|
4107
|
-
const a = l.table;
|
4108
|
-
c.trigger.beforeResize(a, "col");
|
4109
|
-
const i = s.delta(l.delta, a), d = n(a);
|
4110
|
-
_l(a, i, l.column, e, d), c.trigger.afterResize(a, "col");
|
4111
|
-
}), {
|
4112
|
-
on: r.on,
|
4113
|
-
off: r.off,
|
4114
|
-
refreshBars: r.refresh,
|
4115
|
-
hideBars: r.hideBars,
|
4116
|
-
showBars: r.showBars,
|
4117
|
-
destroy: r.destroy,
|
4118
|
-
events: c.registry
|
4119
|
-
};
|
4120
|
-
} }, mC = () => window.crypto.getRandomValues(new Uint32Array(1))[0] / 4294967295;
|
4121
|
-
let oi = 0;
|
4122
|
-
const fC = (t) => {
|
4123
|
-
const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.floor(mC() * 1e9);
|
4124
|
-
return oi++, t + "_" + o + oi + String(n);
|
4125
|
-
}, Ys = {
|
4126
|
-
only: (t, e) => {
|
4127
|
-
const n = wr(t) ? Ki(t) : t;
|
4128
|
-
return {
|
4129
|
-
parent: T(n),
|
4130
|
-
view: T(t),
|
4131
|
-
dragContainer: T(n),
|
4132
|
-
origin: T(Ft(0, 0)),
|
4133
|
-
isResizable: e
|
4134
|
-
};
|
4135
|
-
},
|
4136
|
-
detached: (t, e, n) => {
|
4137
|
-
const o = () => we(e);
|
4138
|
-
return {
|
4139
|
-
parent: T(e),
|
4140
|
-
view: T(t),
|
4141
|
-
dragContainer: T(e),
|
4142
|
-
origin: o,
|
4143
|
-
isResizable: n
|
4144
|
-
};
|
4145
|
-
},
|
4146
|
-
body: (t, e, n) => ({
|
4147
|
-
parent: T(e),
|
4148
|
-
view: T(t),
|
4149
|
-
dragContainer: T(e),
|
4150
|
-
origin: T(Ft(0, 0)),
|
4151
|
-
isResizable: n
|
4152
|
-
}),
|
4153
|
-
scrollable: (t, e, n, o) => ({
|
4154
|
-
parent: T(e),
|
4155
|
-
view: T(t),
|
4156
|
-
dragContainer: T(n),
|
4157
|
-
origin: () => we(e),
|
4158
|
-
isResizable: o
|
4159
|
-
})
|
4160
|
-
}, gC = (t) => {
|
4161
|
-
const e = fC("resizer-container"), n = w.fromTag("div");
|
4162
|
-
return N(n, "id", e), ge(n, {
|
4163
|
-
position: t,
|
4164
|
-
height: "0",
|
4165
|
-
width: "0",
|
4166
|
-
padding: "0",
|
4167
|
-
margin: "0",
|
4168
|
-
border: "0"
|
4169
|
-
}), n;
|
4170
|
-
}, pC = (t, e) => {
|
4171
|
-
const n = zm(t), o = w.fromDom(t.getBody()), s = gC(n ? "relative" : "static"), r = Br();
|
4172
|
-
return n ? (ue(o, s), Ys.scrollable(o, s, r, e)) : (_(r, s), Ys.body(o, s, e));
|
4173
|
-
}, hC = (t, e) => t.inline ? pC(t, e) : Ys.only(w.fromDom(t.getDoc()), e), wC = (t, e) => {
|
4174
|
-
t.inline && Z(e.parent());
|
4175
|
-
}, si = (t) => ie(t) && t.nodeName === "TABLE", Js = "bar-", bC = (t) => Kt(t, "data-mce-resize") !== "false", CC = (t) => {
|
4176
|
-
const e = k.fromTable(t);
|
4177
|
-
k.hasColumns(e) || x(pe(t), (n) => {
|
4178
|
-
const o = Qt(n, "width");
|
4179
|
-
U(n, "width", o), L(n, "width");
|
4180
|
-
});
|
4181
|
-
}, yC = (t) => Cn(t, "corner-"), SC = (t) => Tu(t, "corner-"), RC = (t) => {
|
4182
|
-
const e = eo(), n = eo(), o = eo();
|
4183
|
-
let s, r, c, l;
|
4184
|
-
const a = (b) => Xl(t, b), i = () => jc(t) ? cs() : ul(), d = (b) => Nn(b).columns, f = (b) => Nn(b).rows, h = (b, $, D, O) => {
|
4185
|
-
const A = SC($), Rt = yn(A, "e"), le = Cn(A, "n");
|
4186
|
-
if (r === "" && en(b), l === "" && lh(b), D !== s && r !== "") {
|
4187
|
-
U(b, "width", r);
|
4188
|
-
const Vt = i(), ae = a(b), E = jc(t) || Rt ? d(b) - 1 : 0;
|
4189
|
-
_l(b, D - s, E, Vt, ae);
|
4190
|
-
} else if (Fm(r)) {
|
4191
|
-
const Vt = parseFloat(r.replace("%", "")), ae = D * Vt / s;
|
4192
|
-
U(b, "width", ae + "%");
|
4193
|
-
}
|
4194
|
-
if (jm(r) && CC(b), O !== c && l !== "") {
|
4195
|
-
U(b, "height", l);
|
4196
|
-
const Vt = le ? 0 : f(b) - 1;
|
4197
|
-
Ll(b, O - c, Vt);
|
4198
|
-
}
|
4199
|
-
}, p = () => {
|
4200
|
-
n.on((b) => {
|
4201
|
-
b.destroy();
|
4202
|
-
}), o.on((b) => {
|
4203
|
-
wC(t, b);
|
4204
|
-
});
|
4205
|
-
};
|
4206
|
-
t.on("init", () => {
|
4207
|
-
const b = hC(t, bC);
|
4208
|
-
if (o.set(b), Dm(t) && Om(t)) {
|
4209
|
-
const $ = i(), D = dC.create(b, $, a);
|
4210
|
-
t.mode.isReadOnly() || D.on(), D.events.startDrag.bind((O) => {
|
4211
|
-
e.set(t.selection.getRng());
|
4212
|
-
}), D.events.beforeResize.bind((O) => {
|
4213
|
-
const A = O.table.dom;
|
4214
|
-
Hp(t, A, Kc(A), Xc(A), Js + O.type);
|
4215
|
-
}), D.events.afterResize.bind((O) => {
|
4216
|
-
const A = O.table, Rt = A.dom;
|
4217
|
-
te(A), e.on((le) => {
|
4218
|
-
t.selection.setRng(le), t.focus();
|
4219
|
-
}), Ip(t, Rt, Kc(Rt), Xc(Rt), Js + O.type), t.undoManager.add();
|
4220
|
-
}), n.set(D);
|
4221
|
-
}
|
4222
|
-
}), t.on("ObjectResizeStart", (b) => {
|
4223
|
-
const $ = b.target;
|
4224
|
-
if (si($) && !t.mode.isReadOnly()) {
|
4225
|
-
const D = w.fromDom($);
|
4226
|
-
x(t.dom.select(".mce-clonedresizable"), (O) => {
|
4227
|
-
t.dom.addClass(O, "mce-" + Yo(t) + "-columns");
|
4228
|
-
}), !na(D) && ye(t) ? Ts(D) : !ea(D) && Dn(t) && en(D), oa(D) && Cn(b.origin, Js) && en(D), s = b.width, r = Ve(t) ? "" : Hm(t, $).getOr(""), c = b.height, l = Im(t, $).getOr("");
|
4229
|
-
}
|
4230
|
-
}), t.on("ObjectResized", (b) => {
|
4231
|
-
const $ = b.target;
|
4232
|
-
if (si($)) {
|
4233
|
-
const D = w.fromDom($), O = b.origin;
|
4234
|
-
yC(O) && h(D, O, b.width, b.height), te(D), oe(t, D.dom, qn);
|
4235
|
-
}
|
4236
|
-
});
|
4237
|
-
const g = () => {
|
4238
|
-
n.on((b) => {
|
4239
|
-
b.on(), b.showBars();
|
4240
|
-
});
|
4241
|
-
}, C = () => {
|
4242
|
-
n.on((b) => {
|
4243
|
-
b.off(), b.hideBars();
|
4244
|
-
});
|
4245
|
-
};
|
4246
|
-
return t.on("DisabledStateChange", (b) => {
|
4247
|
-
b.state ? C() : g();
|
4248
|
-
}), t.on("SwitchMode", () => {
|
4249
|
-
t.mode.isReadOnly() ? C() : g();
|
4250
|
-
}), t.on("dragstart dragend", (b) => {
|
4251
|
-
b.type === "dragstart" ? C() : g();
|
4252
|
-
}), t.on("remove", () => {
|
4253
|
-
p();
|
4254
|
-
}), {
|
4255
|
-
refresh: (b) => {
|
4256
|
-
n.on(($) => $.refreshBars(w.fromDom(b)));
|
4257
|
-
},
|
4258
|
-
hide: () => {
|
4259
|
-
n.on((b) => b.hideBars());
|
4260
|
-
},
|
4261
|
-
show: () => {
|
4262
|
-
n.on((b) => b.showBars());
|
4263
|
-
}
|
4264
|
-
};
|
4265
|
-
}, TC = (t) => {
|
4266
|
-
$m(t);
|
4267
|
-
const e = RC(t), n = Eb(t, e), o = jp(t, e, n);
|
4268
|
-
return kh(t, o), $h(t, o), Of(t, o), {
|
4269
|
-
getSelectedCells: n.getSelectedCells,
|
4270
|
-
clearSelectedCells: n.clearSelectedCells
|
4271
|
-
};
|
4272
|
-
}, vC = (t) => ({ table: TC(t) });
|
4273
|
-
var xC = () => {
|
4274
|
-
vt.add("dom", vC);
|
4275
|
-
};
|
4276
|
-
xC();
|
4277
|
-
}(), li);
|
4278
|
-
}
|
4279
|
-
export {
|
4280
|
-
S0 as __require
|
4281
|
-
};
|
4282
|
-
//# sourceMappingURL=model.js.map
|