angular-toolbox 1.5.5 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/fesm2022/angular-toolbox.mjs +147 -147
- package/fesm2022/angular-toolbox.mjs.map +1 -1
- package/index.d.ts +5342 -3
- package/package.json +5 -5
- package/lib/angular-toolbox.module.d.ts +0 -9
- package/lib/collection/array-list-event-type.enum.d.ts +0 -28
- package/lib/collection/array-list.d.ts +0 -111
- package/lib/collection/array-list.event.d.ts +0 -29
- package/lib/collection/index.d.ts +0 -10
- package/lib/component/angular-toolbox-logo/angular-toolbox-logo.component.d.ts +0 -5
- package/lib/component/dropdown/dropdown.component.d.ts +0 -100
- package/lib/component/index.d.ts +0 -11
- package/lib/component/layout/border-layout/border-layout.component.d.ts +0 -96
- package/lib/component/layout/border-layout/util/border-layout-bounds-manager.d.ts +0 -131
- package/lib/component/layout/border-layout/util/border-layout-renderer.d.ts +0 -118
- package/lib/component/layout/border-layout/util/resize-method.d.ts +0 -13
- package/lib/component/layout/border-layout-container/border-layout-container.component.d.ts +0 -104
- package/lib/component/layout/index.d.ts +0 -2
- package/lib/component/navbar/navbar.component.d.ts +0 -114
- package/lib/core/abstract/abstract-subscription-manager.d.ts +0 -73
- package/lib/core/abstract/abstract-version-manager.d.ts +0 -34
- package/lib/core/abstract/index.d.ts +0 -2
- package/lib/core/bridge/app-bridge.d.ts +0 -59
- package/lib/core/error/app-bridge-error.d.ts +0 -16
- package/lib/core/error/http-mock-service-error.d.ts +0 -18
- package/lib/core/error/index.d.ts +0 -4
- package/lib/core/error/integrity-error.d.ts +0 -18
- package/lib/core/error/subscription-error.d.ts +0 -18
- package/lib/core/impl/index.d.ts +0 -1
- package/lib/core/impl/lang/identifiable-component.d.ts +0 -44
- package/lib/core/impl/lang/index.d.ts +0 -1
- package/lib/core/impl/version/version.impl.d.ts +0 -46
- package/lib/core/index.d.ts +0 -3
- package/lib/directive/anchor-link.directive.d.ts +0 -29
- package/lib/directive/button-role.directive.d.ts +0 -52
- package/lib/directive/content-renderer.directive.d.ts +0 -39
- package/lib/directive/index.d.ts +0 -4
- package/lib/directive/navigate-to-url.directive.d.ts +0 -23
- package/lib/directive/navigation-directive-base.d.ts +0 -19
- package/lib/framework/dialog/dialog-backdrop-type.enum.d.ts +0 -20
- package/lib/framework/dialog/dialog-backdrop.type.d.ts +0 -11
- package/lib/framework/dialog/dialog-default-config.d.ts +0 -12
- package/lib/framework/dialog/dialog-outlet-event-type.d.ts +0 -11
- package/lib/framework/dialog/dialog-outlet.event.d.ts +0 -40
- package/lib/framework/dialog/dialog-service.d.ts +0 -47
- package/lib/framework/dialog/dialog-service.error.d.ts +0 -19
- package/lib/framework/dialog/dialog.config.d.ts +0 -18
- package/lib/framework/dialog/dialog.outlet.d.ts +0 -59
- package/lib/framework/dialog/index.d.ts +0 -15
- package/lib/framework/index.d.ts +0 -5
- package/lib/framework/logging/connector/console-log-connector.d.ts +0 -34
- package/lib/framework/logging/connector/default-log-connector.d.ts +0 -34
- package/lib/framework/logging/connector/html-log-connector.d.ts +0 -72
- package/lib/framework/logging/connector/index.d.ts +0 -3
- package/lib/framework/logging/impl/abstract-logger.d.ts +0 -69
- package/lib/framework/logging/impl/index.d.ts +0 -2
- package/lib/framework/logging/impl/log-impl.d.ts +0 -45
- package/lib/framework/logging/index.d.ts +0 -3
- package/lib/framework/logging/util/index.d.ts +0 -3
- package/lib/framework/logging/util/log.builder.d.ts +0 -24
- package/lib/framework/logging/util/log.constant.d.ts +0 -23
- package/lib/framework/logging/util/log.util.d.ts +0 -48
- package/lib/framework/mock/documentation/component/atx-mock-description/atx-mock-description.component.d.ts +0 -14
- package/lib/framework/mock/documentation/component/atx-mock-documentation/atx-mock-documentation.component.d.ts +0 -43
- package/lib/framework/mock/documentation/component/atx-mock-full-description/atx-mock-full-description.component.d.ts +0 -15
- package/lib/framework/mock/documentation/component/atx-mock-methods/atx-mock-methods.component.d.ts +0 -29
- package/lib/framework/mock/documentation/component/atx-mock-param/atx-mock-param.component.d.ts +0 -15
- package/lib/framework/mock/documentation/index.d.ts +0 -1
- package/lib/framework/mock/documentation/model/business/full-description.type.d.ts +0 -21
- package/lib/framework/mock/documentation/model/business/method-doc-descriptor.type.d.ts +0 -22
- package/lib/framework/mock/http/config/http-mock-parameters.d.ts +0 -13
- package/lib/framework/mock/http/config/http-mock.decorator.d.ts +0 -13
- package/lib/framework/mock/http/config/index.d.ts +0 -2
- package/lib/framework/mock/http/config/route-mock-config.d.ts +0 -36
- package/lib/framework/mock/http/core/data-storage.d.ts +0 -43
- package/lib/framework/mock/http/core/response-delay.d.ts +0 -23
- package/lib/framework/mock/http/event/event-target.impl.d.ts +0 -78
- package/lib/framework/mock/http/event/progress-event-mock.d.ts +0 -36
- package/lib/framework/mock/http/index.d.ts +0 -3
- package/lib/framework/mock/http/logging/http-mock-logger.d.ts +0 -14
- package/lib/framework/mock/http/logging/http-mock-logging-metadata.builder.d.ts +0 -20
- package/lib/framework/mock/http/path-to-regexp/constants.d.ts +0 -111
- package/lib/framework/mock/http/path-to-regexp/escape-to-regexp-string.d.ts +0 -24
- package/lib/framework/mock/http/path-to-regexp/get-flags.d.ts +0 -25
- package/lib/framework/mock/http/path-to-regexp/iter.d.ts +0 -50
- package/lib/framework/mock/http/path-to-regexp/lexer.d.ts +0 -24
- package/lib/framework/mock/http/path-to-regexp/loose-replacer.d.ts +0 -25
- package/lib/framework/mock/http/path-to-regexp/model/decode-key-to-string.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/model/encode.d.ts +0 -20
- package/lib/framework/mock/http/path-to-regexp/model/key.d.ts +0 -45
- package/lib/framework/mock/http/path-to-regexp/model/lex-token.d.ts +0 -34
- package/lib/framework/mock/http/path-to-regexp/model/lexer-type.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/model/loose-replacer-provider.d.ts +0 -20
- package/lib/framework/mock/http/path-to-regexp/model/non-delimiter-encoder-provider.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/model/parse-options.d.ts +0 -33
- package/lib/framework/mock/http/path-to-regexp/model/path-to-regexp-options.d.ts +0 -52
- package/lib/framework/mock/http/path-to-regexp/model/route-string-tokenizer.d.ts +0 -22
- package/lib/framework/mock/http/path-to-regexp/model/simple-tokens.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/model/token-data-regexp-factory.d.ts +0 -23
- package/lib/framework/mock/http/path-to-regexp/model/token-type.d.ts +0 -20
- package/lib/framework/mock/http/path-to-regexp/model/token.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/string-to-token-data.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/to-key-regexp.d.ts +0 -22
- package/lib/framework/mock/http/path-to-regexp/to-stringify.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/token-data-to-regexp.d.ts +0 -21
- package/lib/framework/mock/http/path-to-regexp/token-data.d.ts +0 -32
- package/lib/framework/mock/http/util/data-storage.builder.d.ts +0 -26
- package/lib/framework/mock/http/util/fetch-client-response-type.enum.d.ts +0 -38
- package/lib/framework/mock/http/util/fetch-client.builder.d.ts +0 -28
- package/lib/framework/mock/http/util/http-headers-mock.builder.d.ts +0 -106
- package/lib/framework/mock/http/util/http-headers.util.d.ts +0 -41
- package/lib/framework/mock/http/util/http-method-ref.enum.d.ts +0 -58
- package/lib/framework/mock/http/util/http-mock-max-delay.d.ts +0 -11
- package/lib/framework/mock/http/util/http-mock-response-delay.util.d.ts +0 -22
- package/lib/framework/mock/http/util/http-mock-response.builder.d.ts +0 -91
- package/lib/framework/mock/http/util/http-status-text-finder.d.ts +0 -23
- package/lib/framework/mock/http/util/http-status-text.enum.d.ts +0 -252
- package/lib/framework/mock/http/util/index.d.ts +0 -7
- package/lib/framework/mock/http/xhr/delegate-xhr.d.ts +0 -214
- package/lib/framework/mock/http/xhr/http-mock-factory.d.ts +0 -14
- package/lib/framework/mock/http/xhr/http-mock-factory.impl.d.ts +0 -26
- package/lib/framework/mock/http/xhr/index.d.ts +0 -1
- package/lib/framework/mock/http/xhr/xhr-base.d.ts +0 -123
- package/lib/framework/mock/http/xhr/xhr-proxy-impl.d.ts +0 -126
- package/lib/framework/mock/http-monitoring-console/component/abstract/log-renderer-base.d.ts +0 -28
- package/lib/framework/mock/http-monitoring-console/component/console-footer/console-footer.component.d.ts +0 -15
- package/lib/framework/mock/http-monitoring-console/component/console-menu/console-menu.component.d.ts +0 -23
- package/lib/framework/mock/http-monitoring-console/component/http-monitoring-console/http-monitoring-console.component.d.ts +0 -21
- package/lib/framework/mock/http-monitoring-console/component/renderer/icon-renderer/icon-renderer.component.d.ts +0 -28
- package/lib/framework/mock/http-monitoring-console/component/renderer/json-viewer/json-viewer.component.d.ts +0 -19
- package/lib/framework/mock/http-monitoring-console/component/renderer/json-viewer-panel/json-viewer-panel.component.d.ts +0 -15
- package/lib/framework/mock/http-monitoring-console/component/renderer/payload-renderer/payload-renderer.component.d.ts +0 -27
- package/lib/framework/mock/http-monitoring-console/component/renderer/request-info-renderer/request-info-renderer.component.d.ts +0 -25
- package/lib/framework/mock/http-monitoring-console/component/renderer/request-list-renderer/request-list-renderer.component.d.ts +0 -57
- package/lib/framework/mock/http-monitoring-console/component/renderer/response-body-renderer/response-body-renderer.component.d.ts +0 -35
- package/lib/framework/mock/http-monitoring-console/component/renderer/response-preview-renderer/response-preview-renderer.component.d.ts +0 -61
- package/lib/framework/mock/http-monitoring-console/component/renderer/spinner/spinner.component.d.ts +0 -9
- package/lib/framework/mock/http-monitoring-console/component/renderer/timing-renderer/timing-renderer.component.d.ts +0 -39
- package/lib/framework/mock/http-monitoring-console/component/request-details/request-details.component.d.ts +0 -51
- package/lib/framework/mock/http-monitoring-console/connector/http-monitoring-console-log-connector.d.ts +0 -45
- package/lib/framework/mock/http-monitoring-console/index.d.ts +0 -1
- package/lib/framework/mock/http-monitoring-console/model/business/atx-console-action-type.d.ts +0 -38
- package/lib/framework/mock/http-monitoring-console/model/business/atx-console-action.d.ts +0 -24
- package/lib/framework/mock/http-monitoring-console/model/business/atx-console-json.d.ts +0 -34
- package/lib/framework/mock/http-monitoring-console/model/business/atx-is-imported-log.d.ts +0 -13
- package/lib/framework/mock/http-monitoring-console/model/business/atx-timeline-data.d.ts +0 -21
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-body-dto.d.ts +0 -24
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-header-dto.d.ts +0 -23
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-log-metadata.dto.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-log.dto.d.ts +0 -30
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-request-metadata.dto.ts.d.ts +0 -38
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-request.dto.d.ts +0 -55
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-response.dto.d.ts +0 -41
- package/lib/framework/mock/http-monitoring-console/model/business/io/hmfl.d.ts +0 -24
- package/lib/framework/mock/http-monitoring-console/model/service/atx-log-io.service.d.ts +0 -33
- package/lib/framework/mock/http-monitoring-console/model/service/atx-monitoring-console.controller.d.ts +0 -55
- package/lib/framework/mock/http-monitoring-console/model/service/atx-monitoring-console.state.d.ts +0 -75
- package/lib/framework/mock/http-monitoring-console/model/service/atx-user-action.service.d.ts +0 -32
- package/lib/framework/mock/http-monitoring-console/util/console-body-type.d.ts +0 -48
- package/lib/framework/mock/http-monitoring-console/util/console-type-class.d.ts +0 -43
- package/lib/framework/mock/http-monitoring-console/util/data.util.d.ts +0 -33
- package/lib/framework/mock/http-monitoring-console/util/io/body-converter.d.ts +0 -30
- package/lib/framework/mock/http-monitoring-console/util/io/body-serializer.d.ts +0 -32
- package/lib/framework/mock/http-monitoring-console/util/io/form-data-serializer.d.ts +0 -21
- package/lib/framework/mock/http-monitoring-console/util/io/hmfl-builder.d.ts +0 -23
- package/lib/framework/mock/http-monitoring-console/util/io/http-request-converter.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/util/io/http-response-converter.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/util/io/log-converter.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/util/io/log-headers-converter.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/util/io/log-message.util.d.ts +0 -23
- package/lib/framework/mock/http-monitoring-console/util/io/log-metadata-converter.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/util/io/request-metadata-converter.d.ts +0 -31
- package/lib/framework/mock/http-monitoring-console/util/size.util.d.ts +0 -33
- package/lib/framework/mock/http-monitoring-console/util/timeline.util.d.ts +0 -23
- package/lib/framework/mock/http-monitoring-console/util/url.util.d.ts +0 -38
- package/lib/model/business/index.d.ts +0 -7
- package/lib/model/business/lang/app-bridge-command.d.ts +0 -11
- package/lib/model/business/lang/destroyable.d.ts +0 -16
- package/lib/model/business/lang/identifiable.d.ts +0 -26
- package/lib/model/business/lang/index.d.ts +0 -4
- package/lib/model/business/lang/instantiable.d.ts +0 -15
- package/lib/model/business/logging/atx-logger-config.provider.d.ts +0 -21
- package/lib/model/business/logging/http-mock-logging-constant.enum.d.ts +0 -32
- package/lib/model/business/logging/index.d.ts +0 -7
- package/lib/model/business/logging/log-connector.d.ts +0 -36
- package/lib/model/business/logging/log-level.enum.d.ts +0 -32
- package/lib/model/business/logging/log.d.ts +0 -34
- package/lib/model/business/logging/logger-config.d.ts +0 -17
- package/lib/model/business/logging/logger.d.ts +0 -58
- package/lib/model/business/logging/transactional-logger.d.ts +0 -28
- package/lib/model/business/mock/http/config/http-mock-production-policy.enum.d.ts +0 -24
- package/lib/model/business/mock/http/config/http-mocking-framework-config.d.ts +0 -21
- package/lib/model/business/mock/http/config/http-mocking-framework-config.provider.d.ts +0 -21
- package/lib/model/business/mock/http/config/index.d.ts +0 -3
- package/lib/model/business/mock/http/fetch-client.d.ts +0 -13
- package/lib/model/business/mock/http/http-method-mock.d.ts +0 -35
- package/lib/model/business/mock/http/http-mock-config.d.ts +0 -32
- package/lib/model/business/mock/http/http-mock-endpoint-descriptor.d.ts +0 -21
- package/lib/model/business/mock/http/http-mock-endpoint.d.ts +0 -46
- package/lib/model/business/mock/http/http-mock-error.d.ts +0 -21
- package/lib/model/business/mock/http/http-mock-interceptor.d.ts +0 -31
- package/lib/model/business/mock/http/http-mock-method-descriptor.d.ts +0 -29
- package/lib/model/business/mock/http/http-mock-parameter-descriptor.d.ts +0 -20
- package/lib/model/business/mock/http/http-mock-request-metadata.d.ts +0 -33
- package/lib/model/business/mock/http/http-response-mock.d.ts +0 -44
- package/lib/model/business/mock/http/index.d.ts +0 -14
- package/lib/model/business/mock/http/logging/http-mock-logging-metadata.d.ts +0 -15
- package/lib/model/business/mock/http/logging/http-mock-logging-prefetch-metadata.d.ts +0 -16
- package/lib/model/business/mock/http/logging/index.d.ts +0 -2
- package/lib/model/business/mock/http/xhr-proxy.d.ts +0 -15
- package/lib/model/business/navigator/battery-manager.d.ts +0 -56
- package/lib/model/business/navigator/connection-type.d.ts +0 -11
- package/lib/model/business/navigator/effective-connection-type.d.ts +0 -11
- package/lib/model/business/navigator/index.d.ts +0 -4
- package/lib/model/business/navigator/network-information.d.ts +0 -53
- package/lib/model/business/subscription/index.d.ts +0 -1
- package/lib/model/business/subscription/subscription-manager.d.ts +0 -52
- package/lib/model/business/ui/dark-mode-config.d.ts +0 -29
- package/lib/model/business/ui/dark-mode-config.provider.d.ts +0 -21
- package/lib/model/business/ui/dark-mode.constant.d.ts +0 -15
- package/lib/model/business/ui/dropdown/dropdown-event-type.enum.d.ts +0 -20
- package/lib/model/business/ui/dropdown/dropdown-position.d.ts +0 -15
- package/lib/model/business/ui/dropdown/dropdown-state.d.ts +0 -11
- package/lib/model/business/ui/dropdown/dropdown.event.d.ts +0 -40
- package/lib/model/business/ui/dropdown/index.d.ts +0 -5
- package/lib/model/business/ui/dropdown/popover-state.d.ts +0 -11
- package/lib/model/business/ui/index.d.ts +0 -7
- package/lib/model/business/ui/layout/index.d.ts +0 -5
- package/lib/model/business/ui/layout/layout-constraints.d.ts +0 -33
- package/lib/model/business/ui/layout/layout-drag-event-type.enum.d.ts +0 -24
- package/lib/model/business/ui/layout/layout-drag.event.d.ts +0 -33
- package/lib/model/business/ui/layout/layout-region.d.ts +0 -36
- package/lib/model/business/ui/layout/layout-region.error.d.ts +0 -19
- package/lib/model/business/ui/scroll-behavior.type.d.ts +0 -11
- package/lib/model/business/ui/window/index.d.ts +0 -4
- package/lib/model/business/ui/window/window-feature-state.d.ts +0 -20
- package/lib/model/business/ui/window/window-init.d.ts +0 -75
- package/lib/model/business/ui/window/window-ref.d.ts +0 -21
- package/lib/model/business/ui/window/window-target.d.ts +0 -32
- package/lib/model/business/version/index.d.ts +0 -4
- package/lib/model/business/version/version-config.d.ts +0 -32
- package/lib/model/business/version/version-config.provider.d.ts +0 -22
- package/lib/model/business/version/version-manager.d.ts +0 -25
- package/lib/model/business/version/version.d.ts +0 -38
- package/lib/model/index.d.ts +0 -2
- package/lib/model/service/index.d.ts +0 -5
- package/lib/model/service/logging/index.d.ts +0 -1
- package/lib/model/service/logging/logger-service.d.ts +0 -14
- package/lib/model/service/mock/http/http-mock.service.d.ts +0 -134
- package/lib/model/service/mock/http/index.d.ts +0 -2
- package/lib/model/service/mock/http/logging/atx-http-mock-console.service.d.ts +0 -51
- package/lib/model/service/mock/http/logging/http-mock-logging-service.d.ts +0 -83
- package/lib/model/service/mock/http/logging/index.d.ts +0 -2
- package/lib/model/service/subscription/subscription.service.d.ts +0 -10
- package/lib/model/service/ui/app-bridge.service.d.ts +0 -80
- package/lib/model/service/ui/dark-mode.service.d.ts +0 -99
- package/lib/model/service/ui/index.d.ts +0 -4
- package/lib/model/service/ui/scroll.service.d.ts +0 -55
- package/lib/model/service/ui/window/abstract-window.service.d.ts +0 -64
- package/lib/model/service/ui/window/index.d.ts +0 -2
- package/lib/model/service/ui/window/window.service.d.ts +0 -44
- package/lib/model/service/version/angular-toolbox-version.service.d.ts +0 -13
- package/lib/model/service/version/index.d.ts +0 -2
- package/lib/model/service/version/version.service.d.ts +0 -15
- package/lib/pipe/index.d.ts +0 -1
- package/lib/pipe/safe/safe-html.pipe.d.ts +0 -30
- package/lib/util/aria-role.constant.d.ts +0 -15
- package/lib/util/default-scroll-behavior.d.ts +0 -12
- package/lib/util/empty-string.const.d.ts +0 -11
- package/lib/util/http-mocking-framework-config.manager.d.ts +0 -66
- package/lib/util/index.d.ts +0 -5
- package/lib/util/js-type.d.ts +0 -39
- package/lib/util/uuid.d.ts +0 -89
- package/lib/util/version.util.d.ts +0 -30
- package/lib/util/window/window-features-builder.d.ts +0 -46
- package/lib/util/window/window-header-tag-util.d.ts +0 -27
- package/public-api.d.ts +0 -16
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
* Get the flags for a regexp from the spcified options.
|
|
19
|
-
*
|
|
20
|
-
* @param options The options used to determine the flags for a regexp.
|
|
21
|
-
* @returns The flags for a regexp depending on the spcified options.
|
|
22
|
-
*/
|
|
23
|
-
export declare const getFlags: (options: {
|
|
24
|
-
sensitive?: boolean;
|
|
25
|
-
}) => string;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { LexToken } from "./model/lex-token";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
*/
|
|
20
|
-
export declare class Iter {
|
|
21
|
-
private _tokens;
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
private _index;
|
|
26
|
-
/**
|
|
27
|
-
* @private
|
|
28
|
-
*/
|
|
29
|
-
constructor(_tokens: LexToken[]);
|
|
30
|
-
/**
|
|
31
|
-
* @private
|
|
32
|
-
*/
|
|
33
|
-
tryConsume(type: LexToken["type"]): string | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* @private
|
|
36
|
-
*/
|
|
37
|
-
consume(type: LexToken["type"]): string;
|
|
38
|
-
/**
|
|
39
|
-
* @private
|
|
40
|
-
*/
|
|
41
|
-
text(): string;
|
|
42
|
-
/**
|
|
43
|
-
* @private
|
|
44
|
-
*/
|
|
45
|
-
modifier(): string;
|
|
46
|
-
/**
|
|
47
|
-
* @private
|
|
48
|
-
*/
|
|
49
|
-
peek(): LexToken;
|
|
50
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { Lexer } from "./model/lexer-type";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* A lexer method that tokenizes input string.
|
|
20
|
-
*
|
|
21
|
-
* @param str The string expression to analyse.
|
|
22
|
-
* @returns A new `Iter`object instance built from the specified input string.
|
|
23
|
-
*/
|
|
24
|
-
export declare const lexer: Lexer;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { LooseReplacerProvider } from "./model/loose-replacer-provider";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* Escape and repeat loose characters for regular expressions.
|
|
20
|
-
*
|
|
21
|
-
* @param value The string expression to escape.
|
|
22
|
-
* @param loose
|
|
23
|
-
* @returns The escaped string transfromed from the original string expression.
|
|
24
|
-
*/
|
|
25
|
-
export declare const looseReplacer: LooseReplacerProvider;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { Key } from "./key";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* Markup interface used as return value of the `toKeyRegexp()` method.
|
|
20
|
-
*/
|
|
21
|
-
export type DecodeKeyToString = (key: Key) => string;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
* Encode a string into another string.
|
|
19
|
-
*/
|
|
20
|
-
export type Encode = (value: string) => string;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
* A key is a capture group in a regex.
|
|
19
|
-
*/
|
|
20
|
-
export interface Key {
|
|
21
|
-
/**
|
|
22
|
-
* @private
|
|
23
|
-
*/
|
|
24
|
-
name: string;
|
|
25
|
-
/**
|
|
26
|
-
* @private
|
|
27
|
-
*/
|
|
28
|
-
prefix?: string;
|
|
29
|
-
/**
|
|
30
|
-
* @private
|
|
31
|
-
*/
|
|
32
|
-
suffix?: string;
|
|
33
|
-
/**
|
|
34
|
-
* @private
|
|
35
|
-
*/
|
|
36
|
-
pattern?: string;
|
|
37
|
-
/**
|
|
38
|
-
* @private
|
|
39
|
-
*/
|
|
40
|
-
modifier?: string;
|
|
41
|
-
/**
|
|
42
|
-
* @private
|
|
43
|
-
*/
|
|
44
|
-
separator?: string;
|
|
45
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { TokenType } from "./token-type";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* Defines the API for tokenizer results.
|
|
20
|
-
*/
|
|
21
|
-
export interface LexToken {
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
type: TokenType;
|
|
26
|
-
/**
|
|
27
|
-
* @private
|
|
28
|
-
*/
|
|
29
|
-
index: number;
|
|
30
|
-
/**
|
|
31
|
-
* @private
|
|
32
|
-
*/
|
|
33
|
-
value: string;
|
|
34
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { Iter } from "../iter";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* The markup interface of the lexer used to analyse route strings.
|
|
20
|
-
*/
|
|
21
|
-
export type Lexer = (str: string) => Iter;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
* The markup interface of the function that provides encoders for escaping loose characters.
|
|
19
|
-
*/
|
|
20
|
-
export type LooseReplacerProvider = (substring: string, ...args: any[]) => string;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { Encode } from "./encode";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* The markup interface of the function that provides encoders for all non-delimiter characters.
|
|
20
|
-
*/
|
|
21
|
-
export type NonDelimiterEncoderProvider = (loose: boolean, delimiter: string) => Encode;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { Encode } from "./encode";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* A set of options used to parse routes.
|
|
20
|
-
*/
|
|
21
|
-
export interface ParseOptions {
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
* Set the default delimiter for repeat parameters.
|
|
25
|
-
* Default value is `'/'`.
|
|
26
|
-
*/
|
|
27
|
-
delimiter?: string;
|
|
28
|
-
/**
|
|
29
|
-
* @private
|
|
30
|
-
* Function for encoding input strings for output into path.
|
|
31
|
-
*/
|
|
32
|
-
encodePath?: Encode;
|
|
33
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { ParseOptions } from "./parse-options";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* A set of options used to transform route definitions in regexp objects.
|
|
20
|
-
*/
|
|
21
|
-
export interface PathToRegexpOptions extends ParseOptions {
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
* When `true` the regexp will be case sensitive.
|
|
25
|
-
* Default value is `false`.
|
|
26
|
-
*/
|
|
27
|
-
sensitive?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* @private
|
|
30
|
-
* Allow delimiter to be arbitrarily repeated.
|
|
31
|
-
* Default value is `true`.
|
|
32
|
-
*/
|
|
33
|
-
loose?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* @private
|
|
36
|
-
* When `true` the regexp will match to the end of the string.
|
|
37
|
-
* Default value is `true`.
|
|
38
|
-
*/
|
|
39
|
-
end?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* @private
|
|
42
|
-
* When `true` the regexp will match from the beginning of the string.
|
|
43
|
-
* Default value is `true`.
|
|
44
|
-
*/
|
|
45
|
-
start?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* @private
|
|
48
|
-
* When `true` the regexp allows an optional trailing delimiter to match.
|
|
49
|
-
* Default value is `true`.
|
|
50
|
-
*/
|
|
51
|
-
trailing?: boolean;
|
|
52
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { ParseOptions } from "./parse-options";
|
|
17
|
-
import { TokenData } from "../token-data";
|
|
18
|
-
/**
|
|
19
|
-
* @private
|
|
20
|
-
* This interface defines the default API that must be implemented by HTTP routes parsers tokenizers.
|
|
21
|
-
*/
|
|
22
|
-
export type RouteStringTokenizer = (str: string, options?: ParseOptions) => TokenData;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { TokenType } from "./token-type";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* A markup interface for token types consumed by `Lexer` objects.
|
|
20
|
-
*/
|
|
21
|
-
export declare const SIMPLE_TOKENS: Record<string, TokenType>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { Key } from "./key";
|
|
17
|
-
import { PathToRegexpOptions } from "./path-to-regexp-options";
|
|
18
|
-
import { TokenData } from "../token-data";
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
* This interface defines the default API that must be implemented by `RegExp` factories based on `TokenData` collections.
|
|
22
|
-
*/
|
|
23
|
-
export type TokenDataRegExpFactory = (data: TokenData, keys: Key[], options: PathToRegexpOptions) => RegExp;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* @private
|
|
18
|
-
* Defines the type of tokens used to parse manipulate regexp objects.
|
|
19
|
-
*/
|
|
20
|
-
export type TokenType = "{" | "}" | "*" | "+" | "?" | "NAME" | "PATTERN" | "CHAR" | "ESCAPED" | "END" | "!" | "@" | ";";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { Key } from "./key";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* A token is a string (nothing special) or key metadata (capture group).
|
|
20
|
-
*/
|
|
21
|
-
export type Token = string | Key;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { RouteStringTokenizer } from "./model/route-string-tokenizer";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* Parse a string for the raw tokens.
|
|
20
|
-
*/
|
|
21
|
-
export declare const stringToTokenData: RouteStringTokenizer;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { DecodeKeyToString } from "./model/decode-key-to-string";
|
|
17
|
-
import { Encode } from "./model/encode";
|
|
18
|
-
/**
|
|
19
|
-
* @private
|
|
20
|
-
* Returns a function that converts a token into a regexp string.
|
|
21
|
-
*/
|
|
22
|
-
export declare const toKeyRegexp: (stringify: Encode, delimiter: string) => DecodeKeyToString;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { NonDelimiterEncoderProvider } from "./model/non-delimiter-encoder-provider";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* Encode all non-delimiter characters using the encode function.
|
|
20
|
-
*/
|
|
21
|
-
export declare const toStringify: NonDelimiterEncoderProvider;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { TokenDataRegExpFactory } from "./model/token-data-regexp-factory";
|
|
17
|
-
/**
|
|
18
|
-
* @Private
|
|
19
|
-
* Expose a function for taking tokens and returning a RegExp.
|
|
20
|
-
*/
|
|
21
|
-
export declare const tokenDataToRegexp: TokenDataRegExpFactory;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
-
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
-
*
|
|
8
|
-
* This source code is derived from the following original source code:
|
|
9
|
-
* - https://github.com/pillarjs/path-to-regexp
|
|
10
|
-
* - Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
11
|
-
*
|
|
12
|
-
* Use of the original source code is governed by an MIT-style license
|
|
13
|
-
* that can be found in the LICENSE file at
|
|
14
|
-
* https://github.com/pillarjs/path-to-regexp/blob/master/LICENSE
|
|
15
|
-
*/
|
|
16
|
-
import { Token } from "./model/token";
|
|
17
|
-
/**
|
|
18
|
-
* @private
|
|
19
|
-
* Tokenized path instance.
|
|
20
|
-
*/
|
|
21
|
-
export declare class TokenData {
|
|
22
|
-
readonly tokens: Token[];
|
|
23
|
-
readonly delimiter: string;
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
* Creates a new `TokenData` instance.
|
|
27
|
-
*
|
|
28
|
-
* @param tokens A list of `Token` objects.
|
|
29
|
-
* @param delimiter the string delimiter for this `TokenData` instance.
|
|
30
|
-
*/
|
|
31
|
-
constructor(tokens: Token[], delimiter: string);
|
|
32
|
-
}
|