@feedmepos/ui-library 1.6.5 → 1.6.7
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 +18 -0
- package/dist/components/bottom-sheet/FmBottomSheet.vue.d.ts +4 -0
- package/dist/components/side-sheet/FmSideSheet.vue.d.ts +4 -0
- package/dist/components/table/FmTable.vue.d.ts +1 -1
- package/dist/components/top-sheet/FmTopSheet.vue.d.ts +4 -0
- package/dist/components.d.ts +61 -4
- package/dist/federation/{FmGlobalSearch.vue_vue_type_script_setup_true_lang-BgrZFL06.js → FmGlobalSearch.vue_vue_type_script_setup_true_lang-DPCgouhP.js} +1 -1
- package/dist/federation/{FmPageHead.vue_vue_type_script_setup_true_lang-DHWKstRJ.js → FmPageHead.vue_vue_type_script_setup_true_lang-DpJF5sT3.js} +1 -1
- package/dist/federation/{FmTableToolbar.vue_vue_type_script_setup_true_lang-B5BJMllu.js → FmTableToolbar.vue_vue_type_script_setup_true_lang-Ckn8i0Ai.js} +1 -1
- package/dist/federation/__federation_expose_FmBottomSheet-B2KTYQCa.js +1 -0
- package/dist/federation/{__federation_expose_FmBottomSheet-DeBv4VQh.css → __federation_expose_FmBottomSheet-BKKoMNz_.css} +1 -1
- package/dist/federation/{__federation_expose_FmGlobalSearch-DOtCWi35.js → __federation_expose_FmGlobalSearch-Dr6FBhbV.js} +1 -1
- package/dist/federation/{__federation_expose_FmPageHead-DqtKbI6k.js → __federation_expose_FmPageHead-DYFrEY_o.js} +1 -1
- package/dist/federation/__federation_expose_FmSideSheet-1u1rvFCa.css +1 -0
- package/dist/federation/__federation_expose_FmSideSheet-BHiFxKgB.js +1 -0
- package/dist/federation/__federation_expose_FmTable-Ca-46IN7.js +4 -0
- package/dist/federation/{__federation_expose_FmTable-Dgu3dkJ3.css → __federation_expose_FmTable-D6X6Ow0c.css} +1 -1
- package/dist/federation/{__federation_expose_FmTableToolbar-CeTZWUyS.js → __federation_expose_FmTableToolbar-Dei_iSKL.js} +1 -1
- package/dist/federation/__federation_expose_FmTopSheet-C174d7Mn.js +1 -0
- package/dist/federation/{__federation_expose_FmTopSheet-LhZrbwNu.css → __federation_expose_FmTopSheet-CLInDazb.css} +1 -1
- package/dist/federation/feedmepos-ui-components.js +1 -1
- package/dist/federation/{index-CqbwdBWQ.css → index-BoGSGEGS.css} +1 -1
- package/dist/federation/{index-Bz9QX6oi.js → index-D2eHK5A2.js} +2 -2
- package/dist/feedmepos-ui-library.js +5436 -5403
- package/dist/feedmepos-ui-library.umd.cjs +32 -32
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/federation/__federation_expose_FmBottomSheet-BwCwfMY1.js +0 -1
- package/dist/federation/__federation_expose_FmSideSheet-B4Ua_d1W.js +0 -1
- package/dist/federation/__federation_expose_FmSideSheet-Bu2uYbKn.css +0 -1
- package/dist/federation/__federation_expose_FmTable-l9j_Kpf3.js +0 -4
- package/dist/federation/__federation_expose_FmTopSheet-Rnaj9dZB.js +0 -1
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
# 1.6.7
|
|
2
|
+
|
|
3
|
+
- `FmTable`
|
|
4
|
+
|
|
5
|
+
- Added `cellSpanClass` to column meta for customizing the class of span elements inside table cells
|
|
6
|
+
|
|
7
|
+
- Example: `{ meta: { cellSpanClass: 'text-red-500 truncate' } }` will replace the default `line-clamp-2 w-full` while preserving the base typography class
|
|
8
|
+
|
|
9
|
+
# 1.6.6
|
|
10
|
+
|
|
11
|
+
- `FmTable`
|
|
12
|
+
|
|
13
|
+
- the `draggable` property now also support passing a `(row: Row<any>, index: number) => boolean` function to determine which row is draggable
|
|
14
|
+
|
|
15
|
+
- `FmSideSheet`, `FmTopSheet`, `FmBottomSheet`
|
|
16
|
+
|
|
17
|
+
- add `no-overlay` property to disable overlay
|
|
18
|
+
|
|
1
19
|
# 1.6.5
|
|
2
20
|
|
|
3
21
|
- `FmSimpleDatePicker`, `FmSimpleDateRangePicker`
|
|
@@ -4,6 +4,7 @@ export interface FmBottomSheetProps {
|
|
|
4
4
|
dismissAway?: boolean;
|
|
5
5
|
zIndex?: number;
|
|
6
6
|
noHeader?: boolean;
|
|
7
|
+
noOverlay?: boolean;
|
|
7
8
|
}
|
|
8
9
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmBottomSheetProps>, {
|
|
9
10
|
header: string;
|
|
@@ -11,6 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
11
12
|
dismissAway: boolean;
|
|
12
13
|
zIndex: undefined;
|
|
13
14
|
noHeader: boolean;
|
|
15
|
+
noOverlay: boolean;
|
|
14
16
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
17
|
"update:modelValue": (value: boolean) => void;
|
|
16
18
|
"on:clickedAway": () => void;
|
|
@@ -20,6 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
22
|
dismissAway: boolean;
|
|
21
23
|
zIndex: undefined;
|
|
22
24
|
noHeader: boolean;
|
|
25
|
+
noOverlay: boolean;
|
|
23
26
|
}>>> & {
|
|
24
27
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
25
28
|
"onOn:clickedAway"?: (() => any) | undefined;
|
|
@@ -29,6 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
32
|
zIndex: number;
|
|
30
33
|
dismissAway: boolean;
|
|
31
34
|
noHeader: boolean;
|
|
35
|
+
noOverlay: boolean;
|
|
32
36
|
}, {}>, {
|
|
33
37
|
"bottom-sheet-button"?(_: {}): any;
|
|
34
38
|
"bottom-sheet-header"?(_: {}): any;
|
|
@@ -8,6 +8,7 @@ export interface FmSideSheetProps {
|
|
|
8
8
|
isContainer?: any;
|
|
9
9
|
isContainerProps?: any;
|
|
10
10
|
closeIcon?: string;
|
|
11
|
+
noOverlay?: boolean;
|
|
11
12
|
}
|
|
12
13
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmSideSheetProps>, {
|
|
13
14
|
header: string;
|
|
@@ -19,6 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
20
|
isContainer: string;
|
|
20
21
|
isContainerProps: () => {};
|
|
21
22
|
closeIcon: string;
|
|
23
|
+
noOverlay: boolean;
|
|
22
24
|
}>, {
|
|
23
25
|
containerRef: import("vue").Ref<any, any>;
|
|
24
26
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -34,6 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
34
36
|
isContainer: string;
|
|
35
37
|
isContainerProps: () => {};
|
|
36
38
|
closeIcon: string;
|
|
39
|
+
noOverlay: boolean;
|
|
37
40
|
}>>> & {
|
|
38
41
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
39
42
|
"onOn:clickedAway"?: (() => any) | undefined;
|
|
@@ -44,6 +47,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
47
|
dismissAway: boolean;
|
|
45
48
|
maxWidth: number;
|
|
46
49
|
closeButton: boolean;
|
|
50
|
+
noOverlay: boolean;
|
|
47
51
|
isContainer: any;
|
|
48
52
|
isContainerProps: any;
|
|
49
53
|
closeIcon: string;
|
|
@@ -57,7 +57,7 @@ export interface FmTableProps {
|
|
|
57
57
|
/** Column visibility filter */
|
|
58
58
|
columnVisibility?: Record<string, boolean>;
|
|
59
59
|
/** Enable row dragging */
|
|
60
|
-
draggable?: boolean;
|
|
60
|
+
draggable?: boolean | ((row: Row<any>, index: number) => boolean);
|
|
61
61
|
/** Allow whole row draggable */
|
|
62
62
|
wholeRowDraggable?: boolean;
|
|
63
63
|
/** expanded state */
|
|
@@ -4,6 +4,7 @@ export interface FmTopSheetProps {
|
|
|
4
4
|
dismissAway?: boolean;
|
|
5
5
|
fullscreenSize?: 'xs' | 'sm' | 'md' | 'lg';
|
|
6
6
|
zIndex?: number;
|
|
7
|
+
noOverlay?: boolean;
|
|
7
8
|
}
|
|
8
9
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmTopSheetProps>, {
|
|
9
10
|
header: string;
|
|
@@ -11,6 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
11
12
|
dismissAway: boolean;
|
|
12
13
|
fullscreenSize: undefined;
|
|
13
14
|
zIndex: undefined;
|
|
15
|
+
noOverlay: boolean;
|
|
14
16
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
17
|
"update:modelValue": (value: boolean) => void;
|
|
16
18
|
"on:clickedAway": () => void;
|
|
@@ -20,6 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
22
|
dismissAway: boolean;
|
|
21
23
|
fullscreenSize: undefined;
|
|
22
24
|
zIndex: undefined;
|
|
25
|
+
noOverlay: boolean;
|
|
23
26
|
}>>> & {
|
|
24
27
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
25
28
|
"onOn:clickedAway"?: (() => any) | undefined;
|
|
@@ -28,6 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
28
31
|
modelValue: boolean;
|
|
29
32
|
zIndex: number;
|
|
30
33
|
dismissAway: boolean;
|
|
34
|
+
noOverlay: boolean;
|
|
31
35
|
fullscreenSize: "xs" | "sm" | "md" | "lg";
|
|
32
36
|
}, {}>, {
|
|
33
37
|
"top-sheet-button"?(_: {}): any;
|
package/dist/components.d.ts
CHANGED
|
@@ -121,6 +121,10 @@ export declare const components: {
|
|
|
121
121
|
type: import("vue").PropType<boolean>;
|
|
122
122
|
default: boolean;
|
|
123
123
|
};
|
|
124
|
+
noOverlay: {
|
|
125
|
+
type: import("vue").PropType<boolean>;
|
|
126
|
+
default: boolean;
|
|
127
|
+
};
|
|
124
128
|
}>> & {
|
|
125
129
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
126
130
|
"onOn:clickedAway"?: (() => any) | undefined;
|
|
@@ -148,6 +152,10 @@ export declare const components: {
|
|
|
148
152
|
type: import("vue").PropType<boolean>;
|
|
149
153
|
default: boolean;
|
|
150
154
|
};
|
|
155
|
+
noOverlay: {
|
|
156
|
+
type: import("vue").PropType<boolean>;
|
|
157
|
+
default: boolean;
|
|
158
|
+
};
|
|
151
159
|
}>> & {
|
|
152
160
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
153
161
|
"onOn:clickedAway"?: (() => any) | undefined;
|
|
@@ -157,6 +165,7 @@ export declare const components: {
|
|
|
157
165
|
zIndex: number;
|
|
158
166
|
dismissAway: boolean;
|
|
159
167
|
noHeader: boolean;
|
|
168
|
+
noOverlay: boolean;
|
|
160
169
|
}, true, {}, {}, {
|
|
161
170
|
P: {};
|
|
162
171
|
B: {};
|
|
@@ -185,6 +194,10 @@ export declare const components: {
|
|
|
185
194
|
type: import("vue").PropType<boolean>;
|
|
186
195
|
default: boolean;
|
|
187
196
|
};
|
|
197
|
+
noOverlay: {
|
|
198
|
+
type: import("vue").PropType<boolean>;
|
|
199
|
+
default: boolean;
|
|
200
|
+
};
|
|
188
201
|
}>> & {
|
|
189
202
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
190
203
|
"onOn:clickedAway"?: (() => any) | undefined;
|
|
@@ -194,6 +207,7 @@ export declare const components: {
|
|
|
194
207
|
zIndex: number;
|
|
195
208
|
dismissAway: boolean;
|
|
196
209
|
noHeader: boolean;
|
|
210
|
+
noOverlay: boolean;
|
|
197
211
|
}>;
|
|
198
212
|
__isFragment?: undefined;
|
|
199
213
|
__isTeleport?: undefined;
|
|
@@ -219,6 +233,10 @@ export declare const components: {
|
|
|
219
233
|
type: import("vue").PropType<boolean>;
|
|
220
234
|
default: boolean;
|
|
221
235
|
};
|
|
236
|
+
noOverlay: {
|
|
237
|
+
type: import("vue").PropType<boolean>;
|
|
238
|
+
default: boolean;
|
|
239
|
+
};
|
|
222
240
|
}>> & {
|
|
223
241
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
224
242
|
"onOn:clickedAway"?: (() => any) | undefined;
|
|
@@ -231,6 +249,7 @@ export declare const components: {
|
|
|
231
249
|
zIndex: number;
|
|
232
250
|
dismissAway: boolean;
|
|
233
251
|
noHeader: boolean;
|
|
252
|
+
noOverlay: boolean;
|
|
234
253
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
235
254
|
$slots: {
|
|
236
255
|
"bottom-sheet-button"?(_: {}): any;
|
|
@@ -11223,6 +11242,10 @@ export declare const components: {
|
|
|
11223
11242
|
type: import("vue").PropType<boolean>;
|
|
11224
11243
|
default: boolean;
|
|
11225
11244
|
};
|
|
11245
|
+
noOverlay: {
|
|
11246
|
+
type: import("vue").PropType<boolean>;
|
|
11247
|
+
default: boolean;
|
|
11248
|
+
};
|
|
11226
11249
|
isContainer: {
|
|
11227
11250
|
type: import("vue").PropType<any>;
|
|
11228
11251
|
default: string;
|
|
@@ -11268,6 +11291,10 @@ export declare const components: {
|
|
|
11268
11291
|
type: import("vue").PropType<boolean>;
|
|
11269
11292
|
default: boolean;
|
|
11270
11293
|
};
|
|
11294
|
+
noOverlay: {
|
|
11295
|
+
type: import("vue").PropType<boolean>;
|
|
11296
|
+
default: boolean;
|
|
11297
|
+
};
|
|
11271
11298
|
isContainer: {
|
|
11272
11299
|
type: import("vue").PropType<any>;
|
|
11273
11300
|
default: string;
|
|
@@ -11290,6 +11317,7 @@ export declare const components: {
|
|
|
11290
11317
|
dismissAway: boolean;
|
|
11291
11318
|
maxWidth: number;
|
|
11292
11319
|
closeButton: boolean;
|
|
11320
|
+
noOverlay: boolean;
|
|
11293
11321
|
isContainer: any;
|
|
11294
11322
|
isContainerProps: any;
|
|
11295
11323
|
closeIcon: string;
|
|
@@ -11325,6 +11353,10 @@ export declare const components: {
|
|
|
11325
11353
|
type: import("vue").PropType<boolean>;
|
|
11326
11354
|
default: boolean;
|
|
11327
11355
|
};
|
|
11356
|
+
noOverlay: {
|
|
11357
|
+
type: import("vue").PropType<boolean>;
|
|
11358
|
+
default: boolean;
|
|
11359
|
+
};
|
|
11328
11360
|
isContainer: {
|
|
11329
11361
|
type: import("vue").PropType<any>;
|
|
11330
11362
|
default: string;
|
|
@@ -11349,6 +11381,7 @@ export declare const components: {
|
|
|
11349
11381
|
dismissAway: boolean;
|
|
11350
11382
|
maxWidth: number;
|
|
11351
11383
|
closeButton: boolean;
|
|
11384
|
+
noOverlay: boolean;
|
|
11352
11385
|
isContainer: any;
|
|
11353
11386
|
isContainerProps: any;
|
|
11354
11387
|
closeIcon: string;
|
|
@@ -11381,6 +11414,10 @@ export declare const components: {
|
|
|
11381
11414
|
type: import("vue").PropType<boolean>;
|
|
11382
11415
|
default: boolean;
|
|
11383
11416
|
};
|
|
11417
|
+
noOverlay: {
|
|
11418
|
+
type: import("vue").PropType<boolean>;
|
|
11419
|
+
default: boolean;
|
|
11420
|
+
};
|
|
11384
11421
|
isContainer: {
|
|
11385
11422
|
type: import("vue").PropType<any>;
|
|
11386
11423
|
default: string;
|
|
@@ -11408,6 +11445,7 @@ export declare const components: {
|
|
|
11408
11445
|
dismissAway: boolean;
|
|
11409
11446
|
maxWidth: number;
|
|
11410
11447
|
closeButton: boolean;
|
|
11448
|
+
noOverlay: boolean;
|
|
11411
11449
|
isContainer: any;
|
|
11412
11450
|
isContainerProps: any;
|
|
11413
11451
|
closeIcon: string;
|
|
@@ -12039,7 +12077,7 @@ export declare const components: {
|
|
|
12039
12077
|
default: number;
|
|
12040
12078
|
};
|
|
12041
12079
|
draggable: {
|
|
12042
|
-
type: import("vue").PropType<boolean>;
|
|
12080
|
+
type: import("vue").PropType<boolean | ((row: import("./components/table/FmTable.vue").Row<any>, index: number) => boolean)>;
|
|
12043
12081
|
};
|
|
12044
12082
|
pageSize: {
|
|
12045
12083
|
type: import("vue").PropType<number>;
|
|
@@ -12262,7 +12300,7 @@ export declare const components: {
|
|
|
12262
12300
|
default: number;
|
|
12263
12301
|
};
|
|
12264
12302
|
draggable: {
|
|
12265
|
-
type: import("vue").PropType<boolean>;
|
|
12303
|
+
type: import("vue").PropType<boolean | ((row: import("./components/table/FmTable.vue").Row<any>, index: number) => boolean)>;
|
|
12266
12304
|
};
|
|
12267
12305
|
pageSize: {
|
|
12268
12306
|
type: import("vue").PropType<number>;
|
|
@@ -12615,7 +12653,7 @@ export declare const components: {
|
|
|
12615
12653
|
default: number;
|
|
12616
12654
|
};
|
|
12617
12655
|
draggable: {
|
|
12618
|
-
type: import("vue").PropType<boolean>;
|
|
12656
|
+
type: import("vue").PropType<boolean | ((row: import("./components/table/FmTable.vue").Row<any>, index: number) => boolean)>;
|
|
12619
12657
|
};
|
|
12620
12658
|
pageSize: {
|
|
12621
12659
|
type: import("vue").PropType<number>;
|
|
@@ -12965,7 +13003,7 @@ export declare const components: {
|
|
|
12965
13003
|
default: number;
|
|
12966
13004
|
};
|
|
12967
13005
|
draggable: {
|
|
12968
|
-
type: import("vue").PropType<boolean>;
|
|
13006
|
+
type: import("vue").PropType<boolean | ((row: import("./components/table/FmTable.vue").Row<any>, index: number) => boolean)>;
|
|
12969
13007
|
};
|
|
12970
13008
|
pageSize: {
|
|
12971
13009
|
type: import("vue").PropType<number>;
|
|
@@ -14048,6 +14086,10 @@ export declare const components: {
|
|
|
14048
14086
|
type: import("vue").PropType<boolean>;
|
|
14049
14087
|
default: boolean;
|
|
14050
14088
|
};
|
|
14089
|
+
noOverlay: {
|
|
14090
|
+
type: import("vue").PropType<boolean>;
|
|
14091
|
+
default: boolean;
|
|
14092
|
+
};
|
|
14051
14093
|
fullscreenSize: {
|
|
14052
14094
|
type: import("vue").PropType<"xs" | "sm" | "md" | "lg">;
|
|
14053
14095
|
default: undefined;
|
|
@@ -14075,6 +14117,10 @@ export declare const components: {
|
|
|
14075
14117
|
type: import("vue").PropType<boolean>;
|
|
14076
14118
|
default: boolean;
|
|
14077
14119
|
};
|
|
14120
|
+
noOverlay: {
|
|
14121
|
+
type: import("vue").PropType<boolean>;
|
|
14122
|
+
default: boolean;
|
|
14123
|
+
};
|
|
14078
14124
|
fullscreenSize: {
|
|
14079
14125
|
type: import("vue").PropType<"xs" | "sm" | "md" | "lg">;
|
|
14080
14126
|
default: undefined;
|
|
@@ -14087,6 +14133,7 @@ export declare const components: {
|
|
|
14087
14133
|
modelValue: boolean;
|
|
14088
14134
|
zIndex: number;
|
|
14089
14135
|
dismissAway: boolean;
|
|
14136
|
+
noOverlay: boolean;
|
|
14090
14137
|
fullscreenSize: "xs" | "sm" | "md" | "lg";
|
|
14091
14138
|
}, true, {}, {}, {
|
|
14092
14139
|
P: {};
|
|
@@ -14112,6 +14159,10 @@ export declare const components: {
|
|
|
14112
14159
|
type: import("vue").PropType<boolean>;
|
|
14113
14160
|
default: boolean;
|
|
14114
14161
|
};
|
|
14162
|
+
noOverlay: {
|
|
14163
|
+
type: import("vue").PropType<boolean>;
|
|
14164
|
+
default: boolean;
|
|
14165
|
+
};
|
|
14115
14166
|
fullscreenSize: {
|
|
14116
14167
|
type: import("vue").PropType<"xs" | "sm" | "md" | "lg">;
|
|
14117
14168
|
default: undefined;
|
|
@@ -14124,6 +14175,7 @@ export declare const components: {
|
|
|
14124
14175
|
modelValue: boolean;
|
|
14125
14176
|
zIndex: number;
|
|
14126
14177
|
dismissAway: boolean;
|
|
14178
|
+
noOverlay: boolean;
|
|
14127
14179
|
fullscreenSize: "xs" | "sm" | "md" | "lg";
|
|
14128
14180
|
}>;
|
|
14129
14181
|
__isFragment?: undefined;
|
|
@@ -14146,6 +14198,10 @@ export declare const components: {
|
|
|
14146
14198
|
type: import("vue").PropType<boolean>;
|
|
14147
14199
|
default: boolean;
|
|
14148
14200
|
};
|
|
14201
|
+
noOverlay: {
|
|
14202
|
+
type: import("vue").PropType<boolean>;
|
|
14203
|
+
default: boolean;
|
|
14204
|
+
};
|
|
14149
14205
|
fullscreenSize: {
|
|
14150
14206
|
type: import("vue").PropType<"xs" | "sm" | "md" | "lg">;
|
|
14151
14207
|
default: undefined;
|
|
@@ -14161,6 +14217,7 @@ export declare const components: {
|
|
|
14161
14217
|
modelValue: boolean;
|
|
14162
14218
|
zIndex: number;
|
|
14163
14219
|
dismissAway: boolean;
|
|
14220
|
+
noOverlay: boolean;
|
|
14164
14221
|
fullscreenSize: "xs" | "sm" | "md" | "lg";
|
|
14165
14222
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
14166
14223
|
$slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{importShared as j,__tla as ze}from"./__federation_fn_import-CYKgoy9p.js";import Fe,{__tla as Le}from"./__federation_expose_FmTopSheet-
|
|
1
|
+
import{importShared as j,__tla as ze}from"./__federation_fn_import-CYKgoy9p.js";import Fe,{__tla as Le}from"./__federation_expose_FmTopSheet-C174d7Mn.js";import{_ as Me,__tla as Ne}from"./FmSearch.vue_vue_type_script_setup_true_lang-0t3eVCyf.js";import D,{__tla as Pe}from"./__federation_expose_FmButton-BoCn-KbF.js";import{d as he}from"./index-geV2sl9x.js";import $e,{__tla as Be}from"./__federation_expose_FmCircularProgress-B5PP_Hik.js";import{u as ye,__tla as Ie}from"./useProxiedModel-DbArcH0F.js";import ge,{__tla as Oe}from"./__federation_expose_FmIcon-B5L3FtOO.js";import{g as Ae}from"./_commonjsHelpers-Cpj98o6Y.js";import Ee,{__tla as Je}from"./__federation_expose_FmSpacer-NyWv__n8.js";import{t as _e,__tla as Ue}from"./locale-DnpNb53i.js";let be,je=Promise.all([(()=>{try{return ze}catch{}})(),(()=>{try{return Le}catch{}})(),(()=>{try{return Ne}catch{}})(),(()=>{try{return Pe}catch{}})(),(()=>{try{return Be}catch{}})(),(()=>{try{return Ie}catch{}})(),(()=>{try{return Oe}catch{}})(),(()=>{try{return Je}catch{}})(),(()=>{try{return Ue}catch{}})()]).then(async()=>{var G={exports:{}};(function(F,k){(function(){var e={};F.exports=e,e.simpleFilter=function(o,a){return a.filter(function(r){return e.test(o,r)})},e.test=function(o,a){return e.match(o,a)!==null},e.match=function(o,a,r){r=r||{};var f=0,c=[],p=a.length,C=0,u=0,n=r.pre||"",K=r.post||"",I=r.caseSensitive&&a||a.toLowerCase(),V;o=r.caseSensitive&&o||o.toLowerCase();for(var _=0;_<p;_++)V=a[_],I[_]===o[f]?(V=n+V+K,f+=1,u+=1+u):u=0,C+=u,c[c.length]=V;return f===o.length?(C=I===o?1/0:C,{rendered:c.join(""),score:C}):null},e.filter=function(o,a,r){return!a||a.length===0?[]:typeof o!="string"?a:(r=r||{},a.reduce(function(f,c,p,C){var u=c;r.extract&&(u=r.extract(c));var n=e.match(o,u,r);return n!=null&&(f[f.length]={string:n.rendered,score:n.score,index:p,original:c}),f},[]).sort(function(f,c){var p=c.score-f.score;return p||f.index-c.index}))}})()})(G);var xe=G.exports;const Se=Ae(xe);function M(F,k){const[e]=Se.filter(F.toLocaleLowerCase(),[k],{pre:"|",post:"|",extract(a){return a.toLocaleLowerCase()}});if(!e)return{label:k,segments:[{segment:k,isMatch:!1}],matched:!1};const o=e.string.toString().replace(/\|\|/g,"").split("|").reduce((a,r,f)=>(a.push({segment:r,isMatch:f%2!==0}),a),new Array);return{label:k,segments:o,matched:!0}}let H,N,g,s,m,v,P,b,z,x,$,R,A,E,q,Q,T,W,X,Y,Z,ee,le,te,ae,re,oe,ne,se,ce,ue,ie,me,de,S,w,B,fe;({defineComponent:H}=await j("vue")),{unref:N,createVNode:g,createElementVNode:s,openBlock:m,createElementBlock:v,createCommentVNode:P,toDisplayString:b,renderList:z,Fragment:x,renderSlot:$,mergeProps:R,normalizeClass:A,createBlock:E,isRef:q,withCtx:Q}=await j("vue"),T={class:"flex flex-col gap-4"},W={class:"bg-white flex gap-4 px-24 py-8 sticky top-0"},X={class:"hidden sm:inline xs:inline"},Y={key:0},Z={key:0,class:"flex flex-col"},ee={class:"flex flex-col"},le={class:"flex items-center px-24 py-12"},te={class:"fm-typo-en-body-md-400 text-fm-color-typo-secondary"},ae=s("div",{class:"py-4"},[s("hr",{class:"border-fm-color-neutral-gray-100"})],-1),re=["onClick"],oe={class:"fm-typo-en-body-lg-400 text-fm-color-typo-primary"},ne={class:"fm-typo-en-body-lg-400 px-24 py-12 text-center text-fm-color-primary"},se={class:"fm-typo-en-body-lg-400 px-24 py-12 text-center text-fm-color-typo-secondary"},ce={key:3,class:"flex flex-col"},ue=["onClick"],ie={class:"flex flex-col gap-4"},me={key:0,class:"text-fm-color-typo-secondary"},de={class:"px-16 py-4"},{computed:S,ref:w,watch:B}=await j("vue"),fe=5,be=H({__name:"FmGlobalSearch",props:{show:{type:Boolean,default:!1},modelValue:{default:""},suggestions:{default:void 0},onSearch:{type:Function,default:void 0},placeholder:{default:""},hintPlaceholder:{default:""},notFoundPlaceholder:{default:""},recentSearchKey:{default:""}},emits:["dismiss","submit","update:show","update:modelValue"],setup(F,{emit:k}){const e=F,o=k;function a(){if(!e.recentSearchKey)return;const l=e.recentSearchKey;localStorage.removeItem(l),c.value=[]}function r(){if(!e.recentSearchKey)return;const l=e.recentSearchKey,t=localStorage.getItem(l);if(!t)return[];try{return JSON.parse(t)}catch{return new Array}}const f=he(function(l){if(!e.recentSearchKey)return;const t=e.recentSearchKey,d=l().trim();if(!t||!d)return;const h=r()??[],i=[...new Set([d,...h])].slice(0,fe),L=JSON.stringify(i);return localStorage.setItem(t,L),c.value=i,i},800),c=w(r()),p=ye(e,"show");B([()=>e.show],()=>{e.show?(n.value=null,e.suggestions&&ve()):o("dismiss")});const C=ye(e,"modelValue"),u=w(e.modelValue);B([()=>u.value],()=>{ke()});const n=w(null),K=w(!0),I=S(()=>{var l;return K.value?(l=n.value)==null?void 0:l.slice(0,5):n.value});B([()=>n.value],([])=>{K.value=!0});const V=S(()=>n.value===null),_=w(!1),O=w(""),J=()=>u.value;async function ve(){if(!p.value)return;const l=J();if(!l)return;const t=Math.random().toString();if(O.value=t,e.suggestions){n.value=e.suggestions.map(d=>({label:M(l,d.label),sublabel:d.sublabel?M(l,d.sublabel):null})).filter(d=>{var h;return d.label.matched||((h=d.sublabel)==null?void 0:h.matched)}),f(J);return}if(e.onSearch)try{_.value=!0;const d=await e.onSearch(l);t===O.value&&(n.value=d.map(h=>({label:M(l,h.label),sublabel:h.sublabel?M(l,h.sublabel):null})))}catch{t===O.value&&(n.value=[])}finally{t===O.value&&(_.value=!1,f(J))}}function we(l){p.value=!1,o("dismiss"),C.value=l}const ke=he(ve),pe=S(()=>c.value&&c.value.length===0),Ce=S(()=>(!u.value||V.value)&&!pe.value),Ve=S(()=>(!u.value||V.value)&&pe.value),Ke=S(()=>u.value&&n.value&&n.value.length===0);return(l,t)=>(m(),E(Fe,{"model-value":N(p),"onUpdate:modelValue":t[4]||(t[4]=d=>q(p)?p.value=d:null),"fullscreen-size":"sm","dismiss-away":""},{default:Q(()=>{var d,h;return[s("div",T,[s("div",W,[s("div",X,[g(D,{"prepend-icon":"arrow_back",variant:"tertiary",onClick:t[0]||(t[0]=i=>p.value=!1)})]),g(Me,{"model-value":u.value,"onUpdate:modelValue":t[1]||(t[1]=i=>u.value=i),class:"flex-1",placeholder:l.placeholder},null,8,["model-value","placeholder"])]),_.value?(m(),v("div",Y,[g($e,{size:"xl"})])):(m(),v(x,{key:1},[Ce.value?(m(),v(x,{key:0},[l.recentSearchKey&&((d=c.value)!=null&&d.length)?(m(),v("div",Z,[s("div",ee,[s("div",le,[s("div",te,b(N(_e)("search.recent")),1),g(Ee),g(D,{label:N(_e)("search.clearHistory"),variant:"plain",size:"md",onClick:t[2]||(t[2]=i=>a())},null,8,["label"])]),ae]),s("div",null,[(m(!0),v(x,null,z(c.value,(i,L)=>(m(),v("div",{key:L,class:"cursor-pointer flex gap-8 hover:bg-fm-color-neutral-gray-100 items-center px-24 py-12",onClick:y=>u.value=i},[g(ge,{size:"lg",name:"history"}),s("div",oe,b(i),1)],8,re))),128))])])):P("",!0)],64)):Ve.value?$(l.$slots,"hint-placeholder",{key:1},()=>[s("div",ne,b(l.hintPlaceholder),1)]):Ke.value?$(l.$slots,"not-found-placeholder",{key:2},()=>[s("div",se,b(l.notFoundPlaceholder||`No result found for \u201C${u.value}\u201D`),1)]):(m(),v("div",ce,[(m(!0),v(x,null,z(I.value,(i,L)=>$(l.$slots,"search-result-item",R({key:L,ref_for:!0},{result:i}),()=>[s("div",{class:"cursor-pointer flex gap-16 hover:bg-fm-color-neutral-gray-100 items-center px-24 py-12 w-full",onClick:y=>we(i.label.label)},[g(ge,{size:"lg",name:"arrow_forward"}),s("div",ie,[s("div",null,[(m(!0),v(x,null,z(i.label.segments,(y,U)=>(m(),v("span",{key:U,class:A({"fm-typo-en-body-lg-400":!y.isMatch,"fm-typo-en-body-lg-600":y.isMatch})},b(y.segment),3))),128))]),i.sublabel?(m(),v("div",me,[(m(!0),v(x,null,z(i.sublabel.segments,(y,U)=>(m(),v("span",{key:U,class:A({"fm-typo-en-body-md-400":!y.isMatch,"fm-typo-en-body-md-600":y.isMatch})},b(y.segment),3))),128))])):P("",!0)])],8,ue)])),128)),s("div",de,[K.value&&(((h=n.value)==null?void 0:h.length)??0)>5?(m(),E(D,{key:0,label:`show ${n.value.length-5} more results`,variant:"plain",onClick:t[3]||(t[3]=i=>K.value=!1)},null,8,["label"])):P("",!0)])]))],64))])]}),_:3},8,["model-value"]))}})});export{be as _,je as __tla};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{importShared as k,__tla as E}from"./__federation_fn_import-CYKgoy9p.js";import{_ as H,__tla as L}from"./FmStepHeader.vue_vue_type_script_setup_true_lang-A0GplieP.js";import i,{__tla as T}from"./__federation_expose_FmButton-BoCn-KbF.js";import U,{__tla as j}from"./__federation_expose_FmMenu-BH6bzCSj.js";import Y,{__tla as q}from"./__federation_expose_FmMenuItem-xv_GA8Vz.js";import D,{__tla as G}from"./__federation_expose_FmBottomSheet-
|
|
1
|
+
import{importShared as k,__tla as E}from"./__federation_fn_import-CYKgoy9p.js";import{_ as H,__tla as L}from"./FmStepHeader.vue_vue_type_script_setup_true_lang-A0GplieP.js";import i,{__tla as T}from"./__federation_expose_FmButton-BoCn-KbF.js";import U,{__tla as j}from"./__federation_expose_FmMenu-BH6bzCSj.js";import Y,{__tla as q}from"./__federation_expose_FmMenuItem-xv_GA8Vz.js";import D,{__tla as G}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{t as R,__tla as W}from"./locale-DnpNb53i.js";let P,Z=Promise.all([(()=>{try{return E}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return W}catch{}})()]).then(async()=>{let S,r,n,l,s,d,p,h,b,_,y,f,C,g,x,w,z,B,I,M;({defineComponent:S}=await k("vue")),{openBlock:r,createBlock:n,createCommentVNode:l,renderSlot:s,withCtx:d,createVNode:p,unref:h,renderList:b,Fragment:_,createElementBlock:y,createElementVNode:f,normalizeClass:C,normalizeStyle:g,Teleport:x}=await k("vue"),w={class:"bg-white flex fm-corner-radius-md gap-4 items-center px-24 py-16"},z={class:"flex gap-4 items-center xs:hidden"},B={key:1,class:"hidden xs:flex"},{computed:I,ref:M}=await k("vue"),P=S({__name:"FmPageHead",props:{title:{default:()=>""},description:{default:()=>""},backButton:{type:Boolean,default:()=>!1},actions:{default:()=>[]},zIndexForBottomSheet:{default:void 0},titleBold:{type:Boolean,default:()=>!0},primaryActionXsBottomMargin:{}},emits:["click:back","click:action"],setup(F,{emit:V}){const m=F,c=V,o=I(()=>{const a=[...m.actions],e=a.findIndex(u=>u.isPrimary),t=a[e],[A,$,...N]=a.filter((u,X)=>X!==e);return{primaryAction:t,firstSecondaryAction:A,secondSecondaryAction:$,showMoreSecondary:N,bottomSheetActions:a.filter(u=>!u.isPrimary),fabActions:a.filter(u=>u.isPrimary)}}),v=M(!1);return(a,e)=>(r(),y("div",w,[a.backButton?(r(),n(i,{key:0,icon:"arrow_back","icon-color":"black",size:"md",type:"button",variant:"tertiary",onClick:e[0]||(e[0]=t=>c("click:back"))})):l("",!0),s(a.$slots,"prepend"),p(H,{description:a.description,title:a.title,"title-bold":a.titleBold,class:"flex-grow"},{title:d(()=>[s(a.$slots,"title")]),description:d(()=>[s(a.$slots,"description")]),_:3},8,["description","title","title-bold"]),f("div",z,[o.value.firstSecondaryAction?(r(),n(i,{key:0,"append-icon":o.value.firstSecondaryAction.appendIcon,"bg-color":o.value.firstSecondaryAction.bgColor,"border-color":o.value.firstSecondaryAction.borderColor,"icon-color":o.value.firstSecondaryAction.iconColor,label:o.value.firstSecondaryAction.label,"prepend-icon":o.value.firstSecondaryAction.prependIcon,"text-color":o.value.firstSecondaryAction.fontColor,variant:o.value.firstSecondaryAction.variant??"tertiary",size:"md",type:"button",onClick:e[1]||(e[1]=t=>c("click:action",o.value.firstSecondaryAction.value))},null,8,["append-icon","bg-color","border-color","icon-color","label","prepend-icon","text-color","variant"])):l("",!0),o.value.secondSecondaryAction?(r(),n(i,{key:1,"append-icon":o.value.secondSecondaryAction.appendIcon,"bg-color":o.value.secondSecondaryAction.bgColor,"border-color":o.value.secondSecondaryAction.borderColor,"icon-color":o.value.secondSecondaryAction.iconColor,label:o.value.secondSecondaryAction.label,"prepend-icon":o.value.secondSecondaryAction.prependIcon,"text-color":o.value.secondSecondaryAction.fontColor,variant:o.value.firstSecondaryAction.variant??"tertiary",size:"md",type:"button",onClick:e[2]||(e[2]=t=>c("click:action",o.value.secondSecondaryAction.value))},null,8,["append-icon","bg-color","border-color","icon-color","label","prepend-icon","text-color","variant"])):l("",!0),o.value.showMoreSecondary.length>1?(r(),n(U,{key:2},{"menu-button":d(()=>[p(i,{"append-icon":"expand_more","icon-color":"black",label:h(R)("actions.more"),size:"md",type:"button",variant:"tertiary"},null,8,["label"])]),default:d(()=>[(r(!0),y(_,null,b(o.value.showMoreSecondary,t=>(r(),n(Y,{key:t.value,icon:t.prependIcon,label:t.label,onClick:A=>c("click:action",t.value)},null,8,["icon","label","onClick"]))),128))]),_:1})):o.value.showMoreSecondary.length===1?(r(),n(i,{key:3,"append-icon":o.value.showMoreSecondary[0].appendIcon,label:o.value.showMoreSecondary[0].label,"prepend-icon":o.value.showMoreSecondary[0].prependIcon,size:"md",type:"button",variant:"tertiary",onClick:e[3]||(e[3]=t=>c("click:action",o.value.showMoreSecondary[0].value))},null,8,["append-icon","label","prepend-icon"])):l("",!0),o.value.primaryAction?(r(),n(i,{key:4,"append-icon":o.value.primaryAction.appendIcon,"bg-color":o.value.primaryAction.bgColor,"border-color":o.value.primaryAction.borderColor,"icon-color":o.value.primaryAction.iconColor,label:o.value.primaryAction.label,"prepend-icon":o.value.primaryAction.prependIcon,"text-color":o.value.primaryAction.fontColor,variant:o.value.primaryAction.variant??"primary",size:"md",type:"button",onClick:e[4]||(e[4]=t=>c("click:action",o.value.primaryAction.value))},null,8,["append-icon","bg-color","border-color","icon-color","label","prepend-icon","text-color","variant"])):l("",!0)]),o.value.bottomSheetActions.length>0?(r(),y("div",B,[p(i,{icon:"more_vert","icon-color":"black",size:"md",type:"button",variant:"tertiary",onClick:e[5]||(e[5]=t=>v.value=!0)})])):l("",!0),s(a.$slots,"append"),(r(),n(x,{to:"body"},[p(D,{"model-value":v.value,"onUpdate:modelValue":e[6]||(e[6]=t=>v.value=t),"z-index":m.zIndexForBottomSheet,"dismiss-away":""},{default:d(()=>[p(J,null,{default:d(()=>[(r(!0),y(_,null,b(o.value.bottomSheetActions,t=>(r(),n(O,{key:t.value,label:t.label,class:"hover:bg-fm-color-neutral-gray-100",onClick:A=>{c("click:action",t.value),v.value=!1}},null,8,["label","onClick"]))),128))]),_:1})]),_:1},8,["model-value","z-index"]),f("div",{class:C(["fixed hidden right-16 xs:inline",{"bottom-[68px]":!m.primaryActionXsBottomMargin}]),style:g({bottom:m.primaryActionXsBottomMargin})},[o.value.primaryAction?(r(),n(i,{key:0,"append-icon":o.value.primaryAction.appendIcon,"bg-color":o.value.primaryAction.bgColor,"border-color":o.value.primaryAction.borderColor,"icon-color":o.value.primaryAction.iconColor,label:o.value.primaryAction.label,"prepend-icon":o.value.primaryAction.prependIcon,"text-color":o.value.primaryAction.fontColor,variant:o.value.primaryAction.variant??"fab",class:"fm-shadow-light-100",size:"md",type:"button",onClick:e[7]||(e[7]=t=>c("click:action",o.value.primaryAction.value))},null,8,["append-icon","bg-color","border-color","icon-color","label","prepend-icon","text-color","variant"])):l("",!0)],6)]))]))}})});export{P as _,Z 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-
|
|
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-C7VTRoFB.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-0t3eVCyf.js";import re,{__tla as oe}from"./__federation_expose_FmMenu-BH6bzCSj.js";import ce,{__tla as ne}from"./__federation_expose_FmMenuItem-xv_GA8Vz.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{importShared as D,__tla as Ae}from"./__federation_fn_import-CYKgoy9p.js";import{u as Ce,__tla as Be}from"./useProxiedModel-DbArcH0F.js";import $e,{__tla as Ye}from"./__federation_expose_FmIcon-B5L3FtOO.js";import{__tla as ze}from"./index-Cy3ztVSa.js";import{bs as Ie,bm as z,b9 as Pe,bn as H,o as Te,n as Ve,bc as Oe,bj as je,bw as Me,g as Xe,bl as L,$ as x,aY as He}from"./runtime-core.esm-bundler-Cfnj3k_D.js";import{F as Le,__tla as Fe}from"./FmOverlay-BisyjWGP.js";import{_ as Ne}from"./_plugin-vue_export-helper-DlAUqK2U.js";let fe,Re=Promise.all([(()=>{try{return Ae}catch{}})(),(()=>{try{return Be}catch{}})(),(()=>{try{return Ye}catch{}})(),(()=>{try{return ze}catch{}})(),(()=>{try{return Fe}catch{}})()]).then(async()=>{function me(e){return Oe()?(je(e),!0):!1}function G(e){return typeof e=="function"?e():Me(e)}const ye=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const he=Object.prototype.toString,we=e=>he.call(e)==="[object Object]",I=()=>{};function _e(e){return Xe()}function be(...e){if(e.length!==1)return Ie(...e);const o=e[0];return typeof o=="function"?z(Pe(()=>({get:o,set:I}))):H(o)}function Se(e,o=!0,r){_e()?Te(e,r):o?e():Ve(e)}function xe(e){var o;const r=G(e);return(o=r==null?void 0:r.$el)!=null?o:r}const W=ye?window:void 0;function g(...e){let o,r,c,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,c,s]=e,o=W):[o,r,c,s]=e,!o)return I;Array.isArray(r)||(r=[r]),Array.isArray(c)||(c=[c]);const f=[],w=()=>{f.forEach(t=>t()),f.length=0},b=(t,n,v,p)=>(t.addEventListener(n,v,p),()=>t.removeEventListener(n,v,p)),d=He(()=>[xe(o),G(s)],([t,n])=>{if(w(),!t)return;const v=we(n)?{...n}:n;f.push(...r.flatMap(p=>c.map(E=>b(t,p,E,v))))},{immediate:!0,flush:"post"}),i=()=>{d(),w()};return me(i),i}function ge(e,o={}){const r=be(e),{threshold:c=50,onSwipe:s,onSwipeEnd:f,onSwipeStart:w,disableTextSelect:b=!1}=o,d=L({x:0,y:0}),i=(l,a)=>{d.x=l,d.y=a},t=L({x:0,y:0}),n=(l,a)=>{t.x=l,t.y=a},v=x(()=>d.x-t.x),p=x(()=>d.y-t.y),{max:E,abs:y}=Math,C=x(()=>E(y(v.value),y(p.value))>=c),S=H(!1),B=H(!1),$=x(()=>C.value?y(v.value)>y(p.value)?v.value>0?"left":"right":p.value>0?"up":"down":"none"),h=l=>{var a,u,m;const M=l.buttons===0,X=l.buttons===1;return(m=(u=(a=o.pointerTypes)==null?void 0:a.includes(l.pointerType))!=null?u:M||X)!=null?m:!0},Y=[g(e,"pointerdown",l=>{if(!h(l))return;B.value=!0;const a=l.target;a==null||a.setPointerCapture(l.pointerId);const{clientX:u,clientY:m}=l;i(u,m),n(u,m),w==null||w(l)}),g(e,"pointermove",l=>{if(!h(l)||!B.value)return;const{clientX:a,clientY:u}=l;n(a,u),!S.value&&C.value&&(S.value=!0),S.value&&(s==null||s(l))}),g(e,"pointerup",l=>{h(l)&&(S.value&&(f==null||f(l,$.value)),B.value=!1,S.value=!1)})];Se(()=>{var l,a,u,m,M,X,ve,pe;(a=(l=r.value)==null?void 0:l.style)==null||a.setProperty("touch-action","none"),b&&((m=(u=r.value)==null?void 0:u.style)==null||m.setProperty("-webkit-user-select","none"),(X=(M=r.value)==null?void 0:M.style)==null||X.setProperty("-ms-user-select","none"),(pe=(ve=r.value)==null?void 0:ve.style)==null||pe.setProperty("user-select","none"))});const R=()=>Y.forEach(l=>l());return{isSwiping:z(S),direction:z($),posStart:z(d),posEnd:z(t),distanceX:v,distanceY:p,stop:R}}function ke(e,o={}){const{threshold:r=50,onSwipe:c,onSwipeEnd:s,onSwipeStart:f,passive:w=!0,window:b=W}=o,d=L({x:0,y:0}),i=L({x:0,y:0}),t=x(()=>d.x-i.x),n=x(()=>d.y-i.y),{max:v,abs:p}=Math,E=x(()=>v(p(t.value),p(n.value))>=r),y=H(!1),C=x(()=>E.value?p(t.value)>p(n.value)?t.value>0?"left":"right":n.value>0?"up":"down":"none"),S=a=>[a.touches[0].clientX,a.touches[0].clientY],B=(a,u)=>{d.x=a,d.y=u},$=(a,u)=>{i.x=a,i.y=u};let h;const Y=Ee(b==null?void 0:b.document);w?h=Y?{passive:!0}:{capture:!1}:h=Y?{passive:!1,capture:!0}:{capture:!0};const R=a=>{y.value&&(s==null||s(a,C.value)),y.value=!1},l=[g(e,"touchstart",a=>{if(a.touches.length!==1)return;h.capture&&!h.passive&&a.preventDefault();const[u,m]=S(a);B(u,m),$(u,m),f==null||f(a)},h),g(e,"touchmove",a=>{if(a.touches.length!==1)return;const[u,m]=S(a);$(u,m),!y.value&&E.value&&(y.value=!0),y.value&&(c==null||c(a))},h),g(e,["touchend","touchcancel"],R,h)];return{isPassiveEventSupported:Y,isSwiping:y,direction:C,coordsStart:d,coordsEnd:i,lengthX:t,lengthY:n,stop:()=>l.forEach(a=>a())}}function Ee(e){if(!e)return!1;let o=!1;const r={get passive(){return o=!0,!1}};return e.addEventListener("x",I,r),e.removeEventListener("x",I),o}let q,A,_,J,P,K,k,T,V,Q,U,F,O,N,Z,ee,te,ae,ne,oe,le,re,se,ue,ie,j,ce,de;({defineComponent:q}=await D("vue")),{renderSlot:A,createElementVNode:_,unref:J,createVNode:P,toDisplayString:K,openBlock:k,createElementBlock:T,createCommentVNode:V,normalizeClass:Q,normalizeStyle:U,Transition:F,withCtx:O,createBlock:N,Teleport:Z,pushScopeId:ee,popScopeId:te}=await D("vue"),ae=e=>(ee("data-v-9f77466f"),e=e(),te(),e),ne=ae(()=>_("div",{class:"fm-bottom-sheet--gesture--stick"},null,-1)),oe=[ne],le={key:0,class:"fm-bottom-sheet--header"},re={class:"fm-bottom-sheet--header--content"},se={key:0},ue={class:"overflow-y-auto"},ie={class:"flex gap-8 items-center"},{ref:j,watch:ce}=await D("vue"),de=q({__name:"FmBottomSheet",props:{header:{default:""},modelValue:{type:Boolean,default:!1},dismissAway:{type:Boolean,default:!1},zIndex:{default:void 0},noHeader:{type:Boolean,default:!1},noOverlay:{type:Boolean,default:!1}},emits:["update:modelValue","on:clickedAway"],setup(e){const o=e,r=j(null),c=j(null),s=j(0),{direction:f,distanceY:w}=ge(r,{threshold:0,onSwipe(){f.value==="down"&&(s.value=Math.min(w.value,0))},onSwipeEnd(){var n;const t=(n=c.value)==null?void 0:n.clientHeight;t&&s.value<-t/2?i.value=!1:s.value=0}}),{direction:b,lengthY:d}=ke(r,{passive:!1,threshold:0,onSwipe(){b.value==="down"&&(s.value=Math.min(d.value,0))},onSwipeEnd(){var n;const t=(n=c.value)==null?void 0:n.clientHeight;t&&s.value<-t/2?i.value=!1:s.value=0}}),i=Ce(o,"modelValue");return ce(i,t=>{t&&(s.value=0)}),(t,n)=>(k(),T("div",null,[_("div",{onClick:n[0]||(n[0]=v=>i.value=!0)},[A(t.$slots,"bottom-sheet-button",{},void 0,!0)]),(k(),N(Z,{to:"body"},[P(F,null,{default:O(()=>[J(i)?(k(),N(Le,{key:0,"dismiss-away":o.dismissAway,"z-index":o.zIndex,transparent:o.noOverlay,onClose:n[2]||(n[2]=v=>i.value=!1),onClickedAway:n[3]||(n[3]=v=>t.$emit("on:clickedAway"))},{default:O(()=>[P(F,{appear:"",name:"slide"},{default:O(()=>[_("div",{ref_key:"wrapperRef",ref:c,style:U({bottom:`${s.value}px`}),class:Q(["fm-bottom-sheet",o.noOverlay&&"shadow-md"])},[_("div",{ref_key:"gestureRef",ref:r,class:"fm-bottom-sheet--gesture"},oe,512),t.noHeader?V("",!0):(k(),T("div",le,[_("div",re,[_("div",{class:"flex h-24 items-center justify-center w-24",onClick:n[1]||(n[1]=v=>i.value=!1)},[P($e,{name:"arrow_back"})]),A(t.$slots,"bottom-sheet-header",{},()=>[t.header?(k(),T("div",se,K(t.header),1)):V("",!0)],!0)])])),_("div",ue,[A(t.$slots,"default",{},void 0,!0)]),_("div",ie,[A(t.$slots,"bottom-sheet-footer",{},void 0,!0)])],6)]),_:3})]),_:3},8,["dismiss-away","z-index","transparent"])):V("",!0)]),_:3})]))]))}}),fe=Ne(de,[["__scopeId","data-v-9f77466f"]])});export{Re as __tla,fe as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.fm-bottom-sheet[data-v-
|
|
1
|
+
.fm-bottom-sheet[data-v-9f77466f]{position:absolute;bottom:0;left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));max-height:calc(100% - 64px);width:100%;max-width:480px;display:flex;flex-direction:column;background-color:var(--fm-color-neutral-white);border-top-left-radius:32px;border-top-right-radius:32px}.fm-bottom-sheet--gesture[data-v-9f77466f]{padding-top:16px;padding-bottom:16px;display:flex;align-items:center;justify-content:center}.fm-bottom-sheet--gesture--stick[data-v-9f77466f]{height:4px;width:32px;border-radius:9999px;background-color:var(--fm-color-neutral-gray-300)}.fm-bottom-sheet--header[data-v-9f77466f]{display:flex;align-items:center;justify-content:space-between;padding-top:4px;padding-bottom:4px;font-size:1.375rem;font-weight:600;line-height:1.5rem;letter-spacing:.015em;text-decoration-line:none;color:var(--fm-color-neutral-gray-500)}.fm-bottom-sheet--header--content[data-v-9f77466f]{display:flex;align-items:center;justify-content:center}.fm-bottom-sheet--header--content[data-v-9f77466f]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.fm-bottom-sheet--header--content[data-v-9f77466f]{padding:8px 16px}.slide-enter-from[data-v-9f77466f],.slide-leave-to[data-v-9f77466f]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.slide-enter-active[data-v-9f77466f],.slide-leave-active[data-v-9f77466f]{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.v-enter-active[data-v-9f77466f],.v-leave-active[data-v-9f77466f]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.v-enter-from[data-v-9f77466f],.v-leave-to[data-v-9f77466f]{opacity:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,__tla as a}from"./FmGlobalSearch.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import{_ as t,__tla as a}from"./FmGlobalSearch.vue_vue_type_script_setup_true_lang-DPCgouhP.js";let _=Promise.all([(()=>{try{return a}catch{}})()]).then(async()=>{});export{_ as __tla,t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,__tla as a}from"./FmPageHead.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import{_ as t,__tla as a}from"./FmPageHead.vue_vue_type_script_setup_true_lang-DpJF5sT3.js";let _=Promise.all([(()=>{try{return a}catch{}})()]).then(async()=>{});export{_ as __tla,t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.fm-side-sheet[data-v-db28d360]{position:absolute;top:0;right:0;height:100%;width:100%;min-width:360px;display:flex;flex-direction:column;background-color:var(--fm-color-neutral-white);border-top-left-radius:16px;border-bottom-left-radius:16px}@media (min-width: 0px) and (max-width: 647px){.fm-side-sheet[data-v-db28d360]{border-radius:0}}.fm-side-sheet[data-v-db28d360]{padding:24px}.slide-enter-from[data-v-db28d360],.slide-leave-to[data-v-db28d360]{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.slide-enter-active[data-v-db28d360],.slide-leave-active[data-v-db28d360]{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.v-enter-active[data-v-db28d360],.v-leave-active[data-v-db28d360]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.v-enter-from[data-v-db28d360],.v-leave-to[data-v-db28d360]{opacity:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{importShared as f,__tla as N}from"./__federation_fn_import-CYKgoy9p.js";import F,{__tla as O}from"./__federation_expose_FmIcon-B5L3FtOO.js";import{u as R,__tla as g}from"./useProxiedModel-DbArcH0F.js";import{F as j,__tla as D}from"./FmOverlay-BisyjWGP.js";import{_ as E}from"./_plugin-vue_export-helper-DlAUqK2U.js";let b,T=Promise.all([(()=>{try{return N}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return g}catch{}})(),(()=>{try{return D}catch{}})()]).then(async()=>{let y,o,d,_,h,t,n,l,s,v,x,i,m,u,w,z,A,k,C,B,I,S,$;({defineComponent:y}=await f("vue")),{renderSlot:o,createElementVNode:d,unref:_,toDisplayString:h,openBlock:t,createElementBlock:n,createCommentVNode:l,createBlock:s,resolveDynamicComponent:v,mergeProps:x,withCtx:i,Transition:m,createVNode:u,Teleport:w,pushScopeId:z,popScopeId:A}=await f("vue"),k={class:"flex fm-typo-en-title-md-600 items-center justify-between text-fm-color-typo-primary pb-16"},C={key:0},B={class:"h-full overflow-y-auto"},I={key:0,class:"pt-24"},{ref:S}=await f("vue"),$=y({__name:"FmSideSheet",props:{header:{default:""},modelValue:{type:Boolean,default:!1},dismissAway:{type:Boolean,default:!1},closeButton:{type:Boolean,default:!0},maxWidth:{default:void 0},zIndex:{default:void 0},isContainer:{default:"div"},isContainerProps:{default:()=>({})},closeIcon:{default:"close"},noOverlay:{type:Boolean,default:!1}},emits:["update:modelValue","on:clickedAway"],setup(P,{expose:W}){const r=P,c=R(r,"modelValue"),V=S();return W({containerRef:V}),(e,a)=>(t(),n("div",null,[d("div",{onClick:a[0]||(a[0]=p=>c.value=!0)},[o(e.$slots,"side-sheet-button",{},void 0,!0)]),(t(),s(w,{to:"body"},[u(m,null,{default:i(()=>[_(c)?(t(),s(j,{key:0,"dismiss-away":r.dismissAway,"z-index":r.zIndex,transparent:r.noOverlay,onClose:a[2]||(a[2]=p=>c.value=!1),onClickedAway:a[3]||(a[3]=p=>e.$emit("on:clickedAway"))},{default:i(()=>[u(m,{appear:"",name:"slide"},{default:i(()=>[(t(),s(v(e.isContainer),x({ref_key:"containerRef",ref:V,class:[[!e.maxWidth&&"max-w-[400px]",r.noOverlay&&"shadow-md"],"fm-side-sheet xs:w-full"],style:{maxWidth:`${e.maxWidth}px`}},e.isContainerProps),{default:i(()=>[d("div",k,[o(e.$slots,"side-sheet-header",{},()=>[e.header?(t(),n("div",C,h(e.header),1)):l("",!0)],!0),e.closeButton?(t(),s(F,{key:0,name:e.closeIcon,class:"cursor-pointer",size:"md",onClick:a[1]||(a[1]=p=>c.value=!1)},null,8,["name"])):l("",!0)]),d("div",B,[o(e.$slots,"default",{},void 0,!0)]),e.$slots["side-sheet-footer"]?(t(),n("div",I,[o(e.$slots,"side-sheet-footer",{},void 0,!0)])):l("",!0)]),_:3},16,["class","style"]))]),_:3})]),_:3},8,["dismiss-away","z-index","transparent"])):l("",!0)]),_:3})]))]))}}),b=E($,[["__scopeId","data-v-db28d360"]])});export{T as __tla,b as default};
|