neo.mjs 5.18.0 → 6.0.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 (291) hide show
  1. package/apps/ServiceWorker.mjs +2 -2
  2. package/buildScripts/buildThemes.mjs +89 -192
  3. package/buildScripts/createClass.mjs +13 -11
  4. package/buildScripts/watchThemes.mjs +41 -83
  5. package/examples/ServiceWorker.mjs +2 -2
  6. package/examples/form/field/fileupload/server.mjs +1 -1
  7. package/package.json +2 -2
  8. package/resources/scss/src/Global.scss +7 -7
  9. package/resources/scss/src/apps/covid/HeaderContainer.scss +25 -25
  10. package/resources/scss/src/apps/covid/country/Gallery.scss +6 -6
  11. package/resources/scss/src/apps/covid/country/Helix.scss +8 -8
  12. package/resources/scss/src/apps/covid/country/LineChartComponent.scss +2 -2
  13. package/resources/scss/src/apps/docs/ContentTabContainer.scss +3 -3
  14. package/resources/scss/src/apps/docs/HeaderContainer.scss +8 -8
  15. package/resources/scss/src/apps/docs/MainContainer.scss +1 -1
  16. package/resources/scss/src/apps/docs/classdetails/HeaderComponent.scss +1 -1
  17. package/resources/scss/src/apps/docs/classdetails/MembersList.scss +16 -16
  18. package/resources/scss/src/apps/docs/classdetails/TutorialComponent.scss +3 -3
  19. package/resources/scss/src/apps/website/HeaderContainer.scss +9 -9
  20. package/resources/scss/src/apps/website/MainContainer.scss +3 -3
  21. package/resources/scss/src/apps/website/blog/Container.scss +3 -3
  22. package/resources/scss/src/apps/website/blog/List.scss +8 -8
  23. package/resources/scss/src/apps/website/examples/List.scss +7 -7
  24. package/resources/scss/src/apps/website/home/TabContainer.scss +5 -5
  25. package/resources/scss/src/button/Base.scss +101 -101
  26. package/resources/scss/src/button/Split.scss +3 -3
  27. package/resources/scss/src/calendar/view/EditEventContainer.scss +4 -4
  28. package/resources/scss/src/calendar/view/MainContainer.scss +46 -46
  29. package/resources/scss/src/calendar/view/SettingsContainer.scss +3 -3
  30. package/resources/scss/src/calendar/view/YearComponent.scss +13 -13
  31. package/resources/scss/src/calendar/view/calendars/EditContainer.scss +4 -4
  32. package/resources/scss/src/calendar/view/calendars/List.scss +7 -7
  33. package/resources/scss/src/calendar/view/month/Component.scss +15 -13
  34. package/resources/scss/src/calendar/view/week/Component.scss +12 -12
  35. package/resources/scss/src/calendar/view/week/TimeAxisComponent.scss +4 -4
  36. package/resources/scss/src/component/BoxLabel.scss +5 -5
  37. package/resources/scss/src/component/Chip.scss +13 -13
  38. package/resources/scss/src/component/Circle.scss +2 -2
  39. package/resources/scss/src/component/DateSelector.scss +28 -28
  40. package/resources/scss/src/component/Helix.scss +1 -1
  41. package/resources/scss/src/component/Process.scss +17 -17
  42. package/resources/scss/src/component/Progress.scss +2 -2
  43. package/resources/scss/src/component/Splitter.scss +6 -6
  44. package/resources/scss/src/component/StatusBadge.scss +21 -21
  45. package/resources/scss/src/component/Timer.scss +9 -9
  46. package/resources/scss/src/component/Toast.scss +10 -10
  47. package/resources/scss/src/component/Video.scss +5 -5
  48. package/resources/scss/src/container/Accordion.scss +3 -3
  49. package/resources/scss/src/container/AccordionItem.scss +15 -15
  50. package/resources/scss/src/container/Base.scss +3 -3
  51. package/resources/scss/src/container/Panel.scss +4 -4
  52. package/resources/scss/src/container/Viewport.scss +2 -2
  53. package/resources/scss/src/dialog/Base.scss +8 -8
  54. package/resources/scss/src/draggable/list/DragZone.scss +2 -2
  55. package/resources/scss/src/examples/ConfigurationPanel.scss +3 -3
  56. package/resources/scss/src/examples/calendar/basic/MainContainer.scss +2 -2
  57. package/resources/scss/src/examples/treeSelectionModel/MainContainer.scss +6 -6
  58. package/resources/scss/src/form/Fieldset.scss +4 -4
  59. package/resources/scss/src/form/field/CheckBox.scss +10 -10
  60. package/resources/scss/src/form/field/FileUpload.scss +4 -4
  61. package/resources/scss/src/form/field/Number.scss +5 -5
  62. package/resources/scss/src/form/field/Picker.scss +3 -3
  63. package/resources/scss/src/form/field/Range.scss +5 -5
  64. package/resources/scss/src/form/field/Search.scss +1 -1
  65. package/resources/scss/src/form/field/Select.scss +8 -8
  66. package/resources/scss/src/form/field/Switch.scss +6 -6
  67. package/resources/scss/src/form/field/Text.scss +78 -78
  68. package/resources/scss/src/form/field/TextArea.scss +1 -1
  69. package/resources/scss/src/form/field/trigger/Base.scss +6 -6
  70. package/resources/scss/src/form/field/trigger/Clear.scss +2 -2
  71. package/resources/scss/src/form/field/trigger/CopyToClipboard.scss +3 -3
  72. package/resources/scss/src/form/field/trigger/Time.scss +5 -5
  73. package/resources/scss/src/grid/Container.scss +6 -6
  74. package/resources/scss/src/grid/View.scss +11 -11
  75. package/resources/scss/src/grid/header/Button.scss +5 -5
  76. package/resources/scss/src/grid/header/Toolbar.scss +2 -2
  77. package/resources/scss/src/list/Base.scss +11 -11
  78. package/resources/scss/src/list/Chip.scss +3 -3
  79. package/resources/scss/src/list/Circle.scss +2 -2
  80. package/resources/scss/src/menu/List.scss +21 -21
  81. package/resources/scss/src/menu/Panel.scss +1 -1
  82. package/resources/scss/src/sitemap/Component.scss +2 -2
  83. package/resources/scss/src/tab/Container.scss +1 -1
  84. package/resources/scss/src/tab/Strip.scss +7 -7
  85. package/resources/scss/src/tab/header/Button.scss +26 -26
  86. package/resources/scss/src/tab/header/Toolbar.scss +18 -18
  87. package/resources/scss/src/table/Container.scss +16 -16
  88. package/resources/scss/src/table/View.scss +11 -11
  89. package/resources/scss/src/table/header/Button.scss +5 -5
  90. package/resources/scss/src/toolbar/Base.scss +20 -20
  91. package/resources/scss/src/toolbar/Breadcrumb.scss +1 -1
  92. package/resources/scss/src/tree/List.scss +5 -5
  93. package/resources/scss/theme-dark/Global.scss +7 -17
  94. package/resources/scss/theme-dark/apps/covid/HeaderContainer.scss +10 -23
  95. package/resources/scss/theme-dark/apps/covid/country/Gallery.scss +7 -17
  96. package/resources/scss/theme-dark/apps/covid/country/Helix.scss +8 -19
  97. package/resources/scss/theme-dark/apps/covid/country/LineChartComponent.scss +3 -9
  98. package/resources/scss/theme-dark/apps/docs/ContentTabContainer.scss +4 -11
  99. package/resources/scss/theme-dark/apps/docs/HeaderContainer.scss +10 -23
  100. package/resources/scss/theme-dark/apps/docs/MainContainer.scss +3 -9
  101. package/resources/scss/theme-dark/apps/docs/classdetails/HeaderComponent.scss +4 -11
  102. package/resources/scss/theme-dark/apps/docs/classdetails/MembersList.scss +17 -37
  103. package/resources/scss/theme-dark/apps/docs/classdetails/TutorialComponent.scss +4 -11
  104. package/resources/scss/theme-dark/apps/website/HeaderContainer.scss +5 -13
  105. package/resources/scss/theme-dark/apps/website/MainContainer.scss +4 -11
  106. package/resources/scss/theme-dark/apps/website/blog/Container.scss +3 -9
  107. package/resources/scss/theme-dark/apps/website/home/TabContainer.scss +4 -11
  108. package/resources/scss/theme-dark/button/Base.scss +108 -219
  109. package/resources/scss/theme-dark/calendar/view/EditEventContainer.scss +4 -12
  110. package/resources/scss/theme-dark/calendar/view/MainContainer.scss +22 -48
  111. package/resources/scss/theme-dark/calendar/view/SettingsContainer.scss +4 -11
  112. package/resources/scss/theme-dark/calendar/view/YearComponent.scss +10 -23
  113. package/resources/scss/theme-dark/calendar/view/calendars/EditContainer.scss +4 -12
  114. package/resources/scss/theme-dark/calendar/view/calendars/List.scss +2 -8
  115. package/resources/scss/theme-dark/calendar/view/month/Component.scss +9 -22
  116. package/resources/scss/theme-dark/calendar/view/week/Component.scss +12 -28
  117. package/resources/scss/theme-dark/component/BoxLabel.scss +5 -13
  118. package/resources/scss/theme-dark/component/Chip.scss +14 -31
  119. package/resources/scss/theme-dark/component/DateSelector.scss +24 -52
  120. package/resources/scss/theme-dark/component/Process.scss +9 -21
  121. package/resources/scss/theme-dark/component/Progress.scss +3 -9
  122. package/resources/scss/theme-dark/component/Splitter.scss +4 -12
  123. package/resources/scss/theme-dark/component/StatusBadge.scss +19 -41
  124. package/resources/scss/theme-dark/component/Timer.scss +4 -13
  125. package/resources/scss/theme-dark/component/Toast.scss +8 -20
  126. package/resources/scss/theme-dark/component/Video.scss +3 -10
  127. package/resources/scss/theme-dark/container/Accordion.scss +5 -13
  128. package/resources/scss/theme-dark/container/AccordionItem.scss +10 -23
  129. package/resources/scss/theme-dark/container/Base.scss +4 -11
  130. package/resources/scss/theme-dark/container/Panel.scss +5 -13
  131. package/resources/scss/theme-dark/container/Viewport.scss +3 -9
  132. package/resources/scss/theme-dark/dialog/Base.scss +5 -13
  133. package/resources/scss/theme-dark/examples/ConfigurationPanel.scss +3 -9
  134. package/resources/scss/theme-dark/examples/calendar/basic/MainContainer.scss +3 -10
  135. package/resources/scss/theme-dark/form/Fieldset.scss +5 -14
  136. package/resources/scss/theme-dark/form/field/CheckBox.scss +7 -18
  137. package/resources/scss/theme-dark/form/field/FileUpload.scss +11 -26
  138. package/resources/scss/theme-dark/form/field/Picker.scss +5 -13
  139. package/resources/scss/theme-dark/form/field/Range.scss +4 -11
  140. package/resources/scss/theme-dark/form/field/Search.scss +3 -9
  141. package/resources/scss/theme-dark/form/field/Select.scss +8 -20
  142. package/resources/scss/theme-dark/form/field/Switch.scss +6 -16
  143. package/resources/scss/theme-dark/form/field/Text.scss +31 -66
  144. package/resources/scss/theme-dark/form/field/trigger/Base.scss +5 -14
  145. package/resources/scss/theme-dark/form/field/trigger/Time.scss +3 -10
  146. package/resources/scss/theme-dark/grid/Container.scss +6 -16
  147. package/resources/scss/theme-dark/grid/View.scss +12 -28
  148. package/resources/scss/theme-dark/grid/header/Button.scss +5 -14
  149. package/resources/scss/theme-dark/list/Base.scss +11 -26
  150. package/resources/scss/theme-dark/menu/List.scss +20 -44
  151. package/resources/scss/theme-dark/menu/Panel.scss +2 -8
  152. package/resources/scss/theme-dark/tab/Container.scss +3 -9
  153. package/resources/scss/theme-dark/tab/Strip.scss +5 -13
  154. package/resources/scss/theme-dark/tab/header/Button.scss +29 -62
  155. package/resources/scss/theme-dark/table/Container.scss +9 -22
  156. package/resources/scss/theme-dark/table/View.scss +13 -29
  157. package/resources/scss/theme-dark/table/header/Button.scss +6 -16
  158. package/resources/scss/theme-dark/toolbar/Base.scss +4 -11
  159. package/resources/scss/theme-dark/tree/List.scss +4 -11
  160. package/resources/scss/theme-light/Global.scss +7 -17
  161. package/resources/scss/theme-light/apps/covid/HeaderContainer.scss +10 -23
  162. package/resources/scss/theme-light/apps/covid/country/Gallery.scss +7 -17
  163. package/resources/scss/theme-light/apps/covid/country/Helix.scss +8 -19
  164. package/resources/scss/theme-light/apps/covid/country/LineChartComponent.scss +3 -9
  165. package/resources/scss/theme-light/apps/docs/ContentTabContainer.scss +4 -11
  166. package/resources/scss/theme-light/apps/docs/HeaderContainer.scss +10 -23
  167. package/resources/scss/theme-light/apps/docs/MainContainer.scss +3 -9
  168. package/resources/scss/theme-light/apps/docs/classdetails/HeaderComponent.scss +4 -11
  169. package/resources/scss/theme-light/apps/docs/classdetails/MembersList.scss +17 -37
  170. package/resources/scss/theme-light/apps/docs/classdetails/TutorialComponent.scss +4 -11
  171. package/resources/scss/theme-light/apps/website/HeaderContainer.scss +5 -13
  172. package/resources/scss/theme-light/apps/website/MainContainer.scss +4 -11
  173. package/resources/scss/theme-light/apps/website/blog/Container.scss +3 -9
  174. package/resources/scss/theme-light/apps/website/home/TabContainer.scss +4 -11
  175. package/resources/scss/theme-light/button/Base.scss +107 -218
  176. package/resources/scss/theme-light/calendar/view/EditEventContainer.scss +4 -12
  177. package/resources/scss/theme-light/calendar/view/MainContainer.scss +22 -48
  178. package/resources/scss/theme-light/calendar/view/SettingsContainer.scss +3 -11
  179. package/resources/scss/theme-light/calendar/view/YearComponent.scss +10 -23
  180. package/resources/scss/theme-light/calendar/view/calendars/EditContainer.scss +4 -12
  181. package/resources/scss/theme-light/calendar/view/calendars/List.scss +2 -8
  182. package/resources/scss/theme-light/calendar/view/month/Component.scss +10 -23
  183. package/resources/scss/theme-light/calendar/view/week/Component.scss +12 -28
  184. package/resources/scss/theme-light/component/BoxLabel.scss +5 -13
  185. package/resources/scss/theme-light/component/Chip.scss +14 -31
  186. package/resources/scss/theme-light/component/DateSelector.scss +24 -52
  187. package/resources/scss/theme-light/component/Process.scss +9 -21
  188. package/resources/scss/theme-light/component/Progress.scss +3 -9
  189. package/resources/scss/theme-light/component/Splitter.scss +4 -12
  190. package/resources/scss/theme-light/component/StatusBadge.scss +19 -41
  191. package/resources/scss/theme-light/component/Timer.scss +5 -14
  192. package/resources/scss/theme-light/component/Toast.scss +8 -20
  193. package/resources/scss/theme-light/component/Video.scss +3 -10
  194. package/resources/scss/theme-light/container/Accordion.scss +5 -13
  195. package/resources/scss/theme-light/container/AccordionItem.scss +10 -23
  196. package/resources/scss/theme-light/container/Base.scss +4 -11
  197. package/resources/scss/theme-light/container/Panel.scss +5 -13
  198. package/resources/scss/theme-light/container/Viewport.scss +3 -9
  199. package/resources/scss/theme-light/dialog/Base.scss +5 -13
  200. package/resources/scss/theme-light/examples/ConfigurationPanel.scss +3 -9
  201. package/resources/scss/theme-light/examples/calendar/basic/MainContainer.scss +3 -10
  202. package/resources/scss/theme-light/form/Fieldset.scss +5 -14
  203. package/resources/scss/theme-light/form/field/CheckBox.scss +7 -18
  204. package/resources/scss/theme-light/form/field/FileUpload.scss +11 -26
  205. package/resources/scss/theme-light/form/field/Picker.scss +5 -13
  206. package/resources/scss/theme-light/form/field/Range.scss +4 -11
  207. package/resources/scss/theme-light/form/field/Search.scss +3 -9
  208. package/resources/scss/theme-light/form/field/Select.scss +9 -21
  209. package/resources/scss/theme-light/form/field/Switch.scss +6 -16
  210. package/resources/scss/theme-light/form/field/Text.scss +31 -66
  211. package/resources/scss/theme-light/form/field/trigger/Base.scss +5 -14
  212. package/resources/scss/theme-light/form/field/trigger/Time.scss +3 -10
  213. package/resources/scss/theme-light/grid/Container.scss +6 -16
  214. package/resources/scss/theme-light/grid/View.scss +12 -28
  215. package/resources/scss/theme-light/grid/header/Button.scss +5 -14
  216. package/resources/scss/theme-light/list/Base.scss +12 -27
  217. package/resources/scss/theme-light/menu/List.scss +20 -44
  218. package/resources/scss/theme-light/menu/Panel.scss +2 -8
  219. package/resources/scss/theme-light/tab/Container.scss +3 -9
  220. package/resources/scss/theme-light/tab/Strip.scss +5 -13
  221. package/resources/scss/theme-light/tab/header/Button.scss +29 -62
  222. package/resources/scss/theme-light/table/Container.scss +9 -22
  223. package/resources/scss/theme-light/table/View.scss +13 -29
  224. package/resources/scss/theme-light/table/header/Button.scss +6 -16
  225. package/resources/scss/theme-light/toolbar/Base.scss +4 -11
  226. package/resources/scss/theme-light/tree/List.scss +4 -11
  227. package/src/DefaultConfig.mjs +2 -2
  228. package/src/form/field/FileUpload.mjs +9 -0
  229. package/src/main/DomAccess.mjs +2 -2
  230. package/src/main/DomEvents.mjs +50 -12
  231. package/resources/scss/mixins/_all.scss +0 -31
  232. package/resources/scss/theme-dark/_all.scss +0 -15
  233. package/resources/scss/theme-dark/apps/_all.scss +0 -3
  234. package/resources/scss/theme-dark/apps/covid/_all.scss +0 -4
  235. package/resources/scss/theme-dark/apps/docs/ExamplesTreeList.scss +0 -0
  236. package/resources/scss/theme-dark/apps/docs/TutorialsTreeList.scss +0 -0
  237. package/resources/scss/theme-dark/apps/docs/_all.scss +0 -6
  238. package/resources/scss/theme-dark/apps/docs/classdetails/HierarchyTreeList.scss +0 -0
  239. package/resources/scss/theme-dark/apps/docs/classdetails/MainContainer.scss +0 -0
  240. package/resources/scss/theme-dark/apps/docs/classdetails/_all.scss +0 -5
  241. package/resources/scss/theme-dark/apps/website/_all.scss +0 -4
  242. package/resources/scss/theme-dark/button/_all.scss +0 -1
  243. package/resources/scss/theme-dark/calendar/_all.scss +0 -8
  244. package/resources/scss/theme-dark/component/Circle.scss +0 -0
  245. package/resources/scss/theme-dark/component/_all.scss +0 -5
  246. package/resources/scss/theme-dark/container/_all.scss +0 -3
  247. package/resources/scss/theme-dark/dialog/_all.scss +0 -1
  248. package/resources/scss/theme-dark/examples/_all.scss +0 -2
  249. package/resources/scss/theme-dark/form/_all.scss +0 -9
  250. package/resources/scss/theme-dark/form/field/trigger/Clear.scss +0 -0
  251. package/resources/scss/theme-dark/form/field/trigger/_all.scss +0 -3
  252. package/resources/scss/theme-dark/grid/_all.scss +0 -3
  253. package/resources/scss/theme-dark/grid/header/Toolbar.scss +0 -0
  254. package/resources/scss/theme-dark/grid/header/_all.scss +0 -2
  255. package/resources/scss/theme-dark/list/_all.scss +0 -1
  256. package/resources/scss/theme-dark/menu/_all.scss +0 -2
  257. package/resources/scss/theme-dark/tab/_all.scss +0 -3
  258. package/resources/scss/theme-dark/table/_all.scss +0 -3
  259. package/resources/scss/theme-dark/table/header/Toolbar.scss +0 -0
  260. package/resources/scss/theme-dark/table/header/_all.scss +0 -2
  261. package/resources/scss/theme-dark/tree/_all.scss +0 -1
  262. package/resources/scss/theme-light/_all.scss +0 -15
  263. package/resources/scss/theme-light/apps/_all.scss +0 -3
  264. package/resources/scss/theme-light/apps/covid/_all.scss +0 -4
  265. package/resources/scss/theme-light/apps/docs/ExamplesTreeList.scss +0 -0
  266. package/resources/scss/theme-light/apps/docs/TutorialsTreeList.scss +0 -0
  267. package/resources/scss/theme-light/apps/docs/_all.scss +0 -6
  268. package/resources/scss/theme-light/apps/docs/classdetails/HierarchyTreeList.scss +0 -0
  269. package/resources/scss/theme-light/apps/docs/classdetails/MainContainer.scss +0 -0
  270. package/resources/scss/theme-light/apps/docs/classdetails/_all.scss +0 -5
  271. package/resources/scss/theme-light/apps/website/_all.scss +0 -4
  272. package/resources/scss/theme-light/button/_all.scss +0 -1
  273. package/resources/scss/theme-light/calendar/_all.scss +0 -8
  274. package/resources/scss/theme-light/component/Circle.scss +0 -0
  275. package/resources/scss/theme-light/component/_all.scss +0 -5
  276. package/resources/scss/theme-light/container/_all.scss +0 -3
  277. package/resources/scss/theme-light/dialog/_all.scss +0 -1
  278. package/resources/scss/theme-light/examples/_all.scss +0 -2
  279. package/resources/scss/theme-light/form/_all.scss +0 -9
  280. package/resources/scss/theme-light/form/field/trigger/Clear.scss +0 -0
  281. package/resources/scss/theme-light/form/field/trigger/_all.scss +0 -3
  282. package/resources/scss/theme-light/grid/_all.scss +0 -3
  283. package/resources/scss/theme-light/grid/header/Toolbar.scss +0 -0
  284. package/resources/scss/theme-light/grid/header/_all.scss +0 -2
  285. package/resources/scss/theme-light/list/_all.scss +0 -1
  286. package/resources/scss/theme-light/menu/_all.scss +0 -2
  287. package/resources/scss/theme-light/tab/_all.scss +0 -3
  288. package/resources/scss/theme-light/table/_all.scss +0 -3
  289. package/resources/scss/theme-light/table/header/Toolbar.scss +0 -0
  290. package/resources/scss/theme-light/table/header/_all.scss +0 -2
  291. package/resources/scss/theme-light/tree/_all.scss +0 -1
@@ -1,29 +1,13 @@
1
- $neoMap: map-merge($neoMap, (
2
- 'table-cell-background-color-hover' : lighten(#33343d, 70%),
3
- 'table-cellmodel-selected-cell-background-color' : lighten(#64B5F6, 22%),
4
- 'table-cellmodel-selected-cell-color' : #2b2b2b,
5
- 'table-cellmodel-selected-column-cell-background-color': lighten(#4f558a, 52%),
6
- 'table-cellmodel-selected-column-cell-color' : #2b2b2b,
7
- 'table-cellrowmodel-selected-cell-background-color' : lighten(#64B5F6, 22%),
8
- 'table-cellrowmodel-selected-cell-color' : #2b2b2b,
9
- 'table-cellrowmodel-selected-row-cell-background-color': lighten(#4f558a, 52%),
10
- 'table-cellrowmodel-selected-row-cell-color' : #2b2b2b,
11
- 'table-rowmodel-selected-cell-background-color' : lighten(#64B5F6, 22%),
12
- 'table-rowmodel-selected-cell-color' : #2b2b2b
13
- ));
14
-
15
- @if $useCssVars == true {
16
- :root .neo-theme-light { // .neo-table-view
17
- --table-cell-background-color-hover : #{neo(table-cell-background-color-hover)};
18
- --table-cellmodel-selected-cell-background-color : #{neo(table-cellmodel-selected-cell-background-color)};
19
- --table-cellmodel-selected-cell-color : #{neo(table-cellmodel-selected-cell-color)};
20
- --table-cellmodel-selected-column-cell-background-color: #{neo(table-cellmodel-selected-column-cell-background-color)};
21
- --table-cellmodel-selected-column-cell-color : #{neo(table-cellmodel-selected-column-cell-color)};
22
- --table-cellrowmodel-selected-cell-background-color : #{neo(table-cellrowmodel-selected-cell-background-color)};
23
- --table-cellrowmodel-selected-cell-color : #{neo(table-cellrowmodel-selected-cell-color)};
24
- --table-cellrowmodel-selected-row-cell-background-color: #{neo(table-cellrowmodel-selected-row-cell-background-color)};
25
- --table-cellrowmodel-selected-row-cell-color : #{neo(table-cellrowmodel-selected-row-cell-color)};
26
- --table-rowmodel-selected-cell-background-color : #{neo(table-rowmodel-selected-cell-background-color)};
27
- --table-rowmodel-selected-cell-color : #{neo(table-rowmodel-selected-cell-color)};
28
- }
29
- }
1
+ :root .neo-theme-light { // .neo-table-view
2
+ --table-cell-background-color-hover : #{lighten(#33343d, 70%)};
3
+ --table-cellmodel-selected-cell-background-color : #{lighten(#64B5F6, 22%)};
4
+ --table-cellmodel-selected-cell-color : #2b2b2b;
5
+ --table-cellmodel-selected-column-cell-background-color: #{lighten(#4f558a, 52%)};
6
+ --table-cellmodel-selected-column-cell-color : #2b2b2b;
7
+ --table-cellrowmodel-selected-cell-background-color : #{lighten(#64B5F6, 22%)};
8
+ --table-cellrowmodel-selected-cell-color : #2b2b2b;
9
+ --table-cellrowmodel-selected-row-cell-background-color: #{lighten(#4f558a, 52%)};
10
+ --table-cellrowmodel-selected-row-cell-color : #2b2b2b;
11
+ --table-rowmodel-selected-cell-background-color : #{lighten(#64B5F6, 22%)};
12
+ --table-rowmodel-selected-cell-color : #2b2b2b;
13
+ }
@@ -1,17 +1,7 @@
1
- $neoMap: map-merge($neoMap, (
2
- 'table-header-button-background-color' : #5d83a7,
3
- 'table-header-button-background-image' : none,
4
- 'table-header-button-color' : #fff,
5
- 'table-header-button-glyph-color' : #fff,
6
- 'table-header-button-ripple-background-color': darken(#5d83a7, 10%),
7
- ));
8
-
9
- @if $useCssVars == true {
10
- :root .neo-theme-light { // .neo-table-header-button
11
- --table-header-button-background-color : #{neo(table-header-button-background-color)};
12
- --table-header-button-background-image : #{neo(table-header-button-background-image)};
13
- --table-header-button-color : #{neo(table-header-button-color)};
14
- --table-header-button-glyph-color : #{neo(table-header-button-glyph-color)};
15
- --table-header-button-ripple-background-color: #{neo(table-header-button-ripple-background-color)};
16
- }
1
+ :root .neo-theme-light { // .neo-table-header-button
2
+ --table-header-button-background-color : #5d83a7;
3
+ --table-header-button-background-image : none;
4
+ --table-header-button-color : #fff;
5
+ --table-header-button-glyph-color : #fff;
6
+ --table-header-button-ripple-background-color: #{darken(#5d83a7, 10%)};
17
7
  }
@@ -1,11 +1,4 @@
1
- $neoMap: map-merge($neoMap, (
2
- 'toolbar-background-color': #fff,
3
- 'toolbar-padding' : 5px
4
- ));
5
-
6
- @if $useCssVars == true {
7
- :root .neo-theme-light { // .neo-toolbar
8
- --toolbar-background-color: #{neo(toolbar-background-color)};
9
- --toolbar-padding : #{neo(toolbar-padding)};
10
- }
11
- }
1
+ :root .neo-theme-light { // .neo-toolbar
2
+ --toolbar-background-color: #fff;
3
+ --toolbar-padding : 5px;
4
+ }
@@ -1,11 +1,4 @@
1
- $neoMap: map-merge($neoMap, (
2
- 'tree-list-color' : #666,
3
- 'tree-list-menu-item-color': #1c60a0
4
- ));
5
-
6
- @if $useCssVars == true {
7
- :root .neo-theme-light { // .neo-tree-list
8
- --tree-list-color : #{neo(tree-list-color)};
9
- --tree-list-menu-item-color: #{neo(tree-list-menu-item-color)};
10
- }
11
- }
1
+ :root .neo-theme-light { // .neo-tree-list
2
+ --tree-list-color : #666;
3
+ --tree-list-menu-item-color: #1c60a0;
4
+ }
@@ -245,12 +245,12 @@ const DefaultConfig = {
245
245
  useVdomWorker: true,
246
246
  /**
247
247
  * buildScripts/injectPackageVersion.mjs will update this value
248
- * @default '5.18.0'
248
+ * @default '6.0.0'
249
249
  * @memberOf! module:Neo
250
250
  * @name config.version
251
251
  * @type String
252
252
  */
253
- version: '5.18.0'
253
+ version: '6.0.0'
254
254
  };
255
255
 
256
256
  Object.assign(DefaultConfig, {
@@ -281,6 +281,14 @@ class FileUpload extends Base {
281
281
  */
282
282
  documentDeleteUrl_ : null,
283
283
 
284
+ /**
285
+ * The HTTP method to use when requesting a document deletion using the {@link #member-documentDeleteUrl}.
286
+ *
287
+ * Defaults to `DELETE`.
288
+ * @member {String} documentDeleteMethod
289
+ */
290
+ documentDeleteMethod : 'DELETE',
291
+
284
292
  /**
285
293
  * @member {String} state_=null
286
294
  */
@@ -545,6 +553,7 @@ class FileUpload extends Base {
545
553
 
546
554
  // We ask the server to delete using our this.documentId
547
555
  const statusResponse = await fetch(me.documentDeleteUrl, {
556
+ method : me.documentDeleteMethod,
548
557
  headers
549
558
  });
550
559
 
@@ -509,8 +509,8 @@ class DomAccess extends Base {
509
509
  */
510
510
  selectNode(data) {
511
511
  let node = this.getElement(data.id),
512
- start = Neo.isNumber(data.start) || 0,
513
- end = Neo.isNumber(data.end) || 99999;
512
+ start = Neo.isNumber(data.start) ? data.start : 0,
513
+ end = Neo.isNumber(data.end) ? data.end : 99999;
514
514
 
515
515
  if (node) {
516
516
  node.select();
@@ -118,6 +118,7 @@ class DomEvents extends Base {
118
118
 
119
119
  let me = this;
120
120
 
121
+ document.addEventListener('selectionchange', me.onSelectionChange .bind(me));
121
122
  document.addEventListener('DOMContentLoaded', me.onDomContentLoaded.bind(me));
122
123
  window .addEventListener('hashchange', me.onHashChange .bind(me));
123
124
 
@@ -331,6 +332,16 @@ class DomEvents extends Base {
331
332
  return path
332
333
  }
333
334
 
335
+ getSelectionPath(path, target) {
336
+ if (target.parentNode && target.id.split('__').length > 1) {
337
+ path = this.getSelectionPath(path, target.parentNode);
338
+ }
339
+
340
+ path.push(this.getTargetData(target));
341
+
342
+ return path;
343
+ }
344
+
334
345
  /**
335
346
  * @param {Object} node
336
347
  * @returns {Object}
@@ -388,7 +399,7 @@ class DomEvents extends Base {
388
399
  let manager = Neo.worker.Manager;
389
400
 
390
401
  manager.appNames.forEach(appName => {
391
- manager.broadcast({action : 'disconnect', appName})
402
+ manager.broadcast({action: 'disconnect', appName})
392
403
  })
393
404
  }
394
405
 
@@ -401,11 +412,11 @@ class DomEvents extends Base {
401
412
  tagName = target.tagName,
402
413
  value = target.value,
403
414
 
404
- data = {
405
- ...me.getEventData(event),
406
- valid: target.checkValidity(),
407
- value: tagName === 'INPUT' ? StringUtil.escapeHtml(value) : tagName === 'TEXTAREA' ? me.stripHtml(value) : value
408
- };
415
+ data = {
416
+ ...me.getEventData(event),
417
+ valid: target.checkValidity(),
418
+ value: tagName === 'INPUT' ? StringUtil.escapeHtml(value) : tagName === 'TEXTAREA' ? me.stripHtml(value) : value
419
+ };
409
420
 
410
421
  // input and change events can pass a FileList for input type file
411
422
  if (target.files) {
@@ -489,8 +500,8 @@ class DomEvents extends Base {
489
500
  manager.sendMessage('app', {
490
501
  action: 'hashChange',
491
502
  data : {
492
- appNames : manager.appNames,
493
- hash : this.parseHash(hashString),
503
+ appNames: manager.appNames,
504
+ hash : this.parseHash(hashString),
494
505
  hashString
495
506
  }
496
507
  })
@@ -575,6 +586,33 @@ class DomEvents extends Base {
575
586
  })
576
587
  }
577
588
 
589
+ /**
590
+ * @param {Object} event
591
+ */
592
+ onSelectionChange(event) {
593
+ const me = this,
594
+ target = event.target.activeElement;
595
+
596
+ if (target.tagName === 'BODY') return;
597
+
598
+
599
+ const targetData = me.getTargetData(target),
600
+ path = me.getSelectionPath([], target),
601
+ outputEvent = {
602
+ selection: {
603
+ start : target.selectionStart,
604
+ end : target.selectionEnd,
605
+ direction: target.selectionDirection
606
+ },
607
+ path : path,
608
+ target : targetData,
609
+ timeStamp: event.timeStamp,
610
+ type : "selectionchange"
611
+ };
612
+
613
+ me.sendMessageToApp(outputEvent);
614
+ }
615
+
578
616
  /**
579
617
  * @param {Object} event
580
618
  */
@@ -599,7 +637,7 @@ class DomEvents extends Base {
599
637
  }
600
638
  }
601
639
 
602
- if (!preventUpdate) {
640
+ if (!preventUpdate) {
603
641
  let {deltaX, deltaY, deltaZ} = event;
604
642
 
605
643
  this.sendMessageToApp({
@@ -659,7 +697,7 @@ class DomEvents extends Base {
659
697
  parts.push('')
660
698
  }
661
699
 
662
- key = decodeURIComponent(parts[0]);
700
+ key = decodeURIComponent(parts[0]);
663
701
  value = decodeURIComponent(parts[1]);
664
702
 
665
703
  if (key.indexOf('[]') !== -1) {
@@ -770,10 +808,10 @@ class DomEvents extends Base {
770
808
  for (; i < len; i++) {
771
809
  node = path[i];
772
810
 
773
- for (j=0; j < countTargets; j++) {
811
+ for (j = 0; j < countTargets; j++) {
774
812
  if (node.classList?.contains(targetArray[j])) {
775
813
  return {
776
- cls : targetArray[j],
814
+ cls: targetArray[j],
777
815
  node
778
816
  };
779
817
  }
@@ -1,31 +0,0 @@
1
- @function neo($key) {
2
- @return map-get($neoMap, $key);
3
- }
4
-
5
- @function calcVar($name, $operator, $value) {
6
- @if($useCssVars) {
7
- @if ($operator == '+') {@return calc(#{v(#{$name})} + #{$value});}
8
- @else if ($operator == '-') {@return calc(#{v(#{$name})} - #{$value});}
9
- @else if ($operator == '*') {@return calc(#{v(#{$name})} * #{$value});}
10
- @else if ($operator == '/') {@return calc(#{v(#{$name})} / #{$value});}
11
- } @else {
12
- $var: neo($name);
13
-
14
- @if ($operator == '+') {@return calc(#{$var} + #{$value});}
15
- @else if ($operator == '-') {@return calc(#{$var} - #{$value});}
16
- @else if ($operator == '*') {@return calc(#{$var} * #{$value});}
17
- @else if ($operator == '/') {@return calc(#{$var} / #{$value});}
18
- }
19
- }
20
-
21
- @function v($name, $fallback: null) {
22
- @if($useCssVars) {
23
- @if($fallback) {
24
- @return var(--#{$name}, #{$fallback});
25
- } @else {
26
- @return var(--#{$name});
27
- }
28
- } @else {
29
- @return #{neo($name)};
30
- }
31
- }
@@ -1,15 +0,0 @@
1
- @import "Global";
2
-
3
- @import "apps/all";
4
- @import "button/all";
5
- @import "calendar/all";
6
- @import "component/all";
7
- @import "dialog/all";
8
- @import "container/all";
9
- @import "examples/all";
10
- @import "form/all";
11
- @import "list/all";
12
- @import "menu/all";
13
- @import "tab/all";
14
- @import "table/all";
15
- @import "tree/all";
@@ -1,3 +0,0 @@
1
- @import "covid/all";
2
- @import "docs/all";
3
- @import "website/all";
@@ -1,4 +0,0 @@
1
- @import "country/Gallery";
2
- @import "country/Helix";
3
- @import "country/LineChartComponent";
4
- @import "HeaderContainer";
@@ -1,6 +0,0 @@
1
- @import "classdetails/all";
2
- @import "ContentTabContainer";
3
- @import "ExamplesTreeList";
4
- @import "HeaderContainer";
5
- @import "MainContainer";
6
- @import "TutorialsTreeList";
@@ -1,5 +0,0 @@
1
- @import "HeaderComponent";
2
- @import "HierarchyTreeList";
3
- @import "MainContainer";
4
- @import "MembersList";
5
- @import "TutorialComponent";
@@ -1,4 +0,0 @@
1
- @import "blog/Container";
2
- @import "home/TabContainer";
3
- @import "HeaderContainer";
4
- @import "MainContainer";
@@ -1 +0,0 @@
1
- @import "Base";
@@ -1,8 +0,0 @@
1
- @import "view/calendars/EditContainer";
2
- @import "view/calendars/List";
3
- @import "view/month/Component";
4
- @import "view/week/Component";
5
- @import "view/EditEventContainer";
6
- @import "view/MainContainer";
7
- @import "view/SettingsContainer";
8
- @import "view/YearComponent";
File without changes
@@ -1,5 +0,0 @@
1
- @import "BoxLabel";
2
- @import "Chip";
3
- @import "Circle";
4
- @import "DateSelector";
5
- @import "Splitter";
@@ -1,3 +0,0 @@
1
- @import "Base";
2
- @import "Panel";
3
- @import "Viewport";
@@ -1 +0,0 @@
1
- @import "Base";
@@ -1,2 +0,0 @@
1
- @import "calendar/basic/MainContainer";
2
- @import "ConfigurationPanel";
@@ -1,9 +0,0 @@
1
- @import "field/trigger/all";
2
- @import "field/CheckBox";
3
- @import "field/Picker";
4
- @import "field/Range";
5
- @import "field/Search";
6
- @import "field/Select";
7
- @import "field/Text";
8
-
9
- @import "Fieldset";
@@ -1,3 +0,0 @@
1
- @import "Base";
2
- @import "Clear";
3
- @import "Time";
@@ -1,3 +0,0 @@
1
- @import "header/all";
2
- @import "Container";
3
- @import "View";
@@ -1,2 +0,0 @@
1
- @import "Button";
2
- @import "Toolbar";
@@ -1 +0,0 @@
1
- @import "Base";
@@ -1,2 +0,0 @@
1
- @import "List";
2
- @import "Panel";
@@ -1,3 +0,0 @@
1
- @import "Container";
2
- @import "header/Button";
3
- @import "Strip";
@@ -1,3 +0,0 @@
1
- @import "header/all";
2
- @import "Container";
3
- @import "View";
@@ -1,2 +0,0 @@
1
- @import "Button";
2
- @import "Toolbar";
@@ -1 +0,0 @@
1
- @import "List";
@@ -1,15 +0,0 @@
1
- @import "Global";
2
-
3
- @import "apps/all";
4
- @import "button/all";
5
- @import "calendar/all";
6
- @import "component/all";
7
- @import "container/all";
8
- @import "dialog/all";
9
- @import "examples/all";
10
- @import "form/all";
11
- @import "list/all";
12
- @import "menu/all";
13
- @import "tab/all";
14
- @import "table/all";
15
- @import "tree/all";
@@ -1,3 +0,0 @@
1
- @import "covid/all";
2
- @import "docs/all";
3
- @import "website/all";
@@ -1,4 +0,0 @@
1
- @import "country/Gallery";
2
- @import "country/Helix";
3
- @import "country/LineChartComponent";
4
- @import "HeaderContainer";
@@ -1,6 +0,0 @@
1
- @import "classdetails/all";
2
- @import "ContentTabContainer";
3
- @import "ExamplesTreeList";
4
- @import "HeaderContainer";
5
- @import "MainContainer";
6
- @import "TutorialsTreeList";
@@ -1,5 +0,0 @@
1
- @import "HeaderComponent";
2
- @import "HierarchyTreeList";
3
- @import "MainContainer";
4
- @import "MembersList";
5
- @import "TutorialComponent";
@@ -1,4 +0,0 @@
1
- @import "blog/Container";
2
- @import "home/TabContainer";
3
- @import "HeaderContainer";
4
- @import "MainContainer";
@@ -1 +0,0 @@
1
- @import "Base";
@@ -1,8 +0,0 @@
1
- @import "view/calendars/EditContainer";
2
- @import "view/calendars/List";
3
- @import "view/month/Component";
4
- @import "view/week/Component";
5
- @import "view/EditEventContainer";
6
- @import "view/MainContainer";
7
- @import "view/SettingsContainer";
8
- @import "view/YearComponent";
File without changes
@@ -1,5 +0,0 @@
1
- @import "BoxLabel";
2
- @import "Chip";
3
- @import "Circle";
4
- @import "DateSelector";
5
- @import "Splitter";
@@ -1,3 +0,0 @@
1
- @import "Base";
2
- @import "Panel";
3
- @import "Viewport";
@@ -1 +0,0 @@
1
- @import "Base";
@@ -1,2 +0,0 @@
1
- @import "calendar/basic/MainContainer";
2
- @import "ConfigurationPanel";
@@ -1,9 +0,0 @@
1
- @import "field/trigger/all";
2
- @import "field/CheckBox";
3
- @import "field/Picker";
4
- @import "field/Range";
5
- @import "field/Search";
6
- @import "field/Select";
7
- @import "field/Text";
8
-
9
- @import "Fieldset";
@@ -1,3 +0,0 @@
1
- @import "Base";
2
- @import "Clear";
3
- @import "Time";
@@ -1,3 +0,0 @@
1
- @import "header/all";
2
- @import "Container";
3
- @import "View";
@@ -1,2 +0,0 @@
1
- @import "Button";
2
- @import "Toolbar";
@@ -1 +0,0 @@
1
- @import "Base";
@@ -1,2 +0,0 @@
1
- @import "List";
2
- @import "Panel";
@@ -1,3 +0,0 @@
1
- @import "Container";
2
- @import "header/Button";
3
- @import "Strip";
@@ -1,3 +0,0 @@
1
- @import "header/all";
2
- @import "Container";
3
- @import "View";
@@ -1,2 +0,0 @@
1
- @import "Button";
2
- @import "Toolbar";
@@ -1 +0,0 @@
1
- @import "List";