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.
- package/apps/ServiceWorker.mjs +2 -2
- package/buildScripts/buildThemes.mjs +89 -192
- package/buildScripts/createClass.mjs +13 -11
- package/buildScripts/watchThemes.mjs +41 -83
- package/examples/ServiceWorker.mjs +2 -2
- package/examples/form/field/fileupload/server.mjs +1 -1
- package/package.json +2 -2
- package/resources/scss/src/Global.scss +7 -7
- package/resources/scss/src/apps/covid/HeaderContainer.scss +25 -25
- package/resources/scss/src/apps/covid/country/Gallery.scss +6 -6
- package/resources/scss/src/apps/covid/country/Helix.scss +8 -8
- package/resources/scss/src/apps/covid/country/LineChartComponent.scss +2 -2
- package/resources/scss/src/apps/docs/ContentTabContainer.scss +3 -3
- package/resources/scss/src/apps/docs/HeaderContainer.scss +8 -8
- package/resources/scss/src/apps/docs/MainContainer.scss +1 -1
- package/resources/scss/src/apps/docs/classdetails/HeaderComponent.scss +1 -1
- package/resources/scss/src/apps/docs/classdetails/MembersList.scss +16 -16
- package/resources/scss/src/apps/docs/classdetails/TutorialComponent.scss +3 -3
- package/resources/scss/src/apps/website/HeaderContainer.scss +9 -9
- package/resources/scss/src/apps/website/MainContainer.scss +3 -3
- package/resources/scss/src/apps/website/blog/Container.scss +3 -3
- package/resources/scss/src/apps/website/blog/List.scss +8 -8
- package/resources/scss/src/apps/website/examples/List.scss +7 -7
- package/resources/scss/src/apps/website/home/TabContainer.scss +5 -5
- package/resources/scss/src/button/Base.scss +101 -101
- package/resources/scss/src/button/Split.scss +3 -3
- package/resources/scss/src/calendar/view/EditEventContainer.scss +4 -4
- package/resources/scss/src/calendar/view/MainContainer.scss +46 -46
- package/resources/scss/src/calendar/view/SettingsContainer.scss +3 -3
- package/resources/scss/src/calendar/view/YearComponent.scss +13 -13
- package/resources/scss/src/calendar/view/calendars/EditContainer.scss +4 -4
- package/resources/scss/src/calendar/view/calendars/List.scss +7 -7
- package/resources/scss/src/calendar/view/month/Component.scss +15 -13
- package/resources/scss/src/calendar/view/week/Component.scss +12 -12
- package/resources/scss/src/calendar/view/week/TimeAxisComponent.scss +4 -4
- package/resources/scss/src/component/BoxLabel.scss +5 -5
- package/resources/scss/src/component/Chip.scss +13 -13
- package/resources/scss/src/component/Circle.scss +2 -2
- package/resources/scss/src/component/DateSelector.scss +28 -28
- package/resources/scss/src/component/Helix.scss +1 -1
- package/resources/scss/src/component/Process.scss +17 -17
- package/resources/scss/src/component/Progress.scss +2 -2
- package/resources/scss/src/component/Splitter.scss +6 -6
- package/resources/scss/src/component/StatusBadge.scss +21 -21
- package/resources/scss/src/component/Timer.scss +9 -9
- package/resources/scss/src/component/Toast.scss +10 -10
- package/resources/scss/src/component/Video.scss +5 -5
- package/resources/scss/src/container/Accordion.scss +3 -3
- package/resources/scss/src/container/AccordionItem.scss +15 -15
- package/resources/scss/src/container/Base.scss +3 -3
- package/resources/scss/src/container/Panel.scss +4 -4
- package/resources/scss/src/container/Viewport.scss +2 -2
- package/resources/scss/src/dialog/Base.scss +8 -8
- package/resources/scss/src/draggable/list/DragZone.scss +2 -2
- package/resources/scss/src/examples/ConfigurationPanel.scss +3 -3
- package/resources/scss/src/examples/calendar/basic/MainContainer.scss +2 -2
- package/resources/scss/src/examples/treeSelectionModel/MainContainer.scss +6 -6
- package/resources/scss/src/form/Fieldset.scss +4 -4
- package/resources/scss/src/form/field/CheckBox.scss +10 -10
- package/resources/scss/src/form/field/FileUpload.scss +4 -4
- package/resources/scss/src/form/field/Number.scss +5 -5
- package/resources/scss/src/form/field/Picker.scss +3 -3
- package/resources/scss/src/form/field/Range.scss +5 -5
- package/resources/scss/src/form/field/Search.scss +1 -1
- package/resources/scss/src/form/field/Select.scss +8 -8
- package/resources/scss/src/form/field/Switch.scss +6 -6
- package/resources/scss/src/form/field/Text.scss +78 -78
- package/resources/scss/src/form/field/TextArea.scss +1 -1
- package/resources/scss/src/form/field/trigger/Base.scss +6 -6
- package/resources/scss/src/form/field/trigger/Clear.scss +2 -2
- package/resources/scss/src/form/field/trigger/CopyToClipboard.scss +3 -3
- package/resources/scss/src/form/field/trigger/Time.scss +5 -5
- package/resources/scss/src/grid/Container.scss +6 -6
- package/resources/scss/src/grid/View.scss +11 -11
- package/resources/scss/src/grid/header/Button.scss +5 -5
- package/resources/scss/src/grid/header/Toolbar.scss +2 -2
- package/resources/scss/src/list/Base.scss +11 -11
- package/resources/scss/src/list/Chip.scss +3 -3
- package/resources/scss/src/list/Circle.scss +2 -2
- package/resources/scss/src/menu/List.scss +21 -21
- package/resources/scss/src/menu/Panel.scss +1 -1
- package/resources/scss/src/sitemap/Component.scss +2 -2
- package/resources/scss/src/tab/Container.scss +1 -1
- package/resources/scss/src/tab/Strip.scss +7 -7
- package/resources/scss/src/tab/header/Button.scss +26 -26
- package/resources/scss/src/tab/header/Toolbar.scss +18 -18
- package/resources/scss/src/table/Container.scss +16 -16
- package/resources/scss/src/table/View.scss +11 -11
- package/resources/scss/src/table/header/Button.scss +5 -5
- package/resources/scss/src/toolbar/Base.scss +20 -20
- package/resources/scss/src/toolbar/Breadcrumb.scss +1 -1
- package/resources/scss/src/tree/List.scss +5 -5
- package/resources/scss/theme-dark/Global.scss +7 -17
- package/resources/scss/theme-dark/apps/covid/HeaderContainer.scss +10 -23
- package/resources/scss/theme-dark/apps/covid/country/Gallery.scss +7 -17
- package/resources/scss/theme-dark/apps/covid/country/Helix.scss +8 -19
- package/resources/scss/theme-dark/apps/covid/country/LineChartComponent.scss +3 -9
- package/resources/scss/theme-dark/apps/docs/ContentTabContainer.scss +4 -11
- package/resources/scss/theme-dark/apps/docs/HeaderContainer.scss +10 -23
- package/resources/scss/theme-dark/apps/docs/MainContainer.scss +3 -9
- package/resources/scss/theme-dark/apps/docs/classdetails/HeaderComponent.scss +4 -11
- package/resources/scss/theme-dark/apps/docs/classdetails/MembersList.scss +17 -37
- package/resources/scss/theme-dark/apps/docs/classdetails/TutorialComponent.scss +4 -11
- package/resources/scss/theme-dark/apps/website/HeaderContainer.scss +5 -13
- package/resources/scss/theme-dark/apps/website/MainContainer.scss +4 -11
- package/resources/scss/theme-dark/apps/website/blog/Container.scss +3 -9
- package/resources/scss/theme-dark/apps/website/home/TabContainer.scss +4 -11
- package/resources/scss/theme-dark/button/Base.scss +108 -219
- package/resources/scss/theme-dark/calendar/view/EditEventContainer.scss +4 -12
- package/resources/scss/theme-dark/calendar/view/MainContainer.scss +22 -48
- package/resources/scss/theme-dark/calendar/view/SettingsContainer.scss +4 -11
- package/resources/scss/theme-dark/calendar/view/YearComponent.scss +10 -23
- package/resources/scss/theme-dark/calendar/view/calendars/EditContainer.scss +4 -12
- package/resources/scss/theme-dark/calendar/view/calendars/List.scss +2 -8
- package/resources/scss/theme-dark/calendar/view/month/Component.scss +9 -22
- package/resources/scss/theme-dark/calendar/view/week/Component.scss +12 -28
- package/resources/scss/theme-dark/component/BoxLabel.scss +5 -13
- package/resources/scss/theme-dark/component/Chip.scss +14 -31
- package/resources/scss/theme-dark/component/DateSelector.scss +24 -52
- package/resources/scss/theme-dark/component/Process.scss +9 -21
- package/resources/scss/theme-dark/component/Progress.scss +3 -9
- package/resources/scss/theme-dark/component/Splitter.scss +4 -12
- package/resources/scss/theme-dark/component/StatusBadge.scss +19 -41
- package/resources/scss/theme-dark/component/Timer.scss +4 -13
- package/resources/scss/theme-dark/component/Toast.scss +8 -20
- package/resources/scss/theme-dark/component/Video.scss +3 -10
- package/resources/scss/theme-dark/container/Accordion.scss +5 -13
- package/resources/scss/theme-dark/container/AccordionItem.scss +10 -23
- package/resources/scss/theme-dark/container/Base.scss +4 -11
- package/resources/scss/theme-dark/container/Panel.scss +5 -13
- package/resources/scss/theme-dark/container/Viewport.scss +3 -9
- package/resources/scss/theme-dark/dialog/Base.scss +5 -13
- package/resources/scss/theme-dark/examples/ConfigurationPanel.scss +3 -9
- package/resources/scss/theme-dark/examples/calendar/basic/MainContainer.scss +3 -10
- package/resources/scss/theme-dark/form/Fieldset.scss +5 -14
- package/resources/scss/theme-dark/form/field/CheckBox.scss +7 -18
- package/resources/scss/theme-dark/form/field/FileUpload.scss +11 -26
- package/resources/scss/theme-dark/form/field/Picker.scss +5 -13
- package/resources/scss/theme-dark/form/field/Range.scss +4 -11
- package/resources/scss/theme-dark/form/field/Search.scss +3 -9
- package/resources/scss/theme-dark/form/field/Select.scss +8 -20
- package/resources/scss/theme-dark/form/field/Switch.scss +6 -16
- package/resources/scss/theme-dark/form/field/Text.scss +31 -66
- package/resources/scss/theme-dark/form/field/trigger/Base.scss +5 -14
- package/resources/scss/theme-dark/form/field/trigger/Time.scss +3 -10
- package/resources/scss/theme-dark/grid/Container.scss +6 -16
- package/resources/scss/theme-dark/grid/View.scss +12 -28
- package/resources/scss/theme-dark/grid/header/Button.scss +5 -14
- package/resources/scss/theme-dark/list/Base.scss +11 -26
- package/resources/scss/theme-dark/menu/List.scss +20 -44
- package/resources/scss/theme-dark/menu/Panel.scss +2 -8
- package/resources/scss/theme-dark/tab/Container.scss +3 -9
- package/resources/scss/theme-dark/tab/Strip.scss +5 -13
- package/resources/scss/theme-dark/tab/header/Button.scss +29 -62
- package/resources/scss/theme-dark/table/Container.scss +9 -22
- package/resources/scss/theme-dark/table/View.scss +13 -29
- package/resources/scss/theme-dark/table/header/Button.scss +6 -16
- package/resources/scss/theme-dark/toolbar/Base.scss +4 -11
- package/resources/scss/theme-dark/tree/List.scss +4 -11
- package/resources/scss/theme-light/Global.scss +7 -17
- package/resources/scss/theme-light/apps/covid/HeaderContainer.scss +10 -23
- package/resources/scss/theme-light/apps/covid/country/Gallery.scss +7 -17
- package/resources/scss/theme-light/apps/covid/country/Helix.scss +8 -19
- package/resources/scss/theme-light/apps/covid/country/LineChartComponent.scss +3 -9
- package/resources/scss/theme-light/apps/docs/ContentTabContainer.scss +4 -11
- package/resources/scss/theme-light/apps/docs/HeaderContainer.scss +10 -23
- package/resources/scss/theme-light/apps/docs/MainContainer.scss +3 -9
- package/resources/scss/theme-light/apps/docs/classdetails/HeaderComponent.scss +4 -11
- package/resources/scss/theme-light/apps/docs/classdetails/MembersList.scss +17 -37
- package/resources/scss/theme-light/apps/docs/classdetails/TutorialComponent.scss +4 -11
- package/resources/scss/theme-light/apps/website/HeaderContainer.scss +5 -13
- package/resources/scss/theme-light/apps/website/MainContainer.scss +4 -11
- package/resources/scss/theme-light/apps/website/blog/Container.scss +3 -9
- package/resources/scss/theme-light/apps/website/home/TabContainer.scss +4 -11
- package/resources/scss/theme-light/button/Base.scss +107 -218
- package/resources/scss/theme-light/calendar/view/EditEventContainer.scss +4 -12
- package/resources/scss/theme-light/calendar/view/MainContainer.scss +22 -48
- package/resources/scss/theme-light/calendar/view/SettingsContainer.scss +3 -11
- package/resources/scss/theme-light/calendar/view/YearComponent.scss +10 -23
- package/resources/scss/theme-light/calendar/view/calendars/EditContainer.scss +4 -12
- package/resources/scss/theme-light/calendar/view/calendars/List.scss +2 -8
- package/resources/scss/theme-light/calendar/view/month/Component.scss +10 -23
- package/resources/scss/theme-light/calendar/view/week/Component.scss +12 -28
- package/resources/scss/theme-light/component/BoxLabel.scss +5 -13
- package/resources/scss/theme-light/component/Chip.scss +14 -31
- package/resources/scss/theme-light/component/DateSelector.scss +24 -52
- package/resources/scss/theme-light/component/Process.scss +9 -21
- package/resources/scss/theme-light/component/Progress.scss +3 -9
- package/resources/scss/theme-light/component/Splitter.scss +4 -12
- package/resources/scss/theme-light/component/StatusBadge.scss +19 -41
- package/resources/scss/theme-light/component/Timer.scss +5 -14
- package/resources/scss/theme-light/component/Toast.scss +8 -20
- package/resources/scss/theme-light/component/Video.scss +3 -10
- package/resources/scss/theme-light/container/Accordion.scss +5 -13
- package/resources/scss/theme-light/container/AccordionItem.scss +10 -23
- package/resources/scss/theme-light/container/Base.scss +4 -11
- package/resources/scss/theme-light/container/Panel.scss +5 -13
- package/resources/scss/theme-light/container/Viewport.scss +3 -9
- package/resources/scss/theme-light/dialog/Base.scss +5 -13
- package/resources/scss/theme-light/examples/ConfigurationPanel.scss +3 -9
- package/resources/scss/theme-light/examples/calendar/basic/MainContainer.scss +3 -10
- package/resources/scss/theme-light/form/Fieldset.scss +5 -14
- package/resources/scss/theme-light/form/field/CheckBox.scss +7 -18
- package/resources/scss/theme-light/form/field/FileUpload.scss +11 -26
- package/resources/scss/theme-light/form/field/Picker.scss +5 -13
- package/resources/scss/theme-light/form/field/Range.scss +4 -11
- package/resources/scss/theme-light/form/field/Search.scss +3 -9
- package/resources/scss/theme-light/form/field/Select.scss +9 -21
- package/resources/scss/theme-light/form/field/Switch.scss +6 -16
- package/resources/scss/theme-light/form/field/Text.scss +31 -66
- package/resources/scss/theme-light/form/field/trigger/Base.scss +5 -14
- package/resources/scss/theme-light/form/field/trigger/Time.scss +3 -10
- package/resources/scss/theme-light/grid/Container.scss +6 -16
- package/resources/scss/theme-light/grid/View.scss +12 -28
- package/resources/scss/theme-light/grid/header/Button.scss +5 -14
- package/resources/scss/theme-light/list/Base.scss +12 -27
- package/resources/scss/theme-light/menu/List.scss +20 -44
- package/resources/scss/theme-light/menu/Panel.scss +2 -8
- package/resources/scss/theme-light/tab/Container.scss +3 -9
- package/resources/scss/theme-light/tab/Strip.scss +5 -13
- package/resources/scss/theme-light/tab/header/Button.scss +29 -62
- package/resources/scss/theme-light/table/Container.scss +9 -22
- package/resources/scss/theme-light/table/View.scss +13 -29
- package/resources/scss/theme-light/table/header/Button.scss +6 -16
- package/resources/scss/theme-light/toolbar/Base.scss +4 -11
- package/resources/scss/theme-light/tree/List.scss +4 -11
- package/src/DefaultConfig.mjs +2 -2
- package/src/form/field/FileUpload.mjs +9 -0
- package/src/main/DomAccess.mjs +2 -2
- package/src/main/DomEvents.mjs +50 -12
- package/resources/scss/mixins/_all.scss +0 -31
- package/resources/scss/theme-dark/_all.scss +0 -15
- package/resources/scss/theme-dark/apps/_all.scss +0 -3
- package/resources/scss/theme-dark/apps/covid/_all.scss +0 -4
- package/resources/scss/theme-dark/apps/docs/ExamplesTreeList.scss +0 -0
- package/resources/scss/theme-dark/apps/docs/TutorialsTreeList.scss +0 -0
- package/resources/scss/theme-dark/apps/docs/_all.scss +0 -6
- package/resources/scss/theme-dark/apps/docs/classdetails/HierarchyTreeList.scss +0 -0
- package/resources/scss/theme-dark/apps/docs/classdetails/MainContainer.scss +0 -0
- package/resources/scss/theme-dark/apps/docs/classdetails/_all.scss +0 -5
- package/resources/scss/theme-dark/apps/website/_all.scss +0 -4
- package/resources/scss/theme-dark/button/_all.scss +0 -1
- package/resources/scss/theme-dark/calendar/_all.scss +0 -8
- package/resources/scss/theme-dark/component/Circle.scss +0 -0
- package/resources/scss/theme-dark/component/_all.scss +0 -5
- package/resources/scss/theme-dark/container/_all.scss +0 -3
- package/resources/scss/theme-dark/dialog/_all.scss +0 -1
- package/resources/scss/theme-dark/examples/_all.scss +0 -2
- package/resources/scss/theme-dark/form/_all.scss +0 -9
- package/resources/scss/theme-dark/form/field/trigger/Clear.scss +0 -0
- package/resources/scss/theme-dark/form/field/trigger/_all.scss +0 -3
- package/resources/scss/theme-dark/grid/_all.scss +0 -3
- package/resources/scss/theme-dark/grid/header/Toolbar.scss +0 -0
- package/resources/scss/theme-dark/grid/header/_all.scss +0 -2
- package/resources/scss/theme-dark/list/_all.scss +0 -1
- package/resources/scss/theme-dark/menu/_all.scss +0 -2
- package/resources/scss/theme-dark/tab/_all.scss +0 -3
- package/resources/scss/theme-dark/table/_all.scss +0 -3
- package/resources/scss/theme-dark/table/header/Toolbar.scss +0 -0
- package/resources/scss/theme-dark/table/header/_all.scss +0 -2
- package/resources/scss/theme-dark/tree/_all.scss +0 -1
- package/resources/scss/theme-light/_all.scss +0 -15
- package/resources/scss/theme-light/apps/_all.scss +0 -3
- package/resources/scss/theme-light/apps/covid/_all.scss +0 -4
- package/resources/scss/theme-light/apps/docs/ExamplesTreeList.scss +0 -0
- package/resources/scss/theme-light/apps/docs/TutorialsTreeList.scss +0 -0
- package/resources/scss/theme-light/apps/docs/_all.scss +0 -6
- package/resources/scss/theme-light/apps/docs/classdetails/HierarchyTreeList.scss +0 -0
- package/resources/scss/theme-light/apps/docs/classdetails/MainContainer.scss +0 -0
- package/resources/scss/theme-light/apps/docs/classdetails/_all.scss +0 -5
- package/resources/scss/theme-light/apps/website/_all.scss +0 -4
- package/resources/scss/theme-light/button/_all.scss +0 -1
- package/resources/scss/theme-light/calendar/_all.scss +0 -8
- package/resources/scss/theme-light/component/Circle.scss +0 -0
- package/resources/scss/theme-light/component/_all.scss +0 -5
- package/resources/scss/theme-light/container/_all.scss +0 -3
- package/resources/scss/theme-light/dialog/_all.scss +0 -1
- package/resources/scss/theme-light/examples/_all.scss +0 -2
- package/resources/scss/theme-light/form/_all.scss +0 -9
- package/resources/scss/theme-light/form/field/trigger/Clear.scss +0 -0
- package/resources/scss/theme-light/form/field/trigger/_all.scss +0 -3
- package/resources/scss/theme-light/grid/_all.scss +0 -3
- package/resources/scss/theme-light/grid/header/Toolbar.scss +0 -0
- package/resources/scss/theme-light/grid/header/_all.scss +0 -2
- package/resources/scss/theme-light/list/_all.scss +0 -1
- package/resources/scss/theme-light/menu/_all.scss +0 -2
- package/resources/scss/theme-light/tab/_all.scss +0 -3
- package/resources/scss/theme-light/table/_all.scss +0 -3
- package/resources/scss/theme-light/table/header/Toolbar.scss +0 -0
- package/resources/scss/theme-light/table/header/_all.scss +0 -2
- package/resources/scss/theme-light/tree/_all.scss +0 -1
@@ -1,29 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
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
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
-
|
2
|
-
|
3
|
-
|
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
|
-
|
2
|
-
|
3
|
-
|
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
|
+
}
|
package/src/DefaultConfig.mjs
CHANGED
@@ -245,12 +245,12 @@ const DefaultConfig = {
|
|
245
245
|
useVdomWorker: true,
|
246
246
|
/**
|
247
247
|
* buildScripts/injectPackageVersion.mjs will update this value
|
248
|
-
* @default '
|
248
|
+
* @default '6.0.0'
|
249
249
|
* @memberOf! module:Neo
|
250
250
|
* @name config.version
|
251
251
|
* @type String
|
252
252
|
*/
|
253
|
-
version: '
|
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
|
|
package/src/main/DomAccess.mjs
CHANGED
@@ -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)
|
513
|
-
end = Neo.isNumber(data.end)
|
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();
|
package/src/main/DomEvents.mjs
CHANGED
@@ -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
|
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
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
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
|
493
|
-
hash
|
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
|
-
|
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
|
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
|
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";
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -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 +0,0 @@
|
|
1
|
-
@import "Base";
|
File without changes
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "Base";
|
File without changes
|
@@ -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";
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -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 +0,0 @@
|
|
1
|
-
@import "Base";
|
File without changes
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "Base";
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "List";
|