tnp-helpers 21.0.3 → 21.0.8
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/browser/fesm2022/{tnp-helpers.mjs → tnp-helpers-browser.mjs} +203 -54
- package/browser/fesm2022/tnp-helpers-browser.mjs.map +1 -0
- package/browser/package.json +1 -1
- package/browser/types/tnp-helpers-browser.d.ts +3205 -0
- package/lib/base/classes/base-bower-json.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker-config.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker-controller.d.ts +2 -2
- package/lib/base/classes/base-cli-worker/base-cli-worker-controller.js +31 -13
- package/lib/base/classes/base-cli-worker/base-cli-worker-controller.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker-database-config.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker.js +1 -0
- package/lib/base/classes/base-cli-worker/base-cli-worker.js.map +1 -1
- package/lib/base/classes/base-cli-worker/base-cli-worker.utils.js.map +1 -1
- package/lib/base/classes/base-command-line-feature.js.map +1 -1
- package/lib/base/classes/base-compiler-for-project.js.map +1 -1
- package/lib/base/classes/base-db.js.map +1 -1
- package/lib/base/classes/base-docker.js.map +1 -1
- package/lib/base/classes/base-file-folders-operations.js.map +1 -1
- package/lib/base/classes/base-git.js.map +1 -1
- package/lib/base/classes/base-global-command-line.d.ts +3 -0
- package/lib/base/classes/base-global-command-line.js +31 -6
- package/lib/base/classes/base-global-command-line.js.map +1 -1
- package/lib/base/classes/base-ignore-hide.js.map +1 -1
- package/lib/base/classes/base-java-jdk.js.map +1 -1
- package/lib/base/classes/base-json-file-reader.js.map +1 -1
- package/lib/base/classes/base-library-build.js.map +1 -1
- package/lib/base/classes/base-linked-projects.js.map +1 -1
- package/lib/base/classes/base-linter.js.map +1 -1
- package/lib/base/classes/base-node-modules.js +10 -1
- package/lib/base/classes/base-node-modules.js.map +1 -1
- package/lib/base/classes/base-npm-helpers.js.map +1 -1
- package/lib/base/classes/base-package-json.d.ts +3 -2
- package/lib/base/classes/base-package-json.js +7 -1
- package/lib/base/classes/base-package-json.js.map +1 -1
- package/lib/base/classes/base-process-manager.js.map +1 -1
- package/lib/base/classes/base-project-resolver.js.map +1 -1
- package/lib/base/classes/base-project.d.ts +4 -4
- package/lib/base/classes/base-project.js +0 -3
- package/lib/base/classes/base-project.js.map +1 -1
- package/lib/base/classes/base-quick-fixes.js +7 -3
- package/lib/base/classes/base-quick-fixes.js.map +1 -1
- package/lib/base/classes/base-release-process.js.map +1 -1
- package/lib/base/classes/base-start-config.backend.js.map +1 -1
- package/lib/base/classes/base-static-pages.js.map +1 -1
- package/lib/base/classes/base-vscode.js +2 -0
- package/lib/base/classes/base-vscode.js.map +1 -1
- package/lib/base/commit-data.js.map +1 -1
- package/lib/base/config-database.js.map +1 -1
- package/lib/base/core-project.d.ts +2 -2
- package/lib/base/core-project.js.map +1 -1
- package/lib/base/gh-temp-code.js.map +1 -1
- package/lib/base/index.js.map +1 -1
- package/lib/base/linked-project.js.map +1 -1
- package/lib/base/project-database.js.map +1 -1
- package/lib/base/tcp-udp-ports/not-assignable-port.entity.js +2 -2
- package/lib/base/tcp-udp-ports/ports.controller.js +41 -17
- package/lib/base/tcp-udp-ports/ports.controller.js.map +1 -1
- package/lib/base/tcp-udp-ports/ports.entity.d.ts +2 -2
- package/lib/base/tcp-udp-ports/ports.entity.js +21 -9
- package/lib/base/tcp-udp-ports/ports.entity.js.map +1 -1
- package/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +5 -5
- package/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.js.map +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/helpers/for-backend/helpers-cli-tool.backend.js.map +1 -1
- package/lib/helpers/for-backend/helpers-console-gui.js.map +1 -1
- package/lib/helpers/for-backend/helpers-file-folders.js.map +1 -1
- package/lib/helpers/for-backend/helpers-git.backend.js.map +1 -1
- package/lib/helpers/for-backend/helpers-npm.backend.js.map +1 -1
- package/lib/helpers/for-backend/helpers-process.js.map +1 -1
- package/lib/helpers/for-backend/helpers-vscode.backend.js.map +1 -1
- package/lib/helpers/for-browser/angular.helper.d.ts +0 -1
- package/lib/helpers/for-browser/angular.helper.js +2 -2
- package/lib/helpers/for-browser/helpers-browser.js.map +1 -1
- package/lib/helpers/helpers-json5.backend.js.map +1 -1
- package/lib/helpers/helpers-numbers.js.map +1 -1
- package/lib/helpers/helpers-strings-regexes.js.map +1 -1
- package/lib/helpers/helpers-strings.js.map +1 -1
- package/lib/helpers/helpers.js.map +1 -1
- package/lib/models.js.map +1 -1
- package/lib/old/base-component.js +2 -2
- package/lib/old/base-formly-component.js +2 -2
- package/lib/old/dual-component-ctrl.js +2 -2
- package/lib/old/execute-command.js.map +1 -1
- package/lib/old/helpers.js.map +1 -1
- package/lib/utils.d.ts +6 -0
- package/lib/utils.js +64 -1
- package/lib/utils.js.map +1 -1
- package/migrations/1736198527297_init.d.ts +3 -3
- package/migrations/1736198527297_init.js +4 -4
- package/migrations/1736198527297_init.js.map +1 -1
- package/migrations/1736199486472_addingNotAssignablePorts.d.ts +2 -3
- package/migrations/1736199486472_addingNotAssignablePorts.js +2 -3
- package/migrations/1736199486472_addingNotAssignablePorts.js.map +1 -1
- package/migrations/1736454437350_addFreePorts.d.ts +2 -3
- package/migrations/1736454437350_addFreePorts.js +2 -3
- package/migrations/1736454437350_addFreePorts.js.map +1 -1
- package/package.json +2 -2
- package/websql/fesm2022/{tnp-helpers.mjs → tnp-helpers-websql.mjs} +207 -58
- package/websql/fesm2022/tnp-helpers-websql.mjs.map +1 -0
- package/websql/package.json +1 -1
- package/websql/types/tnp-helpers-websql.d.ts +3205 -0
- package/browser/fesm2022/tnp-helpers.mjs.map +0 -1
- package/browser/index.d.ts +0 -6
- package/browser/lib/base/classes/base-bower-json.d.ts +0 -35
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker-config.d.ts +0 -32
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker-controller.d.ts +0 -15
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker-database-config.d.ts +0 -10
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.d.ts +0 -42
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker.d.ts +0 -150
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker.models.d.ts +0 -45
- package/browser/lib/base/classes/base-cli-worker/base-cli-worker.utils.d.ts +0 -6
- package/browser/lib/base/classes/base-cli-worker/index.d.ts +0 -8
- package/browser/lib/base/classes/base-command-line-feature.d.ts +0 -48
- package/browser/lib/base/classes/base-compiler-for-project.d.ts +0 -8
- package/browser/lib/base/classes/base-db.d.ts +0 -10
- package/browser/lib/base/classes/base-debounce-compiler-for-project.d.ts +0 -29
- package/browser/lib/base/classes/base-docker.d.ts +0 -13
- package/browser/lib/base/classes/base-feature-for-project.d.ts +0 -7
- package/browser/lib/base/classes/base-file-folders-operations.d.ts +0 -17
- package/browser/lib/base/classes/base-git.d.ts +0 -211
- package/browser/lib/base/classes/base-global-command-line.d.ts +0 -294
- package/browser/lib/base/classes/base-ignore-hide.d.ts +0 -47
- package/browser/lib/base/classes/base-java-jdk.d.ts +0 -9
- package/browser/lib/base/classes/base-json-file-reader.d.ts +0 -72
- package/browser/lib/base/classes/base-library-build.d.ts +0 -62
- package/browser/lib/base/classes/base-linked-projects.d.ts +0 -30
- package/browser/lib/base/classes/base-linter.d.ts +0 -12
- package/browser/lib/base/classes/base-node-modules.d.ts +0 -70
- package/browser/lib/base/classes/base-npm-helpers.d.ts +0 -53
- package/browser/lib/base/classes/base-package-json.d.ts +0 -122
- package/browser/lib/base/classes/base-process-manager.d.ts +0 -31
- package/browser/lib/base/classes/base-project-resolver.d.ts +0 -41
- package/browser/lib/base/classes/base-project.d.ts +0 -259
- package/browser/lib/base/classes/base-quick-fixes.d.ts +0 -16
- package/browser/lib/base/classes/base-release-process.d.ts +0 -75
- package/browser/lib/base/classes/base-static-pages.d.ts +0 -15
- package/browser/lib/base/classes/base-vscode.d.ts +0 -54
- package/browser/lib/base/classes/index.d.ts +0 -23
- package/browser/lib/base/commit-data.d.ts +0 -94
- package/browser/lib/base/config-database.d.ts +0 -15
- package/browser/lib/base/core-project.d.ts +0 -113
- package/browser/lib/base/gh-temp-code.d.ts +0 -17
- package/browser/lib/base/index.d.ts +0 -6
- package/browser/lib/base/linked-project.d.ts +0 -41
- package/browser/lib/base/project-database.d.ts +0 -13
- package/browser/lib/base/tcp-udp-ports/index.d.ts +0 -4
- package/browser/lib/base/tcp-udp-ports/ports.controller.d.ts +0 -29
- package/browser/lib/base/tcp-udp-ports/ports.entity.d.ts +0 -19
- package/browser/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +0 -20
- package/browser/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.d.ts +0 -20
- package/browser/lib/base/tcp-udp-ports/tcp-upd-ports.worker.d.ts +0 -9
- package/browser/lib/base/translate.d.ts +0 -228
- package/browser/lib/build-info._auto-generated_.d.ts +0 -21
- package/browser/lib/helpers/for-backend/helpers-file-folders.d.ts +0 -114
- package/browser/lib/helpers/for-backend/helpers-process.d.ts +0 -88
- package/browser/lib/helpers/for-browser/angular.helper.d.ts +0 -37
- package/browser/lib/helpers/for-browser/helpers-browser.d.ts +0 -12
- package/browser/lib/helpers/helpers-array-obj.d.ts +0 -32
- package/browser/lib/helpers/helpers-numbers.d.ts +0 -8
- package/browser/lib/helpers/helpers-strings-regexes.d.ts +0 -29
- package/browser/lib/helpers/helpers-strings.d.ts +0 -56
- package/browser/lib/helpers/helpers.d.ts +0 -84
- package/browser/lib/index.d.ts +0 -9
- package/browser/lib/models.d.ts +0 -178
- package/browser/lib/old/execute-command.d.ts +0 -15
- package/browser/lib/old/helpers.d.ts +0 -62
- package/browser/lib/old/models.d.ts +0 -81
- package/browser/lib/utils.d.ts +0 -272
- package/browser/migrations/1736198527297_init.d.ts +0 -19
- package/browser/migrations/1736199486472_addingNotAssignablePorts.d.ts +0 -11
- package/browser/migrations/1736454437350_addFreePorts.d.ts +0 -10
- package/browser/migrations/index.d.ts +0 -2
- package/browser/migrations/migrations_index._auto-generated_.d.ts +0 -12
- package/browser/public-api.d.ts +0 -2
- package/lib/base/classes/base-command-line-feature.backend.d.ts +0 -47
- package/lib/base/classes/base-command-line-feature.backend.js +0 -147
- package/lib/base/classes/base-command-line-feature.backend.js.map +0 -1
- package/lib/base/classes/base-global-command-line.backend.d.ts +0 -243
- package/lib/base/classes/base-global-command-line.backend.js +0 -2212
- package/lib/base/classes/base-global-command-line.backend.js.map +0 -1
- package/lib/base/classes/base-powershell.d.ts +0 -58
- package/lib/base/classes/base-powershell.js +0 -105
- package/lib/base/classes/base-powershell.js.map +0 -1
- package/lib/base/classes/base-process/base-process-api.service.d.ts +0 -7
- package/lib/base/classes/base-process/base-process.context.d.ts +0 -19
- package/lib/base/classes/base-process/base-process.context.js +0 -22
- package/lib/base/classes/base-process/base-process.context.js.map +0 -1
- package/lib/base/classes/base-process/base-process.controller.d.ts +0 -17
- package/lib/base/classes/base-process/base-process.controller.js +0 -91
- package/lib/base/classes/base-process/base-process.controller.js.map +0 -1
- package/lib/base/classes/base-process/base-process.d.ts +0 -8
- package/lib/base/classes/base-process/base-process.defaults-values.d.ts +0 -2
- package/lib/base/classes/base-process/base-process.defaults-values.js +0 -9
- package/lib/base/classes/base-process/base-process.defaults-values.js.map +0 -1
- package/lib/base/classes/base-process/base-process.js +0 -62
- package/lib/base/classes/base-process/base-process.js.map +0 -1
- package/lib/base/classes/base-process/base-process.models.d.ts +0 -6
- package/lib/base/classes/base-process/base-process.models.js +0 -3
- package/lib/base/classes/base-process/base-process.models.js.map +0 -1
- package/lib/base/classes/base-process/base-process.provider.d.ts +0 -16
- package/lib/base/classes/base-process/base-process.provider.js +0 -69
- package/lib/base/classes/base-process/base-process.provider.js.map +0 -1
- package/lib/base/classes/base-process/base-process.repository copy.d.ts +0 -8
- package/lib/base/classes/base-process/base-process.repository copy.js +0 -32
- package/lib/base/classes/base-process/base-process.repository copy.js.map +0 -1
- package/lib/base/classes/base-process/base-process.repository.d.ts +0 -8
- package/lib/base/classes/base-process/base-process.repository.js +0 -32
- package/lib/base/classes/base-process/base-process.repository.js.map +0 -1
- package/lib/base/classes/base-process/base-process.terminal-ui.d.ts +0 -11
- package/lib/base/classes/base-process/base-process.terminal-ui.js +0 -54
- package/lib/base/classes/base-process/base-process.terminal-ui.js.map +0 -1
- package/lib/base/classes/base-process/base-process.worker.d.ts +0 -16
- package/lib/base/classes/base-process/base-process.worker.js +0 -29
- package/lib/base/classes/base-process/base-process.worker.js.map +0 -1
- package/lib/base/classes/base-process/index.d.ts +0 -1
- package/lib/base/classes/base-process/index.js +0 -22
- package/lib/base/classes/base-process/index.js.map +0 -1
- package/lib/base/classes/base-process/processes.repository.d.ts +0 -0
- package/lib/base/classes/base-process/processes.repository.js +0 -5
- package/lib/base/classes/base-process/processes.repository.js.map +0 -1
- package/lib/env-backend._auto-generated_.d.ts +0 -34
- package/lib/env-backend._auto-generated_.js +0 -38
- package/lib/env-backend._auto-generated_.js.map +0 -1
- package/lib/env-browser._auto-generated_.d.ts +0 -34
- package/lib/env-browser._auto-generated_.js +0 -38
- package/lib/env-browser._auto-generated_.js.map +0 -1
- package/lib/env.backend.d.ts +0 -34
- package/lib/env.backend.js +0 -40
- package/lib/env.backend.js.map +0 -1
- package/lib/env.browser.d.ts +0 -34
- package/lib/helpers/for-backend/helpers-dependencies.backend.d.ts +0 -2
- package/lib/helpers/for-backend/helpers-dependencies.backend.js +0 -7
- package/lib/helpers/for-backend/helpers-dependencies.backend.js.map +0 -1
- package/lib/helpers/for-backend/helpers-network.backend.d.ts +0 -9
- package/lib/helpers/for-backend/helpers-network.backend.js +0 -44
- package/lib/helpers/for-backend/helpers-network.backend.js.map +0 -1
- package/lib/validators/validators-firedev.d.ts +0 -3
- package/lib/validators/validators-firedev.js +0 -34
- package/lib/validators/validators-firedev.js.map +0 -1
- package/lib/validators/validators-git.d.ts +0 -3
- package/lib/validators/validators-git.js +0 -13
- package/lib/validators/validators-git.js.map +0 -1
- package/lib/validators/validators-network.d.ts +0 -3
- package/lib/validators/validators-network.js +0 -19
- package/lib/validators/validators-network.js.map +0 -1
- package/lib/validators/validators.d.ts +0 -6
- package/lib/validators/validators.js +0 -11
- package/lib/validators/validators.js.map +0 -1
- package/tmp-environment.json +0 -33
- package/websql/fesm2022/tnp-helpers.mjs.map +0 -1
- package/websql/index.d.ts +0 -6
- package/websql/lib/base/classes/base-bower-json.d.ts +0 -35
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker-config.d.ts +0 -32
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker-controller.d.ts +0 -15
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker-database-config.d.ts +0 -10
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.d.ts +0 -42
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker.d.ts +0 -150
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker.models.d.ts +0 -45
- package/websql/lib/base/classes/base-cli-worker/base-cli-worker.utils.d.ts +0 -6
- package/websql/lib/base/classes/base-cli-worker/index.d.ts +0 -8
- package/websql/lib/base/classes/base-command-line-feature.d.ts +0 -48
- package/websql/lib/base/classes/base-compiler-for-project.d.ts +0 -8
- package/websql/lib/base/classes/base-db.d.ts +0 -10
- package/websql/lib/base/classes/base-debounce-compiler-for-project.d.ts +0 -29
- package/websql/lib/base/classes/base-docker.d.ts +0 -13
- package/websql/lib/base/classes/base-feature-for-project.d.ts +0 -7
- package/websql/lib/base/classes/base-file-folders-operations.d.ts +0 -17
- package/websql/lib/base/classes/base-git.d.ts +0 -211
- package/websql/lib/base/classes/base-global-command-line.d.ts +0 -294
- package/websql/lib/base/classes/base-ignore-hide.d.ts +0 -47
- package/websql/lib/base/classes/base-java-jdk.d.ts +0 -9
- package/websql/lib/base/classes/base-json-file-reader.d.ts +0 -72
- package/websql/lib/base/classes/base-library-build.d.ts +0 -62
- package/websql/lib/base/classes/base-linked-projects.d.ts +0 -30
- package/websql/lib/base/classes/base-linter.d.ts +0 -12
- package/websql/lib/base/classes/base-node-modules.d.ts +0 -70
- package/websql/lib/base/classes/base-npm-helpers.d.ts +0 -53
- package/websql/lib/base/classes/base-package-json.d.ts +0 -122
- package/websql/lib/base/classes/base-process-manager.d.ts +0 -31
- package/websql/lib/base/classes/base-project-resolver.d.ts +0 -41
- package/websql/lib/base/classes/base-project.d.ts +0 -259
- package/websql/lib/base/classes/base-quick-fixes.d.ts +0 -16
- package/websql/lib/base/classes/base-release-process.d.ts +0 -75
- package/websql/lib/base/classes/base-static-pages.d.ts +0 -15
- package/websql/lib/base/classes/base-vscode.d.ts +0 -54
- package/websql/lib/base/classes/index.d.ts +0 -23
- package/websql/lib/base/commit-data.d.ts +0 -94
- package/websql/lib/base/config-database.d.ts +0 -15
- package/websql/lib/base/core-project.d.ts +0 -113
- package/websql/lib/base/gh-temp-code.d.ts +0 -17
- package/websql/lib/base/index.d.ts +0 -6
- package/websql/lib/base/linked-project.d.ts +0 -41
- package/websql/lib/base/project-database.d.ts +0 -13
- package/websql/lib/base/tcp-udp-ports/index.d.ts +0 -4
- package/websql/lib/base/tcp-udp-ports/ports.controller.d.ts +0 -29
- package/websql/lib/base/tcp-udp-ports/ports.entity.d.ts +0 -19
- package/websql/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +0 -20
- package/websql/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.d.ts +0 -20
- package/websql/lib/base/tcp-udp-ports/tcp-upd-ports.worker.d.ts +0 -9
- package/websql/lib/base/translate.d.ts +0 -228
- package/websql/lib/build-info._auto-generated_.d.ts +0 -21
- package/websql/lib/helpers/for-backend/helpers-file-folders.d.ts +0 -114
- package/websql/lib/helpers/for-backend/helpers-process.d.ts +0 -88
- package/websql/lib/helpers/for-browser/angular.helper.d.ts +0 -37
- package/websql/lib/helpers/for-browser/helpers-browser.d.ts +0 -12
- package/websql/lib/helpers/helpers-array-obj.d.ts +0 -32
- package/websql/lib/helpers/helpers-numbers.d.ts +0 -8
- package/websql/lib/helpers/helpers-strings-regexes.d.ts +0 -29
- package/websql/lib/helpers/helpers-strings.d.ts +0 -56
- package/websql/lib/helpers/helpers.d.ts +0 -84
- package/websql/lib/index.d.ts +0 -9
- package/websql/lib/models.d.ts +0 -178
- package/websql/lib/old/execute-command.d.ts +0 -15
- package/websql/lib/old/helpers.d.ts +0 -62
- package/websql/lib/old/models.d.ts +0 -81
- package/websql/lib/utils.d.ts +0 -272
- package/websql/migrations/1736198527297_init.d.ts +0 -19
- package/websql/migrations/1736199486472_addingNotAssignablePorts.d.ts +0 -11
- package/websql/migrations/1736454437350_addFreePorts.d.ts +0 -10
- package/websql/migrations/index.d.ts +0 -2
- package/websql/migrations/migrations_index._auto-generated_.d.ts +0 -12
- package/websql/public-api.d.ts +0 -2
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
declare const names: {
|
|
3
|
-
readonly afar: "aa";
|
|
4
|
-
readonly abkhazian: "ab";
|
|
5
|
-
readonly afrikaans: "af";
|
|
6
|
-
readonly akan: "ak";
|
|
7
|
-
readonly albanian: "sq";
|
|
8
|
-
readonly amharic: "am";
|
|
9
|
-
readonly arabic: "ar";
|
|
10
|
-
readonly aragonese: "an";
|
|
11
|
-
readonly armenian: "hy";
|
|
12
|
-
readonly assamese: "as";
|
|
13
|
-
readonly avaric: "av";
|
|
14
|
-
readonly avestan: "ae";
|
|
15
|
-
readonly aymara: "ay";
|
|
16
|
-
readonly azerbaijani: "az";
|
|
17
|
-
readonly bashkir: "ba";
|
|
18
|
-
readonly bambara: "bm";
|
|
19
|
-
readonly basque: "eu";
|
|
20
|
-
readonly belarusian: "be";
|
|
21
|
-
readonly bengali: "bn";
|
|
22
|
-
readonly 'bihari languages': "bh";
|
|
23
|
-
readonly bislama: "bi";
|
|
24
|
-
readonly tibetan: "bo";
|
|
25
|
-
readonly bosnian: "bs";
|
|
26
|
-
readonly breton: "br";
|
|
27
|
-
readonly bulgarian: "bg";
|
|
28
|
-
readonly burmese: "my";
|
|
29
|
-
readonly catalan: "ca";
|
|
30
|
-
readonly valencian: "ca";
|
|
31
|
-
readonly czech: "cs";
|
|
32
|
-
readonly chamorro: "ch";
|
|
33
|
-
readonly chechen: "ce";
|
|
34
|
-
readonly chinese: "zh";
|
|
35
|
-
readonly 'church slavic': "cu";
|
|
36
|
-
readonly 'old slavonic': "cu";
|
|
37
|
-
readonly 'church slavonic': "cu";
|
|
38
|
-
readonly 'old bulgarian': "cu";
|
|
39
|
-
readonly 'old church slavonic': "cu";
|
|
40
|
-
readonly chuvash: "cv";
|
|
41
|
-
readonly cornish: "kw";
|
|
42
|
-
readonly corsican: "co";
|
|
43
|
-
readonly cree: "cr";
|
|
44
|
-
readonly welsh: "cy";
|
|
45
|
-
readonly danish: "da";
|
|
46
|
-
readonly german: "de";
|
|
47
|
-
readonly divehi: "dv";
|
|
48
|
-
readonly dhivehi: "dv";
|
|
49
|
-
readonly maldivian: "dv";
|
|
50
|
-
readonly dutch: "nl";
|
|
51
|
-
readonly flemish: "nl";
|
|
52
|
-
readonly dzongkha: "dz";
|
|
53
|
-
readonly greek: "el";
|
|
54
|
-
readonly english: "en";
|
|
55
|
-
readonly esperanto: "eo";
|
|
56
|
-
readonly estonian: "et";
|
|
57
|
-
readonly ewe: "ee";
|
|
58
|
-
readonly faroese: "fo";
|
|
59
|
-
readonly persian: "fa";
|
|
60
|
-
readonly fijian: "fj";
|
|
61
|
-
readonly finnish: "fi";
|
|
62
|
-
readonly french: "fr";
|
|
63
|
-
readonly 'western frisian': "fy";
|
|
64
|
-
readonly fulah: "ff";
|
|
65
|
-
readonly georgian: "ka";
|
|
66
|
-
readonly gaelic: "gd";
|
|
67
|
-
readonly 'scottish gaelic': "gd";
|
|
68
|
-
readonly irish: "ga";
|
|
69
|
-
readonly galician: "gl";
|
|
70
|
-
readonly manx: "gv";
|
|
71
|
-
readonly guarani: "gn";
|
|
72
|
-
readonly gujarati: "gu";
|
|
73
|
-
readonly haitian: "ht";
|
|
74
|
-
readonly 'haitian creole': "ht";
|
|
75
|
-
readonly hausa: "ha";
|
|
76
|
-
readonly hebrew: "he";
|
|
77
|
-
readonly herero: "hz";
|
|
78
|
-
readonly hindi: "hi";
|
|
79
|
-
readonly 'hiri motu': "ho";
|
|
80
|
-
readonly croatian: "hr";
|
|
81
|
-
readonly hungarian: "hu";
|
|
82
|
-
readonly igbo: "ig";
|
|
83
|
-
readonly icelandic: "is";
|
|
84
|
-
readonly ido: "io";
|
|
85
|
-
readonly 'sichuan yi': "ii";
|
|
86
|
-
readonly nuosu: "ii";
|
|
87
|
-
readonly inuktitut: "iu";
|
|
88
|
-
readonly interlingue: "ie";
|
|
89
|
-
readonly occidental: "ie";
|
|
90
|
-
readonly interlingua: "ia";
|
|
91
|
-
readonly indonesian: "id";
|
|
92
|
-
readonly inupiaq: "ik";
|
|
93
|
-
readonly italian: "it";
|
|
94
|
-
readonly javanese: "jv";
|
|
95
|
-
readonly japanese: "ja";
|
|
96
|
-
readonly kalaallisut: "kl";
|
|
97
|
-
readonly greenlandic: "kl";
|
|
98
|
-
readonly kannada: "kn";
|
|
99
|
-
readonly kashmiri: "ks";
|
|
100
|
-
readonly kanuri: "kr";
|
|
101
|
-
readonly kazakh: "kk";
|
|
102
|
-
readonly 'central khmer': "km";
|
|
103
|
-
readonly kikuyu: "ki";
|
|
104
|
-
readonly gikuyu: "ki";
|
|
105
|
-
readonly kinyarwanda: "rw";
|
|
106
|
-
readonly kirghiz: "ky";
|
|
107
|
-
readonly kyrgyz: "ky";
|
|
108
|
-
readonly komi: "kv";
|
|
109
|
-
readonly kongo: "kg";
|
|
110
|
-
readonly korean: "ko";
|
|
111
|
-
readonly kuanyama: "kj";
|
|
112
|
-
readonly kwanyama: "kj";
|
|
113
|
-
readonly kurdish: "ku";
|
|
114
|
-
readonly lao: "lo";
|
|
115
|
-
readonly latin: "la";
|
|
116
|
-
readonly latvian: "lv";
|
|
117
|
-
readonly limburgan: "li";
|
|
118
|
-
readonly limburger: "li";
|
|
119
|
-
readonly limburgish: "li";
|
|
120
|
-
readonly lingala: "ln";
|
|
121
|
-
readonly lithuanian: "lt";
|
|
122
|
-
readonly luxembourgish: "lb";
|
|
123
|
-
readonly letzeburgesch: "lb";
|
|
124
|
-
readonly 'luba-katanga': "lu";
|
|
125
|
-
readonly ganda: "lg";
|
|
126
|
-
readonly macedonian: "mk";
|
|
127
|
-
readonly marshallese: "mh";
|
|
128
|
-
readonly malayalam: "ml";
|
|
129
|
-
readonly maori: "mi";
|
|
130
|
-
readonly marathi: "mr";
|
|
131
|
-
readonly malay: "ms";
|
|
132
|
-
readonly malagasy: "mg";
|
|
133
|
-
readonly maltese: "mt";
|
|
134
|
-
readonly mongolian: "mn";
|
|
135
|
-
readonly nauru: "na";
|
|
136
|
-
readonly navajo: "nv";
|
|
137
|
-
readonly navaho: "nv";
|
|
138
|
-
readonly 'ndebele, south': "nr";
|
|
139
|
-
readonly 'south ndebele': "nr";
|
|
140
|
-
readonly 'ndebele, north': "nd";
|
|
141
|
-
readonly 'north ndebele': "nd";
|
|
142
|
-
readonly ndonga: "ng";
|
|
143
|
-
readonly nepali: "ne";
|
|
144
|
-
readonly 'norwegian nynorsk': "nn";
|
|
145
|
-
readonly 'nynorsk, norwegian': "nn";
|
|
146
|
-
readonly 'norwegian bokm\u00E5l': "nb";
|
|
147
|
-
readonly 'bokm\u00E5l, norwegian': "nb";
|
|
148
|
-
readonly norwegian: "no";
|
|
149
|
-
readonly chichewa: "ny";
|
|
150
|
-
readonly chewa: "ny";
|
|
151
|
-
readonly nyanja: "ny";
|
|
152
|
-
readonly occitan: "oc";
|
|
153
|
-
readonly ojibwa: "oj";
|
|
154
|
-
readonly oriya: "or";
|
|
155
|
-
readonly oromo: "om";
|
|
156
|
-
readonly ossetian: "os";
|
|
157
|
-
readonly ossetic: "os";
|
|
158
|
-
readonly panjabi: "pa";
|
|
159
|
-
readonly punjabi: "pa";
|
|
160
|
-
readonly pali: "pi";
|
|
161
|
-
readonly polish: "pl";
|
|
162
|
-
readonly portuguese: "pt";
|
|
163
|
-
readonly pushto: "ps";
|
|
164
|
-
readonly pashto: "ps";
|
|
165
|
-
readonly quechua: "qu";
|
|
166
|
-
readonly romansh: "rm";
|
|
167
|
-
readonly romanian: "ro";
|
|
168
|
-
readonly moldavian: "ro";
|
|
169
|
-
readonly moldovan: "ro";
|
|
170
|
-
readonly rundi: "rn";
|
|
171
|
-
readonly russian: "ru";
|
|
172
|
-
readonly sango: "sg";
|
|
173
|
-
readonly sanskrit: "sa";
|
|
174
|
-
readonly sinhala: "si";
|
|
175
|
-
readonly sinhalese: "si";
|
|
176
|
-
readonly slovak: "sk";
|
|
177
|
-
readonly slovenian: "sl";
|
|
178
|
-
readonly 'northern sami': "se";
|
|
179
|
-
readonly samoan: "sm";
|
|
180
|
-
readonly shona: "sn";
|
|
181
|
-
readonly sindhi: "sd";
|
|
182
|
-
readonly somali: "so";
|
|
183
|
-
readonly 'sotho, southern': "st";
|
|
184
|
-
readonly spanish: "es";
|
|
185
|
-
readonly castilian: "es";
|
|
186
|
-
readonly sardinian: "sc";
|
|
187
|
-
readonly serbian: "sr";
|
|
188
|
-
readonly swati: "ss";
|
|
189
|
-
readonly sundanese: "su";
|
|
190
|
-
readonly swahili: "sw";
|
|
191
|
-
readonly swedish: "sv";
|
|
192
|
-
readonly tahitian: "ty";
|
|
193
|
-
readonly tamil: "ta";
|
|
194
|
-
readonly tatar: "tt";
|
|
195
|
-
readonly telugu: "te";
|
|
196
|
-
readonly tajik: "tg";
|
|
197
|
-
readonly tagalog: "tl";
|
|
198
|
-
readonly thai: "th";
|
|
199
|
-
readonly tigrinya: "ti";
|
|
200
|
-
readonly tonga: "to";
|
|
201
|
-
readonly tswana: "tn";
|
|
202
|
-
readonly tsonga: "ts";
|
|
203
|
-
readonly turkmen: "tk";
|
|
204
|
-
readonly turkish: "tr";
|
|
205
|
-
readonly twi: "tw";
|
|
206
|
-
readonly uighur: "ug";
|
|
207
|
-
readonly uyghur: "ug";
|
|
208
|
-
readonly ukrainian: "uk";
|
|
209
|
-
readonly urdu: "ur";
|
|
210
|
-
readonly uzbek: "uz";
|
|
211
|
-
readonly venda: "ve";
|
|
212
|
-
readonly vietnamese: "vi";
|
|
213
|
-
readonly volapük: "vo";
|
|
214
|
-
readonly walloon: "wa";
|
|
215
|
-
readonly wolof: "wo";
|
|
216
|
-
readonly xhosa: "xh";
|
|
217
|
-
readonly yiddish: "yi";
|
|
218
|
-
readonly yoruba: "yo";
|
|
219
|
-
readonly zhuang: "za";
|
|
220
|
-
readonly chuang: "za";
|
|
221
|
-
readonly zulu: "zu";
|
|
222
|
-
};
|
|
223
|
-
export type LangType = (typeof names)[keyof typeof names];
|
|
224
|
-
export declare const translate: (textToTranslate: string, options: {
|
|
225
|
-
to: LangType;
|
|
226
|
-
from: LangType;
|
|
227
|
-
}) => string;
|
|
228
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Autogenerated by current cli tool
|
|
4
|
-
*/
|
|
5
|
-
export declare const BUILD_FRAMEWORK_CLI_NAME = "tnp";
|
|
6
|
-
/**
|
|
7
|
-
* This value can be change in taon.jsonc (appId)
|
|
8
|
-
*/
|
|
9
|
-
export declare const APP_ID = "com.domain.example.tnp-helpers";
|
|
10
|
-
/**
|
|
11
|
-
* Autogenerated by current cli tool
|
|
12
|
-
*/
|
|
13
|
-
export declare const BUILD_BASE_HREF = "";
|
|
14
|
-
/**
|
|
15
|
-
* This value can be change in taon.jsonc (overrideNpmName)
|
|
16
|
-
*/
|
|
17
|
-
export declare const PROJECT_NPM_NAME = "tnp-helpers";
|
|
18
|
-
/**
|
|
19
|
-
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
20
|
-
*/
|
|
21
|
-
export declare const CURRENT_PACKAGE_VERSION = "21.0.3";
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import type { CopyOptionsSync } from 'fs-extra';
|
|
3
|
-
export interface GetRecrusiveFilesFromOptions {
|
|
4
|
-
}
|
|
5
|
-
export declare class HelpersFileFolders {
|
|
6
|
-
/**
|
|
7
|
-
* Calculate file or string checksum
|
|
8
|
-
*/
|
|
9
|
-
checksum(absolutePathToFileOrContent: string, algorithm?: 'md5' | 'sha1'): any;
|
|
10
|
-
getValueFromJSON(filepath: string, lodashGetPath: string, defaultValue?: any): any;
|
|
11
|
-
getValueFromJSONC(filepath: string, lodashGetPath: string, defaultValue?: any): any;
|
|
12
|
-
readValueFromJson(filepath: string, lodashGetPath: string, defaultValue?: any): any;
|
|
13
|
-
readValueFromJsonC(filepath: string, lodashGetPath: string, defaultValue?: any): any;
|
|
14
|
-
setValueToJSON(filepath: string | string[], lodashGetPath: string, value: any): void;
|
|
15
|
-
setValueToJSONC(filepath: string, lodashGetPath: string, value: any): void;
|
|
16
|
-
/**
|
|
17
|
-
* file size in bytes
|
|
18
|
-
*/
|
|
19
|
-
size(filePath: string): number;
|
|
20
|
-
pathFromLink(filePath: string): string;
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated
|
|
23
|
-
*/
|
|
24
|
-
renameFolder(from: string, to: string, cwd?: string): void;
|
|
25
|
-
/**
|
|
26
|
-
* @deprecated
|
|
27
|
-
*/
|
|
28
|
-
renameFiles(from: string, to: string, cwd?: string): void;
|
|
29
|
-
getTempFolder(): any;
|
|
30
|
-
isPlainFileOrFolder(filePath: string): boolean;
|
|
31
|
-
/**
|
|
32
|
-
* @deprecated
|
|
33
|
-
* use import (or modules only on backend)
|
|
34
|
-
*/
|
|
35
|
-
requireUncached(module: string): any;
|
|
36
|
-
/**
|
|
37
|
-
* @deprecated
|
|
38
|
-
* use import (or modules only on backend)
|
|
39
|
-
*
|
|
40
|
-
* get default export object from js file
|
|
41
|
-
* @param jsFilePath
|
|
42
|
-
*/
|
|
43
|
-
require(jsFilePath: string): any;
|
|
44
|
-
tryRecreateDir(dirpath: string): void;
|
|
45
|
-
/**
|
|
46
|
-
* @deprecated
|
|
47
|
-
*/
|
|
48
|
-
tryCopyFrom(source: string, destination: string, options?: {}): void;
|
|
49
|
-
move(from: string, to: string, options?: {
|
|
50
|
-
purpose?: string;
|
|
51
|
-
}): void;
|
|
52
|
-
findChildren<T>(location: string, createFn: (childLocation: string) => T, options?: {
|
|
53
|
-
allowAllNames: boolean;
|
|
54
|
-
}): T[];
|
|
55
|
-
/**
|
|
56
|
-
* @deprecated
|
|
57
|
-
*/
|
|
58
|
-
findChildrenNavi<T>(location: string, createFn: (childLocation: string) => T): T[];
|
|
59
|
-
/**
|
|
60
|
-
* get all files from folder
|
|
61
|
-
* absolute paths
|
|
62
|
-
*/
|
|
63
|
-
getRecrusiveFilesFrom(dir: string, ommitFolders?: string[], options?: GetRecrusiveFilesFromOptions): string[];
|
|
64
|
-
checkIfNameAllowedForTaonProj(folderName: string): boolean;
|
|
65
|
-
getLinesFromFiles(filename: string, lineCount?: number): Promise<string[]>;
|
|
66
|
-
/**
|
|
67
|
-
* Get the most recent changes file in direcory
|
|
68
|
-
* @param dir absoulute path to file
|
|
69
|
-
*/
|
|
70
|
-
getMostRecentFileName(dir: string): string;
|
|
71
|
-
getMostRecentFilesNames(dir: string): string[];
|
|
72
|
-
removeExcept(fromPath: string, exceptFolderAndFiles: string[]): void;
|
|
73
|
-
/**
|
|
74
|
-
* Copy folder using os native command
|
|
75
|
-
* (perfect for large folders/files)
|
|
76
|
-
*/
|
|
77
|
-
copyFolderOsNative(from: string, to: string, options?: {
|
|
78
|
-
removeDestination?: boolean;
|
|
79
|
-
}): Promise<void>;
|
|
80
|
-
copy(sourceDir: string | string[], destinationDir: string | string[], options?: {
|
|
81
|
-
filter?: any;
|
|
82
|
-
overwrite?: boolean;
|
|
83
|
-
recursive?: boolean;
|
|
84
|
-
asSeparatedFiles?: boolean;
|
|
85
|
-
asSeparatedFilesAllowNotCopied?: boolean;
|
|
86
|
-
asSeparatedFilesSymlinkAsFile?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* folders to omit: example: ['src','node_modules']
|
|
89
|
-
*
|
|
90
|
-
* This option works only with omitFoldersBaseFolder
|
|
91
|
-
*/
|
|
92
|
-
omitFolders?: string[];
|
|
93
|
-
/**
|
|
94
|
-
* absolute path for base folder for omitFolder option
|
|
95
|
-
*/
|
|
96
|
-
omitFoldersBaseFolder?: string;
|
|
97
|
-
copySymlinksAsFiles?: boolean;
|
|
98
|
-
copySymlinksAsFilesDeleteUnexistedLinksFromSourceFirst?: boolean;
|
|
99
|
-
useTempFolder?: boolean;
|
|
100
|
-
dontAskOnError?: boolean;
|
|
101
|
-
} & CopyOptionsSync): void;
|
|
102
|
-
filterDontCopy(basePathFoldersTosSkip: string[], projectOrBasepath: string): any;
|
|
103
|
-
filterOnlyCopy(basePathFoldersOnlyToInclude: string[], projectOrBasepath: string): any;
|
|
104
|
-
copyFile(sourcePath: string | string[], destinationPath: string | string[], options?: {
|
|
105
|
-
transformTextFn?: (input: string) => string;
|
|
106
|
-
debugMode?: boolean;
|
|
107
|
-
fast?: boolean;
|
|
108
|
-
dontCopySameContent?: boolean;
|
|
109
|
-
}): boolean;
|
|
110
|
-
/**
|
|
111
|
-
* get real absolute path
|
|
112
|
-
*/
|
|
113
|
-
resolve(fileOrFolderPath: string): string;
|
|
114
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import type { ChildProcess } from 'child_process';
|
|
3
|
-
import { Level } from 'ng2-logger/browser';
|
|
4
|
-
export declare class HelpersProcess {
|
|
5
|
-
restartApplicationItself(nameOfApp: string): Promise<any>;
|
|
6
|
-
osIsMacOs(versino: 'big-sur' | 'catalina'): any;
|
|
7
|
-
generatedFileWrap(content: string): any;
|
|
8
|
-
changeCwdWrapper(dir: string, functionToExecure: Function, logLevel?: Level): Promise<any>;
|
|
9
|
-
changeCwd(dir?: string): any;
|
|
10
|
-
/**
|
|
11
|
-
* // TODO refactor this
|
|
12
|
-
* @deprecated
|
|
13
|
-
*/
|
|
14
|
-
goToDir(dir?: string): any;
|
|
15
|
-
pressKeyOrWait(message?: string, printWaitMessages?: number): Promise<any>;
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated use UtilsTerminal.pressAnyKey
|
|
18
|
-
*/
|
|
19
|
-
pressKeyAndContinue(message?: string): any;
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated use UtilsTerminal.multiselect
|
|
22
|
-
*/
|
|
23
|
-
list<T = string>(question: string, choices: {
|
|
24
|
-
name: string;
|
|
25
|
-
value: T;
|
|
26
|
-
}[] | {
|
|
27
|
-
[choice: string]: {
|
|
28
|
-
name: string;
|
|
29
|
-
};
|
|
30
|
-
}): Promise<any>;
|
|
31
|
-
/**
|
|
32
|
-
* @deprecated use UtilsTerminal.multiselect
|
|
33
|
-
*/
|
|
34
|
-
multipleChoicesAsk(question: string, choices: {
|
|
35
|
-
name: string;
|
|
36
|
-
value: string;
|
|
37
|
-
}[], autocomplete?: boolean, selected?: {
|
|
38
|
-
name: string;
|
|
39
|
-
value: string;
|
|
40
|
-
}[]): Promise<string[]>;
|
|
41
|
-
/**
|
|
42
|
-
* @deprecated use UtilsTerminal.input
|
|
43
|
-
*/
|
|
44
|
-
input(options: {
|
|
45
|
-
defaultValue?: string;
|
|
46
|
-
question: string;
|
|
47
|
-
validate?: (value: string) => boolean;
|
|
48
|
-
}): Promise<string>;
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated use UtilsTerminal.multiselect
|
|
51
|
-
* TODO wierd problem when pressing key like "i"
|
|
52
|
-
*/
|
|
53
|
-
selectChoicesAsk<T = string>(question: string, choices: {
|
|
54
|
-
name: string;
|
|
55
|
-
value: T;
|
|
56
|
-
}[] | {
|
|
57
|
-
[choice: string]: {
|
|
58
|
-
name: string;
|
|
59
|
-
};
|
|
60
|
-
}): Promise<T>;
|
|
61
|
-
autocompleteAsk<T = string>(question: string, choices: {
|
|
62
|
-
name: string;
|
|
63
|
-
value: T;
|
|
64
|
-
}[], pageSize?: number): Promise<T>;
|
|
65
|
-
getWorkingDirOfProcess(PID: number): any;
|
|
66
|
-
outputToVScode(data: {
|
|
67
|
-
label: string;
|
|
68
|
-
option: string;
|
|
69
|
-
}[] | string, disableEncode?: boolean): any;
|
|
70
|
-
actionWrapper(fn: () => void, taskName?: string): Promise<any>;
|
|
71
|
-
terminalLine(): any;
|
|
72
|
-
/**
|
|
73
|
-
* THIS DEOS NOT WORK !
|
|
74
|
-
* ! TOOD FIX THIS
|
|
75
|
-
*/
|
|
76
|
-
killAllNodeExceptCurrentProcess(): Promise<any>;
|
|
77
|
-
killAllNode(): any;
|
|
78
|
-
formatPath(pathToFileOrFolder: string): any;
|
|
79
|
-
/**
|
|
80
|
-
* @deprecated
|
|
81
|
-
*/
|
|
82
|
-
prepareWatchCommand(cmd: any): any;
|
|
83
|
-
/**
|
|
84
|
-
* @deprecated
|
|
85
|
-
*/
|
|
86
|
-
getStringFrom(command: string, descriptionOfCommand?: string): any;
|
|
87
|
-
waitForMessegeInStdout(proc: ChildProcess, message: string): Promise<any>;
|
|
88
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { Subject } from "rxjs";
|
|
3
|
-
export declare namespace HelpersAngular {
|
|
4
|
-
class SerializedSubject<T> {
|
|
5
|
-
id: string;
|
|
6
|
-
constructor(id: string);
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* if you are using this.. please call Helpers.ng.unsubscribe(this.$destroy) in ngOnDestroy();
|
|
10
|
-
*/
|
|
11
|
-
function serialize(destroy$: Subject<any>): SerializedSubject<any>;
|
|
12
|
-
/**
|
|
13
|
-
* if you are using this.. please call Helpers.ng.unsubscribe(this.$destroy) in ngOnDestroy();
|
|
14
|
-
*/
|
|
15
|
-
function deserialize(destroy$: SerializedSubject<any>): Subject<any>;
|
|
16
|
-
function unsubscribe(destroy$: Subject<any>): void;
|
|
17
|
-
/**
|
|
18
|
-
get properties from scss file
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
import styles from './tasks-ngrx-data.component.scss';
|
|
22
|
-
|
|
23
|
-
export class ExampleComponent {
|
|
24
|
-
sassFile = sassFile(styles);
|
|
25
|
-
|
|
26
|
-
async ngOnInit() {
|
|
27
|
-
this.tasksService.getAll();
|
|
28
|
-
console.log(this.sassFile.stringValue('--max-container-size'))
|
|
29
|
-
console.log(this.sassFile.numberValue('--max-container-size'))
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
*/
|
|
33
|
-
function sassFile(styles: string): {
|
|
34
|
-
stringValue: (name: string) => string;
|
|
35
|
-
numberValue: (name: string) => number;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
export declare class HelpersBrowser {
|
|
3
|
-
private static callbacks;
|
|
4
|
-
static onInit(callback: (ins: HelpersBrowser) => any): void;
|
|
5
|
-
get win(): Window & typeof globalThis;
|
|
6
|
-
private get tabIdSessionStorage();
|
|
7
|
-
readonly tabId: number;
|
|
8
|
-
private static inst;
|
|
9
|
-
init: void;
|
|
10
|
-
private constructor();
|
|
11
|
-
static get instance(): HelpersBrowser;
|
|
12
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
export declare class HelpersArrayObj {
|
|
3
|
-
from(s: string | string[]): string[];
|
|
4
|
-
second(arr: any): any;
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated
|
|
7
|
-
* use moveObjectBefore
|
|
8
|
-
*/
|
|
9
|
-
arrayMoveElementBefore<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated
|
|
12
|
-
* use moveObjectAfter
|
|
13
|
-
*/
|
|
14
|
-
arrayMoveElementAfterB<T = any>(arr: any[], a: any, b: any, prop?: keyof T): any[];
|
|
15
|
-
moveObjectBefore<T = any>(array: T[], target: T, before: T): T[];
|
|
16
|
-
moveObjectAfter<T = any>(array: T[], target: T, after: T): T[];
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated use Utils.uniqArray from tnp-core
|
|
19
|
-
*/
|
|
20
|
-
uniqArray<T = any>(array: any[], uniqueProperty?: keyof T): T[];
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated use Utils.uniqArray from tnp-core
|
|
23
|
-
*/
|
|
24
|
-
sortKeys(obj: any): any;
|
|
25
|
-
/**
|
|
26
|
-
* Fuzzy search
|
|
27
|
-
*/
|
|
28
|
-
fuzzy<T = any>(query: string, list: T[], valueFn?: (modelFromList: T) => string): {
|
|
29
|
-
matches: string[];
|
|
30
|
-
results: T[];
|
|
31
|
-
};
|
|
32
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
export declare class HelpersStringsRegexes {
|
|
3
|
-
escapeStringForRegEx(s: string): string;
|
|
4
|
-
matchExactOnce(s: string, regex: RegExp): string;
|
|
5
|
-
get regex(): {
|
|
6
|
-
/**
|
|
7
|
-
* mathes
|
|
8
|
-
* xxx.xxx.xxx.xxx
|
|
9
|
-
* xxx.xxx.xxx.xxx:port
|
|
10
|
-
* http://xxx.xxx.xxx.xxx:port
|
|
11
|
-
* http://xxx.xxx.xxx.xxx
|
|
12
|
-
* https://xxx.xxx.xxx.xxx:port
|
|
13
|
-
* https://xxx.xxx.xxx.xxx *
|
|
14
|
-
*/
|
|
15
|
-
readonly forStringWithIpHost: RegExp;
|
|
16
|
-
/**
|
|
17
|
-
* mathes
|
|
18
|
-
* http://domain.com:port
|
|
19
|
-
* http://domain.com
|
|
20
|
-
* http://domain:port
|
|
21
|
-
* http://domain
|
|
22
|
-
* https://domain.com:port
|
|
23
|
-
* https://domain.com
|
|
24
|
-
* https://domain:port
|
|
25
|
-
* https://domain
|
|
26
|
-
*/
|
|
27
|
-
readonly forStringWithDomainHost: RegExp;
|
|
28
|
-
};
|
|
29
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
export declare class HelpersStrings {
|
|
3
|
-
/**
|
|
4
|
-
* Example:
|
|
5
|
-
*
|
|
6
|
-
* const result = interpolateString("I'm {age} years old!")
|
|
7
|
-
* .withParameters({ age: 29 });
|
|
8
|
-
*
|
|
9
|
-
* const result = interpolateString("The {a} says {n}, {n}, {n}!")
|
|
10
|
-
* .withParameters({ a: 'cow', n: 'moo' });
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @param value string to interpolate
|
|
14
|
-
* @param parameters object with parametes
|
|
15
|
-
*/
|
|
16
|
-
interpolateString<T = any>(value: string): {
|
|
17
|
-
withParameters(parameters: T): string;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @param pixelsCss exmaple: 100px
|
|
22
|
-
* @returns number value
|
|
23
|
-
*/
|
|
24
|
-
numValue(pixelsCss: string): number;
|
|
25
|
-
/**
|
|
26
|
-
* examples:
|
|
27
|
-
* 'aa bb bb' => ['aa','bb','cc'],
|
|
28
|
-
* 'aa' => ['aa']
|
|
29
|
-
* ['aa'] => ['aa']
|
|
30
|
-
*/
|
|
31
|
-
splitIfNeed(stringOrArr: string | string[]): string[];
|
|
32
|
-
removeDoubleOrMoreEmptyLines(s: string): string;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* https://stackoverflow.com/a/57129703/1345101
|
|
36
|
-
*
|
|
37
|
-
* Returns the plural of an English word.
|
|
38
|
-
*
|
|
39
|
-
* @export
|
|
40
|
-
* @param {string} word
|
|
41
|
-
* @param {number} [amount]
|
|
42
|
-
* @returns {string}
|
|
43
|
-
*/
|
|
44
|
-
plural(word: string, amount?: number): string;
|
|
45
|
-
/**
|
|
46
|
-
* https://stackoverflow.com/a/57129703/1345101
|
|
47
|
-
*
|
|
48
|
-
* Returns the singular of an English word.
|
|
49
|
-
*
|
|
50
|
-
* @export
|
|
51
|
-
* @param {string} word
|
|
52
|
-
* @param {number} [amount]
|
|
53
|
-
* @returns {string}
|
|
54
|
-
*/
|
|
55
|
-
singular(word: string, amount?: number): string;
|
|
56
|
-
}
|