@eturnity/eturnity_reusable_components 8.13.12 → 8.13.13-EPDM-9631.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.
Files changed (924) hide show
  1. package/README.md +29 -29
  2. package/package.json +85 -85
  3. package/src/App.vue +30 -30
  4. package/src/Test.vue +64 -64
  5. package/src/assets/icons/arrow_down.svg +3 -3
  6. package/src/assets/icons/arrow_up_red.svg +3 -3
  7. package/src/assets/icons/black_spinner.svg +35 -35
  8. package/src/assets/icons/delete_icon.svg +11 -11
  9. package/src/assets/icons/delete_icon_gray.svg +11 -11
  10. package/src/assets/icons/drag_icon.svg +8 -8
  11. package/src/assets/icons/external_icon.svg +6 -6
  12. package/src/assets/icons/language_icon.svg +6 -6
  13. package/src/assets/icons/pdf_icon.svg +6 -6
  14. package/src/assets/icons/plus_button.svg +4 -4
  15. package/src/assets/icons/search_icon_black.svg +3 -3
  16. package/src/assets/icons/subposition_icon.svg +3 -3
  17. package/src/assets/icons/subposition_marker.svg +3 -3
  18. package/src/assets/icons/warning_icon.svg +3 -3
  19. package/src/assets/svgIcons/2d_active.svg +7 -7
  20. package/src/assets/svgIcons/2d_inactive.svg +8 -8
  21. package/src/assets/svgIcons/3d_active.svg +7 -7
  22. package/src/assets/svgIcons/3d_inactive.svg +8 -8
  23. package/src/assets/svgIcons/_readme.md +7 -7
  24. package/src/assets/svgIcons/accept.svg +5 -5
  25. package/src/assets/svgIcons/activate_panels_active.svg +22 -22
  26. package/src/assets/svgIcons/activate_panels_inactive.svg +20 -20
  27. package/src/assets/svgIcons/add_icon-1.svg +3 -3
  28. package/src/assets/svgIcons/add_icon.svg +4 -4
  29. package/src/assets/svgIcons/address_book.svg +3 -3
  30. package/src/assets/svgIcons/adjust_roof.svg +6 -6
  31. package/src/assets/svgIcons/after_sale_as_a_service.svg +6 -6
  32. package/src/assets/svgIcons/all_good.svg +3 -3
  33. package/src/assets/svgIcons/angle_active.svg +5 -5
  34. package/src/assets/svgIcons/angle_inactive.svg +4 -4
  35. package/src/assets/svgIcons/area_active.svg +11 -11
  36. package/src/assets/svgIcons/area_inactive.svg +26 -26
  37. package/src/assets/svgIcons/areas_tool.svg +14 -14
  38. package/src/assets/svgIcons/arrow_down.svg +3 -3
  39. package/src/assets/svgIcons/arrow_down_unfilled.svg +4 -4
  40. package/src/assets/svgIcons/arrow_left.svg +4 -4
  41. package/src/assets/svgIcons/arrow_right.svg +4 -4
  42. package/src/assets/svgIcons/arrow_up.svg +3 -3
  43. package/src/assets/svgIcons/arrow_up_unfilled.svg +4 -4
  44. package/src/assets/svgIcons/attachment.svg +3 -3
  45. package/src/assets/svgIcons/base_layer.svg +3 -3
  46. package/src/assets/svgIcons/battery.svg +3 -3
  47. package/src/assets/svgIcons/bell.svg +3 -3
  48. package/src/assets/svgIcons/bell_alt.svg +3 -3
  49. package/src/assets/svgIcons/bexio.svg +4 -4
  50. package/src/assets/svgIcons/bold.svg +3 -3
  51. package/src/assets/svgIcons/bom.svg +3 -3
  52. package/src/assets/svgIcons/bom_generation.svg +10 -10
  53. package/src/assets/svgIcons/bookmaker.svg +3 -3
  54. package/src/assets/svgIcons/bubble.svg +3 -3
  55. package/src/assets/svgIcons/bug.svg +5 -5
  56. package/src/assets/svgIcons/buildings.svg +55 -55
  57. package/src/assets/svgIcons/bullet_list.svg +8 -8
  58. package/src/assets/svgIcons/calendar.svg +7 -7
  59. package/src/assets/svgIcons/calendar_icon.svg +7 -7
  60. package/src/assets/svgIcons/call.svg +3 -3
  61. package/src/assets/svgIcons/camera.svg +3 -3
  62. package/src/assets/svgIcons/car.svg +3 -3
  63. package/src/assets/svgIcons/cart.svg +3 -3
  64. package/src/assets/svgIcons/charger_icon_white.svg +44 -44
  65. package/src/assets/svgIcons/checkbox.svg +3 -3
  66. package/src/assets/svgIcons/checkmark.svg +3 -3
  67. package/src/assets/svgIcons/checkmark_white.svg +4 -4
  68. package/src/assets/svgIcons/clear_formatting.svg +7 -7
  69. package/src/assets/svgIcons/clenergy.svg +3 -3
  70. package/src/assets/svgIcons/clickable_info.svg +4 -4
  71. package/src/assets/svgIcons/clickable_info_white.svg +5 -5
  72. package/src/assets/svgIcons/clip.svg +3 -3
  73. package/src/assets/svgIcons/clock.svg +17 -17
  74. package/src/assets/svgIcons/clock_full.svg +3 -3
  75. package/src/assets/svgIcons/close.svg +4 -4
  76. package/src/assets/svgIcons/co_branding.svg +5 -5
  77. package/src/assets/svgIcons/collapse.svg +4 -4
  78. package/src/assets/svgIcons/collapse_all.svg +3 -3
  79. package/src/assets/svgIcons/collections.svg +3 -3
  80. package/src/assets/svgIcons/component_library.svg +7 -7
  81. package/src/assets/svgIcons/consumption_tariffs.svg +43 -43
  82. package/src/assets/svgIcons/context_menu-1.svg +6 -6
  83. package/src/assets/svgIcons/context_menu-2.svg +5 -5
  84. package/src/assets/svgIcons/context_menu.svg +5 -5
  85. package/src/assets/svgIcons/context_menu_tabs.svg +5 -5
  86. package/src/assets/svgIcons/cross.svg +4 -4
  87. package/src/assets/svgIcons/current_variant.svg +4 -4
  88. package/src/assets/svgIcons/customer.svg +3 -3
  89. package/src/assets/svgIcons/dashboard.svg +3 -3
  90. package/src/assets/svgIcons/data_transfer.svg +3 -3
  91. package/src/assets/svgIcons/deadline.svg +4 -4
  92. package/src/assets/svgIcons/deal_flow.svg +3 -3
  93. package/src/assets/svgIcons/delete.svg +4 -4
  94. package/src/assets/svgIcons/delete_area_active.svg +16 -16
  95. package/src/assets/svgIcons/delete_area_inactive.svg +15 -15
  96. package/src/assets/svgIcons/direction_active-1.svg +12 -12
  97. package/src/assets/svgIcons/direction_active.svg +5 -5
  98. package/src/assets/svgIcons/direction_arrow.svg +4 -4
  99. package/src/assets/svgIcons/direction_inactive.svg +4 -4
  100. package/src/assets/svgIcons/dislike.svg +3 -3
  101. package/src/assets/svgIcons/distance_tool.svg +8 -8
  102. package/src/assets/svgIcons/distances_active.svg +9 -9
  103. package/src/assets/svgIcons/distances_inactive.svg +8 -8
  104. package/src/assets/svgIcons/distort_tool.svg +10 -10
  105. package/src/assets/svgIcons/distort_tool2.svg +16 -16
  106. package/src/assets/svgIcons/document.svg +3 -3
  107. package/src/assets/svgIcons/documents.svg +3 -3
  108. package/src/assets/svgIcons/downarrow.svg +3 -3
  109. package/src/assets/svgIcons/download.svg +4 -4
  110. package/src/assets/svgIcons/drag_icon.svg +8 -8
  111. package/src/assets/svgIcons/draggable_corner.svg +5 -5
  112. package/src/assets/svgIcons/draw_tool.svg +3 -3
  113. package/src/assets/svgIcons/duplicate-1.svg +8 -8
  114. package/src/assets/svgIcons/duplicate-2.svg +5 -5
  115. package/src/assets/svgIcons/duplicate.svg +4 -4
  116. package/src/assets/svgIcons/e-mobility_configurator.svg +6 -6
  117. package/src/assets/svgIcons/e_signature.svg +5 -5
  118. package/src/assets/svgIcons/edit_button.svg +3 -3
  119. package/src/assets/svgIcons/efs.svg +5 -5
  120. package/src/assets/svgIcons/electricity_tariff.svg +3 -3
  121. package/src/assets/svgIcons/email.svg +3 -3
  122. package/src/assets/svgIcons/ems-1.svg +3 -3
  123. package/src/assets/svgIcons/ems.svg +3 -3
  124. package/src/assets/svgIcons/end_of_the_list.svg +5 -5
  125. package/src/assets/svgIcons/energy_meter.svg +3 -3
  126. package/src/assets/svgIcons/erase.svg +4 -4
  127. package/src/assets/svgIcons/erase_white.svg +4 -4
  128. package/src/assets/svgIcons/expand_all.svg +4 -4
  129. package/src/assets/svgIcons/export_document.svg +3 -3
  130. package/src/assets/svgIcons/external_icon.svg +5 -5
  131. package/src/assets/svgIcons/fav_icon.svg +4 -4
  132. package/src/assets/svgIcons/finance.svg +3 -3
  133. package/src/assets/svgIcons/financing_for_pv-1.svg +5 -5
  134. package/src/assets/svgIcons/financing_for_pv-2.svg +3 -3
  135. package/src/assets/svgIcons/financing_for_pv.svg +3 -3
  136. package/src/assets/svgIcons/finish-1.svg +4 -4
  137. package/src/assets/svgIcons/finish.svg +3 -3
  138. package/src/assets/svgIcons/flatten.svg +11 -11
  139. package/src/assets/svgIcons/flatten_roof.svg +20 -20
  140. package/src/assets/svgIcons/folder.svg +3 -3
  141. package/src/assets/svgIcons/free_technology.svg +3 -3
  142. package/src/assets/svgIcons/handle.svg +5 -5
  143. package/src/assets/svgIcons/heat_calc.svg +7 -7
  144. package/src/assets/svgIcons/heat_pump.svg +5 -5
  145. package/src/assets/svgIcons/heating_system.svg +3 -3
  146. package/src/assets/svgIcons/height_equalize.svg +3 -3
  147. package/src/assets/svgIcons/height_snap.svg +3 -3
  148. package/src/assets/svgIcons/house.svg +3 -3
  149. package/src/assets/svgIcons/house_3d-1.svg +7 -7
  150. package/src/assets/svgIcons/house_3d.svg +7 -7
  151. package/src/assets/svgIcons/hybrid.svg +4 -4
  152. package/src/assets/svgIcons/inclination.svg +2 -2
  153. package/src/assets/svgIcons/info.svg +3 -3
  154. package/src/assets/svgIcons/initial_situation.svg +3 -3
  155. package/src/assets/svgIcons/integrations.svg +3 -3
  156. package/src/assets/svgIcons/intro-tour-1.svg +3 -3
  157. package/src/assets/svgIcons/intro-tour.svg +3 -3
  158. package/src/assets/svgIcons/inverter.svg +3 -3
  159. package/src/assets/svgIcons/italic.svg +3 -3
  160. package/src/assets/svgIcons/k2.svg +4 -4
  161. package/src/assets/svgIcons/key.svg +3 -3
  162. package/src/assets/svgIcons/lake.svg +29 -29
  163. package/src/assets/svgIcons/layers_close.svg +4 -4
  164. package/src/assets/svgIcons/layers_open.svg +4 -4
  165. package/src/assets/svgIcons/lead_marketplace.svg +6 -6
  166. package/src/assets/svgIcons/lead_provider.svg +4 -4
  167. package/src/assets/svgIcons/length_2d.svg +2 -2
  168. package/src/assets/svgIcons/length_3d.svg +4 -4
  169. package/src/assets/svgIcons/length_calculator.svg +2 -2
  170. package/src/assets/svgIcons/length_in_2d_active.svg +12 -12
  171. package/src/assets/svgIcons/length_in_2d_inctive.svg +13 -13
  172. package/src/assets/svgIcons/light_bulb.svg +3 -3
  173. package/src/assets/svgIcons/like.svg +3 -3
  174. package/src/assets/svgIcons/line_graph.svg +3 -3
  175. package/src/assets/svgIcons/local_subsidies.svg +18 -18
  176. package/src/assets/svgIcons/location.svg +3 -3
  177. package/src/assets/svgIcons/lock.svg +3 -3
  178. package/src/assets/svgIcons/logout.svg +3 -3
  179. package/src/assets/svgIcons/loop.svg +3 -3
  180. package/src/assets/svgIcons/low-vegetation.svg +37 -37
  181. package/src/assets/svgIcons/lunch.svg +4 -4
  182. package/src/assets/svgIcons/magic_tool.svg +6 -6
  183. package/src/assets/svgIcons/map_icon.svg +5 -5
  184. package/src/assets/svgIcons/map_settings.svg +3 -3
  185. package/src/assets/svgIcons/margin_tool.svg +4 -4
  186. package/src/assets/svgIcons/meeting.svg +6 -6
  187. package/src/assets/svgIcons/module.svg +3 -3
  188. package/src/assets/svgIcons/move_copy.svg +4 -4
  189. package/src/assets/svgIcons/move_down.svg +3 -3
  190. package/src/assets/svgIcons/move_up.svg +3 -3
  191. package/src/assets/svgIcons/new_area_inactive.svg +11 -11
  192. package/src/assets/svgIcons/next.svg +4 -4
  193. package/src/assets/svgIcons/normal-tg.svg +30 -30
  194. package/src/assets/svgIcons/normal-vegetation.svg +53 -53
  195. package/src/assets/svgIcons/not_equal_to.svg +3 -3
  196. package/src/assets/svgIcons/numbered_list.svg +6 -6
  197. package/src/assets/svgIcons/obstacle_tool.svg +8 -8
  198. package/src/assets/svgIcons/obstacle_tool_origin.svg +3 -3
  199. package/src/assets/svgIcons/offset_tool.svg +8 -8
  200. package/src/assets/svgIcons/open-tg.svg +21 -21
  201. package/src/assets/svgIcons/optimizer.svg +3 -3
  202. package/src/assets/svgIcons/outline_tool.svg +11 -11
  203. package/src/assets/svgIcons/pan_tool.svg +12 -12
  204. package/src/assets/svgIcons/panels_tool.svg +8 -8
  205. package/src/assets/svgIcons/pen_tool.svg +4 -4
  206. package/src/assets/svgIcons/picker_tool.svg +4 -4
  207. package/src/assets/svgIcons/picture.svg +3 -3
  208. package/src/assets/svgIcons/pin.svg +5 -5
  209. package/src/assets/svgIcons/plus_button.svg +4 -4
  210. package/src/assets/svgIcons/presentation.svg +3 -3
  211. package/src/assets/svgIcons/previous.svg +4 -4
  212. package/src/assets/svgIcons/profile-1.svg +4 -4
  213. package/src/assets/svgIcons/profile.svg +3 -3
  214. package/src/assets/svgIcons/profitability.svg +3 -3
  215. package/src/assets/svgIcons/project_analysis.svg +3 -3
  216. package/src/assets/svgIcons/project_settings.svg +3 -3
  217. package/src/assets/svgIcons/protected-tg.svg +47 -47
  218. package/src/assets/svgIcons/pv.svg +3 -3
  219. package/src/assets/svgIcons/question_mark.svg +3 -3
  220. package/src/assets/svgIcons/question_mark_white.svg +4 -4
  221. package/src/assets/svgIcons/quotations.svg +6 -6
  222. package/src/assets/svgIcons/redo.svg +6 -6
  223. package/src/assets/svgIcons/reorder_string.svg +3 -3
  224. package/src/assets/svgIcons/resizer.svg +5 -5
  225. package/src/assets/svgIcons/roof_layer.svg +3 -3
  226. package/src/assets/svgIcons/rotate_tool.svg +3 -3
  227. package/src/assets/svgIcons/rotate_view.svg +5 -5
  228. package/src/assets/svgIcons/ruler_tool.svg +3 -3
  229. package/src/assets/svgIcons/run_simulation.svg +3 -3
  230. package/src/assets/svgIcons/save.svg +3 -3
  231. package/src/assets/svgIcons/scaling_tool.svg +8 -8
  232. package/src/assets/svgIcons/sea.svg +34 -34
  233. package/src/assets/svgIcons/search.svg +3 -3
  234. package/src/assets/svgIcons/security.svg +3 -3
  235. package/src/assets/svgIcons/settings.svg +3 -3
  236. package/src/assets/svgIcons/show_in_a_new_tab.svg +12 -12
  237. package/src/assets/svgIcons/smartphone.svg +4 -4
  238. package/src/assets/svgIcons/solar_calc.svg +13 -13
  239. package/src/assets/svgIcons/solarmarkt.svg +3 -3
  240. package/src/assets/svgIcons/sorting.svg +4 -4
  241. package/src/assets/svgIcons/split.svg +12 -12
  242. package/src/assets/svgIcons/star.svg +3 -3
  243. package/src/assets/svgIcons/start_of_the_list.svg +5 -5
  244. package/src/assets/svgIcons/strikethrough.svg +4 -4
  245. package/src/assets/svgIcons/string_design.svg +5 -5
  246. package/src/assets/svgIcons/string_directions.svg +10 -10
  247. package/src/assets/svgIcons/subscriptions.svg +3 -3
  248. package/src/assets/svgIcons/subsidies-2.svg +3 -3
  249. package/src/assets/svgIcons/subsidies.svg +3 -3
  250. package/src/assets/svgIcons/subtract_icon.svg +3 -3
  251. package/src/assets/svgIcons/suitcase.svg +3 -3
  252. package/src/assets/svgIcons/summer.svg +3 -3
  253. package/src/assets/svgIcons/switch_polarity.svg +5 -5
  254. package/src/assets/svgIcons/template_icon_not_clickable.svg +6 -6
  255. package/src/assets/svgIcons/transfer.svg +4 -4
  256. package/src/assets/svgIcons/transparent_warning.svg +4 -4
  257. package/src/assets/svgIcons/trim_tool.svg +4 -4
  258. package/src/assets/svgIcons/truck.svg +3 -3
  259. package/src/assets/svgIcons/underlined.svg +3 -3
  260. package/src/assets/svgIcons/undo.svg +6 -6
  261. package/src/assets/svgIcons/uparrow.svg +3 -3
  262. package/src/assets/svgIcons/update.svg +3 -3
  263. package/src/assets/svgIcons/upload_avatar-1.svg +12 -12
  264. package/src/assets/svgIcons/upload_avatar.svg +5 -5
  265. package/src/assets/svgIcons/upload_image.svg +8 -8
  266. package/src/assets/svgIcons/upload_image_tool.svg +7 -7
  267. package/src/assets/svgIcons/variants.svg +3 -3
  268. package/src/assets/svgIcons/vdv.svg +5 -5
  269. package/src/assets/svgIcons/vertical_tool.svg +3 -3
  270. package/src/assets/svgIcons/virtual_storage.svg +3 -3
  271. package/src/assets/svgIcons/warning.svg +4 -4
  272. package/src/assets/svgIcons/warning_triangle.svg +3 -3
  273. package/src/assets/svgIcons/warning_triangle_white.svg +5 -5
  274. package/src/assets/svgIcons/way.svg +5 -5
  275. package/src/assets/svgIcons/wifi.svg +3 -3
  276. package/src/assets/svgIcons/winter.svg +3 -3
  277. package/src/assets/svgIcons/workflow_template.svg +11 -11
  278. package/src/assets/tests/__mocks__/iconCache.js +1 -1
  279. package/src/assets/tests/__mocks__/svgMock.js +1 -1
  280. package/src/assets/tests/helpers.js +12 -12
  281. package/src/assets/theme.js +623 -623
  282. package/src/components/addNewButton/AddNewButton.stories.js +17 -17
  283. package/src/components/addNewButton/addNewButton.spec.js +23 -23
  284. package/src/components/addNewButton/index.vue +66 -66
  285. package/src/components/banner/actionBanner/ActionBanner.stories.js +45 -45
  286. package/src/components/banner/actionBanner/actionBanner.spec.js +76 -76
  287. package/src/components/banner/actionBanner/index.vue +86 -86
  288. package/src/components/banner/banner/Banner.stories.js +64 -64
  289. package/src/components/banner/banner/banner.spec.js +149 -149
  290. package/src/components/banner/banner/index.vue +205 -205
  291. package/src/components/banner/infoBanner/InfoBanner.spec.js +70 -70
  292. package/src/components/banner/infoBanner/InfoBanner.stories.js +42 -42
  293. package/src/components/banner/infoBanner/index.vue +97 -97
  294. package/src/components/banner/notificationBanner/index.vue +131 -131
  295. package/src/components/buttons/buttonIcon/index.vue +250 -250
  296. package/src/components/buttons/closeButton/CloseButton.stories.js +25 -25
  297. package/src/components/buttons/closeButton/index.vue +62 -62
  298. package/src/components/buttons/mainButton/MainButton.stories.js +51 -51
  299. package/src/components/buttons/mainButton/index.vue +213 -213
  300. package/src/components/buttons/mainButton/mainButton.spec.js +35 -35
  301. package/src/components/card/Card.stories.js +79 -79
  302. package/src/components/card/card.spec.js +135 -135
  303. package/src/components/card/index.vue +116 -116
  304. package/src/components/collapsableInfoText/index.vue +127 -127
  305. package/src/components/deleteIcon/DeleteIcon.stories.js +29 -29
  306. package/src/components/deleteIcon/index.vue +78 -78
  307. package/src/components/draggableInputHandle/index.vue +46 -46
  308. package/src/components/dropdown/Dropdown.stories.js +53 -53
  309. package/src/components/dropdown/index.vue +138 -138
  310. package/src/components/errorMessage/index.vue +64 -64
  311. package/src/components/filter/filterSettings.vue +670 -670
  312. package/src/components/filter/index.vue +154 -154
  313. package/src/components/filter/parentDropdown.vue +91 -91
  314. package/src/components/icon/Icons.stories.js +31 -31
  315. package/src/components/icon/icon.spec.js +66 -66
  316. package/src/components/icon/iconCache.mjs +23 -23
  317. package/src/components/icon/iconCollection.vue +83 -83
  318. package/src/components/icon/index.vue +197 -197
  319. package/src/components/iconWrapper/index.vue +184 -184
  320. package/src/components/infoCard/InfoCard.stories.js +170 -170
  321. package/src/components/infoCard/defaultProps.js +7 -7
  322. package/src/components/infoCard/index.vue +156 -156
  323. package/src/components/infoCard/infoCard.spec.js +64 -64
  324. package/src/components/infoLabel/index.vue +63 -63
  325. package/src/components/infoText/constants.js +4 -4
  326. package/src/components/infoText/index.vue +645 -645
  327. package/src/components/infoText/infoText.spec.js +62 -62
  328. package/src/components/infoText/infoText.stories.js +48 -48
  329. package/src/components/infoText/placeholder.vue +225 -225
  330. package/src/components/inputs/checkbox/Checkbox.stories.js +63 -63
  331. package/src/components/inputs/checkbox/checkbox.spec.js +109 -109
  332. package/src/components/inputs/checkbox/index.vue +250 -250
  333. package/src/components/inputs/inputNumber/InputNumber.stories.js +150 -150
  334. package/src/components/inputs/inputNumber/index.vue +990 -990
  335. package/src/components/inputs/inputNumberQuestion/index.vue +218 -218
  336. package/src/components/inputs/inputText/InputText.stories.js +70 -70
  337. package/src/components/inputs/inputText/index.vue +463 -463
  338. package/src/components/inputs/inputText/inputText.spec.js +588 -588
  339. package/src/components/inputs/radioButton/RadioButton.stories.js +77 -77
  340. package/src/components/inputs/radioButton/defaultProps.js +31 -31
  341. package/src/components/inputs/radioButton/index.vue +336 -336
  342. package/src/components/inputs/radioButton/radioButton.spec.js +306 -306
  343. package/src/components/inputs/searchInput/SearchInput.stories.js +66 -66
  344. package/src/components/inputs/searchInput/defaultProps.js +12 -12
  345. package/src/components/inputs/searchInput/index.vue +165 -165
  346. package/src/components/inputs/searchInput/searchInput.spec.js +64 -64
  347. package/src/components/inputs/select/index.vue +968 -968
  348. package/src/components/inputs/select/option/index.vue +164 -164
  349. package/src/components/inputs/select/select.stories.js +58 -58
  350. package/src/components/inputs/slider/index.vue +126 -126
  351. package/src/components/inputs/switchField/index.vue +254 -254
  352. package/src/components/inputs/textAreaInput/TextAreaInput.stories.js +127 -127
  353. package/src/components/inputs/textAreaInput/index.vue +204 -204
  354. package/src/components/inputs/toggle/Toggle.stories.js +77 -77
  355. package/src/components/inputs/toggle/index.vue +322 -322
  356. package/src/components/inputs/toggle/toggle.spec.js +102 -102
  357. package/src/components/label/index.vue +98 -98
  358. package/src/components/markerItem/index.vue +95 -95
  359. package/src/components/modals/actionModal/index.vue +64 -64
  360. package/src/components/modals/infoModal/index.vue +52 -52
  361. package/src/components/modals/modal/index.vue +200 -200
  362. package/src/components/modals/modal/modal.stories.js +31 -31
  363. package/src/components/navigationTabs/index.vue +114 -114
  364. package/src/components/pageSubtitle/PageSubtitle.stories.js +59 -59
  365. package/src/components/pageSubtitle/index.vue +78 -78
  366. package/src/components/pageSubtitle/pageSubtitle.spec.js +46 -46
  367. package/src/components/pageTitle/PageTitle.stories.js +95 -95
  368. package/src/components/pageTitle/index.vue +91 -91
  369. package/src/components/pageTitle/pageTitle.spec.js +46 -46
  370. package/src/components/pagination/index.vue +148 -148
  371. package/src/components/panelRangeInfo/index.vue +196 -196
  372. package/src/components/progressBar/index.vue +125 -125
  373. package/src/components/projectMarker/index.vue +301 -301
  374. package/src/components/rangeSlider/Slider.vue +578 -578
  375. package/src/components/rangeSlider/index.vue +517 -517
  376. package/src/components/rangeSlider/utils/dom.js +49 -49
  377. package/src/components/rangeSlider/utils/fns.js +26 -26
  378. package/src/components/roundTabs/index.vue +107 -107
  379. package/src/components/selectedOptions/index.vue +462 -462
  380. package/src/components/selectedOptions/selectedOptions.spec.js +176 -176
  381. package/src/components/selectedOptions/selectedOptions.stories.js +155 -155
  382. package/src/components/sideMenu/index.vue +325 -325
  383. package/src/components/spinner/Spinner.stories.js +34 -34
  384. package/src/components/spinner/index.vue +129 -129
  385. package/src/components/spinner/spinner.spec.js +69 -69
  386. package/src/components/spinnerGif/index.vue +98 -98
  387. package/src/components/tableDropdown/index.vue +692 -692
  388. package/src/components/tables/mainTable/exampleNested.vue +328 -328
  389. package/src/components/tables/mainTable/index.vue +523 -519
  390. package/src/components/tables/viewTable/index.vue +195 -195
  391. package/src/components/tabsHeader/index.vue +95 -95
  392. package/src/components/threeDots/index.vue +413 -413
  393. package/src/components/videoThumbnail/index.vue +103 -103
  394. package/src/components/videoThumbnail/videoThumbnail.stories.js +33 -33
  395. package/src/helpers/currencyMapping.js +28 -28
  396. package/src/helpers/dateTimeFormatting.js +51 -0
  397. package/src/helpers/numberConverter.js +103 -103
  398. package/src/helpers/translateLang.js +128 -128
  399. package/src/main.js +7 -7
  400. package/src/mixins/inputValidations.js +97 -97
  401. package/src/router/dynamicRoutes.js +23 -23
  402. package/src/stories/Button.stories.js +48 -48
  403. package/src/stories/Button.vue +52 -52
  404. package/src/stories/Configure.mdx +364 -364
  405. package/src/stories/Header.stories.js +41 -41
  406. package/src/stories/Header.vue +59 -59
  407. package/src/stories/Page.stories.js +30 -30
  408. package/src/stories/Page.vue +83 -83
  409. package/src/stories/button.css +30 -30
  410. package/src/stories/header.css +32 -32
  411. package/src/stories/page.css +69 -69
  412. package/src/utils/index.js +12 -12
  413. package/dist/main.es.js +0 -7
  414. package/dist/main.es10.js +0 -10
  415. package/dist/main.es100.js +0 -23
  416. package/dist/main.es101.js +0 -23
  417. package/dist/main.es102.js +0 -20
  418. package/dist/main.es103.js +0 -20
  419. package/dist/main.es104.js +0 -20
  420. package/dist/main.es105.js +0 -37
  421. package/dist/main.es106.js +0 -28
  422. package/dist/main.es107.js +0 -32
  423. package/dist/main.es108.js +0 -18
  424. package/dist/main.es109.js +0 -33
  425. package/dist/main.es11.js +0 -2484
  426. package/dist/main.es110.js +0 -41
  427. package/dist/main.es111.js +0 -36
  428. package/dist/main.es112.js +0 -35
  429. package/dist/main.es113.js +0 -20
  430. package/dist/main.es114.js +0 -23
  431. package/dist/main.es115.js +0 -30
  432. package/dist/main.es116.js +0 -23
  433. package/dist/main.es117.js +0 -32
  434. package/dist/main.es118.js +0 -23
  435. package/dist/main.es119.js +0 -29
  436. package/dist/main.es12.js +0 -133
  437. package/dist/main.es120.js +0 -25
  438. package/dist/main.es121.js +0 -23
  439. package/dist/main.es122.js +0 -28
  440. package/dist/main.es123.js +0 -28
  441. package/dist/main.es124.js +0 -39
  442. package/dist/main.es125.js +0 -37
  443. package/dist/main.es126.js +0 -23
  444. package/dist/main.es127.js +0 -25
  445. package/dist/main.es128.js +0 -23
  446. package/dist/main.es129.js +0 -23
  447. package/dist/main.es13.js +0 -261
  448. package/dist/main.es130.js +0 -23
  449. package/dist/main.es131.js +0 -28
  450. package/dist/main.es132.js +0 -29
  451. package/dist/main.es133.js +0 -29
  452. package/dist/main.es134.js +0 -21
  453. package/dist/main.es135.js +0 -20
  454. package/dist/main.es136.js +0 -28
  455. package/dist/main.es137.js +0 -24
  456. package/dist/main.es138.js +0 -28
  457. package/dist/main.es139.js +0 -23
  458. package/dist/main.es14.js +0 -26
  459. package/dist/main.es140.js +0 -33
  460. package/dist/main.es141.js +0 -30
  461. package/dist/main.es142.js +0 -23
  462. package/dist/main.es143.js +0 -20
  463. package/dist/main.es144.js +0 -19
  464. package/dist/main.es145.js +0 -23
  465. package/dist/main.es146.js +0 -29
  466. package/dist/main.es147.js +0 -28
  467. package/dist/main.es148.js +0 -35
  468. package/dist/main.es149.js +0 -25
  469. package/dist/main.es15.js +0 -1058
  470. package/dist/main.es150.js +0 -25
  471. package/dist/main.es151.js +0 -23
  472. package/dist/main.es152.js +0 -41
  473. package/dist/main.es153.js +0 -41
  474. package/dist/main.es154.js +0 -25
  475. package/dist/main.es155.js +0 -23
  476. package/dist/main.es156.js +0 -23
  477. package/dist/main.es157.js +0 -25
  478. package/dist/main.es158.js +0 -23
  479. package/dist/main.es159.js +0 -23
  480. package/dist/main.es16.js +0 -692
  481. package/dist/main.es160.js +0 -23
  482. package/dist/main.es161.js +0 -23
  483. package/dist/main.es162.js +0 -23
  484. package/dist/main.es163.js +0 -23
  485. package/dist/main.es164.js +0 -20
  486. package/dist/main.es165.js +0 -28
  487. package/dist/main.es166.js +0 -28
  488. package/dist/main.es167.js +0 -28
  489. package/dist/main.es168.js +0 -28
  490. package/dist/main.es169.js +0 -25
  491. package/dist/main.es17.js +0 -95
  492. package/dist/main.es170.js +0 -23
  493. package/dist/main.es171.js +0 -23
  494. package/dist/main.es172.js +0 -20
  495. package/dist/main.es173.js +0 -20
  496. package/dist/main.es174.js +0 -23
  497. package/dist/main.es175.js +0 -18
  498. package/dist/main.es176.js +0 -23
  499. package/dist/main.es177.js +0 -20
  500. package/dist/main.es178.js +0 -25
  501. package/dist/main.es179.js +0 -25
  502. package/dist/main.es18.js +0 -78
  503. package/dist/main.es180.js +0 -23
  504. package/dist/main.es181.js +0 -23
  505. package/dist/main.es182.js +0 -20
  506. package/dist/main.es183.js +0 -23
  507. package/dist/main.es184.js +0 -23
  508. package/dist/main.es185.js +0 -32
  509. package/dist/main.es186.js +0 -23
  510. package/dist/main.es187.js +0 -32
  511. package/dist/main.es188.js +0 -37
  512. package/dist/main.es189.js +0 -32
  513. package/dist/main.es19.js +0 -143
  514. package/dist/main.es190.js +0 -39
  515. package/dist/main.es191.js +0 -28
  516. package/dist/main.es192.js +0 -20
  517. package/dist/main.es193.js +0 -20
  518. package/dist/main.es194.js +0 -25
  519. package/dist/main.es195.js +0 -23
  520. package/dist/main.es196.js +0 -40
  521. package/dist/main.es197.js +0 -23
  522. package/dist/main.es198.js +0 -21
  523. package/dist/main.es199.js +0 -19
  524. package/dist/main.es2.js +0 -34
  525. package/dist/main.es20.js +0 -152
  526. package/dist/main.es200.js +0 -20
  527. package/dist/main.es201.js +0 -20
  528. package/dist/main.es202.js +0 -33
  529. package/dist/main.es203.js +0 -23
  530. package/dist/main.es204.js +0 -23
  531. package/dist/main.es205.js +0 -28
  532. package/dist/main.es206.js +0 -23
  533. package/dist/main.es207.js +0 -23
  534. package/dist/main.es208.js +0 -21
  535. package/dist/main.es209.js +0 -23
  536. package/dist/main.es21.js +0 -108
  537. package/dist/main.es210.js +0 -28
  538. package/dist/main.es211.js +0 -23
  539. package/dist/main.es212.js +0 -23
  540. package/dist/main.es213.js +0 -23
  541. package/dist/main.es214.js +0 -28
  542. package/dist/main.es215.js +0 -28
  543. package/dist/main.es216.js +0 -20
  544. package/dist/main.es217.js +0 -23
  545. package/dist/main.es218.js +0 -35
  546. package/dist/main.es219.js +0 -28
  547. package/dist/main.es22.js +0 -4
  548. package/dist/main.es220.js +0 -29
  549. package/dist/main.es221.js +0 -24
  550. package/dist/main.es222.js +0 -23
  551. package/dist/main.es223.js +0 -28
  552. package/dist/main.es224.js +0 -25
  553. package/dist/main.es225.js +0 -23
  554. package/dist/main.es226.js +0 -23
  555. package/dist/main.es227.js +0 -20
  556. package/dist/main.es228.js +0 -20
  557. package/dist/main.es229.js +0 -23
  558. package/dist/main.es23.js +0 -169
  559. package/dist/main.es230.js +0 -23
  560. package/dist/main.es231.js +0 -25
  561. package/dist/main.es232.js +0 -38
  562. package/dist/main.es233.js +0 -30
  563. package/dist/main.es234.js +0 -28
  564. package/dist/main.es235.js +0 -23
  565. package/dist/main.es236.js +0 -22
  566. package/dist/main.es237.js +0 -28
  567. package/dist/main.es238.js +0 -23
  568. package/dist/main.es239.js +0 -18
  569. package/dist/main.es24.js +0 -201
  570. package/dist/main.es240.js +0 -23
  571. package/dist/main.es241.js +0 -25
  572. package/dist/main.es242.js +0 -23
  573. package/dist/main.es243.js +0 -23
  574. package/dist/main.es244.js +0 -23
  575. package/dist/main.es245.js +0 -23
  576. package/dist/main.es246.js +0 -23
  577. package/dist/main.es247.js +0 -23
  578. package/dist/main.es248.js +0 -23
  579. package/dist/main.es249.js +0 -23
  580. package/dist/main.es25.js +0 -55
  581. package/dist/main.es250.js +0 -30
  582. package/dist/main.es251.js +0 -23
  583. package/dist/main.es252.js +0 -23
  584. package/dist/main.es253.js +0 -28
  585. package/dist/main.es254.js +0 -23
  586. package/dist/main.es255.js +0 -23
  587. package/dist/main.es256.js +0 -28
  588. package/dist/main.es257.js +0 -33
  589. package/dist/main.es258.js +0 -28
  590. package/dist/main.es259.js +0 -28
  591. package/dist/main.es26.js +0 -12
  592. package/dist/main.es260.js +0 -23
  593. package/dist/main.es261.js +0 -25
  594. package/dist/main.es262.js +0 -28
  595. package/dist/main.es263.js +0 -30
  596. package/dist/main.es264.js +0 -23
  597. package/dist/main.es265.js +0 -23
  598. package/dist/main.es266.js +0 -23
  599. package/dist/main.es267.js +0 -23
  600. package/dist/main.es268.js +0 -28
  601. package/dist/main.es269.js +0 -252
  602. package/dist/main.es27.js +0 -6
  603. package/dist/main.es270.js +0 -22
  604. package/dist/main.es271.js +0 -25
  605. package/dist/main.es272.js +0 -7
  606. package/dist/main.es273.js +0 -383
  607. package/dist/main.es274.js +0 -54
  608. package/dist/main.es275.js +0 -15
  609. package/dist/main.es276.js +0 -64
  610. package/dist/main.es277.js +0 -4
  611. package/dist/main.es278.js +0 -4
  612. package/dist/main.es279.js +0 -4
  613. package/dist/main.es28.js +0 -103
  614. package/dist/main.es280.js +0 -4
  615. package/dist/main.es281.js +0 -4
  616. package/dist/main.es282.js +0 -4
  617. package/dist/main.es283.js +0 -4
  618. package/dist/main.es284.js +0 -4
  619. package/dist/main.es285.js +0 -4
  620. package/dist/main.es286.js +0 -4
  621. package/dist/main.es287.js +0 -4
  622. package/dist/main.es288.js +0 -4
  623. package/dist/main.es289.js +0 -4
  624. package/dist/main.es29.js +0 -62
  625. package/dist/main.es290.js +0 -4
  626. package/dist/main.es291.js +0 -4
  627. package/dist/main.es292.js +0 -4
  628. package/dist/main.es293.js +0 -4
  629. package/dist/main.es294.js +0 -4
  630. package/dist/main.es295.js +0 -4
  631. package/dist/main.es296.js +0 -4
  632. package/dist/main.es297.js +0 -4
  633. package/dist/main.es298.js +0 -4
  634. package/dist/main.es299.js +0 -4
  635. package/dist/main.es3.js +0 -70
  636. package/dist/main.es30.js +0 -69
  637. package/dist/main.es300.js +0 -4
  638. package/dist/main.es301.js +0 -4
  639. package/dist/main.es302.js +0 -4
  640. package/dist/main.es303.js +0 -4
  641. package/dist/main.es304.js +0 -4
  642. package/dist/main.es305.js +0 -4
  643. package/dist/main.es306.js +0 -4
  644. package/dist/main.es307.js +0 -4
  645. package/dist/main.es308.js +0 -4
  646. package/dist/main.es309.js +0 -4
  647. package/dist/main.es31.js +0 -801
  648. package/dist/main.es310.js +0 -4
  649. package/dist/main.es311.js +0 -4
  650. package/dist/main.es312.js +0 -4
  651. package/dist/main.es313.js +0 -4
  652. package/dist/main.es314.js +0 -4
  653. package/dist/main.es315.js +0 -4
  654. package/dist/main.es316.js +0 -4
  655. package/dist/main.es317.js +0 -4
  656. package/dist/main.es318.js +0 -4
  657. package/dist/main.es319.js +0 -4
  658. package/dist/main.es32.js +0 -127
  659. package/dist/main.es320.js +0 -4
  660. package/dist/main.es321.js +0 -4
  661. package/dist/main.es322.js +0 -4
  662. package/dist/main.es323.js +0 -4
  663. package/dist/main.es324.js +0 -4
  664. package/dist/main.es325.js +0 -4
  665. package/dist/main.es326.js +0 -4
  666. package/dist/main.es327.js +0 -4
  667. package/dist/main.es328.js +0 -4
  668. package/dist/main.es329.js +0 -4
  669. package/dist/main.es33.js +0 -4
  670. package/dist/main.es330.js +0 -4
  671. package/dist/main.es331.js +0 -4
  672. package/dist/main.es332.js +0 -4
  673. package/dist/main.es333.js +0 -4
  674. package/dist/main.es334.js +0 -4
  675. package/dist/main.es335.js +0 -4
  676. package/dist/main.es336.js +0 -4
  677. package/dist/main.es337.js +0 -4
  678. package/dist/main.es338.js +0 -4
  679. package/dist/main.es339.js +0 -4
  680. package/dist/main.es34.js +0 -29
  681. package/dist/main.es340.js +0 -4
  682. package/dist/main.es341.js +0 -4
  683. package/dist/main.es342.js +0 -4
  684. package/dist/main.es343.js +0 -4
  685. package/dist/main.es344.js +0 -4
  686. package/dist/main.es345.js +0 -4
  687. package/dist/main.es346.js +0 -4
  688. package/dist/main.es347.js +0 -4
  689. package/dist/main.es348.js +0 -4
  690. package/dist/main.es349.js +0 -4
  691. package/dist/main.es35.js +0 -34
  692. package/dist/main.es350.js +0 -4
  693. package/dist/main.es351.js +0 -4
  694. package/dist/main.es352.js +0 -4
  695. package/dist/main.es353.js +0 -4
  696. package/dist/main.es354.js +0 -4
  697. package/dist/main.es355.js +0 -4
  698. package/dist/main.es356.js +0 -4
  699. package/dist/main.es357.js +0 -4
  700. package/dist/main.es358.js +0 -4
  701. package/dist/main.es359.js +0 -4
  702. package/dist/main.es36.js +0 -36
  703. package/dist/main.es360.js +0 -4
  704. package/dist/main.es361.js +0 -4
  705. package/dist/main.es362.js +0 -4
  706. package/dist/main.es363.js +0 -4
  707. package/dist/main.es364.js +0 -4
  708. package/dist/main.es365.js +0 -4
  709. package/dist/main.es366.js +0 -4
  710. package/dist/main.es367.js +0 -4
  711. package/dist/main.es368.js +0 -4
  712. package/dist/main.es369.js +0 -4
  713. package/dist/main.es37.js +0 -41
  714. package/dist/main.es370.js +0 -4
  715. package/dist/main.es371.js +0 -4
  716. package/dist/main.es372.js +0 -4
  717. package/dist/main.es373.js +0 -4
  718. package/dist/main.es374.js +0 -4
  719. package/dist/main.es375.js +0 -4
  720. package/dist/main.es376.js +0 -4
  721. package/dist/main.es377.js +0 -4
  722. package/dist/main.es378.js +0 -4
  723. package/dist/main.es379.js +0 -4
  724. package/dist/main.es38.js +0 -35
  725. package/dist/main.es380.js +0 -4
  726. package/dist/main.es381.js +0 -4
  727. package/dist/main.es382.js +0 -4
  728. package/dist/main.es383.js +0 -4
  729. package/dist/main.es384.js +0 -4
  730. package/dist/main.es385.js +0 -4
  731. package/dist/main.es386.js +0 -4
  732. package/dist/main.es387.js +0 -4
  733. package/dist/main.es388.js +0 -4
  734. package/dist/main.es389.js +0 -4
  735. package/dist/main.es39.js +0 -20
  736. package/dist/main.es390.js +0 -4
  737. package/dist/main.es391.js +0 -4
  738. package/dist/main.es392.js +0 -4
  739. package/dist/main.es393.js +0 -4
  740. package/dist/main.es394.js +0 -4
  741. package/dist/main.es395.js +0 -4
  742. package/dist/main.es396.js +0 -4
  743. package/dist/main.es397.js +0 -4
  744. package/dist/main.es398.js +0 -4
  745. package/dist/main.es399.js +0 -4
  746. package/dist/main.es4.js +0 -19
  747. package/dist/main.es40.js +0 -20
  748. package/dist/main.es400.js +0 -4
  749. package/dist/main.es401.js +0 -4
  750. package/dist/main.es402.js +0 -4
  751. package/dist/main.es403.js +0 -4
  752. package/dist/main.es404.js +0 -4
  753. package/dist/main.es405.js +0 -4
  754. package/dist/main.es406.js +0 -4
  755. package/dist/main.es407.js +0 -4
  756. package/dist/main.es408.js +0 -4
  757. package/dist/main.es409.js +0 -4
  758. package/dist/main.es41.js +0 -25
  759. package/dist/main.es410.js +0 -4
  760. package/dist/main.es411.js +0 -4
  761. package/dist/main.es412.js +0 -4
  762. package/dist/main.es413.js +0 -4
  763. package/dist/main.es414.js +0 -4
  764. package/dist/main.es415.js +0 -4
  765. package/dist/main.es416.js +0 -4
  766. package/dist/main.es417.js +0 -4
  767. package/dist/main.es418.js +0 -4
  768. package/dist/main.es419.js +0 -4
  769. package/dist/main.es42.js +0 -28
  770. package/dist/main.es420.js +0 -4
  771. package/dist/main.es421.js +0 -4
  772. package/dist/main.es422.js +0 -4
  773. package/dist/main.es423.js +0 -4
  774. package/dist/main.es424.js +0 -4
  775. package/dist/main.es425.js +0 -4
  776. package/dist/main.es426.js +0 -4
  777. package/dist/main.es427.js +0 -4
  778. package/dist/main.es428.js +0 -4
  779. package/dist/main.es429.js +0 -4
  780. package/dist/main.es43.js +0 -23
  781. package/dist/main.es430.js +0 -4
  782. package/dist/main.es431.js +0 -4
  783. package/dist/main.es432.js +0 -4
  784. package/dist/main.es433.js +0 -4
  785. package/dist/main.es434.js +0 -4
  786. package/dist/main.es435.js +0 -4
  787. package/dist/main.es436.js +0 -4
  788. package/dist/main.es437.js +0 -4
  789. package/dist/main.es438.js +0 -4
  790. package/dist/main.es439.js +0 -4
  791. package/dist/main.es44.js +0 -44
  792. package/dist/main.es440.js +0 -4
  793. package/dist/main.es441.js +0 -4
  794. package/dist/main.es442.js +0 -4
  795. package/dist/main.es443.js +0 -4
  796. package/dist/main.es444.js +0 -4
  797. package/dist/main.es445.js +0 -4
  798. package/dist/main.es446.js +0 -4
  799. package/dist/main.es447.js +0 -4
  800. package/dist/main.es448.js +0 -4
  801. package/dist/main.es449.js +0 -4
  802. package/dist/main.es45.js +0 -38
  803. package/dist/main.es450.js +0 -4
  804. package/dist/main.es451.js +0 -4
  805. package/dist/main.es452.js +0 -4
  806. package/dist/main.es453.js +0 -4
  807. package/dist/main.es454.js +0 -4
  808. package/dist/main.es455.js +0 -4
  809. package/dist/main.es456.js +0 -4
  810. package/dist/main.es457.js +0 -4
  811. package/dist/main.es458.js +0 -4
  812. package/dist/main.es459.js +0 -4
  813. package/dist/main.es46.js +0 -23
  814. package/dist/main.es460.js +0 -4
  815. package/dist/main.es461.js +0 -4
  816. package/dist/main.es462.js +0 -4
  817. package/dist/main.es463.js +0 -4
  818. package/dist/main.es464.js +0 -4
  819. package/dist/main.es465.js +0 -4
  820. package/dist/main.es466.js +0 -4
  821. package/dist/main.es467.js +0 -4
  822. package/dist/main.es468.js +0 -4
  823. package/dist/main.es469.js +0 -4
  824. package/dist/main.es47.js +0 -23
  825. package/dist/main.es470.js +0 -4
  826. package/dist/main.es471.js +0 -4
  827. package/dist/main.es472.js +0 -4
  828. package/dist/main.es473.js +0 -4
  829. package/dist/main.es474.js +0 -4
  830. package/dist/main.es475.js +0 -4
  831. package/dist/main.es476.js +0 -4
  832. package/dist/main.es477.js +0 -4
  833. package/dist/main.es478.js +0 -4
  834. package/dist/main.es479.js +0 -4
  835. package/dist/main.es48.js +0 -24
  836. package/dist/main.es480.js +0 -4
  837. package/dist/main.es481.js +0 -4
  838. package/dist/main.es482.js +0 -4
  839. package/dist/main.es483.js +0 -4
  840. package/dist/main.es484.js +0 -4
  841. package/dist/main.es485.js +0 -4
  842. package/dist/main.es486.js +0 -4
  843. package/dist/main.es487.js +0 -4
  844. package/dist/main.es488.js +0 -4
  845. package/dist/main.es489.js +0 -4
  846. package/dist/main.es49.js +0 -35
  847. package/dist/main.es490.js +0 -4
  848. package/dist/main.es491.js +0 -4
  849. package/dist/main.es492.js +0 -4
  850. package/dist/main.es493.js +0 -4
  851. package/dist/main.es494.js +0 -4
  852. package/dist/main.es495.js +0 -4
  853. package/dist/main.es496.js +0 -4
  854. package/dist/main.es497.js +0 -4
  855. package/dist/main.es498.js +0 -4
  856. package/dist/main.es499.js +0 -4
  857. package/dist/main.es5.js +0 -586
  858. package/dist/main.es50.js +0 -30
  859. package/dist/main.es500.js +0 -4
  860. package/dist/main.es501.js +0 -4
  861. package/dist/main.es502.js +0 -4
  862. package/dist/main.es503.js +0 -4
  863. package/dist/main.es504.js +0 -4
  864. package/dist/main.es505.js +0 -4
  865. package/dist/main.es506.js +0 -4
  866. package/dist/main.es507.js +0 -4
  867. package/dist/main.es508.js +0 -4
  868. package/dist/main.es509.js +0 -4
  869. package/dist/main.es51.js +0 -34
  870. package/dist/main.es510.js +0 -4
  871. package/dist/main.es511.js +0 -88
  872. package/dist/main.es52.js +0 -20
  873. package/dist/main.es53.js +0 -20
  874. package/dist/main.es54.js +0 -23
  875. package/dist/main.es55.js +0 -28
  876. package/dist/main.es56.js +0 -28
  877. package/dist/main.es57.js +0 -23
  878. package/dist/main.es58.js +0 -25
  879. package/dist/main.es59.js +0 -24
  880. package/dist/main.es6.js +0 -5872
  881. package/dist/main.es60.js +0 -23
  882. package/dist/main.es61.js +0 -23
  883. package/dist/main.es62.js +0 -23
  884. package/dist/main.es63.js +0 -23
  885. package/dist/main.es64.js +0 -23
  886. package/dist/main.es65.js +0 -20
  887. package/dist/main.es66.js +0 -23
  888. package/dist/main.es67.js +0 -23
  889. package/dist/main.es68.js +0 -21
  890. package/dist/main.es69.js +0 -20
  891. package/dist/main.es7.js +0 -1904
  892. package/dist/main.es70.js +0 -23
  893. package/dist/main.es71.js +0 -28
  894. package/dist/main.es72.js +0 -28
  895. package/dist/main.es73.js +0 -23
  896. package/dist/main.es74.js +0 -23
  897. package/dist/main.es75.js +0 -23
  898. package/dist/main.es76.js +0 -23
  899. package/dist/main.es77.js +0 -31
  900. package/dist/main.es78.js +0 -23
  901. package/dist/main.es79.js +0 -33
  902. package/dist/main.es8.js +0 -42
  903. package/dist/main.es80.js +0 -30
  904. package/dist/main.es81.js +0 -23
  905. package/dist/main.es82.js +0 -22
  906. package/dist/main.es83.js +0 -25
  907. package/dist/main.es84.js +0 -28
  908. package/dist/main.es85.js +0 -35
  909. package/dist/main.es86.js +0 -23
  910. package/dist/main.es87.js +0 -23
  911. package/dist/main.es88.js +0 -33
  912. package/dist/main.es89.js +0 -20
  913. package/dist/main.es9.js +0 -4
  914. package/dist/main.es90.js +0 -28
  915. package/dist/main.es91.js +0 -28
  916. package/dist/main.es92.js +0 -23
  917. package/dist/main.es93.js +0 -23
  918. package/dist/main.es94.js +0 -24
  919. package/dist/main.es95.js +0 -28
  920. package/dist/main.es96.js +0 -28
  921. package/dist/main.es97.js +0 -23
  922. package/dist/main.es98.js +0 -23
  923. package/dist/main.es99.js +0 -28
  924. package/dist/style.css +0 -1
package/dist/main.es7.js DELETED
@@ -1,1904 +0,0 @@
1
- import "./main.es3.js";
2
- import { inject, h, provide } from "./main.es6.js";
3
- var chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split("");
4
- var generateAlphabeticName = function generateAlphabeticName2(code) {
5
- var lastDigit = chars[code % chars.length];
6
- return code > chars.length ? "".concat(generateAlphabeticName2(Math.floor(code / chars.length))).concat(lastDigit) : lastDigit;
7
- };
8
- var interleave = function(strings, interpolations) {
9
- return interpolations.reduce(function(array, interp, i) {
10
- return array.concat(interp, strings[i + 1]);
11
- }, [strings[0]]);
12
- };
13
- function _classCallCheck(instance, Constructor) {
14
- if (!(instance instanceof Constructor)) {
15
- throw new TypeError("Cannot call a class as a function");
16
- }
17
- }
18
- function _defineProperties(target, props) {
19
- for (var i = 0; i < props.length; i++) {
20
- var descriptor = props[i];
21
- descriptor.enumerable = descriptor.enumerable || false;
22
- descriptor.configurable = true;
23
- if ("value" in descriptor)
24
- descriptor.writable = true;
25
- Object.defineProperty(target, descriptor.key, descriptor);
26
- }
27
- }
28
- function _createClass(Constructor, protoProps, staticProps) {
29
- if (protoProps)
30
- _defineProperties(Constructor.prototype, protoProps);
31
- if (staticProps)
32
- _defineProperties(Constructor, staticProps);
33
- return Constructor;
34
- }
35
- function _defineProperty(obj, key, value) {
36
- if (key in obj) {
37
- Object.defineProperty(obj, key, {
38
- value,
39
- enumerable: true,
40
- configurable: true,
41
- writable: true
42
- });
43
- } else {
44
- obj[key] = value;
45
- }
46
- return obj;
47
- }
48
- function ownKeys(object, enumerableOnly) {
49
- var keys = Object.keys(object);
50
- if (Object.getOwnPropertySymbols) {
51
- var symbols = Object.getOwnPropertySymbols(object);
52
- if (enumerableOnly)
53
- symbols = symbols.filter(function(sym) {
54
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
55
- });
56
- keys.push.apply(keys, symbols);
57
- }
58
- return keys;
59
- }
60
- function _objectSpread2(target) {
61
- for (var i = 1; i < arguments.length; i++) {
62
- var source = arguments[i] != null ? arguments[i] : {};
63
- if (i % 2) {
64
- ownKeys(Object(source), true).forEach(function(key) {
65
- _defineProperty(target, key, source[key]);
66
- });
67
- } else if (Object.getOwnPropertyDescriptors) {
68
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
69
- } else {
70
- ownKeys(Object(source)).forEach(function(key) {
71
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
72
- });
73
- }
74
- }
75
- return target;
76
- }
77
- function _slicedToArray(arr, i) {
78
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
79
- }
80
- function _toConsumableArray(arr) {
81
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
82
- }
83
- function _arrayWithoutHoles(arr) {
84
- if (Array.isArray(arr))
85
- return _arrayLikeToArray(arr);
86
- }
87
- function _arrayWithHoles(arr) {
88
- if (Array.isArray(arr))
89
- return arr;
90
- }
91
- function _iterableToArray(iter) {
92
- if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter))
93
- return Array.from(iter);
94
- }
95
- function _iterableToArrayLimit(arr, i) {
96
- if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr)))
97
- return;
98
- var _arr = [];
99
- var _n = true;
100
- var _d = false;
101
- var _e = void 0;
102
- try {
103
- for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
104
- _arr.push(_s.value);
105
- if (i && _arr.length === i)
106
- break;
107
- }
108
- } catch (err) {
109
- _d = true;
110
- _e = err;
111
- } finally {
112
- try {
113
- if (!_n && _i["return"] != null)
114
- _i["return"]();
115
- } finally {
116
- if (_d)
117
- throw _e;
118
- }
119
- }
120
- return _arr;
121
- }
122
- function _unsupportedIterableToArray(o, minLen) {
123
- if (!o)
124
- return;
125
- if (typeof o === "string")
126
- return _arrayLikeToArray(o, minLen);
127
- var n = Object.prototype.toString.call(o).slice(8, -1);
128
- if (n === "Object" && o.constructor)
129
- n = o.constructor.name;
130
- if (n === "Map" || n === "Set")
131
- return Array.from(n);
132
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
133
- return _arrayLikeToArray(o, minLen);
134
- }
135
- function _arrayLikeToArray(arr, len) {
136
- if (len == null || len > arr.length)
137
- len = arr.length;
138
- for (var i = 0, arr2 = new Array(len); i < len; i++)
139
- arr2[i] = arr[i];
140
- return arr2;
141
- }
142
- function _nonIterableSpread() {
143
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
144
- }
145
- function _nonIterableRest() {
146
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
147
- }
148
- var objectTag = "[object Object]";
149
- function isHostObject(value) {
150
- var result = false;
151
- if (value != null && typeof value.toString != "function") {
152
- try {
153
- result = !!(value + "");
154
- } catch (e) {
155
- }
156
- }
157
- return result;
158
- }
159
- function overArg(func, transform) {
160
- return function(arg) {
161
- return func(transform(arg));
162
- };
163
- }
164
- var funcProto = Function.prototype, objectProto = Object.prototype;
165
- var funcToString = funcProto.toString;
166
- var hasOwnProperty = objectProto.hasOwnProperty;
167
- var objectCtorString = funcToString.call(Object);
168
- var objectToString = objectProto.toString;
169
- var getPrototype = overArg(Object.getPrototypeOf, Object);
170
- function isObjectLike(value) {
171
- return !!value && typeof value == "object";
172
- }
173
- function isPlainObject(value) {
174
- if (!isObjectLike(value) || objectToString.call(value) != objectTag || isHostObject(value)) {
175
- return false;
176
- }
177
- var proto = getPrototype(value);
178
- if (proto === null) {
179
- return true;
180
- }
181
- var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
182
- return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
183
- }
184
- var lodash_isplainobject = isPlainObject;
185
- var _uppercasePattern = /([A-Z])/g;
186
- var msPattern = /^ms-/;
187
- function hyphenate(string) {
188
- return string.replace(_uppercasePattern, "-$1").toLowerCase();
189
- }
190
- function hyphenateStyleName(string) {
191
- return hyphenate(string).replace(msPattern, "-ms-");
192
- }
193
- var hyphenateStyleName_1 = hyphenateStyleName;
194
- var objToCss = function objToCss2(obj, prevKey) {
195
- var css2 = Object.keys(obj).map(function(key) {
196
- if (lodash_isplainobject(obj[key]))
197
- return objToCss2(obj[key], key);
198
- return "".concat(hyphenateStyleName_1(key), ": ").concat(obj[key], ";");
199
- }).join(" ");
200
- return prevKey ? "".concat(prevKey, " {\n ").concat(css2, "\n}") : css2;
201
- };
202
- var flatten = function flatten2(chunks, executionContext) {
203
- return chunks.reduce(function(ruleSet, chunk) {
204
- if (chunk === void 0 || chunk === null || chunk === false || chunk === "")
205
- return ruleSet;
206
- if (Array.isArray(chunk))
207
- return [].concat(_toConsumableArray(ruleSet), _toConsumableArray(flatten2(chunk, executionContext)));
208
- if (typeof chunk === "function") {
209
- return executionContext ? ruleSet.concat.apply(ruleSet, _toConsumableArray(flatten2([chunk(executionContext)], executionContext))) : ruleSet.concat(chunk);
210
- }
211
- return ruleSet.concat(lodash_isplainobject(chunk) ? objToCss(chunk) : chunk.toString());
212
- }, []);
213
- };
214
- var css = function(rules) {
215
- for (var _len = arguments.length, interpolations = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
216
- interpolations[_key - 1] = arguments[_key];
217
- }
218
- return flatten(interleave(rules, interpolations));
219
- };
220
- function last(arr) {
221
- return arr[arr.length - 1];
222
- }
223
- function sheetForTag(tag) {
224
- for (var i = 0; i < document.styleSheets.length; i++) {
225
- if (document.styleSheets[i].ownerNode === tag) {
226
- return document.styleSheets[i];
227
- }
228
- }
229
- }
230
- var isDev = function(x) {
231
- return x === "development" || !x;
232
- }("development");
233
- var isTest = false;
234
- var isBrowser = typeof document !== "undefined" && !isTest;
235
- var oldIE = function() {
236
- if (isBrowser) {
237
- var div = document.createElement("div");
238
- div.innerHTML = "<!--[if lt IE 10]><i></i><![endif]-->";
239
- return div.getElementsByTagName("i").length === 1;
240
- }
241
- }();
242
- function makeStyleTag() {
243
- var tag = document.createElement("style");
244
- tag.type = "text/css";
245
- tag.appendChild(document.createTextNode(""));
246
- (document.head || document.getElementsByTagName("head")[0]).appendChild(tag);
247
- return tag;
248
- }
249
- var StyleSheet = function() {
250
- function StyleSheet2() {
251
- var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref$speedy = _ref.speedy, speedy = _ref$speedy === void 0 ? !isDev && !isTest : _ref$speedy, _ref$maxLength = _ref.maxLength, maxLength = _ref$maxLength === void 0 ? isBrowser && oldIE ? 4e3 : 65e3 : _ref$maxLength;
252
- _classCallCheck(this, StyleSheet2);
253
- this.isSpeedy = speedy;
254
- this.sheet = void 0;
255
- this.tags = [];
256
- this.maxLength = maxLength;
257
- this.ctr = 0;
258
- }
259
- _createClass(StyleSheet2, [{
260
- key: "inject",
261
- value: function inject2() {
262
- var _this = this;
263
- if (this.injected) {
264
- throw new Error("already injected stylesheet!");
265
- }
266
- if (isBrowser) {
267
- this.tags[0] = makeStyleTag();
268
- this.sheet = sheetForTag(this.tags[0]);
269
- } else {
270
- this.sheet = {
271
- cssRules: [],
272
- insertRule: function insertRule(rule) {
273
- var serverRule = {
274
- cssText: rule
275
- };
276
- _this.sheet.cssRules.push(serverRule);
277
- return {
278
- serverRule,
279
- appendRule: function appendRule(newCss) {
280
- return serverRule.cssText += newCss;
281
- }
282
- };
283
- }
284
- };
285
- }
286
- this.injected = true;
287
- }
288
- }, {
289
- key: "speedy",
290
- value: function speedy(bool) {
291
- if (this.ctr !== 0) {
292
- throw new Error("cannot change speedy mode after inserting any rule to sheet. Either call speedy(".concat(bool, ") earlier in your app, or call flush() before speedy(").concat(bool, ")"));
293
- }
294
- this.isSpeedy = !!bool;
295
- }
296
- }, {
297
- key: "_insert",
298
- value: function _insert(rule) {
299
- try {
300
- this.sheet.insertRule(rule, this.sheet.cssRules.length);
301
- } catch (e) {
302
- if (isDev) {
303
- console.warn("whoops, illegal rule inserted", rule);
304
- }
305
- }
306
- }
307
- }, {
308
- key: "insert",
309
- value: function insert(rule) {
310
- var insertedRule;
311
- if (isBrowser) {
312
- if (this.isSpeedy && this.sheet.insertRule) {
313
- this._insert(rule);
314
- } else {
315
- var textNode = document.createTextNode(rule);
316
- last(this.tags).appendChild(textNode);
317
- insertedRule = {
318
- textNode,
319
- appendRule: function appendRule(newCss) {
320
- return textNode.appendData(newCss);
321
- }
322
- };
323
- if (!this.isSpeedy) {
324
- this.sheet = sheetForTag(last(this.tags));
325
- }
326
- }
327
- } else {
328
- insertedRule = this.sheet.insertRule(rule);
329
- }
330
- this.ctr++;
331
- if (isBrowser && this.ctr % this.maxLength === 0) {
332
- this.tags.push(makeStyleTag());
333
- this.sheet = sheetForTag(last(this.tags));
334
- }
335
- return insertedRule;
336
- }
337
- }, {
338
- key: "flush",
339
- value: function flush() {
340
- if (isBrowser) {
341
- this.tags.forEach(function(tag) {
342
- return tag.parentNode.removeChild(tag);
343
- });
344
- this.tags = [];
345
- this.sheet = null;
346
- this.ctr = 0;
347
- } else {
348
- this.sheet.cssRules = [];
349
- }
350
- this.injected = false;
351
- }
352
- }, {
353
- key: "rules",
354
- value: function rules() {
355
- if (!isBrowser) {
356
- return this.sheet.cssRules;
357
- }
358
- var arr = [];
359
- this.tags.forEach(function(tag) {
360
- return arr.splice.apply(arr, [arr.length, 0].concat(_toConsumableArray(Array.from(sheetForTag(tag).cssRules))));
361
- });
362
- return arr;
363
- }
364
- }]);
365
- return StyleSheet2;
366
- }();
367
- var StyleSheet$1 = function() {
368
- function StyleSheet$12() {
369
- _classCallCheck(this, StyleSheet$12);
370
- this.globalStyleSheet = new StyleSheet({
371
- speedy: false
372
- });
373
- this.componentStyleSheet = new StyleSheet({
374
- speedy: false,
375
- maxLength: 40
376
- });
377
- }
378
- _createClass(StyleSheet$12, [{
379
- key: "inject",
380
- value: function inject2() {
381
- this.globalStyleSheet.inject();
382
- this.componentStyleSheet.inject();
383
- }
384
- }, {
385
- key: "flush",
386
- value: function flush() {
387
- if (this.globalStyleSheet.sheet)
388
- this.globalStyleSheet.flush();
389
- if (this.componentStyleSheet.sheet)
390
- this.componentStyleSheet.flush();
391
- }
392
- }, {
393
- key: "insert",
394
- value: function insert(rule) {
395
- var opts = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
396
- global: false
397
- };
398
- var sheet = opts.global ? this.globalStyleSheet : this.componentStyleSheet;
399
- return sheet.insert(rule);
400
- }
401
- }, {
402
- key: "rules",
403
- value: function rules() {
404
- return this.globalStyleSheet.rules().concat(this.componentStyleSheet.rules());
405
- }
406
- }, {
407
- key: "injected",
408
- get: function get() {
409
- return this.globalStyleSheet.injected && this.componentStyleSheet.injected;
410
- }
411
- }]);
412
- return StyleSheet$12;
413
- }();
414
- var styleSheet = new StyleSheet$1();
415
- function unwrapExports(x) {
416
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
417
- }
418
- function createCommonjsModule(fn, module) {
419
- return module = { exports: {} }, fn(module, module.exports), module.exports;
420
- }
421
- var hash = createCommonjsModule(function(module, exports) {
422
- Object.defineProperty(exports, "__esModule", {
423
- value: true
424
- });
425
- exports.default = doHash;
426
- function doHash(str, seed) {
427
- var m = 1540483477;
428
- var r = 24;
429
- var h2 = seed ^ str.length;
430
- var length = str.length;
431
- var currentIndex = 0;
432
- while (length >= 4) {
433
- var k = UInt32(str, currentIndex);
434
- k = Umul32(k, m);
435
- k ^= k >>> r;
436
- k = Umul32(k, m);
437
- h2 = Umul32(h2, m);
438
- h2 ^= k;
439
- currentIndex += 4;
440
- length -= 4;
441
- }
442
- switch (length) {
443
- case 3:
444
- h2 ^= UInt16(str, currentIndex);
445
- h2 ^= str.charCodeAt(currentIndex + 2) << 16;
446
- h2 = Umul32(h2, m);
447
- break;
448
- case 2:
449
- h2 ^= UInt16(str, currentIndex);
450
- h2 = Umul32(h2, m);
451
- break;
452
- case 1:
453
- h2 ^= str.charCodeAt(currentIndex);
454
- h2 = Umul32(h2, m);
455
- break;
456
- }
457
- h2 ^= h2 >>> 13;
458
- h2 = Umul32(h2, m);
459
- h2 ^= h2 >>> 15;
460
- return h2 >>> 0;
461
- }
462
- function UInt32(str, pos) {
463
- return str.charCodeAt(pos++) + (str.charCodeAt(pos++) << 8) + (str.charCodeAt(pos++) << 16) + (str.charCodeAt(pos) << 24);
464
- }
465
- function UInt16(str, pos) {
466
- return str.charCodeAt(pos++) + (str.charCodeAt(pos++) << 8);
467
- }
468
- function Umul32(n, m) {
469
- n = n | 0;
470
- m = m | 0;
471
- var nlo = n & 65535;
472
- var nhi = n >>> 16;
473
- var res = nlo * m + ((nhi * m & 65535) << 16) | 0;
474
- return res;
475
- }
476
- });
477
- var hashStr = unwrapExports(hash);
478
- var stylis = createCommonjsModule(function(module, exports) {
479
- (function(factory) {
480
- module["exports"] = factory(null);
481
- })(
482
- /** @param {*=} options */
483
- function factory(options) {
484
- var nullptn = /^\0+/g;
485
- var formatptn = /[\0\r\f]/g;
486
- var colonptn = /: */g;
487
- var cursorptn = /zoo|gra/;
488
- var transformptn = /([,: ])(transform)/g;
489
- var animationptn = /,+\s*(?![^(]*[)])/g;
490
- var propertiesptn = / +\s*(?![^(]*[)])/g;
491
- var elementptn = / *[\0] */g;
492
- var selectorptn = /,\r+?/g;
493
- var andptn = /([\t\r\n ])*\f?&/g;
494
- var escapeptn = /:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g;
495
- var invalidptn = /\W+/g;
496
- var keyframeptn = /@(k\w+)\s*(\S*)\s*/;
497
- var plcholdrptn = /::(place)/g;
498
- var readonlyptn = /:(read-only)/g;
499
- var beforeptn = /\s+(?=[{\];=:>])/g;
500
- var afterptn = /([[}=:>])\s+/g;
501
- var tailptn = /(\{[^{]+?);(?=\})/g;
502
- var whiteptn = /\s{2,}/g;
503
- var pseudoptn = /([^\(])(:+) */g;
504
- var writingptn = /[svh]\w+-[tblr]{2}/;
505
- var supportsptn = /\(\s*(.*)\s*\)/g;
506
- var propertyptn = /([\s\S]*?);/g;
507
- var selfptn = /-self|flex-/g;
508
- var pseudofmt = /[^]*?(:[rp][el]a[\w-]+)[^]*/;
509
- var dimensionptn = /stretch|:\s*\w+\-(?:conte|avail)/;
510
- var imgsrcptn = /([^-])(image-set\()/;
511
- var webkit = "-webkit-";
512
- var moz = "-moz-";
513
- var ms = "-ms-";
514
- var SEMICOLON = 59;
515
- var CLOSEBRACES = 125;
516
- var OPENBRACES = 123;
517
- var OPENPARENTHESES = 40;
518
- var CLOSEPARENTHESES = 41;
519
- var OPENBRACKET = 91;
520
- var CLOSEBRACKET = 93;
521
- var NEWLINE = 10;
522
- var CARRIAGE = 13;
523
- var TAB = 9;
524
- var AT = 64;
525
- var SPACE = 32;
526
- var AND = 38;
527
- var DASH = 45;
528
- var UNDERSCORE = 95;
529
- var STAR = 42;
530
- var COMMA = 44;
531
- var COLON = 58;
532
- var SINGLEQUOTE = 39;
533
- var DOUBLEQUOTE = 34;
534
- var FOWARDSLASH = 47;
535
- var GREATERTHAN = 62;
536
- var PLUS = 43;
537
- var TILDE = 126;
538
- var NULL = 0;
539
- var FORMFEED = 12;
540
- var VERTICALTAB = 11;
541
- var KEYFRAME = 107;
542
- var MEDIA = 109;
543
- var SUPPORTS = 115;
544
- var PLACEHOLDER = 112;
545
- var READONLY = 111;
546
- var IMPORT = 105;
547
- var CHARSET = 99;
548
- var DOCUMENT = 100;
549
- var PAGE = 112;
550
- var column = 1;
551
- var line = 1;
552
- var pattern = 0;
553
- var cascade = 1;
554
- var prefix = 1;
555
- var escape = 1;
556
- var compress = 0;
557
- var semicolon = 0;
558
- var preserve = 0;
559
- var array = [];
560
- var plugins = [];
561
- var plugged = 0;
562
- var should = null;
563
- var POSTS = -2;
564
- var PREPS = -1;
565
- var UNKWN = 0;
566
- var PROPS = 1;
567
- var BLCKS = 2;
568
- var ATRUL = 3;
569
- var unkwn = 0;
570
- var keyed = 1;
571
- var key = "";
572
- var nscopealt = "";
573
- var nscope = "";
574
- function compile(parent, current, body, id, depth) {
575
- var bracket = 0;
576
- var comment = 0;
577
- var parentheses = 0;
578
- var quote = 0;
579
- var first = 0;
580
- var second = 0;
581
- var code = 0;
582
- var tail = 0;
583
- var trail = 0;
584
- var peak = 0;
585
- var counter = 0;
586
- var context = 0;
587
- var atrule = 0;
588
- var pseudo = 0;
589
- var caret = 0;
590
- var format = 0;
591
- var insert = 0;
592
- var invert = 0;
593
- var length = 0;
594
- var eof = body.length;
595
- var eol = eof - 1;
596
- var char = "";
597
- var chars2 = "";
598
- var child = "";
599
- var out = "";
600
- var children = "";
601
- var flat = "";
602
- var selector;
603
- var result;
604
- while (caret < eof) {
605
- code = body.charCodeAt(caret);
606
- if (caret === eol) {
607
- if (comment + quote + parentheses + bracket !== 0) {
608
- if (comment !== 0) {
609
- code = comment === FOWARDSLASH ? NEWLINE : FOWARDSLASH;
610
- }
611
- quote = parentheses = bracket = 0;
612
- eof++;
613
- eol++;
614
- }
615
- }
616
- if (comment + quote + parentheses + bracket === 0) {
617
- if (caret === eol) {
618
- if (format > 0) {
619
- chars2 = chars2.replace(formatptn, "");
620
- }
621
- if (chars2.trim().length > 0) {
622
- switch (code) {
623
- case SPACE:
624
- case TAB:
625
- case SEMICOLON:
626
- case CARRIAGE:
627
- case NEWLINE: {
628
- break;
629
- }
630
- default: {
631
- chars2 += body.charAt(caret);
632
- }
633
- }
634
- code = SEMICOLON;
635
- }
636
- }
637
- if (insert === 1) {
638
- switch (code) {
639
- case OPENBRACES:
640
- case CLOSEBRACES:
641
- case SEMICOLON:
642
- case DOUBLEQUOTE:
643
- case SINGLEQUOTE:
644
- case OPENPARENTHESES:
645
- case CLOSEPARENTHESES:
646
- case COMMA: {
647
- insert = 0;
648
- }
649
- case TAB:
650
- case CARRIAGE:
651
- case NEWLINE:
652
- case SPACE: {
653
- break;
654
- }
655
- default: {
656
- insert = 0;
657
- length = caret;
658
- first = code;
659
- caret--;
660
- code = SEMICOLON;
661
- while (length < eof) {
662
- switch (body.charCodeAt(length++)) {
663
- case NEWLINE:
664
- case CARRIAGE:
665
- case SEMICOLON: {
666
- ++caret;
667
- code = first;
668
- length = eof;
669
- break;
670
- }
671
- case COLON: {
672
- if (format > 0) {
673
- ++caret;
674
- code = first;
675
- }
676
- }
677
- case OPENBRACES: {
678
- length = eof;
679
- }
680
- }
681
- }
682
- }
683
- }
684
- }
685
- switch (code) {
686
- case OPENBRACES: {
687
- chars2 = chars2.trim();
688
- first = chars2.charCodeAt(0);
689
- counter = 1;
690
- length = ++caret;
691
- while (caret < eof) {
692
- switch (code = body.charCodeAt(caret)) {
693
- case OPENBRACES: {
694
- counter++;
695
- break;
696
- }
697
- case CLOSEBRACES: {
698
- counter--;
699
- break;
700
- }
701
- case FOWARDSLASH: {
702
- switch (second = body.charCodeAt(caret + 1)) {
703
- case STAR:
704
- case FOWARDSLASH: {
705
- caret = delimited(second, caret, eol, body);
706
- }
707
- }
708
- break;
709
- }
710
- case OPENBRACKET: {
711
- code++;
712
- }
713
- case OPENPARENTHESES: {
714
- code++;
715
- }
716
- case DOUBLEQUOTE:
717
- case SINGLEQUOTE: {
718
- while (caret++ < eol) {
719
- if (body.charCodeAt(caret) === code) {
720
- break;
721
- }
722
- }
723
- }
724
- }
725
- if (counter === 0) {
726
- break;
727
- }
728
- caret++;
729
- }
730
- child = body.substring(length, caret);
731
- if (first === NULL) {
732
- first = (chars2 = chars2.replace(nullptn, "").trim()).charCodeAt(0);
733
- }
734
- switch (first) {
735
- case AT: {
736
- if (format > 0) {
737
- chars2 = chars2.replace(formatptn, "");
738
- }
739
- second = chars2.charCodeAt(1);
740
- switch (second) {
741
- case DOCUMENT:
742
- case MEDIA:
743
- case SUPPORTS:
744
- case DASH: {
745
- selector = current;
746
- break;
747
- }
748
- default: {
749
- selector = array;
750
- }
751
- }
752
- child = compile(current, selector, child, second, depth + 1);
753
- length = child.length;
754
- if (preserve > 0 && length === 0) {
755
- length = chars2.length;
756
- }
757
- if (plugged > 0) {
758
- selector = select(array, chars2, invert);
759
- result = proxy(ATRUL, child, selector, current, line, column, length, second, depth, id);
760
- chars2 = selector.join("");
761
- if (result !== void 0) {
762
- if ((length = (child = result.trim()).length) === 0) {
763
- second = 0;
764
- child = "";
765
- }
766
- }
767
- }
768
- if (length > 0) {
769
- switch (second) {
770
- case SUPPORTS: {
771
- chars2 = chars2.replace(supportsptn, supports);
772
- }
773
- case DOCUMENT:
774
- case MEDIA:
775
- case DASH: {
776
- child = chars2 + "{" + child + "}";
777
- break;
778
- }
779
- case KEYFRAME: {
780
- chars2 = chars2.replace(keyframeptn, "$1 $2" + (keyed > 0 ? key : ""));
781
- child = chars2 + "{" + child + "}";
782
- if (prefix === 1 || prefix === 2 && vendor("@" + child, 3)) {
783
- child = "@" + webkit + child + "@" + child;
784
- } else {
785
- child = "@" + child;
786
- }
787
- break;
788
- }
789
- default: {
790
- child = chars2 + child;
791
- if (id === PAGE) {
792
- child = (out += child, "");
793
- }
794
- }
795
- }
796
- } else {
797
- child = "";
798
- }
799
- break;
800
- }
801
- default: {
802
- child = compile(current, select(current, chars2, invert), child, id, depth + 1);
803
- }
804
- }
805
- children += child;
806
- context = 0;
807
- insert = 0;
808
- pseudo = 0;
809
- format = 0;
810
- invert = 0;
811
- atrule = 0;
812
- chars2 = "";
813
- child = "";
814
- code = body.charCodeAt(++caret);
815
- break;
816
- }
817
- case CLOSEBRACES:
818
- case SEMICOLON: {
819
- chars2 = (format > 0 ? chars2.replace(formatptn, "") : chars2).trim();
820
- if ((length = chars2.length) > 1) {
821
- if (pseudo === 0) {
822
- first = chars2.charCodeAt(0);
823
- if (first === DASH || first > 96 && first < 123) {
824
- length = (chars2 = chars2.replace(" ", ":")).length;
825
- }
826
- }
827
- if (plugged > 0) {
828
- if ((result = proxy(PROPS, chars2, current, parent, line, column, out.length, id, depth, id)) !== void 0) {
829
- if ((length = (chars2 = result.trim()).length) === 0) {
830
- chars2 = "\0\0";
831
- }
832
- }
833
- }
834
- first = chars2.charCodeAt(0);
835
- second = chars2.charCodeAt(1);
836
- switch (first) {
837
- case NULL: {
838
- break;
839
- }
840
- case AT: {
841
- if (second === IMPORT || second === CHARSET) {
842
- flat += chars2 + body.charAt(caret);
843
- break;
844
- }
845
- }
846
- default: {
847
- if (chars2.charCodeAt(length - 1) === COLON) {
848
- break;
849
- }
850
- out += property(chars2, first, second, chars2.charCodeAt(2));
851
- }
852
- }
853
- }
854
- context = 0;
855
- insert = 0;
856
- pseudo = 0;
857
- format = 0;
858
- invert = 0;
859
- chars2 = "";
860
- code = body.charCodeAt(++caret);
861
- break;
862
- }
863
- }
864
- }
865
- switch (code) {
866
- case CARRIAGE:
867
- case NEWLINE: {
868
- if (comment + quote + parentheses + bracket + semicolon === 0) {
869
- switch (peak) {
870
- case CLOSEPARENTHESES:
871
- case SINGLEQUOTE:
872
- case DOUBLEQUOTE:
873
- case AT:
874
- case TILDE:
875
- case GREATERTHAN:
876
- case STAR:
877
- case PLUS:
878
- case FOWARDSLASH:
879
- case DASH:
880
- case COLON:
881
- case COMMA:
882
- case SEMICOLON:
883
- case OPENBRACES:
884
- case CLOSEBRACES: {
885
- break;
886
- }
887
- default: {
888
- if (pseudo > 0) {
889
- insert = 1;
890
- }
891
- }
892
- }
893
- }
894
- if (comment === FOWARDSLASH) {
895
- comment = 0;
896
- } else if (cascade + context === 0 && id !== KEYFRAME && chars2.length > 0) {
897
- format = 1;
898
- chars2 += "\0";
899
- }
900
- if (plugged * unkwn > 0) {
901
- proxy(UNKWN, chars2, current, parent, line, column, out.length, id, depth, id);
902
- }
903
- column = 1;
904
- line++;
905
- break;
906
- }
907
- case SEMICOLON:
908
- case CLOSEBRACES: {
909
- if (comment + quote + parentheses + bracket === 0) {
910
- column++;
911
- break;
912
- }
913
- }
914
- default: {
915
- column++;
916
- char = body.charAt(caret);
917
- switch (code) {
918
- case TAB:
919
- case SPACE: {
920
- if (quote + bracket + comment === 0) {
921
- switch (tail) {
922
- case COMMA:
923
- case COLON:
924
- case TAB:
925
- case SPACE: {
926
- char = "";
927
- break;
928
- }
929
- default: {
930
- if (code !== SPACE) {
931
- char = " ";
932
- }
933
- }
934
- }
935
- }
936
- break;
937
- }
938
- case NULL: {
939
- char = "\\0";
940
- break;
941
- }
942
- case FORMFEED: {
943
- char = "\\f";
944
- break;
945
- }
946
- case VERTICALTAB: {
947
- char = "\\v";
948
- break;
949
- }
950
- case AND: {
951
- if (quote + comment + bracket === 0 && cascade > 0) {
952
- invert = 1;
953
- format = 1;
954
- char = "\f" + char;
955
- }
956
- break;
957
- }
958
- case 108: {
959
- if (quote + comment + bracket + pattern === 0 && pseudo > 0) {
960
- switch (caret - pseudo) {
961
- case 2: {
962
- if (tail === PLACEHOLDER && body.charCodeAt(caret - 3) === COLON) {
963
- pattern = tail;
964
- }
965
- }
966
- case 8: {
967
- if (trail === READONLY) {
968
- pattern = trail;
969
- }
970
- }
971
- }
972
- }
973
- break;
974
- }
975
- case COLON: {
976
- if (quote + comment + bracket === 0) {
977
- pseudo = caret;
978
- }
979
- break;
980
- }
981
- case COMMA: {
982
- if (comment + parentheses + quote + bracket === 0) {
983
- format = 1;
984
- char += "\r";
985
- }
986
- break;
987
- }
988
- case DOUBLEQUOTE:
989
- case SINGLEQUOTE: {
990
- if (comment === 0) {
991
- quote = quote === code ? 0 : quote === 0 ? code : quote;
992
- }
993
- break;
994
- }
995
- case OPENBRACKET: {
996
- if (quote + comment + parentheses === 0) {
997
- bracket++;
998
- }
999
- break;
1000
- }
1001
- case CLOSEBRACKET: {
1002
- if (quote + comment + parentheses === 0) {
1003
- bracket--;
1004
- }
1005
- break;
1006
- }
1007
- case CLOSEPARENTHESES: {
1008
- if (quote + comment + bracket === 0) {
1009
- parentheses--;
1010
- }
1011
- break;
1012
- }
1013
- case OPENPARENTHESES: {
1014
- if (quote + comment + bracket === 0) {
1015
- if (context === 0) {
1016
- switch (tail * 2 + trail * 3) {
1017
- case 533: {
1018
- break;
1019
- }
1020
- default: {
1021
- counter = 0;
1022
- context = 1;
1023
- }
1024
- }
1025
- }
1026
- parentheses++;
1027
- }
1028
- break;
1029
- }
1030
- case AT: {
1031
- if (comment + parentheses + quote + bracket + pseudo + atrule === 0) {
1032
- atrule = 1;
1033
- }
1034
- break;
1035
- }
1036
- case STAR:
1037
- case FOWARDSLASH: {
1038
- if (quote + bracket + parentheses > 0) {
1039
- break;
1040
- }
1041
- switch (comment) {
1042
- case 0: {
1043
- switch (code * 2 + body.charCodeAt(caret + 1) * 3) {
1044
- case 235: {
1045
- comment = FOWARDSLASH;
1046
- break;
1047
- }
1048
- case 220: {
1049
- length = caret;
1050
- comment = STAR;
1051
- break;
1052
- }
1053
- }
1054
- break;
1055
- }
1056
- case STAR: {
1057
- if (code === FOWARDSLASH && tail === STAR && length + 2 !== caret) {
1058
- if (body.charCodeAt(length + 2) === 33) {
1059
- out += body.substring(length, caret + 1);
1060
- }
1061
- char = "";
1062
- comment = 0;
1063
- }
1064
- }
1065
- }
1066
- }
1067
- }
1068
- if (comment === 0) {
1069
- if (cascade + quote + bracket + atrule === 0 && id !== KEYFRAME && code !== SEMICOLON) {
1070
- switch (code) {
1071
- case COMMA:
1072
- case TILDE:
1073
- case GREATERTHAN:
1074
- case PLUS:
1075
- case CLOSEPARENTHESES:
1076
- case OPENPARENTHESES: {
1077
- if (context === 0) {
1078
- switch (tail) {
1079
- case TAB:
1080
- case SPACE:
1081
- case NEWLINE:
1082
- case CARRIAGE: {
1083
- char = char + "\0";
1084
- break;
1085
- }
1086
- default: {
1087
- char = "\0" + char + (code === COMMA ? "" : "\0");
1088
- }
1089
- }
1090
- format = 1;
1091
- } else {
1092
- switch (code) {
1093
- case OPENPARENTHESES: {
1094
- if (pseudo + 7 === caret && tail === 108) {
1095
- pseudo = 0;
1096
- }
1097
- context = ++counter;
1098
- break;
1099
- }
1100
- case CLOSEPARENTHESES: {
1101
- if ((context = --counter) === 0) {
1102
- format = 1;
1103
- char += "\0";
1104
- }
1105
- break;
1106
- }
1107
- }
1108
- }
1109
- break;
1110
- }
1111
- case TAB:
1112
- case SPACE: {
1113
- switch (tail) {
1114
- case NULL:
1115
- case OPENBRACES:
1116
- case CLOSEBRACES:
1117
- case SEMICOLON:
1118
- case COMMA:
1119
- case FORMFEED:
1120
- case TAB:
1121
- case SPACE:
1122
- case NEWLINE:
1123
- case CARRIAGE: {
1124
- break;
1125
- }
1126
- default: {
1127
- if (context === 0) {
1128
- format = 1;
1129
- char += "\0";
1130
- }
1131
- }
1132
- }
1133
- }
1134
- }
1135
- }
1136
- chars2 += char;
1137
- if (code !== SPACE && code !== TAB) {
1138
- peak = code;
1139
- }
1140
- }
1141
- }
1142
- }
1143
- trail = tail;
1144
- tail = code;
1145
- caret++;
1146
- }
1147
- length = out.length;
1148
- if (preserve > 0) {
1149
- if (length === 0 && children.length === 0 && current[0].length === 0 === false) {
1150
- if (id !== MEDIA || current.length === 1 && (cascade > 0 ? nscopealt : nscope) === current[0]) {
1151
- length = current.join(",").length + 2;
1152
- }
1153
- }
1154
- }
1155
- if (length > 0) {
1156
- selector = cascade === 0 && id !== KEYFRAME ? isolate(current) : current;
1157
- if (plugged > 0) {
1158
- result = proxy(BLCKS, out, selector, parent, line, column, length, id, depth, id);
1159
- if (result !== void 0 && (out = result).length === 0) {
1160
- return flat + out + children;
1161
- }
1162
- }
1163
- out = selector.join(",") + "{" + out + "}";
1164
- if (prefix * pattern !== 0) {
1165
- if (prefix === 2 && !vendor(out, 2))
1166
- pattern = 0;
1167
- switch (pattern) {
1168
- case READONLY: {
1169
- out = out.replace(readonlyptn, ":" + moz + "$1") + out;
1170
- break;
1171
- }
1172
- case PLACEHOLDER: {
1173
- out = out.replace(plcholdrptn, "::" + webkit + "input-$1") + out.replace(plcholdrptn, "::" + moz + "$1") + out.replace(plcholdrptn, ":" + ms + "input-$1") + out;
1174
- break;
1175
- }
1176
- }
1177
- pattern = 0;
1178
- }
1179
- }
1180
- return flat + out + children;
1181
- }
1182
- function select(parent, current, invert) {
1183
- var selectors = current.trim().split(selectorptn);
1184
- var out = selectors;
1185
- var length = selectors.length;
1186
- var l = parent.length;
1187
- switch (l) {
1188
- case 0:
1189
- case 1: {
1190
- for (var i = 0, selector = l === 0 ? "" : parent[0] + " "; i < length; ++i) {
1191
- out[i] = scope(selector, out[i], invert, l).trim();
1192
- }
1193
- break;
1194
- }
1195
- default: {
1196
- for (var i = 0, j = 0, out = []; i < length; ++i) {
1197
- for (var k = 0; k < l; ++k) {
1198
- out[j++] = scope(parent[k] + " ", selectors[i], invert, l).trim();
1199
- }
1200
- }
1201
- }
1202
- }
1203
- return out;
1204
- }
1205
- function scope(parent, current, invert, level) {
1206
- var selector = current;
1207
- var code = selector.charCodeAt(0);
1208
- if (code < 33) {
1209
- code = (selector = selector.trim()).charCodeAt(0);
1210
- }
1211
- switch (code) {
1212
- case AND: {
1213
- switch (cascade + level) {
1214
- case 0:
1215
- case 1: {
1216
- if (parent.trim().length === 0) {
1217
- break;
1218
- }
1219
- }
1220
- default: {
1221
- return selector.replace(andptn, "$1" + parent.trim());
1222
- }
1223
- }
1224
- break;
1225
- }
1226
- case COLON: {
1227
- switch (selector.charCodeAt(1)) {
1228
- case 103: {
1229
- if (escape > 0 && cascade > 0) {
1230
- return selector.replace(escapeptn, "$1").replace(andptn, "$1" + nscope);
1231
- }
1232
- break;
1233
- }
1234
- default: {
1235
- return parent.trim() + selector.replace(andptn, "$1" + parent.trim());
1236
- }
1237
- }
1238
- }
1239
- default: {
1240
- if (invert * cascade > 0 && selector.indexOf("\f") > 0) {
1241
- return selector.replace(andptn, (parent.charCodeAt(0) === COLON ? "" : "$1") + parent.trim());
1242
- }
1243
- }
1244
- }
1245
- return parent + selector;
1246
- }
1247
- function property(input, first, second, third) {
1248
- var index = 0;
1249
- var out = input + ";";
1250
- var hash2 = first * 2 + second * 3 + third * 4;
1251
- var cache;
1252
- if (hash2 === 944) {
1253
- return animation(out);
1254
- } else if (prefix === 0 || prefix === 2 && !vendor(out, 1)) {
1255
- return out;
1256
- }
1257
- switch (hash2) {
1258
- case 1015: {
1259
- return out.charCodeAt(10) === 97 ? webkit + out + out : out;
1260
- }
1261
- case 951: {
1262
- return out.charCodeAt(3) === 116 ? webkit + out + out : out;
1263
- }
1264
- case 963: {
1265
- return out.charCodeAt(5) === 110 ? webkit + out + out : out;
1266
- }
1267
- case 1009: {
1268
- if (out.charCodeAt(4) !== 100) {
1269
- break;
1270
- }
1271
- }
1272
- case 969:
1273
- case 942: {
1274
- return webkit + out + out;
1275
- }
1276
- case 978: {
1277
- return webkit + out + moz + out + out;
1278
- }
1279
- case 1019:
1280
- case 983: {
1281
- return webkit + out + moz + out + ms + out + out;
1282
- }
1283
- case 883: {
1284
- if (out.charCodeAt(8) === DASH) {
1285
- return webkit + out + out;
1286
- }
1287
- if (out.indexOf("image-set(", 11) > 0) {
1288
- return out.replace(imgsrcptn, "$1" + webkit + "$2") + out;
1289
- }
1290
- return out;
1291
- }
1292
- case 932: {
1293
- if (out.charCodeAt(4) === DASH) {
1294
- switch (out.charCodeAt(5)) {
1295
- case 103: {
1296
- return webkit + "box-" + out.replace("-grow", "") + webkit + out + ms + out.replace("grow", "positive") + out;
1297
- }
1298
- case 115: {
1299
- return webkit + out + ms + out.replace("shrink", "negative") + out;
1300
- }
1301
- case 98: {
1302
- return webkit + out + ms + out.replace("basis", "preferred-size") + out;
1303
- }
1304
- }
1305
- }
1306
- return webkit + out + ms + out + out;
1307
- }
1308
- case 964: {
1309
- return webkit + out + ms + "flex-" + out + out;
1310
- }
1311
- case 1023: {
1312
- if (out.charCodeAt(8) !== 99) {
1313
- break;
1314
- }
1315
- cache = out.substring(out.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify");
1316
- return webkit + "box-pack" + cache + webkit + out + ms + "flex-pack" + cache + out;
1317
- }
1318
- case 1005: {
1319
- return cursorptn.test(out) ? out.replace(colonptn, ":" + webkit) + out.replace(colonptn, ":" + moz) + out : out;
1320
- }
1321
- case 1e3: {
1322
- cache = out.substring(13).trim();
1323
- index = cache.indexOf("-") + 1;
1324
- switch (cache.charCodeAt(0) + cache.charCodeAt(index)) {
1325
- case 226: {
1326
- cache = out.replace(writingptn, "tb");
1327
- break;
1328
- }
1329
- case 232: {
1330
- cache = out.replace(writingptn, "tb-rl");
1331
- break;
1332
- }
1333
- case 220: {
1334
- cache = out.replace(writingptn, "lr");
1335
- break;
1336
- }
1337
- default: {
1338
- return out;
1339
- }
1340
- }
1341
- return webkit + out + ms + cache + out;
1342
- }
1343
- case 1017: {
1344
- if (out.indexOf("sticky", 9) === -1) {
1345
- return out;
1346
- }
1347
- }
1348
- case 975: {
1349
- index = (out = input).length - 10;
1350
- cache = (out.charCodeAt(index) === 33 ? out.substring(0, index) : out).substring(input.indexOf(":", 7) + 1).trim();
1351
- switch (hash2 = cache.charCodeAt(0) + (cache.charCodeAt(7) | 0)) {
1352
- case 203: {
1353
- if (cache.charCodeAt(8) < 111) {
1354
- break;
1355
- }
1356
- }
1357
- case 115: {
1358
- out = out.replace(cache, webkit + cache) + ";" + out;
1359
- break;
1360
- }
1361
- case 207:
1362
- case 102: {
1363
- out = out.replace(cache, webkit + (hash2 > 102 ? "inline-" : "") + "box") + ";" + out.replace(cache, webkit + cache) + ";" + out.replace(cache, ms + cache + "box") + ";" + out;
1364
- }
1365
- }
1366
- return out + ";";
1367
- }
1368
- case 938: {
1369
- if (out.charCodeAt(5) === DASH) {
1370
- switch (out.charCodeAt(6)) {
1371
- case 105: {
1372
- cache = out.replace("-items", "");
1373
- return webkit + out + webkit + "box-" + cache + ms + "flex-" + cache + out;
1374
- }
1375
- case 115: {
1376
- return webkit + out + ms + "flex-item-" + out.replace(selfptn, "") + out;
1377
- }
1378
- default: {
1379
- return webkit + out + ms + "flex-line-pack" + out.replace("align-content", "").replace(selfptn, "") + out;
1380
- }
1381
- }
1382
- }
1383
- break;
1384
- }
1385
- case 973:
1386
- case 989: {
1387
- if (out.charCodeAt(3) !== DASH || out.charCodeAt(4) === 122) {
1388
- break;
1389
- }
1390
- }
1391
- case 931:
1392
- case 953: {
1393
- if (dimensionptn.test(input) === true) {
1394
- if ((cache = input.substring(input.indexOf(":") + 1)).charCodeAt(0) === 115)
1395
- return property(input.replace("stretch", "fill-available"), first, second, third).replace(":fill-available", ":stretch");
1396
- else
1397
- return out.replace(cache, webkit + cache) + out.replace(cache, moz + cache.replace("fill-", "")) + out;
1398
- }
1399
- break;
1400
- }
1401
- case 962: {
1402
- out = webkit + out + (out.charCodeAt(5) === 102 ? ms + out : "") + out;
1403
- if (second + third === 211 && out.charCodeAt(13) === 105 && out.indexOf("transform", 10) > 0) {
1404
- return out.substring(0, out.indexOf(";", 27) + 1).replace(transformptn, "$1" + webkit + "$2") + out;
1405
- }
1406
- break;
1407
- }
1408
- }
1409
- return out;
1410
- }
1411
- function vendor(content, context) {
1412
- var index = content.indexOf(context === 1 ? ":" : "{");
1413
- var key2 = content.substring(0, context !== 3 ? index : 10);
1414
- var value = content.substring(index + 1, content.length - 1);
1415
- return should(context !== 2 ? key2 : key2.replace(pseudofmt, "$1"), value, context);
1416
- }
1417
- function supports(match, group) {
1418
- var out = property(group, group.charCodeAt(0), group.charCodeAt(1), group.charCodeAt(2));
1419
- return out !== group + ";" ? out.replace(propertyptn, " or ($1)").substring(4) : "(" + group + ")";
1420
- }
1421
- function animation(input) {
1422
- var length = input.length;
1423
- var index = input.indexOf(":", 9) + 1;
1424
- var declare = input.substring(0, index).trim();
1425
- var out = input.substring(index, length - 1).trim();
1426
- switch (input.charCodeAt(9) * keyed) {
1427
- case 0: {
1428
- break;
1429
- }
1430
- case DASH: {
1431
- if (input.charCodeAt(10) !== 110) {
1432
- break;
1433
- }
1434
- }
1435
- default: {
1436
- var list = out.split((out = "", animationptn));
1437
- for (var i = 0, index = 0, length = list.length; i < length; index = 0, ++i) {
1438
- var value = list[i];
1439
- var items = value.split(propertiesptn);
1440
- while (value = items[index]) {
1441
- var peak = value.charCodeAt(0);
1442
- if (keyed === 1 && // letters
1443
- (peak > AT && peak < 90 || peak > 96 && peak < 123 || peak === UNDERSCORE || // dash but not in sequence i.e --
1444
- peak === DASH && value.charCodeAt(1) !== DASH)) {
1445
- switch (isNaN(parseFloat(value)) + (value.indexOf("(") !== -1)) {
1446
- case 1: {
1447
- switch (value) {
1448
- case "infinite":
1449
- case "alternate":
1450
- case "backwards":
1451
- case "running":
1452
- case "normal":
1453
- case "forwards":
1454
- case "both":
1455
- case "none":
1456
- case "linear":
1457
- case "ease":
1458
- case "ease-in":
1459
- case "ease-out":
1460
- case "ease-in-out":
1461
- case "paused":
1462
- case "reverse":
1463
- case "alternate-reverse":
1464
- case "inherit":
1465
- case "initial":
1466
- case "unset":
1467
- case "step-start":
1468
- case "step-end": {
1469
- break;
1470
- }
1471
- default: {
1472
- value += key;
1473
- }
1474
- }
1475
- }
1476
- }
1477
- }
1478
- items[index++] = value;
1479
- }
1480
- out += (i === 0 ? "" : ",") + items.join(" ");
1481
- }
1482
- }
1483
- }
1484
- out = declare + out + ";";
1485
- if (prefix === 1 || prefix === 2 && vendor(out, 1))
1486
- return webkit + out + out;
1487
- return out;
1488
- }
1489
- function isolate(current) {
1490
- for (var i = 0, length = current.length, selector = Array(length), padding, element; i < length; ++i) {
1491
- var elements = current[i].split(elementptn);
1492
- var out = "";
1493
- for (var j = 0, size = 0, tail = 0, code = 0, l = elements.length; j < l; ++j) {
1494
- if ((size = (element = elements[j]).length) === 0 && l > 1) {
1495
- continue;
1496
- }
1497
- tail = out.charCodeAt(out.length - 1);
1498
- code = element.charCodeAt(0);
1499
- padding = "";
1500
- if (j !== 0) {
1501
- switch (tail) {
1502
- case STAR:
1503
- case TILDE:
1504
- case GREATERTHAN:
1505
- case PLUS:
1506
- case SPACE:
1507
- case OPENPARENTHESES: {
1508
- break;
1509
- }
1510
- default: {
1511
- padding = " ";
1512
- }
1513
- }
1514
- }
1515
- switch (code) {
1516
- case AND: {
1517
- element = padding + nscopealt;
1518
- }
1519
- case TILDE:
1520
- case GREATERTHAN:
1521
- case PLUS:
1522
- case SPACE:
1523
- case CLOSEPARENTHESES:
1524
- case OPENPARENTHESES: {
1525
- break;
1526
- }
1527
- case OPENBRACKET: {
1528
- element = padding + element + nscopealt;
1529
- break;
1530
- }
1531
- case COLON: {
1532
- switch (element.charCodeAt(1) * 2 + element.charCodeAt(2) * 3) {
1533
- case 530: {
1534
- if (escape > 0) {
1535
- element = padding + element.substring(8, size - 1);
1536
- break;
1537
- }
1538
- }
1539
- default: {
1540
- if (j < 1 || elements[j - 1].length < 1) {
1541
- element = padding + nscopealt + element;
1542
- }
1543
- }
1544
- }
1545
- break;
1546
- }
1547
- case COMMA: {
1548
- padding = "";
1549
- }
1550
- default: {
1551
- if (size > 1 && element.indexOf(":") > 0) {
1552
- element = padding + element.replace(pseudoptn, "$1" + nscopealt + "$2");
1553
- } else {
1554
- element = padding + element + nscopealt;
1555
- }
1556
- }
1557
- }
1558
- out += element;
1559
- }
1560
- selector[i] = out.replace(formatptn, "").trim();
1561
- }
1562
- return selector;
1563
- }
1564
- function proxy(context, content, selectors, parents, line2, column2, length, id, depth, at) {
1565
- for (var i = 0, out = content, next; i < plugged; ++i) {
1566
- switch (next = plugins[i].call(stylis2, context, out, selectors, parents, line2, column2, length, id, depth, at)) {
1567
- case void 0:
1568
- case false:
1569
- case true:
1570
- case null: {
1571
- break;
1572
- }
1573
- default: {
1574
- out = next;
1575
- }
1576
- }
1577
- }
1578
- if (out !== content) {
1579
- return out;
1580
- }
1581
- }
1582
- function delimited(code, index, length, body) {
1583
- for (var i = index + 1; i < length; ++i) {
1584
- switch (body.charCodeAt(i)) {
1585
- case FOWARDSLASH: {
1586
- if (code === STAR) {
1587
- if (body.charCodeAt(i - 1) === STAR && index + 2 !== i) {
1588
- return i + 1;
1589
- }
1590
- }
1591
- break;
1592
- }
1593
- case NEWLINE: {
1594
- if (code === FOWARDSLASH) {
1595
- return i + 1;
1596
- }
1597
- }
1598
- }
1599
- }
1600
- return i;
1601
- }
1602
- function minify(output) {
1603
- return output.replace(formatptn, "").replace(beforeptn, "").replace(afterptn, "$1").replace(tailptn, "$1").replace(whiteptn, " ");
1604
- }
1605
- function use(plugin) {
1606
- switch (plugin) {
1607
- case void 0:
1608
- case null: {
1609
- plugged = plugins.length = 0;
1610
- break;
1611
- }
1612
- default: {
1613
- if (typeof plugin === "function") {
1614
- plugins[plugged++] = plugin;
1615
- } else if (typeof plugin === "object") {
1616
- for (var i = 0, length = plugin.length; i < length; ++i) {
1617
- use(plugin[i]);
1618
- }
1619
- } else {
1620
- unkwn = !!plugin | 0;
1621
- }
1622
- }
1623
- }
1624
- return use;
1625
- }
1626
- function set(options2) {
1627
- for (var name in options2) {
1628
- var value = options2[name];
1629
- switch (name) {
1630
- case "keyframe":
1631
- keyed = value | 0;
1632
- break;
1633
- case "global":
1634
- escape = value | 0;
1635
- break;
1636
- case "cascade":
1637
- cascade = value | 0;
1638
- break;
1639
- case "compress":
1640
- compress = value | 0;
1641
- break;
1642
- case "semicolon":
1643
- semicolon = value | 0;
1644
- break;
1645
- case "preserve":
1646
- preserve = value | 0;
1647
- break;
1648
- case "prefix":
1649
- should = null;
1650
- if (!value) {
1651
- prefix = 0;
1652
- } else if (typeof value !== "function") {
1653
- prefix = 1;
1654
- } else {
1655
- prefix = 2;
1656
- should = value;
1657
- }
1658
- }
1659
- }
1660
- return set;
1661
- }
1662
- function stylis2(selector, input) {
1663
- if (this !== void 0 && this.constructor === stylis2) {
1664
- return factory(selector);
1665
- }
1666
- var ns = selector;
1667
- var code = ns.charCodeAt(0);
1668
- if (code < 33) {
1669
- code = (ns = ns.trim()).charCodeAt(0);
1670
- }
1671
- if (keyed > 0) {
1672
- key = ns.replace(invalidptn, code === OPENBRACKET ? "" : "-");
1673
- }
1674
- code = 1;
1675
- if (cascade === 1) {
1676
- nscope = ns;
1677
- } else {
1678
- nscopealt = ns;
1679
- }
1680
- var selectors = [nscope];
1681
- var result;
1682
- if (plugged > 0) {
1683
- result = proxy(PREPS, input, selectors, selectors, line, column, 0, 0, 0, 0);
1684
- if (result !== void 0 && typeof result === "string") {
1685
- input = result;
1686
- }
1687
- }
1688
- var output = compile(array, selectors, input, 0, 0);
1689
- if (plugged > 0) {
1690
- result = proxy(POSTS, output, selectors, selectors, line, column, output.length, 0, 0, 0);
1691
- if (result !== void 0 && typeof (output = result) !== "string") {
1692
- code = 0;
1693
- }
1694
- }
1695
- key = "";
1696
- nscope = "";
1697
- nscopealt = "";
1698
- pattern = 0;
1699
- line = 1;
1700
- column = 1;
1701
- return compress * code === 0 ? output : minify(output);
1702
- }
1703
- stylis2["use"] = use;
1704
- stylis2["set"] = set;
1705
- if (options !== void 0) {
1706
- set(options);
1707
- }
1708
- return stylis2;
1709
- }
1710
- );
1711
- });
1712
- (function() {
1713
- function ComponentStyle(rules, selector) {
1714
- _classCallCheck(this, ComponentStyle);
1715
- this.rules = rules;
1716
- this.selector = selector;
1717
- }
1718
- _createClass(ComponentStyle, [{
1719
- key: "generateAndInject",
1720
- value: function generateAndInject() {
1721
- if (!styleSheet.injected)
1722
- styleSheet.inject();
1723
- var flatCSS = flatten(this.rules).join("");
1724
- var cssString = this.selector ? "".concat(this.selector, " { ").concat(flatCSS, " }") : flatCSS;
1725
- var css2 = stylis("", cssString, false, false);
1726
- styleSheet.insert(css2, {
1727
- global: true
1728
- });
1729
- }
1730
- }]);
1731
- return ComponentStyle;
1732
- })();
1733
- var ThemeProvider = {
1734
- props: {
1735
- theme: Object
1736
- },
1737
- setup: function setup(props, _ref) {
1738
- _ref.slots;
1739
- provide("theme", props.theme);
1740
- },
1741
- render: function render() {
1742
- return h("div", {}, this.$slots["default"]());
1743
- }
1744
- };
1745
- function isVueComponent(target) {
1746
- return target && (typeof target.setup === "function" || typeof target.render === "function" || typeof target.template === "string");
1747
- }
1748
- var objectProto$1 = Object.prototype;
1749
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
1750
- function assignValue(object, key, value) {
1751
- var objValue = object[key];
1752
- if (!(hasOwnProperty$1.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
1753
- object[key] = value;
1754
- }
1755
- }
1756
- function baseZipObject(props, values, assignFunc) {
1757
- var index = -1, length = props.length, valsLength = values.length, result = {};
1758
- while (++index < length) {
1759
- var value = index < valsLength ? values[index] : void 0;
1760
- assignFunc(result, props[index], value);
1761
- }
1762
- return result;
1763
- }
1764
- function zipObject(props, values) {
1765
- return baseZipObject(props || [], values || [], assignValue);
1766
- }
1767
- function eq(value, other) {
1768
- return value === other || value !== value && other !== other;
1769
- }
1770
- var lodash_zipobject = zipObject;
1771
- function normalizeProps() {
1772
- var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1773
- if (Array.isArray(props)) {
1774
- return lodash_zipobject(props);
1775
- } else {
1776
- return props;
1777
- }
1778
- }
1779
- var commonHtmlAttributes = ["value", "name", "type", "id", "href"];
1780
- var _styledComponent = function(ComponentStyle) {
1781
- var createStyledComponent = function createStyledComponent2(tagOrComponent, rules, propDefinitions) {
1782
- var componentStyle = new ComponentStyle(rules);
1783
- var targetPropDefinitions = normalizeProps(tagOrComponent.props);
1784
- var ownPropDefinitions = normalizeProps(propDefinitions);
1785
- var targetPropDefinitionKeys = tagOrComponent.props ? Object.keys(targetPropDefinitions) : commonHtmlAttributes;
1786
- var combinedPropDefinition = tagOrComponent.props ? _objectSpread2({}, ownPropDefinitions, {}, targetPropDefinitions) : ownPropDefinitions;
1787
- return {
1788
- props: _objectSpread2({
1789
- as: [String, Object],
1790
- modelValue: null
1791
- }, combinedPropDefinition),
1792
- emits: ["input", "update:modelValue"],
1793
- setup: function setup2(props, _ref) {
1794
- var slots = _ref.slots, attrs = _ref.attrs, emit = _ref.emit;
1795
- var theme = inject("theme");
1796
- return function() {
1797
- var styleClass = componentStyle.generateAndInjectStyles(_objectSpread2({
1798
- theme
1799
- }, props, {}, attrs));
1800
- var classes = [styleClass];
1801
- if (attrs["class"]) {
1802
- classes.push(attrs["class"]);
1803
- }
1804
- var targetProps = {};
1805
- if (targetPropDefinitionKeys.length) {
1806
- for (var _i = 0, _Object$entries = Object.entries(props); _i < _Object$entries.length; _i++) {
1807
- var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2), key = _Object$entries$_i[0], value = _Object$entries$_i[1];
1808
- if (targetPropDefinitionKeys.includes(key)) {
1809
- targetProps[key] = value;
1810
- }
1811
- }
1812
- }
1813
- return h(isVueComponent(tagOrComponent) ? tagOrComponent : props.as || tagOrComponent, _objectSpread2({
1814
- value: props.modelValue
1815
- }, attrs, {}, targetProps, {
1816
- "class": classes,
1817
- onInput: function onInput(e) {
1818
- emit("update:modelValue", e.target.value);
1819
- emit("input", e);
1820
- }
1821
- }), slots);
1822
- };
1823
- },
1824
- extend: function extend(cssRules) {
1825
- for (var _len = arguments.length, interpolations = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1826
- interpolations[_key - 1] = arguments[_key];
1827
- }
1828
- var extendedRules = css.apply(void 0, [cssRules].concat(interpolations));
1829
- return createStyledComponent2(tagOrComponent, rules.concat(extendedRules), propDefinitions);
1830
- },
1831
- withComponent: function withComponent(newTarget) {
1832
- return createStyledComponent2(newTarget, rules, propDefinitions);
1833
- }
1834
- };
1835
- };
1836
- return createStyledComponent;
1837
- };
1838
- var _componentStyle = function(nameGenerator) {
1839
- var inserted = {};
1840
- var ComponentStyle = function() {
1841
- function ComponentStyle2(rules) {
1842
- _classCallCheck(this, ComponentStyle2);
1843
- this.rules = rules;
1844
- stylis.set({
1845
- keyframe: false
1846
- });
1847
- if (!styleSheet.injected)
1848
- styleSheet.inject();
1849
- this.insertedRule = styleSheet.insert("");
1850
- }
1851
- _createClass(ComponentStyle2, [{
1852
- key: "generateAndInjectStyles",
1853
- value: function generateAndInjectStyles(executionContext) {
1854
- var flatCSS = flatten(this.rules, executionContext).join("").replace(/^\s*\/\/.*$/gm, "");
1855
- var hash2 = hashStr(flatCSS);
1856
- if (!inserted[hash2]) {
1857
- var selector = nameGenerator(hash2);
1858
- inserted[hash2] = selector;
1859
- var css2 = stylis(".".concat(selector), flatCSS);
1860
- this.insertedRule.appendRule(css2);
1861
- }
1862
- return inserted[hash2];
1863
- }
1864
- }]);
1865
- return ComponentStyle2;
1866
- }();
1867
- return ComponentStyle;
1868
- };
1869
- var domElements = ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "g", "image", "line", "linearGradient", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"];
1870
- function isTag(target) {
1871
- if (typeof target === "string") {
1872
- return domElements.indexOf(target) !== -1;
1873
- }
1874
- }
1875
- function isStyledComponent(target) {
1876
- return target && target.methods && typeof target.methods.generateAndInjectStyles === "function";
1877
- }
1878
- function isValidElementType(target) {
1879
- return isStyledComponent(target) || isVueComponent(target) || isTag(target);
1880
- }
1881
- var _styled = function(createStyledComponent) {
1882
- var styled2 = function styled3(tagName) {
1883
- var props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1884
- if (!isValidElementType(tagName)) {
1885
- throw new Error(tagName + " is not allowed for styled tag type.");
1886
- }
1887
- return function(cssRules) {
1888
- for (var _len = arguments.length, interpolations = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1889
- interpolations[_key - 1] = arguments[_key];
1890
- }
1891
- return createStyledComponent(tagName, css.apply(void 0, [cssRules].concat(interpolations)), props);
1892
- };
1893
- };
1894
- domElements.forEach(function(domElement) {
1895
- styled2[domElement] = styled2(domElement);
1896
- });
1897
- return styled2;
1898
- };
1899
- var styled = _styled(_styledComponent(_componentStyle(generateAlphabeticName)));
1900
- export {
1901
- ThemeProvider,
1902
- css,
1903
- styled as default
1904
- };