fan-standard-comp 3.2.1 → 3.2.3

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.
Files changed (293) hide show
  1. package/Readme.md +2 -32
  2. package/dist/09cd8e9be7081f2166444cce393fe968.svg +54 -0
  3. package/dist/e3378c145b7db195ad068735e15fb28a.svg +165 -0
  4. package/dist/fan-standard-comp.umd.js +183 -439
  5. package/dist/fonts/iconfont.ttf +0 -0
  6. package/dist/fonts/iconfont.woff +0 -0
  7. package/dist/fonts/lg.ttf +0 -0
  8. package/dist/fonts/lg.woff +0 -0
  9. package/dist/fonts/lg.woff2 +0 -0
  10. package/es/ButtonGroup/ButtonList.d.ts +2 -1
  11. package/es/ButtonGroup/ButtonMenu.d.ts +2 -1
  12. package/es/ButtonGroup/PopConfirmTitle.js +5 -5
  13. package/es/ButtonGroup/index.d.ts +3 -1
  14. package/es/ButtonGroup/index.js +146 -180
  15. package/es/ButtonGroup/style/index.less +4 -1
  16. package/es/CalendarCoordPicker/CalendarMonthPicker.d.ts +5 -0
  17. package/es/CalendarCoordPicker/CalendarMonthPicker.js +26 -0
  18. package/es/CalendarCoordPicker/index.d.ts +8 -0
  19. package/es/CalendarCoordPicker/index.js +296 -0
  20. package/es/CalendarCoordPicker/index.less +31 -0
  21. package/es/ConfigContext/index.d.ts +7 -0
  22. package/es/ConfigContext/index.js +12 -0
  23. package/es/DragContent/index.d.ts +1 -1
  24. package/es/DragContent/index.js +5 -5
  25. package/es/FormComp/ChunkUploader/api.js +14 -14
  26. package/es/FormComp/ChunkUploader/index.js +132 -139
  27. package/es/FormComp/ChunkUploader/lib.js +21 -21
  28. package/es/FormComp/ChunkUploader/upload-queue.class.js +64 -66
  29. package/es/FormComp/EditButton/index.d.ts +1 -1
  30. package/es/FormComp/EditButton/index.js +15 -17
  31. package/es/FormComp/FieldComponent/ReUpload.d.ts +1 -1
  32. package/es/FormComp/FieldComponent/ReUpload.js +37 -23
  33. package/es/FormComp/FieldComponent/RefactorTextarea.js +32 -0
  34. package/es/FormComp/FieldComponent/RefactorTreeSelect.js +72 -19
  35. package/es/FormComp/FieldComponent/TitleNode.d.ts +2 -1
  36. package/es/FormComp/FieldComponent/index.d.ts +1 -1
  37. package/es/FormComp/FieldComponent/index.js +37 -26
  38. package/es/FormComp/FieldComponent/setReadonlyValues.js +6 -6
  39. package/es/FormComp/RenderItemGroup/index.js +24 -8
  40. package/es/FormComp/Uploader/index.d.ts +9 -2
  41. package/es/FormComp/Uploader/index.js +325 -156
  42. package/es/FormComp/VarTemplate/index.js +57 -64
  43. package/es/ImageGallery/ImagePreview.d.ts +13 -0
  44. package/es/ImageGallery/ImagePreview.js +168 -0
  45. package/es/ImageGallery/PreviewStyles/ImagePreview.less +730 -0
  46. package/es/ImageGallery/PreviewStyles/fonts/lg.svg +54 -0
  47. package/es/ImageGallery/PreviewStyles/fonts/lg.ttf +0 -0
  48. package/es/ImageGallery/PreviewStyles/fonts/lg.woff +0 -0
  49. package/es/ImageGallery/PreviewStyles/fonts/lg.woff2 +0 -0
  50. package/es/ImageGallery/PreviewStyles/lg-thumbnail.css +108 -0
  51. package/es/ImageGallery/PreviewStyles/lg-video.css +144 -0
  52. package/es/ImageGallery/PreviewStyles/lg-zoom.css +116 -0
  53. package/es/ImageGallery/PreviewStyles/lightgallery.css +728 -0
  54. package/es/ImageGallery/SliderContent.d.ts +7 -0
  55. package/es/ImageGallery/SliderContent.js +699 -0
  56. package/es/ImageGallery/Thumbnail.d.ts +3 -0
  57. package/es/ImageGallery/Thumbnail.js +296 -0
  58. package/es/ImageGallery/hook/uniqueId.d.ts +1 -0
  59. package/es/ImageGallery/hook/uniqueId.js +10 -0
  60. package/es/ImageGallery/index.d.ts +4 -0
  61. package/es/ImageGallery/index.js +29 -0
  62. package/es/ImageGallery/style/index.less +5 -0
  63. package/es/ImageGallery/types.d.ts +5 -0
  64. package/es/ImageGallery/types.js +1 -0
  65. package/es/NavLeafScroll/index.js +94 -50
  66. package/es/RefactorTree/index.d.ts +1 -1
  67. package/es/RefactorTree/index.js +6 -6
  68. package/es/RefactorTree/indexTreeNode.d.ts +1 -1
  69. package/es/RefactorTree/indexTreeNode.js +19 -17
  70. package/es/RefactorTree/util.js +18 -18
  71. package/es/SpecIcon/fonts/demo_index.html +559 -5
  72. package/es/SpecIcon/fonts/iconfont.css +101 -3
  73. package/es/SpecIcon/fonts/iconfont.js +34 -27
  74. package/es/SpecIcon/fonts/iconfont.json +168 -0
  75. package/es/SpecIcon/fonts/iconfont.svg +163 -171
  76. package/es/SpecIcon/fonts/iconfont.ttf +0 -0
  77. package/es/SpecIcon/fonts/iconfont.woff +0 -0
  78. package/es/SpecIcon/fonts/iconfont.woff2 +0 -0
  79. package/es/SpecIcon/style/iconfont.less +106 -11
  80. package/es/SplitterLayout/Pane.d.ts +1 -1
  81. package/es/SplitterLayout/index.js +25 -26
  82. package/es/StandardContent/SplitterLayout/Pane.js +3 -3
  83. package/es/StandardContent/SplitterLayout/index.js +25 -26
  84. package/es/StandardContent/SubfieldContent.d.ts +1 -1
  85. package/es/StandardContent/WrapperContent.d.ts +1 -1
  86. package/es/StandardDragModal/index.d.ts +11 -3
  87. package/es/StandardDragModal/index.js +25 -3
  88. package/es/StandardFilter/index.d.ts +5 -16
  89. package/es/StandardFilter/index.js +212 -200
  90. package/es/StandardFilter/indexClass.d.ts +37 -0
  91. package/es/StandardFilter/indexClass.js +217 -0
  92. package/es/StandardFilter/style/index.less +82 -9
  93. package/es/StandardForm/StepForm.d.ts +1 -1
  94. package/es/StandardForm/StepForm.js +28 -22
  95. package/es/StandardForm/TabForm.d.ts +1 -1
  96. package/es/StandardForm/TabForm.js +41 -43
  97. package/es/StandardForm/index.d.ts +1 -1
  98. package/es/StandardForm/index.js +5 -5
  99. package/es/StandardModal/UpdateFormRef.js +0 -1
  100. package/es/StandardModal/index.d.ts +2 -1
  101. package/es/StandardModal/index.js +25 -39
  102. package/es/StandardPanel/index.d.ts +1 -1
  103. package/es/StandardPanel/index.js +7 -7
  104. package/es/StandardTable/index.d.ts +1 -0
  105. package/es/StandardTable/index.js +44 -26
  106. package/es/components/IconNode/index.d.ts +1 -1
  107. package/es/components/IconNode/index.js +0 -1
  108. package/es/data/general.config.js +31 -0
  109. package/es/index.d.ts +3 -1
  110. package/es/index.js +6 -2
  111. package/es/utils/filterPermission.js +7 -10
  112. package/es/utils/getParentNodes.js +101 -26
  113. package/es/utils/index.js +2 -3
  114. package/es/utils/urlUtils.js +76 -0
  115. package/lib/ButtonGroup/ButtonList.d.ts +2 -1
  116. package/lib/ButtonGroup/ButtonList.js +2 -3
  117. package/lib/ButtonGroup/ButtonMenu.d.ts +2 -1
  118. package/lib/ButtonGroup/ButtonMenu.js +2 -3
  119. package/lib/ButtonGroup/PopConfirmTitle.js +7 -8
  120. package/lib/ButtonGroup/index.d.ts +3 -1
  121. package/lib/ButtonGroup/index.js +150 -185
  122. package/lib/ButtonGroup/style/index.less +4 -1
  123. package/lib/CalendarCoordPicker/CalendarMonthPicker.d.ts +5 -0
  124. package/lib/CalendarCoordPicker/CalendarMonthPicker.js +36 -0
  125. package/lib/CalendarCoordPicker/index.d.ts +8 -0
  126. package/lib/CalendarCoordPicker/index.js +305 -0
  127. package/lib/CalendarCoordPicker/index.less +31 -0
  128. package/lib/ConfigContext/index.d.ts +7 -0
  129. package/lib/ConfigContext/index.js +17 -0
  130. package/lib/DragContent/DragBar.js +2 -3
  131. package/lib/DragContent/index.d.ts +1 -1
  132. package/lib/DragContent/index.js +9 -10
  133. package/lib/FormComp/ChunkUploader/api.js +15 -15
  134. package/lib/FormComp/ChunkUploader/index.js +135 -142
  135. package/lib/FormComp/ChunkUploader/lib.js +22 -22
  136. package/lib/FormComp/ChunkUploader/upload-queue.class.js +66 -69
  137. package/lib/FormComp/ChunkUploader/worker.js +1 -1
  138. package/lib/FormComp/EditButton/index.d.ts +1 -1
  139. package/lib/FormComp/EditButton/index.js +19 -22
  140. package/lib/FormComp/FieldComponent/ReUpload.d.ts +1 -1
  141. package/lib/FormComp/FieldComponent/ReUpload.js +40 -28
  142. package/lib/FormComp/FieldComponent/RefactorTextarea.js +42 -0
  143. package/lib/FormComp/FieldComponent/RefactorTreeSelect.js +75 -23
  144. package/lib/FormComp/FieldComponent/TitleNode.d.ts +2 -1
  145. package/lib/FormComp/FieldComponent/TitleNode.js +2 -3
  146. package/lib/FormComp/FieldComponent/index.d.ts +1 -1
  147. package/lib/FormComp/FieldComponent/index.js +41 -28
  148. package/lib/FormComp/FieldComponent/setReadonlyValues.js +15 -20
  149. package/lib/FormComp/RenderItemGroup/index.js +26 -11
  150. package/lib/FormComp/Uploader/index.d.ts +9 -2
  151. package/lib/FormComp/Uploader/index.js +325 -159
  152. package/lib/FormComp/VarTemplate/index.js +63 -71
  153. package/lib/FormComp/index.js +1 -1
  154. package/lib/ImageGallery/ImagePreview.d.ts +13 -0
  155. package/lib/ImageGallery/ImagePreview.js +178 -0
  156. package/lib/ImageGallery/PreviewStyles/ImagePreview.less +730 -0
  157. package/lib/ImageGallery/PreviewStyles/fonts/lg.svg +54 -0
  158. package/lib/ImageGallery/PreviewStyles/fonts/lg.ttf +0 -0
  159. package/lib/ImageGallery/PreviewStyles/fonts/lg.woff +0 -0
  160. package/lib/ImageGallery/PreviewStyles/fonts/lg.woff2 +0 -0
  161. package/lib/ImageGallery/PreviewStyles/lg-thumbnail.css +108 -0
  162. package/lib/ImageGallery/PreviewStyles/lg-video.css +144 -0
  163. package/lib/ImageGallery/PreviewStyles/lg-zoom.css +116 -0
  164. package/lib/ImageGallery/PreviewStyles/lightgallery.css +728 -0
  165. package/lib/ImageGallery/SliderContent.d.ts +7 -0
  166. package/lib/ImageGallery/SliderContent.js +708 -0
  167. package/lib/ImageGallery/Thumbnail.d.ts +3 -0
  168. package/lib/ImageGallery/Thumbnail.js +306 -0
  169. package/lib/ImageGallery/hook/uniqueId.d.ts +1 -0
  170. package/lib/ImageGallery/hook/uniqueId.js +17 -0
  171. package/lib/ImageGallery/index.d.ts +4 -0
  172. package/lib/ImageGallery/index.js +36 -0
  173. package/lib/ImageGallery/style/index.less +5 -0
  174. package/lib/ImageGallery/types.d.ts +5 -0
  175. package/lib/ImageGallery/types.js +5 -0
  176. package/lib/NavLeafScroll/index.js +98 -55
  177. package/lib/RefactorTree/index.d.ts +1 -1
  178. package/lib/RefactorTree/index.js +10 -11
  179. package/lib/RefactorTree/indexTreeNode.d.ts +1 -1
  180. package/lib/RefactorTree/indexTreeNode.js +23 -22
  181. package/lib/RefactorTree/util.js +18 -18
  182. package/lib/SpecIcon/fonts/demo_index.html +559 -5
  183. package/lib/SpecIcon/fonts/iconfont.css +101 -3
  184. package/lib/SpecIcon/fonts/iconfont.js +34 -27
  185. package/lib/SpecIcon/fonts/iconfont.json +168 -0
  186. package/lib/SpecIcon/fonts/iconfont.svg +163 -171
  187. package/lib/SpecIcon/fonts/iconfont.ttf +0 -0
  188. package/lib/SpecIcon/fonts/iconfont.woff +0 -0
  189. package/lib/SpecIcon/fonts/iconfont.woff2 +0 -0
  190. package/lib/SpecIcon/index.js +2 -3
  191. package/lib/SpecIcon/style/iconfont.less +106 -11
  192. package/lib/SplitterLayout/Pane.d.ts +1 -1
  193. package/lib/SplitterLayout/Pane.js +2 -3
  194. package/lib/SplitterLayout/index.js +27 -29
  195. package/lib/StandardContent/SplitterLayout/Pane.js +5 -6
  196. package/lib/StandardContent/SplitterLayout/index.js +27 -29
  197. package/lib/StandardContent/SubfieldContent.d.ts +1 -1
  198. package/lib/StandardContent/SubfieldContent.js +2 -3
  199. package/lib/StandardContent/WrapperContent.d.ts +1 -1
  200. package/lib/StandardContent/WrapperContent.js +2 -3
  201. package/lib/StandardDragModal/index.d.ts +11 -3
  202. package/lib/StandardDragModal/index.js +27 -33
  203. package/lib/StandardFilter/index.d.ts +5 -16
  204. package/lib/StandardFilter/index.js +215 -201
  205. package/lib/StandardFilter/indexClass.d.ts +37 -0
  206. package/lib/StandardFilter/indexClass.js +223 -0
  207. package/lib/StandardFilter/style/index.less +82 -9
  208. package/lib/StandardForm/ActionList.js +2 -3
  209. package/lib/StandardForm/StepForm.d.ts +1 -1
  210. package/lib/StandardForm/StepForm.js +32 -27
  211. package/lib/StandardForm/TabForm.d.ts +1 -1
  212. package/lib/StandardForm/TabForm.js +45 -48
  213. package/lib/StandardForm/index.d.ts +1 -1
  214. package/lib/StandardForm/index.js +9 -10
  215. package/lib/StandardModal/UpdateFormRef.js +3 -4
  216. package/lib/StandardModal/index.d.ts +2 -1
  217. package/lib/StandardModal/index.js +29 -43
  218. package/lib/StandardPanel/index.d.ts +1 -1
  219. package/lib/StandardPanel/index.js +11 -12
  220. package/lib/StandardTable/index.d.ts +1 -0
  221. package/lib/StandardTable/index.js +49 -29
  222. package/lib/components/IconNode/index.d.ts +1 -1
  223. package/lib/components/IconNode/index.js +2 -4
  224. package/lib/components/index.js +1 -1
  225. package/lib/data/func.code.js +2 -3
  226. package/lib/data/general.config.js +33 -3
  227. package/lib/data/index.js +1 -1
  228. package/lib/index.d.ts +3 -1
  229. package/lib/index.js +30 -10
  230. package/lib/utils/ValueFormat.js +1 -2
  231. package/lib/utils/filterPermission.js +11 -18
  232. package/lib/utils/getParentNodes.js +103 -29
  233. package/lib/utils/index.js +5 -27
  234. package/lib/utils/urlUtils.js +82 -0
  235. package/package.json +15 -9
  236. package/dist/f26952c118ab6cdcd23dc0028ee98c11.svg +0 -173
  237. package/dist/fonts/iconfont.eot +0 -0
  238. package/es/StandardDragModal/ChangeStandardModal.d.ts +0 -44
  239. package/es/StandardDragModal/ChangeStandardModal.js +0 -493
  240. package/es/StandardDragModal/DraggableModal.d.ts +0 -7
  241. package/es/StandardDragModal/DraggableModal.js +0 -31
  242. package/es/StandardDragModal/DraggableModalContext.d.ts +0 -9
  243. package/es/StandardDragModal/DraggableModalContext.js +0 -5
  244. package/es/StandardDragModal/DraggableModalInner.d.ts +0 -16
  245. package/es/StandardDragModal/DraggableModalInner.js +0 -114
  246. package/es/StandardDragModal/DraggableModalProvider.d.ts +0 -4
  247. package/es/StandardDragModal/DraggableModalProvider.js +0 -40
  248. package/es/StandardDragModal/Modal.d.ts +0 -11
  249. package/es/StandardDragModal/Modal.js +0 -24
  250. package/es/StandardDragModal/ResizeHandle.d.ts +0 -2
  251. package/es/StandardDragModal/ResizeHandle.js +0 -8
  252. package/es/StandardDragModal/clamp.d.ts +0 -1
  253. package/es/StandardDragModal/clamp.js +0 -3
  254. package/es/StandardDragModal/draggableModalReducer.d.ts +0 -66
  255. package/es/StandardDragModal/draggableModalReducer.js +0 -157
  256. package/es/StandardDragModal/getWindowSize.d.ts +0 -4
  257. package/es/StandardDragModal/getWindowSize.js +0 -6
  258. package/es/StandardDragModal/index.less +0 -65
  259. package/es/StandardDragModal/useDrag.d.ts +0 -5
  260. package/es/StandardDragModal/useDrag.js +0 -66
  261. package/es/StandardDragModal/usePrevious.d.ts +0 -1
  262. package/es/StandardDragModal/usePrevious.js +0 -8
  263. package/es/StandardDragModal/useResize.d.ts +0 -7
  264. package/es/StandardDragModal/useResize.js +0 -74
  265. package/es/utils/dictSelectUtil.js +0 -153
  266. package/lib/StandardDragModal/ChangeStandardModal.d.ts +0 -44
  267. package/lib/StandardDragModal/ChangeStandardModal.js +0 -502
  268. package/lib/StandardDragModal/DraggableModal.d.ts +0 -7
  269. package/lib/StandardDragModal/DraggableModal.js +0 -40
  270. package/lib/StandardDragModal/DraggableModalContext.d.ts +0 -9
  271. package/lib/StandardDragModal/DraggableModalContext.js +0 -15
  272. package/lib/StandardDragModal/DraggableModalInner.d.ts +0 -16
  273. package/lib/StandardDragModal/DraggableModalInner.js +0 -124
  274. package/lib/StandardDragModal/DraggableModalProvider.d.ts +0 -4
  275. package/lib/StandardDragModal/DraggableModalProvider.js +0 -48
  276. package/lib/StandardDragModal/Modal.d.ts +0 -11
  277. package/lib/StandardDragModal/Modal.js +0 -32
  278. package/lib/StandardDragModal/ResizeHandle.d.ts +0 -2
  279. package/lib/StandardDragModal/ResizeHandle.js +0 -18
  280. package/lib/StandardDragModal/clamp.d.ts +0 -1
  281. package/lib/StandardDragModal/clamp.js +0 -10
  282. package/lib/StandardDragModal/draggableModalReducer.d.ts +0 -66
  283. package/lib/StandardDragModal/draggableModalReducer.js +0 -167
  284. package/lib/StandardDragModal/getWindowSize.d.ts +0 -4
  285. package/lib/StandardDragModal/getWindowSize.js +0 -13
  286. package/lib/StandardDragModal/index.less +0 -65
  287. package/lib/StandardDragModal/useDrag.d.ts +0 -5
  288. package/lib/StandardDragModal/useDrag.js +0 -73
  289. package/lib/StandardDragModal/usePrevious.d.ts +0 -1
  290. package/lib/StandardDragModal/usePrevious.js +0 -15
  291. package/lib/StandardDragModal/useResize.d.ts +0 -7
  292. package/lib/StandardDragModal/useResize.js +0 -81
  293. package/lib/utils/dictSelectUtil.js +0 -161
@@ -0,0 +1,728 @@
1
+ @font-face {
2
+ font-family: 'lg';
3
+ src: url("../fonts/lg.woff2?io9a6k") format("woff2"), url("../fonts/lg.ttf?io9a6k") format("truetype"), url("../fonts/lg.woff?io9a6k") format("woff"), url("../fonts/lg.svg?io9a6k#lg") format("svg");
4
+ font-weight: normal;
5
+ font-style: normal;
6
+ font-display: block;
7
+ }
8
+
9
+ .lg-icon {
10
+ /* use !important to prevent issues with browser extensions that change fonts */
11
+ font-family: 'lg' !important;
12
+ speak: never;
13
+ font-style: normal;
14
+ font-weight: normal;
15
+ font-variant: normal;
16
+ text-transform: none;
17
+ line-height: 1;
18
+ /* Better Font Rendering =========== */
19
+ -webkit-font-smoothing: antialiased;
20
+ -moz-osx-font-smoothing: grayscale;
21
+ }
22
+
23
+ .lg-container {
24
+ font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
25
+ }
26
+
27
+ .lg-next,
28
+ .lg-prev {
29
+ background-color: rgba(0, 0, 0, 0.45);
30
+ border-radius: 2px;
31
+ color: #999;
32
+ cursor: pointer;
33
+ display: block;
34
+ font-size: 22px;
35
+ margin-top: -10px;
36
+ padding: 8px 10px 9px;
37
+ position: absolute;
38
+ top: 50%;
39
+ z-index: 1084;
40
+ outline: none;
41
+ border: none;
42
+ }
43
+
44
+ .lg-next.disabled,
45
+ .lg-prev.disabled {
46
+ opacity: 0 !important;
47
+ cursor: default;
48
+ }
49
+
50
+ .lg-next:hover:not(.disabled),
51
+ .lg-prev:hover:not(.disabled) {
52
+ color: #fff;
53
+ }
54
+
55
+ .lg-single-item .lg-next, .lg-single-item
56
+ .lg-prev {
57
+ display: none;
58
+ }
59
+
60
+ .lg-next {
61
+ right: 20px;
62
+ }
63
+
64
+ .lg-next:before {
65
+ content: '\e095';
66
+ }
67
+
68
+ .lg-prev {
69
+ left: 20px;
70
+ }
71
+
72
+ .lg-prev:after {
73
+ content: '\e094';
74
+ }
75
+
76
+ @-webkit-keyframes lg-right-end {
77
+ 0% {
78
+ left: 0;
79
+ }
80
+ 50% {
81
+ left: -30px;
82
+ }
83
+ 100% {
84
+ left: 0;
85
+ }
86
+ }
87
+
88
+ @-moz-keyframes lg-right-end {
89
+ 0% {
90
+ left: 0;
91
+ }
92
+ 50% {
93
+ left: -30px;
94
+ }
95
+ 100% {
96
+ left: 0;
97
+ }
98
+ }
99
+
100
+ @-ms-keyframes lg-right-end {
101
+ 0% {
102
+ left: 0;
103
+ }
104
+ 50% {
105
+ left: -30px;
106
+ }
107
+ 100% {
108
+ left: 0;
109
+ }
110
+ }
111
+
112
+ @keyframes lg-right-end {
113
+ 0% {
114
+ left: 0;
115
+ }
116
+ 50% {
117
+ left: -30px;
118
+ }
119
+ 100% {
120
+ left: 0;
121
+ }
122
+ }
123
+
124
+ @-webkit-keyframes lg-left-end {
125
+ 0% {
126
+ left: 0;
127
+ }
128
+ 50% {
129
+ left: 30px;
130
+ }
131
+ 100% {
132
+ left: 0;
133
+ }
134
+ }
135
+
136
+ @-moz-keyframes lg-left-end {
137
+ 0% {
138
+ left: 0;
139
+ }
140
+ 50% {
141
+ left: 30px;
142
+ }
143
+ 100% {
144
+ left: 0;
145
+ }
146
+ }
147
+
148
+ @-ms-keyframes lg-left-end {
149
+ 0% {
150
+ left: 0;
151
+ }
152
+ 50% {
153
+ left: 30px;
154
+ }
155
+ 100% {
156
+ left: 0;
157
+ }
158
+ }
159
+
160
+ @keyframes lg-left-end {
161
+ 0% {
162
+ left: 0;
163
+ }
164
+ 50% {
165
+ left: 30px;
166
+ }
167
+ 100% {
168
+ left: 0;
169
+ }
170
+ }
171
+
172
+ .lg-outer.lg-right-end .lg-object {
173
+ -webkit-animation: lg-right-end 0.3s;
174
+ -o-animation: lg-right-end 0.3s;
175
+ animation: lg-right-end 0.3s;
176
+ position: relative;
177
+ }
178
+
179
+ .lg-outer.lg-left-end .lg-object {
180
+ -webkit-animation: lg-left-end 0.3s;
181
+ -o-animation: lg-left-end 0.3s;
182
+ animation: lg-left-end 0.3s;
183
+ position: relative;
184
+ }
185
+
186
+ .lg-toolbar {
187
+ z-index: 1082;
188
+ left: 0;
189
+ position: absolute;
190
+ top: 0;
191
+ width: 100%;
192
+ }
193
+
194
+ .lg-media-overlap .lg-toolbar {
195
+ background-image: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
196
+ }
197
+
198
+ .lg-toolbar .lg-icon {
199
+ color: #999;
200
+ cursor: pointer;
201
+ float: right;
202
+ font-size: 24px;
203
+ height: 47px;
204
+ line-height: 27px;
205
+ padding: 10px 0;
206
+ text-align: center;
207
+ width: 50px;
208
+ text-decoration: none !important;
209
+ outline: medium none;
210
+ will-change: color;
211
+ -webkit-transition: color 0.2s linear;
212
+ -o-transition: color 0.2s linear;
213
+ transition: color 0.2s linear;
214
+ background: none;
215
+ border: none;
216
+ box-shadow: none;
217
+ }
218
+
219
+ .lg-toolbar .lg-icon.lg-icon-18 {
220
+ font-size: 18px;
221
+ }
222
+
223
+ .lg-toolbar .lg-icon:hover {
224
+ color: #fff;
225
+ }
226
+
227
+ .lg-toolbar .lg-close:after {
228
+ content: '\e070';
229
+ }
230
+
231
+ .lg-toolbar .lg-maximize {
232
+ font-size: 22px;
233
+ }
234
+
235
+ .lg-toolbar .lg-maximize:after {
236
+ content: '\e90a';
237
+ }
238
+
239
+ .lg-toolbar .lg-download:after {
240
+ content: '\e0f2';
241
+ }
242
+
243
+ .lg-sub-html {
244
+ color: #eee;
245
+ font-size: 16px;
246
+ padding: 10px 40px;
247
+ text-align: center;
248
+ z-index: 1080;
249
+ opacity: 0;
250
+ -webkit-transition: opacity 0.2s ease-out 0s;
251
+ -o-transition: opacity 0.2s ease-out 0s;
252
+ transition: opacity 0.2s ease-out 0s;
253
+ }
254
+
255
+ .lg-sub-html h4 {
256
+ margin: 0;
257
+ font-size: 13px;
258
+ font-weight: bold;
259
+ }
260
+
261
+ .lg-sub-html p {
262
+ font-size: 12px;
263
+ margin: 5px 0 0;
264
+ }
265
+
266
+ .lg-sub-html a {
267
+ color: inherit;
268
+ }
269
+
270
+ .lg-sub-html a:hover {
271
+ text-decoration: underline;
272
+ }
273
+
274
+ .lg-media-overlap .lg-sub-html {
275
+ background-image: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
276
+ }
277
+
278
+ .lg-item .lg-sub-html {
279
+ position: absolute;
280
+ bottom: 0;
281
+ right: 0;
282
+ left: 0;
283
+ }
284
+
285
+ .lg-error-msg {
286
+ font-size: 14px;
287
+ color: #999;
288
+ }
289
+
290
+ .lg-counter {
291
+ color: #999;
292
+ display: inline-block;
293
+ font-size: 16px;
294
+ padding-left: 20px;
295
+ padding-top: 12px;
296
+ height: 47px;
297
+ vertical-align: middle;
298
+ }
299
+
300
+ .lg-closing .lg-toolbar,
301
+ .lg-closing .lg-prev,
302
+ .lg-closing .lg-next,
303
+ .lg-closing .lg-sub-html {
304
+ opacity: 0;
305
+ -webkit-transition: -webkit-transform 0.08 cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.08 cubic-bezier(0, 0, 0.25, 1) 0s, color 0.08 linear;
306
+ -moz-transition: -moz-transform 0.08 cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.08 cubic-bezier(0, 0, 0.25, 1) 0s, color 0.08 linear;
307
+ -o-transition: -o-transform 0.08 cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.08 cubic-bezier(0, 0, 0.25, 1) 0s, color 0.08 linear;
308
+ transition: transform 0.08 cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.08 cubic-bezier(0, 0, 0.25, 1) 0s, color 0.08 linear;
309
+ }
310
+
311
+ body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item:not(.lg-zoomable) .lg-img-wrap,
312
+ body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item:not(.lg-zoomable) .lg-video-cont {
313
+ opacity: 0;
314
+ -moz-transform: scale3d(0.5, 0.5, 0.5);
315
+ -o-transform: scale3d(0.5, 0.5, 0.5);
316
+ -ms-transform: scale3d(0.5, 0.5, 0.5);
317
+ -webkit-transform: scale3d(0.5, 0.5, 0.5);
318
+ transform: scale3d(0.5, 0.5, 0.5);
319
+ will-change: transform, opacity;
320
+ -webkit-transition: -webkit-transform 250ms cubic-bezier(0, 0, 0.25, 1) 0s, opacity 250ms cubic-bezier(0, 0, 0.25, 1) !important;
321
+ -moz-transition: -moz-transform 250ms cubic-bezier(0, 0, 0.25, 1) 0s, opacity 250ms cubic-bezier(0, 0, 0.25, 1) !important;
322
+ -o-transition: -o-transform 250ms cubic-bezier(0, 0, 0.25, 1) 0s, opacity 250ms cubic-bezier(0, 0, 0.25, 1) !important;
323
+ transition: transform 250ms cubic-bezier(0, 0, 0.25, 1) 0s, opacity 250ms cubic-bezier(0, 0, 0.25, 1) !important;
324
+ }
325
+
326
+ body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item:not(.lg-zoomable).lg-complete .lg-img-wrap,
327
+ body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item:not(.lg-zoomable).lg-complete .lg-video-cont {
328
+ opacity: 1;
329
+ -moz-transform: scale3d(1, 1, 1);
330
+ -o-transform: scale3d(1, 1, 1);
331
+ -ms-transform: scale3d(1, 1, 1);
332
+ -webkit-transform: scale3d(1, 1, 1);
333
+ transform: scale3d(1, 1, 1);
334
+ }
335
+
336
+ .lg-icon:focus-visible {
337
+ color: #fff;
338
+ border-radius: 3px;
339
+ outline: 1px dashed rgba(255, 255, 255, 0.6);
340
+ }
341
+
342
+ .lg-toolbar .lg-icon:focus-visible {
343
+ border-radius: 8px;
344
+ outline-offset: -5px;
345
+ }
346
+
347
+ .lg-group:after {
348
+ content: '';
349
+ display: table;
350
+ clear: both;
351
+ }
352
+
353
+ .lg-container {
354
+ display: none;
355
+ outline: none;
356
+ }
357
+
358
+ .lg-container.lg-show {
359
+ display: block;
360
+ }
361
+
362
+ .lg-on {
363
+ scroll-behavior: unset;
364
+ }
365
+
366
+ .lg-overlay-open {
367
+ overflow: hidden;
368
+ }
369
+
370
+ .lg-toolbar,
371
+ .lg-prev,
372
+ .lg-next,
373
+ .lg-pager-outer,
374
+ .lg-hide-sub-html .lg-sub-html {
375
+ opacity: 0;
376
+ will-change: transform, opacity;
377
+ -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.25s cubic-bezier(0, 0, 0.25, 1) 0s;
378
+ -moz-transition: -moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.25s cubic-bezier(0, 0, 0.25, 1) 0s;
379
+ -o-transition: -o-transform 0.25s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.25s cubic-bezier(0, 0, 0.25, 1) 0s;
380
+ transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.25s cubic-bezier(0, 0, 0.25, 1) 0s;
381
+ }
382
+
383
+ .lg-show-in .lg-toolbar,
384
+ .lg-show-in .lg-prev,
385
+ .lg-show-in .lg-next,
386
+ .lg-show-in .lg-pager-outer {
387
+ opacity: 1;
388
+ }
389
+
390
+ .lg-show-in.lg-hide-sub-html .lg-sub-html {
391
+ opacity: 1;
392
+ }
393
+
394
+ .lg-show-in .lg-hide-items .lg-prev {
395
+ opacity: 0;
396
+ -webkit-transform: translate3d(-10px, 0, 0);
397
+ transform: translate3d(-10px, 0, 0);
398
+ }
399
+
400
+ .lg-show-in .lg-hide-items .lg-next {
401
+ opacity: 0;
402
+ -webkit-transform: translate3d(10px, 0, 0);
403
+ transform: translate3d(10px, 0, 0);
404
+ }
405
+
406
+ .lg-show-in .lg-hide-items .lg-toolbar {
407
+ opacity: 0;
408
+ -webkit-transform: translate3d(0, -10px, 0);
409
+ transform: translate3d(0, -10px, 0);
410
+ }
411
+
412
+ .lg-show-in .lg-hide-items.lg-hide-sub-html .lg-sub-html {
413
+ opacity: 0;
414
+ -webkit-transform: translate3d(0, 20px, 0);
415
+ transform: translate3d(0, 20px, 0);
416
+ }
417
+
418
+ .lg-outer {
419
+ width: 100%;
420
+ height: 100%;
421
+ position: fixed;
422
+ top: 0;
423
+ left: 0;
424
+ z-index: 1050;
425
+ text-align: left;
426
+ opacity: 0.001;
427
+ outline: none;
428
+ will-change: auto;
429
+ overflow: hidden;
430
+ -webkit-transition: opacity 0.15s ease 0s;
431
+ -o-transition: opacity 0.15s ease 0s;
432
+ transition: opacity 0.15s ease 0s;
433
+ }
434
+
435
+ .lg-outer * {
436
+ -webkit-box-sizing: border-box;
437
+ -moz-box-sizing: border-box;
438
+ box-sizing: border-box;
439
+ }
440
+
441
+ .lg-outer.lg-zoom-from-image {
442
+ opacity: 1;
443
+ }
444
+
445
+ .lg-outer.lg-visible {
446
+ opacity: 1;
447
+ }
448
+
449
+ .lg-outer.lg-css3 .lg-item:not(.lg-start-end-progress).lg-prev-slide, .lg-outer.lg-css3 .lg-item:not(.lg-start-end-progress).lg-next-slide, .lg-outer.lg-css3 .lg-item:not(.lg-start-end-progress).lg-current {
450
+ -webkit-transition-duration: inherit !important;
451
+ transition-duration: inherit !important;
452
+ -webkit-transition-timing-function: inherit !important;
453
+ transition-timing-function: inherit !important;
454
+ }
455
+
456
+ .lg-outer.lg-css3.lg-dragging .lg-item.lg-prev-slide, .lg-outer.lg-css3.lg-dragging .lg-item.lg-next-slide, .lg-outer.lg-css3.lg-dragging .lg-item.lg-current {
457
+ -webkit-transition-duration: 0s !important;
458
+ transition-duration: 0s !important;
459
+ opacity: 1;
460
+ }
461
+
462
+ .lg-outer.lg-grab img.lg-object {
463
+ cursor: -webkit-grab;
464
+ cursor: -moz-grab;
465
+ cursor: -o-grab;
466
+ cursor: -ms-grab;
467
+ cursor: grab;
468
+ }
469
+
470
+ .lg-outer.lg-grabbing img.lg-object {
471
+ cursor: move;
472
+ cursor: -webkit-grabbing;
473
+ cursor: -moz-grabbing;
474
+ cursor: -o-grabbing;
475
+ cursor: -ms-grabbing;
476
+ cursor: grabbing;
477
+ }
478
+
479
+ .lg-outer .lg-content {
480
+ position: absolute;
481
+ top: 0;
482
+ left: 0;
483
+ right: 0;
484
+ bottom: 0;
485
+ }
486
+
487
+ .lg-outer .lg-inner {
488
+ width: 100%;
489
+ position: absolute;
490
+ left: 0;
491
+ top: 0;
492
+ bottom: 0;
493
+ -webkit-transition: opacity 0s;
494
+ -o-transition: opacity 0s;
495
+ transition: opacity 0s;
496
+ white-space: nowrap;
497
+ }
498
+
499
+ .lg-outer .lg-item {
500
+ display: none !important;
501
+ }
502
+
503
+ .lg-outer .lg-item:not(.lg-start-end-progress) {
504
+ background: url("../images/loading.gif") no-repeat scroll center center transparent;
505
+ }
506
+
507
+ .lg-outer.lg-css3 .lg-prev-slide,
508
+ .lg-outer.lg-css3 .lg-current,
509
+ .lg-outer.lg-css3 .lg-next-slide {
510
+ display: inline-block !important;
511
+ }
512
+
513
+ .lg-outer.lg-css .lg-current {
514
+ display: inline-block !important;
515
+ }
516
+
517
+ .lg-outer .lg-item,
518
+ .lg-outer .lg-img-wrap {
519
+ display: inline-block;
520
+ text-align: center;
521
+ position: absolute;
522
+ width: 100%;
523
+ height: 100%;
524
+ }
525
+
526
+ .lg-outer .lg-item:before,
527
+ .lg-outer .lg-img-wrap:before {
528
+ content: '';
529
+ display: inline-block;
530
+ height: 100%;
531
+ vertical-align: middle;
532
+ }
533
+
534
+ .lg-outer .lg-img-wrap {
535
+ position: absolute;
536
+ left: 0;
537
+ right: 0;
538
+ top: 0;
539
+ bottom: 0;
540
+ white-space: nowrap;
541
+ font-size: 0;
542
+ }
543
+
544
+ .lg-outer .lg-item.lg-complete {
545
+ background-image: none;
546
+ }
547
+
548
+ .lg-outer .lg-item.lg-current {
549
+ z-index: 1060;
550
+ }
551
+
552
+ .lg-outer .lg-object {
553
+ display: inline-block;
554
+ vertical-align: middle;
555
+ max-width: 100%;
556
+ max-height: 100%;
557
+ width: auto;
558
+ height: auto;
559
+ position: relative;
560
+ }
561
+
562
+ .lg-outer .lg-empty-html.lg-sub-html,
563
+ .lg-outer .lg-empty-html .lg-sub-html {
564
+ display: none;
565
+ }
566
+
567
+ .lg-outer.lg-hide-download .lg-download {
568
+ opacity: 0.75;
569
+ pointer-events: none;
570
+ }
571
+
572
+ .lg-outer .lg-first-slide .lg-dummy-img {
573
+ position: absolute;
574
+ top: 50%;
575
+ left: 50%;
576
+ }
577
+
578
+ .lg-outer.lg-components-open:not(.lg-zoomed) .lg-components {
579
+ -webkit-transform: translate3d(0, 0%, 0);
580
+ transform: translate3d(0, 0%, 0);
581
+ opacity: 1;
582
+ }
583
+
584
+ .lg-outer.lg-components-open:not(.lg-zoomed) .lg-sub-html {
585
+ opacity: 1;
586
+ transition: opacity 0.2s ease-out 0.15s;
587
+ }
588
+
589
+ .lg-backdrop {
590
+ position: fixed;
591
+ top: 0;
592
+ left: 0;
593
+ right: 0;
594
+ bottom: 0;
595
+ z-index: 1040;
596
+ background-color: #000;
597
+ opacity: 0;
598
+ will-change: auto;
599
+ -webkit-transition: opacity 333ms ease-in 0s;
600
+ -o-transition: opacity 333ms ease-in 0s;
601
+ transition: opacity 333ms ease-in 0s;
602
+ }
603
+
604
+ .lg-backdrop.in {
605
+ opacity: 1;
606
+ }
607
+
608
+ .lg-css3.lg-no-trans .lg-prev-slide,
609
+ .lg-css3.lg-no-trans .lg-next-slide,
610
+ .lg-css3.lg-no-trans .lg-current {
611
+ -webkit-transition: none 0s ease 0s !important;
612
+ -moz-transition: none 0s ease 0s !important;
613
+ -o-transition: none 0s ease 0s !important;
614
+ transition: none 0s ease 0s !important;
615
+ }
616
+
617
+ .lg-css3.lg-use-css3 .lg-item {
618
+ -webkit-backface-visibility: hidden;
619
+ -moz-backface-visibility: hidden;
620
+ backface-visibility: hidden;
621
+ }
622
+
623
+ .lg-css3.lg-fade .lg-item {
624
+ opacity: 0;
625
+ }
626
+
627
+ .lg-css3.lg-fade .lg-item.lg-current {
628
+ opacity: 1;
629
+ }
630
+
631
+ .lg-css3.lg-fade .lg-item.lg-prev-slide, .lg-css3.lg-fade .lg-item.lg-next-slide, .lg-css3.lg-fade .lg-item.lg-current {
632
+ -webkit-transition: opacity 0.1s ease 0s;
633
+ -moz-transition: opacity 0.1s ease 0s;
634
+ -o-transition: opacity 0.1s ease 0s;
635
+ transition: opacity 0.1s ease 0s;
636
+ }
637
+
638
+ .lg-css3.lg-use-css3 .lg-item.lg-start-progress {
639
+ -webkit-transition: -webkit-transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s;
640
+ -moz-transition: -moz-transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s;
641
+ -o-transition: -o-transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s;
642
+ transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s;
643
+ }
644
+
645
+ .lg-css3.lg-use-css3 .lg-item.lg-start-end-progress {
646
+ -webkit-transition: -webkit-transform 1s cubic-bezier(0, 0, 0.25, 1) 0s;
647
+ -moz-transition: -moz-transform 1s cubic-bezier(0, 0, 0.25, 1) 0s;
648
+ -o-transition: -o-transform 1s cubic-bezier(0, 0, 0.25, 1) 0s;
649
+ transition: transform 1s cubic-bezier(0, 0, 0.25, 1) 0s;
650
+ }
651
+
652
+ .lg-css3.lg-slide.lg-use-css3 .lg-item {
653
+ opacity: 0;
654
+ }
655
+
656
+ .lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide {
657
+ -webkit-transform: translate3d(-100%, 0, 0);
658
+ transform: translate3d(-100%, 0, 0);
659
+ }
660
+
661
+ .lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide {
662
+ -webkit-transform: translate3d(100%, 0, 0);
663
+ transform: translate3d(100%, 0, 0);
664
+ }
665
+
666
+ .lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current {
667
+ -webkit-transform: translate3d(0, 0, 0);
668
+ transform: translate3d(0, 0, 0);
669
+ opacity: 1;
670
+ }
671
+
672
+ .lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide, .lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide, .lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current {
673
+ -webkit-transition: -webkit-transform 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
674
+ -moz-transition: -moz-transform 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
675
+ -o-transition: -o-transform 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
676
+ transition: transform 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
677
+ }
678
+
679
+ .lg-container {
680
+ display: none;
681
+ }
682
+
683
+ .lg-container.lg-show {
684
+ display: block;
685
+ }
686
+
687
+ .lg-container.lg-dragging-vertical .lg-backdrop {
688
+ -webkit-transition-duration: 0s !important;
689
+ transition-duration: 0s !important;
690
+ }
691
+
692
+ .lg-container.lg-dragging-vertical .lg-css3 .lg-item.lg-current {
693
+ -webkit-transition-duration: 0s !important;
694
+ transition-duration: 0s !important;
695
+ opacity: 1;
696
+ }
697
+
698
+ .lg-inline .lg-backdrop,
699
+ .lg-inline .lg-outer {
700
+ position: absolute;
701
+ }
702
+
703
+ .lg-inline .lg-backdrop {
704
+ z-index: 1;
705
+ }
706
+
707
+ .lg-inline .lg-outer {
708
+ z-index: 2;
709
+ }
710
+
711
+ .lg-inline .lg-maximize:after {
712
+ content: '\e909';
713
+ }
714
+
715
+ .lg-components {
716
+ -webkit-transform: translate3d(0, 100%, 0);
717
+ transform: translate3d(0, 100%, 0);
718
+ will-change: transform;
719
+ -webkit-transition: -webkit-transform 0.35s ease-out 0s;
720
+ -moz-transition: -moz-transform 0.35s ease-out 0s;
721
+ -o-transition: -o-transform 0.35s ease-out 0s;
722
+ transition: transform 0.35s ease-out 0s;
723
+ z-index: 1080;
724
+ position: absolute;
725
+ bottom: 0;
726
+ right: 0;
727
+ left: 0;
728
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface SliderContentType {
3
+ onUpdateTurning?: (index: number) => void;
4
+ [key: string]: any;
5
+ }
6
+ declare const SliderContent: (props: SliderContentType) => React.JSX.Element;
7
+ export default SliderContent;