angular-slickgrid 9.0.0 → 9.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/{dist/fesm2022 → fesm2022}/angular-slickgrid.mjs +16 -16
- package/package.json +27 -14
- package/.gitbook.yaml +0 -5
- package/CHANGELOG.md +0 -1691
- package/CONTRIBUTING.md +0 -17
- package/angular.json +0 -133
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/clover.xml +0 -1620
- package/coverage/coverage-final.json +0 -9
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +0 -176
- package/coverage/library/components/angular-slickgrid.component.ts.html +0 -5074
- package/coverage/library/components/index.html +0 -116
- package/coverage/library/constants.ts.html +0 -397
- package/coverage/library/extensions/index.html +0 -116
- package/coverage/library/extensions/slickRowDetailView.ts.html +0 -1261
- package/coverage/library/index.html +0 -116
- package/coverage/library/modules/angular-slickgrid.module.ts.html +0 -166
- package/coverage/library/modules/index.html +0 -116
- package/coverage/library/services/angularUtil.service.ts.html +0 -445
- package/coverage/library/services/container.service.ts.html +0 -163
- package/coverage/library/services/index.html +0 -161
- package/coverage/library/services/translater.service.ts.html +0 -199
- package/coverage/library/services/utilities.ts.html +0 -142
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -196
- package/dist/LICENSE +0 -21
- package/dist/README.md +0 -142
- package/docs/README.md +0 -5
- package/docs/TOC.md +0 -105
- package/docs/backend-services/Custom-Backend-Service.md +0 -50
- package/docs/backend-services/GraphQL.md +0 -276
- package/docs/backend-services/OData.md +0 -245
- package/docs/backend-services/graphql/GraphQL-Filtering.md +0 -156
- package/docs/backend-services/graphql/GraphQL-JSON-Result.md +0 -85
- package/docs/backend-services/graphql/GraphQL-Pagination.md +0 -77
- package/docs/backend-services/graphql/GraphQL-Sorting.md +0 -78
- package/docs/column-functionalities/cell-menu.md +0 -212
- package/docs/column-functionalities/editors/autocomplete-editor.md +0 -466
- package/docs/column-functionalities/editors/date-editor-flatpickr.md +0 -71
- package/docs/column-functionalities/editors/date-editor-vanilla-calendar.md +0 -91
- package/docs/column-functionalities/editors/longtext-editor-textarea.md +0 -80
- package/docs/column-functionalities/editors/select-dropdown-editor.md +0 -227
- package/docs/column-functionalities/editors.md +0 -604
- package/docs/column-functionalities/filters/autocomplete-filter.md +0 -183
- package/docs/column-functionalities/filters/compound-filters.md +0 -234
- package/docs/column-functionalities/filters/custom-filter.md +0 -117
- package/docs/column-functionalities/filters/filter-intro.md +0 -81
- package/docs/column-functionalities/filters/input-filter.md +0 -260
- package/docs/column-functionalities/filters/range-filters.md +0 -188
- package/docs/column-functionalities/filters/select-filter.md +0 -695
- package/docs/column-functionalities/filters/single-search-filter.md +0 -77
- package/docs/column-functionalities/filters/styling-filled-filters.md +0 -45
- package/docs/column-functionalities/formatters.md +0 -325
- package/docs/column-functionalities/sorting.md +0 -200
- package/docs/developer-guides/csp-compliance.md +0 -64
- package/docs/events/Available-Events.md +0 -223
- package/docs/events/Grid-&-DataView-Events.md +0 -211
- package/docs/getting-started/quick-start.md +0 -230
- package/docs/getting-started/troubleshooting.md +0 -80
- package/docs/grid-functionalities/Column-Picker.md +0 -22
- package/docs/grid-functionalities/Composite-Editor-Modal.md +0 -627
- package/docs/grid-functionalities/Context-Menu.md +0 -226
- package/docs/grid-functionalities/Custom-Footer.md +0 -80
- package/docs/grid-functionalities/Custom-Tooltip-(plugin).md +0 -258
- package/docs/grid-functionalities/Export-to-Excel.md +0 -457
- package/docs/grid-functionalities/Export-to-Text-File.md +0 -165
- package/docs/grid-functionalities/FAQ.md +0 -53
- package/docs/grid-functionalities/Global-Options.md +0 -29
- package/docs/grid-functionalities/Grid-Auto-Resize.md +0 -218
- package/docs/grid-functionalities/Grid-Menu.md +0 -134
- package/docs/grid-functionalities/Grid-State-&-Preset.md +0 -245
- package/docs/grid-functionalities/Header-Menu-&-Header-Buttons.md +0 -125
- package/docs/grid-functionalities/Resize-by-Cell-Content.md +0 -138
- package/docs/grid-functionalities/Row-Selection.md +0 -247
- package/docs/grid-functionalities/Row-based-edit.md +0 -71
- package/docs/grid-functionalities/add-update-highlight.md +0 -258
- package/docs/grid-functionalities/column-row-spanning.md +0 -74
- package/docs/grid-functionalities/dynamic-item-metadata.md +0 -124
- package/docs/grid-functionalities/excel-copy-buffer.md +0 -145
- package/docs/grid-functionalities/frozen-columns-rows.md +0 -164
- package/docs/grid-functionalities/grouping-and-aggregators.md +0 -269
- package/docs/grid-functionalities/header-footer-slots.md +0 -22
- package/docs/grid-functionalities/infinite-scroll.md +0 -150
- package/docs/grid-functionalities/providing-grid-data.md +0 -61
- package/docs/grid-functionalities/row-detail.md +0 -530
- package/docs/grid-functionalities/tree-data-grid.md +0 -391
- package/docs/localization/Localization---Component-Sample.md +0 -87
- package/docs/localization/Localization-with-Custom-Locales.md +0 -66
- package/docs/localization/Localization-with-ngx-translate.md +0 -148
- package/docs/migrations/migration-to-2.x.md +0 -304
- package/docs/migrations/migration-to-3.x.md +0 -295
- package/docs/migrations/migration-to-4.x.md +0 -83
- package/docs/migrations/migration-to-5.x.md +0 -160
- package/docs/migrations/migration-to-6.x.md +0 -128
- package/docs/migrations/migration-to-7.x.md +0 -294
- package/docs/migrations/migration-to-8.x.md +0 -316
- package/docs/migrations/migration-to-9.x.md +0 -219
- package/docs/slick-grid-dataview-objects/slickgrid-dataview-objects.md +0 -79
- package/docs/styling/dark-mode.md +0 -100
- package/docs/styling/styling.md +0 -250
- package/docs/testing/testing-patterns.md +0 -73
- package/eslint.config.mjs +0 -60
- package/ng-package.json +0 -10
- package/src/assets/angular-logo.png +0 -0
- package/src/assets/angular-logo2.png +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/data/users.csv +0 -5
- package/src/assets/i18n/en.json +0 -102
- package/src/assets/i18n/fr.json +0 -103
- package/src/demos/app-routing.module.ts +0 -108
- package/src/demos/app.component.html +0 -187
- package/src/demos/app.component.scss +0 -79
- package/src/demos/app.component.ts +0 -11
- package/src/demos/app.module.ts +0 -196
- package/src/demos/environments/environment.dev.ts +0 -3
- package/src/demos/environments/environment.prod.ts +0 -3
- package/src/demos/environments/environment.ts +0 -8
- package/src/demos/examples/custom-angularComponentEditor.ts +0 -187
- package/src/demos/examples/custom-angularComponentFilter.ts +0 -123
- package/src/demos/examples/custom-buttonFormatter.component.ts +0 -13
- package/src/demos/examples/custom-inputEditor.ts +0 -132
- package/src/demos/examples/custom-inputFilter.ts +0 -134
- package/src/demos/examples/custom-titleFormatter.component.ts +0 -9
- package/src/demos/examples/data/collection_100_numbers.json +0 -12
- package/src/demos/examples/data/collection_500_numbers.json +0 -52
- package/src/demos/examples/data/countries.json +0 -245
- package/src/demos/examples/data/country_names.json +0 -245
- package/src/demos/examples/data/customers_100.json +0 -102
- package/src/demos/examples/data/users.csv +0 -5
- package/src/demos/examples/editor-ng-select.component.ts +0 -38
- package/src/demos/examples/example01.component.html +0 -48
- package/src/demos/examples/example01.component.ts +0 -109
- package/src/demos/examples/example02.component.html +0 -45
- package/src/demos/examples/example02.component.ts +0 -218
- package/src/demos/examples/example03.component.html +0 -118
- package/src/demos/examples/example03.component.ts +0 -694
- package/src/demos/examples/example04.component.html +0 -87
- package/src/demos/examples/example04.component.ts +0 -326
- package/src/demos/examples/example05.component.html +0 -151
- package/src/demos/examples/example05.component.ts +0 -474
- package/src/demos/examples/example06.component.html +0 -163
- package/src/demos/examples/example06.component.ts +0 -446
- package/src/demos/examples/example07.component.html +0 -56
- package/src/demos/examples/example07.component.scss +0 -10
- package/src/demos/examples/example07.component.ts +0 -216
- package/src/demos/examples/example08.component.html +0 -51
- package/src/demos/examples/example08.component.scss +0 -23
- package/src/demos/examples/example08.component.ts +0 -195
- package/src/demos/examples/example09.component.html +0 -55
- package/src/demos/examples/example09.component.scss +0 -22
- package/src/demos/examples/example09.component.ts +0 -302
- package/src/demos/examples/example10.component.html +0 -103
- package/src/demos/examples/example10.component.ts +0 -309
- package/src/demos/examples/example11.component.html +0 -91
- package/src/demos/examples/example11.component.ts +0 -276
- package/src/demos/examples/example12.component.html +0 -98
- package/src/demos/examples/example12.component.ts +0 -317
- package/src/demos/examples/example13.component.html +0 -96
- package/src/demos/examples/example13.component.ts +0 -370
- package/src/demos/examples/example14.component.html +0 -50
- package/src/demos/examples/example14.component.scss +0 -11
- package/src/demos/examples/example14.component.ts +0 -156
- package/src/demos/examples/example15.component.html +0 -56
- package/src/demos/examples/example15.component.ts +0 -304
- package/src/demos/examples/example16.component.html +0 -77
- package/src/demos/examples/example16.component.ts +0 -277
- package/src/demos/examples/example17.component.html +0 -50
- package/src/demos/examples/example17.component.ts +0 -109
- package/src/demos/examples/example18.component.html +0 -132
- package/src/demos/examples/example18.component.ts +0 -445
- package/src/demos/examples/example19-rowdetail.component.html +0 -40
- package/src/demos/examples/example19-rowdetail.component.ts +0 -54
- package/src/demos/examples/example19.component.html +0 -79
- package/src/demos/examples/example19.component.ts +0 -316
- package/src/demos/examples/example20.component.html +0 -76
- package/src/demos/examples/example20.component.scss +0 -11
- package/src/demos/examples/example20.component.ts +0 -341
- package/src/demos/examples/example21.component.html +0 -86
- package/src/demos/examples/example21.component.scss +0 -16
- package/src/demos/examples/example21.component.ts +0 -140
- package/src/demos/examples/example22.component.html +0 -41
- package/src/demos/examples/example22.component.ts +0 -117
- package/src/demos/examples/example23.component.html +0 -111
- package/src/demos/examples/example23.component.ts +0 -323
- package/src/demos/examples/example24.component.html +0 -120
- package/src/demos/examples/example24.component.scss +0 -62
- package/src/demos/examples/example24.component.ts +0 -641
- package/src/demos/examples/example25.component.html +0 -60
- package/src/demos/examples/example25.component.scss +0 -8
- package/src/demos/examples/example25.component.ts +0 -255
- package/src/demos/examples/example26.component.html +0 -98
- package/src/demos/examples/example26.component.scss +0 -42
- package/src/demos/examples/example26.component.ts +0 -383
- package/src/demos/examples/example27.component.html +0 -138
- package/src/demos/examples/example27.component.scss +0 -10
- package/src/demos/examples/example27.component.ts +0 -369
- package/src/demos/examples/example28.component.html +0 -143
- package/src/demos/examples/example28.component.scss +0 -54
- package/src/demos/examples/example28.component.ts +0 -453
- package/src/demos/examples/example29.component.html +0 -30
- package/src/demos/examples/example29.component.ts +0 -70
- package/src/demos/examples/example30.component.html +0 -116
- package/src/demos/examples/example30.component.scss +0 -20
- package/src/demos/examples/example30.component.ts +0 -1070
- package/src/demos/examples/example32.component.html +0 -77
- package/src/demos/examples/example32.component.scss +0 -8
- package/src/demos/examples/example32.component.ts +0 -905
- package/src/demos/examples/example33.component.html +0 -50
- package/src/demos/examples/example33.component.scss +0 -46
- package/src/demos/examples/example33.component.ts +0 -571
- package/src/demos/examples/example34.component.html +0 -82
- package/src/demos/examples/example34.component.scss +0 -77
- package/src/demos/examples/example34.component.ts +0 -434
- package/src/demos/examples/example35.component.html +0 -77
- package/src/demos/examples/example35.component.scss +0 -18
- package/src/demos/examples/example35.component.ts +0 -264
- package/src/demos/examples/example36.component.html +0 -56
- package/src/demos/examples/example36.component.scss +0 -26
- package/src/demos/examples/example36.component.ts +0 -504
- package/src/demos/examples/example37.component.html +0 -30
- package/src/demos/examples/example37.component.ts +0 -123
- package/src/demos/examples/example38.component.html +0 -104
- package/src/demos/examples/example38.component.scss +0 -8
- package/src/demos/examples/example38.component.ts +0 -420
- package/src/demos/examples/example39.component.html +0 -112
- package/src/demos/examples/example39.component.scss +0 -8
- package/src/demos/examples/example39.component.ts +0 -371
- package/src/demos/examples/example40.component.html +0 -76
- package/src/demos/examples/example40.component.ts +0 -226
- package/src/demos/examples/example41.component.html +0 -50
- package/src/demos/examples/example41.component.scss +0 -42
- package/src/demos/examples/example41.component.ts +0 -229
- package/src/demos/examples/example42.component.html +0 -47
- package/src/demos/examples/example42.component.ts +0 -203
- package/src/demos/examples/example43.component.html +0 -94
- package/src/demos/examples/example43.component.scss +0 -30
- package/src/demos/examples/example43.component.ts +0 -449
- package/src/demos/examples/example44.component.html +0 -78
- package/src/demos/examples/example44.component.scss +0 -50
- package/src/demos/examples/example44.component.ts +0 -375
- package/src/demos/examples/example45-detail.component.html +0 -15
- package/src/demos/examples/example45-detail.component.ts +0 -97
- package/src/demos/examples/example45.component.html +0 -110
- package/src/demos/examples/example45.component.scss +0 -50
- package/src/demos/examples/example45.component.ts +0 -243
- package/src/demos/examples/filter-ng-select.component.ts +0 -33
- package/src/demos/examples/grid-custom-pager.component.html +0 -60
- package/src/demos/examples/grid-custom-pager.component.scss +0 -57
- package/src/demos/examples/grid-custom-pager.component.ts +0 -107
- package/src/demos/examples/grid-remote.component.html +0 -44
- package/src/demos/examples/grid-remote.component.ts +0 -164
- package/src/demos/examples/home.component.html +0 -39
- package/src/demos/examples/home.component.ts +0 -10
- package/src/demos/examples/jsonp.ts +0 -89
- package/src/demos/examples/rowdetail-preload.component.ts +0 -10
- package/src/demos/examples/swt-common-grid-pagination.component.ts +0 -160
- package/src/demos/examples/swt-common-grid-test.component.html +0 -37
- package/src/demos/examples/swt-common-grid-test.component.ts +0 -214
- package/src/demos/examples/swt-common-grid.component.ts +0 -436
- package/src/demos/examples/swt-logger.service.ts +0 -173
- package/src/demos/examples/utilities.ts +0 -9
- package/src/favicon.ico +0 -0
- package/src/index.html +0 -17
- package/src/library/components/__tests__/angular-slickgrid.component.spec.ts +0 -2638
- package/src/library/components/angular-slickgrid.component.html +0 -5
- package/src/library/components/angular-slickgrid.component.ts +0 -1662
- package/src/library/constants.ts +0 -105
- package/src/library/extensions/__tests__/slickRowDetailView.spec.ts +0 -751
- package/src/library/extensions/index.ts +0 -1
- package/src/library/extensions/slickRowDetailView.ts +0 -395
- package/src/library/global-grid-options.ts +0 -273
- package/src/library/index.ts +0 -11
- package/src/library/models/angularComponentOutput.interface.ts +0 -6
- package/src/library/models/angularGridInstance.interface.ts +0 -76
- package/src/library/models/externalTestingDependencies.interface.ts +0 -37
- package/src/library/models/gridOption.interface.ts +0 -15
- package/src/library/models/index.ts +0 -5
- package/src/library/models/rowDetailView.interface.ts +0 -16
- package/src/library/modules/angular-slickgrid.module.spec.ts +0 -25
- package/src/library/modules/angular-slickgrid.module.ts +0 -27
- package/src/library/services/__tests__/angularUtilService.spec.ts +0 -156
- package/src/library/services/__tests__/container.service.spec.ts +0 -25
- package/src/library/services/__tests__/translater.service.spec.ts +0 -43
- package/src/library/services/__tests__/utilities.spec.ts +0 -22
- package/src/library/services/angularUtil.service.ts +0 -120
- package/src/library/services/container.service.ts +0 -26
- package/src/library/services/index.ts +0 -4
- package/src/library/services/translater.service.ts +0 -38
- package/src/library/services/utilities.ts +0 -19
- package/src/library/slickgrid-config.ts +0 -10
- package/src/main.ts +0 -13
- package/src/public_api.ts +0 -1
- package/src/styles.scss +0 -178
- package/test/cypress/e2e/example01.cy.ts +0 -367
- package/test/cypress/e2e/example02.cy.ts +0 -60
- package/test/cypress/e2e/example03.cy.ts +0 -268
- package/test/cypress/e2e/example04.cy.ts +0 -254
- package/test/cypress/e2e/example05.cy.ts +0 -804
- package/test/cypress/e2e/example06.cy.ts +0 -890
- package/test/cypress/e2e/example07.cy.ts +0 -384
- package/test/cypress/e2e/example08.cy.ts +0 -190
- package/test/cypress/e2e/example09.cy.ts +0 -392
- package/test/cypress/e2e/example10.cy.ts +0 -650
- package/test/cypress/e2e/example11.cy.ts +0 -86
- package/test/cypress/e2e/example12.cy.ts +0 -269
- package/test/cypress/e2e/example13.cy.ts +0 -246
- package/test/cypress/e2e/example14.cy.ts +0 -122
- package/test/cypress/e2e/example15.cy.ts +0 -598
- package/test/cypress/e2e/example16.cy.ts +0 -427
- package/test/cypress/e2e/example17.cy.ts +0 -83
- package/test/cypress/e2e/example18.cy.ts +0 -431
- package/test/cypress/e2e/example19.cy.ts +0 -263
- package/test/cypress/e2e/example20.cy.ts +0 -264
- package/test/cypress/e2e/example21.cy.ts +0 -77
- package/test/cypress/e2e/example22.cy.ts +0 -94
- package/test/cypress/e2e/example23.cy.ts +0 -259
- package/test/cypress/e2e/example24.cy.ts +0 -707
- package/test/cypress/e2e/example25.cy.ts +0 -193
- package/test/cypress/e2e/example26.cy.ts +0 -111
- package/test/cypress/e2e/example27.cy.ts +0 -261
- package/test/cypress/e2e/example28.cy.ts +0 -740
- package/test/cypress/e2e/example29.cy.ts +0 -30
- package/test/cypress/e2e/example30.cy.ts +0 -757
- package/test/cypress/e2e/example31.cy.ts +0 -69
- package/test/cypress/e2e/example32.cy.ts +0 -272
- package/test/cypress/e2e/example33.cy.ts +0 -278
- package/test/cypress/e2e/example34.cy.ts +0 -84
- package/test/cypress/e2e/example35.cy.ts +0 -178
- package/test/cypress/e2e/example36.cy.ts +0 -219
- package/test/cypress/e2e/example37.cy.ts +0 -52
- package/test/cypress/e2e/example38.cy.ts +0 -160
- package/test/cypress/e2e/example39.cy.ts +0 -150
- package/test/cypress/e2e/example40.cy.ts +0 -126
- package/test/cypress/e2e/example41.cy.ts +0 -90
- package/test/cypress/e2e/example42.cy.ts +0 -82
- package/test/cypress/e2e/example43.cy.ts +0 -482
- package/test/cypress/e2e/example44.cy.ts +0 -458
- package/test/cypress/e2e/example45.cy.ts +0 -455
- package/test/cypress/e2e/home.cy.ts +0 -7
- package/test/cypress/fixtures/example.json +0 -5
- package/test/cypress/plugins/index.ts +0 -17
- package/test/cypress/plugins/utilities.ts +0 -28
- package/test/cypress/support/commands.ts +0 -88
- package/test/cypress/support/common.ts +0 -47
- package/test/cypress/support/drag.ts +0 -101
- package/test/cypress/support/index.ts +0 -20
- package/test/cypress/tsconfig.json +0 -9
- package/test/cypress.config.ts +0 -34
- package/test/mockSlickEvent.ts +0 -77
- package/test/rxjsResourceStub.ts +0 -69
- package/test/test-setup.ts +0 -6
- package/test/translateServiceStub.ts +0 -230
- package/test/translaterServiceStub.ts +0 -239
- package/test/tsconfig.json +0 -17
- package/test/vitest-global-mocks.ts +0 -41
- package/test/vitest-global-setup.ts +0 -3
- package/test/vitest-pretest.ts +0 -5
- package/tsconfig.app.json +0 -14
- package/tsconfig.json +0 -31
- package/tsconfig.spec.json +0 -11
- package/types/sortablejs.d.ts +0 -4
- package/vite.config.mts +0 -51
- /package/{dist/fesm2022 → fesm2022}/angular-slickgrid.mjs.map +0 -0
- /package/{dist/i18n → i18n}/en.json +0 -0
- /package/{dist/i18n → i18n}/fr.json +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/library → library}/components/angular-slickgrid.component.d.ts +0 -0
- /package/{dist/library → library}/constants.d.ts +0 -0
- /package/{dist/library → library}/extensions/index.d.ts +0 -0
- /package/{dist/library → library}/extensions/slickRowDetailView.d.ts +0 -0
- /package/{dist/library → library}/global-grid-options.d.ts +0 -0
- /package/{dist/library → library}/index.d.ts +0 -0
- /package/{dist/library → library}/models/angularComponentOutput.interface.d.ts +0 -0
- /package/{dist/library → library}/models/angularGridInstance.interface.d.ts +0 -0
- /package/{dist/library → library}/models/externalTestingDependencies.interface.d.ts +0 -0
- /package/{dist/library → library}/models/gridOption.interface.d.ts +0 -0
- /package/{dist/library → library}/models/index.d.ts +0 -0
- /package/{dist/library → library}/models/rowDetailView.interface.d.ts +0 -0
- /package/{dist/library → library}/modules/angular-slickgrid.module.d.ts +0 -0
- /package/{dist/library → library}/services/angularUtil.service.d.ts +0 -0
- /package/{dist/library → library}/services/container.service.d.ts +0 -0
- /package/{dist/library → library}/services/index.d.ts +0 -0
- /package/{dist/library → library}/services/translater.service.d.ts +0 -0
- /package/{dist/library → library}/services/utilities.d.ts +0 -0
- /package/{dist/library → library}/slickgrid-config.d.ts +0 -0
- /package/{dist/public_api.d.ts → public_api.d.ts} +0 -0
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { Routes, RouterModule, provideRouter } from '@angular/router';
|
|
3
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
4
|
-
|
|
5
|
-
import { HomeComponent } from './examples/home.component';
|
|
6
|
-
import { Example1Component } from './examples/example01.component';
|
|
7
|
-
import { Example2Component } from './examples/example02.component';
|
|
8
|
-
import { Example3Component } from './examples/example03.component';
|
|
9
|
-
import { Example4Component } from './examples/example04.component';
|
|
10
|
-
import { Example5Component } from './examples/example05.component';
|
|
11
|
-
import { Example6Component } from './examples/example06.component';
|
|
12
|
-
import { Example7Component } from './examples/example07.component';
|
|
13
|
-
import { Example8Component } from './examples/example08.component';
|
|
14
|
-
import { Example9Component } from './examples/example09.component';
|
|
15
|
-
import { Example10Component } from './examples/example10.component';
|
|
16
|
-
import { Example11Component } from './examples/example11.component';
|
|
17
|
-
import { Example12Component } from './examples/example12.component';
|
|
18
|
-
import { Example13Component } from './examples/example13.component';
|
|
19
|
-
import { Example14Component } from './examples/example14.component';
|
|
20
|
-
import { Example15Component } from './examples/example15.component';
|
|
21
|
-
import { Example16Component } from './examples/example16.component';
|
|
22
|
-
import { Example17Component } from './examples/example17.component';
|
|
23
|
-
import { Example18Component } from './examples/example18.component';
|
|
24
|
-
import { Example19Component } from './examples/example19.component';
|
|
25
|
-
import { Example20Component } from './examples/example20.component';
|
|
26
|
-
import { Example21Component } from './examples/example21.component';
|
|
27
|
-
import { Example22Component } from './examples/example22.component';
|
|
28
|
-
import { Example23Component } from './examples/example23.component';
|
|
29
|
-
import { Example24Component } from './examples/example24.component';
|
|
30
|
-
import { Example25Component } from './examples/example25.component';
|
|
31
|
-
import { Example26Component } from './examples/example26.component';
|
|
32
|
-
import { Example27Component } from './examples/example27.component';
|
|
33
|
-
import { Example28Component } from './examples/example28.component';
|
|
34
|
-
import { Example29Component } from './examples/example29.component';
|
|
35
|
-
import { Example30Component } from './examples/example30.component';
|
|
36
|
-
import { Example32Component } from './examples/example32.component';
|
|
37
|
-
import { Example33Component } from './examples/example33.component';
|
|
38
|
-
import { Example34Component } from './examples/example34.component';
|
|
39
|
-
import { Example35Component } from './examples/example35.component';
|
|
40
|
-
import { Example36Component } from './examples/example36.component';
|
|
41
|
-
import { Example37Component } from './examples/example37.component';
|
|
42
|
-
import { Example38Component } from './examples/example38.component';
|
|
43
|
-
import { Example39Component } from './examples/example39.component';
|
|
44
|
-
import { Example40Component } from './examples/example40.component';
|
|
45
|
-
import { Example41Component } from './examples/example41.component';
|
|
46
|
-
import { Example42Component } from './examples/example42.component';
|
|
47
|
-
import { Example43Component } from './examples/example43.component';
|
|
48
|
-
import { Example44Component } from './examples/example44.component';
|
|
49
|
-
import { Example45Component } from './examples/example45.component';
|
|
50
|
-
import { SwtCommonGridTestComponent } from './examples/swt-common-grid-test.component';
|
|
51
|
-
|
|
52
|
-
const routes: Routes = [
|
|
53
|
-
{ path: 'home', component: HomeComponent },
|
|
54
|
-
{ path: 'example01', component: Example1Component },
|
|
55
|
-
{ path: 'example02', component: Example2Component },
|
|
56
|
-
{ path: 'example03', component: Example3Component },
|
|
57
|
-
{ path: 'example04', component: Example4Component },
|
|
58
|
-
{ path: 'example05', component: Example5Component },
|
|
59
|
-
{ path: 'example06', component: Example6Component },
|
|
60
|
-
{ path: 'example07', component: Example7Component },
|
|
61
|
-
{ path: 'example08', component: Example8Component },
|
|
62
|
-
{ path: 'example09', component: Example9Component },
|
|
63
|
-
{ path: 'example10', component: Example10Component },
|
|
64
|
-
{ path: 'example11', component: Example11Component },
|
|
65
|
-
{ path: 'example12', component: Example12Component },
|
|
66
|
-
{ path: 'example13', component: Example13Component },
|
|
67
|
-
{ path: 'example14', component: Example14Component },
|
|
68
|
-
{ path: 'example15', component: Example15Component },
|
|
69
|
-
{ path: 'example16', component: Example16Component },
|
|
70
|
-
{ path: 'example17', component: Example17Component },
|
|
71
|
-
{ path: 'example18', component: Example18Component },
|
|
72
|
-
{ path: 'example19', component: Example19Component },
|
|
73
|
-
{ path: 'example20', component: Example20Component },
|
|
74
|
-
{ path: 'example21', component: Example21Component },
|
|
75
|
-
{ path: 'example22', component: Example22Component },
|
|
76
|
-
{ path: 'example23', component: Example23Component },
|
|
77
|
-
{ path: 'example24', component: Example24Component },
|
|
78
|
-
{ path: 'example25', component: Example25Component },
|
|
79
|
-
{ path: 'example26', component: Example26Component },
|
|
80
|
-
{ path: 'example27', component: Example27Component },
|
|
81
|
-
{ path: 'example28', component: Example28Component },
|
|
82
|
-
{ path: 'example29', component: Example29Component },
|
|
83
|
-
{ path: 'example30', component: Example30Component },
|
|
84
|
-
{ path: 'example31', component: SwtCommonGridTestComponent },
|
|
85
|
-
{ path: 'example32', component: Example32Component },
|
|
86
|
-
{ path: 'example33', component: Example33Component },
|
|
87
|
-
{ path: 'example34', component: Example34Component },
|
|
88
|
-
{ path: 'example35', component: Example35Component },
|
|
89
|
-
{ path: 'example36', component: Example36Component },
|
|
90
|
-
{ path: 'example37', component: Example37Component },
|
|
91
|
-
{ path: 'example38', component: Example38Component },
|
|
92
|
-
{ path: 'example39', component: Example39Component },
|
|
93
|
-
{ path: 'example40', component: Example40Component },
|
|
94
|
-
{ path: 'example41', component: Example41Component },
|
|
95
|
-
{ path: 'example42', component: Example42Component },
|
|
96
|
-
{ path: 'example43', component: Example43Component },
|
|
97
|
-
{ path: 'example44', component: Example44Component },
|
|
98
|
-
{ path: 'example45', component: Example45Component },
|
|
99
|
-
{ path: '', redirectTo: '/example34', pathMatch: 'full' },
|
|
100
|
-
{ path: '**', redirectTo: '/example34', pathMatch: 'full' },
|
|
101
|
-
];
|
|
102
|
-
|
|
103
|
-
@NgModule({
|
|
104
|
-
imports: [RouterModule.forRoot(routes, { useHash: true }), TranslateModule],
|
|
105
|
-
exports: [RouterModule, TranslateModule],
|
|
106
|
-
providers: [provideRouter(routes)],
|
|
107
|
-
})
|
|
108
|
-
export class AppRoutingRoutingModule {}
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
|
|
2
|
-
<a class="navbar-brand ms-2" href="https://github.com/ghiscoding/Angular-Slickgrid">
|
|
3
|
-
<i class="mdi mdi-github"></i>
|
|
4
|
-
<span>Angular-SlickGrid</span>
|
|
5
|
-
</a>
|
|
6
|
-
<img src="assets/angular-logo.png" class="logo" height="35" alt="image" />
|
|
7
|
-
<button
|
|
8
|
-
class="navbar-toggler"
|
|
9
|
-
type="button"
|
|
10
|
-
data-bs-toggle="collapse"
|
|
11
|
-
data-target="#navbarContent"
|
|
12
|
-
aria-controls="navbarContent"
|
|
13
|
-
aria-expanded="false"
|
|
14
|
-
aria-label="Toggle navigation"
|
|
15
|
-
>
|
|
16
|
-
<span class="navbar-toggler-icon"></span>
|
|
17
|
-
</button>
|
|
18
|
-
<div class="github-button-container">
|
|
19
|
-
<a href="https://github.com/ghiscoding/angular-slickgrid">
|
|
20
|
-
<img src="https://img.shields.io/github/stars/ghiscoding/angular-slickgrid?style=social" alt="github stars" />
|
|
21
|
-
</a>
|
|
22
|
-
</div>
|
|
23
|
-
|
|
24
|
-
<div class="navbar-collapse collapse justify-content-end me-2" id="navbarContent">
|
|
25
|
-
<ul class="navbar-nav mr-auto">
|
|
26
|
-
<li class="nav-item">
|
|
27
|
-
<a class="nav-link" [routerLink]="['/home']"> Home </a>
|
|
28
|
-
</li>
|
|
29
|
-
<li class="nav-item">
|
|
30
|
-
<a class="nav-link" href="https://ghiscoding.gitbook.io/angular-slickgrid/" target="_blank"> Documentation </a>
|
|
31
|
-
</li>
|
|
32
|
-
</ul>
|
|
33
|
-
</div>
|
|
34
|
-
</nav>
|
|
35
|
-
|
|
36
|
-
<div>
|
|
37
|
-
<div class="panel-wm">
|
|
38
|
-
<section id="panel-left" class="panel-wm-left">
|
|
39
|
-
<ul class="well nav nav-pills nav-stacked">
|
|
40
|
-
<li class="nav-item fw-bold nav-docs">
|
|
41
|
-
<a class="nav-link" href="https://ghiscoding.gitbook.io/angular-slickgrid/" target="_blank"> 📘 Documentation </a>
|
|
42
|
-
</li>
|
|
43
|
-
<li class="nav-item">
|
|
44
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example01']">1- Basic Grid / 2 Grids</a>
|
|
45
|
-
</li>
|
|
46
|
-
<li class="nav-item">
|
|
47
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example02']">2- Formatters</a>
|
|
48
|
-
</li>
|
|
49
|
-
<li class="nav-item">
|
|
50
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example03']">3- Editors</a>
|
|
51
|
-
</li>
|
|
52
|
-
<li class="nav-item">
|
|
53
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example04']">4- Client Side Sort/Filter</a>
|
|
54
|
-
</li>
|
|
55
|
-
<li class="nav-item">
|
|
56
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example05']">5- Backend Server with OData</a>
|
|
57
|
-
</li>
|
|
58
|
-
<li class="nav-item">
|
|
59
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example06']">6- Backend Server with GraphQL</a>
|
|
60
|
-
</li>
|
|
61
|
-
<li class="nav-item">
|
|
62
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example07']">7- Header Button Plugin</a>
|
|
63
|
-
</li>
|
|
64
|
-
<li class="nav-item">
|
|
65
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example08']">8- Header Menu Plugin</a>
|
|
66
|
-
</li>
|
|
67
|
-
<li class="nav-item">
|
|
68
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example09']">9- Grid Menu (hamburger menu)</a>
|
|
69
|
-
</li>
|
|
70
|
-
<li class="nav-item">
|
|
71
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example10']">10- Row Selection / 2 Grids</a>
|
|
72
|
-
</li>
|
|
73
|
-
<li class="nav-item">
|
|
74
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example11']">11- Add/Update/Highlight Datagrid Item</a>
|
|
75
|
-
</li>
|
|
76
|
-
<li class="nav-item">
|
|
77
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example12']">12- Localization (i18n)</a>
|
|
78
|
-
</li>
|
|
79
|
-
<li class="nav-item">
|
|
80
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example13']">13- Grouping & Aggregator</a>
|
|
81
|
-
</li>
|
|
82
|
-
<li class="nav-item">
|
|
83
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example14']">14- Column Span</a>
|
|
84
|
-
</li>
|
|
85
|
-
<li class="nav-item">
|
|
86
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example15']">15- Grid State & Local Storage</a>
|
|
87
|
-
</li>
|
|
88
|
-
<li class="nav-item">
|
|
89
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example16']">16- Row Move</a>
|
|
90
|
-
</li>
|
|
91
|
-
<li class="nav-item">
|
|
92
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example17']">17- Create Grid from CSV </a>
|
|
93
|
-
</li>
|
|
94
|
-
<li class="nav-item">
|
|
95
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example18']">18- Draggable Grouping</a>
|
|
96
|
-
</li>
|
|
97
|
-
<li class="nav-item">
|
|
98
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example19']">19- Row Detail View</a>
|
|
99
|
-
</li>
|
|
100
|
-
<li class="nav-item">
|
|
101
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example20']">20- Frozen Columns/Rows</a>
|
|
102
|
-
</li>
|
|
103
|
-
<li class="nav-item">
|
|
104
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example21']">21- Grid AutoHeight (full height)</a>
|
|
105
|
-
</li>
|
|
106
|
-
<li class="nav-item">
|
|
107
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example22']">22- within Bootstrap Tabs</a>
|
|
108
|
-
</li>
|
|
109
|
-
<li class="nav-item">
|
|
110
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example23']">23- Filter by Range of Values</a>
|
|
111
|
-
</li>
|
|
112
|
-
<li class="nav-item">
|
|
113
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example24']">24- Cell & Context Menu</a>
|
|
114
|
-
</li>
|
|
115
|
-
<li class="nav-item">
|
|
116
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example25']"> 25- GraphQL without Pagination </a>
|
|
117
|
-
</li>
|
|
118
|
-
<li class="nav-item">
|
|
119
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example26']">26- Use of Angular Components</a>
|
|
120
|
-
</li>
|
|
121
|
-
<li class="nav-item">
|
|
122
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example27']"> 27- Tree Data (Parent/Child) </a>
|
|
123
|
-
</li>
|
|
124
|
-
<li class="nav-item">
|
|
125
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example28']"> 28- Tree Data (Hierarchical) </a>
|
|
126
|
-
</li>
|
|
127
|
-
<li class="nav-item">
|
|
128
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example29']"> 29- Custom header & footer templates </a>
|
|
129
|
-
</li>
|
|
130
|
-
<li class="nav-item">
|
|
131
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example30']"> 30- Composite Editor Modal </a>
|
|
132
|
-
</li>
|
|
133
|
-
<li class="nav-item">
|
|
134
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example31']">31- Backend Server Custom Paging</a>
|
|
135
|
-
</li>
|
|
136
|
-
<li class="nav-item">
|
|
137
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example32']"> 32- Resize by Cell Content </a>
|
|
138
|
-
</li>
|
|
139
|
-
<li class="nav-item">
|
|
140
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example33']"> 33- Regular & Custom Tooltip </a>
|
|
141
|
-
</li>
|
|
142
|
-
<li class="nav-item">
|
|
143
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example34']"> 34- Real-Time Trading Platform </a>
|
|
144
|
-
</li>
|
|
145
|
-
<li class="nav-item">
|
|
146
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example35']"> 35- Row Based Editing </a>
|
|
147
|
-
</li>
|
|
148
|
-
<li class="nav-item">
|
|
149
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example36']"> 36- Excel Export Formulas </a>
|
|
150
|
-
</li>
|
|
151
|
-
<li class="nav-item">
|
|
152
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example37']"> 37- Footer Totals Row </a>
|
|
153
|
-
</li>
|
|
154
|
-
<li class="nav-item">
|
|
155
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example38']"> 38- Infinite Scroll with OData </a>
|
|
156
|
-
</li>
|
|
157
|
-
<li class="nav-item">
|
|
158
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example39']"> 39- Infinite Scroll with GraphQL </a>
|
|
159
|
-
</li>
|
|
160
|
-
<li class="nav-item">
|
|
161
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example40']"> 40- Infinite Scroll from JSON data </a>
|
|
162
|
-
</li>
|
|
163
|
-
<li class="nav-item">
|
|
164
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example41']"> 41- Drag & Drop </a>
|
|
165
|
-
</li>
|
|
166
|
-
<li class="nav-item">
|
|
167
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example42']">42- Custom Pagination </a>
|
|
168
|
-
</li>
|
|
169
|
-
<li class="nav-item">
|
|
170
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example43']">43- Colspan/Rowspan (timesheets)</a>
|
|
171
|
-
</li>
|
|
172
|
-
<li class="nav-item">
|
|
173
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example44']">44- Colspan/Rowspan (large data)</a>
|
|
174
|
-
</li>
|
|
175
|
-
<li class="nav-item">
|
|
176
|
-
<a class="nav-link" routerLinkActive="active" [routerLink]="['/example45']">45- Row Detail with inner Grid</a>
|
|
177
|
-
</li>
|
|
178
|
-
</ul>
|
|
179
|
-
</section>
|
|
180
|
-
|
|
181
|
-
<section class="panel-wm-content">
|
|
182
|
-
<div id="demo-container">
|
|
183
|
-
<router-outlet></router-outlet>
|
|
184
|
-
</div>
|
|
185
|
-
</section>
|
|
186
|
-
</div>
|
|
187
|
-
</div>
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
$navbar-height: 56px;
|
|
2
|
-
$side-menu-width: 250px;
|
|
3
|
-
|
|
4
|
-
.body-content {
|
|
5
|
-
margin-top: $navbar-height;
|
|
6
|
-
}
|
|
7
|
-
.lightblue {
|
|
8
|
-
color: lightblue;
|
|
9
|
-
}
|
|
10
|
-
.red {
|
|
11
|
-
color: red;
|
|
12
|
-
}
|
|
13
|
-
.faded {
|
|
14
|
-
opacity: 0.7;
|
|
15
|
-
}
|
|
16
|
-
.faded:hover {
|
|
17
|
-
opacity: 1;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
section {
|
|
21
|
-
margin: 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/** Sidebar (left) and Content (right) */
|
|
25
|
-
@media (min-width: 1200px) {
|
|
26
|
-
.panel-wm-content .container {
|
|
27
|
-
width: calc(1170px - #{$side-menu-width});
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.nav-docs {
|
|
32
|
-
background-color: #fff;
|
|
33
|
-
border-bottom: 1px solid #d6d6d6;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.navbar {
|
|
37
|
-
.navbar-brand {
|
|
38
|
-
margin-right: 0px;
|
|
39
|
-
}
|
|
40
|
-
.logo {
|
|
41
|
-
margin: 0 8px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.panel-wm {
|
|
46
|
-
padding: #{$navbar-height} 0 0 0;
|
|
47
|
-
|
|
48
|
-
.nav-stacked {
|
|
49
|
-
padding-bottom: 30px;
|
|
50
|
-
|
|
51
|
-
.nav-item {
|
|
52
|
-
width: 100%;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.nav > li > a {
|
|
57
|
-
padding: 10px 15px;
|
|
58
|
-
border-radius: 0;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.panel-wm-content {
|
|
62
|
-
margin-left: $side-menu-width;
|
|
63
|
-
padding-right: 20px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.panel-wm-left {
|
|
67
|
-
position: fixed;
|
|
68
|
-
z-index: 400;
|
|
69
|
-
transition: left 0.15s;
|
|
70
|
-
top: $navbar-height;
|
|
71
|
-
bottom: 0;
|
|
72
|
-
left: 0;
|
|
73
|
-
background-color: #f5f5f5;
|
|
74
|
-
transform: translate3d(0, 0, 0);
|
|
75
|
-
border-right: 1px solid #d0d0d0;
|
|
76
|
-
overflow-y: auto;
|
|
77
|
-
width: $side-menu-width;
|
|
78
|
-
}
|
|
79
|
-
}
|
package/src/demos/app.module.ts
DELETED
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import { BrowserModule } from '@angular/platform-browser';
|
|
2
|
-
import { FormsModule } from '@angular/forms';
|
|
3
|
-
import { HttpClient, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
|
4
|
-
import { Injector, NgModule, inject, provideAppInitializer } from '@angular/core';
|
|
5
|
-
import { LOCATION_INITIALIZED } from '@angular/common';
|
|
6
|
-
import { NgSelectModule } from '@ng-select/ng-select';
|
|
7
|
-
import { TabsModule } from 'ngx-bootstrap/tabs';
|
|
8
|
-
import { TranslateModule, TranslateLoader, TranslateService } from '@ngx-translate/core';
|
|
9
|
-
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
10
|
-
import DOMPurify from 'dompurify';
|
|
11
|
-
|
|
12
|
-
import { AppComponent } from './app.component';
|
|
13
|
-
import { AppRoutingRoutingModule } from './app-routing.module';
|
|
14
|
-
import { CustomTitleFormatterComponent } from './examples/custom-titleFormatter.component';
|
|
15
|
-
import { CustomButtonFormatterComponent } from './examples/custom-buttonFormatter.component';
|
|
16
|
-
import { Example1Component } from './examples/example01.component';
|
|
17
|
-
import { Example2Component } from './examples/example02.component';
|
|
18
|
-
import { Example3Component } from './examples/example03.component';
|
|
19
|
-
import { Example4Component } from './examples/example04.component';
|
|
20
|
-
import { Example5Component } from './examples/example05.component';
|
|
21
|
-
import { Example6Component } from './examples/example06.component';
|
|
22
|
-
import { Example7Component } from './examples/example07.component';
|
|
23
|
-
import { Example8Component } from './examples/example08.component';
|
|
24
|
-
import { Example9Component } from './examples/example09.component';
|
|
25
|
-
import { Example10Component } from './examples/example10.component';
|
|
26
|
-
import { Example11Component } from './examples/example11.component';
|
|
27
|
-
import { Example12Component } from './examples/example12.component';
|
|
28
|
-
import { Example13Component } from './examples/example13.component';
|
|
29
|
-
import { Example14Component } from './examples/example14.component';
|
|
30
|
-
import { Example15Component } from './examples/example15.component';
|
|
31
|
-
import { Example16Component } from './examples/example16.component';
|
|
32
|
-
import { Example17Component } from './examples/example17.component';
|
|
33
|
-
import { Example18Component } from './examples/example18.component';
|
|
34
|
-
import { Example19Component } from './examples/example19.component';
|
|
35
|
-
import { Example20Component } from './examples/example20.component';
|
|
36
|
-
import { Example21Component } from './examples/example21.component';
|
|
37
|
-
import { Example22Component } from './examples/example22.component';
|
|
38
|
-
import { Example23Component } from './examples/example23.component';
|
|
39
|
-
import { Example24Component } from './examples/example24.component';
|
|
40
|
-
import { Example25Component } from './examples/example25.component';
|
|
41
|
-
import { Example26Component } from './examples/example26.component';
|
|
42
|
-
import { Example27Component } from './examples/example27.component';
|
|
43
|
-
import { Example28Component } from './examples/example28.component';
|
|
44
|
-
import { CustomFooterComponent, Example29Component } from './examples/example29.component';
|
|
45
|
-
import { Example30Component } from './examples/example30.component';
|
|
46
|
-
import { Example32Component } from './examples/example32.component';
|
|
47
|
-
import { Example33Component } from './examples/example33.component';
|
|
48
|
-
import { Example34Component } from './examples/example34.component';
|
|
49
|
-
import { Example35Component } from './examples/example35.component';
|
|
50
|
-
import { Example36Component } from './examples/example36.component';
|
|
51
|
-
import { Example37Component } from './examples/example37.component';
|
|
52
|
-
import { Example38Component } from './examples/example38.component';
|
|
53
|
-
import { Example39Component } from './examples/example39.component';
|
|
54
|
-
import { Example40Component } from './examples/example40.component';
|
|
55
|
-
import { Example41Component } from './examples/example41.component';
|
|
56
|
-
import { Example42Component } from './examples/example42.component';
|
|
57
|
-
import { Example43Component } from './examples/example43.component';
|
|
58
|
-
import { Example44Component } from './examples/example44.component';
|
|
59
|
-
import { Example45Component } from './examples/example45.component';
|
|
60
|
-
import { Example45DetailComponent } from './examples/example45-detail.component';
|
|
61
|
-
import { EditorNgSelectComponent } from './examples/editor-ng-select.component';
|
|
62
|
-
import { FilterNgSelectComponent } from './examples/filter-ng-select.component';
|
|
63
|
-
import { HomeComponent } from './examples/home.component';
|
|
64
|
-
import { CustomPagerComponent } from './examples/grid-custom-pager.component';
|
|
65
|
-
import { Example19RowDetailComponent } from './examples/example19-rowdetail.component';
|
|
66
|
-
import { RowDetailPreloadComponent } from './examples/rowdetail-preload.component';
|
|
67
|
-
|
|
68
|
-
import { SwtCommonGridTestComponent } from './examples/swt-common-grid-test.component';
|
|
69
|
-
import { SwtCommonGridPaginationComponent } from './examples/swt-common-grid-pagination.component';
|
|
70
|
-
import { SwtCommonGridComponent } from './examples/swt-common-grid.component';
|
|
71
|
-
|
|
72
|
-
// import our custom module, library created using this article
|
|
73
|
-
// https://medium.com/@ngl817/building-an-angular-4-component-library-with-the-angular-cli-and-ng-packagr-53b2ade0701e
|
|
74
|
-
import { AngularSlickgridModule } from '../library/modules/angular-slickgrid.module';
|
|
75
|
-
|
|
76
|
-
// AoT requires an exported function for factories
|
|
77
|
-
export function createTranslateLoader(http: HttpClient) {
|
|
78
|
-
return new TranslateHttpLoader(http, './assets/i18n/', '.json');
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// use an Initializer Factory as describe here: https://github.com/ngx-translate/core/issues/517#issuecomment-299637956
|
|
82
|
-
export function appInitializerFactory(translate: TranslateService, injector: Injector) {
|
|
83
|
-
return () =>
|
|
84
|
-
new Promise<any>((resolve: any) => {
|
|
85
|
-
const locationInitialized = injector.get(LOCATION_INITIALIZED, Promise.resolve(null));
|
|
86
|
-
locationInitialized.then(() => {
|
|
87
|
-
const langToSet = 'en';
|
|
88
|
-
translate.setDefaultLang('en');
|
|
89
|
-
translate.use(langToSet).subscribe({
|
|
90
|
-
next: () => {
|
|
91
|
-
// console.info(`Successfully initialized '${langToSet}' language.'`);
|
|
92
|
-
},
|
|
93
|
-
error: () => console.error(`Problem with '${langToSet}' language initialization.'`),
|
|
94
|
-
complete: () => resolve(null),
|
|
95
|
-
});
|
|
96
|
-
});
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// @dynamic
|
|
101
|
-
@NgModule({
|
|
102
|
-
declarations: [
|
|
103
|
-
AppComponent,
|
|
104
|
-
CustomButtonFormatterComponent,
|
|
105
|
-
CustomFooterComponent,
|
|
106
|
-
CustomPagerComponent,
|
|
107
|
-
CustomTitleFormatterComponent,
|
|
108
|
-
EditorNgSelectComponent,
|
|
109
|
-
Example1Component,
|
|
110
|
-
Example2Component,
|
|
111
|
-
Example3Component,
|
|
112
|
-
Example4Component,
|
|
113
|
-
Example5Component,
|
|
114
|
-
Example6Component,
|
|
115
|
-
Example7Component,
|
|
116
|
-
Example8Component,
|
|
117
|
-
Example9Component,
|
|
118
|
-
Example10Component,
|
|
119
|
-
Example11Component,
|
|
120
|
-
Example12Component,
|
|
121
|
-
Example13Component,
|
|
122
|
-
Example14Component,
|
|
123
|
-
Example15Component,
|
|
124
|
-
Example16Component,
|
|
125
|
-
Example17Component,
|
|
126
|
-
Example18Component,
|
|
127
|
-
Example19Component,
|
|
128
|
-
Example19RowDetailComponent,
|
|
129
|
-
Example20Component,
|
|
130
|
-
Example21Component,
|
|
131
|
-
Example22Component,
|
|
132
|
-
Example23Component,
|
|
133
|
-
Example24Component,
|
|
134
|
-
Example25Component,
|
|
135
|
-
Example26Component,
|
|
136
|
-
Example27Component,
|
|
137
|
-
Example28Component,
|
|
138
|
-
Example29Component,
|
|
139
|
-
Example30Component,
|
|
140
|
-
Example32Component,
|
|
141
|
-
Example33Component,
|
|
142
|
-
Example34Component,
|
|
143
|
-
Example35Component,
|
|
144
|
-
Example36Component,
|
|
145
|
-
Example37Component,
|
|
146
|
-
Example38Component,
|
|
147
|
-
Example39Component,
|
|
148
|
-
Example40Component,
|
|
149
|
-
Example41Component,
|
|
150
|
-
Example42Component,
|
|
151
|
-
Example43Component,
|
|
152
|
-
Example44Component,
|
|
153
|
-
Example45Component,
|
|
154
|
-
Example45DetailComponent,
|
|
155
|
-
FilterNgSelectComponent,
|
|
156
|
-
RowDetailPreloadComponent,
|
|
157
|
-
SwtCommonGridTestComponent,
|
|
158
|
-
SwtCommonGridPaginationComponent,
|
|
159
|
-
SwtCommonGridComponent,
|
|
160
|
-
HomeComponent,
|
|
161
|
-
],
|
|
162
|
-
bootstrap: [AppComponent],
|
|
163
|
-
imports: [
|
|
164
|
-
AppRoutingRoutingModule,
|
|
165
|
-
BrowserModule,
|
|
166
|
-
FormsModule,
|
|
167
|
-
NgSelectModule,
|
|
168
|
-
TabsModule.forRoot(),
|
|
169
|
-
TranslateModule.forRoot({
|
|
170
|
-
loader: {
|
|
171
|
-
provide: TranslateLoader,
|
|
172
|
-
useFactory: createTranslateLoader,
|
|
173
|
-
deps: [HttpClient],
|
|
174
|
-
},
|
|
175
|
-
}),
|
|
176
|
-
AngularSlickgridModule.forRoot({
|
|
177
|
-
// add any Global Grid Options/Config you might want
|
|
178
|
-
// to avoid passing the same options over and over in each grids of your App
|
|
179
|
-
enableAutoResize: true,
|
|
180
|
-
autoResize: {
|
|
181
|
-
container: '#demo-container',
|
|
182
|
-
rightPadding: 10,
|
|
183
|
-
},
|
|
184
|
-
// we strongly suggest you add DOMPurify as a sanitizer
|
|
185
|
-
sanitizer: (dirtyHtml) => DOMPurify.sanitize(dirtyHtml, { ADD_ATTR: ['level'], RETURN_TRUSTED_TYPE: true }),
|
|
186
|
-
}),
|
|
187
|
-
],
|
|
188
|
-
providers: [
|
|
189
|
-
provideAppInitializer(() => {
|
|
190
|
-
const initializerFn = appInitializerFactory(inject(TranslateService), inject(Injector));
|
|
191
|
-
return initializerFn();
|
|
192
|
-
}),
|
|
193
|
-
provideHttpClient(withInterceptorsFromDi()),
|
|
194
|
-
],
|
|
195
|
-
})
|
|
196
|
-
export class AppModule {}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// The file contents for the current environment will overwrite these during build.
|
|
2
|
-
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
|
|
3
|
-
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
|
|
4
|
-
// The list of which env maps to which file can be found in `.angular-cli.json`.
|
|
5
|
-
|
|
6
|
-
export const environment = {
|
|
7
|
-
production: false,
|
|
8
|
-
};
|