ywana-core8 0.0.532 → 0.0.533
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 +21 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +21 -21
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +21 -21
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +1 -1
package/dist/index.modern.js
CHANGED
@@ -1158,7 +1158,7 @@ var Content = /*#__PURE__*/function () {
|
|
1158
1158
|
* Text Field
|
1159
1159
|
*/
|
1160
1160
|
|
1161
|
-
var TextField
|
1161
|
+
var TextField = function TextField(props) {
|
1162
1162
|
var site = useContext(SiteContext);
|
1163
1163
|
var id = props.id,
|
1164
1164
|
_props$type = props.type,
|
@@ -1405,7 +1405,7 @@ var DropDown = function DropDown(props) {
|
|
1405
1405
|
|
1406
1406
|
return /*#__PURE__*/React.createElement("div", {
|
1407
1407
|
className: "dropdown"
|
1408
|
-
}, /*#__PURE__*/React.createElement(TextField
|
1408
|
+
}, /*#__PURE__*/React.createElement(TextField, _extends({}, props, {
|
1409
1409
|
onClick: toggle,
|
1410
1410
|
value: label,
|
1411
1411
|
onChange: change,
|
@@ -1440,13 +1440,13 @@ var DateRange = function DateRange(props) {
|
|
1440
1440
|
|
1441
1441
|
return /*#__PURE__*/React.createElement("div", {
|
1442
1442
|
className: "date-range"
|
1443
|
-
}, label ? /*#__PURE__*/React.createElement("label", null, label) : null, /*#__PURE__*/React.createElement(TextField
|
1443
|
+
}, label ? /*#__PURE__*/React.createElement("label", null, label) : null, /*#__PURE__*/React.createElement(TextField, {
|
1444
1444
|
id: "from",
|
1445
1445
|
type: "date",
|
1446
1446
|
label: "From",
|
1447
1447
|
value: form.from,
|
1448
1448
|
onChange: change
|
1449
|
-
}), /*#__PURE__*/React.createElement(TextField
|
1449
|
+
}), /*#__PURE__*/React.createElement(TextField, {
|
1450
1450
|
id: "to",
|
1451
1451
|
type: "date",
|
1452
1452
|
label: "To",
|
@@ -1753,7 +1753,7 @@ var DataTableCell = function DataTableCell(_ref4) {
|
|
1753
1753
|
}) : '';
|
1754
1754
|
|
1755
1755
|
case "TEXTFIELD":
|
1756
|
-
return /*#__PURE__*/React.createElement(TextField
|
1756
|
+
return /*#__PURE__*/React.createElement(TextField, {
|
1757
1757
|
id: id,
|
1758
1758
|
value: cell,
|
1759
1759
|
onChange: function onChange(id, value) {
|
@@ -1772,7 +1772,7 @@ var DataTableCell = function DataTableCell(_ref4) {
|
|
1772
1772
|
});
|
1773
1773
|
|
1774
1774
|
case "Number":
|
1775
|
-
return /*#__PURE__*/React.createElement(TextField
|
1775
|
+
return /*#__PURE__*/React.createElement(TextField, {
|
1776
1776
|
id: id,
|
1777
1777
|
type: "number",
|
1778
1778
|
value: cell,
|
@@ -1994,7 +1994,7 @@ var StringCellEditor = function StringCellEditor(_ref8) {
|
|
1994
1994
|
value: value,
|
1995
1995
|
onChange: change,
|
1996
1996
|
options: options
|
1997
|
-
}) : /*#__PURE__*/React.createElement(TextField
|
1997
|
+
}) : /*#__PURE__*/React.createElement(TextField, {
|
1998
1998
|
outlined: true,
|
1999
1999
|
id: id,
|
2000
2000
|
value: value,
|
@@ -2293,13 +2293,13 @@ var LoginBox = function LoginBox(_ref) {
|
|
2293
2293
|
src: logo
|
2294
2294
|
}) : '', /*#__PURE__*/React.createElement("div", {
|
2295
2295
|
className: "title"
|
2296
|
-
}, /*#__PURE__*/React.createElement(Text, null, title))), /*#__PURE__*/React.createElement("main", null, /*#__PURE__*/React.createElement(TextField
|
2296
|
+
}, /*#__PURE__*/React.createElement(Text, null, title))), /*#__PURE__*/React.createElement("main", null, /*#__PURE__*/React.createElement(TextField, {
|
2297
2297
|
label: tx(userLabel),
|
2298
2298
|
value: user,
|
2299
2299
|
onChange: changeUser,
|
2300
2300
|
onEnter: ok,
|
2301
2301
|
outlined: true
|
2302
|
-
}), /*#__PURE__*/React.createElement(TextField
|
2302
|
+
}), /*#__PURE__*/React.createElement(TextField, {
|
2303
2303
|
label: tx(passwordLabel),
|
2304
2304
|
value: password,
|
2305
2305
|
onChange: changePassword,
|
@@ -2377,7 +2377,7 @@ var ResetPasswordBox = function ResetPasswordBox(_ref) {
|
|
2377
2377
|
className: "title"
|
2378
2378
|
}, /*#__PURE__*/React.createElement(Text, null, title)) : null, children), /*#__PURE__*/React.createElement("main", null, /*#__PURE__*/React.createElement(Text, {
|
2379
2379
|
use: "headline6"
|
2380
|
-
}, "Change Password"), /*#__PURE__*/React.createElement(TextField
|
2380
|
+
}, "Change Password"), /*#__PURE__*/React.createElement(TextField, {
|
2381
2381
|
id: "user",
|
2382
2382
|
outlined: true,
|
2383
2383
|
icon: "person",
|
@@ -2385,7 +2385,7 @@ var ResetPasswordBox = function ResetPasswordBox(_ref) {
|
|
2385
2385
|
lapse: 100,
|
2386
2386
|
onChange: changeField,
|
2387
2387
|
onEnter: ok
|
2388
|
-
}), /*#__PURE__*/React.createElement(TextField
|
2388
|
+
}), /*#__PURE__*/React.createElement(TextField, {
|
2389
2389
|
id: "password1",
|
2390
2390
|
outlined: true,
|
2391
2391
|
icon: "lock",
|
@@ -2394,7 +2394,7 @@ var ResetPasswordBox = function ResetPasswordBox(_ref) {
|
|
2394
2394
|
lapse: 100,
|
2395
2395
|
onChange: changeField,
|
2396
2396
|
onEnter: ok
|
2397
|
-
}), /*#__PURE__*/React.createElement(TextField
|
2397
|
+
}), /*#__PURE__*/React.createElement(TextField, {
|
2398
2398
|
id: "password2",
|
2399
2399
|
outlined: true,
|
2400
2400
|
icon: "lock",
|
@@ -2714,7 +2714,7 @@ var Planner = function Planner(_ref) {
|
|
2714
2714
|
icon: "chevron_right",
|
2715
2715
|
clickable: true,
|
2716
2716
|
action: next
|
2717
|
-
}), /*#__PURE__*/React.createElement(TextField
|
2717
|
+
}), /*#__PURE__*/React.createElement(TextField, {
|
2718
2718
|
id: "to",
|
2719
2719
|
type: "date",
|
2720
2720
|
label: "To",
|
@@ -2734,7 +2734,7 @@ var Planner = function Planner(_ref) {
|
|
2734
2734
|
}
|
2735
2735
|
}), /*#__PURE__*/React.createElement("div", {
|
2736
2736
|
className: "expand"
|
2737
|
-
}), /*#__PURE__*/React.createElement(TextField
|
2737
|
+
}), /*#__PURE__*/React.createElement(TextField, {
|
2738
2738
|
id: "from",
|
2739
2739
|
type: "date",
|
2740
2740
|
label: "From",
|
@@ -3866,7 +3866,7 @@ var StringField = function StringField(_ref2) {
|
|
3866
3866
|
options: buildOptions(),
|
3867
3867
|
outlined: outlined
|
3868
3868
|
});
|
3869
|
-
return /*#__PURE__*/React.createElement(TextField
|
3869
|
+
return /*#__PURE__*/React.createElement(TextField, {
|
3870
3870
|
key: id,
|
3871
3871
|
id: id,
|
3872
3872
|
type: fieldType,
|
@@ -3906,7 +3906,7 @@ var NumberField = function NumberField(_ref3) {
|
|
3906
3906
|
options: options,
|
3907
3907
|
outlined: outlined
|
3908
3908
|
});
|
3909
|
-
return /*#__PURE__*/React.createElement(TextField
|
3909
|
+
return /*#__PURE__*/React.createElement(TextField, {
|
3910
3910
|
key: id,
|
3911
3911
|
id: id,
|
3912
3912
|
type: "number",
|
@@ -4329,7 +4329,7 @@ var StringEditor = function StringEditor(_ref6) {
|
|
4329
4329
|
className: "img-field"
|
4330
4330
|
}, /*#__PURE__*/React.createElement("img", {
|
4331
4331
|
src: value
|
4332
|
-
}), /*#__PURE__*/React.createElement(TextField
|
4332
|
+
}), /*#__PURE__*/React.createElement(TextField, {
|
4333
4333
|
outlined: outlined,
|
4334
4334
|
id: id,
|
4335
4335
|
label: label,
|
@@ -4354,7 +4354,7 @@ var StringEditor = function StringEditor(_ref6) {
|
|
4354
4354
|
});
|
4355
4355
|
|
4356
4356
|
case FORMATS.DATE:
|
4357
|
-
return /*#__PURE__*/React.createElement(TextField
|
4357
|
+
return /*#__PURE__*/React.createElement(TextField, {
|
4358
4358
|
outlined: outlined,
|
4359
4359
|
id: id,
|
4360
4360
|
type: "date",
|
@@ -4397,7 +4397,7 @@ var StringEditor = function StringEditor(_ref6) {
|
|
4397
4397
|
label: label,
|
4398
4398
|
onChange: change,
|
4399
4399
|
readOnly: !editable
|
4400
|
-
}) : /*#__PURE__*/React.createElement(TextField
|
4400
|
+
}) : /*#__PURE__*/React.createElement(TextField, {
|
4401
4401
|
outlined: outlined,
|
4402
4402
|
id: id,
|
4403
4403
|
label: label,
|
@@ -4437,7 +4437,7 @@ var NumberEditor = function NumberEditor(_ref7) {
|
|
4437
4437
|
var disabled = !editable;
|
4438
4438
|
return /*#__PURE__*/React.createElement("div", {
|
4439
4439
|
className: "field-editor number-editor"
|
4440
|
-
}, /*#__PURE__*/React.createElement(TextField
|
4440
|
+
}, /*#__PURE__*/React.createElement(TextField, {
|
4441
4441
|
outlined: outlined,
|
4442
4442
|
id: id,
|
4443
4443
|
label: label,
|
@@ -7805,5 +7805,5 @@ var isFunction = function isFunction(value) {
|
|
7805
7805
|
return value && (Object.prototype.toString.call(value) === "[object Function]" || "function" === typeof value || value instanceof Function);
|
7806
7806
|
};
|
7807
7807
|
|
7808
|
-
export { Avatar, Button, CheckBox, Chip, Chips, CircularProgress, CollectionContext, CollectionEditor$1 as CollectionEditor, CollectionFilters, CollectionPage, CollectionTree, Content, ContentEditor, ContentForm, CreateContentDialog, DataTable, Dialog, DropDown, EditContentDialog, FORMATS, FieldEditor, FileExplorer, FileIconsView, Form, HTTPClient, Header, Icon, Kanban, KanbanCard, KanbanColumn, LinearProgress, List, ListEditor, LoginBox, Menu, MenuIcon, MenuItem, MenuSeparator, Page, PageContext, PageProvider, Planner, Property, RadioButton, ResetPasswordBox, Section, Session, Site, SiteContext, SiteProvider, Stack, Switch, TEXTFORMATS, TYPES, Tab, TabbedContentEditor, TabbedTablePage, TableEditor$1 as TableEditor, TablePage, Tabs, Text, TextArea, TextField
|
7808
|
+
export { Avatar, Button, CheckBox, Chip, Chips, CircularProgress, CollectionContext, CollectionEditor$1 as CollectionEditor, CollectionFilters, CollectionPage, CollectionTree, Content, ContentEditor, ContentForm, CreateContentDialog, DataTable, Dialog, DropDown, EditContentDialog, FORMATS, FieldEditor, FileExplorer, FileIconsView, Form, HTTPClient, Header, Icon, Kanban, KanbanCard, KanbanColumn, LinearProgress, List, ListEditor, LoginBox, Menu, MenuIcon, MenuItem, MenuSeparator, Page, PageContext, PageProvider, Planner, Property, RadioButton, ResetPasswordBox, Section, Session, Site, SiteContext, SiteProvider, Stack, Switch, TEXTFORMATS, TYPES, Tab, TabbedContentEditor, TabbedTablePage, TableEditor$1 as TableEditor, TablePage, Tabs, Text, TextArea, TextField, Thumbnail, TokenField, Tooltip, Tree, TreeItem, TreeNode, TreededContentEditor, UploadArea, UploadDialog, UploadFile, UploadIcon, Uploader, View, Viewer, WaitScreen, isFunction };
|
7809
7809
|
//# sourceMappingURL=index.modern.js.map
|