neo.mjs 6.9.9 → 6.9.11
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/apps/learnneo/neo-config.json +5 -1
- package/apps/learnneo/store/Content.mjs +1 -1
- package/apps/learnneo/view/Viewport.mjs +12 -1
- package/apps/learnneo/view/home/ContentTreeList.mjs +53 -34
- package/apps/learnneo/view/home/ContentView.mjs +60 -0
- package/apps/learnneo/view/home/MainContainer.mjs +36 -9
- package/apps/learnneo/view/home/MainContainerController.mjs +57 -18
- package/apps/newwebsite/app.mjs +6 -0
- package/apps/newwebsite/index.html +10 -0
- package/apps/newwebsite/neo-config.json +7 -0
- package/apps/newwebsite/view/MainContainer.mjs +59 -0
- package/buildScripts/webpack/json/myApps.template.json +1 -0
- package/examples/ConfigurationViewport.mjs +12 -9
- package/examples/ServiceWorker.mjs +2 -2
- package/examples/button/base/neo-config.json +1 -2
- package/examples/form/field/textarea/MainContainer.mjs +1 -1
- package/package.json +2 -2
- package/resources/data/{learnneo → deck/learnneo}/p/2023-10-01T18-29-19-158Z.md +3 -6
- package/resources/data/deck/learnneo/p/stylesheet.md +40 -0
- package/resources/data/{learnneo → deck/learnneo}/t.json +19 -2
- package/resources/data/deck/training/p/2022-12-27T21-54-52-300Z.md +11 -0
- package/resources/data/deck/training/p/2022-12-27T21-55-23-144Z.md +43 -0
- package/resources/data/deck/training/p/2022-12-27T21-55-30-948Z.md +1 -0
- package/resources/data/deck/training/p/2022-12-27T21-55-43-542Z.md +84 -0
- package/resources/data/deck/training/p/2022-12-27T22-23-55-083Z.md +1 -0
- package/resources/data/deck/training/p/2022-12-27T22-24-07-886Z.md +8 -0
- package/resources/data/deck/training/p/2022-12-27T22-24-52-295Z.md +8 -0
- package/resources/data/deck/training/p/2022-12-27T22-25-03-853Z.md +5 -0
- package/resources/data/deck/training/p/2022-12-27T22-43-58-924Z.md +10 -0
- package/resources/data/deck/training/p/2022-12-27T22-44-28-881Z.md +3 -0
- package/resources/data/deck/training/p/2022-12-27T22-44-41-791Z.md +4 -0
- package/resources/data/deck/training/p/2022-12-27T22-45-21-032Z.md +7 -0
- package/resources/data/deck/training/p/2022-12-27T22-49-22-078Z.md +4 -0
- package/resources/data/deck/training/p/2022-12-27T22-50-20-626Z.md +4 -0
- package/resources/data/deck/training/p/2022-12-28T16-58-47-786Z.md +0 -0
- package/resources/data/deck/training/p/2022-12-28T16-58-55-192Z.md +9 -0
- package/resources/data/deck/training/p/2022-12-28T17-10-18-058Z.md +15 -0
- package/resources/data/deck/training/p/2022-12-28T17-10-42-296Z.md +40 -0
- package/resources/data/deck/training/p/2022-12-28T17-11-34-653Z.md +41 -0
- package/resources/data/deck/training/p/2022-12-28T17-13-09-994Z.md +0 -0
- package/resources/data/deck/training/p/2022-12-28T21-32-14-420Z.md +0 -0
- package/resources/data/deck/training/p/2022-12-29T01-43-32-431Z.md +7 -0
- package/resources/data/deck/training/p/2022-12-29T15-56-54-485Z.md +7 -0
- package/resources/data/deck/training/p/2022-12-29T15-57-11-499Z.md +7 -0
- package/resources/data/deck/training/p/2022-12-29T16-00-13-223Z.md +7 -0
- package/resources/data/deck/training/p/2022-12-29T18-34-25-826Z.md +4 -0
- package/resources/data/deck/training/p/2022-12-29T18-36-08-226Z.md +106 -0
- package/resources/data/deck/training/p/2022-12-29T18-36-56-893Z.md +112 -0
- package/resources/data/deck/training/p/2022-12-29T19-31-30-507Z.md +31 -0
- package/resources/data/deck/training/p/2022-12-29T19-31-55-091Z.md +14 -0
- package/resources/data/deck/training/p/2022-12-29T20-03-42-628Z.md +9 -0
- package/resources/data/deck/training/p/2022-12-29T20-21-20-669Z.md +7 -0
- package/resources/data/deck/training/p/2022-12-29T20-37-08-919Z.md +46 -0
- package/resources/data/deck/training/p/2022-12-29T20-37-20-344Z.md +43 -0
- package/resources/data/deck/training/p/2022-12-30T19-04-30-990Z.md +8 -0
- package/resources/data/deck/training/p/2022-12-31T18-43-56-338Z.md +7 -0
- package/resources/data/deck/training/p/2022-12-31T18-51-50-682Z.md +1 -0
- package/resources/data/deck/training/p/2022-12-31T18-54-04-176Z.md +4 -0
- package/resources/data/deck/training/p/2022-12-31T22-11-55-555Z.md +112 -0
- package/resources/data/deck/training/p/2022-12-31T23-00-41-222Z.md +6 -0
- package/resources/data/deck/training/p/2022-12-31T23-18-55-655Z.md +69 -0
- package/resources/data/deck/training/p/2022-12-31T23-25-40-735Z.md +21 -0
- package/resources/data/deck/training/p/2022-12-31T23-25-51-014Z.md +7 -0
- package/resources/data/deck/training/p/2023-01-01T17-49-18-429Z.md +3 -0
- package/resources/data/deck/training/p/2023-01-01T18-44-07-034Z.md +34 -0
- package/resources/data/deck/training/p/2023-01-01T18-47-39-766Z.md +15 -0
- package/resources/data/deck/training/p/2023-01-01T19-04-22-830Z.md +4 -0
- package/resources/data/deck/training/p/2023-01-01T21-11-58-025Z.md +25 -0
- package/resources/data/deck/training/p/2023-01-01T21-12-37-340Z.md +23 -0
- package/resources/data/deck/training/p/2023-01-01T21-13-13-880Z.md +8 -0
- package/resources/data/deck/training/p/2023-01-01T21-14-45-740Z.md +98 -0
- package/resources/data/deck/training/p/2023-01-01T21-18-23-886Z.md +26 -0
- package/resources/data/deck/training/p/2023-01-01T21-18-31-316Z.md +19 -0
- package/resources/data/deck/training/p/2023-01-01T21-18-42-290Z.md +23 -0
- package/resources/data/deck/training/p/2023-01-01T21-19-57-020Z.md +24 -0
- package/resources/data/deck/training/p/2023-01-01T21-22-31-184Z.md +13 -0
- package/resources/data/deck/training/p/2023-01-01T21-22-38-317Z.md +17 -0
- package/resources/data/deck/training/p/2023-01-01T21-22-47-693Z.md +20 -0
- package/resources/data/deck/training/p/2023-01-01T21-23-17-716Z.md +39 -0
- package/resources/data/deck/training/p/2023-01-01T21-23-28-532Z.md +22 -0
- package/resources/data/deck/training/p/2023-01-01T21-25-23-899Z.md +3 -0
- package/resources/data/deck/training/p/2023-01-01T21-25-59-742Z.md +1 -0
- package/resources/data/deck/training/p/2023-01-01T21-26-53-748Z.md +12 -0
- package/resources/data/deck/training/p/2023-01-01T23-38-42-863Z.md +2 -0
- package/resources/data/deck/training/p/2023-01-03T02-07-19-014Z.md +143 -0
- package/resources/data/deck/training/p/2023-01-04T01-52-23-454Z.md +76 -0
- package/resources/data/deck/training/p/2023-01-06T23-21-12-009Z.md +127 -0
- package/resources/data/deck/training/p/2023-01-06T23-21-31-685Z.md +81 -0
- package/resources/data/deck/training/p/2023-01-06T23-21-59-596Z.md +36 -0
- package/resources/data/deck/training/p/2023-01-06T23-34-13-897Z.md +87 -0
- package/resources/data/deck/training/p/2023-01-06T23-44-02-340Z.md +0 -0
- package/resources/data/deck/training/p/2023-01-06T23-46-36-687Z.md +1 -0
- package/resources/data/deck/training/p/2023-01-06T23-46-45-783Z.md +33 -0
- package/resources/data/deck/training/p/2023-01-08T00-45-11-144Z.md +50 -0
- package/resources/data/deck/training/p/2023-01-08T01-06-31-267Z.md +41 -0
- package/resources/data/deck/training/p/2023-01-08T01-24-21-088Z.md +95 -0
- package/resources/data/deck/training/p/2023-01-08T01-25-12-557Z.md +11 -0
- package/resources/data/deck/training/p/2023-01-08T01-46-50-723Z.md +25 -0
- package/resources/data/deck/training/p/2023-01-08T02-09-07-802Z.md +18 -0
- package/resources/data/deck/training/p/2023-01-08T02-09-19-678Z.md +66 -0
- package/resources/data/deck/training/p/2023-01-08T02-11-26-333Z.md +29 -0
- package/resources/data/deck/training/p/2023-01-08T17-22-48-841Z.md +14 -0
- package/resources/data/deck/training/p/2023-01-08T20-46-11-806Z.md +5 -0
- package/resources/data/deck/training/p/2023-01-08T20-47-23-682Z.md +5 -0
- package/resources/data/deck/training/p/2023-01-08T20-47-32-064Z.md +13 -0
- package/resources/data/deck/training/p/2023-01-08T20-47-57-045Z.md +0 -0
- package/resources/data/deck/training/p/2023-01-08T20-48-03-791Z.md +18 -0
- package/resources/data/deck/training/p/2023-01-08T20-48-32-466Z.md +9 -0
- package/resources/data/deck/training/p/2023-01-08T20-48-51-322Z.md +20 -0
- package/resources/data/deck/training/p/2023-01-08T20-49-52-741Z.md +0 -0
- package/resources/data/deck/training/p/2023-01-08T20-52-03-556Z.md +0 -0
- package/resources/data/deck/training/p/2023-01-08T20-57-36-333Z.md +2 -0
- package/resources/data/deck/training/p/2023-01-08T20-57-51-136Z.md +5 -0
- package/resources/data/deck/training/p/2023-01-09T00-07-37-951Z.md +0 -0
- package/resources/data/deck/training/p/2023-01-09T00-35-40-671Z.md +3 -0
- package/resources/data/deck/training/p/2023-01-10T01-29-38-148Z.md +10 -0
- package/resources/data/deck/training/p/2023-01-10T01-43-12-166Z.md +31 -0
- package/resources/data/deck/training/p/2023-01-10T02-21-54-303Z.md +10 -0
- package/resources/data/deck/training/p/2023-01-12T01-50-54-617Z.md +74 -0
- package/resources/data/deck/training/p/2023-01-13T19-55-24-735Z.md +14 -0
- package/resources/data/deck/training/p/2023-01-13T20-08-27-068Z.md +28 -0
- package/resources/data/deck/training/p/2023-01-13T20-23-38-411Z.md +25 -0
- package/resources/data/deck/training/p/2023-01-13T20-37-06-267Z.md +13 -0
- package/resources/data/deck/training/p/2023-01-13T21-05-57-708Z.md +8 -0
- package/resources/data/deck/training/p/2023-01-13T21-48-17-258Z.md +20 -0
- package/resources/data/deck/training/p/2023-01-13T22-05-05-799Z.md +14 -0
- package/resources/data/deck/training/p/2023-01-13T22-08-30-863Z.md +17 -0
- package/resources/data/deck/training/p/2023-01-13T23-01-50-449Z.md +4 -0
- package/resources/data/deck/training/p/2023-01-14T00-33-05-958Z.md +62 -0
- package/resources/data/deck/training/p/2023-01-14T00-40-27-784Z.md +229 -0
- package/resources/data/deck/training/p/2023-01-14T00-41-59-081Z.md +153 -0
- package/resources/data/deck/training/p/2023-01-14T13-50-28-199Z.md +19 -0
- package/resources/data/deck/training/p/2023-01-14T13-59-20-275Z.md +6 -0
- package/resources/data/deck/training/p/2023-01-14T14-03-29-456Z.md +3 -0
- package/resources/data/deck/training/p/2023-01-14T14-27-57-678Z.md +7 -0
- package/resources/data/deck/training/p/2023-01-14T17-30-18-228Z.md +33 -0
- package/resources/data/deck/training/p/2023-01-14T18-28-39-316Z.md +1 -0
- package/resources/data/deck/training/p/2023-01-14T18-28-44-115Z.md +4 -0
- package/resources/data/deck/training/p/2023-01-14T18-28-49-548Z.md +18 -0
- package/resources/data/deck/training/p/2023-01-14T18-40-13-758Z.md +10 -0
- package/resources/data/deck/training/p/2023-01-14T19-29-15-291Z.md +12 -0
- package/resources/data/deck/training/p/2023-01-15T18-51-52-134Z.md +83 -0
- package/resources/data/deck/training/p/2023-01-15T20-03-30-073Z.md +11 -0
- package/resources/data/deck/training/p/2023-01-15T22-07-52-073Z.md +16 -0
- package/resources/data/deck/training/p/2023-01-15T22-22-13-517Z.md +12 -0
- package/resources/data/deck/training/p/2023-01-15T22-28-57-508Z.md +131 -0
- package/resources/data/deck/training/p/2023-01-15T22-36-30-913Z.md +115 -0
- package/resources/data/deck/training/p/2023-01-16T16-03-40-770Z.md +12 -0
- package/resources/data/deck/training/p/2023-01-16T20-21-56-859Z.md +5 -0
- package/resources/data/deck/training/p/2023-01-16T20-24-09-690Z.md +24 -0
- package/resources/data/deck/training/p/2023-01-20T12-51-22-646Z.md +21 -0
- package/resources/data/deck/training/p/2023-01-20T13-06-46-614Z.md +9 -0
- package/resources/data/deck/training/p/2023-01-20T13-08-51-600Z.md +7 -0
- package/resources/data/deck/training/p/2023-01-20T15-20-13-363Z.md +26 -0
- package/resources/data/deck/training/p/2023-01-20T15-34-58-813Z.md +75 -0
- package/resources/data/deck/training/p/2023-01-21T16-33-20-458Z.md +33 -0
- package/resources/data/deck/training/p/2023-01-21T16-45-28-263Z.md +28 -0
- package/resources/data/deck/training/p/2023-01-21T16-56-25-452Z.md +3 -0
- package/resources/data/deck/training/p/2023-01-21T17-28-31-493Z.md +6 -0
- package/resources/data/deck/training/p/2023-01-21T19-49-51-918Z.md +13 -0
- package/resources/data/deck/training/p/2023-01-21T20-08-24-452Z.md +15 -0
- package/resources/data/deck/training/p/2023-01-21T20-35-54-947Z.md +20 -0
- package/resources/data/deck/training/p/2023-01-21T20-54-47-603Z.md +39 -0
- package/resources/data/deck/training/p/2023-01-21T20-56-28-184Z.md +25 -0
- package/resources/data/deck/training/p/2023-01-21T20-57-32-927Z.md +4 -0
- package/resources/data/deck/training/p/2023-01-21T23-13-33-394Z.md +6 -0
- package/resources/data/deck/training/p/2023-01-28T19-11-37-464Z.md +24 -0
- package/resources/data/deck/training/p/2023-01-28T20-43-41-188Z.md +9 -0
- package/resources/data/deck/training/p/2023-01-28T20-53-56-476Z.md +8 -0
- package/resources/data/deck/training/p/2023-01-28T20-58-43-776Z.md +10 -0
- package/resources/data/deck/training/p/2023-01-28T22-18-41-259Z.md +33 -0
- package/resources/data/deck/training/p/2023-01-28T22-24-34-808Z.md +24 -0
- package/resources/data/deck/training/p/2023-01-29T16-25-24-528Z.md +44 -0
- package/resources/data/deck/training/p/2023-01-29T21-14-32-588Z.md +12 -0
- package/resources/data/deck/training/p/2023-01-31T19-24-53-504Z.md +8 -0
- package/resources/data/deck/training/p/2023-01-31T20-33-55-855Z.md +11 -0
- package/resources/data/deck/training/p/2023-01-31T20-34-30-261Z.md +7 -0
- package/resources/data/deck/training/p/2023-01-31T20-52-53-367Z.md +43 -0
- package/resources/data/deck/training/p/2023-02-04T15-18-35-682Z.md +20 -0
- package/resources/data/deck/training/p/2023-02-04T15-49-47-597Z.md +14 -0
- package/resources/data/deck/training/p/2023-02-04T18-58-57-808Z.md +1 -0
- package/resources/data/deck/training/p/2023-02-04T20-07-11-288Z.md +1 -0
- package/resources/data/deck/training/p/2023-02-04T20-09-50-169Z.md +1 -0
- package/resources/data/deck/training/p/2023-02-04T20-19-42-740Z.md +8 -0
- package/resources/data/deck/training/p/2023-02-04T20-23-56-013Z.md +12 -0
- package/resources/data/deck/training/p/2023-02-04T20-28-12-391Z.md +20 -0
- package/resources/data/deck/training/p/2023-02-05T00-20-32-554Z.md +16 -0
- package/resources/data/deck/training/p/2023-02-05T00-35-56-282Z.md +13 -0
- package/resources/data/deck/training/p/2023-02-05T15-36-57-182Z.md +24 -0
- package/resources/data/deck/training/p/2023-02-05T17-39-51-712Z.md +70 -0
- package/resources/data/deck/training/p/2023-02-05T17-44-53-815Z.md +195 -0
- package/resources/data/deck/training/p/2023-02-05T17-45-40-114Z.md +92 -0
- package/resources/data/deck/training/p/2023-02-05T18-12-14-489Z.md +60 -0
- package/resources/data/deck/training/p/2023-02-06T00-14-54-457Z.md +9 -0
- package/resources/data/deck/training/p/2023-06-28T18-03-14-313Z.md +8 -0
- package/resources/data/deck/training/p/2023-06-28T18-26-17-290Z.md +7 -0
- package/resources/data/deck/training/p/2023-06-28T21-16-24-034Z.md +40 -0
- package/resources/data/deck/training/p/2023-06-28T21-16-34-972Z.md +16 -0
- package/resources/data/deck/training/p/2023-06-28T21-28-28-379Z.md +4 -0
- package/resources/data/deck/training/p/2023-06-29T23-15-10-411Z.md +5 -0
- package/resources/data/deck/training/p/2023-07-01T15-42-45-193Z.md +433 -0
- package/resources/data/deck/training/p/2023-07-01T21-54-31-329Z.md +6 -0
- package/resources/data/deck/training/p/2023-07-02T16-14-06-970Z.md +14 -0
- package/resources/data/deck/training/p/2023-07-31T00-26-03-842Z.md +4 -0
- package/resources/data/deck/training/p/2023-07-31T00-31-51-933Z.md +10 -0
- package/resources/data/deck/training/p/2023-07-31T00-37-21-927Z.md +205 -0
- package/resources/data/deck/training/p/2023-10-01T18-29-19-158Z.md +76 -0
- package/resources/data/deck/training/p/2023-10-07T19-18-28-517Z.md +102 -0
- package/resources/data/deck/training/p/2023-10-08T20-20-07-934Z.md +75 -0
- package/resources/data/deck/training/p/2023-10-08T20-20-37-336Z.md +29 -0
- package/resources/data/deck/training/p/2023-10-08T20-37-30-658Z.md +0 -0
- package/resources/data/deck/training/p/2023-10-08T21-58-25-809Z.md +68 -0
- package/resources/data/deck/training/p/2023-10-08T22-22-11-013Z.md +0 -0
- package/resources/data/deck/training/p/2023-10-14T19-25-08-153Z.md +119 -0
- package/resources/data/deck/training/t.json +1 -0
- package/resources/scss/src/apps/learnneo/Viewport.scss +0 -106
- package/resources/scss/src/apps/learnneo/home/ContentTreeList.scss +37 -0
- package/resources/scss/src/apps/learnneo/home/ContentView.scss +55 -0
- package/resources/scss/src/form/field/FileUpload.scss +4 -4
- package/resources/scss/src/form/field/TextArea.scss +1 -1
- package/resources/scss/theme-neo-light/Global.scss +46 -0
- package/resources/scss/theme-neo-light/design-tokens/Core.scss +7 -0
- package/resources/scss/theme-neo-light/design-tokens/Semantic.scss +0 -0
- package/resources/scss/theme-neo-light/design-tokens/_all.scss +4 -0
- package/src/DefaultConfig.mjs +4 -4
- package/src/form/field/FileUpload.mjs +9 -2
- package/src/form/field/TextArea.mjs +19 -34
- package/src/main/DomAccess.mjs +34 -0
- package/test/components/files/form/field/Select.mjs +1 -1
- /package/resources/data/{learnneo → deck/learnneo}/p/2023-10-07T19-18-28-517Z.md +0 -0
- /package/resources/data/{learnneo → deck/learnneo}/p/2023-10-08T20-20-07-934Z.md +0 -0
- /package/resources/data/{learnneo → deck/learnneo}/p/2023-10-08T20-20-37-336Z.md +0 -0
- /package/resources/data/{learnneo → deck/learnneo}/p/2023-10-08T20-37-30-658Z.md +0 -0
- /package/resources/data/{learnneo → deck/learnneo}/p/2023-10-08T21-58-25-809Z.md +0 -0
- /package/resources/data/{learnneo → deck/learnneo}/p/2023-10-08T22-22-11-013Z.md +0 -0
- /package/resources/data/{learnneo → deck/learnneo}/p/2023-10-14T19-25-08-153Z.md +0 -0
- /package/resources/data/{learnneo → deck/learnneo}/pages/whyneo.md +0 -0
- /package/resources/data/{learnneo → deck/learnneo}/tree.json +0 -0
- /package/resources/{deck → data/deck}/whyneo.md +0 -0
- /package/resources/scss/src/apps/newwebsite/{MainContainer.css → MainContainer.scss} +0 -0
- /package/resources/scss/theme-neo-light/design-tokens/{Components.scss → Component.scss} +0 -0
@@ -0,0 +1,37 @@
|
|
1
|
+
.topics-tree {
|
2
|
+
&.neo-tree-list {
|
3
|
+
.neo-treelist-collapse-all-icon {
|
4
|
+
.neo-treelist-menu-item-content:before {
|
5
|
+
content: "\f102" !important;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
.neo-treelist-expand-all-icon {
|
10
|
+
.neo-treelist-menu-item-content:before {
|
11
|
+
content: "\f103" !important;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.neo-list-container {
|
16
|
+
.neo-list-item {
|
17
|
+
&.neo-list-item-leaf {
|
18
|
+
.neo-list-item-content:before {
|
19
|
+
content: none !important;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
&.neo-list-folder {
|
24
|
+
.neo-list-item-content:before {
|
25
|
+
content: "\f107" !important;
|
26
|
+
}
|
27
|
+
|
28
|
+
&.neo-folder-open {
|
29
|
+
.neo-list-item-content:before {
|
30
|
+
content: "\f106" !important;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
.learn-content {
|
2
|
+
font-family: 'Open Sans';
|
3
|
+
font-size: 13pt;
|
4
|
+
letter-spacing: 1px;
|
5
|
+
overflow: scroll;
|
6
|
+
padding: 1em;
|
7
|
+
|
8
|
+
em,
|
9
|
+
i {
|
10
|
+
font-family: Palatino, "Times New Roman", serif;
|
11
|
+
font-size: 1.07em;
|
12
|
+
}
|
13
|
+
|
14
|
+
p {
|
15
|
+
margin: 0.5em 0em 0.7em 0em;
|
16
|
+
}
|
17
|
+
|
18
|
+
details summary {
|
19
|
+
cursor: pointer;
|
20
|
+
transition: margin 300ms ease-out;
|
21
|
+
}
|
22
|
+
|
23
|
+
details[open] {
|
24
|
+
margin-bottom: 2em;
|
25
|
+
}
|
26
|
+
|
27
|
+
details summary {
|
28
|
+
list-style: none;
|
29
|
+
color: #555;
|
30
|
+
display: flex;
|
31
|
+
/* also removes the list marker */
|
32
|
+
align-items: center;
|
33
|
+
font-weight: bold;
|
34
|
+
}
|
35
|
+
|
36
|
+
details summary::before {
|
37
|
+
content: "\f055";
|
38
|
+
}
|
39
|
+
|
40
|
+
details[open] summary::before {
|
41
|
+
content: "\f056";
|
42
|
+
}
|
43
|
+
|
44
|
+
details summary::before {
|
45
|
+
color: #c4c4c4;
|
46
|
+
font-family: var(--fa-style-family, "Font Awesome 6 Free");
|
47
|
+
font-size: 1.3em;
|
48
|
+
font-weight: var(--fa-style, 900);
|
49
|
+
margin: 0.4em 0.4em 0.4em 0;
|
50
|
+
}
|
51
|
+
|
52
|
+
summary::-webkit-details-marker {
|
53
|
+
display: none;
|
54
|
+
}
|
55
|
+
}
|
@@ -136,8 +136,8 @@
|
|
136
136
|
}
|
137
137
|
|
138
138
|
// During upload, it's a progress circle.
|
139
|
-
// Of the upload fails, the process circle stops but remains visible
|
140
|
-
.neo-file-upload-state-uploading, .neo-file-upload-state-upload-failed {
|
139
|
+
// Of the upload fails, the process circle stops but remains visible //todo
|
140
|
+
.neo-file-upload-state-uploading, .neo-file-upload-state-upload-failed, .neo-file-upload-state-error {
|
141
141
|
.neo-file-upload-state-icon {
|
142
142
|
background-image : conic-gradient(
|
143
143
|
var(--fileuploadfield-progress-color) 0 var(--upload-progress),
|
@@ -184,8 +184,8 @@
|
|
184
184
|
}
|
185
185
|
}
|
186
186
|
|
187
|
-
// If the upload or scan failed, we show an error UI and the action button cancels
|
188
|
-
.neo-file-upload-state-upload-failed, .neo-file-upload-state-scan-failed, .neo-file-upload-field.neo-invalid {
|
187
|
+
// If the upload or scan failed, we show an error UI and the action button cancels //todo error
|
188
|
+
.neo-file-upload-state-upload-failed, .neo-file-upload-state-scan-failed, .neo-file-upload-field.neo-invalid, .neo-file-upload-state-error {
|
189
189
|
--fileuploadfield-progress-color : var(--fileuploadfield-error-color);
|
190
190
|
border-color : var(--fileuploadfield-error-color);
|
191
191
|
|
@@ -5,3 +5,49 @@
|
|
5
5
|
--neo-font-family : "Helvetica Neue", "Helvetica", "Arial", "Lucida Grande", sans-serif;
|
6
6
|
--neo-font-smoothing : antialiased;
|
7
7
|
}
|
8
|
+
|
9
|
+
@import "../../../resources/scss/theme-neo-light/design-tokens/_all.scss";
|
10
|
+
|
11
|
+
h1 {
|
12
|
+
color : var(--semantic-color-fg-contrast);
|
13
|
+
font-family : var(--core-fontfamily-sans);
|
14
|
+
font-size : var(--core-fontsize-h1);
|
15
|
+
font-weight : var(--core-fontweight-semibold);
|
16
|
+
letter-spacing : -0.02em;
|
17
|
+
line-height : var(--core-lineheight-headline);
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
h2 {
|
22
|
+
color : var(--semantic-color-fg-contrast);
|
23
|
+
font-family : var(--core-fontfamily-sans);
|
24
|
+
font-size : var(--core-fontsize-h2);
|
25
|
+
font-weight : var(--core-fontweight-semibold);
|
26
|
+
letter-spacing : -0.02em;
|
27
|
+
line-height : var(--core-lineheight-headline);
|
28
|
+
}
|
29
|
+
|
30
|
+
p {
|
31
|
+
color : var(--semantic-color-fg-default);
|
32
|
+
font-family : var(--core-fontfamily-sans);
|
33
|
+
font-size : var(--core-fontsize-body);
|
34
|
+
font-weight : var(--core-fontweight-regular);
|
35
|
+
line-height : var(--core-lineheight-paragraph);
|
36
|
+
}
|
37
|
+
|
38
|
+
// code {
|
39
|
+
// background-color: #ededed;
|
40
|
+
// border-radius : 2px;
|
41
|
+
// color : var(--semantic-color-fg-contrast);
|
42
|
+
// font-family : var(--core-fontfamily-mono);
|
43
|
+
// font-size : var(--core-fontsize-body);
|
44
|
+
// font-weight : var(--core-fontweight-regular);
|
45
|
+
// line-height : var(--core-lineheight-headline);
|
46
|
+
// padding : 2px 0.3em;
|
47
|
+
// }
|
48
|
+
|
49
|
+
mark {
|
50
|
+
background-color: #B8FCE3;
|
51
|
+
color : black;
|
52
|
+
padding : 0.1em 0.2em;
|
53
|
+
}
|
File without changes
|
package/src/DefaultConfig.mjs
CHANGED
@@ -153,12 +153,12 @@ const DefaultConfig = {
|
|
153
153
|
renderCountDeltas: false,
|
154
154
|
/**
|
155
155
|
* Add themes you want to use here. The first theme will get applied.
|
156
|
-
* @default ['neo-theme-light',
|
156
|
+
* @default ['neo-theme-light','neo-theme-dark','neo-theme-neo-light']
|
157
157
|
* @memberOf! module:Neo
|
158
158
|
* @name config.themes
|
159
159
|
* @type String[]
|
160
160
|
*/
|
161
|
-
themes: ['neo-theme-light', 'neo-theme-dark'],
|
161
|
+
themes: ['neo-theme-light', 'neo-theme-dark', 'neo-theme-neo-light'],
|
162
162
|
/**
|
163
163
|
* Flag for standalone Siesta module tests => prevent registerRemote worker messages
|
164
164
|
* @default false
|
@@ -236,12 +236,12 @@ const DefaultConfig = {
|
|
236
236
|
useVdomWorker: true,
|
237
237
|
/**
|
238
238
|
* buildScripts/injectPackageVersion.mjs will update this value
|
239
|
-
* @default '6.9.
|
239
|
+
* @default '6.9.11'
|
240
240
|
* @memberOf! module:Neo
|
241
241
|
* @name config.version
|
242
242
|
* @type String
|
243
243
|
*/
|
244
|
-
version: '6.9.
|
244
|
+
version: '6.9.11'
|
245
245
|
};
|
246
246
|
|
247
247
|
Object.assign(DefaultConfig, {
|
@@ -322,7 +322,8 @@ class FileUpload extends Base {
|
|
322
322
|
malwareFoundInFile : 'Malware found in file',
|
323
323
|
pleaseCheck : 'Please check the file and try again',
|
324
324
|
successfullyUploaded : 'Successfully uploaded',
|
325
|
-
fileWasDeleted : 'File was deleted'
|
325
|
+
fileWasDeleted : 'File was deleted',
|
326
|
+
fileIsInAnErrorState : 'File is in an error state'
|
326
327
|
}
|
327
328
|
|
328
329
|
/**
|
@@ -565,6 +566,7 @@ class FileUpload extends Base {
|
|
565
566
|
// saved, so we just go back to ready state
|
566
567
|
case 'upload-failed':
|
567
568
|
case 'scan-failed':
|
569
|
+
case 'error':
|
568
570
|
me.clear();
|
569
571
|
me.state = 'ready';
|
570
572
|
break;
|
@@ -729,7 +731,12 @@ class FileUpload extends Base {
|
|
729
731
|
case 'deleted':
|
730
732
|
status.innerHTML = me.fileWasDeleted;
|
731
733
|
isChangeEventNeeded = true;
|
732
|
-
|
734
|
+
break;
|
735
|
+
case 'error':
|
736
|
+
status.innerHTML = me.fileIsInAnErrorState;
|
737
|
+
me.error = me.pleaseCheck;
|
738
|
+
isChangeEventNeeded = true;
|
739
|
+
}
|
733
740
|
|
734
741
|
if (isChangeEventNeeded && oldValue !== undefined) {
|
735
742
|
me.fireChangeEvent(me.file)
|
@@ -32,7 +32,7 @@ class TextArea extends Text {
|
|
32
32
|
* any height of text. Bounds can be set using the `minHeight` and `maxHeight` settings.
|
33
33
|
* @member {Boolean} autoGrow=false
|
34
34
|
*/
|
35
|
-
|
35
|
+
autoGrow_ : false,
|
36
36
|
/**
|
37
37
|
* @member {String[]} baseCls=['neo-textarea','neo-textfield']
|
38
38
|
*/
|
@@ -74,6 +74,15 @@ class TextArea extends Text {
|
|
74
74
|
wrap_: null
|
75
75
|
}
|
76
76
|
|
77
|
+
afterSetAutoGrow(autoGrow) {
|
78
|
+
this.syncAutoGrowMonitor();
|
79
|
+
|
80
|
+
// Restore any configured height if autoGrow turned off
|
81
|
+
if (!autoGrow) {
|
82
|
+
this.afterSetHeight(this._height);
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
77
86
|
/**
|
78
87
|
* Triggered after the cols config got changed
|
79
88
|
* @param {Number|null} value
|
@@ -102,7 +111,7 @@ class TextArea extends Text {
|
|
102
111
|
*/
|
103
112
|
afterSetMounted(value, oldValue) {
|
104
113
|
super.afterSetMounted(value, oldValue);
|
105
|
-
this.
|
114
|
+
this.syncAutoGrowMonitor();
|
106
115
|
}
|
107
116
|
|
108
117
|
/**
|
@@ -143,7 +152,6 @@ class TextArea extends Text {
|
|
143
152
|
}
|
144
153
|
|
145
154
|
super.afterSetValue(value, oldValue);
|
146
|
-
this.syncAutoGrowHeight();
|
147
155
|
}
|
148
156
|
|
149
157
|
/**
|
@@ -167,37 +175,14 @@ class TextArea extends Text {
|
|
167
175
|
return this.beforeSetEnumValue(value, oldValue, 'wrap', 'wrapValues');
|
168
176
|
}
|
169
177
|
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
/**
|
180
|
-
* @protected
|
181
|
-
*/
|
182
|
-
async syncAutoGrowHeight() {
|
183
|
-
let me = this;
|
184
|
-
|
185
|
-
if (me.mounted && me.autoGrow) {
|
186
|
-
const
|
187
|
-
inputEl = me.getInputEl(),
|
188
|
-
dims = await Neo.main.DomAccess.getScrollingDimensions({
|
189
|
-
appName : me.appName,
|
190
|
-
id : me.getInputElId()
|
191
|
-
});
|
192
|
-
|
193
|
-
// We must not show the scrollbar when autoGrowing
|
194
|
-
inputEl.style.overflowY = 'hidden';
|
195
|
-
|
196
|
-
if (dims.scrollHeight > dims.clientHeight - 5) {
|
197
|
-
inputEl.height = dims.scrollHeight;
|
198
|
-
}
|
199
|
-
|
200
|
-
me.update();
|
178
|
+
async syncAutoGrowMonitor() {
|
179
|
+
if (this.mounted) {
|
180
|
+
// Delegate monitoring of sizes to the VDOM thread.
|
181
|
+
Neo.main.DomAccess.monitorAutoGrow({
|
182
|
+
appName : this.appName,
|
183
|
+
id : this.getInputElId(),
|
184
|
+
autoGrow : this.autoGrow
|
185
|
+
});
|
201
186
|
}
|
202
187
|
}
|
203
188
|
}
|
package/src/main/DomAccess.mjs
CHANGED
@@ -102,6 +102,7 @@ class DomAccess extends Base {
|
|
102
102
|
'getBoundingClientRect',
|
103
103
|
'getScrollingDimensions',
|
104
104
|
'measure',
|
105
|
+
'monitorAutoGrow',
|
105
106
|
'scrollBy',
|
106
107
|
'scrollIntoView',
|
107
108
|
'scrollTo',
|
@@ -582,6 +583,39 @@ class DomAccess extends Base {
|
|
582
583
|
return value;
|
583
584
|
}
|
584
585
|
|
586
|
+
/**
|
587
|
+
* Checks the overflow status of a TextAreaField's <textarea> element and updates the
|
588
|
+
* height so that there is never a vertical scrollbar.
|
589
|
+
* @param {Object} data
|
590
|
+
*/
|
591
|
+
async monitorAutoGrow(data) {
|
592
|
+
const
|
593
|
+
me = this,
|
594
|
+
target = data.subject = me.getElement(data.id);
|
595
|
+
|
596
|
+
// We need to update the height on every input event is autoGrow is truthy.
|
597
|
+
target[data.autoGrow ? 'addEventListener' : 'removeEventListener']('input', me.monitorAutoGrowHandler);
|
598
|
+
|
599
|
+
// Fix the height up immediately too
|
600
|
+
if (data.autoGrow) {
|
601
|
+
me.monitorAutoGrowHandler({
|
602
|
+
target
|
603
|
+
});
|
604
|
+
}
|
605
|
+
}
|
606
|
+
|
607
|
+
monitorAutoGrowHandler({ target }) {
|
608
|
+
const
|
609
|
+
{ style } = target,
|
610
|
+
{ style : inputStyle } = target.closest('.neo-textarea');
|
611
|
+
|
612
|
+
// Measure the scrollHeight when forced to overflow, then set height to encompass the scrollHeight
|
613
|
+
style.height = style.minHeight = 0;
|
614
|
+
inputStyle.setProperty('--textfield-input-height', `${target.scrollHeight + 5}px`);
|
615
|
+
inputStyle.setProperty('height', '');
|
616
|
+
style.height = style.minHeight = '';
|
617
|
+
}
|
618
|
+
|
585
619
|
/**
|
586
620
|
* @param {Array} mutations
|
587
621
|
*/
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|