@pungfe/element 0.0.1-alpha.28 → 0.0.1-alpha.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +151 -143
- package/dist/advance-CYfRZGwy.js +1892 -0
- package/dist/advance-DoIe6XpY.cjs +1 -0
- package/dist/advance.cjs +1 -0
- package/dist/advance.d.ts +23 -0
- package/dist/advance.js +2 -0
- package/dist/basic-BfqwJFE_.cjs +1 -0
- package/dist/basic-CZ74BN1R.js +1006 -0
- package/dist/basic.cjs +1 -0
- package/dist/basic.d.ts +33 -0
- package/dist/basic.js +2 -0
- package/dist/{types/src/components → components}/advance/XButtonAsync.vue.d.ts +1 -1
- package/dist/{types/src/components → components}/advance/XButtonConfirm.vue.d.ts +1 -1
- package/dist/{types/src/components → components}/advance/XCascaderRequest.vue.d.ts +2 -2
- package/dist/{types/src/components → components}/advance/XFormFlex.vue.d.ts +1 -1
- package/dist/{types/src/components → components}/advance/XFormRequestNext.vue.d.ts +1 -1
- package/dist/{types/src/components → components}/advance/XRequest.vue.d.ts +1 -1
- package/dist/{types/src/components → components}/advance/XSelectRequest.vue.d.ts +5 -5
- package/dist/{types/src/components → components}/advance/XTableFlex.vue.d.ts +1 -1
- package/dist/{types/src/components → components}/advance/XTableRequestConfigNext.vue.d.ts +2 -2
- package/dist/{types/src/components → components}/advance/XTableRequestNext.vue.d.ts +3 -3
- package/dist/{types/src/components → components}/advance/XUploadOssNext.vue.d.ts +1 -1
- package/dist/{types/src/components → components}/basic/DatePicker.vue.d.ts +3 -3
- package/dist/{types/src/components → components}/basic/Input.vue.d.ts +4 -4
- package/dist/{types/src/components → components}/basic/Select.vue.d.ts +4 -4
- package/dist/{types/src/components → components}/basic/Tabs.vue.d.ts +1 -1
- package/dist/{types/src/constants → constants}/index.d.ts +2 -2
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +25 -0
- package/dist/{types/src/install.d.ts → install.d.ts} +2 -2
- package/dist/{es/zh-cn-Bkn9hgF7.js → locales-CPrLlnob.js} +200 -8
- package/dist/locales-fS7f5AIx.cjs +1 -0
- package/dist/locales.cjs +1 -0
- package/dist/locales.d.ts +2 -0
- package/dist/locales.js +2 -0
- package/dist/{cjs/resolver.cjs → resolver.cjs} +1 -2
- package/dist/{es/resolver.js → resolver.js} +1 -3
- package/dist/style.css +3 -0
- package/dist/types.d.ts +30 -0
- package/package.json +120 -105
- package/dist/cjs/Button-8c-6EPNG.cjs +0 -2
- package/dist/cjs/Button-8c-6EPNG.cjs.map +0 -1
- package/dist/cjs/Button.cjs +0 -1
- package/dist/cjs/Cascader-CwDh-TjU.cjs +0 -2
- package/dist/cjs/Cascader-CwDh-TjU.cjs.map +0 -1
- package/dist/cjs/Cascader.cjs +0 -1
- package/dist/cjs/Checkbox-CNcwptzq.cjs +0 -2
- package/dist/cjs/Checkbox-CNcwptzq.cjs.map +0 -1
- package/dist/cjs/Checkbox.cjs +0 -1
- package/dist/cjs/ConfigProvider-CyWiC5MP.cjs +0 -2
- package/dist/cjs/ConfigProvider-CyWiC5MP.cjs.map +0 -1
- package/dist/cjs/ConfigProvider.cjs +0 -1
- package/dist/cjs/DatePicker-pKtnPDXe.cjs +0 -2
- package/dist/cjs/DatePicker-pKtnPDXe.cjs.map +0 -1
- package/dist/cjs/DatePicker.cjs +0 -1
- package/dist/cjs/Dialog-BQzqL743.cjs +0 -2
- package/dist/cjs/Dialog-BQzqL743.cjs.map +0 -1
- package/dist/cjs/Dialog.cjs +0 -1
- package/dist/cjs/Form-DKzgN4am.cjs +0 -2
- package/dist/cjs/Form-DKzgN4am.cjs.map +0 -1
- package/dist/cjs/Form.cjs +0 -1
- package/dist/cjs/FormItem-BSXNuWjn.cjs +0 -2
- package/dist/cjs/FormItem-BSXNuWjn.cjs.map +0 -1
- package/dist/cjs/FormItem.cjs +0 -1
- package/dist/cjs/Input-Bnp7Ap0P.cjs +0 -2
- package/dist/cjs/Input-Bnp7Ap0P.cjs.map +0 -1
- package/dist/cjs/Input.cjs +0 -1
- package/dist/cjs/InputNumber-Ddow_hhd.cjs +0 -2
- package/dist/cjs/InputNumber-Ddow_hhd.cjs.map +0 -1
- package/dist/cjs/InputNumber.cjs +0 -1
- package/dist/cjs/Pagination-Cy3Y08FK.cjs +0 -2
- package/dist/cjs/Pagination-Cy3Y08FK.cjs.map +0 -1
- package/dist/cjs/Pagination.cjs +0 -1
- package/dist/cjs/Select-QOHpdjtL.cjs +0 -2
- package/dist/cjs/Select-QOHpdjtL.cjs.map +0 -1
- package/dist/cjs/Select.cjs +0 -1
- package/dist/cjs/TabPane-C2gWO5xN.cjs +0 -2
- package/dist/cjs/TabPane-C2gWO5xN.cjs.map +0 -1
- package/dist/cjs/TabPane.cjs +0 -1
- package/dist/cjs/Table-B3zf7ybj.cjs +0 -2
- package/dist/cjs/Table-B3zf7ybj.cjs.map +0 -1
- package/dist/cjs/Table.cjs +0 -1
- package/dist/cjs/Tabs-CQcXRrGf.cjs +0 -2
- package/dist/cjs/Tabs-CQcXRrGf.cjs.map +0 -1
- package/dist/cjs/Tabs.cjs +0 -1
- package/dist/cjs/Upload-Cw1DMO7y.cjs +0 -2
- package/dist/cjs/Upload-Cw1DMO7y.cjs.map +0 -1
- package/dist/cjs/Upload.cjs +0 -1
- package/dist/cjs/XButtonAsync-DxB_iRpa.cjs +0 -2
- package/dist/cjs/XButtonAsync-DxB_iRpa.cjs.map +0 -1
- package/dist/cjs/XButtonAsync.cjs +0 -1
- package/dist/cjs/XButtonConfirm-DMcr5_5A.cjs +0 -2
- package/dist/cjs/XButtonConfirm-DMcr5_5A.cjs.map +0 -1
- package/dist/cjs/XButtonConfirm.cjs +0 -1
- package/dist/cjs/XCascaderRequest-DKW_m3MY.cjs +0 -2
- package/dist/cjs/XCascaderRequest-DKW_m3MY.cjs.map +0 -1
- package/dist/cjs/XCascaderRequest.cjs +0 -1
- package/dist/cjs/XFormFlex-CAxHuPZj.cjs +0 -2
- package/dist/cjs/XFormFlex-CAxHuPZj.cjs.map +0 -1
- package/dist/cjs/XFormFlex.cjs +0 -1
- package/dist/cjs/XFormRequestNext-zfjnyv2v.cjs +0 -2
- package/dist/cjs/XFormRequestNext-zfjnyv2v.cjs.map +0 -1
- package/dist/cjs/XFormRequestNext.cjs +0 -1
- package/dist/cjs/XRequest-BNDHllWT.cjs +0 -2
- package/dist/cjs/XRequest-BNDHllWT.cjs.map +0 -1
- package/dist/cjs/XRequest.cjs +0 -1
- package/dist/cjs/XSelectRequest-B0uan46l.cjs +0 -2
- package/dist/cjs/XSelectRequest-B0uan46l.cjs.map +0 -1
- package/dist/cjs/XSelectRequest.cjs +0 -1
- package/dist/cjs/XTableFlex-D8d713CD.cjs +0 -2
- package/dist/cjs/XTableFlex-D8d713CD.cjs.map +0 -1
- package/dist/cjs/XTableFlex.cjs +0 -1
- package/dist/cjs/XTableRequestConfigNext.cjs +0 -1
- package/dist/cjs/XTableRequestNext.cjs +0 -1
- package/dist/cjs/XUploadOssNext-D174wiQw.cjs +0 -2
- package/dist/cjs/XUploadOssNext-D174wiQw.cjs.map +0 -1
- package/dist/cjs/XUploadOssNext.cjs +0 -1
- package/dist/cjs/advance-CXQH0k0U.cjs +0 -2
- package/dist/cjs/advance-CXQH0k0U.cjs.map +0 -1
- package/dist/cjs/advance.cjs +0 -1
- package/dist/cjs/basic-CKVDAV8Q.cjs +0 -2
- package/dist/cjs/basic-CKVDAV8Q.cjs.map +0 -1
- package/dist/cjs/constants-CYUPXiMy.cjs +0 -2
- package/dist/cjs/constants-CYUPXiMy.cjs.map +0 -1
- package/dist/cjs/dist-Dgq63FPm.cjs +0 -2
- package/dist/cjs/dist-Dgq63FPm.cjs.map +0 -1
- package/dist/cjs/element.css +0 -3
- package/dist/cjs/en-Da0_dekZ.cjs +0 -2
- package/dist/cjs/en-Da0_dekZ.cjs.map +0 -1
- package/dist/cjs/en.cjs +0 -1
- package/dist/cjs/index.cjs +0 -2
- package/dist/cjs/index.cjs.map +0 -1
- package/dist/cjs/index2.cjs +0 -1
- package/dist/cjs/resolver.cjs.map +0 -1
- package/dist/cjs/style.cjs +0 -1
- package/dist/cjs/zh-cn-CF-yyg2O.cjs +0 -2
- package/dist/cjs/zh-cn-CF-yyg2O.cjs.map +0 -1
- package/dist/cjs/zh-cn.cjs +0 -1
- package/dist/es/Button-DSKisAgZ.js +0 -40
- package/dist/es/Button-DSKisAgZ.js.map +0 -1
- package/dist/es/Button.js +0 -2
- package/dist/es/Cascader-Df1d0rtN.js +0 -55
- package/dist/es/Cascader-Df1d0rtN.js.map +0 -1
- package/dist/es/Cascader.js +0 -2
- package/dist/es/Checkbox-C5Z0Dqkx.js +0 -46
- package/dist/es/Checkbox-C5Z0Dqkx.js.map +0 -1
- package/dist/es/Checkbox.js +0 -2
- package/dist/es/ConfigProvider-Dd3Oqqvf.js +0 -17
- package/dist/es/ConfigProvider-Dd3Oqqvf.js.map +0 -1
- package/dist/es/ConfigProvider.js +0 -2
- package/dist/es/DatePicker-xJSFLg0Y.js +0 -70
- package/dist/es/DatePicker-xJSFLg0Y.js.map +0 -1
- package/dist/es/DatePicker.js +0 -2
- package/dist/es/Dialog-BvMeOAU9.js +0 -63
- package/dist/es/Dialog-BvMeOAU9.js.map +0 -1
- package/dist/es/Dialog.js +0 -2
- package/dist/es/Form-V7_olGHq.js +0 -52
- package/dist/es/Form-V7_olGHq.js.map +0 -1
- package/dist/es/Form.js +0 -2
- package/dist/es/FormItem-DCMMnSQO.js +0 -46
- package/dist/es/FormItem-DCMMnSQO.js.map +0 -1
- package/dist/es/FormItem.js +0 -2
- package/dist/es/Input-CQvLBbzQ.js +0 -86
- package/dist/es/Input-CQvLBbzQ.js.map +0 -1
- package/dist/es/Input.js +0 -2
- package/dist/es/InputNumber-DxMf5l3F.js +0 -70
- package/dist/es/InputNumber-DxMf5l3F.js.map +0 -1
- package/dist/es/InputNumber.js +0 -2
- package/dist/es/Pagination-BJEeN66O.js +0 -54
- package/dist/es/Pagination-BJEeN66O.js.map +0 -1
- package/dist/es/Pagination.js +0 -2
- package/dist/es/Select-BHgPcMvn.js +0 -120
- package/dist/es/Select-BHgPcMvn.js.map +0 -1
- package/dist/es/Select.js +0 -2
- package/dist/es/TabPane-B_fsTqWm.js +0 -34
- package/dist/es/TabPane-B_fsTqWm.js.map +0 -1
- package/dist/es/TabPane.js +0 -2
- package/dist/es/Table-Dz_FhW7c.js +0 -112
- package/dist/es/Table-Dz_FhW7c.js.map +0 -1
- package/dist/es/Table.js +0 -2
- package/dist/es/Tabs-COmnZvj1.js +0 -42
- package/dist/es/Tabs-COmnZvj1.js.map +0 -1
- package/dist/es/Tabs.js +0 -2
- package/dist/es/Upload-B9QtDZhT.js +0 -79
- package/dist/es/Upload-B9QtDZhT.js.map +0 -1
- package/dist/es/Upload.js +0 -2
- package/dist/es/XButtonAsync-DN6-j4VG.js +0 -46
- package/dist/es/XButtonAsync-DN6-j4VG.js.map +0 -1
- package/dist/es/XButtonAsync.js +0 -2
- package/dist/es/XButtonConfirm-D8UkJz_d.js +0 -64
- package/dist/es/XButtonConfirm-D8UkJz_d.js.map +0 -1
- package/dist/es/XButtonConfirm.js +0 -2
- package/dist/es/XCascaderRequest-Bsvfwf28.js +0 -54
- package/dist/es/XCascaderRequest-Bsvfwf28.js.map +0 -1
- package/dist/es/XCascaderRequest.js +0 -2
- package/dist/es/XFormFlex-CeKL-p1x.js +0 -36
- package/dist/es/XFormFlex-CeKL-p1x.js.map +0 -1
- package/dist/es/XFormFlex.js +0 -2
- package/dist/es/XFormRequestNext-ClKFsdRJ.js +0 -60
- package/dist/es/XFormRequestNext-ClKFsdRJ.js.map +0 -1
- package/dist/es/XFormRequestNext.js +0 -2
- package/dist/es/XRequest-qctTVADK.js +0 -47
- package/dist/es/XRequest-qctTVADK.js.map +0 -1
- package/dist/es/XRequest.js +0 -2
- package/dist/es/XSelectRequest-eDF112KU.js +0 -86
- package/dist/es/XSelectRequest-eDF112KU.js.map +0 -1
- package/dist/es/XSelectRequest.js +0 -2
- package/dist/es/XTableFlex-IiKO2YNg.js +0 -76
- package/dist/es/XTableFlex-IiKO2YNg.js.map +0 -1
- package/dist/es/XTableFlex.js +0 -2
- package/dist/es/XTableRequestConfigNext.js +0 -2
- package/dist/es/XTableRequestNext.js +0 -2
- package/dist/es/XUploadOssNext-yBI5Peoe.js +0 -70
- package/dist/es/XUploadOssNext-yBI5Peoe.js.map +0 -1
- package/dist/es/XUploadOssNext.js +0 -2
- package/dist/es/advance-9IP8swna.js +0 -1468
- package/dist/es/advance-9IP8swna.js.map +0 -1
- package/dist/es/advance.js +0 -11
- package/dist/es/basic-DvQGCOl7.js +0 -46
- package/dist/es/basic-DvQGCOl7.js.map +0 -1
- package/dist/es/constants-C_Llxhb6.js +0 -6
- package/dist/es/constants-C_Llxhb6.js.map +0 -1
- package/dist/es/dist-DQ3VOl3T.js +0 -151
- package/dist/es/dist-DQ3VOl3T.js.map +0 -1
- package/dist/es/element.css +0 -3
- package/dist/es/en-sGHBfmHX.js +0 -197
- package/dist/es/en-sGHBfmHX.js.map +0 -1
- package/dist/es/en.js +0 -2
- package/dist/es/index.js +0 -47
- package/dist/es/index.js.map +0 -1
- package/dist/es/index2.js +0 -3
- package/dist/es/resolver.js.map +0 -1
- package/dist/es/style.js +0 -0
- package/dist/es/zh-cn-Bkn9hgF7.js.map +0 -1
- package/dist/es/zh-cn.js +0 -2
- package/dist/types/src/advance.d.ts +0 -1
- package/dist/types/src/components/advance.d.ts +0 -38
- package/dist/types/src/components/basic.d.ts +0 -33
- package/dist/types/src/index.d.ts +0 -6
- package/dist/types/src/locales/index.d.ts +0 -2
- package/dist/types/src/style.d.ts +0 -0
- package/dist/types/src/types.d.ts +0 -57
- package/dist/{types/src/components → components}/basic/Button.vue.d.ts +0 -0
- package/dist/{types/src/components → components}/basic/Cascader.vue.d.ts +0 -0
- package/dist/{types/src/components → components}/basic/Checkbox.vue.d.ts +4 -4
- package/dist/{types/src/components → components}/basic/ConfigProvider.vue.d.ts +0 -0
- package/dist/{types/src/components → components}/basic/Dialog.vue.d.ts +0 -0
- package/dist/{types/src/components → components}/basic/Form.vue.d.ts +0 -0
- package/dist/{types/src/components → components}/basic/FormItem.vue.d.ts +0 -0
- package/dist/{types/src/components → components}/basic/InputNumber.vue.d.ts +4 -4
- /package/dist/{types/src/components → components}/basic/Pagination.vue.d.ts +0 -0
- /package/dist/{types/src/components → components}/basic/TabPane.vue.d.ts +0 -0
- /package/dist/{types/src/components → components}/basic/Table.vue.d.ts +0 -0
- /package/dist/{types/src/components → components}/basic/Upload.vue.d.ts +0 -0
- /package/dist/{types/src/locales → locales}/en.d.ts +0 -0
- /package/dist/{types/src/locales → locales}/zh-cn.d.ts +0 -0
- /package/dist/{types/src/resolver.d.ts → resolver.d.ts} +0 -0
|
@@ -1,1468 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./basic-DvQGCOl7.js";
|
|
2
|
-
import { a as t, c as n, l as r, n as i, o as a, s as o, t as s } from "./dist-DQ3VOl3T.js";
|
|
3
|
-
import { t as c } from "./Button-DSKisAgZ.js";
|
|
4
|
-
import { t as l } from "./Form-V7_olGHq.js";
|
|
5
|
-
import { t as u } from "./FormItem-DCMMnSQO.js";
|
|
6
|
-
import { t as d } from "./Input-CQvLBbzQ.js";
|
|
7
|
-
import { t as f } from "./Pagination-BJEeN66O.js";
|
|
8
|
-
import { t as p } from "./XButtonAsync-DN6-j4VG.js";
|
|
9
|
-
import { t as m } from "./XButtonConfirm-D8UkJz_d.js";
|
|
10
|
-
import { t as h } from "./XCascaderRequest-Bsvfwf28.js";
|
|
11
|
-
import { t as g } from "./XFormFlex-CeKL-p1x.js";
|
|
12
|
-
import { t as _ } from "./XFormRequestNext-ClKFsdRJ.js";
|
|
13
|
-
import { t as ee } from "./XRequest-qctTVADK.js";
|
|
14
|
-
import { t as v } from "./XSelectRequest-eDF112KU.js";
|
|
15
|
-
import { t as y } from "./XTableFlex-IiKO2YNg.js";
|
|
16
|
-
import { t as b } from "./XUploadOssNext-yBI5Peoe.js";
|
|
17
|
-
import { ElPopover as te, ElScrollbar as ne, ElSpace as re, ElSwitch as x, ElText as ie } from "element-plus";
|
|
18
|
-
import { Fragment as ae, computed as S, createCommentVNode as oe, createElementBlock as C, createElementVNode as w, createTextVNode as se, createVNode as T, defineComponent as ce, isRef as le, nextTick as ue, openBlock as E, renderList as de, resolveDirective as fe, toDisplayString as pe, toValue as me, unref as D, useTemplateRef as he, watch as ge, withCtx as _e, withDirectives as ve } from "vue";
|
|
19
|
-
//#region node_modules/@element-plus/icons-vue/dist/index.js
|
|
20
|
-
var ye = /* @__PURE__ */ ce({
|
|
21
|
-
name: "Rank",
|
|
22
|
-
__name: "rank",
|
|
23
|
-
setup(e) {
|
|
24
|
-
return (e, t) => (E(), C("svg", {
|
|
25
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
-
viewBox: "0 0 1024 1024"
|
|
27
|
-
}, [w("path", {
|
|
28
|
-
fill: "currentColor",
|
|
29
|
-
d: "m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544z"
|
|
30
|
-
})]));
|
|
31
|
-
}
|
|
32
|
-
}), be = /* @__PURE__ */ ce({
|
|
33
|
-
name: "Setting",
|
|
34
|
-
__name: "setting",
|
|
35
|
-
setup(e) {
|
|
36
|
-
return (e, t) => (E(), C("svg", {
|
|
37
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
38
|
-
viewBox: "0 0 1024 1024"
|
|
39
|
-
}, [w("path", {
|
|
40
|
-
fill: "currentColor",
|
|
41
|
-
d: "M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357 357 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a352 352 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357 357 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294 294 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293 293 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294 294 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288 288 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293 293 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a288 288 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"
|
|
42
|
-
})]));
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region node_modules/sortablejs/modular/sortable.esm.js
|
|
47
|
-
function xe(e, t, n) {
|
|
48
|
-
return (t = Ee(t)) in e ? Object.defineProperty(e, t, {
|
|
49
|
-
value: n,
|
|
50
|
-
enumerable: !0,
|
|
51
|
-
configurable: !0,
|
|
52
|
-
writable: !0
|
|
53
|
-
}) : e[t] = n, e;
|
|
54
|
-
}
|
|
55
|
-
function O() {
|
|
56
|
-
return O = Object.assign ? Object.assign.bind() : function(e) {
|
|
57
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
58
|
-
var n = arguments[t];
|
|
59
|
-
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
60
|
-
}
|
|
61
|
-
return e;
|
|
62
|
-
}, O.apply(null, arguments);
|
|
63
|
-
}
|
|
64
|
-
function Se(e, t) {
|
|
65
|
-
var n = Object.keys(e);
|
|
66
|
-
if (Object.getOwnPropertySymbols) {
|
|
67
|
-
var r = Object.getOwnPropertySymbols(e);
|
|
68
|
-
t && (r = r.filter(function(t) {
|
|
69
|
-
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
70
|
-
})), n.push.apply(n, r);
|
|
71
|
-
}
|
|
72
|
-
return n;
|
|
73
|
-
}
|
|
74
|
-
function k(e) {
|
|
75
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
76
|
-
var n = arguments[t] == null ? {} : arguments[t];
|
|
77
|
-
t % 2 ? Se(Object(n), !0).forEach(function(t) {
|
|
78
|
-
xe(e, t, n[t]);
|
|
79
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Se(Object(n)).forEach(function(t) {
|
|
80
|
-
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
return e;
|
|
84
|
-
}
|
|
85
|
-
function Ce(e, t) {
|
|
86
|
-
if (e == null) return {};
|
|
87
|
-
var n, r, i = we(e, t);
|
|
88
|
-
if (Object.getOwnPropertySymbols) {
|
|
89
|
-
var a = Object.getOwnPropertySymbols(e);
|
|
90
|
-
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
|
|
91
|
-
}
|
|
92
|
-
return i;
|
|
93
|
-
}
|
|
94
|
-
function we(e, t) {
|
|
95
|
-
if (e == null) return {};
|
|
96
|
-
var n = {};
|
|
97
|
-
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
98
|
-
if (t.indexOf(r) !== -1) continue;
|
|
99
|
-
n[r] = e[r];
|
|
100
|
-
}
|
|
101
|
-
return n;
|
|
102
|
-
}
|
|
103
|
-
function Te(e, t) {
|
|
104
|
-
if (typeof e != "object" || !e) return e;
|
|
105
|
-
var n = e[Symbol.toPrimitive];
|
|
106
|
-
if (n !== void 0) {
|
|
107
|
-
var r = n.call(e, t || "default");
|
|
108
|
-
if (typeof r != "object") return r;
|
|
109
|
-
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
110
|
-
}
|
|
111
|
-
return (t === "string" ? String : Number)(e);
|
|
112
|
-
}
|
|
113
|
-
function Ee(e) {
|
|
114
|
-
var t = Te(e, "string");
|
|
115
|
-
return typeof t == "symbol" ? t : t + "";
|
|
116
|
-
}
|
|
117
|
-
function De(e) {
|
|
118
|
-
"@babel/helpers - typeof";
|
|
119
|
-
return De = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
120
|
-
return typeof e;
|
|
121
|
-
} : function(e) {
|
|
122
|
-
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
123
|
-
}, De(e);
|
|
124
|
-
}
|
|
125
|
-
var Oe = "1.15.7";
|
|
126
|
-
function A(e) {
|
|
127
|
-
if (typeof window < "u" && window.navigator) return !!/* @__PURE__ */ navigator.userAgent.match(e);
|
|
128
|
-
}
|
|
129
|
-
var j = A(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ke = A(/Edge/i), Ae = A(/firefox/i), je = A(/safari/i) && !A(/chrome/i) && !A(/android/i), Me = A(/iP(ad|od|hone)/i), Ne = A(/chrome/i) && A(/android/i), Pe = {
|
|
130
|
-
capture: !1,
|
|
131
|
-
passive: !1
|
|
132
|
-
};
|
|
133
|
-
function M(e, t, n) {
|
|
134
|
-
e.addEventListener(t, n, !j && Pe);
|
|
135
|
-
}
|
|
136
|
-
function N(e, t, n) {
|
|
137
|
-
e.removeEventListener(t, n, !j && Pe);
|
|
138
|
-
}
|
|
139
|
-
function Fe(e, t) {
|
|
140
|
-
if (t) {
|
|
141
|
-
if (t[0] === ">" && (t = t.substring(1)), e) try {
|
|
142
|
-
if (e.matches) return e.matches(t);
|
|
143
|
-
if (e.msMatchesSelector) return e.msMatchesSelector(t);
|
|
144
|
-
if (e.webkitMatchesSelector) return e.webkitMatchesSelector(t);
|
|
145
|
-
} catch {
|
|
146
|
-
return !1;
|
|
147
|
-
}
|
|
148
|
-
return !1;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
function Ie(e) {
|
|
152
|
-
return e.host && e !== document && e.host.nodeType && e.host !== e ? e.host : e.parentNode;
|
|
153
|
-
}
|
|
154
|
-
function P(e, t, n, r) {
|
|
155
|
-
if (e) {
|
|
156
|
-
n ||= document;
|
|
157
|
-
do {
|
|
158
|
-
if (t != null && (t[0] === ">" ? e.parentNode === n && Fe(e, t) : Fe(e, t)) || r && e === n) return e;
|
|
159
|
-
if (e === n) break;
|
|
160
|
-
} while (e = Ie(e));
|
|
161
|
-
}
|
|
162
|
-
return null;
|
|
163
|
-
}
|
|
164
|
-
var Le = /\s+/g;
|
|
165
|
-
function F(e, t, n) {
|
|
166
|
-
e && t && (e.classList ? e.classList[n ? "add" : "remove"](t) : e.className = ((" " + e.className + " ").replace(Le, " ").replace(" " + t + " ", " ") + (n ? " " + t : "")).replace(Le, " "));
|
|
167
|
-
}
|
|
168
|
-
function I(e, t, n) {
|
|
169
|
-
var r = e && e.style;
|
|
170
|
-
if (r) {
|
|
171
|
-
if (n === void 0) return document.defaultView && document.defaultView.getComputedStyle ? n = document.defaultView.getComputedStyle(e, "") : e.currentStyle && (n = e.currentStyle), t === void 0 ? n : n[t];
|
|
172
|
-
!(t in r) && t.indexOf("webkit") === -1 && (t = "-webkit-" + t), r[t] = n + (typeof n == "string" ? "" : "px");
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
function Re(e, t) {
|
|
176
|
-
var n = "";
|
|
177
|
-
if (typeof e == "string") n = e;
|
|
178
|
-
else do {
|
|
179
|
-
var r = I(e, "transform");
|
|
180
|
-
r && r !== "none" && (n = r + " " + n);
|
|
181
|
-
} while (!t && (e = e.parentNode));
|
|
182
|
-
var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
183
|
-
return i && new i(n);
|
|
184
|
-
}
|
|
185
|
-
function ze(e, t, n) {
|
|
186
|
-
if (e) {
|
|
187
|
-
var r = e.getElementsByTagName(t), i = 0, a = r.length;
|
|
188
|
-
if (n) for (; i < a; i++) n(r[i], i);
|
|
189
|
-
return r;
|
|
190
|
-
}
|
|
191
|
-
return [];
|
|
192
|
-
}
|
|
193
|
-
function L() {
|
|
194
|
-
return document.scrollingElement || document.documentElement;
|
|
195
|
-
}
|
|
196
|
-
function R(e, t, n, r, i) {
|
|
197
|
-
if (!(!e.getBoundingClientRect && e !== window)) {
|
|
198
|
-
var a, o, s, c, l, u, d;
|
|
199
|
-
if (e !== window && e.parentNode && e !== L() ? (a = e.getBoundingClientRect(), o = a.top, s = a.left, c = a.bottom, l = a.right, u = a.height, d = a.width) : (o = 0, s = 0, c = window.innerHeight, l = window.innerWidth, u = window.innerHeight, d = window.innerWidth), (t || n) && e !== window && (i ||= e.parentNode, !j)) do
|
|
200
|
-
if (i && i.getBoundingClientRect && (I(i, "transform") !== "none" || n && I(i, "position") !== "static")) {
|
|
201
|
-
var f = i.getBoundingClientRect();
|
|
202
|
-
o -= f.top + parseInt(I(i, "border-top-width")), s -= f.left + parseInt(I(i, "border-left-width")), c = o + a.height, l = s + a.width;
|
|
203
|
-
break;
|
|
204
|
-
}
|
|
205
|
-
while (i = i.parentNode);
|
|
206
|
-
if (r && e !== window) {
|
|
207
|
-
var p = Re(i || e), m = p && p.a, h = p && p.d;
|
|
208
|
-
p && (o /= h, s /= m, d /= m, u /= h, c = o + u, l = s + d);
|
|
209
|
-
}
|
|
210
|
-
return {
|
|
211
|
-
top: o,
|
|
212
|
-
left: s,
|
|
213
|
-
bottom: c,
|
|
214
|
-
right: l,
|
|
215
|
-
width: d,
|
|
216
|
-
height: u
|
|
217
|
-
};
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
function Be(e, t, n) {
|
|
221
|
-
for (var r = Ge(e, !0), i = R(e)[t]; r;) {
|
|
222
|
-
var a = R(r)[n], o = void 0;
|
|
223
|
-
if (o = n === "top" || n === "left" ? i >= a : i <= a, !o) return r;
|
|
224
|
-
if (r === L()) break;
|
|
225
|
-
r = Ge(r, !1);
|
|
226
|
-
}
|
|
227
|
-
return !1;
|
|
228
|
-
}
|
|
229
|
-
function Ve(e, t, n, r) {
|
|
230
|
-
for (var i = 0, a = 0, o = e.children; a < o.length;) {
|
|
231
|
-
if (o[a].style.display !== "none" && o[a] !== Q.ghost && (r || o[a] !== Q.dragged) && P(o[a], n.draggable, e, !1)) {
|
|
232
|
-
if (i === t) return o[a];
|
|
233
|
-
i++;
|
|
234
|
-
}
|
|
235
|
-
a++;
|
|
236
|
-
}
|
|
237
|
-
return null;
|
|
238
|
-
}
|
|
239
|
-
function He(e, t) {
|
|
240
|
-
for (var n = e.lastElementChild; n && (n === Q.ghost || I(n, "display") === "none" || t && !Fe(n, t));) n = n.previousElementSibling;
|
|
241
|
-
return n || null;
|
|
242
|
-
}
|
|
243
|
-
function z(e, t) {
|
|
244
|
-
var n = 0;
|
|
245
|
-
if (!e || !e.parentNode) return -1;
|
|
246
|
-
for (; e = e.previousElementSibling;) e.nodeName.toUpperCase() !== "TEMPLATE" && e !== Q.clone && (!t || Fe(e, t)) && n++;
|
|
247
|
-
return n;
|
|
248
|
-
}
|
|
249
|
-
function Ue(e) {
|
|
250
|
-
var t = 0, n = 0, r = L();
|
|
251
|
-
if (e) do {
|
|
252
|
-
var i = Re(e), a = i.a, o = i.d;
|
|
253
|
-
t += e.scrollLeft * a, n += e.scrollTop * o;
|
|
254
|
-
} while (e !== r && (e = e.parentNode));
|
|
255
|
-
return [t, n];
|
|
256
|
-
}
|
|
257
|
-
function We(e, t) {
|
|
258
|
-
for (var n in e) if (e.hasOwnProperty(n)) {
|
|
259
|
-
for (var r in t) if (t.hasOwnProperty(r) && t[r] === e[n][r]) return Number(n);
|
|
260
|
-
}
|
|
261
|
-
return -1;
|
|
262
|
-
}
|
|
263
|
-
function Ge(e, t) {
|
|
264
|
-
if (!e || !e.getBoundingClientRect) return L();
|
|
265
|
-
var n = e, r = !1;
|
|
266
|
-
do
|
|
267
|
-
if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
|
|
268
|
-
var i = I(n);
|
|
269
|
-
if (n.clientWidth < n.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
|
|
270
|
-
if (!n.getBoundingClientRect || n === document.body) return L();
|
|
271
|
-
if (r || t) return n;
|
|
272
|
-
r = !0;
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
while (n = n.parentNode);
|
|
276
|
-
return L();
|
|
277
|
-
}
|
|
278
|
-
function Ke(e, t) {
|
|
279
|
-
if (e && t) for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]);
|
|
280
|
-
return e;
|
|
281
|
-
}
|
|
282
|
-
function qe(e, t) {
|
|
283
|
-
return Math.round(e.top) === Math.round(t.top) && Math.round(e.left) === Math.round(t.left) && Math.round(e.height) === Math.round(t.height) && Math.round(e.width) === Math.round(t.width);
|
|
284
|
-
}
|
|
285
|
-
var Je;
|
|
286
|
-
function Ye(e, t) {
|
|
287
|
-
return function() {
|
|
288
|
-
if (!Je) {
|
|
289
|
-
var n = arguments, r = this;
|
|
290
|
-
n.length === 1 ? e.call(r, n[0]) : e.apply(r, n), Je = setTimeout(function() {
|
|
291
|
-
Je = void 0;
|
|
292
|
-
}, t);
|
|
293
|
-
}
|
|
294
|
-
};
|
|
295
|
-
}
|
|
296
|
-
function Xe() {
|
|
297
|
-
clearTimeout(Je), Je = void 0;
|
|
298
|
-
}
|
|
299
|
-
function Ze(e, t, n) {
|
|
300
|
-
e.scrollLeft += t, e.scrollTop += n;
|
|
301
|
-
}
|
|
302
|
-
function Qe(e) {
|
|
303
|
-
var t = window.Polymer, n = window.jQuery || window.Zepto;
|
|
304
|
-
return t && t.dom ? t.dom(e).cloneNode(!0) : n ? n(e).clone(!0)[0] : e.cloneNode(!0);
|
|
305
|
-
}
|
|
306
|
-
function $e(e, t, n) {
|
|
307
|
-
var r = {};
|
|
308
|
-
return Array.from(e.children).forEach(function(i) {
|
|
309
|
-
if (!(!P(i, t.draggable, e, !1) || i.animated || i === n)) {
|
|
310
|
-
var a = R(i);
|
|
311
|
-
r.left = Math.min(r.left ?? Infinity, a.left), r.top = Math.min(r.top ?? Infinity, a.top), r.right = Math.max(r.right ?? -Infinity, a.right), r.bottom = Math.max(r.bottom ?? -Infinity, a.bottom);
|
|
312
|
-
}
|
|
313
|
-
}), r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r;
|
|
314
|
-
}
|
|
315
|
-
var B = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
316
|
-
function et() {
|
|
317
|
-
var e = [], t;
|
|
318
|
-
return {
|
|
319
|
-
captureAnimationState: function() {
|
|
320
|
-
e = [], this.options.animation && [].slice.call(this.el.children).forEach(function(t) {
|
|
321
|
-
if (!(I(t, "display") === "none" || t === Q.ghost)) {
|
|
322
|
-
e.push({
|
|
323
|
-
target: t,
|
|
324
|
-
rect: R(t)
|
|
325
|
-
});
|
|
326
|
-
var n = k({}, e[e.length - 1].rect);
|
|
327
|
-
if (t.thisAnimationDuration) {
|
|
328
|
-
var r = Re(t, !0);
|
|
329
|
-
r && (n.top -= r.f, n.left -= r.e);
|
|
330
|
-
}
|
|
331
|
-
t.fromRect = n;
|
|
332
|
-
}
|
|
333
|
-
});
|
|
334
|
-
},
|
|
335
|
-
addAnimationState: function(t) {
|
|
336
|
-
e.push(t);
|
|
337
|
-
},
|
|
338
|
-
removeAnimationState: function(t) {
|
|
339
|
-
e.splice(We(e, { target: t }), 1);
|
|
340
|
-
},
|
|
341
|
-
animateAll: function(n) {
|
|
342
|
-
var r = this;
|
|
343
|
-
if (!this.options.animation) {
|
|
344
|
-
clearTimeout(t), typeof n == "function" && n();
|
|
345
|
-
return;
|
|
346
|
-
}
|
|
347
|
-
var i = !1, a = 0;
|
|
348
|
-
e.forEach(function(e) {
|
|
349
|
-
var t = 0, n = e.target, o = n.fromRect, s = R(n), c = n.prevFromRect, l = n.prevToRect, u = e.rect, d = Re(n, !0);
|
|
350
|
-
d && (s.top -= d.f, s.left -= d.e), n.toRect = s, n.thisAnimationDuration && qe(c, s) && !qe(o, s) && (u.top - s.top) / (u.left - s.left) === (o.top - s.top) / (o.left - s.left) && (t = nt(u, c, l, r.options)), qe(s, o) || (n.prevFromRect = o, n.prevToRect = s, t ||= r.options.animation, r.animate(n, u, s, t)), t && (i = !0, a = Math.max(a, t), clearTimeout(n.animationResetTimer), n.animationResetTimer = setTimeout(function() {
|
|
351
|
-
n.animationTime = 0, n.prevFromRect = null, n.fromRect = null, n.prevToRect = null, n.thisAnimationDuration = null;
|
|
352
|
-
}, t), n.thisAnimationDuration = t);
|
|
353
|
-
}), clearTimeout(t), i ? t = setTimeout(function() {
|
|
354
|
-
typeof n == "function" && n();
|
|
355
|
-
}, a) : typeof n == "function" && n(), e = [];
|
|
356
|
-
},
|
|
357
|
-
animate: function(e, t, n, r) {
|
|
358
|
-
if (r) {
|
|
359
|
-
I(e, "transition", ""), I(e, "transform", "");
|
|
360
|
-
var i = Re(this.el), a = i && i.a, o = i && i.d, s = (t.left - n.left) / (a || 1), c = (t.top - n.top) / (o || 1);
|
|
361
|
-
e.animatingX = !!s, e.animatingY = !!c, I(e, "transform", "translate3d(" + s + "px," + c + "px,0)"), this.forRepaintDummy = tt(e), I(e, "transition", "transform " + r + "ms" + (this.options.easing ? " " + this.options.easing : "")), I(e, "transform", "translate3d(0,0,0)"), typeof e.animated == "number" && clearTimeout(e.animated), e.animated = setTimeout(function() {
|
|
362
|
-
I(e, "transition", ""), I(e, "transform", ""), e.animated = !1, e.animatingX = !1, e.animatingY = !1;
|
|
363
|
-
}, r);
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
};
|
|
367
|
-
}
|
|
368
|
-
function tt(e) {
|
|
369
|
-
return e.offsetWidth;
|
|
370
|
-
}
|
|
371
|
-
function nt(e, t, n, r) {
|
|
372
|
-
return Math.sqrt((t.top - e.top) ** 2 + (t.left - e.left) ** 2) / Math.sqrt((t.top - n.top) ** 2 + (t.left - n.left) ** 2) * r.animation;
|
|
373
|
-
}
|
|
374
|
-
var rt = [], it = { initializeByDefault: !0 }, at = {
|
|
375
|
-
mount: function(e) {
|
|
376
|
-
for (var t in it) it.hasOwnProperty(t) && !(t in e) && (e[t] = it[t]);
|
|
377
|
-
rt.forEach(function(t) {
|
|
378
|
-
if (t.pluginName === e.pluginName) throw `Sortable: Cannot mount plugin ${e.pluginName} more than once`;
|
|
379
|
-
}), rt.push(e);
|
|
380
|
-
},
|
|
381
|
-
pluginEvent: function(e, t, n) {
|
|
382
|
-
var r = this;
|
|
383
|
-
this.eventCanceled = !1, n.cancel = function() {
|
|
384
|
-
r.eventCanceled = !0;
|
|
385
|
-
};
|
|
386
|
-
var i = e + "Global";
|
|
387
|
-
rt.forEach(function(r) {
|
|
388
|
-
t[r.pluginName] && (t[r.pluginName][i] && t[r.pluginName][i](k({ sortable: t }, n)), t.options[r.pluginName] && t[r.pluginName][e] && t[r.pluginName][e](k({ sortable: t }, n)));
|
|
389
|
-
});
|
|
390
|
-
},
|
|
391
|
-
initializePlugins: function(e, t, n, r) {
|
|
392
|
-
for (var i in rt.forEach(function(r) {
|
|
393
|
-
var i = r.pluginName;
|
|
394
|
-
if (!(!e.options[i] && !r.initializeByDefault)) {
|
|
395
|
-
var a = new r(e, t, e.options);
|
|
396
|
-
a.sortable = e, a.options = e.options, e[i] = a, O(n, a.defaults);
|
|
397
|
-
}
|
|
398
|
-
}), e.options) if (e.options.hasOwnProperty(i)) {
|
|
399
|
-
var a = this.modifyOption(e, i, e.options[i]);
|
|
400
|
-
a !== void 0 && (e.options[i] = a);
|
|
401
|
-
}
|
|
402
|
-
},
|
|
403
|
-
getEventProperties: function(e, t) {
|
|
404
|
-
var n = {};
|
|
405
|
-
return rt.forEach(function(r) {
|
|
406
|
-
typeof r.eventProperties == "function" && O(n, r.eventProperties.call(t[r.pluginName], e));
|
|
407
|
-
}), n;
|
|
408
|
-
},
|
|
409
|
-
modifyOption: function(e, t, n) {
|
|
410
|
-
var r;
|
|
411
|
-
return rt.forEach(function(i) {
|
|
412
|
-
e[i.pluginName] && i.optionListeners && typeof i.optionListeners[t] == "function" && (r = i.optionListeners[t].call(e[i.pluginName], n));
|
|
413
|
-
}), r;
|
|
414
|
-
}
|
|
415
|
-
};
|
|
416
|
-
function ot(e) {
|
|
417
|
-
var t = e.sortable, n = e.rootEl, r = e.name, i = e.targetEl, a = e.cloneEl, o = e.toEl, s = e.fromEl, c = e.oldIndex, l = e.newIndex, u = e.oldDraggableIndex, d = e.newDraggableIndex, f = e.originalEvent, p = e.putSortable, m = e.extraEventProperties;
|
|
418
|
-
if (t ||= n && n[B], t) {
|
|
419
|
-
var h, g = t.options, _ = "on" + r.charAt(0).toUpperCase() + r.substr(1);
|
|
420
|
-
window.CustomEvent && !j && !ke ? h = new CustomEvent(r, {
|
|
421
|
-
bubbles: !0,
|
|
422
|
-
cancelable: !0
|
|
423
|
-
}) : (h = document.createEvent("Event"), h.initEvent(r, !0, !0)), h.to = o || n, h.from = s || n, h.item = i || n, h.clone = a, h.oldIndex = c, h.newIndex = l, h.oldDraggableIndex = u, h.newDraggableIndex = d, h.originalEvent = f, h.pullMode = p ? p.lastPutMode : void 0;
|
|
424
|
-
var ee = k(k({}, m), at.getEventProperties(r, t));
|
|
425
|
-
for (var v in ee) h[v] = ee[v];
|
|
426
|
-
n && n.dispatchEvent(h), g[_] && g[_].call(t, h);
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
var st = ["evt"], V = function(e, t) {
|
|
430
|
-
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = n.evt, i = Ce(n, st);
|
|
431
|
-
at.pluginEvent.bind(Q)(e, t, k({
|
|
432
|
-
dragEl: U,
|
|
433
|
-
parentEl: W,
|
|
434
|
-
ghostEl: G,
|
|
435
|
-
rootEl: K,
|
|
436
|
-
nextEl: ct,
|
|
437
|
-
lastDownEl: lt,
|
|
438
|
-
cloneEl: q,
|
|
439
|
-
cloneHidden: ut,
|
|
440
|
-
dragStarted: Ct,
|
|
441
|
-
putSortable: Y,
|
|
442
|
-
activeSortable: Q.active,
|
|
443
|
-
originalEvent: r,
|
|
444
|
-
oldIndex: dt,
|
|
445
|
-
oldDraggableIndex: ft,
|
|
446
|
-
newIndex: J,
|
|
447
|
-
newDraggableIndex: pt,
|
|
448
|
-
hideGhostForTarget: Vt,
|
|
449
|
-
unhideGhostForTarget: Ht,
|
|
450
|
-
cloneNowHidden: function() {
|
|
451
|
-
ut = !0;
|
|
452
|
-
},
|
|
453
|
-
cloneNowShown: function() {
|
|
454
|
-
ut = !1;
|
|
455
|
-
},
|
|
456
|
-
dispatchSortableEvent: function(e) {
|
|
457
|
-
H({
|
|
458
|
-
sortable: t,
|
|
459
|
-
name: e,
|
|
460
|
-
originalEvent: r
|
|
461
|
-
});
|
|
462
|
-
}
|
|
463
|
-
}, i));
|
|
464
|
-
};
|
|
465
|
-
function H(e) {
|
|
466
|
-
ot(k({
|
|
467
|
-
putSortable: Y,
|
|
468
|
-
cloneEl: q,
|
|
469
|
-
targetEl: U,
|
|
470
|
-
rootEl: K,
|
|
471
|
-
oldIndex: dt,
|
|
472
|
-
oldDraggableIndex: ft,
|
|
473
|
-
newIndex: J,
|
|
474
|
-
newDraggableIndex: pt
|
|
475
|
-
}, e));
|
|
476
|
-
}
|
|
477
|
-
var U, W, G, K, ct, lt, q, ut, dt, J, ft, pt, mt, Y, ht = !1, gt = !1, _t = [], vt, X, yt, bt, xt, St, Ct, wt, Tt, Et = !1, Dt = !1, Ot, Z, kt = [], At = !1, jt = [], Mt = typeof document < "u", Nt = Me, Pt = ke || j ? "cssFloat" : "float", Ft = Mt && !Ne && !Me && "draggable" in document.createElement("div"), It = function() {
|
|
478
|
-
if (Mt) {
|
|
479
|
-
if (j) return !1;
|
|
480
|
-
var e = document.createElement("x");
|
|
481
|
-
return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
|
|
482
|
-
}
|
|
483
|
-
}(), Lt = function(e, t) {
|
|
484
|
-
var n = I(e), r = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), i = Ve(e, 0, t), a = Ve(e, 1, t), o = i && I(i), s = a && I(a), c = o && parseInt(o.marginLeft) + parseInt(o.marginRight) + R(i).width, l = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + R(a).width;
|
|
485
|
-
if (n.display === "flex") return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
486
|
-
if (n.display === "grid") return n.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
|
|
487
|
-
if (i && o.float && o.float !== "none") {
|
|
488
|
-
var u = o.float === "left" ? "left" : "right";
|
|
489
|
-
return a && (s.clear === "both" || s.clear === u) ? "vertical" : "horizontal";
|
|
490
|
-
}
|
|
491
|
-
return i && (o.display === "block" || o.display === "flex" || o.display === "table" || o.display === "grid" || c >= r && n[Pt] === "none" || a && n[Pt] === "none" && c + l > r) ? "vertical" : "horizontal";
|
|
492
|
-
}, Rt = function(e, t, n) {
|
|
493
|
-
var r = n ? e.left : e.top, i = n ? e.right : e.bottom, a = n ? e.width : e.height, o = n ? t.left : t.top, s = n ? t.right : t.bottom, c = n ? t.width : t.height;
|
|
494
|
-
return r === o || i === s || r + a / 2 === o + c / 2;
|
|
495
|
-
}, zt = function(e, t) {
|
|
496
|
-
var n;
|
|
497
|
-
return _t.some(function(r) {
|
|
498
|
-
var i = r[B].options.emptyInsertThreshold;
|
|
499
|
-
if (!(!i || He(r))) {
|
|
500
|
-
var a = R(r), o = e >= a.left - i && e <= a.right + i, s = t >= a.top - i && t <= a.bottom + i;
|
|
501
|
-
if (o && s) return n = r;
|
|
502
|
-
}
|
|
503
|
-
}), n;
|
|
504
|
-
}, Bt = function(e) {
|
|
505
|
-
function t(e, n) {
|
|
506
|
-
return function(r, i, a, o) {
|
|
507
|
-
var s = r.options.group.name && i.options.group.name && r.options.group.name === i.options.group.name;
|
|
508
|
-
if (e == null && (n || s)) return !0;
|
|
509
|
-
if (e == null || e === !1) return !1;
|
|
510
|
-
if (n && e === "clone") return e;
|
|
511
|
-
if (typeof e == "function") return t(e(r, i, a, o), n)(r, i, a, o);
|
|
512
|
-
var c = (n ? r : i).options.group.name;
|
|
513
|
-
return e === !0 || typeof e == "string" && e === c || e.join && e.indexOf(c) > -1;
|
|
514
|
-
};
|
|
515
|
-
}
|
|
516
|
-
var n = {}, r = e.group;
|
|
517
|
-
(!r || De(r) != "object") && (r = { name: r }), n.name = r.name, n.checkPull = t(r.pull, !0), n.checkPut = t(r.put), n.revertClone = r.revertClone, e.group = n;
|
|
518
|
-
}, Vt = function() {
|
|
519
|
-
!It && G && I(G, "display", "none");
|
|
520
|
-
}, Ht = function() {
|
|
521
|
-
!It && G && I(G, "display", "");
|
|
522
|
-
};
|
|
523
|
-
Mt && !Ne && document.addEventListener("click", function(e) {
|
|
524
|
-
if (gt) return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), gt = !1, !1;
|
|
525
|
-
}, !0);
|
|
526
|
-
var Ut = function(e) {
|
|
527
|
-
if (U) {
|
|
528
|
-
e = e.touches ? e.touches[0] : e;
|
|
529
|
-
var t = zt(e.clientX, e.clientY);
|
|
530
|
-
if (t) {
|
|
531
|
-
var n = {};
|
|
532
|
-
for (var r in e) e.hasOwnProperty(r) && (n[r] = e[r]);
|
|
533
|
-
n.target = n.rootEl = t, n.preventDefault = void 0, n.stopPropagation = void 0, t[B]._onDragOver(n);
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
}, Wt = function(e) {
|
|
537
|
-
U && U.parentNode[B]._isOutsideThisEl(e.target);
|
|
538
|
-
};
|
|
539
|
-
function Q(e, t) {
|
|
540
|
-
if (!(e && e.nodeType && e.nodeType === 1)) throw `Sortable: \`el\` must be an HTMLElement, not ${{}.toString.call(e)}`;
|
|
541
|
-
this.el = e, this.options = t = O({}, t), e[B] = this;
|
|
542
|
-
var n = {
|
|
543
|
-
group: null,
|
|
544
|
-
sort: !0,
|
|
545
|
-
disabled: !1,
|
|
546
|
-
store: null,
|
|
547
|
-
handle: null,
|
|
548
|
-
draggable: /^[uo]l$/i.test(e.nodeName) ? ">li" : ">*",
|
|
549
|
-
swapThreshold: 1,
|
|
550
|
-
invertSwap: !1,
|
|
551
|
-
invertedSwapThreshold: null,
|
|
552
|
-
removeCloneOnHide: !0,
|
|
553
|
-
direction: function() {
|
|
554
|
-
return Lt(e, this.options);
|
|
555
|
-
},
|
|
556
|
-
ghostClass: "sortable-ghost",
|
|
557
|
-
chosenClass: "sortable-chosen",
|
|
558
|
-
dragClass: "sortable-drag",
|
|
559
|
-
ignore: "a, img",
|
|
560
|
-
filter: null,
|
|
561
|
-
preventOnFilter: !0,
|
|
562
|
-
animation: 0,
|
|
563
|
-
easing: null,
|
|
564
|
-
setData: function(e, t) {
|
|
565
|
-
e.setData("Text", t.textContent);
|
|
566
|
-
},
|
|
567
|
-
dropBubble: !1,
|
|
568
|
-
dragoverBubble: !1,
|
|
569
|
-
dataIdAttr: "data-id",
|
|
570
|
-
delay: 0,
|
|
571
|
-
delayOnTouchOnly: !1,
|
|
572
|
-
touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
|
|
573
|
-
forceFallback: !1,
|
|
574
|
-
fallbackClass: "sortable-fallback",
|
|
575
|
-
fallbackOnBody: !1,
|
|
576
|
-
fallbackTolerance: 0,
|
|
577
|
-
fallbackOffset: {
|
|
578
|
-
x: 0,
|
|
579
|
-
y: 0
|
|
580
|
-
},
|
|
581
|
-
supportPointer: Q.supportPointer !== !1 && "PointerEvent" in window && (!je || Me),
|
|
582
|
-
emptyInsertThreshold: 5
|
|
583
|
-
};
|
|
584
|
-
for (var r in at.initializePlugins(this, e, n), n) !(r in t) && (t[r] = n[r]);
|
|
585
|
-
for (var i in Bt(t), this) i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
|
|
586
|
-
this.nativeDraggable = t.forceFallback ? !1 : Ft, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? M(e, "pointerdown", this._onTapStart) : (M(e, "mousedown", this._onTapStart), M(e, "touchstart", this._onTapStart)), this.nativeDraggable && (M(e, "dragover", this), M(e, "dragenter", this)), _t.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), O(this, et());
|
|
587
|
-
}
|
|
588
|
-
Q.prototype = {
|
|
589
|
-
constructor: Q,
|
|
590
|
-
_isOutsideThisEl: function(e) {
|
|
591
|
-
!this.el.contains(e) && e !== this.el && (wt = null);
|
|
592
|
-
},
|
|
593
|
-
_getDirection: function(e, t) {
|
|
594
|
-
return typeof this.options.direction == "function" ? this.options.direction.call(this, e, t, U) : this.options.direction;
|
|
595
|
-
},
|
|
596
|
-
_onTapStart: function(e) {
|
|
597
|
-
if (e.cancelable) {
|
|
598
|
-
var t = this, n = this.el, r = this.options, i = r.preventOnFilter, a = e.type, o = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (o || e).target, c = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, l = r.filter;
|
|
599
|
-
if (en(n), !U && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || r.disabled) && !c.isContentEditable && !(!this.nativeDraggable && je && s && s.tagName.toUpperCase() === "SELECT") && (s = P(s, r.draggable, n, !1), !(s && s.animated) && lt !== s)) {
|
|
600
|
-
if (dt = z(s), ft = z(s, r.draggable), typeof l == "function") {
|
|
601
|
-
if (l.call(this, e, s, this)) {
|
|
602
|
-
H({
|
|
603
|
-
sortable: t,
|
|
604
|
-
rootEl: c,
|
|
605
|
-
name: "filter",
|
|
606
|
-
targetEl: s,
|
|
607
|
-
toEl: n,
|
|
608
|
-
fromEl: n
|
|
609
|
-
}), V("filter", t, { evt: e }), i && e.preventDefault();
|
|
610
|
-
return;
|
|
611
|
-
}
|
|
612
|
-
} else if (l && (l = l.split(",").some(function(r) {
|
|
613
|
-
if (r = P(c, r.trim(), n, !1), r) return H({
|
|
614
|
-
sortable: t,
|
|
615
|
-
rootEl: r,
|
|
616
|
-
name: "filter",
|
|
617
|
-
targetEl: s,
|
|
618
|
-
fromEl: n,
|
|
619
|
-
toEl: n
|
|
620
|
-
}), V("filter", t, { evt: e }), !0;
|
|
621
|
-
}), l)) {
|
|
622
|
-
i && e.preventDefault();
|
|
623
|
-
return;
|
|
624
|
-
}
|
|
625
|
-
r.handle && !P(c, r.handle, n, !1) || this._prepareDragStart(e, o, s);
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
},
|
|
629
|
-
_prepareDragStart: function(e, t, n) {
|
|
630
|
-
var r = this, i = r.el, a = r.options, o = i.ownerDocument, s;
|
|
631
|
-
if (n && !U && n.parentNode === i) {
|
|
632
|
-
var c = R(n);
|
|
633
|
-
if (K = i, U = n, W = U.parentNode, ct = U.nextSibling, lt = n, mt = a.group, Q.dragged = U, vt = {
|
|
634
|
-
target: U,
|
|
635
|
-
clientX: (t || e).clientX,
|
|
636
|
-
clientY: (t || e).clientY
|
|
637
|
-
}, xt = vt.clientX - c.left, St = vt.clientY - c.top, this._lastX = (t || e).clientX, this._lastY = (t || e).clientY, U.style["will-change"] = "all", s = function() {
|
|
638
|
-
if (V("delayEnded", r, { evt: e }), Q.eventCanceled) {
|
|
639
|
-
r._onDrop();
|
|
640
|
-
return;
|
|
641
|
-
}
|
|
642
|
-
r._disableDelayedDragEvents(), !Ae && r.nativeDraggable && (U.draggable = !0), r._triggerDragStart(e, t), H({
|
|
643
|
-
sortable: r,
|
|
644
|
-
name: "choose",
|
|
645
|
-
originalEvent: e
|
|
646
|
-
}), F(U, a.chosenClass, !0);
|
|
647
|
-
}, a.ignore.split(",").forEach(function(e) {
|
|
648
|
-
ze(U, e.trim(), qt);
|
|
649
|
-
}), M(o, "dragover", Ut), M(o, "mousemove", Ut), M(o, "touchmove", Ut), a.supportPointer ? (M(o, "pointerup", r._onDrop), !this.nativeDraggable && M(o, "pointercancel", r._onDrop)) : (M(o, "mouseup", r._onDrop), M(o, "touchend", r._onDrop), M(o, "touchcancel", r._onDrop)), Ae && this.nativeDraggable && (this.options.touchStartThreshold = 4, U.draggable = !0), V("delayStart", this, { evt: e }), a.delay && (!a.delayOnTouchOnly || t) && (!this.nativeDraggable || !(ke || j))) {
|
|
650
|
-
if (Q.eventCanceled) {
|
|
651
|
-
this._onDrop();
|
|
652
|
-
return;
|
|
653
|
-
}
|
|
654
|
-
a.supportPointer ? (M(o, "pointerup", r._disableDelayedDrag), M(o, "pointercancel", r._disableDelayedDrag)) : (M(o, "mouseup", r._disableDelayedDrag), M(o, "touchend", r._disableDelayedDrag), M(o, "touchcancel", r._disableDelayedDrag)), M(o, "mousemove", r._delayedDragTouchMoveHandler), M(o, "touchmove", r._delayedDragTouchMoveHandler), a.supportPointer && M(o, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(s, a.delay);
|
|
655
|
-
} else s();
|
|
656
|
-
}
|
|
657
|
-
},
|
|
658
|
-
_delayedDragTouchMoveHandler: function(e) {
|
|
659
|
-
var t = e.touches ? e.touches[0] : e;
|
|
660
|
-
Math.max(Math.abs(t.clientX - this._lastX), Math.abs(t.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
|
|
661
|
-
},
|
|
662
|
-
_disableDelayedDrag: function() {
|
|
663
|
-
U && qt(U), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
|
|
664
|
-
},
|
|
665
|
-
_disableDelayedDragEvents: function() {
|
|
666
|
-
var e = this.el.ownerDocument;
|
|
667
|
-
N(e, "mouseup", this._disableDelayedDrag), N(e, "touchend", this._disableDelayedDrag), N(e, "touchcancel", this._disableDelayedDrag), N(e, "pointerup", this._disableDelayedDrag), N(e, "pointercancel", this._disableDelayedDrag), N(e, "mousemove", this._delayedDragTouchMoveHandler), N(e, "touchmove", this._delayedDragTouchMoveHandler), N(e, "pointermove", this._delayedDragTouchMoveHandler);
|
|
668
|
-
},
|
|
669
|
-
_triggerDragStart: function(e, t) {
|
|
670
|
-
t ||= e.pointerType == "touch" && e, !this.nativeDraggable || t ? this.options.supportPointer ? M(document, "pointermove", this._onTouchMove) : t ? M(document, "touchmove", this._onTouchMove) : M(document, "mousemove", this._onTouchMove) : (M(U, "dragend", this), M(K, "dragstart", this._onDragStart));
|
|
671
|
-
try {
|
|
672
|
-
document.selection ? tn(function() {
|
|
673
|
-
document.selection.empty();
|
|
674
|
-
}) : window.getSelection().removeAllRanges();
|
|
675
|
-
} catch {}
|
|
676
|
-
},
|
|
677
|
-
_dragStarted: function(e, t) {
|
|
678
|
-
if (ht = !1, K && U) {
|
|
679
|
-
V("dragStarted", this, { evt: t }), this.nativeDraggable && M(document, "dragover", Wt);
|
|
680
|
-
var n = this.options;
|
|
681
|
-
!e && F(U, n.dragClass, !1), F(U, n.ghostClass, !0), Q.active = this, e && this._appendGhost(), H({
|
|
682
|
-
sortable: this,
|
|
683
|
-
name: "start",
|
|
684
|
-
originalEvent: t
|
|
685
|
-
});
|
|
686
|
-
} else this._nulling();
|
|
687
|
-
},
|
|
688
|
-
_emulateDragOver: function() {
|
|
689
|
-
if (X) {
|
|
690
|
-
this._lastX = X.clientX, this._lastY = X.clientY, Vt();
|
|
691
|
-
for (var e = document.elementFromPoint(X.clientX, X.clientY), t = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(X.clientX, X.clientY), e !== t);) t = e;
|
|
692
|
-
if (U.parentNode[B]._isOutsideThisEl(e), t) do {
|
|
693
|
-
if (t[B]) {
|
|
694
|
-
var n = void 0;
|
|
695
|
-
if (n = t[B]._onDragOver({
|
|
696
|
-
clientX: X.clientX,
|
|
697
|
-
clientY: X.clientY,
|
|
698
|
-
target: e,
|
|
699
|
-
rootEl: t
|
|
700
|
-
}), n && !this.options.dragoverBubble) break;
|
|
701
|
-
}
|
|
702
|
-
e = t;
|
|
703
|
-
} while (t = Ie(t));
|
|
704
|
-
Ht();
|
|
705
|
-
}
|
|
706
|
-
},
|
|
707
|
-
_onTouchMove: function(e) {
|
|
708
|
-
if (vt) {
|
|
709
|
-
var t = this.options, n = t.fallbackTolerance, r = t.fallbackOffset, i = e.touches ? e.touches[0] : e, a = G && Re(G, !0), o = G && a && a.a, s = G && a && a.d, c = Nt && Z && Ue(Z), l = (i.clientX - vt.clientX + r.x) / (o || 1) + (c ? c[0] - kt[0] : 0) / (o || 1), u = (i.clientY - vt.clientY + r.y) / (s || 1) + (c ? c[1] - kt[1] : 0) / (s || 1);
|
|
710
|
-
if (!Q.active && !ht) {
|
|
711
|
-
if (n && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < n) return;
|
|
712
|
-
this._onDragStart(e, !0);
|
|
713
|
-
}
|
|
714
|
-
if (G) {
|
|
715
|
-
a ? (a.e += l - (yt || 0), a.f += u - (bt || 0)) : a = {
|
|
716
|
-
a: 1,
|
|
717
|
-
b: 0,
|
|
718
|
-
c: 0,
|
|
719
|
-
d: 1,
|
|
720
|
-
e: l,
|
|
721
|
-
f: u
|
|
722
|
-
};
|
|
723
|
-
var d = `matrix(${a.a},${a.b},${a.c},${a.d},${a.e},${a.f})`;
|
|
724
|
-
I(G, "webkitTransform", d), I(G, "mozTransform", d), I(G, "msTransform", d), I(G, "transform", d), yt = l, bt = u, X = i;
|
|
725
|
-
}
|
|
726
|
-
e.cancelable && e.preventDefault();
|
|
727
|
-
}
|
|
728
|
-
},
|
|
729
|
-
_appendGhost: function() {
|
|
730
|
-
if (!G) {
|
|
731
|
-
var e = this.options.fallbackOnBody ? document.body : K, t = R(U, !0, Nt, !0, e), n = this.options;
|
|
732
|
-
if (Nt) {
|
|
733
|
-
for (Z = e; I(Z, "position") === "static" && I(Z, "transform") === "none" && Z !== document;) Z = Z.parentNode;
|
|
734
|
-
Z !== document.body && Z !== document.documentElement ? (Z === document && (Z = L()), t.top += Z.scrollTop, t.left += Z.scrollLeft) : Z = L(), kt = Ue(Z);
|
|
735
|
-
}
|
|
736
|
-
G = U.cloneNode(!0), F(G, n.ghostClass, !1), F(G, n.fallbackClass, !0), F(G, n.dragClass, !0), I(G, "transition", ""), I(G, "transform", ""), I(G, "box-sizing", "border-box"), I(G, "margin", 0), I(G, "top", t.top), I(G, "left", t.left), I(G, "width", t.width), I(G, "height", t.height), I(G, "opacity", "0.8"), I(G, "position", Nt ? "absolute" : "fixed"), I(G, "zIndex", "100000"), I(G, "pointerEvents", "none"), Q.ghost = G, e.appendChild(G), I(G, "transform-origin", xt / parseInt(G.style.width) * 100 + "% " + St / parseInt(G.style.height) * 100 + "%");
|
|
737
|
-
}
|
|
738
|
-
},
|
|
739
|
-
_onDragStart: function(e, t) {
|
|
740
|
-
var n = this, r = e.dataTransfer, i = n.options;
|
|
741
|
-
if (V("dragStart", this, { evt: e }), Q.eventCanceled) {
|
|
742
|
-
this._onDrop();
|
|
743
|
-
return;
|
|
744
|
-
}
|
|
745
|
-
V("setupClone", this), Q.eventCanceled || (q = Qe(U), q.removeAttribute("id"), q.draggable = !1, q.style["will-change"] = "", this._hideClone(), F(q, this.options.chosenClass, !1), Q.clone = q), n.cloneId = tn(function() {
|
|
746
|
-
V("clone", n), !Q.eventCanceled && (n.options.removeCloneOnHide || K.insertBefore(q, U), n._hideClone(), H({
|
|
747
|
-
sortable: n,
|
|
748
|
-
name: "clone"
|
|
749
|
-
}));
|
|
750
|
-
}), !t && F(U, i.dragClass, !0), t ? (gt = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (N(document, "mouseup", n._onDrop), N(document, "touchend", n._onDrop), N(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", i.setData && i.setData.call(n, r, U)), M(document, "drop", n), I(U, "transform", "translateZ(0)")), ht = !0, n._dragStartId = tn(n._dragStarted.bind(n, t, e)), M(document, "selectstart", n), Ct = !0, window.getSelection().removeAllRanges(), je && I(document.body, "user-select", "none");
|
|
751
|
-
},
|
|
752
|
-
_onDragOver: function(e) {
|
|
753
|
-
var t = this.el, n = e.target, r, i, a, o = this.options, s = o.group, c = Q.active, l = mt === s, u = o.sort, d = Y || c, f, p = this, m = !1;
|
|
754
|
-
if (At) return;
|
|
755
|
-
function h(o, s) {
|
|
756
|
-
V(o, p, k({
|
|
757
|
-
evt: e,
|
|
758
|
-
isOwner: l,
|
|
759
|
-
axis: f ? "vertical" : "horizontal",
|
|
760
|
-
revert: a,
|
|
761
|
-
dragRect: r,
|
|
762
|
-
targetRect: i,
|
|
763
|
-
canSort: u,
|
|
764
|
-
fromSortable: d,
|
|
765
|
-
target: n,
|
|
766
|
-
completed: _,
|
|
767
|
-
onMove: function(n, i) {
|
|
768
|
-
return Kt(K, t, U, r, n, R(n), e, i);
|
|
769
|
-
},
|
|
770
|
-
changed: ee
|
|
771
|
-
}, s));
|
|
772
|
-
}
|
|
773
|
-
function g() {
|
|
774
|
-
h("dragOverAnimationCapture"), p.captureAnimationState(), p !== d && d.captureAnimationState();
|
|
775
|
-
}
|
|
776
|
-
function _(r) {
|
|
777
|
-
return h("dragOverCompleted", { insertion: r }), r && (l ? c._hideClone() : c._showClone(p), p !== d && (F(U, Y ? Y.options.ghostClass : c.options.ghostClass, !1), F(U, o.ghostClass, !0)), Y !== p && p !== Q.active ? Y = p : p === Q.active && Y && (Y = null), d === p && (p._ignoreWhileAnimating = n), p.animateAll(function() {
|
|
778
|
-
h("dragOverAnimationComplete"), p._ignoreWhileAnimating = null;
|
|
779
|
-
}), p !== d && (d.animateAll(), d._ignoreWhileAnimating = null)), (n === U && !U.animated || n === t && !n.animated) && (wt = null), !o.dragoverBubble && !e.rootEl && n !== document && (U.parentNode[B]._isOutsideThisEl(e.target), !r && Ut(e)), !o.dragoverBubble && e.stopPropagation && e.stopPropagation(), m = !0;
|
|
780
|
-
}
|
|
781
|
-
function ee() {
|
|
782
|
-
J = z(U), pt = z(U, o.draggable), H({
|
|
783
|
-
sortable: p,
|
|
784
|
-
name: "change",
|
|
785
|
-
toEl: t,
|
|
786
|
-
newIndex: J,
|
|
787
|
-
newDraggableIndex: pt,
|
|
788
|
-
originalEvent: e
|
|
789
|
-
});
|
|
790
|
-
}
|
|
791
|
-
if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = P(n, o.draggable, t, !0), h("dragOver"), Q.eventCanceled) return m;
|
|
792
|
-
if (U.contains(e.target) || n.animated && n.animatingX && n.animatingY || p._ignoreWhileAnimating === n) return _(!1);
|
|
793
|
-
if (gt = !1, c && !o.disabled && (l ? u || (a = W !== K) : Y === this || (this.lastPutMode = mt.checkPull(this, c, U, e)) && s.checkPut(this, c, U, e))) {
|
|
794
|
-
if (f = this._getDirection(e, n) === "vertical", r = R(U), h("dragOverValid"), Q.eventCanceled) return m;
|
|
795
|
-
if (a) return W = K, g(), this._hideClone(), h("revert"), Q.eventCanceled || (ct ? K.insertBefore(U, ct) : K.appendChild(U)), _(!0);
|
|
796
|
-
var v = He(t, o.draggable);
|
|
797
|
-
if (!v || Xt(e, f, this) && !v.animated) {
|
|
798
|
-
if (v === U) return _(!1);
|
|
799
|
-
if (v && t === e.target && (n = v), n && (i = R(n)), Kt(K, t, U, r, n, i, e, !!n) !== !1) return g(), v && v.nextSibling ? t.insertBefore(U, v.nextSibling) : t.appendChild(U), W = t, ee(), _(!0);
|
|
800
|
-
} else if (v && Yt(e, f, this)) {
|
|
801
|
-
var y = Ve(t, 0, o, !0);
|
|
802
|
-
if (y === U) return _(!1);
|
|
803
|
-
if (n = y, i = R(n), Kt(K, t, U, r, n, i, e, !1) !== !1) return g(), t.insertBefore(U, y), W = t, ee(), _(!0);
|
|
804
|
-
} else if (n.parentNode === t) {
|
|
805
|
-
i = R(n);
|
|
806
|
-
var b = 0, te, ne = U.parentNode !== t, re = !Rt(U.animated && U.toRect || r, n.animated && n.toRect || i, f), x = f ? "top" : "left", ie = Be(n, "top", "top") || Be(U, "top", "top"), ae = ie ? ie.scrollTop : void 0;
|
|
807
|
-
wt !== n && (te = i[x], Et = !1, Dt = !re && o.invertSwap || ne), b = Zt(e, n, i, f, re ? 1 : o.swapThreshold, o.invertedSwapThreshold == null ? o.swapThreshold : o.invertedSwapThreshold, Dt, wt === n);
|
|
808
|
-
var S;
|
|
809
|
-
if (b !== 0) {
|
|
810
|
-
var oe = z(U);
|
|
811
|
-
do
|
|
812
|
-
oe -= b, S = W.children[oe];
|
|
813
|
-
while (S && (I(S, "display") === "none" || S === G));
|
|
814
|
-
}
|
|
815
|
-
if (b === 0 || S === n) return _(!1);
|
|
816
|
-
wt = n, Tt = b;
|
|
817
|
-
var C = n.nextElementSibling, w = !1;
|
|
818
|
-
w = b === 1;
|
|
819
|
-
var se = Kt(K, t, U, r, n, i, e, w);
|
|
820
|
-
if (se !== !1) return (se === 1 || se === -1) && (w = se === 1), At = !0, setTimeout(Jt, 30), g(), w && !C ? t.appendChild(U) : n.parentNode.insertBefore(U, w ? C : n), ie && Ze(ie, 0, ae - ie.scrollTop), W = U.parentNode, te !== void 0 && !Dt && (Ot = Math.abs(te - R(n)[x])), ee(), _(!0);
|
|
821
|
-
}
|
|
822
|
-
if (t.contains(U)) return _(!1);
|
|
823
|
-
}
|
|
824
|
-
return !1;
|
|
825
|
-
},
|
|
826
|
-
_ignoreWhileAnimating: null,
|
|
827
|
-
_offMoveEvents: function() {
|
|
828
|
-
N(document, "mousemove", this._onTouchMove), N(document, "touchmove", this._onTouchMove), N(document, "pointermove", this._onTouchMove), N(document, "dragover", Ut), N(document, "mousemove", Ut), N(document, "touchmove", Ut);
|
|
829
|
-
},
|
|
830
|
-
_offUpEvents: function() {
|
|
831
|
-
var e = this.el.ownerDocument;
|
|
832
|
-
N(e, "mouseup", this._onDrop), N(e, "touchend", this._onDrop), N(e, "pointerup", this._onDrop), N(e, "pointercancel", this._onDrop), N(e, "touchcancel", this._onDrop), N(document, "selectstart", this);
|
|
833
|
-
},
|
|
834
|
-
_onDrop: function(e) {
|
|
835
|
-
var t = this.el, n = this.options;
|
|
836
|
-
if (J = z(U), pt = z(U, n.draggable), V("drop", this, { evt: e }), W = U && U.parentNode, J = z(U), pt = z(U, n.draggable), Q.eventCanceled) {
|
|
837
|
-
this._nulling();
|
|
838
|
-
return;
|
|
839
|
-
}
|
|
840
|
-
ht = !1, Dt = !1, Et = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), nn(this.cloneId), nn(this._dragStartId), this.nativeDraggable && (N(document, "drop", this), N(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), je && I(document.body, "user-select", ""), I(U, "transform", ""), e && (Ct && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), G && G.parentNode && G.parentNode.removeChild(G), (K === W || Y && Y.lastPutMode !== "clone") && q && q.parentNode && q.parentNode.removeChild(q), U && (this.nativeDraggable && N(U, "dragend", this), qt(U), U.style["will-change"] = "", Ct && !ht && F(U, Y ? Y.options.ghostClass : this.options.ghostClass, !1), F(U, this.options.chosenClass, !1), H({
|
|
841
|
-
sortable: this,
|
|
842
|
-
name: "unchoose",
|
|
843
|
-
toEl: W,
|
|
844
|
-
newIndex: null,
|
|
845
|
-
newDraggableIndex: null,
|
|
846
|
-
originalEvent: e
|
|
847
|
-
}), K === W ? J !== dt && J >= 0 && (H({
|
|
848
|
-
sortable: this,
|
|
849
|
-
name: "update",
|
|
850
|
-
toEl: W,
|
|
851
|
-
originalEvent: e
|
|
852
|
-
}), H({
|
|
853
|
-
sortable: this,
|
|
854
|
-
name: "sort",
|
|
855
|
-
toEl: W,
|
|
856
|
-
originalEvent: e
|
|
857
|
-
})) : (J >= 0 && (H({
|
|
858
|
-
rootEl: W,
|
|
859
|
-
name: "add",
|
|
860
|
-
toEl: W,
|
|
861
|
-
fromEl: K,
|
|
862
|
-
originalEvent: e
|
|
863
|
-
}), H({
|
|
864
|
-
sortable: this,
|
|
865
|
-
name: "remove",
|
|
866
|
-
toEl: W,
|
|
867
|
-
originalEvent: e
|
|
868
|
-
}), H({
|
|
869
|
-
rootEl: W,
|
|
870
|
-
name: "sort",
|
|
871
|
-
toEl: W,
|
|
872
|
-
fromEl: K,
|
|
873
|
-
originalEvent: e
|
|
874
|
-
}), H({
|
|
875
|
-
sortable: this,
|
|
876
|
-
name: "sort",
|
|
877
|
-
toEl: W,
|
|
878
|
-
originalEvent: e
|
|
879
|
-
})), Y && Y.save()), Q.active && ((J == null || J === -1) && (J = dt, pt = ft), H({
|
|
880
|
-
sortable: this,
|
|
881
|
-
name: "end",
|
|
882
|
-
toEl: W,
|
|
883
|
-
originalEvent: e
|
|
884
|
-
}), this.save()))), this._nulling();
|
|
885
|
-
},
|
|
886
|
-
_nulling: function() {
|
|
887
|
-
V("nulling", this), K = U = W = G = ct = q = lt = ut = vt = X = Ct = J = pt = dt = ft = wt = Tt = Y = mt = Q.dragged = Q.ghost = Q.clone = Q.active = null;
|
|
888
|
-
var e = this.el;
|
|
889
|
-
jt.forEach(function(t) {
|
|
890
|
-
e.contains(t) && (t.checked = !0);
|
|
891
|
-
}), jt.length = yt = bt = 0;
|
|
892
|
-
},
|
|
893
|
-
handleEvent: function(e) {
|
|
894
|
-
switch (e.type) {
|
|
895
|
-
case "drop":
|
|
896
|
-
case "dragend":
|
|
897
|
-
this._onDrop(e);
|
|
898
|
-
break;
|
|
899
|
-
case "dragenter":
|
|
900
|
-
case "dragover":
|
|
901
|
-
U && (this._onDragOver(e), Gt(e));
|
|
902
|
-
break;
|
|
903
|
-
case "selectstart":
|
|
904
|
-
e.preventDefault();
|
|
905
|
-
break;
|
|
906
|
-
}
|
|
907
|
-
},
|
|
908
|
-
toArray: function() {
|
|
909
|
-
for (var e = [], t, n = this.el.children, r = 0, i = n.length, a = this.options; r < i; r++) t = n[r], P(t, a.draggable, this.el, !1) && e.push(t.getAttribute(a.dataIdAttr) || $t(t));
|
|
910
|
-
return e;
|
|
911
|
-
},
|
|
912
|
-
sort: function(e, t) {
|
|
913
|
-
var n = {}, r = this.el;
|
|
914
|
-
this.toArray().forEach(function(e, t) {
|
|
915
|
-
var i = r.children[t];
|
|
916
|
-
P(i, this.options.draggable, r, !1) && (n[e] = i);
|
|
917
|
-
}, this), t && this.captureAnimationState(), e.forEach(function(e) {
|
|
918
|
-
n[e] && (r.removeChild(n[e]), r.appendChild(n[e]));
|
|
919
|
-
}), t && this.animateAll();
|
|
920
|
-
},
|
|
921
|
-
save: function() {
|
|
922
|
-
var e = this.options.store;
|
|
923
|
-
e && e.set && e.set(this);
|
|
924
|
-
},
|
|
925
|
-
closest: function(e, t) {
|
|
926
|
-
return P(e, t || this.options.draggable, this.el, !1);
|
|
927
|
-
},
|
|
928
|
-
option: function(e, t) {
|
|
929
|
-
var n = this.options;
|
|
930
|
-
if (t === void 0) return n[e];
|
|
931
|
-
var r = at.modifyOption(this, e, t);
|
|
932
|
-
r === void 0 ? n[e] = t : n[e] = r, e === "group" && Bt(n);
|
|
933
|
-
},
|
|
934
|
-
destroy: function() {
|
|
935
|
-
V("destroy", this);
|
|
936
|
-
var e = this.el;
|
|
937
|
-
e[B] = null, N(e, "mousedown", this._onTapStart), N(e, "touchstart", this._onTapStart), N(e, "pointerdown", this._onTapStart), this.nativeDraggable && (N(e, "dragover", this), N(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(e) {
|
|
938
|
-
e.removeAttribute("draggable");
|
|
939
|
-
}), this._onDrop(), this._disableDelayedDragEvents(), _t.splice(_t.indexOf(this.el), 1), this.el = e = null;
|
|
940
|
-
},
|
|
941
|
-
_hideClone: function() {
|
|
942
|
-
if (!ut) {
|
|
943
|
-
if (V("hideClone", this), Q.eventCanceled) return;
|
|
944
|
-
I(q, "display", "none"), this.options.removeCloneOnHide && q.parentNode && q.parentNode.removeChild(q), ut = !0;
|
|
945
|
-
}
|
|
946
|
-
},
|
|
947
|
-
_showClone: function(e) {
|
|
948
|
-
if (e.lastPutMode !== "clone") {
|
|
949
|
-
this._hideClone();
|
|
950
|
-
return;
|
|
951
|
-
}
|
|
952
|
-
if (ut) {
|
|
953
|
-
if (V("showClone", this), Q.eventCanceled) return;
|
|
954
|
-
U.parentNode == K && !this.options.group.revertClone ? K.insertBefore(q, U) : ct ? K.insertBefore(q, ct) : K.appendChild(q), this.options.group.revertClone && this.animate(U, q), I(q, "display", ""), ut = !1;
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
};
|
|
958
|
-
function Gt(e) {
|
|
959
|
-
e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
|
|
960
|
-
}
|
|
961
|
-
function Kt(e, t, n, r, i, a, o, s) {
|
|
962
|
-
var c, l = e[B], u = l.options.onMove, d;
|
|
963
|
-
return window.CustomEvent && !j && !ke ? c = new CustomEvent("move", {
|
|
964
|
-
bubbles: !0,
|
|
965
|
-
cancelable: !0
|
|
966
|
-
}) : (c = document.createEvent("Event"), c.initEvent("move", !0, !0)), c.to = t, c.from = e, c.dragged = n, c.draggedRect = r, c.related = i || t, c.relatedRect = a || R(t), c.willInsertAfter = s, c.originalEvent = o, e.dispatchEvent(c), u && (d = u.call(l, c, o)), d;
|
|
967
|
-
}
|
|
968
|
-
function qt(e) {
|
|
969
|
-
e.draggable = !1;
|
|
970
|
-
}
|
|
971
|
-
function Jt() {
|
|
972
|
-
At = !1;
|
|
973
|
-
}
|
|
974
|
-
function Yt(e, t, n) {
|
|
975
|
-
var r = R(Ve(n.el, 0, n.options, !0)), i = $e(n.el, n.options, G), a = 10;
|
|
976
|
-
return t ? e.clientX < i.left - a || e.clientY < r.top && e.clientX < r.right : e.clientY < i.top - a || e.clientY < r.bottom && e.clientX < r.left;
|
|
977
|
-
}
|
|
978
|
-
function Xt(e, t, n) {
|
|
979
|
-
var r = R(He(n.el, n.options.draggable)), i = $e(n.el, n.options, G), a = 10;
|
|
980
|
-
return t ? e.clientX > i.right + a || e.clientY > r.bottom && e.clientX > r.left : e.clientY > i.bottom + a || e.clientX > r.right && e.clientY > r.top;
|
|
981
|
-
}
|
|
982
|
-
function Zt(e, t, n, r, i, a, o, s) {
|
|
983
|
-
var c = r ? e.clientY : e.clientX, l = r ? n.height : n.width, u = r ? n.top : n.left, d = r ? n.bottom : n.right, f = !1;
|
|
984
|
-
if (!o) {
|
|
985
|
-
if (s && Ot < l * i) {
|
|
986
|
-
if (!Et && (Tt === 1 ? c > u + l * a / 2 : c < d - l * a / 2) && (Et = !0), Et) f = !0;
|
|
987
|
-
else if (Tt === 1 ? c < u + Ot : c > d - Ot) return -Tt;
|
|
988
|
-
} else if (c > u + l * (1 - i) / 2 && c < d - l * (1 - i) / 2) return Qt(t);
|
|
989
|
-
}
|
|
990
|
-
return f ||= o, f && (c < u + l * a / 2 || c > d - l * a / 2) ? c > u + l / 2 ? 1 : -1 : 0;
|
|
991
|
-
}
|
|
992
|
-
function Qt(e) {
|
|
993
|
-
return z(U) < z(e) ? 1 : -1;
|
|
994
|
-
}
|
|
995
|
-
function $t(e) {
|
|
996
|
-
for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, r = 0; n--;) r += t.charCodeAt(n);
|
|
997
|
-
return r.toString(36);
|
|
998
|
-
}
|
|
999
|
-
function en(e) {
|
|
1000
|
-
jt.length = 0;
|
|
1001
|
-
for (var t = e.getElementsByTagName("input"), n = t.length; n--;) {
|
|
1002
|
-
var r = t[n];
|
|
1003
|
-
r.checked && jt.push(r);
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
function tn(e) {
|
|
1007
|
-
return setTimeout(e, 0);
|
|
1008
|
-
}
|
|
1009
|
-
function nn(e) {
|
|
1010
|
-
return clearTimeout(e);
|
|
1011
|
-
}
|
|
1012
|
-
Mt && M(document, "touchmove", function(e) {
|
|
1013
|
-
(Q.active || ht) && e.cancelable && e.preventDefault();
|
|
1014
|
-
}), Q.utils = {
|
|
1015
|
-
on: M,
|
|
1016
|
-
off: N,
|
|
1017
|
-
css: I,
|
|
1018
|
-
find: ze,
|
|
1019
|
-
is: function(e, t) {
|
|
1020
|
-
return !!P(e, t, e, !1);
|
|
1021
|
-
},
|
|
1022
|
-
extend: Ke,
|
|
1023
|
-
throttle: Ye,
|
|
1024
|
-
closest: P,
|
|
1025
|
-
toggleClass: F,
|
|
1026
|
-
clone: Qe,
|
|
1027
|
-
index: z,
|
|
1028
|
-
nextTick: tn,
|
|
1029
|
-
cancelNextTick: nn,
|
|
1030
|
-
detectDirection: Lt,
|
|
1031
|
-
getChild: Ve,
|
|
1032
|
-
expando: B
|
|
1033
|
-
}, Q.get = function(e) {
|
|
1034
|
-
return e[B];
|
|
1035
|
-
}, Q.mount = function() {
|
|
1036
|
-
var e = [...arguments];
|
|
1037
|
-
e[0].constructor === Array && (e = e[0]), e.forEach(function(e) {
|
|
1038
|
-
if (!e.prototype || !e.prototype.constructor) throw `Sortable: Mounted plugin must be a constructor function, not ${{}.toString.call(e)}`;
|
|
1039
|
-
e.utils && (Q.utils = k(k({}, Q.utils), e.utils)), at.mount(e);
|
|
1040
|
-
});
|
|
1041
|
-
}, Q.create = function(e, t) {
|
|
1042
|
-
return new Q(e, t);
|
|
1043
|
-
}, Q.version = Oe;
|
|
1044
|
-
var $ = [], rn, an, on = !1, sn, cn, ln, un;
|
|
1045
|
-
function dn() {
|
|
1046
|
-
function e() {
|
|
1047
|
-
for (var e in this.defaults = {
|
|
1048
|
-
scroll: !0,
|
|
1049
|
-
forceAutoScrollFallback: !1,
|
|
1050
|
-
scrollSensitivity: 30,
|
|
1051
|
-
scrollSpeed: 10,
|
|
1052
|
-
bubbleScroll: !0
|
|
1053
|
-
}, this) e.charAt(0) === "_" && typeof this[e] == "function" && (this[e] = this[e].bind(this));
|
|
1054
|
-
}
|
|
1055
|
-
return e.prototype = {
|
|
1056
|
-
dragStarted: function(e) {
|
|
1057
|
-
var t = e.originalEvent;
|
|
1058
|
-
this.sortable.nativeDraggable ? M(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? M(document, "pointermove", this._handleFallbackAutoScroll) : t.touches ? M(document, "touchmove", this._handleFallbackAutoScroll) : M(document, "mousemove", this._handleFallbackAutoScroll);
|
|
1059
|
-
},
|
|
1060
|
-
dragOverCompleted: function(e) {
|
|
1061
|
-
var t = e.originalEvent;
|
|
1062
|
-
!this.options.dragOverBubble && !t.rootEl && this._handleAutoScroll(t);
|
|
1063
|
-
},
|
|
1064
|
-
drop: function() {
|
|
1065
|
-
this.sortable.nativeDraggable ? N(document, "dragover", this._handleAutoScroll) : (N(document, "pointermove", this._handleFallbackAutoScroll), N(document, "touchmove", this._handleFallbackAutoScroll), N(document, "mousemove", this._handleFallbackAutoScroll)), pn(), fn(), Xe();
|
|
1066
|
-
},
|
|
1067
|
-
nulling: function() {
|
|
1068
|
-
ln = an = rn = on = un = sn = cn = null, $.length = 0;
|
|
1069
|
-
},
|
|
1070
|
-
_handleFallbackAutoScroll: function(e) {
|
|
1071
|
-
this._handleAutoScroll(e, !0);
|
|
1072
|
-
},
|
|
1073
|
-
_handleAutoScroll: function(e, t) {
|
|
1074
|
-
var n = this, r = (e.touches ? e.touches[0] : e).clientX, i = (e.touches ? e.touches[0] : e).clientY, a = document.elementFromPoint(r, i);
|
|
1075
|
-
if (ln = e, t || this.options.forceAutoScrollFallback || ke || j || je) {
|
|
1076
|
-
mn(e, this.options, a, t);
|
|
1077
|
-
var o = Ge(a, !0);
|
|
1078
|
-
on && (!un || r !== sn || i !== cn) && (un && pn(), un = setInterval(function() {
|
|
1079
|
-
var a = Ge(document.elementFromPoint(r, i), !0);
|
|
1080
|
-
a !== o && (o = a, fn()), mn(e, n.options, a, t);
|
|
1081
|
-
}, 10), sn = r, cn = i);
|
|
1082
|
-
} else {
|
|
1083
|
-
if (!this.options.bubbleScroll || Ge(a, !0) === L()) {
|
|
1084
|
-
fn();
|
|
1085
|
-
return;
|
|
1086
|
-
}
|
|
1087
|
-
mn(e, this.options, Ge(a, !1), !1);
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
}, O(e, {
|
|
1091
|
-
pluginName: "scroll",
|
|
1092
|
-
initializeByDefault: !0
|
|
1093
|
-
});
|
|
1094
|
-
}
|
|
1095
|
-
function fn() {
|
|
1096
|
-
$.forEach(function(e) {
|
|
1097
|
-
clearInterval(e.pid);
|
|
1098
|
-
}), $ = [];
|
|
1099
|
-
}
|
|
1100
|
-
function pn() {
|
|
1101
|
-
clearInterval(un);
|
|
1102
|
-
}
|
|
1103
|
-
var mn = Ye(function(e, t, n, r) {
|
|
1104
|
-
if (t.scroll) {
|
|
1105
|
-
var i = (e.touches ? e.touches[0] : e).clientX, a = (e.touches ? e.touches[0] : e).clientY, o = t.scrollSensitivity, s = t.scrollSpeed, c = L(), l = !1, u;
|
|
1106
|
-
an !== n && (an = n, fn(), rn = t.scroll, u = t.scrollFn, rn === !0 && (rn = Ge(n, !0)));
|
|
1107
|
-
var d = 0, f = rn;
|
|
1108
|
-
do {
|
|
1109
|
-
var p = f, m = R(p), h = m.top, g = m.bottom, _ = m.left, ee = m.right, v = m.width, y = m.height, b = void 0, te = void 0, ne = p.scrollWidth, re = p.scrollHeight, x = I(p), ie = p.scrollLeft, ae = p.scrollTop;
|
|
1110
|
-
p === c ? (b = v < ne && (x.overflowX === "auto" || x.overflowX === "scroll" || x.overflowX === "visible"), te = y < re && (x.overflowY === "auto" || x.overflowY === "scroll" || x.overflowY === "visible")) : (b = v < ne && (x.overflowX === "auto" || x.overflowX === "scroll"), te = y < re && (x.overflowY === "auto" || x.overflowY === "scroll"));
|
|
1111
|
-
var S = b && (Math.abs(ee - i) <= o && ie + v < ne) - (Math.abs(_ - i) <= o && !!ie), oe = te && (Math.abs(g - a) <= o && ae + y < re) - (Math.abs(h - a) <= o && !!ae);
|
|
1112
|
-
if (!$[d]) for (var C = 0; C <= d; C++) $[C] || ($[C] = {});
|
|
1113
|
-
($[d].vx != S || $[d].vy != oe || $[d].el !== p) && ($[d].el = p, $[d].vx = S, $[d].vy = oe, clearInterval($[d].pid), (S != 0 || oe != 0) && (l = !0, $[d].pid = setInterval(function() {
|
|
1114
|
-
r && this.layer === 0 && Q.active._onTouchMove(ln);
|
|
1115
|
-
var t = $[this.layer].vy ? $[this.layer].vy * s : 0, n = $[this.layer].vx ? $[this.layer].vx * s : 0;
|
|
1116
|
-
typeof u == "function" && u.call(Q.dragged.parentNode[B], n, t, e, ln, $[this.layer].el) !== "continue" || Ze($[this.layer].el, n, t);
|
|
1117
|
-
}.bind({ layer: d }), 24))), d++;
|
|
1118
|
-
} while (t.bubbleScroll && f !== c && (f = Ge(f, !1)));
|
|
1119
|
-
on = l;
|
|
1120
|
-
}
|
|
1121
|
-
}, 30), hn = function(e) {
|
|
1122
|
-
var t = e.originalEvent, n = e.putSortable, r = e.dragEl, i = e.activeSortable, a = e.dispatchSortableEvent, o = e.hideGhostForTarget, s = e.unhideGhostForTarget;
|
|
1123
|
-
if (t) {
|
|
1124
|
-
var c = n || i;
|
|
1125
|
-
o();
|
|
1126
|
-
var l = t.changedTouches && t.changedTouches.length ? t.changedTouches[0] : t, u = document.elementFromPoint(l.clientX, l.clientY);
|
|
1127
|
-
s(), c && !c.el.contains(u) && (a("spill"), this.onSpill({
|
|
1128
|
-
dragEl: r,
|
|
1129
|
-
putSortable: n
|
|
1130
|
-
}));
|
|
1131
|
-
}
|
|
1132
|
-
};
|
|
1133
|
-
function gn() {}
|
|
1134
|
-
gn.prototype = {
|
|
1135
|
-
startIndex: null,
|
|
1136
|
-
dragStart: function(e) {
|
|
1137
|
-
this.startIndex = e.oldDraggableIndex;
|
|
1138
|
-
},
|
|
1139
|
-
onSpill: function(e) {
|
|
1140
|
-
var t = e.dragEl, n = e.putSortable;
|
|
1141
|
-
this.sortable.captureAnimationState(), n && n.captureAnimationState();
|
|
1142
|
-
var r = Ve(this.sortable.el, this.startIndex, this.options);
|
|
1143
|
-
r ? this.sortable.el.insertBefore(t, r) : this.sortable.el.appendChild(t), this.sortable.animateAll(), n && n.animateAll();
|
|
1144
|
-
},
|
|
1145
|
-
drop: hn
|
|
1146
|
-
}, O(gn, { pluginName: "revertOnSpill" });
|
|
1147
|
-
function _n() {}
|
|
1148
|
-
_n.prototype = {
|
|
1149
|
-
onSpill: function(e) {
|
|
1150
|
-
var t = e.dragEl, n = e.putSortable || this.sortable;
|
|
1151
|
-
n.captureAnimationState(), t.parentNode && t.parentNode.removeChild(t), n.animateAll();
|
|
1152
|
-
},
|
|
1153
|
-
drop: hn
|
|
1154
|
-
}, O(_n, { pluginName: "removeOnSpill" }), Q.mount(new dn()), Q.mount(_n, gn);
|
|
1155
|
-
//#endregion
|
|
1156
|
-
//#region node_modules/@vueuse/integrations/dist/useSortable-Cc5LKbDD.js
|
|
1157
|
-
function vn(e, n, r = {}) {
|
|
1158
|
-
let o, { document: c = s, watchElement: l = !1, ...u } = r, d = { onUpdate: (e) => {
|
|
1159
|
-
xn(n, e.oldIndex, e.newIndex, e);
|
|
1160
|
-
} }, f = S(() => typeof e == "string" ? c?.querySelector(e) : i(e)), p = () => {
|
|
1161
|
-
o?.destroy(), o = void 0;
|
|
1162
|
-
}, m = (e) => {
|
|
1163
|
-
!e || o !== void 0 || (o = new Q(e, {
|
|
1164
|
-
...d,
|
|
1165
|
-
...u
|
|
1166
|
-
}));
|
|
1167
|
-
}, h = () => {
|
|
1168
|
-
let e = f.value;
|
|
1169
|
-
e && m(e);
|
|
1170
|
-
}, g = (e, t) => {
|
|
1171
|
-
if (t !== void 0) o?.option(e, t);
|
|
1172
|
-
else return o?.option(e);
|
|
1173
|
-
}, _;
|
|
1174
|
-
return l && typeof e != "string" ? _ = ge(f, (e) => {
|
|
1175
|
-
p(), e && m(e);
|
|
1176
|
-
}, {
|
|
1177
|
-
immediate: !0,
|
|
1178
|
-
flush: "post"
|
|
1179
|
-
}) : t(h), a(() => {
|
|
1180
|
-
_?.(), p();
|
|
1181
|
-
}), {
|
|
1182
|
-
stop: () => {
|
|
1183
|
-
p();
|
|
1184
|
-
},
|
|
1185
|
-
start: h,
|
|
1186
|
-
option: g
|
|
1187
|
-
};
|
|
1188
|
-
}
|
|
1189
|
-
function yn(e, t, n) {
|
|
1190
|
-
let r = e.children[n];
|
|
1191
|
-
e.insertBefore(t, r);
|
|
1192
|
-
}
|
|
1193
|
-
function bn(e) {
|
|
1194
|
-
e.parentNode && e.parentNode.removeChild(e);
|
|
1195
|
-
}
|
|
1196
|
-
function xn(e, t, n, r = null) {
|
|
1197
|
-
r != null && (bn(r.item), yn(r.from, r.item, t));
|
|
1198
|
-
let i = le(e), a = i ? [...me(e)] : me(e);
|
|
1199
|
-
if (n >= 0 && n < a.length) {
|
|
1200
|
-
let r = a.splice(t, 1)[0];
|
|
1201
|
-
ue(() => {
|
|
1202
|
-
a.splice(n, 0, r), i && (e.value = a);
|
|
1203
|
-
});
|
|
1204
|
-
}
|
|
1205
|
-
}
|
|
1206
|
-
//#endregion
|
|
1207
|
-
//#region src/components/advance/XTableRequestConfigNext.vue?vue&type=script&setup=true&lang.tsx
|
|
1208
|
-
var Sn = { class: "relative flex-1 overflow-hidden flex flex-col gap-2" }, Cn = { class: "flex flex-col gap-2" }, wn = {
|
|
1209
|
-
key: 0,
|
|
1210
|
-
class: "flex justify-end"
|
|
1211
|
-
}, Tn = /* @__PURE__ */ ce({
|
|
1212
|
-
__name: "XTableRequestConfigNext",
|
|
1213
|
-
props: {
|
|
1214
|
-
request: { type: Function },
|
|
1215
|
-
fields: { type: Function },
|
|
1216
|
-
config: {},
|
|
1217
|
-
pagination: {
|
|
1218
|
-
type: Boolean,
|
|
1219
|
-
default: !0
|
|
1220
|
-
},
|
|
1221
|
-
cellClassName: { type: [Function, String] },
|
|
1222
|
-
cellStyle: { type: [Function, Object] },
|
|
1223
|
-
rowClassName: { type: [Function, String] },
|
|
1224
|
-
rowStyle: { type: [Function, Object] },
|
|
1225
|
-
border: { type: Boolean },
|
|
1226
|
-
data: {},
|
|
1227
|
-
height: {},
|
|
1228
|
-
emptyText: {},
|
|
1229
|
-
rowKey: { type: Function },
|
|
1230
|
-
showSummary: { type: Boolean },
|
|
1231
|
-
size: {},
|
|
1232
|
-
fit: { type: Boolean },
|
|
1233
|
-
spanMethod: { type: Function },
|
|
1234
|
-
summaryMethod: { type: Function }
|
|
1235
|
-
},
|
|
1236
|
-
emits: [
|
|
1237
|
-
"prepare",
|
|
1238
|
-
"headerDragend",
|
|
1239
|
-
"rowClick",
|
|
1240
|
-
"rowDblclick",
|
|
1241
|
-
"selectionChange"
|
|
1242
|
-
],
|
|
1243
|
-
setup(e, { expose: t, emit: i }) {
|
|
1244
|
-
let a = i, { data: s, execute: m, path: h, query: g, isFetching: _, url: ee, paging: v } = e.request(), b = JSON.stringify(g.value), S = r(async () => {
|
|
1245
|
-
a("prepare", {
|
|
1246
|
-
path: h.value,
|
|
1247
|
-
query: g.value
|
|
1248
|
-
}), m();
|
|
1249
|
-
}), ce = r(async () => {
|
|
1250
|
-
g.value = JSON.parse(b), S();
|
|
1251
|
-
}), { data: le, update: me } = e.fields(), ge = o(le, (e) => e.visible), xe = n(ge, (t) => {
|
|
1252
|
-
let n = e.config[t.code];
|
|
1253
|
-
return {
|
|
1254
|
-
columnKey: t.code,
|
|
1255
|
-
label: n?.label ?? t.label,
|
|
1256
|
-
prop: n?.prop ?? t.prop,
|
|
1257
|
-
width: t.width,
|
|
1258
|
-
content: n?.content
|
|
1259
|
-
};
|
|
1260
|
-
}), O = o(ge, (e) => e.search), Se = () => T(l, {
|
|
1261
|
-
data: g.value,
|
|
1262
|
-
disabled: _.value,
|
|
1263
|
-
content: ({ data: t }) => T("div", { class: "grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-x-2" }, [[...O.value.map((n) => {
|
|
1264
|
-
let r = e.config[n.code];
|
|
1265
|
-
return T(u, {
|
|
1266
|
-
label: r?.label ?? n.label,
|
|
1267
|
-
content: () => r?.search?.({ query: t }) ?? T(d, {
|
|
1268
|
-
disabled: !0,
|
|
1269
|
-
modelValue: n.code
|
|
1270
|
-
}, null)
|
|
1271
|
-
}, null);
|
|
1272
|
-
}), T(u, { content: () => T(re, null, { default: () => [T(p, { action: () => S() }, { default: () => [se("查询")] }), T(c, { onClick: () => ce() }, { default: () => [se("重置")] })] }) }, null)]])
|
|
1273
|
-
}, null), k = () => T(y, {
|
|
1274
|
-
data: s.value,
|
|
1275
|
-
columns: xe.value,
|
|
1276
|
-
showOverflowTooltip: !0,
|
|
1277
|
-
border: !0,
|
|
1278
|
-
onHeaderDragend: (e, t, n) => {
|
|
1279
|
-
let r = le.value.find((e) => e.code === n.columnKey);
|
|
1280
|
-
r && (r.width = e, ue(() => {
|
|
1281
|
-
me(le.value);
|
|
1282
|
-
}));
|
|
1283
|
-
}
|
|
1284
|
-
}, null), Ce = () => T(f, {
|
|
1285
|
-
size: "small",
|
|
1286
|
-
total: v.value.itemCount,
|
|
1287
|
-
currentPage: v.value.pageIndex,
|
|
1288
|
-
pageSize: v.value.pageSize,
|
|
1289
|
-
"onUpdate:currentPage": (e) => v.value.pageIndex = e ?? 0,
|
|
1290
|
-
"onUpdate:pageSize": (e) => v.value.pageSize = e ?? 0,
|
|
1291
|
-
onCurrentChange: () => m(),
|
|
1292
|
-
onSizeChange: () => m()
|
|
1293
|
-
}, null), we = he("sortable");
|
|
1294
|
-
return vn(we, le, {
|
|
1295
|
-
animation: 150,
|
|
1296
|
-
ghostClass: "bg-(--el-color-primary-light-7)",
|
|
1297
|
-
handle: ".cursor-grab",
|
|
1298
|
-
onUpdate: (e) => {
|
|
1299
|
-
xn(le.value, e.oldIndex, e.newIndex, e), ue(() => {
|
|
1300
|
-
me(le.value);
|
|
1301
|
-
});
|
|
1302
|
-
}
|
|
1303
|
-
}), t({
|
|
1304
|
-
search: S,
|
|
1305
|
-
data: s,
|
|
1306
|
-
paging: v,
|
|
1307
|
-
isFetching: _,
|
|
1308
|
-
url: ee,
|
|
1309
|
-
query: g,
|
|
1310
|
-
path: h
|
|
1311
|
-
}), (t, n) => {
|
|
1312
|
-
let r = fe("loading");
|
|
1313
|
-
return E(), C(ae, null, [T(Se, { class: "pt-4 px-2 rounded bg-(--el-fill-color-light)" }), ve((E(), C("div", Sn, [
|
|
1314
|
-
T(D(te), {
|
|
1315
|
-
trigger: "click",
|
|
1316
|
-
width: "auto",
|
|
1317
|
-
"popper-class": "shadow-xl bg-(--el-bg-color)"
|
|
1318
|
-
}, {
|
|
1319
|
-
reference: _e(() => [T(D(c), {
|
|
1320
|
-
icon: D(be),
|
|
1321
|
-
text: "",
|
|
1322
|
-
class: "absolute top-0 right-0 z-1000"
|
|
1323
|
-
}, null, 8, ["icon"])]),
|
|
1324
|
-
default: _e(() => [w("div", Cn, [T(D(ie), { size: "large" }, {
|
|
1325
|
-
default: _e(() => [...n[0] ||= [se(" 表头设置 ", -1)]]),
|
|
1326
|
-
_: 1
|
|
1327
|
-
}), T(D(ne), { "max-height": 500 }, {
|
|
1328
|
-
default: _e(() => [w("div", {
|
|
1329
|
-
ref_key: "sortable",
|
|
1330
|
-
ref: we,
|
|
1331
|
-
class: "flex flex-col divide-y divide-[#f2f6fc]"
|
|
1332
|
-
}, [(E(!0), C(ae, null, de(D(le), (e) => (E(), C("div", {
|
|
1333
|
-
key: e.code,
|
|
1334
|
-
class: "w-50 py-2 flex items-center gap-2"
|
|
1335
|
-
}, [
|
|
1336
|
-
T(D(c), {
|
|
1337
|
-
text: "",
|
|
1338
|
-
icon: D(ye),
|
|
1339
|
-
type: "primary",
|
|
1340
|
-
size: "small",
|
|
1341
|
-
class: "cursor-grab"
|
|
1342
|
-
}, null, 8, ["icon"]),
|
|
1343
|
-
T(D(ie), { class: "flex-1 overflow-ellipsis" }, {
|
|
1344
|
-
default: _e(() => [se(pe(e.label), 1)]),
|
|
1345
|
-
_: 2
|
|
1346
|
-
}, 1024),
|
|
1347
|
-
T(D(x), {
|
|
1348
|
-
size: "small",
|
|
1349
|
-
"model-value": e.visible
|
|
1350
|
-
}, null, 8, ["model-value"])
|
|
1351
|
-
]))), 128))], 512)]),
|
|
1352
|
-
_: 1
|
|
1353
|
-
})])]),
|
|
1354
|
-
_: 1
|
|
1355
|
-
}),
|
|
1356
|
-
T(k),
|
|
1357
|
-
e.pagination ? (E(), C("div", wn, [T(Ce)])) : oe("", !0)
|
|
1358
|
-
])), [[r, D(_)]])], 64);
|
|
1359
|
-
};
|
|
1360
|
-
}
|
|
1361
|
-
}), En = { class: "flex-1 overflow-hidden flex flex-col gap-2" }, Dn = {
|
|
1362
|
-
key: 0,
|
|
1363
|
-
class: "flex justify-end"
|
|
1364
|
-
}, On = /* @__PURE__ */ ce({
|
|
1365
|
-
__name: "XTableRequestNext",
|
|
1366
|
-
props: {
|
|
1367
|
-
request: { type: Function },
|
|
1368
|
-
pagination: {
|
|
1369
|
-
type: Boolean,
|
|
1370
|
-
default: !0
|
|
1371
|
-
},
|
|
1372
|
-
columns: {},
|
|
1373
|
-
header: { type: Function },
|
|
1374
|
-
footer: { type: Function },
|
|
1375
|
-
cellClassName: { type: [Function, String] },
|
|
1376
|
-
cellStyle: { type: [Function, Object] },
|
|
1377
|
-
rowClassName: { type: [Function, String] },
|
|
1378
|
-
rowStyle: { type: [Function, Object] },
|
|
1379
|
-
border: { type: Boolean },
|
|
1380
|
-
height: {},
|
|
1381
|
-
emptyText: {},
|
|
1382
|
-
rowKey: { type: Function },
|
|
1383
|
-
showOverflowTooltip: {
|
|
1384
|
-
type: [Boolean, Object],
|
|
1385
|
-
default: () => void 0
|
|
1386
|
-
},
|
|
1387
|
-
showSummary: { type: Boolean },
|
|
1388
|
-
size: {},
|
|
1389
|
-
fit: {
|
|
1390
|
-
type: Boolean,
|
|
1391
|
-
default: !0
|
|
1392
|
-
},
|
|
1393
|
-
spanMethod: { type: Function },
|
|
1394
|
-
summaryMethod: { type: Function }
|
|
1395
|
-
},
|
|
1396
|
-
emits: [
|
|
1397
|
-
"prepare",
|
|
1398
|
-
"headerDragend",
|
|
1399
|
-
"rowClick",
|
|
1400
|
-
"rowDblclick",
|
|
1401
|
-
"selectionChange"
|
|
1402
|
-
],
|
|
1403
|
-
setup(e, { expose: t, emit: n }) {
|
|
1404
|
-
let i = n, { data: a, execute: o, path: s, query: c, isFetching: l, url: u, paging: d } = e.request();
|
|
1405
|
-
t({
|
|
1406
|
-
search: r(async () => {
|
|
1407
|
-
i("prepare", {
|
|
1408
|
-
path: s.value,
|
|
1409
|
-
query: c.value
|
|
1410
|
-
}), o();
|
|
1411
|
-
}),
|
|
1412
|
-
data: a,
|
|
1413
|
-
paging: d,
|
|
1414
|
-
isFetching: l,
|
|
1415
|
-
url: u,
|
|
1416
|
-
query: c,
|
|
1417
|
-
path: s
|
|
1418
|
-
});
|
|
1419
|
-
let p = () => e.header?.({ query: c.value }), m = () => T(y, {
|
|
1420
|
-
data: a.value,
|
|
1421
|
-
columns: e.columns,
|
|
1422
|
-
showOverflowTooltip: e.showOverflowTooltip,
|
|
1423
|
-
onRowClick: (e) => i("rowClick", e),
|
|
1424
|
-
onRowDblclick: (e) => i("rowDblclick", e),
|
|
1425
|
-
onSelectionChange: (e) => i("selectionChange", e),
|
|
1426
|
-
onHeaderDragend: (e, t, n) => i("headerDragend", e, t, n),
|
|
1427
|
-
cellClassName: e.cellClassName,
|
|
1428
|
-
cellStyle: e.cellStyle,
|
|
1429
|
-
rowClassName: e.rowClassName,
|
|
1430
|
-
rowStyle: e.rowStyle,
|
|
1431
|
-
fit: e.fit
|
|
1432
|
-
}, null), h = () => T(f, {
|
|
1433
|
-
size: "small",
|
|
1434
|
-
total: d.value.itemCount,
|
|
1435
|
-
currentPage: d.value.pageIndex,
|
|
1436
|
-
pageSize: d.value.pageSize,
|
|
1437
|
-
"onUpdate:currentPage": (e) => d.value.pageIndex = e ?? 0,
|
|
1438
|
-
"onUpdate:pageSize": (e) => d.value.pageSize = e ?? 0,
|
|
1439
|
-
onCurrentChange: () => o(),
|
|
1440
|
-
onSizeChange: () => o()
|
|
1441
|
-
}, null), g = () => e.footer?.({ query: c.value });
|
|
1442
|
-
return (t, n) => {
|
|
1443
|
-
let r = fe("loading");
|
|
1444
|
-
return ve((E(), C("div", En, [
|
|
1445
|
-
T(p),
|
|
1446
|
-
T(m),
|
|
1447
|
-
e.pagination ? (E(), C("div", Dn, [T(h)])) : oe("", !0),
|
|
1448
|
-
T(g)
|
|
1449
|
-
])), [[r, D(l)]]);
|
|
1450
|
-
};
|
|
1451
|
-
}
|
|
1452
|
-
}), kn = /* @__PURE__ */ e({
|
|
1453
|
-
XButtonAsync: () => p,
|
|
1454
|
-
XButtonConfirm: () => m,
|
|
1455
|
-
XCascaderRequest: () => h,
|
|
1456
|
-
XFormFlex: () => g,
|
|
1457
|
-
XFormRequestNext: () => _,
|
|
1458
|
-
XRequest: () => ee,
|
|
1459
|
-
XSelectRequest: () => v,
|
|
1460
|
-
XTableFlex: () => y,
|
|
1461
|
-
XTableRequestConfigNext: () => Tn,
|
|
1462
|
-
XTableRequestNext: () => On,
|
|
1463
|
-
XUploadOssNext: () => b
|
|
1464
|
-
});
|
|
1465
|
-
//#endregion
|
|
1466
|
-
export { On as n, Tn as r, kn as t };
|
|
1467
|
-
|
|
1468
|
-
//# sourceMappingURL=advance-9IP8swna.js.map
|