@feedmepos/ui-library 1.7.4 → 1.8.0
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/CHANGELOG.md +13 -0
- package/dist/components/advanced-sort/CreateGroupForm.vue.d.ts +51 -0
- package/dist/components/advanced-sort/FmAdvancedSort.vue.d.ts +56 -0
- package/dist/components/advanced-sort/index.d.ts +3 -0
- package/dist/components/advanced-sort/types.d.ts +18 -0
- package/dist/components.d.ts +63 -0
- package/dist/federation/{FmDialog.vue_vue_type_script_setup_true_lang-B1euAsiR.js → FmDialog.vue_vue_type_script_setup_true_lang-DPHnFYPb.js} +1 -1
- package/dist/federation/{FmTableToolbar.vue_vue_type_script_setup_true_lang-D90Ucj2e.js → FmTableToolbar.vue_vue_type_script_setup_true_lang-B8rdIE7Z.js} +1 -1
- package/dist/federation/{__federation_expose_FmDialog-CMyT_Sto.js → __federation_expose_FmDialog-c7W6x--P.js} +1 -1
- package/dist/federation/__federation_expose_FmTable-B5Xacws0.js +4 -0
- package/dist/federation/{__federation_expose_FmTableToolbar-79BvT2_7.js → __federation_expose_FmTableToolbar-Cyr9eQpN.js} +1 -1
- package/dist/federation/feedmepos-ui-components.js +1 -1
- package/dist/federation/index-Bc1SqKnK.js +2 -0
- package/dist/federation/index-vrl27Lgb.css +1 -0
- package/dist/federation/useSnackbar-QIL3kuoi.js +1 -0
- package/dist/feedmepos-ui-library.js +30914 -30570
- package/dist/feedmepos-ui-library.umd.cjs +31 -31
- package/dist/global-components.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/federation/__federation_expose_FmTable-Y05HmpNA.js +0 -4
- package/dist/federation/index-BoGSGEGS.css +0 -1
- package/dist/federation/index-CX3hBjwi.js +0 -2
- package/dist/federation/useSnackbar-C7VTRoFB.js +0 -1
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# 1.8.0
|
|
2
|
+
|
|
3
|
+
- `FmAdvancedSort`
|
|
4
|
+
- **New component** for advanced drag-and-drop sorting of large item lists
|
|
5
|
+
- Dual-column interface with available items and sorted groups
|
|
6
|
+
- Support for creating custom sorting groups with query-based filtering
|
|
7
|
+
- Drag-and-drop functionality for moving items between groups and reordering groups
|
|
8
|
+
- Built-in search functionality for filtering available items
|
|
9
|
+
- Configurable sort fields with custom getter functions
|
|
10
|
+
- Query operators support: equals, contains, startsWith, endsWith, greaterThan, lessThan
|
|
11
|
+
- Customizable column labels and component height
|
|
12
|
+
- Group management: create, delete, and reorder groups
|
|
13
|
+
|
|
1
14
|
# 1.7.4
|
|
2
15
|
|
|
3
16
|
- `FmSelect`
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { SortField } from './types';
|
|
2
|
+
export interface CreateGroupFormProps {
|
|
3
|
+
sortFields?: SortField[];
|
|
4
|
+
}
|
|
5
|
+
export interface GroupFormData {
|
|
6
|
+
name: string;
|
|
7
|
+
field: string;
|
|
8
|
+
operator: 'equals' | 'contains' | 'startsWith' | 'endsWith' | 'greaterThan' | 'lessThan';
|
|
9
|
+
value: string;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CreateGroupFormProps>, {
|
|
12
|
+
sortFields: () => never[];
|
|
13
|
+
}>, {
|
|
14
|
+
formData: import("vue").Ref<{
|
|
15
|
+
name: string;
|
|
16
|
+
field: string;
|
|
17
|
+
operator: "endsWith" | "startsWith" | "equals" | "contains" | "greaterThan" | "lessThan";
|
|
18
|
+
value: string;
|
|
19
|
+
}, GroupFormData | {
|
|
20
|
+
name: string;
|
|
21
|
+
field: string;
|
|
22
|
+
operator: "endsWith" | "startsWith" | "equals" | "contains" | "greaterThan" | "lessThan";
|
|
23
|
+
value: string;
|
|
24
|
+
}>;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
"update:formData": (value: GroupFormData) => void;
|
|
27
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CreateGroupFormProps>, {
|
|
28
|
+
sortFields: () => never[];
|
|
29
|
+
}>>> & {
|
|
30
|
+
"onUpdate:formData"?: ((value: GroupFormData) => any) | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
sortFields: SortField[];
|
|
33
|
+
}, {}>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
+
} : {
|
|
40
|
+
type: import('vue').PropType<T[K]>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
type __VLS_WithDefaults<P, D> = {
|
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
+
default: D[K];
|
|
47
|
+
}> : P[K];
|
|
48
|
+
};
|
|
49
|
+
type __VLS_Prettify<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { AdvancedSortItem, SortField } from './types';
|
|
2
|
+
export interface FmAdvancedSortProps {
|
|
3
|
+
/** The array of items to sort */
|
|
4
|
+
modelValue: AdvancedSortItem[];
|
|
5
|
+
/** Fields that can be used for sorting */
|
|
6
|
+
sortFields?: SortField[];
|
|
7
|
+
/** Label for the left column */
|
|
8
|
+
leftColumnLabel?: string;
|
|
9
|
+
/** Label for the right column */
|
|
10
|
+
rightColumnLabel?: string;
|
|
11
|
+
/** Height of the component */
|
|
12
|
+
height?: string;
|
|
13
|
+
/** Enable item search */
|
|
14
|
+
searchable?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmAdvancedSortProps>, {
|
|
17
|
+
sortFields: () => never[];
|
|
18
|
+
leftColumnLabel: string;
|
|
19
|
+
rightColumnLabel: string;
|
|
20
|
+
height: string;
|
|
21
|
+
searchable: boolean;
|
|
22
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (value: AdvancedSortItem[]) => void;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmAdvancedSortProps>, {
|
|
25
|
+
sortFields: () => never[];
|
|
26
|
+
leftColumnLabel: string;
|
|
27
|
+
rightColumnLabel: string;
|
|
28
|
+
height: string;
|
|
29
|
+
searchable: boolean;
|
|
30
|
+
}>>> & {
|
|
31
|
+
"onUpdate:modelValue"?: ((value: AdvancedSortItem[]) => any) | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
height: string;
|
|
34
|
+
searchable: boolean;
|
|
35
|
+
sortFields: SortField[];
|
|
36
|
+
leftColumnLabel: string;
|
|
37
|
+
rightColumnLabel: string;
|
|
38
|
+
}, {}>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
type __VLS_WithDefaults<P, D> = {
|
|
50
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
+
default: D[K];
|
|
52
|
+
}> : P[K];
|
|
53
|
+
};
|
|
54
|
+
type __VLS_Prettify<T> = {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} & {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface SortGroup {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
items: any[];
|
|
5
|
+
query?: {
|
|
6
|
+
field: string;
|
|
7
|
+
operator: 'equals' | 'contains' | 'startsWith' | 'endsWith' | 'greaterThan' | 'lessThan';
|
|
8
|
+
value: any;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export interface AdvancedSortItem {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
export type SortField = {
|
|
15
|
+
key: string;
|
|
16
|
+
label: string;
|
|
17
|
+
getter?: (item: any) => any;
|
|
18
|
+
};
|
package/dist/components.d.ts
CHANGED
|
@@ -1,4 +1,65 @@
|
|
|
1
1
|
export declare const components: {
|
|
2
|
+
FmAdvancedSort: import("vue").DefineComponent<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: import("vue").PropType<import("./components/advanced-sort").AdvancedSortItem[]>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
height: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
searchable: {
|
|
12
|
+
type: import("vue").PropType<boolean>;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
sortFields: {
|
|
16
|
+
type: import("vue").PropType<import("./components/advanced-sort").SortField[]>;
|
|
17
|
+
default: () => never[];
|
|
18
|
+
};
|
|
19
|
+
leftColumnLabel: {
|
|
20
|
+
type: import("vue").PropType<string>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
rightColumnLabel: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (value: import("./components/advanced-sort").AdvancedSortItem[]) => void;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: import("vue").PropType<import("./components/advanced-sort").AdvancedSortItem[]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
height: {
|
|
35
|
+
type: import("vue").PropType<string>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
searchable: {
|
|
39
|
+
type: import("vue").PropType<boolean>;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
sortFields: {
|
|
43
|
+
type: import("vue").PropType<import("./components/advanced-sort").SortField[]>;
|
|
44
|
+
default: () => never[];
|
|
45
|
+
};
|
|
46
|
+
leftColumnLabel: {
|
|
47
|
+
type: import("vue").PropType<string>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
rightColumnLabel: {
|
|
51
|
+
type: import("vue").PropType<string>;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
}>> & {
|
|
55
|
+
"onUpdate:modelValue"?: ((value: import("./components/advanced-sort").AdvancedSortItem[]) => any) | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
height: string;
|
|
58
|
+
searchable: boolean;
|
|
59
|
+
sortFields: import("./components/advanced-sort").SortField[];
|
|
60
|
+
leftColumnLabel: string;
|
|
61
|
+
rightColumnLabel: string;
|
|
62
|
+
}, {}>;
|
|
2
63
|
FmBadge: {
|
|
3
64
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
65
|
class: {
|
|
@@ -14540,6 +14601,8 @@ export declare const components: {
|
|
|
14540
14601
|
variant: "premium" | "beta" | "paid" | import("./components/pill").FmPillVariant;
|
|
14541
14602
|
}, {}>;
|
|
14542
14603
|
};
|
|
14604
|
+
export type * from './components/advanced-sort/FmAdvancedSort.vue';
|
|
14605
|
+
export * from './components/advanced-sort';
|
|
14543
14606
|
export type * from './components/badge/FmBadge.vue';
|
|
14544
14607
|
export type * from './components/bottom-sheet/FmBottomSheet.vue';
|
|
14545
14608
|
export type * from './components/breadcrumb/FmBreadcrumb.vue';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{importShared as u,__tla as B}from"./__federation_fn_import-CYKgoy9p.js";import{_ as V,__tla as $}from"./FmDialogContent.vue_vue_type_script_setup_true_lang-CdyBeMAi.js";import{F as S,__tla as z}from"./FmOverlay-BisyjWGP.js";import{__tla as W}from"./useBreakpoints-CD9JASJ_.js";import{__tla as F}from"./useSnackbar-
|
|
1
|
+
import{importShared as u,__tla as B}from"./__federation_fn_import-CYKgoy9p.js";import{_ as V,__tla as $}from"./FmDialogContent.vue_vue_type_script_setup_true_lang-CdyBeMAi.js";import{F as S,__tla as z}from"./FmOverlay-BisyjWGP.js";import{__tla as W}from"./useBreakpoints-CD9JASJ_.js";import{__tla as F}from"./useSnackbar-QIL3kuoi.js";import{__tla as P}from"./useFocus-z6lA6xf5.js";import{u as A,__tla as E}from"./useProxiedModel-DbArcH0F.js";let w,I=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return E}catch{}})()]).then(async()=>{let p,l,n,s,d,i,o,_,m,c,y,f,h,v;({defineComponent:p}=await u("vue")),{renderSlot:l,openBlock:n,createElementBlock:s,createCommentVNode:d,unref:i,withCtx:o,createSlots:_,createVNode:m,createBlock:c,Transition:y,Teleport:f,Fragment:h}=await u("vue"),{watch:v}=await u("vue"),w=p({__name:"FmDialog",props:{modelValue:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},minWidth:{default:280},maxWidth:{},maxHeight:{},closeButton:{type:Boolean,default:!0},zIndex:{default:void 0},contentScrollable:{type:Boolean,default:!0},contentClass:{},dismissAway:{type:Boolean},isComponent:{default:"div"},isComponentProps:{}},emits:["update:modelValue"],setup(b,{emit:C}){const g=b,k=C,a=A(g,"modelValue"),x=document.body.style.overflow;return v(()=>a,t=>{t?document.body.style.overflow="hidden":document.body.style.overflow=x}),(t,e)=>(n(),s(h,null,[t.$slots["dialog-button"]?(n(),s("div",{key:0,onClick:e[1]||(e[1]=r=>a.value=!0)},[l(t.$slots,"dialog-button",{onClick:e[0]||(e[0]=r=>a.value=!0)})])):d("",!0),(n(),c(f,{to:"body"},[m(y,{name:"fm-dialog"},{default:o(()=>[i(a)?(n(),c(S,{key:0,"dismiss-away":t.dismissAway,"prevent-backdrop-event":!t.overlay,transparent:!t.overlay,"z-index":t.zIndex,"center-content":"",onClose:e[3]||(e[3]=r=>k("update:modelValue",!1))},{default:o(()=>[m(V,{"close-button":t.closeButton,"content-class":t.contentClass,"content-scrollable":t.contentScrollable,"is-component":t.isComponent,"is-component-props":t.isComponentProps,"max-width":t.maxWidth,"min-width":t.minWidth,"model-value":i(a),"onUpdate:modelValue":e[2]||(e[2]=r=>a.value=r)},_({"dialog-header":o(()=>[l(t.$slots,"dialog-header")]),default:o(()=>[l(t.$slots,"default")]),_:2},[t.$slots["dialog-footer"]?{name:"dialog-footer",fn:o(()=>[l(t.$slots,"dialog-footer")]),key:"0"}:void 0]),1032,["close-button","content-class","content-scrollable","is-component","is-component-props","max-width","min-width","model-value"])]),_:3},8,["dismiss-away","prevent-backdrop-event","transparent","z-index"])):d("",!0)]),_:3})]))],64))}})});export{w as _,I as __tla};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{importShared as x,__tla as R}from"./__federation_fn_import-CYKgoy9p.js";import P,{__tla as q}from"./__federation_expose_FmButton-BoCn-KbF.js";import{_ as A,__tla as D}from"./FmChipGroup.vue_vue_type_script_setup_true_lang-DIQGxpQ7.js";import G,{__tla as H}from"./__federation_expose_FmBottomSheet-B2KTYQCa.js";import J,{__tla as K}from"./__federation_expose_FmList-Ca1dPoVQ.js";import O,{__tla as Q}from"./__federation_expose_FmListItem-Cjrijj0r.js";import{u as W,__tla as X}from"./useBreakpoints-CD9JASJ_.js";import{__tla as Y}from"./useSnackbar-
|
|
1
|
+
import{importShared as x,__tla as R}from"./__federation_fn_import-CYKgoy9p.js";import P,{__tla as q}from"./__federation_expose_FmButton-BoCn-KbF.js";import{_ as A,__tla as D}from"./FmChipGroup.vue_vue_type_script_setup_true_lang-DIQGxpQ7.js";import G,{__tla as H}from"./__federation_expose_FmBottomSheet-B2KTYQCa.js";import J,{__tla as K}from"./__federation_expose_FmList-Ca1dPoVQ.js";import O,{__tla as Q}from"./__federation_expose_FmListItem-Cjrijj0r.js";import{u as W,__tla as X}from"./useBreakpoints-CD9JASJ_.js";import{__tla as Y}from"./useSnackbar-QIL3kuoi.js";import{__tla as Z}from"./useFocus-z6lA6xf5.js";import{u as ee,__tla as te}from"./useProxiedModel-DbArcH0F.js";import{_ as le,__tla as ae}from"./FmSearch.vue_vue_type_script_setup_true_lang-B_oIeJyy.js";import re,{__tla as oe}from"./__federation_expose_FmMenu-BH6bzCSj.js";import ce,{__tla as ne}from"./__federation_expose_FmMenuItem-D0j_Eu3r.js";let U,ie=Promise.all([(()=>{try{return R}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return D}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return te}catch{}})(),(()=>{try{return ae}catch{}})(),(()=>{try{return oe}catch{}})(),(()=>{try{return ne}catch{}})()]).then(async()=>{let $,s,l,o,d,f,_,c,B,C,n,u,g,w,V,F,z,S;({defineComponent:$}=await x("vue")),{renderSlot:s,openBlock:l,createBlock:o,createCommentVNode:d,renderList:f,Fragment:_,createElementBlock:c,unref:B,isRef:C,createVNode:n,withCtx:u,createElementVNode:g,Teleport:w}=await x("vue"),V={class:"flex gap-8 h-48 items-center justify-end transition-all w-full xs:flex-wrap-reverse"},F={class:"flex flex-1 gap-8"},{computed:z,ref:S}=await x("vue"),U=$({__name:"FmTableToolbar",props:{searchModel:{default:""},searchable:{type:Boolean},filterable:{type:Boolean},chips:{default:()=>[]},actions:{default:()=>[]},zIndexForBottomSheet:{default:void 0}},emits:["update:search-model","click:remove-chip"],setup(j){const m=j,{breakpoints:N}=W(),h=z(()=>{const t=[];m.searchable&&t.push({label:"Search",icon:"search",key:"search"}),m.filterable&&t.push({label:"Filter",icon:"filter_alt",key:"filter"});const a=t.concat(m.actions);if(N.value.xs){const[i,I,M,...v]=a;return v.length===0?{actionButtons:[i,I,M].filter(b=>b),collapse:v}:{actionButtons:[i,I].filter(b=>b),collapse:[M,...v]}}const[e,r,T,E,...k]=a;return k.length===0?{actionButtons:[e,r,T,E].filter(i=>i),collapse:k}:{actionButtons:[e,r,T].filter(i=>i),collapse:[E,...k]}}),p=S(!1);function L(t){if(N.value.xs){t.stopPropagation(),p.value=!0;return}}const y=ee(m,"searchModel");return(t,a)=>(l(),c("div",V,[s(t.$slots,"chips",{},()=>[t.chips.length?(l(),o(A,{key:0,class:"min-w-0 mr-auto",items:t.chips,removable:"",onChipClosed:a[0]||(a[0]=e=>t.$emit("click:remove-chip",e))},null,8,["items"])):d("",!0)]),g("div",F,[(l(!0),c(_,null,f(h.value.actionButtons,e=>(l(),c(_,{key:e.key},[e.key==="search"?s(t.$slots,"action-search",{key:0},()=>[n(le,{"model-value":B(y),"onUpdate:modelValue":a[1]||(a[1]=r=>C(y)?y.value=r:null),class:"w-full",collapsible:""},null,8,["model-value"])]):s(t.$slots,`action-${e.key}`,{key:1},()=>[n(P,{"prepend-icon":e.icon,variant:"tertiary",onClick:r=>t.$emit(`click:action-${e.key}`)},null,8,["prepend-icon","onClick"])])],64))),128)),h.value.collapse.length?(l(),o(re,{key:0},{"menu-button":u(()=>[n(P,{"prepend-icon":"more_vert",variant:"tertiary",onClick:L})]),default:u(()=>[(l(!0),c(_,null,f(h.value.collapse,e=>(l(),o(ce,{key:e.key,label:e.label,icon:e.icon,onClick:r=>{t.$emit(`click:action-${e.key}`),p.value=!1}},null,8,["label","icon","onClick"]))),128))]),_:1})):d("",!0),t.$slots.append?s(t.$slots,"append",{key:1}):d("",!0)]),(l(),o(w,{to:"body"},[n(G,{modelValue:p.value,"onUpdate:modelValue":a[2]||(a[2]=e=>p.value=e),"dismiss-away":"","z-index":m.zIndexForBottomSheet},{default:u(()=>[n(J,null,{default:u(()=>[(l(!0),c(_,null,f(h.value.collapse,e=>(l(),o(O,{key:e.key,label:e.label,class:"hover:bg-fm-color-neutral-gray-100",onClick:r=>{t.$emit(`click:action-${e.key}`),p.value=!1}},null,8,["label","onClick"]))),128))]),_:1})]),_:1},8,["modelValue","z-index"])]))]))}})});export{U as _,ie as __tla};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,__tla as a}from"./FmDialog.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import{_ as t,__tla as a}from"./FmDialog.vue_vue_type_script_setup_true_lang-DPHnFYPb.js";let _=Promise.all([(()=>{try{return a}catch{}})()]).then(async()=>{});export{_ as __tla,t as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{importShared as ne,__tla as $h}from"./__federation_fn_import-CYKgoy9p.js";import{u as Rn,__tla as Xh}from"./useProxiedModel-DbArcH0F.js";import{u as Uh,g as Yh,a as Hh,b as Gh,c as qh,d as Kh,F as Yt,_ as zn,__tla as Zh}from"./FmTableHeader.vue_vue_type_script_setup_true_lang-DTnrtawX.js";import Qh,{__tla as Jh}from"./__federation_expose_FmIcon-B5L3FtOO.js";import{_ as Qr}from"./_plugin-vue_export-helper-DlAUqK2U.js";import vt,{__tla as ef}from"./__federation_expose_FmButton-BoCn-KbF.js";import tf,{__tla as nf}from"./__federation_expose_FmMenu-BH6bzCSj.js";import of,{__tla as rf}from"./__federation_expose_FmMenuItem-D0j_Eu3r.js";import Ht,{__tla as af}from"./__federation_expose_FmSpacer-NyWv__n8.js";import Jr,{__tla as lf}from"./__federation_expose_FmCircularProgress-B5PP_Hik.js";import{u as sf,__tla as cf}from"./useBreakpoints-CD9JASJ_.js";import{__tla as uf}from"./useSnackbar-QIL3kuoi.js";import{__tla as df}from"./useFocus-z6lA6xf5.js";import{d as hf}from"./index-geV2sl9x.js";import{c as Gt,g as ff}from"./_commonjsHelpers-Cpj98o6Y.js";import{l as pf}from"./lodash-DHyxJ22h.js";import{t as tt,__tla as gf}from"./locale-BngBm0O1.js";let Pn,ei,mf=Promise.all([(()=>{try{return $h}catch{}})(),(()=>{try{return Xh}catch{}})(),(()=>{try{return Zh}catch{}})(),(()=>{try{return Jh}catch{}})(),(()=>{try{return ef}catch{}})(),(()=>{try{return nf}catch{}})(),(()=>{try{return rf}catch{}})(),(()=>{try{return af}catch{}})(),(()=>{try{return lf}catch{}})(),(()=>{try{return cf}catch{}})(),(()=>{try{return uf}catch{}})(),(()=>{try{return df}catch{}})(),(()=>{try{return gf}catch{}})()]).then(async()=>{function Fn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function ue(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?Fn(Object(t),!0).forEach(function(o){ti(e,o,t[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Fn(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))})}return e}function bt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?bt=function(n){return typeof n}:bt=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},bt(e)}function ti(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function ge(){return ge=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},ge.apply(this,arguments)}function ni(e,n){if(e==null)return{};var t={},o=Object.keys(e),r,i;for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&(t[r]=e[r]);return t}function oi(e,n){if(e==null)return{};var t=ni(e,n),o,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],!(n.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(t[o]=e[o])}return t}var ri="1.14.0";function me(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var ve=me(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),nt=me(/Edge/i),Nn=me(/firefox/i),ot=me(/safari/i)&&!me(/chrome/i)&&!me(/android/i),Bn=me(/iP(ad|od|hone)/i),ii=me(/chrome/i)&&me(/android/i),Vn={capture:!1,passive:!1};function k(e,n,t){e.addEventListener(n,t,!ve&&Vn)}function D(e,n,t){e.removeEventListener(n,t,!ve&&Vn)}function yt(e,n){if(n){if(n[0]===">"&&(n=n.substring(1)),e)try{if(e.matches)return e.matches(n);if(e.msMatchesSelector)return e.msMatchesSelector(n);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(n)}catch{return!1}return!1}}function ai(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function de(e,n,t,o){if(e){t=t||document;do{if(n!=null&&(n[0]===">"?e.parentNode===t&&yt(e,n):yt(e,n))||o&&e===t)return e;if(e===t)break}while(e=ai(e))}return null}var Ln=/\s+/g;function J(e,n,t){if(e&&n)if(e.classList)e.classList[t?"add":"remove"](n);else{var o=(" "+e.className+" ").replace(Ln," ").replace(" "+n+" "," ");e.className=(o+(t?" "+n:"")).replace(Ln," ")}}function b(e,n,t){var o=e&&e.style;if(o){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(t=e.currentStyle),n===void 0?t:t[n];!(n in o)&&n.indexOf("webkit")===-1&&(n="-webkit-"+n),o[n]=t+(typeof t=="string"?"":"px")}}function Ne(e,n){var t="";if(typeof e=="string")t=e;else do{var o=b(e,"transform");o&&o!=="none"&&(t=o+" "+t)}while(!n&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(t)}function Wn(e,n,t){if(e){var o=e.getElementsByTagName(n),r=0,i=o.length;if(t)for(;r<i;r++)t(o[r],r);return o}return[]}function he(){var e=document.scrollingElement;return e||document.documentElement}function L(e,n,t,o,r){if(!(!e.getBoundingClientRect&&e!==window)){var i,a,l,s,u,h,d;if(e!==window&&e.parentNode&&e!==he()?(i=e.getBoundingClientRect(),a=i.top,l=i.left,s=i.bottom,u=i.right,h=i.height,d=i.width):(a=0,l=0,s=window.innerHeight,u=window.innerWidth,h=window.innerHeight,d=window.innerWidth),(n||t)&&e!==window&&(r=r||e.parentNode,!ve))do if(r&&r.getBoundingClientRect&&(b(r,"transform")!=="none"||t&&b(r,"position")!=="static")){var m=r.getBoundingClientRect();a-=m.top+parseInt(b(r,"border-top-width")),l-=m.left+parseInt(b(r,"border-left-width")),s=a+i.height,u=l+i.width;break}while(r=r.parentNode);if(o&&e!==window){var p=Ne(r||e),S=p&&p.a,v=p&&p.d;p&&(a/=v,l/=S,d/=S,h/=v,s=a+h,u=l+d)}return{top:a,left:l,bottom:s,right:u,width:d,height:h}}}function $n(e,n,t){for(var o=Ee(e,!0),r=L(e)[n];o;){var i=L(o)[t],a=void 0;if(a=r>=i,!a)return o;if(o===he())break;o=Ee(o,!1)}return!1}function Be(e,n,t,o){for(var r=0,i=0,a=e.children;i<a.length;){if(a[i].style.display!=="none"&&a[i]!==y.ghost&&(o||a[i]!==y.dragged)&&de(a[i],t.draggable,e,!1)){if(r===n)return a[i];r++}i++}return null}function qt(e,n){for(var t=e.lastElementChild;t&&(t===y.ghost||b(t,"display")==="none"||n&&!yt(t,n));)t=t.previousElementSibling;return t||null}function oe(e,n){var t=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==y.clone&&(!n||yt(e,n))&&t++;return t}function Xn(e){var n=0,t=0,o=he();if(e)do{var r=Ne(e),i=r.a,a=r.d;n+=e.scrollLeft*i,t+=e.scrollTop*a}while(e!==o&&(e=e.parentNode));return[n,t]}function li(e,n){for(var t in e)if(e.hasOwnProperty(t)){for(var o in n)if(n.hasOwnProperty(o)&&n[o]===e[t][o])return Number(t)}return-1}function Ee(e,n){if(!e||!e.getBoundingClientRect)return he();var t=e,o=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var r=b(t);if(t.clientWidth<t.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return he();if(o||n)return t;o=!0}}while(t=t.parentNode);return he()}function si(e,n){if(e&&n)for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function Kt(e,n){return Math.round(e.top)===Math.round(n.top)&&Math.round(e.left)===Math.round(n.left)&&Math.round(e.height)===Math.round(n.height)&&Math.round(e.width)===Math.round(n.width)}var rt;function Un(e,n){return function(){if(!rt){var t=arguments,o=this;t.length===1?e.call(o,t[0]):e.apply(o,t),rt=setTimeout(function(){rt=void 0},n)}}}function ci(){clearTimeout(rt),rt=void 0}function Yn(e,n,t){e.scrollLeft+=n,e.scrollTop+=t}function Hn(e){var n=window.Polymer,t=window.jQuery||window.Zepto;return n&&n.dom?n.dom(e).cloneNode(!0):t?t(e).clone(!0)[0]:e.cloneNode(!0)}var ee="Sortable"+new Date().getTime();function ui(){var e=[],n;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var t=[].slice.call(this.el.children);t.forEach(function(o){if(!(b(o,"display")==="none"||o===y.ghost)){e.push({target:o,rect:L(o)});var r=ue({},e[e.length-1].rect);if(o.thisAnimationDuration){var i=Ne(o,!0);i&&(r.top-=i.f,r.left-=i.e)}o.fromRect=r}})}},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(li(e,{target:t}),1)},animateAll:function(t){var o=this;if(!this.options.animation){clearTimeout(n),typeof t=="function"&&t();return}var r=!1,i=0;e.forEach(function(a){var l=0,s=a.target,u=s.fromRect,h=L(s),d=s.prevFromRect,m=s.prevToRect,p=a.rect,S=Ne(s,!0);S&&(h.top-=S.f,h.left-=S.e),s.toRect=h,s.thisAnimationDuration&&Kt(d,h)&&!Kt(u,h)&&(p.top-h.top)/(p.left-h.left)===(u.top-h.top)/(u.left-h.left)&&(l=hi(p,d,m,o.options)),Kt(h,u)||(s.prevFromRect=u,s.prevToRect=h,l||(l=o.options.animation),o.animate(s,p,h,l)),l&&(r=!0,i=Math.max(i,l),clearTimeout(s.animationResetTimer),s.animationResetTimer=setTimeout(function(){s.animationTime=0,s.prevFromRect=null,s.fromRect=null,s.prevToRect=null,s.thisAnimationDuration=null},l),s.thisAnimationDuration=l)}),clearTimeout(n),r?n=setTimeout(function(){typeof t=="function"&&t()},i):typeof t=="function"&&t(),e=[]},animate:function(t,o,r,i){if(i){b(t,"transition",""),b(t,"transform","");var a=Ne(this.el),l=a&&a.a,s=a&&a.d,u=(o.left-r.left)/(l||1),h=(o.top-r.top)/(s||1);t.animatingX=!!u,t.animatingY=!!h,b(t,"transform","translate3d("+u+"px,"+h+"px,0)"),this.forRepaintDummy=di(t),b(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),b(t,"transform","translate3d(0,0,0)"),typeof t.animated=="number"&&clearTimeout(t.animated),t.animated=setTimeout(function(){b(t,"transition",""),b(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1},i)}}}}function di(e){return e.offsetWidth}function hi(e,n,t,o){return Math.sqrt(Math.pow(n.top-e.top,2)+Math.pow(n.left-e.left,2))/Math.sqrt(Math.pow(n.top-t.top,2)+Math.pow(n.left-t.left,2))*o.animation}var Ve=[],Zt={initializeByDefault:!0},it={mount:function(e){for(var n in Zt)Zt.hasOwnProperty(n)&&!(n in e)&&(e[n]=Zt[n]);Ve.forEach(function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Ve.push(e)},pluginEvent:function(e,n,t){var o=this;this.eventCanceled=!1,t.cancel=function(){o.eventCanceled=!0};var r=e+"Global";Ve.forEach(function(i){n[i.pluginName]&&(n[i.pluginName][r]&&n[i.pluginName][r](ue({sortable:n},t)),n.options[i.pluginName]&&n[i.pluginName][e]&&n[i.pluginName][e](ue({sortable:n},t)))})},initializePlugins:function(e,n,t,o){Ve.forEach(function(a){var l=a.pluginName;if(!(!e.options[l]&&!a.initializeByDefault)){var s=new a(e,n,e.options);s.sortable=e,s.options=e.options,e[l]=s,ge(t,s.defaults)}});for(var r in e.options)if(e.options.hasOwnProperty(r)){var i=this.modifyOption(e,r,e.options[r]);typeof i<"u"&&(e.options[r]=i)}},getEventProperties:function(e,n){var t={};return Ve.forEach(function(o){typeof o.eventProperties=="function"&&ge(t,o.eventProperties.call(n[o.pluginName],e))}),t},modifyOption:function(e,n,t){var o;return Ve.forEach(function(r){e[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[n]=="function"&&(o=r.optionListeners[n].call(e[r.pluginName],t))}),o}};function fi(e){var n=e.sortable,t=e.rootEl,o=e.name,r=e.targetEl,i=e.cloneEl,a=e.toEl,l=e.fromEl,s=e.oldIndex,u=e.newIndex,h=e.oldDraggableIndex,d=e.newDraggableIndex,m=e.originalEvent,p=e.putSortable,S=e.extraEventProperties;if(n=n||t&&t[ee],!!n){var v,M=n.options,O="on"+o.charAt(0).toUpperCase()+o.substr(1);window.CustomEvent&&!ve&&!nt?v=new CustomEvent(o,{bubbles:!0,cancelable:!0}):(v=document.createEvent("Event"),v.initEvent(o,!0,!0)),v.to=a||t,v.from=l||t,v.item=r||t,v.clone=i,v.oldIndex=s,v.newIndex=u,v.oldDraggableIndex=h,v.newDraggableIndex=d,v.originalEvent=m,v.pullMode=p?p.lastPutMode:void 0;var A=ue(ue({},S),it.getEventProperties(o,n));for(var V in A)v[V]=A[V];t&&t.dispatchEvent(v),M[O]&&M[O].call(n,v)}}var pi=["evt"],K=function(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=t.evt,r=oi(t,pi);it.pluginEvent.bind(y)(e,n,ue({dragEl:f,parentEl:R,ghostEl:_,rootEl:j,nextEl:je,lastDownEl:wt,cloneEl:z,cloneHidden:De,dragStarted:lt,putSortable:$,activeSortable:y.active,originalEvent:o,oldIndex:Le,oldDraggableIndex:at,newIndex:te,newDraggableIndex:Oe,hideGhostForTarget:eo,unhideGhostForTarget:to,cloneNowHidden:function(){De=!0},cloneNowShown:function(){De=!1},dispatchSortableEvent:function(i){q({sortable:n,name:i,originalEvent:o})}},r))};function q(e){fi(ue({putSortable:$,cloneEl:z,targetEl:f,rootEl:j,oldIndex:Le,oldDraggableIndex:at,newIndex:te,newDraggableIndex:Oe},e))}var f,R,_,j,je,wt,z,De,Le,te,at,Oe,_t,$,We=!1,xt=!1,St=[],Ae,le,Qt,Jt,Gn,qn,lt,$e,st,ct=!1,Ct=!1,Et,H,en=[],tn=!1,Dt=[],Ot=typeof document<"u",kt=Bn,Kn=nt||ve?"cssFloat":"float",gi=Ot&&!ii&&!Bn&&"draggable"in document.createElement("div"),Zn=function(){if(Ot){if(ve)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Qn=function(e,n){var t=b(e),o=parseInt(t.width)-parseInt(t.paddingLeft)-parseInt(t.paddingRight)-parseInt(t.borderLeftWidth)-parseInt(t.borderRightWidth),r=Be(e,0,n),i=Be(e,1,n),a=r&&b(r),l=i&&b(i),s=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+L(r).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+L(i).width;if(t.display==="flex")return t.flexDirection==="column"||t.flexDirection==="column-reverse"?"vertical":"horizontal";if(t.display==="grid")return t.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&a.float&&a.float!=="none"){var h=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===h)?"vertical":"horizontal"}return r&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||s>=o&&t[Kn]==="none"||i&&t[Kn]==="none"&&s+u>o)?"vertical":"horizontal"},mi=function(e,n,t){var o=t?e.left:e.top,r=t?e.right:e.bottom,i=t?e.width:e.height,a=t?n.left:n.top,l=t?n.right:n.bottom,s=t?n.width:n.height;return o===a||r===l||o+i/2===a+s/2},vi=function(e,n){var t;return St.some(function(o){var r=o[ee].options.emptyInsertThreshold;if(!(!r||qt(o))){var i=L(o),a=e>=i.left-r&&e<=i.right+r,l=n>=i.top-r&&n<=i.bottom+r;if(a&&l)return t=o}}),t},Jn=function(e){function n(r,i){return function(a,l,s,u){var h=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(r==null&&(i||h))return!0;if(r==null||r===!1)return!1;if(i&&r==="clone")return r;if(typeof r=="function")return n(r(a,l,s,u),i)(a,l,s,u);var d=(i?a:l).options.group.name;return r===!0||typeof r=="string"&&r===d||r.join&&r.indexOf(d)>-1}}var t={},o=e.group;(!o||bt(o)!="object")&&(o={name:o}),t.name=o.name,t.checkPull=n(o.pull,!0),t.checkPut=n(o.put),t.revertClone=o.revertClone,e.group=t},eo=function(){!Zn&&_&&b(_,"display","none")},to=function(){!Zn&&_&&b(_,"display","")};Ot&&document.addEventListener("click",function(e){if(xt)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),xt=!1,!1},!0);var Re=function(e){if(f){e=e.touches?e.touches[0]:e;var n=vi(e.clientX,e.clientY);if(n){var t={};for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.target=t.rootEl=n,t.preventDefault=void 0,t.stopPropagation=void 0,n[ee]._onDragOver(t)}}},bi=function(e){f&&f.parentNode[ee]._isOutsideThisEl(e.target)};function y(e,n){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=n=ge({},n),e[ee]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Qn(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(i,a){i.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:y.supportPointer!==!1&&"PointerEvent"in window&&!ot,emptyInsertThreshold:5};it.initializePlugins(this,e,t);for(var o in t)!(o in n)&&(n[o]=t[o]);Jn(n);for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this));this.nativeDraggable=n.forceFallback?!1:gi,this.nativeDraggable&&(this.options.touchStartThreshold=1),n.supportPointer?k(e,"pointerdown",this._onTapStart):(k(e,"mousedown",this._onTapStart),k(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(k(e,"dragover",this),k(e,"dragenter",this)),St.push(this.el),n.store&&n.store.get&&this.sort(n.store.get(this)||[]),ge(this,ui())}y.prototype={constructor:y,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&($e=null)},_getDirection:function(e,n){return typeof this.options.direction=="function"?this.options.direction.call(this,e,n,f):this.options.direction},_onTapStart:function(e){if(e.cancelable){var n=this,t=this.el,o=this.options,r=o.preventOnFilter,i=e.type,a=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,l=(a||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,u=o.filter;if(Di(t),!f&&!(/mousedown|pointerdown/.test(i)&&e.button!==0||o.disabled)&&!s.isContentEditable&&!(!this.nativeDraggable&&ot&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=de(l,o.draggable,t,!1),!(l&&l.animated)&&wt!==l)){if(Le=oe(l),at=oe(l,o.draggable),typeof u=="function"){if(u.call(this,e,l,this)){q({sortable:n,rootEl:s,name:"filter",targetEl:l,toEl:t,fromEl:t}),K("filter",n,{evt:e}),r&&e.cancelable&&e.preventDefault();return}}else if(u&&(u=u.split(",").some(function(h){if(h=de(s,h.trim(),t,!1),h)return q({sortable:n,rootEl:h,name:"filter",targetEl:l,fromEl:t,toEl:t}),K("filter",n,{evt:e}),!0}),u)){r&&e.cancelable&&e.preventDefault();return}o.handle&&!de(s,o.handle,t,!1)||this._prepareDragStart(e,a,l)}}},_prepareDragStart:function(e,n,t){var o=this,r=o.el,i=o.options,a=r.ownerDocument,l;if(t&&!f&&t.parentNode===r){var s=L(t);if(j=r,f=t,R=f.parentNode,je=f.nextSibling,wt=t,_t=i.group,y.dragged=f,Ae={target:f,clientX:(n||e).clientX,clientY:(n||e).clientY},Gn=Ae.clientX-s.left,qn=Ae.clientY-s.top,this._lastX=(n||e).clientX,this._lastY=(n||e).clientY,f.style["will-change"]="all",l=function(){if(K("delayEnded",o,{evt:e}),y.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!Nn&&o.nativeDraggable&&(f.draggable=!0),o._triggerDragStart(e,n),q({sortable:o,name:"choose",originalEvent:e}),J(f,i.chosenClass,!0)},i.ignore.split(",").forEach(function(u){Wn(f,u.trim(),nn)}),k(a,"dragover",Re),k(a,"mousemove",Re),k(a,"touchmove",Re),k(a,"mouseup",o._onDrop),k(a,"touchend",o._onDrop),k(a,"touchcancel",o._onDrop),Nn&&this.nativeDraggable&&(this.options.touchStartThreshold=4,f.draggable=!0),K("delayStart",this,{evt:e}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(nt||ve))){if(y.eventCanceled){this._onDrop();return}k(a,"mouseup",o._disableDelayedDrag),k(a,"touchend",o._disableDelayedDrag),k(a,"touchcancel",o._disableDelayedDrag),k(a,"mousemove",o._delayedDragTouchMoveHandler),k(a,"touchmove",o._delayedDragTouchMoveHandler),i.supportPointer&&k(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(l,i.delay)}else l()}},_delayedDragTouchMoveHandler:function(e){var n=e.touches?e.touches[0]:e;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){f&&nn(f),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;D(e,"mouseup",this._disableDelayedDrag),D(e,"touchend",this._disableDelayedDrag),D(e,"touchcancel",this._disableDelayedDrag),D(e,"mousemove",this._delayedDragTouchMoveHandler),D(e,"touchmove",this._delayedDragTouchMoveHandler),D(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,n){n=n||e.pointerType=="touch"&&e,!this.nativeDraggable||n?this.options.supportPointer?k(document,"pointermove",this._onTouchMove):n?k(document,"touchmove",this._onTouchMove):k(document,"mousemove",this._onTouchMove):(k(f,"dragend",this),k(j,"dragstart",this._onDragStart));try{document.selection?It(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,n){if(We=!1,j&&f){K("dragStarted",this,{evt:n}),this.nativeDraggable&&k(document,"dragover",bi);var t=this.options;!e&&J(f,t.dragClass,!1),J(f,t.ghostClass,!0),y.active=this,e&&this._appendGhost(),q({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(le){this._lastX=le.clientX,this._lastY=le.clientY,eo();for(var e=document.elementFromPoint(le.clientX,le.clientY),n=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(le.clientX,le.clientY),e!==n);)n=e;if(f.parentNode[ee]._isOutsideThisEl(e),n)do{if(n[ee]){var t=void 0;if(t=n[ee]._onDragOver({clientX:le.clientX,clientY:le.clientY,target:e,rootEl:n}),t&&!this.options.dragoverBubble)break}e=n}while(n=n.parentNode);to()}},_onTouchMove:function(e){if(Ae){var n=this.options,t=n.fallbackTolerance,o=n.fallbackOffset,r=e.touches?e.touches[0]:e,i=_&&Ne(_,!0),a=_&&i&&i.a,l=_&&i&&i.d,s=kt&&H&&Xn(H),u=(r.clientX-Ae.clientX+o.x)/(a||1)+(s?s[0]-en[0]:0)/(a||1),h=(r.clientY-Ae.clientY+o.y)/(l||1)+(s?s[1]-en[1]:0)/(l||1);if(!y.active&&!We){if(t&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<t)return;this._onDragStart(e,!0)}if(_){i?(i.e+=u-(Qt||0),i.f+=h-(Jt||0)):i={a:1,b:0,c:0,d:1,e:u,f:h};var d="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");b(_,"webkitTransform",d),b(_,"mozTransform",d),b(_,"msTransform",d),b(_,"transform",d),Qt=u,Jt=h,le=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!_){var e=this.options.fallbackOnBody?document.body:j,n=L(f,!0,kt,!0,e),t=this.options;if(kt){for(H=e;b(H,"position")==="static"&&b(H,"transform")==="none"&&H!==document;)H=H.parentNode;H!==document.body&&H!==document.documentElement?(H===document&&(H=he()),n.top+=H.scrollTop,n.left+=H.scrollLeft):H=he(),en=Xn(H)}_=f.cloneNode(!0),J(_,t.ghostClass,!1),J(_,t.fallbackClass,!0),J(_,t.dragClass,!0),b(_,"transition",""),b(_,"transform",""),b(_,"box-sizing","border-box"),b(_,"margin",0),b(_,"top",n.top),b(_,"left",n.left),b(_,"width",n.width),b(_,"height",n.height),b(_,"opacity","0.8"),b(_,"position",kt?"absolute":"fixed"),b(_,"zIndex","100000"),b(_,"pointerEvents","none"),y.ghost=_,e.appendChild(_),b(_,"transform-origin",Gn/parseInt(_.style.width)*100+"% "+qn/parseInt(_.style.height)*100+"%")}},_onDragStart:function(e,n){var t=this,o=e.dataTransfer,r=t.options;if(K("dragStart",this,{evt:e}),y.eventCanceled){this._onDrop();return}K("setupClone",this),y.eventCanceled||(z=Hn(f),z.draggable=!1,z.style["will-change"]="",this._hideClone(),J(z,this.options.chosenClass,!1),y.clone=z),t.cloneId=It(function(){K("clone",t),!y.eventCanceled&&(t.options.removeCloneOnHide||j.insertBefore(z,f),t._hideClone(),q({sortable:t,name:"clone"}))}),!n&&J(f,r.dragClass,!0),n?(xt=!0,t._loopId=setInterval(t._emulateDragOver,50)):(D(document,"mouseup",t._onDrop),D(document,"touchend",t._onDrop),D(document,"touchcancel",t._onDrop),o&&(o.effectAllowed="move",r.setData&&r.setData.call(t,o,f)),k(document,"drop",t),b(f,"transform","translateZ(0)")),We=!0,t._dragStartId=It(t._dragStarted.bind(t,n,e)),k(document,"selectstart",t),lt=!0,ot&&b(document.body,"user-select","none")},_onDragOver:function(e){var n=this.el,t=e.target,o,r,i,a=this.options,l=a.group,s=y.active,u=_t===l,h=a.sort,d=$||s,m,p=this,S=!1;if(tn)return;function v(g,w){K(g,p,ue({evt:e,isOwner:u,axis:m?"vertical":"horizontal",revert:i,dragRect:o,targetRect:r,canSort:h,fromSortable:d,target:t,completed:O,onMove:function(W,ce){return Mt(j,n,f,o,W,L(W),e,ce)},changed:A},w))}function M(){v("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function O(g){return v("dragOverCompleted",{insertion:g}),g&&(u?s._hideClone():s._showClone(p),p!==d&&(J(f,$?$.options.ghostClass:s.options.ghostClass,!1),J(f,a.ghostClass,!0)),$!==p&&p!==y.active?$=p:p===y.active&&$&&($=null),d===p&&(p._ignoreWhileAnimating=t),p.animateAll(function(){v("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(t===f&&!f.animated||t===n&&!t.animated)&&($e=null),!a.dragoverBubble&&!e.rootEl&&t!==document&&(f.parentNode[ee]._isOutsideThisEl(e.target),!g&&Re(e)),!a.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),S=!0}function A(){te=oe(f),Oe=oe(f,a.draggable),q({sortable:p,name:"change",toEl:n,newIndex:te,newDraggableIndex:Oe,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),t=de(t,a.draggable,n,!0),v("dragOver"),y.eventCanceled)return S;if(f.contains(e.target)||t.animated&&t.animatingX&&t.animatingY||p._ignoreWhileAnimating===t)return O(!1);if(xt=!1,s&&!a.disabled&&(u?h||(i=R!==j):$===this||(this.lastPutMode=_t.checkPull(this,s,f,e))&&l.checkPut(this,s,f,e))){if(m=this._getDirection(e,t)==="vertical",o=L(f),v("dragOverValid"),y.eventCanceled)return S;if(i)return R=j,M(),this._hideClone(),v("revert"),y.eventCanceled||(je?j.insertBefore(f,je):j.appendChild(f)),O(!0);var V=qt(n,a.draggable);if(!V||xi(e,m,this)&&!V.animated){if(V===f)return O(!1);if(V&&n===e.target&&(t=V),t&&(r=L(t)),Mt(j,n,f,o,t,r,e,!!t)!==!1)return M(),n.appendChild(f),R=n,A(),O(!0)}else if(V&&_i(e,m,this)){var F=Be(n,0,a,!0);if(F===f)return O(!1);if(t=F,r=L(t),Mt(j,n,f,o,t,r,e,!1)!==!1)return M(),n.insertBefore(f,F),R=n,A(),O(!0)}else if(t.parentNode===n){r=L(t);var X=0,we,Fe=f.parentNode!==n,Me=!mi(f.animated&&f.toRect||o,t.animated&&t.toRect||r,m),U=m?"top":"left",fe=$n(t,"top","top")||$n(f,"top","top"),_e=fe?fe.scrollTop:void 0;$e!==t&&(we=r[U],ct=!1,Ct=!Me&&a.invertSwap||Fe),X=Si(e,t,r,m,Me?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Ct,$e===t);var ie;if(X!==0){var xe=oe(f);do xe-=X,ie=R.children[xe];while(ie&&(b(ie,"display")==="none"||ie===_))}if(X===0||ie===t)return O(!1);$e=t,st=X;var Se=t.nextElementSibling,pe=!1;pe=X===1;var c=Mt(j,n,f,o,t,r,e,pe);if(c!==!1)return(c===1||c===-1)&&(pe=c===1),tn=!0,setTimeout(wi,30),M(),pe&&!Se?n.appendChild(f):t.parentNode.insertBefore(f,pe?Se:t),fe&&Yn(fe,0,_e-fe.scrollTop),R=f.parentNode,we!==void 0&&!Ct&&(Et=Math.abs(we-L(t)[U])),A(),O(!0)}if(n.contains(f))return O(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){D(document,"mousemove",this._onTouchMove),D(document,"touchmove",this._onTouchMove),D(document,"pointermove",this._onTouchMove),D(document,"dragover",Re),D(document,"mousemove",Re),D(document,"touchmove",Re)},_offUpEvents:function(){var e=this.el.ownerDocument;D(e,"mouseup",this._onDrop),D(e,"touchend",this._onDrop),D(e,"pointerup",this._onDrop),D(e,"touchcancel",this._onDrop),D(document,"selectstart",this)},_onDrop:function(e){var n=this.el,t=this.options;if(te=oe(f),Oe=oe(f,t.draggable),K("drop",this,{evt:e}),R=f&&f.parentNode,te=oe(f),Oe=oe(f,t.draggable),y.eventCanceled){this._nulling();return}We=!1,Ct=!1,ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),on(this.cloneId),on(this._dragStartId),this.nativeDraggable&&(D(document,"drop",this),D(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),ot&&b(document.body,"user-select",""),b(f,"transform",""),e&&(lt&&(e.cancelable&&e.preventDefault(),!t.dropBubble&&e.stopPropagation()),_&&_.parentNode&&_.parentNode.removeChild(_),(j===R||$&&$.lastPutMode!=="clone")&&z&&z.parentNode&&z.parentNode.removeChild(z),f&&(this.nativeDraggable&&D(f,"dragend",this),nn(f),f.style["will-change"]="",lt&&!We&&J(f,$?$.options.ghostClass:this.options.ghostClass,!1),J(f,this.options.chosenClass,!1),q({sortable:this,name:"unchoose",toEl:R,newIndex:null,newDraggableIndex:null,originalEvent:e}),j!==R?(te>=0&&(q({rootEl:R,name:"add",toEl:R,fromEl:j,originalEvent:e}),q({sortable:this,name:"remove",toEl:R,originalEvent:e}),q({rootEl:R,name:"sort",toEl:R,fromEl:j,originalEvent:e}),q({sortable:this,name:"sort",toEl:R,originalEvent:e})),$&&$.save()):te!==Le&&te>=0&&(q({sortable:this,name:"update",toEl:R,originalEvent:e}),q({sortable:this,name:"sort",toEl:R,originalEvent:e})),y.active&&((te==null||te===-1)&&(te=Le,Oe=at),q({sortable:this,name:"end",toEl:R,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){K("nulling",this),j=f=R=_=je=z=wt=De=Ae=le=lt=te=Oe=Le=at=$e=st=$=_t=y.dragged=y.ghost=y.clone=y.active=null,Dt.forEach(function(e){e.checked=!0}),Dt.length=Qt=Jt=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":f&&(this._onDragOver(e),yi(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],n,t=this.el.children,o=0,r=t.length,i=this.options;o<r;o++)n=t[o],de(n,i.draggable,this.el,!1)&&e.push(n.getAttribute(i.dataIdAttr)||Ei(n));return e},sort:function(e,n){var t={},o=this.el;this.toArray().forEach(function(r,i){var a=o.children[i];de(a,this.options.draggable,o,!1)&&(t[r]=a)},this),n&&this.captureAnimationState(),e.forEach(function(r){t[r]&&(o.removeChild(t[r]),o.appendChild(t[r]))}),n&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,n){return de(e,n||this.options.draggable,this.el,!1)},option:function(e,n){var t=this.options;if(n===void 0)return t[e];var o=it.modifyOption(this,e,n);typeof o<"u"?t[e]=o:t[e]=n,e==="group"&&Jn(t)},destroy:function(){K("destroy",this);var e=this.el;e[ee]=null,D(e,"mousedown",this._onTapStart),D(e,"touchstart",this._onTapStart),D(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(D(e,"dragover",this),D(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),St.splice(St.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!De){if(K("hideClone",this),y.eventCanceled)return;b(z,"display","none"),this.options.removeCloneOnHide&&z.parentNode&&z.parentNode.removeChild(z),De=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(De){if(K("showClone",this),y.eventCanceled)return;f.parentNode==j&&!this.options.group.revertClone?j.insertBefore(z,f):je?j.insertBefore(z,je):j.appendChild(z),this.options.group.revertClone&&this.animate(f,z),b(z,"display",""),De=!1}}};function yi(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Mt(e,n,t,o,r,i,a,l){var s,u=e[ee],h=u.options.onMove,d;return window.CustomEvent&&!ve&&!nt?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=n,s.from=e,s.dragged=t,s.draggedRect=o,s.related=r||n,s.relatedRect=i||L(n),s.willInsertAfter=l,s.originalEvent=a,e.dispatchEvent(s),h&&(d=h.call(u,s,a)),d}function nn(e){e.draggable=!1}function wi(){tn=!1}function _i(e,n,t){var o=L(Be(t.el,0,t.options,!0)),r=10;return n?e.clientX<o.left-r||e.clientY<o.top&&e.clientX<o.right:e.clientY<o.top-r||e.clientY<o.bottom&&e.clientX<o.left}function xi(e,n,t){var o=L(qt(t.el,t.options.draggable)),r=10;return n?e.clientX>o.right+r||e.clientX<=o.right&&e.clientY>o.bottom&&e.clientX>=o.left:e.clientX>o.right&&e.clientY>o.top||e.clientX<=o.right&&e.clientY>o.bottom+r}function Si(e,n,t,o,r,i,a,l){var s=o?e.clientY:e.clientX,u=o?t.height:t.width,h=o?t.top:t.left,d=o?t.bottom:t.right,m=!1;if(!a){if(l&&Et<u*r){if(!ct&&(st===1?s>h+u*i/2:s<d-u*i/2)&&(ct=!0),ct)m=!0;else if(st===1?s<h+Et:s>d-Et)return-st}else if(s>h+u*(1-r)/2&&s<d-u*(1-r)/2)return Ci(n)}return m=m||a,m&&(s<h+u*i/2||s>d-u*i/2)?s>h+u/2?1:-1:0}function Ci(e){return oe(f)<oe(e)?1:-1}function Ei(e){for(var n=e.tagName+e.className+e.src+e.href+e.textContent,t=n.length,o=0;t--;)o+=n.charCodeAt(t);return o.toString(36)}function Di(e){Dt.length=0;for(var n=e.getElementsByTagName("input"),t=n.length;t--;){var o=n[t];o.checked&&Dt.push(o)}}function It(e){return setTimeout(e,0)}function on(e){return clearTimeout(e)}Ot&&k(document,"touchmove",function(e){(y.active||We)&&e.cancelable&&e.preventDefault()}),y.utils={on:k,off:D,css:b,find:Wn,is:function(e,n){return!!de(e,n,e,!1)},extend:si,throttle:Un,closest:de,toggleClass:J,clone:Hn,index:oe,nextTick:It,cancelNextTick:on,detectDirection:Qn,getChild:Be},y.get=function(e){return e[ee]},y.mount=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];n[0].constructor===Array&&(n=n[0]),n.forEach(function(o){if(!o.prototype||!o.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));o.utils&&(y.utils=ue(ue({},y.utils),o.utils)),it.mount(o)})},y.create=function(e,n){return new y(e,n)},y.version=ri;var B=[],ut,rn,an=!1,ln,sn,Tt,dt;function Oi(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this))}return e.prototype={dragStarted:function(n){var t=n.originalEvent;this.sortable.nativeDraggable?k(document,"dragover",this._handleAutoScroll):this.options.supportPointer?k(document,"pointermove",this._handleFallbackAutoScroll):t.touches?k(document,"touchmove",this._handleFallbackAutoScroll):k(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var t=n.originalEvent;!this.options.dragOverBubble&&!t.rootEl&&this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?D(document,"dragover",this._handleAutoScroll):(D(document,"pointermove",this._handleFallbackAutoScroll),D(document,"touchmove",this._handleFallbackAutoScroll),D(document,"mousemove",this._handleFallbackAutoScroll)),no(),jt(),ci()},nulling:function(){Tt=rn=ut=an=dt=ln=sn=null,B.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,t){var o=this,r=(n.touches?n.touches[0]:n).clientX,i=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(r,i);if(Tt=n,t||this.options.forceAutoScrollFallback||nt||ve||ot){cn(n,this.options,a,t);var l=Ee(a,!0);an&&(!dt||r!==ln||i!==sn)&&(dt&&no(),dt=setInterval(function(){var s=Ee(document.elementFromPoint(r,i),!0);s!==l&&(l=s,jt()),cn(n,o.options,s,t)},10),ln=r,sn=i)}else{if(!this.options.bubbleScroll||Ee(a,!0)===he()){jt();return}cn(n,this.options,Ee(a,!1),!1)}}},ge(e,{pluginName:"scroll",initializeByDefault:!0})}function jt(){B.forEach(function(e){clearInterval(e.pid)}),B=[]}function no(){clearInterval(dt)}var cn=Un(function(e,n,t,o){if(n.scroll){var r=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,a=n.scrollSensitivity,l=n.scrollSpeed,s=he(),u=!1,h;rn!==t&&(rn=t,jt(),ut=n.scroll,h=n.scrollFn,ut===!0&&(ut=Ee(t,!0)));var d=0,m=ut;do{var p=m,S=L(p),v=S.top,M=S.bottom,O=S.left,A=S.right,V=S.width,F=S.height,X=void 0,we=void 0,Fe=p.scrollWidth,Me=p.scrollHeight,U=b(p),fe=p.scrollLeft,_e=p.scrollTop;p===s?(X=V<Fe&&(U.overflowX==="auto"||U.overflowX==="scroll"||U.overflowX==="visible"),we=F<Me&&(U.overflowY==="auto"||U.overflowY==="scroll"||U.overflowY==="visible")):(X=V<Fe&&(U.overflowX==="auto"||U.overflowX==="scroll"),we=F<Me&&(U.overflowY==="auto"||U.overflowY==="scroll"));var ie=X&&(Math.abs(A-r)<=a&&fe+V<Fe)-(Math.abs(O-r)<=a&&!!fe),xe=we&&(Math.abs(M-i)<=a&&_e+F<Me)-(Math.abs(v-i)<=a&&!!_e);if(!B[d])for(var Se=0;Se<=d;Se++)B[Se]||(B[Se]={});(B[d].vx!=ie||B[d].vy!=xe||B[d].el!==p)&&(B[d].el=p,B[d].vx=ie,B[d].vy=xe,clearInterval(B[d].pid),(ie!=0||xe!=0)&&(u=!0,B[d].pid=setInterval((function(){o&&this.layer===0&&y.active._onTouchMove(Tt);var pe=B[this.layer].vy?B[this.layer].vy*l:0,c=B[this.layer].vx?B[this.layer].vx*l:0;typeof h=="function"&&h.call(y.dragged.parentNode[ee],c,pe,e,Tt,B[this.layer].el)!=="continue"||Yn(B[this.layer].el,c,pe)}).bind({layer:d}),24))),d++}while(n.bubbleScroll&&m!==s&&(m=Ee(m,!1)));an=u}},30),oo=function(e){var n=e.originalEvent,t=e.putSortable,o=e.dragEl,r=e.activeSortable,i=e.dispatchSortableEvent,a=e.hideGhostForTarget,l=e.unhideGhostForTarget;if(n){var s=t||r;a();var u=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,h=document.elementFromPoint(u.clientX,u.clientY);l(),s&&!s.el.contains(h)&&(i("spill"),this.onSpill({dragEl:o,putSortable:t}))}};function un(){}un.prototype={startIndex:null,dragStart:function(e){var n=e.oldDraggableIndex;this.startIndex=n},onSpill:function(e){var n=e.dragEl,t=e.putSortable;this.sortable.captureAnimationState(),t&&t.captureAnimationState();var o=Be(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),t&&t.animateAll()},drop:oo},ge(un,{pluginName:"revertOnSpill"});function dn(){}dn.prototype={onSpill:function(e){var n=e.dragEl,t=e.putSortable,o=t||this.sortable;o.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),o.animateAll()},drop:oo},ge(dn,{pluginName:"removeOnSpill"}),y.mount(new Oi),y.mount(dn,un);function hn(e){e.parentElement!==null&&e.parentElement.removeChild(e)}function ro(e,n,t){const o=t===0?e.children[0]:e.children[t-1].nextSibling;e.insertBefore(n,o)}function ki(){return typeof window<"u"?window.console:global.console}const Mi=ki();function Ii(e){const n=Object.create(null);return function(t){return n[t]||(n[t]=e(t))}}const Ti=/-(\w)/g,ji=Ii(e=>e.replace(Ti,(n,t)=>t.toUpperCase())),io=["Start","Add","Remove","Update","End"],ao=["Choose","Unchoose","Sort","Filter","Clone"],lo=["Move"],Ai=[lo,io,ao].flatMap(e=>e).map(e=>`on${e}`),fn={manage:lo,manageAndEmit:io,emit:ao};function Ri(e){return Ai.indexOf(e)!==-1}const zi=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Pi(e){return zi.includes(e)}function Fi(e){return["transition-group","TransitionGroup"].includes(e)}function so(e){return["id","class","role","style"].includes(e)||e.startsWith("data-")||e.startsWith("aria-")||e.startsWith("on")}function co(e){return e.reduce((n,[t,o])=>(n[t]=o,n),{})}function Ni({$attrs:e,componentData:n={}}){return{...co(Object.entries(e).filter(([t,o])=>so(t))),...n}}function Bi({$attrs:e,callBackBuilder:n}){const t=co(uo(e));Object.entries(n).forEach(([r,i])=>{fn[r].forEach(a=>{t[`on${a}`]=i(a)})});const o=`[data-draggable]${t.draggable||""}`;return{...t,draggable:o}}function uo(e){return Object.entries(e).filter(([n,t])=>!so(n)).map(([n,t])=>[ji(n),t]).filter(([n,t])=>!Ri(n))}const ho=({el:e})=>e,Vi=(e,n)=>e.__draggable_context=n,fo=e=>e.__draggable_context;class Li{constructor({nodes:{header:n,default:t,footer:o},root:r,realList:i}){this.defaultNodes=t,this.children=[...n,...t,...o],this.externalComponent=r.externalComponent,this.rootTransition=r.transition,this.tag=r.tag,this.realList=i}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(n,t){const{tag:o,children:r,_isRootComponent:i}=this;return n(o,t,i?{default:()=>r}:r)}updated(){const{defaultNodes:n,realList:t}=this;n.forEach((o,r)=>{Vi(ho(o),{element:t[r],index:r})})}getUnderlyingVm(n){return fo(n)}getVmIndexFromDomIndex(n,t){const{defaultNodes:o}=this,{length:r}=o,i=t.children,a=i.item(n);if(a===null)return r;const l=fo(a);if(l)return l.index;if(r===0)return 0;const s=ho(o[0]),u=[...i].findIndex(h=>h===s);return n<u?0:r}}const{resolveComponent:Wi,TransitionGroup:$i}=await ne("vue");function Xi(e,n){const t=e[n];return t?t():[]}function Ui({$slots:e,realList:n,getKey:t}){const o=n||[],[r,i]=["header","footer"].map(s=>Xi(e,s)),{item:a}=e;if(!a)throw new Error("draggable element must have an item slot");const l=o.flatMap((s,u)=>a({element:s,index:u}).map(h=>(h.key=t(s),h.props={...h.props||{},"data-draggable":!0},h)));if(l.length!==o.length)throw new Error("Item slot must have only one child");return{header:r,footer:i,default:l}}function Yi(e){const n=Fi(e),t=!Pi(e)&&!n;return{transition:n,externalComponent:t,tag:t?Wi(e):n?$i:e}}function Hi({$slots:e,tag:n,realList:t,getKey:o}){const r=Ui({$slots:e,realList:t,getKey:o}),i=Yi(n);return new Li({nodes:r,root:i,realList:t})}const{h:po,defineComponent:Gi,nextTick:go}=await ne("vue");function mo(e,n){go(()=>this.$emit(e.toLowerCase(),n))}function vo(e){return(n,t)=>{if(this.realList!==null)return this[`onDrag${e}`](n,t)}}function qi(e){const n=vo.call(this,e);return(t,o)=>{n.call(this,t,o),mo.call(this,e,t)}}let pn=null,bo,yo,wo,_o,xo,gn,So,Co,Eo,Do,Ki,Zi,Oo,ko,Mo,mn,Io,To,jo,Ao,At,Ro,zo,vn,Po,Fo,bn,No,Bo,yn;bo={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:e=>e},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},yo=["update:modelValue","change",...[...fn.manageAndEmit,...fn.emit].map(e=>e.toLowerCase())],Pn=Gi({name:"draggable",inheritAttrs:!1,props:bo,emits:yo,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:e,$attrs:n,tag:t,componentData:o,realList:r,getKey:i}=this,a=Hi({$slots:e,tag:t,realList:r,getKey:i});this.componentStructure=a;const l=Ni({$attrs:n,componentData:o});return a.render(po,l)}catch(e){return this.error=!0,po("pre",{style:{color:"red"}},e.stack)}},created(){this.list!==null&&this.modelValue!==null&&Mi.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:e,$el:n,componentStructure:t}=this;t.updated();const o=Bi({$attrs:e,callBackBuilder:{manageAndEmit:i=>qi.call(this,i),emit:i=>mo.bind(this,i),manage:i=>vo.call(this,i)}}),r=n.nodeType===1?n:n.parentElement;this._sortable=new y(r,o),this.targetDomElement=r,r.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:e}=this;return e||this.modelValue},getKey(){const{itemKey:e}=this;return typeof e=="function"?e:n=>n[e]}},watch:{$attrs:{handler(e){const{_sortable:n}=this;n&&uo(e).forEach(([t,o])=>{n.option(t,o)})},deep:!0}},methods:{getUnderlyingVm(e){return this.componentStructure.getUnderlyingVm(e)||null},getUnderlyingPotencialDraggableComponent(e){return e.__draggable_component__},emitChanges(e){go(()=>this.$emit("change",e))},alterList(e){if(this.list){e(this.list);return}const n=[...this.modelValue];e(n),this.$emit("update:modelValue",n)},spliceList(){const e=n=>n.splice(...arguments);this.alterList(e)},updatePosition(e,n){const t=o=>o.splice(n,0,o.splice(e,1)[0]);this.alterList(t)},getRelatedContextFromMoveEvent({to:e,related:n}){const t=this.getUnderlyingPotencialDraggableComponent(e);if(!t)return{component:t};const o=t.realList,r={list:o,component:t};return e!==n&&o?{...t.getUnderlyingVm(n)||{},...r}:r},getVmIndexFromDomIndex(e){return this.componentStructure.getVmIndexFromDomIndex(e,this.targetDomElement)},onDragStart(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),pn=e.item},onDragAdd(e){const n=e.item._underlying_vm_;if(n===void 0)return;hn(e.item);const t=this.getVmIndexFromDomIndex(e.newIndex);this.spliceList(t,0,n);const o={element:n,newIndex:t};this.emitChanges({added:o})},onDragRemove(e){if(ro(this.$el,e.item,e.oldIndex),e.pullMode==="clone"){hn(e.clone);return}const{index:n,element:t}=this.context;this.spliceList(n,1);const o={element:t,oldIndex:n};this.emitChanges({removed:o})},onDragUpdate(e){hn(e.item),ro(e.from,e.item,e.oldIndex);const n=this.context.index,t=this.getVmIndexFromDomIndex(e.newIndex);this.updatePosition(n,t);const o={element:this.context.element,oldIndex:n,newIndex:t};this.emitChanges({moved:o})},computeFutureIndex(e,n){if(!e.element)return 0;const t=[...n.to.children].filter(i=>i.style.display!=="none"),o=t.indexOf(n.related),r=e.component.getVmIndexFromDomIndex(o);return t.indexOf(pn)!==-1||!n.willInsertAfter?r:r+1},onDragMove(e,n){const{move:t,realList:o}=this;if(!t||!o)return!0;const r=this.getRelatedContextFromMoveEvent(e),i=this.computeFutureIndex(r,e),a={...this.context,futureIndex:i},l={...e,relatedContext:r,draggedContext:a};return t(l,n)},onDragEnd(){pn=null}}}),{defineComponent:wo}=await ne("vue"),{normalizeClass:_o,createElementVNode:xo,openBlock:gn,createBlock:So,createCommentVNode:Co,withModifiers:Eo,createElementBlock:Do,pushScopeId:Ki,popScopeId:Zi}=await ne("vue"),Oo=["checked","disabled","indeterminate"],{computed:ko}=await ne("vue"),Mo=wo({__name:"FmTableCheckbox",props:{checked:{type:Boolean},disabled:{type:Boolean},indeterminate:{type:Boolean},onChange:{type:Function}},setup(e){const n=e,t=ko(()=>n.indeterminate&&!n.checked?"remove":n.checked?"check_small":"");return(o,r)=>(gn(),Do("div",{class:"fm-checkbox__input--container",onClick:r[0]||(r[0]=Eo((...i)=>o.onChange&&o.onChange(...i),["stop"]))},[xo("input",{checked:o.checked,class:_o({"fm-checkbox__input--btn":!0,"fm-checkbox__input--btn--checked":o.checked}),disabled:o.disabled,indeterminate:o.indeterminate,type:"checkbox"},null,10,Oo),o.indeterminate||o.checked?(gn(),So(Qh,{key:0,name:t.value,class:"fm-checkbox__input--checkmark",color:"#FFFFFF",size:"md"},null,8,["name"])):Co("",!0)]))}}),mn=Qr(Mo,[["__scopeId","data-v-dbf1ded4"]]),{defineComponent:Io}=await ne("vue"),{createVNode:To,renderList:jo,Fragment:Ao,openBlock:At,createElementBlock:Ro,unref:zo,createBlock:vn,normalizeStyle:Po,createElementVNode:Fo,withCtx:bn}=await ne("vue"),No=["id"],{ref:Bo}=await ne("vue"),yn=Io({__name:"FmTableSelection",props:{modelValue:{},items:{}},emits:["update:modelValue"],setup(e){const n=Rn(e,"modelValue"),t=Bo(!1);return(o,r)=>(At(),vn(tf,{"max-height":264,shift:"",onMenuChanged:r[0]||(r[0]=i=>t.value=i)},{"menu-button":bn(()=>{var i;return[To(vt,{icon:t.value?"expand_less":"expand_more",label:(i=o.items.find(a=>a.value===o.modelValue))==null?void 0:i.label,"icon-position":"append",size:"md",variant:"tertiary"},null,8,["icon","label"])]}),"menu-wrapper":bn(({maxHeight:i})=>[Fo("div",{id:`menu-wrapper-${i}`,style:Po({maxHeight:`${i}px`}),class:"bg-fm-color-neutral-white flex flex-col overflow-y-auto px-4 py-12 rounded-md shadow-light-300 w-[75px]"},[(At(!0),Ro(Ao,null,jo(o.items,a=>(At(),vn(of,{key:a.value,label:a.label,"model-value":a.value===zo(n),value:a.value,"onUpdate:modelValue":l=>n.value=a.value},null,8,["label","model-value","value","onUpdate:modelValue"]))),128))],12,No)]),_:1}))}});function Qi(){this.__data__=[],this.size=0}var Ji=Qi;function ea(e,n){return e===n||e!==e&&n!==n}var Vo=ea,ta=Vo;function na(e,n){for(var t=e.length;t--;)if(ta(e[t][0],n))return t;return-1}var Rt=na,oa=Rt,ra=Array.prototype,ia=ra.splice;function aa(e){var n=this.__data__,t=oa(n,e);if(t<0)return!1;var o=n.length-1;return t==o?n.pop():ia.call(n,t,1),--this.size,!0}var la=aa,sa=Rt;function ca(e){var n=this.__data__,t=sa(n,e);return t<0?void 0:n[t][1]}var ua=ca,da=Rt;function ha(e){return da(this.__data__,e)>-1}var fa=ha,pa=Rt;function ga(e,n){var t=this.__data__,o=pa(t,e);return o<0?(++this.size,t.push([e,n])):t[o][1]=n,this}var ma=ga,va=Ji,ba=la,ya=ua,wa=fa,_a=ma;function Xe(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var o=e[n];this.set(o[0],o[1])}}Xe.prototype.clear=va,Xe.prototype.delete=ba,Xe.prototype.get=ya,Xe.prototype.has=wa,Xe.prototype.set=_a;var zt=Xe,xa=zt;function Sa(){this.__data__=new xa,this.size=0}var Ca=Sa;function Ea(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}var Da=Ea;function Oa(e){return this.__data__.get(e)}var ka=Oa;function Ma(e){return this.__data__.has(e)}var Ia=Ma,Ta=typeof Gt=="object"&&Gt&&Gt.Object===Object&&Gt,Lo=Ta,ja=Lo,Aa=typeof self=="object"&&self&&self.Object===Object&&self,Ra=ja||Aa||Function("return this")(),be=Ra,za=be,Pa=za.Symbol,wn=Pa,Wo=wn,$o=Object.prototype,Fa=$o.hasOwnProperty,Na=$o.toString,ht=Wo?Wo.toStringTag:void 0;function Ba(e){var n=Fa.call(e,ht),t=e[ht];try{e[ht]=void 0;var o=!0}catch{}var r=Na.call(e);return o&&(n?e[ht]=t:delete e[ht]),r}var Va=Ba,La=Object.prototype,Wa=La.toString;function $a(e){return Wa.call(e)}var Xa=$a,Xo=wn,Ua=Va,Ya=Xa,Ha="[object Null]",Ga="[object Undefined]",Uo=Xo?Xo.toStringTag:void 0;function qa(e){return e==null?e===void 0?Ga:Ha:Uo&&Uo in Object(e)?Ua(e):Ya(e)}var Pt=qa;function Ka(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}var Yo=Ka,Za=Pt,Qa=Yo,Ja="[object AsyncFunction]",el="[object Function]",tl="[object GeneratorFunction]",nl="[object Proxy]";function ol(e){if(!Qa(e))return!1;var n=Za(e);return n==el||n==tl||n==Ja||n==nl}var Ho=ol,rl=be,il=rl["__core-js_shared__"],al=il,_n=al,Go=function(){var e=/[^.]+$/.exec(_n&&_n.keys&&_n.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function ll(e){return!!Go&&Go in e}var sl=ll,cl=Function.prototype,ul=cl.toString;function dl(e){if(e!=null){try{return ul.call(e)}catch{}try{return e+""}catch{}}return""}var qo=dl,hl=Ho,fl=sl,pl=Yo,gl=qo,ml=/[\\^$.*+?()[\]{}|]/g,vl=/^\[object .+?Constructor\]$/,bl=Function.prototype,yl=Object.prototype,wl=bl.toString,_l=yl.hasOwnProperty,xl=RegExp("^"+wl.call(_l).replace(ml,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Sl(e){if(!pl(e)||fl(e))return!1;var n=hl(e)?xl:vl;return n.test(gl(e))}var Cl=Sl;function El(e,n){return e==null?void 0:e[n]}var Dl=El,Ol=Cl,kl=Dl;function Ml(e,n){var t=kl(e,n);return Ol(t)?t:void 0}var Ue=Ml,Il=Ue,Tl=be,jl=Il(Tl,"Map"),xn=jl,Al=Ue,Rl=Al(Object,"create"),Ft=Rl,Ko=Ft;function zl(){this.__data__=Ko?Ko(null):{},this.size=0}var Pl=zl;function Fl(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}var Nl=Fl,Bl=Ft,Vl="__lodash_hash_undefined__",Ll=Object.prototype,Wl=Ll.hasOwnProperty;function $l(e){var n=this.__data__;if(Bl){var t=n[e];return t===Vl?void 0:t}return Wl.call(n,e)?n[e]:void 0}var Xl=$l,Ul=Ft,Yl=Object.prototype,Hl=Yl.hasOwnProperty;function Gl(e){var n=this.__data__;return Ul?n[e]!==void 0:Hl.call(n,e)}var ql=Gl,Kl=Ft,Zl="__lodash_hash_undefined__";function Ql(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=Kl&&n===void 0?Zl:n,this}var Jl=Ql,es=Pl,ts=Nl,ns=Xl,os=ql,rs=Jl;function Ye(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var o=e[n];this.set(o[0],o[1])}}Ye.prototype.clear=es,Ye.prototype.delete=ts,Ye.prototype.get=ns,Ye.prototype.has=os,Ye.prototype.set=rs;var is=Ye,Zo=is,as=zt,ls=xn;function ss(){this.size=0,this.__data__={hash:new Zo,map:new(ls||as),string:new Zo}}var cs=ss;function us(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}var ds=us,hs=ds;function fs(e,n){var t=e.__data__;return hs(n)?t[typeof n=="string"?"string":"hash"]:t.map}var Nt=fs,ps=Nt;function gs(e){var n=ps(this,e).delete(e);return this.size-=n?1:0,n}var ms=gs,vs=Nt;function bs(e){return vs(this,e).get(e)}var ys=bs,ws=Nt;function _s(e){return ws(this,e).has(e)}var xs=_s,Ss=Nt;function Cs(e,n){var t=Ss(this,e),o=t.size;return t.set(e,n),this.size+=t.size==o?0:1,this}var Es=Cs,Ds=cs,Os=ms,ks=ys,Ms=xs,Is=Es;function He(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var o=e[n];this.set(o[0],o[1])}}He.prototype.clear=Ds,He.prototype.delete=Os,He.prototype.get=ks,He.prototype.has=Ms,He.prototype.set=Is;var Qo=He,Ts=zt,js=xn,As=Qo,Rs=200;function zs(e,n){var t=this.__data__;if(t instanceof Ts){var o=t.__data__;if(!js||o.length<Rs-1)return o.push([e,n]),this.size=++t.size,this;t=this.__data__=new As(o)}return t.set(e,n),this.size=t.size,this}var Ps=zs,Fs=zt,Ns=Ca,Bs=Da,Vs=ka,Ls=Ia,Ws=Ps;function Ge(e){var n=this.__data__=new Fs(e);this.size=n.size}Ge.prototype.clear=Ns,Ge.prototype.delete=Bs,Ge.prototype.get=Vs,Ge.prototype.has=Ls,Ge.prototype.set=Ws;var $s=Ge,Xs="__lodash_hash_undefined__";function Us(e){return this.__data__.set(e,Xs),this}var Ys=Us;function Hs(e){return this.__data__.has(e)}var Gs=Hs,qs=Qo,Ks=Ys,Zs=Gs;function Bt(e){var n=-1,t=e==null?0:e.length;for(this.__data__=new qs;++n<t;)this.add(e[n])}Bt.prototype.add=Bt.prototype.push=Ks,Bt.prototype.has=Zs;var Qs=Bt;function Js(e,n){for(var t=-1,o=e==null?0:e.length;++t<o;)if(n(e[t],t,e))return!0;return!1}var ec=Js;function tc(e,n){return e.has(n)}var nc=tc,oc=Qs,rc=ec,ic=nc,ac=1,lc=2;function sc(e,n,t,o,r,i){var a=t&ac,l=e.length,s=n.length;if(l!=s&&!(a&&s>l))return!1;var u=i.get(e),h=i.get(n);if(u&&h)return u==n&&h==e;var d=-1,m=!0,p=t&lc?new oc:void 0;for(i.set(e,n),i.set(n,e);++d<l;){var S=e[d],v=n[d];if(o)var M=a?o(v,S,d,n,e,i):o(S,v,d,e,n,i);if(M!==void 0){if(M)continue;m=!1;break}if(p){if(!rc(n,function(O,A){if(!ic(p,A)&&(S===O||r(S,O,t,o,i)))return p.push(A)})){m=!1;break}}else if(!(S===v||r(S,v,t,o,i))){m=!1;break}}return i.delete(e),i.delete(n),m}var Jo=sc,cc=be,uc=cc.Uint8Array,dc=uc;function hc(e){var n=-1,t=Array(e.size);return e.forEach(function(o,r){t[++n]=[r,o]}),t}var fc=hc;function pc(e){var n=-1,t=Array(e.size);return e.forEach(function(o){t[++n]=o}),t}var gc=pc,er=wn,tr=dc,mc=Vo,vc=Jo,bc=fc,yc=gc,wc=1,_c=2,xc="[object Boolean]",Sc="[object Date]",Cc="[object Error]",Ec="[object Map]",Dc="[object Number]",Oc="[object RegExp]",kc="[object Set]",Mc="[object String]",Ic="[object Symbol]",Tc="[object ArrayBuffer]",jc="[object DataView]",nr=er?er.prototype:void 0,Sn=nr?nr.valueOf:void 0;function Ac(e,n,t,o,r,i,a){switch(t){case jc:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case Tc:return!(e.byteLength!=n.byteLength||!i(new tr(e),new tr(n)));case xc:case Sc:case Dc:return mc(+e,+n);case Cc:return e.name==n.name&&e.message==n.message;case Oc:case Mc:return e==n+"";case Ec:var l=bc;case kc:var s=o&wc;if(l||(l=yc),e.size!=n.size&&!s)return!1;var u=a.get(e);if(u)return u==n;o|=_c,a.set(e,n);var h=vc(l(e),l(n),o,r,i,a);return a.delete(e),h;case Ic:if(Sn)return Sn.call(e)==Sn.call(n)}return!1}var Rc=Ac;function zc(e,n){for(var t=-1,o=n.length,r=e.length;++t<o;)e[r+t]=n[t];return e}var Pc=zc,Fc=Array.isArray,Cn=Fc,Nc=Pc,Bc=Cn;function Vc(e,n,t){var o=n(e);return Bc(e)?o:Nc(o,t(e))}var Lc=Vc;function Wc(e,n){for(var t=-1,o=e==null?0:e.length,r=0,i=[];++t<o;){var a=e[t];n(a,t,e)&&(i[r++]=a)}return i}var $c=Wc;function Xc(){return[]}var Uc=Xc,Yc=$c,Hc=Uc,Gc=Object.prototype,qc=Gc.propertyIsEnumerable,or=Object.getOwnPropertySymbols,Kc=or?function(e){return e==null?[]:(e=Object(e),Yc(or(e),function(n){return qc.call(e,n)}))}:Hc,Zc=Kc;function Qc(e,n){for(var t=-1,o=Array(e);++t<e;)o[t]=n(t);return o}var Jc=Qc;function eu(e){return e!=null&&typeof e=="object"}var Vt=eu,tu=Pt,nu=Vt,ou="[object Arguments]";function ru(e){return nu(e)&&tu(e)==ou}var iu=ru,rr=iu,au=Vt,ir=Object.prototype,lu=ir.hasOwnProperty,su=ir.propertyIsEnumerable,cu=rr(function(){return arguments}())?rr:function(e){return au(e)&&lu.call(e,"callee")&&!su.call(e,"callee")},uu=cu,Lt={exports:{}};function du(){return!1}var hu=du;Lt.exports,function(e,n){var t=be,o=hu,r=n&&!n.nodeType&&n,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,l=a?t.Buffer:void 0,s=l?l.isBuffer:void 0,u=s||o;e.exports=u}(Lt,Lt.exports);var ar=Lt.exports,fu=9007199254740991,pu=/^(?:0|[1-9]\d*)$/;function gu(e,n){var t=typeof e;return n=n??fu,!!n&&(t=="number"||t!="symbol"&&pu.test(e))&&e>-1&&e%1==0&&e<n}var mu=gu,vu=9007199254740991;function bu(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=vu}var lr=bu,yu=Pt,wu=lr,_u=Vt,xu="[object Arguments]",Su="[object Array]",Cu="[object Boolean]",Eu="[object Date]",Du="[object Error]",Ou="[object Function]",ku="[object Map]",Mu="[object Number]",Iu="[object Object]",Tu="[object RegExp]",ju="[object Set]",Au="[object String]",Ru="[object WeakMap]",zu="[object ArrayBuffer]",Pu="[object DataView]",Fu="[object Float32Array]",Nu="[object Float64Array]",Bu="[object Int8Array]",Vu="[object Int16Array]",Lu="[object Int32Array]",Wu="[object Uint8Array]",$u="[object Uint8ClampedArray]",Xu="[object Uint16Array]",Uu="[object Uint32Array]",T={};T[Fu]=T[Nu]=T[Bu]=T[Vu]=T[Lu]=T[Wu]=T[$u]=T[Xu]=T[Uu]=!0,T[xu]=T[Su]=T[zu]=T[Cu]=T[Pu]=T[Eu]=T[Du]=T[Ou]=T[ku]=T[Mu]=T[Iu]=T[Tu]=T[ju]=T[Au]=T[Ru]=!1;function Yu(e){return _u(e)&&wu(e.length)&&!!T[yu(e)]}var Hu=Yu;function Gu(e){return function(n){return e(n)}}var qu=Gu,Wt={exports:{}};Wt.exports,function(e,n){var t=Lo,o=n&&!n.nodeType&&n,r=o&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===o,a=i&&t.process,l=function(){try{var s=r&&r.require&&r.require("util").types;return s||a&&a.binding&&a.binding("util")}catch{}}();e.exports=l}(Wt,Wt.exports);var Ku=Wt.exports,Zu=Hu,Qu=qu,sr=Ku,cr=sr&&sr.isTypedArray,Ju=cr?Qu(cr):Zu,ur=Ju,ed=Jc,td=uu,nd=Cn,od=ar,rd=mu,id=ur,ad=Object.prototype,ld=ad.hasOwnProperty;function sd(e,n){var t=nd(e),o=!t&&td(e),r=!t&&!o&&od(e),i=!t&&!o&&!r&&id(e),a=t||o||r||i,l=a?ed(e.length,String):[],s=l.length;for(var u in e)(n||ld.call(e,u))&&!(a&&(u=="length"||r&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||rd(u,s)))&&l.push(u);return l}var cd=sd,ud=Object.prototype;function dd(e){var n=e&&e.constructor,t=typeof n=="function"&&n.prototype||ud;return e===t}var hd=dd;function fd(e,n){return function(t){return e(n(t))}}var pd=fd,gd=pd,md=gd(Object.keys,Object),vd=md,bd=hd,yd=vd,wd=Object.prototype,_d=wd.hasOwnProperty;function xd(e){if(!bd(e))return yd(e);var n=[];for(var t in Object(e))_d.call(e,t)&&t!="constructor"&&n.push(t);return n}var Sd=xd,Cd=Ho,Ed=lr;function Dd(e){return e!=null&&Ed(e.length)&&!Cd(e)}var Od=Dd,kd=cd,Md=Sd,Id=Od;function Td(e){return Id(e)?kd(e):Md(e)}var jd=Td,Ad=Lc,Rd=Zc,zd=jd;function Pd(e){return Ad(e,zd,Rd)}var Fd=Pd,dr=Fd,Nd=1,Bd=Object.prototype,Vd=Bd.hasOwnProperty;function Ld(e,n,t,o,r,i){var a=t&Nd,l=dr(e),s=l.length,u=dr(n),h=u.length;if(s!=h&&!a)return!1;for(var d=s;d--;){var m=l[d];if(!(a?m in n:Vd.call(n,m)))return!1}var p=i.get(e),S=i.get(n);if(p&&S)return p==n&&S==e;var v=!0;i.set(e,n),i.set(n,e);for(var M=a;++d<s;){m=l[d];var O=e[m],A=n[m];if(o)var V=a?o(A,O,m,n,e,i):o(O,A,m,e,n,i);if(!(V===void 0?O===A||r(O,A,t,o,i):V)){v=!1;break}M||(M=m=="constructor")}if(v&&!M){var F=e.constructor,X=n.constructor;F!=X&&"constructor"in e&&"constructor"in n&&!(typeof F=="function"&&F instanceof F&&typeof X=="function"&&X instanceof X)&&(v=!1)}return i.delete(e),i.delete(n),v}var Wd=Ld,$d=Ue,Xd=be,Ud=$d(Xd,"DataView"),Yd=Ud,Hd=Ue,Gd=be,qd=Hd(Gd,"Promise"),Kd=qd,Zd=Ue,Qd=be,Jd=Zd(Qd,"Set"),eh=Jd,th=Ue,nh=be,oh=th(nh,"WeakMap"),rh=oh,En=Yd,Dn=xn,On=Kd,kn=eh,Mn=rh,hr=Pt,qe=qo,fr="[object Map]",ih="[object Object]",pr="[object Promise]",gr="[object Set]",mr="[object WeakMap]",vr="[object DataView]",ah=qe(En),lh=qe(Dn),sh=qe(On),ch=qe(kn),uh=qe(Mn),ze=hr;(En&&ze(new En(new ArrayBuffer(1)))!=vr||Dn&&ze(new Dn)!=fr||On&&ze(On.resolve())!=pr||kn&&ze(new kn)!=gr||Mn&&ze(new Mn)!=mr)&&(ze=function(e){var n=hr(e),t=n==ih?e.constructor:void 0,o=t?qe(t):"";if(o)switch(o){case ah:return vr;case lh:return fr;case sh:return pr;case ch:return gr;case uh:return mr}return n});var dh=ze,In=$s,hh=Jo,fh=Rc,ph=Wd,br=dh,yr=Cn,wr=ar,gh=ur,mh=1,_r="[object Arguments]",xr="[object Array]",$t="[object Object]",vh=Object.prototype,Sr=vh.hasOwnProperty;function bh(e,n,t,o,r,i){var a=yr(e),l=yr(n),s=a?xr:br(e),u=l?xr:br(n);s=s==_r?$t:s,u=u==_r?$t:u;var h=s==$t,d=u==$t,m=s==u;if(m&&wr(e)){if(!wr(n))return!1;a=!0,h=!1}if(m&&!h)return i||(i=new In),a||gh(e)?hh(e,n,t,o,r,i):fh(e,n,s,t,o,r,i);if(!(t&mh)){var p=h&&Sr.call(e,"__wrapped__"),S=d&&Sr.call(n,"__wrapped__");if(p||S){var v=p?e.value():e,M=S?n.value():n;return i||(i=new In),r(v,M,t,o,i)}}return m?(i||(i=new In),ph(e,n,t,o,r,i)):!1}var yh=bh,wh=yh,Cr=Vt;function Er(e,n,t,o,r){return e===n?!0:e==null||n==null||!Cr(e)&&!Cr(n)?e!==e&&n!==n:wh(e,n,t,o,Er,r)}var _h=Er,xh=_h;function Sh(e,n){return xh(e,n)}var Ch=Sh;const Eh=ff(Ch);function Ke(e,n,t){let o=t.initialDeps??[],r;return()=>{var i,a,l,s;let u;t.key&&(i=t.debug)!=null&&i.call(t)&&(u=Date.now());const h=e();if(!(h.length!==o.length||h.some((m,p)=>o[p]!==m)))return r;o=h;let d;if(t.key&&(a=t.debug)!=null&&a.call(t)&&(d=Date.now()),r=n(...h),t.key&&(l=t.debug)!=null&&l.call(t)){const m=Math.round((Date.now()-u)*100)/100,p=Math.round((Date.now()-d)*100)/100,S=p/16,v=(M,O)=>{for(M=String(M);M.length<O;)M=" "+M;return M};console.info(`%c\u23F1 ${v(p,5)} /${v(m,5)} ms`,`
|
|
2
|
+
font-size: .6rem;
|
|
3
|
+
font-weight: bold;
|
|
4
|
+
color: hsl(${Math.max(0,Math.min(120-120*S,120))}deg 100% 31%);`,t==null?void 0:t.key)}return(s=t==null?void 0:t.onChange)==null||s.call(t,r),r}}function Tn(e,n){if(e===void 0)throw new Error("Unexpected undefined");return e}const Dh=(e,n)=>Math.abs(e-n)<1,Oh=(e,n,t)=>{let o;return function(...r){e.clearTimeout(o),o=e.setTimeout(()=>n.apply(this,r),t)}},kh=e=>e,Mh=e=>{const n=Math.max(e.startIndex-e.overscan,0),t=Math.min(e.endIndex+e.overscan,e.count-1),o=[];for(let r=n;r<=t;r++)o.push(r);return o},Ih=(e,n)=>{const t=e.scrollElement;if(!t)return;const o=e.targetWindow;if(!o)return;const r=a=>{const{width:l,height:s}=a;n({width:Math.round(l),height:Math.round(s)})};if(r(t.getBoundingClientRect()),!o.ResizeObserver)return()=>{};const i=new o.ResizeObserver(a=>{const l=()=>{const s=a[0];if(s!=null&&s.borderBoxSize){const u=s.borderBoxSize[0];if(u){r({width:u.inlineSize,height:u.blockSize});return}}r(t.getBoundingClientRect())};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(l):l()});return i.observe(t,{box:"border-box"}),()=>{i.unobserve(t)}},Dr={passive:!0},Or=typeof window>"u"?!0:"onscrollend"in window,Th=(e,n)=>{const t=e.scrollElement;if(!t)return;const o=e.targetWindow;if(!o)return;let r=0;const i=e.options.useScrollendEvent&&Or?()=>{}:Oh(o,()=>{n(r,!1)},e.options.isScrollingResetDelay),a=h=>()=>{const{horizontal:d,isRtl:m}=e.options;r=d?t.scrollLeft*(m&&-1||1):t.scrollTop,i(),n(r,h)},l=a(!0),s=a(!1);s(),t.addEventListener("scroll",l,Dr);const u=e.options.useScrollendEvent&⩔return u&&t.addEventListener("scrollend",s,Dr),()=>{t.removeEventListener("scroll",l),u&&t.removeEventListener("scrollend",s)}},jh=(e,n,t)=>{if(n!=null&&n.borderBoxSize){const o=n.borderBoxSize[0];if(o)return Math.round(o[t.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[t.options.horizontal?"width":"height"])},Ah=(e,{adjustments:n=0,behavior:t},o)=>{var r,i;const a=e+n;(i=(r=o.scrollElement)==null?void 0:r.scrollTo)==null||i.call(r,{[o.options.horizontal?"left":"top"]:a,behavior:t})};class Rh{constructor(n){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null;const o=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(r=>{r.forEach(i=>{const a=()=>{this._measureElement(i.target,i)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(a):a()})}));return{disconnect:()=>{var r;(r=o())==null||r.disconnect(),t=null},observe:r=>{var i;return(i=o())==null?void 0:i.observe(r,{box:"border-box"})},unobserve:r=>{var i;return(i=o())==null?void 0:i.unobserve(r)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([o,r])=>{typeof r>"u"&&delete t[o]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:kh,rangeExtractor:Mh,onChange:()=>{},measureElement:jh,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,useAnimationFrameWithResizeObserver:!1,...t}},this.notify=t=>{var o,r;(r=(o=this.options).onChange)==null||r.call(o,this,t)},this.maybeNotify=Ke(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var t;const o=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==o){if(this.cleanup(),!o){this.maybeNotify();return}this.scrollElement=o,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((t=this.scrollElement)==null?void 0:t.window)??null,this.elementsCache.forEach(r=>{this.observer.observe(r)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,r=>{this.scrollRect=r,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(r,i)=>{this.scrollAdjustments=0,this.scrollDirection=i?this.getScrollOffset()<r?"forward":"backward":null,this.scrollOffset=r,this.isScrolling=i,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(t,o)=>{const r=new Map,i=new Map;for(let a=o-1;a>=0;a--){const l=t[a];if(r.has(l.lane))continue;const s=i.get(l.lane);if(s==null||l.end>s.end?i.set(l.lane,l):l.end<s.end&&r.set(l.lane,!0),r.size===this.options.lanes)break}return i.size===this.options.lanes?Array.from(i.values()).sort((a,l)=>a.end===l.end?a.index-l.index:a.end-l.end)[0]:void 0},this.getMeasurementOptions=Ke(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,o,r,i,a)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:o,scrollMargin:r,getItemKey:i,enabled:a}),{key:!1}),this.getMeasurements=Ke(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:o,scrollMargin:r,getItemKey:i,enabled:a},l)=>{if(!a)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(h=>{this.itemSizeCache.set(h.key,h.size)}));const s=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const u=this.measurementsCache.slice(0,s);for(let h=s;h<t;h++){const d=i(h),m=this.options.lanes===1?u[h-1]:this.getFurthestMeasurement(u,h),p=m?m.end+this.options.gap:o+r,S=l.get(d),v=typeof S=="number"?S:this.options.estimateSize(h),M=p+v,O=m?m.lane:h%this.options.lanes;u[h]={index:h,start:p,size:v,end:M,key:d,lane:O}}return this.measurementsCache=u,u},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Ke(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(t,o,r)=>this.range=t.length>0&&o>0?zh({measurements:t,outerSize:o,scrollOffset:r}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=Ke(()=>{let t=null,o=null;const r=this.calculateRange();return r&&(t=r.startIndex,o=r.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,o]},(t,o,r,i,a)=>i===null||a===null?[]:t({startIndex:i,endIndex:a,overscan:o,count:r}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{const o=this.options.indexAttribute,r=t.getAttribute(o);return r?parseInt(r,10):(console.warn(`Missing attribute name '${o}={index}' on measured element.`),-1)},this._measureElement=(t,o)=>{const r=this.indexFromElement(t),i=this.measurementsCache[r];if(!i)return;const a=i.key,l=this.elementsCache.get(a);l!==t&&(l&&this.observer.unobserve(l),this.observer.observe(t),this.elementsCache.set(a,t)),t.isConnected&&this.resizeItem(r,this.options.measureElement(t,o,this))},this.resizeItem=(t,o)=>{const r=this.measurementsCache[t];if(!r)return;const i=this.itemSizeCache.get(r.key)??r.size,a=o-i;a!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(r,a,this):r.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=a,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(r.index),this.itemSizeCache=new Map(this.itemSizeCache.set(r.key,o)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((o,r)=>{o.isConnected||(this.observer.unobserve(o),this.elementsCache.delete(r))});return}this._measureElement(t,void 0)},this.getVirtualItems=Ke(()=>[this.getVirtualIndexes(),this.getMeasurements()],(t,o)=>{const r=[];for(let i=0,a=t.length;i<a;i++){const l=t[i],s=o[l];r.push(s)}return r},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{const o=this.getMeasurements();if(o.length!==0)return Tn(o[kr(0,o.length-1,r=>Tn(o[r]).start,t)])},this.getOffsetForAlignment=(t,o)=>{const r=this.getSize(),i=this.getScrollOffset();o==="auto"&&t>=i+r&&(o="end"),o==="end"&&(t-=r);const a=this.options.horizontal?"scrollWidth":"scrollHeight",l=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[a]:this.scrollElement[a]:0)-r;return Math.max(Math.min(l,t),0)},this.getOffsetForIndex=(t,o="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));const r=this.measurementsCache[t];if(!r)return;const i=this.getSize(),a=this.getScrollOffset();if(o==="auto")if(r.end>=a+i-this.options.scrollPaddingEnd)o="end";else if(r.start<=a+this.options.scrollPaddingStart)o="start";else return[a,o];const l=r.start-this.options.scrollPaddingStart+(r.size-i)/2;switch(o){case"center":return[this.getOffsetForAlignment(l,o),o];case"end":return[this.getOffsetForAlignment(r.end+this.options.scrollPaddingEnd,o),o];default:return[this.getOffsetForAlignment(r.start-this.options.scrollPaddingStart,o),o]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(t,{align:o="start",behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,o),{adjustments:void 0,behavior:r})},this.scrollToIndex=(t,{align:o="auto",behavior:r}={})=>{t=Math.max(0,Math.min(t,this.options.count-1)),this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const i=this.getOffsetForIndex(t,o);if(!i)return;const[a,l]=i;this._scrollToOffset(a,{adjustments:void 0,behavior:r}),r!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(t))){const[s]=Tn(this.getOffsetForIndex(t,l));Dh(s,this.getScrollOffset())||this.scrollToIndex(t,{align:l,behavior:r})}else this.scrollToIndex(t,{align:l,behavior:r})}))},this.scrollBy=(t,{behavior:o}={})=>{this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:o})},this.getTotalSize=()=>{var t;const o=this.getMeasurements();let r;return o.length===0?r=this.options.paddingStart:r=this.options.lanes===1?((t=o[o.length-1])==null?void 0:t.end)??0:Math.max(...o.slice(-this.options.lanes).map(i=>i.end)),Math.max(r-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:o,behavior:r})=>{this.options.scrollToFn(t,{behavior:r,adjustments:o},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(n)}}const kr=(e,n,t,o)=>{for(;e<=n;){const r=(e+n)/2|0,i=t(r);if(i<o)e=r+1;else if(i>o)n=r-1;else return r}return e>0?e-1:0};function zh({measurements:e,outerSize:n,scrollOffset:t}){const o=e.length-1,r=kr(0,o,a=>e[a].start,t);let i=r;for(;i<o&&e[i].end<t+n;)i++;return{startIndex:r,endIndex:i}}const{computed:Ph,unref:Xt,shallowRef:Fh,watch:Mr,triggerRef:Ir,onScopeDispose:Nh}=await ne("vue");function Bh(e){const n=new Rh(Xt(e)),t=Fh(n),o=n._didMount();return Mr(()=>Xt(e).getScrollElement(),r=>{r&&n._willUpdate()},{immediate:!0}),Mr(()=>Xt(e),r=>{n.setOptions({...r,onChange:(i,a)=>{var l;Ir(t),(l=r.onChange)==null||l.call(r,i,a)}}),n._willUpdate(),Ir(t)},{immediate:!0}),Nh(o),t}function Vh(e){return Bh(Ph(()=>({observeElementRect:Ih,observeElementOffset:Th,scrollToFn:Ah,...Xt(e)})))}let ft,Tr,G,Ze,C,Qe,P,ke,I,N,Pe,Je,ye,jn,Z,An,pt,et,jr,Lh,Wh,Ar,Rr,zr,Pr,Fr,Nr,Br,Vr,Lr,Wr,$r,Xr,Ur,Yr,Hr,Gr,Ut,gt,qr,re,se,Kr;({createVNode:ft}=await ne("vue")),{defineComponent:Tr}=await ne("vue"),{createVNode:G,renderSlot:Ze,unref:C,toDisplayString:Qe,createElementVNode:P,normalizeStyle:ke,openBlock:I,createElementBlock:N,createCommentVNode:Pe,renderList:Je,Fragment:ye,mergeProps:jn,normalizeClass:Z,resolveComponent:An,withCtx:pt,createBlock:et,normalizeProps:jr,pushScopeId:Lh,popScopeId:Wh}=await ne("vue"),Ar={class:"-translate-x-1/2 -translate-y-1/2 absolute flex flex-col gap-16 left-1/2 top-1/2"},Rr={class:"text-fm-color-typo-secondary"},zr=["onClick"],Pr={key:0},Fr={key:0,class:"w-full"},Nr={class:"-translate-x-1/2 -translate-y-1/2 absolute flex flex-col gap-16 left-1/2 top-1/2"},Br={class:"text-fm-color-typo-secondary"},Vr=["onClick"],Lr=["colspan"],Wr={key:1,class:"virtual-table-container w-full"},$r={class:"sticky top-0 z-10 w-full"},Xr={class:"w-full"},Ur=["onClick"],Yr={class:"flex gap-8 items-center"},Hr={class:"fm-typo-en-body-lg-400 text-fm-color-typo-primary"},Gr={class:"flex gap-8"},{computed:Ut,h:gt,onMounted:qr,ref:re,watch:se}=await ne("vue"),Kr=Tr({__name:"FmTable",props:{modelValue:{default:{}},selection:{default:void 0},rowData:{default:()=>[]},columnDefs:{default:()=>[]},columnFilter:{default:void 0},searchValue:{default:""},pageCount:{default:0},rowCount:{default:void 0},fetchFn:{type:Function,default:void 0},pageSize:{default:10},loading:{type:Boolean,default:void 0},pinHeaderRow:{type:Boolean,default:!0},hideHeaderRow:{type:Boolean},rowClassName:{},onRowClick:{type:Function,default:void 0},autoResetPageIndex:{type:Boolean},shrinkAt:{type:[String,Number,Boolean],default:"sm"},hideFooter:{type:Boolean},forceMobileFooter:{type:Boolean},columnVisibility:{},draggable:{type:[Boolean,Function]},wholeRowDraggable:{type:Boolean},expandedState:{type:[Boolean,Object]},getRowCanExpand:{type:Function,default:()=>!0},getSubRow:{type:Function,default:e=>e.subRows},onVuedraggableMove:{type:Function,default:()=>!0},virtual:{type:Boolean,default:!1},virtualRowHeight:{default:48}},emits:["sort-change","dnd-changed","update:expanded-state","update:dragging"],setup(e,{emit:n}){const t=e,o=n;if(t.virtual&&t.draggable)throw new Error("Cannot use virtual scroll and draggable at the same time");const r=Rn(t,"modelValue"),i=Rn(t,"searchValue"),a=re(t.rowData),l=re(!1);se(()=>l.value,c=>{o("update:dragging",c),c&&o("update:expanded-state",{})});const s=()=>{let c=[];t.selection&&c.push({id:"row-selection",header:({table:w})=>ft(mn,{checked:w.getIsAllPageRowsSelected(),indeterminate:w.getIsSomePageRowsSelected(),onChange:w.getToggleAllPageRowsSelectedHandler()},null),cell:({row:w})=>w.depth===0?ft(mn,{checked:w==null?void 0:w.getIsSelected(),disabled:!(w!=null&&w.getCanSelect()),onChange:w==null?void 0:w.getToggleSelectedHandler()},null):ft("div",null,null),enableResizing:!1,meta:{headerClass:"py-[2px] pl-4 pr-16",cellClass:"pl-4 pr-16",width:"60px"},size:60});const g=t.draggable;return g&&!t.wholeRowDraggable&&c.push({id:"row-drag",header:"",cell:({row:w})=>(typeof g=="function"?g(w.original,w.index):g)&&w.depth===0?gt("div",{class:["w-full flex",t.selection?"justify-end":"justify-start"]},gt(vt,{prependIcon:"drag_handle",variant:"tertiary",class:"cursor-move",type:"button",onMousedown:()=>{l.value=!0},onMouseup:()=>{l.value=!1}})):typeof g=="function"?gt("div",{class:["w-full flex",t.selection?"justify-end":"justify-start"]},gt(vt,{prependIcon:"drag_handle",variant:"tertiary",class:"cursor-move",type:"button",disabled:!0})):ft("div",null,null),enableResizing:!1,meta:{cellClass:"dnd-handler",width:"60px"},size:60}),[...c,...t.columnDefs]},u=re([]);se(()=>u.value,c=>{o("sort-change",c)}),se(()=>t.rowData,c=>{a.value=[...c]},{deep:!0});const h=re({pageIndex:0,pageSize:t.pageSize}),d=Uh({get enableRowSelection(){return!!t.selection},get enableMultiRowSelection(){return t.selection==="multiple"},get columns(){return s()},get data(){return a.value},state:{get pagination(){return typeof t.fetchFn=="function"?h.value:void 0},get globalFilter(){return i.value},get rowSelection(){return r.value},get sorting(){return u.value},get columnVisibility(){return t.columnVisibility},get expanded(){return t.expandedState}},getCoreRowModel:Yh(),getSortedRowModel:Hh(),getFilteredRowModel:Gh(),getPaginationRowModel:qh(),getRowCanExpand:t.getRowCanExpand,onExpandedChange:c=>{if(!t.expandedState)return;const g=typeof c=="function"?c(t.expandedState):c;o("update:expanded-state",g)},onRowSelectionChange:c=>{if(!v.value)return r.value=typeof c=="function"?c(r.value):c},onSortingChange:c=>{u.value=typeof c=="function"?c(u.value):c},onGlobalFilterChange:c=>{i.value=typeof c=="function"?c(i.value):c},autoResetPageIndex:t.autoResetPageIndex,manualPagination:typeof t.fetchFn=="function",...typeof t.fetchFn=="function"&&{onPaginationChange:c=>h.value=typeof c=="function"?c(h.value):c},pageCount:typeof t.fetchFn=="function"?t.pageCount:void 0,getSubRows:c=>t.getSubRow(c),getExpandedRowModel:Kh(),get enableHiding(){return!0}});se(()=>h.value,c=>{S(c)}),se(()=>t.selection,()=>{d.setOptions(c=>({...c,get enableRowSelection(){return!!t.selection},get enableMultiRowSelection(){return t.selection==="multiple"},get columns(){return s()}}))});const m=re(""),p=re(!1);async function S(c){if(!t.fetchFn)return;p.value=!0;const g=`${Math.random()}`;m.value=g;try{await t.fetchFn(c)}catch{}finally{m.value===g&&(p.value=!1)}}const v=Ut(()=>{const c=p.value;return typeof t.loading=="boolean"?t.loading:c});se(()=>t.rowData,()=>{d.setOptions(c=>({...c,get data(){return a.value}}))}),se([()=>t.pageCount,()=>t.rowCount],()=>{d.setOptions(c=>({...c,pageCount:t.pageCount,rowCount:t.rowCount}))}),se(()=>t.pageSize,()=>{d.setPageSize(t.pageSize)}),se([()=>t.columnFilter],([c])=>{d.setColumnFilters(()=>c??[])}),se(()=>t.columnDefs,()=>{d.setOptions(c=>({...c,get columns(){return s()}}))}),qr(()=>{t.fetchFn&&t.fetchFn(d.getState().pagination),d.setPageSize(t.pageSize)});const M=re(380);function O(c){var w;const g=((w=c.el)==null?void 0:w.scrollHeight)??0;M.value=Math.max(100,g)}const A=sf(),V=re(),F=re(typeof t.shrinkAt=="boolean"&&!t.shrinkAt?!1:A.isBreakpointKeyword(t.shrinkAt)&&A.isAtMost(t.shrinkAt)),X=Ut(()=>{const c=[...Array.from(Array(Math.min(5,Math.floor(t.rowData.length/10))),(w,W)=>(W+1)*10).map(w=>({label:w.toString(),value:w}))],g={label:tt("table.all"),value:t.rowData.length};return t.pageSize&&t.pageSize>0&&(c.some(w=>w.value===t.pageSize)||(c.push({label:t.pageSize.toString(),value:t.pageSize}),c.sort((w,W)=>w.value-W.value))),[...c,g]});function we(c){const g=c.el;if(!g||typeof t.shrinkAt>"u"||typeof t.shrinkAt=="boolean"&&!t.shrinkAt)return;const w=hf(function(){if(V.value=g.clientWidth,A.isBreakpointKeyword(t.shrinkAt)){F.value=A.isAtMost(t.shrinkAt);return}const W=Number(t.shrinkAt);if(isNaN(W)){F.value=!1;return}F.value=g.scrollWidth>=W},200);g.resizeTable??(g.resizeTable=function(){F.value=A.isBreakpointKeyword(t.shrinkAt)&&A.isAtMost(t.shrinkAt),w()}),window.addEventListener("resize",g.resizeTable),g.resizeTable()}function Fe(c){const g=c.el;!g||typeof t.shrinkAt>"u"||typeof t.shrinkAt=="boolean"&&!t.shrinkAt||g.resizeTable&&window.removeEventListener("resize",g.resizeTable)}function Me(c){const g=Math.min(...c.map(E=>E.index)),w=Math.max(...c.map(E=>E.index)),W=a.value.slice(0,g),ce=a.value.slice(w+1),Ie=c.map(E=>E.original),x=a.value.slice(g,w+1);Eh(Ie,x)||o("dnd-changed",[...W,...Ie,...ce])}const U=re(),fe=Ut(()=>!t.virtual||!U.value?null:Vh({count:d.getRowModel().rows.length,getScrollElement:()=>U.value||null,estimateSize:()=>t.virtualRowHeight,overscan:20})),_e=re([]);function ie(c){_e.value=c}function xe(c,g){var W;const w=(W=c.column.columnDef.meta)==null?void 0:W.colspan;return typeof w=="function"?w(g):w??1}function Se(c){return c.getVisibleCells().filter(g=>xe(g,c)!==0)}function pe({draggedContext:c}){const g=t.draggable,w=c.index,W=d.getRowModel().rows[w];let ce=typeof g=="function"?g(W.original,w):g;if(!ce)return ce;const Ie=c.futureIndex,x=d.getRowModel().rows[Ie];return ce=typeof g=="function"?g(x.original,Ie):g,ce}return(c,g)=>{var ce,Ie;const w=An("FmListItem"),W=An("FmList");return I(),N("div",{class:"flex flex-col h-full relative",onVnodeMounted:we,onVnodeUnmounted:Fe},[P("div",{class:"overflow-y-auto",ref_key:"parentRef",ref:U},[F.value?(I(),N(ye,{key:0},[v.value?(I(),N("div",{key:0,style:ke({height:`${M.value}px`}),class:"pointer-events-none"},[P("div",Ar,[G(Ht),G(Jr,{size:"xl"}),P("div",null,[Ze(c.$slots,"loading-text",{},()=>[P("span",Rr,Qe(C(tt)("table.loading")),1)],!0)]),G(Ht)])],4)):(I(),et(W,{key:1,onVnodeMounted:O},{default:pt(()=>[(I(!0),N(ye,null,Je(C(d).getRowModel().rows,x=>Ze(c.$slots,"list-row",jn({key:x.id,ref_for:!0},x),()=>[G(w,{class:Z([{"bg-fm-color-neutral-gray-100":x.getIsSelected(),"cursor-pointer":typeof c.onRowClick=="function"}]),style:{padding:"0"},tag:"label"},{prepend:pt(()=>{var E,Y,Q,ae,Te;return[G(C(Yt),{props:(Y=(E=x.getVisibleCells().find(Ce=>Ce.column.id==="row-selection"))==null?void 0:E.getContext)==null?void 0:Y.call(E),render:(Te=(ae=(Q=x.getVisibleCells().find(Ce=>Ce.column.id==="row-selection"))==null?void 0:Q.column)==null?void 0:ae.columnDef)==null?void 0:Te.cell},null,8,["props","render"])]}),default:pt(()=>[P("div",{class:"flex flex-col gap-4 grow p-8",onClick:E=>{var Y;return(Y=c.onRowClick)==null?void 0:Y.call(c,x)}},[(I(!0),N(ye,null,Je(x.getVisibleCells(),E=>{var Y;return I(),N(ye,{key:E.id},[E.column.id!=="row-selection"?(I(),N("div",Pr,[P("span",{class:Z(["fm-typo-en-body-md-400",((Y=E.column.columnDef.meta)==null?void 0:Y.cellSpanClass)??"line-clamp-2 w-full"])},[G(C(Yt),{props:E.getContext(),render:E.column.columnDef.cell},null,8,["props","render"])],2)])):Pe("",!0)],64)}),128))],8,zr)]),_:2},1032,["class"])],!0)),128))]),_:3},512))],64)):(I(),N(ye,{key:1},[c.virtual?(I(),N("div",Wr,[P("div",$r,[P("table",Xr,[c.hideHeaderRow?Pe("",!0):(I(),et(zn,{key:0,table:C(d),class:"bg-fm-color-neutral-gray-100","onUpdate:columnWidths":ie},null,8,["table"]))])]),P("div",{class:"virtual-list relative",style:ke({height:`${C(d).getRowModel().rows.length*t.virtualRowHeight}px`,width:"100%"}),onVnodeMounted:O},[(I(!0),N(ye,null,Je((Ie=(ce=fe.value)==null?void 0:ce.value)==null?void 0:Ie.getVirtualItems(),x=>{var E,Y;return I(),N("div",{key:x.index,style:ke({position:"absolute",top:0,left:0,width:"100%",height:`${t.virtualRowHeight}px`,transform:`translateY(${x.start}px)`,display:"flex",alignItems:"center",borderBottom:"1px solid var(--fm-color-neutral-gray-100)"}),class:Z([{"bg-fm-color-neutral-gray-100":(E=C(d).getRowModel().rows[x.index])==null?void 0:E.getIsSelected(),"cursor-pointer":typeof c.onRowClick=="function"},c.rowClassName,"hover:bg-fm-color-opacity-sm"]),onClick:Q=>{var ae;return(ae=c.onRowClick)==null?void 0:ae.call(c,C(d).getRowModel().rows[x.index])}},[(I(!0),N(ye,null,Je(((Y=C(d).getRowModel().rows[x.index])==null?void 0:Y.getVisibleCells())||[],(Q,ae)=>{var Te,Ce,mt,Zr;return I(),N("div",{key:Q.id,class:Z(["virtual-cell","h-full flex items-center",((Te=Q.column.columnDef.meta)==null?void 0:Te.cellClass)??"px-16"]),style:ke({width:_e.value[ae]?`${_e.value[ae]}px`:"auto",flex:_e.value[ae]?"0 0 auto":"1 1 0px",textAlign:((Ce=Q.column.columnDef.meta)==null?void 0:Ce.textAlign)??"left",maxWidth:(mt=Q.column.columnDef.meta)==null?void 0:mt.maxWidth})},[P("span",{class:Z(["fm-typo-en-body-md-400",((Zr=Q.column.columnDef.meta)==null?void 0:Zr.cellSpanClass)??"line-clamp-2 w-full"])},[G(C(Yt),{props:Q.getContext(),render:Q.column.columnDef.cell},null,8,["props","render"])],2)],6)}),128))],14,Ur)}),128))],4)])):(I(),N("table",Fr,[!c.pinHeaderRow&&!c.hideHeaderRow?(I(),et(zn,{key:0,table:C(d)},null,8,["table"])):Pe("",!0),Ze(c.$slots,"pin-top",{},void 0,!0),v.value?(I(),N("tbody",{key:1,onVnodeMounted:O},[P("div",{style:ke({height:`${M.value}px`}),class:"pointer-events-none"},[P("div",Nr,[G(Ht),G(Jr,{size:"xl"}),P("div",null,[Ze(c.$slots,"loading-text",{},()=>[P("span",Br,Qe(C(tt)("table.loading")),1)],!0)]),G(Ht)])],4)],512)):(I(),et(C(Pn),{key:2,clone:C(pf.clone),handle:Object.keys(t.expandedState??{}).length>0?".dnd-handler-disabled":".dnd-handler","model-value":C(d).getRowModel().rows,move:pe||c.onVuedraggableMove,"item-key":"id",tag:"tbody",onDragend:g[0]||(g[0]=x=>l.value=!1),onDragstart:g[1]||(g[1]=x=>l.value=!0),"onUpdate:modelValue":Me,onVnodeMounted:O},{item:pt(({element:x})=>[c.$slots["table-row"]?Ze(c.$slots,"table-row",jr(jn({key:0},x)),void 0,!0):(I(),N("tr",{key:1,class:Z([[{"bg-fm-color-neutral-gray-100":x.getIsSelected(),"cursor-pointer":typeof c.onRowClick=="function","dnd-handler":(typeof c.draggable=="function"?c.draggable(x.original,x.index):c.draggable)&&c.wholeRowDraggable,"border-b border-fm-color-neutral-gray-100":x.subRows.length===0&&x.depth===0?!0:x.depth===0?!x.getIsExpanded():x.index+1===x.getParentRow().subRows.length},c.rowClassName],"hover:bg-fm-color-opacity-sm"]),onClick:E=>{var Y;return(Y=c.onRowClick)==null?void 0:Y.call(c,x)}},[(I(!0),N(ye,null,Je(Se(x),E=>{var Y,Q,ae,Te,Ce,mt;return I(),N("td",{key:E.id,colspan:xe(E,x),class:Z([v.value?"hidden":"","h-[48px] text-fm-color-typo-primary",((Y=E.column.columnDef.meta)==null?void 0:Y.cellClass)??"px-16"]),style:ke({width:(Q=E.column.columnDef.meta)!=null&&Q.width?(ae=E.column.columnDef.meta)==null?void 0:ae.width:E.column.getSize()!==0?`${E.column.getSize()}px`:void 0,maxWidth:(Te=E.column.columnDef.meta)==null?void 0:Te.maxWidth,textAlign:((Ce=E.column.columnDef.meta)==null?void 0:Ce.textAlign)??"left"})},[P("span",{class:Z(["fm-typo-en-body-md-400",((mt=E.column.columnDef.meta)==null?void 0:mt.cellSpanClass)??"line-clamp-2 w-full"])},[G(C(Yt),{props:E.getContext(),render:E.column.columnDef.cell},null,8,["props","render"])],2)],14,Lr)}),128))],10,Vr))]),_:3},8,["clone","handle","model-value","move"])),c.pinHeaderRow&&!c.hideHeaderRow?(I(),et(zn,{key:3,table:C(d),class:Z(["bg-fm-color-neutral-gray-100 top-0",{sticky:!l.value}]),"onUpdate:columnWidths":ie},null,8,["table","class"])):Pe("",!0)]))],64))],512),c.hideFooter?Pe("",!0):(I(),N("div",{key:0,style:ke({maxWidth:V.value?`${V.value}px`:void 0}),class:"basis-72 bg-white flex items-center justify-between px-24"},[F.value?Pe("",!0):(I(),N("div",{key:0,class:Z([{"hidden invisible":c.forceMobileFooter},"flex gap-24 items-center justify-between xs:hidden xs:invisible"])},[P("div",Yr,[P("span",Hr,Qe(C(tt)("table.itemsPerPage")),1),G(yn,{items:X.value,"model-value":C(d).getState().pagination.pageSize,"onUpdate:modelValue":g[2]||(g[2]=x=>C(d).setPageSize(x))},null,8,["items","model-value"])]),P("span",{class:Z([{"hidden invisible":c.forceMobileFooter},"fm-typo-en-body-lg-400 text-fm-color-typo-secondary xs:hidden xs:invisible"])},Qe(C(tt)("table.itemCount",{start:t.rowData.length<C(d).getState().pagination.pageSize?t.rowData.length:C(d).getState().pagination.pageIndex*C(d).getState().pagination.pageSize+1,end:(C(d).getState().pagination.pageIndex+1)*C(d).getState().pagination.pageSize,total:t.rowCount??t.rowData.length})),3)],2)),P("div",{class:Z(["flex gap-8 items-center",{"w-full justify-between":F.value||c.forceMobileFooter,"xs:w-full xs:justify-between":!F.value}])},[G(yn,{items:Array.from(Array(C(d).getPageCount()),(x,E)=>E+1).map(x=>({label:x.toString(),value:x})),"model-value":C(d).getState().pagination.pageIndex+1,"onUpdate:modelValue":g[3]||(g[3]=x=>C(d).setPageIndex(x?x-1:0))},null,8,["items","model-value"]),P("span",{class:Z([{"mr-auto":F.value||c.forceMobileFooter},"fm-typo-en-body-lg-400 text-fm-color-typo-primary xs:mr-auto"])},Qe(C(tt)("table.pageCount",{total:C(d).getPageCount()})),3),P("div",Gr,[G(vt,{disabled:!C(d).getCanPreviousPage(),icon:"chevron_left","icon-color":"neutral-black",variant:"tertiary",onClick:g[4]||(g[4]=()=>C(d).previousPage())},null,8,["disabled"]),G(vt,{disabled:!C(d).getCanNextPage(),icon:"chevron_right","icon-color":"neutral-black",variant:"tertiary",onClick:g[5]||(g[5]=()=>C(d).nextPage())},null,8,["disabled"])])],2)],4))],512)}}}),ei=Qr(Kr,[["__scopeId","data-v-59fbc452"]])});export{mf as __tla,Pn as d,ei as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,__tla as a}from"./FmTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import{_ as t,__tla as a}from"./FmTableToolbar.vue_vue_type_script_setup_true_lang-B8rdIE7Z.js";let _=Promise.all([(()=>{try{return a}catch{}})()]).then(async()=>{});export{_ as __tla,t as default};
|