@esri/calcite-components 5.1.0-next.24 → 5.1.0-next.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/24UVSZOE.js +2 -0
- package/dist/cdn/{HRLMDN6T.js → 265A6AOM.js} +1 -1
- package/dist/cdn/{FYQ7F5FG.js → 266QPYGH.js} +1 -1
- package/dist/cdn/{H3YVYZPV.js → 2COONMVV.js} +1 -1
- package/dist/cdn/{LC6TRGG7.js → 2DPUDJQI.js} +1 -1
- package/dist/cdn/{4CZC7KQY.js → 2JM24U42.js} +1 -1
- package/dist/cdn/{LXABSKOX.js → 2N2EIOZQ.js} +1 -1
- package/dist/cdn/{VZ5HKHDG.js → 2ZJL6VLF.js} +1 -1
- package/dist/cdn/{M2MLAGF4.js → 32SZ6MKP.js} +1 -1
- package/dist/cdn/{ZM7QKH4L.js → 34RZGOUB.js} +1 -1
- package/dist/cdn/{HRNHJL7M.js → 35A2JWYN.js} +1 -1
- package/dist/cdn/{RJDE3YGW.js → 3EFK33T5.js} +1 -1
- package/dist/cdn/3SWWI6IT.js +2 -0
- package/dist/cdn/{AXUCCIRH.js → 3WIYPWAH.js} +1 -1
- package/dist/cdn/3Z6IQA5N.js +2 -0
- package/dist/cdn/{YXD2TKPQ.js → 4DBLFLPE.js} +1 -1
- package/dist/cdn/{I5534LUG.js → 4UTZIEIH.js} +1 -1
- package/dist/cdn/{C6S2WP47.js → 53ZCK7UM.js} +1 -1
- package/dist/cdn/5G5VTRTL.js +2 -0
- package/dist/cdn/{NHCHXBNQ.js → 5KJCBGYY.js} +1 -1
- package/dist/cdn/{Z62ZQOFN.js → 5YNF2CQY.js} +1 -1
- package/dist/cdn/{G5F3EKOD.js → 65XPD5PJ.js} +1 -1
- package/dist/cdn/{BH7HJNVQ.js → 6DMT6SBE.js} +1 -1
- package/dist/cdn/{SWXDM2ED.js → 6ISWKJVP.js} +1 -1
- package/dist/cdn/{CU2QH5Q4.js → 74MAIRJS.js} +1 -1
- package/dist/cdn/{DQSR27R7.js → 7GXPYZ67.js} +1 -1
- package/dist/cdn/7TFLXBND.js +2 -0
- package/dist/cdn/{GNFWEGWN.js → AE3UBVD4.js} +1 -1
- package/dist/cdn/{EKCEBAA2.js → AM3KA6XI.js} +1 -1
- package/dist/cdn/{2VVXMMOX.js → BGQMFO4B.js} +1 -1
- package/dist/cdn/{PQ2XMBCR.js → BKVED5K4.js} +1 -1
- package/dist/cdn/{DV75YW7X.js → BNBJDKHP.js} +1 -1
- package/dist/cdn/{C2YUFRVH.js → C4ZX7VYR.js} +1 -1
- package/dist/cdn/{V72AGXGP.js → CZGH2P5R.js} +1 -1
- package/dist/cdn/{TBJYLOUU.js → D26KXFR4.js} +1 -1
- package/dist/cdn/{OQBDHV3I.js → D7Q3AXKP.js} +1 -1
- package/dist/cdn/{3HMTHRWV.js → DCQRXTMY.js} +1 -1
- package/dist/cdn/{EHIAXJAL.js → DCWL5FUH.js} +1 -1
- package/dist/cdn/{M4SJWE6C.js → DHPVZMKK.js} +1 -1
- package/dist/cdn/{OONKEETK.js → DNXGXZPK.js} +1 -1
- package/dist/cdn/{EMOACECT.js → DPPYTPUN.js} +1 -1
- package/dist/cdn/{K7JT7AJ3.js → EPC7QGCY.js} +1 -1
- package/dist/cdn/{JG6RAMMT.js → ESIG7SRN.js} +1 -1
- package/dist/cdn/{KPANVE7Y.js → EVSREOVQ.js} +1 -1
- package/dist/cdn/{2X4WQJ6V.js → EWMBDFVU.js} +1 -1
- package/dist/cdn/{E76CXK6W.js → EWTR65YA.js} +1 -1
- package/dist/cdn/F2QZDZIO.js +2 -0
- package/dist/cdn/{NJLLWKXS.js → F4GCWY3F.js} +1 -1
- package/dist/cdn/{BV3MTUEH.js → F7QQUXJL.js} +1 -1
- package/dist/cdn/{ZRUMOR65.js → FG5FW5ZE.js} +1 -1
- package/dist/cdn/{WZMSRH42.js → FIBHCK3H.js} +1 -1
- package/dist/cdn/FMP6OQ7D.js +2 -0
- package/dist/cdn/{W4EQNTRQ.js → FULAAFER.js} +1 -1
- package/dist/cdn/{335WNYZK.js → G3EBHETV.js} +1 -1
- package/dist/cdn/{PH6LS2IK.js → GAR2IMZ3.js} +1 -1
- package/dist/cdn/{ROEQAS3A.js → GRDNG5EU.js} +1 -1
- package/dist/cdn/GTLHPFUV.js +2 -0
- package/dist/cdn/GU4S3ZKG.js +2 -0
- package/dist/cdn/{ZH7KRORX.js → GUOSNPAU.js} +1 -1
- package/dist/cdn/{UHWKDOKY.js → H5BLSEZ3.js} +1 -1
- package/dist/cdn/HCNEPLF5.js +2 -0
- package/dist/cdn/HGBMCFOD.js +2 -0
- package/dist/cdn/{LKD6P5YN.js → HGGO3AHT.js} +1 -1
- package/dist/cdn/{MJ7VTT7G.js → HMOQULJD.js} +1 -1
- package/dist/cdn/{EFNUNWOY.js → HUQJ333U.js} +1 -1
- package/dist/cdn/{D7OBXZA4.js → I2PT3UPN.js} +1 -1
- package/dist/cdn/I3D4XCLD.js +2 -0
- package/dist/cdn/{L4AKVA6J.js → IGZX5AHV.js} +1 -1
- package/dist/cdn/{Y4PGFRFZ.js → IJ3XVWSG.js} +1 -1
- package/dist/cdn/{FVUFPRTZ.js → IPPVAW62.js} +1 -1
- package/dist/cdn/IQZVCTFW.js +2 -0
- package/dist/cdn/{37J4QHCP.js → IRWU2TR6.js} +1 -1
- package/dist/cdn/{IOC4JWCG.js → JAWBEMIK.js} +1 -1
- package/dist/cdn/{ZCRYCMYT.js → JHT4F2RJ.js} +1 -1
- package/dist/cdn/{WXC33DHR.js → JVKSFUKV.js} +1 -1
- package/dist/cdn/{N4JJVMZE.js → JZIOWDZS.js} +1 -1
- package/dist/cdn/{4JXQHRCB.js → KDWR7M23.js} +1 -1
- package/dist/cdn/{BJUVF75X.js → KOW5NTJQ.js} +1 -1
- package/dist/cdn/{MSZ64UC4.js → KPREHL4V.js} +1 -1
- package/dist/cdn/{HTG4U6IG.js → KPT5PXJP.js} +1 -1
- package/dist/cdn/{ADF5GJVT.js → KR5QASPF.js} +1 -1
- package/dist/cdn/{BQB3G5CU.js → L3QXLZZH.js} +1 -1
- package/dist/cdn/{QXROGUXE.js → L6WB4227.js} +1 -1
- package/dist/cdn/{GEEEQOVM.js → LEBRWA4E.js} +1 -1
- package/dist/cdn/LGATM33J.js +2 -0
- package/dist/cdn/{HZH4MIUY.js → LHBACKJ5.js} +1 -1
- package/dist/cdn/{AUNOHC7O.js → M5WQDFOK.js} +1 -1
- package/dist/cdn/{R2N7UDBR.js → MCUIYFPY.js} +1 -1
- package/dist/cdn/{WTIDWDIV.js → MEQVQ22B.js} +1 -1
- package/dist/cdn/{EQZ2R35U.js → MOQRGDBX.js} +1 -1
- package/dist/cdn/{FSADANOP.js → MTU6D47Y.js} +1 -1
- package/dist/cdn/{LFRK6P2D.js → MW7AGGL3.js} +1 -1
- package/dist/cdn/{6WZT4UHB.js → NAP62AX7.js} +1 -1
- package/dist/cdn/NDSQ4CFN.js +2 -0
- package/dist/cdn/NK6ELXJB.js +2 -0
- package/dist/cdn/{5FJMWVWT.js → NSPEKGY3.js} +1 -1
- package/dist/cdn/{6PNUIAH7.js → P54SS6QP.js} +1 -1
- package/dist/cdn/{4ASYQP4D.js → PDBGWRDU.js} +1 -1
- package/dist/cdn/{MS5MFEFA.js → PGRW53WB.js} +1 -1
- package/dist/cdn/{H6EU56Z7.js → PS3Y5JIN.js} +1 -1
- package/dist/cdn/{6AYF7R5N.js → PYG7GNQ7.js} +1 -1
- package/dist/cdn/{BR3PTYFV.js → QH4IVVZX.js} +1 -1
- package/dist/cdn/{DDJ7R667.js → QHG4UVN7.js} +1 -1
- package/dist/cdn/{BOSJ366C.js → QMHN63LJ.js} +1 -1
- package/dist/cdn/{QSN4H5ZF.js → QN5DWY5J.js} +1 -1
- package/dist/cdn/{BMSVTVRT.js → QNLMV3T5.js} +1 -1
- package/dist/cdn/{E34NNTQ5.js → QVE3GWZX.js} +1 -1
- package/dist/cdn/{3MNKCPKM.js → R2VQNT5E.js} +1 -1
- package/dist/cdn/{WNICNNQU.js → RYLTUWGS.js} +1 -1
- package/dist/cdn/{AM3UGITY.js → S2N3EAWR.js} +1 -1
- package/dist/cdn/{6OOV6EIP.js → S4QXLRJT.js} +1 -1
- package/dist/cdn/{IQG4N535.js → S5D4KC2T.js} +1 -1
- package/dist/cdn/{TJDQBBDE.js → SAG5PN6V.js} +1 -1
- package/dist/cdn/{H5R56TSG.js → SGYKV7MJ.js} +1 -1
- package/dist/cdn/SMKTVIG3.js +2 -0
- package/dist/cdn/{U4DLHQJE.js → SR2U4UYC.js} +1 -1
- package/dist/cdn/{TWOG3N6D.js → T2DDJ3UZ.js} +1 -1
- package/dist/cdn/{SLJCJN7J.js → T53FCHAR.js} +1 -1
- package/dist/cdn/{6YQEO3TU.js → TQRVWHPS.js} +1 -1
- package/dist/cdn/{JLHHQUJF.js → UFRNO43Y.js} +1 -1
- package/dist/cdn/{VDGHE2H6.js → UIUDRBYG.js} +1 -1
- package/dist/cdn/ULHLMMN4.js +2 -0
- package/dist/cdn/UM7ABEPP.js +2 -0
- package/dist/cdn/UWDGNSRK.js +2 -0
- package/dist/cdn/{C2L2O5EQ.js → V2MNT2SI.js} +1 -1
- package/dist/cdn/{O3H5TYI3.js → VL5W6R2P.js} +1 -1
- package/dist/cdn/{XCSZRXTK.js → W7Y7PLEA.js} +1 -1
- package/dist/cdn/{52BHEJXM.js → WAX64AMV.js} +1 -1
- package/dist/cdn/{RTZMUTWS.js → WPHKI6II.js} +1 -1
- package/dist/cdn/{VMIQAKYU.js → WTUALX4S.js} +1 -1
- package/dist/cdn/{S5B7YG37.js → WZF7PAWT.js} +1 -1
- package/dist/cdn/{PM2IMGBS.js → X5FERJLS.js} +1 -1
- package/dist/cdn/{DGJMVWH6.js → XFUK6FWO.js} +1 -1
- package/dist/cdn/{VQUXTHQG.js → XG3KX423.js} +1 -1
- package/dist/cdn/{TSARCS44.js → XJHIIAS4.js} +1 -1
- package/dist/cdn/{QFY7DQSD.js → XLYUKQVS.js} +1 -1
- package/dist/cdn/XUCO6AFQ.js +2 -0
- package/dist/cdn/XWQOS7OO.js +2 -0
- package/dist/cdn/{UWCX25CF.js → Y7XT2XH3.js} +1 -1
- package/dist/cdn/{WZYUE4T7.js → YJF4NBEX.js} +1 -1
- package/dist/cdn/{TU3TE2NA.js → YQ2FBYJF.js} +1 -1
- package/dist/cdn/{TFVEPZC4.js → ZAXSD5VD.js} +1 -1
- package/dist/cdn/{QSTEMUD6.js → ZTSGKD2X.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/FloatingArrow.js +24 -0
- package/dist/chunks/Heading.js +3 -3
- package/dist/chunks/dom.js +8 -7
- package/dist/chunks/{useReferenceElement.js → manager.js} +108 -108
- package/dist/chunks/resources6.js +2 -0
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useFormTrigger.js +25 -0
- package/dist/chunks/{sortableComponent.js → useSortable.js} +67 -44
- package/dist/components/calcite-action/customElement.d.ts +4 -4
- package/dist/components/calcite-action/customElement.js +7 -13
- package/dist/components/calcite-action-bar/customElement.d.ts +3 -3
- package/dist/components/calcite-action-bar/customElement.js +3 -2
- package/dist/components/calcite-action-group/customElement.d.ts +4 -4
- package/dist/components/calcite-action-pad/customElement.d.ts +2 -2
- package/dist/components/calcite-action-pad/customElement.js +1 -1
- package/dist/components/calcite-autocomplete/customElement.d.ts +1 -2
- package/dist/components/calcite-autocomplete/customElement.js +11 -27
- package/dist/components/calcite-block-group/customElement.js +3 -3
- package/dist/components/calcite-block-group/interfaces.d.ts +2 -6
- package/dist/components/calcite-button/customElement.js +6 -16
- package/dist/components/calcite-dialog/customElement.d.ts +2 -0
- package/dist/components/calcite-dialog/customElement.js +3 -1
- package/dist/components/calcite-dropdown/customElement.d.ts +12 -2
- package/dist/components/calcite-dropdown/customElement.js +29 -12
- package/dist/components/calcite-flow-item/customElement.d.ts +2 -0
- package/dist/components/calcite-flow-item/customElement.js +3 -1
- package/dist/components/calcite-list/customElement.js +3 -3
- package/dist/components/calcite-list/interfaces.d.ts +2 -6
- package/dist/components/calcite-list-item/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.d.ts +2 -0
- package/dist/components/calcite-panel/customElement.js +20 -8
- package/dist/components/calcite-popover/customElement.js +2 -1
- package/dist/components/calcite-radio-button/customElement.js +170 -2
- package/dist/components/calcite-sheet/customElement.js +1 -1
- package/dist/components/calcite-slider/customElement.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +3 -3
- package/dist/components/calcite-tab-nav/customElement.js +1 -1
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.js +2 -1
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/controllers/useSortable.d.ts +7 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +4 -4
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +2 -2
- package/dist/cdn/2AWRANF5.js +0 -2
- package/dist/cdn/2QIN5FHX.js +0 -2
- package/dist/cdn/2XJOX5RG.js +0 -2
- package/dist/cdn/4Q2SKZQE.js +0 -2
- package/dist/cdn/4Z4GUZI3.js +0 -2
- package/dist/cdn/5UMQFD62.js +0 -2
- package/dist/cdn/73OOTHVT.js +0 -2
- package/dist/cdn/7TMAJS7Y.js +0 -2
- package/dist/cdn/A7BG2XIR.js +0 -2
- package/dist/cdn/H5VS33TX.js +0 -2
- package/dist/cdn/KYAGNB4G.js +0 -2
- package/dist/cdn/LKWEQBCD.js +0 -2
- package/dist/cdn/MTMLYT66.js +0 -2
- package/dist/cdn/NYTQT63Y.js +0 -2
- package/dist/cdn/R4W63P53.js +0 -2
- package/dist/cdn/RJYIXMGE.js +0 -2
- package/dist/cdn/TN3KZSGU.js +0 -2
- package/dist/cdn/VLOV4VWX.js +0 -2
- package/dist/cdn/WJXZ7BPV.js +0 -2
- package/dist/cdn/YOCPNRH2.js +0 -2
- package/dist/cdn/ZB3IIOBU.js +0 -2
- package/dist/chunks/form.js +0 -267
- package/dist/utils/sortableComponent.d.ts +0 -7
|
@@ -5,7 +5,7 @@ import { css, html, nothing } from "lit";
|
|
|
5
5
|
import { LitElement, createEvent, stringOrBoolean, setAttribute, safeClassMap, safeStyleMap } from "@arcgis/lumina";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
7
7
|
import { g as guid } from "../../chunks/guid.js";
|
|
8
|
-
import { j as isPrimaryPointerButton,
|
|
8
|
+
import { j as isPrimaryPointerButton, z as intersects } from "../../chunks/dom.js";
|
|
9
9
|
import { I as InternalLabel } from "../../chunks/InternalLabel.js";
|
|
10
10
|
import { V as Validation } from "../../chunks/Validation.js";
|
|
11
11
|
import { i as isActivationKey } from "../../chunks/key.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { Layout } from "../interfaces.js";
|
|
4
|
-
import type { DragDetail } from "../../
|
|
4
|
+
import type { DragDetail } from "../../controllers/useSortable.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Use the `calcite-block-group` component instead.
|
|
@@ -3,10 +3,10 @@ import { c as customElement } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
5
5
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
6
|
-
import { d as disconnectSortableComponent, c as connectSortableComponent } from "../../chunks/sortableComponent.js";
|
|
7
6
|
import { i as focusElement } from "../../chunks/dom.js";
|
|
8
7
|
import { l as logger } from "../../chunks/logger.js";
|
|
9
8
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
9
|
+
import { u as useSortable } from "../../chunks/useSortable.js";
|
|
10
10
|
const CSS = {
|
|
11
11
|
container: "container",
|
|
12
12
|
containerHorizontal: "container--horizontal",
|
|
@@ -21,6 +21,7 @@ class SortableList extends LitElement {
|
|
|
21
21
|
this.mutationObserver = createObserver("mutation", () => {
|
|
22
22
|
this.setUpSorting();
|
|
23
23
|
});
|
|
24
|
+
this.sortable = useSortable()(this);
|
|
24
25
|
this.interactiveContainer = useInteractive(this);
|
|
25
26
|
this.disabled = false;
|
|
26
27
|
this.handleSelector = "calcite-handle";
|
|
@@ -50,7 +51,6 @@ class SortableList extends LitElement {
|
|
|
50
51
|
}
|
|
51
52
|
disconnectedCallback() {
|
|
52
53
|
super.disconnectedCallback();
|
|
53
|
-
disconnectSortableComponent(this);
|
|
54
54
|
this.endObserving();
|
|
55
55
|
}
|
|
56
56
|
calciteHandleNudgeNextHandler(event) {
|
|
@@ -110,7 +110,7 @@ class SortableList extends LitElement {
|
|
|
110
110
|
}
|
|
111
111
|
setUpSorting() {
|
|
112
112
|
this.items = Array.from(this.el.children);
|
|
113
|
-
|
|
113
|
+
this.sortable.reset();
|
|
114
114
|
}
|
|
115
115
|
beginObserving() {
|
|
116
116
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
@@ -6,7 +6,7 @@ import { a as calciteSize24, b as calciteSize32, d as calciteSize44 } from "../.
|
|
|
6
6
|
import { css, html } from "lit";
|
|
7
7
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
8
8
|
import { useDirection } from "@arcgis/lumina/controllers";
|
|
9
|
-
import {
|
|
9
|
+
import { C as filterDirectChildren, f as focusElementInGroup, i as focusElement } from "../../chunks/dom.js";
|
|
10
10
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
11
11
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
12
12
|
const ICON = {
|
|
@@ -3,7 +3,7 @@ import { c as customElement } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { LitElement, safeClassMap } from "@arcgis/lumina";
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
|
-
import { a as slotChangeGetAssignedElements,
|
|
6
|
+
import { a as slotChangeGetAssignedElements, D as getSlotAssignedElements } from "../../chunks/dom.js";
|
|
7
7
|
const CSS = {
|
|
8
8
|
section: "section"
|
|
9
9
|
};
|
|
@@ -7,8 +7,9 @@ import { createRef, ref } from "lit/directives/ref.js";
|
|
|
7
7
|
import { useDirection } from "@arcgis/lumina/controllers";
|
|
8
8
|
import { e as defaultOffsetDistance, r as reposition, c as connectFloatingUI, a as disconnectFloatingUI, h as hideFloatingUI, F as FloatingCSS } from "../../chunks/floating-ui.js";
|
|
9
9
|
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
10
|
-
import {
|
|
10
|
+
import { F as FloatingArrow } from "../../chunks/FloatingArrow.js";
|
|
11
11
|
import { u as useTopLayer } from "../../chunks/useTopLayer.js";
|
|
12
|
+
import { u as useReferenceElement, r as referenceElementManager } from "../../chunks/manager.js";
|
|
12
13
|
const CSS = {
|
|
13
14
|
positionContainer: "position-container",
|
|
14
15
|
container: "container"
|
|
@@ -5,7 +5,7 @@ import { css, html, nothing } from "lit";
|
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap, setAttribute } from "@arcgis/lumina";
|
|
7
7
|
import { useDirection } from "@arcgis/lumina/controllers";
|
|
8
|
-
import {
|
|
8
|
+
import { C as filterDirectChildren, a as slotChangeGetAssignedElements, s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
9
9
|
import { t as toAriaBoolean } from "../../chunks/aria.js";
|
|
10
10
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
11
11
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SortableEvent } from "sortablejs";
|
|
2
|
+
|
|
3
|
+
export interface DragDetail<To extends HTMLElement = HTMLElement, From extends HTMLElement = HTMLElement, Drag extends HTMLElement = HTMLElement> extends Pick<SortableEvent, "newIndex" | "oldIndex"> {
|
|
4
|
+
toEl: To;
|
|
5
|
+
fromEl: From;
|
|
6
|
+
dragEl: Drag;
|
|
7
|
+
}
|