angular-slickgrid 4.2.0 → 4.2.3
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/LICENSE +20 -20
- package/{dist/app → app}/modules/angular-slickgrid/components/angular-slickgrid.component.d.ts +2 -2
- package/{dist/app → app}/modules/angular-slickgrid/constants.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/extensions/index.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/extensions/slickRowDetailView.d.ts +0 -2
- package/{dist/app → app}/modules/angular-slickgrid/global-grid-options.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/index.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/models/angularComponentOutput.interface.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/models/angularGridInstance.interface.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/models/externalTestingDependencies.interface.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/models/gridOption.interface.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/models/index.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/models/rowDetailView.interface.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/models/slickGrid.interface.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/modules/angular-slickgrid.module.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/services/angularUtil.service.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/services/bsDropdown.service.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/services/container.service.d.ts +1 -0
- package/{dist/app → app}/modules/angular-slickgrid/services/index.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/services/translater.service.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/services/utilities.d.ts +0 -0
- package/{dist/app → app}/modules/angular-slickgrid/slickgrid-config.d.ts +0 -0
- package/docs/assets/lib/multiple-select/README.md +17 -0
- package/{dist/esm2020 → esm2020}/angular-slickgrid.mjs +0 -0
- package/esm2020/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +1170 -0
- package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/constants.mjs +1 -1
- package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/extensions/index.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +298 -0
- package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/global-grid-options.mjs +1 -1
- package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/index.mjs +1 -1
- package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/models/angularComponentOutput.interface.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/models/angularGridInstance.interface.mjs +2 -0
- package/esm2020/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.mjs +2 -0
- package/esm2020/app/modules/angular-slickgrid/models/gridOption.interface.mjs +2 -0
- package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/models/index.mjs +1 -1
- package/esm2020/app/modules/angular-slickgrid/models/rowDetailView.interface.mjs +2 -0
- package/esm2020/app/modules/angular-slickgrid/models/slickGrid.interface.mjs +2 -0
- package/esm2020/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +43 -0
- package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/services/angularUtil.service.mjs +4 -4
- package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/services/bsDropdown.service.mjs +4 -4
- package/esm2020/app/modules/angular-slickgrid/services/container.service.mjs +29 -0
- package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/services/index.mjs +1 -1
- package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/services/translater.service.mjs +4 -4
- package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/services/utilities.mjs +1 -1
- package/{dist/esm2020 → esm2020}/app/modules/angular-slickgrid/slickgrid-config.mjs +1 -1
- package/{dist/esm2020 → esm2020}/public_api.mjs +1 -1
- package/{dist/fesm2015 → fesm2015}/angular-slickgrid.mjs +48 -51
- package/fesm2015/angular-slickgrid.mjs.map +1 -0
- package/{dist/fesm2020 → fesm2020}/angular-slickgrid.mjs +48 -51
- package/fesm2020/angular-slickgrid.mjs.map +1 -0
- package/{dist/i18n → i18n}/en.json +89 -89
- package/{dist/i18n → i18n}/fr.json +90 -90
- package/{dist/angular-slickgrid.d.ts → index.d.ts} +0 -0
- package/package.json +33 -118
- package/{dist/public_api.d.ts → public_api.d.ts} +0 -0
- package/test/cypress/node_modules/@cypress/request/README.md +1038 -0
- package/test/cypress/node_modules/@cypress/xvfb/README.md +48 -0
- package/test/cypress/node_modules/@cypress/xvfb/node_modules/debug/README.md +437 -0
- package/test/cypress/node_modules/@types/node/README.md +16 -0
- package/test/cypress/node_modules/@types/sinonjs__fake-timers/README.md +16 -0
- package/test/cypress/node_modules/@types/sizzle/README.md +16 -0
- package/test/cypress/node_modules/@types/yauzl/README.md +16 -0
- package/test/cypress/node_modules/@types/yauzl/node_modules/@types/node/README.md +16 -0
- package/test/cypress/node_modules/aggregate-error/README.md +61 -0
- package/test/cypress/node_modules/ansi-colors/README.md +315 -0
- package/test/cypress/node_modules/ansi-escapes/README.md +245 -0
- package/test/cypress/node_modules/ansi-regex/README.md +78 -0
- package/test/cypress/node_modules/ansi-styles/README.md +152 -0
- package/test/cypress/node_modules/arch/README.md +71 -0
- package/test/cypress/node_modules/asn1/README.md +50 -0
- package/test/cypress/node_modules/assert-plus/README.md +162 -0
- package/test/cypress/node_modules/astral-regex/README.md +46 -0
- package/test/cypress/node_modules/async/README.md +60 -0
- package/test/cypress/node_modules/asynckit/README.md +233 -0
- package/test/cypress/node_modules/at-least-node/README.md +25 -0
- package/test/cypress/node_modules/aws-sign2/README.md +4 -0
- package/test/cypress/node_modules/aws4/README.md +183 -0
- package/test/cypress/node_modules/balanced-match/README.md +91 -0
- package/test/cypress/node_modules/base64-js/README.md +34 -0
- package/test/cypress/node_modules/bcrypt-pbkdf/README.md +45 -0
- package/test/cypress/node_modules/blob-util/README.md +623 -0
- package/test/cypress/node_modules/bluebird/README.md +57 -0
- package/test/cypress/node_modules/brace-expansion/README.md +129 -0
- package/test/cypress/node_modules/buffer/README.md +410 -0
- package/test/cypress/node_modules/buffer-crc32/README.md +47 -0
- package/test/cypress/node_modules/cachedir/README.md +27 -0
- package/test/cypress/node_modules/caseless/README.md +45 -0
- package/test/cypress/node_modules/chalk/README.md +293 -0
- package/test/cypress/node_modules/chalk/node_modules/supports-color/README.md +76 -0
- package/test/cypress/node_modules/check-more-types/README.md +952 -0
- package/test/cypress/node_modules/ci-info/README.md +114 -0
- package/test/cypress/node_modules/clean-stack/README.md +76 -0
- package/test/cypress/node_modules/cli-cursor/README.md +55 -0
- package/test/cypress/node_modules/cli-table3/README.md +218 -0
- package/test/cypress/node_modules/cli-truncate/README.md +139 -0
- package/test/cypress/node_modules/color-convert/README.md +68 -0
- package/test/cypress/node_modules/color-name/README.md +11 -0
- package/test/cypress/node_modules/colorette/README.md +102 -0
- package/test/cypress/node_modules/colors/README.md +221 -0
- package/test/cypress/node_modules/combined-stream/README.md +138 -0
- package/test/cypress/node_modules/commander/README.md +737 -0
- package/test/cypress/node_modules/common-tags/README.md +687 -0
- package/test/cypress/node_modules/core-util-is/README.md +3 -0
- package/test/cypress/node_modules/cross-spawn/README.md +96 -0
- package/test/cypress/node_modules/cypress/README.md +25 -0
- package/test/cypress/node_modules/cypress/mount-utils/README.md +14 -0
- package/test/cypress/node_modules/cypress/react/README.md +414 -0
- package/test/cypress/node_modules/cypress/vue/README.md +678 -0
- package/test/cypress/node_modules/cypress/vue2/README.md +693 -0
- package/test/cypress/node_modules/dashdash/README.md +574 -0
- package/test/cypress/node_modules/dayjs/README.md +128 -0
- package/test/cypress/node_modules/debug/README.md +455 -0
- package/test/cypress/node_modules/delayed-stream/README.md +141 -0
- package/test/cypress/node_modules/ecc-jsbn/README.md +8 -0
- package/test/cypress/node_modules/emoji-regex/README.md +73 -0
- package/test/cypress/node_modules/end-of-stream/README.md +54 -0
- package/test/cypress/node_modules/enquirer/README.md +1752 -0
- package/test/cypress/node_modules/escape-string-regexp/README.md +27 -0
- package/test/cypress/node_modules/eventemitter2/README.md +809 -0
- package/test/cypress/node_modules/execa/README.md +656 -0
- package/test/cypress/node_modules/executable/README.md +64 -0
- package/test/cypress/node_modules/extend/README.md +81 -0
- package/test/cypress/node_modules/extract-zip/README.md +57 -0
- package/test/cypress/node_modules/extract-zip/node_modules/debug/README.md +455 -0
- package/test/cypress/node_modules/extsprintf/README.md +46 -0
- package/test/cypress/node_modules/fd-slicer/README.md +199 -0
- package/test/cypress/node_modules/figures/README.md +139 -0
- package/test/cypress/node_modules/forever-agent/README.md +4 -0
- package/test/cypress/node_modules/form-data/README.md +234 -0
- package/test/cypress/node_modules/fs-extra/README.md +264 -0
- package/test/cypress/node_modules/fs.realpath/README.md +33 -0
- package/test/cypress/node_modules/get-stream/README.md +124 -0
- package/test/cypress/node_modules/getos/README.md +79 -0
- package/test/cypress/node_modules/getpass/README.md +32 -0
- package/test/cypress/node_modules/glob/README.md +375 -0
- package/test/cypress/node_modules/global-dirs/README.md +72 -0
- package/test/cypress/node_modules/graceful-fs/README.md +133 -0
- package/test/cypress/node_modules/has-flag/README.md +89 -0
- package/test/cypress/node_modules/http-signature/README.md +80 -0
- package/test/cypress/node_modules/human-signals/README.md +155 -0
- package/test/cypress/node_modules/ieee754/README.md +51 -0
- package/test/cypress/node_modules/indent-string/README.md +70 -0
- package/test/cypress/node_modules/inflight/README.md +37 -0
- package/test/cypress/node_modules/inherits/README.md +42 -0
- package/test/cypress/node_modules/ini/README.md +102 -0
- package/test/cypress/node_modules/is-ci/README.md +50 -0
- package/test/cypress/node_modules/is-fullwidth-code-point/README.md +39 -0
- package/test/cypress/node_modules/is-installed-globally/README.md +31 -0
- package/test/cypress/node_modules/is-path-inside/README.md +63 -0
- package/test/cypress/node_modules/is-stream/README.md +57 -0
- package/test/cypress/node_modules/is-typedarray/README.md +16 -0
- package/test/cypress/node_modules/isexe/README.md +51 -0
- package/test/cypress/node_modules/isstream/README.md +66 -0
- package/test/cypress/node_modules/jsbn/README.md +175 -0
- package/test/cypress/node_modules/json-schema/README.md +3 -0
- package/test/cypress/node_modules/json-stringify-safe/README.md +52 -0
- package/test/cypress/node_modules/jsonfile/README.md +205 -0
- package/test/cypress/node_modules/jsonfile/node_modules/universalify/README.md +76 -0
- package/test/cypress/node_modules/jsprim/README.md +287 -0
- package/test/cypress/node_modules/lazy-ass/README.md +269 -0
- package/test/cypress/node_modules/listr2/README.md +17 -0
- package/test/cypress/node_modules/lodash/README.md +39 -0
- package/test/cypress/node_modules/lodash.once/README.md +18 -0
- package/test/cypress/node_modules/log-symbols/README.md +51 -0
- package/test/cypress/node_modules/log-update/README.md +97 -0
- package/test/cypress/node_modules/log-update/node_modules/slice-ansi/README.md +66 -0
- package/test/cypress/node_modules/log-update/node_modules/wrap-ansi/README.md +97 -0
- package/test/cypress/node_modules/lru-cache/README.md +166 -0
- package/test/cypress/node_modules/merge-stream/README.md +78 -0
- package/test/cypress/node_modules/mime-db/README.md +102 -0
- package/test/cypress/node_modules/mime-types/README.md +123 -0
- package/test/cypress/node_modules/mimic-fn/README.md +69 -0
- package/test/cypress/node_modules/minimatch/README.md +209 -0
- package/test/cypress/node_modules/ms/README.md +60 -0
- package/test/cypress/node_modules/npm-run-path/README.md +115 -0
- package/test/cypress/node_modules/once/README.md +79 -0
- package/test/cypress/node_modules/onetime/README.md +94 -0
- package/test/cypress/node_modules/ospath/README.md +53 -0
- package/test/cypress/node_modules/p-map/README.md +89 -0
- package/test/cypress/node_modules/path-is-absolute/README.md +59 -0
- package/test/cypress/node_modules/path-key/README.md +61 -0
- package/test/cypress/node_modules/pend/README.md +41 -0
- package/test/cypress/node_modules/performance-now/README.md +30 -0
- package/test/cypress/node_modules/pify/README.md +119 -0
- package/test/cypress/node_modules/pretty-bytes/README.md +131 -0
- package/test/cypress/node_modules/proxy-from-env/README.md +131 -0
- package/test/cypress/node_modules/psl/README.md +215 -0
- package/test/cypress/node_modules/pump/README.md +65 -0
- package/test/cypress/node_modules/punycode/README.md +122 -0
- package/test/cypress/node_modules/qs/README.md +475 -0
- package/test/cypress/node_modules/request-progress/README.md +78 -0
- package/test/cypress/node_modules/restore-cursor/README.md +26 -0
- package/test/cypress/node_modules/rimraf/README.md +101 -0
- package/test/cypress/node_modules/rxjs/README.md +147 -0
- package/test/cypress/node_modules/rxjs/_esm2015/README.md +147 -0
- package/test/cypress/node_modules/rxjs/_esm5/README.md +147 -0
- package/test/cypress/node_modules/rxjs/src/README.md +147 -0
- package/test/cypress/node_modules/safe-buffer/README.md +584 -0
- package/test/cypress/node_modules/safer-buffer/README.md +156 -0
- package/test/cypress/node_modules/semver/README.md +566 -0
- package/test/cypress/node_modules/shebang-command/README.md +34 -0
- package/test/cypress/node_modules/shebang-regex/README.md +33 -0
- package/test/cypress/node_modules/signal-exit/README.md +39 -0
- package/test/cypress/node_modules/slice-ansi/README.md +72 -0
- package/test/cypress/node_modules/sshpk/README.md +804 -0
- package/test/cypress/node_modules/string-width/README.md +50 -0
- package/test/cypress/node_modules/strip-ansi/README.md +46 -0
- package/test/cypress/node_modules/strip-final-newline/README.md +30 -0
- package/test/cypress/node_modules/supports-color/README.md +77 -0
- package/test/cypress/node_modules/throttleit/README.md +32 -0
- package/test/cypress/node_modules/tmp/README.md +365 -0
- package/test/cypress/node_modules/tough-cookie/README.md +527 -0
- package/test/cypress/node_modules/tslib/README.md +142 -0
- package/test/cypress/node_modules/tunnel-agent/README.md +4 -0
- package/test/cypress/node_modules/tweetnacl/README.md +459 -0
- package/test/cypress/node_modules/type-fest/README.md +760 -0
- package/test/cypress/node_modules/universalify/README.md +76 -0
- package/test/cypress/node_modules/untildify/README.md +30 -0
- package/test/cypress/node_modules/uuid/README.md +505 -0
- package/test/cypress/node_modules/verror/README.md +528 -0
- package/test/cypress/node_modules/verror/node_modules/extsprintf/README.md +46 -0
- package/test/cypress/node_modules/which/README.md +54 -0
- package/test/cypress/node_modules/wrap-ansi/README.md +91 -0
- package/test/cypress/node_modules/wrappy/README.md +36 -0
- package/test/cypress/node_modules/yallist/README.md +204 -0
- package/test/cypress/node_modules/yauzl/README.md +658 -0
- package/.browserslistrc +0 -12
- package/.codecov.yml +0 -17
- package/.editorconfig +0 -18
- package/.eslintrc.json +0 -50
- package/.github/CODE_OF_CONDUCT.md +0 -76
- package/.github/FUNDING.yml +0 -8
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -54
- package/.github/ISSUE_TEMPLATE/config.yml +0 -5
- package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -44
- package/.github/renovate.json5 +0 -26
- package/.github/stale.yml +0 -7
- package/.github/workflows/main.yml +0 -83
- package/.vscode/extensions.json +0 -9
- package/.vscode/launch.json +0 -72
- package/.vscode/settings.json +0 -7
- package/.vscode/tasks.json +0 -77
- package/CHANGELOG.md +0 -1172
- package/angular.json +0 -148
- package/dist/LICENSE +0 -20
- package/dist/README.md +0 -182
- package/dist/esm2020/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +0 -1171
- package/dist/esm2020/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +0 -300
- package/dist/esm2020/app/modules/angular-slickgrid/models/angularGridInstance.interface.mjs +0 -2
- package/dist/esm2020/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.mjs +0 -2
- package/dist/esm2020/app/modules/angular-slickgrid/models/gridOption.interface.mjs +0 -2
- package/dist/esm2020/app/modules/angular-slickgrid/models/rowDetailView.interface.mjs +0 -2
- package/dist/esm2020/app/modules/angular-slickgrid/models/slickGrid.interface.mjs +0 -2
- package/dist/esm2020/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +0 -46
- package/dist/esm2020/app/modules/angular-slickgrid/services/container.service.mjs +0 -26
- package/dist/fesm2015/angular-slickgrid.mjs.map +0 -1
- package/dist/fesm2020/angular-slickgrid.mjs.map +0 -1
- package/dist/package.json +0 -79
- package/global.d.ts +0 -1
- package/ngcc.config.js +0 -13
- package/screenshots/column-picker.png +0 -0
- package/screenshots/composite-editor.png +0 -0
- package/screenshots/draggable-grouping.png +0 -0
- package/screenshots/editors.png +0 -0
- package/screenshots/export-to-file.png +0 -0
- package/screenshots/filter_and_sort.png +0 -0
- package/screenshots/formatters.png +0 -0
- package/screenshots/frozen.png +0 -0
- package/screenshots/multipleSelectFilter.png +0 -0
- package/screenshots/pagination.png +0 -0
- package/screenshots/selectFilter.png +0 -0
- package/screenshots/singleFilter.png +0 -0
- package/src/app/app-routing.module.ts +0 -83
- package/src/app/app.component.html +0 -160
- package/src/app/app.component.scss +0 -65
- package/src/app/app.component.ts +0 -10
- package/src/app/app.module.ts +0 -175
- package/src/app/examples/custom-angularComponentEditor.ts +0 -184
- package/src/app/examples/custom-angularComponentFilter.ts +0 -126
- package/src/app/examples/custom-inputEditor.ts +0 -124
- package/src/app/examples/custom-inputFilter.ts +0 -142
- package/src/app/examples/custom-titleFormatter.component.ts +0 -8
- package/src/app/examples/editor-ng-select.component.ts +0 -37
- package/src/app/examples/filter-ng-select.component.ts +0 -32
- package/src/app/examples/grid-additem.component.html +0 -48
- package/src/app/examples/grid-additem.component.ts +0 -272
- package/src/app/examples/grid-angular.component.html +0 -79
- package/src/app/examples/grid-angular.component.scss +0 -28
- package/src/app/examples/grid-angular.component.ts +0 -370
- package/src/app/examples/grid-autoheight.component.html +0 -52
- package/src/app/examples/grid-autoheight.component.ts +0 -147
- package/src/app/examples/grid-basic.component.html +0 -29
- package/src/app/examples/grid-basic.component.ts +0 -82
- package/src/app/examples/grid-clientside.component.html +0 -51
- package/src/app/examples/grid-clientside.component.ts +0 -293
- package/src/app/examples/grid-colspan.component.html +0 -39
- package/src/app/examples/grid-colspan.component.scss +0 -11
- package/src/app/examples/grid-colspan.component.ts +0 -155
- package/src/app/examples/grid-composite-editor.component.html +0 -79
- package/src/app/examples/grid-composite-editor.component.scss +0 -19
- package/src/app/examples/grid-composite-editor.component.ts +0 -948
- package/src/app/examples/grid-contextmenu.component.html +0 -62
- package/src/app/examples/grid-contextmenu.component.scss +0 -44
- package/src/app/examples/grid-contextmenu.component.ts +0 -473
- package/src/app/examples/grid-custom-tooltip.component.html +0 -25
- package/src/app/examples/grid-custom-tooltip.component.scss +0 -77
- package/src/app/examples/grid-custom-tooltip.component.ts +0 -483
- package/src/app/examples/grid-draggrouping.component.html +0 -93
- package/src/app/examples/grid-draggrouping.component.ts +0 -397
- package/src/app/examples/grid-editor.component.html +0 -88
- package/src/app/examples/grid-editor.component.ts +0 -699
- package/src/app/examples/grid-formatter.component.html +0 -26
- package/src/app/examples/grid-formatter.component.ts +0 -162
- package/src/app/examples/grid-frozen.component.html +0 -65
- package/src/app/examples/grid-frozen.component.scss +0 -11
- package/src/app/examples/grid-frozen.component.ts +0 -303
- package/src/app/examples/grid-graphql-nopage.component.html +0 -33
- package/src/app/examples/grid-graphql-nopage.component.scss +0 -9
- package/src/app/examples/grid-graphql-nopage.component.ts +0 -242
- package/src/app/examples/grid-graphql.component.html +0 -87
- package/src/app/examples/grid-graphql.component.ts +0 -304
- package/src/app/examples/grid-grouping.component.html +0 -80
- package/src/app/examples/grid-grouping.component.ts +0 -313
- package/src/app/examples/grid-headerbutton.component.html +0 -31
- package/src/app/examples/grid-headerbutton.component.scss +0 -10
- package/src/app/examples/grid-headerbutton.component.ts +0 -233
- package/src/app/examples/grid-headermenu.component.html +0 -31
- package/src/app/examples/grid-headermenu.component.scss +0 -25
- package/src/app/examples/grid-headermenu.component.ts +0 -159
- package/src/app/examples/grid-localization.component.html +0 -54
- package/src/app/examples/grid-localization.component.ts +0 -293
- package/src/app/examples/grid-menu.component.html +0 -37
- package/src/app/examples/grid-menu.component.scss +0 -28
- package/src/app/examples/grid-menu.component.ts +0 -229
- package/src/app/examples/grid-odata.component.html +0 -116
- package/src/app/examples/grid-odata.component.ts +0 -441
- package/src/app/examples/grid-range.component.html +0 -74
- package/src/app/examples/grid-range.component.ts +0 -291
- package/src/app/examples/grid-remote.component.html +0 -37
- package/src/app/examples/grid-remote.component.ts +0 -153
- package/src/app/examples/grid-resize-by-content.component.html +0 -62
- package/src/app/examples/grid-resize-by-content.component.scss +0 -19
- package/src/app/examples/grid-resize-by-content.component.ts +0 -780
- package/src/app/examples/grid-rowdetail.component.html +0 -35
- package/src/app/examples/grid-rowdetail.component.ts +0 -205
- package/src/app/examples/grid-rowmove.component.html +0 -49
- package/src/app/examples/grid-rowmove.component.ts +0 -234
- package/src/app/examples/grid-rowselection.component.html +0 -76
- package/src/app/examples/grid-rowselection.component.ts +0 -267
- package/src/app/examples/grid-state.component.html +0 -36
- package/src/app/examples/grid-state.component.ts +0 -259
- package/src/app/examples/grid-tabs.component.html +0 -35
- package/src/app/examples/grid-tabs.component.ts +0 -115
- package/src/app/examples/grid-trading.component.html +0 -58
- package/src/app/examples/grid-trading.component.scss +0 -49
- package/src/app/examples/grid-trading.component.ts +0 -319
- package/src/app/examples/grid-tree-data-hierarchical.component.html +0 -79
- package/src/app/examples/grid-tree-data-hierarchical.component.scss +0 -47
- package/src/app/examples/grid-tree-data-hierarchical.component.ts +0 -311
- package/src/app/examples/grid-tree-data-parent-child.component.html +0 -108
- package/src/app/examples/grid-tree-data-parent-child.component.scss +0 -10
- package/src/app/examples/grid-tree-data-parent-child.component.ts +0 -351
- package/src/app/examples/home.component.html +0 -41
- package/src/app/examples/home.component.ts +0 -9
- package/src/app/examples/rowdetail-preload.component.ts +0 -10
- package/src/app/examples/rowdetail-view.component.html +0 -36
- package/src/app/examples/rowdetail-view.component.ts +0 -54
- package/src/app/examples/swt-common-grid-pagination.component.ts +0 -156
- package/src/app/examples/swt-common-grid-test.component.html +0 -30
- package/src/app/examples/swt-common-grid-test.component.ts +0 -219
- package/src/app/examples/swt-common-grid.component.ts +0 -436
- package/src/app/examples/swt-logger.service.ts +0 -165
- package/src/app/modules/angular-slickgrid/components/angular-slickgrid.component.html +0 -4
- package/src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts +0 -1395
- package/src/app/modules/angular-slickgrid/constants.ts +0 -97
- package/src/app/modules/angular-slickgrid/extensions/index.ts +0 -1
- package/src/app/modules/angular-slickgrid/extensions/slickRowDetailView.ts +0 -375
- package/src/app/modules/angular-slickgrid/global-grid-options.ts +0 -245
- package/src/app/modules/angular-slickgrid/index.ts +0 -11
- package/src/app/modules/angular-slickgrid/models/angularComponentOutput.interface.ts +0 -6
- package/src/app/modules/angular-slickgrid/models/angularGridInstance.interface.ts +0 -68
- package/src/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.ts +0 -37
- package/src/app/modules/angular-slickgrid/models/gridOption.interface.ts +0 -12
- package/src/app/modules/angular-slickgrid/models/index.ts +0 -6
- package/src/app/modules/angular-slickgrid/models/rowDetailView.interface.ts +0 -33
- package/src/app/modules/angular-slickgrid/models/slickGrid.interface.ts +0 -7
- package/src/app/modules/angular-slickgrid/modules/angular-slickgrid.module.ts +0 -37
- package/src/app/modules/angular-slickgrid/services/angularUtil.service.ts +0 -48
- package/src/app/modules/angular-slickgrid/services/bsDropdown.service.ts +0 -142
- package/src/app/modules/angular-slickgrid/services/container.service.ts +0 -24
- package/src/app/modules/angular-slickgrid/services/index.ts +0 -5
- package/src/app/modules/angular-slickgrid/services/translater.service.ts +0 -38
- package/src/app/modules/angular-slickgrid/services/utilities.ts +0 -19
- package/src/app/modules/angular-slickgrid/slickgrid-config.ts +0 -10
- package/src/app/slickgrid-custom-variables.scss +0 -10
- package/src/assets/.gitkeep +0 -0
- package/src/assets/data/collection_100_numbers.json +0 -12
- package/src/assets/data/collection_500_numbers.json +0 -52
- package/src/assets/data/countries.json +0 -245
- package/src/assets/data/country_names.json +0 -245
- package/src/assets/data/customers_100.json +0 -102
- package/src/assets/i18n/en.json +0 -90
- package/src/assets/i18n/fr.json +0 -91
- package/src/environments/environment.prod.ts +0 -3
- package/src/environments/environment.ts +0 -8
- package/src/favicon.ico +0 -0
- package/src/index.html +0 -18
- package/src/main.ts +0 -13
- package/src/polyfills.ts +0 -52
- package/src/public_api.ts +0 -1
- package/src/styles.scss +0 -66
- package/src/typings.d.ts +0 -10
- package/tsconfig.app.json +0 -25
- package/tsconfig.json +0 -40
- package/tsconfig.spec.json +0 -23
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Colorette
|
|
2
|
+
|
|
3
|
+
> Easily set the color and style of text in the terminal.
|
|
4
|
+
|
|
5
|
+
- No wonky prototype method-chain API.
|
|
6
|
+
- Automatic color support detection.
|
|
7
|
+
- Up to [2x faster](#benchmarks) than alternatives.
|
|
8
|
+
- [`NO_COLOR`](https://no-color.org) friendly. 👌
|
|
9
|
+
|
|
10
|
+
Here's the first example to get you started.
|
|
11
|
+
|
|
12
|
+
```js
|
|
13
|
+
import { blue, bold, underline } from "colorette"
|
|
14
|
+
|
|
15
|
+
console.log(
|
|
16
|
+
blue("I'm blue"),
|
|
17
|
+
bold(blue("da ba dee")),
|
|
18
|
+
underline(bold(blue("da ba daa")))
|
|
19
|
+
)
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Here's an example using [template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals).
|
|
23
|
+
|
|
24
|
+
```js
|
|
25
|
+
console.log(`
|
|
26
|
+
There's a ${underline(blue("house"))},
|
|
27
|
+
With a ${bold(blue("window"))},
|
|
28
|
+
And a ${blue("corvette")}
|
|
29
|
+
And everything is blue
|
|
30
|
+
`)
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Of course, you can nest styles without breaking existing color sequences.
|
|
34
|
+
|
|
35
|
+
```js
|
|
36
|
+
console.log(bold(`I'm ${blue(`da ba ${underline("dee")} da ba`)} daa`))
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Feeling adventurous? Try the [pipeline operator](https://github.com/tc39/proposal-pipeline-operator).
|
|
40
|
+
|
|
41
|
+
```js
|
|
42
|
+
console.log("Da ba dee da ba daa" |> blue |> bold)
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Installation
|
|
46
|
+
|
|
47
|
+
```console
|
|
48
|
+
npm install colorette
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## API
|
|
52
|
+
|
|
53
|
+
### `<style>(string)`
|
|
54
|
+
|
|
55
|
+
```js
|
|
56
|
+
import { blue } from "colorette"
|
|
57
|
+
|
|
58
|
+
blue("I'm blue") //=> \x1b[34mI'm blue\x1b[39m
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
See [supported styles]().
|
|
62
|
+
|
|
63
|
+
### `options.enabled`
|
|
64
|
+
|
|
65
|
+
Colorette automatically detects if your terminal can display color, but you can toggle color as needed.
|
|
66
|
+
|
|
67
|
+
```js
|
|
68
|
+
import { options } from "colorette"
|
|
69
|
+
|
|
70
|
+
options.enabled = false
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
You can also force the use of color globally by setting `FORCE_COLOR=` or `NO_COLOR=` from the CLI.
|
|
74
|
+
|
|
75
|
+
```console
|
|
76
|
+
$ FORCE_COLOR= node example.js >log
|
|
77
|
+
$ NO_COLOR= node example.js
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Supported styles
|
|
81
|
+
|
|
82
|
+
| Colors | Background Colors | Bright Colors | Bright Background Colors | Modifiers |
|
|
83
|
+
| ------- | ----------------- | ------------- | ------------------------ | ----------------- |
|
|
84
|
+
| black | bgBlack | blackBright | bgBlackBright | dim |
|
|
85
|
+
| red | bgRed | redBright | bgRedBright | **bold** |
|
|
86
|
+
| green | bgGreen | greenBright | bgGreenBright | hidden |
|
|
87
|
+
| yellow | bgYellow | yellowBright | bgYellowBright | _italic_ |
|
|
88
|
+
| blue | bgBlue | blueBright | bgBlueBright | <u>underline</u> |
|
|
89
|
+
| magenta | bgMagenta | magentaBright | bgMagentaBright | ~~strikethrough~~ |
|
|
90
|
+
| cyan | bgCyan | cyanBright | bgCyanBright | reset |
|
|
91
|
+
| white | bgWhite | whiteBright | bgWhiteBright | |
|
|
92
|
+
| gray | | | | |
|
|
93
|
+
|
|
94
|
+
## Benchmarks
|
|
95
|
+
|
|
96
|
+
```console
|
|
97
|
+
npm --prefix bench start
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## License
|
|
101
|
+
|
|
102
|
+
[MIT](LICENSE.md)
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
# colors.js
|
|
2
|
+
[](https://travis-ci.org/Marak/colors.js)
|
|
3
|
+
[](https://www.npmjs.org/package/colors)
|
|
4
|
+
[](https://david-dm.org/Marak/colors.js)
|
|
5
|
+
[](https://david-dm.org/Marak/colors.js#info=devDependencies)
|
|
6
|
+
|
|
7
|
+
Please check out the [roadmap](ROADMAP.md) for upcoming features and releases. Please open Issues to provide feedback, and check the `develop` branch for the latest bleeding-edge updates.
|
|
8
|
+
|
|
9
|
+
## get color and style in your node.js console
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
npm install colors
|
|
16
|
+
|
|
17
|
+
## colors and styles!
|
|
18
|
+
|
|
19
|
+
### text colors
|
|
20
|
+
|
|
21
|
+
- black
|
|
22
|
+
- red
|
|
23
|
+
- green
|
|
24
|
+
- yellow
|
|
25
|
+
- blue
|
|
26
|
+
- magenta
|
|
27
|
+
- cyan
|
|
28
|
+
- white
|
|
29
|
+
- gray
|
|
30
|
+
- grey
|
|
31
|
+
|
|
32
|
+
### bright text colors
|
|
33
|
+
|
|
34
|
+
- brightRed
|
|
35
|
+
- brightGreen
|
|
36
|
+
- brightYellow
|
|
37
|
+
- brightBlue
|
|
38
|
+
- brightMagenta
|
|
39
|
+
- brightCyan
|
|
40
|
+
- brightWhite
|
|
41
|
+
|
|
42
|
+
### background colors
|
|
43
|
+
|
|
44
|
+
- bgBlack
|
|
45
|
+
- bgRed
|
|
46
|
+
- bgGreen
|
|
47
|
+
- bgYellow
|
|
48
|
+
- bgBlue
|
|
49
|
+
- bgMagenta
|
|
50
|
+
- bgCyan
|
|
51
|
+
- bgWhite
|
|
52
|
+
- bgGray
|
|
53
|
+
- bgGrey
|
|
54
|
+
|
|
55
|
+
### bright background colors
|
|
56
|
+
|
|
57
|
+
- bgBrightRed
|
|
58
|
+
- bgBrightGreen
|
|
59
|
+
- bgBrightYellow
|
|
60
|
+
- bgBrightBlue
|
|
61
|
+
- bgBrightMagenta
|
|
62
|
+
- bgBrightCyan
|
|
63
|
+
- bgBrightWhite
|
|
64
|
+
|
|
65
|
+
### styles
|
|
66
|
+
|
|
67
|
+
- reset
|
|
68
|
+
- bold
|
|
69
|
+
- dim
|
|
70
|
+
- italic
|
|
71
|
+
- underline
|
|
72
|
+
- inverse
|
|
73
|
+
- hidden
|
|
74
|
+
- strikethrough
|
|
75
|
+
|
|
76
|
+
### extras
|
|
77
|
+
|
|
78
|
+
- rainbow
|
|
79
|
+
- zebra
|
|
80
|
+
- america
|
|
81
|
+
- trap
|
|
82
|
+
- random
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
## Usage
|
|
86
|
+
|
|
87
|
+
By popular demand, `colors` now ships with two types of usages!
|
|
88
|
+
|
|
89
|
+
The super nifty way
|
|
90
|
+
|
|
91
|
+
```js
|
|
92
|
+
var colors = require('colors');
|
|
93
|
+
|
|
94
|
+
console.log('hello'.green); // outputs green text
|
|
95
|
+
console.log('i like cake and pies'.underline.red) // outputs red underlined text
|
|
96
|
+
console.log('inverse the color'.inverse); // inverses the color
|
|
97
|
+
console.log('OMG Rainbows!'.rainbow); // rainbow
|
|
98
|
+
console.log('Run the trap'.trap); // Drops the bass
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
or a slightly less nifty way which doesn't extend `String.prototype`
|
|
103
|
+
|
|
104
|
+
```js
|
|
105
|
+
var colors = require('colors/safe');
|
|
106
|
+
|
|
107
|
+
console.log(colors.green('hello')); // outputs green text
|
|
108
|
+
console.log(colors.red.underline('i like cake and pies')) // outputs red underlined text
|
|
109
|
+
console.log(colors.inverse('inverse the color')); // inverses the color
|
|
110
|
+
console.log(colors.rainbow('OMG Rainbows!')); // rainbow
|
|
111
|
+
console.log(colors.trap('Run the trap')); // Drops the bass
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
I prefer the first way. Some people seem to be afraid of extending `String.prototype` and prefer the second way.
|
|
116
|
+
|
|
117
|
+
If you are writing good code you will never have an issue with the first approach. If you really don't want to touch `String.prototype`, the second usage will not touch `String` native object.
|
|
118
|
+
|
|
119
|
+
## Enabling/Disabling Colors
|
|
120
|
+
|
|
121
|
+
The package will auto-detect whether your terminal can use colors and enable/disable accordingly. When colors are disabled, the color functions do nothing. You can override this with a command-line flag:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
node myapp.js --no-color
|
|
125
|
+
node myapp.js --color=false
|
|
126
|
+
|
|
127
|
+
node myapp.js --color
|
|
128
|
+
node myapp.js --color=true
|
|
129
|
+
node myapp.js --color=always
|
|
130
|
+
|
|
131
|
+
FORCE_COLOR=1 node myapp.js
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Or in code:
|
|
135
|
+
|
|
136
|
+
```javascript
|
|
137
|
+
var colors = require('colors');
|
|
138
|
+
colors.enable();
|
|
139
|
+
colors.disable();
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Console.log [string substitution](http://nodejs.org/docs/latest/api/console.html#console_console_log_data)
|
|
143
|
+
|
|
144
|
+
```js
|
|
145
|
+
var name = 'Marak';
|
|
146
|
+
console.log(colors.green('Hello %s'), name);
|
|
147
|
+
// outputs -> 'Hello Marak'
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
## Custom themes
|
|
151
|
+
|
|
152
|
+
### Using standard API
|
|
153
|
+
|
|
154
|
+
```js
|
|
155
|
+
|
|
156
|
+
var colors = require('colors');
|
|
157
|
+
|
|
158
|
+
colors.setTheme({
|
|
159
|
+
silly: 'rainbow',
|
|
160
|
+
input: 'grey',
|
|
161
|
+
verbose: 'cyan',
|
|
162
|
+
prompt: 'grey',
|
|
163
|
+
info: 'green',
|
|
164
|
+
data: 'grey',
|
|
165
|
+
help: 'cyan',
|
|
166
|
+
warn: 'yellow',
|
|
167
|
+
debug: 'blue',
|
|
168
|
+
error: 'red'
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
// outputs red text
|
|
172
|
+
console.log("this is an error".error);
|
|
173
|
+
|
|
174
|
+
// outputs yellow text
|
|
175
|
+
console.log("this is a warning".warn);
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### Using string safe API
|
|
179
|
+
|
|
180
|
+
```js
|
|
181
|
+
var colors = require('colors/safe');
|
|
182
|
+
|
|
183
|
+
// set single property
|
|
184
|
+
var error = colors.red;
|
|
185
|
+
error('this is red');
|
|
186
|
+
|
|
187
|
+
// set theme
|
|
188
|
+
colors.setTheme({
|
|
189
|
+
silly: 'rainbow',
|
|
190
|
+
input: 'grey',
|
|
191
|
+
verbose: 'cyan',
|
|
192
|
+
prompt: 'grey',
|
|
193
|
+
info: 'green',
|
|
194
|
+
data: 'grey',
|
|
195
|
+
help: 'cyan',
|
|
196
|
+
warn: 'yellow',
|
|
197
|
+
debug: 'blue',
|
|
198
|
+
error: 'red'
|
|
199
|
+
});
|
|
200
|
+
|
|
201
|
+
// outputs red text
|
|
202
|
+
console.log(colors.error("this is an error"));
|
|
203
|
+
|
|
204
|
+
// outputs yellow text
|
|
205
|
+
console.log(colors.warn("this is a warning"));
|
|
206
|
+
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Combining Colors
|
|
210
|
+
|
|
211
|
+
```javascript
|
|
212
|
+
var colors = require('colors');
|
|
213
|
+
|
|
214
|
+
colors.setTheme({
|
|
215
|
+
custom: ['red', 'underline']
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
console.log('test'.custom);
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
*Protip: There is a secret undocumented style in `colors`. If you find the style you can summon him.*
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# combined-stream
|
|
2
|
+
|
|
3
|
+
A stream that emits multiple other streams one after another.
|
|
4
|
+
|
|
5
|
+
**NB** Currently `combined-stream` works with streams version 1 only. There is ongoing effort to switch this library to streams version 2. Any help is welcome. :) Meanwhile you can explore other libraries that provide streams2 support with more or less compatibility with `combined-stream`.
|
|
6
|
+
|
|
7
|
+
- [combined-stream2](https://www.npmjs.com/package/combined-stream2): A drop-in streams2-compatible replacement for the combined-stream module.
|
|
8
|
+
|
|
9
|
+
- [multistream](https://www.npmjs.com/package/multistream): A stream that emits multiple other streams one after another.
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
``` bash
|
|
14
|
+
npm install combined-stream
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
Here is a simple example that shows how you can use combined-stream to combine
|
|
20
|
+
two files into one:
|
|
21
|
+
|
|
22
|
+
``` javascript
|
|
23
|
+
var CombinedStream = require('combined-stream');
|
|
24
|
+
var fs = require('fs');
|
|
25
|
+
|
|
26
|
+
var combinedStream = CombinedStream.create();
|
|
27
|
+
combinedStream.append(fs.createReadStream('file1.txt'));
|
|
28
|
+
combinedStream.append(fs.createReadStream('file2.txt'));
|
|
29
|
+
|
|
30
|
+
combinedStream.pipe(fs.createWriteStream('combined.txt'));
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
While the example above works great, it will pause all source streams until
|
|
34
|
+
they are needed. If you don't want that to happen, you can set `pauseStreams`
|
|
35
|
+
to `false`:
|
|
36
|
+
|
|
37
|
+
``` javascript
|
|
38
|
+
var CombinedStream = require('combined-stream');
|
|
39
|
+
var fs = require('fs');
|
|
40
|
+
|
|
41
|
+
var combinedStream = CombinedStream.create({pauseStreams: false});
|
|
42
|
+
combinedStream.append(fs.createReadStream('file1.txt'));
|
|
43
|
+
combinedStream.append(fs.createReadStream('file2.txt'));
|
|
44
|
+
|
|
45
|
+
combinedStream.pipe(fs.createWriteStream('combined.txt'));
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
However, what if you don't have all the source streams yet, or you don't want
|
|
49
|
+
to allocate the resources (file descriptors, memory, etc.) for them right away?
|
|
50
|
+
Well, in that case you can simply provide a callback that supplies the stream
|
|
51
|
+
by calling a `next()` function:
|
|
52
|
+
|
|
53
|
+
``` javascript
|
|
54
|
+
var CombinedStream = require('combined-stream');
|
|
55
|
+
var fs = require('fs');
|
|
56
|
+
|
|
57
|
+
var combinedStream = CombinedStream.create();
|
|
58
|
+
combinedStream.append(function(next) {
|
|
59
|
+
next(fs.createReadStream('file1.txt'));
|
|
60
|
+
});
|
|
61
|
+
combinedStream.append(function(next) {
|
|
62
|
+
next(fs.createReadStream('file2.txt'));
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
combinedStream.pipe(fs.createWriteStream('combined.txt'));
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## API
|
|
69
|
+
|
|
70
|
+
### CombinedStream.create([options])
|
|
71
|
+
|
|
72
|
+
Returns a new combined stream object. Available options are:
|
|
73
|
+
|
|
74
|
+
* `maxDataSize`
|
|
75
|
+
* `pauseStreams`
|
|
76
|
+
|
|
77
|
+
The effect of those options is described below.
|
|
78
|
+
|
|
79
|
+
### combinedStream.pauseStreams = `true`
|
|
80
|
+
|
|
81
|
+
Whether to apply back pressure to the underlaying streams. If set to `false`,
|
|
82
|
+
the underlaying streams will never be paused. If set to `true`, the
|
|
83
|
+
underlaying streams will be paused right after being appended, as well as when
|
|
84
|
+
`delayedStream.pipe()` wants to throttle.
|
|
85
|
+
|
|
86
|
+
### combinedStream.maxDataSize = `2 * 1024 * 1024`
|
|
87
|
+
|
|
88
|
+
The maximum amount of bytes (or characters) to buffer for all source streams.
|
|
89
|
+
If this value is exceeded, `combinedStream` emits an `'error'` event.
|
|
90
|
+
|
|
91
|
+
### combinedStream.dataSize = `0`
|
|
92
|
+
|
|
93
|
+
The amount of bytes (or characters) currently buffered by `combinedStream`.
|
|
94
|
+
|
|
95
|
+
### combinedStream.append(stream)
|
|
96
|
+
|
|
97
|
+
Appends the given `stream` to the combinedStream object. If `pauseStreams` is
|
|
98
|
+
set to `true, this stream will also be paused right away.
|
|
99
|
+
|
|
100
|
+
`streams` can also be a function that takes one parameter called `next`. `next`
|
|
101
|
+
is a function that must be invoked in order to provide the `next` stream, see
|
|
102
|
+
example above.
|
|
103
|
+
|
|
104
|
+
Regardless of how the `stream` is appended, combined-stream always attaches an
|
|
105
|
+
`'error'` listener to it, so you don't have to do that manually.
|
|
106
|
+
|
|
107
|
+
Special case: `stream` can also be a String or Buffer.
|
|
108
|
+
|
|
109
|
+
### combinedStream.write(data)
|
|
110
|
+
|
|
111
|
+
You should not call this, `combinedStream` takes care of piping the appended
|
|
112
|
+
streams into itself for you.
|
|
113
|
+
|
|
114
|
+
### combinedStream.resume()
|
|
115
|
+
|
|
116
|
+
Causes `combinedStream` to start drain the streams it manages. The function is
|
|
117
|
+
idempotent, and also emits a `'resume'` event each time which usually goes to
|
|
118
|
+
the stream that is currently being drained.
|
|
119
|
+
|
|
120
|
+
### combinedStream.pause();
|
|
121
|
+
|
|
122
|
+
If `combinedStream.pauseStreams` is set to `false`, this does nothing.
|
|
123
|
+
Otherwise a `'pause'` event is emitted, this goes to the stream that is
|
|
124
|
+
currently being drained, so you can use it to apply back pressure.
|
|
125
|
+
|
|
126
|
+
### combinedStream.end();
|
|
127
|
+
|
|
128
|
+
Sets `combinedStream.writable` to false, emits an `'end'` event, and removes
|
|
129
|
+
all streams from the queue.
|
|
130
|
+
|
|
131
|
+
### combinedStream.destroy();
|
|
132
|
+
|
|
133
|
+
Same as `combinedStream.end()`, except it emits a `'close'` event instead of
|
|
134
|
+
`'end'`.
|
|
135
|
+
|
|
136
|
+
## License
|
|
137
|
+
|
|
138
|
+
combined-stream is licensed under the MIT license.
|