amotify 0.0.8 → 0.0.9
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/@types/_.d.ts → @types/_.tsx} +3 -3
- package/{src/@types → @types}/amot.tsx +0 -1
- package/{src/@types → @types}/fn.tsx +1 -2
- package/{src/@types → @types}/index.tsx +1 -5
- package/{src/@types → @types}/jsminAmotifyExtension.tsx +1 -2
- package/dist/amotify.js +1 -0
- package/dist/amotify.min.css +24 -0
- package/package.json +4 -9
- package/src/{Atoms/@export.tsx → @atoms.tsx} +3 -3
- package/src/@functions.tsx +29 -0
- package/src/{Global/@export.tsx → @global.tsx} +2 -2
- package/src/@jsminAmotifyExtension/formCollect.tsx +1 -1
- package/src/{Molecules/@export.tsx → @molecules.tsx} +4 -4
- package/src/@organisms.tsx +5 -0
- package/src/@styles/UniStyling.scss +1 -1
- package/src/@styles/init.scss +1 -1
- package/src/@styles/styleSet.scss +1 -1
- package/src/{Templates/@export.tsx → @templates.tsx} +1 -1
- package/src/{Atoms → atoms}/FAIcon/style.module.scss +1 -2
- package/src/{Atoms → atoms}/Logo/parts.tsx +1 -2
- package/src/{Atoms → atoms}/Logo/style.module.scss +1 -2
- package/src/{Atoms → atoms}/Various/parts.tsx +1 -1
- package/src/{Atoms → atoms}/Various/style.module.scss +3 -2
- package/src/{Functions → functions}/Button/_.tsx +1 -1
- package/src/{Functions → functions}/Button/style.module.scss +3 -2
- package/src/{Functions → functions}/Cropper/parts.tsx +4 -4
- package/src/{Functions → functions}/Cropper/style.module.scss +1 -1
- package/src/{Functions → functions}/Effects/Fade.tsx +2 -2
- package/src/{Functions → functions}/Effects/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Chips/Selector.tsx +4 -5
- package/src/{Functions → functions}/Input/Chips/_.tsx +3 -7
- package/src/functions/Input/Chips/style.module.scss +6 -0
- package/src/{Functions → functions}/Input/DigitCharacters.tsx +3 -3
- package/src/{Functions → functions}/Input/File/_.tsx +4 -4
- package/src/{Functions → functions}/Input/File/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/List/_.tsx +3 -3
- package/src/{Functions → functions}/Input/List/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Segmented/_.tsx +1 -1
- package/src/{Functions → functions}/Input/Segmented/style.module.scss +2 -2
- package/src/{Functions → functions}/Input/Select/_.tsx +3 -3
- package/src/{Functions → functions}/Input/Select/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Slider/_.tsx +3 -3
- package/src/{Functions → functions}/Input/Slider/style.module.scss +2 -2
- package/src/{Functions → functions}/Input/Switch/_.tsx +4 -4
- package/src/{Functions → functions}/Input/Switch/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Text.tsx +2 -2
- package/src/{Functions → functions}/Input/TextArea.tsx +1 -1
- package/src/{Functions → functions}/Input/Time/Picker.tsx +4 -4
- package/src/{Functions → functions}/Input/Time/_.tsx +3 -3
- package/src/{Functions → functions}/Input/Time/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/_.tsx +4 -4
- package/src/{Functions → functions}/Input/core.tsx +4 -4
- package/src/{Functions → functions}/Input/style.module.scss +1 -1
- package/src/{Functions → functions}/Inputs/style.module.scss +1 -1
- package/src/{Functions → functions}/Inputs/text.tsx +4 -17
- package/src/functions/Inputs/types.d.ts +13 -0
- package/src/{Functions → functions}/Layout/PageNotFound.tsx +4 -6
- package/src/{Functions → functions}/Layout/PageRouter.tsx +2 -2
- package/src/{Functions → functions}/Layout/PageViewController/parts.tsx +4 -2
- package/src/{Functions → functions}/Layout/Plate.tsx +1 -1
- package/src/{Functions → functions}/Layout/RootViewController/parts.tsx +6 -8
- package/src/{Functions → functions}/Layout/RootViewController/style.module.scss +1 -1
- package/src/{Functions → functions}/Layout/SwipeView/parts.tsx +2 -3
- package/src/{Functions → functions}/Layout/SwipeView/style.module.scss +1 -1
- package/src/{Functions → functions}/Layout/TabBar.tsx +4 -4
- package/src/{Functions → functions}/Loader/corner.tsx +3 -3
- package/src/{Functions → functions}/Loader/mini.tsx +2 -2
- package/src/{Functions → functions}/Loader/parts.tsx +1 -1
- package/src/{Functions → functions}/Loader/style.module.scss +1 -1
- package/src/{Functions → functions}/Loader/top.tsx +3 -3
- package/src/{Functions → functions}/Sheet/parts.tsx +4 -4
- package/src/{Functions → functions}/Sheet/style.module.scss +1 -1
- package/src/{Functions → functions}/SnackBar/parts.tsx +4 -4
- package/src/{Functions → functions}/SnackBar/style.module.scss +1 -1
- package/src/{Functions → functions}/Table/Data/parts.tsx +4 -4
- package/src/{Functions → functions}/Table/Drag/parts.tsx +3 -3
- package/src/{Functions → functions}/Table/Normal/parts.tsx +1 -2
- package/src/{Functions → functions}/Table/_.tsx +3 -4
- package/src/{Functions → functions}/Table/style.module.scss +3 -2
- package/src/{Functions → functions}/Tooltips/parts.tsx +2 -2
- package/src/{Global → global}/styleConverter.tsx +1 -5
- package/src/launch.tsx +8 -8
- package/src/{Molecules → molecules}/Accordion/parts.tsx +2 -2
- package/src/{Molecules → molecules}/Accordion/style.module.scss +1 -1
- package/src/{Molecules → molecules}/LinkifyText/parts.tsx +2 -2
- package/src/{Molecules → molecules}/List.tsx +1 -1
- package/src/{Organisms → organisms}/DisplayStyleInput/darkmode.tsx +4 -4
- package/src/{Organisms → organisms}/DisplayStyleInput/themeColor.tsx +4 -4
- package/src/{Templates → templates}/PlayGround/parts.tsx +26 -40
- package/src/{Templates → templates}/PlayGround/style.module.scss +1 -1
- package/tsconfig.json +19 -5
- package/webpack.config.js +13 -2
- package/dist/@jsminAmotifyExtension/_.d.ts +0 -4
- package/dist/@jsminAmotifyExtension/_.js +0 -6
- package/dist/@jsminAmotifyExtension/fetch.d.ts +0 -9
- package/dist/@jsminAmotifyExtension/fetch.js +0 -199
- package/dist/@jsminAmotifyExtension/formCollect.d.ts +0 -1
- package/dist/@jsminAmotifyExtension/formCollect.js +0 -137
- package/dist/@jsminAmotifyExtension/spreadSheet.d.ts +0 -4
- package/dist/@jsminAmotifyExtension/spreadSheet.js +0 -314
- package/dist/@jsminAmotifyExtension/variables.d.ts +0 -0
- package/dist/@jsminAmotifyExtension/variables.js +0 -186
- package/dist/@types/_.js +0 -8
- package/dist/@types/amot.d.ts +0 -260
- package/dist/@types/amot.js +0 -2
- package/dist/@types/fn.d.ts +0 -1040
- package/dist/@types/fn.js +0 -2
- package/dist/@types/index.d.ts +0 -62
- package/dist/@types/index.js +0 -2
- package/dist/@types/jsminAmotifyExtension.d.ts +0 -134
- package/dist/@types/jsminAmotifyExtension.js +0 -2
- package/dist/@types/module.d.ts +0 -2
- package/dist/@types/module.js +0 -1
- package/dist/@types/state.d.ts +0 -145
- package/dist/@types/state.js +0 -2
- package/dist/Atoms/@export.d.ts +0 -4
- package/dist/Atoms/@export.js +0 -16
- package/dist/Atoms/FAIcon/parts.d.ts +0 -2
- package/dist/Atoms/FAIcon/parts.js +0 -152
- package/dist/Atoms/Logo/parts.d.ts +0 -1
- package/dist/Atoms/Logo/parts.js +0 -154
- package/dist/Atoms/Various/parts.d.ts +0 -9
- package/dist/Atoms/Various/parts.js +0 -113
- package/dist/Functions/@export.d.ts +0 -12
- package/dist/Functions/@export.js +0 -25
- package/dist/Functions/Button/_.d.ts +0 -1
- package/dist/Functions/Button/_.js +0 -270
- package/dist/Functions/Cropper/parts.d.ts +0 -1
- package/dist/Functions/Cropper/parts.js +0 -783
- package/dist/Functions/Effects/Fade.d.ts +0 -1
- package/dist/Functions/Effects/Fade.js +0 -82
- package/dist/Functions/Effects/Ripple.d.ts +0 -1
- package/dist/Functions/Effects/Ripple.js +0 -107
- package/dist/Functions/Effects/_.d.ts +0 -3
- package/dist/Functions/Effects/_.js +0 -43
- package/dist/Functions/Input/Chips/Selector.d.ts +0 -1
- package/dist/Functions/Input/Chips/Selector.js +0 -356
- package/dist/Functions/Input/Chips/_.d.ts +0 -2
- package/dist/Functions/Input/Chips/_.js +0 -218
- package/dist/Functions/Input/DigitCharacters.d.ts +0 -1
- package/dist/Functions/Input/DigitCharacters.js +0 -178
- package/dist/Functions/Input/File/_.d.ts +0 -2
- package/dist/Functions/Input/File/_.js +0 -458
- package/dist/Functions/Input/Hidden.d.ts +0 -1
- package/dist/Functions/Input/Hidden.js +0 -30
- package/dist/Functions/Input/List/_.d.ts +0 -1
- package/dist/Functions/Input/List/_.js +0 -232
- package/dist/Functions/Input/Segmented/_.d.ts +0 -1
- package/dist/Functions/Input/Segmented/_.js +0 -111
- package/dist/Functions/Input/Select/_.d.ts +0 -1
- package/dist/Functions/Input/Select/_.js +0 -154
- package/dist/Functions/Input/Slider/_.d.ts +0 -1
- package/dist/Functions/Input/Slider/_.js +0 -308
- package/dist/Functions/Input/Switch/_.d.ts +0 -1
- package/dist/Functions/Input/Switch/_.js +0 -120
- package/dist/Functions/Input/Text.d.ts +0 -5
- package/dist/Functions/Input/Text.js +0 -340
- package/dist/Functions/Input/TextArea.d.ts +0 -1
- package/dist/Functions/Input/TextArea.js +0 -98
- package/dist/Functions/Input/Time/Picker.d.ts +0 -1
- package/dist/Functions/Input/Time/Picker.js +0 -581
- package/dist/Functions/Input/Time/_.d.ts +0 -2
- package/dist/Functions/Input/Time/_.js +0 -567
- package/dist/Functions/Input/_.d.ts +0 -5
- package/dist/Functions/Input/_.js +0 -446
- package/dist/Functions/Input/core.d.ts +0 -34
- package/dist/Functions/Input/core.js +0 -324
- package/dist/Functions/Inputs/_.d.ts +0 -3
- package/dist/Functions/Inputs/_.js +0 -7
- package/dist/Functions/Inputs/text.d.ts +0 -12
- package/dist/Functions/Inputs/text.js +0 -46
- package/dist/Functions/Layout/PageNotFound.d.ts +0 -1
- package/dist/Functions/Layout/PageNotFound.js +0 -30
- package/dist/Functions/Layout/PageRouter.d.ts +0 -2
- package/dist/Functions/Layout/PageRouter.js +0 -65
- package/dist/Functions/Layout/PageViewController/parts.d.ts +0 -1
- package/dist/Functions/Layout/PageViewController/parts.js +0 -31
- package/dist/Functions/Layout/Plate.d.ts +0 -1
- package/dist/Functions/Layout/Plate.js +0 -39
- package/dist/Functions/Layout/RootViewController/parts.d.ts +0 -1
- package/dist/Functions/Layout/RootViewController/parts.js +0 -202
- package/dist/Functions/Layout/SwipeView/parts.d.ts +0 -2
- package/dist/Functions/Layout/SwipeView/parts.js +0 -319
- package/dist/Functions/Layout/TabBar.d.ts +0 -1
- package/dist/Functions/Layout/TabBar.js +0 -49
- package/dist/Functions/Layout/_.d.ts +0 -2
- package/dist/Functions/Layout/_.js +0 -20
- package/dist/Functions/Loader/corner.d.ts +0 -1
- package/dist/Functions/Loader/corner.js +0 -59
- package/dist/Functions/Loader/mini.d.ts +0 -33
- package/dist/Functions/Loader/mini.js +0 -126
- package/dist/Functions/Loader/parts.d.ts +0 -3
- package/dist/Functions/Loader/parts.js +0 -108
- package/dist/Functions/Loader/top.d.ts +0 -1
- package/dist/Functions/Loader/top.js +0 -69
- package/dist/Functions/Sheet/parts.d.ts +0 -2
- package/dist/Functions/Sheet/parts.js +0 -724
- package/dist/Functions/SnackBar/parts.d.ts +0 -2
- package/dist/Functions/SnackBar/parts.js +0 -171
- package/dist/Functions/Table/Data/parts.d.ts +0 -3
- package/dist/Functions/Table/Data/parts.js +0 -629
- package/dist/Functions/Table/Drag/parts.d.ts +0 -1
- package/dist/Functions/Table/Drag/parts.js +0 -359
- package/dist/Functions/Table/Normal/parts.d.ts +0 -1
- package/dist/Functions/Table/Normal/parts.js +0 -92
- package/dist/Functions/Table/_.d.ts +0 -9
- package/dist/Functions/Table/_.js +0 -153
- package/dist/Functions/Tooltips/parts.d.ts +0 -2
- package/dist/Functions/Tooltips/parts.js +0 -71
- package/dist/Global/@export.d.ts +0 -12
- package/dist/Global/@export.js +0 -198
- package/dist/Global/LaunchReactApplication.d.ts +0 -1
- package/dist/Global/LaunchReactApplication.js +0 -48
- package/dist/Global/styleConverter.d.ts +0 -2
- package/dist/Global/styleConverter.js +0 -349
- package/dist/Molecules/@export.d.ts +0 -21
- package/dist/Molecules/@export.js +0 -41
- package/dist/Molecules/Accordion/parts.d.ts +0 -2
- package/dist/Molecules/Accordion/parts.js +0 -165
- package/dist/Molecules/LinkifyText/parts.d.ts +0 -1
- package/dist/Molecules/LinkifyText/parts.js +0 -39
- package/dist/Molecules/List.d.ts +0 -1
- package/dist/Molecules/List.js +0 -35
- package/dist/Organisms/@export.d.ts +0 -2
- package/dist/Organisms/@export.js +0 -5
- package/dist/Organisms/DisplayStyleInput/_.d.ts +0 -1
- package/dist/Organisms/DisplayStyleInput/_.js +0 -15
- package/dist/Organisms/DisplayStyleInput/darkmode.d.ts +0 -1
- package/dist/Organisms/DisplayStyleInput/darkmode.js +0 -77
- package/dist/Organisms/DisplayStyleInput/themeColor.d.ts +0 -27
- package/dist/Organisms/DisplayStyleInput/themeColor.js +0 -185
- package/dist/Templates/@export.d.ts +0 -2
- package/dist/Templates/@export.js +0 -5
- package/dist/Templates/PlayGround/parts.d.ts +0 -1
- package/dist/Templates/PlayGround/parts.js +0 -55
- package/dist/config.d.ts +0 -16
- package/dist/config.js +0 -171
- package/dist/launch.d.ts +0 -9
- package/dist/launch.js +0 -46
- package/dist/preload.d.ts +0 -1
- package/dist/preload.js +0 -73
- package/public/amotify.js +0 -310
- package/public/amotify.min.css +0 -12724
- package/src/@types/_.tsx +0 -6
- package/src/Functions/@export.tsx +0 -29
- package/src/Functions/Input/Chips/style.module.scss +0 -6
- package/src/Functions/Inputs/types.d.ts +0 -1
- package/src/Global/exe.tsx +0 -0
- package/src/Organisms/@export.tsx +0 -5
- package/src/index.js +0 -0
- /package/{src/@types → @types}/module.tsx +0 -0
- /package/{src/@types → @types}/state.tsx +0 -0
- /package/src/{Atoms → atoms}/FAIcon/parts.tsx +0 -0
- /package/src/{Functions → functions}/Effects/Ripple.tsx +0 -0
- /package/src/{Functions → functions}/Effects/_.tsx +0 -0
- /package/src/{Functions → functions}/Input/Hidden.tsx +0 -0
- /package/src/{Functions → functions}/Inputs/_.tsx +0 -0
- /package/src/{Functions → functions}/Layout/_.tsx +0 -0
- /package/src/{Global → global}/LaunchReactApplication.tsx +0 -0
- /package/src/{Organisms → organisms}/DisplayStyleInput/_.tsx +0 -0
|
@@ -1,446 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
var __read = (this && this.__read) || function (o, n) {
|
|
25
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
26
|
-
if (!m) return o;
|
|
27
|
-
var i = m.call(o), r, ar = [], e;
|
|
28
|
-
try {
|
|
29
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
30
|
-
}
|
|
31
|
-
catch (error) { e = { error: error }; }
|
|
32
|
-
finally {
|
|
33
|
-
try {
|
|
34
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
35
|
-
}
|
|
36
|
-
finally { if (e) throw e.error; }
|
|
37
|
-
}
|
|
38
|
-
return ar;
|
|
39
|
-
};
|
|
40
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
41
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
42
|
-
};
|
|
43
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44
|
-
exports.Input = exports.ListInputs = void 0;
|
|
45
|
-
var _export_1 = require("../../Global/@export");
|
|
46
|
-
var useState = React.useState, useEffect = React.useEffect, useRef = React.useRef;
|
|
47
|
-
var _export_2 = require("../../Atoms/@export");
|
|
48
|
-
var _export_3 = require("../../Molecules/@export");
|
|
49
|
-
var _export_4 = require("../../Functions/@export");
|
|
50
|
-
var style_module_scss_1 = __importDefault(require("./style.module.scss"));
|
|
51
|
-
var Hidden_1 = require("./Hidden");
|
|
52
|
-
var Text_1 = require("./Text");
|
|
53
|
-
var TextArea_1 = require("./TextArea");
|
|
54
|
-
var DigitCharacters_1 = require("./DigitCharacters");
|
|
55
|
-
var _1 = require("./Time/_");
|
|
56
|
-
var _2 = require("./Select/_");
|
|
57
|
-
var _3 = require("./List/_");
|
|
58
|
-
var _4 = require("./Chips/_");
|
|
59
|
-
var _5 = require("./Switch/_");
|
|
60
|
-
var _6 = require("./File/_");
|
|
61
|
-
var _7 = require("./Slider/_");
|
|
62
|
-
var _8 = require("./Segmented/_");
|
|
63
|
-
var UniComponent = function (props) {
|
|
64
|
-
var _a = __read(useState(props.componentID || $.uuidGen()), 1), val_componentID = _a[0];
|
|
65
|
-
props.params = __assign(__assign({ enableFormSubmit: true,
|
|
66
|
-
// override: 'beforeModified',
|
|
67
|
-
override: 'never', name: $.uuidGen(), id: $.uuidGen(), statusID: $.uuidGen(), 'aria-label': 'Input-' + val_componentID }, props.params), { componentID: val_componentID });
|
|
68
|
-
var Children = props.children;
|
|
69
|
-
return (React.createElement(Children, __assign({}, props.params)));
|
|
70
|
-
};
|
|
71
|
-
var TextInputs = {
|
|
72
|
-
Validate: Text_1.TextValidate,
|
|
73
|
-
Normal: function (rawParams) {
|
|
74
|
-
var _a, _b;
|
|
75
|
-
if (rawParams.rightIcon)
|
|
76
|
-
rawParams.paddingRight = (_a = rawParams.paddingRight) !== null && _a !== void 0 ? _a : 3;
|
|
77
|
-
if (rawParams.leftIcon)
|
|
78
|
-
rawParams.paddingLeft = (_b = rawParams.paddingLeft) !== null && _b !== void 0 ? _b : 3;
|
|
79
|
-
return (React.createElement(UniComponent, { componentID: rawParams.componentID, children: Text_1.TextInput, params: DefaultStyles.Boxish(rawParams) }));
|
|
80
|
-
},
|
|
81
|
-
CreditCard: function (props) { return (React.createElement(TextInputs.Normal, __assign({ restrict: 'creditCard' }, props))); },
|
|
82
|
-
Tel: function (props) { return (React.createElement(TextInputs.Normal, __assign({ restrict: 'tel', placeholder: 'xxx-xxxx-xxxx' }, props))); },
|
|
83
|
-
Number: function (props) { return (React.createElement(TextInputs.Normal, __assign({ restrict: 'number' }, props))); },
|
|
84
|
-
DigitNumber: function (props) { return (React.createElement(TextInputs.Normal, __assign({ restrict: 'digitNumber' }, props))); },
|
|
85
|
-
Email: function (props) { return (React.createElement(TextInputs.Normal, __assign({ restrict: 'email' }, props))); },
|
|
86
|
-
Url: function (props) { return (React.createElement(TextInputs.Normal, __assign({ restrict: 'url', placeholder: 'https://example.com' }, props))); },
|
|
87
|
-
Postal: function (params) {
|
|
88
|
-
var _a = __read(useState($.uuidGen()), 1), val_postalEventID = _a[0];
|
|
89
|
-
useEffect(function () {
|
|
90
|
-
return function () {
|
|
91
|
-
_export_1.useStore.delete(val_postalEventID);
|
|
92
|
-
};
|
|
93
|
-
}, []);
|
|
94
|
-
return (React.createElement(TextInputs.Normal, __assign({ restrict: 'postal', placeholder: '\u90F5\u4FBF\u756A\u53F7', leftIndicator: React.createElement(exports.Input.Comps.LeftIndicator, { children: '〒' }) }, params)));
|
|
95
|
-
},
|
|
96
|
-
Password: function (props) {
|
|
97
|
-
return (React.createElement(TextInputs.Normal, __assign({ restrict: 'password', placeholder: '\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B', rightIndicator: React.createElement(exports.Input.Comps.RightIndicator, { padding: 0 },
|
|
98
|
-
React.createElement(_export_4.Buttons.Button.Normal.R, { padding: '3/4', fontColor: 'theme', borderTopLeftRadius: 0, borderBottomLeftRadius: 0, backgroundColor: 'inherit', height: 1, ssEffectsOnActive: ['expand'], onMouseOver: function (event) {
|
|
99
|
-
_export_4.Tooltips.open({
|
|
100
|
-
parent: event.currentTarget,
|
|
101
|
-
gravityPoint: 24,
|
|
102
|
-
padding: [1, 0],
|
|
103
|
-
content: React.createElement(_export_4.Tooltips.Comps.Body, null, "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8868\u793A")
|
|
104
|
-
});
|
|
105
|
-
}, tabIndex: -1, onClick: function (event) {
|
|
106
|
-
$(event.target)
|
|
107
|
-
.parent().parent().parent()
|
|
108
|
-
.find('input')
|
|
109
|
-
.callback(function (input) {
|
|
110
|
-
var Input = input[0];
|
|
111
|
-
Input.type = Input.type === 'password' ? 'text' : 'password';
|
|
112
|
-
});
|
|
113
|
-
} },
|
|
114
|
-
React.createElement(_export_2.FAIcon, { d: 'eye', freeCSS: {
|
|
115
|
-
pointerEvents: 'none'
|
|
116
|
-
} }))) }, props)));
|
|
117
|
-
},
|
|
118
|
-
Money: {
|
|
119
|
-
JPY: function (props) { return (React.createElement(TextInputs.DigitNumber, __assign({ placeholder: "\u91D1\u984D\u3092\u5165\u529B", rightIndicator: React.createElement(exports.Input.Comps.RightIndicator, { children: '円' }) }, props))); }
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
var TimeInputs = {
|
|
123
|
-
Origin: function (rawParams) {
|
|
124
|
-
var _a = __read(useState(rawParams.componentID || $.uuidGen()), 1), val_componentID = _a[0];
|
|
125
|
-
rawParams.componentID = val_componentID;
|
|
126
|
-
if ($.is.nullish(rawParams.rightIndicator)) {
|
|
127
|
-
var icon = (rawParams.restrict || '').match(/clock/) ? 'clock' : 'calendar-lines';
|
|
128
|
-
rawParams.rightIndicator = React.createElement(exports.Input.Comps.RightIndicator, { padding: 0 },
|
|
129
|
-
React.createElement(_export_4.Buttons.Button.Sub.R, { color: 'cloud', border: 'unset', padding: '3/4', fontColor: 'theme', borderTopLeftRadius: 0, borderBottomLeftRadius: 0, backgroundColor: 'inherit', height: 1, ssEffectsOnActive: ['ripple.theme'], tabIndex: -1, id: 'Picker-' + rawParams.componentID, onClick: function () {
|
|
130
|
-
var component = _export_1.useStore.get(rawParams.componentID);
|
|
131
|
-
if (component)
|
|
132
|
-
component.openPicker();
|
|
133
|
-
} },
|
|
134
|
-
React.createElement(_export_2.FAIcon, { d: icon })));
|
|
135
|
-
}
|
|
136
|
-
return (React.createElement(UniComponent, { componentID: rawParams.componentID, children: _1.TimeInput, params: DefaultStyles.Boxish(rawParams) }));
|
|
137
|
-
},
|
|
138
|
-
Clock: function (props) { return (React.createElement(TimeInputs.Origin, __assign({ restrict: 'clock', era: 'clock' }, props))); },
|
|
139
|
-
Date: function (props) { return (React.createElement(TimeInputs.Origin, __assign({ restrict: 'date' }, props))); },
|
|
140
|
-
Week: function (props) { return (React.createElement(TimeInputs.Origin, __assign({ restrict: 'week' }, props))); },
|
|
141
|
-
Month: function (props) { return (React.createElement(TimeInputs.Origin, __assign({ restrict: 'month' }, props))); },
|
|
142
|
-
Year: function (props) { return (React.createElement(TimeInputs.Origin, __assign({ restrict: 'year' }, props))); },
|
|
143
|
-
DateWareki: function (params) {
|
|
144
|
-
var _a = __read(useState(params.componentID || $.uuidGen()), 1), val_componentID = _a[0];
|
|
145
|
-
params.componentID = val_componentID;
|
|
146
|
-
var _b = params.defaultEra, defaultEra = _b === void 0 ? 'wareki' : _b;
|
|
147
|
-
var era = 'year';
|
|
148
|
-
if (defaultEra == 'wareki') {
|
|
149
|
-
era = 'reiwa';
|
|
150
|
-
if (params.value) {
|
|
151
|
-
var _c = __read(params.value.split(/\D/), 3), year = _c[0], month = _c[1], date = _c[2];
|
|
152
|
-
if (year && month && date) {
|
|
153
|
-
var Year = Number(year);
|
|
154
|
-
if (Year >= 2019) {
|
|
155
|
-
Year -= 2019, era = 'reiwa';
|
|
156
|
-
}
|
|
157
|
-
else if (Year >= 1989) {
|
|
158
|
-
Year -= 1989, era = 'heisei';
|
|
159
|
-
}
|
|
160
|
-
else if (Year >= 1926) {
|
|
161
|
-
Year -= 1926, era = 'shouwa';
|
|
162
|
-
}
|
|
163
|
-
else if (Year >= 1912) {
|
|
164
|
-
Year -= 1912, era = 'taisho';
|
|
165
|
-
}
|
|
166
|
-
else if (Year >= 1868) {
|
|
167
|
-
Year -= 1868, era = 'meiji';
|
|
168
|
-
}
|
|
169
|
-
Year += 1;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
return (React.createElement(TimeInputs.Origin, __assign({ restrict: 'dateWareki', leftIndicator: React.createElement(exports.Input.Select, { enableUnSelected: false, value: era, tone: params.tone, flexCenter: true, borderTopRightRadius: 0, borderBottomRightRadius: 0, freeCSS: {
|
|
174
|
-
whiteSpace: 'nowrap',
|
|
175
|
-
marginRight: -1
|
|
176
|
-
}, options: [
|
|
177
|
-
{ value: 'year', label: '西暦' },
|
|
178
|
-
{ value: 'reiwa', label: '令和' },
|
|
179
|
-
{ value: 'heisei', label: '平成' },
|
|
180
|
-
{ value: 'shouwa', label: '昭和' },
|
|
181
|
-
{ value: 'taisho', label: '大正' },
|
|
182
|
-
{ value: 'meiji', label: '明治' }
|
|
183
|
-
], onUpdateValidValue: function (_a) {
|
|
184
|
-
var value = _a.value, eventType = _a.eventType;
|
|
185
|
-
var component = _export_1.useStore.get(params.componentID);
|
|
186
|
-
if (component && component.resetEra)
|
|
187
|
-
component.resetEra(value);
|
|
188
|
-
}, rightIcon: false }) }, params, { era: era })));
|
|
189
|
-
},
|
|
190
|
-
Periods: {
|
|
191
|
-
Date: function (props) { return (React.createElement(TimeInputs.Origin, __assign({ restrict: 'dates' }, props))); },
|
|
192
|
-
Month: function (props) { return (React.createElement(TimeInputs.Origin, __assign({ restrict: 'months' }, props))); },
|
|
193
|
-
},
|
|
194
|
-
fn: _1.TimeFNs
|
|
195
|
-
};
|
|
196
|
-
var ChipsInputs = function (rawParams) {
|
|
197
|
-
rawParams = __assign({ gap: 1, display: 'flex', horizontalAlign: 'left', verticalAlign: 'center', flexWrap: true }, rawParams);
|
|
198
|
-
var params = DefaultStyles.Boxish(rawParams);
|
|
199
|
-
return (React.createElement(UniComponent, { componentID: rawParams.componentID, children: _4.ChipsInput, params: params }));
|
|
200
|
-
};
|
|
201
|
-
ChipsInputs.fn = _4.ChipsInput.fn;
|
|
202
|
-
var FileInputs = function (rawParams) {
|
|
203
|
-
rawParams.override = 'force';
|
|
204
|
-
var params = _export_1.StyleConverter.ToClassName(rawParams);
|
|
205
|
-
params.cellClassName = [
|
|
206
|
-
params.cellClassName,
|
|
207
|
-
DefaultStyles.Boxish(__assign(__assign({}, params.cellStyles), { tone: params.tone })).className,
|
|
208
|
-
].join(' ');
|
|
209
|
-
return (React.createElement(UniComponent, { componentID: rawParams.componentID, children: _6.FileInput, params: params }));
|
|
210
|
-
};
|
|
211
|
-
FileInputs.fn = _6.FileInput.fn;
|
|
212
|
-
exports.ListInputs = {
|
|
213
|
-
Origin: function (rawParams) {
|
|
214
|
-
var params = DefaultStyles.ListCell(rawParams);
|
|
215
|
-
return (React.createElement(UniComponent, { componentID: rawParams.componentID, children: _3.ListInput, params: params }));
|
|
216
|
-
},
|
|
217
|
-
Radio: function (params) { return (React.createElement(exports.ListInputs.Origin, __assign({ iconType: 'radio', tone: params.tone }, params, { type: 'radio' }))); },
|
|
218
|
-
Checkbox: function (params) { return (React.createElement(exports.ListInputs.Origin, __assign({ iconType: 'checkbox', tone: params.tone }, params, { type: 'checkbox' }))); }
|
|
219
|
-
};
|
|
220
|
-
exports.Input = {
|
|
221
|
-
Plain: function (params) { return (React.createElement("input", __assign({}, _export_1.StyleConverter.ToClassName(params)))); },
|
|
222
|
-
Hidden: function (rawParams) {
|
|
223
|
-
return (React.createElement(UniComponent, { componentID: rawParams.componentID, children: Hidden_1.HiddenInput, params: rawParams }));
|
|
224
|
-
},
|
|
225
|
-
Text: TextInputs,
|
|
226
|
-
TextArea: function (rawParams) {
|
|
227
|
-
var _a, _b;
|
|
228
|
-
if (rawParams.rightIcon)
|
|
229
|
-
rawParams.paddingRight = (_a = rawParams.paddingRight) !== null && _a !== void 0 ? _a : 3;
|
|
230
|
-
if (rawParams.leftIcon)
|
|
231
|
-
rawParams.paddingLeft = (_b = rawParams.paddingLeft) !== null && _b !== void 0 ? _b : 3;
|
|
232
|
-
var params = DefaultStyles.Boxish(rawParams);
|
|
233
|
-
params.rows = params.rows || 5;
|
|
234
|
-
return (React.createElement(UniComponent, { componentID: rawParams.componentID, children: TextArea_1.TextAreaInput, params: params }));
|
|
235
|
-
},
|
|
236
|
-
DigitCharacters: function (rawParams) {
|
|
237
|
-
rawParams = __assign({ textAlign: 'center', width: 0 }, rawParams);
|
|
238
|
-
if (rawParams.combineInput) {
|
|
239
|
-
rawParams = $.deepMerge(rawParams, {
|
|
240
|
-
digits: rawParams.digits,
|
|
241
|
-
textAlign: 'center',
|
|
242
|
-
width: 0,
|
|
243
|
-
borderRadius: 0,
|
|
244
|
-
freeCSS: {
|
|
245
|
-
minWidth: 12 * 2,
|
|
246
|
-
marginRight: -1
|
|
247
|
-
},
|
|
248
|
-
listStyles: {
|
|
249
|
-
borderRadius: '2.tone.secondary',
|
|
250
|
-
border: 'unset',
|
|
251
|
-
gap: 0
|
|
252
|
-
},
|
|
253
|
-
});
|
|
254
|
-
}
|
|
255
|
-
var params = DefaultStyles.Boxish(rawParams);
|
|
256
|
-
return (React.createElement(UniComponent, { componentID: rawParams.componentID, children: DigitCharacters_1.DigitCharactersInput, params: params }));
|
|
257
|
-
},
|
|
258
|
-
Time: TimeInputs,
|
|
259
|
-
Select: function (rawParams) {
|
|
260
|
-
var _a, _b;
|
|
261
|
-
if ($.is.nullish(rawParams.rightIcon)) {
|
|
262
|
-
rawParams.rightIcon = React.createElement(exports.Input.Comps.RightIcon, __assign({ flexType: 'col', className: style_module_scss_1.default.IndicatorIcon }, rawParams.rightIconStyles),
|
|
263
|
-
React.createElement(_export_2.FAIcon.AngleDown, null));
|
|
264
|
-
}
|
|
265
|
-
if (rawParams.rightIcon)
|
|
266
|
-
rawParams.paddingRight = (_a = rawParams.paddingRight) !== null && _a !== void 0 ? _a : 3;
|
|
267
|
-
if (rawParams.leftIcon)
|
|
268
|
-
rawParams.paddingLeft = (_b = rawParams.paddingLeft) !== null && _b !== void 0 ? _b : 3;
|
|
269
|
-
var params = DefaultStyles.Boxish(rawParams);
|
|
270
|
-
delete params.rightIconStyles;
|
|
271
|
-
return (React.createElement(UniComponent, { componentID: rawParams.componentID, children: _2.SelectInput, params: params }));
|
|
272
|
-
},
|
|
273
|
-
Radio: exports.ListInputs.Radio,
|
|
274
|
-
Checkbox: exports.ListInputs.Checkbox,
|
|
275
|
-
Chips: ChipsInputs,
|
|
276
|
-
Search: function (params) {
|
|
277
|
-
return React.createElement(ChipsInputs, __assign({ AddButtonComponent: function (props) {
|
|
278
|
-
if (props.selected.length)
|
|
279
|
-
return null;
|
|
280
|
-
return React.createElement(_export_2.Box, null, "\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044");
|
|
281
|
-
}, SelectedCellComponent: function (props) {
|
|
282
|
-
return React.createElement(_export_2.Box, { width: 1, textAlign: 'left' },
|
|
283
|
-
React.createElement(_export_3.Row.Separate, null,
|
|
284
|
-
props.label,
|
|
285
|
-
props.defaultRemoveButton));
|
|
286
|
-
}, paddingLeft: 3, rightIcon: React.createElement(exports.Input.Comps.LeftIcon, null,
|
|
287
|
-
React.createElement(_export_3.Column, { gap: 0 },
|
|
288
|
-
React.createElement(_export_2.FAIcon.AngleUp, null),
|
|
289
|
-
React.createElement(_export_2.FAIcon.AngleDown, null))), limit: 1 }, params));
|
|
290
|
-
},
|
|
291
|
-
File: FileInputs,
|
|
292
|
-
Switch: function (rawParams) {
|
|
293
|
-
rawParams.color = rawParams.color || 'theme';
|
|
294
|
-
return (React.createElement(UniComponent, { componentID: rawParams.componentID, children: _5.SwitchInput, params: rawParams }));
|
|
295
|
-
},
|
|
296
|
-
Slider: function (rawParams) {
|
|
297
|
-
return (React.createElement(UniComponent, { componentID: rawParams.componentID, children: _7.SliderInput, params: _export_1.StyleConverter.ToClassName(rawParams) }));
|
|
298
|
-
},
|
|
299
|
-
Checker: function (rawParams) {
|
|
300
|
-
return (React.createElement(exports.ListInputs.Origin, __assign({}, rawParams, { tone: 'plain', icon: true, type: 'checker', iconType: 'checkbox', value: rawParams.value ? true : null, cellStyles: __assign({ padding: 0 }, rawParams.cellStyles), options: [
|
|
301
|
-
{ value: true, label: rawParams.label }
|
|
302
|
-
], onUpdateValidValue: function (args) {
|
|
303
|
-
var Value = !!args.value[0];
|
|
304
|
-
if (rawParams.onUpdateValidValue)
|
|
305
|
-
rawParams.onUpdateValidValue(__assign(__assign({}, args), { value: Value }));
|
|
306
|
-
} })));
|
|
307
|
-
},
|
|
308
|
-
Segmented: _8.Segmented,
|
|
309
|
-
Comps: {
|
|
310
|
-
RequiredSign: function (params) {
|
|
311
|
-
return (React.createElement(_export_2.Span, __assign({ fontColor: 'white', fontSize: '0.xs', padding: ['1/4', '1/3'], backgroundColor: 'nega', borderRadius: '3.tone.tertiary', children: '必須' }, params)));
|
|
312
|
-
},
|
|
313
|
-
OmitSign: function (params) {
|
|
314
|
-
return (React.createElement(_export_2.Span, __assign({ fontColor: 'white', fontSize: '0.xs', padding: ['1/4', '1/3'], borderRadius: '3.tone.tertiary', backgroundColor: '6.layer.darkest', children: '省略可' }, params)));
|
|
315
|
-
},
|
|
316
|
-
LeftIndicator: function (params) {
|
|
317
|
-
var tone = params.tone, others = __rest(params, ["tone"]);
|
|
318
|
-
return (React.createElement(_export_2.Box, __assign({}, DefaultStyles.Indicator(tone), { borderRight: 'unset', borderTopRightRadius: 0, borderBottomRightRadius: 0 }, others)));
|
|
319
|
-
},
|
|
320
|
-
RightIndicator: function (params) {
|
|
321
|
-
var tone = params.tone, others = __rest(params, ["tone"]);
|
|
322
|
-
return (React.createElement(_export_2.Box, __assign({}, DefaultStyles.Indicator(tone), { borderLeft: 'unset', borderTopLeftRadius: 0, borderBottomLeftRadius: 0 }, others)));
|
|
323
|
-
},
|
|
324
|
-
RightIcon: function (params) {
|
|
325
|
-
var _a = params.tone, tone = _a === void 0 ? 'border' : _a, others = __rest(params, ["tone"]);
|
|
326
|
-
return (React.createElement(_export_2.Box, __assign({}, DefaultStyles.IndicatorIcon, { right: '3/4', className: style_module_scss_1.default.IndicatorIcon }, others, { freeCSS: __assign({ zIndex: 6, pointerEvents: 'none' }, others.freeCSS) })));
|
|
327
|
-
},
|
|
328
|
-
LeftIcon: function (params) {
|
|
329
|
-
var _a = params.tone, tone = _a === void 0 ? 'border' : _a, others = __rest(params, ["tone"]);
|
|
330
|
-
return (React.createElement(_export_2.Box, __assign({}, DefaultStyles.IndicatorIcon, { left: '3/4', className: style_module_scss_1.default.IndicatorIcon }, others, { freeCSS: __assign({ zIndex: 6, pointerEvents: 'none' }, others.freeCSS) })));
|
|
331
|
-
},
|
|
332
|
-
}
|
|
333
|
-
};
|
|
334
|
-
var DefaultStyles = {
|
|
335
|
-
Input: function (type) {
|
|
336
|
-
if (type == 'plain')
|
|
337
|
-
return {};
|
|
338
|
-
var Styles = {
|
|
339
|
-
padding: '3/4',
|
|
340
|
-
transition: 'middle',
|
|
341
|
-
flexSizing: 'auto',
|
|
342
|
-
boxShadow: 0
|
|
343
|
-
};
|
|
344
|
-
if (type == 'border') {
|
|
345
|
-
Styles = __assign(__assign({}, Styles), { border: true, borderRadius: '2.tone.secondary', backgroundColor: '1.layer.base' });
|
|
346
|
-
}
|
|
347
|
-
else if (type == 'cloud') {
|
|
348
|
-
Styles = __assign(__assign({}, Styles), { border: '1.thin', borderRadius: '2.tone.secondary', backgroundColor: 'cloud' });
|
|
349
|
-
}
|
|
350
|
-
else if (type == 'bottomBorder') {
|
|
351
|
-
Styles = __assign(__assign({}, Styles), { borderRadius: 0, borderBottom: true, backgroundColor: 'cloud' });
|
|
352
|
-
}
|
|
353
|
-
return Styles;
|
|
354
|
-
},
|
|
355
|
-
ListCell: function (params) {
|
|
356
|
-
if (!params.tone) {
|
|
357
|
-
params.tone = 'border';
|
|
358
|
-
if (amotify.config.tone == 'flat')
|
|
359
|
-
params.tone = 'cloud';
|
|
360
|
-
}
|
|
361
|
-
var tone = params.tone;
|
|
362
|
-
if (tone == 'plain') {
|
|
363
|
-
}
|
|
364
|
-
else {
|
|
365
|
-
params = __assign(__assign({}, params), { cellStyles: __assign({ position: 'relative', padding: ['3/4', 1], borderRadius: '2.tone.secondary', transition: 'middle' }, params.cellStyles) });
|
|
366
|
-
if (tone == 'normal') {
|
|
367
|
-
params = __assign(__assign({ gap: '1/2' }, params), { cellStyles: __assign({ isBoldFont: true }, params.cellStyles), cellCheckedStyles: {
|
|
368
|
-
backgroundColor: 'cloud'
|
|
369
|
-
} });
|
|
370
|
-
}
|
|
371
|
-
else {
|
|
372
|
-
params = __assign(__assign({ gap: '3/4' }, params), { cellStyles: __assign({ boxShadow: 0 }, params.cellStyles) });
|
|
373
|
-
if (tone == 'cloud' || tone == 'vivid') {
|
|
374
|
-
params.cellStyles = __assign({ border: '1.thin', backgroundColor: '2.layer.cloud' }, params.cellStyles);
|
|
375
|
-
}
|
|
376
|
-
if (tone == 'border') {
|
|
377
|
-
params.cellStyles = __assign({ border: true, backgroundColor: '1.layer.base' }, params.cellStyles);
|
|
378
|
-
params.cellCheckedStyles = __assign({ borderColor: 'theme', fontColor: 'theme' }, params.cellCheckedStyles);
|
|
379
|
-
}
|
|
380
|
-
else if (tone == 'cloud') {
|
|
381
|
-
params.cellCheckedStyles = __assign({ backgroundColor: 'tcOpFew', fontColor: 'theme', borderColor: 'theme' }, params.cellCheckedStyles);
|
|
382
|
-
}
|
|
383
|
-
else if (tone == 'vivid') {
|
|
384
|
-
params.cellCheckedStyles = __assign({ backgroundColor: 'theme', fontColor: 'white', borderColor: 'theme' }, params.cellCheckedStyles);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
return _export_1.StyleConverter.ToClassName(params);
|
|
389
|
-
},
|
|
390
|
-
Boxish: function (params) {
|
|
391
|
-
if (!params.tone) {
|
|
392
|
-
params.tone = 'border';
|
|
393
|
-
if (amotify.config.tone == 'sharp')
|
|
394
|
-
params.tone = 'bottomBorder';
|
|
395
|
-
else if (amotify.config.tone == 'flat')
|
|
396
|
-
params.tone = 'cloud';
|
|
397
|
-
}
|
|
398
|
-
var Styles = __assign(__assign(__assign(__assign(__assign({}, DefaultStyles.Input(params.tone)), params), params.leftIndicator ? {
|
|
399
|
-
borderTopLeftRadius: 0,
|
|
400
|
-
borderBottomLeftRadius: 0
|
|
401
|
-
} : null), params.rightIndicator ? {
|
|
402
|
-
borderTopRightRadius: 0,
|
|
403
|
-
borderBottomRightRadius: 0,
|
|
404
|
-
} : null), { className: [
|
|
405
|
-
style_module_scss_1.default.Input,
|
|
406
|
-
params.className
|
|
407
|
-
].join(' ') });
|
|
408
|
-
return _export_1.StyleConverter.ToClassName(Styles);
|
|
409
|
-
},
|
|
410
|
-
Indicator: function (type) {
|
|
411
|
-
if (!type) {
|
|
412
|
-
type = 'border';
|
|
413
|
-
if (amotify.config.tone == 'sharp')
|
|
414
|
-
type = 'bottomBorder';
|
|
415
|
-
}
|
|
416
|
-
if (type == 'plain')
|
|
417
|
-
return {};
|
|
418
|
-
var styles = {
|
|
419
|
-
flexSizing: 'none',
|
|
420
|
-
flexCenter: true,
|
|
421
|
-
padding: [0, 1],
|
|
422
|
-
borderRadius: '2.tone.secondary',
|
|
423
|
-
backgroundColor: 'cloud'
|
|
424
|
-
};
|
|
425
|
-
if (type == 'border') {
|
|
426
|
-
styles = __assign(__assign({}, styles), { border: true });
|
|
427
|
-
}
|
|
428
|
-
else if (type == 'cloud') {
|
|
429
|
-
styles = __assign(__assign({}, styles), { border: '1.thin' });
|
|
430
|
-
}
|
|
431
|
-
else if (type == 'bottomBorder') {
|
|
432
|
-
styles = __assign(__assign({}, styles), { borderRadius: 0, borderBottom: true });
|
|
433
|
-
}
|
|
434
|
-
return styles;
|
|
435
|
-
},
|
|
436
|
-
IndicatorIcon: {
|
|
437
|
-
position: 'absolute',
|
|
438
|
-
unitWidth: 2,
|
|
439
|
-
unitHeight: 2,
|
|
440
|
-
top: '50%',
|
|
441
|
-
flexCenter: true,
|
|
442
|
-
fontColor: 'theme',
|
|
443
|
-
fontSize: '1.mini',
|
|
444
|
-
backgroundColor: 'inherit',
|
|
445
|
-
}
|
|
446
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare type BoxWrapperParams = {
|
|
3
|
-
val_status: any;
|
|
4
|
-
set_status: React.Dispatch<React.SetStateAction<any>>;
|
|
5
|
-
val_validate: amotify.fn.Input.Validation.Result;
|
|
6
|
-
params: any;
|
|
7
|
-
children: ReactElement;
|
|
8
|
-
};
|
|
9
|
-
export declare const BoxWrapper: FNC<BoxWrapperParams>;
|
|
10
|
-
export declare const CommonEffects: {
|
|
11
|
-
(props: {
|
|
12
|
-
type?: string;
|
|
13
|
-
params: plainObject;
|
|
14
|
-
val_status: amotify.fn.Input.Status.Plain;
|
|
15
|
-
set_status: React.Dispatch<React.SetStateAction<any>>;
|
|
16
|
-
val_validate: amotify.fn.Input.Validation.Result;
|
|
17
|
-
set_validate: React.Dispatch<React.SetStateAction<amotify.fn.Input.Validation.Result>>;
|
|
18
|
-
DefaultValidation: amotify.fn.Input.Validation.SystemCheck;
|
|
19
|
-
onUpdateValue?: amotify.fn.Input.OnUpdateValue;
|
|
20
|
-
onUpdateValidValue?: amotify.fn.Input.OnUpdateValue;
|
|
21
|
-
ExtraOverrideParams?: plainObject;
|
|
22
|
-
ExtraStoreParams?: plainObject;
|
|
23
|
-
}): void;
|
|
24
|
-
};
|
|
25
|
-
export declare const ValidationCheck: {
|
|
26
|
-
(props: {
|
|
27
|
-
val_status: amotify.fn.Input.Status.Plain;
|
|
28
|
-
DefaultValidation: amotify.fn.Input.Validation.SystemCheck;
|
|
29
|
-
params: any;
|
|
30
|
-
set_validate: React.Dispatch<React.SetStateAction<amotify.fn.Input.Validation.Result>>;
|
|
31
|
-
}): void;
|
|
32
|
-
};
|
|
33
|
-
export declare const SubmitForm: (event: React.KeyboardEvent) => boolean;
|
|
34
|
-
export {};
|