@ikas/core 1.0.50 → 1.0.51
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/components/custom-select/index.d.ts.map +1 -1
- package/dist/components/datatable/cells/select-cell.d.ts.map +1 -1
- package/dist/components/datatable/paginator.d.ts.map +1 -1
- package/dist/components/filter-manager/filter-row.d.ts.map +1 -1
- package/dist/components/filter-manager/filter-string-input.d.ts.map +1 -1
- package/dist/components/search/async-search-select/index.d.ts.map +1 -1
- package/dist/components/search/brand-search-dropdown/index.d.ts.map +1 -1
- package/dist/components/search/category-search/index.d.ts.map +1 -1
- package/dist/components/search/category-select/index.d.ts.map +1 -1
- package/dist/components/search/country-select/index.d.ts.map +1 -1
- package/dist/components/search/product-search-dropdown/index.d.ts.map +1 -1
- package/dist/components/search/raffle-search-dropdown/index.d.ts.map +1 -1
- package/dist/components/search/variant-search-dropdown/index.d.ts.map +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 +8 -8
- package/dist/index121.cjs +1 -1
- package/dist/index121.js +30 -403
- package/dist/index122.cjs +1 -1
- package/dist/index122.js +2 -31
- package/dist/index123.cjs +1 -1
- package/dist/index123.js +412 -2
- package/dist/index124.cjs +1 -5
- package/dist/index124.js +110 -2961
- package/dist/index125.cjs +6 -1
- package/dist/index125.js +14 -2
- package/dist/index126.cjs +6 -1
- package/dist/index126.js +13 -5
- package/dist/index127.cjs +6 -1
- package/dist/index127.js +14 -111
- package/dist/index128.cjs +5 -6
- package/dist/index128.js +2962 -14
- package/dist/index129.cjs +1 -6
- package/dist/index129.js +2 -13
- package/dist/index130.cjs +1 -6
- package/dist/index130.js +5 -14
- package/dist/index132.cjs +1 -6
- package/dist/index132.js +3 -26
- package/dist/index133.cjs +1 -6
- package/dist/index133.js +8 -15
- package/dist/index134.cjs +1 -6
- package/dist/index134.js +7 -10
- package/dist/index135.cjs +2 -2
- package/dist/index135.js +21 -7
- package/dist/index136.cjs +2 -2
- package/dist/index136.js +9 -11
- package/dist/index137.cjs +2 -2
- package/dist/index137.js +4 -2
- package/dist/index138.cjs +2 -2
- package/dist/index138.js +7 -2
- package/dist/index139.cjs +2 -2
- package/dist/index139.js +11 -6
- package/dist/index140.cjs +2 -2
- package/dist/index140.js +2 -34
- package/dist/index141.cjs +2 -2
- package/dist/index141.js +2 -12
- package/dist/index142.cjs +2 -2
- package/dist/index142.js +5 -6
- package/dist/index143.cjs +6 -1
- package/dist/index143.js +40 -4
- package/dist/index144.cjs +6 -1
- package/dist/index144.js +18 -8
- package/dist/index145.cjs +6 -1
- package/dist/index145.js +13 -7
- package/dist/index146.cjs +1 -1
- package/dist/index146.js +71 -6
- package/dist/index147.cjs +1 -3
- package/dist/index147.js +17 -144
- package/dist/index148.cjs +1 -1
- package/dist/index148.js +34 -30
- package/dist/index149.cjs +1 -1
- package/dist/index149.js +46 -140
- package/dist/index150.cjs +1 -15
- package/dist/index150.js +38 -135
- package/dist/index151.cjs +1 -1
- package/dist/index151.js +93 -84
- package/dist/index152.cjs +1 -11
- package/dist/index152.js +59 -147
- package/dist/index153.cjs +1 -1
- package/dist/index153.js +6 -83
- package/dist/index154.cjs +3 -1
- package/dist/index154.js +144 -48
- package/dist/index155.cjs +1 -1
- package/dist/index155.js +27 -20
- package/dist/index156.cjs +1 -1
- package/dist/index156.js +144 -5
- package/dist/index157.cjs +15 -1
- package/dist/index157.js +137 -6
- package/dist/index158.cjs +1 -1
- package/dist/index158.js +85 -42
- package/dist/index159.cjs +11 -1
- package/dist/index159.js +146 -48
- package/dist/index160.cjs +1 -1
- package/dist/index160.js +82 -8
- package/dist/index161.cjs +1 -1
- package/dist/index161.js +50 -19
- package/dist/index162.cjs +1 -1
- package/dist/index162.js +17 -51
- package/dist/index163.cjs +1 -1
- package/dist/index163.js +5 -286
- package/dist/index164.cjs +1 -1
- package/dist/index164.js +5 -18
- package/dist/index165.cjs +1 -1
- package/dist/index165.js +42 -16
- package/dist/index166.cjs +1 -1
- package/dist/index166.js +41 -55
- package/dist/index167.cjs +1 -1
- package/dist/index167.js +9 -113
- package/dist/index168.cjs +1 -1
- package/dist/index168.js +19 -42
- package/dist/index169.cjs +1 -1
- package/dist/index169.js +51 -17
- package/dist/index170.cjs +1 -1
- package/dist/index170.js +279 -160
- package/dist/index171.cjs +1 -1
- package/dist/index171.js +11 -15
- package/dist/index172.cjs +1 -1
- package/dist/index172.js +13 -52
- package/dist/index173.cjs +1 -1
- package/dist/index173.js +55 -24
- package/dist/index174.cjs +1 -1
- package/dist/index174.js +104 -42
- package/dist/index175.cjs +1 -1
- package/dist/index175.js +34 -125
- package/dist/index176.cjs +1 -1
- package/dist/index176.js +18 -75
- package/dist/index177.cjs +1 -1
- package/dist/index177.js +158 -71
- package/dist/index178.cjs +1 -1
- package/dist/index178.js +17 -13
- package/dist/index179.cjs +1 -1
- package/dist/index179.js +50 -26
- package/dist/index180.cjs +1 -1
- package/dist/index180.js +28 -26
- package/dist/index181.cjs +1 -1
- package/dist/index181.js +46 -26
- package/dist/index182.cjs +1 -1
- package/dist/index182.js +113 -155
- package/dist/index183.cjs +1 -1
- package/dist/index183.js +79 -50
- package/dist/index184.cjs +1 -1
- package/dist/index184.js +77 -68
- package/dist/index185.cjs +1 -1
- package/dist/index185.js +18 -18
- package/dist/index186.cjs +1 -1
- package/dist/index186.js +30 -32
- package/dist/index187.cjs +1 -1
- package/dist/index187.js +29 -48
- package/dist/index188.cjs +1 -1
- package/dist/index188.js +29 -38
- package/dist/index189.cjs +1 -1
- package/dist/index189.js +172 -89
- package/dist/index190.cjs +1 -1
- package/dist/index190.js +51 -59
- package/dist/index191.cjs +1 -1
- package/dist/index191.js +15 -14
- package/dist/index195.cjs +1 -1
- package/dist/index195.js +14 -26
- package/dist/index196.cjs +1 -1
- package/dist/index196.js +2 -2
- package/dist/index197.cjs +1 -1
- package/dist/index197.js +7 -27
- package/dist/index198.cjs +2 -1
- package/dist/index198.js +324 -29
- package/dist/index199.cjs +1 -1
- package/dist/index199.js +47 -113
- package/dist/index200.cjs +1 -1
- package/dist/index200.js +23 -56
- package/dist/index201.cjs +1 -1
- package/dist/index201.js +2 -60
- package/dist/index202.cjs +1 -1
- package/dist/index202.js +25 -14
- package/dist/index203.cjs +1 -1
- package/dist/index203.js +31 -14
- package/dist/index204.cjs +1 -1
- package/dist/index204.js +116 -2
- package/dist/index205.cjs +1 -1
- package/dist/index205.js +59 -7
- package/dist/index206.cjs +1 -2
- package/dist/index206.js +56 -323
- package/dist/index207.cjs +1 -1
- package/dist/index207.js +15 -48
- package/dist/index208.cjs +1 -1
- package/dist/index208.js +17 -5
- package/dist/index209.cjs +1 -1
- package/dist/index209.js +12 -8
- package/dist/index210.cjs +1 -1
- package/dist/index210.js +8 -8
- package/dist/index211.cjs +1 -1
- package/dist/index211.js +6 -2
- package/dist/index212.cjs +1 -1
- package/dist/index212.js +8 -17
- package/dist/index213.cjs +1 -1
- package/dist/index213.js +8 -12
- package/dist/index214.cjs +1 -1
- package/dist/index214.js +2 -4
- package/dist/index215.cjs +1 -1
- package/dist/index215.js +40 -5
- package/dist/index216.cjs +1 -1
- package/dist/index216.js +4 -8
- package/dist/index217.cjs +1 -1
- package/dist/index217.js +4 -39
- package/dist/index218.cjs +1 -1
- package/dist/index218.js +19 -4
- package/dist/index219.cjs +1 -1
- package/dist/index219.js +82 -4
- package/dist/index220.cjs +1 -1
- package/dist/index220.js +3 -19
- package/dist/index221.cjs +1 -1
- package/dist/index221.js +5 -83
- package/dist/index238.cjs +1 -1
- package/dist/index238.js +2 -2
- package/dist/index244.cjs +1 -1
- package/dist/index244.js +2 -2
- package/dist/index248.cjs +1 -1
- package/dist/index248.js +1 -1
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +71 -70
- package/dist/index255.cjs +1 -1
- package/dist/index255.js +3 -39
- package/dist/index256.cjs +1 -1
- package/dist/index256.js +6 -2
- package/dist/index257.cjs +1 -1
- package/dist/index257.js +7 -3
- package/dist/index258.cjs +1 -1
- package/dist/index258.js +5 -6
- package/dist/index259.cjs +1 -1
- package/dist/index259.js +38 -6
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +22 -20
- package/dist/index260.cjs +1 -1
- package/dist/index260.js +2 -5
- 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/index272.cjs +1 -1
- package/dist/index272.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 +2 -2
- package/dist/index279.cjs +1 -1
- package/dist/index279.js +1 -1
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +43 -42
- 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 +2 -2
- package/dist/index284.cjs +1 -1
- package/dist/index284.js +3 -3
- package/dist/index285.cjs +1 -1
- package/dist/index285.js +1 -1
- package/dist/index286.cjs +1 -1
- package/dist/index286.js +2 -2
- package/dist/index288.cjs +1 -1
- package/dist/index288.js +1 -1
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +45 -44
- package/dist/index292.cjs +1 -1
- package/dist/index292.js +1 -1
- package/dist/index297.cjs +1 -1
- package/dist/index297.js +2 -2
- package/dist/index298.cjs +1 -1
- package/dist/index298.js +1 -1
- package/dist/index299.cjs +1 -1
- package/dist/index299.js +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +45 -44
- package/dist/index307.cjs +1 -1
- package/dist/index307.js +39 -2
- package/dist/index308.cjs +1 -1
- package/dist/index308.js +2 -39
- package/dist/index309.cjs +1 -1
- package/dist/index309.js +2 -2
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +36 -35
- package/dist/index310.cjs +1 -1
- package/dist/index310.js +5 -5
- package/dist/index311.cjs +1 -1
- package/dist/index311.js +15 -6
- package/dist/index312.cjs +1 -1
- package/dist/index312.js +3 -8
- package/dist/index313.cjs +1 -1
- package/dist/index313.js +5 -5
- package/dist/index314.cjs +1 -1
- package/dist/index314.js +7 -15
- package/dist/index315.cjs +1 -1
- package/dist/index315.js +4 -3
- package/dist/index316.cjs +1 -1
- package/dist/index316.js +9 -6
- package/dist/index317.cjs +1 -1
- package/dist/index317.js +5 -3
- package/dist/index318.cjs +1 -1
- package/dist/index318.js +9 -10
- package/dist/index319.cjs +1 -1
- package/dist/index319.js +11 -5
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +45 -44
- package/dist/index320.cjs +1 -1
- package/dist/index320.js +5 -5
- package/dist/index321.cjs +1 -1
- package/dist/index321.js +3 -11
- package/dist/index322.cjs +1 -1
- package/dist/index322.js +10 -9
- package/dist/index323.cjs +1 -1
- package/dist/index323.js +5 -13
- package/dist/index324.cjs +1 -1
- package/dist/index324.js +5 -12
- package/dist/index325.cjs +1 -1
- package/dist/index325.js +5 -13
- package/dist/index326.cjs +1 -1
- package/dist/index326.js +4 -7
- package/dist/index327.cjs +1 -1
- package/dist/index327.js +17 -3
- package/dist/index328.cjs +1 -1
- package/dist/index328.js +5 -9
- package/dist/index329.cjs +1 -1
- package/dist/index329.js +7 -5
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +40 -39
- package/dist/index330.cjs +1 -1
- package/dist/index330.js +13 -4
- package/dist/index331.cjs +1 -1
- package/dist/index331.js +12 -6
- package/dist/index332.cjs +1 -1
- package/dist/index332.js +14 -4
- package/dist/index333.cjs +1 -1
- package/dist/index333.js +6 -17
- package/dist/index334.cjs +1 -1
- package/dist/index334.js +5 -5
- package/dist/index335.cjs +1 -1
- package/dist/index335.js +1 -1
- package/dist/index337.cjs +1 -1
- package/dist/index337.js +2 -2
- package/dist/index338.cjs +1 -1
- package/dist/index338.js +1 -1
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +33 -31
- package/dist/index341.cjs +1 -1
- package/dist/index341.js +1 -1
- package/dist/index345.cjs +1 -1
- package/dist/index345.js +7 -5
- package/dist/index346.cjs +1 -1
- package/dist/index346.js +9 -6
- package/dist/index347.cjs +1 -1
- package/dist/index347.js +5 -11
- package/dist/index348.cjs +1 -1
- package/dist/index348.js +4 -37
- package/dist/index349.cjs +1 -1
- package/dist/index349.js +4 -42
- package/dist/index350.cjs +1 -1
- package/dist/index350.js +5 -33
- package/dist/index351.cjs +1 -1
- package/dist/index351.js +6 -26
- package/dist/index352.cjs +1 -1
- package/dist/index352.js +11 -10
- package/dist/index353.cjs +1 -1
- package/dist/index353.js +7 -5
- package/dist/index354.cjs +1 -1
- package/dist/index354.js +37 -4
- package/dist/index355.cjs +1 -1
- package/dist/index355.js +42 -4
- package/dist/index356.cjs +1 -1
- package/dist/index356.js +33 -5
- package/dist/index357.cjs +1 -1
- package/dist/index357.js +26 -8
- package/dist/index358.cjs +1 -1
- package/dist/index358.js +2 -2
- package/dist/index360.cjs +1 -1
- package/dist/index360.js +17 -2
- package/dist/index361.cjs +1 -1
- package/dist/index361.js +5 -10
- package/dist/index362.cjs +1 -1
- package/dist/index362.js +3 -7
- package/dist/index363.cjs +1 -1
- package/dist/index363.js +10 -3
- package/dist/index364.cjs +1 -1
- package/dist/index364.js +6 -6
- package/dist/index365.cjs +1 -1
- package/dist/index365.js +2 -5
- package/dist/index366.cjs +1 -1
- package/dist/index366.js +6 -6
- package/dist/index367.cjs +1 -1
- package/dist/index367.js +7 -4
- package/dist/index368.cjs +1 -1
- package/dist/index368.js +7 -4
- package/dist/index369.cjs +1 -1
- package/dist/index369.js +3 -3
- package/dist/index370.cjs +1 -1
- package/dist/index370.js +4 -4
- package/dist/index371.cjs +1 -1
- package/dist/index371.js +4 -15
- package/dist/index372.cjs +1 -1
- package/dist/index372.js +4 -8
- package/dist/index373.cjs +1 -1
- package/dist/index373.js +14 -4
- package/dist/index374.cjs +1 -1
- package/dist/index374.js +8 -18
- package/dist/index375.cjs +1 -1
- package/dist/index375.js +4 -5
- package/dist/index377.cjs +1 -1
- package/dist/index377.js +4 -6
- package/dist/index378.cjs +1 -1
- package/dist/index378.js +5 -8
- package/dist/index379.cjs +1 -1
- package/dist/index379.js +4 -4
- package/dist/index380.cjs +1 -1
- package/dist/index380.js +10 -4
- package/dist/index381.cjs +1 -1
- package/dist/index381.js +6 -4
- package/dist/index382.cjs +1 -1
- package/dist/index382.js +6 -10
- package/dist/index383.cjs +1 -1
- package/dist/index383.js +4 -6
- package/dist/index384.cjs +1 -1
- package/dist/index384.js +3 -6
- package/dist/index385.cjs +1 -1
- package/dist/index385.js +6 -8
- package/dist/index386.cjs +1 -1
- package/dist/index386.js +8 -16
- package/dist/index387.cjs +1 -1
- package/dist/index387.js +8 -4
- package/dist/index388.cjs +1 -1
- package/dist/index388.js +15 -3
- package/dist/index389.cjs +1 -1
- package/dist/index389.js +1 -1
- package/dist/index390.cjs +1 -1
- package/dist/index390.js +3 -6
- package/dist/index391.cjs +1 -1
- package/dist/index391.js +5 -7
- package/dist/index392.cjs +1 -1
- package/dist/index392.js +7 -3
- package/dist/index393.cjs +1 -1
- package/dist/index393.js +4 -3
- package/dist/index394.cjs +1 -1
- package/dist/index394.js +1 -1
- package/dist/index5.cjs +1 -1
- package/dist/index5.js +1 -1
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +3 -3
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +69 -88
- 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/index83.cjs +1 -1
- package/dist/index83.js +10 -10
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +12 -12
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +13 -13
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +14 -14
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +14 -14
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +12 -12
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +11 -11
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +10 -10
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +15 -15
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +13 -13
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +12 -12
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +13 -13
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +13 -13
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +13 -13
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +1 -1
- package/package.json +1 -1
package/dist/index215.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("react"),f=require("./index153.cjs");var i=function(t){var e=t.hsl,a=t.offset,s=t.onClick,r=s===void 0?function(){}:s,l=t.active,c=t.first,n=t.last,o=f.default({default:{swatch:{height:"12px",background:"hsl("+e.h+", 50%, "+a*100+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:l,first:c,last:n}),u=function(d){return r({h:e.h,s:.5,l:a,source:"hsl"},d)};return h.createElement("div",{style:o.swatch,onClick:u})};exports.SliderSwatch=i;exports.default=i;
|
package/dist/index215.js
CHANGED
|
@@ -1,7 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
var
|
|
4
|
-
|
|
1
|
+
import d from "react";
|
|
2
|
+
import u from "./index153.js";
|
|
3
|
+
var k = function(t) {
|
|
4
|
+
var a = t.hsl, s = t.offset, r = t.onClick, e = r === void 0 ? function() {
|
|
5
|
+
} : r, i = t.active, c = t.first, l = t.last, o = u({
|
|
6
|
+
default: {
|
|
7
|
+
swatch: {
|
|
8
|
+
height: "12px",
|
|
9
|
+
background: "hsl(" + a.h + ", 50%, " + s * 100 + "%)",
|
|
10
|
+
cursor: "pointer"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
first: {
|
|
14
|
+
swatch: {
|
|
15
|
+
borderRadius: "2px 0 0 2px"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
last: {
|
|
19
|
+
swatch: {
|
|
20
|
+
borderRadius: "0 2px 2px 0"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
active: {
|
|
24
|
+
swatch: {
|
|
25
|
+
transform: "scaleY(1.8)",
|
|
26
|
+
borderRadius: "3.6px/2px"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}, { active: i, first: c, last: l }), n = function(h) {
|
|
30
|
+
return e({
|
|
31
|
+
h: a.h,
|
|
32
|
+
s: 0.5,
|
|
33
|
+
l: s,
|
|
34
|
+
source: "hsl"
|
|
35
|
+
}, h);
|
|
36
|
+
};
|
|
37
|
+
return d.createElement("div", { style: o.swatch, onClick: n });
|
|
38
|
+
};
|
|
5
39
|
export {
|
|
6
|
-
|
|
40
|
+
k as SliderSwatch,
|
|
41
|
+
k as default
|
|
7
42
|
};
|
package/dist/index216.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function n(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}module.exports=n;
|
package/dist/index216.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import i from "./index211.js";
|
|
5
|
-
function s(r, a) {
|
|
6
|
-
var o = i(r) ? t : f;
|
|
7
|
-
return o(r, m(a));
|
|
1
|
+
function n(t) {
|
|
2
|
+
var e = typeof t;
|
|
3
|
+
return t != null && (e == "object" || e == "function");
|
|
8
4
|
}
|
|
9
5
|
export {
|
|
10
|
-
|
|
6
|
+
n as default
|
|
11
7
|
};
|
package/dist/index217.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const r=require("./index255.cjs");var t=function(){return r.Date.now()};module.exports=t;
|
package/dist/index217.js
CHANGED
|
@@ -1,42 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var a = t.hsl, s = t.offset, r = t.onClick, e = r === void 0 ? function() {
|
|
5
|
-
} : r, i = t.active, c = t.first, l = t.last, o = u({
|
|
6
|
-
default: {
|
|
7
|
-
swatch: {
|
|
8
|
-
height: "12px",
|
|
9
|
-
background: "hsl(" + a.h + ", 50%, " + s * 100 + "%)",
|
|
10
|
-
cursor: "pointer"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
first: {
|
|
14
|
-
swatch: {
|
|
15
|
-
borderRadius: "2px 0 0 2px"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
last: {
|
|
19
|
-
swatch: {
|
|
20
|
-
borderRadius: "0 2px 2px 0"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
active: {
|
|
24
|
-
swatch: {
|
|
25
|
-
transform: "scaleY(1.8)",
|
|
26
|
-
borderRadius: "3.6px/2px"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}, { active: i, first: c, last: l }), n = function(h) {
|
|
30
|
-
return e({
|
|
31
|
-
h: a.h,
|
|
32
|
-
s: 0.5,
|
|
33
|
-
l: s,
|
|
34
|
-
source: "hsl"
|
|
35
|
-
}, h);
|
|
36
|
-
};
|
|
37
|
-
return d.createElement("div", { style: o.swatch, onClick: n });
|
|
1
|
+
import o from "./index255.js";
|
|
2
|
+
var t = function() {
|
|
3
|
+
return o.Date.now();
|
|
38
4
|
};
|
|
39
5
|
export {
|
|
40
|
-
|
|
41
|
-
k as default
|
|
6
|
+
t as default
|
|
42
7
|
};
|
package/dist/index218.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const e=require("./index256.cjs"),s=require("./index216.cjs"),f=require("./index257.cjs");var n=NaN,o=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,b=/^0o[0-7]+$/i,y=parseInt;function p(r){if(typeof r=="number")return r;if(f(r))return n;if(s(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=s(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=e(r);var i=c.test(r);return i||b.test(r)?y(r.slice(2),i?2:8):o.test(r)?n:+r}module.exports=p;
|
package/dist/index218.js
CHANGED
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import n from "./index256.js";
|
|
2
|
+
import f from "./index216.js";
|
|
3
|
+
import o from "./index257.js";
|
|
4
|
+
var s = NaN, m = /^[-+]0x[0-9a-f]+$/i, p = /^0b[01]+$/i, e = /^0o[0-7]+$/i, b = parseInt;
|
|
5
|
+
function O(r) {
|
|
6
|
+
if (typeof r == "number")
|
|
7
|
+
return r;
|
|
8
|
+
if (o(r))
|
|
9
|
+
return s;
|
|
10
|
+
if (f(r)) {
|
|
11
|
+
var t = typeof r.valueOf == "function" ? r.valueOf() : r;
|
|
12
|
+
r = f(t) ? t + "" : t;
|
|
13
|
+
}
|
|
14
|
+
if (typeof r != "string")
|
|
15
|
+
return r === 0 ? r : +r;
|
|
16
|
+
r = n(r);
|
|
17
|
+
var i = p.test(r);
|
|
18
|
+
return i || e.test(r) ? b(r.slice(2), i ? 2 : 8) : m.test(r) ? s : +r;
|
|
4
19
|
}
|
|
5
20
|
export {
|
|
6
|
-
|
|
21
|
+
O as default
|
|
7
22
|
};
|
package/dist/index219.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react"),d=require("./index153.cjs"),h=require("./index165.cjs");require("./index154.cjs");require("./index155.cjs");require("./index156.cjs");require("./index157.cjs");require("./index158.cjs");require("./index159.cjs");const F=require("./index161.cjs"),p=require("./index258.cjs");var l=function(e){var o=e.color,t=e.onClick,i=t===void 0?function(){}:t,a=e.onSwatchHover,n=e.first,s=e.last,u=e.active,c=d.default({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:o,marginBottom:"1px"},check:{color:h.getContrastingColor(o),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:n,last:s,active:u,"color-#FFFFFF":o==="#FFFFFF",transparent:o==="transparent"});return r.createElement(F.default,{color:o,style:c.color,onClick:i,onHover:a,focusStyle:{boxShadow:"0 0 4px "+o}},r.createElement("div",{style:c.check},r.createElement(p,null)))};exports.SwatchesColor=l;exports.default=l;
|
package/dist/index219.js
CHANGED
|
@@ -1,7 +1,85 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import t from "react";
|
|
2
|
+
import s from "./index153.js";
|
|
3
|
+
import { getContrastingColor as d } from "./index165.js";
|
|
4
|
+
import "./index154.js";
|
|
5
|
+
import "./index155.js";
|
|
6
|
+
import "./index156.js";
|
|
7
|
+
import "./index157.js";
|
|
8
|
+
import "./index158.js";
|
|
9
|
+
import "./index159.js";
|
|
10
|
+
import m from "./index161.js";
|
|
11
|
+
import h from "./index258.js";
|
|
12
|
+
var E = function(o) {
|
|
13
|
+
var r = o.color, e = o.onClick, a = e === void 0 ? function() {
|
|
14
|
+
} : e, l = o.onSwatchHover, i = o.first, n = o.last, p = o.active, c = s({
|
|
15
|
+
default: {
|
|
16
|
+
color: {
|
|
17
|
+
width: "40px",
|
|
18
|
+
height: "24px",
|
|
19
|
+
cursor: "pointer",
|
|
20
|
+
background: r,
|
|
21
|
+
marginBottom: "1px"
|
|
22
|
+
},
|
|
23
|
+
check: {
|
|
24
|
+
color: d(r),
|
|
25
|
+
marginLeft: "8px",
|
|
26
|
+
display: "none"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
first: {
|
|
30
|
+
color: {
|
|
31
|
+
overflow: "hidden",
|
|
32
|
+
borderRadius: "2px 2px 0 0"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
last: {
|
|
36
|
+
color: {
|
|
37
|
+
overflow: "hidden",
|
|
38
|
+
borderRadius: "0 0 2px 2px"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
active: {
|
|
42
|
+
check: {
|
|
43
|
+
display: "block"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"color-#FFFFFF": {
|
|
47
|
+
color: {
|
|
48
|
+
boxShadow: "inset 0 0 0 1px #ddd"
|
|
49
|
+
},
|
|
50
|
+
check: {
|
|
51
|
+
color: "#333"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
transparent: {
|
|
55
|
+
check: {
|
|
56
|
+
color: "#333"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}, {
|
|
60
|
+
first: i,
|
|
61
|
+
last: n,
|
|
62
|
+
active: p,
|
|
63
|
+
"color-#FFFFFF": r === "#FFFFFF",
|
|
64
|
+
transparent: r === "transparent"
|
|
65
|
+
});
|
|
66
|
+
return t.createElement(
|
|
67
|
+
m,
|
|
68
|
+
{
|
|
69
|
+
color: r,
|
|
70
|
+
style: c.color,
|
|
71
|
+
onClick: a,
|
|
72
|
+
onHover: l,
|
|
73
|
+
focusStyle: { boxShadow: "0 0 4px " + r }
|
|
74
|
+
},
|
|
75
|
+
t.createElement(
|
|
76
|
+
"div",
|
|
77
|
+
{ style: c.check },
|
|
78
|
+
t.createElement(h, null)
|
|
79
|
+
)
|
|
80
|
+
);
|
|
4
81
|
};
|
|
5
82
|
export {
|
|
6
|
-
|
|
83
|
+
E as SwatchesColor,
|
|
84
|
+
E as default
|
|
7
85
|
};
|
package/dist/index220.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function n(e){return e===void 0}module.exports=n;
|
package/dist/index220.js
CHANGED
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import o from "./index259.js";
|
|
4
|
-
var s = NaN, m = /^[-+]0x[0-9a-f]+$/i, p = /^0b[01]+$/i, e = /^0o[0-7]+$/i, b = parseInt;
|
|
5
|
-
function O(r) {
|
|
6
|
-
if (typeof r == "number")
|
|
7
|
-
return r;
|
|
8
|
-
if (o(r))
|
|
9
|
-
return s;
|
|
10
|
-
if (f(r)) {
|
|
11
|
-
var t = typeof r.valueOf == "function" ? r.valueOf() : r;
|
|
12
|
-
r = f(t) ? t + "" : t;
|
|
13
|
-
}
|
|
14
|
-
if (typeof r != "string")
|
|
15
|
-
return r === 0 ? r : +r;
|
|
16
|
-
r = n(r);
|
|
17
|
-
var i = p.test(r);
|
|
18
|
-
return i || e.test(r) ? b(r.slice(2), i ? 2 : 8) : m.test(r) ? s : +r;
|
|
1
|
+
function n(e) {
|
|
2
|
+
return e === void 0;
|
|
19
3
|
}
|
|
20
4
|
export {
|
|
21
|
-
|
|
5
|
+
n as default
|
|
22
6
|
};
|
package/dist/index221.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const o=require("./index131.cjs"),r=require("./index259.cjs");var e=r.__require();const n=o.getDefaultExportFromCjs(e);module.exports=n;
|
package/dist/index221.js
CHANGED
|
@@ -1,85 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import "./index148.js";
|
|
6
|
-
import "./index149.js";
|
|
7
|
-
import "./index150.js";
|
|
8
|
-
import "./index151.js";
|
|
9
|
-
import "./index152.js";
|
|
10
|
-
import m from "./index154.js";
|
|
11
|
-
import h from "./index260.js";
|
|
12
|
-
var E = function(o) {
|
|
13
|
-
var r = o.color, e = o.onClick, a = e === void 0 ? function() {
|
|
14
|
-
} : e, l = o.onSwatchHover, i = o.first, n = o.last, p = o.active, c = s({
|
|
15
|
-
default: {
|
|
16
|
-
color: {
|
|
17
|
-
width: "40px",
|
|
18
|
-
height: "24px",
|
|
19
|
-
cursor: "pointer",
|
|
20
|
-
background: r,
|
|
21
|
-
marginBottom: "1px"
|
|
22
|
-
},
|
|
23
|
-
check: {
|
|
24
|
-
color: d(r),
|
|
25
|
-
marginLeft: "8px",
|
|
26
|
-
display: "none"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
first: {
|
|
30
|
-
color: {
|
|
31
|
-
overflow: "hidden",
|
|
32
|
-
borderRadius: "2px 2px 0 0"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
last: {
|
|
36
|
-
color: {
|
|
37
|
-
overflow: "hidden",
|
|
38
|
-
borderRadius: "0 0 2px 2px"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
active: {
|
|
42
|
-
check: {
|
|
43
|
-
display: "block"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"color-#FFFFFF": {
|
|
47
|
-
color: {
|
|
48
|
-
boxShadow: "inset 0 0 0 1px #ddd"
|
|
49
|
-
},
|
|
50
|
-
check: {
|
|
51
|
-
color: "#333"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
transparent: {
|
|
55
|
-
check: {
|
|
56
|
-
color: "#333"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}, {
|
|
60
|
-
first: i,
|
|
61
|
-
last: n,
|
|
62
|
-
active: p,
|
|
63
|
-
"color-#FFFFFF": r === "#FFFFFF",
|
|
64
|
-
transparent: r === "transparent"
|
|
65
|
-
});
|
|
66
|
-
return t.createElement(
|
|
67
|
-
m,
|
|
68
|
-
{
|
|
69
|
-
color: r,
|
|
70
|
-
style: c.color,
|
|
71
|
-
onClick: a,
|
|
72
|
-
onHover: l,
|
|
73
|
-
focusStyle: { boxShadow: "0 0 4px " + r }
|
|
74
|
-
},
|
|
75
|
-
t.createElement(
|
|
76
|
-
"div",
|
|
77
|
-
{ style: c.check },
|
|
78
|
-
t.createElement(h, null)
|
|
79
|
-
)
|
|
80
|
-
);
|
|
81
|
-
};
|
|
1
|
+
import { getDefaultExportFromCjs as o } from "./index131.js";
|
|
2
|
+
import { __require as r } from "./index259.js";
|
|
3
|
+
var t = r();
|
|
4
|
+
const a = /* @__PURE__ */ o(t);
|
|
82
5
|
export {
|
|
83
|
-
|
|
84
|
-
E as default
|
|
6
|
+
a as default
|
|
85
7
|
};
|
package/dist/index238.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a=require("./
|
|
1
|
+
"use strict";const a=require("./index190.cjs"),l=require("./index216.cjs");var u="Expected a function";function c(t,n,e){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(u);return l(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),a(t,n,{leading:r,maxWait:n,trailing:i})}module.exports=c;
|
package/dist/index238.js
CHANGED
package/dist/index244.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const d=require("./index242.cjs"),v=require("./index272.cjs"),A=require("./index273.cjs"),V=require("./index274.cjs"),j=require("./index275.cjs"),_=require("./index276.cjs"),g=require("./
|
|
1
|
+
"use strict";const d=require("./index242.cjs"),v=require("./index272.cjs"),A=require("./index273.cjs"),V=require("./index274.cjs"),j=require("./index275.cjs"),_=require("./index276.cjs"),g=require("./index214.cjs"),y=require("./index277.cjs"),C=require("./index278.cjs"),M=require("./index279.cjs"),P=require("./index216.cjs"),m=require("./index280.cjs"),w=require("./index281.cjs"),O=require("./index246.cjs"),x=require("./index282.cjs");function D(u,c,n,b,p,l,s){var i=O(u,n),e=O(c,n),f=s.get(e);if(f){d(u,n,f);return}var r=l?l(i,e,n+"",u,c,s):void 0,t=r===void 0;if(t){var o=g(e),a=!o&&C(e),q=!o&&!a&&w(e);r=e,o||a||q?g(i)?r=i:y(i)?r=V(i):a?(t=!1,r=v(e)):q?(t=!1,r=A(e)):r=[]:m(e)||_(e)?(r=i,_(i)?r=x(i):(!P(i)||M(i))&&(r=j(e))):t=!1}t&&(s.set(e,r),p(r,e,b,l,s),s.delete(e)),d(u,n,r)}module.exports=D;
|
package/dist/index244.js
CHANGED
|
@@ -4,11 +4,11 @@ import j from "./index273.js";
|
|
|
4
4
|
import y from "./index274.js";
|
|
5
5
|
import c from "./index275.js";
|
|
6
6
|
import g from "./index276.js";
|
|
7
|
-
import O from "./
|
|
7
|
+
import O from "./index214.js";
|
|
8
8
|
import C from "./index277.js";
|
|
9
9
|
import M from "./index278.js";
|
|
10
10
|
import P from "./index279.js";
|
|
11
|
-
import w from "./
|
|
11
|
+
import w from "./index216.js";
|
|
12
12
|
import x from "./index280.js";
|
|
13
13
|
import D from "./index281.js";
|
|
14
14
|
import b from "./index246.js";
|
package/dist/index248.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./index270.cjs"),n=require("./index254.cjs"),u=require("./index287.cjs"),a=require("./
|
|
1
|
+
"use strict";const i=require("./index270.cjs"),n=require("./index254.cjs"),u=require("./index287.cjs"),a=require("./index216.cjs");function f(t,e,r){if(!a(r))return!1;var s=typeof e;return(s=="number"?n(r)&&u(e,r.length):s=="string"&&e in r)?i(r[e],t):!1}module.exports=f;
|
package/dist/index248.js
CHANGED
package/dist/index25.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),r=require("react"),D=require("@ikas/ui"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),r=require("react"),D=require("@ikas/ui"),B=require("./index5.cjs"),T="__ikas_custom_select_create_new__";function be(H,U){const{labelKey:L="name",valueKey:i="id",searchKey:W,extraLabelKey:a,data:u,initialData:f,selectedData:m,disabledDataIndexes:p,showDropdownButton:k,dropdownCreateNewText:G,onDropdownButtonClick:c,onChange:x,onSelect:_,onClear:g,mode:s,showSearch:v,searchValue:j,onSearch:S,loading:J,placeholder:Q,notFoundContent:X,isDynamicNotFound:K,disabled:Y,className:Z,style:ee,maxTagCount:te=9,status:re,size:se,theme:ne,allowClear:ae=!0,autoFocus:V,onBlur:oe,onKeyDown:I,showAction:w,optionRender:M,autoClearSearchValue:le}=H,P=W??L,ce=j!==void 0,[ie,ue]=r.useState(""),o=j??ie,b=r.useMemo(()=>{const e=new Map;return u.forEach(t=>{const n=String(t[i]??""),d=String(t[P]??""),A=a&&t[a]&&typeof t[a]=="string"?` ${t[a]}`:"";e.set(n,`${d}${A}`)}),e},[u,i,P,a]),h=r.useMemo(()=>Array.from(b.values()),[b]),N=r.useMemo(()=>o?h.includes(o):!1,[o,h]),O=r.useMemo(()=>{if(!o)return!1;try{const e=new RegExp(o,"mi");return h.some(t=>e.test(t))}catch{return h.some(e=>e.toLowerCase().includes(o.toLowerCase()))}},[o,h]);r.useImperativeHandle(U,()=>({isSearchValueExistInOption:N,isSearchValueMatchAnyOption:O}),[N,O]);const E=!!k&&!!o&&!N&&O,R=G||`${B.coreTranslations.common.actions.createNew} "${o}"`,de=r.useMemo(()=>{const e=u.map((t,n)=>{const d=String(t[L]??""),A=String(t[i]??""),z=a&&t[a]&&typeof t[a]=="string"?t[a]:void 0,C={label:d,value:A,disabled:(p==null?void 0:p.includes(n))??!1};return M?{...C,label:M(C),triggerLabel:d}:z?{...C,label:l.jsxs("span",{className:"flex flex-col",children:[l.jsx("span",{children:d}),l.jsx("span",{className:"text-xs font-normal text-gray-blue-6 [.truncate_&]:hidden",children:z})]}),triggerLabel:d}:C});return!s&&E&&e.push({value:T,label:l.jsx("span",{className:"text-sm font-medium text-purple",children:R}),triggerLabel:""}),e},[u,L,i,a,p,M,s,E,R]),he=r.useCallback((e,t)=>{if(t.value===T)return!0;const n=b.get(String(t.value??""))??String(t.label??"");try{return new RegExp(e,"mi").test(n)}catch{return n.toLowerCase().includes(e.toLowerCase())}},[b]),fe=r.useCallback(e=>{ue(e),S==null||S(e)},[S]),$=r.useMemo(()=>{if(m!==void 0)return s?m:m[0]??""},[m,s]),q=r.useMemo(()=>{if(f!==void 0)return s?f:f[0]},[f,s]),y=r.useCallback(e=>e.map(t=>u.find(n=>String(n[i])===t)).filter(t=>t!==void 0),[u,i]),me=r.useCallback(e=>{if(!Array.isArray(e)&&e===T){c==null||c();return}const t=Array.isArray(e)?e:e?[e]:[],n=y(t);!s&&n.length===0||x==null||x(n)},[x,c,y,s]),pe=r.useCallback(e=>{if(e===T||!_)return;const t=y([e]);t.length&&_(t)},[_,y]),xe=r.useCallback(()=>{g==null||g()},[g]),ge=k&&s?e=>l.jsxs("div",{children:[e,E&&l.jsx("div",{style:{padding:"0 12px"},children:l.jsx(D.Button,{variant:"link",size:"xs",style:{height:32,paddingLeft:0},onClick:t=>{t.stopPropagation(),c==null||c()},children:R})})]}):void 0,ve=v&&ce?j:void 0,Se=!!V&&!!(w!=null&&w.includes("focus")),F=l.jsx(D.Select,{searchPlaceholder:B.coreTranslations.common.placeholder.search,mode:s,options:de,...$!==void 0?{value:$}:{},...q!==void 0?{defaultValue:q}:{},...Se?{defaultOpen:!0}:{},onChange:me,onSelect:pe,onClear:xe,allowClear:ae,showSearch:v,searchValue:ve,onSearch:v?fe:void 0,filterOption:v?K?!1:he:void 0,loading:J,placeholder:Q,notFoundContent:X,isDynamicNotFound:K,disabled:Y,autoFocus:V,onBlur:oe,autoClearSearchValue:le,className:Z,style:ee,maxTagCount:s?te:void 0,status:re,size:se,theme:ne,dropdownRender:ge});return I?l.jsx("div",{onKeyDown:I,children:F}):F}const ye=r.forwardRef(be);exports.CustomSelect=ye;
|