@ikas/core 1.0.47 → 1.0.50
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/core.css +1 -1
- package/dist/index100.cjs +1 -1
- package/dist/index100.js +1 -1
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +1 -1
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +1 -1
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +1 -1
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +3 -3
- package/dist/index114.cjs +1 -1
- package/dist/index114.js +2 -2
- package/dist/index117.cjs +1 -1
- package/dist/index117.js +1 -1
- package/dist/index121.cjs +1 -1
- package/dist/index121.js +403 -30
- package/dist/index122.cjs +1 -1
- package/dist/index122.js +31 -2
- package/dist/index123.cjs +1 -1
- package/dist/index123.js +2 -404
- package/dist/index124.cjs +5 -1
- package/dist/index124.js +2961 -110
- package/dist/index125.cjs +1 -6
- package/dist/index125.js +2 -14
- package/dist/index126.cjs +1 -6
- package/dist/index126.js +5 -13
- package/dist/index127.cjs +1 -6
- package/dist/index127.js +111 -14
- package/dist/index128.cjs +6 -5
- package/dist/index128.js +14 -2962
- package/dist/index129.cjs +6 -1
- package/dist/index129.js +13 -2
- package/dist/index130.cjs +6 -1
- package/dist/index130.js +14 -5
- package/dist/index132.cjs +6 -1
- package/dist/index132.js +26 -3
- package/dist/index133.cjs +6 -1
- package/dist/index133.js +15 -8
- package/dist/index134.cjs +6 -1
- package/dist/index134.js +10 -7
- package/dist/index135.cjs +2 -2
- package/dist/index135.js +7 -21
- package/dist/index136.cjs +2 -2
- package/dist/index136.js +11 -9
- package/dist/index137.cjs +2 -2
- package/dist/index137.js +2 -4
- package/dist/index138.cjs +2 -2
- package/dist/index138.js +2 -7
- package/dist/index139.cjs +2 -2
- package/dist/index139.js +6 -11
- package/dist/index140.cjs +2 -2
- package/dist/index140.js +34 -2
- package/dist/index141.cjs +2 -2
- package/dist/index141.js +12 -2
- package/dist/index142.cjs +2 -2
- package/dist/index142.js +6 -5
- package/dist/index143.cjs +1 -6
- package/dist/index143.js +4 -40
- package/dist/index144.cjs +1 -6
- package/dist/index144.js +8 -18
- package/dist/index145.cjs +1 -6
- package/dist/index145.js +7 -13
- package/dist/index146.cjs +1 -1
- package/dist/index146.js +1 -1
- package/dist/index156.cjs +1 -1
- package/dist/index156.js +1 -1
- package/dist/index157.cjs +1 -1
- package/dist/index157.js +2 -2
- package/dist/index158.cjs +1 -1
- package/dist/index158.js +1 -1
- package/dist/index160.cjs +1 -1
- package/dist/index160.js +4 -4
- package/dist/index163.cjs +1 -1
- package/dist/index163.js +2 -2
- package/dist/index184.cjs +1 -1
- package/dist/index184.js +1 -1
- package/dist/index191.cjs +1 -1
- package/dist/index191.js +1 -1
- package/dist/index194.cjs +6 -1
- package/dist/index194.js +11 -27
- package/dist/index195.cjs +1 -1
- package/dist/index195.js +27 -2
- package/dist/index196.cjs +1 -1
- package/dist/index196.js +2 -28
- package/dist/index197.cjs +1 -1
- package/dist/index197.js +24 -28
- package/dist/index198.cjs +1 -1
- package/dist/index198.js +25 -109
- package/dist/index199.cjs +1 -1
- package/dist/index199.js +109 -53
- package/dist/index200.cjs +1 -1
- package/dist/index200.js +33 -33
- package/dist/index201.cjs +1 -1
- package/dist/index201.js +57 -14
- package/dist/index202.cjs +1 -1
- package/dist/index202.js +16 -14
- package/dist/index203.cjs +1 -1
- package/dist/index203.js +15 -2
- package/dist/index204.cjs +1 -1
- package/dist/index204.js +2 -8
- package/dist/index205.cjs +1 -2
- package/dist/index205.js +7 -326
- package/dist/index206.cjs +2 -1
- package/dist/index206.js +324 -47
- package/dist/index207.cjs +1 -1
- package/dist/index207.js +49 -5
- package/dist/index208.cjs +1 -1
- package/dist/index208.js +5 -8
- package/dist/index209.cjs +1 -1
- package/dist/index209.js +8 -8
- package/dist/index210.cjs +1 -1
- package/dist/index210.js +9 -2
- package/dist/index211.cjs +1 -1
- package/dist/index211.js +2 -18
- package/dist/index212.cjs +1 -1
- package/dist/index212.js +16 -11
- package/dist/index213.cjs +1 -1
- package/dist/index213.js +12 -8
- package/dist/index214.cjs +1 -6
- package/dist/index214.js +4 -11
- package/dist/index215.cjs +1 -1
- package/dist/index215.js +5 -4
- package/dist/index216.cjs +1 -1
- package/dist/index216.js +9 -5
- package/dist/index244.cjs +1 -1
- package/dist/index244.js +1 -1
- package/dist/index247.cjs +1 -1
- package/dist/index247.js +2 -2
- package/dist/index248.cjs +1 -1
- package/dist/index248.js +1 -1
- package/dist/index249.cjs +1 -1
- package/dist/index249.js +3 -3
- package/dist/index250.cjs +1 -1
- package/dist/index250.js +7 -7
- package/dist/index252.cjs +1 -1
- package/dist/index252.js +4 -4
- package/dist/index253.cjs +1 -1
- package/dist/index253.js +2 -2
- package/dist/index254.cjs +1 -1
- package/dist/index254.js +1 -1
- package/dist/index257.cjs +1 -1
- package/dist/index257.js +1 -1
- package/dist/index260.cjs +1 -1
- package/dist/index260.js +1 -1
- package/dist/index263.cjs +1 -1
- package/dist/index263.js +5 -5
- package/dist/index268.cjs +1 -1
- package/dist/index268.js +2 -2
- package/dist/index269.cjs +1 -1
- package/dist/index269.js +1 -1
- package/dist/index273.cjs +1 -1
- package/dist/index273.js +1 -1
- package/dist/index275.cjs +1 -1
- package/dist/index275.js +3 -3
- package/dist/index276.cjs +1 -1
- package/dist/index276.js +1 -1
- package/dist/index278.cjs +1 -1
- package/dist/index278.js +1 -1
- package/dist/index280.cjs +1 -1
- package/dist/index280.js +1 -1
- package/dist/index281.cjs +1 -1
- package/dist/index281.js +3 -3
- package/dist/index282.cjs +1 -1
- package/dist/index282.js +1 -1
- package/dist/index283.cjs +1 -1
- package/dist/index283.js +3 -3
- package/dist/index284.cjs +1 -1
- package/dist/index284.js +2 -2
- package/dist/index285.cjs +1 -1
- package/dist/index285.js +12 -5
- package/dist/index286.cjs +1 -1
- package/dist/index286.js +4 -13
- package/dist/index287.cjs +1 -1
- package/dist/index287.js +5 -4
- package/dist/index288.cjs +1 -1
- package/dist/index288.js +5 -26
- package/dist/index289.cjs +1 -1
- package/dist/index289.js +12 -9
- package/dist/index290.cjs +1 -1
- package/dist/index290.js +4 -5
- package/dist/index291.cjs +1 -1
- package/dist/index291.js +26 -5
- package/dist/index292.cjs +1 -1
- package/dist/index292.js +8 -4
- package/dist/index293.cjs +1 -1
- package/dist/index293.js +5 -5
- package/dist/index294.cjs +1 -1
- package/dist/index294.js +4 -8
- package/dist/index295.cjs +1 -1
- package/dist/index295.js +5 -4
- package/dist/index296.cjs +1 -1
- package/dist/index296.js +5 -7
- package/dist/index297.cjs +1 -1
- package/dist/index297.js +9 -5
- package/dist/index298.cjs +1 -1
- package/dist/index298.js +3 -5
- package/dist/index299.cjs +1 -1
- package/dist/index299.js +7 -5
- package/dist/index300.cjs +1 -1
- package/dist/index300.js +5 -4
- package/dist/index301.cjs +1 -1
- package/dist/index301.js +5 -11
- package/dist/index302.cjs +1 -1
- package/dist/index302.js +6 -4
- package/dist/index303.cjs +1 -1
- package/dist/index303.js +4 -5
- package/dist/index307.cjs +1 -1
- package/dist/index307.js +2 -39
- package/dist/index308.cjs +1 -1
- package/dist/index308.js +39 -2
- package/dist/index309.cjs +1 -1
- package/dist/index309.js +2 -2
- package/dist/index310.cjs +1 -1
- package/dist/index310.js +5 -3
- package/dist/index311.cjs +1 -1
- package/dist/index311.js +5 -9
- package/dist/index312.cjs +1 -1
- package/dist/index312.js +7 -5
- package/dist/index313.cjs +1 -1
- package/dist/index313.js +5 -4
- package/dist/index314.cjs +1 -1
- package/dist/index314.js +15 -6
- package/dist/index315.cjs +1 -1
- package/dist/index315.js +3 -4
- package/dist/index316.cjs +1 -1
- package/dist/index316.js +6 -17
- package/dist/index317.cjs +1 -1
- package/dist/index317.js +4 -9
- package/dist/index318.cjs +1 -1
- package/dist/index318.js +9 -5
- package/dist/index319.cjs +1 -1
- package/dist/index319.js +5 -14
- package/dist/index320.cjs +1 -1
- package/dist/index320.js +9 -3
- package/dist/index321.cjs +1 -1
- package/dist/index321.js +11 -5
- package/dist/index322.cjs +1 -1
- package/dist/index322.js +9 -7
- package/dist/index323.cjs +1 -1
- package/dist/index323.js +13 -3
- package/dist/index324.cjs +1 -1
- package/dist/index324.js +12 -10
- package/dist/index325.cjs +1 -1
- package/dist/index325.js +12 -4
- package/dist/index326.cjs +1 -1
- package/dist/index326.js +7 -9
- package/dist/index327.cjs +1 -1
- package/dist/index327.js +3 -11
- package/dist/index328.cjs +1 -1
- package/dist/index328.js +9 -5
- package/dist/index329.cjs +1 -1
- package/dist/index329.js +5 -7
- package/dist/index330.cjs +1 -1
- package/dist/index330.js +4 -6
- package/dist/index331.cjs +1 -1
- package/dist/index331.js +5 -29
- package/dist/index332.cjs +1 -1
- package/dist/index332.js +4 -9
- package/dist/index333.cjs +1 -1
- package/dist/index333.js +16 -2
- package/dist/index334.cjs +1 -1
- package/dist/index334.js +28 -15
- package/dist/index335.cjs +1 -1
- package/dist/index335.js +8 -13
- package/dist/index336.cjs +1 -1
- package/dist/index336.js +4 -12
- package/dist/index337.cjs +1 -1
- package/dist/index337.js +16 -13
- package/dist/index341.cjs +1 -1
- package/dist/index341.js +3 -8
- package/dist/index342.cjs +1 -1
- package/dist/index342.js +5 -6
- package/dist/index343.cjs +1 -1
- package/dist/index343.js +7 -10
- package/dist/index344.cjs +1 -1
- package/dist/index344.js +6 -5
- package/dist/index345.cjs +1 -1
- package/dist/index345.js +5 -4
- package/dist/index346.cjs +1 -1
- package/dist/index346.js +7 -4
- package/dist/index347.cjs +1 -1
- package/dist/index347.js +11 -5
- package/dist/index348.cjs +1 -1
- package/dist/index348.js +38 -3
- package/dist/index349.cjs +1 -1
- package/dist/index349.js +42 -7
- package/dist/index350.cjs +1 -1
- package/dist/index350.js +33 -5
- package/dist/index351.cjs +1 -1
- package/dist/index351.js +26 -12
- package/dist/index352.cjs +1 -1
- package/dist/index352.js +10 -37
- package/dist/index353.cjs +1 -1
- package/dist/index353.js +5 -42
- package/dist/index354.cjs +1 -1
- package/dist/index354.js +4 -33
- package/dist/index355.cjs +1 -1
- package/dist/index355.js +4 -25
- package/dist/index356.cjs +1 -1
- package/dist/index356.js +5 -7
- package/dist/index357.cjs +1 -1
- package/dist/index357.js +7 -5
- package/dist/index358.cjs +1 -1
- package/dist/index358.js +1 -1
- package/dist/index360.cjs +1 -1
- package/dist/index360.js +2 -17
- package/dist/index361.cjs +1 -1
- package/dist/index361.js +10 -5
- package/dist/index362.cjs +1 -1
- package/dist/index362.js +7 -3
- package/dist/index363.cjs +1 -1
- package/dist/index363.js +4 -8
- package/dist/index364.cjs +1 -1
- package/dist/index364.js +5 -3
- package/dist/index365.cjs +1 -1
- package/dist/index365.js +6 -10
- package/dist/index366.cjs +1 -1
- package/dist/index366.js +6 -6
- package/dist/index367.cjs +1 -1
- package/dist/index367.js +4 -4
- package/dist/index368.cjs +1 -1
- package/dist/index368.js +4 -7
- package/dist/index369.cjs +1 -1
- package/dist/index369.js +4 -7
- package/dist/index370.cjs +1 -1
- package/dist/index370.js +4 -7
- package/dist/index371.cjs +1 -1
- package/dist/index371.js +14 -3
- package/dist/index372.cjs +1 -1
- package/dist/index372.js +8 -4
- package/dist/index373.cjs +1 -1
- package/dist/index373.js +5 -4
- package/dist/index374.cjs +1 -1
- package/dist/index374.js +18 -4
- package/dist/index375.cjs +1 -1
- package/dist/index375.js +5 -14
- package/dist/index376.cjs +1 -1
- package/dist/index376.js +1 -1
- package/dist/index377.cjs +1 -1
- package/dist/index377.js +6 -4
- package/dist/index378.cjs +1 -1
- package/dist/index378.js +8 -5
- package/dist/index379.cjs +1 -1
- package/dist/index379.js +4 -10
- package/dist/index380.cjs +1 -1
- package/dist/index380.js +4 -6
- package/dist/index381.cjs +1 -1
- package/dist/index381.js +3 -5
- package/dist/index382.cjs +1 -1
- package/dist/index382.js +10 -4
- package/dist/index383.cjs +1 -1
- package/dist/index383.js +6 -4
- package/dist/index384.cjs +1 -1
- package/dist/index384.js +6 -3
- package/dist/index385.cjs +1 -1
- package/dist/index385.js +1 -1
- package/dist/index386.cjs +1 -1
- package/dist/index386.js +2 -2
- package/dist/index387.cjs +1 -1
- package/dist/index387.js +4 -6
- package/dist/index388.cjs +1 -1
- package/dist/index388.js +4 -8
- package/dist/index389.cjs +1 -1
- package/dist/index389.js +2 -2
- package/dist/index390.cjs +1 -1
- package/dist/index390.js +6 -3
- package/dist/index391.cjs +1 -1
- package/dist/index391.js +7 -15
- package/dist/index392.cjs +1 -1
- package/dist/index392.js +3 -5
- package/dist/index393.cjs +1 -1
- package/dist/index393.js +3 -8
- package/dist/index394.cjs +1 -1
- package/dist/index394.js +15 -3
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +3 -3
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +1 -1
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +1 -1
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +1 -1
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +1 -1
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +1 -1
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +1 -1
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +1 -1
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +1 -1
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +1 -1
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +1 -1
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +1 -1
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +1 -1
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +1 -1
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +1 -1
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +1 -1
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +1 -1
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +1 -1
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +1 -1
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +1 -1
- package/package.json +1 -1
package/dist/index156.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./index131.cjs"),r=require("./
|
|
1
|
+
"use strict";const e=require("./index131.cjs"),r=require("./index203.cjs");var s=r.__require();const o=e.getDefaultExportFromCjs(s);module.exports=o;
|
package/dist/index156.js
CHANGED
package/dist/index157.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./
|
|
1
|
+
"use strict";const t=require("./index212.cjs"),c=require("./index213.cjs");var i=c(function(e,r,s){t(e,r,s)});module.exports=i;
|
package/dist/index157.js
CHANGED
package/dist/index158.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index97.cjs"),c=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index97.cjs"),c=require("./index216.cjs");var f=function(r){var o=["r","g","b","a","h","s","l","v"],i=0,t=0;return c(o,function(e){if(r[e]&&(i+=1,isNaN(r[e])||(t+=1),e==="s"||e==="l")){var s=/^\d+%$/;s.test(r[e])&&(t+=1)}}),i===t?r:!1},v=function(r,o){var i=r.hex?a(r.hex):a(r),t=i.toHsl(),e=i.toHsv(),s=i.toRgb(),l=i.toHex();t.s===0&&(t.h=o||0,e.h=o||0);var g=l==="000000"&&s.a===0;return{hsl:t,hex:g?"transparent":"#"+l,rgb:s,hsv:e,oldHue:r.h||o||t.h,source:r.source}},u=function(r){if(r==="transparent")return!0;var o=String(r).charAt(0)==="#"?1:0;return r.length!==4+o&&r.length<7+o&&a(r).isValid()},h=function(r){if(!r)return"#fff";var o=v(r);if(o.hex==="transparent")return"rgba(0,0,0,0.4)";var i=(o.rgb.r*299+o.rgb.g*587+o.rgb.b*114)/1e3;return i>=128?"#000":"#fff"},C=function(r,o){var i=r.replace("°","");return a(o+" ("+i+")")._ok};exports.getContrastingColor=h;exports.isValidHex=u;exports.isvalidColorString=C;exports.simpleCheckForValidColor=f;exports.toState=v;
|
package/dist/index158.js
CHANGED
package/dist/index160.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./
|
|
1
|
+
"use strict";const s=require("./index208.cjs"),t=require("./index209.cjs"),u=require("./index210.cjs"),n=require("./index211.cjs");function i(r,e){var a=n(r)?s:u;return a(r,t(e))}module.exports=i;
|
package/dist/index160.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import t from "./
|
|
2
|
-
import o from "./
|
|
3
|
-
import p from "./
|
|
4
|
-
import e from "./
|
|
1
|
+
import t from "./index208.js";
|
|
2
|
+
import o from "./index209.js";
|
|
3
|
+
import p from "./index210.js";
|
|
4
|
+
import e from "./index211.js";
|
|
5
5
|
function n(r, a) {
|
|
6
6
|
var m = e(r) ? t : p;
|
|
7
7
|
return m(r, o(a));
|
package/dist/index163.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("react"),u=require("./index146.cjs"),f=require("./index158.cjs"),h=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("react"),u=require("./index146.cjs"),f=require("./index158.cjs"),h=require("./index214.cjs");require("./index147.cjs");require("./index148.cjs");const o=require("./index149.cjs");require("./index150.cjs");require("./index151.cjs");require("./index152.cjs");require("./index154.cjs");const g=require("./index215.cjs");var b=(function(){function n(l,r){for(var t=0;t<r.length;t++){var e=r[t];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(l,e.key,e)}}return function(l,r,t){return r&&n(l.prototype,r),t&&n(l,t),l}})();function c(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function d(n,l){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:n}function v(n,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);n.prototype=Object.create(l&&l.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(n,l):n.__proto__=l)}var a=(function(n){v(l,n);function l(r){c(this,l);var t=d(this,(l.__proto__||Object.getPrototypeOf(l)).call(this));return t.toggleViews=function(){t.state.view==="hex"?t.setState({view:"rgb"}):t.state.view==="rgb"?t.setState({view:"hsl"}):t.state.view==="hsl"&&(t.props.hsl.a===1?t.setState({view:"hex"}):t.setState({view:"rgb"}))},t.handleChange=function(e,s){e.hex?f.isValidHex(e.hex)&&t.props.onChange({hex:e.hex,source:"hex"},s):e.r||e.g||e.b?t.props.onChange({r:e.r||t.props.rgb.r,g:e.g||t.props.rgb.g,b:e.b||t.props.rgb.b,source:"rgb"},s):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),t.props.onChange({h:t.props.hsl.h,s:t.props.hsl.s,l:t.props.hsl.l,a:Math.round(e.a*100)/100,source:"rgb"},s)):(e.h||e.s||e.l)&&(typeof e.s=="string"&&e.s.includes("%")&&(e.s=e.s.replace("%","")),typeof e.l=="string"&&e.l.includes("%")&&(e.l=e.l.replace("%","")),e.s==1?e.s=.01:e.l==1&&(e.l=.01),t.props.onChange({h:e.h||t.props.hsl.h,s:Number(h(e.s)?t.props.hsl.s:e.s),l:Number(h(e.l)?t.props.hsl.l:e.l),source:"hsl"},s))},t.showHighlight=function(e){e.currentTarget.style.background="#eee"},t.hideHighlight=function(e){e.currentTarget.style.background="transparent"},r.hsl.a!==1&&r.view==="hex"?t.state={view:"rgb"}:t.state={view:r.view},t}return b(l,[{key:"render",value:function(){var t=this,e=u.default({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),s=void 0;return this.state.view==="hex"?s=i.createElement("div",{style:e.fields,className:"flexbox-fix"},i.createElement("div",{style:e.field},i.createElement(o.EditableInput,{style:{input:e.input,label:e.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):this.state.view==="rgb"?s=i.createElement("div",{style:e.fields,className:"flexbox-fix"},i.createElement("div",{style:e.field},i.createElement(o.EditableInput,{style:{input:e.input,label:e.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),i.createElement("div",{style:e.field},i.createElement(o.EditableInput,{style:{input:e.input,label:e.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),i.createElement("div",{style:e.field},i.createElement(o.EditableInput,{style:{input:e.input,label:e.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),i.createElement("div",{style:e.alpha},i.createElement(o.EditableInput,{style:{input:e.input,label:e.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):this.state.view==="hsl"&&(s=i.createElement("div",{style:e.fields,className:"flexbox-fix"},i.createElement("div",{style:e.field},i.createElement(o.EditableInput,{style:{input:e.input,label:e.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),i.createElement("div",{style:e.field},i.createElement(o.EditableInput,{style:{input:e.input,label:e.label},label:"s",value:Math.round(this.props.hsl.s*100)+"%",onChange:this.handleChange})),i.createElement("div",{style:e.field},i.createElement(o.EditableInput,{style:{input:e.input,label:e.label},label:"l",value:Math.round(this.props.hsl.l*100)+"%",onChange:this.handleChange})),i.createElement("div",{style:e.alpha},i.createElement(o.EditableInput,{style:{input:e.input,label:e.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),i.createElement("div",{style:e.wrap,className:"flexbox-fix"},s,i.createElement("div",{style:e.toggle},i.createElement("div",{style:e.icon,onClick:this.toggleViews,ref:function(p){return t.icon=p}},i.createElement(g,{style:e.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(t,e){return t.hsl.a!==1&&e.view==="hex"?{view:"rgb"}:null}}]),l})(i.Component);a.defaultProps={view:"hex"};exports.ChromeFields=a;exports.default=a;
|
package/dist/index163.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import i from "react";
|
|
2
2
|
import p from "./index146.js";
|
|
3
3
|
import { isValidHex as f } from "./index158.js";
|
|
4
|
-
import h from "./
|
|
4
|
+
import h from "./index214.js";
|
|
5
5
|
import "./index147.js";
|
|
6
6
|
import "./index148.js";
|
|
7
7
|
import { EditableInput as s } from "./index149.js";
|
|
@@ -9,7 +9,7 @@ import "./index150.js";
|
|
|
9
9
|
import "./index151.js";
|
|
10
10
|
import "./index152.js";
|
|
11
11
|
import "./index154.js";
|
|
12
|
-
import u from "./
|
|
12
|
+
import u from "./index215.js";
|
|
13
13
|
var g = /* @__PURE__ */ (function() {
|
|
14
14
|
function n(l, r) {
|
|
15
15
|
for (var t = 0; t < r.length; t++) {
|
package/dist/index184.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),C=require("mobx-react-lite"),j=require("@ikas/ui"),l=require("./index3.cjs"),d=require("./index8.cjs"),w=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),C=require("mobx-react-lite"),j=require("@ikas/ui"),l=require("./index3.cjs"),d=require("./index8.cjs"),w=require("./index134.cjs"),q=require("./index63.cjs"),H=require("./index69.cjs");function N(m){var u,x;const{model:o,columnDefinition:e,alignment:r}=m,s=o.columnDefinitions.findIndex(n=>n.columnKey===e.columnKey),h=s===0,f=s===o.columnDefinitions.length-1,i=e.columnKey===o.sortColumnKey,g=i&&o.sortDirection==="asc",p=i&&o.sortDirection==="desc",y=n=>{n.stopPropagation(),e.isSortable&&o.onHeaderClick(e)},b=(u=e.headerTooltipProps)==null?void 0:u.isShowHeaderTextTooltip,T=((x=e.headerTooltipProps)==null?void 0:x.tooltipText)??e.headerText,c=r===d.ColumnAlignment.CENTER?"center":r===d.ColumnAlignment.RIGHT?"right":"left",a=t.jsx("span",{className:"text-sm font-medium text-gray-blue-6 truncate flex-none",style:{textAlign:c},children:e.headerText}),v=()=>{var n;return b?t.jsx(j.Tooltip,{title:T,children:t.jsxs("div",{className:"flex items-center justify-center overflow-hidden",children:[a,((n=e.headerTooltipProps)==null?void 0:n.showTooltipIcon)&&t.jsx(H.default,{className:"h-4 w-4 text-gray-blue-6 flex-shrink-0 ml-2"})]})}):a};return t.jsxs("div",{className:l.cn("w-full h-full flex items-center select-none cursor-pointer","text-gray-blue-6",o.hideHeaderBackgroundColor?"bg-white":"bg-gray-blue-1",(h||f)&&"rounded"),style:{justifyContent:r??"flex-start",textAlign:c},onClick:y,children:[v(),e.isSortable&&t.jsxs("div",{className:"w-4 flex-none flex flex-col items-center relative ml-1.5",children:[t.jsx(w.default,{className:l.cn("w-2.5 h-5 relative -bottom-[7px]",g?"text-gray-blue-9":"text-gray-blue hover:text-gray-blue-9")}),t.jsx(q.default,{className:l.cn("w-2.5 h-5 relative -top-[7px]",p?"text-gray-blue-9":"text-gray-blue hover:text-gray-blue-9")})]})]})}const S=C.observer(N);exports.HeaderCell=S;
|
package/dist/index184.js
CHANGED
|
@@ -3,7 +3,7 @@ import { observer as w } from "mobx-react-lite";
|
|
|
3
3
|
import { Tooltip as N } from "@ikas/ui";
|
|
4
4
|
import { cn as i } from "./index3.js";
|
|
5
5
|
import { ColumnAlignment as u } from "./index8.js";
|
|
6
|
-
import D from "./
|
|
6
|
+
import D from "./index134.js";
|
|
7
7
|
import H from "./index63.js";
|
|
8
8
|
import I from "./index69.js";
|
|
9
9
|
function S(f) {
|
package/dist/index191.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),c=require("react"),v=require("mobx-react-lite"),S=require("@ikas/ui"),p=require("./index5.cjs"),T=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),c=require("react"),v=require("mobx-react-lite"),S=require("@ikas/ui"),p=require("./index5.cjs"),T=require("./index135.cjs"),b=5;function L(o){return o.length>b?`${o.slice(0,b)}...`:o}function j(o){var f;const{filterRow:u,model:i,onChange:d}=o,[r,g]=c.useState(""),s=u.filterValue.value||[],h=c.useMemo(()=>{switch(i.locale){case"tr":return"tr-TR";case"en":return"en-US";case"de":return"de-DE";default:return"tr-TR"}},[i.locale]),a=c.useMemo(()=>i.filters.find(e=>{var t;return e.key===((t=u.filterValue)==null?void 0:t.key)}),[i.filters,(f=u.filterValue)==null?void 0:f.key]),x=c.useMemo(()=>{var m;const e=((m=a==null?void 0:a.options)==null?void 0:m.map(n=>({label:n.label,value:n.value})))??[],t=s.filter(n=>!e.some(w=>w.value===n)).map(n=>({label:L(n),value:n}));return[...e,...t]},[a==null?void 0:a.options,s]),y=e=>{e.key!=="Enter"||!r||(e.preventDefault(),e.stopPropagation(),r.trim()!==""&&!s.find(t=>r===t)&&d([...s,r]),g(""))};return l.jsxs("div",{className:"relative",style:{maxWidth:330,minWidth:330},onKeyDownCapture:y,children:[l.jsx(S.Select,{mode:"tags",maxTagCount:"responsive",value:s,showSearch:!0,searchValue:r,onSearch:g,onChange:e=>{const t=e;t.length<=s.length&&d(t)},options:x,tagClosable:!0,filterOption:(e,t)=>t?String(t.label??"").toLocaleLowerCase(h).includes(e.toLocaleLowerCase(h)):!1,style:{width:"100%"},placeholder:p.coreTranslations.common.actions.enterValue}),!!r.length&&l.jsxs("div",{className:"pointer-events-none absolute right-9 top-1/2 -translate-y-1/2 flex items-center gap-1.5 bg-white",children:[l.jsx(T.default,{className:"h-4 w-4 text-gray-blue-5"}),l.jsx("span",{className:"text-sm leading-5 text-gray-blue-9",children:p.coreTranslations.common.actions.enter})]})]})}const C=v.observer(j);exports.FilterStringInput=C;
|
package/dist/index191.js
CHANGED
|
@@ -3,7 +3,7 @@ import { useState as x, useMemo as m } from "react";
|
|
|
3
3
|
import { observer as C } from "mobx-react-lite";
|
|
4
4
|
import { Select as S } from "@ikas/ui";
|
|
5
5
|
import { coreTranslations as w } from "./index5.js";
|
|
6
|
-
import T from "./
|
|
6
|
+
import T from "./index135.js";
|
|
7
7
|
const y = 5;
|
|
8
8
|
function L(l) {
|
|
9
9
|
return l.length > y ? `${l.slice(0, y)}...` : l;
|
package/dist/index194.cjs
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/**
|
|
2
|
+
* @license lucide-react v0.563.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const o=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(s,a,e)=>e?e.toUpperCase():a.toLowerCase());exports.toCamelCase=o;
|
package/dist/index194.js
CHANGED
|
@@ -1,29 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
v = 1, Object.defineProperty(e, "__esModule", {
|
|
12
|
-
value: !0
|
|
13
|
-
}), e.ReactCSS = e.loop = e.handleActive = e.handleHover = e.hover = void 0;
|
|
14
|
-
var f = x(), _ = r(f), l = A(), s = r(l), m = N(), n = r(m), d = H(), i = r(d), p = L(), q = r(p), c = M(), h = r(c);
|
|
15
|
-
function r(a) {
|
|
16
|
-
return a && a.__esModule ? a : { default: a };
|
|
17
|
-
}
|
|
18
|
-
e.hover = i.default, e.handleHover = i.default, e.handleActive = q.default, e.loop = h.default;
|
|
19
|
-
var S = e.ReactCSS = function(g) {
|
|
20
|
-
for (var u = arguments.length, o = Array(u > 1 ? u - 1 : 0), t = 1; t < u; t++)
|
|
21
|
-
o[t - 1] = arguments[t];
|
|
22
|
-
var C = (0, _.default)(o), R = (0, s.default)(g, C);
|
|
23
|
-
return (0, n.default)(R);
|
|
24
|
-
};
|
|
25
|
-
return e.default = S, e;
|
|
26
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license lucide-react v0.563.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
const s = (a) => a.replace(
|
|
8
|
+
/^([A-Z])|[\s-_]+(\w)/g,
|
|
9
|
+
(t, o, e) => e ? e.toUpperCase() : o.toLowerCase()
|
|
10
|
+
);
|
|
27
11
|
export {
|
|
28
|
-
|
|
12
|
+
s as toCamelCase
|
|
29
13
|
};
|
package/dist/index195.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index196.cjs"),R=require("./index197.cjs"),N=require("./index198.cjs"),A=require("./index199.cjs"),M=require("./index200.cjs"),b=require("./index201.cjs"),H=require("./index202.cjs");var s;function L(){if(s)return e.__exports;s=1,Object.defineProperty(e.__exports,"__esModule",{value:!0}),e.__exports.ReactCSS=e.__exports.loop=e.__exports.handleActive=e.__exports.handleHover=e.__exports.hover=void 0;var i=R.__require(),n=r(i),v=N.__require(),l=r(v),p=A.__require(),f=r(p),d=M.__require(),o=r(d),c=b.__require(),x=r(c),q=H.__require(),h=r(q);function r(t){return t&&t.__esModule?t:{default:t}}e.__exports.hover=o.default,e.__exports.handleHover=o.default,e.__exports.handleActive=x.default,e.__exports.loop=h.default;var m=e.__exports.ReactCSS=function(S){for(var _=arguments.length,u=Array(_>1?_-1:0),a=1;a<_;a++)u[a-1]=arguments[a];var g=(0,n.default)(u),C=(0,l.default)(S,g);return(0,f.default)(C)};return e.__exports.default=m,e.__exports}exports.__require=L;
|
package/dist/index195.js
CHANGED
|
@@ -1,4 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as e } from "./index196.js";
|
|
2
|
+
import { __require as x } from "./index197.js";
|
|
3
|
+
import { __require as A } from "./index198.js";
|
|
4
|
+
import { __require as N } from "./index199.js";
|
|
5
|
+
import { __require as H } from "./index200.js";
|
|
6
|
+
import { __require as L } from "./index201.js";
|
|
7
|
+
import { __require as M } from "./index202.js";
|
|
8
|
+
var v;
|
|
9
|
+
function B() {
|
|
10
|
+
if (v) return e;
|
|
11
|
+
v = 1, Object.defineProperty(e, "__esModule", {
|
|
12
|
+
value: !0
|
|
13
|
+
}), e.ReactCSS = e.loop = e.handleActive = e.handleHover = e.hover = void 0;
|
|
14
|
+
var f = x(), _ = r(f), l = A(), s = r(l), m = N(), n = r(m), d = H(), i = r(d), p = L(), q = r(p), c = M(), h = r(c);
|
|
15
|
+
function r(a) {
|
|
16
|
+
return a && a.__esModule ? a : { default: a };
|
|
17
|
+
}
|
|
18
|
+
e.hover = i.default, e.handleHover = i.default, e.handleActive = q.default, e.loop = h.default;
|
|
19
|
+
var S = e.ReactCSS = function(g) {
|
|
20
|
+
for (var u = arguments.length, o = Array(u > 1 ? u - 1 : 0), t = 1; t < u; t++)
|
|
21
|
+
o[t - 1] = arguments[t];
|
|
22
|
+
var C = (0, _.default)(o), R = (0, s.default)(g, C);
|
|
23
|
+
return (0, n.default)(R);
|
|
24
|
+
};
|
|
25
|
+
return e.default = S, e;
|
|
26
|
+
}
|
|
2
27
|
export {
|
|
3
|
-
|
|
28
|
+
B as __require
|
|
4
29
|
};
|
package/dist/index196.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
package/dist/index196.js
CHANGED
|
@@ -1,30 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import q from "lodash/isString";
|
|
3
|
-
import N from "lodash/forOwn";
|
|
4
|
-
import O from "lodash/isPlainObject";
|
|
5
|
-
import P from "lodash/map";
|
|
6
|
-
var i;
|
|
7
|
-
function A() {
|
|
8
|
-
if (i) return t;
|
|
9
|
-
i = 1, Object.defineProperty(t, "__esModule", {
|
|
10
|
-
value: !0
|
|
11
|
-
}), t.flattenNames = void 0;
|
|
12
|
-
var s = q, m = u(s), l = N, o = u(l), _ = O, p = u(_), d = P, v = u(d);
|
|
13
|
-
function u(e) {
|
|
14
|
-
return e && e.__esModule ? e : { default: e };
|
|
15
|
-
}
|
|
16
|
-
var $ = t.flattenNames = function e() {
|
|
17
|
-
var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], a = [];
|
|
18
|
-
return (0, v.default)(c, function(r) {
|
|
19
|
-
Array.isArray(r) ? e(r).map(function(n) {
|
|
20
|
-
return a.push(n);
|
|
21
|
-
}) : (0, p.default)(r) ? (0, o.default)(r, function(n, f) {
|
|
22
|
-
n === !0 && a.push(f), a.push(f + "-" + n);
|
|
23
|
-
}) : (0, m.default)(r) && a.push(r);
|
|
24
|
-
}), a;
|
|
25
|
-
};
|
|
26
|
-
return t.default = $, t;
|
|
27
|
-
}
|
|
1
|
+
var r = {};
|
|
28
2
|
export {
|
|
29
|
-
|
|
3
|
+
r as __exports
|
|
30
4
|
};
|
package/dist/index197.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index222.cjs"),$=require("lodash/isString"),N=require("lodash/forOwn"),x=require("lodash/isPlainObject"),O=require("lodash/map");var i;function g(){if(i)return t.__exports;i=1,Object.defineProperty(t.__exports,"__esModule",{value:!0}),t.__exports.flattenNames=void 0;var f=$,_=u(f),l=N,o=u(l),c=x,d=u(c),p=O,m=u(p);function u(e){return e&&e.__esModule?e:{default:e}}var q=t.__exports.flattenNames=function e(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=[];return(0,m.default)(v,function(r){Array.isArray(r)?e(r).map(function(n){return a.push(n)}):(0,d.default)(r)?(0,o.default)(r,function(n,s){n===!0&&a.push(s),a.push(s+"-"+n)}):(0,_.default)(r)&&a.push(r)}),a};return t.__exports.default=q,t.__exports}exports.__require=g;
|
package/dist/index197.js
CHANGED
|
@@ -1,34 +1,30 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { __exports as t } from "./index222.js";
|
|
2
|
+
import q from "lodash/isString";
|
|
3
|
+
import N from "lodash/forOwn";
|
|
4
|
+
import O from "lodash/isPlainObject";
|
|
5
|
+
import P from "lodash/map";
|
|
6
|
+
var i;
|
|
7
|
+
function A() {
|
|
8
|
+
if (i) return t;
|
|
9
|
+
i = 1, Object.defineProperty(t, "__esModule", {
|
|
8
10
|
value: !0
|
|
9
|
-
}),
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
for (var e in n)
|
|
14
|
-
Object.prototype.hasOwnProperty.call(n, e) && (r[e] = n[e]);
|
|
15
|
-
}
|
|
16
|
-
return r;
|
|
17
|
-
};
|
|
18
|
-
function f(r) {
|
|
19
|
-
return r && r.__esModule ? r : { default: r };
|
|
11
|
+
}), t.flattenNames = void 0;
|
|
12
|
+
var s = q, m = u(s), l = N, o = u(l), _ = O, p = u(_), d = P, v = u(d);
|
|
13
|
+
function u(e) {
|
|
14
|
+
return e && e.__esModule ? e : { default: e };
|
|
20
15
|
}
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
return
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
16
|
+
var $ = t.flattenNames = function e() {
|
|
17
|
+
var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], a = [];
|
|
18
|
+
return (0, v.default)(c, function(r) {
|
|
19
|
+
Array.isArray(r) ? e(r).map(function(n) {
|
|
20
|
+
return a.push(n);
|
|
21
|
+
}) : (0, p.default)(r) ? (0, o.default)(r, function(n, f) {
|
|
22
|
+
n === !0 && a.push(f), a.push(f + "-" + n);
|
|
23
|
+
}) : (0, m.default)(r) && a.push(r);
|
|
24
|
+
}), a;
|
|
29
25
|
};
|
|
30
|
-
return
|
|
26
|
+
return t.default = $, t;
|
|
31
27
|
}
|
|
32
28
|
export {
|
|
33
|
-
|
|
29
|
+
A as __require
|
|
34
30
|
};
|
package/dist/index198.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index223.cjs"),c=require("lodash/forOwn"),m=require("lodash/cloneDeep");var l;function q(){if(l)return n.__exports;l=1,Object.defineProperty(n.__exports,"__esModule",{value:!0}),n.__exports.mergeClasses=void 0;var f=c,_=o(f),d=m,g=o(d),v=Object.assign||function(r){for(var t=1;t<arguments.length;t++){var u=arguments[t];for(var e in u)Object.prototype.hasOwnProperty.call(u,e)&&(r[e]=u[e])}return r};function o(r){return r&&r.__esModule?r:{default:r}}var p=n.__exports.mergeClasses=function(t){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],e=t.default&&(0,g.default)(t.default)||{};return u.map(function(i){var s=t[i];return s&&(0,_.default)(s,function(x,a){e[a]||(e[a]={}),e[a]=v({},e[a],s[a])}),i}),e};return n.__exports.default=p,n.__exports}exports.__require=q;
|
package/dist/index198.js
CHANGED
|
@@ -1,118 +1,34 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { __exports as a } from "./index223.js";
|
|
2
|
+
import p from "lodash/forOwn";
|
|
3
|
+
import c from "lodash/cloneDeep";
|
|
4
|
+
var l;
|
|
5
|
+
function $() {
|
|
6
|
+
if (l) return a;
|
|
7
|
+
l = 1, Object.defineProperty(a, "__esModule", {
|
|
7
8
|
value: !0
|
|
8
|
-
}),
|
|
9
|
-
var
|
|
10
|
-
for (var
|
|
11
|
-
var
|
|
12
|
-
for (var
|
|
13
|
-
Object.prototype.hasOwnProperty.call(
|
|
9
|
+
}), a.mergeClasses = void 0;
|
|
10
|
+
var o = p, m = f(o), v = c, d = f(v), g = Object.assign || function(r) {
|
|
11
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
12
|
+
var n = arguments[t];
|
|
13
|
+
for (var e in n)
|
|
14
|
+
Object.prototype.hasOwnProperty.call(n, e) && (r[e] = n[e]);
|
|
14
15
|
}
|
|
15
|
-
return
|
|
16
|
+
return r;
|
|
16
17
|
};
|
|
17
|
-
function
|
|
18
|
-
return
|
|
18
|
+
function f(r) {
|
|
19
|
+
return r && r.__esModule ? r : { default: r };
|
|
19
20
|
}
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
borderRadius: r
|
|
28
|
-
};
|
|
29
|
-
},
|
|
30
|
-
boxShadow: function(r) {
|
|
31
|
-
return {
|
|
32
|
-
msBoxShadow: r,
|
|
33
|
-
MozBoxShadow: r,
|
|
34
|
-
OBoxShadow: r,
|
|
35
|
-
WebkitBoxShadow: r,
|
|
36
|
-
boxShadow: r
|
|
37
|
-
};
|
|
38
|
-
},
|
|
39
|
-
userSelect: function(r) {
|
|
40
|
-
return {
|
|
41
|
-
WebkitTouchCallout: r,
|
|
42
|
-
KhtmlUserSelect: r,
|
|
43
|
-
MozUserSelect: r,
|
|
44
|
-
msUserSelect: r,
|
|
45
|
-
WebkitUserSelect: r,
|
|
46
|
-
userSelect: r
|
|
47
|
-
};
|
|
48
|
-
},
|
|
49
|
-
flex: function(r) {
|
|
50
|
-
return {
|
|
51
|
-
WebkitBoxFlex: r,
|
|
52
|
-
MozBoxFlex: r,
|
|
53
|
-
WebkitFlex: r,
|
|
54
|
-
msFlex: r,
|
|
55
|
-
flex: r
|
|
56
|
-
};
|
|
57
|
-
},
|
|
58
|
-
flexBasis: function(r) {
|
|
59
|
-
return {
|
|
60
|
-
WebkitFlexBasis: r,
|
|
61
|
-
flexBasis: r
|
|
62
|
-
};
|
|
63
|
-
},
|
|
64
|
-
justifyContent: function(r) {
|
|
65
|
-
return {
|
|
66
|
-
WebkitJustifyContent: r,
|
|
67
|
-
justifyContent: r
|
|
68
|
-
};
|
|
69
|
-
},
|
|
70
|
-
transition: function(r) {
|
|
71
|
-
return {
|
|
72
|
-
msTransition: r,
|
|
73
|
-
MozTransition: r,
|
|
74
|
-
OTransition: r,
|
|
75
|
-
WebkitTransition: r,
|
|
76
|
-
transition: r
|
|
77
|
-
};
|
|
78
|
-
},
|
|
79
|
-
transform: function(r) {
|
|
80
|
-
return {
|
|
81
|
-
msTransform: r,
|
|
82
|
-
MozTransform: r,
|
|
83
|
-
OTransform: r,
|
|
84
|
-
WebkitTransform: r,
|
|
85
|
-
transform: r
|
|
86
|
-
};
|
|
87
|
-
},
|
|
88
|
-
absolute: function(r) {
|
|
89
|
-
var e = r && r.split(" ");
|
|
90
|
-
return {
|
|
91
|
-
position: "absolute",
|
|
92
|
-
top: e && e[0],
|
|
93
|
-
right: e && e[1],
|
|
94
|
-
bottom: e && e[2],
|
|
95
|
-
left: e && e[3]
|
|
96
|
-
};
|
|
97
|
-
},
|
|
98
|
-
extend: function(r, e) {
|
|
99
|
-
var n = e[r];
|
|
100
|
-
return n || {
|
|
101
|
-
extend: r
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
}, b = o.autoprefix = function(r) {
|
|
105
|
-
var e = {};
|
|
106
|
-
return (0, s.default)(r, function(n, S) {
|
|
107
|
-
var i = {};
|
|
108
|
-
(0, s.default)(n, function(f, u) {
|
|
109
|
-
var a = p[u];
|
|
110
|
-
a ? i = c({}, i, a(f)) : i[u] = f;
|
|
111
|
-
}), e[S] = i;
|
|
21
|
+
var _ = a.mergeClasses = function(t) {
|
|
22
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], e = t.default && (0, d.default)(t.default) || {};
|
|
23
|
+
return n.map(function(i) {
|
|
24
|
+
var s = t[i];
|
|
25
|
+
return s && (0, m.default)(s, function(C, u) {
|
|
26
|
+
e[u] || (e[u] = {}), e[u] = g({}, e[u], s[u]);
|
|
27
|
+
}), i;
|
|
112
28
|
}), e;
|
|
113
29
|
};
|
|
114
|
-
return
|
|
30
|
+
return a.default = _, a;
|
|
115
31
|
}
|
|
116
32
|
export {
|
|
117
|
-
|
|
33
|
+
$ as __require
|
|
118
34
|
};
|
package/dist/index199.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index224.cjs"),S=require("lodash/forOwn");var d;function h(){if(d)return n.__exports;d=1,Object.defineProperty(n.__exports,"__esModule",{value:!0}),n.__exports.autoprefix=void 0;var x=S,s=p(x),c=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t};function p(t){return t&&t.__esModule?t:{default:t}}var b={borderRadius:function(r){return{msBorderRadius:r,MozBorderRadius:r,OBorderRadius:r,WebkitBorderRadius:r,borderRadius:r}},boxShadow:function(r){return{msBoxShadow:r,MozBoxShadow:r,OBoxShadow:r,WebkitBoxShadow:r,boxShadow:r}},userSelect:function(r){return{WebkitTouchCallout:r,KhtmlUserSelect:r,MozUserSelect:r,msUserSelect:r,WebkitUserSelect:r,userSelect:r}},flex:function(r){return{WebkitBoxFlex:r,MozBoxFlex:r,WebkitFlex:r,msFlex:r,flex:r}},flexBasis:function(r){return{WebkitFlexBasis:r,flexBasis:r}},justifyContent:function(r){return{WebkitJustifyContent:r,justifyContent:r}},transition:function(r){return{msTransition:r,MozTransition:r,OTransition:r,WebkitTransition:r,transition:r}},transform:function(r){return{msTransform:r,MozTransform:r,OTransform:r,WebkitTransform:r,transform:r}},absolute:function(r){var e=r&&r.split(" ");return{position:"absolute",top:e&&e[0],right:e&&e[1],bottom:e&&e[2],left:e&&e[3]}},extend:function(r,e){var o=e[r];return o||{extend:r}}},_=n.__exports.autoprefix=function(r){var e={};return(0,s.default)(r,function(o,m){var i={};(0,s.default)(o,function(f,u){var a=b[u];a?i=c({},i,a(f)):i[u]=f}),e[m]=i}),e};return n.__exports.default=_,n.__exports}exports.__require=h;
|