@fluid-app/rep-widgets 0.1.9 → 0.1.11
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/CalendarWidget-4C5V2LX7.cjs +18 -0
- package/dist/{CalendarWidget-MQ2ID7YS.cjs.map → CalendarWidget-4C5V2LX7.cjs.map} +1 -1
- package/dist/{CalendarWidget-3FLYUVHK.js → CalendarWidget-OJHI3AYU.js} +3 -3
- package/dist/{CalendarWidget-3FLYUVHK.js.map → CalendarWidget-OJHI3AYU.js.map} +1 -1
- package/dist/CarouselWidget-KJZHB6XK.cjs +19 -0
- package/dist/{CarouselWidget-DB2WSCE7.cjs.map → CarouselWidget-KJZHB6XK.cjs.map} +1 -1
- package/dist/CarouselWidget-M3CEN3HQ.js +6 -0
- package/dist/{CarouselWidget-BCNJKS4N.js.map → CarouselWidget-M3CEN3HQ.js.map} +1 -1
- package/dist/{CatchUpWidget-PJNNL5GI.js → CatchUpWidget-RARSAVXN.js} +3 -3
- package/dist/{CatchUpWidget-PJNNL5GI.js.map → CatchUpWidget-RARSAVXN.js.map} +1 -1
- package/dist/CatchUpWidget-YTMRMLWH.cjs +18 -0
- package/dist/{CatchUpWidget-ADY4ZUDD.cjs.map → CatchUpWidget-YTMRMLWH.cjs.map} +1 -1
- package/dist/ChartWidget-463QVROY.cjs +17 -0
- package/dist/{ChartWidget-JX5J2OVP.cjs.map → ChartWidget-463QVROY.cjs.map} +1 -1
- package/dist/ChartWidget-554S2GQF.js +4 -0
- package/dist/{ChartWidget-YP5OXREZ.js.map → ChartWidget-554S2GQF.js.map} +1 -1
- package/dist/{MySiteWidget-L37MCRTV.js → MySiteWidget-CXZTDDJM.js} +3 -3
- package/dist/{MySiteWidget-L37MCRTV.js.map → MySiteWidget-CXZTDDJM.js.map} +1 -1
- package/dist/MySiteWidget-J7KD76GZ.cjs +18 -0
- package/dist/{MySiteWidget-2XUSXN5I.cjs.map → MySiteWidget-J7KD76GZ.cjs.map} +1 -1
- package/dist/RecentActivityWidget-5UJ4UN2Y.cjs +18 -0
- package/dist/{RecentActivityWidget-ZYOFEB5R.cjs.map → RecentActivityWidget-5UJ4UN2Y.cjs.map} +1 -1
- package/dist/RecentActivityWidget-BF6AWDCX.js +5 -0
- package/dist/{RecentActivityWidget-USXCTA5W.js.map → RecentActivityWidget-BF6AWDCX.js.map} +1 -1
- package/dist/TableWidget-HVBEVBC6.cjs +18 -0
- package/dist/{TableWidget-JT4BJYGZ.cjs.map → TableWidget-HVBEVBC6.cjs.map} +1 -1
- package/dist/TableWidget-PMQFL7VC.js +5 -0
- package/dist/{TableWidget-6SXE6KTY.js.map → TableWidget-PMQFL7VC.js.map} +1 -1
- package/dist/ToDoWidget-34ZHMX4G.cjs +18 -0
- package/dist/{ToDoWidget-5EXKPVSO.cjs.map → ToDoWidget-34ZHMX4G.cjs.map} +1 -1
- package/dist/ToDoWidget-ZAV3YC23.js +5 -0
- package/dist/{ToDoWidget-MI3K365J.js.map → ToDoWidget-ZAV3YC23.js.map} +1 -1
- package/dist/{chunk-CPZXEI3R.cjs → chunk-2KV26SKG.cjs} +4 -4
- package/dist/chunk-2KV26SKG.cjs.map +1 -0
- package/dist/{chunk-JS4NC5JR.cjs → chunk-2QNE7OLP.cjs} +47 -4
- package/dist/chunk-2QNE7OLP.cjs.map +1 -0
- package/dist/{chunk-77WTAKDK.js → chunk-6EKEDQJB.js} +3 -3
- package/dist/chunk-6EKEDQJB.js.map +1 -0
- package/dist/{chunk-EL6H7WGK.js → chunk-AMNYGW7I.js} +22 -4
- package/dist/chunk-AMNYGW7I.js.map +1 -0
- package/dist/{chunk-TMG7H4K5.cjs → chunk-BC72P5EU.cjs} +21 -4
- package/dist/chunk-BC72P5EU.cjs.map +1 -0
- package/dist/{chunk-XX2N55EZ.js → chunk-BQVC5IMY.js} +66 -15
- package/dist/chunk-BQVC5IMY.js.map +1 -0
- package/dist/{chunk-HF7QCK7D.cjs → chunk-CMPGAQCS.cjs} +57 -4
- package/dist/chunk-CMPGAQCS.cjs.map +1 -0
- package/dist/{chunk-STGAGLIG.cjs → chunk-DJPXRRHL.cjs} +22 -4
- package/dist/chunk-DJPXRRHL.cjs.map +1 -0
- package/dist/{chunk-2YQKGRGW.js → chunk-EEZISZ5T.js} +47 -4
- package/dist/chunk-EEZISZ5T.js.map +1 -0
- package/dist/{chunk-3CAOLNTX.js → chunk-FM3TRTCP.js} +21 -4
- package/dist/chunk-FM3TRTCP.js.map +1 -0
- package/dist/{chunk-XCHMHDYQ.cjs → chunk-GXDSEJJL.cjs} +66 -15
- package/dist/chunk-GXDSEJJL.cjs.map +1 -0
- package/dist/{chunk-YGATS7HW.js → chunk-NUJO5V6H.js} +57 -4
- package/dist/chunk-NUJO5V6H.js.map +1 -0
- package/dist/{chunk-ITCLHIOM.cjs → chunk-OGV2OPY7.cjs} +4 -4
- package/dist/chunk-OGV2OPY7.cjs.map +1 -0
- package/dist/{chunk-VIG7PQWB.cjs → chunk-P6AKK6TA.cjs} +15 -15
- package/dist/chunk-P6AKK6TA.cjs.map +1 -0
- package/dist/{chunk-NLLBQM4P.js → chunk-QLXZEIFC.js} +3 -3
- package/dist/chunk-QLXZEIFC.js.map +1 -0
- package/dist/{chunk-DVHIQENH.js → chunk-UZF75XZJ.js} +3 -3
- package/dist/chunk-UZF75XZJ.js.map +1 -0
- package/dist/components/index.cjs +6 -6
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +8 -1
- package/dist/components/index.js.map +1 -1
- package/dist/contexts/index.d.cts +3 -3
- package/dist/contexts/index.d.ts +3 -3
- package/dist/ui/index.cjs +23 -26
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.d.cts +2 -61
- package/dist/ui/index.d.ts +2 -61
- package/dist/ui/index.js +1 -4
- package/dist/ui/index.js.map +1 -1
- package/dist/widgets/index.cjs +32 -36
- package/dist/widgets/index.cjs.map +1 -1
- package/dist/widgets/index.d.cts +204 -3
- package/dist/widgets/index.d.ts +204 -3
- package/dist/widgets/index.js +16 -20
- package/dist/widgets/index.js.map +1 -1
- package/package.json +5 -4
- package/dist/CalendarWidget-MQ2ID7YS.cjs +0 -18
- package/dist/CarouselWidget-BCNJKS4N.js +0 -8
- package/dist/CarouselWidget-DB2WSCE7.cjs +0 -21
- package/dist/CatchUpWidget-ADY4ZUDD.cjs +0 -18
- package/dist/ChartWidget-JX5J2OVP.cjs +0 -19
- package/dist/ChartWidget-YP5OXREZ.js +0 -6
- package/dist/MySiteWidget-2XUSXN5I.cjs +0 -18
- package/dist/RecentActivityWidget-USXCTA5W.js +0 -5
- package/dist/RecentActivityWidget-ZYOFEB5R.cjs +0 -18
- package/dist/TableWidget-6SXE6KTY.js +0 -7
- package/dist/TableWidget-JT4BJYGZ.cjs +0 -20
- package/dist/ToDoWidget-5EXKPVSO.cjs +0 -18
- package/dist/ToDoWidget-MI3K365J.js +0 -5
- package/dist/chunk-2YQKGRGW.js.map +0 -1
- package/dist/chunk-3CAOLNTX.js.map +0 -1
- package/dist/chunk-5HHN5MRZ.js +0 -11
- package/dist/chunk-5HHN5MRZ.js.map +0 -1
- package/dist/chunk-6U2FEES5.js +0 -55
- package/dist/chunk-6U2FEES5.js.map +0 -1
- package/dist/chunk-77WTAKDK.js.map +0 -1
- package/dist/chunk-CPZXEI3R.cjs.map +0 -1
- package/dist/chunk-DVHIQENH.js.map +0 -1
- package/dist/chunk-EL6H7WGK.js.map +0 -1
- package/dist/chunk-HDA2ZOV2.cjs +0 -13
- package/dist/chunk-HDA2ZOV2.cjs.map +0 -1
- package/dist/chunk-HF7QCK7D.cjs.map +0 -1
- package/dist/chunk-IJHUIM34.cjs +0 -58
- package/dist/chunk-IJHUIM34.cjs.map +0 -1
- package/dist/chunk-ITCLHIOM.cjs.map +0 -1
- package/dist/chunk-IY3BNQ5Y.js +0 -24
- package/dist/chunk-IY3BNQ5Y.js.map +0 -1
- package/dist/chunk-JS4NC5JR.cjs.map +0 -1
- package/dist/chunk-JSC4GMQG.js +0 -318
- package/dist/chunk-JSC4GMQG.js.map +0 -1
- package/dist/chunk-NLLBQM4P.js.map +0 -1
- package/dist/chunk-NOZVVD6G.cjs +0 -26
- package/dist/chunk-NOZVVD6G.cjs.map +0 -1
- package/dist/chunk-STGAGLIG.cjs.map +0 -1
- package/dist/chunk-TMG7H4K5.cjs.map +0 -1
- package/dist/chunk-UH3FAS2R.cjs +0 -353
- package/dist/chunk-UH3FAS2R.cjs.map +0 -1
- package/dist/chunk-VIG7PQWB.cjs.map +0 -1
- package/dist/chunk-XCHMHDYQ.cjs.map +0 -1
- package/dist/chunk-XX2N55EZ.js.map +0 -1
- package/dist/chunk-YGATS7HW.js.map +0 -1
package/dist/widgets/index.d.cts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import * as _fluid_app_rep_core_types from '@fluid-app/rep-core/types';
|
|
2
|
+
import { FontSizeOptions, ColorOptions, BackgroundValue, PaddingOptions, BorderRadiusOptions, WidgetSchema, AlignOptions, ButtonSizeOptions, SectionLayoutType, GapOptions, TypedWidgetSchema, ShareableItem } from '@fluid-app/rep-core/types';
|
|
1
3
|
import * as _fluid_app_rep_core_registries from '@fluid-app/rep-core/registries';
|
|
2
4
|
import { WidgetPropertySchema } from '@fluid-app/rep-core/registries';
|
|
3
5
|
export { gapValues } from '@fluid-app/rep-core/registries';
|
|
4
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
7
|
import { ComponentProps, ComponentType } from 'react';
|
|
6
|
-
import { FontSizeOptions, ColorOptions, BackgroundValue, PaddingOptions, BorderRadiusOptions, WidgetSchema, AlignOptions, ButtonSizeOptions, SectionLayoutType, GapOptions, TypedWidgetSchema, ShareableItem } from '@fluid-app/rep-core/types';
|
|
7
8
|
|
|
8
9
|
type TextWidgetProps = ComponentProps<"div"> & {
|
|
9
10
|
titleEnabled?: boolean;
|
|
@@ -117,7 +118,107 @@ type ChartWidgetProps = ComponentProps<"div"> & {
|
|
|
117
118
|
}>;
|
|
118
119
|
};
|
|
119
120
|
declare function ChartWidget({ titleEnabled, title, titleFontSize, titleColor, description, descriptionFontSize, descriptionColor, chartType, showLegend, showTooltip, showGrid, width, height, background, padding, borderRadius, dataKey, xAxisKey, data, chartConfig, className, ...props }: ChartWidgetProps): react_jsx_runtime.JSX.Element;
|
|
120
|
-
declare const chartWidgetPropertySchema:
|
|
121
|
+
declare const chartWidgetPropertySchema: {
|
|
122
|
+
widgetType: string;
|
|
123
|
+
displayName: string;
|
|
124
|
+
tabsConfig: {
|
|
125
|
+
id: string;
|
|
126
|
+
label: string;
|
|
127
|
+
}[];
|
|
128
|
+
dataSourceTargetProps: string[];
|
|
129
|
+
fields: (_fluid_app_rep_core_registries.ColorSelectFieldSchema | _fluid_app_rep_core_registries.TextSizeSelectFieldSchema | _fluid_app_rep_core_registries.CssUnitFieldSchema | _fluid_app_rep_core_registries.ButtonGroupFieldSchema<0 | 2 | 10 | 4 | 6 | 8> | _fluid_app_rep_core_registries.ButtonGroupFieldSchema<BorderRadiusOptions> | {
|
|
130
|
+
key: string;
|
|
131
|
+
label: string;
|
|
132
|
+
type: "boolean";
|
|
133
|
+
description: string;
|
|
134
|
+
defaultValue: boolean;
|
|
135
|
+
tab: string;
|
|
136
|
+
group: string;
|
|
137
|
+
requiresKeyToBeTrue?: never;
|
|
138
|
+
rows?: never;
|
|
139
|
+
options?: never;
|
|
140
|
+
} | {
|
|
141
|
+
key: string;
|
|
142
|
+
label: string;
|
|
143
|
+
type: "text";
|
|
144
|
+
description: string;
|
|
145
|
+
defaultValue: string;
|
|
146
|
+
tab: string;
|
|
147
|
+
group: string;
|
|
148
|
+
requiresKeyToBeTrue: string;
|
|
149
|
+
rows?: never;
|
|
150
|
+
options?: never;
|
|
151
|
+
} | {
|
|
152
|
+
key: string;
|
|
153
|
+
label: string;
|
|
154
|
+
type: "textarea";
|
|
155
|
+
description: string;
|
|
156
|
+
rows: number;
|
|
157
|
+
defaultValue: string;
|
|
158
|
+
tab: string;
|
|
159
|
+
group: string;
|
|
160
|
+
requiresKeyToBeTrue?: never;
|
|
161
|
+
options?: never;
|
|
162
|
+
} | {
|
|
163
|
+
key: string;
|
|
164
|
+
label: string;
|
|
165
|
+
type: "select";
|
|
166
|
+
description: string;
|
|
167
|
+
options: {
|
|
168
|
+
label: string;
|
|
169
|
+
value: string;
|
|
170
|
+
}[];
|
|
171
|
+
defaultValue: string;
|
|
172
|
+
tab: string;
|
|
173
|
+
group: string;
|
|
174
|
+
requiresKeyToBeTrue?: never;
|
|
175
|
+
rows?: never;
|
|
176
|
+
} | {
|
|
177
|
+
key: string;
|
|
178
|
+
type: "separator";
|
|
179
|
+
label: string;
|
|
180
|
+
tab: string;
|
|
181
|
+
group: string;
|
|
182
|
+
description?: never;
|
|
183
|
+
defaultValue?: never;
|
|
184
|
+
requiresKeyToBeTrue?: never;
|
|
185
|
+
rows?: never;
|
|
186
|
+
options?: never;
|
|
187
|
+
} | {
|
|
188
|
+
key: string;
|
|
189
|
+
label: string;
|
|
190
|
+
type: "text";
|
|
191
|
+
description: string;
|
|
192
|
+
defaultValue: string;
|
|
193
|
+
tab: string;
|
|
194
|
+
group: string;
|
|
195
|
+
requiresKeyToBeTrue?: never;
|
|
196
|
+
rows?: never;
|
|
197
|
+
options?: never;
|
|
198
|
+
} | {
|
|
199
|
+
type: "background";
|
|
200
|
+
key: string;
|
|
201
|
+
label: string;
|
|
202
|
+
description: string;
|
|
203
|
+
defaultValue: string;
|
|
204
|
+
tab: string;
|
|
205
|
+
group: string;
|
|
206
|
+
requiresKeyToBeTrue?: never;
|
|
207
|
+
rows?: never;
|
|
208
|
+
options?: never;
|
|
209
|
+
} | {
|
|
210
|
+
key: string;
|
|
211
|
+
label: string;
|
|
212
|
+
type: "dataSource";
|
|
213
|
+
description: string;
|
|
214
|
+
tab: string;
|
|
215
|
+
group: string;
|
|
216
|
+
defaultValue?: never;
|
|
217
|
+
requiresKeyToBeTrue?: never;
|
|
218
|
+
rows?: never;
|
|
219
|
+
options?: never;
|
|
220
|
+
})[];
|
|
221
|
+
};
|
|
121
222
|
|
|
122
223
|
type LayoutProps<T extends Record<string, ComponentType<any>> = Record<string, ComponentType<any>>> = {
|
|
123
224
|
sectionLayout?: SectionLayoutType;
|
|
@@ -381,7 +482,107 @@ declare const widgetPropertySchemas: {
|
|
|
381
482
|
CalendarWidget: () => Promise<_fluid_app_rep_core_registries.WidgetPropertySchema>;
|
|
382
483
|
CarouselWidget: () => Promise<_fluid_app_rep_core_registries.WidgetPropertySchema>;
|
|
383
484
|
CatchUpWidget: () => Promise<_fluid_app_rep_core_registries.WidgetPropertySchema>;
|
|
384
|
-
ChartWidget: () => Promise<
|
|
485
|
+
ChartWidget: () => Promise<{
|
|
486
|
+
widgetType: string;
|
|
487
|
+
displayName: string;
|
|
488
|
+
tabsConfig: {
|
|
489
|
+
id: string;
|
|
490
|
+
label: string;
|
|
491
|
+
}[];
|
|
492
|
+
dataSourceTargetProps: string[];
|
|
493
|
+
fields: (_fluid_app_rep_core_registries.ColorSelectFieldSchema | _fluid_app_rep_core_registries.TextSizeSelectFieldSchema | _fluid_app_rep_core_registries.CssUnitFieldSchema | _fluid_app_rep_core_registries.ButtonGroupFieldSchema<0 | 2 | 10 | 4 | 6 | 8> | _fluid_app_rep_core_registries.ButtonGroupFieldSchema<_fluid_app_rep_core_types.BorderRadiusOptions> | {
|
|
494
|
+
key: string;
|
|
495
|
+
label: string;
|
|
496
|
+
type: "boolean";
|
|
497
|
+
description: string;
|
|
498
|
+
defaultValue: boolean;
|
|
499
|
+
tab: string;
|
|
500
|
+
group: string;
|
|
501
|
+
requiresKeyToBeTrue?: never;
|
|
502
|
+
rows?: never;
|
|
503
|
+
options?: never;
|
|
504
|
+
} | {
|
|
505
|
+
key: string;
|
|
506
|
+
label: string;
|
|
507
|
+
type: "text";
|
|
508
|
+
description: string;
|
|
509
|
+
defaultValue: string;
|
|
510
|
+
tab: string;
|
|
511
|
+
group: string;
|
|
512
|
+
requiresKeyToBeTrue: string;
|
|
513
|
+
rows?: never;
|
|
514
|
+
options?: never;
|
|
515
|
+
} | {
|
|
516
|
+
key: string;
|
|
517
|
+
label: string;
|
|
518
|
+
type: "textarea";
|
|
519
|
+
description: string;
|
|
520
|
+
rows: number;
|
|
521
|
+
defaultValue: string;
|
|
522
|
+
tab: string;
|
|
523
|
+
group: string;
|
|
524
|
+
requiresKeyToBeTrue?: never;
|
|
525
|
+
options?: never;
|
|
526
|
+
} | {
|
|
527
|
+
key: string;
|
|
528
|
+
label: string;
|
|
529
|
+
type: "select";
|
|
530
|
+
description: string;
|
|
531
|
+
options: {
|
|
532
|
+
label: string;
|
|
533
|
+
value: string;
|
|
534
|
+
}[];
|
|
535
|
+
defaultValue: string;
|
|
536
|
+
tab: string;
|
|
537
|
+
group: string;
|
|
538
|
+
requiresKeyToBeTrue?: never;
|
|
539
|
+
rows?: never;
|
|
540
|
+
} | {
|
|
541
|
+
key: string;
|
|
542
|
+
type: "separator";
|
|
543
|
+
label: string;
|
|
544
|
+
tab: string;
|
|
545
|
+
group: string;
|
|
546
|
+
description?: never;
|
|
547
|
+
defaultValue?: never;
|
|
548
|
+
requiresKeyToBeTrue?: never;
|
|
549
|
+
rows?: never;
|
|
550
|
+
options?: never;
|
|
551
|
+
} | {
|
|
552
|
+
key: string;
|
|
553
|
+
label: string;
|
|
554
|
+
type: "text";
|
|
555
|
+
description: string;
|
|
556
|
+
defaultValue: string;
|
|
557
|
+
tab: string;
|
|
558
|
+
group: string;
|
|
559
|
+
requiresKeyToBeTrue?: never;
|
|
560
|
+
rows?: never;
|
|
561
|
+
options?: never;
|
|
562
|
+
} | {
|
|
563
|
+
type: "background";
|
|
564
|
+
key: string;
|
|
565
|
+
label: string;
|
|
566
|
+
description: string;
|
|
567
|
+
defaultValue: string;
|
|
568
|
+
tab: string;
|
|
569
|
+
group: string;
|
|
570
|
+
requiresKeyToBeTrue?: never;
|
|
571
|
+
rows?: never;
|
|
572
|
+
options?: never;
|
|
573
|
+
} | {
|
|
574
|
+
key: string;
|
|
575
|
+
label: string;
|
|
576
|
+
type: "dataSource";
|
|
577
|
+
description: string;
|
|
578
|
+
tab: string;
|
|
579
|
+
group: string;
|
|
580
|
+
defaultValue?: never;
|
|
581
|
+
requiresKeyToBeTrue?: never;
|
|
582
|
+
rows?: never;
|
|
583
|
+
options?: never;
|
|
584
|
+
})[];
|
|
585
|
+
}>;
|
|
385
586
|
ContainerWidget: () => Promise<_fluid_app_rep_core_registries.WidgetPropertySchema>;
|
|
386
587
|
EmbedWidget: () => Promise<_fluid_app_rep_core_registries.WidgetPropertySchema>;
|
|
387
588
|
ImageWidget: () => Promise<_fluid_app_rep_core_registries.WidgetPropertySchema>;
|
package/dist/widgets/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import * as _fluid_app_rep_core_types from '@fluid-app/rep-core/types';
|
|
2
|
+
import { FontSizeOptions, ColorOptions, BackgroundValue, PaddingOptions, BorderRadiusOptions, WidgetSchema, AlignOptions, ButtonSizeOptions, SectionLayoutType, GapOptions, TypedWidgetSchema, ShareableItem } from '@fluid-app/rep-core/types';
|
|
1
3
|
import * as _fluid_app_rep_core_registries from '@fluid-app/rep-core/registries';
|
|
2
4
|
import { WidgetPropertySchema } from '@fluid-app/rep-core/registries';
|
|
3
5
|
export { gapValues } from '@fluid-app/rep-core/registries';
|
|
4
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
7
|
import { ComponentProps, ComponentType } from 'react';
|
|
6
|
-
import { FontSizeOptions, ColorOptions, BackgroundValue, PaddingOptions, BorderRadiusOptions, WidgetSchema, AlignOptions, ButtonSizeOptions, SectionLayoutType, GapOptions, TypedWidgetSchema, ShareableItem } from '@fluid-app/rep-core/types';
|
|
7
8
|
|
|
8
9
|
type TextWidgetProps = ComponentProps<"div"> & {
|
|
9
10
|
titleEnabled?: boolean;
|
|
@@ -117,7 +118,107 @@ type ChartWidgetProps = ComponentProps<"div"> & {
|
|
|
117
118
|
}>;
|
|
118
119
|
};
|
|
119
120
|
declare function ChartWidget({ titleEnabled, title, titleFontSize, titleColor, description, descriptionFontSize, descriptionColor, chartType, showLegend, showTooltip, showGrid, width, height, background, padding, borderRadius, dataKey, xAxisKey, data, chartConfig, className, ...props }: ChartWidgetProps): react_jsx_runtime.JSX.Element;
|
|
120
|
-
declare const chartWidgetPropertySchema:
|
|
121
|
+
declare const chartWidgetPropertySchema: {
|
|
122
|
+
widgetType: string;
|
|
123
|
+
displayName: string;
|
|
124
|
+
tabsConfig: {
|
|
125
|
+
id: string;
|
|
126
|
+
label: string;
|
|
127
|
+
}[];
|
|
128
|
+
dataSourceTargetProps: string[];
|
|
129
|
+
fields: (_fluid_app_rep_core_registries.ColorSelectFieldSchema | _fluid_app_rep_core_registries.TextSizeSelectFieldSchema | _fluid_app_rep_core_registries.CssUnitFieldSchema | _fluid_app_rep_core_registries.ButtonGroupFieldSchema<0 | 2 | 10 | 4 | 6 | 8> | _fluid_app_rep_core_registries.ButtonGroupFieldSchema<BorderRadiusOptions> | {
|
|
130
|
+
key: string;
|
|
131
|
+
label: string;
|
|
132
|
+
type: "boolean";
|
|
133
|
+
description: string;
|
|
134
|
+
defaultValue: boolean;
|
|
135
|
+
tab: string;
|
|
136
|
+
group: string;
|
|
137
|
+
requiresKeyToBeTrue?: never;
|
|
138
|
+
rows?: never;
|
|
139
|
+
options?: never;
|
|
140
|
+
} | {
|
|
141
|
+
key: string;
|
|
142
|
+
label: string;
|
|
143
|
+
type: "text";
|
|
144
|
+
description: string;
|
|
145
|
+
defaultValue: string;
|
|
146
|
+
tab: string;
|
|
147
|
+
group: string;
|
|
148
|
+
requiresKeyToBeTrue: string;
|
|
149
|
+
rows?: never;
|
|
150
|
+
options?: never;
|
|
151
|
+
} | {
|
|
152
|
+
key: string;
|
|
153
|
+
label: string;
|
|
154
|
+
type: "textarea";
|
|
155
|
+
description: string;
|
|
156
|
+
rows: number;
|
|
157
|
+
defaultValue: string;
|
|
158
|
+
tab: string;
|
|
159
|
+
group: string;
|
|
160
|
+
requiresKeyToBeTrue?: never;
|
|
161
|
+
options?: never;
|
|
162
|
+
} | {
|
|
163
|
+
key: string;
|
|
164
|
+
label: string;
|
|
165
|
+
type: "select";
|
|
166
|
+
description: string;
|
|
167
|
+
options: {
|
|
168
|
+
label: string;
|
|
169
|
+
value: string;
|
|
170
|
+
}[];
|
|
171
|
+
defaultValue: string;
|
|
172
|
+
tab: string;
|
|
173
|
+
group: string;
|
|
174
|
+
requiresKeyToBeTrue?: never;
|
|
175
|
+
rows?: never;
|
|
176
|
+
} | {
|
|
177
|
+
key: string;
|
|
178
|
+
type: "separator";
|
|
179
|
+
label: string;
|
|
180
|
+
tab: string;
|
|
181
|
+
group: string;
|
|
182
|
+
description?: never;
|
|
183
|
+
defaultValue?: never;
|
|
184
|
+
requiresKeyToBeTrue?: never;
|
|
185
|
+
rows?: never;
|
|
186
|
+
options?: never;
|
|
187
|
+
} | {
|
|
188
|
+
key: string;
|
|
189
|
+
label: string;
|
|
190
|
+
type: "text";
|
|
191
|
+
description: string;
|
|
192
|
+
defaultValue: string;
|
|
193
|
+
tab: string;
|
|
194
|
+
group: string;
|
|
195
|
+
requiresKeyToBeTrue?: never;
|
|
196
|
+
rows?: never;
|
|
197
|
+
options?: never;
|
|
198
|
+
} | {
|
|
199
|
+
type: "background";
|
|
200
|
+
key: string;
|
|
201
|
+
label: string;
|
|
202
|
+
description: string;
|
|
203
|
+
defaultValue: string;
|
|
204
|
+
tab: string;
|
|
205
|
+
group: string;
|
|
206
|
+
requiresKeyToBeTrue?: never;
|
|
207
|
+
rows?: never;
|
|
208
|
+
options?: never;
|
|
209
|
+
} | {
|
|
210
|
+
key: string;
|
|
211
|
+
label: string;
|
|
212
|
+
type: "dataSource";
|
|
213
|
+
description: string;
|
|
214
|
+
tab: string;
|
|
215
|
+
group: string;
|
|
216
|
+
defaultValue?: never;
|
|
217
|
+
requiresKeyToBeTrue?: never;
|
|
218
|
+
rows?: never;
|
|
219
|
+
options?: never;
|
|
220
|
+
})[];
|
|
221
|
+
};
|
|
121
222
|
|
|
122
223
|
type LayoutProps<T extends Record<string, ComponentType<any>> = Record<string, ComponentType<any>>> = {
|
|
123
224
|
sectionLayout?: SectionLayoutType;
|
|
@@ -381,7 +482,107 @@ declare const widgetPropertySchemas: {
|
|
|
381
482
|
CalendarWidget: () => Promise<_fluid_app_rep_core_registries.WidgetPropertySchema>;
|
|
382
483
|
CarouselWidget: () => Promise<_fluid_app_rep_core_registries.WidgetPropertySchema>;
|
|
383
484
|
CatchUpWidget: () => Promise<_fluid_app_rep_core_registries.WidgetPropertySchema>;
|
|
384
|
-
ChartWidget: () => Promise<
|
|
485
|
+
ChartWidget: () => Promise<{
|
|
486
|
+
widgetType: string;
|
|
487
|
+
displayName: string;
|
|
488
|
+
tabsConfig: {
|
|
489
|
+
id: string;
|
|
490
|
+
label: string;
|
|
491
|
+
}[];
|
|
492
|
+
dataSourceTargetProps: string[];
|
|
493
|
+
fields: (_fluid_app_rep_core_registries.ColorSelectFieldSchema | _fluid_app_rep_core_registries.TextSizeSelectFieldSchema | _fluid_app_rep_core_registries.CssUnitFieldSchema | _fluid_app_rep_core_registries.ButtonGroupFieldSchema<0 | 2 | 10 | 4 | 6 | 8> | _fluid_app_rep_core_registries.ButtonGroupFieldSchema<_fluid_app_rep_core_types.BorderRadiusOptions> | {
|
|
494
|
+
key: string;
|
|
495
|
+
label: string;
|
|
496
|
+
type: "boolean";
|
|
497
|
+
description: string;
|
|
498
|
+
defaultValue: boolean;
|
|
499
|
+
tab: string;
|
|
500
|
+
group: string;
|
|
501
|
+
requiresKeyToBeTrue?: never;
|
|
502
|
+
rows?: never;
|
|
503
|
+
options?: never;
|
|
504
|
+
} | {
|
|
505
|
+
key: string;
|
|
506
|
+
label: string;
|
|
507
|
+
type: "text";
|
|
508
|
+
description: string;
|
|
509
|
+
defaultValue: string;
|
|
510
|
+
tab: string;
|
|
511
|
+
group: string;
|
|
512
|
+
requiresKeyToBeTrue: string;
|
|
513
|
+
rows?: never;
|
|
514
|
+
options?: never;
|
|
515
|
+
} | {
|
|
516
|
+
key: string;
|
|
517
|
+
label: string;
|
|
518
|
+
type: "textarea";
|
|
519
|
+
description: string;
|
|
520
|
+
rows: number;
|
|
521
|
+
defaultValue: string;
|
|
522
|
+
tab: string;
|
|
523
|
+
group: string;
|
|
524
|
+
requiresKeyToBeTrue?: never;
|
|
525
|
+
options?: never;
|
|
526
|
+
} | {
|
|
527
|
+
key: string;
|
|
528
|
+
label: string;
|
|
529
|
+
type: "select";
|
|
530
|
+
description: string;
|
|
531
|
+
options: {
|
|
532
|
+
label: string;
|
|
533
|
+
value: string;
|
|
534
|
+
}[];
|
|
535
|
+
defaultValue: string;
|
|
536
|
+
tab: string;
|
|
537
|
+
group: string;
|
|
538
|
+
requiresKeyToBeTrue?: never;
|
|
539
|
+
rows?: never;
|
|
540
|
+
} | {
|
|
541
|
+
key: string;
|
|
542
|
+
type: "separator";
|
|
543
|
+
label: string;
|
|
544
|
+
tab: string;
|
|
545
|
+
group: string;
|
|
546
|
+
description?: never;
|
|
547
|
+
defaultValue?: never;
|
|
548
|
+
requiresKeyToBeTrue?: never;
|
|
549
|
+
rows?: never;
|
|
550
|
+
options?: never;
|
|
551
|
+
} | {
|
|
552
|
+
key: string;
|
|
553
|
+
label: string;
|
|
554
|
+
type: "text";
|
|
555
|
+
description: string;
|
|
556
|
+
defaultValue: string;
|
|
557
|
+
tab: string;
|
|
558
|
+
group: string;
|
|
559
|
+
requiresKeyToBeTrue?: never;
|
|
560
|
+
rows?: never;
|
|
561
|
+
options?: never;
|
|
562
|
+
} | {
|
|
563
|
+
type: "background";
|
|
564
|
+
key: string;
|
|
565
|
+
label: string;
|
|
566
|
+
description: string;
|
|
567
|
+
defaultValue: string;
|
|
568
|
+
tab: string;
|
|
569
|
+
group: string;
|
|
570
|
+
requiresKeyToBeTrue?: never;
|
|
571
|
+
rows?: never;
|
|
572
|
+
options?: never;
|
|
573
|
+
} | {
|
|
574
|
+
key: string;
|
|
575
|
+
label: string;
|
|
576
|
+
type: "dataSource";
|
|
577
|
+
description: string;
|
|
578
|
+
tab: string;
|
|
579
|
+
group: string;
|
|
580
|
+
defaultValue?: never;
|
|
581
|
+
requiresKeyToBeTrue?: never;
|
|
582
|
+
rows?: never;
|
|
583
|
+
options?: never;
|
|
584
|
+
})[];
|
|
585
|
+
}>;
|
|
385
586
|
ContainerWidget: () => Promise<_fluid_app_rep_core_registries.WidgetPropertySchema>;
|
|
386
587
|
EmbedWidget: () => Promise<_fluid_app_rep_core_registries.WidgetPropertySchema>;
|
|
387
588
|
ImageWidget: () => Promise<_fluid_app_rep_core_registries.WidgetPropertySchema>;
|
package/dist/widgets/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { MySiteWidget, mySiteWidgetPropertySchema } from '../chunk-
|
|
1
|
+
export { MySiteWidget, mySiteWidgetPropertySchema } from '../chunk-FM3TRTCP.js';
|
|
2
2
|
export { NestedWidget, nestedWidgetPropertySchema } from '../chunk-GWICPGTA.js';
|
|
3
3
|
export { QuickShareWidget, quickShareWidgetPropertySchema } from '../chunk-AWEFCI4H.js';
|
|
4
|
-
export { RecentActivityWidget, recentActivityWidgetPropertySchema } from '../chunk-
|
|
4
|
+
export { RecentActivityWidget, recentActivityWidgetPropertySchema } from '../chunk-NUJO5V6H.js';
|
|
5
5
|
export { SpacerWidget, spacerWidgetPropertySchema } from '../chunk-BYGUUGSO.js';
|
|
6
|
-
export { TableWidget, tableWidgetPropertySchema } from '../chunk-
|
|
7
|
-
export { ToDoWidget, toDoWidgetPropertySchema } from '../chunk-
|
|
6
|
+
export { TableWidget, tableWidgetPropertySchema } from '../chunk-6EKEDQJB.js';
|
|
7
|
+
export { ToDoWidget, toDoWidgetPropertySchema } from '../chunk-EEZISZ5T.js';
|
|
8
8
|
export { VideoWidget, videoWidgetPropertySchema } from '../chunk-ZDWZKRJ4.js';
|
|
9
|
-
export { CarouselWidget, carouselWidgetPropertySchema } from '../chunk-
|
|
10
|
-
export { CatchUpWidget, catchUpWidgetPropertySchema } from '../chunk-
|
|
11
|
-
export { ChartWidget, chartWidgetPropertySchema } from '../chunk-
|
|
9
|
+
export { CarouselWidget, carouselWidgetPropertySchema } from '../chunk-QLXZEIFC.js';
|
|
10
|
+
export { CatchUpWidget, catchUpWidgetPropertySchema } from '../chunk-AMNYGW7I.js';
|
|
11
|
+
export { ChartWidget, chartWidgetPropertySchema } from '../chunk-UZF75XZJ.js';
|
|
12
12
|
export { ContainerWidget, containerWidgetPropertySchema } from '../chunk-E5ERYB7Q.js';
|
|
13
13
|
export { LayoutWidget, layoutWidgetPropertySchema } from '../chunk-2NPVYROG.js';
|
|
14
14
|
export { EmbedWidget, embedWidgetPropertySchema } from '../chunk-DPPFLZ7G.js';
|
|
@@ -18,39 +18,35 @@ import '../chunk-RKDOQV4T.js';
|
|
|
18
18
|
import '../chunk-T6BC5TUS.js';
|
|
19
19
|
import '../chunk-ZWFK5UUU.js';
|
|
20
20
|
import '../chunk-6GF46P3S.js';
|
|
21
|
-
import '../chunk-IY3BNQ5Y.js';
|
|
22
|
-
import '../chunk-6U2FEES5.js';
|
|
23
|
-
import '../chunk-JSC4GMQG.js';
|
|
24
21
|
import '../chunk-FKDPFJHH.js';
|
|
25
|
-
import '../chunk-5HHN5MRZ.js';
|
|
26
22
|
export { AlertWidget, alertWidgetPropertySchema } from '../chunk-57ZUEL25.js';
|
|
27
23
|
export { TextWidget, textWidgetPropertySchema } from '../chunk-UXFD52LT.js';
|
|
28
|
-
export { CalendarWidget, calendarWidgetPropertySchema } from '../chunk-
|
|
24
|
+
export { CalendarWidget, calendarWidgetPropertySchema } from '../chunk-BQVC5IMY.js';
|
|
29
25
|
import '../chunk-GRFCSQ2M.js';
|
|
30
26
|
export { gapValues } from '../chunk-6ZECDBGI.js';
|
|
31
27
|
|
|
32
28
|
// src/widgets/index.ts
|
|
33
29
|
var widgetPropertySchemas = {
|
|
34
30
|
AlertWidget: () => import('../AlertWidget-3Q4AK7PE.js').then((m) => m.alertWidgetPropertySchema),
|
|
35
|
-
CalendarWidget: () => import('../CalendarWidget-
|
|
36
|
-
CarouselWidget: () => import('../CarouselWidget-
|
|
37
|
-
CatchUpWidget: () => import('../CatchUpWidget-
|
|
38
|
-
ChartWidget: () => import('../ChartWidget-
|
|
31
|
+
CalendarWidget: () => import('../CalendarWidget-OJHI3AYU.js').then((m) => m.calendarWidgetPropertySchema),
|
|
32
|
+
CarouselWidget: () => import('../CarouselWidget-M3CEN3HQ.js').then((m) => m.carouselWidgetPropertySchema),
|
|
33
|
+
CatchUpWidget: () => import('../CatchUpWidget-RARSAVXN.js').then((m) => m.catchUpWidgetPropertySchema),
|
|
34
|
+
ChartWidget: () => import('../ChartWidget-554S2GQF.js').then((m) => m.chartWidgetPropertySchema),
|
|
39
35
|
ContainerWidget: () => import('../ContainerWidget-OLQPEXDT.js').then((m) => m.containerWidgetPropertySchema),
|
|
40
36
|
EmbedWidget: () => import('../EmbedWidget-ATU2WS2X.js').then((m) => m.embedWidgetPropertySchema),
|
|
41
37
|
ImageWidget: () => import('../ImageWidget-BBLG66SD.js').then((m) => m.imageWidgetPropertySchema),
|
|
42
38
|
LayoutWidget: () => import('../LayoutWidget-MBUJVGKA.js').then((m) => m.layoutWidgetPropertySchema),
|
|
43
39
|
ListWidget: () => import('../ListWidget-LZ77ZSBT.js').then((m) => m.listWidgetPropertySchema),
|
|
44
|
-
MySiteWidget: () => import('../MySiteWidget-
|
|
40
|
+
MySiteWidget: () => import('../MySiteWidget-CXZTDDJM.js').then((m) => m.mySiteWidgetPropertySchema),
|
|
45
41
|
NestedWidget: () => import('../NestedWidget-N6V5LT4B.js').then((m) => m.nestedWidgetPropertySchema),
|
|
46
42
|
QuickShareWidget: () => import('../QuickShareWidget-TNW4ILJ2.js').then((m) => m.quickShareWidgetPropertySchema),
|
|
47
|
-
RecentActivityWidget: () => import('../RecentActivityWidget-
|
|
43
|
+
RecentActivityWidget: () => import('../RecentActivityWidget-BF6AWDCX.js').then(
|
|
48
44
|
(m) => m.recentActivityWidgetPropertySchema
|
|
49
45
|
),
|
|
50
46
|
SpacerWidget: () => import('../SpacerWidget-7KQ6UPRH.js').then((m) => m.spacerWidgetPropertySchema),
|
|
51
|
-
TableWidget: () => import('../TableWidget-
|
|
47
|
+
TableWidget: () => import('../TableWidget-PMQFL7VC.js').then((m) => m.tableWidgetPropertySchema),
|
|
52
48
|
TextWidget: () => import('../TextWidget-GNUQBLDJ.js').then((m) => m.textWidgetPropertySchema),
|
|
53
|
-
ToDoWidget: () => import('../ToDoWidget-
|
|
49
|
+
ToDoWidget: () => import('../ToDoWidget-ZAV3YC23.js').then((m) => m.toDoWidgetPropertySchema),
|
|
54
50
|
VideoWidget: () => import('../VideoWidget-KY3VZHYD.js').then((m) => m.videoWidgetPropertySchema)
|
|
55
51
|
};
|
|
56
52
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/widgets/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/widgets/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCO,IAAM,qBAAA,GAAwB;AAAA,EACnC,WAAA,EAAa,MACX,OAAO,4BAAe,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,yBAAyB,CAAA;AAAA,EACjE,cAAA,EAAgB,MACd,OAAO,+BAAkB,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,4BAA4B,CAAA;AAAA,EACvE,cAAA,EAAgB,MACd,OAAO,+BAAkB,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,4BAA4B,CAAA;AAAA,EACvE,aAAA,EAAe,MACb,OAAO,8BAAiB,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,2BAA2B,CAAA;AAAA,EACrE,WAAA,EAAa,MACX,OAAO,4BAAe,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,yBAAyB,CAAA;AAAA,EACjE,eAAA,EAAiB,MACf,OAAO,gCAAmB,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,6BAA6B,CAAA;AAAA,EACzE,WAAA,EAAa,MACX,OAAO,4BAAe,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,yBAAyB,CAAA;AAAA,EACjE,WAAA,EAAa,MACX,OAAO,4BAAe,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,yBAAyB,CAAA;AAAA,EACjE,YAAA,EAAc,MACZ,OAAO,6BAAgB,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,0BAA0B,CAAA;AAAA,EACnE,UAAA,EAAY,MACV,OAAO,2BAAc,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,wBAAwB,CAAA;AAAA,EAC/D,YAAA,EAAc,MACZ,OAAO,6BAAgB,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,0BAA0B,CAAA;AAAA,EACnE,YAAA,EAAc,MACZ,OAAO,6BAAgB,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,0BAA0B,CAAA;AAAA,EACnE,gBAAA,EAAkB,MAChB,OAAO,iCAAoB,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,8BAA8B,CAAA;AAAA,EAC3E,oBAAA,EAAsB,MACpB,OAAO,qCAAwB,CAAA,CAAE,IAAA;AAAA,IAC/B,CAAC,MAAM,CAAA,CAAE;AAAA,GACX;AAAA,EACF,YAAA,EAAc,MACZ,OAAO,6BAAgB,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,0BAA0B,CAAA;AAAA,EACnE,WAAA,EAAa,MACX,OAAO,4BAAe,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,yBAAyB,CAAA;AAAA,EACjE,UAAA,EAAY,MACV,OAAO,2BAAc,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,wBAAwB,CAAA;AAAA,EAC/D,UAAA,EAAY,MACV,OAAO,2BAAc,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,wBAAwB,CAAA;AAAA,EAC/D,WAAA,EAAa,MACX,OAAO,4BAAe,EAAE,IAAA,CAAK,CAAC,CAAA,KAAM,CAAA,CAAE,yBAAyB;AACnE","file":"index.js","sourcesContent":["// Widget Components\nexport { AlertWidget, alertWidgetPropertySchema } from \"./AlertWidget\";\nexport { CalendarWidget, calendarWidgetPropertySchema } from \"./CalendarWidget\";\nexport { CarouselWidget, carouselWidgetPropertySchema } from \"./CarouselWidget\";\nexport { CatchUpWidget, catchUpWidgetPropertySchema } from \"./CatchUpWidget\";\nexport { ChartWidget, chartWidgetPropertySchema } from \"./ChartWidget\";\nexport {\n ContainerWidget,\n containerWidgetPropertySchema,\n} from \"./ContainerWidget\";\nexport { EmbedWidget, embedWidgetPropertySchema } from \"./EmbedWidget\";\nexport { ImageWidget, imageWidgetPropertySchema } from \"./ImageWidget\";\nexport { LayoutWidget, layoutWidgetPropertySchema } from \"./LayoutWidget\";\nexport { ListWidget, listWidgetPropertySchema } from \"./ListWidget\";\nexport { MySiteWidget, mySiteWidgetPropertySchema } from \"./MySiteWidget\";\nexport { NestedWidget, nestedWidgetPropertySchema } from \"./NestedWidget\";\nexport {\n QuickShareWidget,\n quickShareWidgetPropertySchema,\n} from \"./QuickShareWidget\";\nexport {\n RecentActivityWidget,\n recentActivityWidgetPropertySchema,\n} from \"./RecentActivityWidget\";\nexport { SpacerWidget, spacerWidgetPropertySchema } from \"./SpacerWidget\";\nexport { TableWidget, tableWidgetPropertySchema } from \"./TableWidget\";\nexport { TextWidget, textWidgetPropertySchema } from \"./TextWidget\";\nexport { ToDoWidget, toDoWidgetPropertySchema } from \"./ToDoWidget\";\nexport { VideoWidget, videoWidgetPropertySchema } from \"./VideoWidget\";\n\n// Re-export gapValues from core (used by widgets)\nexport { gapValues } from \"../core/fields\";\n\n// Re-export all property schemas as a collection\nexport const widgetPropertySchemas = {\n AlertWidget: () =>\n import(\"./AlertWidget\").then((m) => m.alertWidgetPropertySchema),\n CalendarWidget: () =>\n import(\"./CalendarWidget\").then((m) => m.calendarWidgetPropertySchema),\n CarouselWidget: () =>\n import(\"./CarouselWidget\").then((m) => m.carouselWidgetPropertySchema),\n CatchUpWidget: () =>\n import(\"./CatchUpWidget\").then((m) => m.catchUpWidgetPropertySchema),\n ChartWidget: () =>\n import(\"./ChartWidget\").then((m) => m.chartWidgetPropertySchema),\n ContainerWidget: () =>\n import(\"./ContainerWidget\").then((m) => m.containerWidgetPropertySchema),\n EmbedWidget: () =>\n import(\"./EmbedWidget\").then((m) => m.embedWidgetPropertySchema),\n ImageWidget: () =>\n import(\"./ImageWidget\").then((m) => m.imageWidgetPropertySchema),\n LayoutWidget: () =>\n import(\"./LayoutWidget\").then((m) => m.layoutWidgetPropertySchema),\n ListWidget: () =>\n import(\"./ListWidget\").then((m) => m.listWidgetPropertySchema),\n MySiteWidget: () =>\n import(\"./MySiteWidget\").then((m) => m.mySiteWidgetPropertySchema),\n NestedWidget: () =>\n import(\"./NestedWidget\").then((m) => m.nestedWidgetPropertySchema),\n QuickShareWidget: () =>\n import(\"./QuickShareWidget\").then((m) => m.quickShareWidgetPropertySchema),\n RecentActivityWidget: () =>\n import(\"./RecentActivityWidget\").then(\n (m) => m.recentActivityWidgetPropertySchema,\n ),\n SpacerWidget: () =>\n import(\"./SpacerWidget\").then((m) => m.spacerWidgetPropertySchema),\n TableWidget: () =>\n import(\"./TableWidget\").then((m) => m.tableWidgetPropertySchema),\n TextWidget: () =>\n import(\"./TextWidget\").then((m) => m.textWidgetPropertySchema),\n ToDoWidget: () =>\n import(\"./ToDoWidget\").then((m) => m.toDoWidgetPropertySchema),\n VideoWidget: () =>\n import(\"./VideoWidget\").then((m) => m.videoWidgetPropertySchema),\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-app/rep-widgets",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "Widget components for the Fluid rep platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -78,7 +78,8 @@
|
|
|
78
78
|
"tailwind-merge": "^3.0.2",
|
|
79
79
|
"tailwindcss": "^4.1.18",
|
|
80
80
|
"tw-animate-css": "^1.4.0",
|
|
81
|
-
"@fluid-app/
|
|
81
|
+
"@fluid-app/ui-primitives": "0.1.1",
|
|
82
|
+
"@fluid-app/rep-core": "0.1.8"
|
|
82
83
|
},
|
|
83
84
|
"peerDependencies": {
|
|
84
85
|
"@tanstack/react-query": ">=5.0.0",
|
|
@@ -91,8 +92,8 @@
|
|
|
91
92
|
"react": "^19.2.4",
|
|
92
93
|
"tsup": "^8.4.0",
|
|
93
94
|
"typescript": "^5",
|
|
94
|
-
"@fluid-app/
|
|
95
|
-
"@fluid-app/
|
|
95
|
+
"@fluid-app/eslint-config": "0.0.0",
|
|
96
|
+
"@fluid-app/typescript-config": "0.0.0"
|
|
96
97
|
},
|
|
97
98
|
"scripts": {
|
|
98
99
|
"build": "tsup",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkXCHMHDYQ_cjs = require('./chunk-XCHMHDYQ.cjs');
|
|
4
|
-
require('./chunk-3CUVGQQI.cjs');
|
|
5
|
-
require('./chunk-J6HCPXT5.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "CalendarWidget", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return chunkXCHMHDYQ_cjs.CalendarWidget; }
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "calendarWidgetPropertySchema", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return chunkXCHMHDYQ_cjs.calendarWidgetPropertySchema; }
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=CalendarWidget-MQ2ID7YS.cjs.map
|
|
18
|
-
//# sourceMappingURL=CalendarWidget-MQ2ID7YS.cjs.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { CarouselWidget, carouselWidgetPropertySchema } from './chunk-NLLBQM4P.js';
|
|
2
|
-
import './chunk-T6BC5TUS.js';
|
|
3
|
-
import './chunk-6U2FEES5.js';
|
|
4
|
-
import './chunk-FKDPFJHH.js';
|
|
5
|
-
import './chunk-5HHN5MRZ.js';
|
|
6
|
-
import './chunk-6ZECDBGI.js';
|
|
7
|
-
//# sourceMappingURL=CarouselWidget-BCNJKS4N.js.map
|
|
8
|
-
//# sourceMappingURL=CarouselWidget-BCNJKS4N.js.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkCPZXEI3R_cjs = require('./chunk-CPZXEI3R.cjs');
|
|
4
|
-
require('./chunk-LOXFR6XC.cjs');
|
|
5
|
-
require('./chunk-IJHUIM34.cjs');
|
|
6
|
-
require('./chunk-QV3OAAEQ.cjs');
|
|
7
|
-
require('./chunk-HDA2ZOV2.cjs');
|
|
8
|
-
require('./chunk-J6HCPXT5.cjs');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Object.defineProperty(exports, "CarouselWidget", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkCPZXEI3R_cjs.CarouselWidget; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "carouselWidgetPropertySchema", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunkCPZXEI3R_cjs.carouselWidgetPropertySchema; }
|
|
19
|
-
});
|
|
20
|
-
//# sourceMappingURL=CarouselWidget-DB2WSCE7.cjs.map
|
|
21
|
-
//# sourceMappingURL=CarouselWidget-DB2WSCE7.cjs.map
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkSTGAGLIG_cjs = require('./chunk-STGAGLIG.cjs');
|
|
4
|
-
require('./chunk-3CUVGQQI.cjs');
|
|
5
|
-
require('./chunk-J6HCPXT5.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "CatchUpWidget", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return chunkSTGAGLIG_cjs.CatchUpWidget; }
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "catchUpWidgetPropertySchema", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return chunkSTGAGLIG_cjs.catchUpWidgetPropertySchema; }
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=CatchUpWidget-ADY4ZUDD.cjs.map
|
|
18
|
-
//# sourceMappingURL=CatchUpWidget-ADY4ZUDD.cjs.map
|