ywana-core8 0.0.792 → 0.0.794
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/index.cjs +151 -85
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +151 -85
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +151 -85
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain2/CollectionContext.js +6 -9
- package/src/domain2/DynamicForm.js +3 -2
- package/src/domain2/DynamicForm.test.js +14 -11
package/dist/index.modern.js
CHANGED
@@ -1128,7 +1128,7 @@ var Stack = function Stack(props) {
|
|
1128
1128
|
/**
|
1129
1129
|
* TYPES
|
1130
1130
|
*/
|
1131
|
-
var TYPES = {
|
1131
|
+
var TYPES$1 = {
|
1132
1132
|
STRING: 'String',
|
1133
1133
|
NUMBER: 'Number',
|
1134
1134
|
BOOLEAN: 'Boolean',
|
@@ -1157,7 +1157,7 @@ var FORMATS$1 = {
|
|
1157
1157
|
* CHECK
|
1158
1158
|
*/
|
1159
1159
|
|
1160
|
-
var CHECK = Object.values(TYPES).reduce(function (obj, name) {
|
1160
|
+
var CHECK = Object.values(TYPES$1).reduce(function (obj, name) {
|
1161
1161
|
obj['is' + name] = function (x) {
|
1162
1162
|
return toString.call(x) == '[object ' + name + ']';
|
1163
1163
|
};
|
@@ -1185,19 +1185,19 @@ var ContentType = /*#__PURE__*/function () {
|
|
1185
1185
|
var child = new ContentType(item);
|
1186
1186
|
|
1187
1187
|
switch (type) {
|
1188
|
-
case TYPES.ARRAY:
|
1188
|
+
case TYPES$1.ARRAY:
|
1189
1189
|
valid = CHECK['is' + type](data);
|
1190
1190
|
validChildren = data.every(function (element) {
|
1191
1191
|
return child.validate(element);
|
1192
1192
|
});
|
1193
1193
|
break;
|
1194
1194
|
|
1195
|
-
case TYPES.ENTITY:
|
1195
|
+
case TYPES$1.ENTITY:
|
1196
1196
|
valid = CHECK['is' + type](data);
|
1197
1197
|
validChildren = child.validate(data);
|
1198
1198
|
break;
|
1199
1199
|
|
1200
|
-
case TYPES.NUMBER:
|
1200
|
+
case TYPES$1.NUMBER:
|
1201
1201
|
valid = CHECK['is' + type](data.value);
|
1202
1202
|
validChildren = true;
|
1203
1203
|
break;
|
@@ -1285,26 +1285,26 @@ var ContentType = /*#__PURE__*/function () {
|
|
1285
1285
|
|
1286
1286
|
if (outsider === true) ; else {
|
1287
1287
|
switch (type) {
|
1288
|
-
case TYPES.STRING:
|
1288
|
+
case TYPES$1.STRING:
|
1289
1289
|
next[name] = entryData || field["default"];
|
1290
1290
|
break;
|
1291
1291
|
|
1292
|
-
case TYPES.NUMBER:
|
1292
|
+
case TYPES$1.NUMBER:
|
1293
1293
|
next[name] = entryData || field["default"];
|
1294
1294
|
break;
|
1295
1295
|
|
1296
|
-
case TYPES.BOOLEAN:
|
1296
|
+
case TYPES$1.BOOLEAN:
|
1297
1297
|
next[name] = entryData || field["default"];
|
1298
1298
|
break;
|
1299
1299
|
|
1300
|
-
case TYPES.ENTITY:
|
1300
|
+
case TYPES$1.ENTITY:
|
1301
1301
|
if (optional === true && !entryData) break;
|
1302
1302
|
var child1 = new ContentType(item);
|
1303
1303
|
next[name] = child1.value(entryData);
|
1304
1304
|
break;
|
1305
1305
|
|
1306
|
-
case TYPES.ARRAY:
|
1307
|
-
if (item === TYPES.STRING) {
|
1306
|
+
case TYPES$1.ARRAY:
|
1307
|
+
if (item === TYPES$1.STRING) {
|
1308
1308
|
next[name] = entryData ? entryData : [];
|
1309
1309
|
} else {
|
1310
1310
|
var child2 = new ContentType(item);
|
@@ -1852,7 +1852,7 @@ var DataTable = function DataTable(props) {
|
|
1852
1852
|
item = _ref.item,
|
1853
1853
|
sortable = _ref.sortable;
|
1854
1854
|
|
1855
|
-
var _ref2 = type === TYPES.ENTITY ? [1, Object.values(item).filter(function (v) {
|
1855
|
+
var _ref2 = type === TYPES$1.ENTITY ? [1, Object.values(item).filter(function (v) {
|
1856
1856
|
return v.column === true;
|
1857
1857
|
}).length] : [2, 1],
|
1858
1858
|
rowspan = _ref2[0],
|
@@ -1878,7 +1878,7 @@ var DataTable = function DataTable(props) {
|
|
1878
1878
|
colSpan: 1
|
1879
1879
|
})), /*#__PURE__*/React.createElement("tr", null, columns.filter(function (_ref3) {
|
1880
1880
|
var type = _ref3.type;
|
1881
|
-
return type === TYPES.ENTITY;
|
1881
|
+
return type === TYPES$1.ENTITY;
|
1882
1882
|
}).map(function (column) {
|
1883
1883
|
var item = column.item;
|
1884
1884
|
var fields = item ? Object.values(item) : [];
|
@@ -2120,7 +2120,7 @@ var DataTableCell = function DataTableCell(_ref4) {
|
|
2120
2120
|
}
|
2121
2121
|
};
|
2122
2122
|
|
2123
|
-
return column.type === TYPES.ENTITY ? /*#__PURE__*/React.createElement(EntityCellViewer, {
|
2123
|
+
return column.type === TYPES$1.ENTITY ? /*#__PURE__*/React.createElement(EntityCellViewer, {
|
2124
2124
|
id: column.id,
|
2125
2125
|
item: column.item,
|
2126
2126
|
value: cell
|
@@ -4679,12 +4679,12 @@ var ContentFormField = function ContentFormField(props) {
|
|
4679
4679
|
var type = props.type;
|
4680
4680
|
|
4681
4681
|
switch (type) {
|
4682
|
-
case TYPES.BOOLEAN:
|
4682
|
+
case TYPES$1.BOOLEAN:
|
4683
4683
|
return /*#__PURE__*/React.createElement(CheckBox, _extends({
|
4684
4684
|
key: props.id
|
4685
4685
|
}, props));
|
4686
4686
|
|
4687
|
-
case TYPES.NUMBER:
|
4687
|
+
case TYPES$1.NUMBER:
|
4688
4688
|
return /*#__PURE__*/React.createElement(NumberField, _extends({
|
4689
4689
|
key: props.id
|
4690
4690
|
}, props));
|
@@ -4713,7 +4713,7 @@ var StringField = function StringField(_ref2) {
|
|
4713
4713
|
value = _ref2.value,
|
4714
4714
|
onChange = _ref2.onChange,
|
4715
4715
|
outlined = _ref2.outlined;
|
4716
|
-
var fieldTypes = (_fieldTypes = {}, _fieldTypes[TYPES.NUMBER] = 'number', _fieldTypes[TYPES.DATE] = 'date', _fieldTypes);
|
4716
|
+
var fieldTypes = (_fieldTypes = {}, _fieldTypes[TYPES$1.NUMBER] = 'number', _fieldTypes[TYPES$1.DATE] = 'date', _fieldTypes);
|
4717
4717
|
|
4718
4718
|
function buildOptions() {
|
4719
4719
|
var opts = typeof options === 'function' ? options() : options;
|
@@ -5219,12 +5219,12 @@ var TaskMonitor = function TaskMonitor(props) {
|
|
5219
5219
|
}, {
|
5220
5220
|
id: "init",
|
5221
5221
|
label: "Inicio",
|
5222
|
-
type: TYPES.STRING,
|
5222
|
+
type: TYPES$1.STRING,
|
5223
5223
|
format: FORMATS$1.DATE
|
5224
5224
|
}, {
|
5225
5225
|
id: "end",
|
5226
5226
|
label: "Fin",
|
5227
|
-
type: TYPES.STRING,
|
5227
|
+
type: TYPES$1.STRING,
|
5228
5228
|
format: FORMATS$1.DATE
|
5229
5229
|
}, {
|
5230
5230
|
id: "description",
|
@@ -5509,7 +5509,7 @@ var TreededContentEditor = function TreededContentEditor(_ref4) {
|
|
5509
5509
|
onChange = _ref4.onChange;
|
5510
5510
|
var value = content.value();
|
5511
5511
|
var nodes = Object.values(content.type).filter(function (field) {
|
5512
|
-
return field.type === TYPES.ARRAY;
|
5512
|
+
return field.type === TYPES$1.ARRAY;
|
5513
5513
|
});
|
5514
5514
|
|
5515
5515
|
var _useState2 = useState(),
|
@@ -5602,14 +5602,14 @@ var FieldEditor = function FieldEditor(_ref5) {
|
|
5602
5602
|
return null;
|
5603
5603
|
} else {
|
5604
5604
|
switch (type) {
|
5605
|
-
case TYPES.ENTITY:
|
5605
|
+
case TYPES$1.ENTITY:
|
5606
5606
|
return /*#__PURE__*/React.createElement(EntityEditor, {
|
5607
5607
|
field: field,
|
5608
5608
|
value: value1,
|
5609
5609
|
onChange: change
|
5610
5610
|
});
|
5611
5611
|
|
5612
|
-
case TYPES.STRING:
|
5612
|
+
case TYPES$1.STRING:
|
5613
5613
|
return /*#__PURE__*/React.createElement(StringEditor, {
|
5614
5614
|
outlined: outlined,
|
5615
5615
|
field: field,
|
@@ -5618,7 +5618,7 @@ var FieldEditor = function FieldEditor(_ref5) {
|
|
5618
5618
|
content: content
|
5619
5619
|
});
|
5620
5620
|
|
5621
|
-
case TYPES.BOOLEAN:
|
5621
|
+
case TYPES$1.BOOLEAN:
|
5622
5622
|
return /*#__PURE__*/React.createElement(CheckBox, {
|
5623
5623
|
outlined: true,
|
5624
5624
|
id: id,
|
@@ -5627,7 +5627,7 @@ var FieldEditor = function FieldEditor(_ref5) {
|
|
5627
5627
|
onChange: change
|
5628
5628
|
});
|
5629
5629
|
|
5630
|
-
case TYPES.NUMBER:
|
5630
|
+
case TYPES$1.NUMBER:
|
5631
5631
|
return /*#__PURE__*/React.createElement(NumberEditor, {
|
5632
5632
|
outlined: outlined,
|
5633
5633
|
field: field,
|
@@ -5635,8 +5635,8 @@ var FieldEditor = function FieldEditor(_ref5) {
|
|
5635
5635
|
onChange: change
|
5636
5636
|
});
|
5637
5637
|
|
5638
|
-
case TYPES.ARRAY:
|
5639
|
-
return item === TYPES.STRING ? options ? /*#__PURE__*/React.createElement(MultiSelectionEditor, {
|
5638
|
+
case TYPES$1.ARRAY:
|
5639
|
+
return item === TYPES$1.STRING ? options ? /*#__PURE__*/React.createElement(MultiSelectionEditor, {
|
5640
5640
|
content: content,
|
5641
5641
|
field: field,
|
5642
5642
|
value: value1,
|
@@ -6323,26 +6323,26 @@ var FieldViewer = function FieldViewer(props) {
|
|
6323
6323
|
if (hidden) return null;
|
6324
6324
|
|
6325
6325
|
switch (type) {
|
6326
|
-
case TYPES.BOOLEAN:
|
6326
|
+
case TYPES$1.BOOLEAN:
|
6327
6327
|
return /*#__PURE__*/React.createElement(BooleanViewer, {
|
6328
6328
|
field: field,
|
6329
6329
|
value: value
|
6330
6330
|
});
|
6331
6331
|
|
6332
|
-
case TYPES.STRING:
|
6332
|
+
case TYPES$1.STRING:
|
6333
6333
|
return /*#__PURE__*/React.createElement(StringViewer, {
|
6334
6334
|
field: field,
|
6335
6335
|
value: value
|
6336
6336
|
});
|
6337
6337
|
|
6338
|
-
case TYPES.ENTITY:
|
6338
|
+
case TYPES$1.ENTITY:
|
6339
6339
|
return /*#__PURE__*/React.createElement(EntityViewer, {
|
6340
6340
|
field: field,
|
6341
6341
|
value: value
|
6342
6342
|
});
|
6343
6343
|
|
6344
|
-
case TYPES.ARRAY:
|
6345
|
-
return item === TYPES.STRING ? /*#__PURE__*/React.createElement(ListViewer, {
|
6344
|
+
case TYPES$1.ARRAY:
|
6345
|
+
return item === TYPES$1.STRING ? /*#__PURE__*/React.createElement(ListViewer, {
|
6346
6346
|
field: field,
|
6347
6347
|
value: value
|
6348
6348
|
}) : /*#__PURE__*/React.createElement(ArrayViewer, {
|
@@ -6881,7 +6881,7 @@ var CollectionFilters$1 = function CollectionFilters(props) {
|
|
6881
6881
|
if (filterSchema[key].filter === false) {
|
6882
6882
|
delete filterSchema[key];
|
6883
6883
|
} else {
|
6884
|
-
if (filterSchema[key].type === TYPES.ENTITY) {
|
6884
|
+
if (filterSchema[key].type === TYPES$1.ENTITY) {
|
6885
6885
|
var fs = filterSchema[key].item;
|
6886
6886
|
|
6887
6887
|
for (var key in fs) {
|
@@ -7532,12 +7532,12 @@ var CollectionContext$1 = function CollectionContext(url, field, host, page, fet
|
|
7532
7532
|
var QUERY = {
|
7533
7533
|
id: {
|
7534
7534
|
id: "id",
|
7535
|
-
type: TYPES.STRING,
|
7535
|
+
type: TYPES$1.STRING,
|
7536
7536
|
editable: false
|
7537
7537
|
},
|
7538
7538
|
name: {
|
7539
7539
|
id: "name",
|
7540
|
-
type: TYPES.STRING,
|
7540
|
+
type: TYPES$1.STRING,
|
7541
7541
|
required: true,
|
7542
7542
|
label: "Name"
|
7543
7543
|
}
|
@@ -8045,7 +8045,7 @@ var TableFilters$2 = function TableFilters(props) {
|
|
8045
8045
|
if (filterSchema[key].filter === false) {
|
8046
8046
|
delete filterSchema[key];
|
8047
8047
|
} else {
|
8048
|
-
if (filterSchema[key].type === TYPES.ENTITY) {
|
8048
|
+
if (filterSchema[key].type === TYPES$1.ENTITY) {
|
8049
8049
|
var fs = filterSchema[key].item;
|
8050
8050
|
|
8051
8051
|
for (var key in fs) {
|
@@ -9040,7 +9040,7 @@ var TableFilters$1 = function TableFilters(props) {
|
|
9040
9040
|
if (filterSchema[key].filter === false) {
|
9041
9041
|
delete filterSchema[key];
|
9042
9042
|
} else {
|
9043
|
-
if (filterSchema[key].type === TYPES.ENTITY) {
|
9043
|
+
if (filterSchema[key].type === TYPES$1.ENTITY) {
|
9044
9044
|
var fs = filterSchema[key].item;
|
9045
9045
|
|
9046
9046
|
for (var key in fs) {
|
@@ -10181,7 +10181,7 @@ var TableFilters = function TableFilters(props) {
|
|
10181
10181
|
if (filterSchema[key].filter === false) {
|
10182
10182
|
delete filterSchema[key];
|
10183
10183
|
} else {
|
10184
|
-
if (filterSchema[key].type === TYPES.ENTITY) {
|
10184
|
+
if (filterSchema[key].type === TYPES$1.ENTITY) {
|
10185
10185
|
var fs = filterSchema[key].item;
|
10186
10186
|
|
10187
10187
|
for (var key in fs) {
|
@@ -10833,51 +10833,98 @@ function _catch(body, recover) {
|
|
10833
10833
|
|
10834
10834
|
var CollectionContext = React.createContext();
|
10835
10835
|
var CollectionContextProvider = function CollectionContextProvider(props) {
|
10836
|
-
|
10837
|
-
|
10838
|
-
|
10839
|
-
|
10840
|
-
|
10841
|
-
|
10842
|
-
|
10843
|
-
|
10844
|
-
|
10845
|
-
|
10846
|
-
}
|
10847
|
-
|
10848
|
-
}
|
10849
|
-
|
10850
|
-
|
10851
|
-
|
10852
|
-
|
10853
|
-
|
10854
|
-
|
10855
|
-
|
10856
|
-
|
10857
|
-
|
10858
|
-
|
10859
|
-
|
10860
|
-
|
10861
|
-
|
10862
|
-
|
10863
|
-
|
10864
|
-
|
10865
|
-
|
10866
|
-
|
10867
|
-
|
10868
|
-
return
|
10869
|
-
|
10870
|
-
|
10871
|
-
|
10872
|
-
|
10873
|
-
|
10874
|
-
|
10875
|
-
|
10876
|
-
|
10877
|
-
|
10878
|
-
|
10879
|
-
|
10836
|
+
var remove = function remove(id) {
|
10837
|
+
try {
|
10838
|
+
var _this12 = this;
|
10839
|
+
|
10840
|
+
var _temp12 = _catch(function () {
|
10841
|
+
return Promise.resolve(API.remove(id)).then(function () {
|
10842
|
+
return Promise.resolve(_this12.load()).then(function () {});
|
10843
|
+
});
|
10844
|
+
}, function (error) {
|
10845
|
+
console.log(error);
|
10846
|
+
});
|
10847
|
+
|
10848
|
+
return Promise.resolve(_temp12 && _temp12.then ? _temp12.then(function () {}) : void 0);
|
10849
|
+
} catch (e) {
|
10850
|
+
return Promise.reject(e);
|
10851
|
+
}
|
10852
|
+
};
|
10853
|
+
|
10854
|
+
var updateProperty = function updateProperty(id, propertyName, form) {
|
10855
|
+
try {
|
10856
|
+
var _this10 = this;
|
10857
|
+
|
10858
|
+
var _temp10 = _catch(function () {
|
10859
|
+
return Promise.resolve(API.updateProperty(id, propertyName, form)).then(function () {
|
10860
|
+
return Promise.resolve(_this10.load()).then(function () {});
|
10861
|
+
});
|
10862
|
+
}, function (error) {
|
10863
|
+
console.log(error);
|
10864
|
+
});
|
10865
|
+
|
10866
|
+
return Promise.resolve(_temp10 && _temp10.then ? _temp10.then(function () {}) : void 0);
|
10867
|
+
} catch (e) {
|
10868
|
+
return Promise.reject(e);
|
10869
|
+
}
|
10870
|
+
};
|
10871
|
+
|
10872
|
+
var patch = function patch(id, form) {
|
10873
|
+
try {
|
10874
|
+
var _this8 = this;
|
10875
|
+
|
10876
|
+
var _temp8 = _catch(function () {
|
10877
|
+
if (versioning) form.version = form.version ? form.version + 1 : 1;
|
10878
|
+
return Promise.resolve(API.patch(id, form)).then(function () {
|
10879
|
+
return Promise.resolve(_this8.load()).then(function () {});
|
10880
|
+
});
|
10881
|
+
}, function (error) {
|
10882
|
+
console.log(error);
|
10883
|
+
});
|
10880
10884
|
|
10885
|
+
return Promise.resolve(_temp8 && _temp8.then ? _temp8.then(function () {}) : void 0);
|
10886
|
+
} catch (e) {
|
10887
|
+
return Promise.reject(e);
|
10888
|
+
}
|
10889
|
+
};
|
10890
|
+
|
10891
|
+
var update = function update(form) {
|
10892
|
+
try {
|
10893
|
+
var _this6 = this;
|
10894
|
+
|
10895
|
+
var _temp6 = _catch(function () {
|
10896
|
+
if (versioning) form.version = form.version ? form.version + 1 : 1;
|
10897
|
+
return Promise.resolve(API.update(form)).then(function () {
|
10898
|
+
return Promise.resolve(_this6.load()).then(function () {});
|
10899
|
+
});
|
10900
|
+
}, function (error) {
|
10901
|
+
console.log(error);
|
10902
|
+
});
|
10903
|
+
|
10904
|
+
return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
|
10905
|
+
} catch (e) {
|
10906
|
+
return Promise.reject(e);
|
10907
|
+
}
|
10908
|
+
};
|
10909
|
+
|
10910
|
+
var create = function create(form) {
|
10911
|
+
try {
|
10912
|
+
var _this4 = this;
|
10913
|
+
|
10914
|
+
var _temp4 = _catch(function () {
|
10915
|
+
if (versioning) form.version = 1;
|
10916
|
+
return Promise.resolve(API.create(form)).then(function () {
|
10917
|
+
return Promise.resolve(_this4.load()).then(function () {});
|
10918
|
+
});
|
10919
|
+
}, function (error) {
|
10920
|
+
console.log(error);
|
10921
|
+
});
|
10922
|
+
|
10923
|
+
return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(function () {}) : void 0);
|
10924
|
+
} catch (e) {
|
10925
|
+
return Promise.reject(e);
|
10926
|
+
}
|
10927
|
+
};
|
10881
10928
|
|
10882
10929
|
var fetch = function fetch(id) {
|
10883
10930
|
try {
|
@@ -10973,6 +11020,8 @@ var CollectionContextProvider = function CollectionContextProvider(props) {
|
|
10973
11020
|
_props$fetching = props.fetching,
|
10974
11021
|
fetching = _props$fetching === void 0 ? true : _props$fetching,
|
10975
11022
|
field = props.field,
|
11023
|
+
_props$versioning = props.versioning,
|
11024
|
+
versioning = _props$versioning === void 0 ? false : _props$versioning,
|
10976
11025
|
children = props.children,
|
10977
11026
|
filtersValue = props.filtersValue;
|
10978
11027
|
var API = CollectionAPI(url, host);
|
@@ -11033,7 +11082,12 @@ var CollectionContextProvider = function CollectionContextProvider(props) {
|
|
11033
11082
|
addCustomFilter: addCustomFilter,
|
11034
11083
|
removeCustomFilter: removeCustomFilter,
|
11035
11084
|
queries: queries,
|
11036
|
-
setQueries: setQueries
|
11085
|
+
setQueries: setQueries,
|
11086
|
+
create: create,
|
11087
|
+
update: update,
|
11088
|
+
patch: patch,
|
11089
|
+
updateProperty: updateProperty,
|
11090
|
+
remove: remove
|
11037
11091
|
};
|
11038
11092
|
return /*#__PURE__*/React.createElement(CollectionContext.Provider, {
|
11039
11093
|
value: value
|
@@ -11056,6 +11110,18 @@ var FORMATS = {
|
|
11056
11110
|
TOKENS: 'TOKENS'
|
11057
11111
|
};
|
11058
11112
|
|
11113
|
+
/**
|
11114
|
+
* TYPES
|
11115
|
+
*/
|
11116
|
+
var TYPES = {
|
11117
|
+
STRING: 'String',
|
11118
|
+
NUMBER: 'Number',
|
11119
|
+
BOOLEAN: 'Boolean',
|
11120
|
+
ARRAY: 'Array',
|
11121
|
+
ENTITY: 'Object',
|
11122
|
+
FUNCTION: 'Function'
|
11123
|
+
};
|
11124
|
+
|
11059
11125
|
/**
|
11060
11126
|
* Dynamic Form
|
11061
11127
|
*/
|
@@ -11162,7 +11228,7 @@ var DynamicFormField = function DynamicFormField(props) {
|
|
11162
11228
|
label: label,
|
11163
11229
|
value: value,
|
11164
11230
|
onChange: change,
|
11165
|
-
options:
|
11231
|
+
options: buildOptions(),
|
11166
11232
|
outlined: true
|
11167
11233
|
}) : /*#__PURE__*/React.createElement(TextField, {
|
11168
11234
|
id: id,
|
@@ -11176,7 +11242,7 @@ var DynamicFormField = function DynamicFormField(props) {
|
|
11176
11242
|
|
11177
11243
|
function renderByType() {
|
11178
11244
|
switch (type) {
|
11179
|
-
case
|
11245
|
+
case TYPES.BOOLEAN:
|
11180
11246
|
return /*#__PURE__*/React.createElement(CheckBox, {
|
11181
11247
|
id: id,
|
11182
11248
|
label: field.label,
|
@@ -11415,5 +11481,5 @@ var isFunction = function isFunction(value) {
|
|
11415
11481
|
return value && (Object.prototype.toString.call(value) === "[object Function]" || "function" === typeof value || value instanceof Function);
|
11416
11482
|
};
|
11417
11483
|
|
11418
|
-
export { Accordion, Avatar, Button, Calendar, CheckBox, Chip, Chips, CircularProgress, CollectionContext$1 as CollectionContext, CollectionContext as CollectionContext2, CollectionEditor$2 as CollectionEditor, CollectionFilters$1 as CollectionFilters, CollectionPage$1 as CollectionPage, CollectionPage as CollectionPage2, CollectionTree, ColorField, Content, ContentEditor, ContentForm, ContentViewer, CreateContentDialog, DataTable, DateRange, Dialog, DropDown, DynamicForm, EditContentDialog, EmptyMessage, FORMATS$1 as FORMATS, FieldEditor, FileExplorer, FilesGrid, Form, HTTPClient, Header, Icon, ImageViewer, Kanban, KanbanCard, KanbanColumn, LinearProgress, List, ListEditor, LoginBox, Menu, MenuIcon, MenuItem, MenuSeparator, MultiSelector, Page, PageContext, PageProvider, PasswordEditor, PasswordField, Planner, Property, RadioButton, ResetPasswordBox, Section, Session, Site, SiteContext, SiteProvider, Stack, Switch, TEXTFORMATS, TYPES, Tab, TabbedContentEditor, TabbedTablePage, TabbedView, TableEditor$2 as TableEditor, TablePage, TablePage2, Tabs, TaskContext, TaskContextProvider, TaskMonitor, TaskProgress, Text, TextArea, TextField, Thumbnail, ToggleButton, TokenField, Tooltip, Tree, TreeItem, TreeNode, TreededContentEditor, UploadArea, UploadDialog, UploadFile, UploadIcon, Uploader, View, Viewer, WaitScreen, Wizard, WizardContext, isEmpty, isFunction };
|
11484
|
+
export { Accordion, Avatar, Button, Calendar, CheckBox, Chip, Chips, CircularProgress, CollectionContext$1 as CollectionContext, CollectionContext as CollectionContext2, CollectionEditor$2 as CollectionEditor, CollectionFilters$1 as CollectionFilters, CollectionPage$1 as CollectionPage, CollectionPage as CollectionPage2, CollectionTree, ColorField, Content, ContentEditor, ContentForm, ContentViewer, CreateContentDialog, DataTable, DateRange, Dialog, DropDown, DynamicForm, EditContentDialog, EmptyMessage, FORMATS$1 as FORMATS, FieldEditor, FileExplorer, FilesGrid, Form, HTTPClient, Header, Icon, ImageViewer, Kanban, KanbanCard, KanbanColumn, LinearProgress, List, ListEditor, LoginBox, Menu, MenuIcon, MenuItem, MenuSeparator, MultiSelector, Page, PageContext, PageProvider, PasswordEditor, PasswordField, Planner, Property, RadioButton, ResetPasswordBox, Section, Session, Site, SiteContext, SiteProvider, Stack, Switch, TEXTFORMATS, TYPES$1 as TYPES, Tab, TabbedContentEditor, TabbedTablePage, TabbedView, TableEditor$2 as TableEditor, TablePage, TablePage2, Tabs, TaskContext, TaskContextProvider, TaskMonitor, TaskProgress, Text, TextArea, TextField, Thumbnail, ToggleButton, TokenField, Tooltip, Tree, TreeItem, TreeNode, TreededContentEditor, UploadArea, UploadDialog, UploadFile, UploadIcon, Uploader, View, Viewer, WaitScreen, Wizard, WizardContext, isEmpty, isFunction };
|
11419
11485
|
//# sourceMappingURL=index.modern.js.map
|