amotify 0.1.60 → 0.2.0
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/@declaration/index.d.ts +2 -2
- package/dist/@declaration/property.d.ts +9 -9
- package/dist/@styles/componentClasses/index.css +46 -149
- package/dist/@styles/componentClasses/index.js +35 -49
- package/dist/@styles/index.css +46 -149
- package/dist/@styles/index.js +35 -49
- package/dist/@styles/style.css +46 -149
- package/dist/@styles/style.js +35 -49
- package/dist/@utils/GenerateClassName.d.ts +2 -2
- package/dist/@utils/GenerateClassName.js +1 -1
- package/dist/@utils/LaunchReactApp.d.ts +11 -11
- package/dist/@utils/LaunchReactApp.js +1 -1
- package/dist/@utils/config.d.ts +6 -1
- package/dist/@utils/config.js +1 -1
- package/dist/@utils/index.d.ts +2 -2
- package/dist/@utils/index.js +1 -1
- package/dist/@utils/pageRouter.d.ts +15 -0
- package/dist/@utils/pageRouter.js +1 -0
- package/dist/@utils/useRecycle.js +1 -1
- package/dist/@utils/useRouterEffect.d.ts +16 -0
- package/dist/@utils/useRouterEffect.js +1 -0
- package/dist/@utils/useStore.d.ts +2 -10
- package/dist/@utils/useStore.js +1 -1
- package/dist/atoms/FAI.d.ts +1 -1
- package/dist/atoms/FAI.js +1 -1
- package/dist/atoms/Flex.js +1 -1
- package/dist/atoms/Logo.d.ts +14 -14
- package/dist/atoms/Logo.js +3 -3
- package/dist/fn/Button.d.ts +4 -4
- package/dist/fn/Button.js +1 -1
- package/dist/fn/Cropper.d.ts +1 -1
- package/dist/fn/Cropper.js +1 -1
- package/dist/fn/Effect/Pudding.js +1 -1
- package/dist/fn/Effect/Ripple.js +3 -3
- package/dist/fn/Input/AutoHeightText.d.ts +1 -1
- package/dist/fn/Input/AutoHeightText.js +1 -1
- package/dist/fn/Input/Checker.d.ts +3 -3
- package/dist/fn/Input/Checker.js +1 -1
- package/dist/fn/Input/Chips/Selector.d.ts +3 -3
- package/dist/fn/Input/Chips/Selector.js +1 -1
- package/dist/fn/Input/Chips/index.js +1 -1
- package/dist/fn/Input/Contenteditable.js +1 -1
- package/dist/fn/Input/DigitCharacters.d.ts +1 -1
- package/dist/fn/Input/DigitCharacters.js +1 -1
- package/dist/fn/Input/Filer.d.ts +3 -3
- package/dist/fn/Input/Filer.js +1 -1
- package/dist/fn/Input/Hidden.d.ts +1 -1
- package/dist/fn/Input/Hidden.js +1 -1
- package/dist/fn/Input/List.d.ts +5 -5
- package/dist/fn/Input/List.js +1 -1
- package/dist/fn/Input/Parts.d.ts +1 -1
- package/dist/fn/Input/Parts.js +1 -1
- package/dist/fn/Input/Plain.d.ts +2 -2
- package/dist/fn/Input/Plain.js +1 -1
- package/dist/fn/Input/RichSelect.d.ts +3 -3
- package/dist/fn/Input/RichSelect.js +1 -1
- package/dist/fn/Input/Search.d.ts +1 -1
- package/dist/fn/Input/Segmented.d.ts +8 -8
- package/dist/fn/Input/Segmented.js +1 -1
- package/dist/fn/Input/Select.d.ts +1 -1
- package/dist/fn/Input/Select.js +1 -1
- package/dist/fn/Input/Slider.js +1 -1
- package/dist/fn/Input/Switch.js +1 -1
- package/dist/fn/Input/Text.js +1 -1
- package/dist/fn/Input/TextArea.js +1 -1
- package/dist/fn/Input/Time/Picker.js +1 -1
- package/dist/fn/Input/Time/index.d.ts +1 -1
- package/dist/fn/Input/Time/index.js +1 -1
- package/dist/fn/Input/core.d.ts +11 -11
- package/dist/fn/Input/core.js +1 -1
- package/dist/fn/Input/index.d.ts +4 -4
- package/dist/fn/Input/index.js +1 -1
- package/dist/fn/Loader/corner.js +1 -1
- package/dist/fn/Loader/index.d.ts +1 -5
- package/dist/fn/Loader/index.js +1 -1
- package/dist/fn/Loader/mini.d.ts +1 -1
- package/dist/fn/Loader/mini.js +1 -1
- package/dist/fn/PageNotFound.js +1 -0
- package/dist/fn/{Layout/PageViewController.d.ts → PageViewController.d.ts} +1 -1
- package/dist/fn/PageViewController.js +1 -0
- package/dist/fn/{Layout/Plate.d.ts → Plate.d.ts} +1 -1
- package/dist/fn/Plate.js +1 -0
- package/dist/fn/{Layout/RootViewController.d.ts → RootViewController.d.ts} +10 -10
- package/dist/fn/RootViewController.js +1 -0
- package/dist/fn/Sheet.d.ts +11 -10
- package/dist/fn/Sheet.js +1 -1
- package/dist/fn/Snackbar.d.ts +1 -1
- package/dist/fn/Snackbar.js +1 -1
- package/dist/fn/{Layout/SwipeView.d.ts → SwipeView.d.ts} +2 -2
- package/dist/fn/SwipeView.js +1 -0
- package/dist/fn/{Layout/TabBar.d.ts → TabBar.d.ts} +1 -1
- package/dist/fn/TabBar.js +1 -0
- package/dist/fn/Table/Data.d.ts +2 -2
- package/dist/fn/Table/Data.js +1 -1
- package/dist/fn/Table/Drag.d.ts +1 -1
- package/dist/fn/Table/Drag.js +1 -1
- package/dist/fn/Table/Normal.d.ts +1 -1
- package/dist/fn/Table/Normal.js +1 -1
- package/dist/fn/Table/Wrapper.d.ts +1 -1
- package/dist/fn/Table/Wrapper.js +1 -1
- package/dist/fn/Table/cellStyling.d.ts +2 -2
- package/dist/fn/Table/cellStyling.js +1 -1
- package/dist/fn/Table/index.d.ts +3 -3
- package/dist/fn/Table/index.js +1 -1
- package/dist/fn/Tooltips.d.ts +1 -1
- package/dist/fn/index.d.ts +6 -1
- package/dist/fn/index.js +1 -1
- package/dist/index.d.ts +17 -6
- package/dist/mols/Accordion.js +1 -1
- package/dist/mols/List.js +1 -1
- package/dist/mols/Text.js +1 -1
- package/dist/temps/designBook.d.ts +0 -2
- package/dist/temps/designBook.js +10 -10
- package/package.json +3 -8
- package/dist/@utils/fin.d.ts +0 -1
- package/dist/@utils/fin.js +0 -1
- package/dist/@utils/pageTransit.d.ts +0 -11
- package/dist/@utils/pageTransit.js +0 -1
- package/dist/fn/Layout/PageNotFound.js +0 -1
- package/dist/fn/Layout/PageRouter.d.ts +0 -27
- package/dist/fn/Layout/PageRouter.js +0 -1
- package/dist/fn/Layout/PageViewController.js +0 -1
- package/dist/fn/Layout/Plate.js +0 -1
- package/dist/fn/Layout/RootViewController.js +0 -1
- package/dist/fn/Layout/SwipeView.js +0 -1
- package/dist/fn/Layout/TabBar.js +0 -1
- package/dist/fn/Layout/index.d.ts +0 -27
- package/dist/fn/Layout/index.js +0 -1
- package/dist/fn/Loader/top.d.ts +0 -2
- package/dist/fn/Loader/top.js +0 -1
- /package/dist/fn/{Layout/PageNotFound.d.ts → PageNotFound.d.ts} +0 -0
package/dist/@styles/style.css
CHANGED
|
@@ -1720,117 +1720,11 @@ amotify-app {
|
|
|
1720
1720
|
}
|
|
1721
1721
|
|
|
1722
1722
|
/* esbuild-sass-plugin:css-chunk:src/@styles/componentClasses/f_loader.module.scss */
|
|
1723
|
-
.
|
|
1723
|
+
._Wrapper_11vvw_1 {
|
|
1724
1724
|
z-index: 10;
|
|
1725
1725
|
position: absolute;
|
|
1726
1726
|
}
|
|
1727
|
-
|
|
1728
|
-
z-index: 3000;
|
|
1729
|
-
cursor: not-allowed !important;
|
|
1730
|
-
}
|
|
1731
|
-
._TopLoader_1ha0b_6 ._Center_1ha0b_10 {
|
|
1732
|
-
width: 10rem;
|
|
1733
|
-
height: 10rem;
|
|
1734
|
-
}
|
|
1735
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14 {
|
|
1736
|
-
position: absolute;
|
|
1737
|
-
transform-origin: 0 0;
|
|
1738
|
-
justify-content: flex-end;
|
|
1739
|
-
align-items: center;
|
|
1740
|
-
display: flex;
|
|
1741
|
-
height: 0;
|
|
1742
|
-
background-color: white;
|
|
1743
|
-
}
|
|
1744
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14 ._Circle_1ha0b_23 {
|
|
1745
|
-
border-radius: 50%;
|
|
1746
|
-
animation: _expander_1ha0b_1 6s cubic-bezier(0.61, 0.48, 0.61, 0.76) infinite;
|
|
1747
|
-
}
|
|
1748
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child1_1ha0b_27 {
|
|
1749
|
-
width: 3rem;
|
|
1750
|
-
animation: _rotation_1ha0b_1 4s cubic-bezier(0.61, 0.48, 0.61, 0.76) infinite -2.5s;
|
|
1751
|
-
}
|
|
1752
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child1_1ha0b_27 ._Circle_1ha0b_23 {
|
|
1753
|
-
width: 20px;
|
|
1754
|
-
height: 20px;
|
|
1755
|
-
}
|
|
1756
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child2_1ha0b_35 {
|
|
1757
|
-
width: 45px;
|
|
1758
|
-
animation: _rotation_1ha0b_1 4.7s cubic-bezier(0.61, 0.48, 0.61, 0.76) infinite -1.4s;
|
|
1759
|
-
}
|
|
1760
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child2_1ha0b_35 ._Circle_1ha0b_23 {
|
|
1761
|
-
width: 10px;
|
|
1762
|
-
height: 10px;
|
|
1763
|
-
}
|
|
1764
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child3_1ha0b_43 {
|
|
1765
|
-
width: 46px;
|
|
1766
|
-
animation: _rotation_1ha0b_1 3s cubic-bezier(0.61, 0.48, 0.61, 0.76) infinite -3.6s;
|
|
1767
|
-
}
|
|
1768
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child3_1ha0b_43 ._Circle_1ha0b_23 {
|
|
1769
|
-
width: 10px;
|
|
1770
|
-
height: 10px;
|
|
1771
|
-
}
|
|
1772
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child4_1ha0b_51 {
|
|
1773
|
-
width: 32px;
|
|
1774
|
-
animation: _rotation_1ha0b_1 5.3s cubic-bezier(0.61, 0.48, 0.61, 0.76) infinite -1.4s;
|
|
1775
|
-
}
|
|
1776
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child4_1ha0b_51 ._Circle_1ha0b_23 {
|
|
1777
|
-
width: 6px;
|
|
1778
|
-
height: 6px;
|
|
1779
|
-
}
|
|
1780
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child5_1ha0b_59 {
|
|
1781
|
-
width: 22px;
|
|
1782
|
-
animation: _rotation_1ha0b_1 4.9s cubic-bezier(0.61, 0.48, 0.61, 0.76) infinite -0.9s;
|
|
1783
|
-
}
|
|
1784
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child5_1ha0b_59 ._Circle_1ha0b_23 {
|
|
1785
|
-
width: 8px;
|
|
1786
|
-
height: 8px;
|
|
1787
|
-
}
|
|
1788
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child6_1ha0b_67 {
|
|
1789
|
-
width: 38px;
|
|
1790
|
-
animation: _rotation_1ha0b_1 5.4s cubic-bezier(0.61, 0.48, 0.61, 0.76) infinite -3.1s;
|
|
1791
|
-
}
|
|
1792
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child6_1ha0b_67 ._Circle_1ha0b_23 {
|
|
1793
|
-
width: 15px;
|
|
1794
|
-
height: 15px;
|
|
1795
|
-
}
|
|
1796
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child7_1ha0b_75 {
|
|
1797
|
-
width: 42px;
|
|
1798
|
-
animation: _rotation_1ha0b_1 6s cubic-bezier(0.61, 0.48, 0.61, 0.76) infinite _-2s_1ha0b_1;
|
|
1799
|
-
}
|
|
1800
|
-
._TopLoader_1ha0b_6 ._Child_1ha0b_14._Child7_1ha0b_75 ._Circle_1ha0b_23 {
|
|
1801
|
-
width: 6px;
|
|
1802
|
-
height: 6px;
|
|
1803
|
-
}
|
|
1804
|
-
@keyframes _rotation_1ha0b_1 {
|
|
1805
|
-
0% {
|
|
1806
|
-
transform: rotate(0deg);
|
|
1807
|
-
}
|
|
1808
|
-
50% {
|
|
1809
|
-
transform: rotate(360deg);
|
|
1810
|
-
}
|
|
1811
|
-
100% {
|
|
1812
|
-
transform: rotate(720deg);
|
|
1813
|
-
}
|
|
1814
|
-
}
|
|
1815
|
-
@keyframes _expander_1ha0b_1 {
|
|
1816
|
-
0% {
|
|
1817
|
-
transform: scale(1);
|
|
1818
|
-
}
|
|
1819
|
-
30% {
|
|
1820
|
-
transform: scale(0);
|
|
1821
|
-
}
|
|
1822
|
-
70% {
|
|
1823
|
-
transform: scale(1.4);
|
|
1824
|
-
}
|
|
1825
|
-
100% {
|
|
1826
|
-
transform: scale(1);
|
|
1827
|
-
}
|
|
1828
|
-
}
|
|
1829
|
-
._TopLoader_1ha0b_6._Active_true_1ha0b_108 {
|
|
1830
|
-
opacity: 1;
|
|
1831
|
-
pointer-events: all;
|
|
1832
|
-
}
|
|
1833
|
-
@keyframes _ldAnm_1ha0b_1 {
|
|
1727
|
+
@keyframes _ldAnm_11vvw_1 {
|
|
1834
1728
|
0% {
|
|
1835
1729
|
height: 20%;
|
|
1836
1730
|
}
|
|
@@ -1841,36 +1735,36 @@ amotify-app {
|
|
|
1841
1735
|
height: 20%;
|
|
1842
1736
|
}
|
|
1843
1737
|
}
|
|
1844
|
-
.
|
|
1738
|
+
._CornerLoader_11vvw_17 ._Wrap_11vvw_1 {
|
|
1845
1739
|
height: 1rem;
|
|
1846
1740
|
gap: 1px;
|
|
1847
1741
|
}
|
|
1848
|
-
.
|
|
1742
|
+
._CornerLoader_11vvw_17 ._Wrap_11vvw_1 > div {
|
|
1849
1743
|
box-shadow: 0 0 0 transparent inset, var(--shadow_style_1) var(--shadow_color_remark);
|
|
1850
1744
|
background-color: white;
|
|
1851
1745
|
border-radius: 4px;
|
|
1852
1746
|
width: 2px;
|
|
1853
1747
|
height: 20%;
|
|
1854
1748
|
}
|
|
1855
|
-
.
|
|
1749
|
+
._CornerLoader_11vvw_17._isActive_11vvw_28 {
|
|
1856
1750
|
opacity: 0.7;
|
|
1857
1751
|
}
|
|
1858
|
-
.
|
|
1859
|
-
animation: 1.2s
|
|
1752
|
+
._CornerLoader_11vvw_17._isActive_11vvw_28 ._Wrap_11vvw_1 > div {
|
|
1753
|
+
animation: 1.2s _ldAnm_11vvw_1 ease infinite;
|
|
1860
1754
|
}
|
|
1861
|
-
.
|
|
1755
|
+
._CornerLoader_11vvw_17._isActive_11vvw_28 ._Wrap_11vvw_1 > div._Ld1_11vvw_34 {
|
|
1862
1756
|
animation-delay: calc(0 * 0.15s);
|
|
1863
1757
|
}
|
|
1864
|
-
.
|
|
1758
|
+
._CornerLoader_11vvw_17._isActive_11vvw_28 ._Wrap_11vvw_1 > div._Ld2_11vvw_37 {
|
|
1865
1759
|
animation-delay: calc(1 * 0.15s);
|
|
1866
1760
|
}
|
|
1867
|
-
.
|
|
1761
|
+
._CornerLoader_11vvw_17._isActive_11vvw_28 ._Wrap_11vvw_1 > div._Ld3_11vvw_40 {
|
|
1868
1762
|
animation-delay: calc(2 * 0.15s);
|
|
1869
1763
|
}
|
|
1870
|
-
.
|
|
1764
|
+
._CornerLoader_11vvw_17._isActive_11vvw_28 ._Wrap_11vvw_1 > div._Ld4_11vvw_43 {
|
|
1871
1765
|
animation-delay: calc(3 * 0.15s);
|
|
1872
1766
|
}
|
|
1873
|
-
@keyframes
|
|
1767
|
+
@keyframes _ldAnm_11vvw_1 {
|
|
1874
1768
|
0% {
|
|
1875
1769
|
height: 50%;
|
|
1876
1770
|
}
|
|
@@ -1884,42 +1778,42 @@ amotify-app {
|
|
|
1884
1778
|
height: 50%;
|
|
1885
1779
|
}
|
|
1886
1780
|
}
|
|
1887
|
-
.
|
|
1781
|
+
._MiniLoader_11vvw_61 {
|
|
1888
1782
|
transition: 0.1s;
|
|
1889
1783
|
}
|
|
1890
|
-
.
|
|
1784
|
+
._MiniLoader_11vvw_61._Active_false_11vvw_64 {
|
|
1891
1785
|
display: none !important;
|
|
1892
1786
|
}
|
|
1893
|
-
.
|
|
1787
|
+
._MiniLoader_11vvw_61._Hide_11vvw_67 {
|
|
1894
1788
|
display: none !important;
|
|
1895
1789
|
}
|
|
1896
|
-
.
|
|
1790
|
+
._MiniLoader_11vvw_61:not(._Active_11vvw_64) {
|
|
1897
1791
|
overflow: hidden;
|
|
1898
1792
|
padding: 0 !important;
|
|
1899
1793
|
margin: 0 !important;
|
|
1900
1794
|
width: 0 !important;
|
|
1901
1795
|
height: 0 !important;
|
|
1902
1796
|
}
|
|
1903
|
-
.
|
|
1904
|
-
animation:
|
|
1797
|
+
._MiniLoader_11vvw_61 > ._Core_11vvw_77 {
|
|
1798
|
+
animation: _spin_11vvw_1 0.5s linear infinite;
|
|
1905
1799
|
}
|
|
1906
|
-
.
|
|
1800
|
+
._MiniLoader_11vvw_61 svg {
|
|
1907
1801
|
height: 100%;
|
|
1908
1802
|
position: absolute;
|
|
1909
1803
|
fill: none;
|
|
1910
1804
|
}
|
|
1911
|
-
.
|
|
1805
|
+
._MiniLoader_11vvw_61 ._SVG1_11vvw_85 {
|
|
1912
1806
|
stroke-width: 9;
|
|
1913
1807
|
stroke-dasharray: 220 220;
|
|
1914
1808
|
stroke-linecap: round;
|
|
1915
|
-
animation:
|
|
1809
|
+
animation: _loader_11vvw_1 1.8s infinite cubic-bezier(0.4, 0, 0.3, 1), _loading_11vvw_1 1.4s infinite linear;
|
|
1916
1810
|
vertical-align: middle;
|
|
1917
1811
|
}
|
|
1918
|
-
.
|
|
1812
|
+
._MiniLoader_11vvw_61 ._SVG2_11vvw_92 {
|
|
1919
1813
|
stroke-width: 6;
|
|
1920
1814
|
opacity: 0.2;
|
|
1921
1815
|
}
|
|
1922
|
-
@keyframes
|
|
1816
|
+
@keyframes _loader_11vvw_1 {
|
|
1923
1817
|
from {
|
|
1924
1818
|
stroke-dashoffset: 220;
|
|
1925
1819
|
}
|
|
@@ -1927,7 +1821,7 @@ amotify-app {
|
|
|
1927
1821
|
stroke-dashoffset: -220;
|
|
1928
1822
|
}
|
|
1929
1823
|
}
|
|
1930
|
-
@keyframes
|
|
1824
|
+
@keyframes _loading_11vvw_1 {
|
|
1931
1825
|
from {
|
|
1932
1826
|
transform: none;
|
|
1933
1827
|
}
|
|
@@ -1971,81 +1865,84 @@ amotify-app {
|
|
|
1971
1865
|
}
|
|
1972
1866
|
|
|
1973
1867
|
/* esbuild-sass-plugin:css-chunk:src/@styles/componentClasses/f_table.module.scss */
|
|
1974
|
-
.
|
|
1868
|
+
._Wrap_1rtvv_1 tbody {
|
|
1869
|
+
border-radius: inherit;
|
|
1870
|
+
}
|
|
1871
|
+
._Wrap_1rtvv_1._RowClickable_true_1rtvv_4 ._Row_1rtvv_4._BodyRow_1rtvv_4:not(._DataNotFound_1rtvv_4) {
|
|
1975
1872
|
cursor: pointer;
|
|
1976
1873
|
}
|
|
1977
|
-
.
|
|
1874
|
+
._Wrap_1rtvv_1._RowClickable_true_1rtvv_4 ._Row_1rtvv_4._BodyRow_1rtvv_4:not(._DataNotFound_1rtvv_4):hover ._Cell_1rtvv_7 {
|
|
1978
1875
|
background-color: hsl(var(--color-layer2-hsl));
|
|
1979
1876
|
}
|
|
1980
|
-
.
|
|
1877
|
+
._Wrap_1rtvv_1._RowClickable_true_1rtvv_4 ._Row_1rtvv_4._BodyRow_1rtvv_4:not(._DataNotFound_1rtvv_4):active ._Cell_1rtvv_7 {
|
|
1981
1878
|
background-color: hsl(var(--color-layer3-hsl));
|
|
1982
1879
|
}
|
|
1983
|
-
.
|
|
1880
|
+
._Wrap_1rtvv_1 ._Table_1rtvv_13 {
|
|
1984
1881
|
min-width: 100%;
|
|
1985
1882
|
border-collapse: separate;
|
|
1986
1883
|
border-spacing: 0px;
|
|
1987
1884
|
height: 100%;
|
|
1988
1885
|
border-radius: inherit;
|
|
1989
1886
|
}
|
|
1990
|
-
.
|
|
1887
|
+
._Wrap_1rtvv_1 ._Table_1rtvv_13 ._Row_1rtvv_4 {
|
|
1991
1888
|
border-radius: inherit;
|
|
1992
1889
|
}
|
|
1993
|
-
.
|
|
1890
|
+
._TableType_drag_1rtvv_24 * {
|
|
1994
1891
|
user-select: none;
|
|
1995
1892
|
-webkit-user-select: none;
|
|
1996
1893
|
}
|
|
1997
|
-
.
|
|
1894
|
+
._TableType_drag_1rtvv_24 ._DraggerOrigin_1rtvv_28 ._Cell_1rtvv_7 {
|
|
1998
1895
|
transition: var(--animation-time2);
|
|
1999
1896
|
background-color: hsl(var(--color-layer4-hsl));
|
|
2000
1897
|
opacity: 0.8;
|
|
2001
1898
|
pointer-events: none;
|
|
2002
1899
|
}
|
|
2003
|
-
.
|
|
1900
|
+
._TableType_drag_1rtvv_24 ._DragableButton_1rtvv_34 {
|
|
2004
1901
|
cursor: grab;
|
|
2005
1902
|
}
|
|
2006
|
-
.
|
|
1903
|
+
._TableType_drag_1rtvv_24 ._DragableButton_1rtvv_34:hover {
|
|
2007
1904
|
color: hsl(var(--color-theme-hsl));
|
|
2008
1905
|
}
|
|
2009
|
-
.
|
|
1906
|
+
._TableType_drag_1rtvv_24 ._DragableButton_1rtvv_34:active {
|
|
2010
1907
|
color: hsl(var(--color-theme-hsl));
|
|
2011
1908
|
}
|
|
2012
|
-
.
|
|
1909
|
+
._TableType_data_1rtvv_43 ._Console_1rtvv_43 {
|
|
2013
1910
|
width: 100%;
|
|
2014
1911
|
border-bottom: 1px solid var(--border-color-normal);
|
|
2015
1912
|
position: relative;
|
|
2016
1913
|
z-index: 2;
|
|
2017
1914
|
flex: none;
|
|
2018
1915
|
}
|
|
2019
|
-
.
|
|
1916
|
+
._TableType_data_1rtvv_43 ._Console_1rtvv_43 + ._TableBase_1rtvv_50 {
|
|
2020
1917
|
border-top-left-radius: 0;
|
|
2021
1918
|
border-top-right-radius: 0;
|
|
2022
1919
|
}
|
|
2023
|
-
.
|
|
1920
|
+
._TableType_data_1rtvv_43 ._TableBase_1rtvv_50 {
|
|
2024
1921
|
border-radius: inherit;
|
|
2025
1922
|
}
|
|
2026
|
-
.
|
|
1923
|
+
._TableType_data_1rtvv_43 ._TableBase_1rtvv_50 ._Table_1rtvv_13 {
|
|
2027
1924
|
border-radius: inherit;
|
|
2028
1925
|
}
|
|
2029
|
-
.
|
|
1926
|
+
._TableType_data_1rtvv_43 ._TableBase_1rtvv_50 ._Table_1rtvv_13 ._HeadRow_1rtvv_60 {
|
|
2030
1927
|
border-radius: inherit;
|
|
2031
1928
|
position: relative;
|
|
2032
1929
|
z-index: 2 !important;
|
|
2033
1930
|
min-width: 100%;
|
|
2034
1931
|
}
|
|
2035
|
-
.
|
|
1932
|
+
._TableType_data_1rtvv_43 ._TableBase_1rtvv_50 ._Table_1rtvv_13 ._HeadRow_1rtvv_60 ._Cell_1rtvv_7 ._FilterRegion_1rtvv_66 {
|
|
2036
1933
|
font-size: inherit;
|
|
2037
1934
|
}
|
|
2038
|
-
.
|
|
1935
|
+
._TableType_data_1rtvv_43 ._TableBase_1rtvv_50 ._Table_1rtvv_13 ._HeadRow_1rtvv_60 ._Cell_1rtvv_7 ._FilterRegion_1rtvv_66 ._Filtering_true_1rtvv_69 {
|
|
2039
1936
|
border: none;
|
|
2040
1937
|
background-color: hsl(var(--color-theme-hsl)) !important;
|
|
2041
1938
|
color: #fff !important;
|
|
2042
1939
|
box-shadow: 0 0 0 transparent inset, var(--shadow_style_1) var(--shadow_color_remark);
|
|
2043
1940
|
}
|
|
2044
|
-
.
|
|
1941
|
+
._TableType_data_1rtvv_43 ._TableBase_1rtvv_50 ._Table_1rtvv_13 ._BodyRow_1rtvv_4 {
|
|
2045
1942
|
position: relative;
|
|
2046
1943
|
z-index: 1;
|
|
2047
1944
|
}
|
|
2048
|
-
.
|
|
1945
|
+
._Cell_1rtvv_7 {
|
|
2049
1946
|
font-weight: normal;
|
|
2050
1947
|
}
|
|
2051
1948
|
|
package/dist/@styles/style.js
CHANGED
|
@@ -100,39 +100,25 @@ var f_sheet_module_default = {
|
|
|
100
100
|
|
|
101
101
|
// src/@styles/componentClasses/f_loader.module.scss
|
|
102
102
|
var f_loader_module_default = {
|
|
103
|
-
"Wrapper": "
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"Ld1": "_Ld1_1ha0b_141",
|
|
123
|
-
"Ld2": "_Ld2_1ha0b_144",
|
|
124
|
-
"Ld3": "_Ld3_1ha0b_147",
|
|
125
|
-
"Ld4": "_Ld4_1ha0b_150",
|
|
126
|
-
"MiniLoader": "_MiniLoader_1ha0b_168",
|
|
127
|
-
"Active_false": "_Active_false_1ha0b_171",
|
|
128
|
-
"Hide": "_Hide_1ha0b_174",
|
|
129
|
-
"Active": "_Active_1ha0b_108",
|
|
130
|
-
"Core": "_Core_1ha0b_184",
|
|
131
|
-
"spin": "_spin_1ha0b_1",
|
|
132
|
-
"SVG1": "_SVG1_1ha0b_192",
|
|
133
|
-
"loader": "_loader_1ha0b_1",
|
|
134
|
-
"loading": "_loading_1ha0b_1",
|
|
135
|
-
"SVG2": "_SVG2_1ha0b_199"
|
|
103
|
+
"Wrapper": "_Wrapper_11vvw_1",
|
|
104
|
+
"CornerLoader": "_CornerLoader_11vvw_17",
|
|
105
|
+
"Wrap": "_Wrap_11vvw_1",
|
|
106
|
+
"isActive": "_isActive_11vvw_28",
|
|
107
|
+
"ldAnm": "_ldAnm_11vvw_1",
|
|
108
|
+
"Ld1": "_Ld1_11vvw_34",
|
|
109
|
+
"Ld2": "_Ld2_11vvw_37",
|
|
110
|
+
"Ld3": "_Ld3_11vvw_40",
|
|
111
|
+
"Ld4": "_Ld4_11vvw_43",
|
|
112
|
+
"MiniLoader": "_MiniLoader_11vvw_61",
|
|
113
|
+
"Active_false": "_Active_false_11vvw_64",
|
|
114
|
+
"Hide": "_Hide_11vvw_67",
|
|
115
|
+
"Active": "_Active_11vvw_64",
|
|
116
|
+
"Core": "_Core_11vvw_77",
|
|
117
|
+
"spin": "_spin_11vvw_1",
|
|
118
|
+
"SVG1": "_SVG1_11vvw_85",
|
|
119
|
+
"loader": "_loader_11vvw_1",
|
|
120
|
+
"loading": "_loading_11vvw_1",
|
|
121
|
+
"SVG2": "_SVG2_11vvw_92"
|
|
136
122
|
};
|
|
137
123
|
|
|
138
124
|
// src/@styles/componentClasses/f_layout.module.scss
|
|
@@ -153,22 +139,22 @@ var f_layout_module_default = {
|
|
|
153
139
|
|
|
154
140
|
// src/@styles/componentClasses/f_table.module.scss
|
|
155
141
|
var f_table_module_default = {
|
|
156
|
-
"Wrap": "
|
|
157
|
-
"RowClickable_true": "
|
|
158
|
-
"Row": "
|
|
159
|
-
"BodyRow": "
|
|
160
|
-
"DataNotFound": "
|
|
161
|
-
"Cell": "
|
|
162
|
-
"Table": "
|
|
163
|
-
"TableType_drag": "
|
|
164
|
-
"DraggerOrigin": "
|
|
165
|
-
"DragableButton": "
|
|
166
|
-
"TableType_data": "
|
|
167
|
-
"Console": "
|
|
168
|
-
"TableBase": "
|
|
169
|
-
"HeadRow": "
|
|
170
|
-
"FilterRegion": "
|
|
171
|
-
"Filtering_true": "
|
|
142
|
+
"Wrap": "_Wrap_1rtvv_1",
|
|
143
|
+
"RowClickable_true": "_RowClickable_true_1rtvv_4",
|
|
144
|
+
"Row": "_Row_1rtvv_4",
|
|
145
|
+
"BodyRow": "_BodyRow_1rtvv_4",
|
|
146
|
+
"DataNotFound": "_DataNotFound_1rtvv_4",
|
|
147
|
+
"Cell": "_Cell_1rtvv_7",
|
|
148
|
+
"Table": "_Table_1rtvv_13",
|
|
149
|
+
"TableType_drag": "_TableType_drag_1rtvv_24",
|
|
150
|
+
"DraggerOrigin": "_DraggerOrigin_1rtvv_28",
|
|
151
|
+
"DragableButton": "_DragableButton_1rtvv_34",
|
|
152
|
+
"TableType_data": "_TableType_data_1rtvv_43",
|
|
153
|
+
"Console": "_Console_1rtvv_43",
|
|
154
|
+
"TableBase": "_TableBase_1rtvv_50",
|
|
155
|
+
"HeadRow": "_HeadRow_1rtvv_60",
|
|
156
|
+
"FilterRegion": "_FilterRegion_1rtvv_66",
|
|
157
|
+
"Filtering_true": "_Filtering_true_1rtvv_69"
|
|
172
158
|
};
|
|
173
159
|
|
|
174
160
|
// src/@styles/componentClasses/f_effect.module.scss
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as s,c as u,d as J}from"../chunk-VY3566IV.js";import
|
|
1
|
+
import{b as s,c as u,d as J}from"../chunk-VY3566IV.js";import o from"@mingoo/jsmin";import{Config as Le}from".";const t={toConcreteBorderRadius:l=>{let R=Le.get().roundness|0;return l=="1.tone.primary"?l=[0,2,3,4,5,5][R]:l=="2.tone.secondary"?l=[0,1,2,3,4,5][R]:l=="3.tone.tertiary"&&(l=[0,"1/3","2/3",1,2,3][R]),l},ev:l=>o.is.nullish(l),ClassNames:(l,R)=>{var Be,Te,Re,we,Pe,Ne,ke;let e=[],_e=R,{gap:n,display:C,position:g,overflow:f,fontColor:w,fontSize:x,fontWeight:i,backgroundColor:p,textAlign:_,textDecoration:m,boxShadow:U,margin:h,marginTop:r,marginRight:c,marginBottom:a,marginLeft:B,padding:T,paddingTop:N,paddingRight:k,paddingBottom:L,paddingLeft:z,top:V,right:Y,bottom:Z,left:ee,border:E,borderTop:S,borderRight:v,borderBottom:b,borderLeft:y,borderWidth:te,borderColor:re,borderStyle:se,borderRadius:F,borderTopLeftRadius:W,borderTopRightRadius:A,borderBottomLeftRadius:H,borderBottomRightRadius:j,flexSizing:ie,flexWrap:oe,flexType:ae,flexChilds:le,flexGrid:ne,horizontalAlign:pe,verticalAlign:de,transition:he,gridCenter:ue,gridCols:ge,maxHeight:fe,minHeight:me,maxWidth:ce,minWidth:Se,width:ve,height:be,unitHeight:ye,unitWidth:Ce,opacity:xe}=_e,ze=J(_e,["gap","display","position","overflow","fontColor","fontSize","fontWeight","backgroundColor","textAlign","textDecoration","boxShadow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderWidth","borderColor","borderStyle","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","flexSizing","flexWrap","flexType","flexChilds","flexGrid","horizontalAlign","verticalAlign","transition","gridCenter","gridCols","maxHeight","minHeight","maxWidth","minWidth","width","height","unitHeight","unitWidth","opacity"]);{if(t.ev(C)||e.push("dsp"+C),f){let d=o.flatArray(f);e.push("ovfl-x-"+d[0]),e.push("ovfl-y-"+(d[1]||d[0]))}t.ev(g)||e.push("ps"+g),t.ev(_)||e.push("txtalg"+_),t.ev(_)||e.push("txtdeco"+m),t.ev(w)||e.push("ftcl"+((Be=String(w))==null?void 0:Be.replace(/\./g,"_"))),t.ev(x)||e.push("ftsz"+((Te=String(x))==null?void 0:Te.replace(/\..*/,""))),t.ev(i)||e.push("ftwt"+(i==null?void 0:i.replace(/\..*/,""))),t.ev(p)||e.push("bgc"+((Re=String(p))==null?void 0:Re.replace(/\./g,"_"))),t.ev(U)||e.push("bs"+U);let $,I,D,G;o.is.exist(h)&&(o.is.array(h)?h.length==2?[$,I,D,G]=[...h,...h]:h.length==4&&([$,I,D,G]=h):$=I=D=G=h,r=r!=null?r:$,c=c!=null?c:I,a=a!=null?a:D,B=B!=null?B:G),t.ev(r)||e.push("mrgt"+r),t.ev(c)||e.push("mrgr"+c),t.ev(a)||e.push("mrgb"+a),t.ev(B)||e.push("mrgl"+B);let O,q,M,X;o.is.exist(T)&&(o.is.array(T)?T.length==2?[O,q,M,X]=[...T,...T]:T.length==4&&([O,q,M,X]=T):O=q=M=X=T,N=N!=null?N:O,k=k!=null?k:q,L=L!=null?L:M,z=z!=null?z:X),t.ev(N)||e.push("pdt"+N),t.ev(k)||e.push("pdr"+k),t.ev(L)||e.push("pdb"+L),t.ev(z)||e.push("pdl"+z),t.ev(V)||e.push("pstt"+V),t.ev(Y)||e.push("pstr"+Y),t.ev(Z)||e.push("pstb"+Z),t.ev(ee)||e.push("pstl"+ee);{o.is.exist(E)&&(S=S!=null?S:E,v=v!=null?v:E,b=b!=null?b:E,y=y!=null?y:E),o.is.boolean(S)&&(S=["unset","2.normal"][Number(S)]),o.is.boolean(v)&&(v=["unset","2.normal"][Number(v)]),o.is.boolean(b)&&(b=["unset","2.normal"][Number(b)]),o.is.boolean(y)&&(y=["unset","2.normal"][Number(y)]),t.ev(S)||e.push("b_t_ss"+((we=String(S))==null?void 0:we.replace(/\..*/,""))),t.ev(v)||e.push("b_r_ss"+((Pe=String(v))==null?void 0:Pe.replace(/\..*/,""))),t.ev(b)||e.push("b_b_ss"+((Ne=String(b))==null?void 0:Ne.replace(/\..*/,""))),t.ev(y)||e.push("b_l_ss"+((ke=String(y))==null?void 0:ke.replace(/\..*/,""))),o.is.exist(te)&&e.push("b_wth"+String(te)),o.is.exist(re)&&e.push("b_cl"+String(re)),o.is.exist(se)&&e.push("b_st"+String(se));{let d,P,K,Q;o.is.exist(F)&&(o.is.array(F)?F.length==4&&([d,P,Q,K]=F):d=P=K=Q=F,W=W!=null?W:d,A=A!=null?A:P,H=H!=null?H:K,j=j!=null?j:Q)}t.ev(W)||e.push("br_tl"+t.toConcreteBorderRadius(W)),t.ev(A)||e.push("br_tr"+t.toConcreteBorderRadius(A)),t.ev(H)||e.push("br_bl"+t.toConcreteBorderRadius(H)),t.ev(j)||e.push("br_br"+t.toConcreteBorderRadius(j))}if(t.ev(xe)||e.push("op"+xe),o.is.exist(n)){let d,P;o.is.array(n)?(d=n[0],P=n[1]):d=P=n,e.push("gapRow"+d,"gapCol"+P)}t.ev(ie)||e.push("flsz"+ie),t.ev(oe)||e.push("flwrp"+oe),t.ev(ae)||e.push("fltyp"+ae),t.ev(le)||e.push("flchld"+le),t.ev(ne)||e.push("flgrid"+ne),t.ev(de)||e.push("flvrt"+de),t.ev(pe)||e.push("flhrz"+pe),t.ev(ue)||e.push("grcnt"+ue),t.ev(ge)||e.push("grcol"+ge),t.ev(be)||e.push("hgt"+be),t.ev(ve)||e.push("wdt"+ve),t.ev(ye)||e.push("unthgt"+ye),t.ev(Ce)||e.push("untwdt"+Ce),t.ev(he)||e.push("trnst"+he),t.ev(fe)||e.push("maxh"+fe),t.ev(me)||e.push("minh"+me),t.ev(ce)||e.push("maxw"+ce),t.ev(Se)||e.push("minw"+Se)}return{others:ze,className:e.length?l+e.join(" "+l):""}}},We=l=>{let c=s({},l),{gradients:e,ssCardBox:n,ssSphere:C,ssSquare:g,ssPushable:f,ssAbsoluteCovered:w,ssTextEllipsis:x,flexCenter:i,flexNewLine:p,isLightFont:_,isBoldFont:m,isSemiBoldFont:U,isRounded:h}=c,r=J(c,["gradients","ssCardBox","ssSphere","ssSquare","ssPushable","ssAbsoluteCovered","ssTextEllipsis","flexCenter","flexNewLine","isLightFont","isBoldFont","isSemiBoldFont","isRounded"]);if(e){let{deg:a,colors:B}=e;r=u(s({},r),{freeCSS:u(s({},r.freeCSS),{background:`linear-gradient(${a}deg,${B.join(",")})`})})}if(n){n===!0&&(n="border");let a={backgroundColor:"layer.1",borderRadius:"1.tone.primary",boxShadow:"0.thin",freeCSS:{zIndex:1}};n=="border"?a.border=!0:n=="layer"?a.backgroundColor="layer.1":n=="cloud"?a.backgroundColor="cloud":n=="shadow"&&(a.boxShadow="0.normal"),["dim","dark"].includes(Le.get().darkMode)&&(a.boxShadow="1.remark"),r=u(s(s({},a),r),{freeCSS:s(s({},a.freeCSS),r.freeCSS),UnderBreakPointStyles:s(s({},a.UnderBreakPointStyles),r.UnderBreakPointStyles)})}return C&&(i=i!=null?i:!0,r=s({padding:0,unitWidth:C,unitHeight:C,borderRadius:"sphere",flexSizing:"none"},r)),g&&(i=i!=null?i:!0,r=s({padding:0,unitWidth:g,unitHeight:g,flexSizing:"none"},r)),!f||(r=u(s({transition:"middle"},r),{className:[r.className,"ssPushable"].join(" ")})),!w||(r=s({position:"absolute",top:0,left:0,right:0,bottom:0},r)),!x||(r=u(s({overflow:"hidden"},r),{freeCSS:s({whiteSpace:"nowrap",textOverflow:"ellipsis"},r.freeCSS)})),!p||(r=s({width:1,flexSizing:"none"},r)),!i||(r=s({display:"flex",horizontalAlign:"center",verticalAlign:"center"},r)),!_||(r=u(s({},r),{fontWeight:"1.light"})),!U||(r=u(s({},r),{fontWeight:"3.semiBold"})),!m||(r=u(s({},r),{fontWeight:"4.bold"})),!h||(r=u(s({},r),{borderRadius:"sphere"})),r},Fe=l=>{let _=We(l),{componentID:e,UnderBreakPointStyles:n={},className:C="",freeCSS:g={},ssEffectsOnActive:f,ssLastChildLossBorder:w}=_,x=J(_,["componentID","UnderBreakPointStyles","className","freeCSS","ssEffectsOnActive","ssLastChildLossBorder"]),i=[C];if(w&&i.push("ssLastChildLossBorder_"+w),f){f=o.flatArray(f);for(let m of f)i.push("eff_"+m,"eff_"+m.split(".")[0])}{let m=t.ClassNames("amotf_",x);i.push(m.className),x=m.others}n&&i.push(t.ClassNames("amotf_bp",n).className);let p=s({},x);return g&&(p.style=s(s({},g),p.style)),(e||p["data-component-id"])&&(p["data-component-id"]=p["data-component-id"]||e),i.length&&(p.className=i.join(" ").trim().replace(/%/ig,"P").replace(/\d+px/ig,"PIX").replace(/\s+/ig," ").replace(/\//ig,"_").replace(/\./ig,"-")),p};export{Fe as GenerateClassName,We as ReadStyleSet};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ReactElement
|
|
2
|
-
import $$ from '@mingoo/jsmin';
|
|
1
|
+
import { ReactElement } from '../@declaration';
|
|
3
2
|
import React from 'react';
|
|
4
3
|
export { React };
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'amotify-app': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
5
11
|
declare namespace LaunchReactApp {
|
|
6
12
|
type Input = {
|
|
7
|
-
|
|
8
|
-
baseElement: $$.Args;
|
|
9
|
-
reactElement: ReactElement;
|
|
13
|
+
children: ReactElement;
|
|
10
14
|
inlineCSS?: string;
|
|
15
|
+
isRootPage?: boolean;
|
|
11
16
|
originClassName?: string;
|
|
12
|
-
appearances?: {
|
|
13
|
-
roundness?: Roundness;
|
|
14
|
-
themeColor?: ThemeColor;
|
|
15
|
-
darkMode?: DarkMode;
|
|
16
|
-
};
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
declare const LaunchReactApp: (
|
|
19
|
+
declare const LaunchReactApp: (p: LaunchReactApp.Input) => import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export { LaunchReactApp, LaunchReactApp as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunk-VY3566IV.js";import{Fragment as
|
|
1
|
+
import"../chunk-VY3566IV.js";import{Fragment as g,jsx as e,jsxs as p}from"react/jsx-runtime";import{Config as r}from".";import m from"react";import s from"./useRecycle";import l from"../atoms/Box";import c from"../fn/Sheet";import f from"../fn/Snackbar";import R from"../fn/Loader";import a from"../fn/Effect";const i=t=>{var o;let n=s.set("RootViewController_"+r.get().sessionUID);return p(g,{children:[e("style",{children:t.inlineCSS}),p("amotify-app",{id:"appRoot_"+r.get().sessionUID,children:[e(a.Pudding.Wrapper,{}),e(a.Ripple.Wrapper,{}),e(R.Wrapper,{}),e(f.Wrapper,{}),e(c.Wrapper,{}),e(l,{className:["AMOTIFY_be","AMOTIFY_be_root",(o=t.isRootPage)==null||o?"AMOTIFY_be_origin":"",t.originClassName||""].join(" "),children:t.children},n)]})]})};export{i as LaunchReactApp,m as React,i as default};
|
package/dist/@utils/config.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ declare namespace Config {
|
|
|
25
25
|
get(): config;
|
|
26
26
|
set(value: config): void;
|
|
27
27
|
update: {
|
|
28
|
-
appRoot(value: HTMLElement | ShadowRoot): void;
|
|
29
28
|
themeColor(value: ThemeColor): void;
|
|
30
29
|
darkMode(value: DarkMode): void;
|
|
31
30
|
roundness(value: Roundness): void;
|
|
@@ -36,6 +35,12 @@ declare namespace Config {
|
|
|
36
35
|
viewWidth?: number;
|
|
37
36
|
}): void;
|
|
38
37
|
};
|
|
38
|
+
launch(p: {
|
|
39
|
+
appRoot?: HTMLElement | ShadowRoot;
|
|
40
|
+
roundness?: Roundness;
|
|
41
|
+
themeColor?: ThemeColor;
|
|
42
|
+
darkMode?: DarkMode;
|
|
43
|
+
}): void;
|
|
39
44
|
restart(): void;
|
|
40
45
|
};
|
|
41
46
|
}
|
package/dist/@utils/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as
|
|
1
|
+
import{b as s,c as h}from"../chunk-VY3566IV.js";import r from"@mingoo/jsmin";import{useRecycle as w}from"./useRecycle";import{ColorObjects as f,SetThemeColorTag as u}from"./color";let n={sessionUID:r.uuid.gen(),appRoot:null,darkMode:"light",themeColor:"comun",roundness:2,isSystemDarkmode:()=>window.matchMedia("(prefers-color-scheme: dark)").matches==!0,deviceIs:"",browserIs:"",isPhone:!1,isTouchDevice:!1,isIOS:!1,screen:{breakpoint:834,phonepoint:690,viewHeight:0,viewWidth:0,isBreakpoint:(e=834)=>window.innerWidth<=e,isPhonepoint:(e=690)=>window.innerWidth<=e}};const o={get:()=>n,set:e=>{n=s(s({},n),e)},update:{themeColor:e=>{if(f.find(d=>d.key==e)||(e="comun"),e==o.get().themeColor)return;o.set(h(s({},o.get()),{themeColor:e}));let t=r(document.body);t.removeClass(t.findClass(/^bdsTC/)).addClass("bdsTC_"+e).callback(()=>{u()}),o.restart()},darkMode:e=>{if(["light","dark","dim","auto"].includes(e)||(e="light"),e==o.get().darkMode)return;let t=e=="auto"?o.get().isSystemDarkmode()?"dark":"light":e;o.set(h(s({},o.get()),{darkMode:t}));let d=r(document.body);d.removeClass(d.findClass(/^bdsDM/)).addClass("bdsDM_"+t),o.restart()},roundness:e=>{e>=0&&e<=5||(e=2),e!=o.get().roundness&&(o.set(h(s({},o.get()),{roundness:e})),o.restart())},screen:e=>{o.get().screen=s(s({},o.get().screen),e)}},launch:e=>{const t=window.navigator.userAgent.toLowerCase(),d=t.indexOf("windows nt")!==-1?"windows":t.indexOf("android")!==-1?"android":t.indexOf("iphone")!==-1?"iPhone":t.indexOf("ipad")>-1||t.indexOf("macintosh")>-1&&"ontouchend"in document?"iPad":t.indexOf("mac os x")!==-1?"macOSX":"undefined",g=t.indexOf("msie")!==-1||t.indexOf("trident")!==-1?"ie":t.indexOf("edge")!==-1?"edge":t.indexOf("chrome")!==-1?"chrome":t.indexOf("safari")!==-1?"safari":t.indexOf("firefox")!==-1?"firefox":t.indexOf("opera")!==-1||t.indexOf("opr")!==-1?"opera":"undefined";n.appRoot=e.appRoot||document.body,r.is.exist(e.roundness)&&o.update.roundness(e.roundness),r.is.exist(e.themeColor)&&o.update.themeColor(e.themeColor),r.is.exist(e.darkMode)&&o.update.darkMode(e.darkMode),n.deviceIs=d,n.browserIs=g,n.isPhone=["Android","iPhone"].includes(d),n.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,n.isIOS=["iPhone","iPad"].includes(d),n.isTouchDevice=window.ontouchstart!==void 0&&0<navigator.maxTouchPoints,n.isIOS=["iPhone","iPad"].includes(d),n.screen={breakpoint:834,phonepoint:690,viewHeight:window.innerHeight,viewWidth:window.innerWidth,isBreakpoint:(i=834)=>window.innerWidth<=i,isPhonepoint:(i=690)=>window.innerWidth<=i},r(document.body).addClass(["AMOTIFY_be_body","usrDevice_"+o.get().deviceIs,"bdsDM_"+o.get().darkMode,"bdsTC_"+o.get().themeColor]),r(window).addEvent({eventType:"load",eventID:"windowLoad",callback:()=>{let i=document.body.style,a=r(document.body),m=Number(a.getStyleProperty("--topNavHeight").removeLetters()||0),c=Number(a.getStyleProperty("--footerNavHeight").removeLetters()||0),p=window.innerHeight-m-c;i.setProperty("--viewHeight",window.innerHeight+"px"),i.setProperty("--contentHeight",p+"px")}}).addEvent({eventType:"resize",eventID:"getDeviceInfo",callback:()=>{o.update.screen({viewHeight:window.innerHeight,viewWidth:window.innerWidth});let i=r(document.body),a=window.innerHeight,m=Number(i.getStyleProperty("--topNavHeight").removeLetters()),c=Number(i.getStyleProperty("--footerNavHeight").removeLetters()),l=a-m-c;i.setStyleProperty("--viewHeight",a+"px").setStyleProperty("--sideNavHeight",l+"px").setStyleProperty("--contentHeight",l+"px")}}),u()},restart:()=>{w.do("RootViewController_"+o.get().sessionUID)}};export{o as Config,o as default};
|
package/dist/@utils/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ export * from '../@declaration';
|
|
|
2
2
|
export * from './config';
|
|
3
3
|
export * from './useStore';
|
|
4
4
|
export * from './useRecycle';
|
|
5
|
+
export * from './useRouterEffect';
|
|
5
6
|
export * from './collectForm';
|
|
6
|
-
export * from './
|
|
7
|
+
export * from './pageRouter';
|
|
7
8
|
export * from './color';
|
|
8
9
|
export * from './GenerateClassName';
|
|
9
10
|
export * from './LaunchReactApp';
|
|
10
11
|
export * from './getElement';
|
|
11
|
-
export * from './fin';
|
package/dist/@utils/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export*from"../@declaration";export*from"./config";export*from"./useStore";export*from"./useRecycle";export*from"./
|
|
1
|
+
export*from"../@declaration";export*from"./config";export*from"./useStore";export*from"./useRecycle";export*from"./useRouterEffect";export*from"./collectForm";export*from"./pageRouter";export*from"./color";export*from"./GenerateClassName";export*from"./LaunchReactApp";export*from"./getElement";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare namespace pageRouter {
|
|
2
|
+
type Methods = {
|
|
3
|
+
open(url: string): void;
|
|
4
|
+
pushSync(url: string): void;
|
|
5
|
+
pushAsync(url: string): void;
|
|
6
|
+
push(url: string, newTab?: boolean): void;
|
|
7
|
+
back(): void;
|
|
8
|
+
__push(url: string): void;
|
|
9
|
+
__back(): void;
|
|
10
|
+
setPushEffect(effect: (url: string) => void): void;
|
|
11
|
+
setBackEffect(effect: () => void): void;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
declare const pageRouter: pageRouter.Methods;
|
|
15
|
+
export { pageRouter, pageRouter as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../chunk-VY3566IV.js";const s={open:e=>{window.open(e)},pushSync:e=>{window.location.href=e},push:(e,t)=>{if(t){s.open(e);return}s.pushAsync(e)},pushAsync:e=>{if(e.match(/https?:\/\//)){s.pushSync(e);return}s.__push(e)},back:()=>{s.__back()},__push:e=>{},__back:()=>{},setPushEffect:e=>{s.__push=e},setBackEffect:e=>{s.__back=e}};export{s as default,s as pageRouter};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunk-VY3566IV.js";import l from"@mingoo/jsmin";import s from"./useStore";import{useState as
|
|
1
|
+
import"../chunk-VY3566IV.js";import l from"@mingoo/jsmin";import s from"./useStore";import{useState as o}from"react";const u={set:r=>{var t;let[e]=o(l.uuid.gen()),[c,y]=o(l.uuid.gen());return s.set({["RecycleKey_"+e]:()=>{y(l.uuid.gen())}}),s.update({["RecycleKeys_"+r]:{keys:[...((t=s.get("RecycleKeys_"+r))==null?void 0:t.keys)||[],e]}}),c},do:r=>{var c;let e=((c=s.get("RecycleKeys_"+r))==null?void 0:c.keys)||[];if(e.length)for(let y of e){let t=s.get("RecycleKey_"+y);t&&t()}}};export{u as default,u as useRecycle};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare namespace UseRouterEffect {
|
|
2
|
+
type Input = {
|
|
3
|
+
pathname: string;
|
|
4
|
+
beforeCB?: {
|
|
5
|
+
(pathName: string): void;
|
|
6
|
+
};
|
|
7
|
+
afterCB?: {
|
|
8
|
+
(pathName: string): void;
|
|
9
|
+
};
|
|
10
|
+
afterFirstCB?: {
|
|
11
|
+
(pathName: string): void;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
declare const useRouterEffect: (p: UseRouterEffect.Input) => void;
|
|
16
|
+
export { useRouterEffect };
|