@boxcustodia/library 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +13 -7
- package/dist/index.es.js +191 -191
- package/dist/index.es10.js +1 -1
- package/dist/index.es100.js +21 -1059
- package/dist/index.es101.js +30 -3674
- package/dist/index.es102.js +11 -4
- package/dist/index.es103.js +21 -4
- package/dist/index.es104.js +12 -259
- package/dist/index.es105.js +4 -5
- package/dist/index.es106.js +11 -240
- package/dist/index.es107.js +12 -224
- package/dist/index.es108.js +3672 -9
- package/dist/index.es109.js +4 -11
- package/dist/index.es11.js +12 -33
- package/dist/index.es110.js +14 -41
- package/dist/index.es111.js +5 -11
- package/dist/index.es112.js +57 -21
- package/dist/index.es113.js +1062 -12
- package/dist/index.es114.js +4 -11
- package/dist/index.es115.js +4 -12
- package/dist/index.es116.js +224 -4
- package/dist/index.es117.js +4 -7
- package/dist/index.es118.js +41 -5
- package/dist/index.es119.js +238 -55
- package/dist/index.es12.js +33 -17
- package/dist/index.es120.js +813 -55
- package/dist/index.es121.js +9 -822
- package/dist/index.es122.js +5 -3
- package/dist/index.es123.js +64 -11
- package/dist/index.es124.js +4 -33
- package/dist/index.es125.js +13 -13
- package/dist/index.es126.js +33 -4
- package/dist/index.es127.js +5 -5
- package/dist/index.es128.js +17 -13
- package/dist/index.es129.js +39 -212
- package/dist/index.es13.js +34 -44
- package/dist/index.es130.js +13 -8
- package/dist/index.es131.js +216 -2
- package/dist/index.es132.js +8 -26
- package/dist/index.es133.js +2 -606
- package/dist/index.es134.js +25 -14
- package/dist/index.es135.js +605 -196
- package/dist/index.es136.js +14 -41
- package/dist/index.es137.js +196 -12
- package/dist/index.es138.js +41 -10
- package/dist/index.es139.js +12 -20
- package/dist/index.es14.js +17 -24
- package/dist/index.es140.js +11 -36
- package/dist/index.es141.js +205 -11
- package/dist/index.es142.js +10 -11
- package/dist/index.es143.js +7 -205
- package/dist/index.es144.js +64 -5
- package/dist/index.es145.js +11 -2
- package/dist/index.es146.js +123 -5
- package/dist/index.es147.js +128 -58
- package/dist/index.es148.js +14 -11
- package/dist/index.es149.js +30 -122
- package/dist/index.es15.js +44 -15
- package/dist/index.es150.js +14 -134
- package/dist/index.es151.js +7 -12
- package/dist/index.es152.js +49 -32
- package/dist/index.es153.js +20 -14
- package/dist/index.es154.js +37 -9
- package/dist/index.es155.js +11 -50
- package/dist/index.es156.js +6 -44
- package/dist/index.es157.js +2 -218
- package/dist/index.es158.js +193 -625
- package/dist/index.es159.js +649 -3
- package/dist/index.es16.js +24 -21
- package/dist/index.es160.js +4 -4
- package/dist/index.es161.js +3 -45
- package/dist/index.es162.js +45 -7
- package/dist/index.es163.js +7 -5
- package/dist/index.es164.js +6 -28
- package/dist/index.es165.js +27 -117
- package/dist/index.es166.js +44 -33
- package/dist/index.es167.js +3 -3
- package/dist/index.es169.js +5 -5
- package/dist/index.es17.js +14 -27
- package/dist/index.es170.js +33 -2
- package/dist/index.es171.js +118 -2
- package/dist/index.es172.js +2 -10
- package/dist/index.es173.js +2 -6
- package/dist/index.es174.js +9 -13
- package/dist/index.es175.js +4 -81
- package/dist/index.es176.js +13 -15
- package/dist/index.es177.js +80 -31
- package/dist/index.es178.js +13 -131
- package/dist/index.es179.js +28 -170
- package/dist/index.es18.js +11 -11
- package/dist/index.es180.js +133 -11
- package/dist/index.es181.js +166 -69
- package/dist/index.es182.js +12 -18
- package/dist/index.es183.js +79 -9
- package/dist/index.es184.js +16 -49
- package/dist/index.es185.js +8 -11
- package/dist/index.es186.js +51 -21
- package/dist/index.es187.js +15 -3
- package/dist/index.es188.js +3 -32
- package/dist/index.es189.js +32 -12
- package/dist/index.es19.js +21 -26
- package/dist/index.es190.js +18 -201
- package/dist/index.es191.js +12 -22
- package/dist/index.es192.js +7 -24
- package/dist/index.es193.js +5 -370
- package/dist/index.es194.js +4 -84
- package/dist/index.es195.js +17 -5
- package/dist/index.es196.js +5 -17
- package/dist/index.es197.js +5 -5
- package/dist/index.es198.js +8 -6
- package/dist/index.es199.js +6 -14
- package/dist/index.es20.js +29 -48
- package/dist/index.es200.js +1 -1
- package/dist/index.es201.js +15 -9
- package/dist/index.es202.js +13 -6
- package/dist/index.es203.js +14 -25
- package/dist/index.es204.js +6 -13
- package/dist/index.es205.js +6 -6
- package/dist/index.es206.js +6 -6
- package/dist/index.es207.js +5 -19
- package/dist/index.es208.js +515 -51
- package/dist/index.es209.js +50 -7
- package/dist/index.es21.js +11 -55
- package/dist/index.es210.js +17 -6
- package/dist/index.es211.js +8 -5
- package/dist/index.es212.js +19 -8
- package/dist/index.es213.js +9 -16
- package/dist/index.es214.js +7 -8
- package/dist/index.es215.js +7 -6
- package/dist/index.es216.js +4 -5
- package/dist/index.es217.js +5 -9
- package/dist/index.es218.js +9 -177
- package/dist/index.es219.js +5 -7
- package/dist/index.es22.js +26 -114
- package/dist/index.es220.js +8 -5
- package/dist/index.es221.js +12 -4
- package/dist/index.es222.js +9 -5
- package/dist/index.es223.js +8 -8
- package/dist/index.es224.js +11 -6
- package/dist/index.es225.js +14 -15
- package/dist/index.es226.js +6 -4
- package/dist/index.es227.js +6 -515
- package/dist/index.es228.js +7 -50
- package/dist/index.es229.js +6 -17
- package/dist/index.es23.js +26 -42
- package/dist/index.es230.js +6 -9
- package/dist/index.es231.js +10 -19
- package/dist/index.es232.js +84 -8
- package/dist/index.es233.js +65 -8
- package/dist/index.es234.js +37 -7
- package/dist/index.es235.js +9 -5
- package/dist/index.es236.js +8 -6
- package/dist/index.es237.js +7 -9
- package/dist/index.es238.js +10 -5
- package/dist/index.es239.js +7 -8
- package/dist/index.es24.js +45 -29
- package/dist/index.es240.js +7 -12
- package/dist/index.es241.js +6 -9
- package/dist/index.es242.js +5 -10
- package/dist/index.es243.js +15 -14
- package/dist/index.es244.js +18 -64
- package/dist/index.es245.js +52 -38
- package/dist/index.es246.js +16 -10
- package/dist/index.es247.js +200 -8
- package/dist/index.es248.js +22 -8
- package/dist/index.es249.js +24 -7
- package/dist/index.es25.js +54 -21
- package/dist/index.es250.js +370 -15
- package/dist/index.es251.js +177 -25
- package/dist/index.es252.js +25 -4
- package/dist/index.es253.js +4 -7
- package/dist/index.es254.js +6 -12
- package/dist/index.es255.js +13 -13
- package/dist/index.es256.js +13 -134
- package/dist/index.es257.js +134 -31
- package/dist/index.es258.js +31 -462
- package/dist/index.es259.js +456 -125
- package/dist/index.es26.js +111 -12
- package/dist/index.es260.js +131 -26
- package/dist/index.es261.js +26 -4
- package/dist/index.es262.js +4 -26
- package/dist/index.es263.js +25 -6
- package/dist/index.es264.js +6 -10
- package/dist/index.es265.js +10 -27
- package/dist/index.es266.js +27 -47
- package/dist/index.es267.js +45 -27
- package/dist/index.es268.js +29 -42
- package/dist/index.es269.js +43 -158
- package/dist/index.es27.js +42 -17
- package/dist/index.es270.js +158 -33
- package/dist/index.es271.js +34 -2
- package/dist/index.es272.js +2 -80
- package/dist/index.es273.js +79 -18
- package/dist/index.es274.js +19 -2
- package/dist/index.es275.js +2 -398
- package/dist/index.es276.js +366 -691
- package/dist/index.es277.js +720 -280
- package/dist/index.es278.js +277 -55
- package/dist/index.es279.js +59 -8
- package/dist/index.es28.js +30 -15
- package/dist/index.es280.js +9 -28
- package/dist/index.es281.js +29 -199
- package/dist/index.es282.js +199 -4
- package/dist/index.es283.js +25 -14
- package/dist/index.es284.js +16 -15
- package/dist/index.es285.js +8 -16
- package/dist/index.es286.js +15 -8
- package/dist/index.es287.js +3 -15
- package/dist/index.es288.js +4 -3
- package/dist/index.es289.js +13 -24
- package/dist/index.es29.js +21 -21
- package/dist/index.es290.js +15 -29
- package/dist/index.es291.js +25 -5
- package/dist/index.es292.js +29 -10
- package/dist/index.es293.js +5 -5
- package/dist/index.es294.js +5 -13
- package/dist/index.es295.js +57 -5
- package/dist/index.es296.js +27 -6
- package/dist/index.es297.js +42 -329
- package/dist/index.es298.js +67 -19
- package/dist/index.es299.js +38 -4
- package/dist/index.es30.js +13 -67
- package/dist/index.es300.js +18 -4
- package/dist/index.es301.js +68 -3
- package/dist/index.es302.js +65 -69
- package/dist/index.es303.js +69 -4
- package/dist/index.es304.js +68 -4
- package/dist/index.es305.js +43 -54
- package/dist/index.es306.js +39 -20
- package/dist/index.es307.js +50 -38
- package/dist/index.es308.js +30 -48
- package/dist/index.es309.js +37 -32
- package/dist/index.es31.js +18 -24
- package/dist/index.es310.js +66 -13
- package/dist/index.es311.js +47 -43
- package/dist/index.es312.js +76 -47
- package/dist/index.es313.js +32 -54
- package/dist/index.es314.js +35 -57
- package/dist/index.es315.js +39 -38
- package/dist/index.es316.js +21 -37
- package/dist/index.es317.js +21 -50
- package/dist/index.es318.js +21 -40
- package/dist/index.es319.js +22 -34
- package/dist/index.es32.js +14 -69
- package/dist/index.es320.js +21 -63
- package/dist/index.es321.js +20 -62
- package/dist/index.es322.js +14 -91
- package/dist/index.es323.js +37 -38
- package/dist/index.es324.js +38 -39
- package/dist/index.es325.js +14 -41
- package/dist/index.es326.js +14 -25
- package/dist/index.es327.js +9 -29
- package/dist/index.es328.js +4 -29
- package/dist/index.es329.js +13 -31
- package/dist/index.es33.js +21 -102
- package/dist/index.es330.js +4 -29
- package/dist/index.es331.js +6 -29
- package/dist/index.es332.js +332 -18
- package/dist/index.es333.js +19 -46
- package/dist/index.es334.js +4 -46
- package/dist/index.es335.js +4 -19
- package/dist/index.es336.js +3 -20
- package/dist/index.es337.js +72 -2
- package/dist/index.es338.js +4 -2
- package/dist/index.es339.js +2 -6
- package/dist/index.es34.js +67 -72
- package/dist/index.es340.js +2 -34
- package/dist/index.es341.js +6 -26
- package/dist/index.es342.js +34 -18
- package/dist/index.es343.js +25 -4
- package/dist/index.es344.js +18 -231
- package/dist/index.es345.js +5 -100
- package/dist/index.es346.js +229 -26
- package/dist/index.es347.js +80 -35
- package/dist/index.es348.js +26 -332
- package/dist/index.es349.js +55 -31
- package/dist/index.es35.js +24 -100
- package/dist/index.es350.js +332 -15
- package/dist/index.es351.js +31 -29
- package/dist/index.es352.js +16 -28
- package/dist/index.es353.js +29 -5
- package/dist/index.es355.js +1 -1
- package/dist/index.es358.js +1 -1
- package/dist/index.es36.js +71 -46
- package/dist/index.es360.js +2 -2
- package/dist/index.es362.js +3 -3
- package/dist/index.es363.js +2 -2
- package/dist/index.es37.js +101 -16
- package/dist/index.es38.js +74 -109
- package/dist/index.es384.js +2 -5
- package/dist/index.es385.js +54 -3
- package/dist/index.es386.js +57 -22
- package/dist/index.es387.js +27 -108
- package/dist/index.es388.js +5 -16
- package/dist/index.es389.js +5 -2
- package/dist/index.es39.js +100 -9
- package/dist/index.es390.js +3 -54
- package/dist/index.es391.js +22 -57
- package/dist/index.es392.js +104 -513
- package/dist/index.es393.js +14 -125
- package/dist/index.es394.js +67 -125
- package/dist/index.es395.js +30 -67
- package/dist/index.es396.js +9 -31
- package/dist/index.es397.js +153 -9
- package/dist/index.es398.js +97 -142
- package/dist/index.es399.js +19 -107
- package/dist/index.es40.js +47 -18
- package/dist/index.es400.js +100 -67
- package/dist/index.es401.js +46 -30
- package/dist/index.es402.js +6 -16
- package/dist/index.es403.js +2 -141
- package/dist/index.es404.js +8 -114
- package/dist/index.es405.js +326 -5
- package/dist/index.es406.js +50 -2
- package/dist/index.es407.js +3 -7
- package/dist/index.es408.js +497 -305
- package/dist/index.es409.js +125 -48
- package/dist/index.es41.js +18 -37
- package/dist/index.es410.js +125 -3
- package/dist/index.es411.js +67 -19
- package/dist/index.es412.js +31 -101
- package/dist/index.es413.js +16 -47
- package/dist/index.es414.js +141 -2
- package/dist/index.es415.js +112 -45
- package/dist/index.es416.js +2 -83
- package/dist/index.es417.js +45 -12
- package/dist/index.es418.js +73 -331
- package/dist/index.es419.js +12 -73
- package/dist/index.es42.js +108 -16
- package/dist/index.es420.js +340 -10
- package/dist/index.es421.js +75 -2
- package/dist/index.es422.js +11 -8
- package/dist/index.es423.js +24 -45
- package/dist/index.es424.js +11 -2
- package/dist/index.es425.js +33 -6
- package/dist/index.es426.js +30 -3
- package/dist/index.es427.js +11 -106
- package/dist/index.es428.js +2 -25
- package/dist/index.es429.js +8 -11
- package/dist/index.es43.js +9 -24
- package/dist/index.es430.js +45 -32
- package/dist/index.es431.js +2 -30
- package/dist/index.es432.js +6 -12
- package/dist/index.es44.js +17 -149
- package/dist/index.es45.js +37 -29
- package/dist/index.es450.js +3 -65
- package/dist/index.es451.js +104 -66
- package/dist/index.es452.js +64 -8
- package/dist/index.es453.js +68 -13
- package/dist/index.es454.js +8 -59
- package/dist/index.es455.js +14 -16
- package/dist/index.es456.js +60 -29
- package/dist/index.es457.js +5 -11
- package/dist/index.es458.js +14 -5
- package/dist/index.es459.js +29 -2
- package/dist/index.es46.js +15 -93
- package/dist/index.es460.js +12 -75
- package/dist/index.es461.js +2 -93
- package/dist/index.es462.js +73 -49
- package/dist/index.es463.js +92 -7
- package/dist/index.es464.js +51 -4
- package/dist/index.es465.js +7 -51
- package/dist/index.es466.js +5 -2
- package/dist/index.es467.js +52 -2
- package/dist/index.es468.js +2 -43
- package/dist/index.es469.js +2 -63
- package/dist/index.es47.js +23 -35
- package/dist/index.es470.js +41 -17
- package/dist/index.es471.js +63 -5
- package/dist/index.es472.js +17 -41
- package/dist/index.es473.js +5 -5
- package/dist/index.es474.js +44 -7
- package/dist/index.es475.js +5 -2
- package/dist/index.es476.js +8 -4
- package/dist/index.es477.js +2 -79
- package/dist/index.es478.js +2 -96
- package/dist/index.es479.js +77 -12
- package/dist/index.es48.js +150 -38
- package/dist/index.es480.js +96 -60
- package/dist/index.es49.js +29 -6
- package/dist/index.es50.js +94 -45
- package/dist/index.es51.js +35 -124
- package/dist/index.es52.js +36 -28
- package/dist/index.es53.js +6 -24
- package/dist/index.es54.js +45 -66
- package/dist/index.es55.js +124 -79
- package/dist/index.es56.js +26 -96
- package/dist/index.es57.js +24 -83
- package/dist/index.es58.js +68 -2
- package/dist/index.es59.js +76 -77
- package/dist/index.es60.js +95 -15
- package/dist/index.es61.js +81 -47
- package/dist/index.es62.js +2 -26
- package/dist/index.es63.js +79 -25
- package/dist/index.es64.js +20 -35
- package/dist/index.es65.js +49 -9
- package/dist/index.es66.js +24 -46
- package/dist/index.es67.js +27 -76
- package/dist/index.es68.js +34 -61
- package/dist/index.es69.js +8 -265
- package/dist/index.es7.js +1 -1
- package/dist/index.es70.js +48 -13
- package/dist/index.es71.js +74 -33
- package/dist/index.es72.js +62 -11
- package/dist/index.es73.js +206 -27
- package/dist/index.es757.js +7 -7
- package/dist/index.es760.js +14 -4
- package/dist/index.es761.js +60 -23
- package/dist/index.es762.js +4 -2
- package/dist/index.es763.js +23 -2
- package/dist/index.es764.js +2 -24
- package/dist/index.es765.js +2 -8
- package/dist/index.es766.js +21 -64
- package/dist/index.es767.js +8 -52
- package/dist/index.es768.js +56 -60
- package/dist/index.es769.js +52 -5
- package/dist/index.es770.js +69 -15
- package/dist/index.es773.js +5 -8
- package/dist/index.es774.js +15 -54
- package/dist/index.es775.js +7 -18
- package/dist/index.es776.js +56 -13
- package/dist/index.es777.js +18 -27
- package/dist/index.es778.js +22 -4
- package/dist/index.es779.js +11 -21
- package/dist/index.es780.js +27 -6
- package/dist/index.es781.js +5 -22
- package/dist/index.es782.js +6 -57
- package/dist/index.es783.js +49 -26
- package/dist/index.es784.js +34 -9
- package/dist/index.es785.js +9 -18
- package/dist/index.es786.js +14 -8
- package/dist/index.es787.js +8 -12
- package/dist/index.es788.js +6 -57
- package/dist/index.es789.js +21 -9
- package/dist/index.es790.js +57 -14
- package/dist/index.es791.js +6 -3
- package/dist/index.es792.js +19 -28
- package/dist/index.es793.js +13 -3
- package/dist/index.es794.js +28 -5
- package/dist/index.es795.js +3 -71
- package/dist/index.es796.js +5 -159
- package/dist/index.es797.js +66 -41
- package/dist/index.es798.js +152 -164
- package/dist/index.es799.js +43 -184
- package/dist/index.es80.js +1 -1
- package/dist/index.es800.js +107 -82
- package/dist/index.es801.js +150 -64
- package/dist/index.es802.js +92 -90
- package/dist/index.es803.js +97 -47
- package/dist/index.es804.js +142 -13
- package/dist/index.es805.js +47 -89
- package/dist/index.es806.js +13 -12
- package/dist/index.es807.js +92 -8
- package/dist/index.es808.js +13 -10
- package/dist/index.es809.js +8 -55
- package/dist/index.es81.js +1 -1
- package/dist/index.es810.js +10 -10
- package/dist/index.es811.js +55 -8
- package/dist/index.es812.js +10 -14
- package/dist/index.es813.js +8 -52
- package/dist/index.es814.js +14 -80
- package/dist/index.es815.js +48 -10
- package/dist/index.es816.js +78 -26
- package/dist/index.es817.js +14 -4
- package/dist/index.es818.js +28 -40
- package/dist/index.es819.js +4 -5
- package/dist/index.es820.js +37 -20
- package/dist/index.es821.js +5 -14
- package/dist/index.es822.js +16 -33
- package/dist/index.es823.js +14 -4
- package/dist/index.es824.js +37 -23
- package/dist/index.es825.js +4 -6
- package/dist/index.es826.js +23 -38
- package/dist/index.es827.js +6 -54
- package/dist/index.es828.js +40 -16
- package/dist/index.es829.js +55 -7
- package/dist/index.es830.js +4 -4
- package/dist/index.es831.js +1 -1
- package/dist/index.es832.js +3 -3
- package/dist/index.es833.js +3 -3
- package/dist/index.es834.js +2 -2
- package/dist/index.es835.js +17 -10
- package/dist/index.es836.js +7 -37
- package/dist/index.es837.js +10 -13
- package/dist/index.es838.js +36 -59
- package/dist/index.es839.js +11 -12
- package/dist/index.es84.js +3 -3
- package/dist/index.es840.js +62 -0
- package/dist/index.es841.js +17 -0
- package/dist/index.es85.js +3 -3
- package/dist/index.es86.js +1 -1
- package/dist/index.es87.js +1 -1
- package/dist/index.es88.js +34 -29
- package/dist/index.es89.js +46 -9
- package/dist/index.es90.js +30 -55
- package/dist/index.es91.js +28 -53
- package/dist/index.es92.js +12 -92
- package/dist/index.es93.js +257 -35
- package/dist/index.es94.js +12 -24
- package/dist/index.es95.js +9 -30
- package/dist/index.es96.js +55 -12
- package/dist/index.es97.js +53 -33
- package/dist/index.es98.js +92 -46
- package/dist/index.es99.js +36 -29
- package/dist/style.css +0 -6
- package/package.json +15 -11
package/dist/index.es796.js
CHANGED
|
@@ -1,161 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
6
|
-
}(), y = function() {
|
|
7
|
-
return Math.random().toString(36).substring(7).split("").join(".");
|
|
8
|
-
}, v = {
|
|
9
|
-
INIT: "@@redux/INIT" + y(),
|
|
10
|
-
REPLACE: "@@redux/REPLACE" + y(),
|
|
11
|
-
PROBE_UNKNOWN_ACTION: function() {
|
|
12
|
-
return "@@redux/PROBE_UNKNOWN_ACTION" + y();
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
function D(e) {
|
|
16
|
-
if (typeof e != "object" || e === null) return !1;
|
|
17
|
-
for (var t = e; Object.getPrototypeOf(t) !== null; )
|
|
18
|
-
t = Object.getPrototypeOf(t);
|
|
19
|
-
return Object.getPrototypeOf(e) === t;
|
|
20
|
-
}
|
|
21
|
-
function S(e) {
|
|
22
|
-
if (e === void 0) return "undefined";
|
|
23
|
-
if (e === null) return "null";
|
|
24
|
-
var t = typeof e;
|
|
25
|
-
switch (t) {
|
|
26
|
-
case "boolean":
|
|
27
|
-
case "string":
|
|
28
|
-
case "number":
|
|
29
|
-
case "symbol":
|
|
30
|
-
case "function":
|
|
31
|
-
return t;
|
|
32
|
-
}
|
|
33
|
-
if (Array.isArray(e)) return "array";
|
|
34
|
-
if (P(e)) return "date";
|
|
35
|
-
if (V(e)) return "error";
|
|
36
|
-
var o = I(e);
|
|
37
|
-
switch (o) {
|
|
38
|
-
case "Symbol":
|
|
39
|
-
case "Promise":
|
|
40
|
-
case "WeakMap":
|
|
41
|
-
case "WeakSet":
|
|
42
|
-
case "Map":
|
|
43
|
-
case "Set":
|
|
44
|
-
return o;
|
|
45
|
-
}
|
|
46
|
-
return t.slice(8, -1).toLowerCase().replace(/\s/g, "");
|
|
47
|
-
}
|
|
48
|
-
function I(e) {
|
|
49
|
-
return typeof e.constructor == "function" ? e.constructor.name : null;
|
|
50
|
-
}
|
|
51
|
-
function V(e) {
|
|
52
|
-
return e instanceof Error || typeof e.message == "string" && e.constructor && typeof e.constructor.stackTraceLimit == "number";
|
|
53
|
-
}
|
|
54
|
-
function P(e) {
|
|
55
|
-
return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
|
|
56
|
-
}
|
|
57
|
-
function a(e) {
|
|
58
|
-
var t = typeof e;
|
|
59
|
-
return process.env.NODE_ENV !== "production" && (t = S(e)), t;
|
|
60
|
-
}
|
|
61
|
-
function j(e, t, o) {
|
|
62
|
-
var d;
|
|
63
|
-
if (typeof t == "function" && typeof o == "function" || typeof o == "function" && typeof arguments[3] == "function")
|
|
64
|
-
throw new Error(process.env.NODE_ENV === "production" ? n(0) : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");
|
|
65
|
-
if (typeof t == "function" && typeof o > "u" && (o = t, t = void 0), typeof o < "u") {
|
|
66
|
-
if (typeof o != "function")
|
|
67
|
-
throw new Error(process.env.NODE_ENV === "production" ? n(1) : "Expected the enhancer to be a function. Instead, received: '" + a(o) + "'");
|
|
68
|
-
return o(j)(e, t);
|
|
69
|
-
}
|
|
70
|
-
if (typeof e != "function")
|
|
71
|
-
throw new Error(process.env.NODE_ENV === "production" ? n(2) : "Expected the root reducer to be a function. Instead, received: '" + a(e) + "'");
|
|
72
|
-
var E = e, l = t, f = [], u = f, c = !1;
|
|
73
|
-
function b() {
|
|
74
|
-
u === f && (u = f.slice());
|
|
75
|
-
}
|
|
76
|
-
function m() {
|
|
77
|
-
if (c)
|
|
78
|
-
throw new Error(process.env.NODE_ENV === "production" ? n(3) : "You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");
|
|
79
|
-
return l;
|
|
80
|
-
}
|
|
81
|
-
function N(r) {
|
|
82
|
-
if (typeof r != "function")
|
|
83
|
-
throw new Error(process.env.NODE_ENV === "production" ? n(4) : "Expected the listener to be a function. Instead, received: '" + a(r) + "'");
|
|
84
|
-
if (c)
|
|
85
|
-
throw new Error(process.env.NODE_ENV === "production" ? n(5) : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");
|
|
86
|
-
var i = !0;
|
|
87
|
-
return b(), u.push(r), function() {
|
|
88
|
-
if (i) {
|
|
89
|
-
if (c)
|
|
90
|
-
throw new Error(process.env.NODE_ENV === "production" ? n(6) : "You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");
|
|
91
|
-
i = !1, b();
|
|
92
|
-
var s = u.indexOf(r);
|
|
93
|
-
u.splice(s, 1), f = null;
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
function h(r) {
|
|
98
|
-
if (!D(r))
|
|
99
|
-
throw new Error(process.env.NODE_ENV === "production" ? n(7) : "Actions must be plain objects. Instead, the actual type was: '" + a(r) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
|
|
100
|
-
if (typeof r.type > "u")
|
|
101
|
-
throw new Error(process.env.NODE_ENV === "production" ? n(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
|
|
102
|
-
if (c)
|
|
103
|
-
throw new Error(process.env.NODE_ENV === "production" ? n(9) : "Reducers may not dispatch actions.");
|
|
104
|
-
try {
|
|
105
|
-
c = !0, l = E(l, r);
|
|
106
|
-
} finally {
|
|
107
|
-
c = !1;
|
|
108
|
-
}
|
|
109
|
-
for (var i = f = u, p = 0; p < i.length; p++) {
|
|
110
|
-
var s = i[p];
|
|
111
|
-
s();
|
|
112
|
-
}
|
|
113
|
-
return r;
|
|
114
|
-
}
|
|
115
|
-
function O(r) {
|
|
116
|
-
if (typeof r != "function")
|
|
117
|
-
throw new Error(process.env.NODE_ENV === "production" ? n(10) : "Expected the nextReducer to be a function. Instead, received: '" + a(r));
|
|
118
|
-
E = r, h({
|
|
119
|
-
type: v.REPLACE
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
function x() {
|
|
123
|
-
var r, i = N;
|
|
124
|
-
return r = {
|
|
125
|
-
/**
|
|
126
|
-
* The minimal observable subscription method.
|
|
127
|
-
* @param {Object} observer Any object that can be used as an observer.
|
|
128
|
-
* The observer object should have a `next` method.
|
|
129
|
-
* @returns {subscription} An object with an `unsubscribe` method that can
|
|
130
|
-
* be used to unsubscribe the observable from the store, and prevent further
|
|
131
|
-
* emission of values from the observable.
|
|
132
|
-
*/
|
|
133
|
-
subscribe: function(s) {
|
|
134
|
-
if (typeof s != "object" || s === null)
|
|
135
|
-
throw new Error(process.env.NODE_ENV === "production" ? n(11) : "Expected the observer to be an object. Instead, received: '" + a(s) + "'");
|
|
136
|
-
function g() {
|
|
137
|
-
s.next && s.next(m());
|
|
138
|
-
}
|
|
139
|
-
g();
|
|
140
|
-
var _ = i(g);
|
|
141
|
-
return {
|
|
142
|
-
unsubscribe: _
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
}, r[w] = function() {
|
|
146
|
-
return this;
|
|
147
|
-
}, r;
|
|
148
|
-
}
|
|
149
|
-
return h({
|
|
150
|
-
type: v.INIT
|
|
151
|
-
}), d = {
|
|
152
|
-
dispatch: h,
|
|
153
|
-
subscribe: N,
|
|
154
|
-
getState: m,
|
|
155
|
-
replaceReducer: O
|
|
156
|
-
}, d[w] = x, d;
|
|
157
|
-
}
|
|
1
|
+
var R;
|
|
2
|
+
(function(E) {
|
|
3
|
+
E.SOURCE = "SOURCE", E.TARGET = "TARGET";
|
|
4
|
+
})(R || (R = {}));
|
|
158
5
|
export {
|
|
159
|
-
|
|
160
|
-
j as createStore
|
|
6
|
+
R as HandlerRole
|
|
161
7
|
};
|
package/dist/index.es797.js
CHANGED
|
@@ -1,48 +1,73 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { reduce as p } from "./index.es817.js";
|
|
6
|
-
import { get as s } from "./index.es818.js";
|
|
7
|
-
function a(e, r) {
|
|
8
|
-
var t = Object.keys(e);
|
|
9
|
-
if (Object.getOwnPropertySymbols) {
|
|
10
|
-
var n = Object.getOwnPropertySymbols(e);
|
|
11
|
-
r && (n = n.filter(function(o) {
|
|
12
|
-
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
13
|
-
})), t.push.apply(t, n);
|
|
14
|
-
}
|
|
15
|
-
return t;
|
|
1
|
+
import { createDragDropActions as l } from "./index.es814.js";
|
|
2
|
+
function g(n, e) {
|
|
3
|
+
if (!(n instanceof e))
|
|
4
|
+
throw new TypeError("Cannot call a class as a function");
|
|
16
5
|
}
|
|
17
|
-
function
|
|
18
|
-
for (var
|
|
19
|
-
var t =
|
|
20
|
-
|
|
21
|
-
g(e, n, t[n]);
|
|
22
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : a(Object(t)).forEach(function(n) {
|
|
23
|
-
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
|
|
24
|
-
});
|
|
6
|
+
function d(n, e) {
|
|
7
|
+
for (var i = 0; i < e.length; i++) {
|
|
8
|
+
var t = e[i];
|
|
9
|
+
t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(n, t.key, t);
|
|
25
10
|
}
|
|
26
|
-
return e;
|
|
27
11
|
}
|
|
28
|
-
function
|
|
29
|
-
return
|
|
12
|
+
function v(n, e, i) {
|
|
13
|
+
return e && d(n.prototype, e), n;
|
|
30
14
|
}
|
|
31
|
-
function
|
|
32
|
-
|
|
33
|
-
return {
|
|
34
|
-
dirtyHandlerIds: c(e.dirtyHandlerIds, {
|
|
35
|
-
type: r.type,
|
|
36
|
-
payload: u(u({}, r.payload), {}, {
|
|
37
|
-
prevTargetIds: s(e, "dragOperation.targetIds", [])
|
|
38
|
-
})
|
|
39
|
-
}),
|
|
40
|
-
dragOffset: d(e.dragOffset, r),
|
|
41
|
-
refCount: i(e.refCount, r),
|
|
42
|
-
dragOperation: f(e.dragOperation, r),
|
|
43
|
-
stateId: p(e.stateId)
|
|
44
|
-
};
|
|
15
|
+
function a(n, e, i) {
|
|
16
|
+
return e in n ? Object.defineProperty(n, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : n[e] = i, n;
|
|
45
17
|
}
|
|
18
|
+
var b = /* @__PURE__ */ function() {
|
|
19
|
+
function n(e, i) {
|
|
20
|
+
var t = this;
|
|
21
|
+
g(this, n), a(this, "store", void 0), a(this, "monitor", void 0), a(this, "backend", void 0), a(this, "isSetUp", !1), a(this, "handleRefCountChange", function() {
|
|
22
|
+
var o = t.store.getState().refCount > 0;
|
|
23
|
+
t.backend && (o && !t.isSetUp ? (t.backend.setup(), t.isSetUp = !0) : !o && t.isSetUp && (t.backend.teardown(), t.isSetUp = !1));
|
|
24
|
+
}), this.store = e, this.monitor = i, e.subscribe(this.handleRefCountChange);
|
|
25
|
+
}
|
|
26
|
+
return v(n, [{
|
|
27
|
+
key: "receiveBackend",
|
|
28
|
+
value: function(i) {
|
|
29
|
+
this.backend = i;
|
|
30
|
+
}
|
|
31
|
+
}, {
|
|
32
|
+
key: "getMonitor",
|
|
33
|
+
value: function() {
|
|
34
|
+
return this.monitor;
|
|
35
|
+
}
|
|
36
|
+
}, {
|
|
37
|
+
key: "getBackend",
|
|
38
|
+
value: function() {
|
|
39
|
+
return this.backend;
|
|
40
|
+
}
|
|
41
|
+
}, {
|
|
42
|
+
key: "getRegistry",
|
|
43
|
+
value: function() {
|
|
44
|
+
return this.monitor.registry;
|
|
45
|
+
}
|
|
46
|
+
}, {
|
|
47
|
+
key: "getActions",
|
|
48
|
+
value: function() {
|
|
49
|
+
var i = this, t = this.store.dispatch;
|
|
50
|
+
function o(s) {
|
|
51
|
+
return function() {
|
|
52
|
+
for (var r = arguments.length, u = new Array(r), c = 0; c < r; c++)
|
|
53
|
+
u[c] = arguments[c];
|
|
54
|
+
var h = s.apply(i, u);
|
|
55
|
+
typeof h < "u" && t(h);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
var f = l(this);
|
|
59
|
+
return Object.keys(f).reduce(function(s, r) {
|
|
60
|
+
var u = f[r];
|
|
61
|
+
return s[r] = o(u), s;
|
|
62
|
+
}, {});
|
|
63
|
+
}
|
|
64
|
+
}, {
|
|
65
|
+
key: "dispatch",
|
|
66
|
+
value: function(i) {
|
|
67
|
+
this.store.dispatch(i);
|
|
68
|
+
}
|
|
69
|
+
}]), n;
|
|
70
|
+
}();
|
|
46
71
|
export {
|
|
47
|
-
|
|
72
|
+
b as DragDropManagerImpl
|
|
48
73
|
};
|
package/dist/index.es798.js
CHANGED
|
@@ -1,173 +1,161 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { getSourceClientOffset as v, getDifferenceFromInitialOffset as y } from "./index.es820.js";
|
|
4
|
-
import { areDirty as p } from "./index.es821.js";
|
|
5
|
-
function S(i, t) {
|
|
6
|
-
if (!(i instanceof t))
|
|
7
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1
|
+
function n(e) {
|
|
2
|
+
return "Minified Redux error #" + e + "; visit https://redux.js.org/Errors?code=" + e + " for the full message or use the non-minified dev environment for full errors. ";
|
|
8
3
|
}
|
|
9
|
-
function
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
var w = function() {
|
|
5
|
+
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
6
|
+
}(), y = function() {
|
|
7
|
+
return Math.random().toString(36).substring(7).split("").join(".");
|
|
8
|
+
}, v = {
|
|
9
|
+
INIT: "@@redux/INIT" + y(),
|
|
10
|
+
REPLACE: "@@redux/REPLACE" + y(),
|
|
11
|
+
PROBE_UNKNOWN_ACTION: function() {
|
|
12
|
+
return "@@redux/PROBE_UNKNOWN_ACTION" + y();
|
|
13
13
|
}
|
|
14
|
+
};
|
|
15
|
+
function D(e) {
|
|
16
|
+
if (typeof e != "object" || e === null) return !1;
|
|
17
|
+
for (var t = e; Object.getPrototypeOf(t) !== null; )
|
|
18
|
+
t = Object.getPrototypeOf(t);
|
|
19
|
+
return Object.getPrototypeOf(e) === t;
|
|
20
|
+
}
|
|
21
|
+
function S(e) {
|
|
22
|
+
if (e === void 0) return "undefined";
|
|
23
|
+
if (e === null) return "null";
|
|
24
|
+
var t = typeof e;
|
|
25
|
+
switch (t) {
|
|
26
|
+
case "boolean":
|
|
27
|
+
case "string":
|
|
28
|
+
case "number":
|
|
29
|
+
case "symbol":
|
|
30
|
+
case "function":
|
|
31
|
+
return t;
|
|
32
|
+
}
|
|
33
|
+
if (Array.isArray(e)) return "array";
|
|
34
|
+
if (P(e)) return "date";
|
|
35
|
+
if (V(e)) return "error";
|
|
36
|
+
var o = I(e);
|
|
37
|
+
switch (o) {
|
|
38
|
+
case "Symbol":
|
|
39
|
+
case "Promise":
|
|
40
|
+
case "WeakMap":
|
|
41
|
+
case "WeakSet":
|
|
42
|
+
case "Map":
|
|
43
|
+
case "Set":
|
|
44
|
+
return o;
|
|
45
|
+
}
|
|
46
|
+
return t.slice(8, -1).toLowerCase().replace(/\s/g, "");
|
|
14
47
|
}
|
|
15
|
-
function
|
|
16
|
-
return
|
|
48
|
+
function I(e) {
|
|
49
|
+
return typeof e.constructor == "function" ? e.constructor.name : null;
|
|
17
50
|
}
|
|
18
|
-
function
|
|
19
|
-
return
|
|
51
|
+
function V(e) {
|
|
52
|
+
return e instanceof Error || typeof e.message == "string" && e.constructor && typeof e.constructor.stackTraceLimit == "number";
|
|
20
53
|
}
|
|
21
|
-
|
|
22
|
-
function
|
|
23
|
-
|
|
54
|
+
function P(e) {
|
|
55
|
+
return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
|
|
56
|
+
}
|
|
57
|
+
function a(e) {
|
|
58
|
+
var t = typeof e;
|
|
59
|
+
return process.env.NODE_ENV !== "production" && (t = S(e)), t;
|
|
60
|
+
}
|
|
61
|
+
function j(e, t, o) {
|
|
62
|
+
var d;
|
|
63
|
+
if (typeof t == "function" && typeof o == "function" || typeof o == "function" && typeof arguments[3] == "function")
|
|
64
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(0) : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");
|
|
65
|
+
if (typeof t == "function" && typeof o > "u" && (o = t, t = void 0), typeof o < "u") {
|
|
66
|
+
if (typeof o != "function")
|
|
67
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(1) : "Expected the enhancer to be a function. Instead, received: '" + a(o) + "'");
|
|
68
|
+
return o(j)(e, t);
|
|
69
|
+
}
|
|
70
|
+
if (typeof e != "function")
|
|
71
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(2) : "Expected the root reducer to be a function. Instead, received: '" + a(e) + "'");
|
|
72
|
+
var E = e, l = t, f = [], u = f, c = !1;
|
|
73
|
+
function b() {
|
|
74
|
+
u === f && (u = f.slice());
|
|
75
|
+
}
|
|
76
|
+
function m() {
|
|
77
|
+
if (c)
|
|
78
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(3) : "You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");
|
|
79
|
+
return l;
|
|
24
80
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
81
|
+
function N(r) {
|
|
82
|
+
if (typeof r != "function")
|
|
83
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(4) : "Expected the listener to be a function. Instead, received: '" + a(r) + "'");
|
|
84
|
+
if (c)
|
|
85
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(5) : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");
|
|
86
|
+
var i = !0;
|
|
87
|
+
return b(), u.push(r), function() {
|
|
88
|
+
if (i) {
|
|
89
|
+
if (c)
|
|
90
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(6) : "You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");
|
|
91
|
+
i = !1, b();
|
|
92
|
+
var s = u.indexOf(r);
|
|
93
|
+
u.splice(s, 1), f = null;
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
function h(r) {
|
|
98
|
+
if (!D(r))
|
|
99
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(7) : "Actions must be plain objects. Instead, the actual type was: '" + a(r) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
|
|
100
|
+
if (typeof r.type > "u")
|
|
101
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
|
|
102
|
+
if (c)
|
|
103
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(9) : "Reducers may not dispatch actions.");
|
|
104
|
+
try {
|
|
105
|
+
c = !0, l = E(l, r);
|
|
106
|
+
} finally {
|
|
107
|
+
c = !1;
|
|
108
|
+
}
|
|
109
|
+
for (var i = f = u, p = 0; p < i.length; p++) {
|
|
110
|
+
var s = i[p];
|
|
111
|
+
s();
|
|
112
|
+
}
|
|
113
|
+
return r;
|
|
114
|
+
}
|
|
115
|
+
function O(r) {
|
|
116
|
+
if (typeof r != "function")
|
|
117
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(10) : "Expected the nextReducer to be a function. Instead, received: '" + a(r));
|
|
118
|
+
E = r, h({
|
|
119
|
+
type: v.REPLACE
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
function x() {
|
|
123
|
+
var r, i = N;
|
|
124
|
+
return r = {
|
|
125
|
+
/**
|
|
126
|
+
* The minimal observable subscription method.
|
|
127
|
+
* @param {Object} observer Any object that can be used as an observer.
|
|
128
|
+
* The observer object should have a `next` method.
|
|
129
|
+
* @returns {subscription} An object with an `unsubscribe` method that can
|
|
130
|
+
* be used to unsubscribe the observable from the store, and prevent further
|
|
131
|
+
* emission of values from the observable.
|
|
132
|
+
*/
|
|
133
|
+
subscribe: function(s) {
|
|
134
|
+
if (typeof s != "object" || s === null)
|
|
135
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(11) : "Expected the observer to be an object. Instead, received: '" + a(s) + "'");
|
|
136
|
+
function g() {
|
|
137
|
+
s.next && s.next(m());
|
|
39
138
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
var r = this.registry.getSource(e);
|
|
60
|
-
return f(r, "Expected to find a valid source. sourceId=".concat(e)), this.isDragging() ? !1 : r.canDrag(this, e);
|
|
61
|
-
}
|
|
62
|
-
}, {
|
|
63
|
-
key: "canDropOnTarget",
|
|
64
|
-
value: function(e) {
|
|
65
|
-
if (!e)
|
|
66
|
-
return !1;
|
|
67
|
-
var r = this.registry.getTarget(e);
|
|
68
|
-
if (f(r, "Expected to find a valid target. targetId=".concat(e)), !this.isDragging() || this.didDrop())
|
|
69
|
-
return !1;
|
|
70
|
-
var a = this.registry.getTargetType(e), n = this.getItemType();
|
|
71
|
-
return c(a, n) && r.canDrop(this, e);
|
|
72
|
-
}
|
|
73
|
-
}, {
|
|
74
|
-
key: "isDragging",
|
|
75
|
-
value: function() {
|
|
76
|
-
return !!this.getItemType();
|
|
77
|
-
}
|
|
78
|
-
}, {
|
|
79
|
-
key: "isDraggingSource",
|
|
80
|
-
value: function(e) {
|
|
81
|
-
if (!e)
|
|
82
|
-
return !1;
|
|
83
|
-
var r = this.registry.getSource(e, !0);
|
|
84
|
-
if (f(r, "Expected to find a valid source. sourceId=".concat(e)), !this.isDragging() || !this.isSourcePublic())
|
|
85
|
-
return !1;
|
|
86
|
-
var a = this.registry.getSourceType(e), n = this.getItemType();
|
|
87
|
-
return a !== n ? !1 : r.isDragging(this, e);
|
|
88
|
-
}
|
|
89
|
-
}, {
|
|
90
|
-
key: "isOverTarget",
|
|
91
|
-
value: function(e) {
|
|
92
|
-
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
93
|
-
shallow: !1
|
|
94
|
-
};
|
|
95
|
-
if (!e)
|
|
96
|
-
return !1;
|
|
97
|
-
var a = r.shallow;
|
|
98
|
-
if (!this.isDragging())
|
|
99
|
-
return !1;
|
|
100
|
-
var n = this.registry.getTargetType(e), u = this.getItemType();
|
|
101
|
-
if (u && !c(n, u))
|
|
102
|
-
return !1;
|
|
103
|
-
var s = this.getTargetIds();
|
|
104
|
-
if (!s.length)
|
|
105
|
-
return !1;
|
|
106
|
-
var g = s.indexOf(e);
|
|
107
|
-
return a ? g === s.length - 1 : g > -1;
|
|
108
|
-
}
|
|
109
|
-
}, {
|
|
110
|
-
key: "getItemType",
|
|
111
|
-
value: function() {
|
|
112
|
-
return this.store.getState().dragOperation.itemType;
|
|
113
|
-
}
|
|
114
|
-
}, {
|
|
115
|
-
key: "getItem",
|
|
116
|
-
value: function() {
|
|
117
|
-
return this.store.getState().dragOperation.item;
|
|
118
|
-
}
|
|
119
|
-
}, {
|
|
120
|
-
key: "getSourceId",
|
|
121
|
-
value: function() {
|
|
122
|
-
return this.store.getState().dragOperation.sourceId;
|
|
123
|
-
}
|
|
124
|
-
}, {
|
|
125
|
-
key: "getTargetIds",
|
|
126
|
-
value: function() {
|
|
127
|
-
return this.store.getState().dragOperation.targetIds;
|
|
128
|
-
}
|
|
129
|
-
}, {
|
|
130
|
-
key: "getDropResult",
|
|
131
|
-
value: function() {
|
|
132
|
-
return this.store.getState().dragOperation.dropResult;
|
|
133
|
-
}
|
|
134
|
-
}, {
|
|
135
|
-
key: "didDrop",
|
|
136
|
-
value: function() {
|
|
137
|
-
return this.store.getState().dragOperation.didDrop;
|
|
138
|
-
}
|
|
139
|
-
}, {
|
|
140
|
-
key: "isSourcePublic",
|
|
141
|
-
value: function() {
|
|
142
|
-
return !!this.store.getState().dragOperation.isSourcePublic;
|
|
143
|
-
}
|
|
144
|
-
}, {
|
|
145
|
-
key: "getInitialClientOffset",
|
|
146
|
-
value: function() {
|
|
147
|
-
return this.store.getState().dragOffset.initialClientOffset;
|
|
148
|
-
}
|
|
149
|
-
}, {
|
|
150
|
-
key: "getInitialSourceClientOffset",
|
|
151
|
-
value: function() {
|
|
152
|
-
return this.store.getState().dragOffset.initialSourceClientOffset;
|
|
153
|
-
}
|
|
154
|
-
}, {
|
|
155
|
-
key: "getClientOffset",
|
|
156
|
-
value: function() {
|
|
157
|
-
return this.store.getState().dragOffset.clientOffset;
|
|
158
|
-
}
|
|
159
|
-
}, {
|
|
160
|
-
key: "getSourceClientOffset",
|
|
161
|
-
value: function() {
|
|
162
|
-
return v(this.store.getState().dragOffset);
|
|
163
|
-
}
|
|
164
|
-
}, {
|
|
165
|
-
key: "getDifferenceFromInitialOffset",
|
|
166
|
-
value: function() {
|
|
167
|
-
return y(this.store.getState().dragOffset);
|
|
168
|
-
}
|
|
169
|
-
}]), i;
|
|
170
|
-
}();
|
|
139
|
+
g();
|
|
140
|
+
var _ = i(g);
|
|
141
|
+
return {
|
|
142
|
+
unsubscribe: _
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
}, r[w] = function() {
|
|
146
|
+
return this;
|
|
147
|
+
}, r;
|
|
148
|
+
}
|
|
149
|
+
return h({
|
|
150
|
+
type: v.INIT
|
|
151
|
+
}), d = {
|
|
152
|
+
dispatch: h,
|
|
153
|
+
subscribe: N,
|
|
154
|
+
getState: m,
|
|
155
|
+
replaceReducer: O
|
|
156
|
+
}, d[w] = x, d;
|
|
157
|
+
}
|
|
171
158
|
export {
|
|
172
|
-
|
|
159
|
+
v as __DO_NOT_USE__ActionTypes,
|
|
160
|
+
j as createStore
|
|
173
161
|
};
|