@openziti/ziti-console-lib 0.3.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/README.md +24 -0
- package/assets/animations/ConstructionZiggy.json +15233 -0
- package/assets/animations/HelloZiggy.json +10008 -0
- package/assets/animations/SmartZiggy.json +9488 -0
- package/assets/components/add.html +1 -0
- package/assets/components/api.html +12 -0
- package/assets/components/customtags.html +4 -0
- package/assets/components/line.html +1 -0
- package/assets/components/noitems.html +1 -0
- package/assets/components/save.html +4 -0
- package/assets/components/search.html +8 -0
- package/assets/components/tabIdentities.html +6 -0
- package/assets/components/tabPolicies.html +7 -0
- package/assets/components/tabRouters.html +5 -0
- package/assets/components/tabServers.html +4 -0
- package/assets/components/tabServices.html +5 -0
- package/assets/components/tabSessions.html +4 -0
- package/assets/data/mail.json +0 -0
- package/assets/data/services.json +6 -0
- package/assets/data/settings.json +25 -0
- package/assets/data/site.json +31 -0
- package/assets/data/tags.json +7 -0
- package/assets/data/templates.json +1 -0
- package/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/assets/fonts/OpenSans-Regular.woff +0 -0
- package/assets/fonts/OpenSans-Regular.woff2 +0 -0
- package/assets/fonts/RussoOne-Regular.ttf +0 -0
- package/assets/fonts/RussoOne-Regular.woff +0 -0
- package/assets/fonts/RussoOne-Regular.woff2 +0 -0
- package/assets/fonts/zac.eot +0 -0
- package/assets/fonts/zac.svg +55 -0
- package/assets/fonts/zac.ttf +0 -0
- package/assets/fonts/zac.woff +0 -0
- package/assets/fonts/zac.woff2 +0 -0
- package/assets/html/api-sessions.htm +153 -0
- package/assets/html/attributes.htm +260 -0
- package/assets/html/auth-policies.htm +410 -0
- package/assets/html/cas.htm +445 -0
- package/assets/html/config-types.htm +168 -0
- package/assets/html/configs.htm +238 -0
- package/assets/html/deprecated/fabric-links.htm +336 -0
- package/assets/html/deprecated/fabric-routers.htm +72 -0
- package/assets/html/deprecated/fabric-services.htm +494 -0
- package/assets/html/identities.htm +934 -0
- package/assets/html/index.htm +161 -0
- package/assets/html/jwt-signers.htm +260 -0
- package/assets/html/known.htm +115 -0
- package/assets/html/login.htm +131 -0
- package/assets/html/organization.htm +223 -0
- package/assets/html/posture-checks.htm +393 -0
- package/assets/html/profile.htm +52 -0
- package/assets/html/recipes.htm +455 -0
- package/assets/html/router-policies.htm +168 -0
- package/assets/html/routers.htm +323 -0
- package/assets/html/servers.htm +236 -0
- package/assets/html/service-policies.htm +197 -0
- package/assets/html/service-router-policies.htm +170 -0
- package/assets/html/services.htm +634 -0
- package/assets/html/sessions.htm +157 -0
- package/assets/html/settings.htm +146 -0
- package/assets/html/terminators.htm +244 -0
- package/assets/html/transit-routers.htm +173 -0
- package/assets/icons/android-icon-192x192.png +0 -0
- package/assets/icons/apple-icon-114x114.png +0 -0
- package/assets/icons/apple-icon-120x120.png +0 -0
- package/assets/icons/apple-icon-144x144.png +0 -0
- package/assets/icons/apple-icon-152x152.png +0 -0
- package/assets/icons/apple-icon-180x180.png +0 -0
- package/assets/icons/apple-icon-57x57.png +0 -0
- package/assets/icons/apple-icon-60x60.png +0 -0
- package/assets/icons/apple-icon-72x72.png +0 -0
- package/assets/icons/apple-icon-76x76.png +0 -0
- package/assets/icons/apple-icon-precomposed.png +0 -0
- package/assets/icons/favicon-16x16.png +0 -0
- package/assets/icons/favicon-32x32.png +0 -0
- package/assets/icons/favicon-96x96.png +0 -0
- package/assets/icons/favicon.ico +0 -0
- package/assets/icons/ms-icon-144x144.png +0 -0
- package/assets/images/Filter.png +0 -0
- package/assets/images/Login.jpg +0 -0
- package/assets/images/SortDown.png +0 -0
- package/assets/images/SortUp.png +0 -0
- package/assets/images/android.png +0 -0
- package/assets/images/anywhere.png +0 -0
- package/assets/images/apple.png +0 -0
- package/assets/images/bug.png +0 -0
- package/assets/images/check.png +0 -0
- package/assets/images/error.png +0 -0
- package/assets/images/info.png +0 -0
- package/assets/images/linux.png +0 -0
- package/assets/images/other.png +0 -0
- package/assets/images/scrollbar.png +0 -0
- package/assets/images/select.png +0 -0
- package/assets/images/success.png +0 -0
- package/assets/images/visualizer/ER.png +0 -0
- package/assets/images/visualizer/Routers.png +0 -0
- package/assets/images/visualizer/er_error.png +0 -0
- package/assets/images/visualizer/error_er.png +0 -0
- package/assets/images/visualizer/host-error.png +0 -0
- package/assets/images/visualizer/host.png +0 -0
- package/assets/images/visualizer/host_unregistered.png +0 -0
- package/assets/images/visualizer/link-cut.png +0 -0
- package/assets/images/visualizer/service.png +0 -0
- package/assets/images/visualizer/unregistered.png +0 -0
- package/assets/images/warning.png +0 -0
- package/assets/images/windows.png +0 -0
- package/assets/languages/en-us.json +330 -0
- package/assets/resources/avatar/man.svg +78 -0
- package/assets/resources/avatar/woman.svg +96 -0
- package/assets/resources/icon/analysis.svg +104 -0
- package/assets/resources/icon/appwans.svg +20 -0
- package/assets/resources/icon/architecture.svg +1 -0
- package/assets/resources/icon/bike.svg +94 -0
- package/assets/resources/icon/bus.svg +64 -0
- package/assets/resources/icon/cas.svg +46 -0
- package/assets/resources/icon/clusters.svg +28 -0
- package/assets/resources/icon/computer.svg +1 -0
- package/assets/resources/icon/data.svg +1 -0
- package/assets/resources/icon/delivery-truck.svg +1 -0
- package/assets/resources/icon/explosion.svg +81 -0
- package/assets/resources/icon/fabricServices.svg +31 -0
- package/assets/resources/icon/fabrics.svg +136 -0
- package/assets/resources/icon/front.svg +83 -0
- package/assets/resources/icon/gateway.svg +49 -0
- package/assets/resources/icon/gear.svg +122 -0
- package/assets/resources/icon/house.svg +72 -0
- package/assets/resources/icon/language.svg +1 -0
- package/assets/resources/icon/objective.svg +55 -0
- package/assets/resources/icon/route.svg +97 -0
- package/assets/resources/icon/routers.svg +27 -0
- package/assets/resources/icon/startup.svg +112 -0
- package/assets/resources/icon/switch.svg +101 -0
- package/assets/scripts/chart.min.js +7 -0
- package/assets/scripts/commands.js +112 -0
- package/assets/scripts/components/codemirror/codemirror.css +356 -0
- package/assets/scripts/components/codemirror/codemirror.js +9741 -0
- package/assets/scripts/components/codemirror/modes/addons/closetags.js +200 -0
- package/assets/scripts/components/codemirror/modes/addons/colorize.js +40 -0
- package/assets/scripts/components/codemirror/modes/addons/css-hint.js +66 -0
- package/assets/scripts/components/codemirror/modes/addons/formatting.js +124 -0
- package/assets/scripts/components/codemirror/modes/addons/html-hint.js +366 -0
- package/assets/scripts/components/codemirror/modes/addons/javascript-hint.js +159 -0
- package/assets/scripts/components/codemirror/modes/addons/show-hint.css +36 -0
- package/assets/scripts/components/codemirror/modes/addons/show-hint.js +482 -0
- package/assets/scripts/components/codemirror/modes/css.js +831 -0
- package/assets/scripts/components/codemirror/modes/htmlmixed.js +152 -0
- package/assets/scripts/components/codemirror/modes/javascript.js +930 -0
- package/assets/scripts/components/codemirror/modes/xml.js +413 -0
- package/assets/scripts/components/column.css +184 -0
- package/assets/scripts/components/column.js +165 -0
- package/assets/scripts/components/flows.css +0 -0
- package/assets/scripts/components/flows.js +48 -0
- package/assets/scripts/components/leaflet/images/layers-2x.png +0 -0
- package/assets/scripts/components/leaflet/images/layers.png +0 -0
- package/assets/scripts/components/leaflet/images/marker-icon-2x.png +0 -0
- package/assets/scripts/components/leaflet/images/marker-icon.png +0 -0
- package/assets/scripts/components/leaflet/images/marker-shadow.png +0 -0
- package/assets/scripts/components/leaflet/leaflet-src.esm.js +13926 -0
- package/assets/scripts/components/leaflet/leaflet-src.esm.js.map +1 -0
- package/assets/scripts/components/leaflet/leaflet-src.js +14020 -0
- package/assets/scripts/components/leaflet/leaflet-src.js.map +1 -0
- package/assets/scripts/components/leaflet/leaflet.css +640 -0
- package/assets/scripts/components/leaflet/leaflet.js +5 -0
- package/assets/scripts/components/leaflet/leaflet.js.map +1 -0
- package/assets/scripts/components/moment.js +4602 -0
- package/assets/scripts/components/multiselect.js +333 -0
- package/assets/scripts/components/network/img/network/acceptDeleteIcon.png +0 -0
- package/assets/scripts/components/network/img/network/addNodeIcon.png +0 -0
- package/assets/scripts/components/network/img/network/backIcon.png +0 -0
- package/assets/scripts/components/network/img/network/connectIcon.png +0 -0
- package/assets/scripts/components/network/img/network/cross.png +0 -0
- package/assets/scripts/components/network/img/network/cross2.png +0 -0
- package/assets/scripts/components/network/img/network/deleteIcon.png +0 -0
- package/assets/scripts/components/network/img/network/downArrow.png +0 -0
- package/assets/scripts/components/network/img/network/editIcon.png +0 -0
- package/assets/scripts/components/network/img/network/leftArrow.png +0 -0
- package/assets/scripts/components/network/img/network/minus.png +0 -0
- package/assets/scripts/components/network/img/network/plus.png +0 -0
- package/assets/scripts/components/network/img/network/rightArrow.png +0 -0
- package/assets/scripts/components/network/img/network/upArrow.png +0 -0
- package/assets/scripts/components/network/img/network/zoomExtends.png +0 -0
- package/assets/scripts/components/network/types/DOMutil.d.ts +99 -0
- package/assets/scripts/components/network/types/index-legacy-bundle.d.ts +4 -0
- package/assets/scripts/components/network/types/index-legacy-bundle.d.ts.map +1 -0
- package/assets/scripts/components/network/types/index-legacy.d.ts +24 -0
- package/assets/scripts/components/network/types/index-legacy.d.ts.map +1 -0
- package/assets/scripts/components/network/types/index-peer.d.ts +11 -0
- package/assets/scripts/components/network/types/index-peer.d.ts.map +1 -0
- package/assets/scripts/components/network/types/index-standalone.d.ts +7 -0
- package/assets/scripts/components/network/types/index-standalone.d.ts.map +1 -0
- package/assets/scripts/components/network/types/module/hammer.d.ts +2 -0
- package/assets/scripts/components/network/types/module/moment.d.ts +2 -0
- package/assets/scripts/components/network/types/network/Images.d.ts +2 -0
- package/assets/scripts/components/network/types/network/Network.d.ts +1030 -0
- package/assets/scripts/components/network/types/network/dotparser.d.ts +2 -0
- package/assets/scripts/components/network/types/network/gephiParser.d.ts +80 -0
- package/assets/scripts/components/network/types/network/gephiParser.d.ts.map +1 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/bezier-edge-dynamic.d.ts +55 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/bezier-edge-dynamic.d.ts.map +1 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/bezier-edge-static.d.ts +37 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/bezier-edge-static.d.ts.map +1 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/cubic-bezier-edge.d.ts +32 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/cubic-bezier-edge.d.ts.map +1 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/index.d.ts +10 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/index.d.ts.map +1 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/straight-edge.d.ts +26 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/straight-edge.d.ts.map +1 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/util/bezier-edge-base.d.ts +68 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/util/bezier-edge-base.d.ts.map +1 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/util/cubic-bezier-edge-base.d.ts +38 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/util/cubic-bezier-edge-base.d.ts.map +1 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/util/edge-base.d.ts +248 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/util/edge-base.d.ts.map +1 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/util/end-points.d.ts +58 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/util/end-points.d.ts.map +1 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/util/types.d.ts +196 -0
- package/assets/scripts/components/network/types/network/modules/components/edges/util/types.d.ts.map +1 -0
- package/assets/scripts/components/network/types/network/modules/layout-engine/index.d.ts +32 -0
- package/assets/scripts/components/network/types/network/modules/layout-engine/index.d.ts.map +1 -0
- package/assets/scripts/components/network/types/network/options.d.ts +2 -0
- package/assets/scripts/components/network/types/network/shapes.d.ts +122 -0
- package/assets/scripts/components/network/types/network/shapes.d.ts.map +1 -0
- package/assets/scripts/components/network/vis-network.css +716 -0
- package/assets/scripts/components/network/vis-network.esm.js +58974 -0
- package/assets/scripts/components/network/vis-network.esm.js.map +1 -0
- package/assets/scripts/components/network/vis-network.esm.min.js +53 -0
- package/assets/scripts/components/network/vis-network.esm.min.js.map +1 -0
- package/assets/scripts/components/network/vis-network.js +58994 -0
- package/assets/scripts/components/network/vis-network.js.map +1 -0
- package/assets/scripts/components/network/vis-network.min.css +1 -0
- package/assets/scripts/components/network/vis-network.min.js +53 -0
- package/assets/scripts/components/network/vis-network.min.js.map +1 -0
- package/assets/scripts/components/qrcode.min.js +1 -0
- package/assets/scripts/components/resources.js +26 -0
- package/assets/scripts/components/selector-new.js +300 -0
- package/assets/scripts/components/selector.js +300 -0
- package/assets/scripts/components/spectrum.js +2323 -0
- package/assets/scripts/components/timezone.js +1545 -0
- package/assets/scripts/components/uploader.js +74 -0
- package/assets/scripts/context.js +177 -0
- package/assets/scripts/dragging.js +58 -0
- package/assets/scripts/forms/forms.js +74 -0
- package/assets/scripts/forms/host.v1.htm +43 -0
- package/assets/scripts/forms/intercept.v1.htm +0 -0
- package/assets/scripts/forms/schema.js +693 -0
- package/assets/scripts/growler.js +133 -0
- package/assets/scripts/header.js +163 -0
- package/assets/scripts/jquery-3.6.3.min.js +2 -0
- package/assets/scripts/jquery.datetimepicker.js +2930 -0
- package/assets/scripts/locale.js +47 -0
- package/assets/scripts/modal.js +65 -0
- package/assets/scripts/model/data.js +558 -0
- package/assets/scripts/model/fabric.js +55 -0
- package/assets/scripts/model/fabricServices.js +45 -0
- package/assets/scripts/model/known.js +43 -0
- package/assets/scripts/model/links.js +44 -0
- package/assets/scripts/model/routers.js +51 -0
- package/assets/scripts/model/series.js +70 -0
- package/assets/scripts/model/sessions.js +61 -0
- package/assets/scripts/model/settings.js +60 -0
- package/assets/scripts/model/summary.js +49 -0
- package/assets/scripts/model/tags.js +330 -0
- package/assets/scripts/model/templates.js +42 -0
- package/assets/scripts/model/user.js +40 -0
- package/assets/scripts/restrictions.js +34 -0
- package/assets/scripts/service.js +76 -0
- package/assets/scripts/validation-tools.js +5119 -0
- package/assets/scripts/ziti.js +372 -0
- package/assets/styles/chart.min.css +1 -0
- package/assets/styles/dark.css +52 -0
- package/assets/styles/datetimepicker.css +1 -0
- package/assets/styles/forms.css +521 -0
- package/assets/styles/global.scss +890 -0
- package/assets/styles/growler.css +190 -0
- package/assets/styles/header.css +232 -0
- package/assets/styles/icons.css +160 -0
- package/assets/styles/navigation.css +183 -0
- package/assets/styles/select2.css +481 -0
- package/assets/styles/spectrum.css +507 -0
- package/assets/styles/tables.css +424 -0
- package/assets/styles/tooltip.css +134 -0
- package/assets/styles/ziti.css +3216 -0
- package/assets/svgs/Advanced.svg +89 -0
- package/assets/svgs/ArrowDown.svg +15 -0
- package/assets/svgs/ArrowDownDark.svg +15 -0
- package/assets/svgs/Confirm_Trash.svg +42 -0
- package/assets/svgs/DownloadKey.svg +50 -0
- package/assets/svgs/Filter.svg +13 -0
- package/assets/svgs/Growl_Bug.svg +47 -0
- package/assets/svgs/Growl_Error.svg +41 -0
- package/assets/svgs/Growl_Info.svg +45 -0
- package/assets/svgs/Growl_Success.svg +34 -0
- package/assets/svgs/Growl_Warning.svg +44 -0
- package/assets/svgs/MainMenuBlankUser.svg +14 -0
- package/assets/svgs/MainMenuNetworks.svg +37 -0
- package/assets/svgs/MainMenuNotifications.svg +32 -0
- package/assets/svgs/MainMenuOrg.svg +68 -0
- package/assets/svgs/MainMenuPlus.svg +13 -0
- package/assets/svgs/MainMenuSearch.svg +22 -0
- package/assets/svgs/MainMenuSupport.svg +417 -0
- package/assets/svgs/No_Clients.svg +94 -0
- package/assets/svgs/No_Plus.svg +30 -0
- package/assets/svgs/No_Routers.svg +56 -0
- package/assets/svgs/Resize.svg +33 -0
- package/assets/svgs/Simple.svg +62 -0
- package/assets/svgs/appwans.svg +20 -0
- package/assets/svgs/cas.svg +46 -0
- package/assets/svgs/cert.svg +69 -0
- package/assets/svgs/clear.svg +13 -0
- package/assets/svgs/close.svg +14 -0
- package/assets/svgs/clusters.svg +28 -0
- package/assets/svgs/copy.svg +64 -0
- package/assets/svgs/dashboard.svg +32 -0
- package/assets/svgs/dial.svg +83 -0
- package/assets/svgs/docs.svg +95 -0
- package/assets/svgs/downloads.svg +74 -0
- package/assets/svgs/fabricServices.svg +31 -0
- package/assets/svgs/fabrics.svg +134 -0
- package/assets/svgs/gateways.svg +49 -0
- package/assets/svgs/heart.svg +1 -0
- package/assets/svgs/ids.svg +20 -0
- package/assets/svgs/infoicon.svg +14 -0
- package/assets/svgs/lock.svg +12 -0
- package/assets/svgs/minus.svg +11 -0
- package/assets/svgs/nodata.svg +27 -0
- package/assets/svgs/qr.svg +56 -0
- package/assets/svgs/refresh.svg +24 -0
- package/assets/svgs/routers.svg +31 -0
- package/assets/svgs/select.svg +18 -0
- package/assets/svgs/services.svg +19 -0
- package/assets/svgs/settings.svg +1 -0
- package/assets/svgs/upload.svg +55 -0
- package/assets/templates/footer.htm +183 -0
- package/assets/templates/header.htm +298 -0
- package/assets/vectors/certificates.svg +1 -0
- package/assets/vectors/change.svg +1 -0
- package/assets/vectors/configuration.svg +2 -0
- package/assets/vectors/customize.svg +1 -0
- package/assets/vectors/dashboard.svg +1 -0
- package/assets/vectors/edgepolicies.svg +2 -0
- package/assets/vectors/globe.svg +63 -0
- package/assets/vectors/help.svg +48 -0
- package/assets/vectors/identity.svg +1 -0
- package/assets/vectors/notify.svg +1 -0
- package/assets/vectors/plus.svg +1 -0
- package/assets/vectors/posture.svg +1 -0
- package/assets/vectors/profile.svg +1 -0
- package/assets/vectors/router.svg +1 -0
- package/assets/vectors/routerpolicies.svg +1 -0
- package/assets/vectors/schema.svg +1 -0
- package/assets/vectors/server (1).svg +293 -0
- package/assets/vectors/servers.svg +103 -0
- package/assets/vectors/servicepolicy.svg +1 -0
- package/assets/vectors/services.svg +126 -0
- package/assets/vectors/settings.svg +130 -0
- package/assets/vectors/terminators.svg +1 -0
- package/assets/vectors/transitrouter.svg +1 -0
- package/esm2022/lib/app.initializer.mjs +24 -0
- package/esm2022/lib/features/card/card.component.mjs +29 -0
- package/esm2022/lib/features/card-list/card-list.component.mjs +50 -0
- package/esm2022/lib/features/config-editor/config-editor.component.mjs +239 -0
- package/esm2022/lib/features/confirm/confirm.component.mjs +59 -0
- package/esm2022/lib/features/creation-summary-dialog/creation-summary-dialog.component.mjs +92 -0
- package/esm2022/lib/features/custom-tags/custom-tags.component.mjs +77 -0
- package/esm2022/lib/features/data-table/cells/table-cell-menu/table-cell-menu.component.mjs +47 -0
- package/esm2022/lib/features/data-table/cells/table-cell-select/table-cell-select.component.mjs +46 -0
- package/esm2022/lib/features/data-table/cells/table-cell-token/table-cell-token.component.mjs +124 -0
- package/esm2022/lib/features/data-table/column-headers/table-column-default/table-column-default.component.mjs +269 -0
- package/esm2022/lib/features/data-table/column-headers/table-column-filter/table-column-filter.component.mjs +94 -0
- package/esm2022/lib/features/data-table/column-headers/table-column-menu/table-column-menu.component.mjs +38 -0
- package/esm2022/lib/features/data-table/column-headers/table-column-select/table-column-select.component.mjs +34 -0
- package/esm2022/lib/features/data-table/data-table-filter.service.mjs +66 -0
- package/esm2022/lib/features/data-table/data-table.component.mjs +848 -0
- package/esm2022/lib/features/data-table/data-table.service.mjs +99 -0
- package/esm2022/lib/features/data-table/table-filter-bar/filter-bar.component.mjs +95 -0
- package/esm2022/lib/features/data-table/table-hidden-columns-bar/hidden-columns-bar.component.mjs +27 -0
- package/esm2022/lib/features/data-table/tooltips/os-tooltip.component.mjs +30 -0
- package/esm2022/lib/features/data-table/tooltips/sdk-tooltip.component.mjs +35 -0
- package/esm2022/lib/features/dynamic-widgets/boolean/boolean-toggle-input.component.mjs +73 -0
- package/esm2022/lib/features/dynamic-widgets/checkbox-list/checkbox-list-input.component.mjs +131 -0
- package/esm2022/lib/features/dynamic-widgets/forwarding-config/forwarding-config.component.mjs +169 -0
- package/esm2022/lib/features/dynamic-widgets/forwarding-config/forwarding-config.service.mjs +51 -0
- package/esm2022/lib/features/dynamic-widgets/number/number-input.component.mjs +74 -0
- package/esm2022/lib/features/dynamic-widgets/object/object.component.mjs +122 -0
- package/esm2022/lib/features/dynamic-widgets/password/password-input.component.mjs +72 -0
- package/esm2022/lib/features/dynamic-widgets/port-ranges/port-ranges.component.mjs +98 -0
- package/esm2022/lib/features/dynamic-widgets/protocol-address-port/protocol-address-port-input.component.mjs +180 -0
- package/esm2022/lib/features/dynamic-widgets/selector/selector-input.component.mjs +104 -0
- package/esm2022/lib/features/dynamic-widgets/string/string-input.component.mjs +72 -0
- package/esm2022/lib/features/dynamic-widgets/text-list/text-list-input.component.mjs +119 -0
- package/esm2022/lib/features/extendable/extendable.component.mjs +56 -0
- package/esm2022/lib/features/extendable/extensions-noop.service.mjs +50 -0
- package/esm2022/lib/features/json-view/json-view.component.mjs +197 -0
- package/esm2022/lib/features/list-page-features/list-page-form/list-page-form.component.mjs +139 -0
- package/esm2022/lib/features/list-page-features/list-page-header/list-page-header.component.mjs +48 -0
- package/esm2022/lib/features/loading-indicator/loading-indicator.component.mjs +21 -0
- package/esm2022/lib/features/messaging/growler.component.mjs +63 -0
- package/esm2022/lib/features/messaging/growler.model.mjs +24 -0
- package/esm2022/lib/features/messaging/growler.module.mjs +35 -0
- package/esm2022/lib/features/messaging/growler.service.mjs +72 -0
- package/esm2022/lib/features/messaging/logger.service.mjs +175 -0
- package/esm2022/lib/features/no-items/no-items.component.mjs +47 -0
- package/esm2022/lib/features/overrides/overrides.component.mjs +119 -0
- package/esm2022/lib/features/overrides/overrides.service.mjs +115 -0
- package/esm2022/lib/features/preview-list/preview-list.component.mjs +91 -0
- package/esm2022/lib/features/projectable-forms/configuration/configuration-form.component.mjs +223 -0
- package/esm2022/lib/features/projectable-forms/configuration/configuration.service.mjs +150 -0
- package/esm2022/lib/features/projectable-forms/edge-router/edge-router-form.component.mjs +188 -0
- package/esm2022/lib/features/projectable-forms/edge-router/edge-router-form.service.mjs +131 -0
- package/esm2022/lib/features/projectable-forms/form-field-container/form-field-container.component.mjs +72 -0
- package/esm2022/lib/features/projectable-forms/form-field-toggle/form-field-toggle.component.mjs +55 -0
- package/esm2022/lib/features/projectable-forms/form-header/form-header.component.mjs +96 -0
- package/esm2022/lib/features/projectable-forms/identity/identity-form.component.mjs +322 -0
- package/esm2022/lib/features/projectable-forms/identity/identity-form.service.mjs +144 -0
- package/esm2022/lib/features/projectable-forms/projectable-form.class.mjs +172 -0
- package/esm2022/lib/features/projectable-forms/service/service-form.component.mjs +240 -0
- package/esm2022/lib/features/projectable-forms/service/service-form.service.mjs +453 -0
- package/esm2022/lib/features/projectable-forms/service/simple-service/simple-service.component.mjs +680 -0
- package/esm2022/lib/features/projectable-forms/service-policy/service-policy-form.component.mjs +252 -0
- package/esm2022/lib/features/projectable-forms/service-policy/service-policy-form.service.mjs +214 -0
- package/esm2022/lib/features/qr-code/qr-code.component.mjs +143 -0
- package/esm2022/lib/features/reset-enrollment/reset-enrollment.component.mjs +87 -0
- package/esm2022/lib/features/reset-enrollment/reset-enrollment.service.mjs +62 -0
- package/esm2022/lib/features/side-modal/side-modal.component.mjs +46 -0
- package/esm2022/lib/features/sidebars/side-banner/side-banner.component.mjs +17 -0
- package/esm2022/lib/features/sidebars/side-navbar/side-navbar.component.mjs +55 -0
- package/esm2022/lib/features/sidebars/side-toolbar/side-toolbar.component.mjs +128 -0
- package/esm2022/lib/features/tag-selector/tag-selector.component.mjs +292 -0
- package/esm2022/lib/features/visualizer/identity-service-path/identity-service-path.component.mjs +588 -0
- package/esm2022/lib/features/visualizer/identity-service-path/identity-service-path.helper.mjs +370 -0
- package/esm2022/lib/features/wrappers/node-wrapper.service.mjs +51 -0
- package/esm2022/lib/features/wrappers/zac-wrapper-service.class.mjs +92 -0
- package/esm2022/lib/features/wrappers/zac-wrapper.component.mjs +147 -0
- package/esm2022/lib/features/wrappers/zac-wrapper.service.mjs +937 -0
- package/esm2022/lib/models/config.mjs +9 -0
- package/esm2022/lib/models/edge-router.mjs +13 -0
- package/esm2022/lib/models/identity.mjs +34 -0
- package/esm2022/lib/models/service-policy.mjs +12 -0
- package/esm2022/lib/models/service.mjs +12 -0
- package/esm2022/lib/pages/configurations/configurations-page.component.mjs +102 -0
- package/esm2022/lib/pages/configurations/configurations-page.service.mjs +246 -0
- package/esm2022/lib/pages/edge-routers/edge-routers-page.component.mjs +149 -0
- package/esm2022/lib/pages/edge-routers/edge-routers-page.service.mjs +361 -0
- package/esm2022/lib/pages/identities/identities-page.component.mjs +233 -0
- package/esm2022/lib/pages/identities/identities-page.service.mjs +498 -0
- package/esm2022/lib/pages/service-policies/service-policies-page.component.mjs +132 -0
- package/esm2022/lib/pages/service-policies/service-policies-page.service.mjs +457 -0
- package/esm2022/lib/pages/services/services-page.component.mjs +141 -0
- package/esm2022/lib/pages/services/services-page.service.mjs +215 -0
- package/esm2022/lib/safe.pipe.mjs +19 -0
- package/esm2022/lib/services/console-events.service.mjs +32 -0
- package/esm2022/lib/services/csv-download.service.mjs +92 -0
- package/esm2022/lib/services/deactivate-guard.service.mjs +18 -0
- package/esm2022/lib/services/login-service.class.mjs +28 -0
- package/esm2022/lib/services/node-data.service.mjs +292 -0
- package/esm2022/lib/services/noop-login.service.mjs +45 -0
- package/esm2022/lib/services/schema.service.mjs +808 -0
- package/esm2022/lib/services/settings-service.class.mjs +131 -0
- package/esm2022/lib/services/settings.service.mjs +193 -0
- package/esm2022/lib/services/tab-name.service.mjs +65 -0
- package/esm2022/lib/services/validation.service.mjs +124 -0
- package/esm2022/lib/services/ziti-controller-data.service.mjs +260 -0
- package/esm2022/lib/services/ziti-data.service.mjs +54 -0
- package/esm2022/lib/services/ziti-domain-controller.service.mjs +3 -0
- package/esm2022/lib/shared/list-page-component.class.mjs +145 -0
- package/esm2022/lib/shared/list-page-service.class.mjs +151 -0
- package/esm2022/lib/version.mjs +4 -0
- package/esm2022/lib/zac-routing.module.mjs +41 -0
- package/esm2022/lib/ziti-console-lib.module.mjs +364 -0
- package/esm2022/lib/ziti-console.constants.mjs +19 -0
- package/esm2022/openziti-ziti-console-lib.mjs +5 -0
- package/esm2022/public-api.mjs +71 -0
- package/fesm2022/openziti-ziti-console-lib.mjs +15813 -0
- package/fesm2022/openziti-ziti-console-lib.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/lib/app.initializer.d.ts +3 -0
- package/lib/app.initializer.d.ts.map +1 -0
- package/lib/features/card/card.component.d.ts +11 -0
- package/lib/features/card/card.component.d.ts.map +1 -0
- package/lib/features/card-list/card-list.component.d.ts +23 -0
- package/lib/features/card-list/card-list.component.d.ts.map +1 -0
- package/lib/features/config-editor/config-editor.component.d.ts +39 -0
- package/lib/features/config-editor/config-editor.component.d.ts.map +1 -0
- package/lib/features/confirm/confirm.component.d.ts +23 -0
- package/lib/features/confirm/confirm.component.d.ts.map +1 -0
- package/lib/features/creation-summary-dialog/creation-summary-dialog.component.d.ts +31 -0
- package/lib/features/creation-summary-dialog/creation-summary-dialog.component.d.ts.map +1 -0
- package/lib/features/custom-tags/custom-tags.component.d.ts +20 -0
- package/lib/features/custom-tags/custom-tags.component.d.ts.map +1 -0
- package/lib/features/data-table/cells/table-cell-menu/table-cell-menu.component.d.ts +16 -0
- package/lib/features/data-table/cells/table-cell-menu/table-cell-menu.component.d.ts.map +1 -0
- package/lib/features/data-table/cells/table-cell-select/table-cell-select.component.d.ts +19 -0
- package/lib/features/data-table/cells/table-cell-select/table-cell-select.component.d.ts.map +1 -0
- package/lib/features/data-table/cells/table-cell-token/table-cell-token.component.d.ts +22 -0
- package/lib/features/data-table/cells/table-cell-token/table-cell-token.component.d.ts.map +1 -0
- package/lib/features/data-table/column-headers/table-column-default/table-column-default.component.d.ts +52 -0
- package/lib/features/data-table/column-headers/table-column-default/table-column-default.component.d.ts.map +1 -0
- package/lib/features/data-table/column-headers/table-column-filter/table-column-filter.component.d.ts +27 -0
- package/lib/features/data-table/column-headers/table-column-filter/table-column-filter.component.d.ts.map +1 -0
- package/lib/features/data-table/column-headers/table-column-menu/table-column-menu.component.d.ts +19 -0
- package/lib/features/data-table/column-headers/table-column-menu/table-column-menu.component.d.ts.map +1 -0
- package/lib/features/data-table/column-headers/table-column-select/table-column-select.component.d.ts +15 -0
- package/lib/features/data-table/column-headers/table-column-select/table-column-select.component.d.ts.map +1 -0
- package/lib/features/data-table/data-table-filter.service.d.ts +24 -0
- package/lib/features/data-table/data-table-filter.service.d.ts.map +1 -0
- package/lib/features/data-table/data-table.component.d.ts +154 -0
- package/lib/features/data-table/data-table.component.d.ts.map +1 -0
- package/lib/features/data-table/data-table.service.d.ts +20 -0
- package/lib/features/data-table/data-table.service.d.ts.map +1 -0
- package/lib/features/data-table/table-filter-bar/filter-bar.component.d.ts +22 -0
- package/lib/features/data-table/table-filter-bar/filter-bar.component.d.ts.map +1 -0
- package/lib/features/data-table/table-hidden-columns-bar/hidden-columns-bar.component.d.ts +10 -0
- package/lib/features/data-table/table-hidden-columns-bar/hidden-columns-bar.component.d.ts.map +1 -0
- package/lib/features/data-table/tooltips/os-tooltip.component.d.ts +15 -0
- package/lib/features/data-table/tooltips/os-tooltip.component.d.ts.map +1 -0
- package/lib/features/data-table/tooltips/sdk-tooltip.component.d.ts +15 -0
- package/lib/features/data-table/tooltips/sdk-tooltip.component.d.ts.map +1 -0
- package/lib/features/dynamic-widgets/boolean/boolean-toggle-input.component.d.ts +19 -0
- package/lib/features/dynamic-widgets/boolean/boolean-toggle-input.component.d.ts.map +1 -0
- package/lib/features/dynamic-widgets/checkbox-list/checkbox-list-input.component.d.ts +26 -0
- package/lib/features/dynamic-widgets/checkbox-list/checkbox-list-input.component.d.ts.map +1 -0
- package/lib/features/dynamic-widgets/forwarding-config/forwarding-config.component.d.ts +45 -0
- package/lib/features/dynamic-widgets/forwarding-config/forwarding-config.component.d.ts.map +1 -0
- package/lib/features/dynamic-widgets/forwarding-config/forwarding-config.service.d.ts +14 -0
- package/lib/features/dynamic-widgets/forwarding-config/forwarding-config.service.d.ts.map +1 -0
- package/lib/features/dynamic-widgets/number/number-input.component.d.ts +20 -0
- package/lib/features/dynamic-widgets/number/number-input.component.d.ts.map +1 -0
- package/lib/features/dynamic-widgets/object/object.component.d.ts +26 -0
- package/lib/features/dynamic-widgets/object/object.component.d.ts.map +1 -0
- package/lib/features/dynamic-widgets/password/password-input.component.d.ts +20 -0
- package/lib/features/dynamic-widgets/password/password-input.component.d.ts.map +1 -0
- package/lib/features/dynamic-widgets/port-ranges/port-ranges.component.d.ts +21 -0
- package/lib/features/dynamic-widgets/port-ranges/port-ranges.component.d.ts.map +1 -0
- package/lib/features/dynamic-widgets/protocol-address-port/protocol-address-port-input.component.d.ts +58 -0
- package/lib/features/dynamic-widgets/protocol-address-port/protocol-address-port-input.component.d.ts.map +1 -0
- package/lib/features/dynamic-widgets/selector/selector-input.component.d.ts +23 -0
- package/lib/features/dynamic-widgets/selector/selector-input.component.d.ts.map +1 -0
- package/lib/features/dynamic-widgets/string/string-input.component.d.ts +20 -0
- package/lib/features/dynamic-widgets/string/string-input.component.d.ts.map +1 -0
- package/lib/features/dynamic-widgets/text-list/text-list-input.component.d.ts +23 -0
- package/lib/features/dynamic-widgets/text-list/text-list-input.component.d.ts.map +1 -0
- package/lib/features/extendable/extendable.component.d.ts +15 -0
- package/lib/features/extendable/extendable.component.d.ts.map +1 -0
- package/lib/features/extendable/extensions-noop.service.d.ts +31 -0
- package/lib/features/extendable/extensions-noop.service.d.ts.map +1 -0
- package/lib/features/json-view/json-view.component.d.ts +37 -0
- package/lib/features/json-view/json-view.component.d.ts.map +1 -0
- package/lib/features/list-page-features/list-page-form/list-page-form.component.d.ts +35 -0
- package/lib/features/list-page-features/list-page-form/list-page-form.component.d.ts.map +1 -0
- package/lib/features/list-page-features/list-page-header/list-page-header.component.d.ts +13 -0
- package/lib/features/list-page-features/list-page-header/list-page-header.component.d.ts.map +1 -0
- package/lib/features/loading-indicator/loading-indicator.component.d.ts +9 -0
- package/lib/features/loading-indicator/loading-indicator.component.d.ts.map +1 -0
- package/lib/features/messaging/growler.component.d.ts +19 -0
- package/lib/features/messaging/growler.component.d.ts.map +1 -0
- package/lib/features/messaging/growler.model.d.ts +8 -0
- package/lib/features/messaging/growler.model.d.ts.map +1 -0
- package/lib/features/messaging/growler.module.d.ts +10 -0
- package/lib/features/messaging/growler.module.d.ts.map +1 -0
- package/lib/features/messaging/growler.service.d.ts +18 -0
- package/lib/features/messaging/growler.service.d.ts.map +1 -0
- package/lib/features/messaging/logger.service.d.ts +27 -0
- package/lib/features/messaging/logger.service.d.ts.map +1 -0
- package/lib/features/no-items/no-items.component.d.ts +19 -0
- package/lib/features/no-items/no-items.component.d.ts.map +1 -0
- package/lib/features/overrides/overrides.component.d.ts +33 -0
- package/lib/features/overrides/overrides.component.d.ts.map +1 -0
- package/lib/features/overrides/overrides.service.d.ts +18 -0
- package/lib/features/overrides/overrides.service.d.ts.map +1 -0
- package/lib/features/preview-list/preview-list.component.d.ts +24 -0
- package/lib/features/preview-list/preview-list.component.d.ts.map +1 -0
- package/lib/features/projectable-forms/configuration/configuration-form.component.d.ts +52 -0
- package/lib/features/projectable-forms/configuration/configuration-form.component.d.ts.map +1 -0
- package/lib/features/projectable-forms/configuration/configuration.service.d.ts +33 -0
- package/lib/features/projectable-forms/configuration/configuration.service.d.ts.map +1 -0
- package/lib/features/projectable-forms/edge-router/edge-router-form.component.d.ts +45 -0
- package/lib/features/projectable-forms/edge-router/edge-router-form.component.d.ts.map +1 -0
- package/lib/features/projectable-forms/edge-router/edge-router-form.service.d.ts +29 -0
- package/lib/features/projectable-forms/edge-router/edge-router-form.service.d.ts.map +1 -0
- package/lib/features/projectable-forms/form-field-container/form-field-container.component.d.ts +22 -0
- package/lib/features/projectable-forms/form-field-container/form-field-container.component.d.ts.map +1 -0
- package/lib/features/projectable-forms/form-field-toggle/form-field-toggle.component.d.ts +15 -0
- package/lib/features/projectable-forms/form-field-toggle/form-field-toggle.component.d.ts.map +1 -0
- package/lib/features/projectable-forms/form-header/form-header.component.d.ts +23 -0
- package/lib/features/projectable-forms/form-header/form-header.component.d.ts.map +1 -0
- package/lib/features/projectable-forms/identity/identity-form.component.d.ts +70 -0
- package/lib/features/projectable-forms/identity/identity-form.component.d.ts.map +1 -0
- package/lib/features/projectable-forms/identity/identity-form.service.d.ts +20 -0
- package/lib/features/projectable-forms/identity/identity-form.service.d.ts.map +1 -0
- package/lib/features/projectable-forms/projectable-form.class.d.ts +39 -0
- package/lib/features/projectable-forms/projectable-form.class.d.ts.map +1 -0
- package/lib/features/projectable-forms/service/service-form.component.d.ts +62 -0
- package/lib/features/projectable-forms/service/service-form.component.d.ts.map +1 -0
- package/lib/features/projectable-forms/service/service-form.service.d.ts +96 -0
- package/lib/features/projectable-forms/service/service-form.service.d.ts.map +1 -0
- package/lib/features/projectable-forms/service/simple-service/simple-service.component.d.ts +140 -0
- package/lib/features/projectable-forms/service/simple-service/simple-service.component.d.ts.map +1 -0
- package/lib/features/projectable-forms/service-policy/service-policy-form.component.d.ts +58 -0
- package/lib/features/projectable-forms/service-policy/service-policy-form.component.d.ts.map +1 -0
- package/lib/features/projectable-forms/service-policy/service-policy-form.service.d.ts +37 -0
- package/lib/features/projectable-forms/service-policy/service-policy-form.service.d.ts.map +1 -0
- package/lib/features/qr-code/qr-code.component.d.ts +40 -0
- package/lib/features/qr-code/qr-code.component.d.ts.map +1 -0
- package/lib/features/reset-enrollment/reset-enrollment.component.d.ts +27 -0
- package/lib/features/reset-enrollment/reset-enrollment.component.d.ts.map +1 -0
- package/lib/features/reset-enrollment/reset-enrollment.service.d.ts +13 -0
- package/lib/features/reset-enrollment/reset-enrollment.service.d.ts.map +1 -0
- package/lib/features/side-modal/side-modal.component.d.ts +15 -0
- package/lib/features/side-modal/side-modal.component.d.ts.map +1 -0
- package/lib/features/sidebars/side-banner/side-banner.component.d.ts +7 -0
- package/lib/features/sidebars/side-banner/side-banner.component.d.ts.map +1 -0
- package/lib/features/sidebars/side-navbar/side-navbar.component.d.ts +16 -0
- package/lib/features/sidebars/side-navbar/side-navbar.component.d.ts.map +1 -0
- package/lib/features/sidebars/side-toolbar/side-toolbar.component.d.ts +34 -0
- package/lib/features/sidebars/side-toolbar/side-toolbar.component.d.ts.map +1 -0
- package/lib/features/tag-selector/tag-selector.component.d.ts +59 -0
- package/lib/features/tag-selector/tag-selector.component.d.ts.map +1 -0
- package/lib/features/visualizer/identity-service-path/identity-service-path.component.d.ts +53 -0
- package/lib/features/visualizer/identity-service-path/identity-service-path.component.d.ts.map +1 -0
- package/lib/features/visualizer/identity-service-path/identity-service-path.helper.d.ts +21 -0
- package/lib/features/visualizer/identity-service-path/identity-service-path.helper.d.ts.map +1 -0
- package/lib/features/wrappers/node-wrapper.service.d.ts +24 -0
- package/lib/features/wrappers/node-wrapper.service.d.ts.map +1 -0
- package/lib/features/wrappers/zac-wrapper-service.class.d.ts +38 -0
- package/lib/features/wrappers/zac-wrapper-service.class.d.ts.map +1 -0
- package/lib/features/wrappers/zac-wrapper.component.d.ts +31 -0
- package/lib/features/wrappers/zac-wrapper.component.d.ts.map +1 -0
- package/lib/features/wrappers/zac-wrapper.service.d.ts +56 -0
- package/lib/features/wrappers/zac-wrapper.service.d.ts.map +1 -0
- package/lib/models/config.d.ts +6 -0
- package/lib/models/config.d.ts.map +1 -0
- package/lib/models/edge-router.d.ts +10 -0
- package/lib/models/edge-router.d.ts.map +1 -0
- package/lib/models/identity.d.ts +16 -0
- package/lib/models/identity.d.ts.map +1 -0
- package/lib/models/service-policy.d.ts +9 -0
- package/lib/models/service-policy.d.ts.map +1 -0
- package/lib/models/service.d.ts +9 -0
- package/lib/models/service.d.ts.map +1 -0
- package/lib/pages/configurations/configurations-page.component.d.ts +29 -0
- package/lib/pages/configurations/configurations-page.component.d.ts.map +1 -0
- package/lib/pages/configurations/configurations-page.service.d.ts +78 -0
- package/lib/pages/configurations/configurations-page.service.d.ts.map +1 -0
- package/lib/pages/edge-routers/edge-routers-page.component.d.ts +38 -0
- package/lib/pages/edge-routers/edge-routers-page.component.d.ts.map +1 -0
- package/lib/pages/edge-routers/edge-routers-page.service.d.ts +47 -0
- package/lib/pages/edge-routers/edge-routers-page.service.d.ts.map +1 -0
- package/lib/pages/identities/identities-page.component.d.ts +44 -0
- package/lib/pages/identities/identities-page.component.d.ts.map +1 -0
- package/lib/pages/identities/identities-page.service.d.ts +54 -0
- package/lib/pages/identities/identities-page.service.d.ts.map +1 -0
- package/lib/pages/service-policies/service-policies-page.component.d.ts +36 -0
- package/lib/pages/service-policies/service-policies-page.component.d.ts.map +1 -0
- package/lib/pages/service-policies/service-policies-page.service.d.ts +63 -0
- package/lib/pages/service-policies/service-policies-page.service.d.ts.map +1 -0
- package/lib/pages/services/services-page.component.d.ts +37 -0
- package/lib/pages/services/services-page.component.d.ts.map +1 -0
- package/lib/pages/services/services-page.service.d.ts +46 -0
- package/lib/pages/services/services-page.service.d.ts.map +1 -0
- package/lib/safe.pipe.d.ts +11 -0
- package/lib/safe.pipe.d.ts.map +1 -0
- package/lib/services/console-events.service.d.ts +12 -0
- package/lib/services/console-events.service.d.ts.map +1 -0
- package/lib/services/csv-download.service.d.ts +11 -0
- package/lib/services/csv-download.service.d.ts.map +1 -0
- package/lib/services/deactivate-guard.service.d.ts +14 -0
- package/lib/services/deactivate-guard.service.d.ts.map +1 -0
- package/lib/services/login-service.class.d.ts +22 -0
- package/lib/services/login-service.class.d.ts.map +1 -0
- package/lib/services/node-data.service.d.ts +32 -0
- package/lib/services/node-data.service.d.ts.map +1 -0
- package/lib/services/noop-login.service.d.ts +23 -0
- package/lib/services/noop-login.service.d.ts.map +1 -0
- package/lib/services/schema.service.d.ts +63 -0
- package/lib/services/schema.service.d.ts.map +1 -0
- package/lib/services/settings-service.class.d.ts +35 -0
- package/lib/services/settings-service.class.d.ts.map +1 -0
- package/lib/services/settings.service.d.ts +18 -0
- package/lib/services/settings.service.d.ts.map +1 -0
- package/lib/services/tab-name.service.d.ts +20 -0
- package/lib/services/tab-name.service.d.ts.map +1 -0
- package/lib/services/validation.service.d.ts +13 -0
- package/lib/services/validation.service.d.ts.map +1 -0
- package/lib/services/ziti-controller-data.service.d.ts +32 -0
- package/lib/services/ziti-controller-data.service.d.ts.map +1 -0
- package/lib/services/ziti-data.service.d.ts +40 -0
- package/lib/services/ziti-data.service.d.ts.map +1 -0
- package/lib/services/ziti-domain-controller.service.d.ts +13 -0
- package/lib/services/ziti-domain-controller.service.d.ts.map +1 -0
- package/lib/shared/list-page-component.class.d.ts +52 -0
- package/lib/shared/list-page-component.class.d.ts.map +1 -0
- package/lib/shared/list-page-service.class.d.ts +47 -0
- package/lib/shared/list-page-service.class.d.ts.map +1 -0
- package/lib/version.d.ts +4 -0
- package/lib/version.d.ts.map +1 -0
- package/lib/zac-routing.module.d.ts +8 -0
- package/lib/zac-routing.module.d.ts.map +1 -0
- package/lib/ziti-console-lib.module.d.ts +85 -0
- package/lib/ziti-console-lib.module.d.ts.map +1 -0
- package/lib/ziti-console.constants.d.ts +4 -0
- package/lib/ziti-console.constants.d.ts.map +1 -0
- package/openziti-ziti-console-lib.d.ts.map +1 -0
- package/package.json +48 -0
- package/public-api.d.ts +68 -0
- package/public-api.d.ts.map +1 -0
|
@@ -0,0 +1,1030 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright NetFoundry Inc.
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
// Type definitions for vis.js 4.21
|
|
18
|
+
// Project: https://github.com/almende/vis, http://visjs.org
|
|
19
|
+
// Definitions by: Michaël Bitard <https://github.com/MichaelBitard>
|
|
20
|
+
// MacLeod Broad <https://github.com/macleodbroad-wf>
|
|
21
|
+
// Adrian Caballero <https://github.com/adripanico>
|
|
22
|
+
// Severin <https://github.com/seveves>
|
|
23
|
+
// kaktus40 <https://github.com/kaktus40>
|
|
24
|
+
// Matthieu Maitre <https://github.com/mmaitre314>
|
|
25
|
+
// Adam Lewis <https://github.com/supercargo>
|
|
26
|
+
// Alex Soh <https://github.com/takato1314>
|
|
27
|
+
// Oleksii Kachura <https://github.com/alex-kachura>
|
|
28
|
+
// dcop <https://github.com/dcop>
|
|
29
|
+
// Avraham Essoudry <https://github.com/avrahamcool>
|
|
30
|
+
// Dmitriy Trifonov <https://github.com/divideby>
|
|
31
|
+
// Sam Welek <https://github.com/tiberiushunter>
|
|
32
|
+
// Slaven Tomac <https://github.com/slavede>
|
|
33
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
34
|
+
|
|
35
|
+
import { DataInterface, DataSet, DataView } from 'vis-data';
|
|
36
|
+
export type DataInterfaceEdges = DataInterface<Edge, 'id'>
|
|
37
|
+
export type DataInterfaceNodes = DataInterface<Node, 'id'>
|
|
38
|
+
export type DataSetEdges = DataSet<Edge, 'id'>
|
|
39
|
+
export type DataSetNodes = DataSet<Node, 'id'>
|
|
40
|
+
export type DataViewEdges = DataView<Edge, 'id'>
|
|
41
|
+
export type DataViewNodes = DataView<Node, 'id'>
|
|
42
|
+
|
|
43
|
+
export type IdType = string | number;
|
|
44
|
+
export type DirectionType = 'from' | 'to';
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* If true (default) or an Object, the range is animated smoothly to the new window.
|
|
48
|
+
* An object can be provided to specify duration and easing function.
|
|
49
|
+
* Default duration is 500 ms, and default easing function is 'easeInOutQuad'.
|
|
50
|
+
*/
|
|
51
|
+
export type TimelineAnimationType = boolean | AnimationOptions;
|
|
52
|
+
|
|
53
|
+
export type NetworkEvents =
|
|
54
|
+
'click' |
|
|
55
|
+
'doubleClick' |
|
|
56
|
+
'oncontext' |
|
|
57
|
+
'hold' |
|
|
58
|
+
'release' |
|
|
59
|
+
'select' |
|
|
60
|
+
'selectNode' |
|
|
61
|
+
'selectEdge' |
|
|
62
|
+
'deselectNode' |
|
|
63
|
+
'deselectEdge' |
|
|
64
|
+
'dragStart' |
|
|
65
|
+
'dragging' |
|
|
66
|
+
'dragEnd' |
|
|
67
|
+
'hoverNode' |
|
|
68
|
+
'blurNode' |
|
|
69
|
+
'hoverEdge' |
|
|
70
|
+
'blurEdge' |
|
|
71
|
+
'zoom' |
|
|
72
|
+
'showPopup' |
|
|
73
|
+
'hidePopup' |
|
|
74
|
+
'startStabilizing' |
|
|
75
|
+
'stabilizationProgress' |
|
|
76
|
+
'stabilizationIterationsDone' |
|
|
77
|
+
'stabilized' |
|
|
78
|
+
'resize' |
|
|
79
|
+
'initRedraw' |
|
|
80
|
+
'beforeDrawing' |
|
|
81
|
+
'afterDrawing' |
|
|
82
|
+
'animationFinished' |
|
|
83
|
+
'configChange';
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Network is a visualization to display networks and networks consisting of nodes and edges.
|
|
87
|
+
* The visualization is easy to use and supports custom shapes, styles, colors, sizes, images, and more.
|
|
88
|
+
* The network visualization works smooth on any modern browser for up to a few thousand nodes and edges.
|
|
89
|
+
* To handle a larger amount of nodes, Network has clustering support. Network uses HTML canvas for rendering.
|
|
90
|
+
*/
|
|
91
|
+
export class Network {
|
|
92
|
+
/**
|
|
93
|
+
* Creates an instance of Network.
|
|
94
|
+
*
|
|
95
|
+
* @param container the HTML element representing the network container
|
|
96
|
+
* @param data network data
|
|
97
|
+
* @param [options] optional network options
|
|
98
|
+
*/
|
|
99
|
+
constructor(container: HTMLElement, data: Data, options?: Options);
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Remove the network from the DOM and remove all Hammer bindings and references.
|
|
103
|
+
*/
|
|
104
|
+
destroy(): void;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Override all the data in the network.
|
|
108
|
+
* If stabilization is enabled in the physics module,
|
|
109
|
+
* the network will stabilize again.
|
|
110
|
+
* This method is also performed when first initializing the network.
|
|
111
|
+
*
|
|
112
|
+
* @param data network data
|
|
113
|
+
*/
|
|
114
|
+
setData(data: Data): void;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Set the options.
|
|
118
|
+
* All available options can be found in the modules above.
|
|
119
|
+
* Each module requires it's own container with the module name to contain its options.
|
|
120
|
+
*
|
|
121
|
+
* @param options network options
|
|
122
|
+
*/
|
|
123
|
+
setOptions(options: Options): void;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Set an event listener.
|
|
127
|
+
* Depending on the type of event you get different parameters for the callback function.
|
|
128
|
+
*
|
|
129
|
+
* @param eventName the name of the event, f.e. 'click'
|
|
130
|
+
* @param callback the callback function that will be raised
|
|
131
|
+
*/
|
|
132
|
+
on(eventName: NetworkEvents, callback: (params?: any) => void): void;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Remove an event listener.
|
|
136
|
+
* The function you supply has to be the exact same as the one you used in the on function.
|
|
137
|
+
* If no function is supplied, all listeners will be removed.
|
|
138
|
+
*
|
|
139
|
+
* @param eventName the name of the event, f.e. 'click'
|
|
140
|
+
* @param [callback] the exact same callback function that was used when calling 'on'
|
|
141
|
+
*/
|
|
142
|
+
off(eventName: NetworkEvents, callback?: (params?: any) => void): void;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Set an event listener only once.
|
|
146
|
+
* After it has taken place, the event listener will be removed.
|
|
147
|
+
* Depending on the type of event you get different parameters for the callback function.
|
|
148
|
+
*
|
|
149
|
+
* @param eventName the name of the event, f.e. 'click'
|
|
150
|
+
* @param callback the callback function that will be raised once
|
|
151
|
+
*/
|
|
152
|
+
once(eventName: NetworkEvents, callback: (params?: any) => void): void;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* This function converts canvas coordinates to coordinates on the DOM.
|
|
156
|
+
* Input and output are in the form of {x:Number, y:Number} (IPosition interface).
|
|
157
|
+
* The DOM values are relative to the network container.
|
|
158
|
+
*
|
|
159
|
+
* @param position the canvas coordinates
|
|
160
|
+
* @returns the DOM coordinates
|
|
161
|
+
*/
|
|
162
|
+
canvasToDOM(position: Position): Position;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* This function converts DOM coordinates to coordinates on the canvas.
|
|
166
|
+
* Input and output are in the form of {x:Number,y:Number} (IPosition interface).
|
|
167
|
+
* The DOM values are relative to the network container.
|
|
168
|
+
*
|
|
169
|
+
* @param position the DOM coordinates
|
|
170
|
+
* @returns the canvas coordinates
|
|
171
|
+
*/
|
|
172
|
+
DOMtoCanvas(position: Position): Position;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Redraw the network.
|
|
176
|
+
*/
|
|
177
|
+
redraw(): void;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Set the size of the canvas.
|
|
181
|
+
* This is automatically done on a window resize.
|
|
182
|
+
*
|
|
183
|
+
* @param width width in a common format, f.e. '100px'
|
|
184
|
+
* @param height height in a common format, f.e. '100px'
|
|
185
|
+
*/
|
|
186
|
+
setSize(width: string, height: string): void;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* The joinCondition function is presented with all nodes.
|
|
190
|
+
*/
|
|
191
|
+
cluster(options?: ClusterOptions): void;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* This method looks at the provided node and makes a cluster of it and all it's connected nodes.
|
|
195
|
+
* The behaviour can be customized by proving the options object.
|
|
196
|
+
* All options of this object are explained below.
|
|
197
|
+
* The joinCondition is only presented with the connected nodes.
|
|
198
|
+
*
|
|
199
|
+
* @param nodeId the id of the node
|
|
200
|
+
* @param [options] the cluster options
|
|
201
|
+
*/
|
|
202
|
+
clusterByConnection(nodeId: string, options?: ClusterOptions): void;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* This method checks all nodes in the network and those with a equal or higher
|
|
206
|
+
* amount of edges than specified with the hubsize qualify.
|
|
207
|
+
* If a hubsize is not defined, the hubsize will be determined as the average
|
|
208
|
+
* value plus two standard deviations.
|
|
209
|
+
* For all qualifying nodes, clusterByConnection is performed on each of them.
|
|
210
|
+
* The options object is described for clusterByConnection and does the same here.
|
|
211
|
+
*
|
|
212
|
+
* @param [hubsize] optional hubsize
|
|
213
|
+
* @param [options] optional cluster options
|
|
214
|
+
*/
|
|
215
|
+
clusterByHubsize(hubsize?: number, options?: ClusterOptions): void;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* This method will cluster all nodes with 1 edge with their respective connected node.
|
|
219
|
+
*
|
|
220
|
+
* @param [options] optional cluster options
|
|
221
|
+
*/
|
|
222
|
+
clusterOutliers(options?: ClusterOptions): void;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Nodes can be in clusters.
|
|
226
|
+
* Clusters can also be in clusters.
|
|
227
|
+
* This function returns an array of nodeIds showing where the node is.
|
|
228
|
+
*
|
|
229
|
+
* Example:
|
|
230
|
+
* cluster 'A' contains cluster 'B', cluster 'B' contains cluster 'C',
|
|
231
|
+
* cluster 'C' contains node 'fred'.
|
|
232
|
+
*
|
|
233
|
+
* network.clustering.findNode('fred') will return ['A','B','C','fred'].
|
|
234
|
+
*
|
|
235
|
+
* @param nodeId the node id.
|
|
236
|
+
* @returns an array of nodeIds showing where the node is
|
|
237
|
+
*/
|
|
238
|
+
findNode(nodeId: IdType): IdType[];
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Similar to findNode in that it returns all the edge ids that were
|
|
242
|
+
* created from the provided edge during clustering.
|
|
243
|
+
*
|
|
244
|
+
* @param baseEdgeId the base edge id
|
|
245
|
+
* @returns an array of edgeIds
|
|
246
|
+
*/
|
|
247
|
+
getClusteredEdges(baseEdgeId: IdType): IdType[];
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* When a clusteredEdgeId is available, this method will return the original
|
|
251
|
+
* baseEdgeId provided in data.edges ie.
|
|
252
|
+
* After clustering the 'SelectEdge' event is fired but provides only the clustered edge.
|
|
253
|
+
* This method can then be used to return the baseEdgeId.
|
|
254
|
+
*/
|
|
255
|
+
getBaseEdge(clusteredEdgeId: IdType): IdType;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* For the given clusteredEdgeId, this method will return all the original
|
|
259
|
+
* base edge id's provided in data.edges.
|
|
260
|
+
* For a non-clustered (i.e. 'base') edge, clusteredEdgeId is returned.
|
|
261
|
+
* Only the base edge id's are returned.
|
|
262
|
+
* All clustered edges id's under clusteredEdgeId are skipped,
|
|
263
|
+
* but scanned recursively to return their base id's.
|
|
264
|
+
*/
|
|
265
|
+
getBaseEdges(clusteredEdgeId: IdType): IdType[];
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Visible edges between clustered nodes are not the same edge as the ones provided
|
|
269
|
+
* in data.edges passed on network creation. With each layer of clustering, copies of
|
|
270
|
+
* the edges between clusters are created and the previous edges are hidden,
|
|
271
|
+
* until the cluster is opened. This method takes an edgeId (ie. a base edgeId from data.edges)
|
|
272
|
+
* and applys the options to it and any edges that were created from it while clustering.
|
|
273
|
+
*/
|
|
274
|
+
updateEdge(startEdgeId: IdType, options?: EdgeOptions): void;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Clustered Nodes when created are not contained in the original data.nodes
|
|
278
|
+
* passed on network creation. This method updates the cluster node.
|
|
279
|
+
*/
|
|
280
|
+
updateClusteredNode(clusteredNodeId: IdType, options?: NodeOptions): void;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Returns true if the node whose ID has been supplied is a cluster.
|
|
284
|
+
*
|
|
285
|
+
* @param nodeId the node id.
|
|
286
|
+
*/
|
|
287
|
+
isCluster(nodeId: IdType): boolean;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Returns an array of all nodeIds of the nodes that
|
|
291
|
+
* would be released if you open the cluster.
|
|
292
|
+
*
|
|
293
|
+
* @param clusterNodeId the id of the cluster node
|
|
294
|
+
*/
|
|
295
|
+
getNodesInCluster(clusterNodeId: IdType): IdType[];
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Opens the cluster, releases the contained nodes and edges,
|
|
299
|
+
* removing the cluster node and cluster edges.
|
|
300
|
+
* The options object is optional and currently supports one option,
|
|
301
|
+
* releaseFunction, which is a function that can be used to manually
|
|
302
|
+
* position the nodes after the cluster is opened.
|
|
303
|
+
*
|
|
304
|
+
* @param nodeId the node id
|
|
305
|
+
* @param [options] optional open cluster options
|
|
306
|
+
*/
|
|
307
|
+
openCluster(nodeId: IdType, options?: OpenClusterOptions): void;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* If you like the layout of your network
|
|
311
|
+
* and would like it to start in the same way next time,
|
|
312
|
+
* ask for the seed using this method and put it in the layout.randomSeed option.
|
|
313
|
+
*
|
|
314
|
+
* @returns the current seed of the network.
|
|
315
|
+
*/
|
|
316
|
+
getSeed(): number;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Programatically enable the edit mode.
|
|
320
|
+
* Similar effect to pressing the edit button.
|
|
321
|
+
*/
|
|
322
|
+
enableEditMode(): void;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Programatically disable the edit mode.
|
|
326
|
+
* Similar effect to pressing the close icon (small cross in the corner of the toolbar).
|
|
327
|
+
*/
|
|
328
|
+
disableEditMode(): void;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Go into addNode mode. Having edit mode or manipulation enabled is not required.
|
|
332
|
+
* To get out of this mode, call disableEditMode().
|
|
333
|
+
* The callback functions defined in handlerFunctions still apply.
|
|
334
|
+
* To use these methods without having the manipulation GUI, make sure you set enabled to false.
|
|
335
|
+
*/
|
|
336
|
+
addNodeMode(): void;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Edit the selected node.
|
|
340
|
+
* The explaination from addNodeMode applies here as well.
|
|
341
|
+
*/
|
|
342
|
+
editNode(): void;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Go into addEdge mode.
|
|
346
|
+
* The explaination from addNodeMode applies here as well.
|
|
347
|
+
*/
|
|
348
|
+
addEdgeMode(): void;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Go into editEdge mode.
|
|
352
|
+
* The explaination from addNodeMode applies here as well.
|
|
353
|
+
*/
|
|
354
|
+
editEdgeMode(): void;
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Delete selected.
|
|
358
|
+
* Having edit mode or manipulation enabled is not required.
|
|
359
|
+
*/
|
|
360
|
+
deleteSelected(): void;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Returns the x y positions in canvas space of the nodes with the supplied nodeIds as an object.
|
|
364
|
+
*
|
|
365
|
+
* Alternative inputs are a String containing a nodeId or nothing.
|
|
366
|
+
* When a String is supplied, the position of the node corresponding to the ID is returned.
|
|
367
|
+
* When nothing is supplied, the positions of all nodes are returned.
|
|
368
|
+
*/
|
|
369
|
+
getPositions(nodeIds?: IdType[]): { [nodeId: string]: Position };
|
|
370
|
+
getPositions(nodeId: IdType): Position;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* When using the vis.DataSet to load your nodes into the network,
|
|
374
|
+
* this method will put the X and Y positions of all nodes into that dataset.
|
|
375
|
+
* If you're loading your nodes from a database and have this dynamically coupled with the DataSet,
|
|
376
|
+
* you can use this to stablize your network once, then save the positions in that database
|
|
377
|
+
* through the DataSet so the next time you load the nodes, stabilization will be near instantaneous.
|
|
378
|
+
*
|
|
379
|
+
* If the nodes are still moving and you're using dynamic smooth edges (which is on by default),
|
|
380
|
+
* you can use the option stabilization.onlyDynamicEdges in the physics module to improve initialization time.
|
|
381
|
+
*
|
|
382
|
+
* This method does not support clustering.
|
|
383
|
+
* At the moment it is not possible to cache positions when using clusters since
|
|
384
|
+
* they cannot be correctly initialized from just the positions.
|
|
385
|
+
*/
|
|
386
|
+
storePositions(): void;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* You can use this to programatically move a node.
|
|
390
|
+
* The supplied x and y positions have to be in canvas space!
|
|
391
|
+
*
|
|
392
|
+
* @param nodeId the node that will be moved
|
|
393
|
+
* @param x new canvas space x position
|
|
394
|
+
* @param y new canvas space y position
|
|
395
|
+
*/
|
|
396
|
+
moveNode(nodeId: IdType, x: number, y: number): void;
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Returns a bounding box for the node including label.
|
|
400
|
+
*
|
|
401
|
+
*/
|
|
402
|
+
getBoundingBox(nodeId: IdType): BoundingBox;
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Returns an array of nodeIds of the all the nodes that are directly connected to this node.
|
|
406
|
+
* If you supply an edgeId, vis will first match the id to nodes.
|
|
407
|
+
* If no match is found, it will search in the edgelist and return an array: [fromId, toId].
|
|
408
|
+
*
|
|
409
|
+
* @param nodeOrEdgeId a node or edge id
|
|
410
|
+
*/
|
|
411
|
+
getConnectedNodes(nodeOrEdgeId: IdType, direction?: DirectionType): IdType[] | Array<{ fromId: IdType, toId: IdType }>;
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Returns an array of edgeIds of the edges connected to this node.
|
|
415
|
+
*
|
|
416
|
+
* @param nodeId the node id
|
|
417
|
+
*/
|
|
418
|
+
getConnectedEdges(nodeId: IdType): IdType[];
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Start the physics simulation.
|
|
422
|
+
* This is normally done whenever needed and is only really useful
|
|
423
|
+
* if you stop the simulation yourself and wish to continue it afterwards.
|
|
424
|
+
*/
|
|
425
|
+
startSimulation(): void;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* This stops the physics simulation and triggers a stabilized event.
|
|
429
|
+
* Tt can be restarted by dragging a node,
|
|
430
|
+
* altering the dataset or calling startSimulation().
|
|
431
|
+
*/
|
|
432
|
+
stopSimulation(): void;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* You can manually call stabilize at any time.
|
|
436
|
+
* All the stabilization options above are used.
|
|
437
|
+
* You can optionally supply the number of iterations it should do.
|
|
438
|
+
*
|
|
439
|
+
* @param [iterations] the number of iterations it should do
|
|
440
|
+
*/
|
|
441
|
+
stabilize(iterations?: number): void;
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Returns an object with selected nodes and edges ids.
|
|
445
|
+
*
|
|
446
|
+
*/
|
|
447
|
+
getSelection(): { nodes: IdType[], edges: IdType[] };
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Returns an array of selected node ids like so:
|
|
451
|
+
* [nodeId1, nodeId2, ..].
|
|
452
|
+
*
|
|
453
|
+
*/
|
|
454
|
+
getSelectedNodes(): IdType[];
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Returns an array of selected edge ids like so:
|
|
458
|
+
* [edgeId1, edgeId2, ..].
|
|
459
|
+
*
|
|
460
|
+
*/
|
|
461
|
+
getSelectedEdges(): IdType[];
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Returns a nodeId or undefined.
|
|
465
|
+
* The DOM positions are expected to be in pixels from the top left corner of the canvas.
|
|
466
|
+
*
|
|
467
|
+
*/
|
|
468
|
+
getNodeAt(position: Position): IdType;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Returns a edgeId or undefined.
|
|
472
|
+
* The DOM positions are expected to be in pixels from the top left corner of the canvas.
|
|
473
|
+
*
|
|
474
|
+
*/
|
|
475
|
+
getEdgeAt(position: Position): IdType;
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* Selects the nodes corresponding to the id's in the input array.
|
|
479
|
+
* If highlightEdges is true or undefined, the neighbouring edges will also be selected.
|
|
480
|
+
* This method unselects all other objects before selecting its own objects. Does not fire events.
|
|
481
|
+
*
|
|
482
|
+
*/
|
|
483
|
+
selectNodes(nodeIds: IdType[], highlightEdges?: boolean): void;
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Selects the edges corresponding to the id's in the input array.
|
|
487
|
+
* This method unselects all other objects before selecting its own objects.
|
|
488
|
+
* Does not fire events.
|
|
489
|
+
*
|
|
490
|
+
*/
|
|
491
|
+
selectEdges(edgeIds: IdType[]): void;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* Sets the selection.
|
|
495
|
+
* You can also pass only nodes or edges in selection object.
|
|
496
|
+
*
|
|
497
|
+
*/
|
|
498
|
+
setSelection(selection: { nodes: IdType[], edges: IdType[] }, options?: SelectionOptions): void;
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* Unselect all objects.
|
|
502
|
+
* Does not fire events.
|
|
503
|
+
*/
|
|
504
|
+
unselectAll(): void;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Returns the current scale of the network.
|
|
508
|
+
* 1.0 is comparible to 100%, 0 is zoomed out infinitely.
|
|
509
|
+
*
|
|
510
|
+
* @returns the current scale of the network
|
|
511
|
+
*/
|
|
512
|
+
getScale(): number;
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* Returns the current central focus point of the view in the form: { x: {Number}, y: {Number} }
|
|
516
|
+
*
|
|
517
|
+
* @returns the view position;
|
|
518
|
+
*/
|
|
519
|
+
getViewPosition(): Position;
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* Zooms out so all nodes fit on the canvas.
|
|
523
|
+
*
|
|
524
|
+
* @param [options] All options are optional for the fit method
|
|
525
|
+
*/
|
|
526
|
+
fit(options?: FitOptions): void;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* You can focus on a node with this function.
|
|
530
|
+
* What that means is the view will lock onto that node, if it is moving, the view will also move accordingly.
|
|
531
|
+
* If the view is dragged by the user, the focus is broken. You can supply options to customize the effect.
|
|
532
|
+
*
|
|
533
|
+
*/
|
|
534
|
+
focus(nodeId: IdType, options?: FocusOptions): void;
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* You can animate or move the camera using the moveTo method.
|
|
538
|
+
*
|
|
539
|
+
*/
|
|
540
|
+
moveTo(options: MoveToOptions): void;
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* Programatically release the focussed node.
|
|
544
|
+
*/
|
|
545
|
+
releaseNode(): void;
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* If you use the configurator, you can call this method to get an options object that contains
|
|
549
|
+
* all differences from the default options caused by users interacting with the configurator.
|
|
550
|
+
*
|
|
551
|
+
*/
|
|
552
|
+
getOptionsFromConfigurator(): any;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Options interface for focus function.
|
|
557
|
+
*/
|
|
558
|
+
export interface FocusOptions extends ViewPortOptions {
|
|
559
|
+
/**
|
|
560
|
+
* Locked denotes whether or not the view remains locked to
|
|
561
|
+
* the node once the zoom-in animation is finished.
|
|
562
|
+
* Default value is true.
|
|
563
|
+
*/
|
|
564
|
+
locked?: boolean;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Base options interface for some viewport functions.
|
|
569
|
+
*/
|
|
570
|
+
export interface ViewPortOptions {
|
|
571
|
+
/**
|
|
572
|
+
* The scale is the target zoomlevel.
|
|
573
|
+
* Default value is 1.0.
|
|
574
|
+
*/
|
|
575
|
+
scale?: number;
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* The offset (in DOM units) is how many pixels from the center the view is focussed.
|
|
579
|
+
* Default value is {x:0,y:0}
|
|
580
|
+
*/
|
|
581
|
+
offset?: Position;
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* For animation you can either use a Boolean to use it with the default options or
|
|
585
|
+
* disable it or you can define the duration (in milliseconds) and easing function manually.
|
|
586
|
+
*/
|
|
587
|
+
animation?: AnimationOptions | boolean;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* You will have to define at least a scale, position or offset.
|
|
592
|
+
* Otherwise, there is nothing to move to.
|
|
593
|
+
*/
|
|
594
|
+
export interface MoveToOptions extends ViewPortOptions {
|
|
595
|
+
/**
|
|
596
|
+
* The position (in canvas units!) is the position of the central focus point of the camera.
|
|
597
|
+
*/
|
|
598
|
+
position?: Position;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Animation options interface.
|
|
603
|
+
*/
|
|
604
|
+
export interface AnimationOptions {
|
|
605
|
+
/**
|
|
606
|
+
* The duration (in milliseconds).
|
|
607
|
+
*/
|
|
608
|
+
duration: number;
|
|
609
|
+
/**
|
|
610
|
+
* The easing function.
|
|
611
|
+
*
|
|
612
|
+
* Available are:
|
|
613
|
+
* linear, easeInQuad, easeOutQuad, easeInOutQuad, easeInCubic,
|
|
614
|
+
* easeOutCubic, easeInOutCubic, easeInQuart, easeOutQuart, easeInOutQuart,
|
|
615
|
+
* easeInQuint, easeOutQuint, easeInOutQuint.
|
|
616
|
+
*/
|
|
617
|
+
easingFunction: EasingFunction;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
export type EasingFunction =
|
|
621
|
+
'linear' |
|
|
622
|
+
'easeInQuad' |
|
|
623
|
+
'easeOutQuad' |
|
|
624
|
+
'easeInOutQuad' |
|
|
625
|
+
'easeInCubic' |
|
|
626
|
+
'easeOutCubic' |
|
|
627
|
+
'easeInOutCubic' |
|
|
628
|
+
'easeInQuart' |
|
|
629
|
+
'easeOutQuart' |
|
|
630
|
+
'easeInOutQuart' |
|
|
631
|
+
'easeInQuint' |
|
|
632
|
+
'easeOutQuint' |
|
|
633
|
+
'easeInOutQuint';
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Optional options for the fit method.
|
|
637
|
+
*/
|
|
638
|
+
export interface FitOptions {
|
|
639
|
+
/**
|
|
640
|
+
* The nodes can be used to zoom to fit only specific nodes in the view.
|
|
641
|
+
*/
|
|
642
|
+
nodes?: string[];
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* For animation you can either use a Boolean to use it with the default options or
|
|
646
|
+
* disable it or you can define the duration (in milliseconds) and easing function manually.
|
|
647
|
+
*/
|
|
648
|
+
animation: TimelineAnimationType;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export interface SelectionOptions {
|
|
652
|
+
unselectAll?: boolean;
|
|
653
|
+
highlightEdges?: boolean;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* These values are in canvas space.
|
|
658
|
+
*/
|
|
659
|
+
export interface BoundingBox {
|
|
660
|
+
top: number;
|
|
661
|
+
left: number;
|
|
662
|
+
right: number;
|
|
663
|
+
bottom: number;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Cluster methods options interface.
|
|
668
|
+
*/
|
|
669
|
+
export interface ClusterOptions {
|
|
670
|
+
/**
|
|
671
|
+
* Optional for all but the cluster method.
|
|
672
|
+
* The cluster module loops over all nodes that are selected to be in the cluster
|
|
673
|
+
* and calls this function with their data as argument. If this function returns true,
|
|
674
|
+
* this node will be added to the cluster. You have access to all options (including the default)
|
|
675
|
+
* as well as any custom fields you may have added to the node to determine whether or not to include it in the cluster.
|
|
676
|
+
*/
|
|
677
|
+
joinCondition?(nodeOptions: any): boolean;
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Optional.
|
|
681
|
+
* Before creating the new cluster node, this (optional) function will be called with the properties
|
|
682
|
+
* supplied by you (clusterNodeProperties), all contained nodes and all contained edges.
|
|
683
|
+
* You can use this to update the properties of the cluster based on which items it contains.
|
|
684
|
+
* The function should return the properties to create the cluster node.
|
|
685
|
+
*/
|
|
686
|
+
processProperties?(clusterOptions: any, childNodesOptions: any[], childEdgesOptions: any[]): any;
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* Optional.
|
|
690
|
+
* This is an object containing the options for the cluster node.
|
|
691
|
+
* All options described in the nodes module are allowed.
|
|
692
|
+
* This allows you to style your cluster node any way you want.
|
|
693
|
+
* This is also the style object that is provided in the processProperties function for fine tuning.
|
|
694
|
+
* If undefined, default node options will be used.
|
|
695
|
+
*/
|
|
696
|
+
clusterNodeProperties?: NodeOptions;
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Optional.
|
|
700
|
+
* This is an object containing the options for the edges connected to the cluster.
|
|
701
|
+
* All options described in the edges module are allowed.
|
|
702
|
+
* Using this, you can style the edges connecting to the cluster any way you want.
|
|
703
|
+
* If none are provided, the options from the edges that are replaced are used.
|
|
704
|
+
* If undefined, default edge options will be used.
|
|
705
|
+
*/
|
|
706
|
+
clusterEdgeProperties?: EdgeOptions;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* Options for the openCluster function of Network.
|
|
711
|
+
*/
|
|
712
|
+
export interface OpenClusterOptions {
|
|
713
|
+
/**
|
|
714
|
+
* A function that can be used to manually position the nodes after the cluster is opened.
|
|
715
|
+
* The containedNodesPositions contain the positions of the nodes in the cluster at the
|
|
716
|
+
* moment they were clustered. This function is expected to return the newPositions,
|
|
717
|
+
* which can be the containedNodesPositions (altered) or a new object.
|
|
718
|
+
* This has to be an object with keys equal to the nodeIds that exist in the
|
|
719
|
+
* containedNodesPositions and an {x:x,y:y} position object.
|
|
720
|
+
*
|
|
721
|
+
* For all nodeIds not listed in this returned object,
|
|
722
|
+
* we will position them at the location of the cluster.
|
|
723
|
+
* This is also the default behaviour when no releaseFunction is defined.
|
|
724
|
+
*/
|
|
725
|
+
releaseFunction(
|
|
726
|
+
clusterPosition: Position,
|
|
727
|
+
containedNodesPositions: { [nodeId: string]: Position }): { [nodeId: string]: Position };
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
export interface Position {
|
|
731
|
+
x: number;
|
|
732
|
+
y: number;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
export interface Data {
|
|
736
|
+
nodes?: Node[] | DataInterfaceNodes;
|
|
737
|
+
edges?: Edge[] | DataInterfaceEdges;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
export interface Node extends NodeOptions {
|
|
741
|
+
id?: IdType;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
export interface Edge extends EdgeOptions {
|
|
745
|
+
from?: IdType;
|
|
746
|
+
to?: IdType;
|
|
747
|
+
id?: IdType;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
export interface Locales {
|
|
751
|
+
[language: string]: LocaleMessages | undefined;
|
|
752
|
+
en?: LocaleMessages;
|
|
753
|
+
cn?: LocaleMessages;
|
|
754
|
+
de?: LocaleMessages;
|
|
755
|
+
es?: LocaleMessages;
|
|
756
|
+
it?: LocaleMessages;
|
|
757
|
+
nl?: LocaleMessages;
|
|
758
|
+
'pt-br'?: LocaleMessages;
|
|
759
|
+
ru?: LocaleMessages;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
export interface LocaleMessages {
|
|
763
|
+
edit: string;
|
|
764
|
+
del: string;
|
|
765
|
+
back: string;
|
|
766
|
+
addNode: string;
|
|
767
|
+
addEdge: string;
|
|
768
|
+
editNode: string;
|
|
769
|
+
editEdge: string;
|
|
770
|
+
addDescription: string;
|
|
771
|
+
edgeDescription: string;
|
|
772
|
+
editEdgeDescription: string;
|
|
773
|
+
createEdgeError: string;
|
|
774
|
+
deleteClusterError: string;
|
|
775
|
+
editClusterError: string;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
export interface Options {
|
|
779
|
+
autoResize?: boolean;
|
|
780
|
+
|
|
781
|
+
width?: string;
|
|
782
|
+
|
|
783
|
+
height?: string;
|
|
784
|
+
|
|
785
|
+
locale?: string;
|
|
786
|
+
|
|
787
|
+
locales?: Locales;
|
|
788
|
+
|
|
789
|
+
clickToUse?: boolean;
|
|
790
|
+
|
|
791
|
+
configure?: any; // https://visjs.github.io/vis-network/docs/network/configure.html
|
|
792
|
+
|
|
793
|
+
edges?: EdgeOptions;
|
|
794
|
+
|
|
795
|
+
nodes?: NodeOptions;
|
|
796
|
+
|
|
797
|
+
groups?: any;
|
|
798
|
+
|
|
799
|
+
layout?: any; // https://visjs.github.io/vis-network/docs/network/layout.html
|
|
800
|
+
|
|
801
|
+
interaction?: any; // https://visjs.github.io/vis-network/docs/network/interaction.html?keywords=edges
|
|
802
|
+
|
|
803
|
+
manipulation?: any; // https://visjs.github.io/vis-network/docs/network/manipulation.html
|
|
804
|
+
|
|
805
|
+
physics?: any; // https://visjs.github.io/vis-network/docs/network/physics.html
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
export interface Image {
|
|
809
|
+
unselected?: string;
|
|
810
|
+
selected?: string;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
export interface Color {
|
|
814
|
+
border?: string;
|
|
815
|
+
|
|
816
|
+
background?: string;
|
|
817
|
+
|
|
818
|
+
highlight?: string | {
|
|
819
|
+
border?: string;
|
|
820
|
+
background?: string;
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
hover?: string | {
|
|
824
|
+
border?: string;
|
|
825
|
+
background?: string;
|
|
826
|
+
};
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
export interface NodeOptions {
|
|
830
|
+
borderWidth?: number;
|
|
831
|
+
|
|
832
|
+
borderWidthSelected?: number;
|
|
833
|
+
|
|
834
|
+
brokenImage?: string;
|
|
835
|
+
|
|
836
|
+
color?: string | Color;
|
|
837
|
+
|
|
838
|
+
fixed?: boolean | {
|
|
839
|
+
x?: boolean,
|
|
840
|
+
y?: boolean,
|
|
841
|
+
};
|
|
842
|
+
|
|
843
|
+
font?: string | {
|
|
844
|
+
color?: string,
|
|
845
|
+
size?: number, // px
|
|
846
|
+
face?: string,
|
|
847
|
+
background?: string,
|
|
848
|
+
strokeWidth?: number, // px
|
|
849
|
+
strokeColor?: string,
|
|
850
|
+
align?: string,
|
|
851
|
+
vadjust?: string,
|
|
852
|
+
multi?: string,
|
|
853
|
+
bold?: string | FontOptions,
|
|
854
|
+
ital?: string | FontOptions,
|
|
855
|
+
boldital?: string | FontOptions,
|
|
856
|
+
mono?: string | FontOptions,
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
group?: string;
|
|
860
|
+
|
|
861
|
+
hidden?: boolean;
|
|
862
|
+
|
|
863
|
+
icon?: {
|
|
864
|
+
face?: string,
|
|
865
|
+
code?: string,
|
|
866
|
+
size?: number, // 50,
|
|
867
|
+
color?: string,
|
|
868
|
+
weight?: number | string,
|
|
869
|
+
};
|
|
870
|
+
|
|
871
|
+
image?: string | Image;
|
|
872
|
+
|
|
873
|
+
label?: string;
|
|
874
|
+
|
|
875
|
+
labelHighlightBold?: boolean;
|
|
876
|
+
|
|
877
|
+
level?: number;
|
|
878
|
+
|
|
879
|
+
margin?: {
|
|
880
|
+
top?: number;
|
|
881
|
+
right?: number;
|
|
882
|
+
bottom?: number;
|
|
883
|
+
left?: number;
|
|
884
|
+
};
|
|
885
|
+
|
|
886
|
+
mass?: number;
|
|
887
|
+
|
|
888
|
+
physics?: boolean;
|
|
889
|
+
|
|
890
|
+
scaling?: OptionsScaling;
|
|
891
|
+
|
|
892
|
+
shadow?: boolean | OptionsShadow;
|
|
893
|
+
|
|
894
|
+
shape?: string;
|
|
895
|
+
|
|
896
|
+
shapeProperties?: {
|
|
897
|
+
borderDashes?: boolean | number[], // only for borders
|
|
898
|
+
borderRadius?: number, // only for box shape
|
|
899
|
+
interpolation?: boolean, // only for image and circularImage shapes
|
|
900
|
+
useImageSize?: boolean, // only for image and circularImage shapes
|
|
901
|
+
useBorderWithImage?: boolean // only for image shape
|
|
902
|
+
};
|
|
903
|
+
|
|
904
|
+
size?: number;
|
|
905
|
+
|
|
906
|
+
title?: string;
|
|
907
|
+
|
|
908
|
+
value?: number;
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* If false, no widthConstraint is applied. If a number is specified, the minimum and maximum widths of the node are set to the value.
|
|
912
|
+
* The node's label's lines will be broken on spaces to stay below the maximum and the node's width
|
|
913
|
+
* will be set to the minimum if less than the value.
|
|
914
|
+
*/
|
|
915
|
+
widthConstraint?: number | boolean | { minimum?: number, maximum?: number };
|
|
916
|
+
|
|
917
|
+
x?: number;
|
|
918
|
+
|
|
919
|
+
y?: number;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
export interface EdgeOptions {
|
|
923
|
+
arrows?: string | {
|
|
924
|
+
to?: boolean | {
|
|
925
|
+
enabled?: boolean,
|
|
926
|
+
scaleFactor?: number,
|
|
927
|
+
type?: string
|
|
928
|
+
},
|
|
929
|
+
middle?: boolean | {
|
|
930
|
+
enabled?: boolean,
|
|
931
|
+
scaleFactor?: number,
|
|
932
|
+
type?: string
|
|
933
|
+
},
|
|
934
|
+
from?: boolean | {
|
|
935
|
+
enabled?: boolean,
|
|
936
|
+
scaleFactor?: number,
|
|
937
|
+
type?: string
|
|
938
|
+
}
|
|
939
|
+
};
|
|
940
|
+
|
|
941
|
+
arrowStrikethrough?: boolean;
|
|
942
|
+
|
|
943
|
+
color?: string | {
|
|
944
|
+
color?: string,
|
|
945
|
+
highlight?: string,
|
|
946
|
+
hover?: string,
|
|
947
|
+
inherit?: boolean | string,
|
|
948
|
+
opacity?: number,
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
dashes?: boolean | number[];
|
|
952
|
+
|
|
953
|
+
font?: string | {
|
|
954
|
+
color?: string,
|
|
955
|
+
size?: number, // px
|
|
956
|
+
face?: string,
|
|
957
|
+
background?: string,
|
|
958
|
+
strokeWidth?: number, // px
|
|
959
|
+
strokeColor?: string,
|
|
960
|
+
align?: string,
|
|
961
|
+
vadjust?: string,
|
|
962
|
+
multi?: string,
|
|
963
|
+
bold?: string | FontOptions,
|
|
964
|
+
ital?: string | FontOptions,
|
|
965
|
+
boldital?: string | FontOptions,
|
|
966
|
+
mono?: string | FontOptions,
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
hidden?: boolean;
|
|
970
|
+
|
|
971
|
+
hoverWidth?: number; // please note, hoverWidth could be also a function. This case is not represented here
|
|
972
|
+
|
|
973
|
+
label?: string;
|
|
974
|
+
|
|
975
|
+
labelHighlightBold?: boolean;
|
|
976
|
+
|
|
977
|
+
length?: number;
|
|
978
|
+
|
|
979
|
+
physics?: boolean;
|
|
980
|
+
|
|
981
|
+
scaling?: OptionsScaling;
|
|
982
|
+
|
|
983
|
+
selectionWidth?: number; // please note, selectionWidth could be also a function. This case is not represented here
|
|
984
|
+
|
|
985
|
+
selfReferenceSize?: number;
|
|
986
|
+
|
|
987
|
+
shadow?: boolean | OptionsShadow;
|
|
988
|
+
|
|
989
|
+
smooth?: boolean | {
|
|
990
|
+
enabled: boolean,
|
|
991
|
+
type: string,
|
|
992
|
+
forceDirection?: string | boolean,
|
|
993
|
+
roundness: number,
|
|
994
|
+
};
|
|
995
|
+
|
|
996
|
+
title?: string;
|
|
997
|
+
|
|
998
|
+
value?: number;
|
|
999
|
+
|
|
1000
|
+
width?: number;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
export interface FontOptions {
|
|
1004
|
+
color?: string;
|
|
1005
|
+
size?: number;
|
|
1006
|
+
face?: string;
|
|
1007
|
+
mod?: string;
|
|
1008
|
+
vadjust?: string;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
export interface OptionsScaling {
|
|
1012
|
+
min?: number;
|
|
1013
|
+
max?: number;
|
|
1014
|
+
label?: boolean | {
|
|
1015
|
+
enabled?: boolean,
|
|
1016
|
+
min?: number,
|
|
1017
|
+
max?: number,
|
|
1018
|
+
maxVisible?: number,
|
|
1019
|
+
drawThreshold?: number
|
|
1020
|
+
};
|
|
1021
|
+
customScalingFunction?(min?: number, max?: number, total?: number, value?: number): number;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
export interface OptionsShadow {
|
|
1025
|
+
enabled: boolean;
|
|
1026
|
+
color: string;
|
|
1027
|
+
size: number;
|
|
1028
|
+
x: number;
|
|
1029
|
+
y: number;
|
|
1030
|
+
}
|