@ldmjs/ui 1.0.0-dev-3 → 1.0.0-dev-4

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 (291) hide show
  1. package/dist/index.js +43 -0
  2. package/dist/scss/_buttons.scss +301 -0
  3. package/dist/scss/_variables.scss +4 -0
  4. package/dist/scss/index.scss +1 -0
  5. package/package.json +16 -4
  6. package/.eslintignore +0 -15
  7. package/.eslintrc.json +0 -299
  8. package/.yarnrc.yml +0 -1
  9. package/config/rules.js +0 -51
  10. package/config/webpack.config.build.js +0 -122
  11. package/config/webpack.config.dev.js +0 -57
  12. package/index.html +0 -18
  13. package/main.ts +0 -32
  14. package/src/app.vue +0 -15
  15. package/src/css/index.css +0 -86
  16. package/src/index.d.ts +0 -1
  17. package/src/index.ts +0 -34
  18. package/src/ld-icon/icons/access_control_24.svg +0 -3
  19. package/src/ld-icon/icons/account_tree_black_24.svg +0 -3
  20. package/src/ld-icon/icons/add_a_stage_24.svg +0 -3
  21. package/src/ld-icon/icons/add_column_24.svg +0 -3
  22. package/src/ld-icon/icons/add_outline_24.svg +0 -3
  23. package/src/ld-icon/icons/add_user_24.svg +0 -3
  24. package/src/ld-icon/icons/add_user_24_max.svg +0 -3
  25. package/src/ld-icon/icons/additional_zone_mode_24.svg +0 -5
  26. package/src/ld-icon/icons/additional_zone_mode_24_max.svg +0 -3
  27. package/src/ld-icon/icons/archive_24.svg +0 -3
  28. package/src/ld-icon/icons/archive_24_max.svg +0 -3
  29. package/src/ld-icon/icons/arrow_downward_24.svg +0 -3
  30. package/src/ld-icon/icons/arrow_downward_24_max.svg +0 -3
  31. package/src/ld-icon/icons/arrow_upward_24.svg +0 -3
  32. package/src/ld-icon/icons/arrow_upward_24_max.svg +0 -3
  33. package/src/ld-icon/icons/assignment_24.svg +0 -3
  34. package/src/ld-icon/icons/attach_file_outline_24_1.svg +0 -3
  35. package/src/ld-icon/icons/attach_file_outline_24_2.svg +0 -3
  36. package/src/ld-icon/icons/attach_file_outline_24_3.svg +0 -3
  37. package/src/ld-icon/icons/attach_file_outline_24_max.svg +0 -3
  38. package/src/ld-icon/icons/attantion_outline_24.svg +0 -3
  39. package/src/ld-icon/icons/attribute_label_24.svg +0 -3
  40. package/src/ld-icon/icons/back_24.svg +0 -3
  41. package/src/ld-icon/icons/back_24_max.svg +0 -3
  42. package/src/ld-icon/icons/back_to_base_doc_24.svg +0 -3
  43. package/src/ld-icon/icons/burger_menu_outline_24_max.svg +0 -3
  44. package/src/ld-icon/icons/business_processes_24.svg +0 -3
  45. package/src/ld-icon/icons/cancel_outline_24.svg +0 -3
  46. package/src/ld-icon/icons/change_user_24.svg +0 -4
  47. package/src/ld-icon/icons/chat_24.svg +0 -3
  48. package/src/ld-icon/icons/chat_24_max.svg +0 -3
  49. package/src/ld-icon/icons/class_24.svg +0 -3
  50. package/src/ld-icon/icons/class_24_max.svg +0 -3
  51. package/src/ld-icon/icons/clear_date_outline_24.svg +0 -3
  52. package/src/ld-icon/icons/clip_outline_24_max.svg +0 -10
  53. package/src/ld-icon/icons/clock_24.svg +0 -3
  54. package/src/ld-icon/icons/clock_24_max.svg +0 -3
  55. package/src/ld-icon/icons/clock_outline_24.svg +0 -3
  56. package/src/ld-icon/icons/close_24_max.svg +0 -3
  57. package/src/ld-icon/icons/close_fullscreen_24.svg +0 -3
  58. package/src/ld-icon/icons/close_fullscreen_24_max.svg +0 -3
  59. package/src/ld-icon/icons/collapse_16.svg +0 -4
  60. package/src/ld-icon/icons/collapse_24.svg +0 -4
  61. package/src/ld-icon/icons/collapse_accordion_24.svg +0 -3
  62. package/src/ld-icon/icons/collapse_panel_24.svg +0 -3
  63. package/src/ld-icon/icons/collapse_tree_24.svg +0 -3
  64. package/src/ld-icon/icons/collapse_window_24.svg +0 -3
  65. package/src/ld-icon/icons/color_design_24.svg +0 -3
  66. package/src/ld-icon/icons/column_view_24.svg +0 -3
  67. package/src/ld-icon/icons/column_view_24_max.svg +0 -3
  68. package/src/ld-icon/icons/component_24.svg +0 -3
  69. package/src/ld-icon/icons/content_24.svg +0 -3
  70. package/src/ld-icon/icons/content_24_max.svg +0 -3
  71. package/src/ld-icon/icons/content_storage_management_24.svg +0 -3
  72. package/src/ld-icon/icons/control_24.svg +0 -3
  73. package/src/ld-icon/icons/copy_24.svg +0 -3
  74. package/src/ld-icon/icons/correspondent_24.svg +0 -3
  75. package/src/ld-icon/icons/correspondent_24_max-1.svg +0 -3
  76. package/src/ld-icon/icons/correspondent_24_max.svg +0 -3
  77. package/src/ld-icon/icons/create_a_desktop_outline_24.svg +0 -3
  78. package/src/ld-icon/icons/create_a_desktop_outline_24_max.svg +0 -3
  79. package/src/ld-icon/icons/date_range_24.svg +0 -5
  80. package/src/ld-icon/icons/date_range_24_max.svg +0 -3
  81. package/src/ld-icon/icons/delegate_24.svg +0 -3
  82. package/src/ld-icon/icons/delete_24.svg +0 -3
  83. package/src/ld-icon/icons/delete_24_max.svg +0 -3
  84. package/src/ld-icon/icons/delete_user_24.svg +0 -3
  85. package/src/ld-icon/icons/delete_user_24_max.svg +0 -3
  86. package/src/ld-icon/icons/denied_24.svg +0 -4
  87. package/src/ld-icon/icons/department_24.svg +0 -3
  88. package/src/ld-icon/icons/departments_24.svg +0 -3
  89. package/src/ld-icon/icons/deploy_grid_24.svg +0 -3
  90. package/src/ld-icon/icons/dev_24.svg +0 -10
  91. package/src/ld-icon/icons/document_24.svg +0 -3
  92. package/src/ld-icon/icons/document_24_max.svg +0 -3
  93. package/src/ld-icon/icons/done_outline_24.svg +0 -3
  94. package/src/ld-icon/icons/done_outline_24_max.svg +0 -3
  95. package/src/ld-icon/icons/down_to_the_end_24.svg +0 -3
  96. package/src/ld-icon/icons/edit_24.svg +0 -3
  97. package/src/ld-icon/icons/edit_24_max.svg +0 -3
  98. package/src/ld-icon/icons/edit_grid_24.svg +0 -3
  99. package/src/ld-icon/icons/electronic_signature_24.svg +0 -3
  100. package/src/ld-icon/icons/email_24.svg +0 -3
  101. package/src/ld-icon/icons/email_24_max.svg +0 -3
  102. package/src/ld-icon/icons/email_outline_24.svg +0 -3
  103. package/src/ld-icon/icons/email_outline_24_max.svg +0 -3
  104. package/src/ld-icon/icons/event_24.svg +0 -3
  105. package/src/ld-icon/icons/event_24_max.svg +0 -3
  106. package/src/ld-icon/icons/expand_16.svg +0 -4
  107. package/src/ld-icon/icons/expand_24.svg +0 -5
  108. package/src/ld-icon/icons/expand_accordion__24.svg +0 -3
  109. package/src/ld-icon/icons/expand_navigation_panel_24.svg +0 -3
  110. package/src/ld-icon/icons/expand_panel_24.svg +0 -3
  111. package/src/ld-icon/icons/expand_tree_24.svg +0 -3
  112. package/src/ld-icon/icons/favourites_24.svg +0 -3
  113. package/src/ld-icon/icons/favourites_24_max.svg +0 -3
  114. package/src/ld-icon/icons/file_24.svg +0 -3
  115. package/src/ld-icon/icons/file_24_max.svg +0 -3
  116. package/src/ld-icon/icons/file_outline_24.svg +0 -3
  117. package/src/ld-icon/icons/file_outline_24_max.svg +0 -3
  118. package/src/ld-icon/icons/filter_list_24.svg +0 -3
  119. package/src/ld-icon/icons/filter_list_24_max.svg +0 -3
  120. package/src/ld-icon/icons/folder_24.svg +0 -3
  121. package/src/ld-icon/icons/folder_24_max.svg +0 -3
  122. package/src/ld-icon/icons/folder_back_24.svg +0 -3
  123. package/src/ld-icon/icons/folder_files_24.svg +0 -3
  124. package/src/ld-icon/icons/folder_outline_24.svg +0 -3
  125. package/src/ld-icon/icons/folder_outline_24_max.svg +0 -3
  126. package/src/ld-icon/icons/forbidden_24.svg +0 -3
  127. package/src/ld-icon/icons/forward_24.svg +0 -3
  128. package/src/ld-icon/icons/forward_24_max.svg +0 -3
  129. package/src/ld-icon/icons/from_project_outline_24.svg +0 -3
  130. package/src/ld-icon/icons/get_app_24.svg +0 -3
  131. package/src/ld-icon/icons/get_app_24_max.svg +0 -3
  132. package/src/ld-icon/icons/help_24.svg +0 -3
  133. package/src/ld-icon/icons/history_outline_24.svg +0 -3
  134. package/src/ld-icon/icons/history_outline_24_max.svg +0 -3
  135. package/src/ld-icon/icons/home_24.svg +0 -3
  136. package/src/ld-icon/icons/home_24_max.svg +0 -3
  137. package/src/ld-icon/icons/host_24.svg +0 -3
  138. package/src/ld-icon/icons/info_24-1.svg +0 -3
  139. package/src/ld-icon/icons/info_24.svg +0 -3
  140. package/src/ld-icon/icons/info_24_max.svg +0 -3
  141. package/src/ld-icon/icons/info_outline_24.svg +0 -3
  142. package/src/ld-icon/icons/input_marker_24.svg +0 -3
  143. package/src/ld-icon/icons/insert_diagonal_link_outline_24.svg +0 -3
  144. package/src/ld-icon/icons/insert_link_outline_24.svg +0 -3
  145. package/src/ld-icon/icons/interaction_management_24.svg +0 -3
  146. package/src/ld-icon/icons/label_outline_24.svg +0 -3
  147. package/src/ld-icon/icons/label_outline_24_max.svg +0 -3
  148. package/src/ld-icon/icons/lamp_24.svg +0 -3
  149. package/src/ld-icon/icons/lamp_24_max.svg +0 -3
  150. package/src/ld-icon/icons/list_view_24.svg +0 -3
  151. package/src/ld-icon/icons/list_view_24_max.svg +0 -3
  152. package/src/ld-icon/icons/live_help_24_max.svg +0 -3
  153. package/src/ld-icon/icons/lock_24.svg +0 -3
  154. package/src/ld-icon/icons/lock_24_max.svg +0 -3
  155. package/src/ld-icon/icons/lock_open_outline_24.svg +0 -3
  156. package/src/ld-icon/icons/lock_open_outline_24_max.svg +0 -3
  157. package/src/ld-icon/icons/logicgroup_24.svg +0 -3
  158. package/src/ld-icon/icons/logo_windows_24.svg +0 -3
  159. package/src/ld-icon/icons/mailing_group_department_24.svg +0 -3
  160. package/src/ld-icon/icons/mass_actions_24.svg +0 -3
  161. package/src/ld-icon/icons/maximize_window_outline_24.svg +0 -6
  162. package/src/ld-icon/icons/mini_pin_24.svg +0 -3
  163. package/src/ld-icon/icons/model_resolutions_24.svg +0 -3
  164. package/src/ld-icon/icons/monitor_24.svg +0 -3
  165. package/src/ld-icon/icons/more_vert_24_max.svg +0 -3
  166. package/src/ld-icon/icons/more_vert_24s.svg +0 -3
  167. package/src/ld-icon/icons/multi_volume_archive_24.svg +0 -4
  168. package/src/ld-icon/icons/negative_report_accepted_24.svg +0 -4
  169. package/src/ld-icon/icons/new_version_24.svg +0 -3
  170. package/src/ld-icon/icons/next_24.svg +0 -4
  171. package/src/ld-icon/icons/next_24_max.svg +0 -3
  172. package/src/ld-icon/icons/notyfications_24.svg +0 -3
  173. package/src/ld-icon/icons/notyfications_24_max.svg +0 -3
  174. package/src/ld-icon/icons/object_right.svg +0 -4
  175. package/src/ld-icon/icons/on_hold_24.svg +0 -3
  176. package/src/ld-icon/icons/on_hold_outline_24.svg +0 -3
  177. package/src/ld-icon/icons/open_in_full_24.svg +0 -3
  178. package/src/ld-icon/icons/open_in_full_24_max.svg +0 -3
  179. package/src/ld-icon/icons/open_modal_24.svg +0 -3
  180. package/src/ld-icon/icons/open_modal_24_max.svg +0 -4
  181. package/src/ld-icon/icons/pages_outline_24.svg +0 -3
  182. package/src/ld-icon/icons/pages_outline_24_max.svg +0 -3
  183. package/src/ld-icon/icons/parallel_24.svg +0 -3
  184. package/src/ld-icon/icons/parallel_24_max.svg +0 -3
  185. package/src/ld-icon/icons/pause_18.svg +0 -3
  186. package/src/ld-icon/icons/photo_camera_24_max.svg +0 -10
  187. package/src/ld-icon/icons/pie_chart_24.svg +0 -3
  188. package/src/ld-icon/icons/pie_chart_24_max.svg +0 -3
  189. package/src/ld-icon/icons/pin_24.svg +0 -3
  190. package/src/ld-icon/icons/preview_mode_off_24.svg +0 -3
  191. package/src/ld-icon/icons/preview_mode_off_24_max.svg +0 -3
  192. package/src/ld-icon/icons/preview_mode_on_24.svg +0 -3
  193. package/src/ld-icon/icons/preview_mode_on_24_max.svg +0 -3
  194. package/src/ld-icon/icons/previous_24.svg +0 -3
  195. package/src/ld-icon/icons/previous_24_max.svg +0 -3
  196. package/src/ld-icon/icons/print_24.svg +0 -3
  197. package/src/ld-icon/icons/print_24_max.svg +0 -3
  198. package/src/ld-icon/icons/project_24.svg +0 -3
  199. package/src/ld-icon/icons/project_24_max.svg +0 -3
  200. package/src/ld-icon/icons/read_email_24.svg +0 -3
  201. package/src/ld-icon/icons/recipient_24.svg +0 -3
  202. package/src/ld-icon/icons/recipient_organization_24.svg +0 -3
  203. package/src/ld-icon/icons/redirect_24.svg +0 -3
  204. package/src/ld-icon/icons/redirect_24_max.svg +0 -3
  205. package/src/ld-icon/icons/refresh_outline_24.svg +0 -3
  206. package/src/ld-icon/icons/refresh_outline_24_max.svg +0 -3
  207. package/src/ld-icon/icons/related_files_outline_24.svg +0 -3
  208. package/src/ld-icon/icons/remove_24.svg +0 -3
  209. package/src/ld-icon/icons/remove_outline_24_max.svg +0 -3
  210. package/src/ld-icon/icons/rename_outline_24.svg +0 -3
  211. package/src/ld-icon/icons/repeat_report_for_user_24.svg +0 -3
  212. package/src/ld-icon/icons/reply_24.svg +0 -3
  213. package/src/ld-icon/icons/reply_24_max.svg +0 -3
  214. package/src/ld-icon/icons/restore_deleted_24.svg +0 -3
  215. package/src/ld-icon/icons/role_24.svg +0 -3
  216. package/src/ld-icon/icons/role_icon_24.svg +0 -3
  217. package/src/ld-icon/icons/roll_up_grid_24.svg +0 -3
  218. package/src/ld-icon/icons/save_24.svg +0 -3
  219. package/src/ld-icon/icons/save_24_max.svg +0 -3
  220. package/src/ld-icon/icons/scan_24.svg +0 -3
  221. package/src/ld-icon/icons/scheduler_24_1.svg +0 -3
  222. package/src/ld-icon/icons/scheduler_24_2.svg +0 -3
  223. package/src/ld-icon/icons/search_outline_24.svg +0 -3
  224. package/src/ld-icon/icons/search_outline_24_max.svg +0 -3
  225. package/src/ld-icon/icons/select_the_widget_24.svg +0 -3
  226. package/src/ld-icon/icons/send_24.svg +0 -3
  227. package/src/ld-icon/icons/send_24_max.svg +0 -3
  228. package/src/ld-icon/icons/sequential_24.svg +0 -3
  229. package/src/ld-icon/icons/sequential_24_max.svg +0 -3
  230. package/src/ld-icon/icons/settings_24.svg +0 -3
  231. package/src/ld-icon/icons/settings_24_max.svg +0 -3
  232. package/src/ld-icon/icons/share_24.svg +0 -3
  233. package/src/ld-icon/icons/share_24_max.svg +0 -3
  234. package/src/ld-icon/icons/show_recipients_outline_24.svg +0 -3
  235. package/src/ld-icon/icons/sort_outline_24.svg +0 -3
  236. package/src/ld-icon/icons/stamp_24.svg +0 -3
  237. package/src/ld-icon/icons/star_outline_24.svg +0 -3
  238. package/src/ld-icon/icons/star_outline_24_max.svg +0 -3
  239. package/src/ld-icon/icons/start_the_route_24_max.svg +0 -3
  240. package/src/ld-icon/icons/statistics_24.svg +0 -3
  241. package/src/ld-icon/icons/stop_the_route_24.svg +0 -3
  242. package/src/ld-icon/icons/subsystem_24.svg +0 -3
  243. package/src/ld-icon/icons/successfully_24.svg +0 -4
  244. package/src/ld-icon/icons/table_view_24.svg +0 -3
  245. package/src/ld-icon/icons/table_view_24_max.svg +0 -3
  246. package/src/ld-icon/icons/tag_24.svg +0 -3
  247. package/src/ld-icon/icons/the_report_is_accepted_24.svg +0 -3
  248. package/src/ld-icon/icons/to_the_begining_24.svg +0 -3
  249. package/src/ld-icon/icons/to_the_end_24.svg +0 -3
  250. package/src/ld-icon/icons/typical__route_24_max.svg +0 -7
  251. package/src/ld-icon/icons/typical_route_24-1.svg +0 -3
  252. package/src/ld-icon/icons/typical_route_24.svg +0 -3
  253. package/src/ld-icon/icons/unarchive_24.svg +0 -3
  254. package/src/ld-icon/icons/undo_outline_24.svg +0 -3
  255. package/src/ld-icon/icons/unpin_navigation_panel_24.svg +0 -3
  256. package/src/ld-icon/icons/up_24.svg +0 -3
  257. package/src/ld-icon/icons/up_to_the_begining_24.svg +0 -3
  258. package/src/ld-icon/icons/user_icon_24.svg +0 -3
  259. package/src/ld-icon/icons/user_icon_24_max.svg +0 -3
  260. package/src/ld-icon/icons/user_rights_24.svg +0 -3
  261. package/src/ld-icon/icons/verified_user_24.svg +0 -3
  262. package/src/ld-icon/icons/verified_user_24_max.svg +0 -3
  263. package/src/ld-icon/icons/viewing_24.svg +0 -7
  264. package/src/ld-icon/icons/vocabulary_24.svg +0 -3
  265. package/src/ld-icon/icons/warning_24.svg +0 -3
  266. package/src/ld-icon/icons/warning_24_max.svg +0 -3
  267. package/src/ld-icon/icons/warning_outline_24.svg +0 -3
  268. package/src/ld-icon/icons/whats_new_24.svg +0 -3
  269. package/src/ld-icon/icons/work_outline_24.svg +0 -3
  270. package/src/ld-icon/icons/work_outline_24_max.svg +0 -3
  271. package/src/ld-icon/icons.html +0 -37
  272. package/src/ld-icon/icons.json +0 -147
  273. package/src/ld-icon/icons.md +0 -2
  274. package/src/ld-icon/index.ts +0 -35
  275. package/src/ld-icon/ld-icon.ts +0 -59
  276. package/src/ld-icon/ld-icon.vue +0 -1
  277. package/src/ld-icon/svg-icon.ts +0 -10
  278. package/src/ld-icon/svg-icon.vue +0 -6
  279. package/src/ld-loader/index.ts +0 -8
  280. package/src/ld-loader/ld-loader.ts +0 -123
  281. package/src/ld-loader/ld-loader.vue +0 -133
  282. package/src/scss/_colors.scss +0 -73
  283. package/src/scss/_variables.scss +0 -5
  284. package/src/scss/index.scss +0 -2
  285. package/src/utils/isDefined.ts +0 -5
  286. package/src/utils/zIndex.ts +0 -11
  287. package/src/utils.d.ts +0 -4
  288. package/tsconfig.json +0 -32
  289. package/typings/declarations.d.ts +0 -2
  290. package/typings/vue-shims.d.ts +0 -19
  291. package/typings/vue.d.ts +0 -34
@@ -1,37 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="ru">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="x-ua-compatible" content="ie=edge">
6
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
7
- <meta http-equiv="Cache-control" content="no-cache, no-store, must-revalidate">
8
- <meta http-equiv="Pragma" content="no-cache">
9
- <script type="text/javascript">
10
- fetch('./icons.json').then(res => res.json()).then(({ icons }) => {
11
- var template = `
12
- <svg data-v-08f7a525="" class="" width="24" height="24" style="fill: transparent; stroke: transparent;">
13
- <use href="../img/icons/%name%.svg#%name%"></use>
14
- </svg>
15
- `;
16
- var div = document.getElementById('app');
17
- if (div) {
18
- for (var icon of icons) {
19
- const d = document.createElement('div');
20
- d.style.display = 'flex';
21
- d.style.alignItems = 'center';
22
- d.innerHTML = template.replace(/%name%/g, icon[1]);
23
- const span = document.createElement('span');
24
- span.innerText = icon[0];
25
- span.style.paddingLeft = '12px';
26
- d.appendChild(span);
27
- div.appendChild(d);
28
- }
29
- }
30
- });
31
- </script>
32
- <title>LDM</title>
33
- </head>
34
- <body>
35
- <div id="app"></div>
36
- </body>
37
- </html>
@@ -1,147 +0,0 @@
1
- {
2
- "icons": [
3
- ["access_control","access_control_24"],
4
- ["access_time","clock_outline_24"],
5
- ["account_circle","user_icon_24"],
6
- ["account_circle_max","user_icon_24_max"],
7
- ["add","add_outline_24"],
8
- ["add_from_project","from_project_outline_24"],
9
- ["add_stage","add_a_stage_24"],
10
- ["archive","archive_24"],
11
- ["archive_max","archive_24_max"],
12
- ["arrow_back","previous_24"],
13
- ["arrow_down","arrow_downward_24_max"],
14
- ["arrow_forward","next_24"],
15
- ["arrow_up","arrow_upward_24_max"],
16
- ["assignment","assignment_24"],
17
- ["attach_file","attach_file_outline_24_3"],
18
- ["briefcase","work_outline_24"],
19
- ["calendar","date_range_24"],
20
- ["chain","sequential_24"],
21
- ["check","done_outline_24"],
22
- ["chrome_reader_mode","additional_zone_mode_24"],
23
- ["class","class_24"],
24
- ["class_max","class_24_max"],
25
- ["clear","close_24_max"],
26
- ["close","close_24_max"],
27
- ["close_fullscreen","close_fullscreen_24"],
28
- ["collapse","collapse_16"],
29
- ["collapse_24","collapse_24"],
30
- ["component","component_24"],
31
- ["content","content_24"],
32
- ["content_copy","copy_24"],
33
- ["correspondent","correspondent_24"],
34
- ["create","add_outline_24"],
35
- ["delegate","delegate_24"],
36
- ["delete","delete_24"],
37
- ["denied","denied_24"],
38
- ["departments","departments_24"],
39
- ["dev","dev_24"],
40
- ["diagonal_link","insert_diagonal_link_outline_24"],
41
- ["document","document_24"],
42
- ["document_max","document_24_max"],
43
- ["done","done_outline_24"],
44
- ["edit","edit_24"],
45
- ["edit_grid","edit_grid_24"],
46
- ["edit_max","edit_24_max"],
47
- ["envelope_square","email_outline_24"],
48
- ["event","event_24"],
49
- ["expand","expand_16"],
50
- ["expand_24","expand_24"],
51
- ["file","file_24"],
52
- ["filter","filter_list_24_max"],
53
- ["filter_list","filter_list_24"],
54
- ["first_page","to_the_begining_24"],
55
- ["folder","folder_24"],
56
- ["folder_files","folder_files_24"],
57
- ["forward","forward_24"],
58
- ["get_app","get_app_24"],
59
- ["grid_view","table_view_24"],
60
- ["group","recipient_organization_24"],
61
- ["history","history_outline_24"],
62
- ["history_max","history_outline_24_max"],
63
- ["home","home_24"],
64
- ["home_max","home_24_max"],
65
- ["host","host_24"],
66
- ["info","info_24"],
67
- ["info_outline","info_outline_24"],
68
- ["interaction","interaction_management_24"],
69
- ["kanban","column_view_24"],
70
- ["kanban_max","column_view_24_max"],
71
- ["keyboard_arrow_down","expand_tree_24"],
72
- ["keyboard_arrow_left","unpin_navigation_panel_24"],
73
- ["keyboard_arrow_right","expand_navigation_panel_24"],
74
- ["label","attribute_label_24"],
75
- ["label_outline","label_outline_24"],
76
- ["last_page","to_the_end_24"],
77
- ["link","insert_link_outline_24"],
78
- ["live_help","help_24"],
79
- ["live_help_max","live_help_24_max"],
80
- ["location_city","correspondent_24"],
81
- ["lock","lock_24"],
82
- ["lock_max","lock_24_max"],
83
- ["lock_open","lock_open_outline_24"],
84
- ["logicgroup","logicgroup_24"],
85
- ["mail","email_24"],
86
- ["mail_max","email_24_max"],
87
- ["mailing_group_department","mailing_group_department_24"],
88
- ["menu","burger_menu_outline_24_max"],
89
- ["minimize","collapse_window_24"],
90
- ["model_resolutions","model_resolutions_24"],
91
- ["monitoring","monitor_24"],
92
- ["more_horiz","open_modal_24"],
93
- ["more_vert","more_vert_24s"],
94
- ["negative_report_accepted","negative_report_accepted_24"],
95
- ["new_version","new_version_24"],
96
- ["next","forward_24"],
97
- ["notification","notyfications_24"],
98
- ["notification_max","notyfications_24_max"],
99
- ["object_right","object_right"],
100
- ["on_hold","on_hold_24"],
101
- ["open_in_full","open_in_full_24"],
102
- ["parallel","parallel_24"],
103
- ["pause","pause_18"],
104
- ["pie_chart","pie_chart_24_max"],
105
- ["pin","pin_24"],
106
- ["play_arrow","start_the_route_24_max"],
107
- ["prev","back_24"],
108
- ["print","print_24"],
109
- ["project_max","project_24_max"],
110
- ["redirect","redirect_24"],
111
- ["refresh","refresh_outline_24"],
112
- ["remove","remove_24"],
113
- ["reply","reply_24"],
114
- ["role","role_24"],
115
- ["save","save_24"],
116
- ["scanner","scan_24"],
117
- ["scheduler","scheduler_24_1"],
118
- ["search","search_outline_24"],
119
- ["search_max","search_outline_24_max"],
120
- ["select_the_widget","select_the_widget_24"],
121
- ["send","send_24"],
122
- ["settings","settings_24"],
123
- ["settings_max","settings_24_max"],
124
- ["share","share_24"],
125
- ["show_recipients","show_recipients_outline_24"],
126
- ["slider_down","down_to_the_end_24"],
127
- ["slider_up","up_to_the_begining_24"],
128
- ["star_max","favourites_24_max"],
129
- ["star_outline","star_outline_24"],
130
- ["stop","stop_the_route_24"],
131
- ["storage","content_storage_management_24"],
132
- ["substract_document","back_to_base_doc_24"],
133
- ["subsystem","subsystem_24"],
134
- ["subtract","multi_volume_archive_24"],
135
- ["successfully","successfully_24"],
136
- ["typical_route","typical_route_24"],
137
- ["unarchive","unarchive_24"],
138
- ["undo","undo_outline_24"],
139
- ["union","business_processes_24"],
140
- ["user","recipient_24"],
141
- ["verified","verified_user_24"],
142
- ["view_list","list_view_24"],
143
- ["visibility","preview_mode_on_24"],
144
- ["visibility_off","preview_mode_off_24"],
145
- ["warning","warning_24"]
146
- ]
147
- }
@@ -1,2 +0,0 @@
1
- Все иконки можно посмотреть, открыв страничку по адресу:
2
- localhost:4000/assets/icons/icons.html
@@ -1,35 +0,0 @@
1
- import { App, defineComponent } from 'vue';
2
- import ldicon from '@/ld-icon/ld-icon.vue';
3
-
4
- function reg(vue: App, options?: { path: string; map: { icons: Array<[string, string]> } }) {
5
- if ($DEV) {
6
- ldicon.props = {
7
- ...ldicon.props,
8
- path: {
9
- default: options?.path ?? 'icons',
10
- },
11
- map: {
12
- default: options?.map ?? { icons: [] }
13
- }
14
- }
15
- vue.component('ld-icon', ldicon);
16
- return;
17
- }
18
- let cmp: any = defineComponent(ldicon);
19
- cmp = cmp.setup.__vccOpts;
20
- cmp = {
21
- ...cmp,
22
- props: {
23
- ...cmp.props,
24
- path: {
25
- default: options?.path ?? 'icons',
26
- },
27
- map: {
28
- default: options?.map ?? { icons: [] }
29
- }
30
- }
31
- };
32
- vue.component('ld-icon', defineComponent(cmp));
33
- }
34
-
35
- export default reg;
@@ -1,59 +0,0 @@
1
- import { Options, Vue } from 'vue-class-component';
2
- import { Prop, Watch } from 'vue-property-decorator';
3
- import SvgIcon from './svg-icon.vue';
4
-
5
- @Options({
6
- components: {
7
- 'svg-icon': SvgIcon,
8
- },
9
- template: `
10
- <svg-icon v-if="array" :icon="array[1]" :class="className" :path="path" v-bind="props" />
11
- <span v-else> icon is not found: {{ current }} </span>
12
- `,
13
- })
14
- export default class IconButtonComponent extends Vue {
15
- @Prop({ default: (): { icons: Array<[string, string]> } => ({ icons: [] }) }) map: { icons: Array<[string, string]> };
16
- @Prop({ default: 'icons' }) path: string;
17
- @Prop() icon: string;
18
- @Prop() color: string;
19
- @Prop({ default: '24' }) width: string;
20
- @Prop({ default: '24' }) height: string;
21
-
22
- current = '';
23
-
24
- @Watch('icon') onIconChange() {
25
- this.current = this.icon.trim();
26
- }
27
-
28
- created() {
29
- if (this.icon) {
30
- this.current = this.icon.trim();
31
- return;
32
- }
33
- if (this.$slots.default) {
34
- const slot = this.$slots.default()?.[0];
35
- if (slot && slot.children && typeof slot.children === 'string') {
36
- this.current = slot.children.trim();
37
- }
38
- }
39
- }
40
-
41
- get props() {
42
- return {
43
- path: this.path,
44
- width: this.width,
45
- height: this.height,
46
- };
47
- }
48
-
49
- get array(): Array<string> {
50
- return this.map.icons.find((el) => el[0] === this.current) || [];
51
- }
52
-
53
- get className(): Array<string> {
54
- if (this.color) {
55
- return [`${this.color}--text`];
56
- }
57
- return [];
58
- }
59
- }
@@ -1 +0,0 @@
1
- <script src="./ld-icon.ts"></script>
@@ -1,10 +0,0 @@
1
- import { Prop, Vue } from 'vue-property-decorator';
2
-
3
- export default class SvgIconComponent extends Vue {
4
- @Prop() icon: string;
5
- @Prop() path: string;
6
-
7
- get href(): string {
8
- return `${this.path}/${this.icon}.svg#${this.icon}`;
9
- }
10
- }
@@ -1,6 +0,0 @@
1
- <template>
2
- <svg style="fill: transparent; stroke: transparent">
3
- <use :href="href"></use>
4
- </svg>
5
- </template>
6
- <script src="./svg-icon.ts"></script>
@@ -1,8 +0,0 @@
1
- import { App } from 'vue';
2
- import loader from '@/ld-loader/ld-loader.vue';
3
-
4
- function reg(vue: App) {
5
- vue.component('loader', loader)
6
- }
7
-
8
- export default reg;
@@ -1,123 +0,0 @@
1
- import { isDefined } from '@/utils/isDefined';
2
- import { getZIndex } from '@/utils/zIndex';
3
- import { Prop, Vue } from 'vue-property-decorator';
4
-
5
- enum LoaderType {
6
- SandGlass = 0,
7
- Clock = 1,
8
- Circle = 2,
9
- Css = 3,
10
- }
11
-
12
- interface ILoaderOptions {
13
- type?: LoaderType;
14
- transparent: boolean;
15
- global: boolean;
16
- size?: 'small' | 'big';
17
- color?: 'primary' | 'white';
18
- relative?: boolean;
19
- bg?: boolean;
20
- }
21
-
22
- export default class Loader extends Vue {
23
- @Prop({ type: Object, default: { size: 'big', bg: true } }) options: ILoaderOptions;
24
- @Prop({ type: Boolean, default: 'false' }) visible: boolean;
25
- @Prop({
26
- type: String,
27
- default: 'circle',
28
- validator: value => ['sand', 'circle', 'clock', 'css'].includes(value as string),
29
- })
30
- indicator: string;
31
- @Prop({ type: String, default: '' }) css: string;
32
-
33
- created() {
34
- if (!this.options.size) {
35
- this.options.size = 'big';
36
- }
37
- if (this.indicator) {
38
- switch (this.indicator) {
39
- case 'circle':
40
- this.options.type = LoaderType.Circle;
41
- break;
42
- case 'sand':
43
- this.options.type = LoaderType.SandGlass;
44
- break;
45
- case 'clock':
46
- this.options.type = LoaderType.Clock;
47
- break;
48
- case 'css':
49
- this.options.type = LoaderType.Css;
50
- break;
51
- default:
52
- this.options.type = LoaderType.SandGlass;
53
- break;
54
- }
55
- }
56
- }
57
-
58
- get isSandGlass() {
59
- return this.indicator === 'sand' || this.options.type === LoaderType.SandGlass;
60
- }
61
-
62
- get isCircle() {
63
- return this.indicator === 'circle' || this.options.type === LoaderType.Circle;
64
- }
65
-
66
- get isCssClass() {
67
- return this.indicator === 'css' || this.options.type === LoaderType.Css;
68
- }
69
-
70
- get imgClass() {
71
- return this.css;
72
- }
73
-
74
- get isTransparent() {
75
- return this.options.transparent;
76
- }
77
-
78
- get noBackground() {
79
- return isDefined(this.options.bg) && !this.options.bg;
80
- }
81
-
82
- get isGlobal() {
83
- return Boolean(this.options.global);
84
- }
85
-
86
- get styles() {
87
- return {
88
- 'z-index': getZIndex(this.$parent.$el) + 2,
89
- };
90
- }
91
-
92
- get size() {
93
- return this.options?.size ?? 'big';
94
- }
95
-
96
- get color() {
97
- return this.options?.color ?? 'primary';
98
- }
99
-
100
- get isRelative() {
101
- return this.options?.relative;
102
- }
103
-
104
- get cssClasses(): string[] {
105
- const classes = [];
106
- if (!this.isTransparent) {
107
- classes.push('loader__white-bg');
108
- }
109
- if (this.isGlobal) {
110
- classes.push('loading-mask-global');
111
- }
112
- if (this.isRelative) {
113
- classes.push('loader__relative');
114
- } else {
115
- classes.push('loading-mask');
116
- }
117
- if (this.noBackground) {
118
- classes.push('loader__transparent');
119
- }
120
- classes.push(`loader__color-${this.color}`);
121
- return classes;
122
- }
123
- }
@@ -1,133 +0,0 @@
1
- <template>
2
- <div v-show="visible" class="loader" :class="cssClasses" :style="styles">
3
- <i v-if="isSandGlass" class="fa fa-spin fa-hourglass-o fa-3x fa-fw loader__icon"></i>
4
- <div v-else-if="isCircle" class="circle" :class="size"></div>
5
- <div v-else-if="isCssClass" :class="imgClass"></div>
6
- <i v-else class="fa fa-clock-o fa-3x fa-fw loader__icon loader__icon-gray"></i>
7
- </div>
8
- </template>
9
- <script src="./ld-loader.ts" lang="ts"></script>
10
- <style lang="scss" scoped>
11
- .loader {
12
- width: 100%;
13
- height: 100%;
14
- top: 0px;
15
- left: 0px;
16
- display: flex;
17
- justify-content: center;
18
- align-items: center;
19
- overflow: hidden;
20
- transition: opacity 0.15s linear;
21
-
22
- &__icon {
23
- vertical-align: middle;
24
- height: 48px;
25
- }
26
-
27
- &__icon-gray {
28
- color: var(--grey-l-5);
29
- }
30
-
31
- $small: calc(var(--font-size) + 4px);
32
- $normal: calc(var(--font-size) * 2);
33
- $big: calc(var(--font-size) * 3);
34
-
35
- .circle.small {
36
- width: $small;
37
- height: $small;
38
- border-width: 3px;
39
- }
40
-
41
- .circle.big {
42
- width: $big;
43
- height: $big;
44
- border-width: 3px;
45
- }
46
-
47
- .circle {
48
- animation: rotating 0.7s linear infinite;
49
- width: $normal;
50
- height: $normal;
51
- border-radius: 50%;
52
- border: 2px solid transparent;
53
- }
54
-
55
- &.loader__color-primary {
56
- &:not(.loader__transparent) {
57
- background: rgba(255, 255, 255, 0.5);
58
- }
59
- .circle {
60
- border-right-color: var(--primary);
61
- border-bottom-color: var(--primary);
62
- }
63
- }
64
- &.loader__color-white {
65
- background: none;
66
- .circle {
67
- border-right-color: var(--white);
68
- border-bottom-color: var(--white);
69
- }
70
- }
71
- &.loader__white-bg {
72
- &:not(.loader__transparent) {
73
- background: rgba(255, 255, 255, 1);
74
- }
75
- }
76
- }
77
-
78
- .loading-mask-global {
79
- position: fixed !important;
80
- width: 100vw !important;
81
- height: 100vh !important;
82
- }
83
-
84
- .loading-mask {
85
- position: absolute;
86
- -webkit-backface-visibility: hidden;
87
- backface-visibility: hidden;
88
- }
89
-
90
- .loader__relative {
91
- position: relative;
92
- }
93
-
94
- @-moz-keyframes rotating {
95
- 0% {
96
- transform: rotate(0);
97
- }
98
-
99
- 100% {
100
- transform: rotate(360deg);
101
- }
102
- }
103
-
104
- @-webkit-keyframes rotating {
105
- 0% {
106
- transform: rotate(0);
107
- }
108
-
109
- 100% {
110
- transform: rotate(360deg);
111
- }
112
- }
113
-
114
- @-o-keyframes rotating {
115
- 0% {
116
- transform: rotate(0);
117
- }
118
-
119
- 100% {
120
- transform: rotate(360deg);
121
- }
122
- }
123
-
124
- @keyframes rotating {
125
- 0% {
126
- transform: rotate(0);
127
- }
128
-
129
- 100% {
130
- transform: rotate(360deg);
131
- }
132
- }
133
- </style>
@@ -1,73 +0,0 @@
1
- $colors: ('primary', 'secondary', 'success', 'warning', 'error', 'grey', 'dark', 'white');
2
-
3
- body,
4
- .v-application {
5
- @each $color in $colors {
6
- & .#{$color} {
7
- background-color: var(--#{$color}) !important;
8
- border-color: var(--#{$color}) !important;
9
- }
10
- & .#{$color}--text, & .text-#{$color} {
11
- @if $color == 'primary' {
12
- color: var(--#{$color}-l-2) !important;
13
- } @else {
14
- color: var(--#{$color}) !important;
15
- }
16
- }
17
- & .#{$color}--bg, & .bg-#{$color} {
18
- @if $color == 'primary' {
19
- background-color: var(--#{$color}-l-8) !important;
20
- } @else if $color == 'grey' {
21
- background-color: var(--#{$color}-l-6) !important;
22
- } @else if $color == 'secondary' {
23
- background-color: var(--#{$color}-l-5) !important;
24
- } @else {
25
- background-color: var(--#{$color}) !important;
26
- }
27
- }
28
- & .#{$color}--border, & .border-#{$color} {
29
- @if $color == 'primary' {
30
- border-color: var(--#{$color}-l-2) !important;
31
- } @else if $color == 'grey' {
32
- border-color: var(--#{$color}-l-5) !important;
33
- } @else {
34
- border-color: var(--#{$color}) !important;
35
- }
36
- }
37
- & .#{$color}--hover {
38
- transition: background 0.1s;
39
- @if $color == 'grey' {
40
- &:hover {
41
- background-color: var(--#{$color}-l-6) !important;
42
- }
43
- } @else if $color == 'secondary' {
44
- &:hover {
45
- background-color: var(--#{$color}-l-5) !important;
46
- }
47
- } @else {
48
- &:hover {
49
- background-color: var(--#{$color}) !important;
50
- }
51
- }
52
- }
53
- }
54
-
55
- & .text-color {
56
- color: var(--text);
57
- }
58
-
59
- & .label-color {
60
- color: var(--label);
61
- }
62
- }
63
-
64
- .main-gradient-h {
65
- background: var(--primary);
66
- background: linear-gradient(90deg, var(--primary) 0%, var(--primary-d-1) 100%);
67
- }
68
-
69
- .main-gradient-v {
70
- background: var(--primary);
71
- background: linear-gradient(180deg, var(--primary) 0%, var(--primary-d-1) 100%);
72
- }
73
-
@@ -1,5 +0,0 @@
1
- $font-size: 12px !default; // основной шрифт приложения
2
-
3
- :root {
4
- --font-size: #{$font-size};
5
- }
@@ -1,2 +0,0 @@
1
- @import 'colors';
2
- @import 'variables';
@@ -1,5 +0,0 @@
1
- export function isDefined(value: unknown): boolean {
2
- /* eslint-disable no-undefined */
3
- const isNaNValue = typeof value === 'number' && isNaN(value);
4
- return value !== null && value !== undefined && !isNaNValue;
5
- }
@@ -1,11 +0,0 @@
1
- export function getZIndex(el?: Element | null): number {
2
- if (!el || el.nodeType !== Node.ELEMENT_NODE) {
3
- return 0;
4
- }
5
- const index = Number(window.getComputedStyle(el).getPropertyValue('z-index'));
6
-
7
- if (isNaN(index)) {
8
- return getZIndex(el.parentNode as Element);
9
- }
10
- return index;
11
- }
package/src/utils.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import { isDefined } from './index'
2
- export {
3
- isDefined
4
- }