@pepperi-addons/ngx-lib 0.3.9-beta.7 → 0.3.9

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 (109) hide show
  1. package/bundles/pepperi-addons-ngx-lib-date.umd.js +11 -3
  2. package/bundles/pepperi-addons-ngx-lib-date.umd.js.map +1 -1
  3. package/bundles/pepperi-addons-ngx-lib-draggable-items.umd.js +4 -2
  4. package/bundles/pepperi-addons-ngx-lib-draggable-items.umd.js.map +1 -1
  5. package/bundles/pepperi-addons-ngx-lib-files-uploader.umd.js +14 -3
  6. package/bundles/pepperi-addons-ngx-lib-files-uploader.umd.js.map +1 -1
  7. package/bundles/pepperi-addons-ngx-lib-form.umd.js +17 -8
  8. package/bundles/pepperi-addons-ngx-lib-form.umd.js.map +1 -1
  9. package/bundles/pepperi-addons-ngx-lib-icon.umd.js +40 -14
  10. package/bundles/pepperi-addons-ngx-lib-icon.umd.js.map +1 -1
  11. package/bundles/pepperi-addons-ngx-lib-image.umd.js +14 -8
  12. package/bundles/pepperi-addons-ngx-lib-image.umd.js.map +1 -1
  13. package/bundles/pepperi-addons-ngx-lib-link.umd.js +488 -0
  14. package/bundles/pepperi-addons-ngx-lib-link.umd.js.map +1 -0
  15. package/bundles/pepperi-addons-ngx-lib-list.umd.js +1 -1
  16. package/bundles/pepperi-addons-ngx-lib-profile-data-views-list.umd.js +14 -9
  17. package/bundles/pepperi-addons-ngx-lib-profile-data-views-list.umd.js.map +1 -1
  18. package/bundles/pepperi-addons-ngx-lib-search.umd.js +10 -3
  19. package/bundles/pepperi-addons-ngx-lib-search.umd.js.map +1 -1
  20. package/bundles/pepperi-addons-ngx-lib-select.umd.js +2 -3
  21. package/bundles/pepperi-addons-ngx-lib-select.umd.js.map +1 -1
  22. package/bundles/pepperi-addons-ngx-lib.umd.js +25 -2
  23. package/bundles/pepperi-addons-ngx-lib.umd.js.map +1 -1
  24. package/core/customization/customization.model.d.ts +6 -0
  25. package/date/date.component.d.ts +1 -0
  26. package/date/pepperi-addons-ngx-lib-date.metadata.json +1 -1
  27. package/draggable-items/draggable-items.component.d.ts +2 -0
  28. package/draggable-items/pepperi-addons-ngx-lib-draggable-items.metadata.json +1 -1
  29. package/esm2015/core/common/services/utilities.service.js +4 -2
  30. package/esm2015/core/customization/customization.model.js +18 -2
  31. package/esm2015/date/date.component.js +12 -5
  32. package/esm2015/draggable-items/draggable-items.component.js +5 -3
  33. package/esm2015/files-uploader/files-uploader.component.js +15 -4
  34. package/esm2015/form/field-generator.component.js +2 -2
  35. package/esm2015/form/form.component.js +13 -5
  36. package/esm2015/form/form.module.js +3 -1
  37. package/esm2015/icon/icon-generated-all.model.js +2 -1
  38. package/esm2015/icon/icon-generated.model.js +5 -1
  39. package/esm2015/icon/icon.component.js +7 -20
  40. package/esm2015/icon/icon.module.js +3 -2
  41. package/esm2015/icon/icon.service.js +32 -0
  42. package/esm2015/icon/public-api.js +2 -1
  43. package/esm2015/image/image.component.js +15 -9
  44. package/esm2015/link/link.component.js +391 -0
  45. package/esm2015/link/link.module.js +51 -0
  46. package/esm2015/link/link.pipes.js +15 -0
  47. package/esm2015/link/pepperi-addons-ngx-lib-link.js +6 -0
  48. package/esm2015/link/public-api.js +6 -0
  49. package/esm2015/list/list-total.component.js +1 -1
  50. package/esm2015/profile-data-views-list/profile-data-view/profile-data-view.component.js +6 -2
  51. package/esm2015/profile-data-views-list/profile-data-views-card/profile-data-views-card.component.js +6 -6
  52. package/esm2015/profile-data-views-list/profile-data-views-list.component.js +5 -4
  53. package/esm2015/search/search.component.js +11 -4
  54. package/esm2015/select/select.component.js +3 -4
  55. package/fesm2015/pepperi-addons-ngx-lib-date.js +11 -4
  56. package/fesm2015/pepperi-addons-ngx-lib-date.js.map +1 -1
  57. package/fesm2015/pepperi-addons-ngx-lib-draggable-items.js +4 -2
  58. package/fesm2015/pepperi-addons-ngx-lib-draggable-items.js.map +1 -1
  59. package/fesm2015/pepperi-addons-ngx-lib-files-uploader.js +14 -3
  60. package/fesm2015/pepperi-addons-ngx-lib-files-uploader.js.map +1 -1
  61. package/fesm2015/pepperi-addons-ngx-lib-form.js +15 -5
  62. package/fesm2015/pepperi-addons-ngx-lib-form.js.map +1 -1
  63. package/fesm2015/pepperi-addons-ngx-lib-icon.js +38 -15
  64. package/fesm2015/pepperi-addons-ngx-lib-icon.js.map +1 -1
  65. package/fesm2015/pepperi-addons-ngx-lib-image.js +14 -8
  66. package/fesm2015/pepperi-addons-ngx-lib-image.js.map +1 -1
  67. package/fesm2015/pepperi-addons-ngx-lib-link.js +460 -0
  68. package/fesm2015/pepperi-addons-ngx-lib-link.js.map +1 -0
  69. package/fesm2015/pepperi-addons-ngx-lib-list.js +1 -1
  70. package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.js +14 -9
  71. package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.js.map +1 -1
  72. package/fesm2015/pepperi-addons-ngx-lib-search.js +10 -3
  73. package/fesm2015/pepperi-addons-ngx-lib-search.js.map +1 -1
  74. package/fesm2015/pepperi-addons-ngx-lib-select.js +2 -3
  75. package/fesm2015/pepperi-addons-ngx-lib-select.js.map +1 -1
  76. package/fesm2015/pepperi-addons-ngx-lib.js +21 -3
  77. package/fesm2015/pepperi-addons-ngx-lib.js.map +1 -1
  78. package/files-uploader/files-uploader.component.d.ts +2 -0
  79. package/files-uploader/pepperi-addons-ngx-lib-files-uploader.metadata.json +1 -1
  80. package/form/pepperi-addons-ngx-lib-form.metadata.json +1 -1
  81. package/icon/icon-generated-all.model.d.ts +1 -0
  82. package/icon/icon-generated.model.d.ts +5 -1
  83. package/icon/icon.component.d.ts +3 -6
  84. package/icon/icon.service.d.ts +10 -0
  85. package/icon/pepperi-addons-ngx-lib-icon.metadata.json +1 -1
  86. package/icon/public-api.d.ts +1 -0
  87. package/image/image.component.d.ts +1 -0
  88. package/image/pepperi-addons-ngx-lib-image.metadata.json +1 -1
  89. package/link/link.component.d.ts +136 -0
  90. package/link/link.module.d.ts +5 -0
  91. package/link/link.pipes.d.ts +4 -0
  92. package/link/package.json +14 -0
  93. package/link/pepperi-addons-ngx-lib-link.d.ts +5 -0
  94. package/link/pepperi-addons-ngx-lib-link.metadata.json +1 -0
  95. package/link/public-api.d.ts +2 -0
  96. package/list/pepperi-addons-ngx-lib-list.metadata.json +1 -1
  97. package/package.json +1 -1
  98. package/pepperi-addons-ngx-lib.metadata.json +1 -1
  99. package/profile-data-views-list/pepperi-addons-ngx-lib-profile-data-views-list.metadata.json +1 -1
  100. package/profile-data-views-list/profile-data-view/profile-data-view.component.d.ts +1 -0
  101. package/profile-data-views-list/profile-data-views-list.component.d.ts +1 -1
  102. package/search/pepperi-addons-ngx-lib-search.metadata.json +1 -1
  103. package/search/search.component.d.ts +1 -0
  104. package/src/assets/i18n/en.ngx-lib.json +2 -1
  105. package/src/core/style/abstracts/functions.scss +10 -10
  106. package/src/core/style/abstracts/mixins.scss +96 -96
  107. package/src/core/style/base/base.scss +37 -15
  108. package/src/core/style/base/typography.scss +8 -0
  109. package/theming.scss +0 -15
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"PepSearchModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":21,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":23,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":24,"character":8},{"__symbolic":"reference","module":"@angular/material/core","name":"MatCommonModule","line":26,"character":8},{"__symbolic":"reference","module":"@angular/material/autocomplete","name":"MatAutocompleteModule","line":27,"character":8},{"__symbolic":"reference","module":"@angular/material/button","name":"MatButtonModule","line":28,"character":8},{"__symbolic":"reference","module":"@angular/material/form-field","name":"MatFormFieldModule","line":29,"character":8},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":30,"character":8},{"__symbolic":"reference","module":"@pepperi-addons/ngx-lib","name":"PepNgxLibModule","line":32,"character":8},{"__symbolic":"reference","module":"@pepperi-addons/ngx-lib/icon","name":"PepIconModule","line":33,"character":8},{"__symbolic":"reference","module":"@angular/material/input","name":"MatInputModule","line":34,"character":8}],"exports":[{"__symbolic":"reference","name":"PepSearchComponent"}],"declarations":[{"__symbolic":"reference","name":"PepSearchComponent"}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@pepperi-addons/ngx-lib/icon","name":"PepIconRegistry","line":40,"character":41}]}]}},"PepSearchType":{"__symbolic":"interface"},"PepSearchTriggerType":{"__symbolic":"interface"},"PepSearchStateType":{"__symbolic":"interface"},"PepSearchShrinkType":{"__symbolic":"interface"},"IPepSearchClickEvent":{"__symbolic":"interface"},"IPepSearchAutocompleteChangeEvent":{"__symbolic":"interface"},"IPepSearchStateChangeEvent":{"__symbolic":"interface"},"PepSearchComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":35,"character":1},"arguments":[{"selector":"pep-search","animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":40,"character":8},"arguments":["slideInOut",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":41,"character":12},"arguments":["close",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":43,"character":16},"arguments":[{"width":"0","padding":"0","border":"none"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":49,"character":12},"arguments":["open",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":51,"character":16},"arguments":[{"width":"inherit"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":55,"character":12},"arguments":["close => open",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":55,"character":40},"arguments":["500ms ease-in-out"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":56,"character":12},"arguments":["open => close",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":56,"character":40},"arguments":["500ms ease-in-out"]}]}]]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":58,"character":8},"arguments":["fadeInOut",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":59,"character":12},"arguments":["fadeOut",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":61,"character":16},"arguments":[{"opacity":0,"width":"1px"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":66,"character":12},"arguments":["fadeIn",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":68,"character":16},"arguments":[{"opacity":1,"width":"100%"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":73,"character":12},"arguments":["fadeOut => fadeIn",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":75,"character":16},"arguments":[300,{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":75,"character":29},"arguments":[{"opacity":1,"width":"100%"}]}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":77,"character":12},"arguments":["fadeIn => fadeOut",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":79,"character":16},"arguments":[350,{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":79,"character":29},"arguments":[{"opacity":0,"width":"1px"}]}]}]}]]}],"template":"<!-- <ng-container *ngTemplateOutlet=\"pepTemplate; context: { isFormView: false, hasParent: false }\">\n</ng-container> -->\n<ng-container *ngIf=\"shrink !== 'never'; then shrinkBlock; else staticBlock\"></ng-container>\n<ng-template #shrinkBlock>\n <div pepRtlClass class=\"pep-search-container {{ sizeType }}\" [ngClass]=\"{ 'pep-floating-search': isFloating}\"\n [@fadeInOut]=\"fadeState\">\n <div class=\"pep-search-input\">\n <ng-container *ngIf=\"type === 'auto-complete'\">\n <ng-container *ngTemplateOutlet=\"autoCompleteBlock\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"type === 'regular'\">\n <ng-container *ngTemplateOutlet=\"regularBlock\"></ng-container>\n </ng-container>\n </div>\n </div>\n <button *ngIf=\"isFloating && fadeState !='fadeIn' && showFloatSrcBtn\"\n class=\"pep-button icon-button {{ sizeType }} weak\" mat-button (click)=\"animateSearch()\">\n <mat-icon>\n <pep-icon name=\"system_search\"></pep-icon>\n </mat-icon>\n </button>\n</ng-template>\n<ng-template #staticBlock>\n <div pepRtlClass class=\"pep-search-container {{ sizeType }}\">\n <div class=\"pep-search-input\">\n <ng-container *ngIf=\"type === 'auto-complete'\">\n <ng-container *ngTemplateOutlet=\"autoCompleteBlock\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"type === 'regular'\">\n <ng-container *ngTemplateOutlet=\"regularBlock\"></ng-container>\n </ng-container>\n </div>\n </div>\n</ng-template>\n\n<ng-template #autoCompleteBlock>\n <mat-form-field appearance=\"outline\">\n <!-- (@slideInOut.done)=\"animateSearchDone()\" [@slideInOut]=\"state\" -->\n <input #searchInput class=\"body-sm pep-search-input\" matInput autocomplete=\"off\"\n [ngStyle]=\"{ textAlign: isRtl ? 'right' : 'left' }\" type=\"text\" (keyup.enter)=\"onSearch($event)\" results=\"5\"\n [formControl]=\"searchControl\" placeholder=\"{{ 'SEARCH.HINT' | translate }}...\" [matAutocomplete]=\"auto\" />\n <mat-autocomplete #auto=\"matAutocomplete\" class=\"pep-select\">\n <mat-option *ngFor=\"let value of autoCompleteValues\" [value]=\"value\" (click)=\"triggerSearch()\">\n {{value}}\n </mat-option>\n <mat-option *ngIf=\"autoCompleteValues?.length > autoCompleteTop - 1\" [value]=\"value\"\n (click)=\"triggerSearch()\">{{ 'SEARCH.MORE_RESULTS' | translate }}</mat-option>\n </mat-autocomplete>\n <div matSuffix class=\"flex align-center\">\n <ng-container *ngIf=\"triggerOn === 'click'\">\n <ng-container *ngTemplateOutlet=\"triggerOnClickBlock\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"triggerOn === 'keydown'\">\n <ng-container *ngTemplateOutlet=\"triggerOnKeydownBlock\"></ng-container>\n </ng-container>\n </div>\n </mat-form-field>\n</ng-template>\n\n<ng-template #regularBlock>\n <mat-form-field appearance=\"outline\">\n <input #searchInput class=\"body-sm pep-search-input\" matInput autocomplete=\"off\"\n [ngStyle]=\"{ textAlign: isRtl ? 'right' : 'left' }\" type=\"text\" (keyup.enter)=\"onSearch($event)\"\n [formControl]=\"searchControl\" placeholder=\"{{ 'SEARCH.HINT' | translate }}...\" />\n <div matSuffix class=\"flex align-center\">\n <ng-container *ngIf=\"triggerOn === 'click'\">\n <ng-container *ngTemplateOutlet=\"triggerOnClickBlock\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"triggerOn === 'keydown'\">\n <ng-container *ngTemplateOutlet=\"triggerOnKeydownBlock\"></ng-container>\n </ng-container>\n </div>\n </mat-form-field>\n</ng-template>\n\n<ng-template #triggerOnClickBlock>\n <!-- <ng-container *ngIf=\"(state == 'open' && searchControl.value?.length > 0)\"> -->\n <ng-container *ngIf=\"(state == 'open')\">\n <mat-icon class=\"pep-text-icon pep-pointer\" (click)=\"onClearClicked($event)\">\n <pep-icon name=\"system_close\"></pep-icon>\n </mat-icon>\n <span class=\"pep-text-icon pep-spacing-element pep-v-separator\">|</span>\n </ng-container>\n <mat-icon class=\"pep-text-icon pep-pointer\" (click)=\"onSearchClicked()\">\n <pep-icon name=\"system_search\"></pep-icon>\n </mat-icon>\n</ng-template>\n\n<ng-template #triggerOnKeydownBlock>\n <ng-container *ngIf=\"searchControl.value?.length > 0; then clearBlock; else searchBlock\"></ng-container>\n <ng-template #clearBlock>\n <button class=\"pep-button regular {{ sizeType }}\" mat-button (click)=\"onClearClicked($event)\">\n <mat-icon>\n <pep-icon name=\"system_close\"></pep-icon>\n </mat-icon>\n </button>\n </ng-template>\n <ng-template #searchBlock>\n <mat-icon class=\"pep-text-icon\">\n <pep-icon name=\"system_search\"></pep-icon>\n </mat-icon>\n </ng-template>\n</ng-template>","styles":[".pep-search-container .pep-search-input .mat-form-field{display:inherit}.pep-search-container .pep-search-input .pep-v-separator{padding:.25rem 0;padding:var(--pep-spacing-xs,.25rem) 0;height:100%}.pep-search-container .pep-search-input .pep-text-icon.pep-pointer{cursor:pointer}.pep-search-container.pep-floating-search{display:inline-flex}.pep-search-container.pep-floating-search.pep-is-action-button-visable{width:calc(100% - (.5rem * 2 + 1.5rem));width:calc(100% - (var(--pep-spacing-sm, .5rem) * 2 + var(--pep-spacing-xl, 1.5rem)))}@media (max-width:599px){.pep-search-container ::ng-deep .mat-button-wrapper{max-width:3.125rem}}"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":84,"character":1}}],"members":{"triggerOn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":5}}]}],"autoCompleteTop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":5}}]}],"autoCompleteValues":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":89,"character":5}}]}],"shrink":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":101,"character":5}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":110,"character":5}}]}],"searchControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":5}}]}],"useAsWebComponent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":5}}]}],"sizeType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":145,"character":5}}]}],"search":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":147,"character":5}}]}],"autocompleteChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":149,"character":5}}]}],"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":151,"character":5}}]}],"searchInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":154,"character":5},"arguments":["searchInput"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":167,"character":29},{"__symbolic":"reference","module":"@pepperi-addons/ngx-lib","name":"PepLayoutService","line":168,"character":31}]}],"setIsFloating":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"exportFunctionsOnHostElement":[{"__symbolic":"method"}],"createSearchControlIfNotExist":[{"__symbolic":"method"}],"blur":[{"__symbolic":"method"}],"showFloatingButton":[{"__symbolic":"method"}],"initSearch":[{"__symbolic":"method"}],"onClearClicked":[{"__symbolic":"method"}],"onSearchClicked":[{"__symbolic":"method"}],"onSearch":[{"__symbolic":"method"}],"triggerSearch":[{"__symbolic":"method"}],"animateSearch":[{"__symbolic":"method"}],"animateSearchDone":[{"__symbolic":"method"}],"emitSearchClick":[{"__symbolic":"method"}]}}},"origins":{"PepSearchModule":"./search.module","PepSearchType":"./search.model","PepSearchTriggerType":"./search.model","PepSearchStateType":"./search.model","PepSearchShrinkType":"./search.model","IPepSearchClickEvent":"./search.model","IPepSearchAutocompleteChangeEvent":"./search.model","IPepSearchStateChangeEvent":"./search.model","PepSearchComponent":"./search.component"},"importAs":"@pepperi-addons/ngx-lib/search"}
1
+ {"__symbolic":"module","version":4,"metadata":{"PepSearchModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":21,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":23,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":24,"character":8},{"__symbolic":"reference","module":"@angular/material/core","name":"MatCommonModule","line":26,"character":8},{"__symbolic":"reference","module":"@angular/material/autocomplete","name":"MatAutocompleteModule","line":27,"character":8},{"__symbolic":"reference","module":"@angular/material/button","name":"MatButtonModule","line":28,"character":8},{"__symbolic":"reference","module":"@angular/material/form-field","name":"MatFormFieldModule","line":29,"character":8},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":30,"character":8},{"__symbolic":"reference","module":"@pepperi-addons/ngx-lib","name":"PepNgxLibModule","line":32,"character":8},{"__symbolic":"reference","module":"@pepperi-addons/ngx-lib/icon","name":"PepIconModule","line":33,"character":8},{"__symbolic":"reference","module":"@angular/material/input","name":"MatInputModule","line":34,"character":8}],"exports":[{"__symbolic":"reference","name":"PepSearchComponent"}],"declarations":[{"__symbolic":"reference","name":"PepSearchComponent"}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@pepperi-addons/ngx-lib/icon","name":"PepIconRegistry","line":40,"character":41}]}]}},"PepSearchType":{"__symbolic":"interface"},"PepSearchTriggerType":{"__symbolic":"interface"},"PepSearchStateType":{"__symbolic":"interface"},"PepSearchShrinkType":{"__symbolic":"interface"},"IPepSearchClickEvent":{"__symbolic":"interface"},"IPepSearchAutocompleteChangeEvent":{"__symbolic":"interface"},"IPepSearchStateChangeEvent":{"__symbolic":"interface"},"PepSearchComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":35,"character":1},"arguments":[{"selector":"pep-search","animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":40,"character":8},"arguments":["slideInOut",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":41,"character":12},"arguments":["close",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":43,"character":16},"arguments":[{"width":"0","padding":"0","border":"none"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":49,"character":12},"arguments":["open",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":51,"character":16},"arguments":[{"width":"inherit"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":55,"character":12},"arguments":["close => open",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":55,"character":40},"arguments":["500ms ease-in-out"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":56,"character":12},"arguments":["open => close",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":56,"character":40},"arguments":["500ms ease-in-out"]}]}]]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":58,"character":8},"arguments":["fadeInOut",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":59,"character":12},"arguments":["fadeOut",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":61,"character":16},"arguments":[{"opacity":0,"width":"1px"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":66,"character":12},"arguments":["fadeIn",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":68,"character":16},"arguments":[{"opacity":1,"width":"100%"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":73,"character":12},"arguments":["fadeOut => fadeIn",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":75,"character":16},"arguments":[300,{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":75,"character":29},"arguments":[{"opacity":1,"width":"100%"}]}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":77,"character":12},"arguments":["fadeIn => fadeOut",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":79,"character":16},"arguments":[350,{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":79,"character":29},"arguments":[{"opacity":0,"width":"1px"}]}]}]}]]}],"template":"<!-- <ng-container *ngTemplateOutlet=\"pepTemplate; context: { isFormView: false, hasParent: false }\">\n</ng-container> -->\n<ng-container *ngIf=\"shrink !== 'never'; then shrinkBlock; else staticBlock\"></ng-container>\n<ng-template #shrinkBlock>\n <div pepRtlClass class=\"pep-search-container {{ sizeType }}\" [ngClass]=\"{ 'pep-floating-search': isFloating}\"\n [@fadeInOut]=\"fadeState\">\n <div class=\"pep-search-input\">\n <ng-container *ngIf=\"type === 'auto-complete'\">\n <ng-container *ngTemplateOutlet=\"autoCompleteBlock\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"type === 'regular'\">\n <ng-container *ngTemplateOutlet=\"regularBlock\"></ng-container>\n </ng-container>\n </div>\n </div>\n <button *ngIf=\"isFloating && fadeState !='fadeIn' && showFloatSrcBtn\"\n class=\"pep-button icon-button {{ sizeType }} weak\" mat-button (click)=\"animateSearch()\">\n <mat-icon>\n <pep-icon name=\"system_search\"></pep-icon>\n </mat-icon>\n </button>\n</ng-template>\n<ng-template #staticBlock>\n <div pepRtlClass class=\"pep-search-container {{ sizeType }}\">\n <div class=\"pep-search-input\">\n <ng-container *ngIf=\"type === 'auto-complete'\">\n <ng-container *ngTemplateOutlet=\"autoCompleteBlock\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"type === 'regular'\">\n <ng-container *ngTemplateOutlet=\"regularBlock\"></ng-container>\n </ng-container>\n </div>\n </div>\n</ng-template>\n\n<ng-template #autoCompleteBlock>\n <mat-form-field appearance=\"outline\">\n <!-- (@slideInOut.done)=\"animateSearchDone()\" [@slideInOut]=\"state\" -->\n <input #searchInput class=\"body-sm pep-search-input\" matInput autocomplete=\"off\"\n [ngStyle]=\"{ textAlign: isRtl ? 'right' : 'left' }\" type=\"text\" (keyup.enter)=\"onSearch($event)\" results=\"5\"\n [formControl]=\"searchControl\" placeholder=\"{{ 'SEARCH.HINT' | translate }}...\" [matAutocomplete]=\"auto\" />\n <mat-autocomplete #auto=\"matAutocomplete\" class=\"pep-select\">\n <mat-option *ngFor=\"let value of autoCompleteValues\" [value]=\"value\" (click)=\"triggerSearch()\">\n {{value}}\n </mat-option>\n <mat-option *ngIf=\"autoCompleteValues?.length > autoCompleteTop - 1\" [value]=\"value\"\n (click)=\"triggerSearch()\">{{ 'SEARCH.MORE_RESULTS' | translate }}</mat-option>\n </mat-autocomplete>\n <div matSuffix class=\"flex align-center\">\n <ng-container *ngIf=\"triggerOn === 'click'\">\n <ng-container *ngTemplateOutlet=\"triggerOnClickBlock\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"triggerOn === 'keydown'\">\n <ng-container *ngTemplateOutlet=\"triggerOnKeydownBlock\"></ng-container>\n </ng-container>\n </div>\n </mat-form-field>\n</ng-template>\n\n<ng-template #regularBlock>\n <mat-form-field appearance=\"outline\">\n <input #searchInput class=\"body-sm pep-search-input\" matInput autocomplete=\"off\"\n [ngStyle]=\"{ textAlign: isRtl ? 'right' : 'left' }\" type=\"text\" (keyup.enter)=\"onSearch($event)\"\n [formControl]=\"searchControl\" placeholder=\"{{ 'SEARCH.HINT' | translate }}...\" (focusout)=\"onFocusout()\" />\n <div matSuffix class=\"flex align-center\">\n <ng-container *ngIf=\"triggerOn === 'click'\">\n <ng-container *ngTemplateOutlet=\"triggerOnClickBlock\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"triggerOn === 'keydown'\">\n <ng-container *ngTemplateOutlet=\"triggerOnKeydownBlock\"></ng-container>\n </ng-container>\n </div>\n </mat-form-field>\n</ng-template>\n<ng-template #triggerOnClickBlock>\n <mat-icon class=\"pep-text-icon pep-pointer\"\n [ngClass]=\"{'hide-clear-icon' : state == 'close' || searchControl.value?.length === 0}\"\n (click)=\"onClearClicked($event)\">\n <pep-icon name=\"system_close\"></pep-icon>\n </mat-icon>\n <span class=\"pep-text-icon pep-spacing-element pep-v-separator\"\n [ngClass]=\"{'hide-clear-icon' : state == 'close' || searchControl.value?.length === 0}\">|</span>\n <mat-icon class=\"pep-text-icon pep-pointer\" (click)=\"onSearchClicked()\">\n <pep-icon name=\"system_search\"></pep-icon>\n </mat-icon>\n</ng-template>\n\n<ng-template #triggerOnKeydownBlock>\n <ng-container *ngIf=\"searchControl.value?.length > 0; then clearBlock; else searchBlock\"></ng-container>\n <ng-template #clearBlock>\n <button class=\"pep-button regular {{ sizeType }}\" mat-button (click)=\"onClearClicked($event)\">\n <mat-icon>\n <pep-icon name=\"system_close\"></pep-icon>\n </mat-icon>\n </button>\n </ng-template>\n <ng-template #searchBlock>\n <mat-icon class=\"pep-text-icon\">\n <pep-icon name=\"system_search\"></pep-icon>\n </mat-icon>\n </ng-template>\n</ng-template>","styles":[".pep-search-container .pep-search-input .mat-form-field{display:inherit}.pep-search-container .pep-search-input .pep-v-separator{padding:.25rem 0;padding:var(--pep-spacing-xs,.25rem) 0;height:100%}.pep-search-container .pep-search-input .pep-text-icon.pep-pointer{cursor:pointer}.pep-search-container .pep-search-input .hide-clear-icon{visibility:hidden}.pep-search-container.pep-floating-search{display:inline-flex}.pep-search-container.pep-floating-search.pep-is-action-button-visable{width:calc(100% - (.5rem * 2 + 1.5rem));width:calc(100% - (var(--pep-spacing-sm, .5rem) * 2 + var(--pep-spacing-xl, 1.5rem)))}@media (max-width:599px){.pep-search-container ::ng-deep .mat-button-wrapper{max-width:3.125rem}}"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":84,"character":1}}],"members":{"triggerOn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":5}}]}],"autoCompleteTop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":5}}]}],"autoCompleteValues":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":89,"character":5}}]}],"shrink":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":101,"character":5}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":110,"character":5}}]}],"searchControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":5}}]}],"useAsWebComponent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":5}}]}],"sizeType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":145,"character":5}}]}],"search":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":147,"character":5}}]}],"autocompleteChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":149,"character":5}}]}],"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":151,"character":5}}]}],"searchInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":154,"character":5},"arguments":["searchInput"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":167,"character":29},{"__symbolic":"reference","module":"@pepperi-addons/ngx-lib","name":"PepLayoutService","line":168,"character":31}]}],"setIsFloating":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"exportFunctionsOnHostElement":[{"__symbolic":"method"}],"createSearchControlIfNotExist":[{"__symbolic":"method"}],"blur":[{"__symbolic":"method"}],"showFloatingButton":[{"__symbolic":"method"}],"initSearch":[{"__symbolic":"method"}],"onClearClicked":[{"__symbolic":"method"}],"onSearchClicked":[{"__symbolic":"method"}],"onFocusout":[{"__symbolic":"method"}],"onSearch":[{"__symbolic":"method"}],"triggerSearch":[{"__symbolic":"method"}],"animateSearch":[{"__symbolic":"method"}],"animateSearchDone":[{"__symbolic":"method"}],"emitSearchClick":[{"__symbolic":"method"}]}}},"origins":{"PepSearchModule":"./search.module","PepSearchType":"./search.model","PepSearchTriggerType":"./search.model","PepSearchStateType":"./search.model","PepSearchShrinkType":"./search.model","IPepSearchClickEvent":"./search.model","IPepSearchAutocompleteChangeEvent":"./search.model","IPepSearchStateChangeEvent":"./search.model","PepSearchComponent":"./search.component"},"importAs":"@pepperi-addons/ngx-lib/search"}
@@ -52,6 +52,7 @@ export declare class PepSearchComponent implements OnInit, OnDestroy {
52
52
  initSearch(): void;
53
53
  onClearClicked(event: any): void;
54
54
  onSearchClicked(): void;
55
+ onFocusout(): void;
55
56
  onSearch(event: Event): void;
56
57
  triggerSearch(): void;
57
58
  animateSearch(): void;
@@ -31,7 +31,7 @@
31
31
  "SELECT_PROFILE_DIALOG_TITLE": "Select profile",
32
32
  "SELECT_PROFILE": "Select a profile",
33
33
  "DEFAULT_PROFILE": "(Default profile)",
34
- "NO_FIELDS_ARE_ASSIGN": "No fields are assigned"
34
+ "NO_FIELDS_ASSIGNED": "No fields were assigned"
35
35
  },
36
36
  "RICH_TEXTAREA": {
37
37
  "HINT": "Enter Text"
@@ -103,6 +103,7 @@
103
103
  "DELETE": "Delete",
104
104
  "DONE": "Done",
105
105
  "OK": "Ok",
106
+ "REMOVE": "Remove",
106
107
  "SAVE": "Save"
107
108
  },
108
109
  "LIST": {
@@ -351,29 +351,29 @@
351
351
 
352
352
  /// Gets color from pep theme
353
353
  /// @param {Map} $pepperi-theme - the pep theme map
354
- /// @param {String} $color-map - the colors map
354
+ /// @param {String} $color-map-key - the colors map key
355
355
  /// @param {String} $color-name - the color name
356
356
  /// @return {color} - wanted color
357
- // @function get-pep-color($pepperi-theme, $color-map, $color-name) {
357
+ // @function get-pep-color($pepperi-theme, $color-map-key, $color-name) {
358
358
  // $colors: map.get($pepperi-theme, colors);
359
- // @return map.get(map.get($colors, $color-map), $color-name);
359
+ // @return map.get(map.get($colors, $color-map-key), $color-name);
360
360
  // }
361
- @function get-pep-color($color-map, $color-name) {
362
- @return map.get($_pepperi-theme, colors, $color-map, $color-name);
361
+ @function get-pep-color($color-map-key, $color-name) {
362
+ @return map.get($_pepperi-theme, colors, $color-map-key, $color-name);
363
363
  }
364
364
 
365
365
  /// Gets shadow from pep theme
366
366
  /// @param {Map} $pepperi-theme - the pep theme map
367
- /// @param {String} $shadow-map - the shadow map
367
+ /// @param {String} $shadow-map-key - the shadow map key
368
368
  /// @param {String} $shadow-name - the shadow name
369
369
  /// @return {shadow} - wanted shadow
370
- // @function get-pep-shadow($pepperi-theme, $shadow-map, $shadow-name) {
370
+ // @function get-pep-shadow($pepperi-theme, $shadow-map-key, $shadow-name) {
371
371
  // $shadows: map.get($pepperi-theme, shadows);
372
- // @return map.get(map.get($shadows, $shadow-map), $shadow-name);
372
+ // @return map.get(map.get($shadows, $shadow-map-key), $shadow-name);
373
373
  // }
374
374
 
375
- @function get-pep-shadow($shadow-map, $shadow-name) {
376
- @return map.get($_pepperi-theme, shadows, $shadow-map, $shadow-name);
375
+ @function get-pep-shadow($shadow-map-key, $shadow-name) {
376
+ @return map.get($_pepperi-theme, shadows, $shadow-map-key, $shadow-name);
377
377
  }
378
378
 
379
379
  /// Replace `$search` with `$replace` in `$string`
@@ -387,69 +387,69 @@
387
387
  // ******************************************************************************
388
388
  // State weak declerations
389
389
  // ******************************************************************************
390
- @mixin pep-state-default($style: weak, $color-name: null, $regularBorder: false) {
390
+ @mixin pep-state-default($style: weak, $color-map-key: null, $regularBorder: false) {
391
391
  @if ($style == 'none') {
392
392
  @include state-none-default();
393
393
  } @else if ($style == 'weak-invert') {
394
394
  @include state-weak-invert-default();
395
395
  } @else if ($style == 'weak') {
396
- @include state-weak-default($color-name);
396
+ @include state-weak-default($color-map-key);
397
397
  } @else if ($style == 'strong') {
398
- @include state-strong-default($color-name);
398
+ @include state-strong-default($color-map-key);
399
399
  } @else { // regular.
400
- @include state-regular-default($regularBorder, $color-name);
400
+ @include state-regular-default($regularBorder, $color-map-key);
401
401
  }
402
402
  }
403
- @mixin pep-state-disable($style: weak, $color-name: null, $regularBorder: false) {
403
+ @mixin pep-state-disable($style: weak, $color-map-key: null, $regularBorder: false) {
404
404
  @if ($style == 'none') {
405
405
  @include state-none-disable();
406
406
  } @else if ($style == 'weak-invert') {
407
407
  @include state-weak-invert-disable();
408
408
  } @else if ($style == 'weak') {
409
- @include state-weak-disable($color-name);
409
+ @include state-weak-disable($color-map-key);
410
410
  } @else if ($style == 'strong') {
411
- @include state-strong-disable($color-name);
411
+ @include state-strong-disable($color-map-key);
412
412
  } @else { // regular.
413
- @include state-regular-disable($regularBorder, $color-name);
413
+ @include state-regular-disable($regularBorder, $color-map-key);
414
414
  }
415
415
  }
416
- @mixin pep-state-hover($style: weak, $color-name: null, $regularBorder: false) {
416
+ @mixin pep-state-hover($style: weak, $color-map-key: null, $regularBorder: false) {
417
417
  @if ($style == 'none') {
418
418
  @include state-none-hover();
419
419
  } @else if ($style == 'weak-invert') {
420
420
  @include state-weak-invert-hover();
421
421
  } @else if ($style == 'weak') {
422
- @include state-weak-hover($color-name);
422
+ @include state-weak-hover($color-map-key);
423
423
  } @else if ($style == 'strong') {
424
- @include state-strong-hover($color-name);
424
+ @include state-strong-hover($color-map-key);
425
425
  } @else { // regular.
426
- @include state-regular-hover($regularBorder, $color-name);
426
+ @include state-regular-hover($regularBorder, $color-map-key);
427
427
  }
428
428
  }
429
- @mixin pep-state-active($style: weak, $color-name: null, $regularBorder: false) {
429
+ @mixin pep-state-active($style: weak, $color-map-key: null, $regularBorder: false) {
430
430
  @if ($style == 'none') {
431
431
  @include state-none-active();
432
432
  } @else if ($style == 'weak-invert') {
433
433
  @include state-weak-invert-active();
434
434
  } @else if ($style == 'weak') {
435
- @include state-weak-active($color-name);
435
+ @include state-weak-active($color-map-key);
436
436
  } @else if ($style == 'strong') {
437
- @include state-strong-active($color-name);
437
+ @include state-strong-active($color-map-key);
438
438
  } @else { // regular.
439
- @include state-regular-active($regularBorder, $color-name);
439
+ @include state-regular-active($regularBorder, $color-map-key);
440
440
  }
441
441
  }
442
- @mixin pep-state-focus($style: weak, $color-name: null, $regularBorder: false) {
442
+ @mixin pep-state-focus($style: weak, $color-map-key: null, $regularBorder: false) {
443
443
  @if ($style == 'none') {
444
444
  @include state-none-focus();
445
445
  } @else if ($style == 'weak-invert') {
446
446
  @include state-weak-invert-focus();
447
447
  } @else if ($style == 'weak') {
448
- @include state-weak-focus($color-name);
448
+ @include state-weak-focus($color-map-key);
449
449
  } @else if ($style == 'strong') {
450
- @include state-strong-focus($color-name);
450
+ @include state-strong-focus($color-map-key);
451
451
  } @else { // regular.
452
- @include state-regular-focus($regularBorder, $color-name);
452
+ @include state-regular-focus($regularBorder, $color-map-key);
453
453
  }
454
454
  }
455
455
 
@@ -458,46 +458,46 @@
458
458
  // ******************************************************************************
459
459
  // Weak - default
460
460
  // -----------------------------------------------------------------------------
461
- @mixin state-weak-default($color-map-name: null) {
462
- @if ($color-map-name == null) {
463
- $color-map-name: color-weak;
461
+ @mixin state-weak-default($color-map-key: null) {
462
+ @if ($color-map-key == null) {
463
+ $color-map-key: color-weak;
464
464
  }
465
- background: functions.get-pep-color($color-map-name, color-tran-30);
465
+ background: functions.get-pep-color($color-map-key, color-tran-30);
466
466
  }
467
- @mixin state-weak-disable($color-map-name: null) {
467
+ @mixin state-weak-disable($color-map-key: null) {
468
468
  @include state-disabled();
469
469
 
470
- @if ($color-map-name == null) {
471
- $color-map-name: color-weak;
470
+ @if ($color-map-key == null) {
471
+ $color-map-key: color-weak;
472
472
  }
473
473
  color:functions.get-pep-color(color-text, color-disabled) !important;
474
- background: functions.get-pep-color($color-map-name, color-tran-10) !important;
474
+ background: functions.get-pep-color($color-map-key, color-tran-10) !important;
475
475
  }
476
- @mixin state-weak-hover($color-map-name: null) {
477
- @if ($color-map-name == null) {
478
- $color-map-name: color-weak;
476
+ @mixin state-weak-hover($color-map-key: null) {
477
+ @if ($color-map-key == null) {
478
+ $color-map-key: color-weak;
479
479
  }
480
- background: functions.get-pep-color($color-map-name, color-tran-40);
480
+ background: functions.get-pep-color($color-map-key, color-tran-40);
481
481
  }
482
- @mixin state-weak-active($color-map-name: null, $add-inline: true, $regularBorder: false) {
483
- @if ($color-map-name == null) {
484
- $color-map-name: color-weak;
482
+ @mixin state-weak-active($color-map-key: null, $add-inline: true, $regularBorder: false) {
483
+ @if ($color-map-key == null) {
484
+ $color-map-key: color-weak;
485
485
  }
486
486
 
487
487
  &:not(.keep-background-on-focus) {
488
- // background: functions.get-pep-color($color-map-name, color-tran-0); // TODO: In Table view is gray so what sould we do ask Yonatan.
488
+ // background: functions.get-pep-color($color-map-key, color-tran-0); // TODO: In Table view is gray so what sould we do ask Yonatan.
489
489
  background: functions.get-pep-color(color-system-primary-invert, color-base);
490
490
  }
491
491
 
492
492
  box-shadow: functions.get-pep-shadow(shadow-xs, soft);
493
493
 
494
494
  @if ($add-inline) {
495
- @include inline(functions.get-pep-color($color-map-name, color-base), 1px, solid, $regularBorder);
495
+ @include inline(functions.get-pep-color($color-map-key, color-base), 1px, solid, $regularBorder);
496
496
  }
497
497
  }
498
- @mixin state-weak-focus($color-map-name: null, $add-inline: true, $regularBorder: false) {
498
+ @mixin state-weak-focus($color-map-key: null, $add-inline: true, $regularBorder: false) {
499
499
  // box-shadow: functions.get-pep-shadow(shadow-xs, soft);
500
- @include state-weak-active($color-map-name, $add-inline, $regularBorder);
500
+ @include state-weak-active($color-map-key, $add-inline, $regularBorder);
501
501
  @include focus();
502
502
  }
503
503
 
@@ -538,54 +538,54 @@
538
538
  // ******************************************************************************
539
539
  // Regular - default
540
540
  // -----------------------------------------------------------------------------
541
- @mixin state-regular-default($regularBorder: false, $color-map-name: null) {
542
- @if ($color-map-name == null) {
543
- $color-map-name: color-regular;
541
+ @mixin state-regular-default($regularBorder: false, $color-map-key: null) {
542
+ @if ($color-map-key == null) {
543
+ $color-map-key: color-regular;
544
544
  }
545
- background: functions.get-pep-color($color-map-name, color-flat-r-40);
545
+ background: functions.get-pep-color($color-map-key, color-flat-r-40);
546
546
  box-shadow: functions.get-pep-shadow(shadow-xs, soft);
547
- @include inline(functions.get-pep-color($color-map-name, color-flat-r-20), 1px, solid, $regularBorder);
547
+ @include inline(functions.get-pep-color($color-map-key, color-flat-r-20), 1px, solid, $regularBorder);
548
548
  }
549
- @mixin state-regular-hover($regularBorder: false, $color-map-name: null) {
550
- @if ($color-map-name == null) {
551
- $color-map-name: color-regular;
549
+ @mixin state-regular-hover($regularBorder: false, $color-map-key: null) {
550
+ @if ($color-map-key == null) {
551
+ $color-map-key: color-regular;
552
552
  }
553
- background: functions.get-pep-color($color-map-name, color-flat-r-40);
553
+ background: functions.get-pep-color($color-map-key, color-flat-r-40);
554
554
  box-shadow: functions.get-pep-shadow(shadow-xs, regular);
555
- @include inline(functions.get-pep-color($color-map-name, color-flat-r-10), 1px, solid, $regularBorder);
555
+ @include inline(functions.get-pep-color($color-map-key, color-flat-r-10), 1px, solid, $regularBorder);
556
556
  }
557
- @mixin state-regular-active($regularBorder: false, $color-map-name: null) {
558
- @if ($color-map-name == null) {
559
- $color-map-name: color-regular;
557
+ @mixin state-regular-active($regularBorder: false, $color-map-key: null) {
558
+ @if ($color-map-key == null) {
559
+ $color-map-key: color-regular;
560
560
  }
561
- background: functions.get-pep-color($color-map-name, color-flat-r-30);
561
+ background: functions.get-pep-color($color-map-key, color-flat-r-30);
562
562
  box-shadow: functions.get-pep-shadow(shadow-xs, hard);
563
- @include inline(functions.get-pep-color($color-map-name, color-base), 1px, solid, $regularBorder);
563
+ @include inline(functions.get-pep-color($color-map-key, color-base), 1px, solid, $regularBorder);
564
564
 
565
565
  // @if $regularBorder {
566
566
  // } @else {
567
567
  // @include focus();
568
568
  // }
569
569
  }
570
- @mixin state-regular-focus($regularBorder: false, $color-map-name: null) {
571
- @if ($color-map-name == null) {
572
- $color-map-name: color-regular;
570
+ @mixin state-regular-focus($regularBorder: false, $color-map-key: null) {
571
+ @if ($color-map-key == null) {
572
+ $color-map-key: color-regular;
573
573
  }
574
- background: functions.get-pep-color($color-map-name, color-flat-r-30);
574
+ background: functions.get-pep-color($color-map-key, color-flat-r-30);
575
575
  box-shadow: functions.get-pep-shadow(shadow-xs, regular);
576
- @include inline(functions.get-pep-color($color-map-name, color-base), 1px, solid, $regularBorder);
576
+ @include inline(functions.get-pep-color($color-map-key, color-base), 1px, solid, $regularBorder);
577
577
  @include focus();
578
578
  }
579
- @mixin state-regular-disable($regularBorder: false, $color-map-name: null) {
579
+ @mixin state-regular-disable($regularBorder: false, $color-map-key: null) {
580
580
  @include state-disabled();
581
581
 
582
- @if ($color-map-name == null) {
583
- $color-map-name: color-regular;
582
+ @if ($color-map-key == null) {
583
+ $color-map-key: color-regular;
584
584
  }
585
585
  color:functions.get-pep-color(color-text, color-disabled) !important;
586
- background: functions.get-pep-color($color-map-name, color-flat-r-30) !important;
586
+ background: functions.get-pep-color($color-map-key, color-flat-r-30) !important;
587
587
  box-shadow: functions.get-pep-shadow(shadow-xs, xsoft) !important;
588
- @include inline(functions.get-pep-color($color-map-name, color-tran-20), 1px, solid, $regularBorder);
588
+ @include inline(functions.get-pep-color($color-map-key, color-tran-20), 1px, solid, $regularBorder);
589
589
  }
590
590
 
591
591
  // ******************************************************************************
@@ -593,13 +593,13 @@
593
593
  // ******************************************************************************
594
594
  // Strong - default
595
595
  // -----------------------------------------------------------------------------
596
- @mixin state-strong-default($color-map-name: null) {
597
- @if ($color-map-name == null) {
598
- $color-map-name: color-strong;
596
+ @mixin state-strong-default($color-map-key: null) {
597
+ @if ($color-map-key == null) {
598
+ $color-map-key: color-strong;
599
599
  }
600
600
 
601
601
  font-weight: variables.$font-weight-bold;
602
- background: functions.get-pep-color($color-map-name, color-base);
602
+ background: functions.get-pep-color($color-map-key, color-base);
603
603
  box-shadow: functions.get-pep-shadow(shadow-sm, soft);
604
604
 
605
605
  $color: functions.get-pep-color(color-text, color-invert);
@@ -609,13 +609,13 @@
609
609
  @include svg-icon-color($color);
610
610
  }
611
611
  }
612
- @mixin state-strong-disable($color-map-name: null) {
612
+ @mixin state-strong-disable($color-map-key: null) {
613
613
  @include state-disabled();
614
614
 
615
- @if ($color-map-name == null) {
616
- $color-map-name: color-strong;
615
+ @if ($color-map-key == null) {
616
+ $color-map-key: color-strong;
617
617
  }
618
- background: functions.get-pep-color($color-map-name, color-base) !important;
618
+ background: functions.get-pep-color($color-map-key, color-base) !important;
619
619
  opacity: 0.5 !important;
620
620
 
621
621
  $color: functions.get-pep-color(color-text, color-invert);
@@ -625,25 +625,25 @@
625
625
  @include svg-icon-color($color);
626
626
  }
627
627
  }
628
- @mixin state-strong-hover($color-map-name: null) {
629
- @if ($color-map-name == null) {
630
- $color-map-name: color-strong;
628
+ @mixin state-strong-hover($color-map-key: null) {
629
+ @if ($color-map-key == null) {
630
+ $color-map-key: color-strong;
631
631
  }
632
- background: functions.get-pep-color($color-map-name, color-flat-l-10);
632
+ background: functions.get-pep-color($color-map-key, color-flat-l-10);
633
633
  box-shadow: functions.get-pep-shadow(shadow-sm, regular);
634
634
  }
635
- @mixin state-strong-active($color-map-name: null) {
636
- @if ($color-map-name == null) {
637
- $color-map-name: color-strong;
635
+ @mixin state-strong-active($color-map-key: null) {
636
+ @if ($color-map-key == null) {
637
+ $color-map-key: color-strong;
638
638
  }
639
- background: functions.get-pep-color($color-map-name, color-flat-l-20);
639
+ background: functions.get-pep-color($color-map-key, color-flat-l-20);
640
640
  box-shadow: functions.get-pep-shadow(shadow-sm, hard);
641
641
  }
642
- @mixin state-strong-focus($color-map-name: null) {
643
- @if ($color-map-name == null) {
644
- $color-map-name: color-strong;
642
+ @mixin state-strong-focus($color-map-key: null) {
643
+ @if ($color-map-key == null) {
644
+ $color-map-key: color-strong;
645
645
  }
646
- background: functions.get-pep-color($color-map-name, color-flat-l-20);
646
+ background: functions.get-pep-color($color-map-key, color-flat-l-20);
647
647
  box-shadow: functions.get-pep-shadow(shadow-sm, soft);
648
648
  @include focus();
649
649
  }
@@ -673,20 +673,20 @@
673
673
  // ******************************************************************************
674
674
  // Buttons states declerations
675
675
  // ******************************************************************************
676
- @mixin pep-button-states($style: weak, $color-name: null) {
677
- @include pep-state-default($style, $color-name, true);
676
+ @mixin pep-button-states($style: weak, $color-map-key: null) {
677
+ @include pep-state-default($style, $color-map-key, true);
678
678
  &:hover {
679
- @include pep-state-hover($style, $color-name, true);
679
+ @include pep-state-hover($style, $color-map-key, true);
680
680
  }
681
681
  &:focus {
682
- @include pep-state-focus($style, $color-name, true);
682
+ @include pep-state-focus($style, $color-map-key, true);
683
683
  }
684
684
  &:active {
685
- @include pep-state-active($style, $color-name, true);
685
+ @include pep-state-active($style, $color-map-key, true);
686
686
  }
687
687
  &:disabled {
688
688
  &:not(.ignore-disabled) {
689
- @include pep-state-disable($style, $color-name, true);
689
+ @include pep-state-disable($style, $color-map-key, true);
690
690
  }
691
691
  }
692
692
  }
@@ -694,10 +694,10 @@
694
694
  // ******************************************************************************
695
695
  // Form field states declerations
696
696
  // ******************************************************************************
697
- @mixin pep-form-field-states($style: weak, $color-name: null) {
697
+ @mixin pep-form-field-states($style: weak, $color-map-key: null) {
698
698
  // Default
699
699
  .mat-form-field-flex {
700
- @include pep-state-default($style, $color-name);
700
+ @include pep-state-default($style, $color-map-key);
701
701
  }
702
702
 
703
703
  // Hover
@@ -705,7 +705,7 @@
705
705
  .ignore-disabled,
706
706
  &:not(.mat-form-field-disabled) {
707
707
  .mat-form-field-flex {
708
- @include pep-state-hover($style, $color-name);
708
+ @include pep-state-hover($style, $color-map-key);
709
709
  }
710
710
  }
711
711
  }
@@ -715,7 +715,7 @@
715
715
  .ignore-disabled,
716
716
  &:not(.mat-form-field-disabled) {
717
717
  .mat-form-field-flex {
718
- @include pep-state-focus($style, $color-name);
718
+ @include pep-state-focus($style, $color-map-key);
719
719
  }
720
720
  }
721
721
  }
@@ -726,7 +726,7 @@
726
726
  .ignore-disabled,
727
727
  &:not(.mat-form-field-disabled) {
728
728
  .mat-form-field-flex {
729
- @include pep-state-active($style, $color-name);
729
+ @include pep-state-active($style, $color-map-key);
730
730
  }
731
731
  }
732
732
  }
@@ -735,7 +735,7 @@
735
735
  &.mat-form-field-disabled {
736
736
  &:not(.ignore-disabled) {
737
737
  .mat-form-field-flex {
738
- @include pep-state-disable($style, $color-name);
738
+ @include pep-state-disable($style, $color-map-key);
739
739
  }
740
740
  }
741
741
  }
@@ -2,8 +2,43 @@
2
2
  @use '../abstracts/mixins';
3
3
  @use '../abstracts/functions';
4
4
 
5
+ // Roundness
6
+ // ---------------------------
7
+ .border-radius-sm { border-radius: variables.$border-radius-sm; }
8
+ .border-radius-md { border-radius: variables.$border-radius-md; }
9
+ .border-radius-lg { border-radius: variables.$border-radius-lg; }
10
+
11
+ // Shadows
12
+ // ---------------------------
13
+ .shadow-none { box-shadow: none; }
14
+
15
+ .shadow-xs-xsoft { box-shadow: functions.get-pep-shadow(shadow-xs, xsoft); }
16
+ .shadow-xs-soft { box-shadow: functions.get-pep-shadow(shadow-xs, soft); }
17
+ .shadow-xs-regular { box-shadow: functions.get-pep-shadow(shadow-xs, regular); }
18
+ .shadow-xs-hard { box-shadow: functions.get-pep-shadow(shadow-xs, hard); }
19
+
20
+ .shadow-sm-xsoft { box-shadow: functions.get-pep-shadow(shadow-sm, xsoft); }
21
+ .shadow-sm-soft { box-shadow: functions.get-pep-shadow(shadow-sm, soft); }
22
+ .shadow-sm-regular { box-shadow: functions.get-pep-shadow(shadow-sm, regular); }
23
+ .shadow-sm-hard { box-shadow: functions.get-pep-shadow(shadow-sm, hard); }
24
+
25
+ .shadow-md-xsoft { box-shadow: functions.get-pep-shadow(shadow-md, xsoft); }
26
+ .shadow-md-soft { box-shadow: functions.get-pep-shadow(shadow-md, soft); }
27
+ .shadow-md-regular { box-shadow: functions.get-pep-shadow(shadow-md, regular); }
28
+ .shadow-md-hard { box-shadow: functions.get-pep-shadow(shadow-md, hard); }
29
+
30
+ .shadow-lg-xsoft { box-shadow: functions.get-pep-shadow(shadow-lg, xsoft); }
31
+ .shadow-lg-soft { box-shadow: functions.get-pep-shadow(shadow-lg, soft); }
32
+ .shadow-lg-regular { box-shadow: functions.get-pep-shadow(shadow-lg, regular); }
33
+ .shadow-lg-hard { box-shadow: functions.get-pep-shadow(shadow-lg, hard); }
34
+
35
+ .shadow-xl-xsoft { box-shadow: functions.get-pep-shadow(shadow-xl, xsoft); }
36
+ .shadow-xl-soft { box-shadow: functions.get-pep-shadow(shadow-xl, soft); }
37
+ .shadow-xl-regular { box-shadow: functions.get-pep-shadow(shadow-xl, regular); }
38
+ .shadow-xl-hard { box-shadow: functions.get-pep-shadow(shadow-xl, hard); }
39
+
5
40
  // Spacing
6
- // ------------------------
41
+ // ---------------------------
7
42
  .pep-spacing-element-negative {
8
43
  @include mixins.pep-spacing-element-negative();
9
44
  }
@@ -11,6 +46,7 @@
11
46
  .pep-spacing-element {
12
47
  @include mixins.pep-spacing-element();
13
48
  }
49
+
14
50
  // Floating alignment
15
51
  // ------------------------
16
52
  .pull-right {
@@ -54,20 +90,6 @@
54
90
  justify-content: left !important;
55
91
  }
56
92
 
57
- // Roundness
58
- // ------------------------
59
- .roundness-sm {
60
- border-radius: variables.$border-radius-sm;
61
- }
62
-
63
- .roundness-md {
64
- border-radius: variables.$border-radius-md;
65
- }
66
-
67
- .roundness-lg {
68
- border-radius: variables.$border-radius-lg;
69
- }
70
-
71
93
  // Modal - General
72
94
  // -----------------------------------------------------
73
95
  .modal-footer {