@pega/angular-sdk-overrides 24.2.12 → 25.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/designSystemExtension/alert/alert.component.scss +3 -3
- package/lib/designSystemExtension/alert/alert.component.ts +0 -1
- package/lib/designSystemExtension/alert-banner/alert-banner.component.ts +0 -1
- package/lib/designSystemExtension/banner/banner.component.html +1 -1
- package/lib/designSystemExtension/banner/banner.component.scss +17 -3
- package/lib/designSystemExtension/banner/banner.component.ts +0 -1
- package/lib/designSystemExtension/case-create-stage/case-create-stage.component.ts +0 -1
- package/lib/designSystemExtension/field-group/field-group.component.ts +0 -1
- package/lib/designSystemExtension/material-case-summary/material-case-summary.component.html +6 -3
- package/lib/designSystemExtension/material-case-summary/material-case-summary.component.scss +5 -34
- package/lib/designSystemExtension/material-case-summary/material-case-summary.component.ts +0 -1
- package/lib/designSystemExtension/material-details/material-details.component.scss +0 -5
- package/lib/designSystemExtension/material-details/material-details.component.ts +0 -1
- package/lib/designSystemExtension/material-details-fields/material-details-fields.component.html +2 -2
- package/lib/designSystemExtension/material-details-fields/material-details-fields.component.scss +4 -3
- package/lib/designSystemExtension/material-details-fields/material-details-fields.component.ts +0 -1
- package/lib/designSystemExtension/material-summary-item/material-summary-item.component.scss +4 -17
- package/lib/designSystemExtension/material-summary-item/material-summary-item.component.ts +0 -1
- package/lib/designSystemExtension/material-summary-list/material-summary-list.component.ts +0 -1
- package/lib/designSystemExtension/material-utility/material-utility.component.scss +1 -2
- package/lib/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.scss +1 -1
- package/lib/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.ts +0 -1
- package/lib/designSystemExtension/operator/operator.component.html +1 -1
- package/lib/designSystemExtension/operator/operator.component.scss +3 -10
- package/lib/designSystemExtension/operator/operator.component.ts +0 -2
- package/lib/designSystemExtension/pulse/pulse.component.scss +2 -2
- package/lib/designSystemExtension/pulse/pulse.component.ts +0 -1
- package/lib/designSystemExtension/rich-text-editor/rich-text-editor.component.html +4 -17
- package/lib/designSystemExtension/rich-text-editor/rich-text-editor.component.scss +0 -1
- package/lib/designSystemExtension/rich-text-editor/rich-text-editor.component.ts +30 -1
- package/lib/designSystemExtension/wss-quick-create/wss-quick-create.component.scss +16 -9
- package/lib/designSystemExtension/wss-quick-create/wss-quick-create.component.ts +0 -1
- package/lib/field/auto-complete/auto-complete.component.html +0 -1
- package/lib/field/auto-complete/auto-complete.component.ts +35 -173
- package/lib/field/cancel-alert/cancel-alert.component.html +8 -12
- package/lib/field/cancel-alert/cancel-alert.component.scss +2 -3
- package/lib/field/cancel-alert/cancel-alert.component.ts +24 -37
- package/lib/field/check-box/check-box.component.html +14 -7
- package/lib/field/check-box/check-box.component.scss +0 -1
- package/lib/field/check-box/check-box.component.ts +25 -151
- package/lib/field/currency/currency.component.ts +36 -169
- package/lib/field/date/date.component.html +2 -2
- package/lib/field/date/date.component.ts +30 -151
- package/lib/field/date-time/date-time.component.html +1 -1
- package/lib/field/date-time/date-time.component.ts +34 -149
- package/lib/field/decimal/decimal.component.ts +38 -164
- package/lib/field/dropdown/dropdown.component.ts +29 -152
- package/lib/field/email/email.component.ts +16 -156
- package/lib/field/field.base.ts +149 -0
- package/lib/field/group/group.component.ts +7 -5
- package/lib/field/integer/integer.component.ts +18 -158
- package/lib/field/list-view-action-buttons/list-view-action-buttons.component.ts +0 -1
- package/lib/field/location/config-ext.json +8 -0
- package/lib/field/location/location.component.html +45 -0
- package/lib/field/location/location.component.scss +18 -0
- package/lib/field/location/location.component.spec.ts +22 -0
- package/lib/field/location/location.component.ts +280 -0
- package/lib/field/multiselect/multiselect.component.ts +47 -152
- package/lib/field/multiselect/utils.ts +55 -47
- package/lib/field/object-reference/object-reference.component.html +17 -0
- package/lib/field/object-reference/object-reference.component.scss +0 -0
- package/lib/field/object-reference/object-reference.component.spec.ts +22 -0
- package/lib/field/object-reference/object-reference.component.ts +237 -0
- package/lib/field/percentage/percentage.component.ts +37 -155
- package/lib/field/phone/phone.component.html +18 -19
- package/lib/field/phone/phone.component.scss +4 -0
- package/lib/field/phone/phone.component.ts +43 -145
- package/lib/field/radio-buttons/radio-buttons.component.html +14 -6
- package/lib/field/radio-buttons/radio-buttons.component.scss +4 -2
- package/lib/field/radio-buttons/radio-buttons.component.ts +37 -160
- package/lib/field/rich-text/rich-text.component.html +2 -0
- package/lib/field/rich-text/rich-text.component.scss +172 -0
- package/lib/field/rich-text/rich-text.component.ts +21 -91
- package/lib/field/scalar-list/scalar-list.component.ts +17 -73
- package/lib/field/selectable-card/selectable-card.component.html +70 -0
- package/lib/field/selectable-card/selectable-card.component.scss +11 -0
- package/lib/field/selectable-card/selectable-card.component.spec.ts +22 -0
- package/lib/field/selectable-card/selectable-card.component.ts +219 -0
- package/lib/field/semantic-link/semantic-link.component.html +4 -8
- package/lib/field/semantic-link/semantic-link.component.scss +0 -13
- package/lib/field/semantic-link/semantic-link.component.ts +165 -6
- package/lib/field/text/text.component.scss +0 -1
- package/lib/field/text/text.component.ts +0 -1
- package/lib/field/text-area/text-area.component.ts +18 -153
- package/lib/field/text-content/text-content.component.ts +0 -1
- package/lib/field/text-input/text-input.component.ts +16 -156
- package/lib/field/time/time.component.ts +17 -152
- package/lib/field/url/url.component.ts +16 -155
- package/lib/field/user-reference/user-reference.component.scss +0 -1
- package/lib/field/user-reference/user-reference.component.ts +2 -4
- package/lib/infra/Containers/flow-container/flow-container.component.html +2 -2
- package/lib/infra/Containers/flow-container/flow-container.component.ts +8 -9
- package/lib/infra/Containers/hybrid-view-container/hybrid-view-container.component.ts +0 -1
- package/lib/infra/Containers/modal-view-container/modal-view-container.component.ts +5 -11
- package/lib/infra/Containers/view-container/helper.ts +35 -2
- package/lib/infra/Containers/view-container/view-container.component.ts +1 -2
- package/lib/infra/action-buttons/action-buttons.component.html +13 -8
- package/lib/infra/action-buttons/action-buttons.component.scss +23 -0
- package/lib/infra/action-buttons/action-buttons.component.ts +1 -3
- package/lib/infra/assignment/assignment.component.ts +21 -10
- package/lib/infra/assignment-card/assignment-card.component.html +1 -2
- package/lib/infra/assignment-card/assignment-card.component.scss +0 -4
- package/lib/infra/assignment-card/assignment-card.component.ts +21 -5
- package/lib/infra/dashboard-filter/dashboard-filter.component.ts +0 -1
- package/lib/infra/defer-load/defer-load.component.html +6 -2
- package/lib/infra/defer-load/defer-load.component.ts +22 -12
- package/lib/infra/error-boundary/error-boundary.component.ts +0 -1
- package/lib/infra/multi-step/multi-step.component.html +22 -38
- package/lib/infra/multi-step/multi-step.component.scss +14 -27
- package/lib/infra/multi-step/multi-step.component.ts +0 -1
- package/lib/infra/navbar/navbar.component.html +36 -41
- package/lib/infra/navbar/navbar.component.scss +22 -4
- package/lib/infra/navbar/navbar.component.ts +8 -4
- package/lib/infra/reference/reference.component.ts +5 -0
- package/lib/infra/region/region.component.ts +0 -1
- package/lib/infra/root-container/root-container.component.scss +0 -1
- package/lib/infra/root-container/root-container.component.ts +1 -5
- package/lib/infra/stages/stages.component.html +4 -3
- package/lib/infra/stages/stages.component.scss +12 -36
- package/lib/infra/stages/stages.component.ts +4 -3
- package/lib/infra/view/view.component.html +1 -1
- package/lib/infra/view/view.component.ts +3 -7
- package/lib/template/advanced-search/advanced-search.component.html +12 -0
- package/lib/template/advanced-search/advanced-search.component.scss +0 -0
- package/lib/template/advanced-search/advanced-search.component.spec.ts +0 -0
- package/lib/template/advanced-search/advanced-search.component.ts +112 -0
- package/lib/template/advanced-search/advanced-search.service.ts +27 -0
- package/lib/template/advanced-search/search-group/persist-utils.ts +56 -0
- package/lib/template/advanced-search/search-groups/search-groups.component.html +32 -0
- package/lib/template/advanced-search/search-groups/search-groups.component.scss +0 -0
- package/lib/template/advanced-search/search-groups/search-groups.component.spec.ts +0 -0
- package/lib/template/advanced-search/search-groups/search-groups.component.ts +294 -0
- package/lib/template/advanced-search/search-groups/utils.ts +29 -0
- package/lib/template/app-shell/app-shell.component.html +4 -1
- package/lib/template/app-shell/app-shell.component.scss +0 -3
- package/lib/template/app-shell/app-shell.component.ts +46 -8
- package/lib/template/banner-page/banner-page.component.ts +0 -1
- package/lib/template/case-summary/case-summary.component.scss +0 -2
- package/lib/template/case-summary/case-summary.component.ts +6 -22
- package/lib/template/case-view/case-view.component.html +4 -4
- package/lib/template/case-view/case-view.component.scss +18 -10
- package/lib/template/case-view/case-view.component.ts +1 -11
- package/lib/template/confirmation/confirmation.component.html +1 -1
- package/lib/template/confirmation/confirmation.component.ts +0 -1
- package/lib/template/data-reference/data-reference.component.html +11 -8
- package/lib/template/data-reference/data-reference.component.ts +346 -113
- package/lib/template/data-reference/search-form/search-form.component.html +39 -0
- package/lib/template/data-reference/search-form/search-form.component.scss +11 -0
- package/lib/template/data-reference/search-form/search-form.component.spec.ts +0 -0
- package/lib/template/data-reference/search-form/search-form.component.ts +167 -0
- package/lib/template/data-reference/search-form/tabsData.ts +160 -0
- package/lib/template/data-reference/utils.ts +92 -0
- package/lib/template/default-form/default-form.component.ts +10 -3
- package/lib/template/default-page/default-page.component.html +34 -0
- package/lib/template/default-page/default-page.component.scss +31 -0
- package/lib/template/default-page/default-page.component.spec.ts +24 -0
- package/lib/template/default-page/default-page.component.ts +64 -0
- package/lib/template/details/details.component.ts +0 -1
- package/lib/template/details-narrow-wide/details-narrow-wide.component.ts +0 -1
- package/lib/template/details-one-column/details-one-column.component.ts +0 -1
- package/lib/template/details-sub-tabs/details-sub-tabs.component.ts +0 -1
- package/lib/template/details-three-column/details-three-column.component.ts +0 -1
- package/lib/template/details-two-column/details-two-column.component.ts +0 -1
- package/lib/template/details-wide-narrow/details-wide-narrow.component.ts +0 -1
- package/lib/template/dynamic-tabs/dynamic-tabs.component.ts +0 -1
- package/lib/template/field-group-list/field-group-list.component.scss +0 -1
- package/lib/template/field-group-list/field-group-list.component.ts +0 -1
- package/lib/template/field-group-template/field-group-template.component.ts +14 -28
- package/lib/template/field-value-list/field-value-list.component.ts +0 -1
- package/lib/template/inline-dashboard/inline-dashboard.component.ts +0 -1
- package/lib/template/inline-dashboard-page/inline-dashboard-page.component.ts +1 -2
- package/lib/template/list-page/list-page.component.ts +0 -1
- package/lib/template/list-view/list-view.component.html +170 -162
- package/lib/template/list-view/list-view.component.scss +25 -21
- package/lib/template/list-view/list-view.component.ts +207 -119
- package/lib/template/list-view/listViewHelpers.ts +1 -4
- package/lib/template/list-view/utils.ts +25 -2
- package/lib/template/multi-reference-readonly/multi-reference-readonly.component.ts +0 -1
- package/lib/template/narrow-wide-form/narrow-wide-form.component.ts +0 -1
- package/lib/template/object-page/object-page.component.html +1 -0
- package/lib/template/object-page/object-page.component.scss +0 -0
- package/lib/template/object-page/object-page.component.spec.ts +22 -0
- package/lib/template/object-page/object-page.component.ts +14 -0
- package/lib/template/one-column/one-column.component.ts +0 -1
- package/lib/template/one-column-page/one-column-page.component.ts +0 -1
- package/lib/template/one-column-tab/one-column-tab.component.scss +1 -1
- package/lib/template/one-column-tab/one-column-tab.component.ts +0 -1
- package/lib/template/page/page.component.ts +0 -1
- package/lib/template/promoted-filters/promoted-filters.component.ts +0 -1
- package/lib/template/repeating-structures/repeating-structures.component.ts +0 -2
- package/lib/template/self-service-case-view/self-service-case-view.component.html +78 -0
- package/lib/template/self-service-case-view/self-service-case-view.component.scss +132 -0
- package/lib/template/self-service-case-view/self-service-case-view.component.spec.ts +24 -0
- package/lib/template/self-service-case-view/self-service-case-view.component.ts +207 -0
- package/lib/template/simple-table/simple-table.component.ts +0 -2
- package/lib/template/simple-table-manual/helpers.ts +117 -3
- package/lib/template/simple-table-manual/simple-table-manual.component.html +4 -4
- package/lib/template/simple-table-manual/simple-table-manual.component.scss +4 -14
- package/lib/template/simple-table-manual/simple-table-manual.component.ts +45 -25
- package/lib/template/simple-table-select/simple-table-select.component.ts +0 -1
- package/lib/template/single-reference-readonly/single-reference-readonly.component.html +4 -1
- package/lib/template/single-reference-readonly/single-reference-readonly.component.scss +21 -0
- package/lib/template/single-reference-readonly/single-reference-readonly.component.ts +104 -4
- package/lib/template/sub-tabs/sub-tabs.component.ts +0 -1
- package/lib/template/three-column/three-column.component.ts +0 -1
- package/lib/template/three-column-page/three-column-page.component.ts +0 -1
- package/lib/template/two-column/two-column.component.ts +0 -1
- package/lib/template/two-column-page/two-column-page.component.ts +0 -1
- package/lib/template/two-column-tab/two-column-tab.component.ts +0 -1
- package/lib/template/utils.ts +42 -0
- package/lib/template/wide-narrow-form/wide-narrow-form.component.ts +0 -1
- package/lib/template/wide-narrow-page/wide-narrow-page.component.ts +0 -1
- package/lib/template/wss-nav-bar/wss-nav-bar.component.html +6 -5
- package/lib/template/wss-nav-bar/wss-nav-bar.component.scss +8 -17
- package/lib/template/wss-nav-bar/wss-nav-bar.component.ts +1 -9
- package/lib/widget/app-announcement/app-announcement.component.html +1 -2
- package/lib/widget/app-announcement/app-announcement.component.scss +2 -2
- package/lib/widget/app-announcement/app-announcement.component.ts +0 -1
- package/lib/widget/attachment/Attachment.types.ts +92 -0
- package/lib/widget/attachment/AttachmentUtils.ts +287 -0
- package/lib/widget/attachment/attachment.component.html +3 -3
- package/lib/widget/attachment/attachment.component.scss +9 -12
- package/lib/widget/attachment/attachment.component.ts +267 -254
- package/lib/widget/case-history/case-history.component.ts +0 -1
- package/lib/widget/feed-container/feed-container.component.scss +3 -9
- package/lib/widget/feed-container/feed-container.component.ts +2 -3
- package/lib/widget/file-utility/file-utility.component.html +3 -3
- package/lib/widget/file-utility/file-utility.component.scss +6 -17
- package/lib/widget/file-utility/file-utility.component.ts +24 -9
- package/lib/widget/list-utility/list-utility.component.scss +4 -5
- package/lib/widget/list-utility/list-utility.component.ts +0 -1
- package/lib/widget/quick-create/quick-create.component.ts +41 -23
- package/lib/widget/todo/todo.component.html +8 -5
- package/lib/widget/todo/todo.component.scss +11 -10
- package/lib/widget/todo/todo.component.ts +7 -4
- package/lib/widget/utility/utility.component.ts +0 -1
- package/package.json +1 -1
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.psdk-alert-error {
|
|
17
|
-
color: var(--
|
|
18
|
-
border: 1px solid var(--
|
|
17
|
+
color: var(--mat-sys-error);
|
|
18
|
+
border: 1px solid var(--mat-sys-error);
|
|
19
19
|
.mat-icon {
|
|
20
|
-
color: var(--
|
|
20
|
+
color: var(--mat-sys-error);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -6,7 +6,6 @@ import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
|
6
6
|
selector: 'app-alert-banner',
|
|
7
7
|
templateUrl: './alert-banner.component.html',
|
|
8
8
|
styleUrls: ['./alert-banner.component.scss'],
|
|
9
|
-
standalone: true,
|
|
10
9
|
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
11
10
|
})
|
|
12
11
|
export class AlertBannerComponent {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
<div
|
|
11
11
|
[ngClass]="{
|
|
12
|
-
'psdk-grid-filter-
|
|
12
|
+
'psdk-grid-filter-2': this.layout$ === 'two-column',
|
|
13
13
|
'psdk-grid-filter-wide-narrow': this.layout$ === 'wide-narrow',
|
|
14
14
|
'psdk-grid-filter-narrow-wide': this.layout$ === 'narrow-wide'
|
|
15
15
|
}"
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
.psdk-grid-filter-1 {
|
|
2
2
|
display: grid;
|
|
3
|
-
grid-template-columns: repeat(
|
|
3
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
4
|
+
column-gap: calc(2 * 0.5rem);
|
|
5
|
+
row-gap: calc(2 * 0.5rem);
|
|
6
|
+
align-items: start;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.psdk-grid-filter-2 {
|
|
10
|
+
display: grid;
|
|
11
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
4
12
|
column-gap: calc(2 * 0.5rem);
|
|
5
13
|
row-gap: calc(2 * 0.5rem);
|
|
6
14
|
align-items: start;
|
|
@@ -12,7 +20,10 @@
|
|
|
12
20
|
column-gap: calc(2 * 0.5rem);
|
|
13
21
|
row-gap: calc(2 * 0.5rem);
|
|
14
22
|
align-items: start;
|
|
15
|
-
|
|
23
|
+
|
|
24
|
+
& > *:nth-child(1) {
|
|
25
|
+
min-width: 0;
|
|
26
|
+
}
|
|
16
27
|
}
|
|
17
28
|
|
|
18
29
|
.psdk-grid-filter-narrow-wide {
|
|
@@ -21,6 +32,10 @@
|
|
|
21
32
|
column-gap: calc(2 * 0.5rem);
|
|
22
33
|
row-gap: calc(2 * 0.5rem);
|
|
23
34
|
align-items: start;
|
|
35
|
+
|
|
36
|
+
& > *:nth-child(2) {
|
|
37
|
+
min-width: 0;
|
|
38
|
+
}
|
|
24
39
|
}
|
|
25
40
|
|
|
26
41
|
.background-image-style {
|
|
@@ -33,7 +48,6 @@
|
|
|
33
48
|
|
|
34
49
|
.background-style {
|
|
35
50
|
background-color: transparent;
|
|
36
|
-
color: var(--app-inverse-form-color);
|
|
37
51
|
width: 100%;
|
|
38
52
|
height: 100%;
|
|
39
53
|
text-align: center;
|
|
@@ -7,7 +7,6 @@ import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
|
7
7
|
selector: 'app-banner',
|
|
8
8
|
templateUrl: './banner.component.html',
|
|
9
9
|
styleUrls: ['./banner.component.scss'],
|
|
10
|
-
standalone: true,
|
|
11
10
|
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
12
11
|
})
|
|
13
12
|
export class BannerComponent {
|
|
@@ -8,7 +8,6 @@ import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
|
8
8
|
selector: 'app-case-create-stage',
|
|
9
9
|
templateUrl: './case-create-stage.component.html',
|
|
10
10
|
styleUrls: ['./case-create-stage.component.scss'],
|
|
11
|
-
standalone: true,
|
|
12
11
|
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
13
12
|
})
|
|
14
13
|
export class CaseCreateStageComponent implements OnInit, OnDestroy {
|
|
@@ -7,7 +7,6 @@ import { MatIconModule } from '@angular/material/icon';
|
|
|
7
7
|
selector: 'app-field-group',
|
|
8
8
|
templateUrl: './field-group.component.html',
|
|
9
9
|
styleUrls: ['./field-group.component.scss'],
|
|
10
|
-
standalone: true,
|
|
11
10
|
imports: [CommonModule, MatGridListModule, MatIconModule]
|
|
12
11
|
})
|
|
13
12
|
export class FieldGroupComponent {
|
package/lib/designSystemExtension/material-case-summary/material-case-summary.component.html
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
<dd class="psdk-csf-primary-field-data" [ngSwitch]="field.type.toLowerCase()">
|
|
15
15
|
<span *ngSwitchCase="'textinput'" class="psdk-csf-text-style">{{ field.config.value }}</span>
|
|
16
16
|
<span *ngSwitchCase="'status'" class="psdk-csf-status-style">{{ field.config.value }}</span>
|
|
17
|
-
<a *ngSwitchCase="'phone'" as="a" href="tel: {{ field.config.value }}">{{ field.config.value }}</a>
|
|
18
|
-
<a *ngSwitchCase="'email'" href="mailto: {{ field.config.value }}">{{ field.config.value }}</a>
|
|
17
|
+
<a *ngSwitchCase="'phone'" class="psdk-primary-color" as="a" href="tel: {{ field.config.value }}">{{ field.config.value }}</a>
|
|
18
|
+
<a *ngSwitchCase="'email'" class="psdk-primary-color" href="mailto: {{ field.config.value }}">{{ field.config.value }}</a>
|
|
19
19
|
<span *ngSwitchCase="'date'" class="psdk-csf-text-style">{{ field.config.value }}</span>
|
|
20
20
|
<label *ngSwitchCase="'caseoperator'">operator</label>
|
|
21
21
|
<span *ngSwitchDefault class="psdk-csf-text-style">{{ field.config.value }}</span>
|
|
@@ -35,7 +35,10 @@
|
|
|
35
35
|
else hasSecondaryValue
|
|
36
36
|
"
|
|
37
37
|
>
|
|
38
|
-
<component-mapper
|
|
38
|
+
<component-mapper
|
|
39
|
+
name="Operator"
|
|
40
|
+
[props]="{ pConn$: field?.kid, displayLabel: field?.displayLabel || field?.config.displayLabel }"
|
|
41
|
+
></component-mapper>
|
|
39
42
|
</div>
|
|
40
43
|
<ng-template #hasSecondaryValue>
|
|
41
44
|
<div class="psdk-csf-secondary-field">
|
package/lib/designSystemExtension/material-case-summary/material-case-summary.component.scss
CHANGED
|
@@ -18,36 +18,6 @@
|
|
|
18
18
|
margin-bottom: 0.75rem;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.psdk-case-summary-status-data {
|
|
22
|
-
display: block;
|
|
23
|
-
background-color: var(--app-primary-lightest-color);
|
|
24
|
-
color: var(--app-primary-color);
|
|
25
|
-
padding: 0rem 0.625rem;
|
|
26
|
-
display: inline;
|
|
27
|
-
font-size: 0.75rem;
|
|
28
|
-
font-weight: 700;
|
|
29
|
-
text-transform: uppercase;
|
|
30
|
-
line-height: 1.5rem;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.psdk-case-summary-primary .label {
|
|
34
|
-
font-weight: 600;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.psdk-case-summary-primary .data {
|
|
38
|
-
font-weight: 600;
|
|
39
|
-
font-size: 1.625rem;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.psdk-case-summary-secondary .label {
|
|
43
|
-
font-weight: 600;
|
|
44
|
-
}
|
|
45
|
-
.psdk-case-summary-secondary .data {
|
|
46
|
-
font-weight: 600;
|
|
47
|
-
// color: $app-primary-color;
|
|
48
|
-
padding-left: 1.25rem;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
21
|
.psdk-case-summary-fields {
|
|
52
22
|
// padding: calc(2 * 0.5rem);
|
|
53
23
|
display: grid;
|
|
@@ -74,7 +44,6 @@
|
|
|
74
44
|
max-width: max-content;
|
|
75
45
|
font-size: 0.8125rem;
|
|
76
46
|
font-weight: 400;
|
|
77
|
-
color: var(--app-field-header-color);
|
|
78
47
|
}
|
|
79
48
|
|
|
80
49
|
.psdk-csf-primary-field-data {
|
|
@@ -106,7 +75,6 @@
|
|
|
106
75
|
max-width: max-content;
|
|
107
76
|
font-size: 0.8125rem;
|
|
108
77
|
font-weight: 400;
|
|
109
|
-
color: var(--app-field-header-color);
|
|
110
78
|
align-items: center;
|
|
111
79
|
display: flex;
|
|
112
80
|
}
|
|
@@ -124,9 +92,8 @@ span.psdk-csf-text-style {
|
|
|
124
92
|
}
|
|
125
93
|
|
|
126
94
|
span.psdk-csf-status-style {
|
|
127
|
-
background-color: var(--
|
|
95
|
+
background-color: var(--mat-sys-surface-container-highest);
|
|
128
96
|
border-radius: calc(0.25 * 0.5rem);
|
|
129
|
-
color: var(--app-details-status-color);
|
|
130
97
|
display: inline-block;
|
|
131
98
|
font-size: 0.75rem;
|
|
132
99
|
font-weight: bold;
|
|
@@ -139,3 +106,7 @@ span.psdk-csf-status-style {
|
|
|
139
106
|
.psdk-secondary-value {
|
|
140
107
|
font-size: 1rem;
|
|
141
108
|
}
|
|
109
|
+
|
|
110
|
+
.psdk-primary-color {
|
|
111
|
+
color: var(--mat-sys-primary);
|
|
112
|
+
}
|
|
@@ -7,7 +7,6 @@ import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
|
7
7
|
selector: 'app-material-case-summary',
|
|
8
8
|
templateUrl: './material-case-summary.component.html',
|
|
9
9
|
styleUrls: ['./material-case-summary.component.scss'],
|
|
10
|
-
standalone: true,
|
|
11
10
|
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
12
11
|
})
|
|
13
12
|
export class MaterialCaseSummaryComponent implements OnInit, OnChanges {
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.psdk-details-fields-label {
|
|
26
|
-
color: var(--app-label-color);
|
|
27
26
|
margin: 8px 0px;
|
|
28
27
|
}
|
|
29
28
|
|
|
@@ -43,9 +42,7 @@ span.psdk-details-text-style {
|
|
|
43
42
|
}
|
|
44
43
|
|
|
45
44
|
span.psdk-details-status-style {
|
|
46
|
-
background-color: var(--app-details-status-background);
|
|
47
45
|
border-radius: calc(0.25 * 0.5rem);
|
|
48
|
-
color: var(--app-details-status-color);
|
|
49
46
|
display: inline-block;
|
|
50
47
|
font-size: 0.75rem;
|
|
51
48
|
font-weight: bold;
|
|
@@ -68,9 +65,7 @@ span.psdk-details-status-style {
|
|
|
68
65
|
}
|
|
69
66
|
|
|
70
67
|
span.psdk-details-status-style-hf {
|
|
71
|
-
background-color: var(--app-details-status-background);
|
|
72
68
|
border-radius: calc(0.25 * 0.5rem);
|
|
73
|
-
color: var(--app-details-status-color);
|
|
74
69
|
display: inline-block;
|
|
75
70
|
font-size: 1.25rem;
|
|
76
71
|
font-weight: 500;
|
|
@@ -7,7 +7,6 @@ import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
|
7
7
|
selector: 'app-material-details',
|
|
8
8
|
templateUrl: './material-details.component.html',
|
|
9
9
|
styleUrls: ['./material-details.component.scss'],
|
|
10
|
-
standalone: true,
|
|
11
10
|
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
12
11
|
})
|
|
13
12
|
export class MaterialDetailsComponent {
|
package/lib/designSystemExtension/material-details-fields/material-details-fields.component.html
CHANGED
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
<div [ngSwitch]="field.type.toLowerCase()" class="psdk-csf-primary-field-value">
|
|
18
18
|
<span *ngSwitchCase="'textinput'" class="psdk-details-text-style">{{ _getValue(field.config.value) }}</span>
|
|
19
19
|
<span *ngSwitchCase="'status'" class="psdk-details-status-style">{{ _getValue(field.config.value) }}</span>
|
|
20
|
-
<a *ngSwitchCase="'phone'" as="a" href="tel: {{ field.config.value }}">{{ _getValue(field.config.value) }}</a>
|
|
21
|
-
<a *ngSwitchCase="'email'" href="mailto: {{ field.config.value }}">{{ _getValue(field.config.value) }}</a>
|
|
20
|
+
<a *ngSwitchCase="'phone'" class="psdk-primary-color" as="a" href="tel: {{ field.config.value }}">{{ _getValue(field.config.value) }}</a>
|
|
21
|
+
<a *ngSwitchCase="'email'" class="psdk-primary-color" href="mailto: {{ field.config.value }}">{{ _getValue(field.config.value) }}</a>
|
|
22
22
|
<span *ngSwitchCase="'date'" class="psdk-details-text-style">{{ _formatDate(field.config.value, field.type) }}</span>
|
|
23
23
|
<span *ngSwitchCase="'caseoperator'"></span>
|
|
24
24
|
<span *ngSwitchDefault>{{ _getValue(field.config.value, field) }}</span>
|
package/lib/designSystemExtension/material-details-fields/material-details-fields.component.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
.psdk-details-fields-label {
|
|
2
|
-
color: var(--app-label-color);
|
|
3
2
|
margin: 8px 0px;
|
|
4
3
|
}
|
|
5
4
|
|
|
@@ -8,9 +7,7 @@ span.psdk-details-text-style-hf {
|
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
span.psdk-details-status-style-hf {
|
|
11
|
-
background-color: var(--app-details-status-background);
|
|
12
10
|
border-radius: calc(0.25 * 0.5rem);
|
|
13
|
-
color: var(--app-details-status-color);
|
|
14
11
|
display: inline-block;
|
|
15
12
|
font-size: 0.75rem;
|
|
16
13
|
font-weight: bold;
|
|
@@ -31,3 +28,7 @@ span.psdk-details-status-style-hf {
|
|
|
31
28
|
.psdk-csf-primary-field-value {
|
|
32
29
|
margin: 8px 0;
|
|
33
30
|
}
|
|
31
|
+
|
|
32
|
+
.psdk-primary-color {
|
|
33
|
+
color: var(--mat-sys-primary);
|
|
34
|
+
}
|
package/lib/designSystemExtension/material-details-fields/material-details-fields.component.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
|
7
7
|
selector: 'app-material-details-fields',
|
|
8
8
|
templateUrl: './material-details-fields.component.html',
|
|
9
9
|
styleUrls: ['./material-details-fields.component.scss'],
|
|
10
|
-
standalone: true,
|
|
11
10
|
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
12
11
|
})
|
|
13
12
|
export class MaterialDetailsFieldsComponent {
|
package/lib/designSystemExtension/material-summary-item/material-summary-item.component.scss
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.psdk-utility-divider {
|
|
7
|
-
border-bottom: 0.0625rem solid var(--
|
|
7
|
+
border-bottom: 0.0625rem solid var(--mat-sys-outline-variant);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.psdk-utility-view-all {
|
|
@@ -13,20 +13,6 @@
|
|
|
13
13
|
justify-content: center;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.psdk-utility-count {
|
|
17
|
-
background: var(--app-primary-light-color);
|
|
18
|
-
border-radius: calc(1.125 * 0.5rem);
|
|
19
|
-
color: var(--app-inverse-form-color);
|
|
20
|
-
display: inline-block;
|
|
21
|
-
font-size: 0.75rem;
|
|
22
|
-
font-weight: bold;
|
|
23
|
-
text-align: center;
|
|
24
|
-
width: 1.125rem;
|
|
25
|
-
|
|
26
|
-
vertical-align: top;
|
|
27
|
-
margin: 0 0 0.313rem 1rem;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
16
|
.psdk-utility .header-text {
|
|
31
17
|
font-size: 1rem;
|
|
32
18
|
font-weight: bold;
|
|
@@ -43,7 +29,6 @@
|
|
|
43
29
|
width: 100%;
|
|
44
30
|
padding: 0.625rem 0rem;
|
|
45
31
|
text-align: left;
|
|
46
|
-
background-color: var(--app-form-color);
|
|
47
32
|
border-radius: 0.6125rem;
|
|
48
33
|
margin: 0.3125rem 0rem;
|
|
49
34
|
}
|
|
@@ -77,6 +62,7 @@
|
|
|
77
62
|
.psdk-utility-card-icon {
|
|
78
63
|
flex-grow: 1;
|
|
79
64
|
max-width: 2.813rem;
|
|
65
|
+
filter: var(--app-primary-color-filter);
|
|
80
66
|
}
|
|
81
67
|
|
|
82
68
|
.psdk-utility-card-svg-icon {
|
|
@@ -90,7 +76,6 @@
|
|
|
90
76
|
}
|
|
91
77
|
|
|
92
78
|
.psdk-utility-card-main-primary-url {
|
|
93
|
-
color: var(--app-primary-color);
|
|
94
79
|
}
|
|
95
80
|
|
|
96
81
|
.psdk-utility-card-main-primary-url .mat-mdc-button.mat-primary {
|
|
@@ -109,6 +94,7 @@
|
|
|
109
94
|
.psdk-utility-card-action-svg-icon {
|
|
110
95
|
width: 1.4rem;
|
|
111
96
|
display: inline-block;
|
|
97
|
+
filter: var(--app-primary-color-filter);
|
|
112
98
|
}
|
|
113
99
|
|
|
114
100
|
.psdk-utility-card-actions-svg-icon {
|
|
@@ -122,4 +108,5 @@
|
|
|
122
108
|
width: 1.4rem;
|
|
123
109
|
display: inline-block;
|
|
124
110
|
vertical-align: bottom;
|
|
111
|
+
filter: var(--app-primary-color-filter);
|
|
125
112
|
}
|
|
@@ -8,7 +8,6 @@ import { Utils } from '@pega/angular-sdk-components';
|
|
|
8
8
|
selector: 'app-material-summary-item',
|
|
9
9
|
templateUrl: './material-summary-item.component.html',
|
|
10
10
|
styleUrls: ['./material-summary-item.component.scss'],
|
|
11
|
-
standalone: true,
|
|
12
11
|
imports: [CommonModule, MatButtonModule, MatMenuModule]
|
|
13
12
|
})
|
|
14
13
|
export class MaterialSummaryItemComponent implements OnInit {
|
|
@@ -6,7 +6,6 @@ import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
|
6
6
|
selector: 'app-material-summary-list',
|
|
7
7
|
templateUrl: './material-summary-list.component.html',
|
|
8
8
|
styleUrls: ['./material-summary-list.component.scss'],
|
|
9
|
-
standalone: true,
|
|
10
9
|
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
11
10
|
})
|
|
12
11
|
export class MaterialSummaryListComponent {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.psdk-case-view-divider {
|
|
7
|
-
border-bottom: 0.0625rem solid var(--
|
|
7
|
+
border-bottom: 0.0625rem solid var(--mat-sys-outline-variant);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.psdk-utility .header-text {
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
height: 6.25rem;
|
|
25
25
|
padding: 0.625rem 0rem;
|
|
26
26
|
text-align: left;
|
|
27
|
-
background-color: var(--app-form-color);
|
|
28
27
|
border-radius: 0.6125rem;
|
|
29
28
|
margin: 0.3125rem 0rem;
|
|
30
29
|
}
|
package/lib/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.scss
CHANGED
|
@@ -9,7 +9,7 @@ mat-button-toggle-group ::ng-deep .mat-button-toggle-appearance-standard {
|
|
|
9
9
|
|
|
10
10
|
mat-button-toggle-group ::ng-deep .mat-button-toggle.mat-button-toggle-checked.mat-button-toggle-appearance-standard {
|
|
11
11
|
background-color: transparent;
|
|
12
|
-
border-right: 0.1875rem solid var(--
|
|
12
|
+
border-right: 0.1875rem solid var(--mat-sys-primary);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
mat-button-toggle-group ::ng-deep .mat-button-toggle.mat-focus-indicator.mat-button-toggle-appearance-standard {
|
package/lib/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
|
|
7
7
|
selector: 'app-material-vertical-tabs',
|
|
8
8
|
templateUrl: './material-vertical-tabs.component.html',
|
|
9
9
|
styleUrls: ['./material-vertical-tabs.component.scss'],
|
|
10
|
-
standalone: true,
|
|
11
10
|
imports: [CommonModule, MatButtonToggleModule, MatBadgeModule]
|
|
12
11
|
})
|
|
13
12
|
export class MaterialVerticalTabsComponent implements OnInit {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<div *ngIf="bShowPopover$" class="psdk-operator-popover">
|
|
13
13
|
<dl>
|
|
14
14
|
<div *ngFor="let field of fields$; let i = index">
|
|
15
|
-
<dt
|
|
15
|
+
<dt>{{ field.name }}</dt>
|
|
16
16
|
<dd class="psdk-operator-value">{{ field.value }}</dd>
|
|
17
17
|
</div>
|
|
18
18
|
</dl>
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
font-size: 0.8rem;
|
|
5
|
-
color: var(--app-neutral-color);
|
|
6
5
|
padding-left: 0.625rem;
|
|
7
6
|
margin: 16px 0 8px 0;
|
|
8
7
|
}
|
|
@@ -19,22 +18,17 @@
|
|
|
19
18
|
display: table;
|
|
20
19
|
margin: auto;
|
|
21
20
|
min-width: 100px;
|
|
22
|
-
background-color: var(--
|
|
23
|
-
border: 1px solid var(--
|
|
21
|
+
background-color: var(--mat-sys-surface);
|
|
22
|
+
border: 1px solid var(--mat-sys-outline-variant);
|
|
24
23
|
border-radius: 10px;
|
|
25
24
|
padding: 20px;
|
|
26
|
-
box-shadow: 0 0 10px 3px var(--
|
|
25
|
+
box-shadow: 0 0 10px 3px var(--mat-sys-level3);
|
|
27
26
|
position: absolute;
|
|
28
27
|
z-index: 99;
|
|
29
28
|
}
|
|
30
29
|
|
|
31
|
-
.psdk-operator-name {
|
|
32
|
-
color: var(--app-neutral-color);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
30
|
.psdk-operator-value {
|
|
36
31
|
padding-left: 5px;
|
|
37
|
-
color: var(--app-neutral-dark-color);
|
|
38
32
|
margin: 0px;
|
|
39
33
|
}
|
|
40
34
|
|
|
@@ -85,5 +79,4 @@ dd {
|
|
|
85
79
|
word-break: break-word;
|
|
86
80
|
grid-column-start: 1;
|
|
87
81
|
max-width: max-content;
|
|
88
|
-
color: var(--app-field-header-color);
|
|
89
82
|
}
|
|
@@ -7,7 +7,6 @@ import { Utils } from '@pega/angular-sdk-components';
|
|
|
7
7
|
selector: 'app-operator',
|
|
8
8
|
templateUrl: './operator.component.html',
|
|
9
9
|
styleUrls: ['./operator.component.scss'],
|
|
10
|
-
standalone: true,
|
|
11
10
|
imports: [CommonModule, MatButtonModule]
|
|
12
11
|
})
|
|
13
12
|
export class OperatorComponent implements OnInit, OnChanges, OnDestroy {
|
|
@@ -46,7 +45,6 @@ export class OperatorComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
46
45
|
}
|
|
47
46
|
}
|
|
48
47
|
|
|
49
|
-
// eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method
|
|
50
48
|
ngOnDestroy(): void {
|
|
51
49
|
// Ref: https://medium.com/@kamil.galek/mythical-angular-component-styles-cleanup-in-angular-17-f799a08b2abc
|
|
52
50
|
// Commenting the below line as it is causing the Operator component's styles not getting applied.
|
|
@@ -10,7 +10,6 @@ interface PulseProps {
|
|
|
10
10
|
selector: 'app-pulse',
|
|
11
11
|
templateUrl: './pulse.component.html',
|
|
12
12
|
styleUrls: ['./pulse.component.scss'],
|
|
13
|
-
standalone: true,
|
|
14
13
|
imports: [forwardRef(() => ComponentMapperComponent)]
|
|
15
14
|
})
|
|
16
15
|
export class PulseComponent implements OnInit {
|
|
@@ -1,32 +1,19 @@
|
|
|
1
1
|
<div [attr.data-test-id]="testId">
|
|
2
2
|
<label [ngClass]="{ 'label-required': required === true }" class="rich-text-label">{{ label }}</label>
|
|
3
|
+
|
|
3
4
|
<div class="rich-text-editor" *ngIf="!readonly">
|
|
4
5
|
<editor
|
|
5
6
|
[formControl]="richText"
|
|
6
7
|
[attr.disabled]="disabled"
|
|
7
8
|
[initialValue]="value"
|
|
8
|
-
[init]="
|
|
9
|
-
base_url: '/tinymce',
|
|
10
|
-
suffix: '.min',
|
|
11
|
-
menubar: false,
|
|
12
|
-
placeholder,
|
|
13
|
-
statusbar: false,
|
|
14
|
-
min_height: 130,
|
|
15
|
-
plugins: ['lists', 'advlist', 'autolink', 'image', 'link', 'autoresize'],
|
|
16
|
-
autoresize_bottom_margin: 0,
|
|
17
|
-
toolbar: disabled ? false : 'blocks | bold italic strikethrough | bullist numlist outdent indent | link image',
|
|
18
|
-
toolbar_location: 'bottom',
|
|
19
|
-
content_style: 'body { font-family:Helvetica, Arial,sans-serif; font-size:14px }',
|
|
20
|
-
branding: false,
|
|
21
|
-
paste_data_images: true,
|
|
22
|
-
file_picker_types: 'image',
|
|
23
|
-
file_picker_callback: filePickerCallback
|
|
24
|
-
}"
|
|
9
|
+
[init]="editorConfig"
|
|
25
10
|
(onBlur)="blur()"
|
|
26
11
|
(onChange)="change($event)"
|
|
27
12
|
></editor>
|
|
13
|
+
|
|
28
14
|
<p *ngIf="richText.invalid" [ngClass]="'text-editor-error'">{{ info }}</p>
|
|
29
15
|
</div>
|
|
16
|
+
|
|
30
17
|
<div *ngIf="readonly">
|
|
31
18
|
<div class="readonly-richtext-editor" style="margin: 10px 5px" [innerHTML]="value || '--'"></div>
|
|
32
19
|
</div>
|
|
@@ -9,7 +9,6 @@ declare let tinymce: any;
|
|
|
9
9
|
selector: 'app-rich-text-editor',
|
|
10
10
|
templateUrl: './rich-text-editor.component.html',
|
|
11
11
|
styleUrls: ['./rich-text-editor.component.scss'],
|
|
12
|
-
standalone: true,
|
|
13
12
|
imports: [CommonModule, EditorModule, ReactiveFormsModule],
|
|
14
13
|
providers: [{ provide: TINYMCE_SCRIPT_SRC, useValue: 'tinymce/tinymce.min.js' }]
|
|
15
14
|
})
|
|
@@ -28,6 +27,7 @@ export class RichTextEditorComponent implements OnChanges {
|
|
|
28
27
|
@Output() onChange: EventEmitter<any> = new EventEmitter();
|
|
29
28
|
|
|
30
29
|
richText = new FormControl();
|
|
30
|
+
editorConfig: any = {};
|
|
31
31
|
|
|
32
32
|
ngOnChanges() {
|
|
33
33
|
if (this.required) {
|
|
@@ -43,6 +43,35 @@ export class RichTextEditorComponent implements OnChanges {
|
|
|
43
43
|
if (this.value) {
|
|
44
44
|
this.richText.setValue(this.value);
|
|
45
45
|
}
|
|
46
|
+
|
|
47
|
+
const themeElement = document.querySelector('.dark') || document.body;
|
|
48
|
+
let textColor = getComputedStyle(themeElement).getPropertyValue('--mat-sys-on-surface').trim();
|
|
49
|
+
if (!textColor) textColor = '#000000';
|
|
50
|
+
|
|
51
|
+
this.editorConfig = {
|
|
52
|
+
base_url: '/tinymce',
|
|
53
|
+
suffix: '.min',
|
|
54
|
+
menubar: false,
|
|
55
|
+
placeholder: this.placeholder,
|
|
56
|
+
statusbar: false,
|
|
57
|
+
min_height: 130,
|
|
58
|
+
plugins: ['lists', 'advlist', 'autolink', 'image', 'link', 'autoresize'],
|
|
59
|
+
autoresize_bottom_margin: 0,
|
|
60
|
+
toolbar: this.disabled ? false : 'blocks | bold italic strikethrough | bullist numlist outdent indent | link image',
|
|
61
|
+
toolbar_location: 'bottom',
|
|
62
|
+
content_style: `
|
|
63
|
+
body {
|
|
64
|
+
font-family: Helvetica, Arial, sans-serif;
|
|
65
|
+
font-size: 14px;
|
|
66
|
+
color: ${textColor} !important;
|
|
67
|
+
background: transparent !important;
|
|
68
|
+
}
|
|
69
|
+
`,
|
|
70
|
+
branding: false,
|
|
71
|
+
paste_data_images: true,
|
|
72
|
+
file_picker_types: 'image',
|
|
73
|
+
file_picker_callback: this.filePickerCallback
|
|
74
|
+
};
|
|
46
75
|
}
|
|
47
76
|
|
|
48
77
|
filePickerCallback = cb => {
|
|
@@ -1,24 +1,31 @@
|
|
|
1
|
+
.quick-link-button:hover .quick-link-icon {
|
|
2
|
+
transform: scale(1.2) rotateZ(10deg);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.wss-quick-create-header {
|
|
6
|
+
background-color: var(--mat-sys-surface-container);
|
|
7
|
+
}
|
|
8
|
+
|
|
1
9
|
.quick-link-ul-list {
|
|
2
10
|
list-style: none;
|
|
3
11
|
padding: 0;
|
|
4
|
-
grid-template-columns: repeat(auto-fill, minmax(min(
|
|
12
|
+
grid-template-columns: repeat(auto-fill, minmax(min(20ch, 100%), 1fr));
|
|
5
13
|
display: grid;
|
|
6
14
|
gap: calc(1rem);
|
|
7
15
|
}
|
|
8
16
|
|
|
9
17
|
.quick-link-list {
|
|
10
|
-
background-color: var(--
|
|
11
|
-
|
|
12
|
-
border
|
|
18
|
+
background-color: var(--mat-sys-surface-container);
|
|
19
|
+
border-radius: 16px;
|
|
20
|
+
border: 1px solid var(--mat-sys-primary);
|
|
13
21
|
}
|
|
14
22
|
|
|
15
23
|
.quick-link-button {
|
|
16
24
|
text-transform: capitalize !important;
|
|
17
25
|
font-size: 16px !important;
|
|
18
|
-
color: var(--app-form-color) !important;
|
|
19
26
|
cursor: pointer;
|
|
20
27
|
padding: calc(0.5rem * 2) !important;
|
|
21
|
-
height:
|
|
28
|
+
height: 10rem;
|
|
22
29
|
width: 100%;
|
|
23
30
|
justify-content: start !important;
|
|
24
31
|
background-color: transparent;
|
|
@@ -26,14 +33,14 @@
|
|
|
26
33
|
}
|
|
27
34
|
|
|
28
35
|
.quick-link-icon {
|
|
29
|
-
width:
|
|
30
|
-
height:
|
|
36
|
+
width: 3em;
|
|
37
|
+
height: 3em;
|
|
31
38
|
flex-shrink: 0;
|
|
32
|
-
filter: invert(100%);
|
|
33
39
|
}
|
|
34
40
|
|
|
35
41
|
.quick-link-button-span {
|
|
36
42
|
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
37
44
|
align-items: center;
|
|
38
45
|
gap: 0.5rem;
|
|
39
46
|
}
|