qms-angular 1.0.68 → 1.0.69

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 (43) hide show
  1. package/README.md +21 -2
  2. package/bundles/qms-angular.umd.js +86 -28
  3. package/bundles/qms-angular.umd.js.map +1 -1
  4. package/esm2015/lib/components/badges/qms-badges.component.js +3 -2
  5. package/esm2015/lib/components/banner/index.js +2 -0
  6. package/esm2015/lib/components/banner/public_api.js +8 -0
  7. package/esm2015/lib/components/banner/qms-banner/qms-banner.component.js +2 -2
  8. package/esm2015/lib/components/button/button.js +5 -5
  9. package/esm2015/lib/components/comment/comment-log.model.js +2 -0
  10. package/esm2015/lib/components/comment/comment.js +6 -2
  11. package/esm2015/lib/components/qms-status-dropdown/index.js +4 -0
  12. package/esm2015/lib/components/qms-status-dropdown/qms-status-dropdown.component.js +33 -0
  13. package/esm2015/lib/components/qms-status-dropdown/qms-status-dropdown.model.js +10 -0
  14. package/esm2015/lib/components/qms-status-dropdown/qms-status-dropdown.module.js +28 -0
  15. package/esm2015/lib/components/related/popup/related-popup.component.js +2 -2
  16. package/esm2015/lib/qms-angular.module.js +1 -4
  17. package/esm2015/public-api.js +4 -9
  18. package/fesm2015/qms-angular.js +78 -28
  19. package/fesm2015/qms-angular.js.map +1 -1
  20. package/lib/components/badges/qms-badges.component.d.ts +1 -1
  21. package/lib/components/banner/index.d.ts +1 -0
  22. package/lib/components/banner/public_api.d.ts +7 -0
  23. package/lib/components/banner/qms-banner/qms-banner.component.d.ts +2 -2
  24. package/lib/components/button/button.d.ts +1 -1
  25. package/lib/components/comment/comment-log.model.d.ts +10 -0
  26. package/lib/components/comment/comment.d.ts +5 -11
  27. package/lib/components/qms-status-dropdown/index.d.ts +3 -0
  28. package/lib/components/qms-status-dropdown/qms-status-dropdown.component.d.ts +10 -0
  29. package/lib/components/qms-status-dropdown/qms-status-dropdown.model.d.ts +10 -0
  30. package/lib/components/qms-status-dropdown/qms-status-dropdown.module.d.ts +2 -0
  31. package/lib.theme.scss +1 -0
  32. package/package.json +1 -1
  33. package/public-api.d.ts +3 -8
  34. package/qms-angular.metadata.json +1 -1
  35. package/src/assets/qms-ckeditor-plugin/package-lock.json +9 -12177
  36. package/src/lib/components/qms-status-dropdown/qms-status-dropdown.component.scss +148 -0
  37. package/src/themes/core/_qms-label.scss +32 -0
  38. package/esm2015/lib/components/test-only/test-only.component.js +0 -17
  39. package/lib/components/test-only/test-only.component.d.ts +0 -3
  40. package/src/assets/jointjs/scss/dist/bpmn.css +0 -854
  41. package/src/assets/qms-ckeditor-plugin/src/dist/ckeditor.dev.js +0 -173
  42. package/src/assets/qms-ckeditor-plugin/src/plugins/fullscreen/dist/qmsCKEditorFullscreenPlugin.dev.js +0 -87
  43. package/src/lib/components/test-only/test-only.component.scss +0 -10
@@ -3,7 +3,7 @@ import { BadgeCircleSize, BadgesType } from './models/qms-badges.model';
3
3
  export declare class QmsBadgesComponent implements OnInit {
4
4
  typeBadges: typeof BadgesType;
5
5
  sizeCircleBadges: typeof BadgeCircleSize;
6
- type: BadgesType;
6
+ type: string;
7
7
  color: string;
8
8
  contents: any;
9
9
  size: string;
@@ -0,0 +1 @@
1
+ export * from "./public_api";
@@ -0,0 +1,7 @@
1
+ export * from './qms-banner/qms-banner.module';
2
+ export * from './qms-banner/qms-banner.component';
3
+ export * from './qms-banner-loading/qms-banner-loading.module';
4
+ export * from './qms-banner-loading/qms-banner-loading.component';
5
+ export * from './qms-banner-confirm/qms-banner-confirm.module';
6
+ export * from './qms-banner-confirm/qms-banner-confirm.component';
7
+ export * from './models/qms-banner.model';
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { BannerType, QmsBannerContent } from '../models/qms-banner.model';
2
+ import { QmsBannerContent } from '../models/qms-banner.model';
3
3
  export declare class QmsBannerComponent {
4
- type: BannerType;
4
+ type: string;
5
5
  contents: QmsBannerContent[];
6
6
  icon: string;
7
7
  buttonText: string;
@@ -32,7 +32,7 @@ export declare class QMSButtonIcon extends _QMSButtonMixinBase implements AfterV
32
32
  private _focusMonitor;
33
33
  private renderer;
34
34
  _animationMode: string;
35
- type: string;
35
+ active: string;
36
36
  constructor(elementRef: ElementRef, _focusMonitor: FocusMonitor, renderer: Renderer2, _animationMode: string);
37
37
  focus(origin?: FocusOrigin, options?: FocusOptions): void;
38
38
  _getHostElement(): any;
@@ -0,0 +1,10 @@
1
+ export interface Logs {
2
+ id?: any;
3
+ user?: string;
4
+ date?: any;
5
+ isDraft?: boolean;
6
+ isEdit?: boolean;
7
+ isDelete?: boolean;
8
+ content: string;
9
+ editedContent: string;
10
+ }
@@ -1,13 +1,6 @@
1
1
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
2
2
  import { TranslateLibraryService } from "../../services/translation-registry.service";
3
- export interface Logs {
4
- user: string;
5
- date: any;
6
- isDraft: boolean;
7
- isEdit: boolean;
8
- content: string;
9
- editedContent: string;
10
- }
3
+ import { Logs } from "./comment-log.model";
11
4
  export declare class QMSComment implements OnInit, OnChanges {
12
5
  trans: TranslateLibraryService;
13
6
  sourceLog: Logs[];
@@ -17,7 +10,8 @@ export declare class QMSComment implements OnInit, OnChanges {
17
10
  ngOnChanges(changes: SimpleChanges): void;
18
11
  ngOnInit(): void;
19
12
  showContent(content: any): any;
20
- editContent(item: any): void;
21
- saveEditedContent(item: any): void;
22
- removeItem(item: any): void;
13
+ editContent(item: Logs): void;
14
+ saveEditedContent(item: Logs): void;
15
+ removeItem(item: Logs): void;
16
+ regretItem(item: Logs): void;
23
17
  }
@@ -0,0 +1,3 @@
1
+ export * from "./qms-status-dropdown.module";
2
+ export * from "./qms-status-dropdown.component";
3
+ export * from "./qms-status-dropdown.model";
@@ -0,0 +1,10 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { QmsStatusDropdownOption, QmsStatusDropdownType } from './qms-status-dropdown.model';
3
+ export declare class QmsStatusDropdownComponent {
4
+ options: QmsStatusDropdownOption[];
5
+ value: QmsStatusDropdownType;
6
+ width: string;
7
+ valueChange: EventEmitter<QmsStatusDropdownType>;
8
+ getClassType(type: QmsStatusDropdownType): string;
9
+ onModelChange(): void;
10
+ }
@@ -0,0 +1,10 @@
1
+ export declare enum QmsStatusDropdownType {
2
+ Light = 1,
3
+ Warning = 2,
4
+ Success = 3,
5
+ Danger = 4
6
+ }
7
+ export declare class QmsStatusDropdownOption {
8
+ text: string;
9
+ type: QmsStatusDropdownType;
10
+ }
@@ -0,0 +1,2 @@
1
+ export declare class QmsStatusDropdownModule {
2
+ }
package/lib.theme.scss CHANGED
@@ -22,6 +22,7 @@
22
22
  @import './src/themes/core/side-sheet';
23
23
  @import './src/themes/core/tab';
24
24
  @import './src/themes/core/chip-input';
25
+ @import './src/themes/core/qms-label';
25
26
  @import './src/assets/jointjs/scss/bpmn.scss';
26
27
  @import './src/assets/jointjs/scss/rappid.scss';
27
28
  @import './src/themes/core/app-bar';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qms-angular",
3
- "version": "1.0.68",
3
+ "version": "1.0.69",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
package/public-api.d.ts CHANGED
@@ -3,11 +3,11 @@ export * from './lib/qms-angular.component';
3
3
  export * from './lib/qms-angular.module';
4
4
  export * from './lib/directives/margin.directive';
5
5
  export * from './lib/directives/form.directive';
6
- export * from './lib/components/test-only/test-only.component';
7
6
  export * from './lib/components/button/button.module';
8
7
  export * from './lib/components/button/button';
9
8
  export * from './lib/components/button/color';
10
9
  export * from './lib/components/comment/comment';
10
+ export * from './lib/components/comment/comment-log.model';
11
11
  export * from './lib/directives/search-field.directive';
12
12
  export * from './lib/directives/range-slider/range-slider.directive';
13
13
  export * from './lib/directives/range-slider/range-slider-lockup.directive';
@@ -124,13 +124,8 @@ export * from './lib/components/tooltip/tooltip.module';
124
124
  export * from './lib/directives/tab/tab-label.directive';
125
125
  export * from './lib/directives/tab/tab-group.directive';
126
126
  export * from './lib/directives/tab/tab-group-advanced.directive';
127
- export * from './lib/components/banner/qms-banner/qms-banner.module';
128
- export * from './lib/components/banner/qms-banner/qms-banner.component';
129
- export * from './lib/components/banner/qms-banner-loading/qms-banner-loading.module';
130
- export * from './lib/components/banner/qms-banner-loading/qms-banner-loading.component';
131
- export * from './lib/components/banner/qms-banner-confirm/qms-banner-confirm.module';
132
- export * from './lib/components/banner/qms-banner-confirm/qms-banner-confirm.component';
133
- export * from './lib/components/banner/models/qms-banner.model';
127
+ export * from './lib/components/banner';
128
+ export * from './lib/components/qms-status-dropdown';
134
129
  export * from './lib/components/button/button-toggle';
135
130
  export * from './lib/pipe/dateFormat.pipe';
136
131
  export * from './lib/directives/chip-input/chip-input-field.directive';