@spinnaker/core 0.0.0-main-2
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/CHANGELOG.md +9050 -0
- package/LICENSE.txt +203 -0
- package/codegen.yml +18 -0
- package/dist/account/AccountSelectInput.d.ts +24 -0
- package/dist/account/AccountService.d.ts +68 -0
- package/dist/account/AccountTag.d.ts +20 -0
- package/dist/account/account.module.d.ts +2 -0
- package/dist/account/accountSelect.wrapper.d.ts +1 -0
- package/dist/account/accountSelectField.component.d.ts +1 -0
- package/dist/account/accountTag.component.d.ts +4 -0
- package/dist/account/collapsibleAccountTag.directive.d.ts +2 -0
- package/dist/account/index.d.ts +3 -0
- package/dist/account/providerToggles.directive.d.ts +2 -0
- package/dist/analytics/GoogleAnalyticsInitializer.d.ts +2 -0
- package/dist/analytics/angulartics.module.d.ts +2 -0
- package/dist/api/ApiService.d.ts +133 -0
- package/dist/api/index.d.ts +1 -0
- package/dist/api/mock/expectedRequest.d.ts +68 -0
- package/dist/api/mock/jasmine.d.ts +7 -0
- package/dist/api/mock/mockHttpClient.d.ts +68 -0
- package/dist/api/mock/mockHttpUtils.d.ts +16 -0
- package/dist/api/mock/receivedRequest.d.ts +14 -0
- package/dist/api/network.interceptor.d.ts +24 -0
- package/dist/application/ApplicationComponent.d.ts +16 -0
- package/dist/application/ApplicationContext.d.ts +6 -0
- package/dist/application/ApplicationFreshIcon.d.ts +4 -0
- package/dist/application/ApplicationIcon.d.ts +9 -0
- package/dist/application/application.model.d.ts +134 -0
- package/dist/application/application.module.d.ts +4 -0
- package/dist/application/application.state.provider.d.ts +37 -0
- package/dist/application/applicationModel.builder.d.ts +9 -0
- package/dist/application/applicationSearchResultType.d.ts +18 -0
- package/dist/application/applications.state.provider.d.ts +1 -0
- package/dist/application/config/ApplicationConfig.d.ts +7 -0
- package/dist/application/config/DeleteApplicationSection.d.ts +6 -0
- package/dist/application/config/appConfig.dataSource.d.ts +2 -0
- package/dist/application/config/appConfig.states.d.ts +1 -0
- package/dist/application/config/applicationAttributes.directive.d.ts +2 -0
- package/dist/application/config/applicationConfig.controller.d.ts +2 -0
- package/dist/application/config/applicationNotifications.directive.d.ts +2 -0
- package/dist/application/config/applicationSnapshotSection.component.d.ts +2 -0
- package/dist/application/config/customBanner/CustomBannerConfig.d.ts +32 -0
- package/dist/application/config/customBanner/customBannerColors.d.ts +3 -0
- package/dist/application/config/customBanner/customBannerConfig.component.d.ts +1 -0
- package/dist/application/config/dataSources/applicationDataSourceEditor.component.d.ts +20 -0
- package/dist/application/config/defaultTagFilter/DefaultTagFilterConfig.d.ts +27 -0
- package/dist/application/config/defaultTagFilter/defaultTagFilterConfig.component.d.ts +1 -0
- package/dist/application/config/deleteApplicationSection.module.d.ts +1 -0
- package/dist/application/config/footer/ConfigSectionFooter.d.ts +12 -0
- package/dist/application/config/footer/configSectionFooter.component.d.ts +21 -0
- package/dist/application/config/links/applicationLinks.component.d.ts +2 -0
- package/dist/application/config/links/editLinks.modal.controller.d.ts +2 -0
- package/dist/application/config/trafficGuard/trafficGuardConfig.component.d.ts +31 -0
- package/dist/application/config/trafficGuard/trafficGuardConfig.help.d.ts +1 -0
- package/dist/application/index.d.ts +17 -0
- package/dist/application/listExtractor/AppListExtractor.d.ts +17 -0
- package/dist/application/modal/PermissionsConfigurer.d.ts +39 -0
- package/dist/application/modal/PlatformHealthOverride.d.ts +16 -0
- package/dist/application/modal/applicationProviderFields.component.d.ts +2 -0
- package/dist/application/modal/createApplication.modal.controller.d.ts +2 -0
- package/dist/application/modal/editApplication.controller.modal.d.ts +2 -0
- package/dist/application/modal/permissionsConfigurer.component.d.ts +1 -0
- package/dist/application/modal/platformHealthOverride.directive.d.ts +2 -0
- package/dist/application/modal/upsertApplication.help.d.ts +1 -0
- package/dist/application/modal/validation/ApplicationNameValidator.d.ts +42 -0
- package/dist/application/modal/validation/ExampleApplicationNameValidator.d.ts +25 -0
- package/dist/application/modal/validation/applicationNameValidationMessages.component.d.ts +1 -0
- package/dist/application/modal/validation/validateApplicationName.directive.d.ts +1 -0
- package/dist/application/nav/AppRefresher.d.ts +6 -0
- package/dist/application/nav/AppRefresherIcon.d.ts +8 -0
- package/dist/application/nav/ApplicationNavigation.d.ts +7 -0
- package/dist/application/nav/BottomSection.d.ts +7 -0
- package/dist/application/nav/NavItem.d.ts +9 -0
- package/dist/application/nav/NavRoute.d.ts +8 -0
- package/dist/application/nav/NavSection.d.ts +8 -0
- package/dist/application/nav/PagerDutyButton.d.ts +9 -0
- package/dist/application/nav/defaultCategories.d.ts +2 -0
- package/dist/application/nav/navAtoms.d.ts +1 -0
- package/dist/application/nav/navigationCategory.registry.d.ts +21 -0
- package/dist/application/search/Applications.d.ts +30 -0
- package/dist/application/search/ApplicationsTable.d.ts +8 -0
- package/dist/application/search/PaginationControls.d.ts +8 -0
- package/dist/application/service/ApplicationDataSourceRegistry.d.ts +12 -0
- package/dist/application/service/ApplicationReader.d.ts +28 -0
- package/dist/application/service/ApplicationWriter.d.ts +13 -0
- package/dist/application/service/InferredApplicationWarningService.d.ts +9 -0
- package/dist/application/service/applicationDataSource.d.ts +338 -0
- package/dist/artifact/ArtifactIconService.d.ts +5 -0
- package/dist/artifact/ArtifactReferenceService.d.ts +43 -0
- package/dist/artifact/ArtifactTypes.d.ts +5 -0
- package/dist/artifact/ExpectedArtifactSelectorViewController.d.ts +31 -0
- package/dist/artifact/ExpectedArtifactSelectorViewControllerAngularDelegate.d.ts +15 -0
- package/dist/artifact/IArtifactAccountPair.d.ts +6 -0
- package/dist/artifact/NgAppEngineDeployArtifactDelegate.d.ts +18 -0
- package/dist/artifact/NgAppengineConfigArtifactDelegate.d.ts +25 -0
- package/dist/artifact/NgBakeManifestArtifactDelegate.d.ts +23 -0
- package/dist/artifact/NgGCEImageArtifactDelegate.d.ts +18 -0
- package/dist/artifact/NgGenericArtifactDelegate.d.ts +20 -0
- package/dist/artifact/artifact.module.d.ts +1 -0
- package/dist/artifact/artifactTab.d.ts +1 -0
- package/dist/artifact/expectedArtifact.service.d.ts +11 -0
- package/dist/artifact/expectedArtifactMultiSelector.component.d.ts +2 -0
- package/dist/artifact/imageSourceSelector.component.d.ts +1 -0
- package/dist/artifact/index.d.ts +23 -0
- package/dist/artifact/react/ArtifactAccountSelector.d.ts +14 -0
- package/dist/artifact/react/ArtifactEditor.d.ts +21 -0
- package/dist/artifact/react/ArtifactIcon.d.ts +11 -0
- package/dist/artifact/react/ArtifactIconList.d.ts +5 -0
- package/dist/artifact/react/ExecutionArtifactTab.d.ts +9 -0
- package/dist/artifact/react/ExpectedArtifactEditor.d.ts +47 -0
- package/dist/artifact/react/ExpectedArtifactKindSelector.d.ts +29 -0
- package/dist/artifact/react/ExpectedArtifactModal.d.ts +24 -0
- package/dist/artifact/react/ExpectedArtifactSelector.d.ts +30 -0
- package/dist/artifact/react/ExpectedArtifactSourceSelector.d.ts +26 -0
- package/dist/artifact/react/StageArtifactSelector.d.ts +29 -0
- package/dist/artifact/react/StageArtifactSelectorDelegate.d.ts +10 -0
- package/dist/artifact/stageArtifactSelectorDelegate.d.ts +1 -0
- package/dist/authentication/AuthenticationInitializer.d.ts +12 -0
- package/dist/authentication/AuthenticationService.d.ts +15 -0
- package/dist/authentication/LoggedOutModal.d.ts +6 -0
- package/dist/authentication/authentication.interceptor.service.d.ts +8 -0
- package/dist/authentication/authentication.module.d.ts +1 -0
- package/dist/authentication/index.d.ts +3 -0
- package/dist/authentication/userMenu/UserMenu.d.ts +3 -0
- package/dist/banner/BannerContainer.d.ts +9 -0
- package/dist/banner/bannerContainer.component.d.ts +2 -0
- package/dist/banner/bannerContainer.module.d.ts +2 -0
- package/dist/banner/customBannersByName.d.ts +24 -0
- package/dist/banner/index.d.ts +1 -0
- package/dist/bootstrap/SpinnakerContainer.d.ts +6 -0
- package/dist/bootstrap/angular.config.d.ts +1 -0
- package/dist/bootstrap/appInit.d.ts +1 -0
- package/dist/bootstrap/bootstrap.module.d.ts +3 -0
- package/dist/bootstrap/index.d.ts +11 -0
- package/dist/bootstrap/paramChangedHelper.d.ts +4 -0
- package/dist/bootstrap/spinnaker.component.d.ts +1 -0
- package/dist/bootstrap/spinnakerContainer.component.d.ts +1 -0
- package/dist/bootstrap/stateChange.logger.d.ts +1 -0
- package/dist/bootstrap/transitionTrace.toggle.d.ts +1 -0
- package/dist/bootstrap/uiBootstrap.config.d.ts +1 -0
- package/dist/bootstrap/uiRouterRxjs.d.ts +1 -0
- package/dist/bootstrap/uiRouterVisualizer.toggle.d.ts +1 -0
- package/dist/bootstrap/uiSelect.config.d.ts +1 -0
- package/dist/cache/abstractBaseCache.d.ts +10 -0
- package/dist/cache/cacheInitializer.service.d.ts +18 -0
- package/dist/cache/collapsibleSectionStateCache.d.ts +12 -0
- package/dist/cache/deckCacheFactory.d.ts +49 -0
- package/dist/cache/index.d.ts +6 -0
- package/dist/cache/infrastructureCacheConfig.d.ts +10 -0
- package/dist/cache/infrastructureCaches.d.ts +9 -0
- package/dist/cache/viewStateCache.d.ts +7 -0
- package/dist/cancelModal/CancelModal.d.ts +27 -0
- package/dist/certificates/certificate.read.service.d.ts +11 -0
- package/dist/certificates/index.d.ts +1 -0
- package/dist/chaosMonkey/chaosMonkey.help.d.ts +1 -0
- package/dist/chaosMonkey/chaosMonkeyConfig.component.d.ts +32 -0
- package/dist/chaosMonkey/chaosMonkeyExceptions.component.d.ts +19 -0
- package/dist/chaosMonkey/chaosMonkeyNewApplicationConfig.component.d.ts +6 -0
- package/dist/ci/CIReader.d.ts +7 -0
- package/dist/ci/ci.dataSource.d.ts +2 -0
- package/dist/ci/ci.module.d.ts +2 -0
- package/dist/ci/ci.states.d.ts +2 -0
- package/dist/ci/components/BuildDetailsScrollContainerContext.d.ts +2 -0
- package/dist/ci/components/BuildInfoArtifactsTab.d.ts +7 -0
- package/dist/ci/components/BuildInfoDetails.d.ts +7 -0
- package/dist/ci/components/BuildInfoLogsTab.d.ts +7 -0
- package/dist/ci/components/BuildInfoSummaryCard.d.ts +9 -0
- package/dist/ci/components/Builds.d.ts +8 -0
- package/dist/ci/domain.d.ts +60 -0
- package/dist/ci/igor.service.d.ts +17 -0
- package/dist/ci/index.d.ts +1 -0
- package/dist/cloudProvider/CloudProviderLabel.d.ts +13 -0
- package/dist/cloudProvider/CloudProviderLogo.d.ts +9 -0
- package/dist/cloudProvider/CloudProviderRegistry.d.ts +18 -0
- package/dist/cloudProvider/cloudProvider.module.d.ts +1 -0
- package/dist/cloudProvider/cloudProviderLabel.directive.d.ts +2 -0
- package/dist/cloudProvider/cloudProviderLogo.component.d.ts +1 -0
- package/dist/cloudProvider/index.d.ts +5 -0
- package/dist/cloudProvider/providerSelection/ProviderSelectionModal.d.ts +16 -0
- package/dist/cloudProvider/providerSelection/ProviderSelectionService.d.ts +8 -0
- package/dist/cloudProvider/providerSelection/providerSelector.directive.d.ts +2 -0
- package/dist/cloudProvider/providerService.delegate.d.ts +11 -0
- package/dist/cluster/AllClustersGroupings.d.ts +31 -0
- package/dist/cluster/ClusterPod.d.ts +19 -0
- package/dist/cluster/ClusterPodTitleWrapper.d.ts +11 -0
- package/dist/cluster/ClusterRuleMatcher.d.ts +14 -0
- package/dist/cluster/DefaultClusterPodTitle.d.ts +5 -0
- package/dist/cluster/allClusters.controller.d.ts +2 -0
- package/dist/cluster/allClustersGroupings.component.d.ts +1 -0
- package/dist/cluster/cluster.module.d.ts +2 -0
- package/dist/cluster/cluster.service.d.ts +32 -0
- package/dist/cluster/clusterSearchResultType.d.ts +7 -0
- package/dist/cluster/filter/ClusterFilterModel.d.ts +6 -0
- package/dist/cluster/filter/ClusterFilterService.d.ts +59 -0
- package/dist/cluster/filter/ClusterFilters.d.ts +6 -0
- package/dist/cluster/filter/FilterSearch.d.ts +9 -0
- package/dist/cluster/filter/FilterSection.d.ts +15 -0
- package/dist/cluster/filter/LabelFilter.d.ts +32 -0
- package/dist/cluster/filter/MultiselectModel.d.ts +32 -0
- package/dist/cluster/filter/clusterDependentFilterHelper.service.d.ts +1 -0
- package/dist/cluster/filter/clusterFilter.component.d.ts +1 -0
- package/dist/cluster/filter/labelFilter.component.d.ts +1 -0
- package/dist/cluster/filter/labelFilterUtils.d.ts +15 -0
- package/dist/cluster/index.d.ts +7 -0
- package/dist/cluster/onDemand/onDemandClusterPicker.component.d.ts +2 -0
- package/dist/cluster/task.matcher.d.ts +15 -0
- package/dist/config/VersionChecker.d.ts +12 -0
- package/dist/config/index.d.ts +2 -0
- package/dist/config/settings.d.ts +176 -0
- package/dist/confirmationModal/ConfirmModal.d.ts +9 -0
- package/dist/confirmationModal/confirmationModal.service.d.ts +28 -0
- package/dist/confirmationModal/index.d.ts +1 -0
- package/dist/core.module.d.ts +17 -0
- package/dist/deploymentStrategy/DeploymentStrategySelector.d.ts +25 -0
- package/dist/deploymentStrategy/deploymentStrategy.module.d.ts +7 -0
- package/dist/deploymentStrategy/deploymentStrategy.registry.d.ts +26 -0
- package/dist/deploymentStrategy/deploymentStrategySelector.component.d.ts +1 -0
- package/dist/deploymentStrategy/index.d.ts +3 -0
- package/dist/deploymentStrategy/strategies/PipelineSelector.d.ts +45 -0
- package/dist/deploymentStrategy/strategies/custom/AdditionalFields.d.ts +5 -0
- package/dist/deploymentStrategy/strategies/custom/custom.strategy.d.ts +1 -0
- package/dist/deploymentStrategy/strategies/highlander/HighlanderPreview.d.ts +4 -0
- package/dist/deploymentStrategy/strategies/highlander/highlander.strategy.d.ts +1 -0
- package/dist/deploymentStrategy/strategies/monitored/AdditionalFields.d.ts +41 -0
- package/dist/deploymentStrategy/strategies/monitored/monitored.strategy.d.ts +1 -0
- package/dist/deploymentStrategy/strategies/none/none.strategy.d.ts +1 -0
- package/dist/deploymentStrategy/strategies/redblack/AdditionalFields.d.ts +14 -0
- package/dist/deploymentStrategy/strategies/redblack/redblack.strategy.d.ts +10 -0
- package/dist/deploymentStrategy/strategies/rollingredblack/AdditionalFields.d.ts +26 -0
- package/dist/deploymentStrategy/strategies/rollingredblack/rollingredblack.strategy.d.ts +1 -0
- package/dist/diffs/ChangesModal.d.ts +14 -0
- package/dist/diffs/CommitHistory.d.ts +13 -0
- package/dist/diffs/JarDiffs.d.ts +23 -0
- package/dist/diffs/ViewChangesLink.d.ts +19 -0
- package/dist/diffs/index.d.ts +3 -0
- package/dist/diffs/viewChangesLink.component.d.ts +1 -0
- package/dist/domain/IArtifact.d.ts +15 -0
- package/dist/domain/IArtifactEditorProps.d.ts +12 -0
- package/dist/domain/IArtifactExtractor.d.ts +5 -0
- package/dist/domain/IArtifactKindConfig.d.ts +13 -0
- package/dist/domain/IArtifactSource.d.ts +4 -0
- package/dist/domain/IAuthentication.d.ts +3 -0
- package/dist/domain/IBuild.d.ts +15 -0
- package/dist/domain/IBuildDiffInfo.d.ts +6 -0
- package/dist/domain/IBuildInfo.d.ts +4 -0
- package/dist/domain/ICloudMetric.d.ts +22 -0
- package/dist/domain/ICluster.d.ts +17 -0
- package/dist/domain/ICredentials.d.ts +6 -0
- package/dist/domain/IDeckRootScope.d.ts +9 -0
- package/dist/domain/IEntityTags.d.ts +58 -0
- package/dist/domain/IExecution.d.ts +47 -0
- package/dist/domain/IExecutionStage.d.ts +76 -0
- package/dist/domain/IExecutionTrigger.d.ts +23 -0
- package/dist/domain/IExpectedArtifact.d.ts +10 -0
- package/dist/domain/IFunction.d.ts +24 -0
- package/dist/domain/IGcbTrigger.d.ts +5 -0
- package/dist/domain/IHealth.d.ts +14 -0
- package/dist/domain/IHelmTrigger.d.ts +8 -0
- package/dist/domain/IInstance.d.ts +19 -0
- package/dist/domain/IInstanceCounts.d.ts +10 -0
- package/dist/domain/IJenkinsInfo.d.ts +5 -0
- package/dist/domain/IJobConfig.d.ts +14 -0
- package/dist/domain/ILoadBalancer.d.ts +40 -0
- package/dist/domain/ILoadBalancerIncompatibility.d.ts +4 -0
- package/dist/domain/IManagedEntity.d.ts +225 -0
- package/dist/domain/IManifest.d.ts +34 -0
- package/dist/domain/INotification.d.ts +7 -0
- package/dist/domain/INotificationTypeConfig.d.ts +11 -0
- package/dist/domain/IOrchestratedItem.d.ts +30 -0
- package/dist/domain/IPipeline.d.ts +96 -0
- package/dist/domain/IPipelineTemplateConfigV2.d.ts +14 -0
- package/dist/domain/IPipelineTemplateV2.d.ts +41 -0
- package/dist/domain/IProject.d.ts +22 -0
- package/dist/domain/IPubsubSubscription.d.ts +4 -0
- package/dist/domain/IRegionalCluster.d.ts +4 -0
- package/dist/domain/ISecurityGroup.d.ts +50 -0
- package/dist/domain/IServerGroup.d.ts +65 -0
- package/dist/domain/IServerGroupManager.d.ts +17 -0
- package/dist/domain/IService.d.ts +7 -0
- package/dist/domain/ISnapshot.d.ts +10 -0
- package/dist/domain/IStage.d.ts +13 -0
- package/dist/domain/IStageContext.d.ts +7 -0
- package/dist/domain/IStageOrTriggerTypeConfig.d.ts +19 -0
- package/dist/domain/IStageTypeConfig.d.ts +44 -0
- package/dist/domain/IStrategy.d.ts +4 -0
- package/dist/domain/ISubnet.d.ts +13 -0
- package/dist/domain/ITaggedEntity.d.ts +4 -0
- package/dist/domain/ITask.d.ts +18 -0
- package/dist/domain/ITaskStep.d.ts +5 -0
- package/dist/domain/ITrigger.d.ts +95 -0
- package/dist/domain/ITriggerTypeConfig.d.ts +13 -0
- package/dist/domain/IVpc.d.ts +9 -0
- package/dist/domain/index.d.ts +55 -0
- package/dist/entityTag/AddEntityTagLinks.d.ts +12 -0
- package/dist/entityTag/EntitySource.d.ts +7 -0
- package/dist/entityTag/EntitySourcePopover.d.ts +10 -0
- package/dist/entityTag/EntityTagEditor.d.ts +48 -0
- package/dist/entityTag/EntityTagsReader.d.ts +15 -0
- package/dist/entityTag/addEntityTagLinks.component.d.ts +1 -0
- package/dist/entityTag/clusterTargetBuilder.d.ts +6 -0
- package/dist/entityTag/entityRef.builder.d.ts +11 -0
- package/dist/entityTag/entitySource.component.d.ts +1 -0
- package/dist/entityTag/entityTags.dataSource.d.ts +1 -0
- package/dist/entityTag/entityTags.help.d.ts +1 -0
- package/dist/entityTag/entityTags.module.d.ts +2 -0
- package/dist/entityTag/entityTags.write.service.d.ts +6 -0
- package/dist/entityTag/index.d.ts +7 -0
- package/dist/entityTag/notifications/CategorizedNotifications.d.ts +50 -0
- package/dist/entityTag/notifications/DataSourceNotifications.d.ts +18 -0
- package/dist/entityTag/notifications/EntityName.d.ts +9 -0
- package/dist/entityTag/notifications/EntityNotifications.d.ts +23 -0
- package/dist/entityTag/notifications/EphemeralPopover.d.ts +14 -0
- package/dist/entityTag/notifications/GroupedNotificationList.d.ts +26 -0
- package/dist/entityTag/notifications/NotificationCategory.d.ts +19 -0
- package/dist/entityTag/notifications/NotificationList.d.ts +14 -0
- package/dist/entityTag/notifications/NotificationsPopover.d.ts +60 -0
- package/dist/entityTag/notifications/entityNotifications.component.d.ts +1 -0
- package/dist/entityTag/notifications/index.d.ts +6 -0
- package/dist/entityTag/notifications/notificationCategories.d.ts +10 -0
- package/dist/event/EventBus.d.ts +23 -0
- package/dist/filterModel/FilterCheckBox.d.ts +18 -0
- package/dist/filterModel/FilterCollapse.d.ts +6 -0
- package/dist/filterModel/FilterModelService.d.ts +20 -0
- package/dist/filterModel/FilterTags.d.ts +18 -0
- package/dist/filterModel/IFilterModel.d.ts +63 -0
- package/dist/filterModel/dependentFilter/DependentFilterService.d.ts +6 -0
- package/dist/filterModel/filterCollapse.component.d.ts +1 -0
- package/dist/filterModel/filterTags.component.d.ts +1 -0
- package/dist/filterModel/index.d.ts +6 -0
- package/dist/forms/autofocus/autofocus.directive.d.ts +10 -0
- package/dist/forms/checklist/checklist.directive.d.ts +2 -0
- package/dist/forms/checkmap/checkmap.directive.d.ts +2 -0
- package/dist/forms/forms.module.d.ts +2 -0
- package/dist/forms/ignoreEmptyDelete.directive.d.ts +2 -0
- package/dist/forms/index.d.ts +4 -0
- package/dist/forms/mapEditor/MapEditor.d.ts +37 -0
- package/dist/forms/mapEditor/MapEditorInput.d.ts +19 -0
- package/dist/forms/mapEditor/MapPair.d.ts +17 -0
- package/dist/forms/mapEditor/mapEditor.component.d.ts +2 -0
- package/dist/forms/mapObjectEditor/mapObjectEditor.component.d.ts +2 -0
- package/dist/forms/numberList/NumberList.d.ts +12 -0
- package/dist/forms/numberList/numberList.component.d.ts +1 -0
- package/dist/forms/validateOnSubmit/validateOnSubmit.directive.d.ts +2 -0
- package/dist/function/CreateFunctionButton.d.ts +26 -0
- package/dist/function/Function.d.ts +9 -0
- package/dist/function/FunctionDetails.d.ts +7 -0
- package/dist/function/FunctionGroupings.d.ts +11 -0
- package/dist/function/FunctionPod.d.ts +11 -0
- package/dist/function/Functions.d.ts +24 -0
- package/dist/function/filter/FunctionFilterModel.d.ts +10 -0
- package/dist/function/filter/FunctionFilterService.d.ts +16 -0
- package/dist/function/filter/FunctionFilters.d.ts +27 -0
- package/dist/function/function.dataSource.d.ts +1 -0
- package/dist/function/function.module.d.ts +1 -0
- package/dist/function/function.read.service.d.ts +22 -0
- package/dist/function/function.states.d.ts +1 -0
- package/dist/function/function.transformer.d.ts +7 -0
- package/dist/function/function.write.service.d.ts +23 -0
- package/dist/function/index.d.ts +4 -0
- package/dist/header/SpinnakerHeader.d.ts +4 -0
- package/dist/header/customBanner/CustomBanner.d.ts +16 -0
- package/dist/healthCounts/HealthCounts.d.ts +22 -0
- package/dist/healthCounts/healthCounts.component.d.ts +1 -0
- package/dist/healthCounts/healthCounts.module.d.ts +1 -0
- package/dist/healthCounts/index.d.ts +1 -0
- package/dist/helm-chart-artifact2320ab55b431ba0a.svg +14 -0
- package/dist/help/HelpField.d.ts +11 -0
- package/dist/help/HelpMenu.d.ts +3 -0
- package/dist/help/HelpTextExpandedContext.d.ts +2 -0
- package/dist/help/help.contents.d.ts +3 -0
- package/dist/help/help.module.d.ts +2 -0
- package/dist/help/helpContents.registry.d.ts +25 -0
- package/dist/help/helpField.component.d.ts +14 -0
- package/dist/help/helpFieldReact.component.d.ts +1 -0
- package/dist/help/index.d.ts +5 -0
- package/dist/history/index.d.ts +1 -0
- package/dist/history/recentHistory.service.d.ts +33 -0
- package/dist/image/image.reader.d.ts +28 -0
- package/dist/image/index.d.ts +1 -0
- package/dist/index.d.ts +69 -0
- package/dist/index.js +71815 -0
- package/dist/index.js.map +1 -0
- package/dist/insight/InsightLayout.d.ts +6 -0
- package/dist/insight/InsightMenu.d.ts +23 -0
- package/dist/insight/insight.module.d.ts +2 -0
- package/dist/insight/insightFilterState.model.d.ts +7 -0
- package/dist/insight/insightLayout.component.d.ts +1 -0
- package/dist/insight/insightmenu.directive.d.ts +1 -0
- package/dist/instance/Instance.d.ts +9 -0
- package/dist/instance/InstanceList.d.ts +29 -0
- package/dist/instance/InstanceListBody.d.ts +29 -0
- package/dist/instance/InstanceReader.d.ts +13 -0
- package/dist/instance/Instances.d.ts +16 -0
- package/dist/instance/details/InstanceActions.d.ts +10 -0
- package/dist/instance/details/InstanceDetails.d.ts +33 -0
- package/dist/instance/details/InstanceDetailsHeader.d.ts +11 -0
- package/dist/instance/details/InstanceDetailsPane.d.ts +4 -0
- package/dist/instance/details/InstanceInsights.d.ts +13 -0
- package/dist/instance/details/InstanceLinks.d.ts +22 -0
- package/dist/instance/details/console/ConsoleOutputLink.d.ts +8 -0
- package/dist/instance/details/console/ConsoleOutputModal.d.ts +9 -0
- package/dist/instance/details/console/consoleOutputLink.component.d.ts +2 -0
- package/dist/instance/details/index.d.ts +8 -0
- package/dist/instance/details/instanceActions.component.d.ts +2 -0
- package/dist/instance/details/instanceDetailsHeader.component.d.ts +2 -0
- package/dist/instance/details/instanceInsights.component.d.ts +2 -0
- package/dist/instance/details/instanceLinks.component.d.ts +2 -0
- package/dist/instance/details/multipleInstanceServerGroup.directive.d.ts +2 -0
- package/dist/instance/details/multipleInstances.controller.d.ts +2 -0
- package/dist/instance/index.d.ts +5 -0
- package/dist/instance/instance.module.d.ts +2 -0
- package/dist/instance/instance.states.d.ts +1 -0
- package/dist/instance/instance.write.service.d.ts +44 -0
- package/dist/instance/instanceSearchResultType.d.ts +13 -0
- package/dist/instance/instanceType.service.d.ts +61 -0
- package/dist/instance/loadBalancer/InstanceLoadBalancerHealth.d.ts +17 -0
- package/dist/instance/loadBalancer/instanceLoadBalancerHealth.directive.d.ts +2 -0
- package/dist/interceptor/debug.interceptor.d.ts +6 -0
- package/dist/interceptor/interceptor.module.d.ts +1 -0
- package/dist/ivy-artifact537f2ce5956f4038.svg +13 -0
- package/dist/jenkins-file-artifactffa863534b26f298.svg +283 -0
- package/dist/loadBalancer/CreateLoadBalancerButton.d.ts +26 -0
- package/dist/loadBalancer/LoadBalancer.d.ts +15 -0
- package/dist/loadBalancer/LoadBalancerClusterContainer.d.ts +12 -0
- package/dist/loadBalancer/LoadBalancerDetails.d.ts +7 -0
- package/dist/loadBalancer/LoadBalancerInstances.d.ts +16 -0
- package/dist/loadBalancer/LoadBalancerPod.d.ts +14 -0
- package/dist/loadBalancer/LoadBalancerServerGroup.d.ts +17 -0
- package/dist/loadBalancer/LoadBalancers.d.ts +28 -0
- package/dist/loadBalancer/LoadBalancersTag.d.ts +17 -0
- package/dist/loadBalancer/LoadBalancersTagWrapper.d.ts +11 -0
- package/dist/loadBalancer/filter/LoadBalancerFilterModel.d.ts +10 -0
- package/dist/loadBalancer/filter/LoadBalancerFilterService.d.ts +24 -0
- package/dist/loadBalancer/filter/LoadBalancerFilters.d.ts +32 -0
- package/dist/loadBalancer/index.d.ts +8 -0
- package/dist/loadBalancer/loadBalancer.dataSource.d.ts +1 -0
- package/dist/loadBalancer/loadBalancer.module.d.ts +2 -0
- package/dist/loadBalancer/loadBalancer.read.service.d.ts +23 -0
- package/dist/loadBalancer/loadBalancer.states.d.ts +1 -0
- package/dist/loadBalancer/loadBalancer.transformer.d.ts +2 -0
- package/dist/loadBalancer/loadBalancer.write.service.d.ts +28 -0
- package/dist/loadBalancer/loadBalancerDataUtils.d.ts +6 -0
- package/dist/loadBalancer/loadBalancerSearchResultType.d.ts +16 -0
- package/dist/managed/ApplicationQueryError.d.ts +8 -0
- package/dist/managed/Environments.d.ts +4 -0
- package/dist/managed/ManagedReader.d.ts +8 -0
- package/dist/managed/ManagedWriter.d.ts +4 -0
- package/dist/managed/Pill.d.ts +10 -0
- package/dist/managed/RelativeTimestamp.d.ts +15 -0
- package/dist/managed/UnmanagedMessage.d.ts +2 -0
- package/dist/managed/artifactActions/ArtifactActions.d.ts +24 -0
- package/dist/managed/config/Configuration.d.ts +9 -0
- package/dist/managed/config/DeliveryConfig.d.ts +8 -0
- package/dist/managed/config/GitIntegration.d.ts +6 -0
- package/dist/managed/config/ManagementWarning.d.ts +4 -0
- package/dist/managed/constraints/AllowedTimes.d.ts +16 -0
- package/dist/managed/constraints/DependsOn.d.ts +5 -0
- package/dist/managed/constraints/ManualJudgement.d.ts +4 -0
- package/dist/managed/constraints/registry.d.ts +60 -0
- package/dist/managed/displayNames.d.ts +2 -0
- package/dist/managed/environmentBaseElements/BaseEnvironment.d.ts +21 -0
- package/dist/managed/environmentBaseElements/EnvironmentItem.d.ts +12 -0
- package/dist/managed/environmentBaseElements/EnvironmentsRender.d.ts +20 -0
- package/dist/managed/externals/DeployingIntoManagedClusterWarning.d.ts +9 -0
- package/dist/managed/externals/ManagedMenuItem.d.ts +11 -0
- package/dist/managed/externals/ManagedResourceConfig.d.ts +6 -0
- package/dist/managed/externals/ManagedResourceDetailsIndicator.d.ts +9 -0
- package/dist/managed/externals/ManagedResourceStatusIndicator.d.ts +10 -0
- package/dist/managed/externals/ManagedResourceStatusPopover.d.ts +10 -0
- package/dist/managed/externals/managedResourceDecorators.d.ts +4 -0
- package/dist/managed/externals/managedResourceDetailsIndicator.component.d.ts +1 -0
- package/dist/managed/externals/managedResourceStatusConfig.d.ts +13 -0
- package/dist/managed/externals/toggleResourceManagement.d.ts +12 -0
- package/dist/managed/graphql/client.d.ts +5 -0
- package/dist/managed/graphql/graphql-sdk.d.ts +1343 -0
- package/dist/managed/index.d.ts +13 -0
- package/dist/managed/managed.dataSource.d.ts +1 -0
- package/dist/managed/managed.module.d.ts +1 -0
- package/dist/managed/managed.states.d.ts +2 -0
- package/dist/managed/messages/MessageBox.d.ts +12 -0
- package/dist/managed/messages/Messages.d.ts +6 -0
- package/dist/managed/overview/EnvironmentOverview.d.ts +7 -0
- package/dist/managed/overview/EnvironmentsOverview.d.ts +3 -0
- package/dist/managed/overview/PreviewEnvironments.d.ts +9 -0
- package/dist/managed/overview/Resource.d.ts +10 -0
- package/dist/managed/overview/ResourceDeploymentStatus.d.ts +9 -0
- package/dist/managed/overview/ResourceTask.d.ts +7 -0
- package/dist/managed/overview/artifact/Artifact.d.ts +12 -0
- package/dist/managed/overview/artifact/ArtifactActionModal.d.ts +25 -0
- package/dist/managed/overview/artifact/ArtifactCollapsibleSection.d.ts +7 -0
- package/dist/managed/overview/artifact/ArtifactVersionTasks.d.ts +18 -0
- package/dist/managed/overview/artifact/ArtifactVersions.d.ts +9 -0
- package/dist/managed/overview/artifact/Constraints.d.ts +8 -0
- package/dist/managed/overview/artifact/CurrentVersion.d.ts +13 -0
- package/dist/managed/overview/artifact/GitLink.d.ts +9 -0
- package/dist/managed/overview/artifact/VersionOperation.d.ts +20 -0
- package/dist/managed/overview/artifact/VersionTitle.d.ts +9 -0
- package/dist/managed/overview/artifact/hooks.d.ts +6 -0
- package/dist/managed/overview/artifact/useCreateRollbackActions.hook.d.ts +3 -0
- package/dist/managed/overview/artifact/utils.d.ts +35 -0
- package/dist/managed/overview/types.d.ts +15 -0
- package/dist/managed/overview/useIsUpdatingResources.hook.d.ts +1 -0
- package/dist/managed/overview/utils.d.ts +2 -0
- package/dist/managed/plugins/BasePluginManager.d.ts +10 -0
- package/dist/managed/plugins/index.d.ts +7 -0
- package/dist/managed/resourceHistory/HistoryEventRow.d.ts +8 -0
- package/dist/managed/resourceHistory/ManagedResourceDiffTable.d.ts +6 -0
- package/dist/managed/resourceHistory/ManagedResourceHistoryModal.d.ts +7 -0
- package/dist/managed/resources/ResourceDefinitionModal.d.ts +9 -0
- package/dist/managed/resources/ResourceTitle.d.ts +5 -0
- package/dist/managed/resources/ToggleResourceManagement.d.ts +10 -0
- package/dist/managed/resources/resourceRegistry.d.ts +27 -0
- package/dist/managed/resources/useGetResourceLink.hook.d.ts +5 -0
- package/dist/managed/useEnvironmentTypeFromResources.hooks.d.ts +2 -0
- package/dist/managed/utils/ActionModal.d.ts +13 -0
- package/dist/managed/utils/Button.d.ts +11 -0
- package/dist/managed/utils/YamlViewer.d.ts +5 -0
- package/dist/managed/utils/debugMode.d.ts +2 -0
- package/dist/managed/utils/defaults.d.ts +12 -0
- package/dist/managed/utils/logging.d.ts +10 -0
- package/dist/managed/utils/useNotifyOnError.hook.d.ts +6 -0
- package/dist/managed/versionMetadata/MetadataComponents.d.ts +100 -0
- package/dist/managed/versionMetadata/VersionMetadata.d.ts +10 -0
- package/dist/managed/versionsHistory/VersionContent.d.ts +12 -0
- package/dist/managed/versionsHistory/VersionHeading.d.ts +9 -0
- package/dist/managed/versionsHistory/VersionsHistory.d.ts +3 -0
- package/dist/managed/versionsHistory/types.d.ts +36 -0
- package/dist/manifest/ManifestReader.d.ts +4 -0
- package/dist/manifest/ManifestWriter.d.ts +11 -0
- package/dist/manifest/ManifestYaml.d.ts +13 -0
- package/dist/manifest/PodNameProvider.d.ts +16 -0
- package/dist/manifest/index.d.ts +6 -0
- package/dist/manifest/stage/JobManifestPodLogs.d.ts +28 -0
- package/dist/manifest/stage/JobStageExecutionLogs.d.ts +25 -0
- package/dist/modal/buttons/ModalClose.d.ts +4 -0
- package/dist/modal/buttons/SubmitButton.d.ts +20 -0
- package/dist/modal/buttons/modalClose.component.d.ts +1 -0
- package/dist/modal/buttons/submitButton.component.d.ts +3 -0
- package/dist/modal/index.d.ts +4 -0
- package/dist/modal/modal.module.d.ts +2 -0
- package/dist/modal/modalOverlay.directive.d.ts +2 -0
- package/dist/modal/modalPage.directive.d.ts +2 -0
- package/dist/modal/wizard/ModalWizard.d.ts +36 -0
- package/dist/modal/wizard/WizardModal.d.ts +53 -0
- package/dist/modal/wizard/WizardPage.d.ts +42 -0
- package/dist/modal/wizard/WizardStepLabel.d.ts +11 -0
- package/dist/modal/wizard/index.d.ts +4 -0
- package/dist/modal/wizard/v2modalWizard.component.d.ts +14 -0
- package/dist/modal/wizard/v2wizardPage.component.d.ts +67 -0
- package/dist/modal/wizard/wizardSubFormValidation.service.d.ts +5 -0
- package/dist/naming/IMoniker.d.ts +7 -0
- package/dist/naming/index.d.ts +2 -0
- package/dist/naming/nameUtils.d.ts +20 -0
- package/dist/navigation/UrlBuilder.d.ts +31 -0
- package/dist/navigation/UrlBuilderRegistry.d.ts +6 -0
- package/dist/navigation/index.d.ts +4 -0
- package/dist/navigation/state.provider.d.ts +54 -0
- package/dist/navigation/stateHelper.provider.d.ts +14 -0
- package/dist/navigation/urlParser.d.ts +15 -0
- package/dist/network/NetworkReader.d.ts +12 -0
- package/dist/network/index.d.ts +1 -0
- package/dist/notfound/NotFound.d.ts +7 -0
- package/dist/notification/AppNotificationsService.d.ts +9 -0
- package/dist/notification/NotificationService.d.ts +15 -0
- package/dist/notification/NotificationsList.d.ts +32 -0
- package/dist/notification/extensionNotificationConfig.d.ts +56 -0
- package/dist/notification/index.d.ts +5 -0
- package/dist/notification/modal/EditNotificationModal.d.ts +20 -0
- package/dist/notification/modal/NotificationDetails.d.ts +21 -0
- package/dist/notification/modal/WhenChecklistInput.d.ts +12 -0
- package/dist/notification/modal/index.d.ts +2 -0
- package/dist/notification/modal/whenOptions.d.ts +3 -0
- package/dist/notification/notification.transformer.d.ts +5 -0
- package/dist/notification/notification.types.d.ts +1 -0
- package/dist/notification/notificationList.module.d.ts +1 -0
- package/dist/notification/notifications.module.d.ts +3 -0
- package/dist/notification/selector/NotificationSelector.d.ts +16 -0
- package/dist/notification/selector/types/bearychat/BearychatNotificationType.d.ts +5 -0
- package/dist/notification/selector/types/bearychat/beary.notification.d.ts +2 -0
- package/dist/notification/selector/types/cdevents/CDEventsNotificationType.d.ts +5 -0
- package/dist/notification/selector/types/cdevents/cdevents.notification.d.ts +2 -0
- package/dist/notification/selector/types/email/EmailNotificationType.d.ts +5 -0
- package/dist/notification/selector/types/email/email.notification.d.ts +2 -0
- package/dist/notification/selector/types/githubstatus/GithubNotificationType.d.ts +5 -0
- package/dist/notification/selector/types/githubstatus/githubstatus.notification.d.ts +2 -0
- package/dist/notification/selector/types/googlechat/GooglechatNotificationType.d.ts +5 -0
- package/dist/notification/selector/types/googlechat/googlechat.notification.d.ts +2 -0
- package/dist/notification/selector/types/index.d.ts +8 -0
- package/dist/notification/selector/types/microsoftteams/MicrosoftTeamsNotificationType.d.ts +5 -0
- package/dist/notification/selector/types/microsoftteams/microsoftteams.notification.d.ts +2 -0
- package/dist/notification/selector/types/pubsub/PubsubNotificationType.d.ts +5 -0
- package/dist/notification/selector/types/pubsub/pubsub.notification.d.ts +2 -0
- package/dist/notification/selector/types/slack/SlackNotificationType.d.ts +5 -0
- package/dist/notification/selector/types/slack/slack.notification.d.ts +2 -0
- package/dist/notification/selector/types/sms/SmsNotificationType.d.ts +6 -0
- package/dist/notification/selector/types/sms/sms.notification.d.ts +2 -0
- package/dist/orchestratedItem/index.d.ts +1 -0
- package/dist/orchestratedItem/orchestratedItem.transformer.d.ts +13 -0
- package/dist/overrideRegistry/Overridable.d.ts +39 -0
- package/dist/overrideRegistry/Overrides.d.ts +37 -0
- package/dist/overrideRegistry/index.d.ts +3 -0
- package/dist/overrideRegistry/override.registry.d.ts +13 -0
- package/dist/pageTitle/index.d.ts +1 -0
- package/dist/pageTitle/pageTitle.module.d.ts +1 -0
- package/dist/pageTitle/pageTitle.service.d.ts +43 -0
- package/dist/pagerDuty/PageButton.d.ts +20 -0
- package/dist/pagerDuty/PageModal.d.ts +29 -0
- package/dist/pagerDuty/Pager.d.ts +70 -0
- package/dist/pagerDuty/index.d.ts +4 -0
- package/dist/pagerDuty/pageApplicationOwner.modal.controller.d.ts +14 -0
- package/dist/pagerDuty/pager.states.d.ts +1 -0
- package/dist/pagerDuty/pagerDuty.module.d.ts +1 -0
- package/dist/pagerDuty/pagerDuty.read.service.d.ts +25 -0
- package/dist/pagerDuty/pagerDuty.write.service.d.ts +8 -0
- package/dist/pagerDuty/pagerDutySelectField.component.d.ts +15 -0
- package/dist/pagerDuty/pagerDutyTag.component.d.ts +11 -0
- package/dist/pipeline/config/CreatePipeline.d.ts +9 -0
- package/dist/pipeline/config/PipelineRegistry.d.ts +71 -0
- package/dist/pipeline/config/actions/PipelineConfigAction.d.ts +7 -0
- package/dist/pipeline/config/actions/PipelineConfigActions.d.ts +15 -0
- package/dist/pipeline/config/actions/delete/DeletePipelineModal.d.ts +9 -0
- package/dist/pipeline/config/actions/disable/DisablePipelineModal.d.ts +7 -0
- package/dist/pipeline/config/actions/enable/EnablePipelineModal.d.ts +7 -0
- package/dist/pipeline/config/actions/history/DiffSummary.d.ts +6 -0
- package/dist/pipeline/config/actions/history/ShowPipelineHistoryModal.d.ts +10 -0
- package/dist/pipeline/config/actions/history/diffSummary.component.d.ts +1 -0
- package/dist/pipeline/config/actions/lock/LockPipelineModal.d.ts +7 -0
- package/dist/pipeline/config/actions/pipelineConfigActions.module.d.ts +1 -0
- package/dist/pipeline/config/actions/pipelineJson/EditPipelineJsonModal.d.ts +29 -0
- package/dist/pipeline/config/actions/rename/RenamePipelineModal.d.ts +9 -0
- package/dist/pipeline/config/actions/templateJson/ShowPipelineTemplateJsonModal.d.ts +24 -0
- package/dist/pipeline/config/actions/unlock/UnlockPipelineModal.d.ts +7 -0
- package/dist/pipeline/config/copyStage/CopyStageCard.d.ts +9 -0
- package/dist/pipeline/config/copyStage/CopyStageModal.d.ts +9 -0
- package/dist/pipeline/config/createPipeline.component.d.ts +1 -0
- package/dist/pipeline/config/graph/PipelineGraph.d.ts +76 -0
- package/dist/pipeline/config/graph/PipelineGraphLink.d.ts +10 -0
- package/dist/pipeline/config/graph/PipelineGraphNode.d.ts +20 -0
- package/dist/pipeline/config/graph/pipeline.graph.component.d.ts +1 -0
- package/dist/pipeline/config/graph/pipelineGraph.service.d.ts +60 -0
- package/dist/pipeline/config/health/stagePlatformHealthOverride.directive.d.ts +2 -0
- package/dist/pipeline/config/parameters/Parameter.d.ts +27 -0
- package/dist/pipeline/config/parameters/Parameters.d.ts +26 -0
- package/dist/pipeline/config/parameters/parameters.module.d.ts +1 -0
- package/dist/pipeline/config/parameters/pipeline.module.d.ts +2 -0
- package/dist/pipeline/config/pipelineConfig.controller.d.ts +2 -0
- package/dist/pipeline/config/pipelineConfig.module.d.ts +2 -0
- package/dist/pipeline/config/pipelineConfigView.d.ts +2 -0
- package/dist/pipeline/config/pipelineConfigurer.d.ts +2 -0
- package/dist/pipeline/config/preconditions/modal/editPrecondition.controller.modal.d.ts +2 -0
- package/dist/pipeline/config/preconditions/precondition.details.filter.d.ts +2 -0
- package/dist/pipeline/config/preconditions/preconditionList.directive.d.ts +2 -0
- package/dist/pipeline/config/preconditions/preconditionType.service.d.ts +2 -0
- package/dist/pipeline/config/preconditions/preconditionTypeConfig.provider.d.ts +2 -0
- package/dist/pipeline/config/preconditions/preconditions.module.d.ts +2 -0
- package/dist/pipeline/config/preconditions/selector/preconditionSelector.directive.d.ts +2 -0
- package/dist/pipeline/config/preconditions/types/clusterSize/clusterSize.precondition.type.module.d.ts +2 -0
- package/dist/pipeline/config/preconditions/types/expression/expression.precondition.type.module.d.ts +2 -0
- package/dist/pipeline/config/preconditions/types/stageStatus/StageStatusPreconditionConfig.d.ts +10 -0
- package/dist/pipeline/config/preconditions/types/stageStatus/stageStatus.precondition.type.module.d.ts +1 -0
- package/dist/pipeline/config/preconditions/types/stageStatus/stageStatusOptions.d.ts +2 -0
- package/dist/pipeline/config/services/PipelineConfigService.d.ts +25 -0
- package/dist/pipeline/config/services/pipelineJSON.service.d.ts +6 -0
- package/dist/pipeline/config/stages/FormikStageConfig.d.ts +22 -0
- package/dist/pipeline/config/stages/StageConfigWrapper.d.ts +8 -0
- package/dist/pipeline/config/stages/StageName.d.ts +8 -0
- package/dist/pipeline/config/stages/applySourceServerGroupCapacity/ApplySourceServerGroupCapacityDetails.d.ts +11 -0
- package/dist/pipeline/config/stages/applySourceServerGroupCapacity/applySourceServerGroupCapacityStage.module.d.ts +1 -0
- package/dist/pipeline/config/stages/awsCodeBuild/AwsCodeBuildExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/awsCodeBuild/AwsCodeBuildSourceList.d.ts +28 -0
- package/dist/pipeline/config/stages/awsCodeBuild/AwsCodeBuildStageConfig.d.ts +3 -0
- package/dist/pipeline/config/stages/awsCodeBuild/AwsCodeBuildStageForm.d.ts +3 -0
- package/dist/pipeline/config/stages/awsCodeBuild/AwsCodeBuildValidator.d.ts +3 -0
- package/dist/pipeline/config/stages/awsCodeBuild/EditAwsCodeBuildSecondarySourceVersionModal.d.ts +9 -0
- package/dist/pipeline/config/stages/awsCodeBuild/EditAwsCodeBuildSourceModal.d.ts +19 -0
- package/dist/pipeline/config/stages/awsCodeBuild/IAwsCodeBuildSource.d.ts +19 -0
- package/dist/pipeline/config/stages/awsCodeBuild/awsCodeBuildStage.d.ts +1 -0
- package/dist/pipeline/config/stages/bake/BakeExecutionLabel.d.ts +7 -0
- package/dist/pipeline/config/stages/bake/BakeryReader.d.ts +17 -0
- package/dist/pipeline/config/stages/bake/ManualExecutionBake.d.ts +6 -0
- package/dist/pipeline/config/stages/bake/bakeStage.d.ts +2 -0
- package/dist/pipeline/config/stages/bake/bakeStage.module.d.ts +2 -0
- package/dist/pipeline/config/stages/bake/bakeStage.transformer.d.ts +2 -0
- package/dist/pipeline/config/stages/bake/bakeStageChooseManagedImage.component.d.ts +16 -0
- package/dist/pipeline/config/stages/bake/bakeStageChooseOs.component.d.ts +19 -0
- package/dist/pipeline/config/stages/bake/modal/addExtendedAttribute.controller.modal.d.ts +2 -0
- package/dist/pipeline/config/stages/bakeManifest/BakeManifestConfig.d.ts +6 -0
- package/dist/pipeline/config/stages/bakeManifest/BakeManifestDetailsTab.d.ts +6 -0
- package/dist/pipeline/config/stages/bakeManifest/BakeManifestStageForm.d.ts +5 -0
- package/dist/pipeline/config/stages/bakeManifest/ManifestRenderers.d.ts +10 -0
- package/dist/pipeline/config/stages/bakeManifest/ManualExecutionBakeManifest.d.ts +3 -0
- package/dist/pipeline/config/stages/bakeManifest/bakeManifestStage.d.ts +1 -0
- package/dist/pipeline/config/stages/bakeManifest/helm/BakeHelmConfigForm.d.ts +18 -0
- package/dist/pipeline/config/stages/bakeManifest/helmfile/BakeHelmfileConfigForm.d.ts +18 -0
- package/dist/pipeline/config/stages/bakeManifest/kustomize/BakeKustomizeConfigForm.d.ts +6 -0
- package/dist/pipeline/config/stages/bakeManifest/utils/getBakedArtifacts.d.ts +4 -0
- package/dist/pipeline/config/stages/bakeManifest/utils/getContentReference.d.ts +1 -0
- package/dist/pipeline/config/stages/baseProviderStage/baseProviderStage.d.ts +2 -0
- package/dist/pipeline/config/stages/checkPreconditions/CheckPreconditionsExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/checkPreconditions/checkPreconditionsStage.d.ts +1 -0
- package/dist/pipeline/config/stages/checkPreconditions/checkPreconditionsStage.module.d.ts +1 -0
- package/dist/pipeline/config/stages/cloneServerGroup/CloneServerGroupExecutionDetails.d.ts +23 -0
- package/dist/pipeline/config/stages/cloneServerGroup/cloneServerGroupStage.module.d.ts +1 -0
- package/dist/pipeline/config/stages/common/AsgActionExecutionDetailsSection.d.ts +5 -0
- package/dist/pipeline/config/stages/common/EditStageJsonModal.d.ts +20 -0
- package/dist/pipeline/config/stages/common/ExecutionBarLabel.d.ts +21 -0
- package/dist/pipeline/config/stages/common/ExecutionDetailsSection.d.ts +9 -0
- package/dist/pipeline/config/stages/common/ExecutionDetailsTasks.d.ts +6 -0
- package/dist/pipeline/config/stages/common/ExecutionMarkerIcon.d.ts +6 -0
- package/dist/pipeline/config/stages/common/ExecutionStepDetails.d.ts +14 -0
- package/dist/pipeline/config/stages/common/IStageConfigProps.d.ts +15 -0
- package/dist/pipeline/config/stages/common/ServerGroupStageContext.d.ts +7 -0
- package/dist/pipeline/config/stages/common/StepExecutionDetails.d.ts +10 -0
- package/dist/pipeline/config/stages/common/applySuspendedStatuses.d.ts +2 -0
- package/dist/pipeline/config/stages/common/baseExecutionDetails.controller.d.ts +18 -0
- package/dist/pipeline/config/stages/common/executionStepDetails.component.d.ts +1 -0
- package/dist/pipeline/config/stages/common/index.d.ts +9 -0
- package/dist/pipeline/config/stages/common/stage.common.module.d.ts +1 -0
- package/dist/pipeline/config/stages/common/stageConfigField/StageConfigField.d.ts +10 -0
- package/dist/pipeline/config/stages/common/stageConfigField/stageConfigField.directive.d.ts +2 -0
- package/dist/pipeline/config/stages/concourse/ConcourseExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/concourse/ConcourseStageConfig.d.ts +27 -0
- package/dist/pipeline/config/stages/concourse/concourseStage.d.ts +1 -0
- package/dist/pipeline/config/stages/createLoadBalancer/createLoadBalancerExecutionDetails.controller.d.ts +13 -0
- package/dist/pipeline/config/stages/createLoadBalancer/createLoadBalancerStage.d.ts +2 -0
- package/dist/pipeline/config/stages/createLoadBalancer/createLoadBalancerStage.module.d.ts +1 -0
- package/dist/pipeline/config/stages/deploy/clusterName.filter.d.ts +2 -0
- package/dist/pipeline/config/stages/deploy/deployExecutionDetails.controller.d.ts +2 -0
- package/dist/pipeline/config/stages/deploy/deployStage.d.ts +2 -0
- package/dist/pipeline/config/stages/deploy/deployStage.module.d.ts +2 -0
- package/dist/pipeline/config/stages/deploy/deployStage.transformer.d.ts +2 -0
- package/dist/pipeline/config/stages/deployService/DeployServiceExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/deployService/deployServiceStage.d.ts +1 -0
- package/dist/pipeline/config/stages/destroyAsg/DestroyAsgExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/destroyAsg/destroyAsgStage.d.ts +1 -0
- package/dist/pipeline/config/stages/destroyService/DestroyServiceExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/destroyService/destroyServiceStage.d.ts +1 -0
- package/dist/pipeline/config/stages/disableAsg/DisableAsgExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/disableAsg/disableAsgStage.module.d.ts +1 -0
- package/dist/pipeline/config/stages/disableCluster/DisableClusterExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/disableCluster/disableClusterStage.d.ts +1 -0
- package/dist/pipeline/config/stages/enableAsg/EnableAsgExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/enableAsg/enableAsgStage.d.ts +1 -0
- package/dist/pipeline/config/stages/entityTags/ApplyEntityTagsExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/entityTags/ApplyEntityTagsStageConfig.d.ts +18 -0
- package/dist/pipeline/config/stages/entityTags/TagEditor.d.ts +17 -0
- package/dist/pipeline/config/stages/entityTags/applyEntityTagsStage.d.ts +1 -0
- package/dist/pipeline/config/stages/evaluateVariables/EvaluateVariablesExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/evaluateVariables/EvaluateVariablesStageConfig.d.ts +10 -0
- package/dist/pipeline/config/stages/evaluateVariables/ExecutionAndStagePicker.d.ts +9 -0
- package/dist/pipeline/config/stages/evaluateVariables/evaluateVariablesStage.d.ts +1 -0
- package/dist/pipeline/config/stages/executionWindows/ExecutionWindowActions.d.ts +24 -0
- package/dist/pipeline/config/stages/executionWindows/ExecutionWindowDayPicker.d.ts +6 -0
- package/dist/pipeline/config/stages/executionWindows/ExecutionWindowExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/executionWindows/ExecutionWindows.d.ts +11 -0
- package/dist/pipeline/config/stages/executionWindows/daysOfWeek.d.ts +5 -0
- package/dist/pipeline/config/stages/executionWindows/executionWindows.module.d.ts +1 -0
- package/dist/pipeline/config/stages/executionWindows/executionWindows.transformer.d.ts +6 -0
- package/dist/pipeline/config/stages/executionWindows/executionWindowsConfig.d.ts +27 -0
- package/dist/pipeline/config/stages/executionWindows/executionWindowsStage.d.ts +1 -0
- package/dist/pipeline/config/stages/failOnFailedExpressions/failOnFailedExpressions.directive.d.ts +2 -0
- package/dist/pipeline/config/stages/findAmi/FindAmiExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/findAmi/findAmiStage.d.ts +6 -0
- package/dist/pipeline/config/stages/findArtifactFromExecution/FindArtifactFromExecutionExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/findArtifactFromExecution/findArtifactFromExecution.controller.d.ts +33 -0
- package/dist/pipeline/config/stages/findArtifactFromExecution/findArtifactFromExecutionStage.d.ts +1 -0
- package/dist/pipeline/config/stages/findImageFromTags/findImageFromTagsStage.d.ts +2 -0
- package/dist/pipeline/config/stages/findImageFromTags/findImageFromTagsStage.module.d.ts +2 -0
- package/dist/pipeline/config/stages/googleCloudBuild/GoogleCloudBuildExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/googleCloudBuild/GoogleCloudBuildStageConfig.d.ts +3 -0
- package/dist/pipeline/config/stages/googleCloudBuild/GoogleCloudBuildStageForm.d.ts +3 -0
- package/dist/pipeline/config/stages/googleCloudBuild/IGoogleCloudBuildStage.d.ts +27 -0
- package/dist/pipeline/config/stages/googleCloudBuild/googleCloudBuildStage.d.ts +1 -0
- package/dist/pipeline/config/stages/googleCloudBuild/googleCloudBuildValidators.d.ts +2 -0
- package/dist/pipeline/config/stages/gremlin/GremlinExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/gremlin/GremlinStageConfig.d.ts +25 -0
- package/dist/pipeline/config/stages/gremlin/gremlinStage.d.ts +1 -0
- package/dist/pipeline/config/stages/group/GroupExecutionLabel.d.ts +15 -0
- package/dist/pipeline/config/stages/group/GroupExecutionPopover.d.ts +17 -0
- package/dist/pipeline/config/stages/group/GroupMarkerIcon.d.ts +5 -0
- package/dist/pipeline/config/stages/group/groupStage.d.ts +4 -0
- package/dist/pipeline/config/stages/group/groupStage.module.d.ts +1 -0
- package/dist/pipeline/config/stages/jenkins/JenkinsExecutionLabel.d.ts +7 -0
- package/dist/pipeline/config/stages/jenkins/jenkinsExecutionDetails.controller.d.ts +2 -0
- package/dist/pipeline/config/stages/jenkins/jenkinsStage.d.ts +2 -0
- package/dist/pipeline/config/stages/jenkins/jenkinsStage.module.d.ts +2 -0
- package/dist/pipeline/config/stages/managed/ImportDeliveryConfigExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/managed/ImportDeliveryConfigStageConfig.d.ts +3 -0
- package/dist/pipeline/config/stages/managed/importDeliveryConfigStage.d.ts +1 -0
- package/dist/pipeline/config/stages/manualJudgment/ManualJudgmentApproval.d.ts +34 -0
- package/dist/pipeline/config/stages/manualJudgment/ManualJudgmentExecutionDetails.d.ts +11 -0
- package/dist/pipeline/config/stages/manualJudgment/ManualJudgmentExecutionLabel.d.ts +12 -0
- package/dist/pipeline/config/stages/manualJudgment/ManualJudgmentMarkerIcon.d.ts +6 -0
- package/dist/pipeline/config/stages/manualJudgment/manualJudgment.service.d.ts +10 -0
- package/dist/pipeline/config/stages/manualJudgment/manualJudgmentStage.d.ts +2 -0
- package/dist/pipeline/config/stages/manualJudgment/manualJudgmentStage.module.d.ts +2 -0
- package/dist/pipeline/config/stages/monitorPipeline/MonitorPipelineStageExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/monitorPipeline/monitorPipelineStage.d.ts +2 -0
- package/dist/pipeline/config/stages/monitorPipeline/monitorPipelineStage.module.d.ts +2 -0
- package/dist/pipeline/config/stages/monitoreddeploy/DeploymentMonitorExecutionDetails.d.ts +13 -0
- package/dist/pipeline/config/stages/monitoreddeploy/DeploymentMonitorReader.d.ts +8 -0
- package/dist/pipeline/config/stages/monitoreddeploy/evaluateHealthStage.d.ts +1 -0
- package/dist/pipeline/config/stages/monitoreddeploy/notifyDeployStartingStage.d.ts +1 -0
- package/dist/pipeline/config/stages/optionalStage/optionalStage.directive.d.ts +2 -0
- package/dist/pipeline/config/stages/overrideFailure/OverrideFailure.d.ts +10 -0
- package/dist/pipeline/config/stages/overrideFailure/overrideFailure.module.d.ts +1 -0
- package/dist/pipeline/config/stages/overrideTimeout/OverrideTimeout.d.ts +12 -0
- package/dist/pipeline/config/stages/overrideTimeout/overrideTimeout.module.d.ts +1 -0
- package/dist/pipeline/config/stages/pipeline/PipelineParametersExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/pipeline/PipelineStageExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/pipeline/pipelineStage.d.ts +2 -0
- package/dist/pipeline/config/stages/pipeline/pipelineStage.module.d.ts +2 -0
- package/dist/pipeline/config/stages/preconfiguredJob/PreconfiguredJobExecutionDetails.d.ts +22 -0
- package/dist/pipeline/config/stages/preconfiguredJob/PreconfiguredJobStageConfig.d.ts +3 -0
- package/dist/pipeline/config/stages/preconfiguredJob/index.d.ts +4 -0
- package/dist/pipeline/config/stages/preconfiguredJob/preconfiguredJob.reader.d.ts +20 -0
- package/dist/pipeline/config/stages/preconfiguredJob/preconfiguredJobStage.d.ts +11 -0
- package/dist/pipeline/config/stages/preconfiguredJob/preconfiguredJobStage.module.d.ts +1 -0
- package/dist/pipeline/config/stages/producesArtifacts/ProducesArtifacts.d.ts +9 -0
- package/dist/pipeline/config/stages/resizeAsg/resizeAsgStage.d.ts +1 -0
- package/dist/pipeline/config/stages/rollbackCluster/RollbackClusterExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/rollbackCluster/rollbackClusterStage.d.ts +1 -0
- package/dist/pipeline/config/stages/runJob/runJobStage.d.ts +2 -0
- package/dist/pipeline/config/stages/runJob/runJobStage.module.d.ts +2 -0
- package/dist/pipeline/config/stages/savePipelines/PipleineRefList.d.ts +6 -0
- package/dist/pipeline/config/stages/savePipelines/SavePipelinesResultsTab.d.ts +6 -0
- package/dist/pipeline/config/stages/savePipelines/SavePipelinesStageConfig.d.ts +3 -0
- package/dist/pipeline/config/stages/savePipelines/savePipelinesStage.d.ts +1 -0
- package/dist/pipeline/config/stages/scaleDownCluster/ScaleDownClusterExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/scaleDownCluster/scaleDownClusterStage.d.ts +1 -0
- package/dist/pipeline/config/stages/script/ScriptExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/script/ScriptStageConfig.d.ts +5 -0
- package/dist/pipeline/config/stages/script/scriptStage.d.ts +1 -0
- package/dist/pipeline/config/stages/shareService/ShareServiceExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/shareService/shareServiceStage.d.ts +1 -0
- package/dist/pipeline/config/stages/shrinkCluster/ShrinkClusterExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/shrinkCluster/shrinkClusterStage.d.ts +1 -0
- package/dist/pipeline/config/stages/stage.module.d.ts +2 -0
- package/dist/pipeline/config/stages/stageConstants.d.ts +14 -0
- package/dist/pipeline/config/stages/tagImage/tagImageStage.d.ts +2 -0
- package/dist/pipeline/config/stages/tagImage/tagImageStage.module.d.ts +2 -0
- package/dist/pipeline/config/stages/templates/index.d.ts +3 -0
- package/dist/pipeline/config/stages/travis/TravisExecutionLabel.d.ts +7 -0
- package/dist/pipeline/config/stages/travis/modal/addParameter.controller.modal.d.ts +10 -0
- package/dist/pipeline/config/stages/travis/travisExecutionDetails.controller.d.ts +18 -0
- package/dist/pipeline/config/stages/travis/travisStage.d.ts +43 -0
- package/dist/pipeline/config/stages/travis/travisStage.module.d.ts +1 -0
- package/dist/pipeline/config/stages/unmatchedStageTypeStage/unmatchedStageTypeStage.controller.d.ts +15 -0
- package/dist/pipeline/config/stages/unmatchedStageTypeStage/unmatchedStageTypeStage.d.ts +1 -0
- package/dist/pipeline/config/stages/unshareService/UnshareServiceExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/unshareService/unshareServiceStage.d.ts +1 -0
- package/dist/pipeline/config/stages/wait/SkipWait.d.ts +21 -0
- package/dist/pipeline/config/stages/wait/WaitExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/wait/WaitExecutionLabel.d.ts +9 -0
- package/dist/pipeline/config/stages/wait/WaitStageConfig.d.ts +17 -0
- package/dist/pipeline/config/stages/wait/waitStage.d.ts +1 -0
- package/dist/pipeline/config/stages/waitForCondition/SkipConditionWait.d.ts +10 -0
- package/dist/pipeline/config/stages/waitForCondition/WaitForConditionExecutionDetails.d.ts +6 -0
- package/dist/pipeline/config/stages/waitForCondition/waitForCondition.transformer.d.ts +6 -0
- package/dist/pipeline/config/stages/waitForCondition/waitForConditionStage.d.ts +1 -0
- package/dist/pipeline/config/stages/waitForParentTasks/waitForParentTasks.d.ts +2 -0
- package/dist/pipeline/config/stages/waitForParentTasks/waitForParentTasks.transformer.d.ts +2 -0
- package/dist/pipeline/config/stages/webhook/modal/addCustomHeader.controller.modal.d.ts +10 -0
- package/dist/pipeline/config/stages/webhook/webhookExecutionDetails.controller.d.ts +23 -0
- package/dist/pipeline/config/stages/webhook/webhookStage.d.ts +51 -0
- package/dist/pipeline/config/stages/webhook/webhookStage.module.d.ts +1 -0
- package/dist/pipeline/config/stages/wercker/WerckerExecutionLabel.d.ts +7 -0
- package/dist/pipeline/config/stages/wercker/modal/addParameter.controller.modal.d.ts +10 -0
- package/dist/pipeline/config/stages/wercker/werckerExecutionDetails.controller.d.ts +18 -0
- package/dist/pipeline/config/stages/wercker/werckerStage.d.ts +51 -0
- package/dist/pipeline/config/stages/wercker/werckerStage.module.d.ts +1 -0
- package/dist/pipeline/config/targetSelect.component.d.ts +11 -0
- package/dist/pipeline/config/templates/PipelineTemplateReader.d.ts +82 -0
- package/dist/pipeline/config/templates/PipelineTemplateWriter.d.ts +9 -0
- package/dist/pipeline/config/templates/TemplatePlanErrors.d.ts +10 -0
- package/dist/pipeline/config/templates/Variable.d.ts +13 -0
- package/dist/pipeline/config/templates/VariableError.d.ts +11 -0
- package/dist/pipeline/config/templates/VariableMetadataHelpField.d.ts +9 -0
- package/dist/pipeline/config/templates/configurePipelineTemplateModal.controller.d.ts +52 -0
- package/dist/pipeline/config/templates/index.d.ts +2 -0
- package/dist/pipeline/config/templates/inputs/BooleanInput.d.ts +6 -0
- package/dist/pipeline/config/templates/inputs/ListInput.d.ts +6 -0
- package/dist/pipeline/config/templates/inputs/NumberInput.d.ts +6 -0
- package/dist/pipeline/config/templates/inputs/ObjectInput.d.ts +6 -0
- package/dist/pipeline/config/templates/inputs/StringInput.d.ts +6 -0
- package/dist/pipeline/config/templates/inputs/variableInput.service.d.ts +27 -0
- package/dist/pipeline/config/templates/pipelineTemplate.module.d.ts +10 -0
- package/dist/pipeline/config/templates/templatePlanErrors.component.d.ts +1 -0
- package/dist/pipeline/config/templates/v2/ApplicationSelector.d.ts +12 -0
- package/dist/pipeline/config/templates/v2/DeletePipelineTemplateV2Modal.d.ts +16 -0
- package/dist/pipeline/config/templates/v2/PipelineTemplatesV2.d.ts +36 -0
- package/dist/pipeline/config/templates/v2/configurePipelineTemplateModalV2.controller.d.ts +53 -0
- package/dist/pipeline/config/templates/v2/createPipelineFromTemplate/CreatePipelineFromTemplate.d.ts +30 -0
- package/dist/pipeline/config/templates/v2/createPipelineFromTemplate/index.d.ts +1 -0
- package/dist/pipeline/config/templates/v2/pipelineTemplateV2.service.d.ts +23 -0
- package/dist/pipeline/config/templates/v2/pipelineTemplateV2.states.d.ts +1 -0
- package/dist/pipeline/config/templates/validators/list.validator.d.ts +1 -0
- package/dist/pipeline/config/templates/validators/number.validator.d.ts +1 -0
- package/dist/pipeline/config/templates/validators/object.validator.d.ts +1 -0
- package/dist/pipeline/config/templates/validators/string.validator.d.ts +1 -0
- package/dist/pipeline/config/templates/validators/variableValidator.service.d.ts +10 -0
- package/dist/pipeline/config/templates/variable.component.d.ts +1 -0
- package/dist/pipeline/config/triggers/ExecutionOptionsPageContent.d.ts +7 -0
- package/dist/pipeline/config/triggers/MetadataPageContent.d.ts +12 -0
- package/dist/pipeline/config/triggers/NotificationsPageContent.d.ts +7 -0
- package/dist/pipeline/config/triggers/ParametersPageContent.d.ts +7 -0
- package/dist/pipeline/config/triggers/PipelineRoles.d.ts +6 -0
- package/dist/pipeline/config/triggers/RefreshableReactSelectInput.d.ts +12 -0
- package/dist/pipeline/config/triggers/RunAsUser.d.ts +6 -0
- package/dist/pipeline/config/triggers/Trigger.d.ts +18 -0
- package/dist/pipeline/config/triggers/Triggers.d.ts +11 -0
- package/dist/pipeline/config/triggers/TriggersPageContent.d.ts +9 -0
- package/dist/pipeline/config/triggers/TriggersWrapper.d.ts +6 -0
- package/dist/pipeline/config/triggers/artifactory/ArtifactoryTrigger.d.ts +2 -0
- package/dist/pipeline/config/triggers/artifactory/artifactory.trigger.d.ts +1 -0
- package/dist/pipeline/config/triggers/artifactory/artifactoryReader.service.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/ArtifactEditor.d.ts +6 -0
- package/dist/pipeline/config/triggers/artifacts/ArtifactService.d.ts +7 -0
- package/dist/pipeline/config/triggers/artifacts/TriggerArtifactConstraintSelectorInput.d.ts +21 -0
- package/dist/pipeline/config/triggers/artifacts/base64/Base64ArtifactEditor.d.ts +5 -0
- package/dist/pipeline/config/triggers/artifacts/bitbucket/BitbucketArtifactEditor.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/custom/CustomArtifactEditor.d.ts +17 -0
- package/dist/pipeline/config/triggers/artifacts/docker/DockerArtifactEditor.d.ts +4 -0
- package/dist/pipeline/config/triggers/artifacts/gcs/GcsArtifactEditor.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/github/GithubArtifactEditor.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/gitlab/GitlabArtifactEditor.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/gitrepo/GitRepoArtifactEditor.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/helm/HelmArtifactEditor.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/http/HttpArtifactEditor.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/index.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/ivy/IvyArtifactEditor.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/jenkins/JenkinsArtifactEditor.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/kubernetes/KubernetesArtifactEditor.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/maven/MavenArtifactEditor.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/oracle/OracleArtifactEditor.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/s3/S3ArtifactEditor.d.ts +3 -0
- package/dist/pipeline/config/triggers/artifacts/singleFieldArtifactEditor.d.ts +31 -0
- package/dist/pipeline/config/triggers/baseBuild/BaseBuildTrigger.d.ts +9 -0
- package/dist/pipeline/config/triggers/baseBuild/BaseBuildTriggerTemplate.d.ts +32 -0
- package/dist/pipeline/config/triggers/cdevents/CDEventsTrigger.d.ts +7 -0
- package/dist/pipeline/config/triggers/cdevents/cdevents.trigger.d.ts +1 -0
- package/dist/pipeline/config/triggers/concourse/ConcourseTrigger.d.ts +8 -0
- package/dist/pipeline/config/triggers/concourse/ConcourseTriggerTemplate.d.ts +8 -0
- package/dist/pipeline/config/triggers/concourse/concourse.service.d.ts +6 -0
- package/dist/pipeline/config/triggers/concourse/concourse.trigger.d.ts +1 -0
- package/dist/pipeline/config/triggers/cron/CronAdvance.d.ts +15 -0
- package/dist/pipeline/config/triggers/cron/CronDaily.d.ts +17 -0
- package/dist/pipeline/config/triggers/cron/CronHourly.d.ts +13 -0
- package/dist/pipeline/config/triggers/cron/CronMinutes.d.ts +12 -0
- package/dist/pipeline/config/triggers/cron/CronMonthly.d.ts +32 -0
- package/dist/pipeline/config/triggers/cron/CronTrigger.d.ts +13 -0
- package/dist/pipeline/config/triggers/cron/CronWeekly.d.ts +15 -0
- package/dist/pipeline/config/triggers/cron/cron.trigger.d.ts +1 -0
- package/dist/pipeline/config/triggers/cron/cronConfig.d.ts +5 -0
- package/dist/pipeline/config/triggers/cron/cronSelectOptions.d.ts +20 -0
- package/dist/pipeline/config/triggers/cron/cronValidator.service.d.ts +3 -0
- package/dist/pipeline/config/triggers/git/GitTrigger.d.ts +11 -0
- package/dist/pipeline/config/triggers/git/GitTriggerExecutionStatus.d.ts +5 -0
- package/dist/pipeline/config/triggers/git/git.trigger.d.ts +1 -0
- package/dist/pipeline/config/triggers/helm/HelmManualTriggerConfig.d.ts +8 -0
- package/dist/pipeline/config/triggers/helm/HelmTriggerConfig.d.ts +7 -0
- package/dist/pipeline/config/triggers/helm/HelmTriggerExecutionStatus.d.ts +3 -0
- package/dist/pipeline/config/triggers/helm/HelmTriggerTemplate.d.ts +14 -0
- package/dist/pipeline/config/triggers/helm/helm.trigger.d.ts +1 -0
- package/dist/pipeline/config/triggers/index.d.ts +14 -0
- package/dist/pipeline/config/triggers/jenkins/JenkinsTrigger.d.ts +5 -0
- package/dist/pipeline/config/triggers/jenkins/JenkinsTriggerExecutionStatus.d.ts +5 -0
- package/dist/pipeline/config/triggers/jenkins/JenkinsTriggerTemplate.d.ts +7 -0
- package/dist/pipeline/config/triggers/jenkins/jenkins.trigger.d.ts +1 -0
- package/dist/pipeline/config/triggers/nexus/NexusTrigger.d.ts +2 -0
- package/dist/pipeline/config/triggers/nexus/nexus.trigger.d.ts +1 -0
- package/dist/pipeline/config/triggers/nexus/nexusReader.service.d.ts +3 -0
- package/dist/pipeline/config/triggers/pipeline/PipelineTrigger.d.ts +8 -0
- package/dist/pipeline/config/triggers/pipeline/PipelineTriggerTemplate.d.ts +24 -0
- package/dist/pipeline/config/triggers/pipeline/pipeline.trigger.d.ts +1 -0
- package/dist/pipeline/config/triggers/plugin/PluginTrigger.d.ts +2 -0
- package/dist/pipeline/config/triggers/plugin/plugin.trigger.d.ts +1 -0
- package/dist/pipeline/config/triggers/pubsub/PubsubTrigger.d.ts +8 -0
- package/dist/pipeline/config/triggers/pubsub/pubsub.trigger.d.ts +1 -0
- package/dist/pipeline/config/triggers/travis/TravisTrigger.d.ts +5 -0
- package/dist/pipeline/config/triggers/travis/TravisTriggerTemplate.d.ts +7 -0
- package/dist/pipeline/config/triggers/travis/travis.trigger.d.ts +1 -0
- package/dist/pipeline/config/triggers/triggers.module.d.ts +1 -0
- package/dist/pipeline/config/triggers/webhook/WebhookTrigger.d.ts +7 -0
- package/dist/pipeline/config/triggers/webhook/webhook.trigger.d.ts +1 -0
- package/dist/pipeline/config/triggers/wercker/WerckerTrigger.d.ts +13 -0
- package/dist/pipeline/config/triggers/wercker/WerckerTriggerTemplate.d.ts +7 -0
- package/dist/pipeline/config/triggers/wercker/wercker.trigger.d.ts +1 -0
- package/dist/pipeline/config/validation/PipelineConfigValidator.d.ts +46 -0
- package/dist/pipeline/config/validation/anyFieldRequired.validator.d.ts +12 -0
- package/dist/pipeline/config/validation/baseRequiredField.validator.d.ts +16 -0
- package/dist/pipeline/config/validation/imageProviderBeforeType.validator.d.ts +12 -0
- package/dist/pipeline/config/validation/repositoryInformationProvided.validator.d.ts +1 -0
- package/dist/pipeline/config/validation/requiredField.validator.d.ts +9 -0
- package/dist/pipeline/config/validation/serviceAccountAccess.validator.d.ts +11 -0
- package/dist/pipeline/config/validation/stageBeforeType.validator.d.ts +10 -0
- package/dist/pipeline/config/validation/stageOrTriggerBeforeType.validator.d.ts +17 -0
- package/dist/pipeline/config/validation/targetImpedance.validator.d.ts +10 -0
- package/dist/pipeline/config/validation/upstreamHasFlagValidator.builder.d.ts +8 -0
- package/dist/pipeline/config/validation/upstreamVersionProvided.validator.d.ts +1 -0
- package/dist/pipeline/create/CreatePipelineButton.d.ts +16 -0
- package/dist/pipeline/create/CreatePipelineModal.d.ts +69 -0
- package/dist/pipeline/create/ManagedTemplateSelector.d.ts +13 -0
- package/dist/pipeline/create/TemplateDescription.d.ts +14 -0
- package/dist/pipeline/create/index.d.ts +1 -0
- package/dist/pipeline/details/ExecutionDetailsSectionNav.d.ts +16 -0
- package/dist/pipeline/details/SingleExecutionDetails.d.ts +18 -0
- package/dist/pipeline/details/StageExecutionDetails.d.ts +42 -0
- package/dist/pipeline/details/StageExecutionLogs.d.ts +8 -0
- package/dist/pipeline/details/StageFailureMessage.d.ts +24 -0
- package/dist/pipeline/details/StageSummary.d.ts +11 -0
- package/dist/pipeline/details/StageSummaryWrapper.d.ts +9 -0
- package/dist/pipeline/details/StepDetails.d.ts +20 -0
- package/dist/pipeline/details/StepExecutionDetailsWrapper.d.ts +9 -0
- package/dist/pipeline/details/executionDetailsSection.service.d.ts +14 -0
- package/dist/pipeline/details/executionDetailsSectionNav.component.d.ts +1 -0
- package/dist/pipeline/details/index.d.ts +5 -0
- package/dist/pipeline/details/stageFailureMessage.component.d.ts +1 -0
- package/dist/pipeline/details/stageSummary.component.d.ts +34 -0
- package/dist/pipeline/details/stepExecutionDetails.component.d.ts +19 -0
- package/dist/pipeline/executionBuild/ExecutionBuildLink.d.ts +13 -0
- package/dist/pipeline/executionBuild/ExecutionBuildTitle.d.ts +10 -0
- package/dist/pipeline/executionBuild/buildDisplayName.filter.d.ts +4 -0
- package/dist/pipeline/executions/ExecutionNotFound.d.ts +2 -0
- package/dist/pipeline/executions/Executions.d.ts +48 -0
- package/dist/pipeline/executions/execution/Execution.d.ts +62 -0
- package/dist/pipeline/executions/execution/ExecutionBreadcrumbs.d.ts +6 -0
- package/dist/pipeline/executions/execution/ExecutionMarker.d.ts +31 -0
- package/dist/pipeline/executions/execution/ExecutionMarkerInformationModal.d.ts +35 -0
- package/dist/pipeline/executions/execution/ExecutionPermalink.d.ts +5 -0
- package/dist/pipeline/executions/execution/OrchestratedItemRunningTime.d.ts +9 -0
- package/dist/pipeline/executions/execution/executionInformation.service.d.ts +10 -0
- package/dist/pipeline/executions/executionAction/ExecutionAction.d.ts +17 -0
- package/dist/pipeline/executions/executionGroup/ExecutionGroup.d.ts +48 -0
- package/dist/pipeline/executions/executionGroup/ExecutionGroups.d.ts +22 -0
- package/dist/pipeline/executions/executionGroup/MigrationTag.d.ts +4 -0
- package/dist/pipeline/filter/ExecutionFilterModel.d.ts +20 -0
- package/dist/pipeline/filter/ExecutionFilters.d.ts +47 -0
- package/dist/pipeline/filter/executionFilter.service.d.ts +29 -0
- package/dist/pipeline/index.d.ts +27 -0
- package/dist/pipeline/manualExecution/CurrentlyRunningExecutions.d.ts +8 -0
- package/dist/pipeline/manualExecution/DryRun.d.ts +2 -0
- package/dist/pipeline/manualExecution/ManualPipelineExecutionModal.d.ts +44 -0
- package/dist/pipeline/manualExecution/NotificationDetails.d.ts +17 -0
- package/dist/pipeline/manualExecution/Parameters.d.ts +11 -0
- package/dist/pipeline/manualExecution/PipelineOptions.d.ts +27 -0
- package/dist/pipeline/manualExecution/StageManualComponents.d.ts +14 -0
- package/dist/pipeline/manualExecution/TriggerTemplate.d.ts +12 -0
- package/dist/pipeline/manualExecution/Triggers.d.ts +19 -0
- package/dist/pipeline/manualExecution/index.d.ts +1 -0
- package/dist/pipeline/manualExecution/layout/ManualExecutionFieldLayout.d.ts +3 -0
- package/dist/pipeline/pipeline.dataSource.d.ts +2 -0
- package/dist/pipeline/pipeline.module.d.ts +19 -0
- package/dist/pipeline/pipeline.states.d.ts +1 -0
- package/dist/pipeline/service/ExecutionsTransformer.d.ts +29 -0
- package/dist/pipeline/service/execution.service.d.ts +85 -0
- package/dist/pipeline/status/Artifact.d.ts +12 -0
- package/dist/pipeline/status/ArtifactList.d.ts +9 -0
- package/dist/pipeline/status/ExecutionCancellationReason.d.ts +7 -0
- package/dist/pipeline/status/ExecutionParameters.d.ts +19 -0
- package/dist/pipeline/status/ExecutionStatus.d.ts +23 -0
- package/dist/pipeline/status/ExecutionUserStatus.d.ts +5 -0
- package/dist/pipeline/status/ParametersAndArtifacts.d.ts +17 -0
- package/dist/pipeline/status/ResolvedArtifactList.d.ts +12 -0
- package/dist/pipeline/status/artifactList.component.d.ts +1 -0
- package/dist/pipeline/triggers/NextRunTag.d.ts +15 -0
- package/dist/pipeline/triggers/QuietPeriodBadge.d.ts +2 -0
- package/dist/pipeline/triggers/TriggersTag.d.ts +6 -0
- package/dist/pipeline/triggers/useQuietPeriod.hook.d.ts +7 -0
- package/dist/plugins/deck.plugin.d.ts +22 -0
- package/dist/plugins/index.d.ts +3 -0
- package/dist/plugins/plugin.module.d.ts +1 -0
- package/dist/plugins/plugin.registry.d.ts +41 -0
- package/dist/plugins/sharedLibraries.d.ts +5 -0
- package/dist/presentation/CollapsibleElement.d.ts +5 -0
- package/dist/presentation/CustomLabels.d.ts +11 -0
- package/dist/presentation/FormElements.d.ts +6 -0
- package/dist/presentation/HoverablePopover.d.ts +55 -0
- package/dist/presentation/IconTooltip.d.ts +10 -0
- package/dist/presentation/LabelComponent.d.ts +8 -0
- package/dist/presentation/LinkWithClipboard.d.ts +6 -0
- package/dist/presentation/LoadingAnimation.d.ts +2 -0
- package/dist/presentation/Markdown.d.ts +189 -0
- package/dist/presentation/Placement.d.ts +1 -0
- package/dist/presentation/Popover.d.ts +15 -0
- package/dist/presentation/ReactModal.d.ts +27 -0
- package/dist/presentation/RenderOutputFile.d.ts +11 -0
- package/dist/presentation/SpanDropdownTrigger.d.ts +15 -0
- package/dist/presentation/SpinErrorBoundary.d.ts +23 -0
- package/dist/presentation/TabBoundary.d.ts +4 -0
- package/dist/presentation/TetheredCreatable.d.ts +6 -0
- package/dist/presentation/TetheredSelect.d.ts +6 -0
- package/dist/presentation/ToggleButtonGroup.d.ts +29 -0
- package/dist/presentation/Tooltip.d.ts +16 -0
- package/dist/presentation/WatchValue.d.ts +16 -0
- package/dist/presentation/anyFieldFilter/anyField.filter.d.ts +11 -0
- package/dist/presentation/autoScroll/autoScroll.directive.d.ts +27 -0
- package/dist/presentation/collapsibleSection/CollapsibleSection.d.ts +22 -0
- package/dist/presentation/collapsibleSection/collapsibleSection.directive.d.ts +2 -0
- package/dist/presentation/details/Details.d.ts +13 -0
- package/dist/presentation/domPurifyOpenLinksInNewWindow.d.ts +1 -0
- package/dist/presentation/forms/FormikForm.d.ts +7 -0
- package/dist/presentation/forms/SpinFormik.d.ts +2 -0
- package/dist/presentation/forms/fields/FormField.d.ts +6 -0
- package/dist/presentation/forms/fields/FormikExpressionField.d.ts +16 -0
- package/dist/presentation/forms/fields/FormikExpressionRegexField.d.ts +21 -0
- package/dist/presentation/forms/fields/FormikFormField.d.ts +28 -0
- package/dist/presentation/forms/fields/index.d.ts +7 -0
- package/dist/presentation/forms/fields/interface.d.ts +35 -0
- package/dist/presentation/forms/fields/renderContent.d.ts +9 -0
- package/dist/presentation/forms/hooks/index.d.ts +2 -0
- package/dist/presentation/forms/hooks/useFormInputValueMapper.hook.d.ts +32 -0
- package/dist/presentation/forms/hooks/useSaveRestoreMutuallyExclusiveFields.hook.d.ts +45 -0
- package/dist/presentation/forms/index.d.ts +7 -0
- package/dist/presentation/forms/inputs/CheckboxInput.d.ts +11 -0
- package/dist/presentation/forms/inputs/ChecklistInput.d.ts +15 -0
- package/dist/presentation/forms/inputs/DayPickerInput.d.ts +6 -0
- package/dist/presentation/forms/inputs/JsonEditor.d.ts +19 -0
- package/dist/presentation/forms/inputs/NumberInput.d.ts +8 -0
- package/dist/presentation/forms/inputs/RadioButtonInput.d.ts +23 -0
- package/dist/presentation/forms/inputs/ReactSelectInput.d.ts +30 -0
- package/dist/presentation/forms/inputs/SelectInput.d.ts +15 -0
- package/dist/presentation/forms/inputs/StringsAsOptions.d.ts +23 -0
- package/dist/presentation/forms/inputs/TextAreaInput.d.ts +9 -0
- package/dist/presentation/forms/inputs/TextInput.d.ts +9 -0
- package/dist/presentation/forms/inputs/expression/ExpressionError.d.ts +12 -0
- package/dist/presentation/forms/inputs/expression/ExpressionInput.d.ts +16 -0
- package/dist/presentation/forms/inputs/expression/ExpressionPreview.d.ts +6 -0
- package/dist/presentation/forms/inputs/expression/evaluateExpression.d.ts +11 -0
- package/dist/presentation/forms/inputs/expression/index.d.ts +6 -0
- package/dist/presentation/forms/inputs/expression/spel2js.templateParser.d.ts +2 -0
- package/dist/presentation/forms/inputs/hooks/index.d.ts +1 -0
- package/dist/presentation/forms/inputs/hooks/useInternalValidator.hook.d.ts +3 -0
- package/dist/presentation/forms/inputs/index.d.ts +15 -0
- package/dist/presentation/forms/inputs/interface.d.ts +30 -0
- package/dist/presentation/forms/inputs/utils.d.ts +9 -0
- package/dist/presentation/forms/layouts/LayoutContext.d.ts +4 -0
- package/dist/presentation/forms/layouts/ResponsiveFieldLayout.d.ts +4 -0
- package/dist/presentation/forms/layouts/StandardFieldLayout.d.ts +4 -0
- package/dist/presentation/forms/layouts/index.d.ts +4 -0
- package/dist/presentation/forms/layouts/interface.d.ts +11 -0
- package/dist/presentation/forms/stories/SpinFormikStoriesHelper.d.ts +12 -0
- package/dist/presentation/forms/validation/FormValidator.d.ts +31 -0
- package/dist/presentation/forms/validation/FormValidatorField.d.ts +26 -0
- package/dist/presentation/forms/validation/ValidationMessage.d.ts +19 -0
- package/dist/presentation/forms/validation/categories.d.ts +23 -0
- package/dist/presentation/forms/validation/index.d.ts +7 -0
- package/dist/presentation/forms/validation/useValidationData.d.ts +16 -0
- package/dist/presentation/forms/validation/validation.d.ts +38 -0
- package/dist/presentation/forms/validation/validators.d.ts +25 -0
- package/dist/presentation/hooks/index.d.ts +19 -0
- package/dist/presentation/hooks/useApplicationContext.hook.d.ts +3 -0
- package/dist/presentation/hooks/useContainerClassNames.hook.d.ts +1 -0
- package/dist/presentation/hooks/useData.hook.d.ts +18 -0
- package/dist/presentation/hooks/useDataSource.hook.d.ts +14 -0
- package/dist/presentation/hooks/useDataWithRefresh.hook.d.ts +17 -0
- package/dist/presentation/hooks/useDebouncedValue.hook.d.ts +7 -0
- package/dist/presentation/hooks/useDeepObjectDiff.hook.d.ts +1 -0
- package/dist/presentation/hooks/useDimensions.hook.d.ts +8 -0
- package/dist/presentation/hooks/useEscapeKeyCallback.hook.d.ts +1 -0
- package/dist/presentation/hooks/useEventListener.hook.d.ts +1 -0
- package/dist/presentation/hooks/useForceUpdate.hook.d.ts +1 -0
- package/dist/presentation/hooks/useInterval.hook.d.ts +16 -0
- package/dist/presentation/hooks/useIsMobile.hook.d.ts +1 -0
- package/dist/presentation/hooks/useIsMountedRef.hook.d.ts +2 -0
- package/dist/presentation/hooks/useLatestCallback.hook.d.ts +6 -0
- package/dist/presentation/hooks/useLatestPromise.hook.d.ts +27 -0
- package/dist/presentation/hooks/useMountStatusRef.hook.d.ts +2 -0
- package/dist/presentation/hooks/useObservable.hook.d.ts +11 -0
- package/dist/presentation/hooks/useObservableValue.hook.d.ts +11 -0
- package/dist/presentation/hooks/usePollingData.hook.d.ts +19 -0
- package/dist/presentation/hooks/usePrevious.hook.d.ts +1 -0
- package/dist/presentation/horizontalTabs/HorizontalTabs.d.ts +14 -0
- package/dist/presentation/index.d.ts +34 -0
- package/dist/presentation/isVisible/isVisible.directive.d.ts +2 -0
- package/dist/presentation/label.component.d.ts +1 -0
- package/dist/presentation/labeledValues/LabeledValue.d.ts +6 -0
- package/dist/presentation/labeledValues/LabeledValueList.d.ts +2 -0
- package/dist/presentation/labeledValues/index.d.ts +2 -0
- package/dist/presentation/linkWithClipboard.component.d.ts +1 -0
- package/dist/presentation/markdown.component.d.ts +1 -0
- package/dist/presentation/modal/Modal.d.ts +10 -0
- package/dist/presentation/modal/ModalBody.d.ts +6 -0
- package/dist/presentation/modal/ModalContext.d.ts +5 -0
- package/dist/presentation/modal/ModalFooter.d.ts +7 -0
- package/dist/presentation/modal/ModalHeader.d.ts +7 -0
- package/dist/presentation/modal/index.d.ts +5 -0
- package/dist/presentation/modal/showModal.d.ts +40 -0
- package/dist/presentation/navigation/PageNavigationState.d.ts +13 -0
- package/dist/presentation/navigation/PageNavigator.d.ts +34 -0
- package/dist/presentation/navigation/PageSection.d.ts +16 -0
- package/dist/presentation/navigation/index.d.ts +2 -0
- package/dist/presentation/navigation/pageNavigator.component.d.ts +2 -0
- package/dist/presentation/navigation/pageSection.component.d.ts +1 -0
- package/dist/presentation/percent.filter.d.ts +2 -0
- package/dist/presentation/presentation.module.d.ts +2 -0
- package/dist/presentation/replace.filter.d.ts +1 -0
- package/dist/presentation/robotToHumanFilter/robotToHuman.filter.d.ts +3 -0
- package/dist/presentation/sortToggle/SortToggle.d.ts +14 -0
- package/dist/presentation/sortToggle/index.d.ts +1 -0
- package/dist/presentation/sortToggle/sorttoggle.directive.d.ts +2 -0
- package/dist/presentation/spel/FormikSpelContext.d.ts +10 -0
- package/dist/presentation/spel/SpelInput.d.ts +16 -0
- package/dist/presentation/spel/SpelService.d.ts +19 -0
- package/dist/presentation/spel/SpelToggle.d.ts +11 -0
- package/dist/presentation/spel/index.d.ts +4 -0
- package/dist/presentation/tables/Table.d.ts +28 -0
- package/dist/presentation/tables/TableCell.d.ts +11 -0
- package/dist/presentation/tables/TableContext.d.ts +11 -0
- package/dist/presentation/tables/TableRow.d.ts +14 -0
- package/dist/presentation/tables/index.d.ts +5 -0
- package/dist/presentation/tables/minimalNativeTableLayout.d.ts +10 -0
- package/dist/presentation/tables/standardGridTableLayout.d.ts +16 -0
- package/dist/presentation/text/BreakString.d.ts +6 -0
- package/dist/presentation/text/SingleLineString.d.ts +6 -0
- package/dist/presentation/text/index.d.ts +2 -0
- package/dist/projects/ProjectHeader.d.ts +23 -0
- package/dist/projects/configure/Applications.d.ts +13 -0
- package/dist/projects/configure/Clusters.d.ts +14 -0
- package/dist/projects/configure/ConfigureProjectModal.d.ts +28 -0
- package/dist/projects/configure/Pipelines.d.ts +23 -0
- package/dist/projects/configure/ProjectAttributes.d.ts +24 -0
- package/dist/projects/configure/index.d.ts +5 -0
- package/dist/projects/dashboard/cluster/projectCluster.directive.d.ts +2 -0
- package/dist/projects/dashboard/dashboard.controller.d.ts +2 -0
- package/dist/projects/dashboard/pipeline/ProjectPipeline.d.ts +19 -0
- package/dist/projects/dashboard/pipeline/projectPipeline.component.d.ts +1 -0
- package/dist/projects/dashboard/regionFilter/regionFilter.component.d.ts +2 -0
- package/dist/projects/dashboard/regionFilter/regionFilter.service.d.ts +2 -0
- package/dist/projects/index.d.ts +5 -0
- package/dist/projects/projectSearchResultType.d.ts +19 -0
- package/dist/projects/projects.controller.d.ts +2 -0
- package/dist/projects/projects.module.d.ts +2 -0
- package/dist/projects/projects.states.d.ts +5 -0
- package/dist/projects/service/ProjectReader.d.ts +6 -0
- package/dist/projects/service/ProjectWriter.d.ts +5 -0
- package/dist/pubsub/PubsubSubscriptionReader.d.ts +4 -0
- package/dist/pubsub/index.d.ts +1 -0
- package/dist/reactShims/AngularJSAdapter.d.ts +25 -0
- package/dist/reactShims/index.d.ts +7 -0
- package/dist/reactShims/modal.injector.d.ts +10 -0
- package/dist/reactShims/ngReact.d.ts +21 -0
- package/dist/reactShims/react.ga.d.ts +1 -0
- package/dist/reactShims/react.injector.d.ts +49 -0
- package/dist/reactShims/react.module.d.ts +3 -0
- package/dist/reactShims/reactUtils.d.ts +1 -0
- package/dist/reactShims/state.events.d.ts +17 -0
- package/dist/region/RegionSelectField.d.ts +18 -0
- package/dist/region/RegionSelectInput.d.ts +9 -0
- package/dist/region/index.d.ts +2 -0
- package/dist/region/region.module.d.ts +1 -0
- package/dist/region/regionSelectField.directive.d.ts +2 -0
- package/dist/registry/Registry.d.ts +7 -0
- package/dist/registry/index.d.ts +1 -0
- package/dist/retry/index.d.ts +1 -0
- package/dist/retry/retry.service.d.ts +3 -0
- package/dist/scheduler/SchedulerFactory.d.ts +9 -0
- package/dist/scheduler/index.d.ts +1 -0
- package/dist/search/global/GlobalSearch.d.ts +37 -0
- package/dist/search/global/GlobalSearchRecentItems.d.ts +9 -0
- package/dist/search/global/GlobalSearchResults.d.ts +12 -0
- package/dist/search/global/globalSearch.module.d.ts +2 -0
- package/dist/search/global/globalsearch.component.d.ts +1 -0
- package/dist/search/global/utils.d.ts +15 -0
- package/dist/search/index.d.ts +5 -0
- package/dist/search/infrastructure/ProjectSummaryPod.d.ts +14 -0
- package/dist/search/infrastructure/RecentlyViewedItems.d.ts +13 -0
- package/dist/search/infrastructure/SearchResult.d.ts +9 -0
- package/dist/search/infrastructure/SearchResultPod.d.ts +10 -0
- package/dist/search/infrastructure/SearchResultPodItem.d.ts +13 -0
- package/dist/search/infrastructure/SearchResultPods.d.ts +21 -0
- package/dist/search/infrastructure/SearchV2.d.ts +27 -0
- package/dist/search/infrastructure/infrastructure.controller.d.ts +2 -0
- package/dist/search/infrastructure/infrastructure.states.d.ts +1 -0
- package/dist/search/infrastructure/infrastructureSearch.service.d.ts +36 -0
- package/dist/search/infrastructure/infrastructureSearchV2.component.d.ts +1 -0
- package/dist/search/infrastructure/infrastructureSearchV2.service.d.ts +7 -0
- package/dist/search/infrastructure/projectSummaryPod.component.d.ts +1 -0
- package/dist/search/infrastructure/recentlyViewedItems.component.d.ts +1 -0
- package/dist/search/infrastructure/search.infrastructure.module.d.ts +1 -0
- package/dist/search/infrastructure/searchResult.component.d.ts +1 -0
- package/dist/search/search.module.d.ts +2 -0
- package/dist/search/search.service.d.ts +28 -0
- package/dist/search/searchRank.filter.d.ts +4 -0
- package/dist/search/searchResult/DefaultSearchResultTab.d.ts +5 -0
- package/dist/search/searchResult/Renderers.d.ts +40 -0
- package/dist/search/searchResult/SearchResultGrid.d.ts +9 -0
- package/dist/search/searchResult/SearchResultTabs.d.ts +10 -0
- package/dist/search/searchResult/SearchResults.d.ts +19 -0
- package/dist/search/searchResult/SearchStatus.d.ts +7 -0
- package/dist/search/searchResult/index.d.ts +6 -0
- package/dist/search/searchResult/searchResultType.d.ts +30 -0
- package/dist/search/searchResult/searchResultType.registry.d.ts +9 -0
- package/dist/search/widgets/Filter.d.ts +16 -0
- package/dist/search/widgets/Filters.d.ts +28 -0
- package/dist/search/widgets/Search.d.ts +53 -0
- package/dist/search/widgets/SearchFilterTypeRegistry.d.ts +16 -0
- package/dist/search/widgets/index.d.ts +4 -0
- package/dist/search/widgets/search.component.d.ts +1 -0
- package/dist/securityGroup/CreateSecurityGroupButton.d.ts +5 -0
- package/dist/securityGroup/SecurityGroup.d.ts +12 -0
- package/dist/securityGroup/SecurityGroupDetails.d.ts +7 -0
- package/dist/securityGroup/SecurityGroupPod.d.ts +10 -0
- package/dist/securityGroup/SecurityGroupWriter.d.ts +12 -0
- package/dist/securityGroup/SecurityGroups.d.ts +6 -0
- package/dist/securityGroup/filter/SecurityGroupFilterModel.d.ts +7 -0
- package/dist/securityGroup/filter/SecurityGroupFilterService.d.ts +14 -0
- package/dist/securityGroup/filter/SecurityGroupFilters.d.ts +6 -0
- package/dist/securityGroup/filter/securityGroup.filter.component.d.ts +1 -0
- package/dist/securityGroup/index.d.ts +4 -0
- package/dist/securityGroup/label/FirewallLabel.d.ts +5 -0
- package/dist/securityGroup/label/FirewallLabels.d.ts +11 -0
- package/dist/securityGroup/label/firewallLabel.component.d.ts +1 -0
- package/dist/securityGroup/label/index.d.ts +2 -0
- package/dist/securityGroup/securityGroup.dataSource.d.ts +1 -0
- package/dist/securityGroup/securityGroup.module.d.ts +2 -0
- package/dist/securityGroup/securityGroup.states.d.ts +1 -0
- package/dist/securityGroup/securityGroupReader.service.d.ts +94 -0
- package/dist/securityGroup/securityGroupSearchResultType.d.ts +13 -0
- package/dist/securityGroup/securityGroupTransformer.service.d.ts +9 -0
- package/dist/serverGroup/ServerGroup.d.ts +48 -0
- package/dist/serverGroup/ServerGroupHeader.d.ts +46 -0
- package/dist/serverGroup/configure/common/DeployInitializer.d.ts +31 -0
- package/dist/serverGroup/configure/common/InstanceArchetypeSelector.d.ts +6 -0
- package/dist/serverGroup/configure/common/InstanceTypeSelector.d.ts +5 -0
- package/dist/serverGroup/configure/common/ServerGroupNamePreview.d.ts +9 -0
- package/dist/serverGroup/configure/common/basicSettingsMixin.controller.d.ts +2 -0
- package/dist/serverGroup/configure/common/costFactor.d.ts +2 -0
- package/dist/serverGroup/configure/common/deployInitializer.component.d.ts +43 -0
- package/dist/serverGroup/configure/common/index.d.ts +7 -0
- package/dist/serverGroup/configure/common/serverGroupCommandBuilder.service.d.ts +149 -0
- package/dist/serverGroup/configure/common/serverGroupCommandRegistry.provider.d.ts +16 -0
- package/dist/serverGroup/configure/common/serverGroupConfiguration.service.d.ts +10 -0
- package/dist/serverGroup/configure/common/targetHealthyPercentageSelector.component.d.ts +1 -0
- package/dist/serverGroup/configure/common/v2InstanceTypeSelector.component.d.ts +4 -0
- package/dist/serverGroup/configure/common/v2instanceArchetypeSelector.component.d.ts +3 -0
- package/dist/serverGroup/configure/common/wizard/fields/ServerGroupDetailsField.d.ts +12 -0
- package/dist/serverGroup/configure/common/wizard/fields/index.d.ts +1 -0
- package/dist/serverGroup/details/RunningTasks.d.ts +10 -0
- package/dist/serverGroup/details/ServerGroupDetails.d.ts +13 -0
- package/dist/serverGroup/details/ServerGroupDetailsWrapper.d.ts +46 -0
- package/dist/serverGroup/details/ServerGroupInsightActions.d.ts +8 -0
- package/dist/serverGroup/details/ShowUserData.d.ts +17 -0
- package/dist/serverGroup/details/capacity/CapacityDetailsSection.d.ts +8 -0
- package/dist/serverGroup/details/capacity/CurrentCapacity.d.ts +4 -0
- package/dist/serverGroup/details/capacity/DesiredCapacity.d.ts +6 -0
- package/dist/serverGroup/details/capacity/index.d.ts +3 -0
- package/dist/serverGroup/details/index.d.ts +7 -0
- package/dist/serverGroup/details/multipleServerGroup.component.d.ts +2 -0
- package/dist/serverGroup/details/multipleServerGroups.controller.d.ts +2 -0
- package/dist/serverGroup/details/runningTasks.component.d.ts +1 -0
- package/dist/serverGroup/details/scalingActivities/ScalingActivitiesModal.d.ts +27 -0
- package/dist/serverGroup/details/scalingActivities/ViewScalingActivitiesLink.d.ts +6 -0
- package/dist/serverGroup/details/scalingActivities/index.d.ts +1 -0
- package/dist/serverGroup/details/scalingActivities/viewScalingActivitiesLink.component.d.ts +1 -0
- package/dist/serverGroup/details/serverGroupWarningMessage.service.d.ts +9 -0
- package/dist/serverGroup/index.d.ts +9 -0
- package/dist/serverGroup/metrics/CloudMetricsReader.d.ts +5 -0
- package/dist/serverGroup/pod/RunningTasksPopoverContent.d.ts +13 -0
- package/dist/serverGroup/pod/RunningTasksTag.d.ts +7 -0
- package/dist/serverGroup/resize/MinMaxDesiredChanges.d.ts +7 -0
- package/dist/serverGroup/resize/index.d.ts +1 -0
- package/dist/serverGroup/serverGroup.dataSource.d.ts +1 -0
- package/dist/serverGroup/serverGroup.module.d.ts +2 -0
- package/dist/serverGroup/serverGroup.states.d.ts +1 -0
- package/dist/serverGroup/serverGroup.transformer.d.ts +2 -0
- package/dist/serverGroup/serverGroupReader.service.d.ts +5 -0
- package/dist/serverGroup/serverGroupSearchResultType.d.ts +16 -0
- package/dist/serverGroup/serverGroupWriter.service.d.ts +38 -0
- package/dist/serverGroup/templates/index.d.ts +3 -0
- package/dist/serverGroupManager/ServerGroupManager.d.ts +19 -0
- package/dist/serverGroupManager/ServerGroupManagerDetails.d.ts +7 -0
- package/dist/serverGroupManager/ServerGroupManagerHeading.d.ts +13 -0
- package/dist/serverGroupManager/ServerGroupManagerReader.d.ts +4 -0
- package/dist/serverGroupManager/ServerGroupManagerTag.d.ts +13 -0
- package/dist/serverGroupManager/index.d.ts +4 -0
- package/dist/serverGroupManager/serverGroupManager.dataSource.d.ts +1 -0
- package/dist/serverGroupManager/serverGroupManager.module.d.ts +1 -0
- package/dist/serverGroupManager/serverGroupManager.states.d.ts +7 -0
- package/dist/serviceAccount/ServiceAccountReader.d.ts +4 -0
- package/dist/serviceAccount/index.d.ts +1 -0
- package/dist/services/ServicesReader.d.ts +4 -0
- package/dist/services/index.d.ts +1 -0
- package/dist/slack/SlackChannelSelector.d.ts +12 -0
- package/dist/slack/SlackReader.d.ts +12 -0
- package/dist/slack/index.d.ts +2 -0
- package/dist/slack/slackChannelSelector.component.d.ts +1 -0
- package/dist/snapshot/SnapshotReader.d.ts +4 -0
- package/dist/snapshot/SnapshotWriter.d.ts +9 -0
- package/dist/snapshot/diff/snapshotDiff.modal.controller.d.ts +2 -0
- package/dist/snapshot/diff/viewSnapshotDiffButton.component.d.ts +2 -0
- package/dist/state/index.d.ts +36 -0
- package/dist/storage/StorageAccountReader.d.ts +3 -0
- package/dist/storage/index.d.ts +1 -0
- package/dist/styleguide/styleguide.module.d.ts +1 -0
- package/dist/styleguide/styleguide.states.d.ts +1 -0
- package/dist/subnet/SubnetTag.d.ts +12 -0
- package/dist/subnet/index.d.ts +2 -0
- package/dist/subnet/subnet.module.d.ts +1 -0
- package/dist/subnet/subnet.read.service.d.ts +8 -0
- package/dist/subnet/subnetTag.component.d.ts +2 -0
- package/dist/task/PlatformHealthOverrideMessage.d.ts +16 -0
- package/dist/task/StatusGlyph.d.ts +8 -0
- package/dist/task/TaskNotFound.d.ts +2 -0
- package/dist/task/TaskProgressBar.d.ts +7 -0
- package/dist/task/TrafficGuardHelperLink.d.ts +7 -0
- package/dist/task/displayableTasks.filter.d.ts +4 -0
- package/dist/task/index.d.ts +8 -0
- package/dist/task/modal/TaskMonitorModal.d.ts +25 -0
- package/dist/task/modal/TaskReason.d.ts +8 -0
- package/dist/task/modal/reason.directive.d.ts +2 -0
- package/dist/task/monitor/MultiTaskMonitor.d.ts +10 -0
- package/dist/task/monitor/TaskMonitor.d.ts +44 -0
- package/dist/task/monitor/TaskMonitorError.d.ts +11 -0
- package/dist/task/monitor/TaskMonitorStatus.d.ts +5 -0
- package/dist/task/monitor/TaskMonitorWrapper.d.ts +6 -0
- package/dist/task/monitor/taskMonitor.directive.d.ts +2 -0
- package/dist/task/monitor/taskMonitor.module.d.ts +2 -0
- package/dist/task/platformHealthOverrideMessage.component.d.ts +1 -0
- package/dist/task/statusGlyph.component.d.ts +1 -0
- package/dist/task/task.dataSource.d.ts +2 -0
- package/dist/task/task.module.d.ts +2 -0
- package/dist/task/task.read.service.d.ts +16 -0
- package/dist/task/task.states.d.ts +1 -0
- package/dist/task/task.write.service.d.ts +9 -0
- package/dist/task/taskExecutor.d.ts +20 -0
- package/dist/task/taskProgressBar.directive.d.ts +2 -0
- package/dist/task/tasks.controller.d.ts +2 -0
- package/dist/task/verification/UserVerification.d.ts +8 -0
- package/dist/task/verification/index.d.ts +1 -0
- package/dist/task/verification/userVerification.directive.d.ts +2 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/png.d.ts +4 -0
- package/dist/types/promise.d.ts +148 -0
- package/dist/types/svg.d.ts +6 -0
- package/dist/utils/Logger.d.ts +28 -0
- package/dist/utils/RenderWhenVisible.d.ts +10 -0
- package/dist/utils/SystemTimezone.d.ts +2 -0
- package/dist/utils/TimePickerOptions.d.ts +8 -0
- package/dist/utils/clipboard/CopyToClipboard.d.ts +45 -0
- package/dist/utils/clipboard/copyTextToClipboard.d.ts +1 -0
- package/dist/utils/clipboard/copyToClipboard.component.d.ts +1 -0
- package/dist/utils/consoleDebug.d.ts +22 -0
- package/dist/utils/debug.d.ts +23 -0
- package/dist/utils/failedToInstantiateModule.d.ts +1 -0
- package/dist/utils/firstDefined.d.ts +2 -0
- package/dist/utils/index.d.ts +21 -0
- package/dist/utils/infiniteScroll.directive.d.ts +2 -0
- package/dist/utils/json/DiffView.d.ts +7 -0
- package/dist/utils/json/JsonUtils.d.ts +31 -0
- package/dist/utils/json/diffView.component.d.ts +1 -0
- package/dist/utils/json/filterObjectValues.d.ts +3 -0
- package/dist/utils/json/traverseObject.d.ts +14 -0
- package/dist/utils/noop.d.ts +2 -0
- package/dist/utils/q.d.ts +2 -0
- package/dist/utils/renderIfFeature.component.d.ts +1 -0
- package/dist/utils/retryablePromise.d.ts +5 -0
- package/dist/utils/scrollTo/scrollTo.service.d.ts +4 -0
- package/dist/utils/selectOnDblClick.directive.d.ts +1 -0
- package/dist/utils/timeFormatters.d.ts +7 -0
- package/dist/utils/uibModalRejections.d.ts +1 -0
- package/dist/utils/unicodeBase64.d.ts +1 -0
- package/dist/utils/utils.module.d.ts +2 -0
- package/dist/utils/uuid.service.d.ts +4 -0
- package/dist/utils/waypoints/waypoint.directive.d.ts +2 -0
- package/dist/utils/waypoints/waypoint.service.d.ts +8 -0
- package/dist/utils/waypoints/waypointContainer.directive.d.ts +2 -0
- package/dist/utils/workerPool.d.ts +12 -0
- package/dist/validation/triggerValidation.directive.d.ts +2 -0
- package/dist/validation/validateUnique.directive.d.ts +2 -0
- package/dist/validation/validation.module.d.ts +2 -0
- package/dist/validation/validationError.directive.d.ts +2 -0
- package/dist/widgets/AccountRegionClusterSelector.d.ts +12 -0
- package/dist/widgets/ApplicationsPickerInput.d.ts +9 -0
- package/dist/widgets/Keys.d.ts +10 -0
- package/dist/widgets/ScopeClusterSelector.d.ts +18 -0
- package/dist/widgets/accountNamespaceClusterSelector.component.d.ts +2 -0
- package/dist/widgets/accountRegionClusterSelector.component.d.ts +2 -0
- package/dist/widgets/accountRegionClusterSelectorWrapper.component.d.ts +3 -0
- package/dist/widgets/actionIcons/actionIcons.component.d.ts +2 -0
- package/dist/widgets/cluster/ClusterMatches.d.ts +8 -0
- package/dist/widgets/cluster/clusterMatches.component.d.ts +6 -0
- package/dist/widgets/index.d.ts +10 -0
- package/dist/widgets/notifier/Notifier.d.ts +4 -0
- package/dist/widgets/notifier/notifier.service.d.ts +12 -0
- package/dist/widgets/scopeClusterSelector.directive.d.ts +2 -0
- package/dist/widgets/spelText/JsonListBuilder.d.ts +9 -0
- package/dist/widgets/spelText/SpelAutocompleteService.d.ts +36 -0
- package/dist/widgets/spelText/SpelNumberInput.d.ts +22 -0
- package/dist/widgets/spelText/SpelText.d.ts +28 -0
- package/dist/widgets/spelText/spelAutocomplete.service.d.ts +2 -0
- package/dist/widgets/spelText/spelSelect.component.d.ts +2 -0
- package/dist/widgets/spelText/spelText.decorator.d.ts +2 -0
- package/dist/widgets/spinners/Spinner.d.ts +10 -0
- package/dist/widgets/spinners/spinner.component.d.ts +1 -0
- package/dist/widgets/tags/Tag.d.ts +27 -0
- package/dist/widgets/tags/TagList.d.ts +22 -0
- package/dist/widgets/tags/index.d.ts +2 -0
- package/dist/widgets/widgets.module.d.ts +1 -0
- package/dist/yamlEditor/YamlEditor.d.ts +13 -0
- package/dist/yamlEditor/index.d.ts +3 -0
- package/dist/yamlEditor/yamlEditor.component.d.ts +1 -0
- package/dist/yamlEditor/yamlEditorUtils.d.ts +2 -0
- package/package.json +128 -0
- package/rollup.config.js +46 -0
- package/src/account/AccountSelectInput.spec.tsx +160 -0
- package/src/account/AccountSelectInput.tsx +164 -0
- package/src/account/AccountService.spec.ts +128 -0
- package/src/account/AccountService.ts +237 -0
- package/src/account/AccountTag.tsx +62 -0
- package/src/account/account.module.js +19 -0
- package/src/account/accountSelect.wrapper.ts +19 -0
- package/src/account/accountSelectField.component.ts +40 -0
- package/src/account/accountTag.component.ts +33 -0
- package/src/account/accountTag.less +57 -0
- package/src/account/collapsibleAccountTag.directive.html +6 -0
- package/src/account/collapsibleAccountTag.directive.js +33 -0
- package/src/account/index.ts +3 -0
- package/src/account/providerToggles.directive.js +36 -0
- package/src/analytics/GoogleAnalyticsInitializer.ts +13 -0
- package/src/analytics/angulartics.module.d.ts +2 -0
- package/src/analytics/angulartics.module.ts +7 -0
- package/src/api/ApiService.spec.ts +134 -0
- package/src/api/ApiService.ts +290 -0
- package/src/api/ApiServiceDeprecated.spec.ts +457 -0
- package/src/api/index.ts +1 -0
- package/src/api/mock/expectedRequest.ts +148 -0
- package/src/api/mock/jasmine.ts +38 -0
- package/src/api/mock/mockHttpClient.ts +205 -0
- package/src/api/mock/mockHttpUtils.ts +44 -0
- package/src/api/mock/receivedRequest.ts +33 -0
- package/src/api/network.interceptor.ts +86 -0
- package/src/application/ApplicationComponent.tsx +92 -0
- package/src/application/ApplicationContext.tsx +9 -0
- package/src/application/ApplicationFreshIcon.tsx +12 -0
- package/src/application/ApplicationIcon.tsx +16 -0
- package/src/application/application.less +91 -0
- package/src/application/application.model.spec.ts +313 -0
- package/src/application/application.model.ts +296 -0
- package/src/application/application.module.ts +23 -0
- package/src/application/application.state.provider.ts +148 -0
- package/src/application/applicationModel.builder.ts +31 -0
- package/src/application/applicationSearchResultType.tsx +81 -0
- package/src/application/applications.less +8 -0
- package/src/application/applications.state.provider.ts +34 -0
- package/src/application/config/ApplicationConfig.tsx +22 -0
- package/src/application/config/DeleteApplicationSection.tsx +66 -0
- package/src/application/config/appConfig.dataSource.js +17 -0
- package/src/application/config/appConfig.states.ts +35 -0
- package/src/application/config/applicationAttributes.directive.html +65 -0
- package/src/application/config/applicationAttributes.directive.js +119 -0
- package/src/application/config/applicationAttributes.directive.spec.js +52 -0
- package/src/application/config/applicationConfig.controller.js +111 -0
- package/src/application/config/applicationConfig.view.html +70 -0
- package/src/application/config/applicationNotifications.directive.html +7 -0
- package/src/application/config/applicationNotifications.directive.js +31 -0
- package/src/application/config/applicationSnapshotSection.component.html +11 -0
- package/src/application/config/applicationSnapshotSection.component.js +46 -0
- package/src/application/config/customBanner/CustomBannerConfig.spec.tsx +80 -0
- package/src/application/config/customBanner/CustomBannerConfig.tsx +244 -0
- package/src/application/config/customBanner/customBannerColors.ts +71 -0
- package/src/application/config/customBanner/customBannerConfig.component.ts +16 -0
- package/src/application/config/customBanner/customBannerConfig.less +32 -0
- package/src/application/config/dataSources/applicationDataSourceEditor.component.html +30 -0
- package/src/application/config/dataSources/applicationDataSourceEditor.component.less +11 -0
- package/src/application/config/dataSources/applicationDataSourceEditor.component.spec.ts +174 -0
- package/src/application/config/dataSources/applicationDataSourceEditor.component.ts +104 -0
- package/src/application/config/defaultTagFilter/DefaultTagFilterConfig.spec.tsx +75 -0
- package/src/application/config/defaultTagFilter/DefaultTagFilterConfig.tsx +161 -0
- package/src/application/config/defaultTagFilter/defaultTagFilterConfig.component.ts +15 -0
- package/src/application/config/defaultTagFilter/defaultTagFilterConfig.less +8 -0
- package/src/application/config/deleteApplicationSection.module.ts +10 -0
- package/src/application/config/footer/ConfigSectionFooter.tsx +63 -0
- package/src/application/config/footer/configSectionFooter.component.html +31 -0
- package/src/application/config/footer/configSectionFooter.component.spec.ts +109 -0
- package/src/application/config/footer/configSectionFooter.component.ts +74 -0
- package/src/application/config/links/applicationLinks.component.html +128 -0
- package/src/application/config/links/applicationLinks.component.js +132 -0
- package/src/application/config/links/applicationLinks.component.less +51 -0
- package/src/application/config/links/editLinks.modal.controller.js +29 -0
- package/src/application/config/links/editLinks.modal.html +29 -0
- package/src/application/config/trafficGuard/trafficGuardConfig.component.html +98 -0
- package/src/application/config/trafficGuard/trafficGuardConfig.component.ts +132 -0
- package/src/application/config/trafficGuard/trafficGuardConfig.help.ts +20 -0
- package/src/application/index.ts +17 -0
- package/src/application/listExtractor/AppListExtractor.spec.ts +424 -0
- package/src/application/listExtractor/AppListExtractor.ts +132 -0
- package/src/application/modal/PermissionsConfigurer.less +21 -0
- package/src/application/modal/PermissionsConfigurer.spec.tsx +51 -0
- package/src/application/modal/PermissionsConfigurer.tsx +256 -0
- package/src/application/modal/PlatformHealthOverride.tsx +53 -0
- package/src/application/modal/applicationProviderFields.component.html +1 -0
- package/src/application/modal/applicationProviderFields.component.js +47 -0
- package/src/application/modal/applicationProviderFields.component.spec.js +106 -0
- package/src/application/modal/createApplication.modal.controller.js +140 -0
- package/src/application/modal/createApplication.modal.controller.spec.js +25 -0
- package/src/application/modal/editApplication.controller.modal.js +132 -0
- package/src/application/modal/editApplication.html +262 -0
- package/src/application/modal/newapplication.html +287 -0
- package/src/application/modal/permissionsConfigurer.component.ts +15 -0
- package/src/application/modal/platformHealthOverride.directive.js +41 -0
- package/src/application/modal/platformHealthOverrideCheckbox.directive.html +7 -0
- package/src/application/modal/upsertApplication.help.ts +32 -0
- package/src/application/modal/validation/ApplicationNameValidator.spec.ts +91 -0
- package/src/application/modal/validation/ApplicationNameValidator.ts +78 -0
- package/src/application/modal/validation/ExampleApplicationNameValidator.ts +119 -0
- package/src/application/modal/validation/applicationNameValidationMessages.component.ts +47 -0
- package/src/application/modal/validation/applicationNameValidationMessages.directive.html +12 -0
- package/src/application/modal/validation/validateApplicationName.directive.spec.ts +142 -0
- package/src/application/modal/validation/validateApplicationName.directive.ts +60 -0
- package/src/application/nav/AppRefresher.tsx +36 -0
- package/src/application/nav/AppRefresherIcon.tsx +65 -0
- package/src/application/nav/ApplicationNavigation.spec.tsx +151 -0
- package/src/application/nav/ApplicationNavigation.tsx +105 -0
- package/src/application/nav/BottomSection.tsx +11 -0
- package/src/application/nav/NavItem.spec.tsx +149 -0
- package/src/application/nav/NavItem.tsx +56 -0
- package/src/application/nav/NavRoute.tsx +22 -0
- package/src/application/nav/NavSection.spec.tsx +34 -0
- package/src/application/nav/NavSection.tsx +18 -0
- package/src/application/nav/PagerDutyButton.tsx +28 -0
- package/src/application/nav/defaultCategories.ts +20 -0
- package/src/application/nav/navAtoms.ts +25 -0
- package/src/application/nav/navigationCategory.registry.ts +48 -0
- package/src/application/nav/verticalNav.less +169 -0
- package/src/application/search/Applications.tsx +267 -0
- package/src/application/search/ApplicationsTable.tsx +63 -0
- package/src/application/search/PaginationControls.tsx +45 -0
- package/src/application/search/react-ultimate-pagination.d.ts +37 -0
- package/src/application/service/ApplicationDataSourceRegistry.ts +54 -0
- package/src/application/service/ApplicationReader.spec.ts +134 -0
- package/src/application/service/ApplicationReader.ts +120 -0
- package/src/application/service/ApplicationWriter.spec.ts +61 -0
- package/src/application/service/ApplicationWriter.ts +63 -0
- package/src/application/service/InferredApplicationWarningService.spec.ts +42 -0
- package/src/application/service/InferredApplicationWarningService.tsx +42 -0
- package/src/application/service/applicationDataSource.ts +594 -0
- package/src/artifact/ArtifactIconService.ts +59 -0
- package/src/artifact/ArtifactReferenceService.spec.ts +125 -0
- package/src/artifact/ArtifactReferenceService.ts +75 -0
- package/src/artifact/ArtifactTypes.ts +30 -0
- package/src/artifact/ExpectedArtifactSelectorViewController.ts +72 -0
- package/src/artifact/ExpectedArtifactSelectorViewControllerAngularDelegate.ts +31 -0
- package/src/artifact/IArtifactAccountPair.ts +7 -0
- package/src/artifact/NgAppEngineDeployArtifactDelegate.ts +56 -0
- package/src/artifact/NgAppengineConfigArtifactDelegate.ts +70 -0
- package/src/artifact/NgBakeManifestArtifactDelegate.ts +68 -0
- package/src/artifact/NgGCEImageArtifactDelegate.ts +61 -0
- package/src/artifact/NgGenericArtifactDelegate.ts +82 -0
- package/src/artifact/artifact.module.ts +18 -0
- package/src/artifact/artifactSelector.less +6 -0
- package/src/artifact/artifactTab.less +34 -0
- package/src/artifact/artifactTab.ts +13 -0
- package/src/artifact/expectedArtifact.service.spec.ts +103 -0
- package/src/artifact/expectedArtifact.service.ts +116 -0
- package/src/artifact/expectedArtifactMultiSelector.component.ts +71 -0
- package/src/artifact/human-readable-ids.d.ts +1 -0
- package/src/artifact/icons/bitbucket-file-artifact.svg +18 -0
- package/src/artifact/icons/docker-image-artifact.svg +36 -0
- package/src/artifact/icons/embedded-base64-artifact.svg +20 -0
- package/src/artifact/icons/gcs-file-artifact.svg +11 -0
- package/src/artifact/icons/git-repo-artifact.svg +15 -0
- package/src/artifact/icons/github-file-artifact.svg +2 -0
- package/src/artifact/icons/gitlab-file-artifact.svg +60 -0
- package/src/artifact/icons/helm-chart-artifact.svg +14 -0
- package/src/artifact/icons/http-artifact.svg +15 -0
- package/src/artifact/icons/ivy-artifact.svg +13 -0
- package/src/artifact/icons/jenkins-file-artifact.svg +283 -0
- package/src/artifact/icons/kubernetes-artifact.svg +84 -0
- package/src/artifact/icons/maven-artifact.svg +15 -0
- package/src/artifact/icons/oracle-object-artifact.svg +1 -0
- package/src/artifact/icons/s3-object-artifact.svg +17 -0
- package/src/artifact/icons/unknown-type-artifact.svg +18 -0
- package/src/artifact/imageSourceSelector.component.ts +40 -0
- package/src/artifact/index.ts +23 -0
- package/src/artifact/react/ArtifactAccountSelector.tsx +56 -0
- package/src/artifact/react/ArtifactEditor.tsx +89 -0
- package/src/artifact/react/ArtifactIcon.tsx +35 -0
- package/src/artifact/react/ArtifactIconList.tsx +37 -0
- package/src/artifact/react/ExecutionArtifactTab.tsx +67 -0
- package/src/artifact/react/ExpectedArtifactEditor.tsx +222 -0
- package/src/artifact/react/ExpectedArtifactKindSelector.tsx +98 -0
- package/src/artifact/react/ExpectedArtifactModal.tsx +154 -0
- package/src/artifact/react/ExpectedArtifactSelector.spec.tsx +107 -0
- package/src/artifact/react/ExpectedArtifactSelector.tsx +133 -0
- package/src/artifact/react/ExpectedArtifactSourceSelector.tsx +81 -0
- package/src/artifact/react/StageArtifactSelector.tsx +168 -0
- package/src/artifact/react/StageArtifactSelectorDelegate.tsx +22 -0
- package/src/artifact/stageArtifactSelectorDelegate.ts +24 -0
- package/src/authentication/AuthenticationInitializer.spec.ts +59 -0
- package/src/authentication/AuthenticationInitializer.ts +118 -0
- package/src/authentication/AuthenticationService.spec.ts +45 -0
- package/src/authentication/AuthenticationService.ts +45 -0
- package/src/authentication/LoggedOutModal.less +21 -0
- package/src/authentication/LoggedOutModal.tsx +42 -0
- package/src/authentication/authentication.interceptor.service.ts +44 -0
- package/src/authentication/authentication.interceptor.spec.ts +94 -0
- package/src/authentication/authentication.module.ts +34 -0
- package/src/authentication/index.ts +3 -0
- package/src/authentication/userMenu/UserMenu.tsx +35 -0
- package/src/authentication/userMenu/userMenu.less +19 -0
- package/src/banner/BannerContainer.tsx +44 -0
- package/src/banner/bannerContainer.component.ts +13 -0
- package/src/banner/bannerContainer.module.js +9 -0
- package/src/banner/customBannersByName.ts +25 -0
- package/src/banner/index.ts +1 -0
- package/src/bootstrap/SpinnakerContainer.tsx +37 -0
- package/src/bootstrap/angular.config.ts +41 -0
- package/src/bootstrap/appInit.ts +23 -0
- package/src/bootstrap/bootstrap.module.ts +11 -0
- package/src/bootstrap/index.ts +12 -0
- package/src/bootstrap/paramChangedHelper.ts +15 -0
- package/src/bootstrap/spinnaker.component.ts +27 -0
- package/src/bootstrap/spinnakerContainer.component.ts +11 -0
- package/src/bootstrap/stateChange.logger.ts +29 -0
- package/src/bootstrap/transitionTrace.toggle.ts +28 -0
- package/src/bootstrap/uiBootstrap.config.ts +24 -0
- package/src/bootstrap/uiRouterRxjs.ts +12 -0
- package/src/bootstrap/uiRouterVisualizer.toggle.ts +75 -0
- package/src/bootstrap/uiSelect.config.ts +93 -0
- package/src/cache/abstractBaseCache.ts +29 -0
- package/src/cache/cacheInitializer.service.spec.ts +109 -0
- package/src/cache/cacheInitializer.service.ts +113 -0
- package/src/cache/collapsibleSectionStateCache.ts +49 -0
- package/src/cache/deckCacheFactory.ts +208 -0
- package/src/cache/index.ts +9 -0
- package/src/cache/infrastructureCacheConfig.ts +29 -0
- package/src/cache/infrastructureCaches.spec.ts +136 -0
- package/src/cache/infrastructureCaches.ts +27 -0
- package/src/cache/viewStateCache.ts +19 -0
- package/src/cancelModal/CancelModal.tsx +126 -0
- package/src/certificates/certificate.read.service.ts +19 -0
- package/src/certificates/index.ts +1 -0
- package/src/chaosMonkey/chaosMonkey.help.ts +50 -0
- package/src/chaosMonkey/chaosMonkeyConfig.component.html +76 -0
- package/src/chaosMonkey/chaosMonkeyConfig.component.less +43 -0
- package/src/chaosMonkey/chaosMonkeyConfig.component.ts +84 -0
- package/src/chaosMonkey/chaosMonkeyExceptions.component.html +70 -0
- package/src/chaosMonkey/chaosMonkeyExceptions.component.less +5 -0
- package/src/chaosMonkey/chaosMonkeyExceptions.component.spec.ts +67 -0
- package/src/chaosMonkey/chaosMonkeyExceptions.component.ts +89 -0
- package/src/chaosMonkey/chaosMonkeyNewApplicationConfig.component.ts +53 -0
- package/src/ci/CIReader.ts +67 -0
- package/src/ci/ci.dataSource.ts +84 -0
- package/src/ci/ci.module.ts +10 -0
- package/src/ci/ci.states.ts +48 -0
- package/src/ci/components/BuildDetailsScrollContainerContext.ts +3 -0
- package/src/ci/components/BuildInfoArtifactsTab.tsx +19 -0
- package/src/ci/components/BuildInfoDetails.tsx +140 -0
- package/src/ci/components/BuildInfoLogsTab.tsx +108 -0
- package/src/ci/components/BuildInfoSummaryCard.tsx +57 -0
- package/src/ci/components/Builds.tsx +109 -0
- package/src/ci/components/builds.less +238 -0
- package/src/ci/domain.ts +59 -0
- package/src/ci/igor.service.ts +58 -0
- package/src/ci/index.ts +1 -0
- package/src/cloudProvider/CloudProviderLabel.tsx +34 -0
- package/src/cloudProvider/CloudProviderLogo.tsx +36 -0
- package/src/cloudProvider/CloudProviderRegistry.spec.ts +103 -0
- package/src/cloudProvider/CloudProviderRegistry.ts +60 -0
- package/src/cloudProvider/cloudProvider.module.ts +12 -0
- package/src/cloudProvider/cloudProviderLabel.directive.js +25 -0
- package/src/cloudProvider/cloudProviderLogo.component.ts +16 -0
- package/src/cloudProvider/cloudProviderLogo.less +33 -0
- package/src/cloudProvider/index.ts +5 -0
- package/src/cloudProvider/providerSelection/ProviderSelectionModal.tsx +85 -0
- package/src/cloudProvider/providerSelection/ProviderSelectionService.spec.ts +506 -0
- package/src/cloudProvider/providerSelection/ProviderSelectionService.ts +68 -0
- package/src/cloudProvider/providerSelection/providerSelector.directive.js +65 -0
- package/src/cloudProvider/providerSelection/providerSelector.html +21 -0
- package/src/cloudProvider/providerService.delegate.ts +34 -0
- package/src/cluster/AllClustersGroupings.tsx +204 -0
- package/src/cluster/ClusterPod.tsx +145 -0
- package/src/cluster/ClusterPodTitleWrapper.tsx +22 -0
- package/src/cluster/ClusterRuleMatcher.spec.ts +86 -0
- package/src/cluster/ClusterRuleMatcher.ts +67 -0
- package/src/cluster/DefaultClusterPodTitle.tsx +56 -0
- package/src/cluster/allClusters.controller.js +151 -0
- package/src/cluster/allClusters.html +82 -0
- package/src/cluster/allClustersGroupings.component.ts +11 -0
- package/src/cluster/cluster.less +8 -0
- package/src/cluster/cluster.module.ts +14 -0
- package/src/cluster/cluster.service.spec.ts +772 -0
- package/src/cluster/cluster.service.ts +340 -0
- package/src/cluster/clusterSearchResultType.tsx +105 -0
- package/src/cluster/filter/ClusterFilterModel.ts +37 -0
- package/src/cluster/filter/ClusterFilterService.spec.ts +1173 -0
- package/src/cluster/filter/ClusterFilterService.ts +547 -0
- package/src/cluster/filter/ClusterFilters.tsx +314 -0
- package/src/cluster/filter/FilterSearch.less +10 -0
- package/src/cluster/filter/FilterSearch.tsx +20 -0
- package/src/cluster/filter/FilterSection.tsx +53 -0
- package/src/cluster/filter/LabelFilter.less +29 -0
- package/src/cluster/filter/LabelFilter.spec.tsx +61 -0
- package/src/cluster/filter/LabelFilter.tsx +147 -0
- package/src/cluster/filter/MultiselectModel.spec.ts +340 -0
- package/src/cluster/filter/MultiselectModel.ts +231 -0
- package/src/cluster/filter/clusterDependentFilterHelper.service.js +43 -0
- package/src/cluster/filter/clusterFilter.component.ts +11 -0
- package/src/cluster/filter/collapsibleFilterSection.directive.js +31 -0
- package/src/cluster/filter/collapsibleFilterSection.html +10 -0
- package/src/cluster/filter/labelFilter.component.ts +11 -0
- package/src/cluster/filter/labelFilterUtils.spec.ts +90 -0
- package/src/cluster/filter/labelFilterUtils.ts +66 -0
- package/src/cluster/filter/mockApplicationData.js +153 -0
- package/src/cluster/index.ts +7 -0
- package/src/cluster/onDemand/onDemandClusterPicker.component.less +8 -0
- package/src/cluster/onDemand/onDemandClusterPicker.component.ts +68 -0
- package/src/cluster/onDemand/onDemandOptionTemplate.html +1 -0
- package/src/cluster/rollups.less +578 -0
- package/src/cluster/task.matcher.ts +141 -0
- package/src/config/VersionChecker.tsx +59 -0
- package/src/config/index.ts +2 -0
- package/src/config/settings.ts +199 -0
- package/src/confirmationModal/ConfirmModal.tsx +141 -0
- package/src/confirmationModal/confirmationModal.service.ts +63 -0
- package/src/confirmationModal/index.ts +1 -0
- package/src/core.module.ts +178 -0
- package/src/deploymentStrategy/DeploymentStrategySelector.tsx +132 -0
- package/src/deploymentStrategy/deploymentStrategy.module.ts +12 -0
- package/src/deploymentStrategy/deploymentStrategy.registry.ts +55 -0
- package/src/deploymentStrategy/deploymentStrategySelector.component.ts +17 -0
- package/src/deploymentStrategy/index.ts +3 -0
- package/src/deploymentStrategy/strategies/PipelineSelector.tsx +277 -0
- package/src/deploymentStrategy/strategies/custom/AdditionalFields.tsx +10 -0
- package/src/deploymentStrategy/strategies/custom/custom.strategy.ts +10 -0
- package/src/deploymentStrategy/strategies/highlander/HighlanderPreview.tsx +61 -0
- package/src/deploymentStrategy/strategies/highlander/highlander.strategy.ts +10 -0
- package/src/deploymentStrategy/strategies/monitored/AdditionalFields.tsx +184 -0
- package/src/deploymentStrategy/strategies/monitored/monitored.strategy.ts +28 -0
- package/src/deploymentStrategy/strategies/none/none.strategy.ts +8 -0
- package/src/deploymentStrategy/strategies/redblack/AdditionalFields.tsx +108 -0
- package/src/deploymentStrategy/strategies/redblack/redblack.strategy.ts +36 -0
- package/src/deploymentStrategy/strategies/rollingredblack/AdditionalFields.tsx +127 -0
- package/src/deploymentStrategy/strategies/rollingredblack/rollingredblack.strategy.ts +23 -0
- package/src/diffs/ChangesModal.tsx +84 -0
- package/src/diffs/CommitHistory.tsx +50 -0
- package/src/diffs/JarDiffs.tsx +59 -0
- package/src/diffs/ViewChangesLink.tsx +79 -0
- package/src/diffs/index.ts +9 -0
- package/src/diffs/viewChangesLink.component.ts +16 -0
- package/src/domain/IArtifact.ts +17 -0
- package/src/domain/IArtifactEditorProps.ts +14 -0
- package/src/domain/IArtifactExtractor.ts +6 -0
- package/src/domain/IArtifactKindConfig.ts +15 -0
- package/src/domain/IArtifactSource.ts +4 -0
- package/src/domain/IAuthentication.ts +3 -0
- package/src/domain/IBuild.ts +16 -0
- package/src/domain/IBuildDiffInfo.ts +7 -0
- package/src/domain/IBuildInfo.ts +4 -0
- package/src/domain/ICloudMetric.ts +24 -0
- package/src/domain/ICluster.ts +19 -0
- package/src/domain/ICredentials.ts +6 -0
- package/src/domain/IDeckRootScope.ts +10 -0
- package/src/domain/IEntityTags.ts +64 -0
- package/src/domain/IExecution.ts +48 -0
- package/src/domain/IExecutionStage.ts +80 -0
- package/src/domain/IExecutionTrigger.ts +22 -0
- package/src/domain/IExpectedArtifact.ts +11 -0
- package/src/domain/IFunction.ts +27 -0
- package/src/domain/IGcbTrigger.ts +5 -0
- package/src/domain/IHealth.ts +15 -0
- package/src/domain/IHelmTrigger.ts +9 -0
- package/src/domain/IInstance.ts +20 -0
- package/src/domain/IInstanceCounts.ts +11 -0
- package/src/domain/IJenkinsInfo.ts +5 -0
- package/src/domain/IJobConfig.ts +15 -0
- package/src/domain/ILoadBalancer.ts +43 -0
- package/src/domain/ILoadBalancerIncompatibility.ts +4 -0
- package/src/domain/IManagedEntity.ts +265 -0
- package/src/domain/IManifest.ts +36 -0
- package/src/domain/INotification.ts +8 -0
- package/src/domain/INotificationTypeConfig.ts +13 -0
- package/src/domain/IOrchestratedItem.ts +32 -0
- package/src/domain/IPipeline.ts +102 -0
- package/src/domain/IPipelineTemplateConfigV2.ts +13 -0
- package/src/domain/IPipelineTemplateV2.ts +42 -0
- package/src/domain/IProject.ts +25 -0
- package/src/domain/IPubsubSubscription.ts +4 -0
- package/src/domain/IRegionalCluster.ts +5 -0
- package/src/domain/ISecurityGroup.ts +55 -0
- package/src/domain/IServerGroup.ts +59 -0
- package/src/domain/IServerGroupManager.ts +19 -0
- package/src/domain/IService.ts +8 -0
- package/src/domain/ISnapshot.ts +10 -0
- package/src/domain/IStage.ts +14 -0
- package/src/domain/IStageContext.ts +8 -0
- package/src/domain/IStageOrTriggerTypeConfig.ts +22 -0
- package/src/domain/IStageTypeConfig.ts +41 -0
- package/src/domain/IStrategy.ts +5 -0
- package/src/domain/ISubnet.ts +13 -0
- package/src/domain/ITaggedEntity.ts +5 -0
- package/src/domain/ITask.ts +20 -0
- package/src/domain/ITaskStep.ts +6 -0
- package/src/domain/ITrigger.ts +102 -0
- package/src/domain/ITriggerTypeConfig.ts +16 -0
- package/src/domain/IVpc.ts +9 -0
- package/src/domain/index.ts +73 -0
- package/src/entityTag/AddEntityTagLinks.tsx +61 -0
- package/src/entityTag/EntitySource.tsx +70 -0
- package/src/entityTag/EntitySourcePopover.tsx +30 -0
- package/src/entityTag/EntityTagEditor.less +19 -0
- package/src/entityTag/EntityTagEditor.tsx +213 -0
- package/src/entityTag/EntityTagsReader.ts +185 -0
- package/src/entityTag/addEntityTagLinks.component.ts +19 -0
- package/src/entityTag/clusterTargetBuilder.ts +78 -0
- package/src/entityTag/entityRef.builder.ts +89 -0
- package/src/entityTag/entitySource.component.ts +11 -0
- package/src/entityTag/entityTags.dataSource.ts +63 -0
- package/src/entityTag/entityTags.help.ts +36 -0
- package/src/entityTag/entityTags.module.ts +17 -0
- package/src/entityTag/entityTags.write.service.ts +42 -0
- package/src/entityTag/index.ts +7 -0
- package/src/entityTag/notifications/CategorizedNotifications.tsx +128 -0
- package/src/entityTag/notifications/DataSourceNotifications.tsx +56 -0
- package/src/entityTag/notifications/EntityName.tsx +31 -0
- package/src/entityTag/notifications/EntityNotifications.tsx +98 -0
- package/src/entityTag/notifications/EphemeralPopover.tsx +70 -0
- package/src/entityTag/notifications/GroupedNotificationList.tsx +137 -0
- package/src/entityTag/notifications/NotificationCategory.tsx +39 -0
- package/src/entityTag/notifications/NotificationList.tsx +83 -0
- package/src/entityTag/notifications/NotificationsPopover.tsx +251 -0
- package/src/entityTag/notifications/entityNotifications.component.ts +47 -0
- package/src/entityTag/notifications/index.ts +6 -0
- package/src/entityTag/notifications/notificationCategories.ts +51 -0
- package/src/entityTag/notifications/notifications.less +99 -0
- package/src/entityTag/notifications/notifications.popover.less +82 -0
- package/src/event/EventBus.spec.ts +16 -0
- package/src/event/EventBus.ts +36 -0
- package/src/filterModel/FilterCheckBox.tsx +48 -0
- package/src/filterModel/FilterCollapse.less +45 -0
- package/src/filterModel/FilterCollapse.tsx +52 -0
- package/src/filterModel/FilterModelService.ts +243 -0
- package/src/filterModel/FilterTags.tsx +78 -0
- package/src/filterModel/IFilterModel.ts +63 -0
- package/src/filterModel/dependentFilter/DependentFilterService.spec.ts +324 -0
- package/src/filterModel/dependentFilter/DependentFilterService.ts +51 -0
- package/src/filterModel/filter.model.service.spec.js +489 -0
- package/src/filterModel/filterCollapse.component.ts +11 -0
- package/src/filterModel/filterTags.component.ts +11 -0
- package/src/filterModel/index.ts +6 -0
- package/src/fonts/README.md +29 -0
- package/src/fonts/icomoon.svg +98 -0
- package/src/fonts/icomoon.ttf +0 -0
- package/src/fonts/icomoon.woff +0 -0
- package/src/fonts/icomoon.woff2 +0 -0
- package/src/fonts/icons.css +289 -0
- package/src/fonts/selection.json +1694 -0
- package/src/forms/autofocus/autofocus.directive.js +27 -0
- package/src/forms/checklist/checklist.directive.html +25 -0
- package/src/forms/checklist/checklist.directive.js +114 -0
- package/src/forms/checklist/checklist.directive.spec.js +156 -0
- package/src/forms/checkmap/checkmap.directive.html +18 -0
- package/src/forms/checkmap/checkmap.directive.js +63 -0
- package/src/forms/checkmap/checkmap.directive.spec.js +56 -0
- package/src/forms/forms.module.js +25 -0
- package/src/forms/ignoreEmptyDelete.directive.js +52 -0
- package/src/forms/index.ts +4 -0
- package/src/forms/mapEditor/MapEditor.less +13 -0
- package/src/forms/mapEditor/MapEditor.tsx +177 -0
- package/src/forms/mapEditor/MapEditorInput.tsx +172 -0
- package/src/forms/mapEditor/MapPair.tsx +81 -0
- package/src/forms/mapEditor/mapEditor.component.html +55 -0
- package/src/forms/mapEditor/mapEditor.component.js +91 -0
- package/src/forms/mapEditor/mapEditor.component.less +9 -0
- package/src/forms/mapEditor/mapEditor.component.spec.js +193 -0
- package/src/forms/mapObjectEditor/mapObjectEditor.component.html +56 -0
- package/src/forms/mapObjectEditor/mapObjectEditor.component.js +113 -0
- package/src/forms/mapObjectEditor/mapObjectEditor.component.less +9 -0
- package/src/forms/mapObjectEditor/mapObjectEditor.component.spec.js +85 -0
- package/src/forms/numberList/NumberList.tsx +115 -0
- package/src/forms/numberList/numberList.component.ts +11 -0
- package/src/forms/uiSelect.decorator.js +0 -0
- package/src/forms/validateOnSubmit/validateOnSubmit.directive.js +49 -0
- package/src/function/CreateFunctionButton.tsx +74 -0
- package/src/function/Function.tsx +47 -0
- package/src/function/FunctionDetails.tsx +13 -0
- package/src/function/FunctionGroupings.tsx +34 -0
- package/src/function/FunctionPod.tsx +37 -0
- package/src/function/Functions.tsx +112 -0
- package/src/function/filter/FunctionFilterModel.ts +25 -0
- package/src/function/filter/FunctionFilterService.spec.ts +188 -0
- package/src/function/filter/FunctionFilterService.ts +122 -0
- package/src/function/filter/FunctionFilters.tsx +186 -0
- package/src/function/function.dataSource.ts +51 -0
- package/src/function/function.module.ts +8 -0
- package/src/function/function.read.service.spec.ts +94 -0
- package/src/function/function.read.service.ts +62 -0
- package/src/function/function.states.ts +73 -0
- package/src/function/function.transformer.ts +48 -0
- package/src/function/function.write.service.ts +48 -0
- package/src/function/index.ts +4 -0
- package/src/header/SpinnakerHeader.css +61 -0
- package/src/header/SpinnakerHeader.tsx +113 -0
- package/src/header/customBanner/CustomBanner.less +9 -0
- package/src/header/customBanner/CustomBanner.spec.tsx +46 -0
- package/src/header/customBanner/CustomBanner.tsx +77 -0
- package/src/healthCounts/HealthCounts.spec.tsx +152 -0
- package/src/healthCounts/HealthCounts.tsx +222 -0
- package/src/healthCounts/healthCounts.component.ts +15 -0
- package/src/healthCounts/healthCounts.less +35 -0
- package/src/healthCounts/healthCounts.module.ts +6 -0
- package/src/healthCounts/index.ts +1 -0
- package/src/help/HelpField.tsx +70 -0
- package/src/help/HelpMenu.less +32 -0
- package/src/help/HelpMenu.tsx +107 -0
- package/src/help/HelpTextExpandedContext.tsx +3 -0
- package/src/help/help.contents.ts +563 -0
- package/src/help/help.module.ts +8 -0
- package/src/help/helpContents.registry.spec.ts +32 -0
- package/src/help/helpContents.registry.ts +44 -0
- package/src/help/helpField.component.ts +37 -0
- package/src/help/helpFieldReact.component.ts +19 -0
- package/src/help/index.ts +5 -0
- package/src/history/index.ts +1 -0
- package/src/history/recentHistory.service.spec.ts +111 -0
- package/src/history/recentHistory.service.ts +148 -0
- package/src/image/image.reader.ts +45 -0
- package/src/image/index.ts +1 -0
- package/src/index.ts +97 -0
- package/src/insight/InsightLayout.tsx +56 -0
- package/src/insight/InsightMenu.spec.tsx +87 -0
- package/src/insight/InsightMenu.tsx +126 -0
- package/src/insight/insight.less +33 -0
- package/src/insight/insight.module.ts +10 -0
- package/src/insight/insightFilterState.model.ts +22 -0
- package/src/insight/insightLayout.component.ts +11 -0
- package/src/insight/insightmenu.directive.html +33 -0
- package/src/insight/insightmenu.directive.ts +19 -0
- package/src/instance/Instance.tsx +38 -0
- package/src/instance/InstanceList.tsx +196 -0
- package/src/instance/InstanceListBody.tsx +248 -0
- package/src/instance/InstanceReader.ts +27 -0
- package/src/instance/Instances.tsx +120 -0
- package/src/instance/details/InstanceActions.tsx +29 -0
- package/src/instance/details/InstanceDetails.tsx +104 -0
- package/src/instance/details/InstanceDetailsHeader.less +13 -0
- package/src/instance/details/InstanceDetailsHeader.tsx +53 -0
- package/src/instance/details/InstanceDetailsPane.tsx +23 -0
- package/src/instance/details/InstanceInsights.tsx +54 -0
- package/src/instance/details/InstanceLinks.tsx +87 -0
- package/src/instance/details/console/ConsoleOutputLink.tsx +23 -0
- package/src/instance/details/console/ConsoleOutputModal.less +13 -0
- package/src/instance/details/console/ConsoleOutputModal.tsx +101 -0
- package/src/instance/details/console/consoleOutputLink.component.ts +13 -0
- package/src/instance/details/index.ts +8 -0
- package/src/instance/details/instanceActions.component.ts +13 -0
- package/src/instance/details/instanceDetailsHeader.component.ts +20 -0
- package/src/instance/details/instanceInsights.component.ts +18 -0
- package/src/instance/details/instanceLinks.component.js +19 -0
- package/src/instance/details/multipleInstanceServerGroup.directive.html +19 -0
- package/src/instance/details/multipleInstanceServerGroup.directive.js +23 -0
- package/src/instance/details/multipleInstanceServerGroup.directive.less +22 -0
- package/src/instance/details/multipleInstances.controller.js +271 -0
- package/src/instance/details/multipleInstances.controller.spec.js +273 -0
- package/src/instance/details/multipleInstances.view.html +67 -0
- package/src/instance/index.ts +5 -0
- package/src/instance/instance.less +8 -0
- package/src/instance/instance.module.js +28 -0
- package/src/instance/instance.states.ts +120 -0
- package/src/instance/instance.write.service.spec.ts +281 -0
- package/src/instance/instance.write.service.ts +329 -0
- package/src/instance/instanceSearchResultType.tsx +83 -0
- package/src/instance/instanceSelection.less +102 -0
- package/src/instance/instanceType.service.ts +126 -0
- package/src/instance/instanceTypeService.spec.ts +134 -0
- package/src/instance/loadBalancer/InstanceLoadBalancerHealth.tsx +62 -0
- package/src/instance/loadBalancer/instanceLoadBalancerHealth.directive.js +18 -0
- package/src/interceptor/debug.interceptor.ts +32 -0
- package/src/interceptor/interceptor.module.ts +6 -0
- package/src/loadBalancer/CreateLoadBalancerButton.tsx +106 -0
- package/src/loadBalancer/LoadBalancer.tsx +86 -0
- package/src/loadBalancer/LoadBalancerClusterContainer.tsx +52 -0
- package/src/loadBalancer/LoadBalancerDetails.tsx +13 -0
- package/src/loadBalancer/LoadBalancerInstances.tsx +47 -0
- package/src/loadBalancer/LoadBalancerPod.tsx +57 -0
- package/src/loadBalancer/LoadBalancerServerGroup.tsx +83 -0
- package/src/loadBalancer/LoadBalancers.tsx +204 -0
- package/src/loadBalancer/LoadBalancersTag.spec.tsx +89 -0
- package/src/loadBalancer/LoadBalancersTag.tsx +171 -0
- package/src/loadBalancer/LoadBalancersTagWrapper.tsx +23 -0
- package/src/loadBalancer/filter/LoadBalancerFilterModel.ts +35 -0
- package/src/loadBalancer/filter/LoadBalancerFilterService.spec.ts +596 -0
- package/src/loadBalancer/filter/LoadBalancerFilterService.ts +282 -0
- package/src/loadBalancer/filter/LoadBalancerFilters.tsx +323 -0
- package/src/loadBalancer/index.ts +9 -0
- package/src/loadBalancer/loadBalancer.dataSource.ts +48 -0
- package/src/loadBalancer/loadBalancer.less +8 -0
- package/src/loadBalancer/loadBalancer.module.ts +9 -0
- package/src/loadBalancer/loadBalancer.read.service.ts +64 -0
- package/src/loadBalancer/loadBalancer.states.ts +78 -0
- package/src/loadBalancer/loadBalancer.transformer.js +43 -0
- package/src/loadBalancer/loadBalancer.write.service.ts +55 -0
- package/src/loadBalancer/loadBalancerDataUtils.ts +53 -0
- package/src/loadBalancer/loadBalancerPod.less +40 -0
- package/src/loadBalancer/loadBalancerSearchResultType.tsx +89 -0
- package/src/managed/ApplicationQueryError.tsx +30 -0
- package/src/managed/Environments.less +79 -0
- package/src/managed/Environments.tsx +47 -0
- package/src/managed/ManagedReader.ts +102 -0
- package/src/managed/ManagedWriter.ts +10 -0
- package/src/managed/ObjectRow.less +59 -0
- package/src/managed/Pill.less +7 -0
- package/src/managed/Pill.tsx +38 -0
- package/src/managed/RelativeTimestamp.tsx +118 -0
- package/src/managed/UnmanagedMessage.tsx +15 -0
- package/src/managed/artifactActions/ArtifactActions.tsx +77 -0
- package/src/managed/config/Configuration.tsx +185 -0
- package/src/managed/config/DeliveryConfig.tsx +68 -0
- package/src/managed/config/GitIntegration.less +22 -0
- package/src/managed/config/GitIntegration.tsx +128 -0
- package/src/managed/config/ManagementWarning.tsx +53 -0
- package/src/managed/constraints/AllowedTimes.less +3 -0
- package/src/managed/constraints/AllowedTimes.spec.ts +50 -0
- package/src/managed/constraints/AllowedTimes.tsx +112 -0
- package/src/managed/constraints/DependsOn.tsx +21 -0
- package/src/managed/constraints/ManualJudgement.tsx +22 -0
- package/src/managed/constraints/registry.tsx +192 -0
- package/src/managed/displayNames.ts +4 -0
- package/src/managed/environmentBaseElements/BaseEnvironment.less +62 -0
- package/src/managed/environmentBaseElements/BaseEnvironment.tsx +72 -0
- package/src/managed/environmentBaseElements/EnvironmentItem.tsx +49 -0
- package/src/managed/environmentBaseElements/EnvironmentsRender.tsx +99 -0
- package/src/managed/externals/DeployingIntoManagedClusterWarning.tsx +62 -0
- package/src/managed/externals/ManagedMenuItem.tsx +33 -0
- package/src/managed/externals/ManagedResourceConfig.less +7 -0
- package/src/managed/externals/ManagedResourceConfig.tsx +121 -0
- package/src/managed/externals/ManagedResourceDetailsIndicator.css +20 -0
- package/src/managed/externals/ManagedResourceDetailsIndicator.tsx +124 -0
- package/src/managed/externals/ManagedResourceStatusIndicator.less +28 -0
- package/src/managed/externals/ManagedResourceStatusIndicator.tsx +35 -0
- package/src/managed/externals/ManagedResourceStatusPopover.tsx +89 -0
- package/src/managed/externals/managedResourceDecorators.ts +81 -0
- package/src/managed/externals/managedResourceDetailsIndicator.component.ts +14 -0
- package/src/managed/externals/managedResourceStatusConfig.tsx +252 -0
- package/src/managed/externals/toggleResourceManagement.tsx +87 -0
- package/src/managed/graphql/client.ts +31 -0
- package/src/managed/graphql/graphql-sdk.ts +2133 -0
- package/src/managed/graphql/schema.graphql +425 -0
- package/src/managed/icons/md-logo-color.svg +66 -0
- package/src/managed/icons/star.svg +4 -0
- package/src/managed/index.ts +13 -0
- package/src/managed/managed.dataSource.ts +67 -0
- package/src/managed/managed.module.js +8 -0
- package/src/managed/managed.states.ts +97 -0
- package/src/managed/messages/MessageBox.less +48 -0
- package/src/managed/messages/MessageBox.tsx +39 -0
- package/src/managed/messages/Messages.tsx +81 -0
- package/src/managed/overview/EnvironmentOverview.tsx +62 -0
- package/src/managed/overview/EnvironmentsOverview.less +34 -0
- package/src/managed/overview/EnvironmentsOverview.tsx +69 -0
- package/src/managed/overview/PreviewEnvironments.tsx +45 -0
- package/src/managed/overview/Resource.less +56 -0
- package/src/managed/overview/Resource.tsx +207 -0
- package/src/managed/overview/ResourceDeploymentStatus.tsx +53 -0
- package/src/managed/overview/ResourceTask.tsx +62 -0
- package/src/managed/overview/artifact/Artifact.less +74 -0
- package/src/managed/overview/artifact/Artifact.tsx +159 -0
- package/src/managed/overview/artifact/ArtifactActionModal.less +19 -0
- package/src/managed/overview/artifact/ArtifactActionModal.tsx +217 -0
- package/src/managed/overview/artifact/ArtifactCollapsibleSection.tsx +32 -0
- package/src/managed/overview/artifact/ArtifactVersionTasks.less +33 -0
- package/src/managed/overview/artifact/ArtifactVersionTasks.tsx +125 -0
- package/src/managed/overview/artifact/ArtifactVersions.tsx +114 -0
- package/src/managed/overview/artifact/Constraints.less +67 -0
- package/src/managed/overview/artifact/Constraints.tsx +187 -0
- package/src/managed/overview/artifact/CurrentVersion.tsx +74 -0
- package/src/managed/overview/artifact/GitLink.less +25 -0
- package/src/managed/overview/artifact/GitLink.tsx +64 -0
- package/src/managed/overview/artifact/VersionOperation.tsx +53 -0
- package/src/managed/overview/artifact/VersionOperationIcon.less +5 -0
- package/src/managed/overview/artifact/VersionTitle.tsx +18 -0
- package/src/managed/overview/artifact/hooks.ts +152 -0
- package/src/managed/overview/artifact/useCreateRollbackActions.hook.ts +75 -0
- package/src/managed/overview/artifact/utils.spec.ts +95 -0
- package/src/managed/overview/artifact/utils.ts +132 -0
- package/src/managed/overview/baseStyles.less +175 -0
- package/src/managed/overview/queries.graphql +390 -0
- package/src/managed/overview/types.ts +23 -0
- package/src/managed/overview/useIsUpdatingResources.hook.ts +9 -0
- package/src/managed/overview/utils.ts +8 -0
- package/src/managed/plugins/BasePluginManager.ts +29 -0
- package/src/managed/plugins/index.ts +14 -0
- package/src/managed/resourceHistory/HistoryEventRow.tsx +85 -0
- package/src/managed/resourceHistory/ManagedResourceDiffTable.tsx +77 -0
- package/src/managed/resourceHistory/ManagedResourceHistoryModal.less +40 -0
- package/src/managed/resourceHistory/ManagedResourceHistoryModal.tsx +74 -0
- package/src/managed/resources/ResourceDefinitionModal.less +5 -0
- package/src/managed/resources/ResourceDefinitionModal.tsx +28 -0
- package/src/managed/resources/ResourceTitle.tsx +36 -0
- package/src/managed/resources/ToggleResourceManagement.tsx +53 -0
- package/src/managed/resources/resourceRegistry.ts +91 -0
- package/src/managed/resources/useGetResourceLink.hook.ts +19 -0
- package/src/managed/useEnvironmentTypeFromResources.hooks.ts +18 -0
- package/src/managed/utils/ActionModal.tsx +111 -0
- package/src/managed/utils/Button.less +56 -0
- package/src/managed/utils/Button.tsx +33 -0
- package/src/managed/utils/YamlViewer.tsx +40 -0
- package/src/managed/utils/debugMode.ts +16 -0
- package/src/managed/utils/defaults.ts +35 -0
- package/src/managed/utils/logging.ts +32 -0
- package/src/managed/utils/useNotifyOnError.hook.ts +22 -0
- package/src/managed/versionMetadata/MetadataComponents.tsx +335 -0
- package/src/managed/versionMetadata/VersionMetadata.less +108 -0
- package/src/managed/versionMetadata/VersionMetadata.tsx +99 -0
- package/src/managed/versionsHistory/VersionContent.tsx +164 -0
- package/src/managed/versionsHistory/VersionHeading.tsx +164 -0
- package/src/managed/versionsHistory/VersionsHistory.less +155 -0
- package/src/managed/versionsHistory/VersionsHistory.tsx +175 -0
- package/src/managed/versionsHistory/types.ts +39 -0
- package/src/manifest/ManifestReader.ts +8 -0
- package/src/manifest/ManifestWriter.ts +75 -0
- package/src/manifest/ManifestYaml.tsx +55 -0
- package/src/manifest/PodNameProvider.spec.ts +38 -0
- package/src/manifest/PodNameProvider.ts +51 -0
- package/src/manifest/index.ts +6 -0
- package/src/manifest/stage/JobManifestPodLogs.tsx +152 -0
- package/src/manifest/stage/JobStageExecutionLogs.tsx +76 -0
- package/src/modal/buttons/ModalClose.tsx +9 -0
- package/src/modal/buttons/SubmitButton.tsx +38 -0
- package/src/modal/buttons/modalClose.component.ts +18 -0
- package/src/modal/buttons/submitButton.component.ts +23 -0
- package/src/modal/index.ts +4 -0
- package/src/modal/modal.module.js +33 -0
- package/src/modal/modalOverlay.directive.js +37 -0
- package/src/modal/modalPage.directive.js +52 -0
- package/src/modal/modals.less +372 -0
- package/src/modal/wizard/ModalWizard.ts +123 -0
- package/src/modal/wizard/WizardModal.tsx +211 -0
- package/src/modal/wizard/WizardPage.tsx +113 -0
- package/src/modal/wizard/WizardStepLabel.tsx +63 -0
- package/src/modal/wizard/index.ts +4 -0
- package/src/modal/wizard/modalWizard.less +145 -0
- package/src/modal/wizard/v2modalWizard.component.html +36 -0
- package/src/modal/wizard/v2modalWizard.component.ts +48 -0
- package/src/modal/wizard/v2wizardPage.component.html +15 -0
- package/src/modal/wizard/v2wizardPage.component.ts +113 -0
- package/src/modal/wizard/wizardSubFormValidation.service.js +87 -0
- package/src/modal/wizard/wizardSubFormValidation.service.spec.js +96 -0
- package/src/naming/IMoniker.ts +7 -0
- package/src/naming/index.ts +2 -0
- package/src/naming/nameUtils.spec.ts +105 -0
- package/src/naming/nameUtils.ts +137 -0
- package/src/navigation/UrlBuilder.ts +387 -0
- package/src/navigation/UrlBuilderRegistry.ts +13 -0
- package/src/navigation/customParamTypes.spec.ts +47 -0
- package/src/navigation/index.ts +4 -0
- package/src/navigation/navigation.less +90 -0
- package/src/navigation/state.provider.ts +195 -0
- package/src/navigation/stateHelper.provider.ts +62 -0
- package/src/navigation/stateactive.directive.js +28 -0
- package/src/navigation/urlParser.ts +50 -0
- package/src/network/NetworkReader.ts +20 -0
- package/src/network/index.ts +1 -0
- package/src/notfound/NotFound.tsx +19 -0
- package/src/notification/AppNotificationsService.ts +20 -0
- package/src/notification/NotificationService.ts +21 -0
- package/src/notification/NotificationsList.tsx +279 -0
- package/src/notification/extensionNotificationConfig.tsx +27 -0
- package/src/notification/index.ts +5 -0
- package/src/notification/modal/EditNotificationModal.tsx +96 -0
- package/src/notification/modal/NotificationDetails.tsx +116 -0
- package/src/notification/modal/WhenChecklistInput.tsx +83 -0
- package/src/notification/modal/editNotification.less +8 -0
- package/src/notification/modal/index.ts +2 -0
- package/src/notification/modal/whenOptions.ts +5 -0
- package/src/notification/notification.transformer.ts +48 -0
- package/src/notification/notification.types.ts +42 -0
- package/src/notification/notificationList.module.ts +19 -0
- package/src/notification/notifications.module.ts +24 -0
- package/src/notification/selector/NotificationSelector.tsx +67 -0
- package/src/notification/selector/notificationSelector.less +3 -0
- package/src/notification/selector/types/bearychat/BearychatNotificationType.tsx +19 -0
- package/src/notification/selector/types/bearychat/beary.notification.ts +8 -0
- package/src/notification/selector/types/cdevents/CDEventsNotificationType.tsx +36 -0
- package/src/notification/selector/types/cdevents/cdevents.notification.ts +8 -0
- package/src/notification/selector/types/email/EmailNotificationType.tsx +27 -0
- package/src/notification/selector/types/email/email.notification.ts +8 -0
- package/src/notification/selector/types/githubstatus/GithubNotificationType.tsx +25 -0
- package/src/notification/selector/types/githubstatus/githubstatus.notification.ts +8 -0
- package/src/notification/selector/types/googlechat/GooglechatNotificationType.tsx +24 -0
- package/src/notification/selector/types/googlechat/googlechat.notification.ts +8 -0
- package/src/notification/selector/types/index.ts +8 -0
- package/src/notification/selector/types/microsoftteams/MicrosoftTeamsNotificationType.tsx +24 -0
- package/src/notification/selector/types/microsoftteams/microsoftteams.notification.ts +8 -0
- package/src/notification/selector/types/pubsub/PubsubNotificationType.tsx +20 -0
- package/src/notification/selector/types/pubsub/pubsub.notification.ts +8 -0
- package/src/notification/selector/types/slack/SlackNotificationType.tsx +32 -0
- package/src/notification/selector/types/slack/slack.notification.ts +8 -0
- package/src/notification/selector/types/sms/SmsNotificationType.tsx +29 -0
- package/src/notification/selector/types/sms/sms.notification.ts +8 -0
- package/src/orchestratedItem/index.ts +1 -0
- package/src/orchestratedItem/orchestratedItem.transformer.spec.ts +234 -0
- package/src/orchestratedItem/orchestratedItem.transformer.ts +273 -0
- package/src/overrideRegistry/Overridable.tsx +199 -0
- package/src/overrideRegistry/Overrides.tsx +76 -0
- package/src/overrideRegistry/index.ts +3 -0
- package/src/overrideRegistry/override.registry.ts +44 -0
- package/src/pageTitle/index.ts +1 -0
- package/src/pageTitle/pageTitle.module.ts +6 -0
- package/src/pageTitle/pageTitle.service.spec.js +187 -0
- package/src/pageTitle/pageTitle.service.ts +144 -0
- package/src/pagerDuty/PageButton.tsx +63 -0
- package/src/pagerDuty/PageModal.tsx +182 -0
- package/src/pagerDuty/Pager.tsx +631 -0
- package/src/pagerDuty/index.ts +4 -0
- package/src/pagerDuty/js-worker-search.d.ts +11 -0
- package/src/pagerDuty/pageApplicationOwner.html +30 -0
- package/src/pagerDuty/pageApplicationOwner.modal.controller.ts +33 -0
- package/src/pagerDuty/pager.less +311 -0
- package/src/pagerDuty/pager.states.ts +76 -0
- package/src/pagerDuty/pagerDuty.module.ts +14 -0
- package/src/pagerDuty/pagerDuty.read.service.spec.ts +59 -0
- package/src/pagerDuty/pagerDuty.read.service.ts +34 -0
- package/src/pagerDuty/pagerDuty.write.service.ts +52 -0
- package/src/pagerDuty/pagerDutySelectField.component.ts +67 -0
- package/src/pagerDuty/pagerDutyTag.component.spec.ts +72 -0
- package/src/pagerDuty/pagerDutyTag.component.ts +53 -0
- package/src/pipeline/config/CreatePipeline.tsx +92 -0
- package/src/pipeline/config/PipelineRegistry.spec.ts +488 -0
- package/src/pipeline/config/PipelineRegistry.ts +380 -0
- package/src/pipeline/config/actions/PipelineConfigAction.tsx +16 -0
- package/src/pipeline/config/actions/PipelineConfigActions.tsx +56 -0
- package/src/pipeline/config/actions/delete/DeletePipelineModal.tsx +117 -0
- package/src/pipeline/config/actions/disable/DisablePipelineModal.tsx +81 -0
- package/src/pipeline/config/actions/enable/EnablePipelineModal.tsx +77 -0
- package/src/pipeline/config/actions/history/DiffSummary.tsx +18 -0
- package/src/pipeline/config/actions/history/ShowPipelineHistoryModal.tsx +184 -0
- package/src/pipeline/config/actions/history/diffSummary.component.ts +11 -0
- package/src/pipeline/config/actions/history/showHistory.less +34 -0
- package/src/pipeline/config/actions/lock/LockPipelineModal.tsx +104 -0
- package/src/pipeline/config/actions/pipelineConfigActions.module.ts +21 -0
- package/src/pipeline/config/actions/pipelineJson/EditPipelineJsonModal.tsx +178 -0
- package/src/pipeline/config/actions/rename/RenamePipelineModal.tsx +118 -0
- package/src/pipeline/config/actions/templateJson/ShowPipelineTemplateJsonModal.less +7 -0
- package/src/pipeline/config/actions/templateJson/ShowPipelineTemplateJsonModal.spec.tsx +51 -0
- package/src/pipeline/config/actions/templateJson/ShowPipelineTemplateJsonModal.tsx +198 -0
- package/src/pipeline/config/actions/unlock/UnlockPipelineModal.tsx +79 -0
- package/src/pipeline/config/copyStage/CopyStageCard.tsx +56 -0
- package/src/pipeline/config/copyStage/CopyStageModal.tsx +180 -0
- package/src/pipeline/config/copyStage/copyStageCard.less +5 -0
- package/src/pipeline/config/copyStage/copyStageModal.less +18 -0
- package/src/pipeline/config/createPipeline.component.ts +11 -0
- package/src/pipeline/config/graph/PipelineGraph.tsx +616 -0
- package/src/pipeline/config/graph/PipelineGraphLink.tsx +28 -0
- package/src/pipeline/config/graph/PipelineGraphNode.tsx +175 -0
- package/src/pipeline/config/graph/pipeline.graph.component.ts +17 -0
- package/src/pipeline/config/graph/pipelineGraph.less +181 -0
- package/src/pipeline/config/graph/pipelineGraph.service.ts +145 -0
- package/src/pipeline/config/health/stagePlatformHealthOverride.directive.js +23 -0
- package/src/pipeline/config/health/stagePlatformHealthOverrideCheckbox.directive.html +3 -0
- package/src/pipeline/config/parameters/Parameter.tsx +238 -0
- package/src/pipeline/config/parameters/Parameters.tsx +137 -0
- package/src/pipeline/config/parameters/parameters.module.ts +18 -0
- package/src/pipeline/config/parameters/pipeline.module.js +9 -0
- package/src/pipeline/config/pipelineConfig.controller.js +81 -0
- package/src/pipeline/config/pipelineConfig.controller.spec.js +63 -0
- package/src/pipeline/config/pipelineConfig.html +31 -0
- package/src/pipeline/config/pipelineConfig.less +229 -0
- package/src/pipeline/config/pipelineConfig.module.js +43 -0
- package/src/pipeline/config/pipelineConfigView.html +21 -0
- package/src/pipeline/config/pipelineConfigView.js +25 -0
- package/src/pipeline/config/pipelineConfigurer.controller.spec.ts +214 -0
- package/src/pipeline/config/pipelineConfigurer.html +204 -0
- package/src/pipeline/config/pipelineConfigurer.js +549 -0
- package/src/pipeline/config/preconditions/modal/editPrecondition.controller.modal.js +32 -0
- package/src/pipeline/config/preconditions/modal/editPrecondition.html +32 -0
- package/src/pipeline/config/preconditions/precondition.details.filter.js +12 -0
- package/src/pipeline/config/preconditions/preconditionList.directive.html +47 -0
- package/src/pipeline/config/preconditions/preconditionList.directive.js +93 -0
- package/src/pipeline/config/preconditions/preconditionList.directive.less +7 -0
- package/src/pipeline/config/preconditions/preconditionType.service.js +29 -0
- package/src/pipeline/config/preconditions/preconditionTypeConfig.provider.js +28 -0
- package/src/pipeline/config/preconditions/preconditions.module.js +21 -0
- package/src/pipeline/config/preconditions/selector/preconditionSelector.directive.js +112 -0
- package/src/pipeline/config/preconditions/selector/preconditionSelector.html +12 -0
- package/src/pipeline/config/preconditions/types/clusterSize/additionalFields.html +76 -0
- package/src/pipeline/config/preconditions/types/clusterSize/clusterSize.precondition.type.module.js +17 -0
- package/src/pipeline/config/preconditions/types/expression/additionalFields.html +28 -0
- package/src/pipeline/config/preconditions/types/expression/expression.precondition.type.module.js +17 -0
- package/src/pipeline/config/preconditions/types/stageStatus/StageStatusPreconditionConfig.tsx +75 -0
- package/src/pipeline/config/preconditions/types/stageStatus/additionalFields.html +5 -0
- package/src/pipeline/config/preconditions/types/stageStatus/stageStatus.precondition.type.module.ts +15 -0
- package/src/pipeline/config/preconditions/types/stageStatus/stageStatusOptions.ts +53 -0
- package/src/pipeline/config/services/PipelineConfigService.spec.ts +277 -0
- package/src/pipeline/config/services/PipelineConfigService.ts +194 -0
- package/src/pipeline/config/services/pipelineJSON.service.ts +24 -0
- package/src/pipeline/config/stages/FormikStageConfig.tsx +52 -0
- package/src/pipeline/config/stages/StageConfigWrapper.tsx +30 -0
- package/src/pipeline/config/stages/StageName.tsx +46 -0
- package/src/pipeline/config/stages/applySourceServerGroupCapacity/ApplySourceServerGroupCapacityDetails.tsx +50 -0
- package/src/pipeline/config/stages/applySourceServerGroupCapacity/applySourceServerGroupCapacityStage.module.ts +16 -0
- package/src/pipeline/config/stages/awsCodeBuild/AwsCodeBuildExecutionDetails.tsx +78 -0
- package/src/pipeline/config/stages/awsCodeBuild/AwsCodeBuildSourceList.tsx +192 -0
- package/src/pipeline/config/stages/awsCodeBuild/AwsCodeBuildStageConfig.tsx +29 -0
- package/src/pipeline/config/stages/awsCodeBuild/AwsCodeBuildStageForm.tsx +164 -0
- package/src/pipeline/config/stages/awsCodeBuild/AwsCodeBuildValidator.ts +18 -0
- package/src/pipeline/config/stages/awsCodeBuild/EditAwsCodeBuildSecondarySourceVersionModal.tsx +63 -0
- package/src/pipeline/config/stages/awsCodeBuild/EditAwsCodeBuildSourceModal.tsx +129 -0
- package/src/pipeline/config/stages/awsCodeBuild/IAwsCodeBuildSource.tsx +27 -0
- package/src/pipeline/config/stages/awsCodeBuild/awsCodeBuildStage.ts +15 -0
- package/src/pipeline/config/stages/bake/BakeExecutionLabel.tsx +25 -0
- package/src/pipeline/config/stages/bake/BakeryReader.ts +44 -0
- package/src/pipeline/config/stages/bake/ManualExecutionBake.tsx +29 -0
- package/src/pipeline/config/stages/bake/bakeStage.js +27 -0
- package/src/pipeline/config/stages/bake/bakeStage.module.js +17 -0
- package/src/pipeline/config/stages/bake/bakeStage.transformer.js +29 -0
- package/src/pipeline/config/stages/bake/bakeStage.transformer.spec.js +45 -0
- package/src/pipeline/config/stages/bake/bakeStageChooseManagedImage.component.html +12 -0
- package/src/pipeline/config/stages/bake/bakeStageChooseManagedImage.component.ts +49 -0
- package/src/pipeline/config/stages/bake/bakeStageChooseOs.component.html +23 -0
- package/src/pipeline/config/stages/bake/bakeStageChooseOs.component.ts +52 -0
- package/src/pipeline/config/stages/bake/modal/addExtendedAttribute.controller.modal.js +24 -0
- package/src/pipeline/config/stages/bake/modal/addExtendedAttribute.html +47 -0
- package/src/pipeline/config/stages/bakeManifest/BakeManifestConfig.tsx +54 -0
- package/src/pipeline/config/stages/bakeManifest/BakeManifestDetailsTab.tsx +46 -0
- package/src/pipeline/config/stages/bakeManifest/BakeManifestStageForm.tsx +79 -0
- package/src/pipeline/config/stages/bakeManifest/ManifestRenderers.ts +14 -0
- package/src/pipeline/config/stages/bakeManifest/ManualExecutionBakeManifest.tsx +90 -0
- package/src/pipeline/config/stages/bakeManifest/bakeManifestStage.ts +30 -0
- package/src/pipeline/config/stages/bakeManifest/helm/BakeHelmConfigForm.spec.tsx +176 -0
- package/src/pipeline/config/stages/bakeManifest/helm/BakeHelmConfigForm.tsx +312 -0
- package/src/pipeline/config/stages/bakeManifest/helmfile/BakeHelmfileConfigForm.spec.tsx +132 -0
- package/src/pipeline/config/stages/bakeManifest/helmfile/BakeHelmfileConfigForm.tsx +271 -0
- package/src/pipeline/config/stages/bakeManifest/kustomize/BakeKustomizeConfigForm.tsx +59 -0
- package/src/pipeline/config/stages/bakeManifest/utils/getBakedArtifacts.ts +13 -0
- package/src/pipeline/config/stages/bakeManifest/utils/getContentReference.ts +3 -0
- package/src/pipeline/config/stages/baseProviderStage/baseProviderStage.html +12 -0
- package/src/pipeline/config/stages/baseProviderStage/baseProviderStage.js +90 -0
- package/src/pipeline/config/stages/checkPreconditions/CheckPreconditionsExecutionDetails.tsx +45 -0
- package/src/pipeline/config/stages/checkPreconditions/checkPreconditionsStage.html +6 -0
- package/src/pipeline/config/stages/checkPreconditions/checkPreconditionsStage.module.ts +12 -0
- package/src/pipeline/config/stages/checkPreconditions/checkPreconditionsStage.ts +31 -0
- package/src/pipeline/config/stages/cloneServerGroup/CloneServerGroupExecutionDetails.tsx +140 -0
- package/src/pipeline/config/stages/cloneServerGroup/cloneServerGroupStage.module.ts +19 -0
- package/src/pipeline/config/stages/common/AsgActionExecutionDetailsSection.tsx +41 -0
- package/src/pipeline/config/stages/common/EditStageJsonModal.tsx +107 -0
- package/src/pipeline/config/stages/common/ExecutionBarLabel.tsx +144 -0
- package/src/pipeline/config/stages/common/ExecutionDetailsSection.tsx +18 -0
- package/src/pipeline/config/stages/common/ExecutionDetailsTasks.tsx +19 -0
- package/src/pipeline/config/stages/common/ExecutionMarkerIcon.tsx +10 -0
- package/src/pipeline/config/stages/common/ExecutionStepDetails.tsx +63 -0
- package/src/pipeline/config/stages/common/IStageConfigProps.ts +12 -0
- package/src/pipeline/config/stages/common/ServerGroupStageContext.tsx +29 -0
- package/src/pipeline/config/stages/common/StepExecutionDetails.tsx +56 -0
- package/src/pipeline/config/stages/common/applySuspendedStatuses.ts +21 -0
- package/src/pipeline/config/stages/common/baseExecutionDetails.controller.ts +44 -0
- package/src/pipeline/config/stages/common/executionStepDetails.component.ts +12 -0
- package/src/pipeline/config/stages/common/executionSummary.html +90 -0
- package/src/pipeline/config/stages/common/index.ts +9 -0
- package/src/pipeline/config/stages/common/stage.common.module.ts +8 -0
- package/src/pipeline/config/stages/common/stageConfigField/StageConfigField.tsx +22 -0
- package/src/pipeline/config/stages/common/stageConfigField/stageConfigField.directive.html +9 -0
- package/src/pipeline/config/stages/common/stageConfigField/stageConfigField.directive.js +35 -0
- package/src/pipeline/config/stages/common/stageConfigField/stageConfigField.directive.less +9 -0
- package/src/pipeline/config/stages/common/stageConfigField/stageConfigField.directive.spec.js +53 -0
- package/src/pipeline/config/stages/common/stepLabel.html +1 -0
- package/src/pipeline/config/stages/concourse/ConcourseExecutionDetails.tsx +39 -0
- package/src/pipeline/config/stages/concourse/ConcourseStageConfig.tsx +178 -0
- package/src/pipeline/config/stages/concourse/concourseStage.ts +21 -0
- package/src/pipeline/config/stages/createLoadBalancer/createLoadBalancerExecutionDetails.controller.ts +64 -0
- package/src/pipeline/config/stages/createLoadBalancer/createLoadBalancerExecutionDetails.html +53 -0
- package/src/pipeline/config/stages/createLoadBalancer/createLoadBalancerStage.html +46 -0
- package/src/pipeline/config/stages/createLoadBalancer/createLoadBalancerStage.js +87 -0
- package/src/pipeline/config/stages/createLoadBalancer/createLoadBalancerStage.module.ts +11 -0
- package/src/pipeline/config/stages/deploy/clusterName.filter.ts +16 -0
- package/src/pipeline/config/stages/deploy/deployExecutionDetails.controller.js +183 -0
- package/src/pipeline/config/stages/deploy/deployExecutionDetails.controller.spec.js +224 -0
- package/src/pipeline/config/stages/deploy/deployExecutionDetails.html +111 -0
- package/src/pipeline/config/stages/deploy/deployStage.html +93 -0
- package/src/pipeline/config/stages/deploy/deployStage.js +252 -0
- package/src/pipeline/config/stages/deploy/deployStage.less +13 -0
- package/src/pipeline/config/stages/deploy/deployStage.module.js +27 -0
- package/src/pipeline/config/stages/deploy/deployStage.transformer.js +63 -0
- package/src/pipeline/config/stages/deployService/DeployServiceExecutionDetails.tsx +34 -0
- package/src/pipeline/config/stages/deployService/deployServiceStage.ts +12 -0
- package/src/pipeline/config/stages/destroyAsg/DestroyAsgExecutionDetails.tsx +14 -0
- package/src/pipeline/config/stages/destroyAsg/destroyAsgStage.ts +18 -0
- package/src/pipeline/config/stages/destroyService/DestroyServiceExecutionDetails.tsx +34 -0
- package/src/pipeline/config/stages/destroyService/destroyServiceStage.ts +12 -0
- package/src/pipeline/config/stages/disableAsg/DisableAsgExecutionDetails.tsx +14 -0
- package/src/pipeline/config/stages/disableAsg/disableAsgStage.module.ts +18 -0
- package/src/pipeline/config/stages/disableCluster/DisableClusterExecutionDetails.tsx +41 -0
- package/src/pipeline/config/stages/disableCluster/disableClusterStage.ts +17 -0
- package/src/pipeline/config/stages/enableAsg/EnableAsgExecutionDetails.tsx +14 -0
- package/src/pipeline/config/stages/enableAsg/enableAsgStage.ts +18 -0
- package/src/pipeline/config/stages/entityTags/ApplyEntityTagsExecutionDetails.tsx +74 -0
- package/src/pipeline/config/stages/entityTags/ApplyEntityTagsStageConfig.tsx +130 -0
- package/src/pipeline/config/stages/entityTags/TagEditor.less +4 -0
- package/src/pipeline/config/stages/entityTags/TagEditor.tsx +160 -0
- package/src/pipeline/config/stages/entityTags/applyEntityTagsStage.ts +17 -0
- package/src/pipeline/config/stages/evaluateVariables/EvaluateVariablesExecutionDetails.tsx +49 -0
- package/src/pipeline/config/stages/evaluateVariables/EvaluateVariablesStageConfig.less +18 -0
- package/src/pipeline/config/stages/evaluateVariables/EvaluateVariablesStageConfig.tsx +232 -0
- package/src/pipeline/config/stages/evaluateVariables/ExecutionAndStagePicker.tsx +160 -0
- package/src/pipeline/config/stages/evaluateVariables/evaluateVariablesStage.ts +17 -0
- package/src/pipeline/config/stages/executionWindows/ExecutionWindowActions.tsx +122 -0
- package/src/pipeline/config/stages/executionWindows/ExecutionWindowDayPicker.tsx +74 -0
- package/src/pipeline/config/stages/executionWindows/ExecutionWindowExecutionDetails.tsx +22 -0
- package/src/pipeline/config/stages/executionWindows/ExecutionWindows.tsx +401 -0
- package/src/pipeline/config/stages/executionWindows/daysOfWeek.ts +37 -0
- package/src/pipeline/config/stages/executionWindows/executionWindows.html +172 -0
- package/src/pipeline/config/stages/executionWindows/executionWindows.less +106 -0
- package/src/pipeline/config/stages/executionWindows/executionWindows.module.ts +16 -0
- package/src/pipeline/config/stages/executionWindows/executionWindows.transformer.ts +10 -0
- package/src/pipeline/config/stages/executionWindows/executionWindowsConfig.ts +30 -0
- package/src/pipeline/config/stages/executionWindows/executionWindowsStage.ts +14 -0
- package/src/pipeline/config/stages/failOnFailedExpressions/failOnFailedExpressions.directive.html +16 -0
- package/src/pipeline/config/stages/failOnFailedExpressions/failOnFailedExpressions.directive.js +16 -0
- package/src/pipeline/config/stages/findAmi/FindAmiExecutionDetails.tsx +59 -0
- package/src/pipeline/config/stages/findAmi/findAmiStage.ts +23 -0
- package/src/pipeline/config/stages/findArtifactFromExecution/FindArtifactFromExecutionExecutionDetails.tsx +40 -0
- package/src/pipeline/config/stages/findArtifactFromExecution/findArtifactFromExecution.controller.spec.ts +112 -0
- package/src/pipeline/config/stages/findArtifactFromExecution/findArtifactFromExecution.controller.ts +83 -0
- package/src/pipeline/config/stages/findArtifactFromExecution/findArtifactFromExecutionConfig.html +44 -0
- package/src/pipeline/config/stages/findArtifactFromExecution/findArtifactFromExecutionStage.ts +32 -0
- package/src/pipeline/config/stages/findImageFromTags/findImageFromTagsStage.js +16 -0
- package/src/pipeline/config/stages/findImageFromTags/findImageFromTagsStage.module.js +16 -0
- package/src/pipeline/config/stages/googleCloudBuild/GoogleCloudBuildExecutionDetails.tsx +44 -0
- package/src/pipeline/config/stages/googleCloudBuild/GoogleCloudBuildStageConfig.tsx +31 -0
- package/src/pipeline/config/stages/googleCloudBuild/GoogleCloudBuildStageForm.tsx +208 -0
- package/src/pipeline/config/stages/googleCloudBuild/IGoogleCloudBuildStage.ts +30 -0
- package/src/pipeline/config/stages/googleCloudBuild/googleCloudBuildStage.ts +18 -0
- package/src/pipeline/config/stages/googleCloudBuild/googleCloudBuildValidators.ts +20 -0
- package/src/pipeline/config/stages/gremlin/GremlinExecutionDetails.tsx +20 -0
- package/src/pipeline/config/stages/gremlin/GremlinStageConfig.tsx +246 -0
- package/src/pipeline/config/stages/gremlin/gremlinStage.ts +18 -0
- package/src/pipeline/config/stages/group/GroupExecutionLabel.tsx +38 -0
- package/src/pipeline/config/stages/group/GroupExecutionPopover.tsx +84 -0
- package/src/pipeline/config/stages/group/GroupMarkerIcon.tsx +14 -0
- package/src/pipeline/config/stages/group/groupStage.html +1 -0
- package/src/pipeline/config/stages/group/groupStage.less +70 -0
- package/src/pipeline/config/stages/group/groupStage.module.ts +6 -0
- package/src/pipeline/config/stages/group/groupStage.ts +27 -0
- package/src/pipeline/config/stages/jenkins/JenkinsExecutionLabel.tsx +32 -0
- package/src/pipeline/config/stages/jenkins/jenkinsExecutionDetails.controller.js +54 -0
- package/src/pipeline/config/stages/jenkins/jenkinsExecutionDetails.controller.spec.js +70 -0
- package/src/pipeline/config/stages/jenkins/jenkinsExecutionDetails.html +82 -0
- package/src/pipeline/config/stages/jenkins/jenkinsStage.controller.spec.js +142 -0
- package/src/pipeline/config/stages/jenkins/jenkinsStage.html +227 -0
- package/src/pipeline/config/stages/jenkins/jenkinsStage.js +165 -0
- package/src/pipeline/config/stages/jenkins/jenkinsStage.module.js +19 -0
- package/src/pipeline/config/stages/managed/ImportDeliveryConfigExecutionDetails.tsx +111 -0
- package/src/pipeline/config/stages/managed/ImportDeliveryConfigStageConfig.tsx +30 -0
- package/src/pipeline/config/stages/managed/importDeliveryConfigStage.ts +29 -0
- package/src/pipeline/config/stages/manualJudgment/ManualJudgmentApproval.tsx +185 -0
- package/src/pipeline/config/stages/manualJudgment/ManualJudgmentExecutionDetails.tsx +57 -0
- package/src/pipeline/config/stages/manualJudgment/ManualJudgmentExecutionLabel.tsx +45 -0
- package/src/pipeline/config/stages/manualJudgment/ManualJudgmentMarkerIcon.tsx +15 -0
- package/src/pipeline/config/stages/manualJudgment/manualJudgment.service.spec.ts +105 -0
- package/src/pipeline/config/stages/manualJudgment/manualJudgment.service.ts +31 -0
- package/src/pipeline/config/stages/manualJudgment/manualJudgmentExecutionDetails.less +9 -0
- package/src/pipeline/config/stages/manualJudgment/manualJudgmentStage.html +80 -0
- package/src/pipeline/config/stages/manualJudgment/manualJudgmentStage.js +82 -0
- package/src/pipeline/config/stages/manualJudgment/manualJudgmentStage.module.ts +17 -0
- package/src/pipeline/config/stages/monitorPipeline/MonitorPipelineStageExecutionDetails.tsx +78 -0
- package/src/pipeline/config/stages/monitorPipeline/monitorPipelineStage.js +21 -0
- package/src/pipeline/config/stages/monitorPipeline/monitorPipelineStage.module.js +12 -0
- package/src/pipeline/config/stages/monitoreddeploy/DeploymentMonitorExecutionDetails.tsx +148 -0
- package/src/pipeline/config/stages/monitoreddeploy/DeploymentMonitorReader.ts +13 -0
- package/src/pipeline/config/stages/monitoreddeploy/evaluateHealthStage.ts +14 -0
- package/src/pipeline/config/stages/monitoreddeploy/notifyDeployStartingStage.ts +14 -0
- package/src/pipeline/config/stages/optionalStage/optionalStage.directive.html +24 -0
- package/src/pipeline/config/stages/optionalStage/optionalStage.directive.js +37 -0
- package/src/pipeline/config/stages/overrideFailure/OverrideFailure.tsx +93 -0
- package/src/pipeline/config/stages/overrideFailure/overrideFailure.less +5 -0
- package/src/pipeline/config/stages/overrideFailure/overrideFailure.module.ts +16 -0
- package/src/pipeline/config/stages/overrideTimeout/OverrideTimeout.tsx +151 -0
- package/src/pipeline/config/stages/overrideTimeout/overrideTimeout.module.ts +15 -0
- package/src/pipeline/config/stages/pipeline/PipelineParametersExecutionDetails.tsx +40 -0
- package/src/pipeline/config/stages/pipeline/PipelineStageExecutionDetails.tsx +69 -0
- package/src/pipeline/config/stages/pipeline/pipelineStage.html +125 -0
- package/src/pipeline/config/stages/pipeline/pipelineStage.js +183 -0
- package/src/pipeline/config/stages/pipeline/pipelineStage.module.js +9 -0
- package/src/pipeline/config/stages/preconfiguredJob/PreconfiguredJobExecutionDetails.tsx +130 -0
- package/src/pipeline/config/stages/preconfiguredJob/PreconfiguredJobStageConfig.tsx +29 -0
- package/src/pipeline/config/stages/preconfiguredJob/index.ts +4 -0
- package/src/pipeline/config/stages/preconfiguredJob/preconfiguredJob.reader.ts +26 -0
- package/src/pipeline/config/stages/preconfiguredJob/preconfiguredJobStage.module.ts +14 -0
- package/src/pipeline/config/stages/preconfiguredJob/preconfiguredJobStage.ts +50 -0
- package/src/pipeline/config/stages/producesArtifacts/ProducesArtifacts.tsx +91 -0
- package/src/pipeline/config/stages/resizeAsg/resizeAsgExecutionDetails.html +38 -0
- package/src/pipeline/config/stages/resizeAsg/resizeAsgStage.ts +17 -0
- package/src/pipeline/config/stages/rollbackCluster/RollbackClusterExecutionDetails.tsx +62 -0
- package/src/pipeline/config/stages/rollbackCluster/rollbackClusterStage.ts +16 -0
- package/src/pipeline/config/stages/runJob/runJobStage.js +16 -0
- package/src/pipeline/config/stages/runJob/runJobStage.module.js +9 -0
- package/src/pipeline/config/stages/savePipelines/PipleineRefList.tsx +40 -0
- package/src/pipeline/config/stages/savePipelines/SavePipelinesResultsTab.tsx +22 -0
- package/src/pipeline/config/stages/savePipelines/SavePipelinesStageConfig.tsx +30 -0
- package/src/pipeline/config/stages/savePipelines/savePipelinesStage.ts +17 -0
- package/src/pipeline/config/stages/scaleDownCluster/ScaleDownClusterExecutionDetails.tsx +43 -0
- package/src/pipeline/config/stages/scaleDownCluster/scaleDownClusterStage.ts +17 -0
- package/src/pipeline/config/stages/script/ScriptExecutionDetails.tsx +79 -0
- package/src/pipeline/config/stages/script/ScriptStageConfig.tsx +97 -0
- package/src/pipeline/config/stages/script/scriptStage.ts +29 -0
- package/src/pipeline/config/stages/shareService/ShareServiceExecutionDetails.tsx +34 -0
- package/src/pipeline/config/stages/shareService/shareServiceStage.ts +12 -0
- package/src/pipeline/config/stages/shrinkCluster/ShrinkClusterExecutionDetails.tsx +43 -0
- package/src/pipeline/config/stages/shrinkCluster/shrinkClusterStage.ts +18 -0
- package/src/pipeline/config/stages/stage.html +163 -0
- package/src/pipeline/config/stages/stage.module.js +403 -0
- package/src/pipeline/config/stages/stageConstants.ts +101 -0
- package/src/pipeline/config/stages/tagImage/tagImageStage.js +15 -0
- package/src/pipeline/config/stages/tagImage/tagImageStage.module.js +15 -0
- package/src/pipeline/config/stages/templates/index.ts +3 -0
- package/src/pipeline/config/stages/travis/TravisExecutionLabel.tsx +32 -0
- package/src/pipeline/config/stages/travis/modal/addParameter.controller.modal.ts +19 -0
- package/src/pipeline/config/stages/travis/modal/addParameter.html +48 -0
- package/src/pipeline/config/stages/travis/travisExecutionDetails.controller.spec.ts +76 -0
- package/src/pipeline/config/stages/travis/travisExecutionDetails.controller.ts +56 -0
- package/src/pipeline/config/stages/travis/travisExecutionDetails.html +67 -0
- package/src/pipeline/config/stages/travis/travisStage.controller.spec.ts +148 -0
- package/src/pipeline/config/stages/travis/travisStage.html +156 -0
- package/src/pipeline/config/stages/travis/travisStage.module.ts +18 -0
- package/src/pipeline/config/stages/travis/travisStage.ts +182 -0
- package/src/pipeline/config/stages/unmatchedStageTypeStage/unmatchedStageTypeStage.controller.spec.ts +76 -0
- package/src/pipeline/config/stages/unmatchedStageTypeStage/unmatchedStageTypeStage.controller.ts +81 -0
- package/src/pipeline/config/stages/unmatchedStageTypeStage/unmatchedStageTypeStage.html +21 -0
- package/src/pipeline/config/stages/unmatchedStageTypeStage/unmatchedStageTypeStage.ts +14 -0
- package/src/pipeline/config/stages/unshareService/UnshareServiceExecutionDetails.tsx +34 -0
- package/src/pipeline/config/stages/unshareService/unshareServiceStage.ts +12 -0
- package/src/pipeline/config/stages/wait/SkipWait.tsx +95 -0
- package/src/pipeline/config/stages/wait/WaitExecutionDetails.tsx +22 -0
- package/src/pipeline/config/stages/wait/WaitExecutionLabel.tsx +43 -0
- package/src/pipeline/config/stages/wait/WaitStageConfig.tsx +105 -0
- package/src/pipeline/config/stages/wait/waitStage.ts +18 -0
- package/src/pipeline/config/stages/waitForCondition/SkipConditionWait.tsx +73 -0
- package/src/pipeline/config/stages/waitForCondition/WaitForConditionExecutionDetails.tsx +22 -0
- package/src/pipeline/config/stages/waitForCondition/waitForCondition.transformer.ts +10 -0
- package/src/pipeline/config/stages/waitForCondition/waitForConditionStage.ts +14 -0
- package/src/pipeline/config/stages/waitForParentTasks/waitForParentTasks.js +26 -0
- package/src/pipeline/config/stages/waitForParentTasks/waitForParentTasks.transformer.js +51 -0
- package/src/pipeline/config/stages/waitForParentTasks/waitForParentTasksExecutionDetails.html +16 -0
- package/src/pipeline/config/stages/webhook/modal/addCustomHeader.controller.modal.ts +20 -0
- package/src/pipeline/config/stages/webhook/modal/addCustomHeader.html +48 -0
- package/src/pipeline/config/stages/webhook/webhookExecutionDetails.controller.ts +96 -0
- package/src/pipeline/config/stages/webhook/webhookExecutionDetails.html +82 -0
- package/src/pipeline/config/stages/webhook/webhookStage.html +265 -0
- package/src/pipeline/config/stages/webhook/webhookStage.module.ts +18 -0
- package/src/pipeline/config/stages/webhook/webhookStage.ts +240 -0
- package/src/pipeline/config/stages/wercker/WerckerExecutionLabel.tsx +32 -0
- package/src/pipeline/config/stages/wercker/modal/addParameter.controller.modal.ts +19 -0
- package/src/pipeline/config/stages/wercker/modal/addParameter.html +48 -0
- package/src/pipeline/config/stages/wercker/werckerExecutionDetails.controller.spec.ts +79 -0
- package/src/pipeline/config/stages/wercker/werckerExecutionDetails.controller.ts +55 -0
- package/src/pipeline/config/stages/wercker/werckerExecutionDetails.html +79 -0
- package/src/pipeline/config/stages/wercker/werckerStage.controller.spec.ts +152 -0
- package/src/pipeline/config/stages/wercker/werckerStage.html +150 -0
- package/src/pipeline/config/stages/wercker/werckerStage.module.ts +18 -0
- package/src/pipeline/config/stages/wercker/werckerStage.ts +232 -0
- package/src/pipeline/config/targetSelect.component.ts +22 -0
- package/src/pipeline/config/targetSelect.html +7 -0
- package/src/pipeline/config/templates/PipelineTemplateReader.ts +145 -0
- package/src/pipeline/config/templates/PipelineTemplateWriter.ts +26 -0
- package/src/pipeline/config/templates/TemplatePlanErrors.tsx +65 -0
- package/src/pipeline/config/templates/Variable.less +16 -0
- package/src/pipeline/config/templates/Variable.spec.tsx +64 -0
- package/src/pipeline/config/templates/Variable.tsx +37 -0
- package/src/pipeline/config/templates/VariableError.tsx +26 -0
- package/src/pipeline/config/templates/VariableMetadataHelpField.tsx +31 -0
- package/src/pipeline/config/templates/configurePipelineTemplateModal.controller.spec.ts +300 -0
- package/src/pipeline/config/templates/configurePipelineTemplateModal.controller.ts +247 -0
- package/src/pipeline/config/templates/configurePipelineTemplateModal.html +54 -0
- package/src/pipeline/config/templates/index.ts +2 -0
- package/src/pipeline/config/templates/inputs/BooleanInput.tsx +36 -0
- package/src/pipeline/config/templates/inputs/ListInput.tsx +81 -0
- package/src/pipeline/config/templates/inputs/NumberInput.tsx +39 -0
- package/src/pipeline/config/templates/inputs/ObjectInput.tsx +38 -0
- package/src/pipeline/config/templates/inputs/StringInput.tsx +38 -0
- package/src/pipeline/config/templates/inputs/variableInput.service.ts +40 -0
- package/src/pipeline/config/templates/pipelineTemplate.module.ts +23 -0
- package/src/pipeline/config/templates/templatePlanErrors.component.ts +11 -0
- package/src/pipeline/config/templates/v2/ApplicationSelector.tsx +38 -0
- package/src/pipeline/config/templates/v2/DeletePipelineTemplateV2Modal.less +3 -0
- package/src/pipeline/config/templates/v2/DeletePipelineTemplateV2Modal.tsx +73 -0
- package/src/pipeline/config/templates/v2/PipelineTemplatesV2.less +27 -0
- package/src/pipeline/config/templates/v2/PipelineTemplatesV2.tsx +315 -0
- package/src/pipeline/config/templates/v2/configurePipelineTemplateModalV2.controller.spec.ts +305 -0
- package/src/pipeline/config/templates/v2/configurePipelineTemplateModalV2.controller.ts +263 -0
- package/src/pipeline/config/templates/v2/configurePipelineTemplateModalV2.html +54 -0
- package/src/pipeline/config/templates/v2/createPipelineFromTemplate/CreatePipelineFromTemplate.tsx +170 -0
- package/src/pipeline/config/templates/v2/createPipelineFromTemplate/createPipelineFromTemplate.less +3 -0
- package/src/pipeline/config/templates/v2/createPipelineFromTemplate/index.ts +1 -0
- package/src/pipeline/config/templates/v2/pipelineTemplateV2.service.spec.ts +43 -0
- package/src/pipeline/config/templates/v2/pipelineTemplateV2.service.ts +91 -0
- package/src/pipeline/config/templates/v2/pipelineTemplateV2.states.ts +41 -0
- package/src/pipeline/config/templates/validators/list.validator.ts +19 -0
- package/src/pipeline/config/templates/validators/number.validator.ts +21 -0
- package/src/pipeline/config/templates/validators/object.validator.ts +24 -0
- package/src/pipeline/config/templates/validators/string.validator.ts +17 -0
- package/src/pipeline/config/templates/validators/variableValidator.service.ts +24 -0
- package/src/pipeline/config/templates/variable.component.ts +11 -0
- package/src/pipeline/config/triggers/ExecutionOptionsPageContent.spec.tsx +90 -0
- package/src/pipeline/config/triggers/ExecutionOptionsPageContent.tsx +76 -0
- package/src/pipeline/config/triggers/MetadataPageContent.tsx +133 -0
- package/src/pipeline/config/triggers/NotificationsPageContent.tsx +26 -0
- package/src/pipeline/config/triggers/ParametersPageContent.tsx +58 -0
- package/src/pipeline/config/triggers/PipelineRoles.tsx +47 -0
- package/src/pipeline/config/triggers/RefreshableReactSelectInput.tsx +32 -0
- package/src/pipeline/config/triggers/RunAsUser.tsx +26 -0
- package/src/pipeline/config/triggers/Trigger.less +3 -0
- package/src/pipeline/config/triggers/Trigger.tsx +240 -0
- package/src/pipeline/config/triggers/Triggers.tsx +61 -0
- package/src/pipeline/config/triggers/TriggersPageContent.spec.tsx +151 -0
- package/src/pipeline/config/triggers/TriggersPageContent.tsx +212 -0
- package/src/pipeline/config/triggers/TriggersWrapper.tsx +16 -0
- package/src/pipeline/config/triggers/artifactory/ArtifactoryTrigger.tsx +30 -0
- package/src/pipeline/config/triggers/artifactory/artifactory.trigger.ts +12 -0
- package/src/pipeline/config/triggers/artifactory/artifactoryReader.service.ts +7 -0
- package/src/pipeline/config/triggers/artifacts/ArtifactEditor.ts +22 -0
- package/src/pipeline/config/triggers/artifacts/ArtifactService.ts +18 -0
- package/src/pipeline/config/triggers/artifacts/ExpectedArtifact.less +7 -0
- package/src/pipeline/config/triggers/artifacts/TriggerArtifactConstraintSelectorInput.tsx +136 -0
- package/src/pipeline/config/triggers/artifacts/base64/Base64ArtifactEditor.tsx +131 -0
- package/src/pipeline/config/triggers/artifacts/bitbucket/BitbucketArtifactEditor.tsx +80 -0
- package/src/pipeline/config/triggers/artifacts/custom/CustomArtifactEditor.tsx +117 -0
- package/src/pipeline/config/triggers/artifacts/docker/DockerArtifactEditor.tsx +85 -0
- package/src/pipeline/config/triggers/artifacts/docker/defaultDocker.artifact.spec.ts +90 -0
- package/src/pipeline/config/triggers/artifacts/gcs/GcsArtifactEditor.tsx +75 -0
- package/src/pipeline/config/triggers/artifacts/github/GithubArtifactEditor.tsx +83 -0
- package/src/pipeline/config/triggers/artifacts/gitlab/GitlabArtifactEditor.tsx +83 -0
- package/src/pipeline/config/triggers/artifacts/gitrepo/GitRepoArtifactEditor.tsx +109 -0
- package/src/pipeline/config/triggers/artifacts/helm/HelmArtifactEditor.tsx +169 -0
- package/src/pipeline/config/triggers/artifacts/http/HttpArtifactEditor.tsx +26 -0
- package/src/pipeline/config/triggers/artifacts/index.ts +54 -0
- package/src/pipeline/config/triggers/artifacts/ivy/IvyArtifactEditor.tsx +26 -0
- package/src/pipeline/config/triggers/artifacts/jenkins/JenkinsArtifactEditor.tsx +111 -0
- package/src/pipeline/config/triggers/artifacts/kubernetes/KubernetesArtifactEditor.tsx +79 -0
- package/src/pipeline/config/triggers/artifacts/maven/MavenArtifactEditor.tsx +26 -0
- package/src/pipeline/config/triggers/artifacts/oracle/OracleArtifactEditor.tsx +38 -0
- package/src/pipeline/config/triggers/artifacts/s3/S3ArtifactEditor.tsx +38 -0
- package/src/pipeline/config/triggers/artifacts/singleFieldArtifactEditor.tsx +40 -0
- package/src/pipeline/config/triggers/artifacts/triggerArtifactConstraintSelectorInput.less +4 -0
- package/src/pipeline/config/triggers/baseBuild/BaseBuildTrigger.tsx +91 -0
- package/src/pipeline/config/triggers/baseBuild/BaseBuildTriggerTemplate.tsx +196 -0
- package/src/pipeline/config/triggers/cdevents/CDEventsTrigger.tsx +48 -0
- package/src/pipeline/config/triggers/cdevents/cdevents.trigger.ts +19 -0
- package/src/pipeline/config/triggers/concourse/ConcourseTrigger.tsx +120 -0
- package/src/pipeline/config/triggers/concourse/ConcourseTriggerTemplate.tsx +30 -0
- package/src/pipeline/config/triggers/concourse/concourse.service.ts +19 -0
- package/src/pipeline/config/triggers/concourse/concourse.trigger.ts +36 -0
- package/src/pipeline/config/triggers/cron/CronAdvance.tsx +126 -0
- package/src/pipeline/config/triggers/cron/CronDaily.tsx +172 -0
- package/src/pipeline/config/triggers/cron/CronHourly.tsx +84 -0
- package/src/pipeline/config/triggers/cron/CronMinutes.tsx +61 -0
- package/src/pipeline/config/triggers/cron/CronMonthly.tsx +347 -0
- package/src/pipeline/config/triggers/cron/CronTrigger.tsx +101 -0
- package/src/pipeline/config/triggers/cron/CronWeekly.tsx +111 -0
- package/src/pipeline/config/triggers/cron/cron.trigger.ts +21 -0
- package/src/pipeline/config/triggers/cron/cronConfig.ts +6 -0
- package/src/pipeline/config/triggers/cron/cronSelectOptions.ts +62 -0
- package/src/pipeline/config/triggers/cron/cronTrigger.less +20 -0
- package/src/pipeline/config/triggers/cron/cronValidator.service.ts +13 -0
- package/src/pipeline/config/triggers/git/GitTrigger.tsx +126 -0
- package/src/pipeline/config/triggers/git/GitTriggerExecutionStatus.tsx +19 -0
- package/src/pipeline/config/triggers/git/git.trigger.ts +26 -0
- package/src/pipeline/config/triggers/helm/HelmManualTriggerConfig.tsx +40 -0
- package/src/pipeline/config/triggers/helm/HelmTriggerConfig.tsx +18 -0
- package/src/pipeline/config/triggers/helm/HelmTriggerExecutionStatus.tsx +16 -0
- package/src/pipeline/config/triggers/helm/HelmTriggerTemplate.tsx +90 -0
- package/src/pipeline/config/triggers/helm/helm.trigger.ts +38 -0
- package/src/pipeline/config/triggers/index.ts +16 -0
- package/src/pipeline/config/triggers/jenkins/JenkinsTrigger.tsx +11 -0
- package/src/pipeline/config/triggers/jenkins/JenkinsTriggerExecutionStatus.tsx +10 -0
- package/src/pipeline/config/triggers/jenkins/JenkinsTriggerTemplate.tsx +13 -0
- package/src/pipeline/config/triggers/jenkins/jenkins.trigger.ts +30 -0
- package/src/pipeline/config/triggers/nexus/NexusTrigger.tsx +30 -0
- package/src/pipeline/config/triggers/nexus/nexus.trigger.ts +12 -0
- package/src/pipeline/config/triggers/nexus/nexusReader.service.ts +7 -0
- package/src/pipeline/config/triggers/pipeline/PipelineTrigger.tsx +88 -0
- package/src/pipeline/config/triggers/pipeline/PipelineTriggerTemplate.tsx +201 -0
- package/src/pipeline/config/triggers/pipeline/pipeline.trigger.ts +18 -0
- package/src/pipeline/config/triggers/plugin/PluginTrigger.tsx +32 -0
- package/src/pipeline/config/triggers/plugin/plugin.trigger.ts +9 -0
- package/src/pipeline/config/triggers/pubsub/PubsubTrigger.tsx +77 -0
- package/src/pipeline/config/triggers/pubsub/pubsub.trigger.ts +12 -0
- package/src/pipeline/config/triggers/travis/TravisTrigger.tsx +34 -0
- package/src/pipeline/config/triggers/travis/TravisTriggerTemplate.tsx +13 -0
- package/src/pipeline/config/triggers/travis/travis.trigger.ts +27 -0
- package/src/pipeline/config/triggers/triggers.module.ts +17 -0
- package/src/pipeline/config/triggers/webhook/WebhookTrigger.tsx +41 -0
- package/src/pipeline/config/triggers/webhook/webhook.trigger.ts +19 -0
- package/src/pipeline/config/triggers/wercker/WerckerTrigger.tsx +122 -0
- package/src/pipeline/config/triggers/wercker/WerckerTriggerTemplate.tsx +13 -0
- package/src/pipeline/config/triggers/wercker/wercker.trigger.ts +28 -0
- package/src/pipeline/config/validation/PipelineConfigValidator.ts +215 -0
- package/src/pipeline/config/validation/anyFieldRequired.validator.ts +38 -0
- package/src/pipeline/config/validation/baseRequiredField.validator.ts +54 -0
- package/src/pipeline/config/validation/imageProviderBeforeType.validator.ts +46 -0
- package/src/pipeline/config/validation/pipelineConfig.validator.spec.ts +883 -0
- package/src/pipeline/config/validation/repositoryInformationProvided.validator.ts +3 -0
- package/src/pipeline/config/validation/requiredField.validator.ts +27 -0
- package/src/pipeline/config/validation/serviceAccountAccess.validator.ts +36 -0
- package/src/pipeline/config/validation/stageBeforeType.validator.ts +32 -0
- package/src/pipeline/config/validation/stageOrTriggerBeforeType.validator.ts +80 -0
- package/src/pipeline/config/validation/targetImpedance.validator.ts +63 -0
- package/src/pipeline/config/validation/upstreamHasFlagValidator.builder.ts +42 -0
- package/src/pipeline/config/validation/upstreamVersionProvided.validator.ts +3 -0
- package/src/pipeline/config/warnings.popover.html +18 -0
- package/src/pipeline/create/CreatePipelineButton.tsx +73 -0
- package/src/pipeline/create/CreatePipelineModal.spec.tsx +265 -0
- package/src/pipeline/create/CreatePipelineModal.tsx +572 -0
- package/src/pipeline/create/ManagedTemplateSelector.tsx +54 -0
- package/src/pipeline/create/TemplateDescription.less +13 -0
- package/src/pipeline/create/TemplateDescription.tsx +58 -0
- package/src/pipeline/create/createPipelineModal.less +10 -0
- package/src/pipeline/create/index.ts +1 -0
- package/src/pipeline/details/ExecutionDetailsSectionNav.tsx +70 -0
- package/src/pipeline/details/SingleExecutionDetails.tsx +241 -0
- package/src/pipeline/details/StageExecutionDetails.tsx +239 -0
- package/src/pipeline/details/StageExecutionLogs.tsx +25 -0
- package/src/pipeline/details/StageFailureMessage.tsx +139 -0
- package/src/pipeline/details/StageSummary.tsx +43 -0
- package/src/pipeline/details/StageSummaryWrapper.tsx +10 -0
- package/src/pipeline/details/StepDetails.tsx +77 -0
- package/src/pipeline/details/StepExecutionDetailsWrapper.tsx +10 -0
- package/src/pipeline/details/defaultExecutionDetails.html +7 -0
- package/src/pipeline/details/executionDetailsSection.service.spec.ts +103 -0
- package/src/pipeline/details/executionDetailsSection.service.ts +47 -0
- package/src/pipeline/details/executionDetailsSectionNav.component.ts +11 -0
- package/src/pipeline/details/index.ts +5 -0
- package/src/pipeline/details/singleExecutionDetails.less +3 -0
- package/src/pipeline/details/stageExecutionDetails.less +191 -0
- package/src/pipeline/details/stageFailureMessage.component.ts +11 -0
- package/src/pipeline/details/stageSummary.component.ts +163 -0
- package/src/pipeline/details/stepExecutionDetails.component.ts +52 -0
- package/src/pipeline/executionBuild/ExecutionBuildLink.less +3 -0
- package/src/pipeline/executionBuild/ExecutionBuildLink.tsx +69 -0
- package/src/pipeline/executionBuild/ExecutionBuildTitle.tsx +45 -0
- package/src/pipeline/executionBuild/buildDisplayName.filter.ts +21 -0
- package/src/pipeline/executions/ExecutionNotFound.tsx +9 -0
- package/src/pipeline/executions/Executions.spec.tsx +64 -0
- package/src/pipeline/executions/Executions.tsx +464 -0
- package/src/pipeline/executions/execution/Execution.tsx +544 -0
- package/src/pipeline/executions/execution/ExecutionBreadcrumbs.tsx +62 -0
- package/src/pipeline/executions/execution/ExecutionMarker.tsx +182 -0
- package/src/pipeline/executions/execution/ExecutionMarkerInformationModal.tsx +375 -0
- package/src/pipeline/executions/execution/ExecutionPermalink.tsx +36 -0
- package/src/pipeline/executions/execution/OrchestratedItemRunningTime.ts +34 -0
- package/src/pipeline/executions/execution/execution.less +142 -0
- package/src/pipeline/executions/execution/executionInformation.service.ts +72 -0
- package/src/pipeline/executions/execution/executionMarker.less +56 -0
- package/src/pipeline/executions/execution/executionMarkerInformationModal.less +122 -0
- package/src/pipeline/executions/executionAction/ExecutionAction.spec.tsx +28 -0
- package/src/pipeline/executions/executionAction/ExecutionAction.tsx +41 -0
- package/src/pipeline/executions/executionGroup/ExecutionGroup.tsx +415 -0
- package/src/pipeline/executions/executionGroup/ExecutionGroups.tsx +116 -0
- package/src/pipeline/executions/executionGroup/MigrationTag.tsx +10 -0
- package/src/pipeline/executions/executionGroup/executionGroup.less +138 -0
- package/src/pipeline/executions/executionGroup/executionGroups.less +5 -0
- package/src/pipeline/executions/executions.less +184 -0
- package/src/pipeline/filter/ExecutionFilterModel.ts +133 -0
- package/src/pipeline/filter/ExecutionFilters.tsx +481 -0
- package/src/pipeline/filter/executionFilter.service.spec.ts +27 -0
- package/src/pipeline/filter/executionFilter.service.ts +421 -0
- package/src/pipeline/filter/executionFilters.less +46 -0
- package/src/pipeline/index.ts +27 -0
- package/src/pipeline/manualExecution/CurrentlyRunningExecutions.tsx +42 -0
- package/src/pipeline/manualExecution/DryRun.tsx +13 -0
- package/src/pipeline/manualExecution/ManualPipelineExecutionModal.tsx +457 -0
- package/src/pipeline/manualExecution/NotificationDetails.tsx +101 -0
- package/src/pipeline/manualExecution/Parameters.tsx +98 -0
- package/src/pipeline/manualExecution/PipelineOptions.tsx +130 -0
- package/src/pipeline/manualExecution/StageManualComponents.tsx +19 -0
- package/src/pipeline/manualExecution/TriggerTemplate.tsx +20 -0
- package/src/pipeline/manualExecution/Triggers.tsx +103 -0
- package/src/pipeline/manualExecution/index.ts +1 -0
- package/src/pipeline/manualExecution/layout/ManualExecutionFieldLayout.tsx +30 -0
- package/src/pipeline/manualExecution/manualPipelineExecution.less +32 -0
- package/src/pipeline/pipeline.dataSource.js +108 -0
- package/src/pipeline/pipeline.dataSource.spec.ts +168 -0
- package/src/pipeline/pipeline.less +84 -0
- package/src/pipeline/pipeline.module.ts +128 -0
- package/src/pipeline/pipeline.states.ts +138 -0
- package/src/pipeline/service/ExecutionsTransformer.spec.ts +416 -0
- package/src/pipeline/service/ExecutionsTransformer.ts +504 -0
- package/src/pipeline/service/execution.service.spec.ts +491 -0
- package/src/pipeline/service/execution.service.ts +567 -0
- package/src/pipeline/status/Artifact.spec.tsx +78 -0
- package/src/pipeline/status/Artifact.tsx +59 -0
- package/src/pipeline/status/ArtifactList.spec.tsx +49 -0
- package/src/pipeline/status/ArtifactList.tsx +35 -0
- package/src/pipeline/status/ExecutionCancellationReason.tsx +22 -0
- package/src/pipeline/status/ExecutionParameters.spec.tsx +82 -0
- package/src/pipeline/status/ExecutionParameters.tsx +77 -0
- package/src/pipeline/status/ExecutionStatus.tsx +114 -0
- package/src/pipeline/status/ExecutionUserStatus.tsx +12 -0
- package/src/pipeline/status/ParametersAndArtifacts.tsx +141 -0
- package/src/pipeline/status/ResolvedArtifactList.spec.tsx +137 -0
- package/src/pipeline/status/ResolvedArtifactList.tsx +79 -0
- package/src/pipeline/status/artifact.less +37 -0
- package/src/pipeline/status/artifactList.component.ts +11 -0
- package/src/pipeline/status/artifactList.less +47 -0
- package/src/pipeline/status/executionCancellationReason.less +3 -0
- package/src/pipeline/status/executionParameters.less +43 -0
- package/src/pipeline/status/executionStatus.less +38 -0
- package/src/pipeline/triggers/NextRunTag.tsx +70 -0
- package/src/pipeline/triggers/QuietPeriodBadge.tsx +43 -0
- package/src/pipeline/triggers/TriggersTag.tsx +49 -0
- package/src/pipeline/triggers/useQuietPeriod.hook.ts +43 -0
- package/src/plugins/deck.plugin.spec.ts +64 -0
- package/src/plugins/deck.plugin.ts +44 -0
- package/src/plugins/index.ts +3 -0
- package/src/plugins/plugin.module.ts +36 -0
- package/src/plugins/plugin.registry.spec.ts +166 -0
- package/src/plugins/plugin.registry.ts +173 -0
- package/src/plugins/sharedLibraries.ts +49 -0
- package/src/presentation/CollapsibleElement.less +41 -0
- package/src/presentation/CollapsibleElement.tsx +42 -0
- package/src/presentation/CustomLabels.ts +17 -0
- package/src/presentation/FormElements.tsx +38 -0
- package/src/presentation/HoverablePopover.css +4 -0
- package/src/presentation/HoverablePopover.tsx +254 -0
- package/src/presentation/IconTooltip.tsx +24 -0
- package/src/presentation/LabelComponent.tsx +18 -0
- package/src/presentation/LinkWithClipboard.tsx +17 -0
- package/src/presentation/LoadingAnimation.tsx +9 -0
- package/src/presentation/Markdown.less +13 -0
- package/src/presentation/Markdown.tsx +56 -0
- package/src/presentation/Placement.ts +1 -0
- package/src/presentation/Popover.tsx +45 -0
- package/src/presentation/ReactModal.tsx +78 -0
- package/src/presentation/RenderOutputFile.tsx +28 -0
- package/src/presentation/SpanDropdownTrigger.tsx +27 -0
- package/src/presentation/SpinErrorBoundary.tsx +108 -0
- package/src/presentation/TabBoundary.tsx +46 -0
- package/src/presentation/TetheredCreatable.tsx +37 -0
- package/src/presentation/TetheredSelect.tsx +37 -0
- package/src/presentation/ToggleButtonGroup.tsx +67 -0
- package/src/presentation/Tooltip.tsx +68 -0
- package/src/presentation/WatchValue.tsx +41 -0
- package/src/presentation/anyFieldFilter/anyField.filter.ts +44 -0
- package/src/presentation/autoScroll/autoScroll.directive.spec.js +181 -0
- package/src/presentation/autoScroll/autoScroll.directive.ts +79 -0
- package/src/presentation/collapsibleSection/CollapsibleSection.tsx +123 -0
- package/src/presentation/collapsibleSection/collapsibleSection.directive.html +12 -0
- package/src/presentation/collapsibleSection/collapsibleSection.directive.js +57 -0
- package/src/presentation/details/Details.tsx +54 -0
- package/src/presentation/details.less +197 -0
- package/src/presentation/domPurifyOpenLinksInNewWindow.ts +19 -0
- package/src/presentation/flex-layout.less +164 -0
- package/src/presentation/forms/FormikForm.tsx +31 -0
- package/src/presentation/forms/README.md +237 -0
- package/src/presentation/forms/SpinFormik.spec.tsx +24 -0
- package/src/presentation/forms/SpinFormik.tsx +52 -0
- package/src/presentation/forms/fields/FormField.tsx +79 -0
- package/src/presentation/forms/fields/FormikExpressionField.tsx +56 -0
- package/src/presentation/forms/fields/FormikExpressionRegexField.tsx +161 -0
- package/src/presentation/forms/fields/FormikFormField.spec.tsx +210 -0
- package/src/presentation/forms/fields/FormikFormField.tsx +186 -0
- package/src/presentation/forms/fields/index.ts +7 -0
- package/src/presentation/forms/fields/interface.ts +47 -0
- package/src/presentation/forms/fields/renderContent.tsx +18 -0
- package/src/presentation/forms/forms.less +186 -0
- package/src/presentation/forms/hooks/index.ts +2 -0
- package/src/presentation/forms/hooks/useFormInputValueMapper.hook.ts +44 -0
- package/src/presentation/forms/hooks/useSaveRestoreMutuallyExclusiveFields.hook.spec.tsx +199 -0
- package/src/presentation/forms/hooks/useSaveRestoreMutuallyExclusiveFields.hook.ts +102 -0
- package/src/presentation/forms/index.ts +7 -0
- package/src/presentation/forms/inputs/CheckboxInput.tsx +29 -0
- package/src/presentation/forms/inputs/ChecklistInput.less +26 -0
- package/src/presentation/forms/inputs/ChecklistInput.spec.tsx +126 -0
- package/src/presentation/forms/inputs/ChecklistInput.tsx +81 -0
- package/src/presentation/forms/inputs/DayPickerInput.less +4 -0
- package/src/presentation/forms/inputs/DayPickerInput.tsx +32 -0
- package/src/presentation/forms/inputs/JsonEditor.tsx +65 -0
- package/src/presentation/forms/inputs/NumberInput.css +3 -0
- package/src/presentation/forms/inputs/NumberInput.tsx +31 -0
- package/src/presentation/forms/inputs/RadioButtonInput.spec.tsx +62 -0
- package/src/presentation/forms/inputs/RadioButtonInput.tsx +68 -0
- package/src/presentation/forms/inputs/ReactSelectInput.tsx +124 -0
- package/src/presentation/forms/inputs/SelectInput.spec.tsx +64 -0
- package/src/presentation/forms/inputs/SelectInput.tsx +51 -0
- package/src/presentation/forms/inputs/StringsAsOptions.tsx +37 -0
- package/src/presentation/forms/inputs/TextAreaInput.tsx +16 -0
- package/src/presentation/forms/inputs/TextInput.tsx +30 -0
- package/src/presentation/forms/inputs/aceEditor.less +10 -0
- package/src/presentation/forms/inputs/expression/ExpressionError.tsx +52 -0
- package/src/presentation/forms/inputs/expression/ExpressionInput.tsx +29 -0
- package/src/presentation/forms/inputs/expression/ExpressionPreview.tsx +15 -0
- package/src/presentation/forms/inputs/expression/evaluateExpression.ts +53 -0
- package/src/presentation/forms/inputs/expression/index.ts +7 -0
- package/src/presentation/forms/inputs/expression/spel2js.d.ts +26 -0
- package/src/presentation/forms/inputs/expression/spel2js.templateParser.ts +265 -0
- package/src/presentation/forms/inputs/hooks/index.ts +1 -0
- package/src/presentation/forms/inputs/hooks/useInternalValidator.hook.spec.tsx +130 -0
- package/src/presentation/forms/inputs/hooks/useInternalValidator.hook.ts +27 -0
- package/src/presentation/forms/inputs/index.ts +15 -0
- package/src/presentation/forms/inputs/interface.ts +37 -0
- package/src/presentation/forms/inputs/utils.ts +25 -0
- package/src/presentation/forms/layouts/LayoutContext.tsx +7 -0
- package/src/presentation/forms/layouts/ResponsiveFieldLayout.tsx +41 -0
- package/src/presentation/forms/layouts/StandardFieldLayout.css +11 -0
- package/src/presentation/forms/layouts/StandardFieldLayout.tsx +34 -0
- package/src/presentation/forms/layouts/index.ts +4 -0
- package/src/presentation/forms/layouts/interface.ts +13 -0
- package/src/presentation/forms/stories/FormikIntro.stories.mdx +116 -0
- package/src/presentation/forms/stories/SpinFormik.stories.tsx +167 -0
- package/src/presentation/forms/stories/SpinFormikStoriesHelper.tsx +68 -0
- package/src/presentation/forms/validation/FormValidator.spec.ts +380 -0
- package/src/presentation/forms/validation/FormValidator.ts +162 -0
- package/src/presentation/forms/validation/FormValidatorField.ts +44 -0
- package/src/presentation/forms/validation/ValidationMessage.less +42 -0
- package/src/presentation/forms/validation/ValidationMessage.tsx +52 -0
- package/src/presentation/forms/validation/categories.spec.ts +178 -0
- package/src/presentation/forms/validation/categories.ts +79 -0
- package/src/presentation/forms/validation/index.ts +7 -0
- package/src/presentation/forms/validation/useValidationData.spec.tsx +176 -0
- package/src/presentation/forms/validation/useValidationData.ts +40 -0
- package/src/presentation/forms/validation/validation.ts +70 -0
- package/src/presentation/forms/validation/validators.spec.ts +63 -0
- package/src/presentation/forms/validation/validators.ts +181 -0
- package/src/presentation/hooks/index.ts +19 -0
- package/src/presentation/hooks/useApplicationContext.hook.ts +19 -0
- package/src/presentation/hooks/useContainerClassNames.hook.spec.tsx +76 -0
- package/src/presentation/hooks/useContainerClassNames.hook.ts +43 -0
- package/src/presentation/hooks/useData.hook.spec.tsx +124 -0
- package/src/presentation/hooks/useData.hook.ts +32 -0
- package/src/presentation/hooks/useDataSource.hook.ts +31 -0
- package/src/presentation/hooks/useDataWithRefresh.hook.ts +39 -0
- package/src/presentation/hooks/useDebouncedValue.hook.spec.tsx +125 -0
- package/src/presentation/hooks/useDebouncedValue.hook.ts +18 -0
- package/src/presentation/hooks/useDeepObjectDiff.hook.spec.tsx +26 -0
- package/src/presentation/hooks/useDeepObjectDiff.hook.ts +15 -0
- package/src/presentation/hooks/useDimensions.hook.ts +38 -0
- package/src/presentation/hooks/useEscapeKeyCallback.hook.ts +5 -0
- package/src/presentation/hooks/useEventListener.hook.spec.tsx +177 -0
- package/src/presentation/hooks/useEventListener.hook.ts +33 -0
- package/src/presentation/hooks/useForceUpdate.hook.spec.tsx +34 -0
- package/src/presentation/hooks/useForceUpdate.hook.ts +9 -0
- package/src/presentation/hooks/useInterval.hook.spec.tsx +97 -0
- package/src/presentation/hooks/useInterval.hook.ts +28 -0
- package/src/presentation/hooks/useIsMobile.hook.ts +30 -0
- package/src/presentation/hooks/useIsMountedRef.hook.spec.tsx +62 -0
- package/src/presentation/hooks/useIsMountedRef.hook.ts +14 -0
- package/src/presentation/hooks/useLatestCallback.hook.spec.tsx +65 -0
- package/src/presentation/hooks/useLatestCallback.hook.ts +17 -0
- package/src/presentation/hooks/useLatestPromise.hook.spec.tsx +160 -0
- package/src/presentation/hooks/useLatestPromise.hook.ts +94 -0
- package/src/presentation/hooks/useMountStatusRef.hook.spec.tsx +36 -0
- package/src/presentation/hooks/useMountStatusRef.hook.ts +12 -0
- package/src/presentation/hooks/useObservable.hook.ts +21 -0
- package/src/presentation/hooks/useObservableValue.hook.ts +19 -0
- package/src/presentation/hooks/usePollingData.hook.spec.tsx +125 -0
- package/src/presentation/hooks/usePollingData.hook.ts +44 -0
- package/src/presentation/hooks/usePrevious.hook.spec.tsx +34 -0
- package/src/presentation/hooks/usePrevious.hook.ts +11 -0
- package/src/presentation/horizontalTabs/HorizontalTabs.less +47 -0
- package/src/presentation/horizontalTabs/HorizontalTabs.tsx +47 -0
- package/src/presentation/index.ts +34 -0
- package/src/presentation/isVisible/isVisible.directive.js +13 -0
- package/src/presentation/label.component.ts +11 -0
- package/src/presentation/labeledValues/LabeledValue.tsx +13 -0
- package/src/presentation/labeledValues/LabeledValueList.tsx +6 -0
- package/src/presentation/labeledValues/index.ts +2 -0
- package/src/presentation/less/imports/animations.less +88 -0
- package/src/presentation/less/imports/commonImports.less +4 -0
- package/src/presentation/less/imports/mixins.less +57 -0
- package/src/presentation/linkWithClipboard.component.ts +11 -0
- package/src/presentation/main.less +1617 -0
- package/src/presentation/markdown.component.ts +11 -0
- package/src/presentation/modal/Modal.less +193 -0
- package/src/presentation/modal/Modal.stories.tsx +26 -0
- package/src/presentation/modal/Modal.tsx +59 -0
- package/src/presentation/modal/ModalBody.less +15 -0
- package/src/presentation/modal/ModalBody.tsx +9 -0
- package/src/presentation/modal/ModalContext.ts +7 -0
- package/src/presentation/modal/ModalFooter.less +34 -0
- package/src/presentation/modal/ModalFooter.tsx +15 -0
- package/src/presentation/modal/ModalHeader.less +53 -0
- package/src/presentation/modal/ModalHeader.tsx +26 -0
- package/src/presentation/modal/index.ts +5 -0
- package/src/presentation/modal/showModal.tsx +110 -0
- package/src/presentation/navPopover.less +15 -0
- package/src/presentation/navigation/PageNavigationState.ts +29 -0
- package/src/presentation/navigation/PageNavigator.tsx +186 -0
- package/src/presentation/navigation/PageSection.tsx +52 -0
- package/src/presentation/navigation/index.ts +2 -0
- package/src/presentation/navigation/pageNavigation.less +75 -0
- package/src/presentation/navigation/pageNavigator.component.spec.ts +92 -0
- package/src/presentation/navigation/pageNavigator.component.ts +131 -0
- package/src/presentation/navigation/pageSection.component.ts +65 -0
- package/src/presentation/percent.filter.js +11 -0
- package/src/presentation/presentation.module.js +39 -0
- package/src/presentation/replace.filter.ts +20 -0
- package/src/presentation/robotToHumanFilter/robotToHuman.filter.ts +36 -0
- package/src/presentation/sortToggle/SortToggle.tsx +52 -0
- package/src/presentation/sortToggle/index.ts +1 -0
- package/src/presentation/sortToggle/sorttoggle.directive.html +11 -0
- package/src/presentation/sortToggle/sorttoggle.directive.js +43 -0
- package/src/presentation/spel/FormikSpelContext.ts +12 -0
- package/src/presentation/spel/SpelInput.less +3 -0
- package/src/presentation/spel/SpelInput.spec.tsx +226 -0
- package/src/presentation/spel/SpelInput.tsx +78 -0
- package/src/presentation/spel/SpelService.spec.ts +47 -0
- package/src/presentation/spel/SpelService.ts +61 -0
- package/src/presentation/spel/SpelToggle.tsx +31 -0
- package/src/presentation/spel/index.ts +4 -0
- package/src/presentation/standalone.view.html +5 -0
- package/src/presentation/stickyHeader.less +33 -0
- package/src/presentation/tables/Table.tsx +70 -0
- package/src/presentation/tables/TableCell.tsx +36 -0
- package/src/presentation/tables/TableContext.tsx +14 -0
- package/src/presentation/tables/TableRow.tsx +82 -0
- package/src/presentation/tables/index.ts +5 -0
- package/src/presentation/tables/minimalNativeTableLayout.less +36 -0
- package/src/presentation/tables/minimalNativeTableLayout.tsx +48 -0
- package/src/presentation/tables/standardGridTableLayout.less +203 -0
- package/src/presentation/tables/standardGridTableLayout.tsx +146 -0
- package/src/presentation/text/BreakString.tsx +12 -0
- package/src/presentation/text/SingleLineString.tsx +12 -0
- package/src/presentation/text/index.ts +2 -0
- package/src/projects/ProjectHeader.tsx +135 -0
- package/src/projects/configure/Applications.tsx +54 -0
- package/src/projects/configure/Clusters.tsx +179 -0
- package/src/projects/configure/ConfigureProjectModal.css +19 -0
- package/src/projects/configure/ConfigureProjectModal.tsx +163 -0
- package/src/projects/configure/Pipelines.tsx +198 -0
- package/src/projects/configure/ProjectAttributes.tsx +132 -0
- package/src/projects/configure/configureProject.modal.html +28 -0
- package/src/projects/configure/index.ts +5 -0
- package/src/projects/dashboard/cluster/inconsistentBuilds.tooltip.html +3 -0
- package/src/projects/dashboard/cluster/projectCluster.controller.spec.js +114 -0
- package/src/projects/dashboard/cluster/projectCluster.directive.html +93 -0
- package/src/projects/dashboard/cluster/projectCluster.directive.js +186 -0
- package/src/projects/dashboard/cluster/projectCluster.directive.spec.js +119 -0
- package/src/projects/dashboard/cluster/projectCluster.less +70 -0
- package/src/projects/dashboard/cluster/projectClusterRefresh.tooltip.html +7 -0
- package/src/projects/dashboard/clusterRefresh.tooltip.html +7 -0
- package/src/projects/dashboard/dashboard.controller.js +156 -0
- package/src/projects/dashboard/dashboard.controller.spec.js +146 -0
- package/src/projects/dashboard/dashboard.html +41 -0
- package/src/projects/dashboard/dashboard.less +10 -0
- package/src/projects/dashboard/executionRefresh.tooltip.html +7 -0
- package/src/projects/dashboard/pipeline/ProjectPipeline.tsx +76 -0
- package/src/projects/dashboard/pipeline/projectPipeline.component.ts +11 -0
- package/src/projects/dashboard/pipeline/projectPipeline.less +34 -0
- package/src/projects/dashboard/regionFilter/regionFilter.component.html +17 -0
- package/src/projects/dashboard/regionFilter/regionFilter.component.js +28 -0
- package/src/projects/dashboard/regionFilter/regionFilter.component.less +5 -0
- package/src/projects/dashboard/regionFilter/regionFilter.service.js +39 -0
- package/src/projects/index.ts +5 -0
- package/src/projects/project.less +55 -0
- package/src/projects/projectSearchResultType.tsx +86 -0
- package/src/projects/projects.controller.js +112 -0
- package/src/projects/projects.controller.spec.js +86 -0
- package/src/projects/projects.html +87 -0
- package/src/projects/projects.module.js +10 -0
- package/src/projects/projects.states.ts +109 -0
- package/src/projects/service/ProjectReader.ts +16 -0
- package/src/projects/service/ProjectWriter.ts +35 -0
- package/src/pubsub/PubsubSubscriptionReader.ts +8 -0
- package/src/pubsub/index.ts +1 -0
- package/src/reactShims/AngularJSAdapter.tsx +77 -0
- package/src/reactShims/index.ts +7 -0
- package/src/reactShims/modal.injector.ts +18 -0
- package/src/reactShims/ngReact.ts +42 -0
- package/src/reactShims/react.ga.ts +15 -0
- package/src/reactShims/react.injector.ts +91 -0
- package/src/reactShims/react.module.ts +20 -0
- package/src/reactShims/react.uirouter.css +5 -0
- package/src/reactShims/reactUtils.ts +3 -0
- package/src/reactShims/state.events.ts +37 -0
- package/src/region/RegionSelectField.tsx +45 -0
- package/src/region/RegionSelectInput.tsx +34 -0
- package/src/region/index.ts +2 -0
- package/src/region/region.module.ts +5 -0
- package/src/region/regionSelectField.directive.js +59 -0
- package/src/region/regionSelectField.directive.spec.js +67 -0
- package/src/registry/Registry.ts +15 -0
- package/src/registry/index.ts +1 -0
- package/src/retry/index.ts +1 -0
- package/src/retry/retry.service.spec.ts +83 -0
- package/src/retry/retry.service.ts +27 -0
- package/src/scheduler/SchedulerFactory.spec.ts +53 -0
- package/src/scheduler/SchedulerFactory.ts +96 -0
- package/src/scheduler/index.ts +1 -0
- package/src/search/global/GlobalSearch.tsx +386 -0
- package/src/search/global/GlobalSearchRecentItems.tsx +47 -0
- package/src/search/global/GlobalSearchResults.tsx +77 -0
- package/src/search/global/globalSearch.less +112 -0
- package/src/search/global/globalSearch.module.ts +8 -0
- package/src/search/global/globalsearch.component.ts +11 -0
- package/src/search/global/utils.ts +25 -0
- package/src/search/index.ts +5 -0
- package/src/search/infrastructure/ProjectSummaryPod.tsx +68 -0
- package/src/search/infrastructure/RecentlyViewedItems.tsx +77 -0
- package/src/search/infrastructure/SearchResult.tsx +24 -0
- package/src/search/infrastructure/SearchResultPod.tsx +43 -0
- package/src/search/infrastructure/SearchResultPodItem.tsx +56 -0
- package/src/search/infrastructure/SearchResultPods.tsx +79 -0
- package/src/search/infrastructure/SearchV2.tsx +195 -0
- package/src/search/infrastructure/infrastructure.controller.js +185 -0
- package/src/search/infrastructure/infrastructure.html +105 -0
- package/src/search/infrastructure/infrastructure.less +148 -0
- package/src/search/infrastructure/infrastructure.states.ts +45 -0
- package/src/search/infrastructure/infrastructureSearch.service.ts +96 -0
- package/src/search/infrastructure/infrastructureSearchV2.component.ts +15 -0
- package/src/search/infrastructure/infrastructureSearchV2.service.ts +63 -0
- package/src/search/infrastructure/projectSummaryPod.component.ts +11 -0
- package/src/search/infrastructure/projectSummaryPod.less +58 -0
- package/src/search/infrastructure/recentlyViewedItems.component.ts +11 -0
- package/src/search/infrastructure/search.infrastructure.module.js +20 -0
- package/src/search/infrastructure/searchResult.component.ts +11 -0
- package/src/search/infrastructure/searchResult.less +7 -0
- package/src/search/search.module.js +11 -0
- package/src/search/search.service.ts +70 -0
- package/src/search/searchRank.filter.ts +25 -0
- package/src/search/searchResult/DefaultSearchResultTab.tsx +51 -0
- package/src/search/searchResult/Renderers.tsx +107 -0
- package/src/search/searchResult/SearchResultGrid.tsx +71 -0
- package/src/search/searchResult/SearchResultTabs.tsx +37 -0
- package/src/search/searchResult/SearchResults.tsx +51 -0
- package/src/search/searchResult/SearchStatus.ts +7 -0
- package/src/search/searchResult/baseTable.less +62 -0
- package/src/search/searchResult/index.ts +6 -0
- package/src/search/searchResult/searchResultType.registry.ts +23 -0
- package/src/search/searchResult/searchResultType.ts +57 -0
- package/src/search/searchResult/searchResults.less +85 -0
- package/src/search/widgets/Filter.spec.tsx +45 -0
- package/src/search/widgets/Filter.tsx +60 -0
- package/src/search/widgets/Filters.spec.tsx +55 -0
- package/src/search/widgets/Filters.tsx +95 -0
- package/src/search/widgets/Search.spec.tsx +53 -0
- package/src/search/widgets/Search.tsx +351 -0
- package/src/search/widgets/SearchFilterTypeRegistry.ts +48 -0
- package/src/search/widgets/filterlist.less +66 -0
- package/src/search/widgets/index.ts +4 -0
- package/src/search/widgets/search.component.ts +15 -0
- package/src/search/widgets/search.less +68 -0
- package/src/securityGroup/AllSecurityGroupsCtrl.js +122 -0
- package/src/securityGroup/CreateSecurityGroupButton.tsx +76 -0
- package/src/securityGroup/SecurityGroup.tsx +151 -0
- package/src/securityGroup/SecurityGroupDetails.tsx +14 -0
- package/src/securityGroup/SecurityGroupPod.tsx +50 -0
- package/src/securityGroup/SecurityGroupWriter.spec.ts +13 -0
- package/src/securityGroup/SecurityGroupWriter.ts +56 -0
- package/src/securityGroup/SecurityGroups.tsx +159 -0
- package/src/securityGroup/filter/SecurityGroupFilterModel.ts +27 -0
- package/src/securityGroup/filter/SecurityGroupFilterService.spec.js +424 -0
- package/src/securityGroup/filter/SecurityGroupFilterService.ts +160 -0
- package/src/securityGroup/filter/SecurityGroupFilters.tsx +214 -0
- package/src/securityGroup/filter/securityGroup.filter.component.ts +11 -0
- package/src/securityGroup/index.ts +4 -0
- package/src/securityGroup/label/FirewallLabel.tsx +11 -0
- package/src/securityGroup/label/FirewallLabels.ts +26 -0
- package/src/securityGroup/label/firewallLabel.component.ts +21 -0
- package/src/securityGroup/label/index.ts +2 -0
- package/src/securityGroup/securityGroup.dataSource.ts +47 -0
- package/src/securityGroup/securityGroup.less +27 -0
- package/src/securityGroup/securityGroup.module.js +16 -0
- package/src/securityGroup/securityGroup.states.ts +154 -0
- package/src/securityGroup/securityGroupReader.service.spec.ts +228 -0
- package/src/securityGroup/securityGroupReader.service.ts +490 -0
- package/src/securityGroup/securityGroupSearchResultType.tsx +83 -0
- package/src/securityGroup/securityGroupTransformer.service.ts +21 -0
- package/src/serverGroup/ServerGroup.tsx +233 -0
- package/src/serverGroup/ServerGroupHeader.tsx +230 -0
- package/src/serverGroup/configure/common/DeployInitializer.tsx +254 -0
- package/src/serverGroup/configure/common/InstanceArchetypeSelector.tsx +7 -0
- package/src/serverGroup/configure/common/InstanceTypeSelector.tsx +6 -0
- package/src/serverGroup/configure/common/ServerGroupNamePreview.tsx +81 -0
- package/src/serverGroup/configure/common/basicSettingsMixin.controller.js +103 -0
- package/src/serverGroup/configure/common/basicSettingsMixin.controller.spec.js +127 -0
- package/src/serverGroup/configure/common/costFactor.html +4 -0
- package/src/serverGroup/configure/common/costFactor.js +36 -0
- package/src/serverGroup/configure/common/deployInitializer.component.html +72 -0
- package/src/serverGroup/configure/common/deployInitializer.component.spec.ts +75 -0
- package/src/serverGroup/configure/common/deployInitializer.component.ts +156 -0
- package/src/serverGroup/configure/common/dirtyInstanceTypeNotification.component.html +19 -0
- package/src/serverGroup/configure/common/dirtyInstanceTypeNotification.component.js +16 -0
- package/src/serverGroup/configure/common/index.ts +7 -0
- package/src/serverGroup/configure/common/instanceArchetypeDirective.html +52 -0
- package/src/serverGroup/configure/common/instanceArchetypeSelector.js +72 -0
- package/src/serverGroup/configure/common/instanceArchtypeSelector.spec.js +59 -0
- package/src/serverGroup/configure/common/instanceTypeDirective.html +52 -0
- package/src/serverGroup/configure/common/instanceTypeSelector.directive.less +7 -0
- package/src/serverGroup/configure/common/instanceTypeSelector.js +78 -0
- package/src/serverGroup/configure/common/serverGroupCommandBuilder.service.ts +209 -0
- package/src/serverGroup/configure/common/serverGroupCommandRegistry.provider.ts +39 -0
- package/src/serverGroup/configure/common/serverGroupConfiguration.service.ts +26 -0
- package/src/serverGroup/configure/common/targetHealthyPercentageSelector.component.html +13 -0
- package/src/serverGroup/configure/common/targetHealthyPercentageSelector.component.ts +11 -0
- package/src/serverGroup/configure/common/v2InstanceTypeSelector.component.ts +109 -0
- package/src/serverGroup/configure/common/v2instanceArchetype.directive.html +39 -0
- package/src/serverGroup/configure/common/v2instanceArchetypeSelector.component.ts +120 -0
- package/src/serverGroup/configure/common/wizard/fields/ServerGroupDetailsField.tsx +50 -0
- package/src/serverGroup/configure/common/wizard/fields/index.ts +1 -0
- package/src/serverGroup/details/RunningTasks.tsx +79 -0
- package/src/serverGroup/details/ServerGroupDetails.tsx +139 -0
- package/src/serverGroup/details/ServerGroupDetailsWrapper.tsx +140 -0
- package/src/serverGroup/details/ServerGroupInsightActions.tsx +41 -0
- package/src/serverGroup/details/ShowUserData.tsx +78 -0
- package/src/serverGroup/details/capacity/CapacityDetailsSection.spec.tsx +17 -0
- package/src/serverGroup/details/capacity/CapacityDetailsSection.tsx +21 -0
- package/src/serverGroup/details/capacity/CurrentCapacity.tsx +10 -0
- package/src/serverGroup/details/capacity/DesiredCapacity.tsx +24 -0
- package/src/serverGroup/details/capacity/index.ts +3 -0
- package/src/serverGroup/details/index.ts +7 -0
- package/src/serverGroup/details/multipleServerGroup.component.html +11 -0
- package/src/serverGroup/details/multipleServerGroup.component.js +15 -0
- package/src/serverGroup/details/multipleServerGroup.component.less +19 -0
- package/src/serverGroup/details/multipleServerGroups.controller.js +148 -0
- package/src/serverGroup/details/multipleServerGroups.controller.spec.js +130 -0
- package/src/serverGroup/details/multipleServerGroups.view.html +39 -0
- package/src/serverGroup/details/runningTasks.component.ts +65 -0
- package/src/serverGroup/details/scalingActivities/ScalingActivitiesModal.less +5 -0
- package/src/serverGroup/details/scalingActivities/ScalingActivitiesModal.spec.ts +80 -0
- package/src/serverGroup/details/scalingActivities/ScalingActivitiesModal.tsx +128 -0
- package/src/serverGroup/details/scalingActivities/ViewScalingActivitiesLink.tsx +15 -0
- package/src/serverGroup/details/scalingActivities/index.ts +1 -0
- package/src/serverGroup/details/scalingActivities/viewScalingActivitiesLink.component.ts +12 -0
- package/src/serverGroup/details/serverGroupWarningMessage.service.spec.ts +228 -0
- package/src/serverGroup/details/serverGroupWarningMessage.service.ts +86 -0
- package/src/serverGroup/details/userData.html +14 -0
- package/src/serverGroup/index.ts +9 -0
- package/src/serverGroup/metrics/CloudMetricsReader.ts +23 -0
- package/src/serverGroup/pod/RunningTasksPopoverContent.tsx +58 -0
- package/src/serverGroup/pod/RunningTasksTag.tsx +33 -0
- package/src/serverGroup/resize/MinMaxDesiredChanges.tsx +36 -0
- package/src/serverGroup/resize/index.ts +1 -0
- package/src/serverGroup/serverGroup.dataSource.ts +63 -0
- package/src/serverGroup/serverGroup.less +12 -0
- package/src/serverGroup/serverGroup.module.ts +29 -0
- package/src/serverGroup/serverGroup.states.ts +89 -0
- package/src/serverGroup/serverGroup.transformer.js +32 -0
- package/src/serverGroup/serverGroupReader.service.ts +40 -0
- package/src/serverGroup/serverGroupSearchResultType.tsx +199 -0
- package/src/serverGroup/serverGroupWriter.service.spec.ts +128 -0
- package/src/serverGroup/serverGroupWriter.service.ts +226 -0
- package/src/serverGroup/templates/index.ts +3 -0
- package/src/serverGroupManager/ServerGroupManager.tsx +99 -0
- package/src/serverGroupManager/ServerGroupManagerDetails.tsx +13 -0
- package/src/serverGroupManager/ServerGroupManagerHeading.tsx +52 -0
- package/src/serverGroupManager/ServerGroupManagerReader.ts +9 -0
- package/src/serverGroupManager/ServerGroupManagerTag.tsx +65 -0
- package/src/serverGroupManager/index.ts +4 -0
- package/src/serverGroupManager/serverGroupManager.dataSource.ts +33 -0
- package/src/serverGroupManager/serverGroupManager.module.ts +7 -0
- package/src/serverGroupManager/serverGroupManager.states.ts +47 -0
- package/src/serviceAccount/ServiceAccountReader.ts +22 -0
- package/src/serviceAccount/index.ts +1 -0
- package/src/services/ServicesReader.ts +14 -0
- package/src/services/index.ts +1 -0
- package/src/slack/SlackChannelSelector.tsx +46 -0
- package/src/slack/SlackReader.spec.ts +34 -0
- package/src/slack/SlackReader.ts +19 -0
- package/src/slack/index.ts +2 -0
- package/src/slack/slackChannelSelector.component.ts +12 -0
- package/src/snapshot/SnapshotReader.ts +8 -0
- package/src/snapshot/SnapshotWriter.ts +69 -0
- package/src/snapshot/diff/snapshotDiff.modal.controller.js +129 -0
- package/src/snapshot/diff/snapshotDiff.modal.controller.spec.js +71 -0
- package/src/snapshot/diff/snapshotDiff.modal.html +58 -0
- package/src/snapshot/diff/snapshotDiff.modal.less +5 -0
- package/src/snapshot/diff/viewSnapshotDiffButton.component.js +51 -0
- package/src/state/index.ts +63 -0
- package/src/storage/StorageAccountReader.ts +7 -0
- package/src/storage/index.ts +1 -0
- package/src/styleguide/styleguide.module.ts +7 -0
- package/src/styleguide/styleguide.states.ts +26 -0
- package/src/subnet/SubnetTag.tsx +37 -0
- package/src/subnet/index.ts +2 -0
- package/src/subnet/subnet.module.ts +5 -0
- package/src/subnet/subnet.read.service.spec.ts +43 -0
- package/src/subnet/subnet.read.service.ts +42 -0
- package/src/subnet/subnetTag.component.html +0 -0
- package/src/subnet/subnetTag.component.js +14 -0
- package/src/task/PlatformHealthOverrideMessage.tsx +84 -0
- package/src/task/StatusGlyph.tsx +28 -0
- package/src/task/TaskNotFound.tsx +9 -0
- package/src/task/TaskProgressBar.tsx +74 -0
- package/src/task/TrafficGuardHelperLink.tsx +26 -0
- package/src/task/displayableTasks.filter.ts +20 -0
- package/src/task/index.ts +8 -0
- package/src/task/modal/TaskMonitorModal.tsx +107 -0
- package/src/task/modal/TaskReason.tsx +26 -0
- package/src/task/modal/reason.directive.html +11 -0
- package/src/task/modal/reason.directive.js +18 -0
- package/src/task/monitor/MultiTaskMonitor.tsx +63 -0
- package/src/task/monitor/TaskMonitor.ts +151 -0
- package/src/task/monitor/TaskMonitorError.tsx +53 -0
- package/src/task/monitor/TaskMonitorStatus.tsx +58 -0
- package/src/task/monitor/TaskMonitorWrapper.tsx +62 -0
- package/src/task/monitor/multiTaskMonitor.component.less +8 -0
- package/src/task/monitor/taskMonitor.directive.less +8 -0
- package/src/task/monitor/taskMonitor.directive.ts +13 -0
- package/src/task/monitor/taskMonitor.module.js +9 -0
- package/src/task/monitor/taskMonitor.spec.ts +129 -0
- package/src/task/platformHealthOverrideMessage.component.ts +60 -0
- package/src/task/platformHealthOverrideMessage.html +10 -0
- package/src/task/statusGlyph.component.ts +11 -0
- package/src/task/task.dataSource.js +73 -0
- package/src/task/task.dataSource.spec.ts +105 -0
- package/src/task/task.module.js +27 -0
- package/src/task/task.read.service.spec.js +180 -0
- package/src/task/task.read.service.ts +116 -0
- package/src/task/task.states.ts +78 -0
- package/src/task/task.write.service.spec.ts +41 -0
- package/src/task/task.write.service.ts +28 -0
- package/src/task/taskExecutor.ts +62 -0
- package/src/task/taskProgressBar.directive.js +14 -0
- package/src/task/tasks.controller.js +300 -0
- package/src/task/tasks.controller.spec.js +236 -0
- package/src/task/tasks.html +204 -0
- package/src/task/tasks.less +115 -0
- package/src/task/verification/UserVerification.tsx +58 -0
- package/src/task/verification/index.ts +1 -0
- package/src/task/verification/userVerification.directive.html +18 -0
- package/src/task/verification/userVerification.directive.js +62 -0
- package/src/task/verification/userVerification.directive.less +23 -0
- package/src/task/verification/userVerification.directive.spec.js +119 -0
- package/src/types/index.d.ts +3 -0
- package/src/types/png.d.ts +4 -0
- package/src/types/promise.d.ts +148 -0
- package/src/types/svg.d.ts +6 -0
- package/src/utils/Logger.ts +56 -0
- package/src/utils/RenderWhenVisible.tsx +65 -0
- package/src/utils/SystemTimezone.tsx +10 -0
- package/src/utils/TimePickerOptions.ts +30 -0
- package/src/utils/angular-messages.d.ts +3 -0
- package/src/utils/angular-sanitize.d.ts +3 -0
- package/src/utils/angular-spinner.d.ts +5 -0
- package/src/utils/clipboard/CopyToClipboard.less +15 -0
- package/src/utils/clipboard/CopyToClipboard.spec.tsx +46 -0
- package/src/utils/clipboard/CopyToClipboard.tsx +147 -0
- package/src/utils/clipboard/copyTextToClipboard.ts +10 -0
- package/src/utils/clipboard/copyToClipboard.component.ts +19 -0
- package/src/utils/consoleDebug.ts +45 -0
- package/src/utils/debug.ts +62 -0
- package/src/utils/failedToInstantiateModule.ts +12 -0
- package/src/utils/firstDefined.ts +6 -0
- package/src/utils/index.ts +22 -0
- package/src/utils/infiniteScroll.directive.js +79 -0
- package/src/utils/json/DiffView.less +82 -0
- package/src/utils/json/DiffView.tsx +54 -0
- package/src/utils/json/JsonUtils.ts +129 -0
- package/src/utils/json/diffView.component.ts +8 -0
- package/src/utils/json/filterObjectValues.spec.ts +42 -0
- package/src/utils/json/filterObjectValues.ts +25 -0
- package/src/utils/json/json.utility.service.spec.ts +39 -0
- package/src/utils/json/traverseObject.spec.ts +112 -0
- package/src/utils/json/traverseObject.ts +59 -0
- package/src/utils/later/later.d.ts +1 -0
- package/src/utils/later/later.js +1837 -0
- package/src/utils/noop.ts +3 -0
- package/src/utils/q.ts +13 -0
- package/src/utils/renderIfFeature.component.ts +23 -0
- package/src/utils/retryablePromise.ts +34 -0
- package/src/utils/scrollTo/scrollTo.service.ts +21 -0
- package/src/utils/selectOnDblClick.directive.ts +37 -0
- package/src/utils/timeFormatters.spec.ts +132 -0
- package/src/utils/timeFormatters.ts +99 -0
- package/src/utils/ui-select.d.ts +3 -0
- package/src/utils/uibModalRejections.ts +18 -0
- package/src/utils/unicodeBase64.ts +9 -0
- package/src/utils/utils.module.js +25 -0
- package/src/utils/uuid.service.spec.ts +45 -0
- package/src/utils/uuid.service.ts +30 -0
- package/src/utils/waypoints/waypoint.directive.js +18 -0
- package/src/utils/waypoints/waypoint.service.ts +78 -0
- package/src/utils/waypoints/waypointContainer.directive.js +23 -0
- package/src/utils/workerPool.spec.ts +143 -0
- package/src/utils/workerPool.ts +66 -0
- package/src/validation/triggerValidation.directive.js +22 -0
- package/src/validation/validateUnique.directive.js +36 -0
- package/src/validation/validateUnique.directive.spec.js +110 -0
- package/src/validation/validation.module.js +15 -0
- package/src/validation/validationError.directive.js +15 -0
- package/src/validation/validationError.html +1 -0
- package/src/widgets/AccountRegionClusterSelector.tsx +13 -0
- package/src/widgets/ApplicationsPickerInput.spec.tsx +37 -0
- package/src/widgets/ApplicationsPickerInput.tsx +38 -0
- package/src/widgets/Keys.ts +33 -0
- package/src/widgets/ScopeClusterSelector.tsx +78 -0
- package/src/widgets/accountNamespaceClusterSelector.component.html +31 -0
- package/src/widgets/accountNamespaceClusterSelector.component.js +101 -0
- package/src/widgets/accountRegionClusterSelector.component.html +43 -0
- package/src/widgets/accountRegionClusterSelector.component.js +133 -0
- package/src/widgets/accountRegionClusterSelectorWrapper.component.ts +31 -0
- package/src/widgets/actionIcons/actionIcons.component.html +10 -0
- package/src/widgets/actionIcons/actionIcons.component.js +16 -0
- package/src/widgets/cluster/ClusterMatches.tsx +30 -0
- package/src/widgets/cluster/clusterMatches.component.ts +17 -0
- package/src/widgets/index.ts +10 -0
- package/src/widgets/notifier/Notifier.tsx +9 -0
- package/src/widgets/notifier/notifier.component.less +32 -0
- package/src/widgets/notifier/notifier.service.ts +24 -0
- package/src/widgets/scopeClusterSelector.directive.html +32 -0
- package/src/widgets/scopeClusterSelector.directive.js +52 -0
- package/src/widgets/spelText/JsonListBuilder.spec.ts +113 -0
- package/src/widgets/spelText/JsonListBuilder.ts +61 -0
- package/src/widgets/spelText/SpelAutocompleteService.spec.ts +92 -0
- package/src/widgets/spelText/SpelAutocompleteService.ts +440 -0
- package/src/widgets/spelText/SpelNumberInput.tsx +102 -0
- package/src/widgets/spelText/SpelText.tsx +95 -0
- package/src/widgets/spelText/spel.less +160 -0
- package/src/widgets/spelText/spelAutocomplete.service.js +20 -0
- package/src/widgets/spelText/spelSelect.component.js +85 -0
- package/src/widgets/spelText/spelText.decorator.js +77 -0
- package/src/widgets/spinners/Spinner.tsx +66 -0
- package/src/widgets/spinners/loadingIndicator.svg +76 -0
- package/src/widgets/spinners/spinner.component.ts +12 -0
- package/src/widgets/tags/Tag.spec.tsx +89 -0
- package/src/widgets/tags/Tag.tsx +83 -0
- package/src/widgets/tags/TagList.spec.tsx +28 -0
- package/src/widgets/tags/TagList.tsx +125 -0
- package/src/widgets/tags/index.ts +2 -0
- package/src/widgets/tags/taglist.less +40 -0
- package/src/widgets/widgets.module.ts +20 -0
- package/src/yamlEditor/YamlEditor.tsx +84 -0
- package/src/yamlEditor/index.ts +3 -0
- package/src/yamlEditor/yamlEditor.component.ts +11 -0
- package/src/yamlEditor/yamlEditorUtils.spec.ts +107 -0
- package/src/yamlEditor/yamlEditorUtils.ts +23 -0
|
@@ -0,0 +1,1837 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/*
|
|
3
|
+
The MIT License (MIT)
|
|
4
|
+
|
|
5
|
+
Copyright © 2013 BunKat
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
*/
|
|
25
|
+
/*
|
|
26
|
+
taken from https://github.com/bunkat/later, developer abandoned project
|
|
27
|
+
*/
|
|
28
|
+
export const later = (function () {
|
|
29
|
+
'use strict';
|
|
30
|
+
let later = {
|
|
31
|
+
version: '1.2.0',
|
|
32
|
+
};
|
|
33
|
+
if (!Array.prototype.indexOf) {
|
|
34
|
+
Array.prototype.indexOf = function (searchElement) {
|
|
35
|
+
'use strict';
|
|
36
|
+
if (this == null) {
|
|
37
|
+
throw new TypeError();
|
|
38
|
+
}
|
|
39
|
+
let t = Object(this);
|
|
40
|
+
let len = t.length >>> 0;
|
|
41
|
+
if (len === 0) {
|
|
42
|
+
return -1;
|
|
43
|
+
}
|
|
44
|
+
let n = 0;
|
|
45
|
+
if (arguments.length > 1) {
|
|
46
|
+
n = Number(arguments[1]);
|
|
47
|
+
if (n != n) {
|
|
48
|
+
n = 0;
|
|
49
|
+
} else if (n != 0 && n != Infinity && n != -Infinity) {
|
|
50
|
+
n = (n > 0 || -1) * Math.floor(Math.abs(n));
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
if (n >= len) {
|
|
54
|
+
return -1;
|
|
55
|
+
}
|
|
56
|
+
let k = n >= 0 ? n : Math.max(len - Math.abs(n), 0);
|
|
57
|
+
for (; k < len; k++) {
|
|
58
|
+
if (k in t && t[k] === searchElement) {
|
|
59
|
+
return k;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return -1;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
if (!String.prototype.trim) {
|
|
66
|
+
String.prototype.trim = function () {
|
|
67
|
+
return this.replace(/^\s+|\s+$/g, '');
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
later.array = {};
|
|
71
|
+
later.array.sort = function (arr, zeroIsLast) {
|
|
72
|
+
arr.sort(function (a, b) {
|
|
73
|
+
return +a - +b;
|
|
74
|
+
});
|
|
75
|
+
if (zeroIsLast && arr[0] === 0) {
|
|
76
|
+
arr.push(arr.shift());
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
later.array.next = function (val, values, extent) {
|
|
80
|
+
let cur,
|
|
81
|
+
zeroIsLargest = extent[0] !== 0,
|
|
82
|
+
nextIdx = 0;
|
|
83
|
+
for (let i = values.length - 1; i > -1; --i) {
|
|
84
|
+
cur = values[i];
|
|
85
|
+
if (cur === val) {
|
|
86
|
+
return cur;
|
|
87
|
+
}
|
|
88
|
+
if (cur > val || (cur === 0 && zeroIsLargest && extent[1] > val)) {
|
|
89
|
+
nextIdx = i;
|
|
90
|
+
continue;
|
|
91
|
+
}
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
return values[nextIdx];
|
|
95
|
+
};
|
|
96
|
+
later.array.nextInvalid = function (val, values, extent) {
|
|
97
|
+
let min = extent[0],
|
|
98
|
+
max = extent[1],
|
|
99
|
+
len = values.length,
|
|
100
|
+
zeroVal = values[len - 1] === 0 && min !== 0 ? max : 0,
|
|
101
|
+
next = val,
|
|
102
|
+
i = values.indexOf(val),
|
|
103
|
+
start = next;
|
|
104
|
+
while (next === (values[i] || zeroVal)) {
|
|
105
|
+
next++;
|
|
106
|
+
if (next > max) {
|
|
107
|
+
next = min;
|
|
108
|
+
}
|
|
109
|
+
i++;
|
|
110
|
+
if (i === len) {
|
|
111
|
+
i = 0;
|
|
112
|
+
}
|
|
113
|
+
if (next === start) {
|
|
114
|
+
return undefined;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
return next;
|
|
118
|
+
};
|
|
119
|
+
later.array.prev = function (val, values, extent) {
|
|
120
|
+
let cur,
|
|
121
|
+
len = values.length,
|
|
122
|
+
zeroIsLargest = extent[0] !== 0,
|
|
123
|
+
prevIdx = len - 1;
|
|
124
|
+
for (let i = 0; i < len; i++) {
|
|
125
|
+
cur = values[i];
|
|
126
|
+
if (cur === val) {
|
|
127
|
+
return cur;
|
|
128
|
+
}
|
|
129
|
+
if (cur < val || (cur === 0 && zeroIsLargest && extent[1] < val)) {
|
|
130
|
+
prevIdx = i;
|
|
131
|
+
continue;
|
|
132
|
+
}
|
|
133
|
+
break;
|
|
134
|
+
}
|
|
135
|
+
return values[prevIdx];
|
|
136
|
+
};
|
|
137
|
+
later.array.prevInvalid = function (val, values, extent) {
|
|
138
|
+
let min = extent[0],
|
|
139
|
+
max = extent[1],
|
|
140
|
+
len = values.length,
|
|
141
|
+
zeroVal = values[len - 1] === 0 && min !== 0 ? max : 0,
|
|
142
|
+
next = val,
|
|
143
|
+
i = values.indexOf(val),
|
|
144
|
+
start = next;
|
|
145
|
+
while (next === (values[i] || zeroVal)) {
|
|
146
|
+
next--;
|
|
147
|
+
if (next < min) {
|
|
148
|
+
next = max;
|
|
149
|
+
}
|
|
150
|
+
i--;
|
|
151
|
+
if (i === -1) {
|
|
152
|
+
i = len - 1;
|
|
153
|
+
}
|
|
154
|
+
if (next === start) {
|
|
155
|
+
return undefined;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
return next;
|
|
159
|
+
};
|
|
160
|
+
later.day = later.D = {
|
|
161
|
+
name: 'day',
|
|
162
|
+
range: 86400,
|
|
163
|
+
val: function (d) {
|
|
164
|
+
return d.D || (d.D = later.date.getDate.call(d));
|
|
165
|
+
},
|
|
166
|
+
isValid: function (d, val) {
|
|
167
|
+
return later.D.val(d) === (val || later.D.extent(d)[1]);
|
|
168
|
+
},
|
|
169
|
+
extent: function (d) {
|
|
170
|
+
if (d.DExtent) return d.DExtent;
|
|
171
|
+
let month = later.M.val(d),
|
|
172
|
+
max = later.DAYS_IN_MONTH[month - 1];
|
|
173
|
+
if (month === 2 && later.dy.extent(d)[1] === 366) {
|
|
174
|
+
max = max + 1;
|
|
175
|
+
}
|
|
176
|
+
return (d.DExtent = [1, max]);
|
|
177
|
+
},
|
|
178
|
+
start: function (d) {
|
|
179
|
+
return d.DStart || (d.DStart = later.date.next(later.Y.val(d), later.M.val(d), later.D.val(d)));
|
|
180
|
+
},
|
|
181
|
+
end: function (d) {
|
|
182
|
+
return d.DEnd || (d.DEnd = later.date.prev(later.Y.val(d), later.M.val(d), later.D.val(d)));
|
|
183
|
+
},
|
|
184
|
+
next: function (d, val) {
|
|
185
|
+
val = val > later.D.extent(d)[1] ? 1 : val;
|
|
186
|
+
let month = later.date.nextRollover(d, val, later.D, later.M),
|
|
187
|
+
DMax = later.D.extent(month)[1];
|
|
188
|
+
val = val > DMax ? 1 : val || DMax;
|
|
189
|
+
return later.date.next(later.Y.val(month), later.M.val(month), val);
|
|
190
|
+
},
|
|
191
|
+
prev: function (d, val) {
|
|
192
|
+
let month = later.date.prevRollover(d, val, later.D, later.M),
|
|
193
|
+
DMax = later.D.extent(month)[1];
|
|
194
|
+
return later.date.prev(later.Y.val(month), later.M.val(month), val > DMax ? DMax : val || DMax);
|
|
195
|
+
},
|
|
196
|
+
};
|
|
197
|
+
later.dayOfWeekCount = later.dc = {
|
|
198
|
+
name: 'day of week count',
|
|
199
|
+
range: 604800,
|
|
200
|
+
val: function (d) {
|
|
201
|
+
return d.dc || (d.dc = Math.floor((later.D.val(d) - 1) / 7) + 1);
|
|
202
|
+
},
|
|
203
|
+
isValid: function (d, val) {
|
|
204
|
+
return later.dc.val(d) === val || (val === 0 && later.D.val(d) > later.D.extent(d)[1] - 7);
|
|
205
|
+
},
|
|
206
|
+
extent: function (d) {
|
|
207
|
+
return d.dcExtent || (d.dcExtent = [1, Math.ceil(later.D.extent(d)[1] / 7)]);
|
|
208
|
+
},
|
|
209
|
+
start: function (d) {
|
|
210
|
+
return (
|
|
211
|
+
d.dcStart ||
|
|
212
|
+
(d.dcStart = later.date.next(later.Y.val(d), later.M.val(d), Math.max(1, (later.dc.val(d) - 1) * 7 + 1 || 1)))
|
|
213
|
+
);
|
|
214
|
+
},
|
|
215
|
+
end: function (d) {
|
|
216
|
+
return (
|
|
217
|
+
d.dcEnd ||
|
|
218
|
+
(d.dcEnd = later.date.prev(later.Y.val(d), later.M.val(d), Math.min(later.dc.val(d) * 7, later.D.extent(d)[1])))
|
|
219
|
+
);
|
|
220
|
+
},
|
|
221
|
+
next: function (d, val) {
|
|
222
|
+
val = val > later.dc.extent(d)[1] ? 1 : val;
|
|
223
|
+
let month = later.date.nextRollover(d, val, later.dc, later.M),
|
|
224
|
+
dcMax = later.dc.extent(month)[1];
|
|
225
|
+
val = val > dcMax ? 1 : val;
|
|
226
|
+
let next = later.date.next(
|
|
227
|
+
later.Y.val(month),
|
|
228
|
+
later.M.val(month),
|
|
229
|
+
val === 0 ? later.D.extent(month)[1] - 6 : 1 + 7 * (val - 1),
|
|
230
|
+
);
|
|
231
|
+
if (next.getTime() <= d.getTime()) {
|
|
232
|
+
month = later.M.next(d, later.M.val(d) + 1);
|
|
233
|
+
return later.date.next(
|
|
234
|
+
later.Y.val(month),
|
|
235
|
+
later.M.val(month),
|
|
236
|
+
val === 0 ? later.D.extent(month)[1] - 6 : 1 + 7 * (val - 1),
|
|
237
|
+
);
|
|
238
|
+
}
|
|
239
|
+
return next;
|
|
240
|
+
},
|
|
241
|
+
prev: function (d, val) {
|
|
242
|
+
let month = later.date.prevRollover(d, val, later.dc, later.M),
|
|
243
|
+
dcMax = later.dc.extent(month)[1];
|
|
244
|
+
val = val > dcMax ? dcMax : val || dcMax;
|
|
245
|
+
return later.dc.end(later.date.prev(later.Y.val(month), later.M.val(month), 1 + 7 * (val - 1)));
|
|
246
|
+
},
|
|
247
|
+
};
|
|
248
|
+
later.dayOfWeek = later.dw = later.d = {
|
|
249
|
+
name: 'day of week',
|
|
250
|
+
range: 86400,
|
|
251
|
+
val: function (d) {
|
|
252
|
+
return d.dw || (d.dw = later.date.getDay.call(d) + 1);
|
|
253
|
+
},
|
|
254
|
+
isValid: function (d, val) {
|
|
255
|
+
return later.dw.val(d) === (val || 7);
|
|
256
|
+
},
|
|
257
|
+
extent: function () {
|
|
258
|
+
return [1, 7];
|
|
259
|
+
},
|
|
260
|
+
start: function (d) {
|
|
261
|
+
return later.D.start(d);
|
|
262
|
+
},
|
|
263
|
+
end: function (d) {
|
|
264
|
+
return later.D.end(d);
|
|
265
|
+
},
|
|
266
|
+
next: function (d, val) {
|
|
267
|
+
val = val > 7 ? 1 : val || 7;
|
|
268
|
+
return later.date.next(
|
|
269
|
+
later.Y.val(d),
|
|
270
|
+
later.M.val(d),
|
|
271
|
+
later.D.val(d) + (val - later.dw.val(d)) + (val <= later.dw.val(d) ? 7 : 0),
|
|
272
|
+
);
|
|
273
|
+
},
|
|
274
|
+
prev: function (d, val) {
|
|
275
|
+
val = val > 7 ? 7 : val || 7;
|
|
276
|
+
return later.date.prev(
|
|
277
|
+
later.Y.val(d),
|
|
278
|
+
later.M.val(d),
|
|
279
|
+
later.D.val(d) + (val - later.dw.val(d)) + (val >= later.dw.val(d) ? -7 : 0),
|
|
280
|
+
);
|
|
281
|
+
},
|
|
282
|
+
};
|
|
283
|
+
later.dayOfYear = later.dy = {
|
|
284
|
+
name: 'day of year',
|
|
285
|
+
range: 86400,
|
|
286
|
+
val: function (d) {
|
|
287
|
+
return d.dy || (d.dy = Math.ceil(1 + (later.D.start(d).getTime() - later.Y.start(d).getTime()) / later.DAY));
|
|
288
|
+
},
|
|
289
|
+
isValid: function (d, val) {
|
|
290
|
+
return later.dy.val(d) === (val || later.dy.extent(d)[1]);
|
|
291
|
+
},
|
|
292
|
+
extent: function (d) {
|
|
293
|
+
let year = later.Y.val(d);
|
|
294
|
+
return d.dyExtent || (d.dyExtent = [1, year % 4 ? 365 : 366]);
|
|
295
|
+
},
|
|
296
|
+
start: function (d) {
|
|
297
|
+
return later.D.start(d);
|
|
298
|
+
},
|
|
299
|
+
end: function (d) {
|
|
300
|
+
return later.D.end(d);
|
|
301
|
+
},
|
|
302
|
+
next: function (d, val) {
|
|
303
|
+
val = val > later.dy.extent(d)[1] ? 1 : val;
|
|
304
|
+
let year = later.date.nextRollover(d, val, later.dy, later.Y),
|
|
305
|
+
dyMax = later.dy.extent(year)[1];
|
|
306
|
+
val = val > dyMax ? 1 : val || dyMax;
|
|
307
|
+
return later.date.next(later.Y.val(year), later.M.val(year), val);
|
|
308
|
+
},
|
|
309
|
+
prev: function (d, val) {
|
|
310
|
+
let year = later.date.prevRollover(d, val, later.dy, later.Y),
|
|
311
|
+
dyMax = later.dy.extent(year)[1];
|
|
312
|
+
val = val > dyMax ? dyMax : val || dyMax;
|
|
313
|
+
return later.date.prev(later.Y.val(year), later.M.val(year), val);
|
|
314
|
+
},
|
|
315
|
+
};
|
|
316
|
+
later.hour = later.h = {
|
|
317
|
+
name: 'hour',
|
|
318
|
+
range: 3600,
|
|
319
|
+
val: function (d) {
|
|
320
|
+
return d.h || (d.h = later.date.getHour.call(d));
|
|
321
|
+
},
|
|
322
|
+
isValid: function (d, val) {
|
|
323
|
+
return later.h.val(d) === val;
|
|
324
|
+
},
|
|
325
|
+
extent: function () {
|
|
326
|
+
return [0, 23];
|
|
327
|
+
},
|
|
328
|
+
start: function (d) {
|
|
329
|
+
return d.hStart || (d.hStart = later.date.next(later.Y.val(d), later.M.val(d), later.D.val(d), later.h.val(d)));
|
|
330
|
+
},
|
|
331
|
+
end: function (d) {
|
|
332
|
+
return d.hEnd || (d.hEnd = later.date.prev(later.Y.val(d), later.M.val(d), later.D.val(d), later.h.val(d)));
|
|
333
|
+
},
|
|
334
|
+
next: function (d, val) {
|
|
335
|
+
val = val > 23 ? 0 : val;
|
|
336
|
+
let next = later.date.next(later.Y.val(d), later.M.val(d), later.D.val(d) + (val <= later.h.val(d) ? 1 : 0), val);
|
|
337
|
+
if (!later.date.isUTC && next.getTime() <= d.getTime()) {
|
|
338
|
+
next = later.date.next(later.Y.val(next), later.M.val(next), later.D.val(next), val + 1);
|
|
339
|
+
}
|
|
340
|
+
return next;
|
|
341
|
+
},
|
|
342
|
+
prev: function (d, val) {
|
|
343
|
+
val = val > 23 ? 23 : val;
|
|
344
|
+
return later.date.prev(later.Y.val(d), later.M.val(d), later.D.val(d) + (val >= later.h.val(d) ? -1 : 0), val);
|
|
345
|
+
},
|
|
346
|
+
};
|
|
347
|
+
later.minute = later.m = {
|
|
348
|
+
name: 'minute',
|
|
349
|
+
range: 60,
|
|
350
|
+
val: function (d) {
|
|
351
|
+
return d.m || (d.m = later.date.getMin.call(d));
|
|
352
|
+
},
|
|
353
|
+
isValid: function (d, val) {
|
|
354
|
+
return later.m.val(d) === val;
|
|
355
|
+
},
|
|
356
|
+
extent: function (d) {
|
|
357
|
+
return [0, 59];
|
|
358
|
+
},
|
|
359
|
+
start: function (d) {
|
|
360
|
+
return (
|
|
361
|
+
d.mStart ||
|
|
362
|
+
(d.mStart = later.date.next(later.Y.val(d), later.M.val(d), later.D.val(d), later.h.val(d), later.m.val(d)))
|
|
363
|
+
);
|
|
364
|
+
},
|
|
365
|
+
end: function (d) {
|
|
366
|
+
return (
|
|
367
|
+
d.mEnd ||
|
|
368
|
+
(d.mEnd = later.date.prev(later.Y.val(d), later.M.val(d), later.D.val(d), later.h.val(d), later.m.val(d)))
|
|
369
|
+
);
|
|
370
|
+
},
|
|
371
|
+
next: function (d, val) {
|
|
372
|
+
let m = later.m.val(d),
|
|
373
|
+
s = later.s.val(d),
|
|
374
|
+
inc = val > 59 ? 60 - m : val <= m ? 60 - m + val : val - m,
|
|
375
|
+
next = new Date(d.getTime() + inc * later.MIN - s * later.SEC);
|
|
376
|
+
if (!later.date.isUTC && next.getTime() <= d.getTime()) {
|
|
377
|
+
next = new Date(d.getTime() + (inc + 120) * later.MIN - s * later.SEC);
|
|
378
|
+
}
|
|
379
|
+
return next;
|
|
380
|
+
},
|
|
381
|
+
prev: function (d, val) {
|
|
382
|
+
val = val > 59 ? 59 : val;
|
|
383
|
+
return later.date.prev(
|
|
384
|
+
later.Y.val(d),
|
|
385
|
+
later.M.val(d),
|
|
386
|
+
later.D.val(d),
|
|
387
|
+
later.h.val(d) + (val >= later.m.val(d) ? -1 : 0),
|
|
388
|
+
val,
|
|
389
|
+
);
|
|
390
|
+
},
|
|
391
|
+
};
|
|
392
|
+
later.month = later.M = {
|
|
393
|
+
name: 'month',
|
|
394
|
+
range: 2629740,
|
|
395
|
+
val: function (d) {
|
|
396
|
+
return d.M || (d.M = later.date.getMonth.call(d) + 1);
|
|
397
|
+
},
|
|
398
|
+
isValid: function (d, val) {
|
|
399
|
+
return later.M.val(d) === (val || 12);
|
|
400
|
+
},
|
|
401
|
+
extent: function () {
|
|
402
|
+
return [1, 12];
|
|
403
|
+
},
|
|
404
|
+
start: function (d) {
|
|
405
|
+
return d.MStart || (d.MStart = later.date.next(later.Y.val(d), later.M.val(d)));
|
|
406
|
+
},
|
|
407
|
+
end: function (d) {
|
|
408
|
+
return d.MEnd || (d.MEnd = later.date.prev(later.Y.val(d), later.M.val(d)));
|
|
409
|
+
},
|
|
410
|
+
next: function (d, val) {
|
|
411
|
+
val = val > 12 ? 1 : val || 12;
|
|
412
|
+
return later.date.next(later.Y.val(d) + (val > later.M.val(d) ? 0 : 1), val);
|
|
413
|
+
},
|
|
414
|
+
prev: function (d, val) {
|
|
415
|
+
val = val > 12 ? 12 : val || 12;
|
|
416
|
+
return later.date.prev(later.Y.val(d) - (val >= later.M.val(d) ? 1 : 0), val);
|
|
417
|
+
},
|
|
418
|
+
};
|
|
419
|
+
later.second = later.s = {
|
|
420
|
+
name: 'second',
|
|
421
|
+
range: 1,
|
|
422
|
+
val: function (d) {
|
|
423
|
+
return d.s || (d.s = later.date.getSec.call(d));
|
|
424
|
+
},
|
|
425
|
+
isValid: function (d, val) {
|
|
426
|
+
return later.s.val(d) === val;
|
|
427
|
+
},
|
|
428
|
+
extent: function () {
|
|
429
|
+
return [0, 59];
|
|
430
|
+
},
|
|
431
|
+
start: function (d) {
|
|
432
|
+
return d;
|
|
433
|
+
},
|
|
434
|
+
end: function (d) {
|
|
435
|
+
return d;
|
|
436
|
+
},
|
|
437
|
+
next: function (d, val) {
|
|
438
|
+
let s = later.s.val(d),
|
|
439
|
+
inc = val > 59 ? 60 - s : val <= s ? 60 - s + val : val - s,
|
|
440
|
+
next = new Date(d.getTime() + inc * later.SEC);
|
|
441
|
+
if (!later.date.isUTC && next.getTime() <= d.getTime()) {
|
|
442
|
+
next = new Date(d.getTime() + (inc + 7200) * later.SEC);
|
|
443
|
+
}
|
|
444
|
+
return next;
|
|
445
|
+
},
|
|
446
|
+
prev: function (d, val, cache) {
|
|
447
|
+
val = val > 59 ? 59 : val;
|
|
448
|
+
return later.date.prev(
|
|
449
|
+
later.Y.val(d),
|
|
450
|
+
later.M.val(d),
|
|
451
|
+
later.D.val(d),
|
|
452
|
+
later.h.val(d),
|
|
453
|
+
later.m.val(d) + (val >= later.s.val(d) ? -1 : 0),
|
|
454
|
+
val,
|
|
455
|
+
);
|
|
456
|
+
},
|
|
457
|
+
};
|
|
458
|
+
later.time = later.t = {
|
|
459
|
+
name: 'time',
|
|
460
|
+
range: 1,
|
|
461
|
+
val: function (d) {
|
|
462
|
+
return d.t || (d.t = later.h.val(d) * 3600 + later.m.val(d) * 60 + later.s.val(d));
|
|
463
|
+
},
|
|
464
|
+
isValid: function (d, val) {
|
|
465
|
+
return later.t.val(d) === val;
|
|
466
|
+
},
|
|
467
|
+
extent: function () {
|
|
468
|
+
return [0, 86399];
|
|
469
|
+
},
|
|
470
|
+
start: function (d) {
|
|
471
|
+
return d;
|
|
472
|
+
},
|
|
473
|
+
end: function (d) {
|
|
474
|
+
return d;
|
|
475
|
+
},
|
|
476
|
+
next: function (d, val) {
|
|
477
|
+
val = val > 86399 ? 0 : val;
|
|
478
|
+
let next = later.date.next(
|
|
479
|
+
later.Y.val(d),
|
|
480
|
+
later.M.val(d),
|
|
481
|
+
later.D.val(d) + (val <= later.t.val(d) ? 1 : 0),
|
|
482
|
+
0,
|
|
483
|
+
0,
|
|
484
|
+
val,
|
|
485
|
+
);
|
|
486
|
+
if (!later.date.isUTC && next.getTime() < d.getTime()) {
|
|
487
|
+
next = later.date.next(
|
|
488
|
+
later.Y.val(next),
|
|
489
|
+
later.M.val(next),
|
|
490
|
+
later.D.val(next),
|
|
491
|
+
later.h.val(next),
|
|
492
|
+
later.m.val(next),
|
|
493
|
+
val + 7200,
|
|
494
|
+
);
|
|
495
|
+
}
|
|
496
|
+
return next;
|
|
497
|
+
},
|
|
498
|
+
prev: function (d, val) {
|
|
499
|
+
val = val > 86399 ? 86399 : val;
|
|
500
|
+
return later.date.next(
|
|
501
|
+
later.Y.val(d),
|
|
502
|
+
later.M.val(d),
|
|
503
|
+
later.D.val(d) + (val >= later.t.val(d) ? -1 : 0),
|
|
504
|
+
0,
|
|
505
|
+
0,
|
|
506
|
+
val,
|
|
507
|
+
);
|
|
508
|
+
},
|
|
509
|
+
};
|
|
510
|
+
later.weekOfMonth = later.wm = {
|
|
511
|
+
name: 'week of month',
|
|
512
|
+
range: 604800,
|
|
513
|
+
val: function (d) {
|
|
514
|
+
return d.wm || (d.wm = (later.D.val(d) + (later.dw.val(later.M.start(d)) - 1) + (7 - later.dw.val(d))) / 7);
|
|
515
|
+
},
|
|
516
|
+
isValid: function (d, val) {
|
|
517
|
+
return later.wm.val(d) === (val || later.wm.extent(d)[1]);
|
|
518
|
+
},
|
|
519
|
+
extent: function (d) {
|
|
520
|
+
return (
|
|
521
|
+
d.wmExtent ||
|
|
522
|
+
(d.wmExtent = [
|
|
523
|
+
1,
|
|
524
|
+
(later.D.extent(d)[1] + (later.dw.val(later.M.start(d)) - 1) + (7 - later.dw.val(later.M.end(d)))) / 7,
|
|
525
|
+
])
|
|
526
|
+
);
|
|
527
|
+
},
|
|
528
|
+
start: function (d) {
|
|
529
|
+
return (
|
|
530
|
+
d.wmStart ||
|
|
531
|
+
(d.wmStart = later.date.next(later.Y.val(d), later.M.val(d), Math.max(later.D.val(d) - later.dw.val(d) + 1, 1)))
|
|
532
|
+
);
|
|
533
|
+
},
|
|
534
|
+
end: function (d) {
|
|
535
|
+
return (
|
|
536
|
+
d.wmEnd ||
|
|
537
|
+
(d.wmEnd = later.date.prev(
|
|
538
|
+
later.Y.val(d),
|
|
539
|
+
later.M.val(d),
|
|
540
|
+
Math.min(later.D.val(d) + (7 - later.dw.val(d)), later.D.extent(d)[1]),
|
|
541
|
+
))
|
|
542
|
+
);
|
|
543
|
+
},
|
|
544
|
+
next: function (d, val) {
|
|
545
|
+
val = val > later.wm.extent(d)[1] ? 1 : val;
|
|
546
|
+
let month = later.date.nextRollover(d, val, later.wm, later.M),
|
|
547
|
+
wmMax = later.wm.extent(month)[1];
|
|
548
|
+
val = val > wmMax ? 1 : val || wmMax;
|
|
549
|
+
return later.date.next(
|
|
550
|
+
later.Y.val(month),
|
|
551
|
+
later.M.val(month),
|
|
552
|
+
Math.max(1, (val - 1) * 7 - (later.dw.val(month) - 2)),
|
|
553
|
+
);
|
|
554
|
+
},
|
|
555
|
+
prev: function (d, val) {
|
|
556
|
+
let month = later.date.prevRollover(d, val, later.wm, later.M),
|
|
557
|
+
wmMax = later.wm.extent(month)[1];
|
|
558
|
+
val = val > wmMax ? wmMax : val || wmMax;
|
|
559
|
+
return later.wm.end(
|
|
560
|
+
later.date.next(later.Y.val(month), later.M.val(month), Math.max(1, (val - 1) * 7 - (later.dw.val(month) - 2))),
|
|
561
|
+
);
|
|
562
|
+
},
|
|
563
|
+
};
|
|
564
|
+
later.weekOfYear = later.wy = {
|
|
565
|
+
name: 'week of year (ISO)',
|
|
566
|
+
range: 604800,
|
|
567
|
+
val: function (d) {
|
|
568
|
+
if (d.wy) return d.wy;
|
|
569
|
+
let wThur = later.dw.next(later.wy.start(d), 5),
|
|
570
|
+
YThur = later.dw.next(later.Y.prev(wThur, later.Y.val(wThur) - 1), 5);
|
|
571
|
+
return (d.wy = 1 + Math.ceil((wThur.getTime() - YThur.getTime()) / later.WEEK));
|
|
572
|
+
},
|
|
573
|
+
isValid: function (d, val) {
|
|
574
|
+
return later.wy.val(d) === (val || later.wy.extent(d)[1]);
|
|
575
|
+
},
|
|
576
|
+
extent: function (d) {
|
|
577
|
+
if (d.wyExtent) return d.wyExtent;
|
|
578
|
+
let year = later.dw.next(later.wy.start(d), 5),
|
|
579
|
+
dwFirst = later.dw.val(later.Y.start(year)),
|
|
580
|
+
dwLast = later.dw.val(later.Y.end(year));
|
|
581
|
+
return (d.wyExtent = [1, dwFirst === 5 || dwLast === 5 ? 53 : 52]);
|
|
582
|
+
},
|
|
583
|
+
start: function (d) {
|
|
584
|
+
return (
|
|
585
|
+
d.wyStart ||
|
|
586
|
+
(d.wyStart = later.date.next(
|
|
587
|
+
later.Y.val(d),
|
|
588
|
+
later.M.val(d),
|
|
589
|
+
later.D.val(d) - (later.dw.val(d) > 1 ? later.dw.val(d) - 2 : 6),
|
|
590
|
+
))
|
|
591
|
+
);
|
|
592
|
+
},
|
|
593
|
+
end: function (d) {
|
|
594
|
+
return (
|
|
595
|
+
d.wyEnd ||
|
|
596
|
+
(d.wyEnd = later.date.prev(
|
|
597
|
+
later.Y.val(d),
|
|
598
|
+
later.M.val(d),
|
|
599
|
+
later.D.val(d) + (later.dw.val(d) > 1 ? 8 - later.dw.val(d) : 0),
|
|
600
|
+
))
|
|
601
|
+
);
|
|
602
|
+
},
|
|
603
|
+
next: function (d, val) {
|
|
604
|
+
val = val > later.wy.extent(d)[1] ? 1 : val;
|
|
605
|
+
let wyThur = later.dw.next(later.wy.start(d), 5),
|
|
606
|
+
year = later.date.nextRollover(wyThur, val, later.wy, later.Y);
|
|
607
|
+
if (later.wy.val(year) !== 1) {
|
|
608
|
+
year = later.dw.next(year, 2);
|
|
609
|
+
}
|
|
610
|
+
let wyMax = later.wy.extent(year)[1],
|
|
611
|
+
wyStart = later.wy.start(year);
|
|
612
|
+
val = val > wyMax ? 1 : val || wyMax;
|
|
613
|
+
return later.date.next(later.Y.val(wyStart), later.M.val(wyStart), later.D.val(wyStart) + 7 * (val - 1));
|
|
614
|
+
},
|
|
615
|
+
prev: function (d, val) {
|
|
616
|
+
let wyThur = later.dw.next(later.wy.start(d), 5),
|
|
617
|
+
year = later.date.prevRollover(wyThur, val, later.wy, later.Y);
|
|
618
|
+
if (later.wy.val(year) !== 1) {
|
|
619
|
+
year = later.dw.next(year, 2);
|
|
620
|
+
}
|
|
621
|
+
let wyMax = later.wy.extent(year)[1],
|
|
622
|
+
wyEnd = later.wy.end(year);
|
|
623
|
+
val = val > wyMax ? wyMax : val || wyMax;
|
|
624
|
+
return later.wy.end(later.date.next(later.Y.val(wyEnd), later.M.val(wyEnd), later.D.val(wyEnd) + 7 * (val - 1)));
|
|
625
|
+
},
|
|
626
|
+
};
|
|
627
|
+
later.year = later.Y = {
|
|
628
|
+
name: 'year',
|
|
629
|
+
range: 31556900,
|
|
630
|
+
val: function (d) {
|
|
631
|
+
return d.Y || (d.Y = later.date.getYear.call(d));
|
|
632
|
+
},
|
|
633
|
+
isValid: function (d, val) {
|
|
634
|
+
return later.Y.val(d) === val;
|
|
635
|
+
},
|
|
636
|
+
extent: function () {
|
|
637
|
+
return [1970, 2099];
|
|
638
|
+
},
|
|
639
|
+
start: function (d) {
|
|
640
|
+
return d.YStart || (d.YStart = later.date.next(later.Y.val(d)));
|
|
641
|
+
},
|
|
642
|
+
end: function (d) {
|
|
643
|
+
return d.YEnd || (d.YEnd = later.date.prev(later.Y.val(d)));
|
|
644
|
+
},
|
|
645
|
+
next: function (d, val) {
|
|
646
|
+
return val > later.Y.val(d) && val <= later.Y.extent()[1] ? later.date.next(val) : later.NEVER;
|
|
647
|
+
},
|
|
648
|
+
prev: function (d, val) {
|
|
649
|
+
return val < later.Y.val(d) && val >= later.Y.extent()[0] ? later.date.prev(val) : later.NEVER;
|
|
650
|
+
},
|
|
651
|
+
};
|
|
652
|
+
later.fullDate = later.fd = {
|
|
653
|
+
name: 'full date',
|
|
654
|
+
range: 1,
|
|
655
|
+
val: function (d) {
|
|
656
|
+
return d.fd || (d.fd = d.getTime());
|
|
657
|
+
},
|
|
658
|
+
isValid: function (d, val) {
|
|
659
|
+
return later.fd.val(d) === val;
|
|
660
|
+
},
|
|
661
|
+
extent: function () {
|
|
662
|
+
return [0, 3250368e7];
|
|
663
|
+
},
|
|
664
|
+
start: function (d) {
|
|
665
|
+
return d;
|
|
666
|
+
},
|
|
667
|
+
end: function (d) {
|
|
668
|
+
return d;
|
|
669
|
+
},
|
|
670
|
+
next: function (d, val) {
|
|
671
|
+
return later.fd.val(d) < val ? new Date(val) : later.NEVER;
|
|
672
|
+
},
|
|
673
|
+
prev: function (d, val) {
|
|
674
|
+
return later.fd.val(d) > val ? new Date(val) : later.NEVER;
|
|
675
|
+
},
|
|
676
|
+
};
|
|
677
|
+
later.modifier = {};
|
|
678
|
+
later.modifier.after = later.modifier.a = function (constraint, values) {
|
|
679
|
+
let value = values[0];
|
|
680
|
+
return {
|
|
681
|
+
name: 'after ' + constraint.name,
|
|
682
|
+
range: (constraint.extent(new Date())[1] - value) * constraint.range,
|
|
683
|
+
val: constraint.val,
|
|
684
|
+
isValid: function (d, val) {
|
|
685
|
+
return this.val(d) >= value;
|
|
686
|
+
},
|
|
687
|
+
extent: constraint.extent,
|
|
688
|
+
start: constraint.start,
|
|
689
|
+
end: constraint.end,
|
|
690
|
+
next: function (startDate, val) {
|
|
691
|
+
if (val != value) val = constraint.extent(startDate)[0];
|
|
692
|
+
return constraint.next(startDate, val);
|
|
693
|
+
},
|
|
694
|
+
prev: function (startDate, val) {
|
|
695
|
+
val = val === value ? constraint.extent(startDate)[1] : value - 1;
|
|
696
|
+
return constraint.prev(startDate, val);
|
|
697
|
+
},
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
later.modifier.before = later.modifier.b = function (constraint, values) {
|
|
701
|
+
let value = values[values.length - 1];
|
|
702
|
+
return {
|
|
703
|
+
name: 'before ' + constraint.name,
|
|
704
|
+
range: constraint.range * (value - 1),
|
|
705
|
+
val: constraint.val,
|
|
706
|
+
isValid: function (d, val) {
|
|
707
|
+
return this.val(d) < value;
|
|
708
|
+
},
|
|
709
|
+
extent: constraint.extent,
|
|
710
|
+
start: constraint.start,
|
|
711
|
+
end: constraint.end,
|
|
712
|
+
next: function (startDate, val) {
|
|
713
|
+
val = val === value ? constraint.extent(startDate)[0] : value;
|
|
714
|
+
return constraint.next(startDate, val);
|
|
715
|
+
},
|
|
716
|
+
prev: function (startDate, val) {
|
|
717
|
+
val = val === value ? value - 1 : constraint.extent(startDate)[1];
|
|
718
|
+
return constraint.prev(startDate, val);
|
|
719
|
+
},
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
later.compile = function (schedDef) {
|
|
723
|
+
let constraints = [],
|
|
724
|
+
constraintsLen = 0,
|
|
725
|
+
tickConstraint;
|
|
726
|
+
for (let key in schedDef) {
|
|
727
|
+
let nameParts = key.split('_'),
|
|
728
|
+
name = nameParts[0],
|
|
729
|
+
mod = nameParts[1],
|
|
730
|
+
vals = schedDef[key],
|
|
731
|
+
constraint = mod ? later.modifier[mod](later[name], vals) : later[name];
|
|
732
|
+
constraints.push({
|
|
733
|
+
constraint: constraint,
|
|
734
|
+
vals: vals,
|
|
735
|
+
});
|
|
736
|
+
constraintsLen++;
|
|
737
|
+
}
|
|
738
|
+
constraints.sort(function (a, b) {
|
|
739
|
+
let ra = a.constraint.range,
|
|
740
|
+
rb = b.constraint.range;
|
|
741
|
+
return rb < ra ? -1 : rb > ra ? 1 : 0;
|
|
742
|
+
});
|
|
743
|
+
tickConstraint = constraints[constraintsLen - 1].constraint;
|
|
744
|
+
function compareFn(dir) {
|
|
745
|
+
return dir === 'next'
|
|
746
|
+
? function (a, b) {
|
|
747
|
+
return a.getTime() > b.getTime();
|
|
748
|
+
}
|
|
749
|
+
: function (a, b) {
|
|
750
|
+
return b.getTime() > a.getTime();
|
|
751
|
+
};
|
|
752
|
+
}
|
|
753
|
+
return {
|
|
754
|
+
start: function (dir, startDate) {
|
|
755
|
+
let next = startDate,
|
|
756
|
+
nextVal = later.array[dir],
|
|
757
|
+
maxAttempts = 1e3,
|
|
758
|
+
done;
|
|
759
|
+
while (maxAttempts-- && !done && next) {
|
|
760
|
+
done = true;
|
|
761
|
+
for (let i = 0; i < constraintsLen; i++) {
|
|
762
|
+
let constraint = constraints[i].constraint,
|
|
763
|
+
curVal = constraint.val(next),
|
|
764
|
+
extent = constraint.extent(next),
|
|
765
|
+
newVal = nextVal(curVal, constraints[i].vals, extent);
|
|
766
|
+
if (!constraint.isValid(next, newVal)) {
|
|
767
|
+
next = constraint[dir](next, newVal);
|
|
768
|
+
done = false;
|
|
769
|
+
break;
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
if (next !== later.NEVER) {
|
|
774
|
+
next = dir === 'next' ? tickConstraint.start(next) : tickConstraint.end(next);
|
|
775
|
+
}
|
|
776
|
+
return next;
|
|
777
|
+
},
|
|
778
|
+
end: function (dir, startDate) {
|
|
779
|
+
let result,
|
|
780
|
+
nextVal = later.array[dir + 'Invalid'],
|
|
781
|
+
compare = compareFn(dir);
|
|
782
|
+
for (let i = constraintsLen - 1; i >= 0; i--) {
|
|
783
|
+
let constraint = constraints[i].constraint,
|
|
784
|
+
curVal = constraint.val(startDate),
|
|
785
|
+
extent = constraint.extent(startDate),
|
|
786
|
+
newVal = nextVal(curVal, constraints[i].vals, extent),
|
|
787
|
+
next;
|
|
788
|
+
if (newVal !== undefined) {
|
|
789
|
+
next = constraint[dir](startDate, newVal);
|
|
790
|
+
if (next && (!result || compare(result, next))) {
|
|
791
|
+
result = next;
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
return result;
|
|
796
|
+
},
|
|
797
|
+
tick: function (dir, date) {
|
|
798
|
+
return new Date(
|
|
799
|
+
dir === 'next'
|
|
800
|
+
? tickConstraint.end(date).getTime() + later.SEC
|
|
801
|
+
: tickConstraint.start(date).getTime() - later.SEC,
|
|
802
|
+
);
|
|
803
|
+
},
|
|
804
|
+
tickStart: function (date) {
|
|
805
|
+
return tickConstraint.start(date);
|
|
806
|
+
},
|
|
807
|
+
};
|
|
808
|
+
};
|
|
809
|
+
later.schedule = function (sched) {
|
|
810
|
+
if (!sched) throw new Error('Missing schedule definition.');
|
|
811
|
+
if (!sched.schedules) throw new Error('Definition must include at least one schedule.');
|
|
812
|
+
let schedules = [],
|
|
813
|
+
schedulesLen = sched.schedules.length,
|
|
814
|
+
exceptions = [],
|
|
815
|
+
exceptionsLen = sched.exceptions ? sched.exceptions.length : 0;
|
|
816
|
+
for (let i = 0; i < schedulesLen; i++) {
|
|
817
|
+
schedules.push(later.compile(sched.schedules[i]));
|
|
818
|
+
}
|
|
819
|
+
for (let j = 0; j < exceptionsLen; j++) {
|
|
820
|
+
exceptions.push(later.compile(sched.exceptions[j]));
|
|
821
|
+
}
|
|
822
|
+
function getInstances(dir, count, startDate, endDate, isRange) {
|
|
823
|
+
let compare = compareFn(dir),
|
|
824
|
+
loopCount = count,
|
|
825
|
+
maxAttempts = 1e3,
|
|
826
|
+
schedStarts = [],
|
|
827
|
+
exceptStarts = [],
|
|
828
|
+
next,
|
|
829
|
+
end,
|
|
830
|
+
results = [],
|
|
831
|
+
isForward = dir === 'next',
|
|
832
|
+
lastResult,
|
|
833
|
+
rStart = isForward ? 0 : 1,
|
|
834
|
+
rEnd = isForward ? 1 : 0;
|
|
835
|
+
startDate = startDate ? new Date(startDate) : new Date();
|
|
836
|
+
if (!startDate || !startDate.getTime()) throw new Error('Invalid start date.');
|
|
837
|
+
setNextStarts(dir, schedules, schedStarts, startDate);
|
|
838
|
+
setRangeStarts(dir, exceptions, exceptStarts, startDate);
|
|
839
|
+
while (maxAttempts-- && loopCount && (next = findNext(schedStarts, compare))) {
|
|
840
|
+
if (endDate && compare(next, endDate)) {
|
|
841
|
+
break;
|
|
842
|
+
}
|
|
843
|
+
if (exceptionsLen) {
|
|
844
|
+
updateRangeStarts(dir, exceptions, exceptStarts, next);
|
|
845
|
+
if ((end = calcRangeOverlap(dir, exceptStarts, next))) {
|
|
846
|
+
updateNextStarts(dir, schedules, schedStarts, end);
|
|
847
|
+
continue;
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
if (isRange) {
|
|
851
|
+
let maxEndDate = calcMaxEndDate(exceptStarts, compare);
|
|
852
|
+
end = calcEnd(dir, schedules, schedStarts, next, maxEndDate);
|
|
853
|
+
let r = isForward
|
|
854
|
+
? [new Date(Math.max(startDate, next)), end ? new Date(endDate ? Math.min(end, endDate) : end) : undefined]
|
|
855
|
+
: [
|
|
856
|
+
end
|
|
857
|
+
? new Date(endDate ? Math.max(endDate, end.getTime() + later.SEC) : end.getTime() + later.SEC)
|
|
858
|
+
: undefined,
|
|
859
|
+
new Date(Math.min(startDate, next.getTime() + later.SEC)),
|
|
860
|
+
];
|
|
861
|
+
if (lastResult && r[rStart].getTime() === lastResult[rEnd].getTime()) {
|
|
862
|
+
lastResult[rEnd] = r[rEnd];
|
|
863
|
+
loopCount++;
|
|
864
|
+
} else {
|
|
865
|
+
lastResult = r;
|
|
866
|
+
results.push(lastResult);
|
|
867
|
+
}
|
|
868
|
+
if (!end) break;
|
|
869
|
+
updateNextStarts(dir, schedules, schedStarts, end);
|
|
870
|
+
} else {
|
|
871
|
+
results.push(
|
|
872
|
+
isForward ? new Date(Math.max(startDate, next)) : getStart(schedules, schedStarts, next, endDate),
|
|
873
|
+
);
|
|
874
|
+
tickStarts(dir, schedules, schedStarts, next);
|
|
875
|
+
}
|
|
876
|
+
loopCount--;
|
|
877
|
+
}
|
|
878
|
+
for (let i = 0, len = results.length; i < len; i++) {
|
|
879
|
+
let result = results[i];
|
|
880
|
+
results[i] =
|
|
881
|
+
Object.prototype.toString.call(result) === '[object Array]'
|
|
882
|
+
? [cleanDate(result[0]), cleanDate(result[1])]
|
|
883
|
+
: cleanDate(result);
|
|
884
|
+
}
|
|
885
|
+
return results.length === 0 ? later.NEVER : count === 1 ? results[0] : results;
|
|
886
|
+
}
|
|
887
|
+
function cleanDate(d) {
|
|
888
|
+
if (d instanceof Date && !isNaN(d.valueOf())) {
|
|
889
|
+
return new Date(d);
|
|
890
|
+
}
|
|
891
|
+
return undefined;
|
|
892
|
+
}
|
|
893
|
+
function setNextStarts(dir, schedArr, startsArr, startDate) {
|
|
894
|
+
for (let i = 0, len = schedArr.length; i < len; i++) {
|
|
895
|
+
startsArr[i] = schedArr[i].start(dir, startDate);
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
function updateNextStarts(dir, schedArr, startsArr, startDate) {
|
|
899
|
+
let compare = compareFn(dir);
|
|
900
|
+
for (let i = 0, len = schedArr.length; i < len; i++) {
|
|
901
|
+
if (startsArr[i] && !compare(startsArr[i], startDate)) {
|
|
902
|
+
startsArr[i] = schedArr[i].start(dir, startDate);
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
function setRangeStarts(dir, schedArr, rangesArr, startDate) {
|
|
907
|
+
let compare = compareFn(dir);
|
|
908
|
+
for (let i = 0, len = schedArr.length; i < len; i++) {
|
|
909
|
+
let nextStart = schedArr[i].start(dir, startDate);
|
|
910
|
+
if (!nextStart) {
|
|
911
|
+
rangesArr[i] = later.NEVER;
|
|
912
|
+
} else {
|
|
913
|
+
rangesArr[i] = [nextStart, schedArr[i].end(dir, nextStart)];
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
function updateRangeStarts(dir, schedArr, rangesArr, startDate) {
|
|
918
|
+
let compare = compareFn(dir);
|
|
919
|
+
for (let i = 0, len = schedArr.length; i < len; i++) {
|
|
920
|
+
if (rangesArr[i] && !compare(rangesArr[i][0], startDate)) {
|
|
921
|
+
let nextStart = schedArr[i].start(dir, startDate);
|
|
922
|
+
if (!nextStart) {
|
|
923
|
+
rangesArr[i] = later.NEVER;
|
|
924
|
+
} else {
|
|
925
|
+
rangesArr[i] = [nextStart, schedArr[i].end(dir, nextStart)];
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
function tickStarts(dir, schedArr, startsArr, startDate) {
|
|
931
|
+
for (let i = 0, len = schedArr.length; i < len; i++) {
|
|
932
|
+
if (startsArr[i] && startsArr[i].getTime() === startDate.getTime()) {
|
|
933
|
+
startsArr[i] = schedArr[i].start(dir, schedArr[i].tick(dir, startDate));
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
function getStart(schedArr, startsArr, startDate, minEndDate) {
|
|
938
|
+
let result;
|
|
939
|
+
for (let i = 0, len = startsArr.length; i < len; i++) {
|
|
940
|
+
if (startsArr[i] && startsArr[i].getTime() === startDate.getTime()) {
|
|
941
|
+
let start = schedArr[i].tickStart(startDate);
|
|
942
|
+
if (minEndDate && start < minEndDate) {
|
|
943
|
+
return minEndDate;
|
|
944
|
+
}
|
|
945
|
+
if (!result || start > result) {
|
|
946
|
+
result = start;
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
return result;
|
|
951
|
+
}
|
|
952
|
+
function calcRangeOverlap(dir, rangesArr, startDate) {
|
|
953
|
+
let compare = compareFn(dir),
|
|
954
|
+
result;
|
|
955
|
+
for (let i = 0, len = rangesArr.length; i < len; i++) {
|
|
956
|
+
let range = rangesArr[i];
|
|
957
|
+
if (range && !compare(range[0], startDate) && (!range[1] || compare(range[1], startDate))) {
|
|
958
|
+
if (!result || compare(range[1], result)) {
|
|
959
|
+
result = range[1];
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
return result;
|
|
964
|
+
}
|
|
965
|
+
function calcMaxEndDate(exceptsArr, compare) {
|
|
966
|
+
let result;
|
|
967
|
+
for (let i = 0, len = exceptsArr.length; i < len; i++) {
|
|
968
|
+
if (exceptsArr[i] && (!result || compare(result, exceptsArr[i][0]))) {
|
|
969
|
+
result = exceptsArr[i][0];
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
return result;
|
|
973
|
+
}
|
|
974
|
+
function calcEnd(dir, schedArr, startsArr, startDate, maxEndDate) {
|
|
975
|
+
let compare = compareFn(dir),
|
|
976
|
+
result;
|
|
977
|
+
for (let i = 0, len = schedArr.length; i < len; i++) {
|
|
978
|
+
let start = startsArr[i];
|
|
979
|
+
if (start && start.getTime() === startDate.getTime()) {
|
|
980
|
+
let end = schedArr[i].end(dir, start);
|
|
981
|
+
if (maxEndDate && (!end || compare(end, maxEndDate))) {
|
|
982
|
+
return maxEndDate;
|
|
983
|
+
}
|
|
984
|
+
if (!result || compare(end, result)) {
|
|
985
|
+
result = end;
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
return result;
|
|
990
|
+
}
|
|
991
|
+
function compareFn(dir) {
|
|
992
|
+
return dir === 'next'
|
|
993
|
+
? function (a, b) {
|
|
994
|
+
return !b || a.getTime() > b.getTime();
|
|
995
|
+
}
|
|
996
|
+
: function (a, b) {
|
|
997
|
+
return !a || b.getTime() > a.getTime();
|
|
998
|
+
};
|
|
999
|
+
}
|
|
1000
|
+
function findNext(arr, compare) {
|
|
1001
|
+
let next = arr[0];
|
|
1002
|
+
for (let i = 1, len = arr.length; i < len; i++) {
|
|
1003
|
+
if (arr[i] && compare(next, arr[i])) {
|
|
1004
|
+
next = arr[i];
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
return next;
|
|
1008
|
+
}
|
|
1009
|
+
return {
|
|
1010
|
+
isValid: function (d) {
|
|
1011
|
+
return getInstances('next', 1, d, d) !== later.NEVER;
|
|
1012
|
+
},
|
|
1013
|
+
next: function (count, startDate, endDate) {
|
|
1014
|
+
return getInstances('next', count || 1, startDate, endDate);
|
|
1015
|
+
},
|
|
1016
|
+
prev: function (count, startDate, endDate) {
|
|
1017
|
+
return getInstances('prev', count || 1, startDate, endDate);
|
|
1018
|
+
},
|
|
1019
|
+
nextRange: function (count, startDate, endDate) {
|
|
1020
|
+
return getInstances('next', count || 1, startDate, endDate, true);
|
|
1021
|
+
},
|
|
1022
|
+
prevRange: function (count, startDate, endDate) {
|
|
1023
|
+
return getInstances('prev', count || 1, startDate, endDate, true);
|
|
1024
|
+
},
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
later.setTimeout = function (fn, sched) {
|
|
1028
|
+
let s = later.schedule(sched),
|
|
1029
|
+
t;
|
|
1030
|
+
if (fn) {
|
|
1031
|
+
scheduleTimeout();
|
|
1032
|
+
}
|
|
1033
|
+
function scheduleTimeout() {
|
|
1034
|
+
let now = Date.now(),
|
|
1035
|
+
next = s.next(2, now);
|
|
1036
|
+
if (!next[0]) {
|
|
1037
|
+
t = undefined;
|
|
1038
|
+
return;
|
|
1039
|
+
}
|
|
1040
|
+
let diff = next[0].getTime() - now;
|
|
1041
|
+
if (diff < 1e3) {
|
|
1042
|
+
diff = next[1] ? next[1].getTime() - now : 1e3;
|
|
1043
|
+
}
|
|
1044
|
+
if (diff < 2147483647) {
|
|
1045
|
+
t = setTimeout(fn, diff);
|
|
1046
|
+
} else {
|
|
1047
|
+
t = setTimeout(scheduleTimeout, 2147483647);
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
return {
|
|
1051
|
+
isDone: function () {
|
|
1052
|
+
return !t;
|
|
1053
|
+
},
|
|
1054
|
+
clear: function () {
|
|
1055
|
+
clearTimeout(t);
|
|
1056
|
+
},
|
|
1057
|
+
};
|
|
1058
|
+
};
|
|
1059
|
+
later.setInterval = function (fn, sched) {
|
|
1060
|
+
if (!fn) {
|
|
1061
|
+
return;
|
|
1062
|
+
}
|
|
1063
|
+
let t = later.setTimeout(scheduleTimeout, sched),
|
|
1064
|
+
done = t.isDone();
|
|
1065
|
+
function scheduleTimeout() {
|
|
1066
|
+
if (!done) {
|
|
1067
|
+
fn();
|
|
1068
|
+
t = later.setTimeout(scheduleTimeout, sched);
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
return {
|
|
1072
|
+
isDone: function () {
|
|
1073
|
+
return t.isDone();
|
|
1074
|
+
},
|
|
1075
|
+
clear: function () {
|
|
1076
|
+
done = true;
|
|
1077
|
+
t.clear();
|
|
1078
|
+
},
|
|
1079
|
+
};
|
|
1080
|
+
};
|
|
1081
|
+
later.date = {};
|
|
1082
|
+
later.date.timezone = function (useLocalTime) {
|
|
1083
|
+
later.date.build = useLocalTime
|
|
1084
|
+
? function (Y, M, D, h, m, s) {
|
|
1085
|
+
return new Date(Y, M, D, h, m, s);
|
|
1086
|
+
}
|
|
1087
|
+
: function (Y, M, D, h, m, s) {
|
|
1088
|
+
return new Date(Date.UTC(Y, M, D, h, m, s));
|
|
1089
|
+
};
|
|
1090
|
+
let get = useLocalTime ? 'get' : 'getUTC',
|
|
1091
|
+
d = Date.prototype;
|
|
1092
|
+
later.date.getYear = d[get + 'FullYear'];
|
|
1093
|
+
later.date.getMonth = d[get + 'Month'];
|
|
1094
|
+
later.date.getDate = d[get + 'Date'];
|
|
1095
|
+
later.date.getDay = d[get + 'Day'];
|
|
1096
|
+
later.date.getHour = d[get + 'Hours'];
|
|
1097
|
+
later.date.getMin = d[get + 'Minutes'];
|
|
1098
|
+
later.date.getSec = d[get + 'Seconds'];
|
|
1099
|
+
later.date.isUTC = !useLocalTime;
|
|
1100
|
+
};
|
|
1101
|
+
later.date.UTC = function () {
|
|
1102
|
+
later.date.timezone(false);
|
|
1103
|
+
};
|
|
1104
|
+
later.date.localTime = function () {
|
|
1105
|
+
later.date.timezone(true);
|
|
1106
|
+
};
|
|
1107
|
+
later.date.UTC();
|
|
1108
|
+
later.SEC = 1e3;
|
|
1109
|
+
later.MIN = later.SEC * 60;
|
|
1110
|
+
later.HOUR = later.MIN * 60;
|
|
1111
|
+
later.DAY = later.HOUR * 24;
|
|
1112
|
+
later.WEEK = later.DAY * 7;
|
|
1113
|
+
later.DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
1114
|
+
later.NEVER = 0;
|
|
1115
|
+
later.date.next = function (Y, M, D, h, m, s) {
|
|
1116
|
+
return later.date.build(Y, M !== undefined ? M - 1 : 0, D !== undefined ? D : 1, h || 0, m || 0, s || 0);
|
|
1117
|
+
};
|
|
1118
|
+
later.date.nextRollover = function (d, val, constraint, period) {
|
|
1119
|
+
let cur = constraint.val(d),
|
|
1120
|
+
max = constraint.extent(d)[1];
|
|
1121
|
+
return (val || max) <= cur || val > max ? new Date(period.end(d).getTime() + later.SEC) : period.start(d);
|
|
1122
|
+
};
|
|
1123
|
+
later.date.prev = function (Y, M, D, h, m, s) {
|
|
1124
|
+
let len = arguments.length;
|
|
1125
|
+
M = len < 2 ? 11 : M - 1;
|
|
1126
|
+
D = len < 3 ? later.D.extent(later.date.next(Y, M + 1))[1] : D;
|
|
1127
|
+
h = len < 4 ? 23 : h;
|
|
1128
|
+
m = len < 5 ? 59 : m;
|
|
1129
|
+
s = len < 6 ? 59 : s;
|
|
1130
|
+
return later.date.build(Y, M, D, h, m, s);
|
|
1131
|
+
};
|
|
1132
|
+
later.date.prevRollover = function (d, val, constraint, period) {
|
|
1133
|
+
let cur = constraint.val(d);
|
|
1134
|
+
return val >= cur || !val ? period.start(period.prev(d, period.val(d) - 1)) : period.start(d);
|
|
1135
|
+
};
|
|
1136
|
+
later.parse = {};
|
|
1137
|
+
later.parse.cron = function (expr, hasSeconds) {
|
|
1138
|
+
let NAMES = {
|
|
1139
|
+
JAN: 1,
|
|
1140
|
+
FEB: 2,
|
|
1141
|
+
MAR: 3,
|
|
1142
|
+
APR: 4,
|
|
1143
|
+
MAY: 5,
|
|
1144
|
+
JUN: 6,
|
|
1145
|
+
JUL: 7,
|
|
1146
|
+
AUG: 8,
|
|
1147
|
+
SEP: 9,
|
|
1148
|
+
OCT: 10,
|
|
1149
|
+
NOV: 11,
|
|
1150
|
+
DEC: 12,
|
|
1151
|
+
SUN: 1,
|
|
1152
|
+
MON: 2,
|
|
1153
|
+
TUE: 3,
|
|
1154
|
+
WED: 4,
|
|
1155
|
+
THU: 5,
|
|
1156
|
+
FRI: 6,
|
|
1157
|
+
SAT: 7,
|
|
1158
|
+
};
|
|
1159
|
+
let REPLACEMENTS = {
|
|
1160
|
+
'* * * * * *': '0/1 * * * * *',
|
|
1161
|
+
'@YEARLY': '0 0 1 1 *',
|
|
1162
|
+
'@ANNUALLY': '0 0 1 1 *',
|
|
1163
|
+
'@MONTHLY': '0 0 1 * *',
|
|
1164
|
+
'@WEEKLY': '0 0 * * 0',
|
|
1165
|
+
'@DAILY': '0 0 * * *',
|
|
1166
|
+
'@HOURLY': '0 * * * *',
|
|
1167
|
+
};
|
|
1168
|
+
let FIELDS = {
|
|
1169
|
+
s: [0, 0, 59],
|
|
1170
|
+
m: [1, 0, 59],
|
|
1171
|
+
h: [2, 0, 23],
|
|
1172
|
+
D: [3, 1, 31],
|
|
1173
|
+
M: [4, 1, 12],
|
|
1174
|
+
Y: [6, 1970, 2099],
|
|
1175
|
+
d: [5, 1, 7, 1],
|
|
1176
|
+
};
|
|
1177
|
+
function getValue(value, offset, max) {
|
|
1178
|
+
return isNaN(value) ? NAMES[value] || null : Math.min(+value + (offset || 0), max || 9999);
|
|
1179
|
+
}
|
|
1180
|
+
function cloneSchedule(sched) {
|
|
1181
|
+
let clone = {},
|
|
1182
|
+
field;
|
|
1183
|
+
for (field in sched) {
|
|
1184
|
+
if (field !== 'dc' && field !== 'd') {
|
|
1185
|
+
clone[field] = sched[field].slice(0);
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
return clone;
|
|
1189
|
+
}
|
|
1190
|
+
function add(sched, name, min, max, inc) {
|
|
1191
|
+
let i = min;
|
|
1192
|
+
if (!sched[name]) {
|
|
1193
|
+
sched[name] = [];
|
|
1194
|
+
}
|
|
1195
|
+
while (i <= max) {
|
|
1196
|
+
if (sched[name].indexOf(i) < 0) {
|
|
1197
|
+
sched[name].push(i);
|
|
1198
|
+
}
|
|
1199
|
+
i += inc || 1;
|
|
1200
|
+
}
|
|
1201
|
+
sched[name].sort(function (a, b) {
|
|
1202
|
+
return a - b;
|
|
1203
|
+
});
|
|
1204
|
+
}
|
|
1205
|
+
function addHash(schedules, curSched, value, hash) {
|
|
1206
|
+
if ((curSched.d && !curSched.dc) || (curSched.dc && curSched.dc.indexOf(hash) < 0)) {
|
|
1207
|
+
schedules.push(cloneSchedule(curSched));
|
|
1208
|
+
curSched = schedules[schedules.length - 1];
|
|
1209
|
+
}
|
|
1210
|
+
add(curSched, 'd', value, value);
|
|
1211
|
+
add(curSched, 'dc', hash, hash);
|
|
1212
|
+
}
|
|
1213
|
+
function addWeekday(s, curSched, value) {
|
|
1214
|
+
let except1 = {},
|
|
1215
|
+
except2 = {};
|
|
1216
|
+
if (value === 1) {
|
|
1217
|
+
add(curSched, 'D', 1, 3);
|
|
1218
|
+
add(curSched, 'd', NAMES.MON, NAMES.FRI);
|
|
1219
|
+
add(except1, 'D', 2, 2);
|
|
1220
|
+
add(except1, 'd', NAMES.TUE, NAMES.FRI);
|
|
1221
|
+
add(except2, 'D', 3, 3);
|
|
1222
|
+
add(except2, 'd', NAMES.TUE, NAMES.FRI);
|
|
1223
|
+
} else {
|
|
1224
|
+
add(curSched, 'D', value - 1, value + 1);
|
|
1225
|
+
add(curSched, 'd', NAMES.MON, NAMES.FRI);
|
|
1226
|
+
add(except1, 'D', value - 1, value - 1);
|
|
1227
|
+
add(except1, 'd', NAMES.MON, NAMES.THU);
|
|
1228
|
+
add(except2, 'D', value + 1, value + 1);
|
|
1229
|
+
add(except2, 'd', NAMES.TUE, NAMES.FRI);
|
|
1230
|
+
}
|
|
1231
|
+
s.exceptions.push(except1);
|
|
1232
|
+
s.exceptions.push(except2);
|
|
1233
|
+
}
|
|
1234
|
+
function addRange(item, curSched, name, min, max, offset) {
|
|
1235
|
+
let incSplit = item.split('/'),
|
|
1236
|
+
inc = +incSplit[1],
|
|
1237
|
+
range = incSplit[0];
|
|
1238
|
+
if (range !== '*' && range !== '0') {
|
|
1239
|
+
let rangeSplit = range.split('-');
|
|
1240
|
+
min = getValue(rangeSplit[0], offset, max);
|
|
1241
|
+
max = getValue(rangeSplit[1], offset, max) || max;
|
|
1242
|
+
}
|
|
1243
|
+
add(curSched, name, min, max, inc);
|
|
1244
|
+
}
|
|
1245
|
+
function parse(item, s, name, min, max, offset) {
|
|
1246
|
+
let value,
|
|
1247
|
+
split,
|
|
1248
|
+
schedules = s.schedules,
|
|
1249
|
+
curSched = schedules[schedules.length - 1];
|
|
1250
|
+
if (item === 'L') {
|
|
1251
|
+
item = min - 1;
|
|
1252
|
+
}
|
|
1253
|
+
if ((value = getValue(item, offset, max)) !== null) {
|
|
1254
|
+
add(curSched, name, value, value);
|
|
1255
|
+
} else if ((value = getValue(item.replace('W', ''), offset, max)) !== null) {
|
|
1256
|
+
addWeekday(s, curSched, value);
|
|
1257
|
+
} else if ((value = getValue(item.replace('L', ''), offset, max)) !== null) {
|
|
1258
|
+
addHash(schedules, curSched, value, min - 1);
|
|
1259
|
+
} else if ((split = item.split('#')).length === 2) {
|
|
1260
|
+
value = getValue(split[0], offset, max);
|
|
1261
|
+
addHash(schedules, curSched, value, getValue(split[1]));
|
|
1262
|
+
} else {
|
|
1263
|
+
addRange(item, curSched, name, min, max, offset);
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
function isHash(item) {
|
|
1267
|
+
return item.indexOf('#') > -1 || item.indexOf('L') > 0;
|
|
1268
|
+
}
|
|
1269
|
+
function itemSorter(a, b) {
|
|
1270
|
+
return isHash(a) && !isHash(b) ? 1 : a - b;
|
|
1271
|
+
}
|
|
1272
|
+
function parseExpr(expr) {
|
|
1273
|
+
let schedule = {
|
|
1274
|
+
schedules: [{}],
|
|
1275
|
+
exceptions: [],
|
|
1276
|
+
},
|
|
1277
|
+
components = expr.replace(/(\s)+/g, ' ').split(' '),
|
|
1278
|
+
field,
|
|
1279
|
+
f,
|
|
1280
|
+
component,
|
|
1281
|
+
items;
|
|
1282
|
+
for (field in FIELDS) {
|
|
1283
|
+
f = FIELDS[field];
|
|
1284
|
+
component = components[f[0]];
|
|
1285
|
+
if (component && component !== '*' && component !== '?') {
|
|
1286
|
+
items = component.split(',').sort(itemSorter);
|
|
1287
|
+
let i,
|
|
1288
|
+
length = items.length;
|
|
1289
|
+
for (i = 0; i < length; i++) {
|
|
1290
|
+
parse(items[i], schedule, field, f[1], f[2], f[3]);
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
return schedule;
|
|
1295
|
+
}
|
|
1296
|
+
function prepareExpr(expr) {
|
|
1297
|
+
let prepared = expr.toUpperCase();
|
|
1298
|
+
return REPLACEMENTS[prepared] || prepared;
|
|
1299
|
+
}
|
|
1300
|
+
let e = prepareExpr(expr);
|
|
1301
|
+
return parseExpr(hasSeconds ? e : '0 ' + e);
|
|
1302
|
+
};
|
|
1303
|
+
later.parse.recur = function () {
|
|
1304
|
+
let schedules = [],
|
|
1305
|
+
exceptions = [],
|
|
1306
|
+
cur,
|
|
1307
|
+
curArr = schedules,
|
|
1308
|
+
curName,
|
|
1309
|
+
values,
|
|
1310
|
+
every,
|
|
1311
|
+
modifier,
|
|
1312
|
+
applyMin,
|
|
1313
|
+
applyMax,
|
|
1314
|
+
i,
|
|
1315
|
+
last;
|
|
1316
|
+
function add(name, min, max) {
|
|
1317
|
+
name = modifier ? name + '_' + modifier : name;
|
|
1318
|
+
if (!cur) {
|
|
1319
|
+
curArr.push({});
|
|
1320
|
+
cur = curArr[0];
|
|
1321
|
+
}
|
|
1322
|
+
if (!cur[name]) {
|
|
1323
|
+
cur[name] = [];
|
|
1324
|
+
}
|
|
1325
|
+
curName = cur[name];
|
|
1326
|
+
if (every) {
|
|
1327
|
+
values = [];
|
|
1328
|
+
for (i = min; i <= max; i += every) {
|
|
1329
|
+
values.push(i);
|
|
1330
|
+
}
|
|
1331
|
+
last = {
|
|
1332
|
+
n: name,
|
|
1333
|
+
x: every,
|
|
1334
|
+
c: curName.length,
|
|
1335
|
+
m: max,
|
|
1336
|
+
};
|
|
1337
|
+
}
|
|
1338
|
+
values = applyMin ? [min] : applyMax ? [max] : values;
|
|
1339
|
+
let length = values.length;
|
|
1340
|
+
for (i = 0; i < length; i += 1) {
|
|
1341
|
+
let val = values[i];
|
|
1342
|
+
if (curName.indexOf(val) < 0) {
|
|
1343
|
+
curName.push(val);
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
values = every = modifier = applyMin = applyMax = 0;
|
|
1347
|
+
}
|
|
1348
|
+
return {
|
|
1349
|
+
schedules: schedules,
|
|
1350
|
+
exceptions: exceptions,
|
|
1351
|
+
on: function () {
|
|
1352
|
+
values = arguments[0] instanceof Array ? arguments[0] : arguments;
|
|
1353
|
+
return this;
|
|
1354
|
+
},
|
|
1355
|
+
every: function (x) {
|
|
1356
|
+
every = x || 1;
|
|
1357
|
+
return this;
|
|
1358
|
+
},
|
|
1359
|
+
after: function (x) {
|
|
1360
|
+
modifier = 'a';
|
|
1361
|
+
values = [x];
|
|
1362
|
+
return this;
|
|
1363
|
+
},
|
|
1364
|
+
before: function (x) {
|
|
1365
|
+
modifier = 'b';
|
|
1366
|
+
values = [x];
|
|
1367
|
+
return this;
|
|
1368
|
+
},
|
|
1369
|
+
first: function () {
|
|
1370
|
+
applyMin = 1;
|
|
1371
|
+
return this;
|
|
1372
|
+
},
|
|
1373
|
+
last: function () {
|
|
1374
|
+
applyMax = 1;
|
|
1375
|
+
return this;
|
|
1376
|
+
},
|
|
1377
|
+
time: function () {
|
|
1378
|
+
for (let i = 0, len = values.length; i < len; i++) {
|
|
1379
|
+
let split = values[i].split(':');
|
|
1380
|
+
if (split.length < 3) split.push(0);
|
|
1381
|
+
values[i] = +split[0] * 3600 + +split[1] * 60 + +split[2];
|
|
1382
|
+
}
|
|
1383
|
+
add('t');
|
|
1384
|
+
return this;
|
|
1385
|
+
},
|
|
1386
|
+
second: function () {
|
|
1387
|
+
add('s', 0, 59);
|
|
1388
|
+
return this;
|
|
1389
|
+
},
|
|
1390
|
+
minute: function () {
|
|
1391
|
+
add('m', 0, 59);
|
|
1392
|
+
return this;
|
|
1393
|
+
},
|
|
1394
|
+
hour: function () {
|
|
1395
|
+
add('h', 0, 23);
|
|
1396
|
+
return this;
|
|
1397
|
+
},
|
|
1398
|
+
dayOfMonth: function () {
|
|
1399
|
+
add('D', 1, applyMax ? 0 : 31);
|
|
1400
|
+
return this;
|
|
1401
|
+
},
|
|
1402
|
+
dayOfWeek: function () {
|
|
1403
|
+
add('d', 1, 7);
|
|
1404
|
+
return this;
|
|
1405
|
+
},
|
|
1406
|
+
onWeekend: function () {
|
|
1407
|
+
values = [1, 7];
|
|
1408
|
+
return this.dayOfWeek();
|
|
1409
|
+
},
|
|
1410
|
+
onWeekday: function () {
|
|
1411
|
+
values = [2, 3, 4, 5, 6];
|
|
1412
|
+
return this.dayOfWeek();
|
|
1413
|
+
},
|
|
1414
|
+
dayOfWeekCount: function () {
|
|
1415
|
+
add('dc', 1, applyMax ? 0 : 5);
|
|
1416
|
+
return this;
|
|
1417
|
+
},
|
|
1418
|
+
dayOfYear: function () {
|
|
1419
|
+
add('dy', 1, applyMax ? 0 : 366);
|
|
1420
|
+
return this;
|
|
1421
|
+
},
|
|
1422
|
+
weekOfMonth: function () {
|
|
1423
|
+
add('wm', 1, applyMax ? 0 : 5);
|
|
1424
|
+
return this;
|
|
1425
|
+
},
|
|
1426
|
+
weekOfYear: function () {
|
|
1427
|
+
add('wy', 1, applyMax ? 0 : 53);
|
|
1428
|
+
return this;
|
|
1429
|
+
},
|
|
1430
|
+
month: function () {
|
|
1431
|
+
add('M', 1, 12);
|
|
1432
|
+
return this;
|
|
1433
|
+
},
|
|
1434
|
+
year: function () {
|
|
1435
|
+
add('Y', 1970, 2450);
|
|
1436
|
+
return this;
|
|
1437
|
+
},
|
|
1438
|
+
fullDate: function () {
|
|
1439
|
+
for (let i = 0, len = values.length; i < len; i++) {
|
|
1440
|
+
values[i] = values[i].getTime();
|
|
1441
|
+
}
|
|
1442
|
+
add('fd');
|
|
1443
|
+
return this;
|
|
1444
|
+
},
|
|
1445
|
+
customModifier: function (id, vals) {
|
|
1446
|
+
let custom = later.modifier[id];
|
|
1447
|
+
if (!custom) throw new Error('Custom modifier ' + id + ' not recognized!');
|
|
1448
|
+
modifier = id;
|
|
1449
|
+
values = arguments[1] instanceof Array ? arguments[1] : [arguments[1]];
|
|
1450
|
+
return this;
|
|
1451
|
+
},
|
|
1452
|
+
customPeriod: function (id) {
|
|
1453
|
+
let custom = later[id];
|
|
1454
|
+
if (!custom) throw new Error('Custom time period ' + id + ' not recognized!');
|
|
1455
|
+
add(id, custom.extent(new Date())[0], custom.extent(new Date())[1]);
|
|
1456
|
+
return this;
|
|
1457
|
+
},
|
|
1458
|
+
startingOn: function (start) {
|
|
1459
|
+
return this.between(start, last.m);
|
|
1460
|
+
},
|
|
1461
|
+
between: function (start, end) {
|
|
1462
|
+
cur[last.n] = cur[last.n].splice(0, last.c);
|
|
1463
|
+
every = last.x;
|
|
1464
|
+
add(last.n, start, end);
|
|
1465
|
+
return this;
|
|
1466
|
+
},
|
|
1467
|
+
and: function () {
|
|
1468
|
+
cur = curArr[curArr.push({}) - 1];
|
|
1469
|
+
return this;
|
|
1470
|
+
},
|
|
1471
|
+
except: function () {
|
|
1472
|
+
curArr = exceptions;
|
|
1473
|
+
cur = null;
|
|
1474
|
+
return this;
|
|
1475
|
+
},
|
|
1476
|
+
};
|
|
1477
|
+
};
|
|
1478
|
+
later.parse.text = function (str) {
|
|
1479
|
+
let recur = later.parse.recur,
|
|
1480
|
+
pos = 0,
|
|
1481
|
+
input = '',
|
|
1482
|
+
error;
|
|
1483
|
+
let TOKENTYPES = {
|
|
1484
|
+
eof: /^$/,
|
|
1485
|
+
rank: /^((\d\d\d\d)|([2-5]?1(st)?|[2-5]?2(nd)?|[2-5]?3(rd)?|(0|[1-5]?[4-9]|[1-5]0|1[1-3])(th)?))\b/,
|
|
1486
|
+
time: /^((([0]?[1-9]|1[0-2]):[0-5]\d(\s)?(am|pm))|(([0]?\d|1\d|2[0-3]):[0-5]\d))\b/,
|
|
1487
|
+
dayName: /^((sun|mon|tue(s)?|wed(nes)?|thu(r(s)?)?|fri|sat(ur)?)(day)?)\b/,
|
|
1488
|
+
monthName: /^(jan(uary)?|feb(ruary)?|ma((r(ch)?)?|y)|apr(il)?|ju(ly|ne)|aug(ust)?|oct(ober)?|(sept|nov|dec)(ember)?)\b/,
|
|
1489
|
+
yearIndex: /^(\d\d\d\d)\b/,
|
|
1490
|
+
every: /^every\b/,
|
|
1491
|
+
after: /^after\b/,
|
|
1492
|
+
before: /^before\b/,
|
|
1493
|
+
second: /^(s|sec(ond)?(s)?)\b/,
|
|
1494
|
+
minute: /^(m|min(ute)?(s)?)\b/,
|
|
1495
|
+
hour: /^(h|hour(s)?)\b/,
|
|
1496
|
+
day: /^(day(s)?( of the month)?)\b/,
|
|
1497
|
+
dayInstance: /^day instance\b/,
|
|
1498
|
+
dayOfWeek: /^day(s)? of the week\b/,
|
|
1499
|
+
dayOfYear: /^day(s)? of the year\b/,
|
|
1500
|
+
weekOfYear: /^week(s)?( of the year)?\b/,
|
|
1501
|
+
weekOfMonth: /^week(s)? of the month\b/,
|
|
1502
|
+
weekday: /^weekday\b/,
|
|
1503
|
+
weekend: /^weekend\b/,
|
|
1504
|
+
month: /^month(s)?\b/,
|
|
1505
|
+
year: /^year(s)?\b/,
|
|
1506
|
+
between: /^between (the)?\b/,
|
|
1507
|
+
start: /^(start(ing)? (at|on( the)?)?)\b/,
|
|
1508
|
+
at: /^(at|@)\b/,
|
|
1509
|
+
and: /^(,|and\b)/,
|
|
1510
|
+
except: /^(except\b)/,
|
|
1511
|
+
also: /(also)\b/,
|
|
1512
|
+
first: /^(first)\b/,
|
|
1513
|
+
last: /^last\b/,
|
|
1514
|
+
in: /^in\b/,
|
|
1515
|
+
of: /^of\b/,
|
|
1516
|
+
onthe: /^on the\b/,
|
|
1517
|
+
on: /^on\b/,
|
|
1518
|
+
through: /(-|^(to|through)\b)/,
|
|
1519
|
+
};
|
|
1520
|
+
let NAMES = {
|
|
1521
|
+
jan: 1,
|
|
1522
|
+
feb: 2,
|
|
1523
|
+
mar: 3,
|
|
1524
|
+
apr: 4,
|
|
1525
|
+
may: 5,
|
|
1526
|
+
jun: 6,
|
|
1527
|
+
jul: 7,
|
|
1528
|
+
aug: 8,
|
|
1529
|
+
sep: 9,
|
|
1530
|
+
oct: 10,
|
|
1531
|
+
nov: 11,
|
|
1532
|
+
dec: 12,
|
|
1533
|
+
sun: 1,
|
|
1534
|
+
mon: 2,
|
|
1535
|
+
tue: 3,
|
|
1536
|
+
wed: 4,
|
|
1537
|
+
thu: 5,
|
|
1538
|
+
fri: 6,
|
|
1539
|
+
sat: 7,
|
|
1540
|
+
'1st': 1,
|
|
1541
|
+
fir: 1,
|
|
1542
|
+
'2nd': 2,
|
|
1543
|
+
sec: 2,
|
|
1544
|
+
'3rd': 3,
|
|
1545
|
+
thi: 3,
|
|
1546
|
+
'4th': 4,
|
|
1547
|
+
for: 4,
|
|
1548
|
+
};
|
|
1549
|
+
function t(start, end, text, type) {
|
|
1550
|
+
return {
|
|
1551
|
+
startPos: start,
|
|
1552
|
+
endPos: end,
|
|
1553
|
+
text: text,
|
|
1554
|
+
type: type,
|
|
1555
|
+
};
|
|
1556
|
+
}
|
|
1557
|
+
function peek(expected) {
|
|
1558
|
+
let scanTokens = expected instanceof Array ? expected : [expected],
|
|
1559
|
+
whiteSpace = /\s+/,
|
|
1560
|
+
token,
|
|
1561
|
+
curInput,
|
|
1562
|
+
m,
|
|
1563
|
+
scanToken,
|
|
1564
|
+
start,
|
|
1565
|
+
len;
|
|
1566
|
+
scanTokens.push(whiteSpace);
|
|
1567
|
+
start = pos;
|
|
1568
|
+
while (!token || token.type === whiteSpace) {
|
|
1569
|
+
len = -1;
|
|
1570
|
+
curInput = input.substring(start);
|
|
1571
|
+
token = t(start, start, input.split(whiteSpace)[0]);
|
|
1572
|
+
let i,
|
|
1573
|
+
length = scanTokens.length;
|
|
1574
|
+
for (i = 0; i < length; i++) {
|
|
1575
|
+
scanToken = scanTokens[i];
|
|
1576
|
+
m = scanToken.exec(curInput);
|
|
1577
|
+
if (m && m.index === 0 && m[0].length > len) {
|
|
1578
|
+
len = m[0].length;
|
|
1579
|
+
token = t(start, start + len, curInput.substring(0, len), scanToken);
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
if (token.type === whiteSpace) {
|
|
1583
|
+
start = token.endPos;
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
return token;
|
|
1587
|
+
}
|
|
1588
|
+
function scan(expectedToken) {
|
|
1589
|
+
let token = peek(expectedToken);
|
|
1590
|
+
pos = token.endPos;
|
|
1591
|
+
return token;
|
|
1592
|
+
}
|
|
1593
|
+
function parseThroughExpr(tokenType) {
|
|
1594
|
+
let start = +parseTokenValue(tokenType),
|
|
1595
|
+
end = checkAndParse(TOKENTYPES.through) ? +parseTokenValue(tokenType) : start,
|
|
1596
|
+
nums = [];
|
|
1597
|
+
for (let i = start; i <= end; i++) {
|
|
1598
|
+
nums.push(i);
|
|
1599
|
+
}
|
|
1600
|
+
return nums;
|
|
1601
|
+
}
|
|
1602
|
+
function parseRanges(tokenType) {
|
|
1603
|
+
let nums = parseThroughExpr(tokenType);
|
|
1604
|
+
while (checkAndParse(TOKENTYPES.and)) {
|
|
1605
|
+
nums = nums.concat(parseThroughExpr(tokenType));
|
|
1606
|
+
}
|
|
1607
|
+
return nums;
|
|
1608
|
+
}
|
|
1609
|
+
function parseEvery(r) {
|
|
1610
|
+
let num, period, start, end;
|
|
1611
|
+
if (checkAndParse(TOKENTYPES.weekend)) {
|
|
1612
|
+
r.on(NAMES.sun, NAMES.sat).dayOfWeek();
|
|
1613
|
+
} else if (checkAndParse(TOKENTYPES.weekday)) {
|
|
1614
|
+
r.on(NAMES.mon, NAMES.tue, NAMES.wed, NAMES.thu, NAMES.fri).dayOfWeek();
|
|
1615
|
+
} else {
|
|
1616
|
+
num = parseTokenValue(TOKENTYPES.rank);
|
|
1617
|
+
r.every(num);
|
|
1618
|
+
period = parseTimePeriod(r);
|
|
1619
|
+
if (checkAndParse(TOKENTYPES.start)) {
|
|
1620
|
+
num = parseTokenValue(TOKENTYPES.rank);
|
|
1621
|
+
r.startingOn(num);
|
|
1622
|
+
parseToken(period.type);
|
|
1623
|
+
} else if (checkAndParse(TOKENTYPES.between)) {
|
|
1624
|
+
start = parseTokenValue(TOKENTYPES.rank);
|
|
1625
|
+
if (checkAndParse(TOKENTYPES.and)) {
|
|
1626
|
+
end = parseTokenValue(TOKENTYPES.rank);
|
|
1627
|
+
r.between(start, end);
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
function parseOnThe(r) {
|
|
1633
|
+
if (checkAndParse(TOKENTYPES.first)) {
|
|
1634
|
+
r.first();
|
|
1635
|
+
} else if (checkAndParse(TOKENTYPES.last)) {
|
|
1636
|
+
r.last();
|
|
1637
|
+
} else {
|
|
1638
|
+
r.on(parseRanges(TOKENTYPES.rank));
|
|
1639
|
+
}
|
|
1640
|
+
parseTimePeriod(r);
|
|
1641
|
+
}
|
|
1642
|
+
function parseScheduleExpr(str) {
|
|
1643
|
+
pos = 0;
|
|
1644
|
+
input = str;
|
|
1645
|
+
error = -1;
|
|
1646
|
+
let r = recur();
|
|
1647
|
+
while (pos < input.length && error < 0) {
|
|
1648
|
+
let token = parseToken([
|
|
1649
|
+
TOKENTYPES.every,
|
|
1650
|
+
TOKENTYPES.after,
|
|
1651
|
+
TOKENTYPES.before,
|
|
1652
|
+
TOKENTYPES.onthe,
|
|
1653
|
+
TOKENTYPES.on,
|
|
1654
|
+
TOKENTYPES.of,
|
|
1655
|
+
TOKENTYPES['in'],
|
|
1656
|
+
TOKENTYPES.at,
|
|
1657
|
+
TOKENTYPES.and,
|
|
1658
|
+
TOKENTYPES.except,
|
|
1659
|
+
TOKENTYPES.also,
|
|
1660
|
+
]);
|
|
1661
|
+
switch (token.type) {
|
|
1662
|
+
case TOKENTYPES.every:
|
|
1663
|
+
parseEvery(r);
|
|
1664
|
+
break;
|
|
1665
|
+
|
|
1666
|
+
case TOKENTYPES.after:
|
|
1667
|
+
if (peek(TOKENTYPES.time).type !== undefined) {
|
|
1668
|
+
r.after(parseTokenValue(TOKENTYPES.time));
|
|
1669
|
+
r.time();
|
|
1670
|
+
} else {
|
|
1671
|
+
r.after(parseTokenValue(TOKENTYPES.rank));
|
|
1672
|
+
parseTimePeriod(r);
|
|
1673
|
+
}
|
|
1674
|
+
break;
|
|
1675
|
+
|
|
1676
|
+
case TOKENTYPES.before:
|
|
1677
|
+
if (peek(TOKENTYPES.time).type !== undefined) {
|
|
1678
|
+
r.before(parseTokenValue(TOKENTYPES.time));
|
|
1679
|
+
r.time();
|
|
1680
|
+
} else {
|
|
1681
|
+
r.before(parseTokenValue(TOKENTYPES.rank));
|
|
1682
|
+
parseTimePeriod(r);
|
|
1683
|
+
}
|
|
1684
|
+
break;
|
|
1685
|
+
|
|
1686
|
+
case TOKENTYPES.onthe:
|
|
1687
|
+
parseOnThe(r);
|
|
1688
|
+
break;
|
|
1689
|
+
|
|
1690
|
+
case TOKENTYPES.on:
|
|
1691
|
+
r.on(parseRanges(TOKENTYPES.dayName)).dayOfWeek();
|
|
1692
|
+
break;
|
|
1693
|
+
|
|
1694
|
+
case TOKENTYPES.of:
|
|
1695
|
+
r.on(parseRanges(TOKENTYPES.monthName)).month();
|
|
1696
|
+
break;
|
|
1697
|
+
|
|
1698
|
+
case TOKENTYPES['in']:
|
|
1699
|
+
r.on(parseRanges(TOKENTYPES.yearIndex)).year();
|
|
1700
|
+
break;
|
|
1701
|
+
|
|
1702
|
+
case TOKENTYPES.at:
|
|
1703
|
+
r.on(parseTokenValue(TOKENTYPES.time)).time();
|
|
1704
|
+
while (checkAndParse(TOKENTYPES.and)) {
|
|
1705
|
+
r.on(parseTokenValue(TOKENTYPES.time)).time();
|
|
1706
|
+
}
|
|
1707
|
+
break;
|
|
1708
|
+
|
|
1709
|
+
case TOKENTYPES.and:
|
|
1710
|
+
break;
|
|
1711
|
+
|
|
1712
|
+
case TOKENTYPES.also:
|
|
1713
|
+
r.and();
|
|
1714
|
+
break;
|
|
1715
|
+
|
|
1716
|
+
case TOKENTYPES.except:
|
|
1717
|
+
r.except();
|
|
1718
|
+
break;
|
|
1719
|
+
|
|
1720
|
+
default:
|
|
1721
|
+
error = pos;
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
return {
|
|
1725
|
+
schedules: r.schedules,
|
|
1726
|
+
exceptions: r.exceptions,
|
|
1727
|
+
error: error,
|
|
1728
|
+
};
|
|
1729
|
+
}
|
|
1730
|
+
function parseTimePeriod(r) {
|
|
1731
|
+
let timePeriod = parseToken([
|
|
1732
|
+
TOKENTYPES.second,
|
|
1733
|
+
TOKENTYPES.minute,
|
|
1734
|
+
TOKENTYPES.hour,
|
|
1735
|
+
TOKENTYPES.dayOfYear,
|
|
1736
|
+
TOKENTYPES.dayOfWeek,
|
|
1737
|
+
TOKENTYPES.dayInstance,
|
|
1738
|
+
TOKENTYPES.day,
|
|
1739
|
+
TOKENTYPES.month,
|
|
1740
|
+
TOKENTYPES.year,
|
|
1741
|
+
TOKENTYPES.weekOfMonth,
|
|
1742
|
+
TOKENTYPES.weekOfYear,
|
|
1743
|
+
]);
|
|
1744
|
+
switch (timePeriod.type) {
|
|
1745
|
+
case TOKENTYPES.second:
|
|
1746
|
+
r.second();
|
|
1747
|
+
break;
|
|
1748
|
+
|
|
1749
|
+
case TOKENTYPES.minute:
|
|
1750
|
+
r.minute();
|
|
1751
|
+
break;
|
|
1752
|
+
|
|
1753
|
+
case TOKENTYPES.hour:
|
|
1754
|
+
r.hour();
|
|
1755
|
+
break;
|
|
1756
|
+
|
|
1757
|
+
case TOKENTYPES.dayOfYear:
|
|
1758
|
+
r.dayOfYear();
|
|
1759
|
+
break;
|
|
1760
|
+
|
|
1761
|
+
case TOKENTYPES.dayOfWeek:
|
|
1762
|
+
r.dayOfWeek();
|
|
1763
|
+
break;
|
|
1764
|
+
|
|
1765
|
+
case TOKENTYPES.dayInstance:
|
|
1766
|
+
r.dayOfWeekCount();
|
|
1767
|
+
break;
|
|
1768
|
+
|
|
1769
|
+
case TOKENTYPES.day:
|
|
1770
|
+
r.dayOfMonth();
|
|
1771
|
+
break;
|
|
1772
|
+
|
|
1773
|
+
case TOKENTYPES.weekOfMonth:
|
|
1774
|
+
r.weekOfMonth();
|
|
1775
|
+
break;
|
|
1776
|
+
|
|
1777
|
+
case TOKENTYPES.weekOfYear:
|
|
1778
|
+
r.weekOfYear();
|
|
1779
|
+
break;
|
|
1780
|
+
|
|
1781
|
+
case TOKENTYPES.month:
|
|
1782
|
+
r.month();
|
|
1783
|
+
break;
|
|
1784
|
+
|
|
1785
|
+
case TOKENTYPES.year:
|
|
1786
|
+
r.year();
|
|
1787
|
+
break;
|
|
1788
|
+
|
|
1789
|
+
default:
|
|
1790
|
+
error = pos;
|
|
1791
|
+
}
|
|
1792
|
+
return timePeriod;
|
|
1793
|
+
}
|
|
1794
|
+
function checkAndParse(tokenType) {
|
|
1795
|
+
let found = peek(tokenType).type === tokenType;
|
|
1796
|
+
if (found) {
|
|
1797
|
+
scan(tokenType);
|
|
1798
|
+
}
|
|
1799
|
+
return found;
|
|
1800
|
+
}
|
|
1801
|
+
function parseToken(tokenType) {
|
|
1802
|
+
let t = scan(tokenType);
|
|
1803
|
+
if (t.type) {
|
|
1804
|
+
t.text = convertString(t.text, tokenType);
|
|
1805
|
+
} else {
|
|
1806
|
+
error = pos;
|
|
1807
|
+
}
|
|
1808
|
+
return t;
|
|
1809
|
+
}
|
|
1810
|
+
function parseTokenValue(tokenType) {
|
|
1811
|
+
return parseToken(tokenType).text;
|
|
1812
|
+
}
|
|
1813
|
+
function convertString(str, tokenType) {
|
|
1814
|
+
let output = str;
|
|
1815
|
+
switch (tokenType) {
|
|
1816
|
+
case TOKENTYPES.time:
|
|
1817
|
+
let parts = str.split(/(:|am|pm)/),
|
|
1818
|
+
hour = parts[3] === 'pm' && parts[0] < 12 ? parseInt(parts[0], 10) + 12 : parts[0],
|
|
1819
|
+
min = parts[2].trim();
|
|
1820
|
+
output = (hour.length === 1 ? '0' : '') + hour + ':' + min;
|
|
1821
|
+
break;
|
|
1822
|
+
|
|
1823
|
+
case TOKENTYPES.rank:
|
|
1824
|
+
output = parseInt(/^\d+/.exec(str)[0], 10);
|
|
1825
|
+
break;
|
|
1826
|
+
|
|
1827
|
+
case TOKENTYPES.monthName:
|
|
1828
|
+
case TOKENTYPES.dayName:
|
|
1829
|
+
output = NAMES[str.substring(0, 3)];
|
|
1830
|
+
break;
|
|
1831
|
+
}
|
|
1832
|
+
return output;
|
|
1833
|
+
}
|
|
1834
|
+
return parseScheduleExpr(str.toLowerCase());
|
|
1835
|
+
};
|
|
1836
|
+
return later;
|
|
1837
|
+
})();
|