ng-kinintel 0.0.317
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/karma.conf.js +44 -0
- package/ng-package.json +7 -0
- package/package.json +11 -0
- package/src/lib/components/alert-groups/alert-groups.component.html +140 -0
- package/src/lib/components/alert-groups/alert-groups.component.sass +4 -0
- package/src/lib/components/alert-groups/alert-groups.component.spec.ts +25 -0
- package/src/lib/components/alert-groups/alert-groups.component.ts +86 -0
- package/src/lib/components/alert-groups/edit-alert-group/edit-alert-group.component.html +91 -0
- package/src/lib/components/alert-groups/edit-alert-group/edit-alert-group.component.sass +2 -0
- package/src/lib/components/alert-groups/edit-alert-group/edit-alert-group.component.spec.ts +25 -0
- package/src/lib/components/alert-groups/edit-alert-group/edit-alert-group.component.ts +78 -0
- package/src/lib/components/dashboard-editor/configure-item/configure-item.component.html +2006 -0
- package/src/lib/components/dashboard-editor/configure-item/configure-item.component.sass +106 -0
- package/src/lib/components/dashboard-editor/configure-item/configure-item.component.spec.ts +25 -0
- package/src/lib/components/dashboard-editor/configure-item/configure-item.component.ts +967 -0
- package/src/lib/components/dashboard-editor/configure-item/edit-dashboard-alert/edit-dashboard-alert.component.html +81 -0
- package/src/lib/components/dashboard-editor/configure-item/edit-dashboard-alert/edit-dashboard-alert.component.sass +0 -0
- package/src/lib/components/dashboard-editor/configure-item/edit-dashboard-alert/edit-dashboard-alert.component.spec.ts +25 -0
- package/src/lib/components/dashboard-editor/configure-item/edit-dashboard-alert/edit-dashboard-alert.component.ts +48 -0
- package/src/lib/components/dashboard-editor/configure-item/html-documentation/html-documentation.component.html +142 -0
- package/src/lib/components/dashboard-editor/configure-item/html-documentation/html-documentation.component.sass +0 -0
- package/src/lib/components/dashboard-editor/configure-item/html-documentation/html-documentation.component.spec.ts +25 -0
- package/src/lib/components/dashboard-editor/configure-item/html-documentation/html-documentation.component.ts +117 -0
- package/src/lib/components/dashboard-editor/configure-item/table-cell-formatter/table-cell-formatter.component.html +224 -0
- package/src/lib/components/dashboard-editor/configure-item/table-cell-formatter/table-cell-formatter.component.sass +0 -0
- package/src/lib/components/dashboard-editor/configure-item/table-cell-formatter/table-cell-formatter.component.spec.ts +25 -0
- package/src/lib/components/dashboard-editor/configure-item/table-cell-formatter/table-cell-formatter.component.ts +149 -0
- package/src/lib/components/dashboard-editor/configure-item/vis-network-options.json +135 -0
- package/src/lib/components/dashboard-editor/dashboard-editor.component.html +205 -0
- package/src/lib/components/dashboard-editor/dashboard-editor.component.sass +247 -0
- package/src/lib/components/dashboard-editor/dashboard-editor.component.spec.ts +25 -0
- package/src/lib/components/dashboard-editor/dashboard-editor.component.ts +645 -0
- package/src/lib/components/dashboard-editor/dashboard-parameter/dashboard-parameter.component.html +1 -0
- package/src/lib/components/dashboard-editor/dashboard-parameter/dashboard-parameter.component.sass +0 -0
- package/src/lib/components/dashboard-editor/dashboard-parameter/dashboard-parameter.component.spec.ts +25 -0
- package/src/lib/components/dashboard-editor/dashboard-parameter/dashboard-parameter.component.ts +16 -0
- package/src/lib/components/dashboard-editor/dashboard-settings/dashboard-settings.component.html +167 -0
- package/src/lib/components/dashboard-editor/dashboard-settings/dashboard-settings.component.sass +0 -0
- package/src/lib/components/dashboard-editor/dashboard-settings/dashboard-settings.component.spec.ts +23 -0
- package/src/lib/components/dashboard-editor/dashboard-settings/dashboard-settings.component.ts +47 -0
- package/src/lib/components/dashboard-editor/item-component/item-component.component.html +486 -0
- package/src/lib/components/dashboard-editor/item-component/item-component.component.sass +137 -0
- package/src/lib/components/dashboard-editor/item-component/item-component.component.spec.ts +25 -0
- package/src/lib/components/dashboard-editor/item-component/item-component.component.ts +1381 -0
- package/src/lib/components/dashboard-editor/source-selector-dialog/source-selector-dialog.component.html +48 -0
- package/src/lib/components/dashboard-editor/source-selector-dialog/source-selector-dialog.component.sass +3 -0
- package/src/lib/components/dashboard-editor/source-selector-dialog/source-selector-dialog.component.spec.ts +25 -0
- package/src/lib/components/dashboard-editor/source-selector-dialog/source-selector-dialog.component.ts +111 -0
- package/src/lib/components/dashboards/dashboards.component.html +175 -0
- package/src/lib/components/dashboards/dashboards.component.sass +64 -0
- package/src/lib/components/dashboards/dashboards.component.spec.ts +25 -0
- package/src/lib/components/dashboards/dashboards.component.ts +176 -0
- package/src/lib/components/dashboards/view-dashboard/view-dashboard.component.html +138 -0
- package/src/lib/components/dashboards/view-dashboard/view-dashboard.component.sass +284 -0
- package/src/lib/components/dashboards/view-dashboard/view-dashboard.component.spec.ts +25 -0
- package/src/lib/components/dashboards/view-dashboard/view-dashboard.component.ts +462 -0
- package/src/lib/components/data-explorer/change-source-warning/change-source-warning.component.html +35 -0
- package/src/lib/components/data-explorer/change-source-warning/change-source-warning.component.sass +0 -0
- package/src/lib/components/data-explorer/change-source-warning/change-source-warning.component.spec.ts +23 -0
- package/src/lib/components/data-explorer/change-source-warning/change-source-warning.component.ts +21 -0
- package/src/lib/components/data-explorer/data-explorer.component.html +326 -0
- package/src/lib/components/data-explorer/data-explorer.component.sass +96 -0
- package/src/lib/components/data-explorer/data-explorer.component.spec.ts +25 -0
- package/src/lib/components/data-explorer/data-explorer.component.ts +267 -0
- package/src/lib/components/data-explorer/export-data/export-data.component.html +69 -0
- package/src/lib/components/data-explorer/export-data/export-data.component.sass +0 -0
- package/src/lib/components/data-explorer/export-data/export-data.component.spec.ts +25 -0
- package/src/lib/components/data-explorer/export-data/export-data.component.ts +56 -0
- package/src/lib/components/data-explorer/snapshot-api-access/snapshot-api-access.component.html +195 -0
- package/src/lib/components/data-explorer/snapshot-api-access/snapshot-api-access.component.sass +0 -0
- package/src/lib/components/data-explorer/snapshot-api-access/snapshot-api-access.component.spec.ts +23 -0
- package/src/lib/components/data-explorer/snapshot-api-access/snapshot-api-access.component.ts +79 -0
- package/src/lib/components/data-explorer/snapshot-profile-dialog/snapshot-profile-dialog.component.html +375 -0
- package/src/lib/components/data-explorer/snapshot-profile-dialog/snapshot-profile-dialog.component.sass +21 -0
- package/src/lib/components/data-explorer/snapshot-profile-dialog/snapshot-profile-dialog.component.spec.ts +25 -0
- package/src/lib/components/data-explorer/snapshot-profile-dialog/snapshot-profile-dialog.component.ts +197 -0
- package/src/lib/components/data-picker/data-picker.component.html +127 -0
- package/src/lib/components/data-picker/data-picker.component.sass +0 -0
- package/src/lib/components/data-picker/data-picker.component.spec.ts +25 -0
- package/src/lib/components/data-picker/data-picker.component.ts +90 -0
- package/src/lib/components/data-search/data-search.component.html +1 -0
- package/src/lib/components/data-search/data-search.component.sass +0 -0
- package/src/lib/components/data-search/data-search.component.spec.ts +23 -0
- package/src/lib/components/data-search/data-search.component.ts +10 -0
- package/src/lib/components/data-sharing-invite/data-sharing-invite.component.html +53 -0
- package/src/lib/components/data-sharing-invite/data-sharing-invite.component.sass +0 -0
- package/src/lib/components/data-sharing-invite/data-sharing-invite.component.spec.ts +23 -0
- package/src/lib/components/data-sharing-invite/data-sharing-invite.component.ts +56 -0
- package/src/lib/components/dataset/create-dataset/create-dataset.component.html +25 -0
- package/src/lib/components/dataset/create-dataset/create-dataset.component.sass +0 -0
- package/src/lib/components/dataset/create-dataset/create-dataset.component.spec.ts +25 -0
- package/src/lib/components/dataset/create-dataset/create-dataset.component.ts +44 -0
- package/src/lib/components/dataset/dataset-editor/available-columns/available-columns.component.html +28 -0
- package/src/lib/components/dataset/dataset-editor/available-columns/available-columns.component.sass +0 -0
- package/src/lib/components/dataset/dataset-editor/available-columns/available-columns.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/available-columns/available-columns.component.ts +22 -0
- package/src/lib/components/dataset/dataset-editor/dataset-add-join/dataset-add-join.component.html +196 -0
- package/src/lib/components/dataset/dataset-editor/dataset-add-join/dataset-add-join.component.sass +17 -0
- package/src/lib/components/dataset/dataset-editor/dataset-add-join/dataset-add-join.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-add-join/dataset-add-join.component.ts +422 -0
- package/src/lib/components/dataset/dataset-editor/dataset-column-settings/dataset-column-editor/dataset-column-editor.component.html +30 -0
- package/src/lib/components/dataset/dataset-editor/dataset-column-settings/dataset-column-editor/dataset-column-editor.component.sass +47 -0
- package/src/lib/components/dataset/dataset-editor/dataset-column-settings/dataset-column-editor/dataset-column-editor.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-column-settings/dataset-column-editor/dataset-column-editor.component.ts +78 -0
- package/src/lib/components/dataset/dataset-editor/dataset-column-settings/dataset-column-settings.component.html +86 -0
- package/src/lib/components/dataset/dataset-editor/dataset-column-settings/dataset-column-settings.component.sass +0 -0
- package/src/lib/components/dataset/dataset-editor/dataset-column-settings/dataset-column-settings.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-column-settings/dataset-column-settings.component.ts +49 -0
- package/src/lib/components/dataset/dataset-editor/dataset-create-formula/dataset-create-formula.component.html +68 -0
- package/src/lib/components/dataset/dataset-editor/dataset-create-formula/dataset-create-formula.component.sass +15 -0
- package/src/lib/components/dataset/dataset-editor/dataset-create-formula/dataset-create-formula.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-create-formula/dataset-create-formula.component.ts +65 -0
- package/src/lib/components/dataset/dataset-editor/dataset-editor-popup.html +19 -0
- package/src/lib/components/dataset/dataset-editor/dataset-editor.component.html +609 -0
- package/src/lib/components/dataset/dataset-editor/dataset-editor.component.sass +267 -0
- package/src/lib/components/dataset/dataset-editor/dataset-editor.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-editor.component.ts +1228 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filter/dataset-filter.component.html +309 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filter/dataset-filter.component.sass +41 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filter/dataset-filter.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filter/dataset-filter.component.ts +215 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filter-inclusion/dataset-filter-inclusion.component.html +33 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filter-inclusion/dataset-filter-inclusion.component.sass +3 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filter-inclusion/dataset-filter-inclusion.component.spec.ts +23 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filter-inclusion/dataset-filter-inclusion.component.ts +20 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filter-junction/dataset-filter-junction.component.html +52 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filter-junction/dataset-filter-junction.component.sass +14 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filter-junction/dataset-filter-junction.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filter-junction/dataset-filter-junction.component.ts +58 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filters.component.html +47 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filters.component.sass +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filters.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-filters/dataset-filters.component.ts +49 -0
- package/src/lib/components/dataset/dataset-editor/dataset-name-dialog/dataset-name-dialog.component.html +49 -0
- package/src/lib/components/dataset/dataset-editor/dataset-name-dialog/dataset-name-dialog.component.sass +2 -0
- package/src/lib/components/dataset/dataset-editor/dataset-name-dialog/dataset-name-dialog.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-name-dialog/dataset-name-dialog.component.ts +39 -0
- package/src/lib/components/dataset/dataset-editor/dataset-parameter-values/dataset-add-parameter/dataset-add-parameter.component.html +195 -0
- package/src/lib/components/dataset/dataset-editor/dataset-parameter-values/dataset-add-parameter/dataset-add-parameter.component.sass +14 -0
- package/src/lib/components/dataset/dataset-editor/dataset-parameter-values/dataset-add-parameter/dataset-add-parameter.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-parameter-values/dataset-add-parameter/dataset-add-parameter.component.ts +82 -0
- package/src/lib/components/dataset/dataset-editor/dataset-parameter-values/dataset-parameter-type/dataset-parameter-type.component.html +78 -0
- package/src/lib/components/dataset/dataset-editor/dataset-parameter-values/dataset-parameter-type/dataset-parameter-type.component.sass +16 -0
- package/src/lib/components/dataset/dataset-editor/dataset-parameter-values/dataset-parameter-type/dataset-parameter-type.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-parameter-values/dataset-parameter-type/dataset-parameter-type.component.ts +32 -0
- package/src/lib/components/dataset/dataset-editor/dataset-parameter-values/dataset-parameter-values.component.html +24 -0
- package/src/lib/components/dataset/dataset-editor/dataset-parameter-values/dataset-parameter-values.component.sass +22 -0
- package/src/lib/components/dataset/dataset-editor/dataset-parameter-values/dataset-parameter-values.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-parameter-values/dataset-parameter-values.component.ts +64 -0
- package/src/lib/components/dataset/dataset-editor/dataset-summarise/dataset-summarise.component.html +177 -0
- package/src/lib/components/dataset/dataset-editor/dataset-summarise/dataset-summarise.component.sass +80 -0
- package/src/lib/components/dataset/dataset-editor/dataset-summarise/dataset-summarise.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset-editor/dataset-summarise/dataset-summarise.component.ts +113 -0
- package/src/lib/components/dataset/dataset-editor/move-transformation-confirmation/move-transformation-confirmation.component.html +32 -0
- package/src/lib/components/dataset/dataset-editor/move-transformation-confirmation/move-transformation-confirmation.component.sass +0 -0
- package/src/lib/components/dataset/dataset-editor/move-transformation-confirmation/move-transformation-confirmation.component.spec.ts +23 -0
- package/src/lib/components/dataset/dataset-editor/move-transformation-confirmation/move-transformation-confirmation.component.ts +20 -0
- package/src/lib/components/dataset/dataset-editor/remove-transformation-warning/remove-transformation-warning.component.html +37 -0
- package/src/lib/components/dataset/dataset-editor/remove-transformation-warning/remove-transformation-warning.component.sass +0 -0
- package/src/lib/components/dataset/dataset-editor/remove-transformation-warning/remove-transformation-warning.component.spec.ts +23 -0
- package/src/lib/components/dataset/dataset-editor/remove-transformation-warning/remove-transformation-warning.component.ts +19 -0
- package/src/lib/components/dataset/dataset-editor/save-as-query/save-as-query.component.html +69 -0
- package/src/lib/components/dataset/dataset-editor/save-as-query/save-as-query.component.sass +0 -0
- package/src/lib/components/dataset/dataset-editor/save-as-query/save-as-query.component.spec.ts +23 -0
- package/src/lib/components/dataset/dataset-editor/save-as-query/save-as-query.component.ts +58 -0
- package/src/lib/components/dataset/dataset-editor/share-query/share-query.component.html +195 -0
- package/src/lib/components/dataset/dataset-editor/share-query/share-query.component.sass +0 -0
- package/src/lib/components/dataset/dataset-editor/share-query/share-query.component.spec.ts +23 -0
- package/src/lib/components/dataset/dataset-editor/share-query/share-query.component.ts +128 -0
- package/src/lib/components/dataset/dataset-editor/upstream-changes-confirmation/upstream-changes-confirmation.component.html +34 -0
- package/src/lib/components/dataset/dataset-editor/upstream-changes-confirmation/upstream-changes-confirmation.component.sass +3 -0
- package/src/lib/components/dataset/dataset-editor/upstream-changes-confirmation/upstream-changes-confirmation.component.spec.ts +23 -0
- package/src/lib/components/dataset/dataset-editor/upstream-changes-confirmation/upstream-changes-confirmation.component.ts +21 -0
- package/src/lib/components/dataset/dataset.component.html +317 -0
- package/src/lib/components/dataset/dataset.component.sass +73 -0
- package/src/lib/components/dataset/dataset.component.spec.ts +25 -0
- package/src/lib/components/dataset/dataset.component.ts +320 -0
- package/src/lib/components/datasource/create-datasource/advanced-settings/advanced-settings.component.html +133 -0
- package/src/lib/components/datasource/create-datasource/advanced-settings/advanced-settings.component.sass +51 -0
- package/src/lib/components/datasource/create-datasource/advanced-settings/advanced-settings.component.spec.ts +23 -0
- package/src/lib/components/datasource/create-datasource/advanced-settings/advanced-settings.component.ts +140 -0
- package/src/lib/components/datasource/create-datasource/api-access/api-access.component.html +257 -0
- package/src/lib/components/datasource/create-datasource/api-access/api-access.component.sass +0 -0
- package/src/lib/components/datasource/create-datasource/api-access/api-access.component.spec.ts +23 -0
- package/src/lib/components/datasource/create-datasource/api-access/api-access.component.ts +148 -0
- package/src/lib/components/datasource/create-datasource/create-datasource.component.html +430 -0
- package/src/lib/components/datasource/create-datasource/create-datasource.component.sass +162 -0
- package/src/lib/components/datasource/create-datasource/create-datasource.component.spec.ts +25 -0
- package/src/lib/components/datasource/create-datasource/create-datasource.component.ts +789 -0
- package/src/lib/components/datasource/create-datasource/import-data/import-data.component.html +119 -0
- package/src/lib/components/datasource/create-datasource/import-data/import-data.component.sass +8 -0
- package/src/lib/components/datasource/create-datasource/import-data/import-data.component.spec.ts +25 -0
- package/src/lib/components/datasource/create-datasource/import-data/import-data.component.ts +163 -0
- package/src/lib/components/datasource/create-datasource/import-data/import-wizard/import-wizard.component.html +239 -0
- package/src/lib/components/datasource/create-datasource/import-data/import-wizard/import-wizard.component.sass +0 -0
- package/src/lib/components/datasource/create-datasource/import-data/import-wizard/import-wizard.component.spec.ts +23 -0
- package/src/lib/components/datasource/create-datasource/import-data/import-wizard/import-wizard.component.ts +182 -0
- package/src/lib/components/datasource/create-datasource/tabular-datasource/tabular-datasource.component.html +167 -0
- package/src/lib/components/datasource/create-datasource/tabular-datasource/tabular-datasource.component.sass +87 -0
- package/src/lib/components/datasource/create-datasource/tabular-datasource/tabular-datasource.component.spec.ts +23 -0
- package/src/lib/components/datasource/create-datasource/tabular-datasource/tabular-datasource.component.ts +164 -0
- package/src/lib/components/datasource/datasource.component.html +165 -0
- package/src/lib/components/datasource/datasource.component.sass +4 -0
- package/src/lib/components/datasource/datasource.component.spec.ts +25 -0
- package/src/lib/components/datasource/datasource.component.ts +174 -0
- package/src/lib/components/datasource/document-datasource/document-datasource.component.html +558 -0
- package/src/lib/components/datasource/document-datasource/document-datasource.component.sass +84 -0
- package/src/lib/components/datasource/document-datasource/document-datasource.component.spec.ts +25 -0
- package/src/lib/components/datasource/document-datasource/document-datasource.component.ts +351 -0
- package/src/lib/components/export-project/export-project.component.html +280 -0
- package/src/lib/components/export-project/export-project.component.sass +0 -0
- package/src/lib/components/export-project/export-project.component.spec.ts +23 -0
- package/src/lib/components/export-project/export-project.component.ts +29 -0
- package/src/lib/components/feeds/feed/feed.component.html +144 -0
- package/src/lib/components/feeds/feed/feed.component.sass +0 -0
- package/src/lib/components/feeds/feed/feed.component.spec.ts +25 -0
- package/src/lib/components/feeds/feed/feed.component.ts +102 -0
- package/src/lib/components/feeds/feeds.component.html +210 -0
- package/src/lib/components/feeds/feeds.component.sass +4 -0
- package/src/lib/components/feeds/feeds.component.spec.ts +25 -0
- package/src/lib/components/feeds/feeds.component.ts +163 -0
- package/src/lib/components/job-tasks/job-tasks.component.html +22 -0
- package/src/lib/components/job-tasks/job-tasks.component.sass +0 -0
- package/src/lib/components/job-tasks/job-tasks.component.spec.ts +25 -0
- package/src/lib/components/job-tasks/job-tasks.component.ts +19 -0
- package/src/lib/components/marketplace/marketplace.component.html +143 -0
- package/src/lib/components/marketplace/marketplace.component.sass +0 -0
- package/src/lib/components/marketplace/marketplace.component.spec.ts +23 -0
- package/src/lib/components/marketplace/marketplace.component.ts +73 -0
- package/src/lib/components/metadata/metadata.component.html +62 -0
- package/src/lib/components/metadata/metadata.component.sass +0 -0
- package/src/lib/components/metadata/metadata.component.spec.ts +25 -0
- package/src/lib/components/metadata/metadata.component.ts +67 -0
- package/src/lib/components/notification-groups/edit-notification-group/edit-notification-group.component.html +82 -0
- package/src/lib/components/notification-groups/edit-notification-group/edit-notification-group.component.sass +21 -0
- package/src/lib/components/notification-groups/edit-notification-group/edit-notification-group.component.spec.ts +25 -0
- package/src/lib/components/notification-groups/edit-notification-group/edit-notification-group.component.ts +123 -0
- package/src/lib/components/notification-groups/notification-groups.component.html +125 -0
- package/src/lib/components/notification-groups/notification-groups.component.sass +4 -0
- package/src/lib/components/notification-groups/notification-groups.component.spec.ts +25 -0
- package/src/lib/components/notification-groups/notification-groups.component.ts +98 -0
- package/src/lib/components/project-picker/project-picker.component.html +167 -0
- package/src/lib/components/project-picker/project-picker.component.sass +1 -0
- package/src/lib/components/project-picker/project-picker.component.spec.ts +25 -0
- package/src/lib/components/project-picker/project-picker.component.ts +138 -0
- package/src/lib/components/project-settings/project-link-selection/project-link-selection.component.html +120 -0
- package/src/lib/components/project-settings/project-link-selection/project-link-selection.component.sass +0 -0
- package/src/lib/components/project-settings/project-link-selection/project-link-selection.component.spec.ts +23 -0
- package/src/lib/components/project-settings/project-link-selection/project-link-selection.component.ts +161 -0
- package/src/lib/components/project-settings/project-settings.component.html +353 -0
- package/src/lib/components/project-settings/project-settings.component.sass +0 -0
- package/src/lib/components/project-settings/project-settings.component.spec.ts +23 -0
- package/src/lib/components/project-settings/project-settings.component.ts +178 -0
- package/src/lib/components/query-caching/edit-query-cache/edit-query-cache.component.html +96 -0
- package/src/lib/components/query-caching/edit-query-cache/edit-query-cache.component.sass +0 -0
- package/src/lib/components/query-caching/edit-query-cache/edit-query-cache.component.spec.ts +23 -0
- package/src/lib/components/query-caching/edit-query-cache/edit-query-cache.component.ts +48 -0
- package/src/lib/components/query-caching/query-caching.component.html +122 -0
- package/src/lib/components/query-caching/query-caching.component.sass +0 -0
- package/src/lib/components/query-caching/query-caching.component.spec.ts +23 -0
- package/src/lib/components/query-caching/query-caching.component.ts +184 -0
- package/src/lib/components/shared-with-me/shared-with-me.component.html +115 -0
- package/src/lib/components/shared-with-me/shared-with-me.component.sass +0 -0
- package/src/lib/components/shared-with-me/shared-with-me.component.spec.ts +23 -0
- package/src/lib/components/shared-with-me/shared-with-me.component.ts +123 -0
- package/src/lib/components/snapshots/snapshots.component.html +408 -0
- package/src/lib/components/snapshots/snapshots.component.sass +4 -0
- package/src/lib/components/snapshots/snapshots.component.spec.ts +25 -0
- package/src/lib/components/snapshots/snapshots.component.ts +286 -0
- package/src/lib/components/tag-picker/tag-picker.component.html +155 -0
- package/src/lib/components/tag-picker/tag-picker.component.sass +2 -0
- package/src/lib/components/tag-picker/tag-picker.component.spec.ts +25 -0
- package/src/lib/components/tag-picker/tag-picker.component.ts +82 -0
- package/src/lib/components/task-time-periods/task-time-periods.component.html +93 -0
- package/src/lib/components/task-time-periods/task-time-periods.component.sass +7 -0
- package/src/lib/components/task-time-periods/task-time-periods.component.spec.ts +25 -0
- package/src/lib/components/task-time-periods/task-time-periods.component.ts +50 -0
- package/src/lib/components/whitelisted-sql-functions/whitelisted-sql-functions.component.html +111 -0
- package/src/lib/components/whitelisted-sql-functions/whitelisted-sql-functions.component.sass +0 -0
- package/src/lib/components/whitelisted-sql-functions/whitelisted-sql-functions.component.spec.ts +25 -0
- package/src/lib/components/whitelisted-sql-functions/whitelisted-sql-functions.component.ts +38 -0
- package/src/lib/guards/dashboard-changes.guard.spec.ts +16 -0
- package/src/lib/guards/dashboard-changes.guard.ts +27 -0
- package/src/lib/ng-kinintel.module.ts +272 -0
- package/src/lib/objects/action-event.spec.ts +7 -0
- package/src/lib/objects/action-event.ts +27 -0
- package/src/lib/services/alert.service.spec.ts +16 -0
- package/src/lib/services/alert.service.ts +49 -0
- package/src/lib/services/dashboard.service.spec.ts +16 -0
- package/src/lib/services/dashboard.service.ts +79 -0
- package/src/lib/services/data-processor.service.spec.ts +16 -0
- package/src/lib/services/data-processor.service.ts +61 -0
- package/src/lib/services/data-search.service.spec.ts +16 -0
- package/src/lib/services/data-search.service.ts +31 -0
- package/src/lib/services/dataset.service.spec.ts +16 -0
- package/src/lib/services/dataset.service.ts +234 -0
- package/src/lib/services/datasource.service.spec.ts +16 -0
- package/src/lib/services/datasource.service.ts +116 -0
- package/src/lib/services/external.service.spec.ts +16 -0
- package/src/lib/services/external.service.ts +29 -0
- package/src/lib/services/feed.service.spec.ts +16 -0
- package/src/lib/services/feed.service.ts +48 -0
- package/src/lib/services/notification.service.spec.ts +16 -0
- package/src/lib/services/notification.service.ts +38 -0
- package/src/lib/services/project.service.spec.ts +16 -0
- package/src/lib/services/project.service.ts +146 -0
- package/src/lib/services/tag.service.spec.ts +16 -0
- package/src/lib/services/tag.service.ts +61 -0
- package/src/public-api.ts +46 -0
- package/src/test.ts +17 -0
- package/tsconfig.lib.json +24 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
<div class="bg-gray-50 configure-header border-b border-gray-200">
|
|
2
|
+
<div class="w-full flex items-center">
|
|
3
|
+
<ng-template [ngIf]="datasetInstanceSummary && datasetInstanceSummary.title && !editTitle">
|
|
4
|
+
<div (click)="editTitle = !editTitle">{{ datasetInstanceSummary.title }}</div>
|
|
5
|
+
</ng-template>
|
|
6
|
+
<ng-template [ngIf]="datasetInstanceSummary && editTitle">
|
|
7
|
+
<input type="text" class="w-1/4 text-sm"
|
|
8
|
+
[(ngModel)]="datasetInstanceSummary.title" (blur)="editTitle = false">
|
|
9
|
+
</ng-template>
|
|
10
|
+
<ng-template [ngIf]="!datasetInstanceSummary || !datasetInstanceSummary.title">
|
|
11
|
+
Data Explorer
|
|
12
|
+
</ng-template>
|
|
13
|
+
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<div class="flex items-center">
|
|
17
|
+
<mat-radio-group class="flex items-center text-sm"
|
|
18
|
+
*ngIf="admin" aria-label="Select a scope" [(ngModel)]="accountId">
|
|
19
|
+
<mat-radio-button class="mt-0" [value]="null">Data Feed</mat-radio-button>
|
|
20
|
+
<mat-radio-button class="mt-0 ml-2" [value]="0">Stored Query</mat-radio-button>
|
|
21
|
+
</mat-radio-group>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
</div>
|
|
25
|
+
<nav class="h-10 flex border-b border-gray-200 bg-white" aria-label="Breadcrumb">
|
|
26
|
+
<ol role="list" class="flex w-full px-4">
|
|
27
|
+
<li class="flex">
|
|
28
|
+
<div class="flex items-center">
|
|
29
|
+
<a [mat-dialog-close]="{breadcrumb: '/'}" class="text-gray-600 hover:text-gray-800 flex items-center">
|
|
30
|
+
<span class="material-symbols-outlined">home</span>
|
|
31
|
+
</a>
|
|
32
|
+
</div>
|
|
33
|
+
</li>
|
|
34
|
+
|
|
35
|
+
<li class="flex truncate">
|
|
36
|
+
<div class="flex items-center">
|
|
37
|
+
<svg class="h-full w-6 flex-shrink-0 text-gray-200" viewBox="0 0 24 44" preserveAspectRatio="none"
|
|
38
|
+
fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
|
|
39
|
+
<path d="M.293 0l22 22-22 22h1.414l22-22-22-22H.293z"/>
|
|
40
|
+
</svg>
|
|
41
|
+
<a [mat-dialog-close]="true"
|
|
42
|
+
class="capitalize ml-4 text-sm font-medium text-gray-500 hover:text-gray-700">
|
|
43
|
+
{{ breadcrumb }}</a>
|
|
44
|
+
</div>
|
|
45
|
+
</li>
|
|
46
|
+
|
|
47
|
+
<li class="flex truncate" *ngIf="datasetInstanceSummary">
|
|
48
|
+
<div class="flex items-center">
|
|
49
|
+
<svg class="h-full w-6 flex-shrink-0 text-gray-200" viewBox="0 0 24 44" preserveAspectRatio="none"
|
|
50
|
+
fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
|
|
51
|
+
<path d="M.293 0l22 22-22 22h1.414l22-22-22-22H.293z"/>
|
|
52
|
+
</svg>
|
|
53
|
+
<a class="ml-4 text-sm font-medium text-gray-500 hover:text-gray-700" aria-current="page">
|
|
54
|
+
{{ datasetInstanceSummary.title || 'Data Explorer' }}
|
|
55
|
+
</a>
|
|
56
|
+
<ng-template [ngIf]="datasetInstanceSummary && datasetInstanceSummary.source">
|
|
57
|
+
<span
|
|
58
|
+
class="flex items-center border border-gray-200 text-xs px-2 py-0 rounded-xl ml-2 font-thin bg-gray-100">
|
|
59
|
+
<span class="uppercase tracking-wider text-gray-700 font-medium">Querying:</span>
|
|
60
|
+
<ng-template [ngIf]="datasetInstanceSummary.source.datasourceInstanceKey">
|
|
61
|
+
<img *ngIf="['custom', 'snapshot'].indexOf(datasetInstanceSummary.source.type) === -1"
|
|
62
|
+
src="/assets/favicon.png" class="w-2.5 mx-1.5">
|
|
63
|
+
<span *ngIf="datasetInstanceSummary.source.type === 'custom'"
|
|
64
|
+
class="material-symbols-outlined h-4 w-4 text-lg leading-4 mx-1.5">upload_file</span>
|
|
65
|
+
<span *ngIf="datasetInstanceSummary.source.type === 'snapshot'"
|
|
66
|
+
class="material-symbols-outlined h-4 w-4 text-lg leading-4 mx-1.5">history</span>
|
|
67
|
+
</ng-template>
|
|
68
|
+
<ng-template [ngIf]="!datasetInstanceSummary.source.datasourceInstanceKey">
|
|
69
|
+
<span class="material-symbols-outlined h-4 w-4 text-lg leading-4 mx-1.5">query_stats</span>
|
|
70
|
+
</ng-template>
|
|
71
|
+
{{ datasetInstanceSummary.source.title }}
|
|
72
|
+
<span class="material-symbols-outlined ml-2 cursor-pointer" title="Change source query"
|
|
73
|
+
(click)="changeSource()">change_circle</span>
|
|
74
|
+
</span>
|
|
75
|
+
</ng-template>
|
|
76
|
+
</div>
|
|
77
|
+
</li>
|
|
78
|
+
</ol>
|
|
79
|
+
</nav>
|
|
80
|
+
<div class="configure-content">
|
|
81
|
+
|
|
82
|
+
<rsz-layout class="row top" [directions]="(showSnapshots || showQueryCache) ? ['bottom'] : ['none']"
|
|
83
|
+
[rFlex]="(showSnapshots || showQueryCache)">
|
|
84
|
+
|
|
85
|
+
<rsz-layout class="cell left no-p" [directions]="showChart ? ['right'] : ['none']" [rFlex]="true"
|
|
86
|
+
[ngStyle]="{'flex-basis': showChart ? '65%' : '100%'}">
|
|
87
|
+
<div class="cell-contents no-p">
|
|
88
|
+
<ki-dataset-editor #datasetEditorComponent [(datasetInstanceSummary)]="datasetInstanceSummary"
|
|
89
|
+
[accountId]="accountId" [newTitle]="newTitle" [newDescription]="newDescription"
|
|
90
|
+
(dataLoaded)="dataLoaded($event)" [admin]="admin"
|
|
91
|
+
[datasetEditorReadonly]="datasetEditorReadonly"></ki-dataset-editor>
|
|
92
|
+
</div>
|
|
93
|
+
</rsz-layout>
|
|
94
|
+
</rsz-layout>
|
|
95
|
+
|
|
96
|
+
<rsz-layout *ngIf="showSnapshots || showQueryCache" class="row bottom" [directions]="['none']" [rFlex]="false"
|
|
97
|
+
[ngClass]="{'overflow-y-scroll': showQueryCache}">
|
|
98
|
+
<ng-template [ngIf]="showSnapshots">
|
|
99
|
+
<div class="px-6 py-3 bg-white border-b border-gray-200">
|
|
100
|
+
<div class="md:flex md:items-center md:justify-between md:space-x-5">
|
|
101
|
+
<div class="flex items-start flex-1">
|
|
102
|
+
<div class="pt-1.5">
|
|
103
|
+
<h1 class="text-xl font-bold text-gray-900 mb-0">
|
|
104
|
+
<div>Snapshot Profiles</div>
|
|
105
|
+
</h1>
|
|
106
|
+
<p class="text-xs font-medium text-gray-500">
|
|
107
|
+
A list of all the snapshots that have been created for this stored query.
|
|
108
|
+
</p>
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
|
|
112
|
+
<div class="flex flex-1 items-center justify-end">
|
|
113
|
+
<button type="button" (click)="apiAccess()"
|
|
114
|
+
class="inline-flex items-center justify-center px-4 py-2 mr-3 border border-transparent text-sm font-medium rounded-md shadow-sm text-primary bg-gray-100 focus:outline-none">
|
|
115
|
+
API Access
|
|
116
|
+
</button>
|
|
117
|
+
|
|
118
|
+
<button type="button" (click)="editSnapshot(null)"
|
|
119
|
+
class="inline-flex items-center justify-center px-4 py-1.5 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-primary focus:outline-none">
|
|
120
|
+
<mat-icon>add</mat-icon>
|
|
121
|
+
New Snapshot Profile
|
|
122
|
+
</button>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
<div class="px-4 sm:px-6 lg:px-8 mt-0">
|
|
127
|
+
<div class="flex flex-col">
|
|
128
|
+
<div class="-my-2 -mx-4 sm:-mx-6 lg:-mx-8">
|
|
129
|
+
<div class="inline-block min-w-full py-2 align-middle">
|
|
130
|
+
<table *ngIf="snapshotProfiles.length"
|
|
131
|
+
class="min-w-full border-separate" style="border-spacing: 0">
|
|
132
|
+
<thead class="bg-gray-100">
|
|
133
|
+
<tr>
|
|
134
|
+
<th scope="col"
|
|
135
|
+
class="sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 px-4 text-left text-xs font-semibold text-gray-900 backdrop-blur backdrop-filter">
|
|
136
|
+
</th>
|
|
137
|
+
<th scope="col"
|
|
138
|
+
class="sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 px-4 text-left text-xs font-semibold text-gray-900 backdrop-blur backdrop-filter">
|
|
139
|
+
Title
|
|
140
|
+
</th>
|
|
141
|
+
<th scope="col"
|
|
142
|
+
class="sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 px-4 text-left text-xs font-semibold text-gray-900 backdrop-blur backdrop-filter">
|
|
143
|
+
Status
|
|
144
|
+
</th>
|
|
145
|
+
<th scope="col"
|
|
146
|
+
class="sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 px-4 text-left text-xs font-semibold text-gray-900 backdrop-blur backdrop-filter">
|
|
147
|
+
Last Started
|
|
148
|
+
</th>
|
|
149
|
+
<th scope="col"
|
|
150
|
+
class="sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 px-4 text-left text-xs font-semibold text-gray-900 backdrop-blur backdrop-filter">
|
|
151
|
+
Next Start Time
|
|
152
|
+
</th>
|
|
153
|
+
<th scope="col"
|
|
154
|
+
class="sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 py-3.5 px-4 backdrop-blur backdrop-filter">
|
|
155
|
+
<span class="sr-only">Edit</span>
|
|
156
|
+
</th>
|
|
157
|
+
</tr>
|
|
158
|
+
</thead>
|
|
159
|
+
<tbody class="bg-white">
|
|
160
|
+
<tr *ngFor="let snapshot of snapshotProfiles; let i = index">
|
|
161
|
+
<td>
|
|
162
|
+
<button *ngIf="snapshot.taskStatus !== 'RUNNING'" color="primary"
|
|
163
|
+
matTooltip="Trigger snapshot to run now" mat-icon-button
|
|
164
|
+
(click)="triggerSnapshot(snapshot.key)">
|
|
165
|
+
<mat-icon>play_arrow</mat-icon>
|
|
166
|
+
</button>
|
|
167
|
+
<svg *ngIf="snapshot.taskStatus === 'RUNNING'"
|
|
168
|
+
class="animate-spin ml-3 mr-2 h-5 w-5 text-secondary"
|
|
169
|
+
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
170
|
+
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor"
|
|
171
|
+
stroke-width="4"></circle>
|
|
172
|
+
<path class="opacity-75" fill="currentColor"
|
|
173
|
+
d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
|
|
174
|
+
</svg>
|
|
175
|
+
</td>
|
|
176
|
+
<td class="whitespace-nowrap border-b border-gray-200 py-2 px-4 text-sm font-medium text-gray-900">
|
|
177
|
+
{{ snapshot.title }}
|
|
178
|
+
</td>
|
|
179
|
+
<td class="whitespace-nowrap border-b border-gray-200 py-0.5 px-2 text-sm text-gray-500">
|
|
180
|
+
<div
|
|
181
|
+
class="inline-flex text-sm lowercase flex items-center text-white px-3 rounded-full"
|
|
182
|
+
[ngClass]="{'py-0.5': snapshot.taskStatus !== 'RUNNING','py-1': snapshot.taskStatus === 'RUNNING', 'bg-gray-400': snapshot.taskStatus === 'PENDING', 'bg-secondary': snapshot.taskStatus === 'RUNNING', 'bg-success': snapshot.taskStatus === 'COMPLETED', 'bg-danger': snapshot.taskStatus === 'FAILED'}">
|
|
183
|
+
<ng-template [ngIf]="snapshot.taskStatus === 'PENDING'">
|
|
184
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
|
|
185
|
+
stroke-width="1.5" stroke="currentColor"
|
|
186
|
+
class="-ml-1 w-6 h-6 mr-2">
|
|
187
|
+
<path stroke-linecap="round" stroke-linejoin="round"
|
|
188
|
+
d="M12 6v6h4.5m4.5 0a9 9 0 11-18 0 9 9 0 0118 0z"/>
|
|
189
|
+
</svg>
|
|
190
|
+
</ng-template>
|
|
191
|
+
<ng-template [ngIf]="snapshot.taskStatus === 'RUNNING'">
|
|
192
|
+
<svg class="animate-spin -ml-1 mr-3 h-5 w-5 text-white"
|
|
193
|
+
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
194
|
+
<circle class="opacity-25" cx="12" cy="12" r="10"
|
|
195
|
+
stroke="currentColor"
|
|
196
|
+
stroke-width="4"></circle>
|
|
197
|
+
<path class="opacity-75" fill="currentColor"
|
|
198
|
+
d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
|
|
199
|
+
</svg>
|
|
200
|
+
</ng-template>
|
|
201
|
+
<ng-template [ngIf]="snapshot.taskStatus === 'COMPLETED'">
|
|
202
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
|
|
203
|
+
stroke-width="1.5" stroke="currentColor"
|
|
204
|
+
class="-ml-1 w-6 h-6 mr-2">
|
|
205
|
+
<path stroke-linecap="round" stroke-linejoin="round"
|
|
206
|
+
d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
|
|
207
|
+
</svg>
|
|
208
|
+
</ng-template>
|
|
209
|
+
<ng-template [ngIf]="snapshot.taskStatus === 'FAILED'">
|
|
210
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
|
|
211
|
+
stroke-width="1.5" stroke="currentColor"
|
|
212
|
+
class="-ml-1 w-6 h-6 mr-2">
|
|
213
|
+
<path stroke-linecap="round" stroke-linejoin="round"
|
|
214
|
+
d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"/>
|
|
215
|
+
</svg>
|
|
216
|
+
</ng-template>
|
|
217
|
+
<ng-template [ngIf]="snapshot.taskStatus === 'TIMED_OUT'">
|
|
218
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
|
|
219
|
+
stroke-width="1.5" stroke="currentColor"
|
|
220
|
+
class="-ml-1 w-6 h-6 mr-2">
|
|
221
|
+
<path stroke-linecap="round" stroke-linejoin="round"
|
|
222
|
+
d="M14.25 9v6m-4.5 0V9M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
|
|
223
|
+
</svg>
|
|
224
|
+
</ng-template>
|
|
225
|
+
{{ _.startCase(snapshot.taskStatus) }}
|
|
226
|
+
</div>
|
|
227
|
+
</td>
|
|
228
|
+
<td class="whitespace-nowrap border-b border-gray-200 py-2 px-4 text-sm text-gray-500">
|
|
229
|
+
{{ snapshot.taskLastStartTime }}
|
|
230
|
+
</td>
|
|
231
|
+
<td class="whitespace-nowrap border-b border-gray-200 py-2 px-4 text-sm text-gray-500">
|
|
232
|
+
{{ snapshot.taskNextStartTime }}
|
|
233
|
+
</td>
|
|
234
|
+
<td class="relative whitespace-nowrap border-b border-gray-200 py-2 px-4 text-right text-sm">
|
|
235
|
+
<div class="align-center justify-end">
|
|
236
|
+
<button mat-button color="primary" (click)="editSnapshot(snapshot)"> Edit
|
|
237
|
+
</button>
|
|
238
|
+
<div class="divider"></div>
|
|
239
|
+
<button mat-button color="warn" (click)="deleteSnapshot(snapshot)"> Delete
|
|
240
|
+
</button>
|
|
241
|
+
</div>
|
|
242
|
+
</td>
|
|
243
|
+
</tr>
|
|
244
|
+
|
|
245
|
+
</tbody>
|
|
246
|
+
|
|
247
|
+
</table>
|
|
248
|
+
</div>
|
|
249
|
+
</div>
|
|
250
|
+
</div>
|
|
251
|
+
</div>
|
|
252
|
+
|
|
253
|
+
<div class="p-4" *ngIf="!snapshotProfiles.length">
|
|
254
|
+
<button type="button" (click)="editSnapshot(null)"
|
|
255
|
+
class="relative block w-full border-2 border-gray-300 border-dashed rounded-lg p-12 text-center hover:border-gray-400 focus:outline-none">
|
|
256
|
+
|
|
257
|
+
<div class="relative inline-block">
|
|
258
|
+
<mat-icon
|
|
259
|
+
class="mx-auto text-6xl h-14 w-20 text-gray-300">history
|
|
260
|
+
</mat-icon>
|
|
261
|
+
<svg xmlns="http://www.w3.org/2000/svg"
|
|
262
|
+
class="right-0 bottom-0 absolute h-8 w-8 text-gray-400" fill="none" viewBox="0 0 24 24"
|
|
263
|
+
stroke="currentColor" stroke-width="4">
|
|
264
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M12 4v16m8-8H4"/>
|
|
265
|
+
</svg>
|
|
266
|
+
</div>
|
|
267
|
+
|
|
268
|
+
<span class="mt-2 block text-sm font-medium text-gray-900">Create Snapshot Profile</span>
|
|
269
|
+
</button>
|
|
270
|
+
</div>
|
|
271
|
+
</ng-template>
|
|
272
|
+
<ng-template [ngIf]="showQueryCache">
|
|
273
|
+
<div class="px-6 py-3 bg-white border-b border-gray-200">
|
|
274
|
+
<div class="md:flex md:items-center md:justify-between md:space-x-5">
|
|
275
|
+
<div class="flex items-start flex-1">
|
|
276
|
+
<div class="pt-1.5">
|
|
277
|
+
<h1 class="text-xl font-bold text-gray-900 mb-0">
|
|
278
|
+
<div>Query Caching</div>
|
|
279
|
+
</h1>
|
|
280
|
+
<p class="text-xs font-medium text-gray-500">
|
|
281
|
+
Set up Query Caching on this data set.
|
|
282
|
+
</p>
|
|
283
|
+
</div>
|
|
284
|
+
</div>
|
|
285
|
+
<div class="flex flex-1 items-center justify-end">
|
|
286
|
+
<button type="button" (click)="editQueryCache(null)"
|
|
287
|
+
class="inline-flex items-center justify-center px-4 py-1.5 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-primary focus:outline-none">
|
|
288
|
+
<mat-icon>add</mat-icon>
|
|
289
|
+
Create Query Cache
|
|
290
|
+
</button>
|
|
291
|
+
</div>
|
|
292
|
+
|
|
293
|
+
</div>
|
|
294
|
+
</div>
|
|
295
|
+
<ki-query-caching [limit]="100" [showPager]="false" [reload]="reloadCache"
|
|
296
|
+
[datasetInstance]="datasetInstanceSummary.id"></ki-query-caching>
|
|
297
|
+
</ng-template>
|
|
298
|
+
</rsz-layout>
|
|
299
|
+
</div>
|
|
300
|
+
|
|
301
|
+
<div class="configure-footer">
|
|
302
|
+
<button mat-stroked-button [mat-dialog-close]="true" color="primary">
|
|
303
|
+
Cancel
|
|
304
|
+
</button>
|
|
305
|
+
<div class="align-center">
|
|
306
|
+
<button mat-stroked-button color="primary" class="mr-2 bg-white"
|
|
307
|
+
*ngIf="canHaveSnapshots && !datasetEditorReadonly"
|
|
308
|
+
[disabled]="!datasetInstanceSummary || !datasetInstanceSummary.id"
|
|
309
|
+
(click)="viewQueryCaching()">
|
|
310
|
+
Query Caching
|
|
311
|
+
</button>
|
|
312
|
+
<button mat-stroked-button color="primary" class="mr-2 bg-white"
|
|
313
|
+
*ngIf="canHaveSnapshots && !datasetEditorReadonly"
|
|
314
|
+
[disabled]="!datasetInstanceSummary || !datasetInstanceSummary.id"
|
|
315
|
+
(click)="viewSnapshots()">
|
|
316
|
+
Manage Snapshots
|
|
317
|
+
</button>
|
|
318
|
+
<button *ngIf="canExportData" mat-stroked-button color="primary" class="mr-2 bg-white" (click)="exportData()">
|
|
319
|
+
Export Data
|
|
320
|
+
</button>
|
|
321
|
+
<button *ngIf="!datasetEditorReadonly" mat-flat-button color="primary" (click)="saveChanges()">
|
|
322
|
+
Save & Exit
|
|
323
|
+
</button>
|
|
324
|
+
</div>
|
|
325
|
+
|
|
326
|
+
</div>
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
:host
|
|
2
|
+
display: flex
|
|
3
|
+
flex-direction: column
|
|
4
|
+
height: 100dvh
|
|
5
|
+
width: 100vw
|
|
6
|
+
|
|
7
|
+
.configure-header
|
|
8
|
+
height: 60px
|
|
9
|
+
width: 100%
|
|
10
|
+
background-color: white
|
|
11
|
+
display: flex
|
|
12
|
+
align-items: center
|
|
13
|
+
justify-content: space-between
|
|
14
|
+
padding: 0 1rem
|
|
15
|
+
box-sizing: border-box
|
|
16
|
+
font-size: 1.2rem
|
|
17
|
+
font-weight: 500
|
|
18
|
+
|
|
19
|
+
.configure-content
|
|
20
|
+
flex: 1
|
|
21
|
+
background-color: whitesmoke
|
|
22
|
+
overflow: hidden
|
|
23
|
+
display: flex
|
|
24
|
+
width: 100%
|
|
25
|
+
height: 100%
|
|
26
|
+
flex-direction: column
|
|
27
|
+
rsz-layout.row
|
|
28
|
+
height: 100%
|
|
29
|
+
background-color: transparent
|
|
30
|
+
&.top
|
|
31
|
+
width: 100%
|
|
32
|
+
display: flex
|
|
33
|
+
flex-basis: 65%
|
|
34
|
+
position: relative
|
|
35
|
+
background-color: white
|
|
36
|
+
.rg-bottom
|
|
37
|
+
background-color: #dadada
|
|
38
|
+
&.bottom
|
|
39
|
+
width: 100%
|
|
40
|
+
flex-basis: 35%
|
|
41
|
+
display: flex
|
|
42
|
+
flex-direction: column
|
|
43
|
+
position: relative
|
|
44
|
+
overflow: hidden
|
|
45
|
+
.cell
|
|
46
|
+
border-bottom: none
|
|
47
|
+
border-top: none
|
|
48
|
+
position: relative
|
|
49
|
+
padding: 1rem
|
|
50
|
+
&.no-p
|
|
51
|
+
padding: 0
|
|
52
|
+
.left
|
|
53
|
+
flex-basis: 65%
|
|
54
|
+
.right
|
|
55
|
+
border-right: none
|
|
56
|
+
|
|
57
|
+
.cell-contents
|
|
58
|
+
position: absolute
|
|
59
|
+
left: 0
|
|
60
|
+
right: 0
|
|
61
|
+
top: 0
|
|
62
|
+
bottom: 0
|
|
63
|
+
//overflow-y: auto
|
|
64
|
+
padding: 1rem
|
|
65
|
+
&::-webkit-scrollbar
|
|
66
|
+
width: 1em
|
|
67
|
+
background: transparent
|
|
68
|
+
&::-webkit-scrollbar-thumb
|
|
69
|
+
background: #d2d2d2
|
|
70
|
+
&.pad
|
|
71
|
+
padding: 2rem
|
|
72
|
+
&.bar-space
|
|
73
|
+
margin-top: 30px
|
|
74
|
+
&.no-p
|
|
75
|
+
padding: 0
|
|
76
|
+
.entity-header
|
|
77
|
+
padding: 1rem
|
|
78
|
+
.cell-header
|
|
79
|
+
height: 50px
|
|
80
|
+
width: 100%
|
|
81
|
+
display: flex
|
|
82
|
+
align-items: center
|
|
83
|
+
justify-content: space-between
|
|
84
|
+
|
|
85
|
+
.configure-footer
|
|
86
|
+
height: 60px
|
|
87
|
+
width: 100%
|
|
88
|
+
background-color: #f0f0f0
|
|
89
|
+
//border-top: 1px solid #dadce0
|
|
90
|
+
display: flex
|
|
91
|
+
align-items: center
|
|
92
|
+
justify-content: space-between
|
|
93
|
+
padding: 0 1rem
|
|
94
|
+
box-sizing: border-box
|
|
95
|
+
|
|
96
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { DataExplorerComponent } from './data-explorer.component';
|
|
4
|
+
|
|
5
|
+
describe('DataExplorerComponent', () => {
|
|
6
|
+
let component: DataExplorerComponent;
|
|
7
|
+
let fixture: ComponentFixture<DataExplorerComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ DataExplorerComponent ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
beforeEach(() => {
|
|
17
|
+
fixture = TestBed.createComponent(DataExplorerComponent);
|
|
18
|
+
component = fixture.componentInstance;
|
|
19
|
+
fixture.detectChanges();
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it('should create', () => {
|
|
23
|
+
expect(component).toBeTruthy();
|
|
24
|
+
});
|
|
25
|
+
});
|