@sunggang/ui-lib 0.3.43 → 0.3.45
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/index.esm.css +0 -188
- package/index.esm2.js +33 -12
- package/package.json +1 -1
package/index.esm.css
CHANGED
|
@@ -574,58 +574,35 @@ video {
|
|
|
574
574
|
color: hsl(var(--foreground));
|
|
575
575
|
font-feature-settings: 'rlig' 1, 'calt' 1;
|
|
576
576
|
}
|
|
577
|
-
.\!container {
|
|
578
|
-
width: 100% !important;
|
|
579
|
-
}
|
|
580
577
|
.container {
|
|
581
578
|
width: 100%;
|
|
582
579
|
}
|
|
583
580
|
@media (min-width: 640px) {
|
|
584
581
|
|
|
585
|
-
.\!container {
|
|
586
|
-
max-width: 640px !important;
|
|
587
|
-
}
|
|
588
|
-
|
|
589
582
|
.container {
|
|
590
583
|
max-width: 640px;
|
|
591
584
|
}
|
|
592
585
|
}
|
|
593
586
|
@media (min-width: 768px) {
|
|
594
587
|
|
|
595
|
-
.\!container {
|
|
596
|
-
max-width: 768px !important;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
588
|
.container {
|
|
600
589
|
max-width: 768px;
|
|
601
590
|
}
|
|
602
591
|
}
|
|
603
592
|
@media (min-width: 1024px) {
|
|
604
593
|
|
|
605
|
-
.\!container {
|
|
606
|
-
max-width: 1024px !important;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
594
|
.container {
|
|
610
595
|
max-width: 1024px;
|
|
611
596
|
}
|
|
612
597
|
}
|
|
613
598
|
@media (min-width: 1280px) {
|
|
614
599
|
|
|
615
|
-
.\!container {
|
|
616
|
-
max-width: 1280px !important;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
600
|
.container {
|
|
620
601
|
max-width: 1280px;
|
|
621
602
|
}
|
|
622
603
|
}
|
|
623
604
|
@media (min-width: 1536px) {
|
|
624
605
|
|
|
625
|
-
.\!container {
|
|
626
|
-
max-width: 1536px !important;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
606
|
.container {
|
|
630
607
|
max-width: 1536px;
|
|
631
608
|
}
|
|
@@ -636,9 +613,6 @@ video {
|
|
|
636
613
|
.pointer-events-auto {
|
|
637
614
|
pointer-events: auto;
|
|
638
615
|
}
|
|
639
|
-
.\!visible {
|
|
640
|
-
visibility: visible !important;
|
|
641
|
-
}
|
|
642
616
|
.visible {
|
|
643
617
|
visibility: visible;
|
|
644
618
|
}
|
|
@@ -651,24 +625,15 @@ video {
|
|
|
651
625
|
.static {
|
|
652
626
|
position: static;
|
|
653
627
|
}
|
|
654
|
-
.\!fixed {
|
|
655
|
-
position: fixed !important;
|
|
656
|
-
}
|
|
657
628
|
.fixed {
|
|
658
629
|
position: fixed;
|
|
659
630
|
}
|
|
660
631
|
.absolute {
|
|
661
632
|
position: absolute;
|
|
662
633
|
}
|
|
663
|
-
.\!relative {
|
|
664
|
-
position: relative !important;
|
|
665
|
-
}
|
|
666
634
|
.relative {
|
|
667
635
|
position: relative;
|
|
668
636
|
}
|
|
669
|
-
.sticky {
|
|
670
|
-
position: sticky;
|
|
671
|
-
}
|
|
672
637
|
.inset-0 {
|
|
673
638
|
inset: 0px;
|
|
674
639
|
}
|
|
@@ -731,9 +696,6 @@ video {
|
|
|
731
696
|
.top-\[72px\] {
|
|
732
697
|
top: 72px;
|
|
733
698
|
}
|
|
734
|
-
.isolate {
|
|
735
|
-
isolation: isolate;
|
|
736
|
-
}
|
|
737
699
|
.z-10 {
|
|
738
700
|
z-index: 10;
|
|
739
701
|
}
|
|
@@ -749,9 +711,6 @@ video {
|
|
|
749
711
|
.z-\[9999\] {
|
|
750
712
|
z-index: 9999;
|
|
751
713
|
}
|
|
752
|
-
.m-1 {
|
|
753
|
-
margin: 0.25rem;
|
|
754
|
-
}
|
|
755
714
|
.m-4 {
|
|
756
715
|
margin: 1rem;
|
|
757
716
|
}
|
|
@@ -836,9 +795,6 @@ video {
|
|
|
836
795
|
.mt-5 {
|
|
837
796
|
margin-top: 1.25rem;
|
|
838
797
|
}
|
|
839
|
-
.\!block {
|
|
840
|
-
display: block !important;
|
|
841
|
-
}
|
|
842
798
|
.block {
|
|
843
799
|
display: block;
|
|
844
800
|
}
|
|
@@ -854,42 +810,12 @@ video {
|
|
|
854
810
|
.inline-flex {
|
|
855
811
|
display: inline-flex;
|
|
856
812
|
}
|
|
857
|
-
.\!table {
|
|
858
|
-
display: table !important;
|
|
859
|
-
}
|
|
860
813
|
.table {
|
|
861
814
|
display: table;
|
|
862
815
|
}
|
|
863
|
-
.inline-table {
|
|
864
|
-
display: inline-table;
|
|
865
|
-
}
|
|
866
|
-
.table-caption {
|
|
867
|
-
display: table-caption;
|
|
868
|
-
}
|
|
869
|
-
.table-cell {
|
|
870
|
-
display: table-cell;
|
|
871
|
-
}
|
|
872
|
-
.flow-root {
|
|
873
|
-
display: flow-root;
|
|
874
|
-
}
|
|
875
|
-
.\!grid {
|
|
876
|
-
display: grid !important;
|
|
877
|
-
}
|
|
878
816
|
.grid {
|
|
879
817
|
display: grid;
|
|
880
818
|
}
|
|
881
|
-
.inline-grid {
|
|
882
|
-
display: inline-grid;
|
|
883
|
-
}
|
|
884
|
-
.\!contents {
|
|
885
|
-
display: contents !important;
|
|
886
|
-
}
|
|
887
|
-
.contents {
|
|
888
|
-
display: contents;
|
|
889
|
-
}
|
|
890
|
-
.list-item {
|
|
891
|
-
display: list-item;
|
|
892
|
-
}
|
|
893
819
|
.hidden {
|
|
894
820
|
display: none;
|
|
895
821
|
}
|
|
@@ -1103,18 +1029,9 @@ video {
|
|
|
1103
1029
|
.flex-none {
|
|
1104
1030
|
flex: none;
|
|
1105
1031
|
}
|
|
1106
|
-
.flex-shrink {
|
|
1107
|
-
flex-shrink: 1;
|
|
1108
|
-
}
|
|
1109
|
-
.shrink {
|
|
1110
|
-
flex-shrink: 1;
|
|
1111
|
-
}
|
|
1112
1032
|
.shrink-0 {
|
|
1113
1033
|
flex-shrink: 0;
|
|
1114
1034
|
}
|
|
1115
|
-
.flex-grow {
|
|
1116
|
-
flex-grow: 1;
|
|
1117
|
-
}
|
|
1118
1035
|
.grow {
|
|
1119
1036
|
flex-grow: 1;
|
|
1120
1037
|
}
|
|
@@ -1155,9 +1072,6 @@ video {
|
|
|
1155
1072
|
--tw-rotate: 90deg;
|
|
1156
1073
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1157
1074
|
}
|
|
1158
|
-
.\!transform {
|
|
1159
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
|
|
1160
|
-
}
|
|
1161
1075
|
.transform {
|
|
1162
1076
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1163
1077
|
}
|
|
@@ -1184,11 +1098,6 @@ video {
|
|
|
1184
1098
|
-moz-user-select: none;
|
|
1185
1099
|
user-select: none;
|
|
1186
1100
|
}
|
|
1187
|
-
.select-all {
|
|
1188
|
-
-webkit-user-select: all;
|
|
1189
|
-
-moz-user-select: all;
|
|
1190
|
-
user-select: all;
|
|
1191
|
-
}
|
|
1192
1101
|
.resize {
|
|
1193
1102
|
resize: both;
|
|
1194
1103
|
}
|
|
@@ -1413,9 +1322,6 @@ video {
|
|
|
1413
1322
|
.border-\[\#ffffff33\] {
|
|
1414
1323
|
border-color: #ffffff33;
|
|
1415
1324
|
}
|
|
1416
|
-
.border-\[top\2c left\2c right\2c bottom\] {
|
|
1417
|
-
border-color: top,left,right,bottom;
|
|
1418
|
-
}
|
|
1419
1325
|
.border-gray-200 {
|
|
1420
1326
|
--tw-border-opacity: 1;
|
|
1421
1327
|
border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
|
|
@@ -1812,9 +1718,6 @@ video {
|
|
|
1812
1718
|
.text-right {
|
|
1813
1719
|
text-align: right;
|
|
1814
1720
|
}
|
|
1815
|
-
.text-justify {
|
|
1816
|
-
text-align: justify;
|
|
1817
|
-
}
|
|
1818
1721
|
.indent-1 {
|
|
1819
1722
|
text-indent: 0.25rem;
|
|
1820
1723
|
}
|
|
@@ -1863,9 +1766,6 @@ video {
|
|
|
1863
1766
|
.font-bold {
|
|
1864
1767
|
font-weight: 700;
|
|
1865
1768
|
}
|
|
1866
|
-
.font-light {
|
|
1867
|
-
font-weight: 300;
|
|
1868
|
-
}
|
|
1869
1769
|
.font-medium {
|
|
1870
1770
|
font-weight: 500;
|
|
1871
1771
|
}
|
|
@@ -1887,10 +1787,6 @@ video {
|
|
|
1887
1787
|
.italic {
|
|
1888
1788
|
font-style: italic;
|
|
1889
1789
|
}
|
|
1890
|
-
.ordinal {
|
|
1891
|
-
--tw-ordinal: ordinal;
|
|
1892
|
-
font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
|
|
1893
|
-
}
|
|
1894
1790
|
.tracking-tight {
|
|
1895
1791
|
letter-spacing: -0.025em;
|
|
1896
1792
|
}
|
|
@@ -2102,23 +1998,12 @@ video {
|
|
|
2102
1998
|
.underline {
|
|
2103
1999
|
text-decoration-line: underline;
|
|
2104
2000
|
}
|
|
2105
|
-
.overline {
|
|
2106
|
-
text-decoration-line: overline;
|
|
2107
|
-
}
|
|
2108
2001
|
.line-through {
|
|
2109
2002
|
text-decoration-line: line-through;
|
|
2110
2003
|
}
|
|
2111
2004
|
.underline-offset-4 {
|
|
2112
2005
|
text-underline-offset: 4px;
|
|
2113
2006
|
}
|
|
2114
|
-
.antialiased {
|
|
2115
|
-
-webkit-font-smoothing: antialiased;
|
|
2116
|
-
-moz-osx-font-smoothing: grayscale;
|
|
2117
|
-
}
|
|
2118
|
-
.subpixel-antialiased {
|
|
2119
|
-
-webkit-font-smoothing: auto;
|
|
2120
|
-
-moz-osx-font-smoothing: auto;
|
|
2121
|
-
}
|
|
2122
2007
|
.opacity-0 {
|
|
2123
2008
|
opacity: 0;
|
|
2124
2009
|
}
|
|
@@ -2206,28 +2091,9 @@ video {
|
|
|
2206
2091
|
--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
|
|
2207
2092
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2208
2093
|
}
|
|
2209
|
-
.grayscale {
|
|
2210
|
-
--tw-grayscale: grayscale(100%);
|
|
2211
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2212
|
-
}
|
|
2213
|
-
.invert {
|
|
2214
|
-
--tw-invert: invert(100%);
|
|
2215
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2216
|
-
}
|
|
2217
|
-
.sepia {
|
|
2218
|
-
--tw-sepia: sepia(100%);
|
|
2219
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2220
|
-
}
|
|
2221
|
-
.\!filter {
|
|
2222
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
|
|
2223
|
-
}
|
|
2224
2094
|
.filter {
|
|
2225
2095
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2226
2096
|
}
|
|
2227
|
-
.backdrop-filter {
|
|
2228
|
-
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
2229
|
-
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
2230
|
-
}
|
|
2231
2097
|
.transition {
|
|
2232
2098
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
2233
2099
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
@@ -2267,9 +2133,6 @@ video {
|
|
|
2267
2133
|
.duration-500 {
|
|
2268
2134
|
transition-duration: 500ms;
|
|
2269
2135
|
}
|
|
2270
|
-
.ease-in {
|
|
2271
|
-
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
2272
|
-
}
|
|
2273
2136
|
.ease-in-out {
|
|
2274
2137
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2275
2138
|
}
|
|
@@ -2290,12 +2153,6 @@ video {
|
|
|
2290
2153
|
transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
|
|
2291
2154
|
}
|
|
2292
2155
|
}
|
|
2293
|
-
.zoom-in {
|
|
2294
|
-
--tw-enter-scale: 0;
|
|
2295
|
-
}
|
|
2296
|
-
.zoom-out {
|
|
2297
|
-
--tw-exit-scale: 0;
|
|
2298
|
-
}
|
|
2299
2156
|
.duration-1000 {
|
|
2300
2157
|
animation-duration: 1000ms;
|
|
2301
2158
|
}
|
|
@@ -2308,57 +2165,12 @@ video {
|
|
|
2308
2165
|
.duration-500 {
|
|
2309
2166
|
animation-duration: 500ms;
|
|
2310
2167
|
}
|
|
2311
|
-
.ease-in {
|
|
2312
|
-
animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
2313
|
-
}
|
|
2314
2168
|
.ease-in-out {
|
|
2315
2169
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2316
2170
|
}
|
|
2317
2171
|
.ease-out {
|
|
2318
2172
|
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
2319
2173
|
}
|
|
2320
|
-
.\!running {
|
|
2321
|
-
animation-play-state: running !important;
|
|
2322
|
-
}
|
|
2323
|
-
.running {
|
|
2324
|
-
animation-play-state: running;
|
|
2325
|
-
}
|
|
2326
|
-
.paused {
|
|
2327
|
-
animation-play-state: paused;
|
|
2328
|
-
}
|
|
2329
|
-
.\[a-zA-Z0-9\:\\\\-\\\\\._\$\] {
|
|
2330
|
-
a-z-a--z0-9: \\-\\. $;
|
|
2331
|
-
}
|
|
2332
|
-
.\[hash\:base64\] {
|
|
2333
|
-
hash: base64;
|
|
2334
|
-
}
|
|
2335
|
-
.\[key\:string\] {
|
|
2336
|
-
key: string;
|
|
2337
|
-
}
|
|
2338
|
-
.\[module\:ckbox\/ckbox\~CKBoxConfig\#assetsOrigin\] {
|
|
2339
|
-
module: ckbox/ckbox~CKBoxConfig#assetsOrigin;
|
|
2340
|
-
}
|
|
2341
|
-
.\[module\:ckbox\/ckbox\~CKBoxConfig\#defaultUploadCategories\] {
|
|
2342
|
-
module: ckbox/ckbox~CKBoxConfig#defaultUploadCategories;
|
|
2343
|
-
}
|
|
2344
|
-
.\[module\:ckbox\/ckbox\~CKBoxConfig\#ignoreDataId\] {
|
|
2345
|
-
module: ckbox/ckbox~CKBoxConfig#ignoreDataId;
|
|
2346
|
-
}
|
|
2347
|
-
.\[module\:ckbox\/ckbox\~CKBoxConfig\#language\] {
|
|
2348
|
-
module: ckbox/ckbox~CKBoxConfig#language;
|
|
2349
|
-
}
|
|
2350
|
-
.\[module\:ckbox\/ckbox\~CKBoxConfig\#serviceOrigin\] {
|
|
2351
|
-
module: ckbox/ckbox~CKBoxConfig#serviceOrigin;
|
|
2352
|
-
}
|
|
2353
|
-
.\[module\:media-embed\/mediaembed\~MediaEmbedConfig\#elementName\] {
|
|
2354
|
-
module: media-embed/mediaembed~MediaEmbedConfig#elementName;
|
|
2355
|
-
}
|
|
2356
|
-
.\[module\:media-embed\/mediaembed\~MediaEmbedConfig\#previewsInData\=false\] {
|
|
2357
|
-
module: media-embed/mediaembed~MediaEmbedConfig#previewsInData=false;
|
|
2358
|
-
}
|
|
2359
|
-
.\[module\:ui\/template\~TemplateBinding\#callback\] {
|
|
2360
|
-
module: ui/template~TemplateBinding#callback;
|
|
2361
|
-
}
|
|
2362
2174
|
|
|
2363
2175
|
/* gary */
|
|
2364
2176
|
|
package/index.esm2.js
CHANGED
|
@@ -78396,6 +78396,7 @@ var LiffProvider = function(param) {
|
|
|
78396
78396
|
var _useState4 = _sliced_to_array(useState(null), 2), userInfo = _useState4[0], setUserInfo = _useState4[1];
|
|
78397
78397
|
var _useState5 = _sliced_to_array(useState(null), 2), isFriendship = _useState5[0], setFriendship = _useState5[1];
|
|
78398
78398
|
var _useState6 = _sliced_to_array(useState(null), 2), loginType = _useState6[0], setLoginType = _useState6[1];
|
|
78399
|
+
var _useState7 = _sliced_to_array(useState(null), 2), queryToken = _useState7[0], setQueryToken = _useState7[1];
|
|
78399
78400
|
var fetchMemberInfo = function() {
|
|
78400
78401
|
var _ref = _async_to_generator(function(token) {
|
|
78401
78402
|
var response, err;
|
|
@@ -78856,14 +78857,32 @@ var LiffProvider = function(param) {
|
|
|
78856
78857
|
}), [
|
|
78857
78858
|
liffObject
|
|
78858
78859
|
]);
|
|
78860
|
+
var searchParams = typeof window !== "undefined" ? new URLSearchParams(window.location.search) : null;
|
|
78859
78861
|
// 客戶端初始化 LIFF
|
|
78860
78862
|
useEffect(function() {
|
|
78861
78863
|
var checkAndInitialize = function() {
|
|
78862
78864
|
var _ref = _async_to_generator(function() {
|
|
78863
|
-
var loginStore, jwtToken, _parsedStore_data, _parsedStore_state, parsedStore,
|
|
78865
|
+
var tokenFromQuery, isValid, loginStore, jwtToken, _parsedStore_data, _parsedStore_state, parsedStore, isValid1, _tmp;
|
|
78864
78866
|
return _ts_generator(this, function(_state) {
|
|
78865
78867
|
switch(_state.label){
|
|
78866
78868
|
case 0:
|
|
78869
|
+
tokenFromQuery = searchParams === null || searchParams === void 0 ? void 0 : searchParams.get("token");
|
|
78870
|
+
if (!tokenFromQuery) return [
|
|
78871
|
+
3,
|
|
78872
|
+
2
|
|
78873
|
+
];
|
|
78874
|
+
setQueryToken(tokenFromQuery);
|
|
78875
|
+
return [
|
|
78876
|
+
4,
|
|
78877
|
+
checkTokenFunc(tokenFromQuery)
|
|
78878
|
+
];
|
|
78879
|
+
case 1:
|
|
78880
|
+
isValid = _state.sent();
|
|
78881
|
+
if (isValid) return [
|
|
78882
|
+
2
|
|
78883
|
+
];
|
|
78884
|
+
_state.label = 2;
|
|
78885
|
+
case 2:
|
|
78867
78886
|
loginStore = window.localStorage.getItem(localStorageKey) || loginData;
|
|
78868
78887
|
jwtToken = "";
|
|
78869
78888
|
if (loginStore) {
|
|
@@ -78877,28 +78896,28 @@ var LiffProvider = function(param) {
|
|
|
78877
78896
|
}
|
|
78878
78897
|
if (!jwtToken) return [
|
|
78879
78898
|
3,
|
|
78880
|
-
|
|
78899
|
+
4
|
|
78881
78900
|
];
|
|
78882
78901
|
return [
|
|
78883
78902
|
4,
|
|
78884
78903
|
checkTokenFunc(jwtToken)
|
|
78885
78904
|
];
|
|
78886
|
-
case
|
|
78905
|
+
case 3:
|
|
78887
78906
|
_tmp = _state.sent();
|
|
78888
78907
|
return [
|
|
78889
78908
|
3,
|
|
78890
|
-
|
|
78909
|
+
5
|
|
78891
78910
|
];
|
|
78892
|
-
case
|
|
78911
|
+
case 4:
|
|
78893
78912
|
_tmp = false;
|
|
78894
|
-
_state.label =
|
|
78895
|
-
case
|
|
78896
|
-
|
|
78913
|
+
_state.label = 5;
|
|
78914
|
+
case 5:
|
|
78915
|
+
isValid1 = _tmp;
|
|
78897
78916
|
return [
|
|
78898
78917
|
4,
|
|
78899
|
-
initializeLiff(
|
|
78918
|
+
initializeLiff(isValid1)
|
|
78900
78919
|
];
|
|
78901
|
-
case
|
|
78920
|
+
case 6:
|
|
78902
78921
|
_state.sent();
|
|
78903
78922
|
return [
|
|
78904
78923
|
2
|
|
@@ -78925,7 +78944,8 @@ var LiffProvider = function(param) {
|
|
|
78925
78944
|
isFriendship: isFriendship,
|
|
78926
78945
|
ensureLiffTokenValid: ensureLiffTokenValid,
|
|
78927
78946
|
accountLogin: accountLogin,
|
|
78928
|
-
loginType: loginType
|
|
78947
|
+
loginType: loginType,
|
|
78948
|
+
queryToken: queryToken
|
|
78929
78949
|
};
|
|
78930
78950
|
}, [
|
|
78931
78951
|
liffObject,
|
|
@@ -78936,7 +78956,8 @@ var LiffProvider = function(param) {
|
|
|
78936
78956
|
isFriendship,
|
|
78937
78957
|
ensureLiffTokenValid,
|
|
78938
78958
|
accountLogin,
|
|
78939
|
-
loginType
|
|
78959
|
+
loginType,
|
|
78960
|
+
queryToken
|
|
78940
78961
|
]);
|
|
78941
78962
|
return /*#__PURE__*/ jsx(LiffContext.Provider, {
|
|
78942
78963
|
value: contextValue,
|