amotify 0.0.11 → 0.0.13

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.
Files changed (43) hide show
  1. package/@types/amot.tsx +1 -1
  2. package/@types/fn.tsx +14 -14
  3. package/dist/amotify.js +1 -1
  4. package/dist/amotify.min.css +2 -2
  5. package/package.json +4 -6
  6. package/src/@global.tsx +4 -2
  7. package/src/@reactPacks/reactProduction@18.2.0.js +79 -0
  8. package/src/@reactPacks/reactRouterDomProduction@18.2.0.js +31 -0
  9. package/src/atoms/Various/parts.tsx +3 -2
  10. package/src/functions/Button/_.tsx +3 -0
  11. package/src/functions/Cropper/parts.tsx +1 -1
  12. package/src/functions/Input/Chips/Selector.tsx +2 -2
  13. package/src/functions/Input/DigitCharacters.tsx +2 -2
  14. package/src/functions/Input/File/_.tsx +1 -1
  15. package/src/functions/Input/List/_.tsx +8 -4
  16. package/src/functions/Input/Segmented/_.tsx +8 -0
  17. package/src/functions/Input/Select/_.tsx +2 -2
  18. package/src/functions/Input/Slider/_.tsx +5 -5
  19. package/src/functions/Input/Switch/_.tsx +2 -2
  20. package/src/functions/Input/Text.tsx +2 -2
  21. package/src/functions/Input/TextArea.tsx +2 -2
  22. package/src/functions/Input/Time/Picker.tsx +1 -1
  23. package/src/functions/Input/Time/_.tsx +4 -4
  24. package/src/functions/Input/Time/style.module.scss +1 -1
  25. package/src/functions/Input/_.tsx +22 -8
  26. package/src/functions/Input/core.tsx +3 -1
  27. package/src/functions/Layout/PageRouter.tsx +10 -11
  28. package/src/functions/Layout/RootViewController/parts.tsx +1 -2
  29. package/src/functions/Loader/corner.tsx +6 -4
  30. package/src/functions/Loader/parts.tsx +0 -1
  31. package/src/functions/Loader/style.module.scss +1 -1
  32. package/src/functions/Sheet/parts.tsx +31 -16
  33. package/src/functions/Table/Data/parts.tsx +1 -0
  34. package/src/functions/Table/Drag/parts.tsx +1 -1
  35. package/src/functions/Table/Normal/parts.tsx +1 -0
  36. package/src/functions/Table/_.tsx +1 -0
  37. package/src/functions/Tooltips/parts.tsx +2 -2
  38. package/src/global/LaunchReactApplication.tsx +3 -3
  39. package/src/global/styleConverter.tsx +24 -1
  40. package/src/launch.tsx +1 -1
  41. package/src/molecules/Accordion/parts.tsx +7 -6
  42. package/src/preload.tsx +20 -1
  43. package/webpack.config.js +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "UI Component for React",
5
5
  "main": "dist/launch.js",
6
6
  "types": "dist/@types.d.ts",
@@ -28,10 +28,9 @@
28
28
  },
29
29
  "homepage": "https://github.com/IkkoKoyama/amotify#readme",
30
30
  "dependencies": {
31
- "@types/react": "^18.2.37",
32
31
  "react": "^18.2.0",
33
32
  "react-dom": "^18.2.0",
34
- "react-router-dom": "^6.18.0"
33
+ "react-router-dom": "^6.19.0"
35
34
  },
36
35
  "devDependencies": {
37
36
  "@babel/cli": "^7.17.0",
@@ -40,9 +39,8 @@
40
39
  "@babel/preset-typescript": "^7.16.7",
41
40
  "@types/express": "^4.17.13",
42
41
  "@types/google.maps": "^3.50.0",
42
+ "@types/react": "^18.2.37",
43
43
  "@types/react-dom": "^18.2.15",
44
- "@types/react-router": "^5.1.20",
45
- "@types/react-router-dom": "^5.3.3",
46
44
  "babel-loader": "^8.2.3",
47
45
  "babel-preset-preact": "^2.0.0",
48
46
  "browser-sync-webpack-plugin": "^2.3.0",
@@ -62,4 +60,4 @@
62
60
  "webpack-cli": "^4.9.2",
63
61
  "webpack-remove-empty-scripts": "^0.7.3"
64
62
  }
65
- }
63
+ }
package/src/@global.tsx CHANGED
@@ -102,7 +102,8 @@ const pageTransit: amotify.global.PageTransitParams = {
102
102
  pageTransit.pushSync( url );
103
103
  return;
104
104
  }
105
- useStore.get( 'history' ).push( url );
105
+ let navigate = useStore.get( 'navigate' );
106
+ navigate( url );
106
107
  },
107
108
  push: ( url,newTab ) => {
108
109
  if ( newTab ) {
@@ -112,7 +113,8 @@ const pageTransit: amotify.global.PageTransitParams = {
112
113
  pageTransit.pushAsync( url );
113
114
  },
114
115
  back: () => {
115
- useStore.get( 'history' ).goBack();
116
+ let navigate = useStore.get( 'navigate' );
117
+ navigate( -1 );
116
118
  },
117
119
  }
118
120
 
@@ -0,0 +1,79 @@
1
+ /**
2
+ * @license React
3
+ * react.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ ( function () {
12
+ 'use strict'; ( function ( c, x ) { "object" === typeof exports && "undefined" !== typeof module ? x( exports ) : "function" === typeof define && define.amd ? define( [ "exports" ], x ) : ( c = c || self, x( c.React = {} ) ) } )( this, function ( c ) {
13
+ function x ( a ) { if ( null === a || "object" !== typeof a ) return null; a = V && a[ V ] || a[ "@@iterator" ]; return "function" === typeof a ? a : null } function w ( a, b, e ) { this.props = a; this.context = b; this.refs = W; this.updater = e || X } function Y () { } function K ( a, b, e ) { this.props = a; this.context = b; this.refs = W; this.updater = e || X } function Z ( a, b,
14
+ e ) { var m, d = {}, c = null, h = null; if ( null != b ) for ( m in void 0 !== b.ref && ( h = b.ref ), void 0 !== b.key && ( c = "" + b.key ), b ) aa.call( b, m ) && !ba.hasOwnProperty( m ) && ( d[ m ] = b[ m ] ); var l = arguments.length - 2; if ( 1 === l ) d.children = e; else if ( 1 < l ) { for ( var f = Array( l ), k = 0; k < l; k++ )f[ k ] = arguments[ k + 2 ]; d.children = f } if ( a && a.defaultProps ) for ( m in l = a.defaultProps, l ) void 0 === d[ m ] && ( d[ m ] = l[ m ] ); return { $$typeof: y, type: a, key: c, ref: h, props: d, _owner: L.current } } function na ( a, b ) { return { $$typeof: y, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner } }
15
+ function M ( a ) { return "object" === typeof a && null !== a && a.$$typeof === y } function oa ( a ) { var b = { "=": "=0", ":": "=2" }; return "$" + a.replace( /[=:]/g, function ( a ) { return b[ a ] } ) } function N ( a, b ) { return "object" === typeof a && null !== a && null != a.key ? oa( "" + a.key ) : b.toString( 36 ) } function B ( a, b, e, m, d ) {
16
+ var c = typeof a; if ( "undefined" === c || "boolean" === c ) a = null; var h = !1; if ( null === a ) h = !0; else switch ( c ) { case "string": case "number": h = !0; break; case "object": switch ( a.$$typeof ) { case y: case pa: h = !0 } }if ( h ) return h = a, d = d( h ), a = "" === m ? "." +
17
+ N( h, 0 ) : m, ca( d ) ? ( e = "", null != a && ( e = a.replace( da, "$&/" ) + "/" ), B( d, b, e, "", function ( a ) { return a } ) ) : null != d && ( M( d ) && ( d = na( d, e + ( !d.key || h && h.key === d.key ? "" : ( "" + d.key ).replace( da, "$&/" ) + "/" ) + a ) ), b.push( d ) ), 1; h = 0; m = "" === m ? "." : m + ":"; if ( ca( a ) ) for ( var l = 0; l < a.length; l++ ) { c = a[ l ]; var f = m + N( c, l ); h += B( c, b, e, f, d ) } else if ( f = x( a ), "function" === typeof f ) for ( a = f.call( a ), l = 0; !( c = a.next() ).done; )c = c.value, f = m + N( c, l++ ), h += B( c, b, e, f, d ); else if ( "object" === c ) throw b = String( a ), Error( "Objects are not valid as a React child (found: " +
18
+ ( "[object Object]" === b ? "object with keys {" + Object.keys( a ).join( ", " ) + "}" : b ) + "). If you meant to render a collection of children, use an array instead." ); return h
19
+ } function C ( a, b, e ) { if ( null == a ) return a; var c = [], d = 0; B( a, c, "", "", function ( a ) { return b.call( e, a, d++ ) } ); return c } function qa ( a ) {
20
+ if ( -1 === a._status ) {
21
+ var b = a._result; b = b(); b.then( function ( b ) { if ( 0 === a._status || -1 === a._status ) a._status = 1, a._result = b }, function ( b ) { if ( 0 === a._status || -1 === a._status ) a._status = 2, a._result = b } ); -1 === a._status && ( a._status =
22
+ 0, a._result = b )
23
+ } if ( 1 === a._status ) return a._result.default; throw a._result;
24
+ } function O ( a, b ) { var e = a.length; a.push( b ); a: for ( ; 0 < e; ) { var c = e - 1 >>> 1, d = a[ c ]; if ( 0 < D( d, b ) ) a[ c ] = b, a[ e ] = d, e = c; else break a } } function p ( a ) { return 0 === a.length ? null : a[ 0 ] } function E ( a ) { if ( 0 === a.length ) return null; var b = a[ 0 ], e = a.pop(); if ( e !== b ) { a[ 0 ] = e; a: for ( var c = 0, d = a.length, k = d >>> 1; c < k; ) { var h = 2 * ( c + 1 ) - 1, l = a[ h ], f = h + 1, g = a[ f ]; if ( 0 > D( l, e ) ) f < d && 0 > D( g, l ) ? ( a[ c ] = g, a[ f ] = e, c = f ) : ( a[ c ] = l, a[ h ] = e, c = h ); else if ( f < d && 0 > D( g, e ) ) a[ c ] = g, a[ f ] = e, c = f; else break a } } return b }
25
+ function D ( a, b ) { var c = a.sortIndex - b.sortIndex; return 0 !== c ? c : a.id - b.id } function P ( a ) { for ( var b = p( r ); null !== b; ) { if ( null === b.callback ) E( r ); else if ( b.startTime <= a ) E( r ), b.sortIndex = b.expirationTime, O( q, b ); else break; b = p( r ) } } function Q ( a ) { z = !1; P( a ); if ( !u ) if ( null !== p( q ) ) u = !0, R( S ); else { var b = p( r ); null !== b && T( Q, b.startTime - a ) } } function S ( a, b ) {
26
+ u = !1; z && ( z = !1, ea( A ), A = -1 ); F = !0; var c = k; try {
27
+ P( b ); for ( n = p( q ); null !== n && ( !( n.expirationTime > b ) || a && !fa() ); ) {
28
+ var m = n.callback; if ( "function" === typeof m ) {
29
+ n.callback = null;
30
+ k = n.priorityLevel; var d = m( n.expirationTime <= b ); b = v(); "function" === typeof d ? n.callback = d : n === p( q ) && E( q ); P( b )
31
+ } else E( q ); n = p( q )
32
+ } if ( null !== n ) var g = !0; else { var h = p( r ); null !== h && T( Q, h.startTime - b ); g = !1 } return g
33
+ } finally { n = null, k = c, F = !1 }
34
+ } function fa () { return v() - ha < ia ? !1 : !0 } function R ( a ) { G = a; H || ( H = !0, I() ) } function T ( a, b ) { A = ja( function () { a( v() ) }, b ) } var y = Symbol.for( "react.element" ), pa = Symbol.for( "react.portal" ), ra = Symbol.for( "react.fragment" ), sa = Symbol.for( "react.strict_mode" ), ta = Symbol.for( "react.profiler" ),
35
+ ua = Symbol.for( "react.provider" ), va = Symbol.for( "react.context" ), wa = Symbol.for( "react.forward_ref" ), xa = Symbol.for( "react.suspense" ), ya = Symbol.for( "react.memo" ), za = Symbol.for( "react.lazy" ), V = Symbol.iterator, X = { isMounted: function ( a ) { return !1 }, enqueueForceUpdate: function ( a, b, c ) { }, enqueueReplaceState: function ( a, b, c, m ) { }, enqueueSetState: function ( a, b, c, m ) { } }, ka = Object.assign, W = {}; w.prototype.isReactComponent = {}; w.prototype.setState = function ( a, b ) {
36
+ if ( "object" !== typeof a && "function" !== typeof a && null != a ) throw Error( "setState(...): takes an object of state variables to update or a function which returns an object of state variables." );
37
+ this.updater.enqueueSetState( this, a, b, "setState" )
38
+ }; w.prototype.forceUpdate = function ( a ) { this.updater.enqueueForceUpdate( this, a, "forceUpdate" ) }; Y.prototype = w.prototype; var t = K.prototype = new Y; t.constructor = K; ka( t, w.prototype ); t.isPureReactComponent = !0; var ca = Array.isArray, aa = Object.prototype.hasOwnProperty, L = { current: null }, ba = { key: !0, ref: !0, __self: !0, __source: !0 }, da = /\/+/g, g = { current: null }, J = { transition: null }; if ( "object" === typeof performance && "function" === typeof performance.now ) {
39
+ var Aa = performance;
40
+ var v = function () { return Aa.now() }
41
+ } else { var la = Date, Ba = la.now(); v = function () { return la.now() - Ba } } var q = [], r = [], Ca = 1, n = null, k = 3, F = !1, u = !1, z = !1, ja = "function" === typeof setTimeout ? setTimeout : null, ea = "function" === typeof clearTimeout ? clearTimeout : null, ma = "undefined" !== typeof setImmediate ? setImmediate : null; "undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind( navigator.scheduling ); var H = !1, G = null, A = -1, ia = 5, ha =
42
+ -1, U = function () { if ( null !== G ) { var a = v(); ha = a; var b = !0; try { b = G( !0, a ) } finally { b ? I() : ( H = !1, G = null ) } } else H = !1 }; if ( "function" === typeof ma ) var I = function () { ma( U ) }; else if ( "undefined" !== typeof MessageChannel ) { t = new MessageChannel; var Da = t.port2; t.port1.onmessage = U; I = function () { Da.postMessage( null ) } } else I = function () { ja( U, 0 ) }; t = {
43
+ ReactCurrentDispatcher: g, ReactCurrentOwner: L, ReactCurrentBatchConfig: J, Scheduler: {
44
+ __proto__: null, unstable_ImmediatePriority: 1, unstable_UserBlockingPriority: 2, unstable_NormalPriority: 3,
45
+ unstable_IdlePriority: 5, unstable_LowPriority: 4, unstable_runWithPriority: function ( a, b ) { switch ( a ) { case 1: case 2: case 3: case 4: case 5: break; default: a = 3 }var c = k; k = a; try { return b() } finally { k = c } }, unstable_next: function ( a ) { switch ( k ) { case 1: case 2: case 3: var b = 3; break; default: b = k }var c = k; k = b; try { return a() } finally { k = c } }, unstable_scheduleCallback: function ( a, b, c ) {
46
+ var e = v(); "object" === typeof c && null !== c ? ( c = c.delay, c = "number" === typeof c && 0 < c ? e + c : e ) : c = e; switch ( a ) {
47
+ case 1: var d = -1; break; case 2: d = 250; break; case 5: d =
48
+ 1073741823; break; case 4: d = 1E4; break; default: d = 5E3
49
+ }d = c + d; a = { id: Ca++, callback: b, priorityLevel: a, startTime: c, expirationTime: d, sortIndex: -1 }; c > e ? ( a.sortIndex = c, O( r, a ), null === p( q ) && a === p( r ) && ( z ? ( ea( A ), A = -1 ) : z = !0, T( Q, c - e ) ) ) : ( a.sortIndex = d, O( q, a ), u || F || ( u = !0, R( S ) ) ); return a
50
+ }, unstable_cancelCallback: function ( a ) { a.callback = null }, unstable_wrapCallback: function ( a ) { var b = k; return function () { var c = k; k = b; try { return a.apply( this, arguments ) } finally { k = c } } }, unstable_getCurrentPriorityLevel: function () { return k }, unstable_shouldYield: fa,
51
+ unstable_requestPaint: function () { }, unstable_continueExecution: function () { u || F || ( u = !0, R( S ) ) }, unstable_pauseExecution: function () { }, unstable_getFirstCallbackNode: function () { return p( q ) }, get unstable_now () { return v }, unstable_forceFrameRate: function ( a ) { 0 > a || 125 < a ? console.error( "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported" ) : ia = 0 < a ? Math.floor( 1E3 / a ) : 5 }, unstable_Profiling: null
52
+ }
53
+ }; c.Children = {
54
+ map: C, forEach: function ( a, b, c ) {
55
+ C( a, function () {
56
+ b.apply( this,
57
+ arguments )
58
+ }, c )
59
+ }, count: function ( a ) { var b = 0; C( a, function () { b++ } ); return b }, toArray: function ( a ) { return C( a, function ( a ) { return a } ) || [] }, only: function ( a ) { if ( !M( a ) ) throw Error( "React.Children.only expected to receive a single React element child." ); return a }
60
+ }; c.Component = w; c.Fragment = ra; c.Profiler = ta; c.PureComponent = K; c.StrictMode = sa; c.Suspense = xa; c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = t; c.cloneElement = function ( a, b, c ) {
61
+ if ( null === a || void 0 === a ) throw Error( "React.cloneElement(...): The argument must be a React element, but you passed " +
62
+ a + "." ); var e = ka( {}, a.props ), d = a.key, k = a.ref, h = a._owner; if ( null != b ) { void 0 !== b.ref && ( k = b.ref, h = L.current ); void 0 !== b.key && ( d = "" + b.key ); if ( a.type && a.type.defaultProps ) var l = a.type.defaultProps; for ( f in b ) aa.call( b, f ) && !ba.hasOwnProperty( f ) && ( e[ f ] = void 0 === b[ f ] && void 0 !== l ? l[ f ] : b[ f ] ) } var f = arguments.length - 2; if ( 1 === f ) e.children = c; else if ( 1 < f ) { l = Array( f ); for ( var g = 0; g < f; g++ )l[ g ] = arguments[ g + 2 ]; e.children = l } return { $$typeof: y, type: a.type, key: d, ref: k, props: e, _owner: h }
63
+ }; c.createContext = function ( a ) {
64
+ a = {
65
+ $$typeof: va,
66
+ _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null
67
+ }; a.Provider = { $$typeof: ua, _context: a }; return a.Consumer = a
68
+ }; c.createElement = Z; c.createFactory = function ( a ) { var b = Z.bind( null, a ); b.type = a; return b }; c.createRef = function () { return { current: null } }; c.forwardRef = function ( a ) { return { $$typeof: wa, render: a } }; c.isValidElement = M; c.lazy = function ( a ) { return { $$typeof: za, _payload: { _status: -1, _result: a }, _init: qa } }; c.memo = function ( a, b ) {
69
+ return {
70
+ $$typeof: ya, type: a,
71
+ compare: void 0 === b ? null : b
72
+ }
73
+ }; c.startTransition = function ( a, b ) { b = J.transition; J.transition = {}; try { a() } finally { J.transition = b } }; c.unstable_act = function ( a ) { throw Error( "act(...) is not supported in production builds of React." ); }; c.useCallback = function ( a, b ) { return g.current.useCallback( a, b ) }; c.useContext = function ( a ) { return g.current.useContext( a ) }; c.useDebugValue = function ( a, b ) { }; c.useDeferredValue = function ( a ) { return g.current.useDeferredValue( a ) }; c.useEffect = function ( a, b ) {
74
+ return g.current.useEffect( a,
75
+ b )
76
+ }; c.useId = function () { return g.current.useId() }; c.useImperativeHandle = function ( a, b, c ) { return g.current.useImperativeHandle( a, b, c ) }; c.useInsertionEffect = function ( a, b ) { return g.current.useInsertionEffect( a, b ) }; c.useLayoutEffect = function ( a, b ) { return g.current.useLayoutEffect( a, b ) }; c.useMemo = function ( a, b ) { return g.current.useMemo( a, b ) }; c.useReducer = function ( a, b, c ) { return g.current.useReducer( a, b, c ) }; c.useRef = function ( a ) { return g.current.useRef( a ) }; c.useState = function ( a ) { return g.current.useState( a ) };
77
+ c.useSyncExternalStore = function ( a, b, c ) { return g.current.useSyncExternalStore( a, b, c ) }; c.useTransition = function () { return g.current.useTransition() }; c.version = "18.2.0"
78
+ } );
79
+ } )();
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @license React
3
+ * react.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+ (function(){'use strict';(function(c,x){"object"===typeof exports&&"undefined"!==typeof module?x(exports):"function"===typeof define&&define.amd?define(["exports"],x):(c=c||self,x(c.React={}))})(this,function(c){function x(a){if(null===a||"object"!==typeof a)return null;a=V&&a[V]||a["@@iterator"];return"function"===typeof a?a:null}function w(a,b,e){this.props=a;this.context=b;this.refs=W;this.updater=e||X}function Y(){}function K(a,b,e){this.props=a;this.context=b;this.refs=W;this.updater=e||X}function Z(a,b,
11
+ e){var m,d={},c=null,h=null;if(null!=b)for(m in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(c=""+b.key),b)aa.call(b,m)&&!ba.hasOwnProperty(m)&&(d[m]=b[m]);var l=arguments.length-2;if(1===l)d.children=e;else if(1<l){for(var f=Array(l),k=0;k<l;k++)f[k]=arguments[k+2];d.children=f}if(a&&a.defaultProps)for(m in l=a.defaultProps,l)void 0===d[m]&&(d[m]=l[m]);return{$$typeof:y,type:a,key:c,ref:h,props:d,_owner:L.current}}function na(a,b){return{$$typeof:y,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}
12
+ function M(a){return"object"===typeof a&&null!==a&&a.$$typeof===y}function oa(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}function N(a,b){return"object"===typeof a&&null!==a&&null!=a.key?oa(""+a.key):b.toString(36)}function B(a,b,e,m,d){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;var h=!1;if(null===a)h=!0;else switch(c){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case y:case pa:h=!0}}if(h)return h=a,d=d(h),a=""===m?"."+
13
+ N(h,0):m,ca(d)?(e="",null!=a&&(e=a.replace(da,"$&/")+"/"),B(d,b,e,"",function(a){return a})):null!=d&&(M(d)&&(d=na(d,e+(!d.key||h&&h.key===d.key?"":(""+d.key).replace(da,"$&/")+"/")+a)),b.push(d)),1;h=0;m=""===m?".":m+":";if(ca(a))for(var l=0;l<a.length;l++){c=a[l];var f=m+N(c,l);h+=B(c,b,e,f,d)}else if(f=x(a),"function"===typeof f)for(a=f.call(a),l=0;!(c=a.next()).done;)c=c.value,f=m+N(c,l++),h+=B(c,b,e,f,d);else if("object"===c)throw b=String(a),Error("Objects are not valid as a React child (found: "+
14
+ ("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return h}function C(a,b,e){if(null==a)return a;var c=[],d=0;B(a,c,"","",function(a){return b.call(e,a,d++)});return c}function qa(a){if(-1===a._status){var b=a._result;b=b();b.then(function(b){if(0===a._status||-1===a._status)a._status=1,a._result=b},function(b){if(0===a._status||-1===a._status)a._status=2,a._result=b});-1===a._status&&(a._status=
15
+ 0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function O(a,b){var e=a.length;a.push(b);a:for(;0<e;){var c=e-1>>>1,d=a[c];if(0<D(d,b))a[c]=b,a[e]=d,e=c;else break a}}function p(a){return 0===a.length?null:a[0]}function E(a){if(0===a.length)return null;var b=a[0],e=a.pop();if(e!==b){a[0]=e;a:for(var c=0,d=a.length,k=d>>>1;c<k;){var h=2*(c+1)-1,l=a[h],f=h+1,g=a[f];if(0>D(l,e))f<d&&0>D(g,l)?(a[c]=g,a[f]=e,c=f):(a[c]=l,a[h]=e,c=h);else if(f<d&&0>D(g,e))a[c]=g,a[f]=e,c=f;else break a}}return b}
16
+ function D(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function P(a){for(var b=p(r);null!==b;){if(null===b.callback)E(r);else if(b.startTime<=a)E(r),b.sortIndex=b.expirationTime,O(q,b);else break;b=p(r)}}function Q(a){z=!1;P(a);if(!u)if(null!==p(q))u=!0,R(S);else{var b=p(r);null!==b&&T(Q,b.startTime-a)}}function S(a,b){u=!1;z&&(z=!1,ea(A),A=-1);F=!0;var c=k;try{P(b);for(n=p(q);null!==n&&(!(n.expirationTime>b)||a&&!fa());){var m=n.callback;if("function"===typeof m){n.callback=null;
17
+ k=n.priorityLevel;var d=m(n.expirationTime<=b);b=v();"function"===typeof d?n.callback=d:n===p(q)&&E(q);P(b)}else E(q);n=p(q)}if(null!==n)var g=!0;else{var h=p(r);null!==h&&T(Q,h.startTime-b);g=!1}return g}finally{n=null,k=c,F=!1}}function fa(){return v()-ha<ia?!1:!0}function R(a){G=a;H||(H=!0,I())}function T(a,b){A=ja(function(){a(v())},b)}var y=Symbol.for("react.element"),pa=Symbol.for("react.portal"),ra=Symbol.for("react.fragment"),sa=Symbol.for("react.strict_mode"),ta=Symbol.for("react.profiler"),
18
+ ua=Symbol.for("react.provider"),va=Symbol.for("react.context"),wa=Symbol.for("react.forward_ref"),xa=Symbol.for("react.suspense"),ya=Symbol.for("react.memo"),za=Symbol.for("react.lazy"),V=Symbol.iterator,X={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,m){},enqueueSetState:function(a,b,c,m){}},ka=Object.assign,W={};w.prototype.isReactComponent={};w.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
19
+ this.updater.enqueueSetState(this,a,b,"setState")};w.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};Y.prototype=w.prototype;var t=K.prototype=new Y;t.constructor=K;ka(t,w.prototype);t.isPureReactComponent=!0;var ca=Array.isArray,aa=Object.prototype.hasOwnProperty,L={current:null},ba={key:!0,ref:!0,__self:!0,__source:!0},da=/\/+/g,g={current:null},J={transition:null};if("object"===typeof performance&&"function"===typeof performance.now){var Aa=performance;
20
+ var v=function(){return Aa.now()}}else{var la=Date,Ba=la.now();v=function(){return la.now()-Ba}}var q=[],r=[],Ca=1,n=null,k=3,F=!1,u=!1,z=!1,ja="function"===typeof setTimeout?setTimeout:null,ea="function"===typeof clearTimeout?clearTimeout:null,ma="undefined"!==typeof setImmediate?setImmediate:null;"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var H=!1,G=null,A=-1,ia=5,ha=
21
+ -1,U=function(){if(null!==G){var a=v();ha=a;var b=!0;try{b=G(!0,a)}finally{b?I():(H=!1,G=null)}}else H=!1};if("function"===typeof ma)var I=function(){ma(U)};else if("undefined"!==typeof MessageChannel){t=new MessageChannel;var Da=t.port2;t.port1.onmessage=U;I=function(){Da.postMessage(null)}}else I=function(){ja(U,0)};t={ReactCurrentDispatcher:g,ReactCurrentOwner:L,ReactCurrentBatchConfig:J,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,
22
+ unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=k;k=a;try{return b()}finally{k=c}},unstable_next:function(a){switch(k){case 1:case 2:case 3:var b=3;break;default:b=k}var c=k;k=b;try{return a()}finally{k=c}},unstable_scheduleCallback:function(a,b,c){var e=v();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?e+c:e):c=e;switch(a){case 1:var d=-1;break;case 2:d=250;break;case 5:d=
23
+ 1073741823;break;case 4:d=1E4;break;default:d=5E3}d=c+d;a={id:Ca++,callback:b,priorityLevel:a,startTime:c,expirationTime:d,sortIndex:-1};c>e?(a.sortIndex=c,O(r,a),null===p(q)&&a===p(r)&&(z?(ea(A),A=-1):z=!0,T(Q,c-e))):(a.sortIndex=d,O(q,a),u||F||(u=!0,R(S)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=k;return function(){var c=k;k=b;try{return a.apply(this,arguments)}finally{k=c}}},unstable_getCurrentPriorityLevel:function(){return k},unstable_shouldYield:fa,
24
+ unstable_requestPaint:function(){},unstable_continueExecution:function(){u||F||(u=!0,R(S))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return p(q)},get unstable_now(){return v},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ia=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};c.Children={map:C,forEach:function(a,b,c){C(a,function(){b.apply(this,
25
+ arguments)},c)},count:function(a){var b=0;C(a,function(){b++});return b},toArray:function(a){return C(a,function(a){return a})||[]},only:function(a){if(!M(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};c.Component=w;c.Fragment=ra;c.Profiler=ta;c.PureComponent=K;c.StrictMode=sa;c.Suspense=xa;c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=t;c.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+
26
+ a+".");var e=ka({},a.props),d=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=L.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var l=a.type.defaultProps;for(f in b)aa.call(b,f)&&!ba.hasOwnProperty(f)&&(e[f]=void 0===b[f]&&void 0!==l?l[f]:b[f])}var f=arguments.length-2;if(1===f)e.children=c;else if(1<f){l=Array(f);for(var g=0;g<f;g++)l[g]=arguments[g+2];e.children=l}return{$$typeof:y,type:a.type,key:d,ref:k,props:e,_owner:h}};c.createContext=function(a){a={$$typeof:va,
27
+ _currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:ua,_context:a};return a.Consumer=a};c.createElement=Z;c.createFactory=function(a){var b=Z.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:wa,render:a}};c.isValidElement=M;c.lazy=function(a){return{$$typeof:za,_payload:{_status:-1,_result:a},_init:qa}};c.memo=function(a,b){return{$$typeof:ya,type:a,
28
+ compare:void 0===b?null:b}};c.startTransition=function(a,b){b=J.transition;J.transition={};try{a()}finally{J.transition=b}};c.unstable_act=function(a){throw Error("act(...) is not supported in production builds of React.");};c.useCallback=function(a,b){return g.current.useCallback(a,b)};c.useContext=function(a){return g.current.useContext(a)};c.useDebugValue=function(a,b){};c.useDeferredValue=function(a){return g.current.useDeferredValue(a)};c.useEffect=function(a,b){return g.current.useEffect(a,
29
+ b)};c.useId=function(){return g.current.useId()};c.useImperativeHandle=function(a,b,c){return g.current.useImperativeHandle(a,b,c)};c.useInsertionEffect=function(a,b){return g.current.useInsertionEffect(a,b)};c.useLayoutEffect=function(a,b){return g.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return g.current.useMemo(a,b)};c.useReducer=function(a,b,c){return g.current.useReducer(a,b,c)};c.useRef=function(a){return g.current.useRef(a)};c.useState=function(a){return g.current.useState(a)};
30
+ c.useSyncExternalStore=function(a,b,c){return g.current.useSyncExternalStore(a,b,c)};c.useTransition=function(){return g.current.useTransition()};c.version="18.2.0"});
31
+ })();
@@ -27,6 +27,7 @@ export const Placeholder: React.FC<amotify.atoms.PlaceholderParams> = ( params )
27
27
  color = 'cloud',
28
28
  ...others
29
29
  } = params;
30
+
30
31
  let DefStyles: amotifyUniStyleParams = {
31
32
  flexCenter: true,
32
33
  position: 'relative',
@@ -36,7 +37,7 @@ export const Placeholder: React.FC<amotify.atoms.PlaceholderParams> = ( params )
36
37
  backgroundColor: '3.layer.canvas',
37
38
  }
38
39
 
39
- return ( <Box
40
+ return <Box
40
41
  className={ [
41
42
  style.Placeholder,
42
43
  params.className
@@ -50,7 +51,7 @@ export const Placeholder: React.FC<amotify.atoms.PlaceholderParams> = ( params )
50
51
  style[ 'Color_' + color ],
51
52
  ].join( ' ' ) }
52
53
  />
53
- </Box> );
54
+ </Box>;
54
55
  }
55
56
 
56
57
  let Img: amotify.atoms.Image.Methods = {} as any;
@@ -204,6 +204,7 @@ const SeedWrapper = ( params: SeedWrapperInput ) => {
204
204
 
205
205
  if ( seed == 'Button' ) {
206
206
  let {
207
+ isLocked,isActive,isActiveClassName,isActiveStyles,
207
208
  componentID,
208
209
  submitOption,
209
210
  onClick,
@@ -237,6 +238,7 @@ const SeedWrapper = ( params: SeedWrapperInput ) => {
237
238
  />;
238
239
  } else if ( seed == 'Label' ) {
239
240
  let {
241
+ isLocked,isActive,isActiveClassName,isActiveStyles,
240
242
  componentID,
241
243
  ...Props
242
244
  } = Params as amotify.fn.Buttons.LabelInput;
@@ -244,6 +246,7 @@ const SeedWrapper = ( params: SeedWrapperInput ) => {
244
246
  return <label { ...Props } />;
245
247
  } else if ( seed == 'Anchor' ) {
246
248
  let {
249
+ isLocked,isActive,isActiveClassName,isActiveStyles,
247
250
  componentID,
248
251
  href = '',
249
252
  newTab,
@@ -1049,7 +1049,7 @@ export const Cropper: amotify.fn.Cropper.Methods = {
1049
1049
  amotify.fn.Sheet.close( sheetID );
1050
1050
  } }
1051
1051
  />,
1052
- closeOption: {
1052
+ close_option: {
1053
1053
  escapeKeyDown: false
1054
1054
  }
1055
1055
  } );
@@ -401,8 +401,8 @@ export const ChipsInputFNs: amotify.fn.Input.Chips.FNs = {
401
401
  type: 'custom',
402
402
  gravityPoint: 22,
403
403
  padding: [ 1,0 ],
404
- holdState: true,
405
- closeOption: {
404
+ hold_state: true,
405
+ close_option: {
406
406
  aroundClick: true,
407
407
  escapeKeyDown: true
408
408
  },
@@ -77,7 +77,7 @@ export const DigitCharactersInput: React.FC<amotify.fn.Input.DigitCharacters.Pla
77
77
  className = '',
78
78
  digits,
79
79
  numericOnly = false,
80
- enableFormSubmit,
80
+ enable_form_submit,
81
81
 
82
82
  checkValidationAtFirst,
83
83
  onChange,onKeyDown,
@@ -177,7 +177,7 @@ export const DigitCharactersInput: React.FC<amotify.fn.Input.DigitCharacters.Pla
177
177
  let dir = Number( key == 'ArrowRight' ) * 2 - 1;
178
178
  nextFocusIndex = index + dir;
179
179
  } else {
180
- if ( enableFormSubmit ) SubmitForm( event );
180
+ if ( enable_form_submit ) SubmitForm( event );
181
181
 
182
182
  ( () => {
183
183
  let regExp = code.match( /^(Key(.)|Digit(\d)|Numpad(\d))/ );
@@ -440,7 +440,7 @@ const FileCell: React.FC<{
440
440
  required
441
441
  id={ FileID }
442
442
  form={ 'form-' + FileID }
443
- enableFormSubmit
443
+ enable_form_submit
444
444
  value={ name }
445
445
  onKeyDown={ ( event ) => {
446
446
  let { key } = event;
@@ -86,9 +86,11 @@ const Core: React.FC<amotify.fn.Input.List.OriginParams> = ( params ) => {
86
86
  override,
87
87
  statusID,
88
88
  freeCSS,
89
+ icon,
90
+ iconType,
89
91
 
90
- enableFormSubmit,
91
-
92
+ enable_form_submit,
93
+ defaultActiveStyling,
92
94
  checkValidationAtFirst,
93
95
  onValidate,
94
96
  onUpdateValue,onUpdateValidValue,
@@ -178,7 +180,7 @@ const CellList: React.FC<{
178
180
  cellCheckedStyles: DefaultCellCheckedStyles,
179
181
  cellCheckedClassName: DefaultCellCheckedClassName = '',
180
182
 
181
- enableFormSubmit,
183
+ enable_form_submit,
182
184
  defaultActiveStyling = true
183
185
  } = params;
184
186
  let {
@@ -245,6 +247,7 @@ const CellList: React.FC<{
245
247
  ].join( ' ' ) }
246
248
  name={ 'RadioCheckbox-' + name }
247
249
  data-list-index={ componentID + '-' + index }
250
+ key={ CellID }
248
251
  id={ CellID }
249
252
  value={ String( value ) }
250
253
  data-form-name={ form }
@@ -307,11 +310,12 @@ const CellList: React.FC<{
307
310
  }
308
311
  }
309
312
 
310
- if ( enableFormSubmit ) SubmitForm( event );
313
+ if ( enable_form_submit ) SubmitForm( event );
311
314
  } }
312
315
  tabIndex={ tabIndex }
313
316
  />,
314
317
  <Buttons.Label.Plain
318
+ key={ 'Button-' + CellID }
315
319
  htmlFor={ CellID }
316
320
  className={ ClassName.join( ' ' ) }
317
321
  tabIndex={ -1 }
@@ -8,6 +8,7 @@ import style from './style.module.scss';
8
8
 
9
9
  export const Segmented: amotify.fn.Input.Segmented.Types = {
10
10
  Auto: ( params ) => {
11
+ params = { ...params };
11
12
  params = {
12
13
  padding: '1/3',
13
14
  gap: '1/3',
@@ -28,6 +29,7 @@ export const Segmented: amotify.fn.Input.Segmented.Types = {
28
29
  return ( <Core appearance={ ( params as any ).tone || 'Auto' } { ...params } /> );
29
30
  },
30
31
  Normal: ( params ) => {
32
+ params = { ...params };
31
33
  params = {
32
34
  border: true,
33
35
  borderColor: 'theme',
@@ -53,6 +55,7 @@ export const Segmented: amotify.fn.Input.Segmented.Types = {
53
55
  return ( <Core appearance={ 'Border' } { ...params } /> );
54
56
  },
55
57
  Cloud: ( params ) => {
58
+ params = { ...params };
56
59
  params = {
57
60
  padding: '1/3',
58
61
  gap: '1/3',
@@ -73,6 +76,7 @@ export const Segmented: amotify.fn.Input.Segmented.Types = {
73
76
  return ( <Core appearance={ ( params as any ).tone || 'Cloud' } { ...params } /> );
74
77
  },
75
78
  Cloud2: ( params ) => {
79
+ params = { ...params };
76
80
  ( params as any ).tone = 'WhiteCloud';
77
81
  return ( <Segmented.Cloud
78
82
  fontColor='3.blur'
@@ -84,6 +88,7 @@ export const Segmented: amotify.fn.Input.Segmented.Types = {
84
88
  /> );
85
89
  },
86
90
  Cloud3: ( params ) => {
91
+ params = { ...params };
87
92
  ( params as any ).tone = 'ThemeCloud';
88
93
  return ( <Segmented.Cloud
89
94
  backgroundColor='tcOpFew'
@@ -95,6 +100,7 @@ export const Segmented: amotify.fn.Input.Segmented.Types = {
95
100
  /> );
96
101
  },
97
102
  Border: ( params ) => {
103
+ params = { ...params };
98
104
  params = {
99
105
  backgroundColor: '1.layer.base',
100
106
  border: '2.normal',
@@ -118,6 +124,7 @@ export const Segmented: amotify.fn.Input.Segmented.Types = {
118
124
  return ( <Core appearance={ ( params as any ).tone || 'Border' } { ...params } /> );
119
125
  },
120
126
  Border2: ( params ) => {
127
+ params = { ...params };
121
128
  params = {
122
129
  border: true,
123
130
  borderColor: 'theme',
@@ -144,6 +151,7 @@ export const Segmented: amotify.fn.Input.Segmented.Types = {
144
151
  return ( <Core appearance={ 'Border' } { ...params } /> );
145
152
  },
146
153
  BottomLine: ( params ) => {
154
+ params = { ...params };
147
155
  params = {
148
156
  gap: 0,
149
157
  fontColor: '3.blur',
@@ -84,7 +84,7 @@ const Core: React.FC<amotify.fn.Input.Select.PlainParams> = ( params ) => {
84
84
  form,
85
85
  className,
86
86
 
87
- enableFormSubmit,
87
+ enable_form_submit,
88
88
  enableUnSelected,
89
89
 
90
90
  checkValidationAtFirst,
@@ -158,7 +158,7 @@ const Core: React.FC<amotify.fn.Input.Select.PlainParams> = ( params ) => {
158
158
  value={ val_status.dataValue }
159
159
  onKeyDown={ ( event ) => {
160
160
  if ( onKeyDown ) onKeyDown( event );
161
- if ( enableFormSubmit ) SubmitForm( event );
161
+ if ( enable_form_submit ) SubmitForm( event );
162
162
  } }
163
163
  onChange={ ( event ) => {
164
164
  let {
@@ -78,7 +78,7 @@ export const SliderInput: React.FC<amotify.fn.Input.Slider.PlainParams> = ( para
78
78
  } = {},
79
79
  min,max,step,
80
80
 
81
- enableFormSubmit,
81
+ enable_form_submit,
82
82
 
83
83
  checkValidationAtFirst,
84
84
  onChange,onKeyDown,
@@ -160,7 +160,7 @@ export const SliderInput: React.FC<amotify.fn.Input.Slider.PlainParams> = ( para
160
160
  set_status={ set_status }
161
161
  DotData={ DotData }
162
162
  form={ form }
163
- enableFormSubmit={ enableFormSubmit! }
163
+ enable_form_submit={ enable_form_submit! }
164
164
  />
165
165
  { showLegends ? <Comps.IndicatorLabels
166
166
  componentID={ val_status.componentID }
@@ -277,14 +277,14 @@ const Comps = {
277
277
  set_status: React.Dispatch<React.SetStateAction<amotify.fn.Input.Status.Slider>>
278
278
  DotData: DataLevelingResult
279
279
  form: string
280
- enableFormSubmit: boolean
280
+ enable_form_submit: boolean
281
281
  } ) => {
282
282
  let {
283
283
  val_status,
284
284
  set_status,
285
285
  DotData,
286
286
  form,
287
- enableFormSubmit
287
+ enable_form_submit
288
288
  } = props;
289
289
  let {
290
290
  componentID
@@ -375,7 +375,7 @@ const Comps = {
375
375
  DotData
376
376
  } );
377
377
 
378
- if ( enableFormSubmit ) SubmitForm( event );
378
+ if ( enable_form_submit ) SubmitForm( event );
379
379
  } }
380
380
  />
381
381
  </Box>
@@ -45,7 +45,7 @@ export const SwitchInput: React.FC<amotify.fn.Input.Switch.PlainParams> = ( para
45
45
  form,
46
46
  id,
47
47
 
48
- enableFormSubmit,
48
+ enable_form_submit,
49
49
 
50
50
  checkValidationAtFirst,
51
51
  onChange,onKeyDown,
@@ -103,7 +103,7 @@ export const SwitchInput: React.FC<amotify.fn.Input.Switch.PlainParams> = ( para
103
103
  id={ id }
104
104
  onKeyDown={ ( event ) => {
105
105
  if ( onKeyDown ) onKeyDown( event );
106
- if ( enableFormSubmit ) SubmitForm( event );
106
+ if ( enable_form_submit ) SubmitForm( event );
107
107
  } }
108
108
  onChange={ ( event ) => {
109
109
  if ( val_validate.ok ) set_validate( { ok: false,notice: [] } );
@@ -256,7 +256,7 @@ export const TextInput: React.FC<amotify.fn.Input.Text.OriginParams> = ( params
256
256
  autoComplete = 'off',
257
257
  autoCapitalize = 'off',
258
258
 
259
- enableFormSubmit,
259
+ enable_form_submit,
260
260
  clearButton = false,
261
261
 
262
262
  checkValidationAtFirst,
@@ -396,7 +396,7 @@ export const TextInput: React.FC<amotify.fn.Input.Text.OriginParams> = ( params
396
396
  }
397
397
 
398
398
  if ( onKeyDown ) onKeyDown( event );
399
- if ( enableFormSubmit ) SubmitForm( event );
399
+ if ( enable_form_submit ) SubmitForm( event );
400
400
  } }
401
401
  onChange={ ( event ) => {
402
402
  let {
@@ -35,7 +35,7 @@ export const TextAreaInput: React.FC<amotify.fn.Input.TextArea.PlainParams> = (
35
35
  required,
36
36
  form,
37
37
 
38
- enableFormSubmit,
38
+ enable_form_submit,
39
39
 
40
40
  checkValidationAtFirst,
41
41
  onChange,onKeyDown,
@@ -87,7 +87,7 @@ export const TextAreaInput: React.FC<amotify.fn.Input.TextArea.PlainParams> = (
87
87
  value={ val_status.dataValue }
88
88
  onKeyDown={ ( event ) => {
89
89
  if ( onKeyDown ) onKeyDown( event );
90
- if ( enableFormSubmit ) SubmitForm( event );
90
+ if ( enable_form_submit ) SubmitForm( event );
91
91
  } }
92
92
  onChange={ ( event ) => {
93
93
  let {
@@ -70,7 +70,7 @@ export const Picker: React.FC<amotify.fn.Input.Time.PickerParams> = ( params ) =
70
70
  restrict,
71
71
  defaultValue = ''
72
72
  } = params;
73
-
73
+ params = { ...params }
74
74
  params.tipsID = params.tipsID || $.uuidGen();
75
75
 
76
76
  const mounted = React.useRef( false );
@@ -306,7 +306,7 @@ export const TimeInput: React.FC<amotify.fn.Input.Time.OriginParams> = ( params
306
306
  min,max,
307
307
  className,
308
308
 
309
- enableFormSubmit,
309
+ enable_form_submit,
310
310
 
311
311
  checkValidationAtFirst,
312
312
  onKeyDown,
@@ -481,7 +481,7 @@ export const TimeInput: React.FC<amotify.fn.Input.Time.OriginParams> = ( params
481
481
  } );
482
482
 
483
483
  if ( onKeyDown ) onKeyDown( event );
484
- if ( enableFormSubmit ) SubmitForm( event );
484
+ if ( enable_form_submit ) SubmitForm( event );
485
485
  } }
486
486
  onKeyUp={ ( event ) => {
487
487
  if ( event.key == 'Tab' ) set_focus( {
@@ -708,10 +708,10 @@ export const TimeFNs: amotify.fn.Input.Time.FNTypes = {
708
708
  padding: [ 1,0 ],
709
709
  tipsID,
710
710
  ...params,
711
- closeOption: {
711
+ close_option: {
712
712
  aroundClick: true,
713
713
  elementBlur: false,
714
- ...params.closeOption
714
+ ...params.close_option
715
715
  },
716
716
  content: <Picker
717
717
  restrict={ params.restrict }
@@ -62,7 +62,7 @@
62
62
  }
63
63
  .Cell.Checked {
64
64
  color: #fff !important;
65
- background-color: $color-theme;
65
+ background-color: $color-theme !important;
66
66
  box-shadow: $shadow2;
67
67
  }
68
68
  }