@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
package/.eslintrc.json DELETED
@@ -1,299 +0,0 @@
1
- {
2
- // Настройки проекта
3
- "env": {
4
- // Проект для браузера
5
- "browser": true,
6
- // Включаем возможности ES6
7
- "es6": true,
8
- // Добавляем возможности ES2017
9
- "es2017": true
10
- },
11
- // Наборы правил
12
- "extends": [
13
- // Базовый набор правил eslint
14
- "eslint:recommended",
15
- "plugin:promise/recommended",
16
- // Отключаем правила из базового набора
17
- // "plugin:@typescript-eslint/eslint-recommended",
18
- // Базовые правила для TypeScript
19
- "plugin:@typescript-eslint/recommended",
20
- // Правила TS, требующие инфо о типах
21
- "plugin:@typescript-eslint/recommended-requiring-type-checking",
22
- "plugin:prettier/recommended", // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
23
- "plugin:vue/base"
24
- ],
25
- // Движок парсинга
26
- "parser": "vue-eslint-parser",
27
- "parserOptions": {
28
- "parser": "@typescript-eslint/parser",
29
- // Движку нужен проект TS для правил с типами
30
- "project": "tsconfig.json",
31
- "tsconfigRootDir": ".",
32
- "extraFileExtensions": [".vue", ".html"]
33
- },
34
- // Плагин с наборами правил для TypeScript
35
- "plugins": ["prettier", "@typescript-eslint", "promise", "vue"],
36
- "rules": {
37
- "prettier/prettier": [
38
- "error",
39
- {
40
- "usePrettierrc": true,
41
- "printWidth": 120
42
- }
43
- ],
44
- "no-shadow": [
45
- "off",
46
- {
47
- "builtinGlobals": false
48
- }
49
- ],
50
- "no-duplicate-imports": [
51
- "error",
52
- {
53
- "includeExports": true
54
- }
55
- ],
56
- "no-template-curly-in-string": "error",
57
- "block-scoped-var": "error",
58
- "curly": ["error", "all"],
59
- "eqeqeq": "error",
60
- "max-classes-per-file": ["error", 1],
61
- "no-alert": "error",
62
- "no-console": ["error", { "allow": ["time", "timeEnd"] }],
63
- "no-else-return": [
64
- "error",
65
- {
66
- "allowElseIf": false
67
- }
68
- ],
69
- "no-implicit-coercion": "error",
70
- "no-labels": "error",
71
- "no-lone-blocks": "error",
72
- "no-multi-spaces": "error",
73
- "no-new": "error",
74
- "no-new-func": "error",
75
- "no-new-wrappers": "error",
76
- "no-return-await": "error",
77
- "no-self-compare": "error",
78
- "no-sequences": "error",
79
- "no-throw-literal": "error",
80
- "no-unused-expressions": "error",
81
- "no-useless-call": "error",
82
- "no-useless-concat": "error",
83
- "no-useless-return": "error",
84
- "prefer-promise-reject-errors": "error",
85
- "radix": "error",
86
- "no-undefined": "error",
87
- "array-bracket-newline": [
88
- "off",
89
- {
90
- "multiline": true
91
- }
92
- ],
93
- "comma-dangle": "off",
94
- "comma-style": "error",
95
- "eol-last": "error",
96
- "key-spacing": "error",
97
- "keyword-spacing": "error",
98
- "new-parens": "error",
99
- "no-bitwise": "warn",
100
- "no-lonely-if": "warn",
101
- "no-multiple-empty-lines": "error",
102
- "no-nested-ternary": "error",
103
- "no-new-object": "error",
104
- "no-tabs": [
105
- "error",
106
- {
107
- "allowIndentationTabs": true
108
- }
109
- ],
110
- "no-trailing-spaces": "error",
111
- "no-unneeded-ternary": "error",
112
- "no-whitespace-before-property": "error",
113
- "object-curly-newline": "error",
114
- "object-curly-spacing": ["error", "always"],
115
- "semi-spacing": "error",
116
- "space-before-blocks": "error",
117
- "space-before-function-paren": [
118
- "error",
119
- {
120
- "anonymous": "always",
121
- "named": "never",
122
- "asyncArrow": "always"
123
- }
124
- ],
125
- "space-in-parens": "error",
126
- "space-infix-ops": "error",
127
- "space-unary-ops": "error",
128
- "spaced-comment": ["error", "always"],
129
- "switch-colon-spacing": "error",
130
- "arrow-body-style": ["error", "as-needed"],
131
- "arrow-parens": ["error", "as-needed"],
132
- "arrow-spacing": "error",
133
- "no-useless-computed-key": "error",
134
- "no-useless-rename": "error",
135
- "object-shorthand": ["error", "always"],
136
- "prefer-arrow-callback": "warn",
137
- "prefer-destructuring": "off",
138
- "rest-spread-spacing": ["error", "never"],
139
- "sort-imports": "off",
140
- "template-curly-spacing": "error",
141
- "optimize-regex/optimize-regex": "warn",
142
- "@typescript-eslint/no-extra-parens": ["off"],
143
- "@typescript-eslint/semi": ["error", "always"],
144
- "@typescript-eslint/member-delimiter-style": [
145
- "error",
146
- {
147
- "multiline": {
148
- "delimiter": "semi"
149
- }
150
- }
151
- ],
152
- "@typescript-eslint/member-ordering": "off",
153
- "@typescript-eslint/no-magic-numbers": [
154
- "off",
155
- {
156
- "ignoreNumericLiteralTypes": true,
157
- "ignoreEnums": true,
158
- "enforceConst": true,
159
- "ignoreReadonlyClassProperties": true,
160
- "ignore": [0, 1, 24, 60, 1000]
161
- }
162
- ],
163
- "@typescript-eslint/indent": ["off", 2],
164
- "@typescript-eslint/quotes": [
165
- "error",
166
- "single",
167
- {
168
- "avoidEscape": true
169
- }
170
- ],
171
- "@typescript-eslint/func-call-spacing": ["error", "never"],
172
- "@typescript-eslint/no-useless-constructor": "error",
173
- "@typescript-eslint/prefer-for-of": "warn",
174
- "@typescript-eslint/no-parameter-properties": "off",
175
- "@typescript-eslint/no-unsafe-argument": "off",
176
- "@typescript-eslint/no-unnecessary-type-arguments": "warn",
177
- "@typescript-eslint/prefer-function-type": "warn",
178
- "@typescript-eslint/prefer-readonly": "warn",
179
- "@typescript-eslint/no-explicit-any": "error",
180
- "@typescript-eslint/explicit-function-return-type": [
181
- "off",
182
- {
183
- "allowExpressions": true
184
- }
185
- ],
186
- "@typescript-eslint/prefer-nullish-coalescing": "off",
187
- "@typescript-eslint/interface-name-prefix": "off",
188
- "@typescript-eslint/no-unused-vars": [
189
- "error",
190
- {
191
- "argsIgnorePattern": "^",
192
- "varsIgnorePattern": "^$"
193
- }
194
- ],
195
- "@typescript-eslint/no-use-before-define": "off",
196
- "simple-import-sort/imports": [
197
- "error",
198
- {
199
- // The default grouping, but with no blank lines.
200
- "groups": [["^\\u0000", "^@?\\w", "^[^.]", "^\\."]]
201
- }
202
- ],
203
- "no-case-declarations": "off",
204
- "@typescript-eslint/no-misused-promises": [
205
- "error",
206
- {
207
- "checksVoidReturn": false
208
- }
209
- ],
210
- "promise/catch-or-return": [
211
- "error",
212
- {
213
- "allowFinally": true
214
- }
215
- ],
216
- "vue/html-self-closing": "off",
217
- "@typescript-eslint/explicit-module-boundary-types": ["off"],
218
- "@typescript-eslint/typedef": [
219
- "error",
220
- {
221
- "arrayDestructuring": false,
222
- "arrowParameter": false,
223
- "memberVariableDeclaration": false,
224
- "objectDestructuring": false,
225
- "parameter": true,
226
- "propertyDeclaration": true,
227
- "variableDeclaration": false,
228
- "variableDeclarationIgnoreFunction": true
229
- }
230
- ],
231
- "@typescript-eslint/no-inferrable-types": [
232
- "error",
233
- {
234
- "ignoreParameters": true
235
- }
236
- ],
237
- "vuetify/no-deprecated-classes": "error",
238
- "vuetify/grid-unknown-attributes": "error",
239
- "vuetify/no-deprecated-colors": "off",
240
- "camelcase": "off",
241
- "@typescript-eslint/naming-convention": [
242
- "error",
243
- {
244
- "selector": "default",
245
- "format": ["camelCase", "PascalCase", "UPPER_CASE"],
246
- "leadingUnderscore": "allow",
247
- "filter": {
248
- "regex": "(\\w*-\\w*)|(:\\w*)|(@\\w*)|(\\d)",
249
- "match": false
250
- }
251
- },
252
- {
253
- "selector": "variable",
254
- "format": ["camelCase", "UPPER_CASE", "PascalCase"],
255
- "leadingUnderscore": "allow"
256
- },
257
- {
258
- "selector": "parameter",
259
- "format": ["camelCase", "PascalCase"],
260
- "leadingUnderscore": "allow"
261
- },
262
- {
263
- "selector": "memberLike",
264
- "modifiers": ["public", "private", "static"],
265
- "format": ["camelCase", "UPPER_CASE"],
266
- "leadingUnderscore": "allow"
267
- },
268
- // {
269
- // "selector": "memberLike",
270
- // "modifiers": ["private static"],
271
- // "format": ["camelCase", "UPPER_CASE"],
272
- // "leadingUnderscore": "allow"
273
- // },
274
- {
275
- "selector": "typeLike",
276
- "format": ["PascalCase", "UPPER_CASE"]
277
- }
278
- ],
279
- "@typescript-eslint/no-floating-promises": [
280
- "off",
281
- {
282
- "ignoreVoid": false,
283
- "ignoreIIFE": false
284
- }
285
- ],
286
- "require-await": "off",
287
- "@typescript-eslint/require-await": "error",
288
- "@typescript-eslint/no-shadow": ["error"],
289
- "sonarjs/cognitive-complexity": "off",
290
- "sonarjs/prefer-immediate-return": "error",
291
- "sonarjs/no-duplicate-string": "error",
292
- "@typescript-eslint/restrict-template-expressions": "off",
293
- "@typescript-eslint/restrict-plus-operands": "off",
294
- "@typescript-eslint/no-unsafe-member-access": "off",
295
- "@typescript-eslint/no-unsafe-assignment": "off",
296
- "@typescript-eslint/no-unsafe-call": "off",
297
- "@typescript-eslint/no-unsafe-return": "off"
298
- }
299
- }
package/.yarnrc.yml DELETED
@@ -1 +0,0 @@
1
- nodeLinker: node-modules
package/config/rules.js DELETED
@@ -1,51 +0,0 @@
1
- module.exports = {
2
- rules: [
3
- {
4
- test: /\.vue$/,
5
- use: [
6
- {
7
- loader: 'vue-loader',
8
- options: {
9
- compilerOptions: {
10
- whitespace: 'preserve',
11
- },
12
- hotReload: true
13
- }
14
- }
15
- ]
16
- },
17
- {
18
- test: /\.ts$/,
19
- exclude: /node_modules|\.(spec|e2e|d)\.ts$|vue\/src/,
20
- use: [
21
- {
22
- loader: 'ts-loader',
23
- options: {
24
- appendTsSuffixTo: [/\.vue$/],
25
- transpileOnly: true,
26
- happyPackMode: false,
27
- }
28
- }
29
- ]
30
- },
31
- {
32
- test: /\.(css|scss)$/,
33
- use: [
34
- 'style-loader',
35
- {
36
- loader: 'css-loader',
37
- options: {
38
- importLoaders: 1,
39
- }
40
- },
41
- 'postcss-loader',
42
- {
43
- loader: 'sass-loader',
44
- options: {
45
- implementation: require('node-sass'),
46
- }
47
- }
48
- ],
49
- },
50
- ],
51
- }
@@ -1,122 +0,0 @@
1
- const TerserPlugin = require('terser-webpack-plugin');
2
- const { VueLoaderPlugin } = require('vue-loader');
3
- const CopyWebpackPlugin = require('copy-webpack-plugin');
4
- const DefinePlugin = require('webpack/lib/DefinePlugin');
5
- const path = require('path');
6
- const { rules } = require('./rules');
7
-
8
- module.exports = {
9
- mode: 'production',
10
- entry: {
11
- 'main': path.join(__dirname, '../src/index.ts'),
12
- },
13
- output: {
14
- umdNamedDefine: true,
15
- libraryTarget: 'umd',
16
- library: 'ldm-ui',
17
- filename: 'index.js',
18
- path: path.resolve(__dirname, '../dist'),
19
- },
20
- externals: {
21
- 'vue': 'vue',
22
- 'vue-class-component': 'vue-class-component',
23
- 'vue-property-decorator': 'vue-property-decorator'
24
- },
25
- resolve: {
26
- symlinks: true,
27
- modules: [path.join(__dirname, '../'), 'node_modules'],
28
- extensions: ['*', '.ts', '.js', '.vue', '.html', '.json', '.scss'],
29
- alias: {
30
- 'vue$': 'vue/dist/vue.esm-bundler.js',
31
- '@': 'src',
32
- },
33
- },
34
- module: {
35
- rules
36
- },
37
- optimization: {
38
- minimize: false,
39
- minimizer: [
40
- new TerserPlugin({
41
- exclude: /\/assets\//,
42
- parallel: true,
43
- terserOptions: {
44
- // ecma: 8,
45
- warnings: false,
46
- mangle: true,
47
- output: {
48
- comments: false,
49
- beautify: false,
50
- },
51
- toplevel: true,
52
- nameCache: null,
53
- ie8: false,
54
- keep_classnames: true,
55
- keep_fnames: true,
56
- safari10: false,
57
- // unsafe: true, // new options
58
- // inline: true, // new options
59
- // passes: 2, // new options
60
- // keep_fargs: false, // new options
61
- compress: {
62
- // turn off flags with small gains to speed up minification
63
- arrows: false,
64
- collapse_vars: false, // 0.3kb
65
- comparisons: false,
66
- computed_props: false,
67
- hoist_funs: false,
68
- hoist_props: false,
69
- hoist_vars: false,
70
- inline: false,
71
- loops: false,
72
- negate_iife: false,
73
- properties: false,
74
- reduce_funcs: false,
75
- reduce_vars: false,
76
- switches: false,
77
- toplevel: false,
78
- typeofs: false,
79
-
80
- // a few flags with noticable gains/speed ratio
81
- // numbers based on out of the box vendor bundle
82
- booleans: true, // 0.7kb
83
- if_return: true, // 0.4kb
84
- sequences: true, // 0.7kb
85
- unused: true, // 2.3kb
86
-
87
- // required features to drop conditional branches
88
- conditionals: true,
89
- dead_code: true,
90
- evaluate: true
91
- },
92
- },
93
- }),
94
- ]
95
- },
96
- plugins: [
97
- new VueLoaderPlugin(),
98
- new DefinePlugin({
99
- '$DEV': false,
100
- }),
101
- new CopyWebpackPlugin({
102
- patterns: [
103
- {
104
- from: 'src/index.d.ts',
105
- to: './index.d.ts'
106
- },
107
- {
108
- from: 'src/utils.d.ts',
109
- to: './utils.d.ts'
110
- },
111
- {
112
- from: 'src/css/index.css',
113
- to: './css/index.css'
114
- },
115
- {
116
- from: 'src/scss',
117
- to: './scss'
118
- }
119
- ]
120
- })
121
- ]
122
- }
@@ -1,57 +0,0 @@
1
- const { VueLoaderPlugin } = require('vue-loader');
2
- const HtmlWebpackPlugin = require('html-webpack-plugin');
3
- const DefinePlugin = require('webpack/lib/DefinePlugin');
4
- const CopyWebpackPlugin = require('copy-webpack-plugin');
5
- const path = require('path');
6
- const { rules } = require('./rules');
7
-
8
- module.exports = {
9
- mode: 'development',
10
- entry: {
11
- 'main': './main.ts',
12
- },
13
- module: {
14
- rules,
15
- },
16
- resolve: {
17
- symlinks: true,
18
- modules: [path.join(__dirname, '../'), 'node_modules'],
19
- extensions: ['*', '.ts', '.js', '.vue', '.html', '.json', '.scss', '.css'],
20
- alias: {
21
- 'vue$': 'vue/dist/vue.esm-bundler.js',
22
- '@': 'src',
23
- },
24
- },
25
- plugins: [
26
- new VueLoaderPlugin(),
27
- new HtmlWebpackPlugin({
28
- inject: true,
29
- template: './index.html'
30
- }),
31
- new DefinePlugin({
32
- '$DEV': true,
33
- '__VUE_OPTIONS_API__': true,
34
- '__VUE_PROD_DEVTOOLS__': false,
35
- '__VUE_PROD_HYDRATION_MISMATCH_DETAILS__': false,
36
- }),
37
- new CopyWebpackPlugin({
38
- patterns: [
39
- {
40
- from: 'src/ld-icon/icons',
41
- to: './icons'
42
- },
43
- {
44
- from: 'src/ld-icon/icons.json',
45
- to: './icons.json'
46
- }
47
- ]
48
- }),
49
- ],
50
- devServer: {
51
- https: false,
52
- port: 4000,
53
- host: '0.0.0.0',
54
- historyApiFallback: true,
55
- hot: true,
56
- }
57
- }
package/index.html DELETED
@@ -1,18 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
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
- <title>LDM-UI</title>
10
- </head>
11
- <body>
12
- <noscript>
13
- <!-- <strong>We're sorry but example doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> -->
14
- <strong>Извините, приложение не может работать без включенного JavaScript. Пожалуйста, включите эту возможность!</strong>
15
- </noscript>
16
- <div id="app"></div>
17
- </body>
18
- </html>
package/main.ts DELETED
@@ -1,32 +0,0 @@
1
- import '@/css';
2
- import '@/scss';
3
-
4
- import { createApp } from 'vue';
5
- import App from './src/app.vue';
6
- import ldmui from './src/index';
7
-
8
- async function start() {
9
- const appComponent = createApp(App);
10
- const promise = new Promise(resolve => {
11
- fetch('/icons.json')
12
- .then(res => res.json())
13
- .then(data => {
14
- appComponent.use(ldmui, {
15
- LdIcon: {
16
- path: 'icons',
17
- map: data
18
- }
19
- });
20
- return resolve(true)
21
- })
22
- .catch(e => {
23
- //
24
- })
25
- })
26
-
27
- await promise;
28
-
29
- appComponent.mount('#app');
30
- }
31
-
32
- start()
package/src/app.vue DELETED
@@ -1,15 +0,0 @@
1
- <template>
2
- <div>
3
- <ld-icon color="primary">user</ld-icon>
4
- <div style="position: relative; width: 100%; height: 65px;">
5
- <loader :options="{ transparent: true, global: false }" :visible="true" />
6
- </div>
7
- </div>
8
- </template>
9
- <script>
10
- export default {
11
- data() {
12
- return {}
13
- }
14
- }
15
- </script>
package/src/css/index.css DELETED
@@ -1,86 +0,0 @@
1
- :root {
2
- --primary-d-1: hsla(210, 100%, 18%, 100%);
3
- --primary: hsla(210, 100%, 26%, 100%);
4
- --primary-l-1: hsla(210, 100%, 34%, 100%);
5
- --primary-l-2: hsla(210, 100%, 42%, 100%);
6
- --primary-l-3: hsla(210, 100%, 50%, 100%);
7
- --primary-l-4: hsla(210, 100%, 58%, 100%);
8
- --primary-l-5: hsla(210, 100%, 66%, 100%);
9
- --primary-l-6: hsla(210, 100%, 74%, 100%);
10
- --primary-l-7: hsla(210, 100%, 82%, 100%);
11
- --primary-l-8: hsla(210, 100%, 90%, 100%);
12
-
13
- --dark: hsla(219, 83%, 14%, 100%);
14
- --dark-l-1-09: hsla(219, 83%, 14%, 90%);
15
- --dark-l-2-08: hsla(219, 83%, 14%, 80%);
16
- --dark-l-3-07: hsla(219, 83%, 14%, 70%);
17
- --dark-l-4-06: hsla(219, 83%, 14%, 60%);
18
- --dark-l-5-05: hsla(219, 83%, 14%, 50%);
19
- --dark-l-6-04: hsla(219, 83%, 14%, 40%);
20
- --dark-l-7-03: hsla(219, 83%, 14%, 30%);
21
- --dark-l-8-02: hsla(219, 83%, 14%, 20%);
22
- --dark-l-9-01: hsla(219, 83%, 14%, 10%);
23
-
24
- --secondary-d-4: hsla(204, 100%, 18%, 100%);
25
- --secondary-d-3: hsla(204, 100%, 26%, 100%);
26
- --secondary-d-2: hsla(204, 100%, 34%, 100%);
27
- --secondary-d-1: hsla(204, 100%, 42%, 100%);
28
- --secondary: hsla(204, 100%, 50%, 100%);
29
- --secondary-l-1: hsla(204, 100%, 58%, 100%);
30
- --secondary-l-2: hsla(204, 100%, 66%, 100%);
31
- --secondary-l-3: hsla(204, 100%, 74%, 100%);
32
- --secondary-l-4: hsla(204, 100%, 82%, 100%);
33
- --secondary-l-5: hsla(204, 100%, 90%, 100%);
34
-
35
- --success-d-3: hsla(135, 59%, 17%, 100%);
36
- --success-d-2: hsla(135, 59%, 25%, 100%);
37
- --success-d-1: hsla(135, 59%, 33%, 100%);
38
- --success: hsla(135, 59%, 41%, 100%);
39
- --success-l-1: hsla(135, 59%, 49%, 100%);
40
- --success-l-2: hsla(135, 59%, 57%, 100%);
41
- --success-l-3: hsla(135, 59%, 65%, 100%);
42
- --success-l-4: hsla(135, 59%, 73%, 100%);
43
- --success-l-5: hsla(135, 59%, 81%, 100%);
44
- --success-l-6: hsla(135, 59%, 89%, 100%);
45
-
46
- --error-d-3: hsla(7, 82%, 18%, 100%);
47
- --error-d-2: hsla(7, 82%, 26%, 100%);
48
- --error-d-1: hsla(7, 82%, 34%, 100%);
49
- --error: hsla(7, 82%, 42%, 100%);
50
- --error-l-1: hsla(7, 82%, 50%, 100%);
51
- --error-l-2: hsla(7, 82%, 58%, 100%);
52
- --error-l-3: hsla(7, 82%, 66%, 100%);
53
- --error-l-4: hsla(7, 82%, 74%, 100%);
54
- --error-l-5: hsla(7, 82%, 82%, 100%);
55
- --error-l-6: hsla(7, 82%, 90%, 100%);
56
-
57
- --warning-d-4: hsla(24, 100%, 18%, 100%);
58
- --warning-d-3: hsla(24, 100%, 26%, 100%);
59
- --warning-d-2: hsla(24, 100%, 34%, 100%);
60
- --warning-d-1: hsla(24, 100%, 42%, 100%);
61
- --warning: hsla(24, 100%, 50%, 100%);
62
- --warning-l-1: hsla(24, 100%, 58%, 100%);
63
- --warning-l-2: hsla(24, 100%, 66%, 100%);
64
- --warning-l-3: hsla(24, 100%, 74%, 100%);
65
- --warning-l-4: hsla(24, 100%, 82%, 100%);
66
- --warning-l-5: hsla(24, 100%, 90%, 100%);
67
-
68
- --grey-d-3: hsla(0, 0%, 14%, 100%);
69
- --grey-d-2: hsla(0, 0%, 23%, 100%);
70
- --grey-d-1: hsla(0, 0%, 32%, 100%);
71
- --grey: hsla(0, 0%, 41%, 100%);
72
- --grey-l-1: hsla(0, 0%, 50%, 100%);
73
- --grey-l-2: hsla(0, 0%, 59%, 100%);
74
- --grey-l-3: hsla(0, 0%, 68%, 100%);
75
- --grey-l-4: hsla(0, 0%, 77%, 100%);
76
- --grey-l-5: hsla(0, 0%, 86%, 100%);
77
- --grey-l-6: hsla(0, 0%, 95%, 100%);
78
-
79
- --black: hsla(0, 0%, 0%, 100%);
80
-
81
- --white: hsla(0, 0%, 100%, 100%);
82
-
83
- --text: hsla(0, 0%, 13%, 100%);
84
-
85
- --label: hsla(0, 0%, 47%, 100%);
86
- }
package/src/index.d.ts DELETED
@@ -1 +0,0 @@
1
- declare module '@ldmjs/ui'