@enigmatry/entry-components 16.1.1-preview.3 → 17.0.0-preview

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.
Files changed (100) hide show
  1. package/README.md +1 -0
  2. package/common/common.module.d.ts +3 -1
  3. package/common/date-time/entry-date-time-adapter.d.ts +12 -7
  4. package/common/date-time/entry-date-time-formats.d.ts +25 -0
  5. package/common/date-time/entry-time-adapter.d.ts +9 -0
  6. package/common/date-time/index.d.ts +4 -2
  7. package/common/date-time/native-time-adapter.d.ts +13 -0
  8. package/common/directives/index.d.ts +2 -0
  9. package/common/directives/ng-control-accessor.directive.d.ts +12 -0
  10. package/common/directives/noop-control-value-accessor.d.ts +10 -0
  11. package/date-time-picker/README.md +69 -0
  12. package/date-time-picker/date-time-picker.component.d.ts +35 -0
  13. package/date-time-picker/date-time-picker.module.d.ts +16 -0
  14. package/date-time-picker/index.d.ts +5 -0
  15. package/date-time-picker/public-api.d.ts +2 -0
  16. package/date-time-picker/time-picker.component.d.ts +26 -0
  17. package/esm2022/button/entry-button.directive.mjs +6 -6
  18. package/esm2022/button/entry-button.module.mjs +5 -5
  19. package/esm2022/common/common.module.mjs +15 -7
  20. package/esm2022/common/date-time/entry-date-time-adapter.mjs +33 -15
  21. package/esm2022/common/date-time/entry-date-time-formats.mjs +14 -0
  22. package/esm2022/common/date-time/entry-time-adapter.mjs +10 -0
  23. package/esm2022/common/date-time/index.mjs +5 -3
  24. package/esm2022/common/date-time/native-time-adapter.mjs +31 -0
  25. package/esm2022/common/directives/auto-disable-button.directive.mjs +5 -5
  26. package/esm2022/common/directives/index.mjs +3 -1
  27. package/esm2022/common/directives/ng-control-accessor.directive.mjs +46 -0
  28. package/esm2022/common/directives/noop-control-value-accessor.mjs +32 -0
  29. package/esm2022/common/directives/scroll-to-invalid-control.directive.mjs +6 -6
  30. package/esm2022/common/event-plugins/debounce.plugin.mjs +4 -4
  31. package/esm2022/common/event-plugins/throttle.plugin.mjs +4 -4
  32. package/esm2022/common/interceptors/accept-language.interceptor.mjs +4 -4
  33. package/esm2022/date-time-picker/date-time-picker.component.mjs +126 -0
  34. package/esm2022/date-time-picker/date-time-picker.module.mjs +58 -0
  35. package/esm2022/date-time-picker/enigmatry-entry-components-date-time-picker.mjs +5 -0
  36. package/esm2022/date-time-picker/public-api.mjs +3 -0
  37. package/esm2022/date-time-picker/time-picker.component.mjs +80 -0
  38. package/esm2022/dialog/dialogs/alert/entry-alert-dialog.component.mjs +6 -6
  39. package/esm2022/dialog/dialogs/confirm/entry-confirm-dialog.component.mjs +6 -6
  40. package/esm2022/dialog/dialogs/entry-dialog.component.mjs +6 -6
  41. package/esm2022/dialog/dialogs/error/entry-error-dialog.component.mjs +6 -6
  42. package/esm2022/dialog/entry-dialog.module.mjs +5 -5
  43. package/esm2022/dialog/entry-dialog.service.mjs +6 -6
  44. package/esm2022/file-input/entry-file-input.component.mjs +5 -5
  45. package/esm2022/file-input/entry-file-input.module.mjs +5 -5
  46. package/esm2022/modules/entry-components.module.mjs +5 -5
  47. package/esm2022/permissions/permission.directive.mjs +4 -4
  48. package/esm2022/permissions/permission.guard.mjs +1 -1
  49. package/esm2022/permissions/permission.module.mjs +5 -5
  50. package/esm2022/permissions/permission.pipe.mjs +5 -5
  51. package/esm2022/search-filter/autocomplete/autocomplete-search-filter.component.mjs +5 -5
  52. package/esm2022/search-filter/date/date-search-filter.component.mjs +4 -4
  53. package/esm2022/search-filter/date-time/date-time-search-filter.component.mjs +7 -7
  54. package/esm2022/search-filter/entry-search-filter.component.mjs +6 -6
  55. package/esm2022/search-filter/entry-search-filter.module.mjs +5 -5
  56. package/esm2022/search-filter/search-filter-base.model.mjs +1 -1
  57. package/esm2022/search-filter/select/select-search-filter.component.mjs +6 -6
  58. package/esm2022/search-filter/text/text-search-filter.component.mjs +4 -4
  59. package/esm2022/spinner/entry-spinner/spinner.component.mjs +5 -5
  60. package/esm2022/spinner/spinner-overlay-container.mjs +6 -6
  61. package/esm2022/spinner/spinner.module.mjs +5 -5
  62. package/esm2022/table/components/entry-cell/entry-cell.component.mjs +4 -4
  63. package/esm2022/table/components/entry-cell-context-menu/entry-cell-context-menu.component.mjs +4 -4
  64. package/esm2022/table/components/entry-cell-formatted-value/entry-cell-formatted-value.component.mjs +6 -6
  65. package/esm2022/table/components/entry-table/entry-table.component.mjs +6 -6
  66. package/esm2022/table/entry-table.module.mjs +5 -5
  67. package/esm2022/table/interfaces/paged-query.mjs +1 -1
  68. package/esm2022/validation/entry-display-control-validation.directive.mjs +6 -6
  69. package/esm2022/validation/entry-form-errors.component.mjs +4 -4
  70. package/esm2022/validation/entry-validation.mjs +1 -1
  71. package/esm2022/validation/entry-validation.module.mjs +5 -5
  72. package/fesm2022/enigmatry-entry-components-button.mjs +9 -9
  73. package/fesm2022/enigmatry-entry-components-button.mjs.map +1 -1
  74. package/fesm2022/enigmatry-entry-components-common.mjs +183 -41
  75. package/fesm2022/enigmatry-entry-components-common.mjs.map +1 -1
  76. package/fesm2022/enigmatry-entry-components-date-time-picker.mjs +258 -0
  77. package/fesm2022/enigmatry-entry-components-date-time-picker.mjs.map +1 -0
  78. package/fesm2022/enigmatry-entry-components-dialog.mjs +29 -29
  79. package/fesm2022/enigmatry-entry-components-dialog.mjs.map +1 -1
  80. package/fesm2022/enigmatry-entry-components-file-input.mjs +8 -8
  81. package/fesm2022/enigmatry-entry-components-file-input.mjs.map +1 -1
  82. package/fesm2022/enigmatry-entry-components-permissions.mjs +11 -11
  83. package/fesm2022/enigmatry-entry-components-permissions.mjs.map +1 -1
  84. package/fesm2022/enigmatry-entry-components-search-filter.mjs +30 -30
  85. package/fesm2022/enigmatry-entry-components-search-filter.mjs.map +1 -1
  86. package/fesm2022/enigmatry-entry-components-spinner.mjs +13 -13
  87. package/fesm2022/enigmatry-entry-components-spinner.mjs.map +1 -1
  88. package/fesm2022/enigmatry-entry-components-table.mjs +20 -20
  89. package/fesm2022/enigmatry-entry-components-table.mjs.map +1 -1
  90. package/fesm2022/enigmatry-entry-components-validation.mjs +12 -12
  91. package/fesm2022/enigmatry-entry-components-validation.mjs.map +1 -1
  92. package/fesm2022/enigmatry-entry-components.mjs +4 -4
  93. package/fesm2022/enigmatry-entry-components.mjs.map +1 -1
  94. package/package.json +95 -89
  95. package/styles/partials/core/components/_index.scss +2 -1
  96. package/styles/partials/core/components/date-time-picker/_general.scss +65 -0
  97. package/styles/partials/core/components/forms/_general.scss +0 -4
  98. package/table/components/entry-table/entry-table.component.d.ts +1 -1
  99. package/common/date-time/entry-date-time.d.ts +0 -7
  100. package/esm2022/common/date-time/entry-date-time.mjs +0 -3
@@ -37,8 +37,8 @@ class EntryComponentsModule {
37
37
  providers
38
38
  };
39
39
  }
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EntryComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
41
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: EntryComponentsModule, exports: [EntryButtonModule,
40
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EntryComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
41
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: EntryComponentsModule, exports: [EntryButtonModule,
42
42
  EntryCommonModule,
43
43
  EntryDialogModule,
44
44
  EntryFileInputModule,
@@ -47,7 +47,7 @@ class EntryComponentsModule {
47
47
  EntrySearchFilterModule,
48
48
  EntrySpinnerModule,
49
49
  EntryTableModule] }); }
50
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EntryComponentsModule, imports: [EntryButtonModule,
50
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EntryComponentsModule, imports: [EntryButtonModule,
51
51
  EntryCommonModule,
52
52
  EntryDialogModule,
53
53
  EntryFileInputModule,
@@ -57,7 +57,7 @@ class EntryComponentsModule {
57
57
  EntrySpinnerModule,
58
58
  EntryTableModule] }); }
59
59
  }
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EntryComponentsModule, decorators: [{
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EntryComponentsModule, decorators: [{
61
61
  type: NgModule,
62
62
  args: [{
63
63
  declarations: [],
@@ -1 +1 @@
1
- {"version":3,"file":"enigmatry-entry-components.mjs","sources":["../../../../libs/entry-components/modules/entry-components.module.ts","../../../../libs/entry-components/public-api.ts","../../../../libs/entry-components/enigmatry-entry-components.ts"],"sourcesContent":["import { ModuleWithProviders, NgModule, Provider, Type } from '@angular/core';\r\nimport { EntryButtonModule } from '@enigmatry/entry-components/button';\r\nimport { EntryDialogModule } from '@enigmatry/entry-components/dialog';\r\nimport { EntryPermissionModule, EntryPermissionService } from '@enigmatry/entry-components/permissions';\r\nimport { EntrySearchFilterModule } from '@enigmatry/entry-components/search-filter';\r\nimport { EntryValidationModule } from '@enigmatry/entry-components/validation';\r\nimport { EntryFileInputModule } from '@enigmatry/entry-components/file-input';\r\nimport { EntryTableModule } from '@enigmatry/entry-components/table';\r\nimport { EntryCommonModule, NG_EVENT_PLUGINS } from '@enigmatry/entry-components/common';\r\nimport { EntrySpinnerModule } from '@enigmatry/entry-components/spinner';\r\n\r\ninterface EntryComponentsModuleOptions {\r\n permissionService?: Type<any>;\r\n}\r\n\r\n/**\r\n * Exports all entry components.\r\n *\r\n * Usage\r\n * import EntryComponentsModule in shared.module.ts to have access to all components, directives, pipes.\r\n * import EntryComponentsModule.forRoot() in app.module.ts to register root module providers.\r\n */\r\n@NgModule({\r\n declarations: [],\r\n exports: [\r\n EntryButtonModule,\r\n EntryCommonModule,\r\n EntryDialogModule,\r\n EntryFileInputModule,\r\n EntryValidationModule,\r\n EntryPermissionModule,\r\n EntrySearchFilterModule,\r\n EntrySpinnerModule,\r\n EntryTableModule\r\n ]\r\n})\r\nexport class EntryComponentsModule {\r\n static forRoot(options: EntryComponentsModuleOptions = {}): ModuleWithProviders<EntryComponentsModule> {\r\n\r\n const permissionServiceProvider: Provider[] = options.permissionService\r\n ? [{ provide: EntryPermissionService, useClass: options.permissionService }]\r\n : [];\r\n\r\n const providers: Provider[] = [...permissionServiceProvider, ...NG_EVENT_PLUGINS];\r\n return {\r\n ngModule: EntryComponentsModule,\r\n providers\r\n };\r\n }\r\n}\r\n","\n/*\n * Public API Surface of entry-components\n */\nexport * from '@enigmatry/entry-components/button';\nexport * from '@enigmatry/entry-components/common';\nexport * from '@enigmatry/entry-components/dialog';\nexport * from '@enigmatry/entry-components/file-input';\nexport * from '@enigmatry/entry-components/permissions';\nexport * from '@enigmatry/entry-components/search-filter';\nexport * from '@enigmatry/entry-components/spinner';\nexport * from '@enigmatry/entry-components/validation';\nexport * from '@enigmatry/entry-components/table';\n\nexport { EntryComponentsModule } from './modules/entry-components.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAeA;;;;;;AAMG;MAeU,qBAAqB,CAAA;AAChC,IAAA,OAAO,OAAO,CAAC,OAAA,GAAwC,EAAE,EAAA;AAEvD,QAAA,MAAM,yBAAyB,GAAe,OAAO,CAAC,iBAAiB;AACrE,cAAE,CAAC,EAAE,OAAO,EAAE,sBAAsB,EAAE,QAAQ,EAAE,OAAO,CAAC,iBAAiB,EAAE,CAAC;cAC1E,EAAE,CAAC;QAEP,MAAM,SAAS,GAAe,CAAC,GAAG,yBAAyB,EAAE,GAAG,gBAAgB,CAAC,CAAC;QAClF,OAAO;AACL,YAAA,QAAQ,EAAE,qBAAqB;YAC/B,SAAS;SACV,CAAC;KACH;+GAZU,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAX9B,iBAAiB;YACjB,iBAAiB;YACjB,iBAAiB;YACjB,oBAAoB;YACpB,qBAAqB;YACrB,qBAAqB;YACrB,uBAAuB;YACvB,kBAAkB;YAClB,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGP,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAX9B,iBAAiB;YACjB,iBAAiB;YACjB,iBAAiB;YACjB,oBAAoB;YACpB,qBAAqB;YACrB,qBAAqB;YACrB,uBAAuB;YACvB,kBAAkB;YAClB,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGP,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAdjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE;wBACP,iBAAiB;wBACjB,iBAAiB;wBACjB,iBAAiB;wBACjB,oBAAoB;wBACpB,qBAAqB;wBACrB,qBAAqB;wBACrB,uBAAuB;wBACvB,kBAAkB;wBAClB,gBAAgB;AACjB,qBAAA;AACF,iBAAA,CAAA;;;AClCD;;AAEG;;ACHH;;AAEG;;;;"}
1
+ {"version":3,"file":"enigmatry-entry-components.mjs","sources":["../../../../libs/entry-components/modules/entry-components.module.ts","../../../../libs/entry-components/public-api.ts","../../../../libs/entry-components/enigmatry-entry-components.ts"],"sourcesContent":["import { ModuleWithProviders, NgModule, Provider, Type } from '@angular/core';\r\nimport { EntryButtonModule } from '@enigmatry/entry-components/button';\r\nimport { EntryDialogModule } from '@enigmatry/entry-components/dialog';\r\nimport { EntryPermissionModule, EntryPermissionService } from '@enigmatry/entry-components/permissions';\r\nimport { EntrySearchFilterModule } from '@enigmatry/entry-components/search-filter';\r\nimport { EntryValidationModule } from '@enigmatry/entry-components/validation';\r\nimport { EntryFileInputModule } from '@enigmatry/entry-components/file-input';\r\nimport { EntryTableModule } from '@enigmatry/entry-components/table';\r\nimport { EntryCommonModule, NG_EVENT_PLUGINS } from '@enigmatry/entry-components/common';\r\nimport { EntrySpinnerModule } from '@enigmatry/entry-components/spinner';\r\n\r\ninterface EntryComponentsModuleOptions {\r\n permissionService?: Type<any>;\r\n}\r\n\r\n/**\r\n * Exports all entry components.\r\n *\r\n * Usage\r\n * import EntryComponentsModule in shared.module.ts to have access to all components, directives, pipes.\r\n * import EntryComponentsModule.forRoot() in app.module.ts to register root module providers.\r\n */\r\n@NgModule({\r\n declarations: [],\r\n exports: [\r\n EntryButtonModule,\r\n EntryCommonModule,\r\n EntryDialogModule,\r\n EntryFileInputModule,\r\n EntryValidationModule,\r\n EntryPermissionModule,\r\n EntrySearchFilterModule,\r\n EntrySpinnerModule,\r\n EntryTableModule\r\n ]\r\n})\r\nexport class EntryComponentsModule {\r\n static forRoot(options: EntryComponentsModuleOptions = {}): ModuleWithProviders<EntryComponentsModule> {\r\n\r\n const permissionServiceProvider: Provider[] = options.permissionService\r\n ? [{ provide: EntryPermissionService, useClass: options.permissionService }]\r\n : [];\r\n\r\n const providers: Provider[] = [...permissionServiceProvider, ...NG_EVENT_PLUGINS];\r\n return {\r\n ngModule: EntryComponentsModule,\r\n providers\r\n };\r\n }\r\n}\r\n","\n/*\n * Public API Surface of entry-components\n */\nexport * from '@enigmatry/entry-components/button';\nexport * from '@enigmatry/entry-components/common';\nexport * from '@enigmatry/entry-components/dialog';\nexport * from '@enigmatry/entry-components/file-input';\nexport * from '@enigmatry/entry-components/permissions';\nexport * from '@enigmatry/entry-components/search-filter';\nexport * from '@enigmatry/entry-components/spinner';\nexport * from '@enigmatry/entry-components/validation';\nexport * from '@enigmatry/entry-components/table';\n\nexport { EntryComponentsModule } from './modules/entry-components.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAeA;;;;;;AAMG;MAeU,qBAAqB,CAAA;AAChC,IAAA,OAAO,OAAO,CAAC,OAAA,GAAwC,EAAE,EAAA;AAEvD,QAAA,MAAM,yBAAyB,GAAe,OAAO,CAAC,iBAAiB;AACrE,cAAE,CAAC,EAAE,OAAO,EAAE,sBAAsB,EAAE,QAAQ,EAAE,OAAO,CAAC,iBAAiB,EAAE,CAAC;cAC1E,EAAE,CAAC;QAEP,MAAM,SAAS,GAAe,CAAC,GAAG,yBAAyB,EAAE,GAAG,gBAAgB,CAAC,CAAC;QAClF,OAAO;AACL,YAAA,QAAQ,EAAE,qBAAqB;YAC/B,SAAS;SACV,CAAC;KACH;8GAZU,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAX9B,iBAAiB;YACjB,iBAAiB;YACjB,iBAAiB;YACjB,oBAAoB;YACpB,qBAAqB;YACrB,qBAAqB;YACrB,uBAAuB;YACvB,kBAAkB;YAClB,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGP,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAX9B,iBAAiB;YACjB,iBAAiB;YACjB,iBAAiB;YACjB,oBAAoB;YACpB,qBAAqB;YACrB,qBAAqB;YACrB,uBAAuB;YACvB,kBAAkB;YAClB,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGP,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAdjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE;wBACP,iBAAiB;wBACjB,iBAAiB;wBACjB,iBAAiB;wBACjB,oBAAoB;wBACpB,qBAAqB;wBACrB,qBAAqB;wBACrB,uBAAuB;wBACvB,kBAAkB;wBAClB,gBAAgB;AACjB,qBAAA;AACF,iBAAA,CAAA;;;AClCD;;AAEG;;ACHH;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,96 +1,102 @@
1
1
  {
2
- "name": "@enigmatry/entry-components",
3
- "version": "16.1.1-preview.3",
4
- "author": "Enigmatry",
5
- "description": "Enigmatry entry angular material components",
6
- "homepage": "https://github.com/enigmatry/entry-angular-building-blocks/tree/master/libs/entry-components#readme",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/enigmatry/entry-angular-building-blocks.git"
10
- },
11
- "license": "Apache-2.0",
12
- "peerDependencies": {
13
- "@angular/animations": "^16.0.0",
14
- "@angular/cdk": "^16.0.0",
15
- "@angular/common": "^16.0.0",
16
- "@angular/core": "^16.0.0",
17
- "@angular/material": "^16.0.0",
18
- "@angular/forms": "^16.0.0",
19
- "@angular/platform-browser": "^16.0.0",
20
- "lodash-es": "^4.17.21"
21
- },
22
- "dependencies": {
23
- "tslib": "^2.3.0"
24
- },
25
- "publishConfig": {
26
- "access": "public"
27
- },
28
- "module": "fesm2022/enigmatry-entry-components.mjs",
29
- "typings": "index.d.ts",
30
- "exports": {
31
- "./package.json": {
32
- "default": "./package.json"
2
+ "name": "@enigmatry/entry-components",
3
+ "version": "17.0.0-preview",
4
+ "author": "Enigmatry",
5
+ "description": "Enigmatry entry angular material components",
6
+ "homepage": "https://github.com/enigmatry/entry-angular-building-blocks/tree/master/libs/entry-components#readme",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/enigmatry/entry-angular-building-blocks.git"
33
10
  },
34
- ".": {
35
- "types": "./index.d.ts",
36
- "esm2022": "./esm2022/enigmatry-entry-components.mjs",
37
- "esm": "./esm2022/enigmatry-entry-components.mjs",
38
- "default": "./fesm2022/enigmatry-entry-components.mjs"
11
+ "license": "Apache-2.0",
12
+ "peerDependencies": {
13
+ "@angular/animations": "^17.0.0",
14
+ "@angular/cdk": "^17.0.0",
15
+ "@angular/common": "^17.0.0",
16
+ "@angular/core": "^17.0.0",
17
+ "@angular/material": "^17.0.0",
18
+ "@angular/forms": "^17.0.0",
19
+ "@angular/platform-browser": "^17.0.0",
20
+ "lodash-es": "^4.17.21"
39
21
  },
40
- "./button": {
41
- "types": "./button/index.d.ts",
42
- "esm2022": "./esm2022/button/enigmatry-entry-components-button.mjs",
43
- "esm": "./esm2022/button/enigmatry-entry-components-button.mjs",
44
- "default": "./fesm2022/enigmatry-entry-components-button.mjs"
22
+ "dependencies": {
23
+ "tslib": "^2.6.2"
45
24
  },
46
- "./common": {
47
- "types": "./common/index.d.ts",
48
- "esm2022": "./esm2022/common/enigmatry-entry-components-common.mjs",
49
- "esm": "./esm2022/common/enigmatry-entry-components-common.mjs",
50
- "default": "./fesm2022/enigmatry-entry-components-common.mjs"
25
+ "publishConfig": {
26
+ "access": "public"
51
27
  },
52
- "./dialog": {
53
- "types": "./dialog/index.d.ts",
54
- "esm2022": "./esm2022/dialog/enigmatry-entry-components-dialog.mjs",
55
- "esm": "./esm2022/dialog/enigmatry-entry-components-dialog.mjs",
56
- "default": "./fesm2022/enigmatry-entry-components-dialog.mjs"
28
+ "module": "fesm2022/enigmatry-entry-components.mjs",
29
+ "typings": "index.d.ts",
30
+ "exports": {
31
+ "./package.json": {
32
+ "default": "./package.json"
33
+ },
34
+ ".": {
35
+ "types": "./index.d.ts",
36
+ "esm2022": "./esm2022/enigmatry-entry-components.mjs",
37
+ "esm": "./esm2022/enigmatry-entry-components.mjs",
38
+ "default": "./fesm2022/enigmatry-entry-components.mjs"
39
+ },
40
+ "./button": {
41
+ "types": "./button/index.d.ts",
42
+ "esm2022": "./esm2022/button/enigmatry-entry-components-button.mjs",
43
+ "esm": "./esm2022/button/enigmatry-entry-components-button.mjs",
44
+ "default": "./fesm2022/enigmatry-entry-components-button.mjs"
45
+ },
46
+ "./common": {
47
+ "types": "./common/index.d.ts",
48
+ "esm2022": "./esm2022/common/enigmatry-entry-components-common.mjs",
49
+ "esm": "./esm2022/common/enigmatry-entry-components-common.mjs",
50
+ "default": "./fesm2022/enigmatry-entry-components-common.mjs"
51
+ },
52
+ "./date-time-picker": {
53
+ "types": "./date-time-picker/index.d.ts",
54
+ "esm2022": "./esm2022/date-time-picker/enigmatry-entry-components-date-time-picker.mjs",
55
+ "esm": "./esm2022/date-time-picker/enigmatry-entry-components-date-time-picker.mjs",
56
+ "default": "./fesm2022/enigmatry-entry-components-date-time-picker.mjs"
57
+ },
58
+ "./dialog": {
59
+ "types": "./dialog/index.d.ts",
60
+ "esm2022": "./esm2022/dialog/enigmatry-entry-components-dialog.mjs",
61
+ "esm": "./esm2022/dialog/enigmatry-entry-components-dialog.mjs",
62
+ "default": "./fesm2022/enigmatry-entry-components-dialog.mjs"
63
+ },
64
+ "./file-input": {
65
+ "types": "./file-input/index.d.ts",
66
+ "esm2022": "./esm2022/file-input/enigmatry-entry-components-file-input.mjs",
67
+ "esm": "./esm2022/file-input/enigmatry-entry-components-file-input.mjs",
68
+ "default": "./fesm2022/enigmatry-entry-components-file-input.mjs"
69
+ },
70
+ "./permissions": {
71
+ "types": "./permissions/index.d.ts",
72
+ "esm2022": "./esm2022/permissions/enigmatry-entry-components-permissions.mjs",
73
+ "esm": "./esm2022/permissions/enigmatry-entry-components-permissions.mjs",
74
+ "default": "./fesm2022/enigmatry-entry-components-permissions.mjs"
75
+ },
76
+ "./search-filter": {
77
+ "types": "./search-filter/index.d.ts",
78
+ "esm2022": "./esm2022/search-filter/enigmatry-entry-components-search-filter.mjs",
79
+ "esm": "./esm2022/search-filter/enigmatry-entry-components-search-filter.mjs",
80
+ "default": "./fesm2022/enigmatry-entry-components-search-filter.mjs"
81
+ },
82
+ "./spinner": {
83
+ "types": "./spinner/index.d.ts",
84
+ "esm2022": "./esm2022/spinner/enigmatry-entry-components-spinner.mjs",
85
+ "esm": "./esm2022/spinner/enigmatry-entry-components-spinner.mjs",
86
+ "default": "./fesm2022/enigmatry-entry-components-spinner.mjs"
87
+ },
88
+ "./table": {
89
+ "types": "./table/index.d.ts",
90
+ "esm2022": "./esm2022/table/enigmatry-entry-components-table.mjs",
91
+ "esm": "./esm2022/table/enigmatry-entry-components-table.mjs",
92
+ "default": "./fesm2022/enigmatry-entry-components-table.mjs"
93
+ },
94
+ "./validation": {
95
+ "types": "./validation/index.d.ts",
96
+ "esm2022": "./esm2022/validation/enigmatry-entry-components-validation.mjs",
97
+ "esm": "./esm2022/validation/enigmatry-entry-components-validation.mjs",
98
+ "default": "./fesm2022/enigmatry-entry-components-validation.mjs"
99
+ }
57
100
  },
58
- "./file-input": {
59
- "types": "./file-input/index.d.ts",
60
- "esm2022": "./esm2022/file-input/enigmatry-entry-components-file-input.mjs",
61
- "esm": "./esm2022/file-input/enigmatry-entry-components-file-input.mjs",
62
- "default": "./fesm2022/enigmatry-entry-components-file-input.mjs"
63
- },
64
- "./permissions": {
65
- "types": "./permissions/index.d.ts",
66
- "esm2022": "./esm2022/permissions/enigmatry-entry-components-permissions.mjs",
67
- "esm": "./esm2022/permissions/enigmatry-entry-components-permissions.mjs",
68
- "default": "./fesm2022/enigmatry-entry-components-permissions.mjs"
69
- },
70
- "./search-filter": {
71
- "types": "./search-filter/index.d.ts",
72
- "esm2022": "./esm2022/search-filter/enigmatry-entry-components-search-filter.mjs",
73
- "esm": "./esm2022/search-filter/enigmatry-entry-components-search-filter.mjs",
74
- "default": "./fesm2022/enigmatry-entry-components-search-filter.mjs"
75
- },
76
- "./spinner": {
77
- "types": "./spinner/index.d.ts",
78
- "esm2022": "./esm2022/spinner/enigmatry-entry-components-spinner.mjs",
79
- "esm": "./esm2022/spinner/enigmatry-entry-components-spinner.mjs",
80
- "default": "./fesm2022/enigmatry-entry-components-spinner.mjs"
81
- },
82
- "./table": {
83
- "types": "./table/index.d.ts",
84
- "esm2022": "./esm2022/table/enigmatry-entry-components-table.mjs",
85
- "esm": "./esm2022/table/enigmatry-entry-components-table.mjs",
86
- "default": "./fesm2022/enigmatry-entry-components-table.mjs"
87
- },
88
- "./validation": {
89
- "types": "./validation/index.d.ts",
90
- "esm2022": "./esm2022/validation/enigmatry-entry-components-validation.mjs",
91
- "esm": "./esm2022/validation/enigmatry-entry-components-validation.mjs",
92
- "default": "./fesm2022/enigmatry-entry-components-validation.mjs"
93
- }
94
- },
95
- "sideEffects": false
101
+ "sideEffects": false
96
102
  }
@@ -1,4 +1,5 @@
1
1
  @use 'dialogs/general' as dialogs;
2
2
  @use 'tables/general' as tables;
3
3
  @use 'forms/general' as forms;
4
- @use 'search-filter/general' as search-filter;
4
+ @use 'search-filter/general' as search-filter;
5
+ @use 'date-time-picker/general' as date-time-picker;
@@ -0,0 +1,65 @@
1
+ @use '@angular/material' as mat;
2
+ @use '@enigmatry/scss-foundation/src/modules/display/items';
3
+
4
+ .entry-date-time-picker {
5
+ @include items.fully-align(baseline, space-between, row, nowrap);
6
+
7
+ .hidden, .mat-mdc-text-field-wrapper.mdc-text-field--outlined .hidden.mdc-text-field__input {
8
+ display: none;
9
+ }
10
+ }
11
+
12
+ .mat-datepicker-actions {
13
+ flex-direction: column;
14
+ border-top: 1px solid #D1D1D1;
15
+
16
+ .entry-submit-button {
17
+ align-self: flex-end;
18
+ min-width: 48px;
19
+
20
+ .icon {
21
+ margin: 0;
22
+ }
23
+ }
24
+ }
25
+
26
+ .entry-time-picker {
27
+ @include mat.form-field-density(-3);
28
+ display: flex;
29
+ flex-wrap: nowrap;
30
+ margin-top: 20px;
31
+
32
+ .mat-mdc-form-field {
33
+ flex: 1 1 calc(50% - 15px);
34
+ width: 50px;
35
+ margin-right: 15px;
36
+
37
+ &:last-of-type {
38
+ margin-right: 0;
39
+ }
40
+
41
+ .mdc-text-field {
42
+ padding: {
43
+ right: 0;
44
+ left: 12px;
45
+ }
46
+ }
47
+
48
+ .mat-mdc-select-value-text {
49
+ font-size: 13px;
50
+ }
51
+
52
+ .mdc-text-field--filled:not(.mdc-text-field--disabled) {
53
+ background-color: transparent;
54
+ }
55
+
56
+ &:hover .mat-mdc-form-field-focus-overlay {
57
+ opacity: 0;
58
+ }
59
+ }
60
+
61
+ .time-separator {
62
+ @include items.align-center();
63
+ transform: translate(-7px, -10px);
64
+ }
65
+ }
@@ -21,8 +21,4 @@
21
21
  bottom: 8px;
22
22
  }
23
23
  }
24
- }
25
-
26
- .entry-date-time-picker {
27
- @include items.fully-align(baseline, space-between, row, nowrap);
28
24
  }
@@ -10,7 +10,7 @@ export declare class EntryTableComponent<T> implements OnChanges {
10
10
  private _elementRef;
11
11
  private _changeDetectorRef;
12
12
  className: string;
13
- dataSource: MatTableDataSource<T, import("@angular/material/table").MatTableDataSourcePaginator>;
13
+ dataSource: MatTableDataSource<T, import("@angular/material/paginator").MatPaginator>;
14
14
  displayedColumns: string[];
15
15
  columns: ColumnDef[];
16
16
  private _data;
@@ -1,7 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { MatDateFormats } from '@angular/material/core';
3
- export declare type EntryMatDateTime<D> = {
4
- matDateFormats: MatDateFormats;
5
- compareDate(first: D, second: D): number;
6
- };
7
- export declare const ENTRY_MAT_DATE_TIME: InjectionToken<EntryMatDateTime<any>>;
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export const ENTRY_MAT_DATE_TIME = new InjectionToken('');
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktZGF0ZS10aW1lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9lbnRyeS1jb21wb25lbnRzL2NvbW1vbi9kYXRlLXRpbWUvZW50cnktZGF0ZS10aW1lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFRL0MsTUFBTSxDQUFDLE1BQU0sbUJBQW1CLEdBQUcsSUFBSSxjQUFjLENBQXdCLEVBQUUsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IE1hdERhdGVGb3JtYXRzIH0gZnJvbSAnQGFuZ3VsYXIvbWF0ZXJpYWwvY29yZSc7XG5cbmV4cG9ydCBkZWNsYXJlIHR5cGUgRW50cnlNYXREYXRlVGltZTxEPiA9IHtcbiAgICBtYXREYXRlRm9ybWF0czogTWF0RGF0ZUZvcm1hdHM7XG4gICAgY29tcGFyZURhdGUoZmlyc3Q6IEQsIHNlY29uZDogRCk6IG51bWJlcjtcbn07XG5cbmV4cG9ydCBjb25zdCBFTlRSWV9NQVRfREFURV9USU1FID0gbmV3IEluamVjdGlvblRva2VuPEVudHJ5TWF0RGF0ZVRpbWU8YW55Pj4oJycpO1xuIl19