@fluid-app/rep-widgets 0.1.5 → 0.1.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/{CarouselWidget-F2PDTYUR.js → CarouselWidget-AYDQROQ7.js} +3 -3
- package/dist/{CarouselWidget-F2PDTYUR.js.map → CarouselWidget-AYDQROQ7.js.map} +1 -1
- package/dist/{CarouselWidget-IAWPKZRZ.cjs → CarouselWidget-ORPCX6CM.cjs} +5 -5
- package/dist/{CarouselWidget-IAWPKZRZ.cjs.map → CarouselWidget-ORPCX6CM.cjs.map} +1 -1
- package/dist/{ChartWidget-RTTBCUP5.cjs → ChartWidget-ETZEURVU.cjs} +5 -5
- package/dist/{ChartWidget-RTTBCUP5.cjs.map → ChartWidget-ETZEURVU.cjs.map} +1 -1
- package/dist/{ChartWidget-QAVE4MR6.js → ChartWidget-QTYGMAEV.js} +3 -3
- package/dist/{ChartWidget-QAVE4MR6.js.map → ChartWidget-QTYGMAEV.js.map} +1 -1
- package/dist/{ContainerWidget-DETCLP52.js → ContainerWidget-CYAHQDTH.js} +4 -4
- package/dist/{ContainerWidget-DETCLP52.js.map → ContainerWidget-CYAHQDTH.js.map} +1 -1
- package/dist/{ContainerWidget-XQDJSJXO.cjs → ContainerWidget-WYTZPJSE.cjs} +6 -6
- package/dist/{ContainerWidget-XQDJSJXO.cjs.map → ContainerWidget-WYTZPJSE.cjs.map} +1 -1
- package/dist/{LayoutWidget-WZSMZLLM.js → LayoutWidget-BHM4HFRZ.js} +3 -3
- package/dist/{LayoutWidget-WZSMZLLM.js.map → LayoutWidget-BHM4HFRZ.js.map} +1 -1
- package/dist/{LayoutWidget-4XISA6RO.cjs → LayoutWidget-VCOKZJV3.cjs} +5 -5
- package/dist/{LayoutWidget-4XISA6RO.cjs.map → LayoutWidget-VCOKZJV3.cjs.map} +1 -1
- package/dist/{ListWidget-CAPL5VLR.cjs → ListWidget-6MD3LNJR.cjs} +5 -5
- package/dist/{ListWidget-CAPL5VLR.cjs.map → ListWidget-6MD3LNJR.cjs.map} +1 -1
- package/dist/ListWidget-XI75HDHT.js +6 -0
- package/dist/{ListWidget-N7H3L2N5.js.map → ListWidget-XI75HDHT.js.map} +1 -1
- package/dist/{NestedWidget-WGQMOT6E.js → NestedWidget-KH7QSXN7.js} +3 -3
- package/dist/{NestedWidget-WGQMOT6E.js.map → NestedWidget-KH7QSXN7.js.map} +1 -1
- package/dist/{NestedWidget-NJSEZS26.cjs → NestedWidget-T5MRGLSP.cjs} +5 -5
- package/dist/{NestedWidget-NJSEZS26.cjs.map → NestedWidget-T5MRGLSP.cjs.map} +1 -1
- package/dist/{TableWidget-UYLEBMM6.js → TableWidget-VMPYQU7I.js} +3 -3
- package/dist/{TableWidget-UYLEBMM6.js.map → TableWidget-VMPYQU7I.js.map} +1 -1
- package/dist/{TableWidget-U45RVA7Z.cjs → TableWidget-ZX5A4IFW.cjs} +5 -5
- package/dist/{TableWidget-U45RVA7Z.cjs.map → TableWidget-ZX5A4IFW.cjs.map} +1 -1
- package/dist/{chunk-MWED53XR.js → chunk-25GBJPZQ.js} +9 -7
- package/dist/chunk-25GBJPZQ.js.map +1 -0
- package/dist/{chunk-4JLNVCLR.cjs → chunk-64HIILUF.cjs} +78 -55
- package/dist/chunk-64HIILUF.cjs.map +1 -0
- package/dist/{chunk-R2QY4XCM.js → chunk-7B5RPA6J.js} +28 -22
- package/dist/chunk-7B5RPA6J.js.map +1 -0
- package/dist/{chunk-2TCCLGVT.cjs → chunk-B5S5Q57S.cjs} +4 -3
- package/dist/chunk-B5S5Q57S.cjs.map +1 -0
- package/dist/{chunk-EHSWARYY.js → chunk-DPNUNERL.js} +3 -3
- package/dist/{chunk-EHSWARYY.js.map → chunk-DPNUNERL.js.map} +1 -1
- package/dist/{chunk-F6WCQLNF.cjs → chunk-MUFXAD45.cjs} +28 -22
- package/dist/chunk-MUFXAD45.cjs.map +1 -0
- package/dist/{chunk-ZCVNDXQ5.js → chunk-NYL2AQJ2.js} +5 -5
- package/dist/chunk-NYL2AQJ2.js.map +1 -0
- package/dist/{chunk-4M2A5W2D.cjs → chunk-PEBYBSSB.cjs} +4 -4
- package/dist/{chunk-4M2A5W2D.cjs.map → chunk-PEBYBSSB.cjs.map} +1 -1
- package/dist/{chunk-IDKYJ6OT.cjs → chunk-PHI5YY5E.cjs} +5 -5
- package/dist/chunk-PHI5YY5E.cjs.map +1 -0
- package/dist/{chunk-REH6UJCF.js → chunk-TQYXX5IT.js} +78 -55
- package/dist/chunk-TQYXX5IT.js.map +1 -0
- package/dist/{chunk-ZV3W3LUO.cjs → chunk-U5HD3GJ7.cjs} +4 -3
- package/dist/chunk-U5HD3GJ7.cjs.map +1 -0
- package/dist/{chunk-EUOP3MWJ.cjs → chunk-VDHV7FEJ.cjs} +9 -7
- package/dist/chunk-VDHV7FEJ.cjs.map +1 -0
- package/dist/{chunk-5SAU52ED.js → chunk-VU3NEDUQ.js} +4 -3
- package/dist/chunk-VU3NEDUQ.js.map +1 -0
- package/dist/{chunk-DXBA2NME.js → chunk-YRZ4AHQC.js} +4 -3
- package/dist/chunk-YRZ4AHQC.js.map +1 -0
- package/dist/widgets/index.cjs +28 -28
- package/dist/widgets/index.js +14 -14
- package/package.json +1 -1
- package/dist/ListWidget-N7H3L2N5.js +0 -6
- package/dist/chunk-2TCCLGVT.cjs.map +0 -1
- package/dist/chunk-4JLNVCLR.cjs.map +0 -1
- package/dist/chunk-5SAU52ED.js.map +0 -1
- package/dist/chunk-DXBA2NME.js.map +0 -1
- package/dist/chunk-EUOP3MWJ.cjs.map +0 -1
- package/dist/chunk-F6WCQLNF.cjs.map +0 -1
- package/dist/chunk-IDKYJ6OT.cjs.map +0 -1
- package/dist/chunk-MWED53XR.js.map +0 -1
- package/dist/chunk-R2QY4XCM.js.map +0 -1
- package/dist/chunk-REH6UJCF.js.map +0 -1
- package/dist/chunk-ZCVNDXQ5.js.map +0 -1
- package/dist/chunk-ZV3W3LUO.cjs.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { CarouselWidget, carouselWidgetPropertySchema } from './chunk-
|
|
1
|
+
export { CarouselWidget, carouselWidgetPropertySchema } from './chunk-VU3NEDUQ.js';
|
|
2
2
|
import './chunk-T6BC5TUS.js';
|
|
3
3
|
import './chunk-6U2FEES5.js';
|
|
4
4
|
import './chunk-FKDPFJHH.js';
|
|
5
5
|
import './chunk-5HHN5MRZ.js';
|
|
6
6
|
import './chunk-ZS7C474P.js';
|
|
7
|
-
//# sourceMappingURL=CarouselWidget-
|
|
8
|
-
//# sourceMappingURL=CarouselWidget-
|
|
7
|
+
//# sourceMappingURL=CarouselWidget-AYDQROQ7.js.map
|
|
8
|
+
//# sourceMappingURL=CarouselWidget-AYDQROQ7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"CarouselWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"CarouselWidget-AYDQROQ7.js"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkB5S5Q57S_cjs = require('./chunk-B5S5Q57S.cjs');
|
|
4
4
|
require('./chunk-LOXFR6XC.cjs');
|
|
5
5
|
require('./chunk-IJHUIM34.cjs');
|
|
6
6
|
require('./chunk-QV3OAAEQ.cjs');
|
|
@@ -11,11 +11,11 @@ require('./chunk-CM7D7WGL.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "CarouselWidget", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkB5S5Q57S_cjs.CarouselWidget; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "carouselWidgetPropertySchema", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkB5S5Q57S_cjs.carouselWidgetPropertySchema; }
|
|
19
19
|
});
|
|
20
|
-
//# sourceMappingURL=CarouselWidget-
|
|
21
|
-
//# sourceMappingURL=CarouselWidget-
|
|
20
|
+
//# sourceMappingURL=CarouselWidget-ORPCX6CM.cjs.map
|
|
21
|
+
//# sourceMappingURL=CarouselWidget-ORPCX6CM.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"CarouselWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"CarouselWidget-ORPCX6CM.cjs"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPHI5YY5E_cjs = require('./chunk-PHI5YY5E.cjs');
|
|
4
4
|
require('./chunk-UH3FAS2R.cjs');
|
|
5
5
|
require('./chunk-HDA2ZOV2.cjs');
|
|
6
6
|
require('./chunk-CM7D7WGL.cjs');
|
|
@@ -9,11 +9,11 @@ require('./chunk-CM7D7WGL.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "ChartWidget", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkPHI5YY5E_cjs.ChartWidget; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "chartWidgetPropertySchema", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkPHI5YY5E_cjs.chartWidgetPropertySchema; }
|
|
17
17
|
});
|
|
18
|
-
//# sourceMappingURL=ChartWidget-
|
|
19
|
-
//# sourceMappingURL=ChartWidget-
|
|
18
|
+
//# sourceMappingURL=ChartWidget-ETZEURVU.cjs.map
|
|
19
|
+
//# sourceMappingURL=ChartWidget-ETZEURVU.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ChartWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ChartWidget-ETZEURVU.cjs"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ChartWidget, chartWidgetPropertySchema } from './chunk-
|
|
1
|
+
export { ChartWidget, chartWidgetPropertySchema } from './chunk-NYL2AQJ2.js';
|
|
2
2
|
import './chunk-JSC4GMQG.js';
|
|
3
3
|
import './chunk-5HHN5MRZ.js';
|
|
4
4
|
import './chunk-ZS7C474P.js';
|
|
5
|
-
//# sourceMappingURL=ChartWidget-
|
|
6
|
-
//# sourceMappingURL=ChartWidget-
|
|
5
|
+
//# sourceMappingURL=ChartWidget-QTYGMAEV.js.map
|
|
6
|
+
//# sourceMappingURL=ChartWidget-QTYGMAEV.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ChartWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ChartWidget-QTYGMAEV.js"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { ContainerWidget, containerWidgetPropertySchema } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { ContainerWidget, containerWidgetPropertySchema } from './chunk-DPNUNERL.js';
|
|
2
|
+
import './chunk-25GBJPZQ.js';
|
|
3
3
|
import './chunk-RKDOQV4T.js';
|
|
4
4
|
import './chunk-ZWFK5UUU.js';
|
|
5
5
|
import './chunk-6GF46P3S.js';
|
|
6
6
|
import './chunk-ZS7C474P.js';
|
|
7
|
-
//# sourceMappingURL=ContainerWidget-
|
|
8
|
-
//# sourceMappingURL=ContainerWidget-
|
|
7
|
+
//# sourceMappingURL=ContainerWidget-CYAHQDTH.js.map
|
|
8
|
+
//# sourceMappingURL=ContainerWidget-CYAHQDTH.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ContainerWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ContainerWidget-CYAHQDTH.js"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkPEBYBSSB_cjs = require('./chunk-PEBYBSSB.cjs');
|
|
4
|
+
require('./chunk-VDHV7FEJ.cjs');
|
|
5
5
|
require('./chunk-FSLUSFJ2.cjs');
|
|
6
6
|
require('./chunk-YU5DAILW.cjs');
|
|
7
7
|
require('./chunk-JYWKXNUO.cjs');
|
|
@@ -11,11 +11,11 @@ require('./chunk-CM7D7WGL.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "ContainerWidget", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkPEBYBSSB_cjs.ContainerWidget; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "containerWidgetPropertySchema", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkPEBYBSSB_cjs.containerWidgetPropertySchema; }
|
|
19
19
|
});
|
|
20
|
-
//# sourceMappingURL=ContainerWidget-
|
|
21
|
-
//# sourceMappingURL=ContainerWidget-
|
|
20
|
+
//# sourceMappingURL=ContainerWidget-WYTZPJSE.cjs.map
|
|
21
|
+
//# sourceMappingURL=ContainerWidget-WYTZPJSE.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ContainerWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ContainerWidget-WYTZPJSE.cjs"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { LayoutWidget, layoutWidgetPropertySchema } from './chunk-
|
|
1
|
+
export { LayoutWidget, layoutWidgetPropertySchema } from './chunk-25GBJPZQ.js';
|
|
2
2
|
import './chunk-RKDOQV4T.js';
|
|
3
3
|
import './chunk-ZWFK5UUU.js';
|
|
4
4
|
import './chunk-6GF46P3S.js';
|
|
5
5
|
import './chunk-ZS7C474P.js';
|
|
6
|
-
//# sourceMappingURL=LayoutWidget-
|
|
7
|
-
//# sourceMappingURL=LayoutWidget-
|
|
6
|
+
//# sourceMappingURL=LayoutWidget-BHM4HFRZ.js.map
|
|
7
|
+
//# sourceMappingURL=LayoutWidget-BHM4HFRZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"LayoutWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"LayoutWidget-BHM4HFRZ.js"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVDHV7FEJ_cjs = require('./chunk-VDHV7FEJ.cjs');
|
|
4
4
|
require('./chunk-FSLUSFJ2.cjs');
|
|
5
5
|
require('./chunk-YU5DAILW.cjs');
|
|
6
6
|
require('./chunk-JYWKXNUO.cjs');
|
|
@@ -10,11 +10,11 @@ require('./chunk-CM7D7WGL.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "LayoutWidget", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkVDHV7FEJ_cjs.LayoutWidget; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "layoutWidgetPropertySchema", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkVDHV7FEJ_cjs.layoutWidgetPropertySchema; }
|
|
18
18
|
});
|
|
19
|
-
//# sourceMappingURL=LayoutWidget-
|
|
20
|
-
//# sourceMappingURL=LayoutWidget-
|
|
19
|
+
//# sourceMappingURL=LayoutWidget-VCOKZJV3.cjs.map
|
|
20
|
+
//# sourceMappingURL=LayoutWidget-VCOKZJV3.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"LayoutWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"LayoutWidget-VCOKZJV3.cjs"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk64HIILUF_cjs = require('./chunk-64HIILUF.cjs');
|
|
4
4
|
require('./chunk-LOXFR6XC.cjs');
|
|
5
5
|
require('./chunk-QV3OAAEQ.cjs');
|
|
6
6
|
require('./chunk-CM7D7WGL.cjs');
|
|
@@ -9,11 +9,11 @@ require('./chunk-CM7D7WGL.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "ListWidget", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk64HIILUF_cjs.ListWidget; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "listWidgetPropertySchema", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk64HIILUF_cjs.listWidgetPropertySchema; }
|
|
17
17
|
});
|
|
18
|
-
//# sourceMappingURL=ListWidget-
|
|
19
|
-
//# sourceMappingURL=ListWidget-
|
|
18
|
+
//# sourceMappingURL=ListWidget-6MD3LNJR.cjs.map
|
|
19
|
+
//# sourceMappingURL=ListWidget-6MD3LNJR.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ListWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ListWidget-6MD3LNJR.cjs"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { ListWidget, listWidgetPropertySchema } from './chunk-TQYXX5IT.js';
|
|
2
|
+
import './chunk-T6BC5TUS.js';
|
|
3
|
+
import './chunk-FKDPFJHH.js';
|
|
4
|
+
import './chunk-ZS7C474P.js';
|
|
5
|
+
//# sourceMappingURL=ListWidget-XI75HDHT.js.map
|
|
6
|
+
//# sourceMappingURL=ListWidget-XI75HDHT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ListWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ListWidget-XI75HDHT.js"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { NestedWidget, nestedWidgetPropertySchema } from './chunk-
|
|
1
|
+
export { NestedWidget, nestedWidgetPropertySchema } from './chunk-YRZ4AHQC.js';
|
|
2
2
|
import './chunk-T6BC5TUS.js';
|
|
3
3
|
import './chunk-FKDPFJHH.js';
|
|
4
4
|
import './chunk-ZS7C474P.js';
|
|
5
|
-
//# sourceMappingURL=NestedWidget-
|
|
6
|
-
//# sourceMappingURL=NestedWidget-
|
|
5
|
+
//# sourceMappingURL=NestedWidget-KH7QSXN7.js.map
|
|
6
|
+
//# sourceMappingURL=NestedWidget-KH7QSXN7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"NestedWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"NestedWidget-KH7QSXN7.js"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkU5HD3GJ7_cjs = require('./chunk-U5HD3GJ7.cjs');
|
|
4
4
|
require('./chunk-LOXFR6XC.cjs');
|
|
5
5
|
require('./chunk-QV3OAAEQ.cjs');
|
|
6
6
|
require('./chunk-CM7D7WGL.cjs');
|
|
@@ -9,11 +9,11 @@ require('./chunk-CM7D7WGL.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "NestedWidget", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkU5HD3GJ7_cjs.NestedWidget; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "nestedWidgetPropertySchema", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkU5HD3GJ7_cjs.nestedWidgetPropertySchema; }
|
|
17
17
|
});
|
|
18
|
-
//# sourceMappingURL=NestedWidget-
|
|
19
|
-
//# sourceMappingURL=NestedWidget-
|
|
18
|
+
//# sourceMappingURL=NestedWidget-T5MRGLSP.cjs.map
|
|
19
|
+
//# sourceMappingURL=NestedWidget-T5MRGLSP.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"NestedWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"NestedWidget-T5MRGLSP.cjs"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { TableWidget, tableWidgetPropertySchema } from './chunk-
|
|
1
|
+
export { TableWidget, tableWidgetPropertySchema } from './chunk-7B5RPA6J.js';
|
|
2
2
|
import './chunk-T6BC5TUS.js';
|
|
3
3
|
import './chunk-IY3BNQ5Y.js';
|
|
4
4
|
import './chunk-5HHN5MRZ.js';
|
|
5
5
|
import './chunk-ZS7C474P.js';
|
|
6
|
-
//# sourceMappingURL=TableWidget-
|
|
7
|
-
//# sourceMappingURL=TableWidget-
|
|
6
|
+
//# sourceMappingURL=TableWidget-VMPYQU7I.js.map
|
|
7
|
+
//# sourceMappingURL=TableWidget-VMPYQU7I.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"TableWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"TableWidget-VMPYQU7I.js"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkMUFXAD45_cjs = require('./chunk-MUFXAD45.cjs');
|
|
4
4
|
require('./chunk-LOXFR6XC.cjs');
|
|
5
5
|
require('./chunk-NOZVVD6G.cjs');
|
|
6
6
|
require('./chunk-HDA2ZOV2.cjs');
|
|
@@ -10,11 +10,11 @@ require('./chunk-CM7D7WGL.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "TableWidget", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkMUFXAD45_cjs.TableWidget; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "tableWidgetPropertySchema", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkMUFXAD45_cjs.tableWidgetPropertySchema; }
|
|
18
18
|
});
|
|
19
|
-
//# sourceMappingURL=TableWidget-
|
|
20
|
-
//# sourceMappingURL=TableWidget-
|
|
19
|
+
//# sourceMappingURL=TableWidget-ZX5A4IFW.cjs.map
|
|
20
|
+
//# sourceMappingURL=TableWidget-ZX5A4IFW.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"TableWidget-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"TableWidget-ZX5A4IFW.cjs"}
|
|
@@ -6,17 +6,19 @@ import { sectionLayoutConfig } from '@fluid-app/rep-core/types';
|
|
|
6
6
|
import { groupChildrenByColumn } from '@fluid-app/rep-core/widget-utils';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
|
+
var DEFAULT_BACKGROUND = {
|
|
10
|
+
type: "solid",
|
|
11
|
+
color: "background"
|
|
12
|
+
};
|
|
13
|
+
var DEFAULT_CHILDREN = [];
|
|
9
14
|
var LayoutWidget = ({
|
|
10
15
|
sectionLayout = "single-column",
|
|
11
16
|
gap = 4,
|
|
12
17
|
gapSize,
|
|
13
|
-
background =
|
|
14
|
-
type: "solid",
|
|
15
|
-
color: "background"
|
|
16
|
-
},
|
|
18
|
+
background = DEFAULT_BACKGROUND,
|
|
17
19
|
padding = 0,
|
|
18
20
|
borderRadius = "md",
|
|
19
|
-
children =
|
|
21
|
+
children = DEFAULT_CHILDREN,
|
|
20
22
|
registry,
|
|
21
23
|
className = "",
|
|
22
24
|
minHeight
|
|
@@ -111,5 +113,5 @@ var layoutWidgetPropertySchema = {
|
|
|
111
113
|
};
|
|
112
114
|
|
|
113
115
|
export { LayoutWidget, layoutWidgetPropertySchema };
|
|
114
|
-
//# sourceMappingURL=chunk-
|
|
115
|
-
//# sourceMappingURL=chunk-
|
|
116
|
+
//# sourceMappingURL=chunk-25GBJPZQ.js.map
|
|
117
|
+
//# sourceMappingURL=chunk-25GBJPZQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/widgets/LayoutWidget.tsx"],"names":["ScreenRenderer"],"mappings":"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","file":"chunk-25GBJPZQ.js","sourcesContent":["import { ScreenRenderer as DefaultScreenRenderer } from \"../core/ScreenRenderer\";\nimport { useRegistry } from \"../contexts/RegistryContext\";\nimport { useScreenRenderer } from \"../contexts/ScreenRendererContext\";\nimport type {\n TypedWidgetSchema,\n WidgetSchema,\n BorderRadiusOptions,\n PaddingOptions,\n GapOptions,\n SectionLayoutType,\n BackgroundValue,\n} from \"@fluid-app/rep-core/types\";\nimport { sectionLayoutConfig } from \"@fluid-app/rep-core/types\";\nimport type { ComponentType } from \"react\";\nimport type { WidgetPropertySchema } from \"@fluid-app/rep-core/registries\";\nimport {\n getBorderRadiusField,\n getGapField,\n getPaddingField,\n gapValues,\n} from \"../core/fields\";\nimport { groupChildrenByColumn } from \"@fluid-app/rep-core/widget-utils\";\n\nconst DEFAULT_BACKGROUND: BackgroundValue = {\n type: \"solid\",\n color: \"background\",\n};\nconst DEFAULT_CHILDREN: (WidgetSchema | null)[] = [];\n\ntype LayoutProps<\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n T extends Record<string, ComponentType<any>> = Record<\n string,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ComponentType<any>\n >,\n> = {\n // Section layout type (masonry-style column configuration)\n sectionLayout?: SectionLayoutType;\n\n // Legacy props (deprecated, kept for backward compatibility)\n type?: \"flex\" | \"grid\";\n columns?: number;\n rows?: number;\n direction?: string;\n justify?: string;\n align?: string;\n wrap?: boolean;\n\n // Spacing\n gap?: number; // deprecated, use gapSize instead\n gapSize?: GapOptions;\n\n // Design\n background?: BackgroundValue;\n padding?: PaddingOptions;\n borderRadius?: BorderRadiusOptions;\n\n // Content - widgets with columnIndex property for masonry layout\n children: (TypedWidgetSchema<T> | null)[] | (WidgetSchema | null)[];\n\n // Widget registry (passed down from parent renderer)\n registry?: T;\n\n // Styling\n className?: string;\n minHeight?: number;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const LayoutWidget = <T extends Record<string, ComponentType<any>>>({\n sectionLayout = \"single-column\",\n gap = 4,\n gapSize,\n background = DEFAULT_BACKGROUND,\n padding = 0,\n borderRadius = \"md\",\n children = DEFAULT_CHILDREN,\n registry,\n className = \"\",\n minHeight,\n}: LayoutProps<T>) => {\n // Get registry from context if not provided as prop\n const contextRegistry = useRegistry();\n const effectiveRegistry = registry || contextRegistry;\n\n // Use ScreenRenderer from context (e.g. rep-builder's), fall back to local\n const ContextScreenRenderer = useScreenRenderer();\n const ScreenRenderer = ContextScreenRenderer ?? DefaultScreenRenderer;\n\n // Extract background values\n const backgroundColor = background.color || \"background\";\n const backgroundImage =\n (background.resource?.image_url || background.resource?.imageUrl) &&\n background.type === \"image\"\n ? `url(${background.resource.image_url || background.resource.imageUrl})`\n : \"none\";\n\n // Get layout configuration\n const layoutConfig = sectionLayoutConfig[sectionLayout];\n const columnCount = layoutConfig.columns;\n\n // Calculate gap size\n const gapSizeValue = gapSize ? gapValues[gapSize] : gap;\n\n // Build CSS classes for masonry layout with responsive columns\n const layoutClasses = [\n \"grid\",\n \"grid-cols-1\", // Mobile: single column\n layoutConfig.gridClasses, // Desktop (@md+): configured columns\n `bg-${backgroundColor} p-${padding} rounded-${borderRadius}`,\n `gap-${gapSizeValue}`,\n className,\n ]\n .filter(Boolean)\n .join(\" \");\n\n // Container style\n const containerStyle: React.CSSProperties = {\n ...(minHeight ? { minHeight: `${minHeight}px` } : {}),\n alignItems: \"start\", // Masonry-style: columns don't stretch to match height\n backgroundImage,\n };\n\n // If no registry is available, we can't render the children\n if (!effectiveRegistry) {\n console.warn(\"Layout widget: No registry provided, cannot render children\");\n return <div className={layoutClasses} style={containerStyle} />;\n }\n\n // Group children by column\n const columnGroups = groupChildrenByColumn(\n children as WidgetSchema[],\n columnCount,\n );\n\n // Regular render mode - render each column as a flex column\n return (\n <div className=\"@container\">\n <div className={layoutClasses} style={containerStyle}>\n {columnGroups.map((columnChildren, colIndex) => (\n <ScreenRenderer\n key={colIndex}\n screen={columnChildren}\n registry={effectiveRegistry}\n className={`flex flex-col gap-${gapSizeValue}`}\n />\n ))}\n </div>\n </div>\n );\n};\n\nexport const layoutWidgetPropertySchema: WidgetPropertySchema = {\n widgetType: \"LayoutWidget\",\n displayName: \"Layout\",\n fields: [\n // Layout Configuration - Visual selector matching Figma design\n {\n key: \"sectionLayout\",\n label: \"Layout Type\",\n type: \"sectionLayoutSelect\",\n description: \"Column layout configuration\",\n defaultValue: \"single-column\",\n group: \"Layout\",\n },\n\n // Design\n getGapField({\n key: \"gapSize\",\n label: \"Gap\",\n description: \"Gap between columns and widgets\",\n defaultValue: \"md\",\n group: \"Design\",\n }),\n {\n type: \"background\",\n key: \"background\",\n label: \"Background\",\n description: \"Background for the layout container\",\n defaultValue: \"background\",\n group: \"Design\",\n },\n getPaddingField({\n key: \"padding\",\n label: \"Padding\",\n description: \"Padding for the layout container\",\n defaultValue: 4,\n group: \"Design\",\n }),\n getBorderRadiusField({\n key: \"borderRadius\",\n label: \"Border Radius\",\n description: \"Border radius for the layout container\",\n defaultValue: \"md\",\n group: \"Design\",\n }),\n ],\n};\n"]}
|
|
@@ -6,6 +6,7 @@ var chunkCM7D7WGL_cjs = require('./chunk-CM7D7WGL.cjs');
|
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
8
8
|
|
|
9
|
+
var DEFAULT_ITEMS = [];
|
|
9
10
|
var SCROLL_ITEM_WIDTH = 300;
|
|
10
11
|
var getImageUrl = (item) => {
|
|
11
12
|
return item.imageUrl || item.image;
|
|
@@ -78,12 +79,72 @@ var getResponsiveGridClass = (columns) => {
|
|
|
78
79
|
};
|
|
79
80
|
return responsiveClasses[columns] || "grid-cols-2 @lg:grid-cols-3";
|
|
80
81
|
};
|
|
82
|
+
function FeaturedSection({
|
|
83
|
+
featuredAsset,
|
|
84
|
+
featuredTitle,
|
|
85
|
+
featuredSubtitle,
|
|
86
|
+
featuredButtonText,
|
|
87
|
+
featuredButtonUrl,
|
|
88
|
+
featuredSubtitleColor,
|
|
89
|
+
featuredSubtitleSize,
|
|
90
|
+
titleSize,
|
|
91
|
+
borderRadius
|
|
92
|
+
}) {
|
|
93
|
+
const asset = getFeaturedAssetUrl(featuredAsset);
|
|
94
|
+
if (!asset) return null;
|
|
95
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
96
|
+
"div",
|
|
97
|
+
{
|
|
98
|
+
className: `relative h-full min-h-[300px] w-full overflow-hidden rounded-${borderRadius}`,
|
|
99
|
+
children: [
|
|
100
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 h-full w-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
101
|
+
chunkLOXFR6XC_cjs.MediaRenderer,
|
|
102
|
+
{
|
|
103
|
+
src: asset.url,
|
|
104
|
+
mediaType: asset.isVideo ? "video" : "image",
|
|
105
|
+
alt: featuredTitle || "Featured",
|
|
106
|
+
objectFit: "cover",
|
|
107
|
+
autoplay: asset.isVideo,
|
|
108
|
+
loop: asset.isVideo,
|
|
109
|
+
muted: asset.isVideo,
|
|
110
|
+
controls: false
|
|
111
|
+
}
|
|
112
|
+
) }),
|
|
113
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 bg-black/40" }),
|
|
114
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute inset-0 flex flex-col items-start justify-end p-8", children: [
|
|
115
|
+
featuredTitle && /* @__PURE__ */ jsxRuntime.jsx(
|
|
116
|
+
"h3",
|
|
117
|
+
{
|
|
118
|
+
className: `mb-2 font-bold text-white text-${titleSize === "md" ? "base" : titleSize}`,
|
|
119
|
+
children: featuredTitle
|
|
120
|
+
}
|
|
121
|
+
),
|
|
122
|
+
featuredSubtitle && /* @__PURE__ */ jsxRuntime.jsx(
|
|
123
|
+
"p",
|
|
124
|
+
{
|
|
125
|
+
className: `mb-4 text-${featuredSubtitleColor} text-${featuredSubtitleSize === "md" ? "base" : featuredSubtitleSize}`,
|
|
126
|
+
children: featuredSubtitle
|
|
127
|
+
}
|
|
128
|
+
),
|
|
129
|
+
featuredButtonText && /* @__PURE__ */ jsxRuntime.jsx(
|
|
130
|
+
"a",
|
|
131
|
+
{
|
|
132
|
+
href: featuredButtonUrl || "#",
|
|
133
|
+
className: `bg-white px-6 py-2 font-medium text-foreground transition-opacity hover:opacity-90 rounded-${borderRadius}`,
|
|
134
|
+
children: featuredButtonText
|
|
135
|
+
}
|
|
136
|
+
)
|
|
137
|
+
] })
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
);
|
|
141
|
+
}
|
|
81
142
|
function ListWidget({
|
|
82
143
|
listType = "unordered",
|
|
83
144
|
scrollAxis = "horizontal",
|
|
84
145
|
titleEnabled = true,
|
|
85
146
|
title,
|
|
86
|
-
items =
|
|
147
|
+
items = DEFAULT_ITEMS,
|
|
87
148
|
titleColor = "foreground",
|
|
88
149
|
titleSize = "lg",
|
|
89
150
|
itemTitleColor = "foreground",
|
|
@@ -139,57 +200,6 @@ function ListWidget({
|
|
|
139
200
|
behavior: "smooth"
|
|
140
201
|
});
|
|
141
202
|
};
|
|
142
|
-
const renderFeaturedSection = () => {
|
|
143
|
-
if (!showFeaturedSection) return null;
|
|
144
|
-
const asset = getFeaturedAssetUrl(featuredAsset);
|
|
145
|
-
if (!asset) return null;
|
|
146
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
147
|
-
"div",
|
|
148
|
-
{
|
|
149
|
-
className: `relative h-full min-h-[300px] w-full overflow-hidden rounded-${borderRadius}`,
|
|
150
|
-
children: [
|
|
151
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 h-full w-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
152
|
-
chunkLOXFR6XC_cjs.MediaRenderer,
|
|
153
|
-
{
|
|
154
|
-
src: asset.url,
|
|
155
|
-
mediaType: asset.isVideo ? "video" : "image",
|
|
156
|
-
alt: featuredTitle || "Featured",
|
|
157
|
-
objectFit: "cover",
|
|
158
|
-
autoplay: asset.isVideo,
|
|
159
|
-
loop: asset.isVideo,
|
|
160
|
-
muted: asset.isVideo,
|
|
161
|
-
controls: false
|
|
162
|
-
}
|
|
163
|
-
) }),
|
|
164
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 bg-black/40" }),
|
|
165
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute inset-0 flex flex-col items-start justify-end p-8", children: [
|
|
166
|
-
featuredTitle && /* @__PURE__ */ jsxRuntime.jsx(
|
|
167
|
-
"h3",
|
|
168
|
-
{
|
|
169
|
-
className: `mb-2 font-bold text-white text-${titleSize === "md" ? "base" : titleSize}`,
|
|
170
|
-
children: featuredTitle
|
|
171
|
-
}
|
|
172
|
-
),
|
|
173
|
-
featuredSubtitle && /* @__PURE__ */ jsxRuntime.jsx(
|
|
174
|
-
"p",
|
|
175
|
-
{
|
|
176
|
-
className: `mb-4 text-${featuredSubtitleColor} text-${featuredSubtitleSize === "md" ? "base" : featuredSubtitleSize}`,
|
|
177
|
-
children: featuredSubtitle
|
|
178
|
-
}
|
|
179
|
-
),
|
|
180
|
-
featuredButtonText && /* @__PURE__ */ jsxRuntime.jsx(
|
|
181
|
-
"a",
|
|
182
|
-
{
|
|
183
|
-
href: featuredButtonUrl || "#",
|
|
184
|
-
className: `bg-white px-6 py-2 font-medium text-foreground transition-opacity hover:opacity-90 rounded-${borderRadius}`,
|
|
185
|
-
children: featuredButtonText
|
|
186
|
-
}
|
|
187
|
-
)
|
|
188
|
-
] })
|
|
189
|
-
]
|
|
190
|
-
}
|
|
191
|
-
);
|
|
192
|
-
};
|
|
193
203
|
const renderUnorderedList = () => {
|
|
194
204
|
const gridClass = getResponsiveGridClass(columns);
|
|
195
205
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: `grid ${gridClass} gap-${chunkCM7D7WGL_cjs.gapValues[gap]}`, children: displayItems.map((item) => {
|
|
@@ -535,7 +545,20 @@ function ListWidget({
|
|
|
535
545
|
}
|
|
536
546
|
),
|
|
537
547
|
!hasItems ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center rounded-md border-2 border-dashed border-border bg-muted py-12 text-center", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted", children: "No items to display" }) }) : shouldShowFeaturedSection ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 @lg:flex-row @lg:gap-6", children: [
|
|
538
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full @lg:w-[45%]", children:
|
|
548
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full @lg:w-[45%]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
549
|
+
FeaturedSection,
|
|
550
|
+
{
|
|
551
|
+
featuredAsset,
|
|
552
|
+
featuredTitle,
|
|
553
|
+
featuredSubtitle,
|
|
554
|
+
featuredButtonText,
|
|
555
|
+
featuredButtonUrl,
|
|
556
|
+
featuredSubtitleColor,
|
|
557
|
+
featuredSubtitleSize,
|
|
558
|
+
titleSize,
|
|
559
|
+
borderRadius
|
|
560
|
+
}
|
|
561
|
+
) }),
|
|
539
562
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full @lg:w-[55%]", children: listType === "unordered" ? renderUnorderedList() : renderOrderedList() })
|
|
540
563
|
] }) : listType === "unordered" ? renderUnorderedList() : renderOrderedList()
|
|
541
564
|
]
|
|
@@ -950,5 +973,5 @@ var listWidgetPropertySchema = {
|
|
|
950
973
|
|
|
951
974
|
exports.ListWidget = ListWidget;
|
|
952
975
|
exports.listWidgetPropertySchema = listWidgetPropertySchema;
|
|
953
|
-
//# sourceMappingURL=chunk-
|
|
954
|
-
//# sourceMappingURL=chunk-
|
|
976
|
+
//# sourceMappingURL=chunk-64HIILUF.cjs.map
|
|
977
|
+
//# sourceMappingURL=chunk-64HIILUF.cjs.map
|