ember-inspector 4.13.1-alpha.2024.8.8 → 4.13.1-alpha.2025.10.1
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/PRIVACY.md +3 -0
- package/README.md +10 -2
- package/app/components/app-picker.hbs +2 -2
- package/app/components/component-tree-item.hbs +14 -14
- package/app/components/component-tree-toolbar.hbs +17 -3
- package/app/components/{date-property-field.js → date-property-field.ts} +6 -5
- package/app/components/deprecation-item-source.hbs +1 -1
- package/app/components/deprecation-item.hbs +1 -1
- package/app/components/deprecations-toolbar.hbs +1 -1
- package/app/components/item-types.hbs +7 -7
- package/app/components/list-cell.hbs +3 -3
- package/app/components/list-content.hbs +4 -3
- package/app/components/list-content.ts +96 -0
- package/app/components/list.hbs +3 -3
- package/app/components/list.js +7 -7
- package/app/components/model-types-toolbar.hbs +3 -3
- package/app/components/object-inspector/component-parents.hbs +33 -0
- package/app/components/object-inspector/component-parents.js +43 -0
- package/app/components/object-inspector/dependent-keys.hbs +4 -4
- package/app/components/object-inspector/errors.hbs +4 -4
- package/app/components/object-inspector/properties-all.hbs +1 -1
- package/app/components/object-inspector/properties-base.js +2 -0
- package/app/components/object-inspector/properties-grouped.hbs +5 -5
- package/app/components/object-inspector/property.hbs +36 -34
- package/app/components/object-inspector/property.ts +34 -17
- package/app/components/object-inspector/sort-properties.js +12 -4
- package/app/components/object-inspector/toggle.hbs +9 -0
- package/app/components/object-inspector/toggle.js +6 -0
- package/app/components/object-inspector.hbs +11 -9
- package/app/components/object-inspector.js +1 -1
- package/app/components/promise-item.hbs +11 -11
- package/app/components/promise-item.js +8 -6
- package/app/components/promise-tree-toolbar.hbs +5 -5
- package/app/components/records-toolbar.hbs +2 -2
- package/app/components/render-item.hbs +4 -4
- package/app/components/render-item.ts +12 -9
- package/app/components/render-tree-toolbar.hbs +1 -1
- package/app/components/route-cell-name.hbs +1 -1
- package/app/components/route-cell-name.js +3 -2
- package/app/components/route-tree-toolbar.hbs +2 -2
- package/app/components/scroll-container.js +2 -0
- package/app/components/side-nav.hbs +5 -5
- package/app/components/side-nav.js +1 -1
- package/{lib/ui/addon/components → app/components/ui}/drag-handle.hbs +4 -4
- package/{lib/ui/addon/components → app/components/ui}/drag-handle.js +3 -1
- package/{lib/ui/addon/components → app/components/ui}/empty-message.hbs +1 -1
- package/{lib/ui/addon/components → app/components/ui}/error-page.hbs +3 -3
- package/{lib/ui/addon/components → app/components/ui}/resizable-column.js +1 -1
- package/{lib/ui/addon/components → app/components/ui}/toolbar-clear-button.hbs +1 -1
- package/{lib/ui/addon/components → app/components/ui}/toolbar-reload-button.hbs +1 -1
- package/{lib/ui/addon/components → app/components/ui}/toolbar-search-field.hbs +2 -2
- package/app/computed/{debounce.js → debounce.ts} +7 -5
- package/app/config/environment.d.ts +5 -2
- package/app/controllers/app-config.js +1 -0
- package/app/controllers/application.js +36 -71
- package/app/controllers/component-tree.js +26 -7
- package/app/controllers/container-type.js +2 -1
- package/app/controllers/container-types/{index.js → index.ts} +5 -2
- package/app/controllers/container-types.js +3 -6
- package/app/controllers/deprecations.js +16 -11
- package/app/controllers/libraries.js +1 -0
- package/app/controllers/model-types.js +1 -0
- package/app/controllers/promise-tree.ts +149 -0
- package/app/controllers/records.js +18 -26
- package/app/controllers/{render-tree.js → render-tree.ts} +54 -45
- package/app/controllers/route-tree.js +7 -5
- package/app/helpers/build-style.js +1 -1
- package/app/index.html +1 -19
- package/app/initializers/setup.js +1 -1
- package/app/libs/promise-assembler.ts +249 -0
- package/app/libs/resizable-columns.js +10 -10
- package/app/models/{promise.js → promise.ts} +72 -69
- package/app/{router.js → router.ts} +1 -1
- package/app/routes/app-detected.js +3 -5
- package/app/routes/application.js +9 -13
- package/app/routes/deprecations.js +7 -16
- package/app/routes/launch.js +2 -1
- package/app/routes/libraries.js +2 -1
- package/app/routes/model-type.js +2 -3
- package/app/routes/model-types.ts +57 -0
- package/app/routes/promise-tree.ts +63 -0
- package/app/routes/records.ts +78 -0
- package/app/routes/render-tree.ts +93 -0
- package/app/routes/route-tree.js +0 -1
- package/app/routes/{tab.js → tab.ts} +9 -2
- package/app/routes/whats-new.js +2 -2
- package/app/services/adapters/{basic.js → basic.ts} +36 -30
- package/app/services/adapters/{bookmarklet.js → bookmarklet.ts} +17 -24
- package/app/services/adapters/{chrome.js → chrome.ts} +1 -2
- package/app/services/adapters/{web-extension.js → web-extension.ts} +46 -46
- package/app/services/adapters/websocket.ts +40 -0
- package/app/services/layout.ts +124 -0
- package/app/services/port.ts +195 -0
- package/app/services/storage/{local.js → local.ts} +7 -20
- package/app/services/storage/{memory.js → memory.ts} +6 -21
- package/app/services/{storage.js → storage.ts} +9 -20
- package/app/styles/app.scss +1 -0
- package/app/styles/base.scss +6 -2
- package/app/styles/colors.scss +33 -31
- package/app/styles/component_tree.scss +56 -51
- package/app/styles/dropdown.scss +2 -2
- package/app/styles/ember-table.scss +3 -3
- package/app/styles/mixin.scss +26 -26
- package/app/styles/object_inspector.scss +30 -21
- package/{lib/ui/addon/styles → app/styles/ui}/_disclosure-triangle.scss +3 -1
- package/{lib/ui/addon/styles → app/styles/ui}/_drag-handle.scss +7 -7
- package/{lib/ui/addon/styles → app/styles/ui}/_empty-message.scss +1 -1
- package/{lib/ui/addon/styles → app/styles/ui}/_error-page.scss +8 -7
- package/{lib/ui/addon/styles → app/styles/ui}/_list.scss +46 -45
- package/{lib/ui/addon/styles → app/styles/ui}/_nav.scss +29 -27
- package/app/styles/ui/_object-inspector-toggle.scss +4 -0
- package/{lib/ui/addon/styles → app/styles/ui}/_pill.scss +4 -4
- package/{lib/ui/addon/styles → app/styles/ui}/_send-to-console.scss +1 -1
- package/{lib/ui/addon/styles → app/styles/ui}/_split.scss +26 -20
- package/app/styles/ui/_ui.scss +13 -0
- package/{lib/ui/addon/styles → app/styles/ui}/toolbar/_checkbox.scss +5 -5
- package/app/styles/ui/toolbar/_icon-button.scss +80 -0
- package/{lib/ui/addon/styles → app/styles/ui}/toolbar/_index.scss +6 -5
- package/{lib/ui/addon/styles → app/styles/ui}/toolbar/_radio.scss +10 -10
- package/{lib/ui/addon/styles → app/styles/ui}/toolbar/_search.scss +5 -3
- package/app/styles/utils.scss +408 -122
- package/app/templates/application.hbs +21 -19
- package/app/templates/component-tree.hbs +4 -1
- package/app/templates/deprecations.hbs +2 -3
- package/app/templates/info.hbs +10 -10
- package/app/templates/promise-tree.hbs +1 -1
- package/app/templates/render-tree.hbs +1 -1
- package/app/templates/route-tree.hbs +1 -1
- package/app/utils/escape-reg-exp.ts +3 -2
- package/app/utils/nullish.ts +7 -0
- package/app/utils/parse-text.ts +4 -5
- package/app/utils/truncate.js +0 -1
- package/config/ember-cli-update.json +5 -3
- package/config/ember-try.js +117 -72
- package/config/environment.js +1 -1
- package/config/optional-features.json +2 -1
- package/dist/bookmarklet/load_inspector.js +31 -11
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js +1135 -0
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.524.3530526ca8a0822af855.js +40 -0
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.582.0ae94a39ca88591dff80.js +42 -0
- package/dist/bookmarklet/panes-3-16-0/assets/ember-inspector.css +997 -156
- package/dist/bookmarklet/panes-3-16-0/assets/ember-inspector.js +557 -609
- package/dist/bookmarklet/panes-3-16-0/assets/svg/ellipsis.svg +3 -3
- package/dist/bookmarklet/panes-3-16-0/assets/svg/focus-point-round.svg +9 -0
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-bug.svg +1 -1
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-components.svg +2 -2
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-container.svg +1 -1
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-data.svg +1 -1
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-deprecations.svg +3 -3
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-info.svg +3 -3
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-promises.svg +2 -2
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-render-performance.svg +2 -2
- package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-route-tree.svg +7 -7
- package/dist/bookmarklet/panes-3-16-0/assets/svg/sidebar-toggle-trailing.svg +9 -0
- package/dist/bookmarklet/panes-3-16-0/assets/vendor.css +4 -841
- package/dist/bookmarklet/panes-3-16-0/assets/vendor.js +4277 -5152
- package/dist/bookmarklet/panes-3-16-0/base-object-HAEdWjmg.js +59 -0
- package/dist/bookmarklet/panes-3-16-0/basic-DfbgtngO.js +144 -0
- package/dist/bookmarklet/panes-3-16-0/basic-debug.js +6 -0
- package/dist/bookmarklet/panes-3-16-0/bookmarklet-debug.js +34 -0
- package/dist/bookmarklet/panes-3-16-0/chrome-debug.js +12 -0
- package/dist/bookmarklet/panes-3-16-0/ember.js +115 -0
- package/dist/bookmarklet/panes-3-16-0/ember_debug.js +24 -11011
- package/dist/bookmarklet/panes-3-16-0/evented-BCTya3yE.js +62 -0
- package/dist/bookmarklet/panes-3-16-0/firefox-debug.js +32 -0
- package/dist/bookmarklet/panes-3-16-0/index.html +4 -23
- package/dist/bookmarklet/panes-3-16-0/internals-CRmXMEzb.js +12 -0
- package/dist/bookmarklet/panes-3-16-0/main.js +7663 -0
- package/dist/bookmarklet/panes-3-16-0/port.js +108 -0
- package/dist/bookmarklet/panes-3-16-0/profile-node.js +60 -0
- package/dist/bookmarklet/panes-3-16-0/promise-assembler.js +218 -0
- package/dist/bookmarklet/panes-3-16-0/runloop-CF-Qpqgy.js +1138 -0
- package/dist/bookmarklet/panes-3-16-0/start-inspector-BPAW_WLv.js +376 -0
- package/dist/bookmarklet/panes-3-16-0/type-check.js +119 -0
- package/dist/bookmarklet/panes-3-16-0/version.js +90 -0
- package/dist/bookmarklet/panes-3-16-0/versions.js +4 -0
- package/dist/bookmarklet/panes-3-16-0/web-extension-C3pMNVSY.js +144 -0
- package/dist/bookmarklet/panes-3-16-0/websocket-debug.js +60 -0
- package/dist/chrome/background.js +26 -21
- package/dist/chrome/boot.js +1 -1
- package/dist/chrome/content-script.js +12 -11
- package/dist/chrome/devtools.js +12 -3
- package/dist/chrome/manifest.json +3 -3
- package/dist/chrome/options.js +17 -12
- package/dist/chrome/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js +1135 -0
- package/dist/chrome/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
- package/dist/chrome/panes-3-16-0/assets/chunk.524.3530526ca8a0822af855.js +40 -0
- package/dist/chrome/panes-3-16-0/assets/chunk.582.0ae94a39ca88591dff80.js +42 -0
- package/dist/chrome/panes-3-16-0/assets/ember-inspector.css +997 -156
- package/dist/chrome/panes-3-16-0/assets/ember-inspector.js +557 -609
- package/dist/chrome/panes-3-16-0/assets/svg/ellipsis.svg +3 -3
- package/dist/chrome/panes-3-16-0/assets/svg/focus-point-round.svg +9 -0
- package/dist/chrome/panes-3-16-0/assets/svg/nav-bug.svg +1 -1
- package/dist/chrome/panes-3-16-0/assets/svg/nav-components.svg +2 -2
- package/dist/chrome/panes-3-16-0/assets/svg/nav-container.svg +1 -1
- package/dist/chrome/panes-3-16-0/assets/svg/nav-data.svg +1 -1
- package/dist/chrome/panes-3-16-0/assets/svg/nav-deprecations.svg +3 -3
- package/dist/chrome/panes-3-16-0/assets/svg/nav-info.svg +3 -3
- package/dist/chrome/panes-3-16-0/assets/svg/nav-promises.svg +2 -2
- package/dist/chrome/panes-3-16-0/assets/svg/nav-render-performance.svg +2 -2
- package/dist/chrome/panes-3-16-0/assets/svg/nav-route-tree.svg +7 -7
- package/dist/chrome/panes-3-16-0/assets/svg/sidebar-toggle-trailing.svg +9 -0
- package/dist/chrome/panes-3-16-0/assets/vendor.css +4 -841
- package/dist/chrome/panes-3-16-0/assets/vendor.js +4277 -5152
- package/dist/chrome/panes-3-16-0/base-object-HAEdWjmg.js +59 -0
- package/dist/chrome/panes-3-16-0/basic-DfbgtngO.js +144 -0
- package/dist/chrome/panes-3-16-0/basic-debug.js +6 -0
- package/dist/chrome/panes-3-16-0/bookmarklet-debug.js +34 -0
- package/dist/chrome/panes-3-16-0/chrome-debug.js +12 -0
- package/dist/chrome/panes-3-16-0/ember.js +115 -0
- package/dist/chrome/panes-3-16-0/ember_debug.js +12 -11021
- package/dist/chrome/panes-3-16-0/evented-BCTya3yE.js +62 -0
- package/dist/chrome/panes-3-16-0/firefox-debug.js +32 -0
- package/dist/chrome/panes-3-16-0/index.html +4 -23
- package/dist/chrome/panes-3-16-0/internals-CRmXMEzb.js +12 -0
- package/dist/chrome/panes-3-16-0/main.js +7663 -0
- package/dist/chrome/panes-3-16-0/port.js +108 -0
- package/dist/chrome/panes-3-16-0/profile-node.js +60 -0
- package/dist/chrome/panes-3-16-0/promise-assembler.js +218 -0
- package/dist/chrome/panes-3-16-0/runloop-CF-Qpqgy.js +1138 -0
- package/dist/chrome/panes-3-16-0/start-inspector-BPAW_WLv.js +376 -0
- package/dist/chrome/panes-3-16-0/type-check.js +119 -0
- package/dist/chrome/panes-3-16-0/version.js +90 -0
- package/dist/chrome/panes-3-16-0/versions.js +4 -0
- package/dist/chrome/panes-3-16-0/web-extension-C3pMNVSY.js +144 -0
- package/dist/chrome/panes-3-16-0/websocket-debug.js +60 -0
- package/dist/chrome/scripts/in-page-script.js +19 -13
- package/dist/firefox/background.js +26 -21
- package/dist/firefox/boot.js +1 -1
- package/dist/firefox/content-script.js +12 -11
- package/dist/firefox/devtools.js +12 -3
- package/dist/firefox/manifest.json +3 -3
- package/dist/firefox/options.js +17 -12
- package/dist/firefox/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js +1135 -0
- package/dist/firefox/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
- package/dist/firefox/panes-3-16-0/assets/chunk.524.3530526ca8a0822af855.js +40 -0
- package/dist/firefox/panes-3-16-0/assets/chunk.582.0ae94a39ca88591dff80.js +42 -0
- package/dist/firefox/panes-3-16-0/assets/ember-inspector.css +997 -156
- package/dist/firefox/panes-3-16-0/assets/ember-inspector.js +557 -609
- package/dist/firefox/panes-3-16-0/assets/svg/ellipsis.svg +3 -3
- package/dist/firefox/panes-3-16-0/assets/svg/focus-point-round.svg +9 -0
- package/dist/firefox/panes-3-16-0/assets/svg/nav-bug.svg +1 -1
- package/dist/firefox/panes-3-16-0/assets/svg/nav-components.svg +2 -2
- package/dist/firefox/panes-3-16-0/assets/svg/nav-container.svg +1 -1
- package/dist/firefox/panes-3-16-0/assets/svg/nav-data.svg +1 -1
- package/dist/firefox/panes-3-16-0/assets/svg/nav-deprecations.svg +3 -3
- package/dist/firefox/panes-3-16-0/assets/svg/nav-info.svg +3 -3
- package/dist/firefox/panes-3-16-0/assets/svg/nav-promises.svg +2 -2
- package/dist/firefox/panes-3-16-0/assets/svg/nav-render-performance.svg +2 -2
- package/dist/firefox/panes-3-16-0/assets/svg/nav-route-tree.svg +7 -7
- package/dist/firefox/panes-3-16-0/assets/svg/sidebar-toggle-trailing.svg +9 -0
- package/dist/firefox/panes-3-16-0/assets/vendor.css +4 -841
- package/dist/firefox/panes-3-16-0/assets/vendor.js +4277 -5152
- package/dist/firefox/panes-3-16-0/base-object-HAEdWjmg.js +59 -0
- package/dist/firefox/panes-3-16-0/basic-DfbgtngO.js +144 -0
- package/dist/firefox/panes-3-16-0/basic-debug.js +6 -0
- package/dist/firefox/panes-3-16-0/bookmarklet-debug.js +34 -0
- package/dist/firefox/panes-3-16-0/chrome-debug.js +12 -0
- package/dist/firefox/panes-3-16-0/ember.js +115 -0
- package/dist/firefox/panes-3-16-0/ember_debug.js +27 -11016
- package/dist/firefox/panes-3-16-0/evented-BCTya3yE.js +62 -0
- package/dist/firefox/panes-3-16-0/firefox-debug.js +32 -0
- package/dist/firefox/panes-3-16-0/index.html +4 -23
- package/dist/firefox/panes-3-16-0/internals-CRmXMEzb.js +12 -0
- package/dist/firefox/panes-3-16-0/main.js +7663 -0
- package/dist/firefox/panes-3-16-0/port.js +108 -0
- package/dist/firefox/panes-3-16-0/profile-node.js +60 -0
- package/dist/firefox/panes-3-16-0/promise-assembler.js +218 -0
- package/dist/firefox/panes-3-16-0/runloop-CF-Qpqgy.js +1138 -0
- package/dist/firefox/panes-3-16-0/start-inspector-BPAW_WLv.js +376 -0
- package/dist/firefox/panes-3-16-0/type-check.js +119 -0
- package/dist/firefox/panes-3-16-0/version.js +90 -0
- package/dist/firefox/panes-3-16-0/versions.js +4 -0
- package/dist/firefox/panes-3-16-0/web-extension-C3pMNVSY.js +144 -0
- package/dist/firefox/panes-3-16-0/websocket-debug.js +60 -0
- package/dist/firefox/scripts/in-page-script.js +19 -13
- package/dist/websocket/assets/chunk.443.86a005e528b587663b78.js +1135 -0
- package/dist/websocket/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
- package/dist/websocket/assets/chunk.524.3530526ca8a0822af855.js +40 -0
- package/dist/websocket/assets/chunk.582.0ae94a39ca88591dff80.js +42 -0
- package/dist/websocket/assets/ember-inspector.css +997 -156
- package/dist/websocket/assets/ember-inspector.js +557 -609
- package/dist/websocket/assets/svg/ellipsis.svg +3 -3
- package/dist/websocket/assets/svg/focus-point-round.svg +9 -0
- package/dist/websocket/assets/svg/nav-bug.svg +1 -1
- package/dist/websocket/assets/svg/nav-components.svg +2 -2
- package/dist/websocket/assets/svg/nav-container.svg +1 -1
- package/dist/websocket/assets/svg/nav-data.svg +1 -1
- package/dist/websocket/assets/svg/nav-deprecations.svg +3 -3
- package/dist/websocket/assets/svg/nav-info.svg +3 -3
- package/dist/websocket/assets/svg/nav-promises.svg +2 -2
- package/dist/websocket/assets/svg/nav-render-performance.svg +2 -2
- package/dist/websocket/assets/svg/nav-route-tree.svg +7 -7
- package/dist/websocket/assets/svg/sidebar-toggle-trailing.svg +9 -0
- package/dist/websocket/assets/vendor.css +4 -841
- package/dist/websocket/assets/vendor.js +4277 -5152
- package/dist/websocket/base-object-HAEdWjmg.js +59 -0
- package/dist/websocket/basic-DfbgtngO.js +144 -0
- package/dist/websocket/basic-debug.js +6 -0
- package/dist/websocket/bookmarklet-debug.js +34 -0
- package/dist/websocket/chrome-debug.js +12 -0
- package/dist/websocket/ember.js +115 -0
- package/dist/websocket/ember_debug.js +48 -11009
- package/dist/websocket/evented-BCTya3yE.js +62 -0
- package/dist/websocket/firefox-debug.js +32 -0
- package/dist/websocket/index.html +4 -23
- package/dist/websocket/internals-CRmXMEzb.js +12 -0
- package/dist/websocket/main.js +7663 -0
- package/dist/websocket/port.js +108 -0
- package/dist/websocket/profile-node.js +60 -0
- package/dist/websocket/promise-assembler.js +218 -0
- package/dist/websocket/runloop-CF-Qpqgy.js +1138 -0
- package/dist/websocket/start-inspector-BPAW_WLv.js +376 -0
- package/dist/websocket/type-check.js +119 -0
- package/dist/websocket/version.js +90 -0
- package/dist/websocket/versions.js +4 -0
- package/dist/websocket/web-extension-C3pMNVSY.js +144 -0
- package/dist/websocket/websocket-debug.js +60 -0
- package/ember-cli-build.js +31 -140
- package/ember_debug/adapters/basic.js +10 -29
- package/ember_debug/adapters/bookmarklet.js +1 -0
- package/ember_debug/adapters/firefox.js +3 -3
- package/ember_debug/adapters/web-extension.js +6 -5
- package/ember_debug/adapters/websocket.js +2 -2
- package/ember_debug/babel.config.cjs +11 -0
- package/ember_debug/container-debug.js +1 -1
- package/ember_debug/data-debug.js +7 -8
- package/ember_debug/debug-port.js +1 -1
- package/ember_debug/deprecation-debug.js +14 -14
- package/ember_debug/entrypoints/basic-debug.js +6 -0
- package/ember_debug/entrypoints/bookmarklet-debug.js +6 -0
- package/ember_debug/entrypoints/chrome-debug.js +6 -0
- package/ember_debug/entrypoints/firefox-debug.js +6 -0
- package/ember_debug/entrypoints/websocket-debug.js +6 -0
- package/ember_debug/general-debug.js +4 -4
- package/ember_debug/lib/boot-ember-inspector.js +9 -0
- package/ember_debug/lib/get-applications.js +27 -0
- package/ember_debug/lib/load-ember-debug-in-webpage.js +30 -0
- package/ember_debug/lib/send-apps.js +14 -0
- package/ember_debug/lib/send-version-miss.js +39 -0
- package/ember_debug/lib/setup-instance-initializer.js +16 -0
- package/ember_debug/lib/start-inspector.js +211 -0
- package/ember_debug/lib/version-test.js +73 -0
- package/ember_debug/lib/versions.js +3 -0
- package/ember_debug/libs/capture-render-tree.js +1 -2
- package/ember_debug/libs/promise-assembler.js +5 -4
- package/ember_debug/libs/render-tree.js +37 -44
- package/ember_debug/libs/source-map.js +7 -6
- package/ember_debug/libs/view-inspection.js +25 -17
- package/ember_debug/main.js +18 -21
- package/ember_debug/models/profile-manager.js +6 -6
- package/ember_debug/models/profile-node.js +1 -1
- package/ember_debug/models/promise.js +2 -2
- package/ember_debug/object-inspector.js +71 -65
- package/ember_debug/package.json +27 -0
- package/ember_debug/port.js +5 -4
- package/ember_debug/promise-debug.js +5 -5
- package/ember_debug/render-debug.js +5 -5
- package/ember_debug/rollup.config.js +24 -0
- package/ember_debug/route-debug.js +10 -9
- package/ember_debug/services/session.js +2 -2
- package/ember_debug/utils/classify.js +1 -1
- package/ember_debug/utils/ember/object/internals.js +1 -11
- package/ember_debug/utils/ember/own-runloop.js +1 -1
- package/ember_debug/utils/ember/runloop.js +7 -10
- package/ember_debug/utils/ember-object-names.js +7 -8
- package/ember_debug/utils/ember.js +120 -14
- package/ember_debug/utils/evented.js +1 -1
- package/ember_debug/utils/get-object-name.js +3 -3
- package/ember_debug/utils/type-check.js +9 -5
- package/ember_debug/view-debug.js +12 -6
- package/eslint.config.mjs +173 -0
- package/gulpfile.js +1 -1
- package/package.json +97 -95
- package/pnpm-workspace.yaml +3 -0
- package/public/assets/svg/ellipsis.svg +3 -3
- package/public/assets/svg/focus-point-round.svg +9 -0
- package/public/assets/svg/nav-bug.svg +1 -1
- package/public/assets/svg/nav-components.svg +2 -2
- package/public/assets/svg/nav-container.svg +1 -1
- package/public/assets/svg/nav-data.svg +1 -1
- package/public/assets/svg/nav-deprecations.svg +3 -3
- package/public/assets/svg/nav-info.svg +3 -3
- package/public/assets/svg/nav-promises.svg +2 -2
- package/public/assets/svg/nav-render-performance.svg +2 -2
- package/public/assets/svg/nav-route-tree.svg +7 -7
- package/public/assets/svg/sidebar-toggle-trailing.svg +9 -0
- package/scripts/download-panes.js +1 -1
- package/skeletons/bookmarklet/load_inspector.js +31 -11
- package/skeletons/web-extension/background.js +26 -21
- package/skeletons/web-extension/boot.js +1 -1
- package/skeletons/web-extension/content-script.js +12 -11
- package/skeletons/web-extension/devtools.js +12 -3
- package/skeletons/web-extension/manifest.json +3 -3
- package/skeletons/web-extension/options.js +17 -12
- package/skeletons/web-extension/scripts/in-page-script.js +19 -13
- package/testem.js +0 -1
- package/tests/acceptance/app-picker-test.js +4 -4
- package/tests/acceptance/component-tree-test.js +96 -57
- package/tests/acceptance/container-test.js +0 -2
- package/tests/acceptance/data-test.js +8 -10
- package/tests/acceptance/deprecation-test.js +8 -12
- package/tests/acceptance/info-test.js +2 -2
- package/tests/acceptance/object-inspector-test.js +62 -110
- package/tests/acceptance/promise-test.js +1 -11
- package/tests/acceptance/render-tree-test.js +2 -2
- package/tests/acceptance/route-tree-test.js +12 -14
- package/tests/acceptance/whats-new-test.js +4 -4
- package/tests/ember_debug/container-debug-test.js +4 -4
- package/tests/ember_debug/deprecation-debug-test.js +8 -5
- package/tests/ember_debug/ember-debug-test.js +1 -4
- package/tests/ember_debug/object-inspector-test.js +108 -49
- package/tests/ember_debug/profile-manager-test.js +142 -169
- package/tests/ember_debug/profile-node-test.js +4 -4
- package/tests/ember_debug/promise-assembler-test.js +13 -10
- package/tests/ember_debug/promise-debug-test.js +5 -6
- package/tests/ember_debug/route-debug-test.js +8 -7
- package/tests/ember_debug/view-debug-test.js +257 -182
- package/tests/helpers/{index.js → index.ts} +6 -5
- package/tests/helpers/setup-ember-debug-test.js +14 -0
- package/tests/index.html +1 -2
- package/tests/integration/injection-test.js +14 -15
- package/tests/test-adapter.js +15 -15
- package/tests/test-helper.js +6 -4
- package/tests/unit/check-current-route-test.js +0 -4
- package/tests/unit/resizable-columns-test.js +53 -51
- package/tests/unit/utils/parse-text-test.js +3 -3
- package/tests/unit/utils/search-match-test.js +5 -5
- package/tests/unit/utils/type-check-test.js +22 -0
- package/tsconfig.json +3 -1
- package/types/ember-inspector/index.d.ts +2 -1
- package/types/global.d.ts +1 -7
- package/.editorconfig +0 -19
- package/.ember-cli +0 -15
- package/.eslintignore +0 -33
- package/.eslintrc.js +0 -86
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -30
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/dependabot.yml +0 -14
- package/.github/pull_request_template.md +0 -4
- package/.github/workflows/build.yml +0 -339
- package/.github/workflows/plan-release.yml +0 -83
- package/.github/workflows/publish.yml +0 -60
- package/.prettierignore +0 -25
- package/.prettierrc.js +0 -14
- package/.release-plan.json +0 -17
- package/.stylelintrc.js +0 -3
- package/.template-lintrc.js +0 -12
- package/.tool-versions +0 -2
- package/.watchmanconfig +0 -3
- package/app/components/.gitkeep +0 -0
- package/app/components/list-content.js +0 -130
- package/app/controllers/.gitkeep +0 -0
- package/app/controllers/promise-tree.js +0 -130
- package/app/helpers/.gitkeep +0 -0
- package/app/libs/promise-assembler.js +0 -169
- package/app/models/.gitkeep +0 -0
- package/app/routes/.gitkeep +0 -0
- package/app/routes/model-types.js +0 -47
- package/app/routes/promise-tree.js +0 -48
- package/app/routes/records.js +0 -55
- package/app/routes/render-tree.js +0 -66
- package/app/services/adapters/websocket.js +0 -31
- package/app/services/layout.js +0 -39
- package/app/services/port.js +0 -90
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.143.152107b52f1d9b56abd2.js +0 -28
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.178.fd17fd3a54b4e3a24554.js +0 -9
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
- package/dist/bookmarklet/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
- package/dist/bookmarklet/panes-3-16-0/assets/fonts/Inter-Bold.woff +0 -0
- package/dist/bookmarklet/panes-3-16-0/assets/fonts/Inter-Bold.woff2 +0 -0
- package/dist/bookmarklet/panes-3-16-0/assets/fonts/Inter-Regular.woff +0 -0
- package/dist/bookmarklet/panes-3-16-0/assets/fonts/Inter-Regular.woff2 +0 -0
- package/dist/chrome/panes-3-16-0/assets/chunk.143.152107b52f1d9b56abd2.js +0 -28
- package/dist/chrome/panes-3-16-0/assets/chunk.178.fd17fd3a54b4e3a24554.js +0 -9
- package/dist/chrome/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
- package/dist/chrome/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
- package/dist/chrome/panes-3-16-0/assets/fonts/Inter-Bold.woff +0 -0
- package/dist/chrome/panes-3-16-0/assets/fonts/Inter-Bold.woff2 +0 -0
- package/dist/chrome/panes-3-16-0/assets/fonts/Inter-Regular.woff +0 -0
- package/dist/chrome/panes-3-16-0/assets/fonts/Inter-Regular.woff2 +0 -0
- package/dist/firefox/panes-3-16-0/assets/chunk.143.152107b52f1d9b56abd2.js +0 -28
- package/dist/firefox/panes-3-16-0/assets/chunk.178.fd17fd3a54b4e3a24554.js +0 -9
- package/dist/firefox/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
- package/dist/firefox/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
- package/dist/firefox/panes-3-16-0/assets/fonts/Inter-Bold.woff +0 -0
- package/dist/firefox/panes-3-16-0/assets/fonts/Inter-Bold.woff2 +0 -0
- package/dist/firefox/panes-3-16-0/assets/fonts/Inter-Regular.woff +0 -0
- package/dist/firefox/panes-3-16-0/assets/fonts/Inter-Regular.woff2 +0 -0
- package/dist/websocket/assets/chunk.143.152107b52f1d9b56abd2.js +0 -28
- package/dist/websocket/assets/chunk.178.fd17fd3a54b4e3a24554.js +0 -9
- package/dist/websocket/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
- package/dist/websocket/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
- package/dist/websocket/assets/fonts/Inter-Bold.woff +0 -0
- package/dist/websocket/assets/fonts/Inter-Bold.woff2 +0 -0
- package/dist/websocket/assets/fonts/Inter-Regular.woff +0 -0
- package/dist/websocket/assets/fonts/Inter-Regular.woff2 +0 -0
- package/ember_debug/.eslintrc.js +0 -13
- package/ember_debug/utils/ember/debug.js +0 -20
- package/ember_debug/utils/ember/instrumentation.js +0 -11
- package/ember_debug/utils/ember/loader.js +0 -22
- package/ember_debug/utils/rsvp.js +0 -20
- package/ember_debug/vendor/loader.js +0 -54
- package/ember_debug/vendor/startup-wrapper.js +0 -399
- package/lib/ui/addon/styles/_object-inspector-toggle.scss +0 -12
- package/lib/ui/addon/styles/addon.scss +0 -13
- package/lib/ui/addon/styles/toolbar/_icon-button.scss +0 -61
- package/lib/ui/app/components/ui/disclosure-triangle.js +0 -1
- package/lib/ui/app/components/ui/disclosure.js +0 -1
- package/lib/ui/app/components/ui/drag-handle.js +0 -1
- package/lib/ui/app/components/ui/draggable-column.js +0 -1
- package/lib/ui/app/components/ui/empty-message.js +0 -1
- package/lib/ui/app/components/ui/error-page.js +0 -1
- package/lib/ui/app/components/ui/open-links-in-new-window.js +0 -1
- package/lib/ui/app/components/ui/resizable-column.js +0 -1
- package/lib/ui/app/components/ui/send-to-console.js +0 -1
- package/lib/ui/app/components/ui/toolbar-clear-button.js +0 -1
- package/lib/ui/app/components/ui/toolbar-divider.js +0 -1
- package/lib/ui/app/components/ui/toolbar-reload-button.js +0 -1
- package/lib/ui/app/components/ui/toolbar-search-field.js +0 -1
- package/lib/ui/app/components/ui/warning-message.js +0 -1
- package/lib/ui/index.js +0 -34
- package/lib/ui/package.json +0 -13
- package/public/assets/fonts/Inter-Bold.woff +0 -0
- package/public/assets/fonts/Inter-Bold.woff2 +0 -0
- package/public/assets/fonts/Inter-Regular.woff +0 -0
- package/public/assets/fonts/Inter-Regular.woff2 +0 -0
- package/tests/helpers/trigger-port.js +0 -6
- package/tests/unit/.gitkeep +0 -0
- /package/app/{app.js → app.ts} +0 -0
- /package/{lib/ui/addon/components → app/components/ui}/disclosure-triangle.hbs +0 -0
- /package/{lib/ui/addon/components → app/components/ui}/disclosure.hbs +0 -0
- /package/{lib/ui/addon/components → app/components/ui}/disclosure.js +0 -0
- /package/{lib/ui/addon/components → app/components/ui}/draggable-column.hbs +0 -0
- /package/{lib/ui/addon/components → app/components/ui}/draggable-column.js +0 -0
- /package/{lib/ui/addon/components → app/components/ui}/open-links-in-new-window.hbs +0 -0
- /package/{lib/ui/addon/components → app/components/ui}/open-links-in-new-window.js +0 -0
- /package/{lib/ui/addon/components → app/components/ui}/resizable-column.hbs +0 -0
- /package/{lib/ui/addon/components → app/components/ui}/send-to-console.hbs +0 -0
- /package/{lib/ui/addon/components → app/components/ui}/toolbar-divider.hbs +0 -0
- /package/{lib/ui/addon/components → app/components/ui}/toolbar-search-field.js +0 -0
- /package/{lib/ui/addon/components → app/components/ui}/warning-message.hbs +0 -0
- /package/app/controllers/{info.js → info.ts} +0 -0
- /package/app/services/adapters/{firefox.js → firefox.ts} +0 -0
- /package/{lib/ui/addon/styles → app/styles/ui}/_goto-source.scss +0 -0
- /package/{lib/ui/addon/styles → app/styles/ui}/_warning.scss +0 -0
- /package/{lib/ui/addon/styles → app/styles/ui}/toolbar/_divider.scss +0 -0
|
@@ -1,67 +1,56 @@
|
|
|
1
1
|
import Service, { inject as service } from '@ember/service';
|
|
2
2
|
import { LOCAL_STORAGE_SUPPORTED } from './storage/local';
|
|
3
|
+
import type LocalStorageService from './storage/local';
|
|
4
|
+
import type MemoryStorageService from './storage/memory';
|
|
3
5
|
|
|
4
6
|
/**
|
|
5
7
|
* Service that wraps either the LocalStorageService or
|
|
6
8
|
* MemoryStorageService (depending on availability) and
|
|
7
9
|
* provide support for storing (JSON-serializable) objects
|
|
8
10
|
* on top of the lower level backends.
|
|
9
|
-
*
|
|
10
|
-
* @class StorageService
|
|
11
|
-
* @extends Service
|
|
12
11
|
*/
|
|
13
12
|
export default class StorageService extends Service {
|
|
14
13
|
@service(LOCAL_STORAGE_SUPPORTED ? 'storage/local' : 'storage/memory')
|
|
15
|
-
backend;
|
|
14
|
+
declare backend: LocalStorageService | MemoryStorageService;
|
|
16
15
|
|
|
17
16
|
/**
|
|
18
17
|
* Reads a stored object for a give key, if any.
|
|
19
18
|
*
|
|
20
|
-
* @method getItem
|
|
21
|
-
* @param {String} key
|
|
22
19
|
* @return {Option<String>} The value, if found
|
|
23
20
|
*/
|
|
24
|
-
getItem(key) {
|
|
25
|
-
|
|
21
|
+
getItem(key: keyof object) {
|
|
22
|
+
const serialized = this.backend.getItem(key);
|
|
26
23
|
|
|
27
24
|
if (serialized === null) {
|
|
28
25
|
// Actual `null` values would have been serialized as `"null"`
|
|
29
26
|
return undefined;
|
|
30
27
|
} else {
|
|
31
|
-
return JSON.parse(serialized);
|
|
28
|
+
return JSON.parse(serialized as string) as string;
|
|
32
29
|
}
|
|
33
30
|
}
|
|
34
31
|
|
|
35
32
|
/**
|
|
36
33
|
* Store a string for a given key.
|
|
37
|
-
*
|
|
38
|
-
* @method setItem
|
|
39
|
-
* @param {String} key
|
|
40
|
-
* @param {String} value
|
|
41
34
|
*/
|
|
42
|
-
setItem(key, value) {
|
|
35
|
+
setItem(key: keyof object, value: string) {
|
|
43
36
|
if (value === undefined) {
|
|
44
37
|
this.removeItem(key);
|
|
45
38
|
} else {
|
|
46
|
-
|
|
39
|
+
const serialized = JSON.stringify(value);
|
|
47
40
|
this.backend.setItem(key, serialized);
|
|
48
41
|
}
|
|
49
42
|
}
|
|
50
43
|
|
|
51
44
|
/**
|
|
52
45
|
* Deletes the stored string for a given key.
|
|
53
|
-
*
|
|
54
|
-
* @method removeItem
|
|
55
|
-
* @param {String} key
|
|
56
46
|
*/
|
|
57
|
-
removeItem(key) {
|
|
47
|
+
removeItem(key: keyof object) {
|
|
58
48
|
this.backend.removeItem(key);
|
|
59
49
|
}
|
|
60
50
|
|
|
61
51
|
/**
|
|
62
52
|
* Returns the list of stored keys.
|
|
63
53
|
*
|
|
64
|
-
* @method keys
|
|
65
54
|
* @return {Array<String>} The array of keys
|
|
66
55
|
*/
|
|
67
56
|
keys() {
|
package/app/styles/app.scss
CHANGED
package/app/styles/base.scss
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
/* stylelint-disable value-keyword-case */
|
|
3
|
-
--font-sans-serif:
|
|
4
|
-
|
|
3
|
+
--font-sans-serif: system-ui, sans-serif, "Apple Color Emoji",
|
|
4
|
+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
5
|
+
--font-monospace: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo,
|
|
6
|
+
Consolas, "DejaVu Sans Mono", monospace, "Apple Color Emoji",
|
|
7
|
+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
5
8
|
/* stylelint-enable value-keyword-case */
|
|
9
|
+
|
|
6
10
|
--inherit: inherit;
|
|
7
11
|
--unit0: 0;
|
|
8
12
|
--unit1: 4px;
|
package/app/styles/colors.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.theme
|
|
1
|
+
.theme-light {
|
|
2
2
|
// Base
|
|
3
3
|
--base00: #ffffff;
|
|
4
4
|
--base01: #f3f3f3;
|
|
@@ -16,12 +16,13 @@
|
|
|
16
16
|
--base13: #404040;
|
|
17
17
|
--base14: #333333;
|
|
18
18
|
--base15: #222222;
|
|
19
|
+
|
|
19
20
|
// Spec
|
|
20
21
|
--spec00: #fffec2;
|
|
21
22
|
--spec01: #ff0000;
|
|
22
23
|
--spec02: #990000;
|
|
23
24
|
--spec03: #000099;
|
|
24
|
-
--spec04: #
|
|
25
|
+
--spec04: #3f81ee;
|
|
25
26
|
--spec05: #7c027c;
|
|
26
27
|
--spec06: #ecf1fa;
|
|
27
28
|
--spec07: #cd61a7;
|
|
@@ -30,58 +31,59 @@
|
|
|
30
31
|
--white: #ffffff;
|
|
31
32
|
--inherit: inherit;
|
|
32
33
|
--transparent: transparent;
|
|
33
|
-
--focus: #
|
|
34
|
+
--focus: #3f81ee;
|
|
34
35
|
--focus-text: var(--white);
|
|
35
|
-
--component-name: #
|
|
36
|
-
--component-brackets-selected:
|
|
37
|
-
--component-attr: #
|
|
38
|
-
--component-highlighted-bg: #
|
|
39
|
-
--pill-bg:
|
|
40
|
-
--pill-bg-active:
|
|
36
|
+
--component-name: #1171e8;
|
|
37
|
+
--component-brackets-selected: rgb(255 255 255 / 40%);
|
|
38
|
+
--component-attr: #db00a9;
|
|
39
|
+
--component-highlighted-bg: #f2f2f3;
|
|
40
|
+
--pill-bg: rgb(0 0 0 / 10%);
|
|
41
|
+
--pill-bg-active: rgb(255 255 255 / 30%);
|
|
41
42
|
--warning-text: #735c0f;
|
|
42
43
|
--tracked-icon-bg: var(--spec03);
|
|
43
44
|
}
|
|
44
45
|
|
|
45
|
-
.theme
|
|
46
|
+
.theme-dark {
|
|
46
47
|
// Base
|
|
47
48
|
--base00: #242424;
|
|
48
49
|
--base01: #242424;
|
|
49
50
|
--base02: #121212;
|
|
50
51
|
--base03: #292929;
|
|
51
|
-
--base04: #
|
|
52
|
+
--base04: #2e2e2e;
|
|
52
53
|
--base05: #353535;
|
|
53
|
-
--base06: #
|
|
54
|
-
--base07: #
|
|
54
|
+
--base06: #4c4c4c;
|
|
55
|
+
--base07: #5c5c5c;
|
|
55
56
|
--base08: #777777;
|
|
56
57
|
--base09: #888888;
|
|
57
|
-
--base10: #
|
|
58
|
+
--base10: #8c8c8c;
|
|
58
59
|
--base11: #989898;
|
|
59
|
-
--base12: #
|
|
60
|
-
--base13: #
|
|
61
|
-
--base14: #
|
|
62
|
-
--base15: #
|
|
60
|
+
--base12: #aaaaaa;
|
|
61
|
+
--base13: #bfbfbf;
|
|
62
|
+
--base14: #cccccc;
|
|
63
|
+
--base15: #dddddd;
|
|
64
|
+
|
|
63
65
|
// Spec
|
|
64
|
-
--spec00: #
|
|
65
|
-
--spec01: #
|
|
66
|
-
--spec02: #
|
|
67
|
-
--spec03: #
|
|
68
|
-
--spec04: #
|
|
69
|
-
--spec05: #
|
|
70
|
-
--spec06: #
|
|
66
|
+
--spec00: #00013d;
|
|
67
|
+
--spec01: #00ffff;
|
|
68
|
+
--spec02: #66ffff;
|
|
69
|
+
--spec03: #ffff66;
|
|
70
|
+
--spec04: #c07e11;
|
|
71
|
+
--spec05: #83fd83;
|
|
72
|
+
--spec06: #130e05;
|
|
71
73
|
--spec07: #cd61a7;
|
|
72
74
|
--spec08: #7fb56d;
|
|
73
75
|
--spec09: #328509;
|
|
74
76
|
--white: #ffffff;
|
|
75
77
|
--inherit: inherit;
|
|
76
78
|
--transparent: transparent;
|
|
77
|
-
--focus: #
|
|
79
|
+
--focus: #2270ec;
|
|
78
80
|
--focus-text: var(--white);
|
|
79
|
-
--component-name: #
|
|
80
|
-
--component-brackets-selected:
|
|
81
|
-
--component-attr: #
|
|
81
|
+
--component-name: #77beff;
|
|
82
|
+
--component-brackets-selected: rgb(255 255 255 / 40%);
|
|
83
|
+
--component-attr: #fe7ae9;
|
|
82
84
|
--component-highlighted-bg: #333333;
|
|
83
|
-
--pill-bg:
|
|
84
|
-
--pill-bg-active:
|
|
85
|
+
--pill-bg: rgb(255 255 255 / 20%);
|
|
86
|
+
--pill-bg-active: rgb(255 255 255 / 30%);
|
|
85
87
|
--warning-text: #8ca3f0;
|
|
86
88
|
--tracked-icon-bg: #5e5eb5;
|
|
87
89
|
}
|
|
@@ -3,37 +3,34 @@
|
|
|
3
3
|
font-size: 1.2rem;
|
|
4
4
|
min-height: 22px;
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
&-actions {
|
|
7
7
|
min-height: 22px;
|
|
8
8
|
opacity: 0;
|
|
9
9
|
right: var(--unit1);
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* -actions is position:sticky so it is always visible and on top.
|
|
13
13
|
* Due to margins and padding on various elements, it was
|
|
14
|
-
* difficult to keep the background of
|
|
14
|
+
* difficult to keep the background of -actions on top
|
|
15
15
|
* of .tree-item text and align with the .tree-item background.
|
|
16
|
-
* This pseudo element is 100% of the width of
|
|
16
|
+
* This pseudo element is 100% of the width of -actions plus
|
|
17
17
|
* a little extra to guarantee alignment.
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
&::after {
|
|
20
20
|
border-bottom-right-radius: var(--unit1);
|
|
21
21
|
border-top-right-radius: var(--unit1);
|
|
22
|
-
|
|
23
|
-
content:
|
|
24
|
-
left: calc(var(--unit1) * -1);
|
|
22
|
+
inset: 0 calc(var(--unit1) * -1);
|
|
23
|
+
content: "";
|
|
25
24
|
position: absolute;
|
|
26
|
-
right: calc(var(--unit1) * -1);
|
|
27
|
-
top: 0;
|
|
28
25
|
}
|
|
29
26
|
|
|
30
27
|
/**
|
|
31
|
-
*
|
|
28
|
+
* -actions is position:sticky so it is always visible and on top.
|
|
32
29
|
* :before is a gradient to soften the edge when overlaying text.
|
|
33
30
|
*/
|
|
34
|
-
|
|
31
|
+
&::before {
|
|
35
32
|
bottom: 0;
|
|
36
|
-
content:
|
|
33
|
+
content: "";
|
|
37
34
|
left: calc(var(--unit3) * -1);
|
|
38
35
|
position: absolute;
|
|
39
36
|
top: 0;
|
|
@@ -41,7 +38,7 @@
|
|
|
41
38
|
}
|
|
42
39
|
}
|
|
43
40
|
|
|
44
|
-
|
|
41
|
+
&-action {
|
|
45
42
|
&:focus {
|
|
46
43
|
outline: none;
|
|
47
44
|
}
|
|
@@ -71,21 +68,25 @@
|
|
|
71
68
|
background-color: var(--component-highlighted-bg);
|
|
72
69
|
}
|
|
73
70
|
|
|
74
|
-
.component-tree-
|
|
71
|
+
.component-tree-item-actions {
|
|
75
72
|
opacity: 1;
|
|
76
73
|
|
|
77
|
-
|
|
74
|
+
&::after {
|
|
78
75
|
background-color: var(--component-highlighted-bg);
|
|
79
76
|
}
|
|
80
77
|
|
|
81
|
-
|
|
82
|
-
background: linear-gradient(
|
|
78
|
+
&::before {
|
|
79
|
+
background: linear-gradient(
|
|
80
|
+
to right,
|
|
81
|
+
var(--transparent),
|
|
82
|
+
var(--component-highlighted-bg) 75%
|
|
83
|
+
);
|
|
83
84
|
}
|
|
84
85
|
}
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
88
|
|
|
88
|
-
.component-tree-
|
|
89
|
+
.component-tree-item-tag {
|
|
89
90
|
.component-name {
|
|
90
91
|
color: var(--component-name);
|
|
91
92
|
}
|
|
@@ -120,12 +121,12 @@
|
|
|
120
121
|
* highlighted - the component currently being previewed
|
|
121
122
|
*/
|
|
122
123
|
|
|
123
|
-
.component-tree-item.component-tree-item
|
|
124
|
+
.component-tree-item.component-tree-item-highlighted {
|
|
124
125
|
background-color: var(--component-highlighted-bg);
|
|
125
126
|
border-radius: 0;
|
|
126
127
|
}
|
|
127
128
|
|
|
128
|
-
.component-tree-item
|
|
129
|
+
.component-tree-item-pinned .component-tree-item-tag {
|
|
129
130
|
.component-name,
|
|
130
131
|
.bracket-token,
|
|
131
132
|
.key-token,
|
|
@@ -134,44 +135,44 @@
|
|
|
134
135
|
}
|
|
135
136
|
}
|
|
136
137
|
|
|
137
|
-
.component-tree-
|
|
138
|
-
.component-tree-
|
|
139
|
-
.component-tree-item-
|
|
140
|
-
.component-tree-item-
|
|
138
|
+
.component-tree-item-bracket::before,
|
|
139
|
+
.component-tree-item-bracket::after,
|
|
140
|
+
.component-tree-item-classic-bracket::before,
|
|
141
|
+
.component-tree-item-classic-bracket::after {
|
|
141
142
|
color: var(--base09);
|
|
142
143
|
}
|
|
143
144
|
|
|
144
|
-
.component-tree-
|
|
145
|
-
content:
|
|
145
|
+
.component-tree-item-has-modifier::after {
|
|
146
|
+
content: "" !important;
|
|
146
147
|
}
|
|
147
148
|
|
|
148
|
-
.component-tree-
|
|
149
|
-
content:
|
|
149
|
+
.component-tree-item-closing::before {
|
|
150
|
+
content: ">";
|
|
150
151
|
margin-left: -13px;
|
|
151
152
|
}
|
|
152
153
|
|
|
153
|
-
.component-tree-
|
|
154
|
-
content:
|
|
154
|
+
.component-tree-item-self-closing::before {
|
|
155
|
+
content: "/>";
|
|
155
156
|
}
|
|
156
157
|
|
|
157
|
-
.component-tree-
|
|
158
|
-
content:
|
|
158
|
+
.component-tree-item-bracket::before {
|
|
159
|
+
content: "<";
|
|
159
160
|
}
|
|
160
161
|
|
|
161
|
-
.component-tree-
|
|
162
|
-
content:
|
|
162
|
+
.component-tree-item-bracket::after {
|
|
163
|
+
content: ">";
|
|
163
164
|
}
|
|
164
165
|
|
|
165
|
-
.component-tree-
|
|
166
|
-
content:
|
|
166
|
+
.component-tree-item-bracket.component-tree-item-bracket-self-closing::after {
|
|
167
|
+
content: "/>";
|
|
167
168
|
}
|
|
168
169
|
|
|
169
|
-
.component-tree-item-
|
|
170
|
-
content:
|
|
170
|
+
.component-tree-item-classic-bracket::before {
|
|
171
|
+
content: "{{";
|
|
171
172
|
}
|
|
172
173
|
|
|
173
|
-
.component-tree-item-
|
|
174
|
-
content:
|
|
174
|
+
.component-tree-item-classic-bracket::after {
|
|
175
|
+
content: "}}";
|
|
175
176
|
}
|
|
176
177
|
|
|
177
178
|
/**
|
|
@@ -179,7 +180,7 @@
|
|
|
179
180
|
* selected - user clicked on component
|
|
180
181
|
*/
|
|
181
182
|
|
|
182
|
-
.component-tree-item.component-tree-item
|
|
183
|
+
.component-tree-item.component-tree-item-pinned {
|
|
183
184
|
background: var(--focus);
|
|
184
185
|
color: var(--focus-text);
|
|
185
186
|
|
|
@@ -191,25 +192,29 @@
|
|
|
191
192
|
background: var(--focus);
|
|
192
193
|
}
|
|
193
194
|
|
|
194
|
-
.component-tree-
|
|
195
|
+
.component-tree-item-actions {
|
|
195
196
|
opacity: 1;
|
|
196
197
|
|
|
197
|
-
|
|
198
|
+
&::after {
|
|
198
199
|
background: var(--focus);
|
|
199
200
|
}
|
|
200
201
|
|
|
201
|
-
|
|
202
|
-
background: linear-gradient(
|
|
202
|
+
&::before {
|
|
203
|
+
background: linear-gradient(
|
|
204
|
+
to right,
|
|
205
|
+
var(--transparent),
|
|
206
|
+
var(--focus) 75%
|
|
207
|
+
);
|
|
203
208
|
}
|
|
204
209
|
}
|
|
205
210
|
|
|
206
|
-
.component-tree-
|
|
207
|
-
.component-tree-
|
|
211
|
+
.component-tree-item-bracket::before,
|
|
212
|
+
.component-tree-item-bracket::after {
|
|
208
213
|
color: var(--component-backets-selected);
|
|
209
214
|
}
|
|
210
215
|
|
|
211
|
-
.component-tree-
|
|
212
|
-
.component-tree-
|
|
216
|
+
.component-tree-item-expand,
|
|
217
|
+
.component-tree-item-action {
|
|
213
218
|
opacity: 1;
|
|
214
219
|
|
|
215
220
|
polygon,
|
|
@@ -220,6 +225,6 @@
|
|
|
220
225
|
}
|
|
221
226
|
}
|
|
222
227
|
|
|
223
|
-
.component-tree-item
|
|
228
|
+
.component-tree-item-component {
|
|
224
229
|
color: var(--base09);
|
|
225
230
|
}
|
package/app/styles/dropdown.scss
CHANGED
|
@@ -66,15 +66,15 @@ $red: #ff2717;
|
|
|
66
66
|
background: var(--base04);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
.et-sort-indicator
|
|
70
|
-
content:
|
|
69
|
+
.et-sort-indicator::before {
|
|
70
|
+
content: "\25be";
|
|
71
71
|
display: inline-block;
|
|
72
72
|
font-size: 1.4rem;
|
|
73
73
|
line-height: 1;
|
|
74
74
|
transform: rotate(0);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
.et-sort-indicator.is-ascending
|
|
77
|
+
.et-sort-indicator.is-ascending::before {
|
|
78
78
|
transform: rotate(180deg);
|
|
79
79
|
}
|
|
80
80
|
|
package/app/styles/mixin.scss
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
$mixin-left-padding: 22px;
|
|
10
10
|
|
|
11
|
-
.
|
|
11
|
+
.mixin-name {
|
|
12
12
|
border-bottom: 1px solid var(--base03);
|
|
13
13
|
padding: 4px 2px 4px $mixin-left-padding;
|
|
14
14
|
z-index: 1;
|
|
@@ -17,7 +17,7 @@ $mixin-left-padding: 22px;
|
|
|
17
17
|
background-color: var(--base02);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
&::before {
|
|
21
21
|
color: var(--base10);
|
|
22
22
|
content: "\25B6";
|
|
23
23
|
font-size: 75%;
|
|
@@ -30,20 +30,20 @@ $mixin-left-padding: 22px;
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.
|
|
33
|
+
.mixin-props-no .mixin-name::before {
|
|
34
34
|
opacity: 0;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.
|
|
37
|
+
.mixin-state-expanded .mixin-name::before {
|
|
38
38
|
transform: rotate(90deg);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.
|
|
41
|
+
.mixin-properties {
|
|
42
42
|
border-bottom: 1px solid var(--base03);
|
|
43
43
|
padding: 3px 0 5px;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.
|
|
46
|
+
.mixin-property {
|
|
47
47
|
min-height: 19px;
|
|
48
48
|
padding-bottom: 1px;
|
|
49
49
|
padding-top: 1px;
|
|
@@ -60,19 +60,19 @@ $mixin-left-padding: 22px;
|
|
|
60
60
|
width: $mixin-left-padding;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
.mixin-calc-btn svg {
|
|
64
64
|
path,
|
|
65
65
|
circle {
|
|
66
66
|
fill: var(--spec07);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.
|
|
70
|
+
.mixin-send-btn {
|
|
71
71
|
opacity: 0;
|
|
72
72
|
padding-right: 6px;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.
|
|
75
|
+
.mixin-cp-toggle {
|
|
76
76
|
outline: none;
|
|
77
77
|
width: $mixin-left-padding;
|
|
78
78
|
|
|
@@ -82,7 +82,7 @@ $mixin-left-padding: 22px;
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.
|
|
85
|
+
.mixin-cp-toggle-expanded {
|
|
86
86
|
svg {
|
|
87
87
|
transform: rotate(0deg);
|
|
88
88
|
}
|
|
@@ -91,60 +91,60 @@ $mixin-left-padding: 22px;
|
|
|
91
91
|
|
|
92
92
|
/* Buttons */
|
|
93
93
|
|
|
94
|
-
.
|
|
94
|
+
.mixin-property-overridden-by {
|
|
95
95
|
display: none;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.
|
|
98
|
+
.mixin-property-name {
|
|
99
99
|
max-width: 50%;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.
|
|
102
|
+
.mixin-property-value {
|
|
103
103
|
flex: 1;
|
|
104
104
|
min-height: 14px;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
.
|
|
107
|
+
.mixin-property-value-txt {
|
|
108
108
|
border: 1px solid var(--base09);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
.
|
|
111
|
+
.mixin-property .type-function {
|
|
112
112
|
color: var(--base08);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
.
|
|
115
|
+
.mixin-property .type-object {
|
|
116
116
|
color: var(--base11);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
.
|
|
120
|
-
.
|
|
121
|
-
.
|
|
119
|
+
.mixin-property .type-ember-object,
|
|
120
|
+
.mixin-property .type-object,
|
|
121
|
+
.mixin-property .type-array {
|
|
122
122
|
cursor: pointer;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
.
|
|
126
|
-
.
|
|
125
|
+
.mixin-property .type-null,
|
|
126
|
+
.mixin-property .type-boolean {
|
|
127
127
|
color: var(--spec03);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.
|
|
130
|
+
.mixin-property .type-descriptor {
|
|
131
131
|
color: var(--spec02);
|
|
132
132
|
cursor: pointer;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
.
|
|
135
|
+
.mixin-property .type-service {
|
|
136
136
|
color: var(--spec09);
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.
|
|
139
|
+
.mixin-property:not(.mixin-property-state-overridden):hover {
|
|
140
140
|
background-color: var(--base01);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
.
|
|
143
|
+
.mixin-property-state-overridden:hover .mixin-property-overridden-by {
|
|
144
144
|
display: inline;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
.
|
|
147
|
+
.mixin-property:not(.mixin-property-state-overridden):hover .mixin-send-btn {
|
|
148
148
|
opacity: 1;
|
|
149
149
|
|
|
150
150
|
&:active {
|