@fluxhub/fluxhub-lib 19.0.226 → 19.0.228
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/fesm2022/fluxhub-fluxhub-lib.mjs +84 -13
- package/fesm2022/fluxhub-fluxhub-lib.mjs.map +1 -1
- package/lib/home-components/fh-home-todo/fh-home-todo.component.d.ts +9 -2
- package/lib/models/FHToolBarCustomAction.d.ts +9 -0
- package/lib/wkf_engine_v2/wkf-header-bar.d.ts +1 -0
- package/package.json +1 -1
|
@@ -27063,6 +27063,9 @@ class FHToolBarCustomAction {
|
|
|
27063
27063
|
icon;
|
|
27064
27064
|
hidden = false;
|
|
27065
27065
|
primary = false;
|
|
27066
|
+
// Posizione nella barra. Se omessa: 'left' quando primary è true (retrocompatibile),
|
|
27067
|
+
// altrimenti 'right'.
|
|
27068
|
+
position;
|
|
27066
27069
|
}
|
|
27067
27070
|
|
|
27068
27071
|
class OfficeOperation {
|
|
@@ -35036,6 +35039,7 @@ class FHWorkflowHeaderBar {
|
|
|
35036
35039
|
next_label_color = false;
|
|
35037
35040
|
tipologiaAllegati = '';
|
|
35038
35041
|
custom_commands_pri = [];
|
|
35042
|
+
custom_commands_mid = [];
|
|
35039
35043
|
custom_commands_sec = [];
|
|
35040
35044
|
back_lbl = 'Indietro';
|
|
35041
35045
|
save_lbl = 'Salva';
|
|
@@ -35058,10 +35062,16 @@ class FHWorkflowHeaderBar {
|
|
|
35058
35062
|
}
|
|
35059
35063
|
set_custom_buttons() {
|
|
35060
35064
|
this.custom_commands_pri = [];
|
|
35065
|
+
this.custom_commands_mid = [];
|
|
35061
35066
|
this.custom_commands_sec = [];
|
|
35062
35067
|
this.custom_commands.forEach((v) => {
|
|
35063
|
-
|
|
35068
|
+
// Posizione esplicita se indicata; altrimenti retrocompatibile:
|
|
35069
|
+
// primary=true -> 'left', altrimenti -> 'right'.
|
|
35070
|
+
const pos = v.position ?? (v.primary ? 'left' : 'right');
|
|
35071
|
+
if (pos === 'left')
|
|
35064
35072
|
this.custom_commands_pri.push(v);
|
|
35073
|
+
else if (pos === 'actions')
|
|
35074
|
+
this.custom_commands_mid.push(v);
|
|
35065
35075
|
else
|
|
35066
35076
|
this.custom_commands_sec.push(v);
|
|
35067
35077
|
});
|
|
@@ -35249,6 +35259,22 @@ class FHWorkflowHeaderBar {
|
|
|
35249
35259
|
{{ (dt_agg.reject_label||'Respingi') | translate }}
|
|
35250
35260
|
</button>
|
|
35251
35261
|
|
|
35262
|
+
<!-- Pulsanti custom con position='actions': tra Respingi e Procedi
|
|
35263
|
+
(es. un pulsante da mostrare subito prima del tasto di avanzamento). -->
|
|
35264
|
+
<ng-container *ngIf="custom_commands_mid.length > 0">
|
|
35265
|
+
<ng-container *ngFor="let app of custom_commands_mid">
|
|
35266
|
+
<button
|
|
35267
|
+
[hidden]="app.hidden != null && app.hidden"
|
|
35268
|
+
mat-flat-button
|
|
35269
|
+
[color]="app.color"
|
|
35270
|
+
(click)="exec_command(app.command)"
|
|
35271
|
+
>
|
|
35272
|
+
<mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
|
|
35273
|
+
>{{ app.label | translate }}
|
|
35274
|
+
</button>
|
|
35275
|
+
|
|
35276
|
+
</ng-container>
|
|
35277
|
+
</ng-container>
|
|
35252
35278
|
<button
|
|
35253
35279
|
mat-flat-button
|
|
35254
35280
|
(click)="procedi()"
|
|
@@ -35500,6 +35526,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
35500
35526
|
{{ (dt_agg.reject_label||'Respingi') | translate }}
|
|
35501
35527
|
</button>
|
|
35502
35528
|
|
|
35529
|
+
<!-- Pulsanti custom con position='actions': tra Respingi e Procedi
|
|
35530
|
+
(es. un pulsante da mostrare subito prima del tasto di avanzamento). -->
|
|
35531
|
+
<ng-container *ngIf="custom_commands_mid.length > 0">
|
|
35532
|
+
<ng-container *ngFor="let app of custom_commands_mid">
|
|
35533
|
+
<button
|
|
35534
|
+
[hidden]="app.hidden != null && app.hidden"
|
|
35535
|
+
mat-flat-button
|
|
35536
|
+
[color]="app.color"
|
|
35537
|
+
(click)="exec_command(app.command)"
|
|
35538
|
+
>
|
|
35539
|
+
<mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
|
|
35540
|
+
>{{ app.label | translate }}
|
|
35541
|
+
</button>
|
|
35542
|
+
|
|
35543
|
+
</ng-container>
|
|
35544
|
+
</ng-container>
|
|
35503
35545
|
<button
|
|
35504
35546
|
mat-flat-button
|
|
35505
35547
|
(click)="procedi()"
|
|
@@ -36978,8 +37020,11 @@ class FHHomeTodoComponent {
|
|
|
36978
37020
|
// ---- Tema ----
|
|
36979
37021
|
accent = "#63b345";
|
|
36980
37022
|
accentDark = "#3f7029";
|
|
37023
|
+
/** Colore del badge col conteggio sui chip categoria (default arancione). */
|
|
37024
|
+
badgeColor = "#e58a00";
|
|
36981
37025
|
get _a() { return this.accent; }
|
|
36982
37026
|
get _ad() { return this.accentDark; }
|
|
37027
|
+
get _b() { return this.badgeColor; }
|
|
36983
37028
|
// ---- Testi ----
|
|
36984
37029
|
title = "To-Do";
|
|
36985
37030
|
subtitle = "Le attività dei workflow assegnate a te";
|
|
@@ -37002,6 +37047,8 @@ class FHHomeTodoComponent {
|
|
|
37002
37047
|
fieldLink = "link";
|
|
37003
37048
|
/** Campo che contiene il nome categoria nella query categorie. */
|
|
37004
37049
|
fieldCategory = "valore";
|
|
37050
|
+
/** Campo (opzionale) col conteggio per categoria: se presente e > 0 mostra un badge. */
|
|
37051
|
+
fieldCategoryCount = "cnt";
|
|
37005
37052
|
/** Emesso quando l'utente apre un task. */
|
|
37006
37053
|
todoOpen = new EventEmitter();
|
|
37007
37054
|
username;
|
|
@@ -37009,6 +37056,10 @@ class FHHomeTodoComponent {
|
|
|
37009
37056
|
errorMsg = "";
|
|
37010
37057
|
categories = [];
|
|
37011
37058
|
selectedCat = "";
|
|
37059
|
+
/** Totale per il badge del chip "Tutti": somma dei conteggi di categoria. */
|
|
37060
|
+
get totalCount() {
|
|
37061
|
+
return (this.categories || []).reduce((s, c) => s + (Number(c[this.fieldCategoryCount]) || 0), 0);
|
|
37062
|
+
}
|
|
37012
37063
|
constructor(_dataService, app_service) {
|
|
37013
37064
|
this._dataService = _dataService;
|
|
37014
37065
|
this.app_service = app_service;
|
|
@@ -37029,7 +37080,8 @@ class FHHomeTodoComponent {
|
|
|
37029
37080
|
cp.values = [this.username];
|
|
37030
37081
|
this._dataService.doQuery(cp).subscribe((data) => {
|
|
37031
37082
|
if (data?.result_msg === "OK") {
|
|
37032
|
-
|
|
37083
|
+
// Teniamo le righe intere: servono il valore categoria (fieldCategory) e il conteggio (fieldCategoryCount).
|
|
37084
|
+
this.categories = data.result_data || [];
|
|
37033
37085
|
}
|
|
37034
37086
|
});
|
|
37035
37087
|
}
|
|
@@ -37063,7 +37115,7 @@ class FHHomeTodoComponent {
|
|
|
37063
37115
|
this.todoOpen.emit(o);
|
|
37064
37116
|
}
|
|
37065
37117
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHHomeTodoComponent, deps: [{ token: QueryService }, { token: AppService }], target: i0.ɵɵFactoryTarget.Component });
|
|
37066
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHHomeTodoComponent, isStandalone: true, selector: "FHHomeTodo", inputs: { accent: "accent", accentDark: "accentDark", title: "title", subtitle: "subtitle", tagLabel: "tagLabel", icon: "icon", allLabel: "allLabel", emptyTitle: "emptyTitle", emptySub: "emptySub", dateFormat: "dateFormat", showCategoryFilter: "showCategoryFilter", sqlCategories: "sqlCategories", sqlByUser: "sqlByUser", sqlByUserCat: "sqlByUserCat", fieldLabel: "fieldLabel", fieldMeta: "fieldMeta", fieldDate: "fieldDate", fieldLink: "fieldLink", fieldCategory: "fieldCategory" }, outputs: { todoOpen: "todoOpen" }, host: { properties: { "style.--fh-home-accent": "this._a", "style.--fh-home-accent-dark": "this._ad" } }, ngImport: i0, template: `
|
|
37118
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHHomeTodoComponent, isStandalone: true, selector: "FHHomeTodo", inputs: { accent: "accent", accentDark: "accentDark", badgeColor: "badgeColor", title: "title", subtitle: "subtitle", tagLabel: "tagLabel", icon: "icon", allLabel: "allLabel", emptyTitle: "emptyTitle", emptySub: "emptySub", dateFormat: "dateFormat", showCategoryFilter: "showCategoryFilter", sqlCategories: "sqlCategories", sqlByUser: "sqlByUser", sqlByUserCat: "sqlByUserCat", fieldLabel: "fieldLabel", fieldMeta: "fieldMeta", fieldDate: "fieldDate", fieldLink: "fieldLink", fieldCategory: "fieldCategory", fieldCategoryCount: "fieldCategoryCount" }, outputs: { todoOpen: "todoOpen" }, host: { properties: { "style.--fh-home-accent": "this._a", "style.--fh-home-accent-dark": "this._ad", "style.--fh-home-badge": "this._b" } }, ngImport: i0, template: `
|
|
37067
37119
|
<div class="tool-panel">
|
|
37068
37120
|
<div class="panel-head">
|
|
37069
37121
|
<div>
|
|
@@ -37078,13 +37130,19 @@ class FHHomeTodoComponent {
|
|
|
37078
37130
|
<div class="panel-body">
|
|
37079
37131
|
|
|
37080
37132
|
<div class="cat-tabs" *ngIf="showCategoryFilter && categories.length">
|
|
37081
|
-
<button class="cat-tab" [class.cat-tab-active]="selectedCat === ''" (click)="select_cat('')">
|
|
37133
|
+
<button class="cat-tab" [class.cat-tab-active]="selectedCat === ''" (click)="select_cat('')">
|
|
37134
|
+
{{ allLabel }}
|
|
37135
|
+
<span class="cat-badge" *ngIf="totalCount > 0">{{ totalCount }}</span>
|
|
37136
|
+
</button>
|
|
37082
37137
|
<button
|
|
37083
37138
|
class="cat-tab"
|
|
37084
37139
|
*ngFor="let cat of categories"
|
|
37085
|
-
[class.cat-tab-active]="selectedCat === cat"
|
|
37086
|
-
(click)="select_cat(cat)"
|
|
37087
|
-
>
|
|
37140
|
+
[class.cat-tab-active]="selectedCat === cat[fieldCategory]"
|
|
37141
|
+
(click)="select_cat(cat[fieldCategory])"
|
|
37142
|
+
>
|
|
37143
|
+
{{ cat[fieldCategory] }}
|
|
37144
|
+
<span class="cat-badge" *ngIf="cat[fieldCategoryCount] > 0">{{ cat[fieldCategoryCount] }}</span>
|
|
37145
|
+
</button>
|
|
37088
37146
|
</div>
|
|
37089
37147
|
|
|
37090
37148
|
<div class="tool-list">
|
|
@@ -37110,7 +37168,7 @@ class FHHomeTodoComponent {
|
|
|
37110
37168
|
</div>
|
|
37111
37169
|
|
|
37112
37170
|
<p class="tool-error" *ngIf="errorMsg != ''">{{ errorMsg }}</p>
|
|
37113
|
-
`, isInline: true, styles: [":host{display:block;height:100%}.tool-panel{height:100%;box-sizing:border-box;display:flex;flex-direction:column;background:#fff;border:1px solid rgba(22,18,18,.1);border-radius:10px;padding:16px 18px}.panel-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid rgba(22,18,18,.06);margin-bottom:10px}.panel-title{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#161212;display:flex;align-items:center;gap:8px}.panel-title i{font-size:18px;color:var(--fh-home-accent, #63b345)}.panel-sub{font-family:Inter,sans-serif;font-size:11px;color:#8c8585;margin-top:3px}.tag{display:inline-block;padding:3px 10px;border-radius:999px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.tag-accent{background:var(--fh-home-accent-soft, rgba(99, 179, 69, .12));color:var(--fh-home-accent-dark, #3f7029)}.panel-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.cat-tabs{flex:0 0 auto;display:flex;gap:0;overflow-x:auto;border-bottom:2px solid rgba(22,18,18,.08);margin-bottom:8px;scrollbar-width:none}.cat-tabs::-webkit-scrollbar{display:none}.cat-tab{flex:0 0 auto;padding:5px 14px 7px;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;background:transparent;font-family:Inter,sans-serif;font-size:12px;font-weight:500;color:#8c8585;cursor:pointer;white-space:nowrap;transition:color .15s ease,border-color .15s ease}.cat-tab:hover{color:#443d3d}.cat-tab-active{color:var(--fh-home-accent-dark, #3f7029);font-weight:700;border-bottom-color:var(--fh-home-accent, #63b345)}.tool-list{flex:1 1 auto;min-height:0;height:175px;overflow-y:auto;overflow-x:hidden}.tool-row{width:100%;display:flex;align-items:center;gap:10px;padding:7px 2px 7px 0;border:none;border-bottom:1px solid rgba(22,18,18,.07);background:transparent;cursor:pointer;text-align:left;font-family:Inter,sans-serif;font-size:13px;font-weight:500;color:#443d3d;transition:color .15s ease,padding-left .15s ease}.tool-row:last-child{border-bottom:none}.tool-row-label{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tool-row-meta{flex:0 0 auto;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#a39b9b}.tool-row-date{flex:0 0 auto;font-size:11px;font-weight:400;color:#a39b9b;white-space:nowrap}.tool-row-arrow{flex:0 0 auto;font-size:16px;color:transparent;transition:color .15s ease,transform .15s ease}.tool-row:hover{color:var(--fh-home-accent-dark, #3f7029);padding-left:6px}.tool-row:hover .tool-row-arrow{color:var(--fh-home-accent-dark, #3f7029);transform:translate(2px)}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:150px;text-align:center;color:#a39b9b}.empty-icon{font-size:30px;color:var(--fh-home-accent-faint, rgba(99, 179, 69, .45));margin-bottom:4px}.empty-title{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:700;color:#5c5454}.empty-sub{font-family:Inter,sans-serif;font-size:12px;color:#877d7d}.tool-error{color:#c00;font-size:9px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i5.DatePipe, name: "date" }] });
|
|
37171
|
+
`, isInline: true, styles: [":host{display:block;height:100%}.tool-panel{height:100%;box-sizing:border-box;display:flex;flex-direction:column;background:#fff;border:1px solid rgba(22,18,18,.1);border-radius:10px;padding:16px 18px}.panel-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid rgba(22,18,18,.06);margin-bottom:10px}.panel-title{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#161212;display:flex;align-items:center;gap:8px}.panel-title i{font-size:18px;color:var(--fh-home-accent, #63b345)}.panel-sub{font-family:Inter,sans-serif;font-size:11px;color:#8c8585;margin-top:3px}.tag{display:inline-block;padding:3px 10px;border-radius:999px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.tag-accent{background:var(--fh-home-accent-soft, rgba(99, 179, 69, .12));color:var(--fh-home-accent-dark, #3f7029)}.panel-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.cat-tabs{flex:0 0 auto;display:flex;gap:0;overflow-x:auto;border-bottom:2px solid rgba(22,18,18,.08);margin-bottom:8px;scrollbar-width:none}.cat-tabs::-webkit-scrollbar{display:none}.cat-tab{flex:0 0 auto;padding:5px 14px 7px;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;background:transparent;font-family:Inter,sans-serif;font-size:12px;font-weight:500;color:#8c8585;cursor:pointer;white-space:nowrap;transition:color .15s ease,border-color .15s ease}.cat-tab:hover{color:#443d3d}.cat-tab-active{color:var(--fh-home-accent-dark, #3f7029);font-weight:700;border-bottom-color:var(--fh-home-accent, #63b345)}.cat-badge{display:inline-block;min-width:16px;height:16px;padding:0 5px;margin-left:6px;border-radius:999px;background:var(--fh-home-badge, #e58a00);color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center;vertical-align:middle}.tool-list{flex:1 1 auto;min-height:0;height:175px;overflow-y:auto;overflow-x:hidden}.tool-row{width:100%;display:flex;align-items:center;gap:10px;padding:7px 2px 7px 0;border:none;border-bottom:1px solid rgba(22,18,18,.07);background:transparent;cursor:pointer;text-align:left;font-family:Inter,sans-serif;font-size:13px;font-weight:500;color:#443d3d;transition:color .15s ease,padding-left .15s ease}.tool-row:last-child{border-bottom:none}.tool-row-label{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tool-row-meta{flex:0 0 auto;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#a39b9b}.tool-row-date{flex:0 0 auto;font-size:11px;font-weight:400;color:#a39b9b;white-space:nowrap}.tool-row-arrow{flex:0 0 auto;font-size:16px;color:transparent;transition:color .15s ease,transform .15s ease}.tool-row:hover{color:var(--fh-home-accent-dark, #3f7029);padding-left:6px}.tool-row:hover .tool-row-arrow{color:var(--fh-home-accent-dark, #3f7029);transform:translate(2px)}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:150px;text-align:center;color:#a39b9b}.empty-icon{font-size:30px;color:var(--fh-home-accent-faint, rgba(99, 179, 69, .45));margin-bottom:4px}.empty-title{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:700;color:#5c5454}.empty-sub{font-family:Inter,sans-serif;font-size:12px;color:#877d7d}.tool-error{color:#c00;font-size:9px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i5.DatePipe, name: "date" }] });
|
|
37114
37172
|
}
|
|
37115
37173
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHHomeTodoComponent, decorators: [{
|
|
37116
37174
|
type: Component,
|
|
@@ -37129,13 +37187,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
37129
37187
|
<div class="panel-body">
|
|
37130
37188
|
|
|
37131
37189
|
<div class="cat-tabs" *ngIf="showCategoryFilter && categories.length">
|
|
37132
|
-
<button class="cat-tab" [class.cat-tab-active]="selectedCat === ''" (click)="select_cat('')">
|
|
37190
|
+
<button class="cat-tab" [class.cat-tab-active]="selectedCat === ''" (click)="select_cat('')">
|
|
37191
|
+
{{ allLabel }}
|
|
37192
|
+
<span class="cat-badge" *ngIf="totalCount > 0">{{ totalCount }}</span>
|
|
37193
|
+
</button>
|
|
37133
37194
|
<button
|
|
37134
37195
|
class="cat-tab"
|
|
37135
37196
|
*ngFor="let cat of categories"
|
|
37136
|
-
[class.cat-tab-active]="selectedCat === cat"
|
|
37137
|
-
(click)="select_cat(cat)"
|
|
37138
|
-
>
|
|
37197
|
+
[class.cat-tab-active]="selectedCat === cat[fieldCategory]"
|
|
37198
|
+
(click)="select_cat(cat[fieldCategory])"
|
|
37199
|
+
>
|
|
37200
|
+
{{ cat[fieldCategory] }}
|
|
37201
|
+
<span class="cat-badge" *ngIf="cat[fieldCategoryCount] > 0">{{ cat[fieldCategoryCount] }}</span>
|
|
37202
|
+
</button>
|
|
37139
37203
|
</div>
|
|
37140
37204
|
|
|
37141
37205
|
<div class="tool-list">
|
|
@@ -37161,17 +37225,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
37161
37225
|
</div>
|
|
37162
37226
|
|
|
37163
37227
|
<p class="tool-error" *ngIf="errorMsg != ''">{{ errorMsg }}</p>
|
|
37164
|
-
`, styles: [":host{display:block;height:100%}.tool-panel{height:100%;box-sizing:border-box;display:flex;flex-direction:column;background:#fff;border:1px solid rgba(22,18,18,.1);border-radius:10px;padding:16px 18px}.panel-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid rgba(22,18,18,.06);margin-bottom:10px}.panel-title{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#161212;display:flex;align-items:center;gap:8px}.panel-title i{font-size:18px;color:var(--fh-home-accent, #63b345)}.panel-sub{font-family:Inter,sans-serif;font-size:11px;color:#8c8585;margin-top:3px}.tag{display:inline-block;padding:3px 10px;border-radius:999px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.tag-accent{background:var(--fh-home-accent-soft, rgba(99, 179, 69, .12));color:var(--fh-home-accent-dark, #3f7029)}.panel-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.cat-tabs{flex:0 0 auto;display:flex;gap:0;overflow-x:auto;border-bottom:2px solid rgba(22,18,18,.08);margin-bottom:8px;scrollbar-width:none}.cat-tabs::-webkit-scrollbar{display:none}.cat-tab{flex:0 0 auto;padding:5px 14px 7px;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;background:transparent;font-family:Inter,sans-serif;font-size:12px;font-weight:500;color:#8c8585;cursor:pointer;white-space:nowrap;transition:color .15s ease,border-color .15s ease}.cat-tab:hover{color:#443d3d}.cat-tab-active{color:var(--fh-home-accent-dark, #3f7029);font-weight:700;border-bottom-color:var(--fh-home-accent, #63b345)}.tool-list{flex:1 1 auto;min-height:0;height:175px;overflow-y:auto;overflow-x:hidden}.tool-row{width:100%;display:flex;align-items:center;gap:10px;padding:7px 2px 7px 0;border:none;border-bottom:1px solid rgba(22,18,18,.07);background:transparent;cursor:pointer;text-align:left;font-family:Inter,sans-serif;font-size:13px;font-weight:500;color:#443d3d;transition:color .15s ease,padding-left .15s ease}.tool-row:last-child{border-bottom:none}.tool-row-label{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tool-row-meta{flex:0 0 auto;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#a39b9b}.tool-row-date{flex:0 0 auto;font-size:11px;font-weight:400;color:#a39b9b;white-space:nowrap}.tool-row-arrow{flex:0 0 auto;font-size:16px;color:transparent;transition:color .15s ease,transform .15s ease}.tool-row:hover{color:var(--fh-home-accent-dark, #3f7029);padding-left:6px}.tool-row:hover .tool-row-arrow{color:var(--fh-home-accent-dark, #3f7029);transform:translate(2px)}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:150px;text-align:center;color:#a39b9b}.empty-icon{font-size:30px;color:var(--fh-home-accent-faint, rgba(99, 179, 69, .45));margin-bottom:4px}.empty-title{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:700;color:#5c5454}.empty-sub{font-family:Inter,sans-serif;font-size:12px;color:#877d7d}.tool-error{color:#c00;font-size:9px}\n"] }]
|
|
37228
|
+
`, styles: [":host{display:block;height:100%}.tool-panel{height:100%;box-sizing:border-box;display:flex;flex-direction:column;background:#fff;border:1px solid rgba(22,18,18,.1);border-radius:10px;padding:16px 18px}.panel-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid rgba(22,18,18,.06);margin-bottom:10px}.panel-title{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#161212;display:flex;align-items:center;gap:8px}.panel-title i{font-size:18px;color:var(--fh-home-accent, #63b345)}.panel-sub{font-family:Inter,sans-serif;font-size:11px;color:#8c8585;margin-top:3px}.tag{display:inline-block;padding:3px 10px;border-radius:999px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.tag-accent{background:var(--fh-home-accent-soft, rgba(99, 179, 69, .12));color:var(--fh-home-accent-dark, #3f7029)}.panel-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.cat-tabs{flex:0 0 auto;display:flex;gap:0;overflow-x:auto;border-bottom:2px solid rgba(22,18,18,.08);margin-bottom:8px;scrollbar-width:none}.cat-tabs::-webkit-scrollbar{display:none}.cat-tab{flex:0 0 auto;padding:5px 14px 7px;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;background:transparent;font-family:Inter,sans-serif;font-size:12px;font-weight:500;color:#8c8585;cursor:pointer;white-space:nowrap;transition:color .15s ease,border-color .15s ease}.cat-tab:hover{color:#443d3d}.cat-tab-active{color:var(--fh-home-accent-dark, #3f7029);font-weight:700;border-bottom-color:var(--fh-home-accent, #63b345)}.cat-badge{display:inline-block;min-width:16px;height:16px;padding:0 5px;margin-left:6px;border-radius:999px;background:var(--fh-home-badge, #e58a00);color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center;vertical-align:middle}.tool-list{flex:1 1 auto;min-height:0;height:175px;overflow-y:auto;overflow-x:hidden}.tool-row{width:100%;display:flex;align-items:center;gap:10px;padding:7px 2px 7px 0;border:none;border-bottom:1px solid rgba(22,18,18,.07);background:transparent;cursor:pointer;text-align:left;font-family:Inter,sans-serif;font-size:13px;font-weight:500;color:#443d3d;transition:color .15s ease,padding-left .15s ease}.tool-row:last-child{border-bottom:none}.tool-row-label{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tool-row-meta{flex:0 0 auto;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#a39b9b}.tool-row-date{flex:0 0 auto;font-size:11px;font-weight:400;color:#a39b9b;white-space:nowrap}.tool-row-arrow{flex:0 0 auto;font-size:16px;color:transparent;transition:color .15s ease,transform .15s ease}.tool-row:hover{color:var(--fh-home-accent-dark, #3f7029);padding-left:6px}.tool-row:hover .tool-row-arrow{color:var(--fh-home-accent-dark, #3f7029);transform:translate(2px)}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:150px;text-align:center;color:#a39b9b}.empty-icon{font-size:30px;color:var(--fh-home-accent-faint, rgba(99, 179, 69, .45));margin-bottom:4px}.empty-title{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:700;color:#5c5454}.empty-sub{font-family:Inter,sans-serif;font-size:12px;color:#877d7d}.tool-error{color:#c00;font-size:9px}\n"] }]
|
|
37165
37229
|
}], ctorParameters: () => [{ type: QueryService }, { type: AppService }], propDecorators: { accent: [{
|
|
37166
37230
|
type: Input
|
|
37167
37231
|
}], accentDark: [{
|
|
37168
37232
|
type: Input
|
|
37233
|
+
}], badgeColor: [{
|
|
37234
|
+
type: Input
|
|
37169
37235
|
}], _a: [{
|
|
37170
37236
|
type: HostBinding,
|
|
37171
37237
|
args: ["style.--fh-home-accent"]
|
|
37172
37238
|
}], _ad: [{
|
|
37173
37239
|
type: HostBinding,
|
|
37174
37240
|
args: ["style.--fh-home-accent-dark"]
|
|
37241
|
+
}], _b: [{
|
|
37242
|
+
type: HostBinding,
|
|
37243
|
+
args: ["style.--fh-home-badge"]
|
|
37175
37244
|
}], title: [{
|
|
37176
37245
|
type: Input
|
|
37177
37246
|
}], subtitle: [{
|
|
@@ -37206,6 +37275,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
37206
37275
|
type: Input
|
|
37207
37276
|
}], fieldCategory: [{
|
|
37208
37277
|
type: Input
|
|
37278
|
+
}], fieldCategoryCount: [{
|
|
37279
|
+
type: Input
|
|
37209
37280
|
}], todoOpen: [{
|
|
37210
37281
|
type: Output
|
|
37211
37282
|
}] } });
|