@po-ui/ng-components 16.8.0 → 16.9.0
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/esm2022/lib/components/po-listbox/po-listbox.component.mjs +58 -73
- package/esm2022/lib/components/po-loading/po-loading-base.component.mjs +24 -2
- package/esm2022/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.mjs +21 -2
- package/esm2022/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.mjs +4 -4
- package/esm2022/lib/components/po-loading/po-loading.component.mjs +15 -12
- package/esm2022/lib/components/po-table/po-table-base.component.mjs +6 -1
- package/esm2022/lib/components/po-table/po-table.component.mjs +200 -182
- package/esm2022/lib/components/po-table/po-table.module.mjs +3 -3
- package/fesm2022/po-ui-ng-components.mjs +472 -420
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-loading/po-loading-base.component.d.ts +15 -1
- package/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.d.ts +13 -1
- package/lib/components/po-table/po-table-base.component.d.ts +3 -0
- package/lib/components/po-table/po-table.component.d.ts +4 -1
- package/package.json +4 -4
- package/po-ui-ng-components-16.9.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/v14/index.js +1 -1
- package/schematics/ng-update/v15/index.js +1 -1
- package/schematics/ng-update/v16/index.js +1 -1
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/po-ui-ng-components-16.8.0.tgz +0 -0
|
@@ -7,7 +7,7 @@ import { trigger, transition, style, animate, group, query, animateChild, state,
|
|
|
7
7
|
import { Subject, filter, fromEvent, debounceTime, from, timer, of, Subscription, ReplaySubject, throwError, map as map$1, catchError as catchError$1, Observable } from 'rxjs';
|
|
8
8
|
import * as i2 from '@angular/router';
|
|
9
9
|
import { RouterModule, NavigationEnd, NavigationCancel } from '@angular/router';
|
|
10
|
-
import * as
|
|
10
|
+
import * as i5 from '@angular/cdk/listbox';
|
|
11
11
|
import { CdkListboxModule } from '@angular/cdk/listbox';
|
|
12
12
|
import * as i1$1 from '@angular/platform-browser';
|
|
13
13
|
import * as i2$1 from '@angular/forms';
|
|
@@ -15,7 +15,7 @@ import { NG_VALUE_ACCESSOR, FormsModule, NG_VALIDATORS, NgControl, ControlContai
|
|
|
15
15
|
import * as i1$2 from '@angular/common/http';
|
|
16
16
|
import { HttpHeaders, HttpEventType, HttpResponse, HttpRequest, HTTP_INTERCEPTORS, HttpClient } from '@angular/common/http';
|
|
17
17
|
import { debounceTime as debounceTime$1, concatMap, mapTo, scan, tap, switchMap, take, delay, takeWhile, map, filter as filter$1, distinctUntilChanged, catchError, finalize } from 'rxjs/operators';
|
|
18
|
-
import * as i5 from '@angular/cdk/overlay';
|
|
18
|
+
import * as i5$1 from '@angular/cdk/overlay';
|
|
19
19
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
20
20
|
import * as i2$2 from '@angular/cdk/scrolling';
|
|
21
21
|
import { CdkVirtualScrollViewport, ScrollingModule } from '@angular/cdk/scrolling';
|
|
@@ -4133,7 +4133,7 @@ class PoListBoxBaseComponent {
|
|
|
4133
4133
|
args: ['p-combo-service']
|
|
4134
4134
|
}] }); })();
|
|
4135
4135
|
|
|
4136
|
-
const
|
|
4136
|
+
const poLoadingOverlayLiteralsDefault = {
|
|
4137
4137
|
en: {
|
|
4138
4138
|
loading: 'Loading'
|
|
4139
4139
|
},
|
|
@@ -4148,43 +4148,152 @@ const poLoadingLiteralsDefault = {
|
|
|
4148
4148
|
}
|
|
4149
4149
|
};
|
|
4150
4150
|
/**
|
|
4151
|
-
* @docsPrivate
|
|
4152
4151
|
*
|
|
4153
4152
|
* @description
|
|
4154
4153
|
*
|
|
4155
|
-
* Este componente
|
|
4156
|
-
*
|
|
4154
|
+
* Este componente mostra ao usuário uma imagem de _loading_ e bloqueia a página inteira ou o container escolhido,
|
|
4155
|
+
* enquanto aguarda a resposta de alguma requisição.
|
|
4157
4156
|
*/
|
|
4158
|
-
class
|
|
4157
|
+
class PoLoadingOverlayBaseComponent {
|
|
4159
4158
|
languageService;
|
|
4159
|
+
_screenLock = false;
|
|
4160
4160
|
_text;
|
|
4161
|
+
_size;
|
|
4161
4162
|
/**
|
|
4163
|
+
* @optional
|
|
4164
|
+
*
|
|
4165
|
+
* @description
|
|
4166
|
+
*
|
|
4167
|
+
* Define se o *overlay* será aplicado a um *container* ou a página inteira.
|
|
4168
|
+
*
|
|
4169
|
+
* Para utilizar o componente como um *container*, o elemento pai deverá receber uma posição relativa, por exemplo:
|
|
4170
|
+
*
|
|
4171
|
+
* ```
|
|
4172
|
+
* <div style="position: relative">
|
|
4173
|
+
*
|
|
4174
|
+
* <po-chart [p-series]="[{ value: 10, category: 'Example' }]">
|
|
4175
|
+
* </po-chart>
|
|
4176
|
+
*
|
|
4177
|
+
* <po-loading-overlay>
|
|
4178
|
+
* </po-loading-overlay>
|
|
4179
|
+
* </div>
|
|
4180
|
+
* ```
|
|
4181
|
+
*
|
|
4182
|
+
* @default `false`
|
|
4183
|
+
*/
|
|
4184
|
+
set screenLock(screenLock) {
|
|
4185
|
+
this._screenLock = convertToBoolean(screenLock);
|
|
4186
|
+
}
|
|
4187
|
+
get screenLock() {
|
|
4188
|
+
return this._screenLock;
|
|
4189
|
+
}
|
|
4190
|
+
/**
|
|
4191
|
+
* @optional
|
|
4192
|
+
*
|
|
4193
|
+
* @description
|
|
4194
|
+
*
|
|
4162
4195
|
* Texto a ser exibido no componente.
|
|
4196
|
+
*
|
|
4197
|
+
* > O valor padrão será traduzido acordo com o idioma configurado no [**PoI18n**](/documentation/po-i18n) ou navegador.
|
|
4198
|
+
*
|
|
4199
|
+
* @default `Carregando`
|
|
4163
4200
|
*/
|
|
4164
4201
|
set text(value) {
|
|
4165
|
-
this._text = value ||
|
|
4202
|
+
this._text = value || this.getTextDefault();
|
|
4166
4203
|
}
|
|
4167
4204
|
get text() {
|
|
4168
4205
|
return this._text;
|
|
4169
4206
|
}
|
|
4207
|
+
/**
|
|
4208
|
+
* @optional
|
|
4209
|
+
*
|
|
4210
|
+
* @description
|
|
4211
|
+
*
|
|
4212
|
+
* Define o tamnho do componente.
|
|
4213
|
+
*
|
|
4214
|
+
* @default `lg`
|
|
4215
|
+
*/
|
|
4216
|
+
set size(value) {
|
|
4217
|
+
this._size = value === '' || !value ? 'lg' : value;
|
|
4218
|
+
}
|
|
4219
|
+
get size() {
|
|
4220
|
+
return this._size;
|
|
4221
|
+
}
|
|
4170
4222
|
constructor(languageService) {
|
|
4171
4223
|
this.languageService = languageService;
|
|
4172
4224
|
this.text = this.getTextDefault();
|
|
4173
4225
|
}
|
|
4174
4226
|
getTextDefault() {
|
|
4175
4227
|
const language = this.languageService.getShortLanguage();
|
|
4176
|
-
return
|
|
4228
|
+
return poLoadingOverlayLiteralsDefault[language].loading;
|
|
4177
4229
|
}
|
|
4178
|
-
static ɵfac = function
|
|
4179
|
-
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type:
|
|
4230
|
+
static ɵfac = function PoLoadingOverlayBaseComponent_Factory(t) { return new (t || PoLoadingOverlayBaseComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
4231
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoLoadingOverlayBaseComponent, inputs: { screenLock: ["p-screen-lock", "screenLock"], text: ["p-text", "text"], size: ["p-size", "size"] } });
|
|
4180
4232
|
}
|
|
4181
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
4233
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLoadingOverlayBaseComponent, [{
|
|
4182
4234
|
type: Directive
|
|
4183
|
-
}], function () { return [{ type: PoLanguageService }]; }, {
|
|
4235
|
+
}], function () { return [{ type: PoLanguageService }]; }, { screenLock: [{
|
|
4236
|
+
type: Input,
|
|
4237
|
+
args: ['p-screen-lock']
|
|
4238
|
+
}], text: [{
|
|
4184
4239
|
type: Input,
|
|
4185
4240
|
args: ['p-text']
|
|
4241
|
+
}], size: [{
|
|
4242
|
+
type: Input,
|
|
4243
|
+
args: ['p-size']
|
|
4186
4244
|
}] }); })();
|
|
4187
4245
|
|
|
4246
|
+
class PoOverlayBaseComponent {
|
|
4247
|
+
/**
|
|
4248
|
+
* @optional
|
|
4249
|
+
*
|
|
4250
|
+
* @description
|
|
4251
|
+
*
|
|
4252
|
+
* Define se o *overlay* será aplicado a um *container* ou a página inteira.
|
|
4253
|
+
*
|
|
4254
|
+
* Para utilizar o componente como um *container*, o elemento pai deverá receber uma posição relativa, por exemplo:
|
|
4255
|
+
*
|
|
4256
|
+
* ```
|
|
4257
|
+
* <div style="position: relative">
|
|
4258
|
+
*
|
|
4259
|
+
* <po-chart [p-series]="[{ value: 10, category: 'Example' }]">
|
|
4260
|
+
* </po-chart>
|
|
4261
|
+
*
|
|
4262
|
+
* <po-overlay>
|
|
4263
|
+
* </po-overlay>
|
|
4264
|
+
* </div>
|
|
4265
|
+
* ```
|
|
4266
|
+
*
|
|
4267
|
+
* @default `false`
|
|
4268
|
+
*/
|
|
4269
|
+
screenLock = false;
|
|
4270
|
+
static ɵfac = function PoOverlayBaseComponent_Factory(t) { return new (t || PoOverlayBaseComponent)(); };
|
|
4271
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoOverlayBaseComponent, inputs: { screenLock: ["p-screen-lock", "screenLock", convertToBoolean] }, features: [i0.ɵɵInputTransformsFeature] });
|
|
4272
|
+
}
|
|
4273
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoOverlayBaseComponent, [{
|
|
4274
|
+
type: Directive
|
|
4275
|
+
}], null, { screenLock: [{
|
|
4276
|
+
type: Input,
|
|
4277
|
+
args: [{ alias: 'p-screen-lock', transform: convertToBoolean }]
|
|
4278
|
+
}] }); })();
|
|
4279
|
+
|
|
4280
|
+
const _c0$1B = ["*"];
|
|
4281
|
+
class PoOverlayComponent extends PoOverlayBaseComponent {
|
|
4282
|
+
static ɵfac = /*@__PURE__*/ function () { let ɵPoOverlayComponent_BaseFactory; return function PoOverlayComponent_Factory(t) { return (ɵPoOverlayComponent_BaseFactory || (ɵPoOverlayComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoOverlayComponent)))(t || PoOverlayComponent); }; }();
|
|
4283
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoOverlayComponent, selectors: [["po-overlay"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1B, decls: 3, vars: 2, consts: [["role", "alert", "aria-busy", "true", 1, "po-overlay"], [1, "po-overlay-content"]], template: function PoOverlayComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4284
|
+
i0.ɵɵprojectionDef();
|
|
4285
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
4286
|
+
i0.ɵɵprojection(2);
|
|
4287
|
+
i0.ɵɵelementEnd()();
|
|
4288
|
+
} if (rf & 2) {
|
|
4289
|
+
i0.ɵɵclassProp("po-overlay-fixed", ctx.screenLock);
|
|
4290
|
+
} }, encapsulation: 2 });
|
|
4291
|
+
}
|
|
4292
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoOverlayComponent, [{
|
|
4293
|
+
type: Component,
|
|
4294
|
+
args: [{ selector: 'po-overlay', template: "<div class=\"po-overlay\" [class.po-overlay-fixed]=\"screenLock\" role=\"alert\" aria-busy=\"true\">\n <div class=\"po-overlay-content\">\n <ng-content></ng-content>\n </div>\n</div>\n" }]
|
|
4295
|
+
}], null, null); })();
|
|
4296
|
+
|
|
4188
4297
|
var PoLoadingIconSize;
|
|
4189
4298
|
(function (PoLoadingIconSize) {
|
|
4190
4299
|
/** Extra small */
|
|
@@ -4197,6 +4306,79 @@ var PoLoadingIconSize;
|
|
|
4197
4306
|
PoLoadingIconSize["lg"] = "lg";
|
|
4198
4307
|
})(PoLoadingIconSize || (PoLoadingIconSize = {}));
|
|
4199
4308
|
|
|
4309
|
+
const poLoadingLiteralsDefault = {
|
|
4310
|
+
en: {
|
|
4311
|
+
loading: 'Loading'
|
|
4312
|
+
},
|
|
4313
|
+
es: {
|
|
4314
|
+
loading: 'Cargando'
|
|
4315
|
+
},
|
|
4316
|
+
pt: {
|
|
4317
|
+
loading: 'Carregando'
|
|
4318
|
+
},
|
|
4319
|
+
ru: {
|
|
4320
|
+
loading: 'Загрузка'
|
|
4321
|
+
}
|
|
4322
|
+
};
|
|
4323
|
+
/**
|
|
4324
|
+
* @docsPrivate
|
|
4325
|
+
*
|
|
4326
|
+
* @description
|
|
4327
|
+
*
|
|
4328
|
+
* Este componente tem o objetivo de mostrar visualmente aos usuários que a aplicação está processando
|
|
4329
|
+
* ou aguardando a resposta de alguma requisição.
|
|
4330
|
+
*/
|
|
4331
|
+
class PoLoadingBaseComponent {
|
|
4332
|
+
languageService;
|
|
4333
|
+
_text;
|
|
4334
|
+
_size;
|
|
4335
|
+
/**
|
|
4336
|
+
* Texto a ser exibido no componente.
|
|
4337
|
+
*/
|
|
4338
|
+
set text(value) {
|
|
4339
|
+
this._text = value || (value === '' ? '' : this.getTextDefault());
|
|
4340
|
+
}
|
|
4341
|
+
get text() {
|
|
4342
|
+
return this._text;
|
|
4343
|
+
}
|
|
4344
|
+
/**
|
|
4345
|
+
* Define o tamanho do ícone.
|
|
4346
|
+
*
|
|
4347
|
+
* @default `lg`
|
|
4348
|
+
*
|
|
4349
|
+
* Valores válidos:
|
|
4350
|
+
* - `xs`: tamanho `extra small`
|
|
4351
|
+
* - `sm`: tamanho `small`
|
|
4352
|
+
* - `md`: tamanho `medium`
|
|
4353
|
+
* - `lg`: tamanho `large`
|
|
4354
|
+
*/
|
|
4355
|
+
set size(value) {
|
|
4356
|
+
this._size = PoLoadingIconSize[value] ? PoLoadingIconSize[value] : PoLoadingIconSize.lg;
|
|
4357
|
+
}
|
|
4358
|
+
get size() {
|
|
4359
|
+
return this._size;
|
|
4360
|
+
}
|
|
4361
|
+
constructor(languageService) {
|
|
4362
|
+
this.languageService = languageService;
|
|
4363
|
+
this.text = this.getTextDefault();
|
|
4364
|
+
}
|
|
4365
|
+
getTextDefault() {
|
|
4366
|
+
const language = this.languageService.getShortLanguage();
|
|
4367
|
+
return poLoadingLiteralsDefault[language].loading;
|
|
4368
|
+
}
|
|
4369
|
+
static ɵfac = function PoLoadingBaseComponent_Factory(t) { return new (t || PoLoadingBaseComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
4370
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoLoadingBaseComponent, inputs: { text: ["p-text", "text"], size: ["p-size", "size"] } });
|
|
4371
|
+
}
|
|
4372
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLoadingBaseComponent, [{
|
|
4373
|
+
type: Directive
|
|
4374
|
+
}], function () { return [{ type: PoLanguageService }]; }, { text: [{
|
|
4375
|
+
type: Input,
|
|
4376
|
+
args: ['p-text']
|
|
4377
|
+
}], size: [{
|
|
4378
|
+
type: Input,
|
|
4379
|
+
args: ['p-size']
|
|
4380
|
+
}] }); })();
|
|
4381
|
+
|
|
4200
4382
|
/**
|
|
4201
4383
|
* @docsPrivate
|
|
4202
4384
|
*
|
|
@@ -4285,16 +4467,16 @@ class PoLoadingIconComponent {
|
|
|
4285
4467
|
args: ['p-size']
|
|
4286
4468
|
}] }); })();
|
|
4287
4469
|
|
|
4288
|
-
function
|
|
4289
|
-
i0.ɵɵelementStart(0, "span",
|
|
4470
|
+
function PoLoadingComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
4471
|
+
i0.ɵɵelementStart(0, "span", 2);
|
|
4290
4472
|
i0.ɵɵtext(1);
|
|
4291
|
-
i0.ɵɵelementStart(2, "div",
|
|
4473
|
+
i0.ɵɵelementStart(2, "div", 3);
|
|
4292
4474
|
i0.ɵɵtext(3, ".");
|
|
4293
4475
|
i0.ɵɵelementEnd();
|
|
4294
|
-
i0.ɵɵelementStart(4, "div",
|
|
4476
|
+
i0.ɵɵelementStart(4, "div", 3);
|
|
4295
4477
|
i0.ɵɵtext(5, ".");
|
|
4296
4478
|
i0.ɵɵelementEnd();
|
|
4297
|
-
i0.ɵɵelementStart(6, "div",
|
|
4479
|
+
i0.ɵɵelementStart(6, "div", 3);
|
|
4298
4480
|
i0.ɵɵtext(7, ".");
|
|
4299
4481
|
i0.ɵɵelementEnd()();
|
|
4300
4482
|
} if (rf & 2) {
|
|
@@ -4309,161 +4491,22 @@ function PoLoadingComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
4309
4491
|
*/
|
|
4310
4492
|
class PoLoadingComponent extends PoLoadingBaseComponent {
|
|
4311
4493
|
static ɵfac = /*@__PURE__*/ function () { let ɵPoLoadingComponent_BaseFactory; return function PoLoadingComponent_Factory(t) { return (ɵPoLoadingComponent_BaseFactory || (ɵPoLoadingComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoLoadingComponent)))(t || PoLoadingComponent); }; }();
|
|
4312
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLoadingComponent, selectors: [["po-loading"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars:
|
|
4313
|
-
i0.ɵɵelementStart(0, "div"
|
|
4314
|
-
i0.ɵɵelement(1, "po-loading-icon",
|
|
4315
|
-
i0.ɵɵtemplate(2,
|
|
4494
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLoadingComponent, selectors: [["po-loading"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 5, consts: [[3, "p-size"], ["class", "po-loading-label po-text-ellipsis", 4, "ngIf"], [1, "po-loading-label", "po-text-ellipsis"], ["aria-hidden", "true", 1, "po-loading-dot"]], template: function PoLoadingComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4495
|
+
i0.ɵɵelementStart(0, "div");
|
|
4496
|
+
i0.ɵɵelement(1, "po-loading-icon", 0);
|
|
4497
|
+
i0.ɵɵtemplate(2, PoLoadingComponent_span_2_Template, 8, 1, "span", 1);
|
|
4316
4498
|
i0.ɵɵelementEnd();
|
|
4317
4499
|
} if (rf & 2) {
|
|
4318
|
-
i0.ɵɵ
|
|
4500
|
+
i0.ɵɵclassMapInterpolate1("po-loading po-loading-", ctx.size, "");
|
|
4501
|
+
i0.ɵɵadvance(1);
|
|
4502
|
+
i0.ɵɵproperty("p-size", ctx.size);
|
|
4503
|
+
i0.ɵɵadvance(1);
|
|
4319
4504
|
i0.ɵɵproperty("ngIf", ctx.text);
|
|
4320
4505
|
} }, dependencies: [i1.NgIf, PoLoadingIconComponent], encapsulation: 2 });
|
|
4321
4506
|
}
|
|
4322
4507
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLoadingComponent, [{
|
|
4323
4508
|
type: Component,
|
|
4324
|
-
args: [{ selector: 'po-loading', template: "<div class=\"po-loading\">\n <po-loading-icon p-size=\"
|
|
4325
|
-
}], null, null); })();
|
|
4326
|
-
|
|
4327
|
-
const poLoadingOverlayLiteralsDefault = {
|
|
4328
|
-
en: {
|
|
4329
|
-
loading: 'Loading'
|
|
4330
|
-
},
|
|
4331
|
-
es: {
|
|
4332
|
-
loading: 'Cargando'
|
|
4333
|
-
},
|
|
4334
|
-
pt: {
|
|
4335
|
-
loading: 'Carregando'
|
|
4336
|
-
},
|
|
4337
|
-
ru: {
|
|
4338
|
-
loading: 'Загрузка'
|
|
4339
|
-
}
|
|
4340
|
-
};
|
|
4341
|
-
/**
|
|
4342
|
-
*
|
|
4343
|
-
* @description
|
|
4344
|
-
*
|
|
4345
|
-
* Este componente mostra ao usuário uma imagem de _loading_ e bloqueia a página inteira ou o container escolhido,
|
|
4346
|
-
* enquanto aguarda a resposta de alguma requisição.
|
|
4347
|
-
*/
|
|
4348
|
-
class PoLoadingOverlayBaseComponent {
|
|
4349
|
-
languageService;
|
|
4350
|
-
_screenLock = false;
|
|
4351
|
-
_text;
|
|
4352
|
-
/**
|
|
4353
|
-
* @optional
|
|
4354
|
-
*
|
|
4355
|
-
* @description
|
|
4356
|
-
*
|
|
4357
|
-
* Define se o *overlay* será aplicado a um *container* ou a página inteira.
|
|
4358
|
-
*
|
|
4359
|
-
* Para utilizar o componente como um *container*, o elemento pai deverá receber uma posição relativa, por exemplo:
|
|
4360
|
-
*
|
|
4361
|
-
* ```
|
|
4362
|
-
* <div style="position: relative">
|
|
4363
|
-
*
|
|
4364
|
-
* <po-chart [p-series]="[{ value: 10, category: 'Example' }]">
|
|
4365
|
-
* </po-chart>
|
|
4366
|
-
*
|
|
4367
|
-
* <po-loading-overlay>
|
|
4368
|
-
* </po-loading-overlay>
|
|
4369
|
-
* </div>
|
|
4370
|
-
* ```
|
|
4371
|
-
*
|
|
4372
|
-
* @default `false`
|
|
4373
|
-
*/
|
|
4374
|
-
set screenLock(screenLock) {
|
|
4375
|
-
this._screenLock = convertToBoolean(screenLock);
|
|
4376
|
-
}
|
|
4377
|
-
get screenLock() {
|
|
4378
|
-
return this._screenLock;
|
|
4379
|
-
}
|
|
4380
|
-
/**
|
|
4381
|
-
* @optional
|
|
4382
|
-
*
|
|
4383
|
-
* @description
|
|
4384
|
-
*
|
|
4385
|
-
* Texto a ser exibido no componente.
|
|
4386
|
-
*
|
|
4387
|
-
* > O valor padrão será traduzido acordo com o idioma configurado no [**PoI18n**](/documentation/po-i18n) ou navegador.
|
|
4388
|
-
*
|
|
4389
|
-
* @default `Carregando`
|
|
4390
|
-
*/
|
|
4391
|
-
set text(value) {
|
|
4392
|
-
this._text = value || this.getTextDefault();
|
|
4393
|
-
}
|
|
4394
|
-
get text() {
|
|
4395
|
-
return this._text;
|
|
4396
|
-
}
|
|
4397
|
-
constructor(languageService) {
|
|
4398
|
-
this.languageService = languageService;
|
|
4399
|
-
this.text = this.getTextDefault();
|
|
4400
|
-
}
|
|
4401
|
-
getTextDefault() {
|
|
4402
|
-
const language = this.languageService.getShortLanguage();
|
|
4403
|
-
return poLoadingOverlayLiteralsDefault[language].loading;
|
|
4404
|
-
}
|
|
4405
|
-
static ɵfac = function PoLoadingOverlayBaseComponent_Factory(t) { return new (t || PoLoadingOverlayBaseComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
4406
|
-
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoLoadingOverlayBaseComponent, inputs: { screenLock: ["p-screen-lock", "screenLock"], text: ["p-text", "text"] } });
|
|
4407
|
-
}
|
|
4408
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLoadingOverlayBaseComponent, [{
|
|
4409
|
-
type: Directive
|
|
4410
|
-
}], function () { return [{ type: PoLanguageService }]; }, { screenLock: [{
|
|
4411
|
-
type: Input,
|
|
4412
|
-
args: ['p-screen-lock']
|
|
4413
|
-
}], text: [{
|
|
4414
|
-
type: Input,
|
|
4415
|
-
args: ['p-text']
|
|
4416
|
-
}] }); })();
|
|
4417
|
-
|
|
4418
|
-
class PoOverlayBaseComponent {
|
|
4419
|
-
/**
|
|
4420
|
-
* @optional
|
|
4421
|
-
*
|
|
4422
|
-
* @description
|
|
4423
|
-
*
|
|
4424
|
-
* Define se o *overlay* será aplicado a um *container* ou a página inteira.
|
|
4425
|
-
*
|
|
4426
|
-
* Para utilizar o componente como um *container*, o elemento pai deverá receber uma posição relativa, por exemplo:
|
|
4427
|
-
*
|
|
4428
|
-
* ```
|
|
4429
|
-
* <div style="position: relative">
|
|
4430
|
-
*
|
|
4431
|
-
* <po-chart [p-series]="[{ value: 10, category: 'Example' }]">
|
|
4432
|
-
* </po-chart>
|
|
4433
|
-
*
|
|
4434
|
-
* <po-overlay>
|
|
4435
|
-
* </po-overlay>
|
|
4436
|
-
* </div>
|
|
4437
|
-
* ```
|
|
4438
|
-
*
|
|
4439
|
-
* @default `false`
|
|
4440
|
-
*/
|
|
4441
|
-
screenLock = false;
|
|
4442
|
-
static ɵfac = function PoOverlayBaseComponent_Factory(t) { return new (t || PoOverlayBaseComponent)(); };
|
|
4443
|
-
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoOverlayBaseComponent, inputs: { screenLock: ["p-screen-lock", "screenLock", convertToBoolean] }, features: [i0.ɵɵInputTransformsFeature] });
|
|
4444
|
-
}
|
|
4445
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoOverlayBaseComponent, [{
|
|
4446
|
-
type: Directive
|
|
4447
|
-
}], null, { screenLock: [{
|
|
4448
|
-
type: Input,
|
|
4449
|
-
args: [{ alias: 'p-screen-lock', transform: convertToBoolean }]
|
|
4450
|
-
}] }); })();
|
|
4451
|
-
|
|
4452
|
-
const _c0$1B = ["*"];
|
|
4453
|
-
class PoOverlayComponent extends PoOverlayBaseComponent {
|
|
4454
|
-
static ɵfac = /*@__PURE__*/ function () { let ɵPoOverlayComponent_BaseFactory; return function PoOverlayComponent_Factory(t) { return (ɵPoOverlayComponent_BaseFactory || (ɵPoOverlayComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoOverlayComponent)))(t || PoOverlayComponent); }; }();
|
|
4455
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoOverlayComponent, selectors: [["po-overlay"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1B, decls: 3, vars: 2, consts: [["role", "alert", "aria-busy", "true", 1, "po-overlay"], [1, "po-overlay-content"]], template: function PoOverlayComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4456
|
-
i0.ɵɵprojectionDef();
|
|
4457
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
4458
|
-
i0.ɵɵprojection(2);
|
|
4459
|
-
i0.ɵɵelementEnd()();
|
|
4460
|
-
} if (rf & 2) {
|
|
4461
|
-
i0.ɵɵclassProp("po-overlay-fixed", ctx.screenLock);
|
|
4462
|
-
} }, encapsulation: 2 });
|
|
4463
|
-
}
|
|
4464
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoOverlayComponent, [{
|
|
4465
|
-
type: Component,
|
|
4466
|
-
args: [{ selector: 'po-overlay', template: "<div class=\"po-overlay\" [class.po-overlay-fixed]=\"screenLock\" role=\"alert\" aria-busy=\"true\">\n <div class=\"po-overlay-content\">\n <ng-content></ng-content>\n </div>\n</div>\n" }]
|
|
4509
|
+
args: [{ selector: 'po-loading', template: "<div class=\"po-loading po-loading-{{ size }}\">\n <po-loading-icon [p-size]=\"size\"></po-loading-icon>\n\n <span *ngIf=\"text\" class=\"po-loading-label po-text-ellipsis\"\n >{{ text }}\n <div class=\"po-loading-dot\" aria-hidden=\"true\">.</div>\n <div class=\"po-loading-dot\" aria-hidden=\"true\">.</div>\n <div class=\"po-loading-dot\" aria-hidden=\"true\">.</div>\n </span>\n</div>\n" }]
|
|
4467
4510
|
}], null, null); })();
|
|
4468
4511
|
|
|
4469
4512
|
/**
|
|
@@ -4494,19 +4537,19 @@ class PoLoadingOverlayComponent extends PoLoadingOverlayBaseComponent {
|
|
|
4494
4537
|
this.changeDetector = changeDetector;
|
|
4495
4538
|
}
|
|
4496
4539
|
static ɵfac = function PoLoadingOverlayComponent_Factory(t) { return new (t || PoLoadingOverlayComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
4497
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLoadingOverlayComponent, selectors: [["po-loading-overlay"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars:
|
|
4540
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLoadingOverlayComponent, selectors: [["po-loading-overlay"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [[3, "p-screen-lock"], [3, "p-text", "p-size"]], template: function PoLoadingOverlayComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4498
4541
|
i0.ɵɵelementStart(0, "po-overlay", 0);
|
|
4499
4542
|
i0.ɵɵelement(1, "po-loading", 1);
|
|
4500
4543
|
i0.ɵɵelementEnd();
|
|
4501
4544
|
} if (rf & 2) {
|
|
4502
4545
|
i0.ɵɵproperty("p-screen-lock", ctx.screenLock);
|
|
4503
4546
|
i0.ɵɵadvance(1);
|
|
4504
|
-
i0.ɵɵproperty("p-text", ctx.text);
|
|
4547
|
+
i0.ɵɵproperty("p-text", ctx.text)("p-size", ctx.size);
|
|
4505
4548
|
} }, dependencies: [PoOverlayComponent, PoLoadingComponent], encapsulation: 2 });
|
|
4506
4549
|
}
|
|
4507
4550
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLoadingOverlayComponent, [{
|
|
4508
4551
|
type: Component,
|
|
4509
|
-
args: [{ selector: 'po-loading-overlay', template: "<po-overlay [p-screen-lock]=\"screenLock\">\n <po-loading [p-text]=\"text\"></po-loading>\n</po-overlay>\n" }]
|
|
4552
|
+
args: [{ selector: 'po-loading-overlay', template: "<po-overlay [p-screen-lock]=\"screenLock\">\n <po-loading [p-text]=\"text\" [p-size]=\"size\"></po-loading>\n</po-overlay>\n" }]
|
|
4510
4553
|
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: PoLanguageService }]; }, null); })();
|
|
4511
4554
|
|
|
4512
4555
|
/**
|
|
@@ -5419,70 +5462,70 @@ const _c0$1x = ["listbox"];
|
|
|
5419
5462
|
const _c1$D = ["listboxItemList"];
|
|
5420
5463
|
const _c2$g = ["searchElement"];
|
|
5421
5464
|
function PoListBoxComponent_po_search_list_3_Template(rf, ctx) { if (rf & 1) {
|
|
5422
|
-
const
|
|
5423
|
-
i0.ɵɵelementStart(0, "po-search-list",
|
|
5424
|
-
i0.ɵɵlistener("p-change", function PoListBoxComponent_po_search_list_3_Template_po_search_list_p_change_0_listener($event) { i0.ɵɵrestoreView(
|
|
5465
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
5466
|
+
i0.ɵɵelementStart(0, "po-search-list", 6, 7);
|
|
5467
|
+
i0.ɵɵlistener("p-change", function PoListBoxComponent_po_search_list_3_Template_po_search_list_p_change_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.callChangeSearch($event)); });
|
|
5425
5468
|
i0.ɵɵelementEnd();
|
|
5426
5469
|
} if (rf & 2) {
|
|
5427
5470
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
5428
5471
|
i0.ɵɵproperty("p-literals", ctx_r1.literalSearch)("p-field-value", ctx_r1.fieldValueSearch)("p-placeholder", ctx_r1.placeholderSearch);
|
|
5429
5472
|
} }
|
|
5430
5473
|
function PoListBoxComponent_ng_container_4_li_3_Template(rf, ctx) { if (rf & 1) {
|
|
5431
|
-
const
|
|
5432
|
-
i0.ɵɵelementStart(0, "li",
|
|
5433
|
-
i0.ɵɵlistener("click", function PoListBoxComponent_ng_container_4_li_3_Template_li_click_0_listener() { i0.ɵɵrestoreView(
|
|
5434
|
-
i0.ɵɵelement(1, "po-item-list",
|
|
5474
|
+
const _r13 = i0.ɵɵgetCurrentView();
|
|
5475
|
+
i0.ɵɵelementStart(0, "li", 12);
|
|
5476
|
+
i0.ɵɵlistener("click", function PoListBoxComponent_ng_container_4_li_3_Template_li_click_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r12.changeAll.emit()); })("keydown", function PoListBoxComponent_ng_container_4_li_3_Template_li_keydown_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r14 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r14.changeAllEmit($event)); });
|
|
5477
|
+
i0.ɵɵelement(1, "po-item-list", 13);
|
|
5435
5478
|
i0.ɵɵelementEnd();
|
|
5436
5479
|
} if (rf & 2) {
|
|
5437
|
-
const
|
|
5438
|
-
i0.ɵɵattribute("aria-checked",
|
|
5480
|
+
const ctx_r10 = i0.ɵɵnextContext(2);
|
|
5481
|
+
i0.ɵɵattribute("aria-checked", ctx_r10.checkboxAllValue === null ? "mixed" : ctx_r10.checkboxAllValue);
|
|
5439
5482
|
i0.ɵɵadvance(1);
|
|
5440
|
-
i0.ɵɵproperty("p-selected",
|
|
5483
|
+
i0.ɵɵproperty("p-selected", ctx_r10.checkboxAllValue)("p-label", ctx_r10.literals.selectAll)("p-checkbox-value", ctx_r10.checkboxAllValue);
|
|
5441
5484
|
} }
|
|
5442
5485
|
function PoListBoxComponent_ng_container_4_li_4_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
5443
|
-
i0.ɵɵelementStart(0, "label",
|
|
5486
|
+
i0.ɵɵelementStart(0, "label", 17);
|
|
5444
5487
|
i0.ɵɵtext(1);
|
|
5445
5488
|
i0.ɵɵelementEnd();
|
|
5446
5489
|
} if (rf & 2) {
|
|
5447
|
-
const
|
|
5490
|
+
const item_r15 = i0.ɵɵnextContext().$implicit;
|
|
5448
5491
|
i0.ɵɵadvance(1);
|
|
5449
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
5492
|
+
i0.ɵɵtextInterpolate1(" ", item_r15.label, " ");
|
|
5450
5493
|
} }
|
|
5451
5494
|
function PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template(rf, ctx) { if (rf & 1) {
|
|
5452
|
-
const
|
|
5453
|
-
i0.ɵɵelementStart(0, "po-item-list",
|
|
5454
|
-
i0.ɵɵlistener("p-selectcheckbox-item", function PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template_po_item_list_p_selectcheckbox_item_0_listener($event) { i0.ɵɵrestoreView(
|
|
5495
|
+
const _r20 = i0.ɵɵgetCurrentView();
|
|
5496
|
+
i0.ɵɵelementStart(0, "po-item-list", 18);
|
|
5497
|
+
i0.ɵɵlistener("p-selectcheckbox-item", function PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template_po_item_list_p_selectcheckbox_item_0_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r19 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r19.checkboxClicked($event)); })("p-selectcombo-item", function PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template_po_item_list_p_selectcombo_item_0_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r21 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r21.optionClicked($event)); })("p-select-item", function PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template_po_item_list_p_select_item_0_listener() { i0.ɵɵrestoreView(_r20); const item_r15 = i0.ɵɵnextContext().$implicit; const ctx_r22 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r22.onSelectCheckBoxItem(item_r15)); });
|
|
5455
5498
|
i0.ɵɵpipe(1, "json");
|
|
5456
5499
|
i0.ɵɵelementEnd();
|
|
5457
5500
|
} if (rf & 2) {
|
|
5458
|
-
const
|
|
5459
|
-
const
|
|
5460
|
-
i0.ɵɵproperty("p-disabled",
|
|
5461
|
-
i0.ɵɵattribute("data-item-list", i0.ɵɵpipeBind1(1, 22,
|
|
5501
|
+
const item_r15 = i0.ɵɵnextContext().$implicit;
|
|
5502
|
+
const ctx_r17 = i0.ɵɵnextContext(2);
|
|
5503
|
+
i0.ɵɵproperty("p-disabled", ctx_r17.returnBooleanValue(item_r15, "disabled"))("p-visible", ctx_r17.returnBooleanValue(item_r15, "visible"))("p-checkbox-value", ctx_r17.isSelectedItem(item_r15))("p-label", item_r15[ctx_r17.fieldLabel])("p-value", item_r15[ctx_r17.fieldValue])("p-selected", ctx_r17.isSelectedItem(item_r15) || item_r15.selected)("p-separator", item_r15.separator)("p-danger", item_r15.danger || item_r15.type === "danger")("p-icon", item_r15.icon)("p-type", ctx_r17.type)("p-item", item_r15)("p-field-value", ctx_r17.fieldValue)("p-field-label", ctx_r17.fieldLabel)("p-template", ctx_r17.template)("p-template-context", item_r15)("p-search-value", ctx_r17.searchValue)("p-filter-mode", ctx_r17.filterMode)("p-filtering", ctx_r17.isFiltering)("p-should-mark-letter", ctx_r17.shouldMarkLetters)("p-compare-cache", ctx_r17.compareCache)("p-combo-service", ctx_r17.comboService);
|
|
5504
|
+
i0.ɵɵattribute("data-item-list", i0.ɵɵpipeBind1(1, 22, item_r15));
|
|
5462
5505
|
} }
|
|
5463
5506
|
function PoListBoxComponent_ng_container_4_li_4_Template(rf, ctx) { if (rf & 1) {
|
|
5464
|
-
const
|
|
5465
|
-
i0.ɵɵelementStart(0, "li",
|
|
5466
|
-
i0.ɵɵlistener("click", function PoListBoxComponent_ng_container_4_li_4_Template_li_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
5467
|
-
i0.ɵɵtemplate(1, PoListBoxComponent_ng_container_4_li_4_label_1_Template, 2, 1, "label",
|
|
5468
|
-
i0.ɵɵtemplate(2, PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template, 2, 24, "po-item-list",
|
|
5507
|
+
const _r26 = i0.ɵɵgetCurrentView();
|
|
5508
|
+
i0.ɵɵelementStart(0, "li", 14);
|
|
5509
|
+
i0.ɵɵlistener("click", function PoListBoxComponent_ng_container_4_li_4_Template_li_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r26); const item_r15 = restoredCtx.$implicit; const ctx_r25 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r25.onSelectItem(item_r15)); })("keydown", function PoListBoxComponent_ng_container_4_li_4_Template_li_keydown_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r26); const item_r15 = restoredCtx.$implicit; const ctx_r27 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r27.onKeyDown(item_r15, $event)); });
|
|
5510
|
+
i0.ɵɵtemplate(1, PoListBoxComponent_ng_container_4_li_4_label_1_Template, 2, 1, "label", 15);
|
|
5511
|
+
i0.ɵɵtemplate(2, PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template, 2, 24, "po-item-list", 16);
|
|
5469
5512
|
i0.ɵɵelementEnd();
|
|
5470
5513
|
} if (rf & 2) {
|
|
5471
|
-
const
|
|
5472
|
-
const
|
|
5473
|
-
i0.ɵɵclassProp("po-listbox-item",
|
|
5474
|
-
i0.ɵɵproperty("cdkOption",
|
|
5475
|
-
i0.ɵɵattribute("aria-selected",
|
|
5514
|
+
const item_r15 = ctx.$implicit;
|
|
5515
|
+
const ctx_r11 = i0.ɵɵnextContext(2);
|
|
5516
|
+
i0.ɵɵclassProp("po-listbox-item", ctx_r11.visible);
|
|
5517
|
+
i0.ɵɵproperty("cdkOption", item_r15[ctx_r11.fieldLabel])("cdkOptionDisabled", ctx_r11.returnBooleanValue(item_r15, "disabled") || ctx_r11.returnBooleanValue(item_r15, "visible") === false || item_r15.options);
|
|
5518
|
+
i0.ɵɵattribute("aria-selected", ctx_r11.isSelectedItem(item_r15) || item_r15.selected);
|
|
5476
5519
|
i0.ɵɵadvance(1);
|
|
5477
|
-
i0.ɵɵproperty("ngIf",
|
|
5520
|
+
i0.ɵɵproperty("ngIf", item_r15.options);
|
|
5478
5521
|
i0.ɵɵadvance(1);
|
|
5479
|
-
i0.ɵɵproperty("ngIf",
|
|
5522
|
+
i0.ɵɵproperty("ngIf", ctx_r11.returnBooleanValue(item_r15, "visible") !== false && !item_r15.options);
|
|
5480
5523
|
} }
|
|
5481
5524
|
function PoListBoxComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
5482
5525
|
i0.ɵɵelementContainerStart(0);
|
|
5483
|
-
i0.ɵɵelementStart(1, "ul",
|
|
5484
|
-
i0.ɵɵtemplate(3, PoListBoxComponent_ng_container_4_li_3_Template, 2, 4, "li",
|
|
5485
|
-
i0.ɵɵtemplate(4, PoListBoxComponent_ng_container_4_li_4_Template, 3, 7, "li",
|
|
5526
|
+
i0.ɵɵelementStart(1, "ul", 8, 9);
|
|
5527
|
+
i0.ɵɵtemplate(3, PoListBoxComponent_ng_container_4_li_3_Template, 2, 4, "li", 10);
|
|
5528
|
+
i0.ɵɵtemplate(4, PoListBoxComponent_ng_container_4_li_4_Template, 3, 7, "li", 11);
|
|
5486
5529
|
i0.ɵɵelementEnd();
|
|
5487
5530
|
i0.ɵɵelementContainerEnd();
|
|
5488
5531
|
} if (rf & 2) {
|
|
@@ -5494,40 +5537,28 @@ function PoListBoxComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
5494
5537
|
i0.ɵɵadvance(1);
|
|
5495
5538
|
i0.ɵɵproperty("ngForOf", ctx_r2.items);
|
|
5496
5539
|
} }
|
|
5497
|
-
function PoListBoxComponent_div_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
5498
|
-
i0.ɵɵelementContainer(0);
|
|
5499
|
-
} }
|
|
5500
5540
|
function PoListBoxComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
5501
|
-
i0.ɵɵelementStart(0, "div"
|
|
5502
|
-
i0.ɵɵ
|
|
5541
|
+
i0.ɵɵelementStart(0, "div");
|
|
5542
|
+
i0.ɵɵelement(1, "po-loading-overlay", 19);
|
|
5503
5543
|
i0.ɵɵelementEnd();
|
|
5504
5544
|
} if (rf & 2) {
|
|
5505
5545
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
5506
|
-
|
|
5507
|
-
const _r6 = i0.ɵɵreference(9);
|
|
5508
|
-
i0.ɵɵadvance(1);
|
|
5509
|
-
i0.ɵɵproperty("ngIf", ctx_r3.infiniteLoading)("ngIfThen", _r4)("ngIfElse", _r6);
|
|
5546
|
+
i0.ɵɵclassProp("po-listbox-container-loading-default", !ctx_r3.infiniteLoading);
|
|
5510
5547
|
} }
|
|
5511
|
-
function
|
|
5512
|
-
i0.ɵɵ
|
|
5513
|
-
} }
|
|
5514
|
-
function PoListBoxComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
5515
|
-
i0.ɵɵelement(0, "po-loading", 24);
|
|
5516
|
-
} }
|
|
5517
|
-
function PoListBoxComponent_ng_template_10_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
5518
|
-
i0.ɵɵelementStart(0, "div", 26)(1, "span");
|
|
5548
|
+
function PoListBoxComponent_ng_template_6_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
5549
|
+
i0.ɵɵelementStart(0, "div", 21)(1, "span");
|
|
5519
5550
|
i0.ɵɵtext(2);
|
|
5520
5551
|
i0.ɵɵelementEnd()();
|
|
5521
5552
|
} if (rf & 2) {
|
|
5522
|
-
const
|
|
5553
|
+
const ctx_r28 = i0.ɵɵnextContext(2);
|
|
5523
5554
|
i0.ɵɵadvance(2);
|
|
5524
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
5555
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r28.literals.noItems, "");
|
|
5525
5556
|
} }
|
|
5526
|
-
function
|
|
5527
|
-
i0.ɵɵtemplate(0,
|
|
5557
|
+
function PoListBoxComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
5558
|
+
i0.ɵɵtemplate(0, PoListBoxComponent_ng_template_6_div_0_Template, 3, 1, "div", 20);
|
|
5528
5559
|
} if (rf & 2) {
|
|
5529
|
-
const
|
|
5530
|
-
i0.ɵɵproperty("ngIf", !
|
|
5560
|
+
const ctx_r5 = i0.ɵɵnextContext();
|
|
5561
|
+
i0.ɵɵproperty("ngIf", !ctx_r5.items.length && !ctx_r5.isServerSearching && ctx_r5.type !== "action");
|
|
5531
5562
|
} }
|
|
5532
5563
|
const _c3$c = [[["", "p-popup-header-template", ""]]];
|
|
5533
5564
|
const _c4$5 = ["[p-popup-header-template]"];
|
|
@@ -5697,33 +5728,31 @@ class PoListBoxComponent extends PoListBoxBaseComponent {
|
|
|
5697
5728
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listbox = _t.first);
|
|
5698
5729
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listboxItemList = _t.first);
|
|
5699
5730
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.searchElement = _t.first);
|
|
5700
|
-
} }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c4$5, decls:
|
|
5731
|
+
} }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c4$5, decls: 8, vars: 8, consts: [[1, "po-listbox", 3, "hidden"], ["listbox", ""], [3, "p-literals", "p-field-value", "p-placeholder", "p-change", 4, "ngIf"], [4, "ngIf", "ngIfElse"], [3, "po-listbox-container-loading-default", 4, "ngIf"], ["noDataTemplate", ""], [3, "p-literals", "p-field-value", "p-placeholder", "p-change"], ["searchElement", ""], ["cdkListbox", "", 1, "po-listbox-list", 3, "cdkListboxMultiple"], ["listboxItemList", ""], ["cdkOption", "selectAll", 3, "click", "keydown", 4, "ngIf"], [3, "po-listbox-item", "cdkOption", "cdkOptionDisabled", "click", "keydown", 4, "ngFor", "ngForOf"], ["cdkOption", "selectAll", 3, "click", "keydown"], ["p-type", "check", "p-value", "selectAll", 3, "p-selected", "p-label", "p-checkbox-value"], [3, "cdkOption", "cdkOptionDisabled", "click", "keydown"], ["class", "po-combo-item-title", 4, "ngIf"], [3, "p-disabled", "p-visible", "p-checkbox-value", "p-label", "p-value", "p-selected", "p-separator", "p-danger", "p-icon", "p-type", "p-item", "p-field-value", "p-field-label", "p-template", "p-template-context", "p-search-value", "p-filter-mode", "p-filtering", "p-should-mark-letter", "p-compare-cache", "p-combo-service", "p-selectcheckbox-item", "p-selectcombo-item", "p-select-item", 4, "ngIf"], [1, "po-combo-item-title"], [3, "p-disabled", "p-visible", "p-checkbox-value", "p-label", "p-value", "p-selected", "p-separator", "p-danger", "p-icon", "p-type", "p-item", "p-field-value", "p-field-label", "p-template", "p-template-context", "p-search-value", "p-filter-mode", "p-filtering", "p-should-mark-letter", "p-compare-cache", "p-combo-service", "p-selectcheckbox-item", "p-selectcombo-item", "p-select-item"], ["p-size", "md"], ["class", "po-listbox-container-no-data po-text-center", 4, "ngIf"], [1, "po-listbox-container-no-data", "po-text-center"]], template: function PoListBoxComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5701
5732
|
i0.ɵɵprojectionDef(_c3$c);
|
|
5702
5733
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
5703
5734
|
i0.ɵɵprojection(2);
|
|
5704
5735
|
i0.ɵɵtemplate(3, PoListBoxComponent_po_search_list_3_Template, 2, 3, "po-search-list", 2);
|
|
5705
5736
|
i0.ɵɵtemplate(4, PoListBoxComponent_ng_container_4_Template, 5, 3, "ng-container", 3);
|
|
5706
|
-
i0.ɵɵtemplate(5, PoListBoxComponent_div_5_Template, 2,
|
|
5707
|
-
i0.ɵɵtemplate(6, PoListBoxComponent_ng_template_6_Template, 1,
|
|
5708
|
-
i0.ɵɵtemplate(8, PoListBoxComponent_ng_template_8_Template, 1, 0, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
5709
|
-
i0.ɵɵtemplate(10, PoListBoxComponent_ng_template_10_Template, 1, 1, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
|
5737
|
+
i0.ɵɵtemplate(5, PoListBoxComponent_div_5_Template, 2, 2, "div", 4);
|
|
5738
|
+
i0.ɵɵtemplate(6, PoListBoxComponent_ng_template_6_Template, 1, 1, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
|
|
5710
5739
|
i0.ɵɵelementEnd();
|
|
5711
5740
|
} if (rf & 2) {
|
|
5712
|
-
const
|
|
5741
|
+
const _r4 = i0.ɵɵreference(7);
|
|
5713
5742
|
i0.ɵɵclassProp("po-listbox-check", ctx.type === "check" || ctx.type === "option");
|
|
5714
5743
|
i0.ɵɵproperty("hidden", ctx.visible);
|
|
5715
5744
|
i0.ɵɵattribute("data-type", ctx.type);
|
|
5716
5745
|
i0.ɵɵadvance(3);
|
|
5717
5746
|
i0.ɵɵproperty("ngIf", !ctx.hideSearch && ctx.type === "check");
|
|
5718
5747
|
i0.ɵɵadvance(1);
|
|
5719
|
-
i0.ɵɵproperty("ngIf", ctx.checkTemplate())("ngIfElse",
|
|
5748
|
+
i0.ɵɵproperty("ngIf", ctx.checkTemplate())("ngIfElse", _r4);
|
|
5720
5749
|
i0.ɵɵadvance(1);
|
|
5721
5750
|
i0.ɵɵproperty("ngIf", ctx.isServerSearching && ctx.type !== "action");
|
|
5722
|
-
} }, dependencies: [i1.NgForOf, i1.NgIf,
|
|
5751
|
+
} }, dependencies: [i1.NgForOf, i1.NgIf, PoLoadingOverlayComponent, i5.CdkListbox, i5.CdkOption, PoItemListComponent, PoSearchListComponent, i1.JsonPipe], encapsulation: 2 });
|
|
5723
5752
|
}
|
|
5724
5753
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoListBoxComponent, [{
|
|
5725
5754
|
type: Component,
|
|
5726
|
-
args: [{ selector: 'po-listbox', template: "<div\n #listbox\n class=\"po-listbox\"\n [class.po-listbox-check]=\"type === 'check' || type === 'option'\"\n [attr.data-type]=\"type\"\n [hidden]=\"visible\"\n>\n <ng-content select=\"[p-popup-header-template]\"></ng-content>\n\n <po-search-list\n #searchElement\n *ngIf=\"!hideSearch && type === 'check'\"\n (p-change)=\"callChangeSearch($event)\"\n [p-literals]=\"literalSearch\"\n [p-field-value]=\"fieldValueSearch\"\n [p-placeholder]=\"placeholderSearch\"\n ></po-search-list>\n\n <ng-container *ngIf=\"checkTemplate(); else noDataTemplate\">\n <ul #listboxItemList cdkListbox [cdkListboxMultiple]=\"type === 'check'\" class=\"po-listbox-list\">\n <li\n cdkOption=\"selectAll\"\n *ngIf=\"type === 'check' && items.length && !searchElement?.inputValue && !hideSelectAll\"\n [attr.aria-checked]=\"checkboxAllValue === null ? 'mixed' : checkboxAllValue\"\n (click)=\"changeAll.emit()\"\n (keydown)=\"changeAllEmit($event)\"\n >\n <po-item-list\n [p-selected]=\"checkboxAllValue\"\n p-type=\"check\"\n [p-label]=\"literals.selectAll\"\n p-value=\"selectAll\"\n [p-checkbox-value]=\"checkboxAllValue\"\n >\n </po-item-list>\n </li>\n <li\n [class.po-listbox-item]=\"visible\"\n *ngFor=\"let item of items\"\n [cdkOption]=\"item[fieldLabel]\"\n [cdkOptionDisabled]=\"\n returnBooleanValue(item, 'disabled') || returnBooleanValue(item, 'visible') === false || item.options\n \"\n [attr.aria-selected]=\"isSelectedItem(item) || item.selected\"\n (click)=\"onSelectItem(item)\"\n (keydown)=\"onKeyDown(item, $event)\"\n >\n <label *ngIf=\"item.options\" class=\"po-combo-item-title\">\n {{ item.label }}\n </label>\n <po-item-list\n *ngIf=\"returnBooleanValue(item, 'visible') !== false && !item.options\"\n [p-disabled]=\"returnBooleanValue(item, 'disabled')\"\n [p-visible]=\"returnBooleanValue(item, 'visible')\"\n [p-checkbox-value]=\"isSelectedItem(item)\"\n [attr.data-item-list]=\"item | json\"\n [p-label]=\"item[fieldLabel]\"\n [p-value]=\"item[fieldValue]\"\n [p-selected]=\"isSelectedItem(item) || item.selected\"\n [p-separator]=\"item.separator\"\n [p-danger]=\"item.danger || item.type === 'danger'\"\n [p-icon]=\"item.icon\"\n [p-type]=\"type\"\n [p-item]=\"item\"\n [p-field-value]=\"fieldValue\"\n [p-field-label]=\"fieldLabel\"\n [p-template]=\"template\"\n [p-template-context]=\"item\"\n (p-selectcheckbox-item)=\"checkboxClicked($event)\"\n (p-selectcombo-item)=\"optionClicked($event)\"\n (p-select-item)=\"onSelectCheckBoxItem(item)\"\n [p-search-value]=\"searchValue\"\n [p-filter-mode]=\"filterMode\"\n [p-filtering]=\"isFiltering\"\n [p-should-mark-letter]=\"shouldMarkLetters\"\n [p-compare-cache]=\"compareCache\"\n [p-combo-service]=\"comboService\"\n ></po-item-list>\n </li>\n </ul>\n </ng-container>\n\n <div *ngIf=\"isServerSearching && type !== 'action'\" class
|
|
5755
|
+
args: [{ selector: 'po-listbox', template: "<div\n #listbox\n class=\"po-listbox\"\n [class.po-listbox-check]=\"type === 'check' || type === 'option'\"\n [attr.data-type]=\"type\"\n [hidden]=\"visible\"\n>\n <ng-content select=\"[p-popup-header-template]\"></ng-content>\n\n <po-search-list\n #searchElement\n *ngIf=\"!hideSearch && type === 'check'\"\n (p-change)=\"callChangeSearch($event)\"\n [p-literals]=\"literalSearch\"\n [p-field-value]=\"fieldValueSearch\"\n [p-placeholder]=\"placeholderSearch\"\n ></po-search-list>\n\n <ng-container *ngIf=\"checkTemplate(); else noDataTemplate\">\n <ul #listboxItemList cdkListbox [cdkListboxMultiple]=\"type === 'check'\" class=\"po-listbox-list\">\n <li\n cdkOption=\"selectAll\"\n *ngIf=\"type === 'check' && items.length && !searchElement?.inputValue && !hideSelectAll\"\n [attr.aria-checked]=\"checkboxAllValue === null ? 'mixed' : checkboxAllValue\"\n (click)=\"changeAll.emit()\"\n (keydown)=\"changeAllEmit($event)\"\n >\n <po-item-list\n [p-selected]=\"checkboxAllValue\"\n p-type=\"check\"\n [p-label]=\"literals.selectAll\"\n p-value=\"selectAll\"\n [p-checkbox-value]=\"checkboxAllValue\"\n >\n </po-item-list>\n </li>\n <li\n [class.po-listbox-item]=\"visible\"\n *ngFor=\"let item of items\"\n [cdkOption]=\"item[fieldLabel]\"\n [cdkOptionDisabled]=\"\n returnBooleanValue(item, 'disabled') || returnBooleanValue(item, 'visible') === false || item.options\n \"\n [attr.aria-selected]=\"isSelectedItem(item) || item.selected\"\n (click)=\"onSelectItem(item)\"\n (keydown)=\"onKeyDown(item, $event)\"\n >\n <label *ngIf=\"item.options\" class=\"po-combo-item-title\">\n {{ item.label }}\n </label>\n <po-item-list\n *ngIf=\"returnBooleanValue(item, 'visible') !== false && !item.options\"\n [p-disabled]=\"returnBooleanValue(item, 'disabled')\"\n [p-visible]=\"returnBooleanValue(item, 'visible')\"\n [p-checkbox-value]=\"isSelectedItem(item)\"\n [attr.data-item-list]=\"item | json\"\n [p-label]=\"item[fieldLabel]\"\n [p-value]=\"item[fieldValue]\"\n [p-selected]=\"isSelectedItem(item) || item.selected\"\n [p-separator]=\"item.separator\"\n [p-danger]=\"item.danger || item.type === 'danger'\"\n [p-icon]=\"item.icon\"\n [p-type]=\"type\"\n [p-item]=\"item\"\n [p-field-value]=\"fieldValue\"\n [p-field-label]=\"fieldLabel\"\n [p-template]=\"template\"\n [p-template-context]=\"item\"\n (p-selectcheckbox-item)=\"checkboxClicked($event)\"\n (p-selectcombo-item)=\"optionClicked($event)\"\n (p-select-item)=\"onSelectCheckBoxItem(item)\"\n [p-search-value]=\"searchValue\"\n [p-filter-mode]=\"filterMode\"\n [p-filtering]=\"isFiltering\"\n [p-should-mark-letter]=\"shouldMarkLetters\"\n [p-compare-cache]=\"compareCache\"\n [p-combo-service]=\"comboService\"\n ></po-item-list>\n </li>\n </ul>\n </ng-container>\n\n <div *ngIf=\"isServerSearching && type !== 'action'\" [class.po-listbox-container-loading-default]=\"!infiniteLoading\">\n <po-loading-overlay p-size=\"md\"></po-loading-overlay>\n </div>\n\n <ng-template #noDataTemplate>\n <div\n *ngIf=\"!items.length && !isServerSearching && type !== 'action'\"\n class=\"po-listbox-container-no-data po-text-center\"\n >\n <span> {{ literals.noItems }}</span>\n </div>\n </ng-template>\n</div>\n" }]
|
|
5727
5756
|
}], function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PoLanguageService }, { type: i2.Router }, { type: i0.ChangeDetectorRef }]; }, { listbox: [{
|
|
5728
5757
|
type: ViewChild,
|
|
5729
5758
|
args: ['listbox', { static: true }]
|
|
@@ -20163,6 +20192,7 @@ class PoTableBaseComponent {
|
|
|
20163
20192
|
itemsSelected = [];
|
|
20164
20193
|
paramsFilter;
|
|
20165
20194
|
filteredItems = [];
|
|
20195
|
+
initialized = false;
|
|
20166
20196
|
initialVisibleColumns = false;
|
|
20167
20197
|
_spacing = PoTableColumnSpacing.Medium;
|
|
20168
20198
|
_filteredColumns;
|
|
@@ -20627,6 +20657,10 @@ class PoTableBaseComponent {
|
|
|
20627
20657
|
if (changes.height) {
|
|
20628
20658
|
this.calculateHeightTableContainer(this.height);
|
|
20629
20659
|
}
|
|
20660
|
+
if ((changes.height || changes.items) && this.initialized) {
|
|
20661
|
+
this.changeHeaderWidth();
|
|
20662
|
+
}
|
|
20663
|
+
this.changeSizeLoading();
|
|
20630
20664
|
}
|
|
20631
20665
|
selectAllRows() {
|
|
20632
20666
|
if (!this.hideSelectAll) {
|
|
@@ -21419,20 +21453,17 @@ function PoTableComponent_po_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
21419
21453
|
i0.ɵɵadvance(1);
|
|
21420
21454
|
i0.ɵɵproperty("ngTemplateOutlet", _r4);
|
|
21421
21455
|
} }
|
|
21422
|
-
function
|
|
21423
|
-
i0.ɵɵ
|
|
21424
|
-
i0.ɵɵelement(1, "po-loading", 46);
|
|
21425
|
-
i0.ɵɵelementEnd();
|
|
21456
|
+
function PoTableComponent_ng_template_5_po_loading_overlay_1_Template(rf, ctx) { if (rf & 1) {
|
|
21457
|
+
i0.ɵɵelement(0, "po-loading-overlay", 45);
|
|
21426
21458
|
} if (rf & 2) {
|
|
21427
21459
|
const ctx_r41 = i0.ɵɵnextContext(2);
|
|
21428
|
-
i0.ɵɵ
|
|
21429
|
-
i0.ɵɵproperty("p-text", ctx_r41.literals.loadingData);
|
|
21460
|
+
i0.ɵɵproperty("p-text", ctx_r41.literals.loadingData)("p-size", ctx_r41.sizeLoading);
|
|
21430
21461
|
} }
|
|
21431
21462
|
function PoTableComponent_ng_template_5_div_5_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
21432
21463
|
i0.ɵɵelementContainer(0);
|
|
21433
21464
|
} }
|
|
21434
21465
|
function PoTableComponent_ng_template_5_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
21435
|
-
i0.ɵɵelementStart(0, "div",
|
|
21466
|
+
i0.ɵɵelementStart(0, "div", 46)(1, "div", 47, 48);
|
|
21436
21467
|
i0.ɵɵtemplate(3, PoTableComponent_ng_template_5_div_5_ng_container_3_Template, 1, 0, "ng-container", 37);
|
|
21437
21468
|
i0.ɵɵelementEnd()();
|
|
21438
21469
|
} if (rf & 2) {
|
|
@@ -21457,7 +21488,7 @@ function PoTableComponent_ng_template_5_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
21457
21488
|
} }
|
|
21458
21489
|
function PoTableComponent_ng_template_5_div_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
21459
21490
|
i0.ɵɵelementContainerStart(0);
|
|
21460
|
-
i0.ɵɵelement(1, "po-table-subtitle-footer",
|
|
21491
|
+
i0.ɵɵelement(1, "po-table-subtitle-footer", 51);
|
|
21461
21492
|
i0.ɵɵelementContainerEnd();
|
|
21462
21493
|
} if (rf & 2) {
|
|
21463
21494
|
const column_r50 = ctx.$implicit;
|
|
@@ -21466,8 +21497,8 @@ function PoTableComponent_ng_template_5_div_7_ng_container_1_Template(rf, ctx) {
|
|
|
21466
21497
|
i0.ɵɵproperty("p-literals", ctx_r49.literals)("p-subtitles", column_r50.subtitles);
|
|
21467
21498
|
} }
|
|
21468
21499
|
function PoTableComponent_ng_template_5_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
21469
|
-
i0.ɵɵelementStart(0, "div",
|
|
21470
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_5_div_7_ng_container_1_Template, 2, 2, "ng-container",
|
|
21500
|
+
i0.ɵɵelementStart(0, "div", 49);
|
|
21501
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_5_div_7_ng_container_1_Template, 2, 2, "ng-container", 50);
|
|
21471
21502
|
i0.ɵɵelementEnd();
|
|
21472
21503
|
} if (rf & 2) {
|
|
21473
21504
|
const ctx_r45 = i0.ɵɵnextContext(2);
|
|
@@ -21476,7 +21507,7 @@ function PoTableComponent_ng_template_5_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
21476
21507
|
} }
|
|
21477
21508
|
function PoTableComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
21478
21509
|
i0.ɵɵelementStart(0, "div");
|
|
21479
|
-
i0.ɵɵtemplate(1,
|
|
21510
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_5_po_loading_overlay_1_Template, 1, 2, "po-loading-overlay", 38);
|
|
21480
21511
|
i0.ɵɵelementStart(2, "div", 39)(3, "div", 40, 41);
|
|
21481
21512
|
i0.ɵɵtemplate(5, PoTableComponent_ng_template_5_div_5_Template, 4, 3, "div", 42);
|
|
21482
21513
|
i0.ɵɵtemplate(6, PoTableComponent_ng_template_5_div_6_Template, 2, 1, "div", 43);
|
|
@@ -21484,7 +21515,7 @@ function PoTableComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
21484
21515
|
i0.ɵɵtemplate(7, PoTableComponent_ng_template_5_div_7_Template, 2, 2, "div", 44);
|
|
21485
21516
|
} if (rf & 2) {
|
|
21486
21517
|
const ctx_r5 = i0.ɵɵnextContext();
|
|
21487
|
-
i0.ɵɵclassProp("po-table-container-
|
|
21518
|
+
i0.ɵɵclassProp("po-table-container-sticky", ctx_r5.loading);
|
|
21488
21519
|
i0.ɵɵadvance(1);
|
|
21489
21520
|
i0.ɵɵproperty("ngIf", ctx_r5.loading);
|
|
21490
21521
|
i0.ɵɵadvance(2);
|
|
@@ -21499,7 +21530,7 @@ function PoTableComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
21499
21530
|
} }
|
|
21500
21531
|
function PoTableComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
21501
21532
|
const _r53 = i0.ɵɵgetCurrentView();
|
|
21502
|
-
i0.ɵɵelementStart(0, "div",
|
|
21533
|
+
i0.ɵɵelementStart(0, "div", 52, 53)(2, "po-button", 54);
|
|
21503
21534
|
i0.ɵɵlistener("p-click", function PoTableComponent_div_7_Template_po_button_p_click_2_listener() { i0.ɵɵrestoreView(_r53); const ctx_r52 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r52.onShowMore()); });
|
|
21504
21535
|
i0.ɵɵelementEnd()();
|
|
21505
21536
|
} if (rf & 2) {
|
|
@@ -21510,7 +21541,7 @@ function PoTableComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
21510
21541
|
} }
|
|
21511
21542
|
function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template(rf, ctx) { if (rf & 1) {
|
|
21512
21543
|
const _r69 = i0.ɵɵgetCurrentView();
|
|
21513
|
-
i0.ɵɵelementStart(0, "po-checkbox",
|
|
21544
|
+
i0.ɵɵelementStart(0, "po-checkbox", 68);
|
|
21514
21545
|
i0.ɵɵlistener("p-change", function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template_po_checkbox_p_change_0_listener() { i0.ɵɵrestoreView(_r69); const ctx_r68 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r68.selectAllRows()); });
|
|
21515
21546
|
i0.ɵɵelementEnd();
|
|
21516
21547
|
} if (rf & 2) {
|
|
@@ -21518,8 +21549,8 @@ function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template(rf, ctx) { i
|
|
|
21518
21549
|
i0.ɵɵproperty("p-checkboxValue", ctx_r67.selectAll === null ? "mixed" : ctx_r67.selectAll);
|
|
21519
21550
|
} }
|
|
21520
21551
|
function PoTableComponent_ng_template_8_th_3_Template(rf, ctx) { if (rf & 1) {
|
|
21521
|
-
i0.ɵɵelementStart(0, "th",
|
|
21522
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template, 1, 1, "po-checkbox",
|
|
21552
|
+
i0.ɵɵelementStart(0, "th", 66)(1, "div");
|
|
21553
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template, 1, 1, "po-checkbox", 67);
|
|
21523
21554
|
i0.ɵɵelementEnd()();
|
|
21524
21555
|
} if (rf & 2) {
|
|
21525
21556
|
const ctx_r54 = i0.ɵɵnextContext(2);
|
|
@@ -21530,10 +21561,10 @@ function PoTableComponent_ng_template_8_th_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
21530
21561
|
i0.ɵɵproperty("ngIf", !ctx_r54.hideSelectAll);
|
|
21531
21562
|
} }
|
|
21532
21563
|
function PoTableComponent_ng_template_8_th_4_Template(rf, ctx) { if (rf & 1) {
|
|
21533
|
-
i0.ɵɵelement(0, "th",
|
|
21564
|
+
i0.ɵɵelement(0, "th", 69);
|
|
21534
21565
|
} }
|
|
21535
21566
|
function PoTableComponent_ng_template_8_th_5_Template(rf, ctx) { if (rf & 1) {
|
|
21536
|
-
i0.ɵɵelement(0, "th", null,
|
|
21567
|
+
i0.ɵɵelement(0, "th", null, 70);
|
|
21537
21568
|
} if (rf & 2) {
|
|
21538
21569
|
const ctx_r56 = i0.ɵɵnextContext(2);
|
|
21539
21570
|
i0.ɵɵclassProp("po-table-header-master-detail", !ctx_r56.isSingleAction)("po-table-header-single-action", ctx_r56.isSingleAction);
|
|
@@ -21542,8 +21573,8 @@ function PoTableComponent_ng_template_8_th_6_ng_container_2_Template(rf, ctx) {
|
|
|
21542
21573
|
i0.ɵɵelementContainer(0);
|
|
21543
21574
|
} }
|
|
21544
21575
|
function PoTableComponent_ng_template_8_th_6_Template(rf, ctx) { if (rf & 1) {
|
|
21545
|
-
i0.ɵɵelementStart(0, "th",
|
|
21546
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_6_ng_container_2_Template, 1, 0, "ng-container",
|
|
21576
|
+
i0.ɵɵelementStart(0, "th", 71, 72);
|
|
21577
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_6_ng_container_2_Template, 1, 0, "ng-container", 61);
|
|
21547
21578
|
i0.ɵɵelementEnd();
|
|
21548
21579
|
} if (rf & 2) {
|
|
21549
21580
|
const ctx_r57 = i0.ɵɵnextContext(2);
|
|
@@ -21558,8 +21589,8 @@ function PoTableComponent_ng_template_8_ng_container_7_Template(rf, ctx) { if (r
|
|
|
21558
21589
|
function PoTableComponent_ng_template_8_ng_template_8_th_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
21559
21590
|
i0.ɵɵelementContainerStart(0);
|
|
21560
21591
|
i0.ɵɵnamespaceSVG();
|
|
21561
|
-
i0.ɵɵelementStart(1, "svg",
|
|
21562
|
-
i0.ɵɵelement(2, "circle",
|
|
21592
|
+
i0.ɵɵelementStart(1, "svg", 77);
|
|
21593
|
+
i0.ɵɵelement(2, "circle", 78)(3, "circle", 79)(4, "circle", 80)(5, "circle", 81)(6, "circle", 82)(7, "circle", 83);
|
|
21563
21594
|
i0.ɵɵelementEnd();
|
|
21564
21595
|
i0.ɵɵelementContainerEnd();
|
|
21565
21596
|
} }
|
|
@@ -21570,13 +21601,13 @@ const _c15 = function (a0) { return { "po-table-header-sorted": a0 }; };
|
|
|
21570
21601
|
const _c16 = function (a0) { return { $implicit: a0 }; };
|
|
21571
21602
|
function PoTableComponent_ng_template_8_ng_template_8_th_0_Template(rf, ctx) { if (rf & 1) {
|
|
21572
21603
|
const _r79 = i0.ɵɵgetCurrentView();
|
|
21573
|
-
i0.ɵɵelementStart(0, "th",
|
|
21604
|
+
i0.ɵɵelementStart(0, "th", 74);
|
|
21574
21605
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_template_8_th_0_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r79); const column_r74 = restoredCtx.$implicit; const ctx_r78 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r78.sortColumn(column_r74)); });
|
|
21575
21606
|
i0.ɵɵpipe(1, "lowercase");
|
|
21576
21607
|
i0.ɵɵpipe(2, "titlecase");
|
|
21577
|
-
i0.ɵɵelementStart(3, "div",
|
|
21608
|
+
i0.ɵɵelementStart(3, "div", 75);
|
|
21578
21609
|
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_template_8_th_0_ng_container_4_Template, 8, 0, "ng-container", 43);
|
|
21579
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_template_8_th_0_ng_container_5_Template, 1, 0, "ng-container",
|
|
21610
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_template_8_th_0_ng_container_5_Template, 1, 0, "ng-container", 76);
|
|
21580
21611
|
i0.ɵɵelementEnd()();
|
|
21581
21612
|
} if (rf & 2) {
|
|
21582
21613
|
const column_r74 = ctx.$implicit;
|
|
@@ -21594,7 +21625,7 @@ function PoTableComponent_ng_template_8_ng_template_8_th_0_Template(rf, ctx) { i
|
|
|
21594
21625
|
i0.ɵɵproperty("ngTemplateOutlet", _r18)("ngTemplateOutletContext", i0.ɵɵpureFunction1(31, _c16, column_r74));
|
|
21595
21626
|
} }
|
|
21596
21627
|
function PoTableComponent_ng_template_8_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
21597
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_template_8_th_0_Template, 6, 33, "th",
|
|
21628
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_template_8_th_0_Template, 6, 33, "th", 73);
|
|
21598
21629
|
} if (rf & 2) {
|
|
21599
21630
|
const ctx_r60 = i0.ɵɵnextContext(2);
|
|
21600
21631
|
i0.ɵɵproperty("ngForOf", ctx_r60.mainColumns)("ngForTrackBy", ctx_r60.trackBy);
|
|
@@ -21604,12 +21635,12 @@ function PoTableComponent_ng_template_8_ng_template_10_th_0_ng_container_4_Templ
|
|
|
21604
21635
|
} }
|
|
21605
21636
|
function PoTableComponent_ng_template_8_ng_template_10_th_0_Template(rf, ctx) { if (rf & 1) {
|
|
21606
21637
|
const _r85 = i0.ɵɵgetCurrentView();
|
|
21607
|
-
i0.ɵɵelementStart(0, "th",
|
|
21638
|
+
i0.ɵɵelementStart(0, "th", 85);
|
|
21608
21639
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_template_10_th_0_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r85); const column_r81 = restoredCtx.$implicit; const ctx_r84 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r84.sortColumn(column_r81)); });
|
|
21609
21640
|
i0.ɵɵpipe(1, "lowercase");
|
|
21610
21641
|
i0.ɵɵpipe(2, "titlecase");
|
|
21611
|
-
i0.ɵɵelementStart(3, "div",
|
|
21612
|
-
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_template_10_th_0_ng_container_4_Template, 1, 0, "ng-container",
|
|
21642
|
+
i0.ɵɵelementStart(3, "div", 75);
|
|
21643
|
+
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_template_10_th_0_ng_container_4_Template, 1, 0, "ng-container", 76);
|
|
21613
21644
|
i0.ɵɵelementEnd()();
|
|
21614
21645
|
} if (rf & 2) {
|
|
21615
21646
|
const column_r81 = ctx.$implicit;
|
|
@@ -21625,13 +21656,13 @@ function PoTableComponent_ng_template_8_ng_template_10_th_0_Template(rf, ctx) {
|
|
|
21625
21656
|
i0.ɵɵproperty("ngTemplateOutlet", _r18)("ngTemplateOutletContext", i0.ɵɵpureFunction1(27, _c16, column_r81));
|
|
21626
21657
|
} }
|
|
21627
21658
|
function PoTableComponent_ng_template_8_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
21628
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_template_10_th_0_Template, 5, 29, "th",
|
|
21659
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_template_10_th_0_Template, 5, 29, "th", 84);
|
|
21629
21660
|
} if (rf & 2) {
|
|
21630
21661
|
const ctx_r62 = i0.ɵɵnextContext(2);
|
|
21631
21662
|
i0.ɵɵproperty("ngForOf", ctx_r62.mainColumns)("ngForTrackBy", ctx_r62.trackBy);
|
|
21632
21663
|
} }
|
|
21633
21664
|
function PoTableComponent_ng_template_8_th_12_Template(rf, ctx) { if (rf & 1) {
|
|
21634
|
-
i0.ɵɵelement(0, "th",
|
|
21665
|
+
i0.ɵɵelement(0, "th", 69);
|
|
21635
21666
|
} }
|
|
21636
21667
|
function PoTableComponent_ng_template_8_th_13_Template(rf, ctx) { if (rf & 1) {
|
|
21637
21668
|
i0.ɵɵelement(0, "th");
|
|
@@ -21640,7 +21671,7 @@ function PoTableComponent_ng_template_8_th_13_Template(rf, ctx) { if (rf & 1) {
|
|
|
21640
21671
|
i0.ɵɵclassProp("po-table-header-single-action", ctx_r64.isSingleAction)("po-table-header-actions", !ctx_r64.isSingleAction);
|
|
21641
21672
|
} }
|
|
21642
21673
|
function PoTableComponent_ng_template_8_tbody_14_Template(rf, ctx) { if (rf & 1) {
|
|
21643
|
-
i0.ɵɵelementStart(0, "tbody",
|
|
21674
|
+
i0.ɵɵelementStart(0, "tbody", 86)(1, "tr", 87)(2, "td", 88)(3, "span");
|
|
21644
21675
|
i0.ɵɵtext(4);
|
|
21645
21676
|
i0.ɵɵelementEnd()()()();
|
|
21646
21677
|
} if (rf & 2) {
|
|
@@ -21654,8 +21685,8 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_2_ng_containe
|
|
|
21654
21685
|
i0.ɵɵelementContainer(0);
|
|
21655
21686
|
} }
|
|
21656
21687
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
21657
|
-
i0.ɵɵelementStart(0, "td",
|
|
21658
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container",
|
|
21688
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
21689
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 76);
|
|
21659
21690
|
i0.ɵɵelementEnd();
|
|
21660
21691
|
} if (rf & 2) {
|
|
21661
21692
|
const row_r87 = i0.ɵɵnextContext().$implicit;
|
|
@@ -21669,9 +21700,9 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_ng_template
|
|
|
21669
21700
|
const _c17 = function (a0, a1) { return { row: a0, rowIndex: a1 }; };
|
|
21670
21701
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
21671
21702
|
const _r103 = i0.ɵɵgetCurrentView();
|
|
21672
|
-
i0.ɵɵelementStart(0, "td",
|
|
21703
|
+
i0.ɵɵelementStart(0, "td", 94);
|
|
21673
21704
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r103); const row_r87 = i0.ɵɵnextContext().$implicit; const ctx_r101 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r101.toggleDetail(row_r87)); });
|
|
21674
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template",
|
|
21705
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 95);
|
|
21675
21706
|
i0.ɵɵelementEnd();
|
|
21676
21707
|
} if (rf & 2) {
|
|
21677
21708
|
const ctx_r104 = i0.ɵɵnextContext();
|
|
@@ -21684,7 +21715,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_Template(rf
|
|
|
21684
21715
|
} }
|
|
21685
21716
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_4_ng_template_0_Template(rf, ctx) { }
|
|
21686
21717
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_4_Template(rf, ctx) { if (rf & 1) {
|
|
21687
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_15_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template",
|
|
21718
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_15_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 95);
|
|
21688
21719
|
} if (rf & 2) {
|
|
21689
21720
|
const ctx_r106 = i0.ɵɵnextContext();
|
|
21690
21721
|
const row_r87 = ctx_r106.$implicit;
|
|
@@ -21696,9 +21727,9 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_4_Template(rf, c
|
|
|
21696
21727
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_ng_template_1_Template(rf, ctx) { }
|
|
21697
21728
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_Template(rf, ctx) { if (rf & 1) {
|
|
21698
21729
|
const _r110 = i0.ɵɵgetCurrentView();
|
|
21699
|
-
i0.ɵɵelementStart(0, "td",
|
|
21730
|
+
i0.ɵɵelementStart(0, "td", 94);
|
|
21700
21731
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r110); const row_r87 = i0.ɵɵnextContext().$implicit; const ctx_r108 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r108.toggleDetail(row_r87)); });
|
|
21701
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template",
|
|
21732
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 95);
|
|
21702
21733
|
i0.ɵɵelementEnd();
|
|
21703
21734
|
} if (rf & 2) {
|
|
21704
21735
|
const ctx_r111 = i0.ɵɵnextContext();
|
|
@@ -21714,7 +21745,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_2_ng_c
|
|
|
21714
21745
|
} }
|
|
21715
21746
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
21716
21747
|
i0.ɵɵelementStart(0, "span");
|
|
21717
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container",
|
|
21748
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container", 76);
|
|
21718
21749
|
i0.ɵɵelementEnd();
|
|
21719
21750
|
} if (rf & 2) {
|
|
21720
21751
|
const column_r112 = i0.ɵɵnextContext().$implicit;
|
|
@@ -21729,7 +21760,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_3_ng_c
|
|
|
21729
21760
|
const _c18 = function (a0, a1) { return { row: a0, column: a1 }; };
|
|
21730
21761
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
21731
21762
|
i0.ɵɵelementStart(0, "span");
|
|
21732
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container",
|
|
21763
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container", 76);
|
|
21733
21764
|
i0.ɵɵelementEnd();
|
|
21734
21765
|
} if (rf & 2) {
|
|
21735
21766
|
const column_r112 = i0.ɵɵnextContext().$implicit;
|
|
@@ -21810,7 +21841,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_9_Temp
|
|
|
21810
21841
|
} }
|
|
21811
21842
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_link_10_Template(rf, ctx) { if (rf & 1) {
|
|
21812
21843
|
const _r147 = i0.ɵɵgetCurrentView();
|
|
21813
|
-
i0.ɵɵelementStart(0, "po-table-column-link",
|
|
21844
|
+
i0.ɵɵelementStart(0, "po-table-column-link", 102);
|
|
21814
21845
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_link_10_Template_po_table_column_link_click_0_listener($event) { i0.ɵɵrestoreView(_r147); const column_r112 = i0.ɵɵnextContext().$implicit; const row_r87 = i0.ɵɵnextContext().$implicit; const ctx_r145 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r145.onClickLink($event, row_r87, column_r112)); });
|
|
21815
21846
|
i0.ɵɵelementEnd();
|
|
21816
21847
|
} if (rf & 2) {
|
|
@@ -21820,7 +21851,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_co
|
|
|
21820
21851
|
i0.ɵɵproperty("p-action", column_r112.action)("p-disabled", ctx_r122.checkDisabled(row_r87, column_r112))("p-link", row_r87[column_r112.link])("p-row", row_r87)("p-value", ctx_r122.getCellData(row_r87, column_r112));
|
|
21821
21852
|
} }
|
|
21822
21853
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_icon_11_Template(rf, ctx) { if (rf & 1) {
|
|
21823
|
-
i0.ɵɵelement(0, "po-table-column-icon",
|
|
21854
|
+
i0.ɵɵelement(0, "po-table-column-icon", 103);
|
|
21824
21855
|
} if (rf & 2) {
|
|
21825
21856
|
const column_r112 = i0.ɵɵnextContext().$implicit;
|
|
21826
21857
|
const row_r87 = i0.ɵɵnextContext().$implicit;
|
|
@@ -21829,7 +21860,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_co
|
|
|
21829
21860
|
} }
|
|
21830
21861
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_12_Template(rf, ctx) { if (rf & 1) {
|
|
21831
21862
|
i0.ɵɵelementStart(0, "span");
|
|
21832
|
-
i0.ɵɵelement(1, "po-table-subtitle-circle",
|
|
21863
|
+
i0.ɵɵelement(1, "po-table-subtitle-circle", 104);
|
|
21833
21864
|
i0.ɵɵelementEnd();
|
|
21834
21865
|
} if (rf & 2) {
|
|
21835
21866
|
const column_r112 = i0.ɵɵnextContext().$implicit;
|
|
@@ -21840,7 +21871,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_12_Tem
|
|
|
21840
21871
|
} }
|
|
21841
21872
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_13_Template(rf, ctx) { if (rf & 1) {
|
|
21842
21873
|
i0.ɵɵelementStart(0, "span");
|
|
21843
|
-
i0.ɵɵelement(1, "po-table-column-label",
|
|
21874
|
+
i0.ɵɵelement(1, "po-table-column-label", 105);
|
|
21844
21875
|
i0.ɵɵelementEnd();
|
|
21845
21876
|
} if (rf & 2) {
|
|
21846
21877
|
const column_r112 = i0.ɵɵnextContext().$implicit;
|
|
@@ -21862,23 +21893,23 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_14_Tem
|
|
|
21862
21893
|
} }
|
|
21863
21894
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
21864
21895
|
const _r160 = i0.ɵɵgetCurrentView();
|
|
21865
|
-
i0.ɵɵelementStart(0, "td",
|
|
21896
|
+
i0.ɵɵelementStart(0, "td", 96);
|
|
21866
21897
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r160); const row_r87 = i0.ɵɵnextContext().$implicit; const ctx_r159 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r159.hasSelectableRow() ? ctx_r159.selectRow(row_r87) : "javascript:;"); });
|
|
21867
|
-
i0.ɵɵelementStart(1, "div",
|
|
21898
|
+
i0.ɵɵelementStart(1, "div", 97);
|
|
21868
21899
|
i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template_div_mouseenter_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r160); const column_r112 = restoredCtx.$implicit; const row_r87 = i0.ɵɵnextContext().$implicit; const ctx_r162 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r162.tooltipMouseEnter($event, column_r112, row_r87)); })("mouseleave", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template_div_mouseleave_1_listener() { i0.ɵɵrestoreView(_r160); const ctx_r164 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r164.tooltipMouseLeave()); });
|
|
21869
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_2_Template, 2, 4, "span",
|
|
21870
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_3_Template, 2, 5, "span",
|
|
21871
|
-
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_4_Template, 2, 1, "span",
|
|
21872
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_5_Template, 3, 6, "span",
|
|
21873
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_6_Template, 3, 4, "span",
|
|
21874
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_7_Template, 3, 4, "span",
|
|
21875
|
-
i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_8_Template, 3, 4, "span",
|
|
21876
|
-
i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_9_Template, 2, 1, "span",
|
|
21877
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link",
|
|
21878
|
-
i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon",
|
|
21879
|
-
i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_12_Template, 2, 1, "span",
|
|
21880
|
-
i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_13_Template, 2, 1, "span",
|
|
21881
|
-
i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_14_Template, 2, 1, "span",
|
|
21900
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_2_Template, 2, 4, "span", 98);
|
|
21901
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_3_Template, 2, 5, "span", 98);
|
|
21902
|
+
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_4_Template, 2, 1, "span", 98);
|
|
21903
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_5_Template, 3, 6, "span", 98);
|
|
21904
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_6_Template, 3, 4, "span", 98);
|
|
21905
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_7_Template, 3, 4, "span", 98);
|
|
21906
|
+
i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_8_Template, 3, 4, "span", 98);
|
|
21907
|
+
i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_9_Template, 2, 1, "span", 98);
|
|
21908
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link", 99);
|
|
21909
|
+
i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon", 100);
|
|
21910
|
+
i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_12_Template, 2, 1, "span", 98);
|
|
21911
|
+
i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_13_Template, 2, 1, "span", 98);
|
|
21912
|
+
i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_14_Template, 2, 1, "span", 101);
|
|
21882
21913
|
i0.ɵɵelementEnd()();
|
|
21883
21914
|
} if (rf & 2) {
|
|
21884
21915
|
const column_r112 = ctx.$implicit;
|
|
@@ -21917,9 +21948,9 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template(rf
|
|
|
21917
21948
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_ng_template_1_Template(rf, ctx) { }
|
|
21918
21949
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
21919
21950
|
const _r169 = i0.ɵɵgetCurrentView();
|
|
21920
|
-
i0.ɵɵelementStart(0, "td",
|
|
21951
|
+
i0.ɵɵelementStart(0, "td", 94);
|
|
21921
21952
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r169); const row_r87 = i0.ɵɵnextContext().$implicit; const ctx_r167 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r167.toggleDetail(row_r87)); });
|
|
21922
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template",
|
|
21953
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 95);
|
|
21923
21954
|
i0.ɵɵelementEnd();
|
|
21924
21955
|
} if (rf & 2) {
|
|
21925
21956
|
const ctx_r170 = i0.ɵɵnextContext();
|
|
@@ -21932,7 +21963,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_Template(rf
|
|
|
21932
21963
|
} }
|
|
21933
21964
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_8_ng_template_0_Template(rf, ctx) { }
|
|
21934
21965
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_8_Template(rf, ctx) { if (rf & 1) {
|
|
21935
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_15_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template",
|
|
21966
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_15_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 95);
|
|
21936
21967
|
} if (rf & 2) {
|
|
21937
21968
|
const ctx_r172 = i0.ɵɵnextContext();
|
|
21938
21969
|
const row_r87 = ctx_r172.$implicit;
|
|
@@ -21944,8 +21975,8 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_8_Template(rf, c
|
|
|
21944
21975
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_9_ng_template_2_Template(rf, ctx) { }
|
|
21945
21976
|
const _c19 = function (a0, a1) { return { $implicit: a0, rowIndex: a1 }; };
|
|
21946
21977
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_9_Template(rf, ctx) { if (rf & 1) {
|
|
21947
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
21948
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_9_ng_template_2_Template, 0, 0, "ng-template",
|
|
21978
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 106);
|
|
21979
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_9_ng_template_2_Template, 0, 0, "ng-template", 95);
|
|
21949
21980
|
i0.ɵɵelementEnd()();
|
|
21950
21981
|
} if (rf & 2) {
|
|
21951
21982
|
const ctx_r174 = i0.ɵɵnextContext();
|
|
@@ -21959,7 +21990,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_9_Template(rf
|
|
|
21959
21990
|
} }
|
|
21960
21991
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_10_Template(rf, ctx) { if (rf & 1) {
|
|
21961
21992
|
const _r176 = i0.ɵɵgetCurrentView();
|
|
21962
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
21993
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 107)(2, "po-table-detail", 108);
|
|
21963
21994
|
i0.ɵɵlistener("p-select-row", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_10_Template_po_table_detail_p_select_row_2_listener($event) { i0.ɵɵrestoreView(_r176); const ctx_r175 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r175.selectDetailRow($event)); });
|
|
21964
21995
|
i0.ɵɵelementEnd()()();
|
|
21965
21996
|
} if (rf & 2) {
|
|
@@ -21971,13 +22002,13 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_10_Template(r
|
|
|
21971
22002
|
i0.ɵɵproperty("p-selectable", ctx_r97.selectable && !ctx_r97.detailHideSelect)("p-detail", ctx_r97.columnMasterDetail.detail)("p-items", row_r87[ctx_r97.nameColumnDetail]);
|
|
21972
22003
|
} }
|
|
21973
22004
|
function PoTableComponent_ng_template_8_ng_container_15_tbody_1_Template(rf, ctx) { if (rf & 1) {
|
|
21974
|
-
i0.ɵɵelementStart(0, "tbody",
|
|
21975
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_2_Template, 2, 4, "td",
|
|
21976
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_Template, 2, 5, "td",
|
|
22005
|
+
i0.ɵɵelementStart(0, "tbody", 86)(1, "tr", 90);
|
|
22006
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_2_Template, 2, 4, "td", 91);
|
|
22007
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_Template, 2, 5, "td", 92);
|
|
21977
22008
|
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_15_tbody_1_4_Template, 1, 5, null, 43);
|
|
21978
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_Template, 2, 5, "td",
|
|
21979
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template, 15, 31, "td",
|
|
21980
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_Template, 2, 5, "td",
|
|
22009
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_Template, 2, 5, "td", 92);
|
|
22010
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template, 15, 31, "td", 93);
|
|
22011
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_Template, 2, 5, "td", 92);
|
|
21981
22012
|
i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_15_tbody_1_8_Template, 1, 5, null, 43);
|
|
21982
22013
|
i0.ɵɵelementEnd();
|
|
21983
22014
|
i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_9_Template, 3, 6, "tr", 43);
|
|
@@ -22010,7 +22041,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_Template(rf, ctx
|
|
|
22010
22041
|
} }
|
|
22011
22042
|
function PoTableComponent_ng_template_8_ng_container_15_Template(rf, ctx) { if (rf & 1) {
|
|
22012
22043
|
i0.ɵɵelementContainerStart(0);
|
|
22013
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_Template, 11, 12, "tbody",
|
|
22044
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_Template, 11, 12, "tbody", 89);
|
|
22014
22045
|
i0.ɵɵelementContainerEnd();
|
|
22015
22046
|
} if (rf & 2) {
|
|
22016
22047
|
const ctx_r66 = i0.ɵɵnextContext(2);
|
|
@@ -22021,19 +22052,19 @@ const _c20 = function (a0, a1, a2) { return { "po-table-interactive": a0, "po-ta
|
|
|
22021
22052
|
const _c21 = function (a0, a1) { return { "no-hover": a0, "po-table-column-drag": a1 }; };
|
|
22022
22053
|
function PoTableComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
22023
22054
|
const _r179 = i0.ɵɵgetCurrentView();
|
|
22024
|
-
i0.ɵɵelementStart(0, "table",
|
|
22055
|
+
i0.ɵɵelementStart(0, "table", 55)(1, "thead")(2, "tr", 56);
|
|
22025
22056
|
i0.ɵɵlistener("cdkDropListDropped", function PoTableComponent_ng_template_8_Template_tr_cdkDropListDropped_2_listener($event) { i0.ɵɵrestoreView(_r179); const ctx_r178 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r178.drop($event)); });
|
|
22026
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_th_3_Template, 3, 5, "th",
|
|
22027
|
-
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_th_4_Template, 1, 0, "th",
|
|
22028
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_th_5_Template, 2, 4, "th",
|
|
22029
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_th_6_Template, 3, 3, "th",
|
|
22030
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_7_Template, 1, 0, "ng-container",
|
|
22031
|
-
i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_template_8_Template, 1, 2, "ng-template", null,
|
|
22032
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_template_10_Template, 1, 2, "ng-template", null,
|
|
22033
|
-
i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_th_12_Template, 1, 0, "th",
|
|
22034
|
-
i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_th_13_Template, 1, 4, "th",
|
|
22057
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_th_3_Template, 3, 5, "th", 57);
|
|
22058
|
+
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_th_4_Template, 1, 0, "th", 58);
|
|
22059
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_th_5_Template, 2, 4, "th", 59);
|
|
22060
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_th_6_Template, 3, 3, "th", 60);
|
|
22061
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_7_Template, 1, 0, "ng-container", 61);
|
|
22062
|
+
i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_template_8_Template, 1, 2, "ng-template", null, 62, i0.ɵɵtemplateRefExtractor);
|
|
22063
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_template_10_Template, 1, 2, "ng-template", null, 63, i0.ɵɵtemplateRefExtractor);
|
|
22064
|
+
i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_th_12_Template, 1, 0, "th", 58);
|
|
22065
|
+
i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_th_13_Template, 1, 4, "th", 64);
|
|
22035
22066
|
i0.ɵɵelementEnd()();
|
|
22036
|
-
i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_tbody_14_Template, 5, 2, "tbody",
|
|
22067
|
+
i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_tbody_14_Template, 5, 2, "tbody", 65);
|
|
22037
22068
|
i0.ɵɵtemplate(15, PoTableComponent_ng_template_8_ng_container_15_Template, 2, 2, "ng-container", 43);
|
|
22038
22069
|
i0.ɵɵelementEnd();
|
|
22039
22070
|
} if (rf & 2) {
|
|
@@ -22066,7 +22097,7 @@ function PoTableComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
22066
22097
|
} }
|
|
22067
22098
|
function PoTableComponent_ng_template_10_th_5_po_checkbox_2_Template(rf, ctx) { if (rf & 1) {
|
|
22068
22099
|
const _r196 = i0.ɵɵgetCurrentView();
|
|
22069
|
-
i0.ɵɵelementStart(0, "po-checkbox",
|
|
22100
|
+
i0.ɵɵelementStart(0, "po-checkbox", 68);
|
|
22070
22101
|
i0.ɵɵlistener("p-change", function PoTableComponent_ng_template_10_th_5_po_checkbox_2_Template_po_checkbox_p_change_0_listener() { i0.ɵɵrestoreView(_r196); const ctx_r195 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r195.selectAllRows()); });
|
|
22071
22102
|
i0.ɵɵelementEnd();
|
|
22072
22103
|
} if (rf & 2) {
|
|
@@ -22074,8 +22105,8 @@ function PoTableComponent_ng_template_10_th_5_po_checkbox_2_Template(rf, ctx) {
|
|
|
22074
22105
|
i0.ɵɵproperty("p-checkboxValue", ctx_r194.selectAll === null ? "mixed" : ctx_r194.selectAll);
|
|
22075
22106
|
} }
|
|
22076
22107
|
function PoTableComponent_ng_template_10_th_5_Template(rf, ctx) { if (rf & 1) {
|
|
22077
|
-
i0.ɵɵelementStart(0, "th",
|
|
22078
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_th_5_po_checkbox_2_Template, 1, 1, "po-checkbox",
|
|
22108
|
+
i0.ɵɵelementStart(0, "th", 66)(1, "div");
|
|
22109
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_th_5_po_checkbox_2_Template, 1, 1, "po-checkbox", 67);
|
|
22079
22110
|
i0.ɵɵelementEnd()();
|
|
22080
22111
|
} if (rf & 2) {
|
|
22081
22112
|
const ctx_r181 = i0.ɵɵnextContext(2);
|
|
@@ -22086,10 +22117,10 @@ function PoTableComponent_ng_template_10_th_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
22086
22117
|
i0.ɵɵproperty("ngIf", !ctx_r181.hideSelectAll);
|
|
22087
22118
|
} }
|
|
22088
22119
|
function PoTableComponent_ng_template_10_th_6_Template(rf, ctx) { if (rf & 1) {
|
|
22089
|
-
i0.ɵɵelement(0, "th",
|
|
22120
|
+
i0.ɵɵelement(0, "th", 69);
|
|
22090
22121
|
} }
|
|
22091
22122
|
function PoTableComponent_ng_template_10_th_7_Template(rf, ctx) { if (rf & 1) {
|
|
22092
|
-
i0.ɵɵelement(0, "th", null,
|
|
22123
|
+
i0.ɵɵelement(0, "th", null, 70);
|
|
22093
22124
|
} if (rf & 2) {
|
|
22094
22125
|
const ctx_r183 = i0.ɵɵnextContext(2);
|
|
22095
22126
|
i0.ɵɵclassProp("po-table-header-master-detail", !ctx_r183.isSingleAction)("po-table-header-single-action", ctx_r183.isSingleAction);
|
|
@@ -22098,8 +22129,8 @@ function PoTableComponent_ng_template_10_th_8_ng_container_2_Template(rf, ctx) {
|
|
|
22098
22129
|
i0.ɵɵelementContainer(0);
|
|
22099
22130
|
} }
|
|
22100
22131
|
function PoTableComponent_ng_template_10_th_8_Template(rf, ctx) { if (rf & 1) {
|
|
22101
|
-
i0.ɵɵelementStart(0, "th",
|
|
22102
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_th_8_ng_container_2_Template, 1, 0, "ng-container",
|
|
22132
|
+
i0.ɵɵelementStart(0, "th", 71, 72);
|
|
22133
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_th_8_ng_container_2_Template, 1, 0, "ng-container", 61);
|
|
22103
22134
|
i0.ɵɵelementEnd();
|
|
22104
22135
|
} if (rf & 2) {
|
|
22105
22136
|
const ctx_r184 = i0.ɵɵnextContext(2);
|
|
@@ -22114,8 +22145,8 @@ function PoTableComponent_ng_template_10_ng_container_9_Template(rf, ctx) { if (
|
|
|
22114
22145
|
function PoTableComponent_ng_template_10_ng_template_10_th_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
22115
22146
|
i0.ɵɵelementContainerStart(0);
|
|
22116
22147
|
i0.ɵɵnamespaceSVG();
|
|
22117
|
-
i0.ɵɵelementStart(1, "svg",
|
|
22118
|
-
i0.ɵɵelement(2, "circle",
|
|
22148
|
+
i0.ɵɵelementStart(1, "svg", 77);
|
|
22149
|
+
i0.ɵɵelement(2, "circle", 78)(3, "circle", 79)(4, "circle", 80)(5, "circle", 81)(6, "circle", 82)(7, "circle", 83);
|
|
22119
22150
|
i0.ɵɵelementEnd();
|
|
22120
22151
|
i0.ɵɵelementContainerEnd();
|
|
22121
22152
|
} }
|
|
@@ -22125,13 +22156,13 @@ function PoTableComponent_ng_template_10_ng_template_10_th_0_ng_container_5_Temp
|
|
|
22125
22156
|
const _c22 = function (a0) { return { "width": a0 }; };
|
|
22126
22157
|
function PoTableComponent_ng_template_10_ng_template_10_th_0_Template(rf, ctx) { if (rf & 1) {
|
|
22127
22158
|
const _r206 = i0.ɵɵgetCurrentView();
|
|
22128
|
-
i0.ɵɵelementStart(0, "th",
|
|
22159
|
+
i0.ɵɵelementStart(0, "th", 117);
|
|
22129
22160
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_template_10_th_0_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r206); const column_r201 = restoredCtx.$implicit; const ctx_r205 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r205.sortColumn(column_r201)); });
|
|
22130
22161
|
i0.ɵɵpipe(1, "lowercase");
|
|
22131
22162
|
i0.ɵɵpipe(2, "titlecase");
|
|
22132
|
-
i0.ɵɵelementStart(3, "div",
|
|
22163
|
+
i0.ɵɵelementStart(3, "div", 75);
|
|
22133
22164
|
i0.ɵɵtemplate(4, PoTableComponent_ng_template_10_ng_template_10_th_0_ng_container_4_Template, 8, 0, "ng-container", 43);
|
|
22134
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_ng_template_10_th_0_ng_container_5_Template, 1, 0, "ng-container",
|
|
22165
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_ng_template_10_th_0_ng_container_5_Template, 1, 0, "ng-container", 76);
|
|
22135
22166
|
i0.ɵɵelementEnd()();
|
|
22136
22167
|
} if (rf & 2) {
|
|
22137
22168
|
const column_r201 = ctx.$implicit;
|
|
@@ -22149,7 +22180,7 @@ function PoTableComponent_ng_template_10_ng_template_10_th_0_Template(rf, ctx) {
|
|
|
22149
22180
|
i0.ɵɵproperty("ngTemplateOutlet", _r18)("ngTemplateOutletContext", i0.ɵɵpureFunction1(34, _c16, column_r201));
|
|
22150
22181
|
} }
|
|
22151
22182
|
function PoTableComponent_ng_template_10_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
22152
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_template_10_th_0_Template, 6, 36, "th",
|
|
22183
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_template_10_th_0_Template, 6, 36, "th", 116);
|
|
22153
22184
|
} if (rf & 2) {
|
|
22154
22185
|
const ctx_r187 = i0.ɵɵnextContext(2);
|
|
22155
22186
|
i0.ɵɵproperty("ngForOf", ctx_r187.mainColumns)("ngForTrackBy", ctx_r187.trackBy);
|
|
@@ -22159,12 +22190,12 @@ function PoTableComponent_ng_template_10_ng_template_12_th_0_ng_container_4_Temp
|
|
|
22159
22190
|
} }
|
|
22160
22191
|
function PoTableComponent_ng_template_10_ng_template_12_th_0_Template(rf, ctx) { if (rf & 1) {
|
|
22161
22192
|
const _r212 = i0.ɵɵgetCurrentView();
|
|
22162
|
-
i0.ɵɵelementStart(0, "th",
|
|
22193
|
+
i0.ɵɵelementStart(0, "th", 119);
|
|
22163
22194
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_template_12_th_0_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r212); const column_r208 = restoredCtx.$implicit; const ctx_r211 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r211.sortColumn(column_r208)); });
|
|
22164
22195
|
i0.ɵɵpipe(1, "lowercase");
|
|
22165
22196
|
i0.ɵɵpipe(2, "titlecase");
|
|
22166
|
-
i0.ɵɵelementStart(3, "div",
|
|
22167
|
-
i0.ɵɵtemplate(4, PoTableComponent_ng_template_10_ng_template_12_th_0_ng_container_4_Template, 1, 0, "ng-container",
|
|
22197
|
+
i0.ɵɵelementStart(3, "div", 75);
|
|
22198
|
+
i0.ɵɵtemplate(4, PoTableComponent_ng_template_10_ng_template_12_th_0_ng_container_4_Template, 1, 0, "ng-container", 76);
|
|
22168
22199
|
i0.ɵɵelementEnd()();
|
|
22169
22200
|
} if (rf & 2) {
|
|
22170
22201
|
const column_r208 = ctx.$implicit;
|
|
@@ -22180,13 +22211,13 @@ function PoTableComponent_ng_template_10_ng_template_12_th_0_Template(rf, ctx) {
|
|
|
22180
22211
|
i0.ɵɵproperty("ngTemplateOutlet", _r18)("ngTemplateOutletContext", i0.ɵɵpureFunction1(30, _c16, column_r208));
|
|
22181
22212
|
} }
|
|
22182
22213
|
function PoTableComponent_ng_template_10_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
22183
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_template_12_th_0_Template, 5, 32, "th",
|
|
22214
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_template_12_th_0_Template, 5, 32, "th", 118);
|
|
22184
22215
|
} if (rf & 2) {
|
|
22185
22216
|
const ctx_r189 = i0.ɵɵnextContext(2);
|
|
22186
22217
|
i0.ɵɵproperty("ngForOf", ctx_r189.mainColumns)("ngForTrackBy", ctx_r189.trackBy);
|
|
22187
22218
|
} }
|
|
22188
22219
|
function PoTableComponent_ng_template_10_th_14_Template(rf, ctx) { if (rf & 1) {
|
|
22189
|
-
i0.ɵɵelement(0, "th",
|
|
22220
|
+
i0.ɵɵelement(0, "th", 69);
|
|
22190
22221
|
} }
|
|
22191
22222
|
function PoTableComponent_ng_template_10_th_15_Template(rf, ctx) { if (rf & 1) {
|
|
22192
22223
|
i0.ɵɵelement(0, "th");
|
|
@@ -22195,7 +22226,7 @@ function PoTableComponent_ng_template_10_th_15_Template(rf, ctx) { if (rf & 1) {
|
|
|
22195
22226
|
i0.ɵɵclassProp("po-table-header-single-action", ctx_r191.isSingleAction)("po-table-header-actions", !ctx_r191.isSingleAction);
|
|
22196
22227
|
} }
|
|
22197
22228
|
function PoTableComponent_ng_template_10_tbody_16_Template(rf, ctx) { if (rf & 1) {
|
|
22198
|
-
i0.ɵɵelementStart(0, "tbody",
|
|
22229
|
+
i0.ɵɵelementStart(0, "tbody", 86)(1, "tr", 87)(2, "td", 88)(3, "span");
|
|
22199
22230
|
i0.ɵɵtext(4);
|
|
22200
22231
|
i0.ɵɵelementEnd()()()();
|
|
22201
22232
|
} if (rf & 2) {
|
|
@@ -22209,8 +22240,8 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_ng_contain
|
|
|
22209
22240
|
i0.ɵɵelementContainer(0);
|
|
22210
22241
|
} }
|
|
22211
22242
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
22212
|
-
i0.ɵɵelementStart(0, "td",
|
|
22213
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container",
|
|
22243
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
22244
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 76);
|
|
22214
22245
|
i0.ɵɵelementEnd();
|
|
22215
22246
|
} if (rf & 2) {
|
|
22216
22247
|
const row_r214 = i0.ɵɵnextContext().$implicit;
|
|
@@ -22223,9 +22254,9 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_Template(r
|
|
|
22223
22254
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_ng_template_1_Template(rf, ctx) { }
|
|
22224
22255
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
22225
22256
|
const _r230 = i0.ɵɵgetCurrentView();
|
|
22226
|
-
i0.ɵɵelementStart(0, "td",
|
|
22257
|
+
i0.ɵɵelementStart(0, "td", 94);
|
|
22227
22258
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r230); const row_r214 = i0.ɵɵnextContext().$implicit; const ctx_r228 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r228.toggleDetail(row_r214)); });
|
|
22228
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template",
|
|
22259
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 95);
|
|
22229
22260
|
i0.ɵɵelementEnd();
|
|
22230
22261
|
} if (rf & 2) {
|
|
22231
22262
|
const ctx_r231 = i0.ɵɵnextContext();
|
|
@@ -22238,7 +22269,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_Template(r
|
|
|
22238
22269
|
} }
|
|
22239
22270
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_4_ng_template_0_Template(rf, ctx) { }
|
|
22240
22271
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_4_Template(rf, ctx) { if (rf & 1) {
|
|
22241
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_container_17_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template",
|
|
22272
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_container_17_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 95);
|
|
22242
22273
|
} if (rf & 2) {
|
|
22243
22274
|
const ctx_r233 = i0.ɵɵnextContext();
|
|
22244
22275
|
const row_r214 = ctx_r233.$implicit;
|
|
@@ -22250,9 +22281,9 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_4_Template(rf,
|
|
|
22250
22281
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_ng_template_1_Template(rf, ctx) { }
|
|
22251
22282
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_Template(rf, ctx) { if (rf & 1) {
|
|
22252
22283
|
const _r237 = i0.ɵɵgetCurrentView();
|
|
22253
|
-
i0.ɵɵelementStart(0, "td",
|
|
22284
|
+
i0.ɵɵelementStart(0, "td", 94);
|
|
22254
22285
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r237); const row_r214 = i0.ɵɵnextContext().$implicit; const ctx_r235 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r235.toggleDetail(row_r214)); });
|
|
22255
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template",
|
|
22286
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 95);
|
|
22256
22287
|
i0.ɵɵelementEnd();
|
|
22257
22288
|
} if (rf & 2) {
|
|
22258
22289
|
const ctx_r238 = i0.ɵɵnextContext();
|
|
@@ -22268,7 +22299,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_2_ng_
|
|
|
22268
22299
|
} }
|
|
22269
22300
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
22270
22301
|
i0.ɵɵelementStart(0, "span");
|
|
22271
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container",
|
|
22302
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container", 76);
|
|
22272
22303
|
i0.ɵɵelementEnd();
|
|
22273
22304
|
} if (rf & 2) {
|
|
22274
22305
|
const column_r239 = i0.ɵɵnextContext().$implicit;
|
|
@@ -22282,7 +22313,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_3_ng_
|
|
|
22282
22313
|
} }
|
|
22283
22314
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
22284
22315
|
i0.ɵɵelementStart(0, "span");
|
|
22285
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container",
|
|
22316
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container", 76);
|
|
22286
22317
|
i0.ɵɵelementEnd();
|
|
22287
22318
|
} if (rf & 2) {
|
|
22288
22319
|
const column_r239 = i0.ɵɵnextContext().$implicit;
|
|
@@ -22363,7 +22394,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_9_Tem
|
|
|
22363
22394
|
} }
|
|
22364
22395
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_link_10_Template(rf, ctx) { if (rf & 1) {
|
|
22365
22396
|
const _r274 = i0.ɵɵgetCurrentView();
|
|
22366
|
-
i0.ɵɵelementStart(0, "po-table-column-link",
|
|
22397
|
+
i0.ɵɵelementStart(0, "po-table-column-link", 102);
|
|
22367
22398
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_link_10_Template_po_table_column_link_click_0_listener($event) { i0.ɵɵrestoreView(_r274); const column_r239 = i0.ɵɵnextContext().$implicit; const row_r214 = i0.ɵɵnextContext().$implicit; const ctx_r272 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r272.onClickLink($event, row_r214, column_r239)); });
|
|
22368
22399
|
i0.ɵɵelementEnd();
|
|
22369
22400
|
} if (rf & 2) {
|
|
@@ -22373,7 +22404,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_c
|
|
|
22373
22404
|
i0.ɵɵproperty("p-action", column_r239.action)("p-disabled", ctx_r249.checkDisabled(row_r214, column_r239))("p-link", row_r214[column_r239.link])("p-row", row_r214)("p-value", ctx_r249.getCellData(row_r214, column_r239));
|
|
22374
22405
|
} }
|
|
22375
22406
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_icon_11_Template(rf, ctx) { if (rf & 1) {
|
|
22376
|
-
i0.ɵɵelement(0, "po-table-column-icon",
|
|
22407
|
+
i0.ɵɵelement(0, "po-table-column-icon", 103);
|
|
22377
22408
|
} if (rf & 2) {
|
|
22378
22409
|
const column_r239 = i0.ɵɵnextContext().$implicit;
|
|
22379
22410
|
const row_r214 = i0.ɵɵnextContext().$implicit;
|
|
@@ -22382,7 +22413,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_c
|
|
|
22382
22413
|
} }
|
|
22383
22414
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_12_Template(rf, ctx) { if (rf & 1) {
|
|
22384
22415
|
i0.ɵɵelementStart(0, "span");
|
|
22385
|
-
i0.ɵɵelement(1, "po-table-subtitle-circle",
|
|
22416
|
+
i0.ɵɵelement(1, "po-table-subtitle-circle", 104);
|
|
22386
22417
|
i0.ɵɵelementEnd();
|
|
22387
22418
|
} if (rf & 2) {
|
|
22388
22419
|
const column_r239 = i0.ɵɵnextContext().$implicit;
|
|
@@ -22393,7 +22424,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_12_Te
|
|
|
22393
22424
|
} }
|
|
22394
22425
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_13_Template(rf, ctx) { if (rf & 1) {
|
|
22395
22426
|
i0.ɵɵelementStart(0, "span");
|
|
22396
|
-
i0.ɵɵelement(1, "po-table-column-label",
|
|
22427
|
+
i0.ɵɵelement(1, "po-table-column-label", 105);
|
|
22397
22428
|
i0.ɵɵelementEnd();
|
|
22398
22429
|
} if (rf & 2) {
|
|
22399
22430
|
const column_r239 = i0.ɵɵnextContext().$implicit;
|
|
@@ -22415,23 +22446,23 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_14_Te
|
|
|
22415
22446
|
} }
|
|
22416
22447
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
22417
22448
|
const _r287 = i0.ɵɵgetCurrentView();
|
|
22418
|
-
i0.ɵɵelementStart(0, "td",
|
|
22449
|
+
i0.ɵɵelementStart(0, "td", 122);
|
|
22419
22450
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r287); const row_r214 = i0.ɵɵnextContext().$implicit; const ctx_r286 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r286.hasSelectableRow() ? ctx_r286.selectRow(row_r214) : "javascript:;"); });
|
|
22420
|
-
i0.ɵɵelementStart(1, "div",
|
|
22451
|
+
i0.ɵɵelementStart(1, "div", 97);
|
|
22421
22452
|
i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template_div_mouseenter_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r287); const column_r239 = restoredCtx.$implicit; const row_r214 = i0.ɵɵnextContext().$implicit; const ctx_r289 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r289.tooltipMouseEnter($event, column_r239, row_r214)); })("mouseleave", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template_div_mouseleave_1_listener() { i0.ɵɵrestoreView(_r287); const ctx_r291 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r291.tooltipMouseLeave()); });
|
|
22422
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_2_Template, 2, 4, "span",
|
|
22423
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_3_Template, 2, 5, "span",
|
|
22424
|
-
i0.ɵɵtemplate(4, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_4_Template, 2, 1, "span",
|
|
22425
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_5_Template, 3, 6, "span",
|
|
22426
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_6_Template, 3, 4, "span",
|
|
22427
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_7_Template, 3, 4, "span",
|
|
22428
|
-
i0.ɵɵtemplate(8, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_8_Template, 3, 4, "span",
|
|
22429
|
-
i0.ɵɵtemplate(9, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_9_Template, 2, 1, "span",
|
|
22430
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link",
|
|
22431
|
-
i0.ɵɵtemplate(11, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon",
|
|
22432
|
-
i0.ɵɵtemplate(12, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_12_Template, 2, 1, "span",
|
|
22433
|
-
i0.ɵɵtemplate(13, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_13_Template, 2, 1, "span",
|
|
22434
|
-
i0.ɵɵtemplate(14, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_14_Template, 2, 1, "span",
|
|
22453
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_2_Template, 2, 4, "span", 98);
|
|
22454
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_3_Template, 2, 5, "span", 98);
|
|
22455
|
+
i0.ɵɵtemplate(4, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_4_Template, 2, 1, "span", 98);
|
|
22456
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_5_Template, 3, 6, "span", 98);
|
|
22457
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_6_Template, 3, 4, "span", 98);
|
|
22458
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_7_Template, 3, 4, "span", 98);
|
|
22459
|
+
i0.ɵɵtemplate(8, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_8_Template, 3, 4, "span", 98);
|
|
22460
|
+
i0.ɵɵtemplate(9, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_9_Template, 2, 1, "span", 98);
|
|
22461
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link", 99);
|
|
22462
|
+
i0.ɵɵtemplate(11, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon", 100);
|
|
22463
|
+
i0.ɵɵtemplate(12, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_12_Template, 2, 1, "span", 98);
|
|
22464
|
+
i0.ɵɵtemplate(13, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_13_Template, 2, 1, "span", 98);
|
|
22465
|
+
i0.ɵɵtemplate(14, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_14_Template, 2, 1, "span", 101);
|
|
22435
22466
|
i0.ɵɵelementEnd()();
|
|
22436
22467
|
} if (rf & 2) {
|
|
22437
22468
|
const column_r239 = ctx.$implicit;
|
|
@@ -22470,9 +22501,9 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template(r
|
|
|
22470
22501
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_ng_template_1_Template(rf, ctx) { }
|
|
22471
22502
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
22472
22503
|
const _r296 = i0.ɵɵgetCurrentView();
|
|
22473
|
-
i0.ɵɵelementStart(0, "td",
|
|
22504
|
+
i0.ɵɵelementStart(0, "td", 94);
|
|
22474
22505
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r296); const row_r214 = i0.ɵɵnextContext().$implicit; const ctx_r294 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r294.toggleDetail(row_r214)); });
|
|
22475
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template",
|
|
22506
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 95);
|
|
22476
22507
|
i0.ɵɵelementEnd();
|
|
22477
22508
|
} if (rf & 2) {
|
|
22478
22509
|
const ctx_r297 = i0.ɵɵnextContext();
|
|
@@ -22485,7 +22516,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_Template(r
|
|
|
22485
22516
|
} }
|
|
22486
22517
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_8_ng_template_0_Template(rf, ctx) { }
|
|
22487
22518
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_8_Template(rf, ctx) { if (rf & 1) {
|
|
22488
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_container_17_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template",
|
|
22519
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_container_17_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 95);
|
|
22489
22520
|
} if (rf & 2) {
|
|
22490
22521
|
const ctx_r299 = i0.ɵɵnextContext();
|
|
22491
22522
|
const row_r214 = ctx_r299.$implicit;
|
|
@@ -22496,8 +22527,8 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_8_Template(rf,
|
|
|
22496
22527
|
} }
|
|
22497
22528
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_9_ng_template_2_Template(rf, ctx) { }
|
|
22498
22529
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_9_Template(rf, ctx) { if (rf & 1) {
|
|
22499
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
22500
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_9_ng_template_2_Template, 0, 0, "ng-template",
|
|
22530
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 106);
|
|
22531
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_9_ng_template_2_Template, 0, 0, "ng-template", 95);
|
|
22501
22532
|
i0.ɵɵelementEnd()();
|
|
22502
22533
|
} if (rf & 2) {
|
|
22503
22534
|
const ctx_r301 = i0.ɵɵnextContext();
|
|
@@ -22511,7 +22542,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_9_Template(r
|
|
|
22511
22542
|
} }
|
|
22512
22543
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_10_Template(rf, ctx) { if (rf & 1) {
|
|
22513
22544
|
const _r303 = i0.ɵɵgetCurrentView();
|
|
22514
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
22545
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 107)(2, "po-table-detail", 108);
|
|
22515
22546
|
i0.ɵɵlistener("p-select-row", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_10_Template_po_table_detail_p_select_row_2_listener($event) { i0.ɵɵrestoreView(_r303); const ctx_r302 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r302.selectDetailRow($event)); });
|
|
22516
22547
|
i0.ɵɵelementEnd()()();
|
|
22517
22548
|
} if (rf & 2) {
|
|
@@ -22523,13 +22554,13 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_10_Template(
|
|
|
22523
22554
|
i0.ɵɵproperty("p-selectable", ctx_r224.selectable && !ctx_r224.detailHideSelect)("p-detail", ctx_r224.columnMasterDetail.detail)("p-items", row_r214[ctx_r224.nameColumnDetail]);
|
|
22524
22555
|
} }
|
|
22525
22556
|
function PoTableComponent_ng_template_10_ng_container_17_tbody_1_Template(rf, ctx) { if (rf & 1) {
|
|
22526
|
-
i0.ɵɵelementStart(0, "tbody",
|
|
22527
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_Template, 2, 4, "td",
|
|
22528
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_Template, 2, 5, "td",
|
|
22557
|
+
i0.ɵɵelementStart(0, "tbody", 86)(1, "tr", 90);
|
|
22558
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_Template, 2, 4, "td", 91);
|
|
22559
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_Template, 2, 5, "td", 92);
|
|
22529
22560
|
i0.ɵɵtemplate(4, PoTableComponent_ng_template_10_ng_container_17_tbody_1_4_Template, 1, 5, null, 43);
|
|
22530
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_Template, 2, 5, "td",
|
|
22531
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template, 15, 31, "td",
|
|
22532
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_Template, 2, 5, "td",
|
|
22561
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_Template, 2, 5, "td", 92);
|
|
22562
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template, 15, 31, "td", 121);
|
|
22563
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_Template, 2, 5, "td", 92);
|
|
22533
22564
|
i0.ɵɵtemplate(8, PoTableComponent_ng_template_10_ng_container_17_tbody_1_8_Template, 1, 5, null, 43);
|
|
22534
22565
|
i0.ɵɵelementEnd();
|
|
22535
22566
|
i0.ɵɵtemplate(9, PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_9_Template, 3, 6, "tr", 43);
|
|
@@ -22562,7 +22593,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_Template(rf, ct
|
|
|
22562
22593
|
} }
|
|
22563
22594
|
function PoTableComponent_ng_template_10_ng_container_17_Template(rf, ctx) { if (rf & 1) {
|
|
22564
22595
|
i0.ɵɵelementContainerStart(0);
|
|
22565
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_Template, 11, 12, "tbody",
|
|
22596
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_Template, 11, 12, "tbody", 120);
|
|
22566
22597
|
i0.ɵɵelementContainerEnd();
|
|
22567
22598
|
} if (rf & 2) {
|
|
22568
22599
|
const ctx_r193 = i0.ɵɵnextContext(2);
|
|
@@ -22572,19 +22603,19 @@ function PoTableComponent_ng_template_10_ng_container_17_Template(rf, ctx) { if
|
|
|
22572
22603
|
const _c23 = function (a0) { return { "table-layout": a0 }; };
|
|
22573
22604
|
function PoTableComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
22574
22605
|
const _r306 = i0.ɵɵgetCurrentView();
|
|
22575
|
-
i0.ɵɵelementStart(0, "cdk-virtual-scroll-viewport",
|
|
22606
|
+
i0.ɵɵelementStart(0, "cdk-virtual-scroll-viewport", 109, 110)(2, "table", 111)(3, "thead", 112)(4, "tr", 113);
|
|
22576
22607
|
i0.ɵɵlistener("cdkDropListDropped", function PoTableComponent_ng_template_10_Template_tr_cdkDropListDropped_4_listener($event) { i0.ɵɵrestoreView(_r306); const ctx_r305 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r305.drop($event)); });
|
|
22577
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_th_5_Template, 3, 5, "th",
|
|
22578
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_10_th_6_Template, 1, 0, "th",
|
|
22579
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_10_th_7_Template, 2, 4, "th",
|
|
22580
|
-
i0.ɵɵtemplate(8, PoTableComponent_ng_template_10_th_8_Template, 3, 3, "th",
|
|
22581
|
-
i0.ɵɵtemplate(9, PoTableComponent_ng_template_10_ng_container_9_Template, 1, 0, "ng-container",
|
|
22582
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_10_ng_template_10_Template, 1, 2, "ng-template", null,
|
|
22583
|
-
i0.ɵɵtemplate(12, PoTableComponent_ng_template_10_ng_template_12_Template, 1, 2, "ng-template", null,
|
|
22584
|
-
i0.ɵɵtemplate(14, PoTableComponent_ng_template_10_th_14_Template, 1, 0, "th",
|
|
22585
|
-
i0.ɵɵtemplate(15, PoTableComponent_ng_template_10_th_15_Template, 1, 4, "th",
|
|
22608
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_th_5_Template, 3, 5, "th", 57);
|
|
22609
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_10_th_6_Template, 1, 0, "th", 58);
|
|
22610
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_10_th_7_Template, 2, 4, "th", 59);
|
|
22611
|
+
i0.ɵɵtemplate(8, PoTableComponent_ng_template_10_th_8_Template, 3, 3, "th", 60);
|
|
22612
|
+
i0.ɵɵtemplate(9, PoTableComponent_ng_template_10_ng_container_9_Template, 1, 0, "ng-container", 61);
|
|
22613
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_10_ng_template_10_Template, 1, 2, "ng-template", null, 114, i0.ɵɵtemplateRefExtractor);
|
|
22614
|
+
i0.ɵɵtemplate(12, PoTableComponent_ng_template_10_ng_template_12_Template, 1, 2, "ng-template", null, 115, i0.ɵɵtemplateRefExtractor);
|
|
22615
|
+
i0.ɵɵtemplate(14, PoTableComponent_ng_template_10_th_14_Template, 1, 0, "th", 58);
|
|
22616
|
+
i0.ɵɵtemplate(15, PoTableComponent_ng_template_10_th_15_Template, 1, 4, "th", 64);
|
|
22586
22617
|
i0.ɵɵelementEnd()();
|
|
22587
|
-
i0.ɵɵtemplate(16, PoTableComponent_ng_template_10_tbody_16_Template, 5, 2, "tbody",
|
|
22618
|
+
i0.ɵɵtemplate(16, PoTableComponent_ng_template_10_tbody_16_Template, 5, 2, "tbody", 65);
|
|
22588
22619
|
i0.ɵɵtemplate(17, PoTableComponent_ng_template_10_ng_container_17_Template, 2, 2, "ng-container", 43);
|
|
22589
22620
|
i0.ɵɵelementEnd()();
|
|
22590
22621
|
} if (rf & 2) {
|
|
@@ -22620,13 +22651,13 @@ function PoTableComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
22620
22651
|
i0.ɵɵproperty("ngIf", ctx_r10.hasMainColumns);
|
|
22621
22652
|
} }
|
|
22622
22653
|
function PoTableComponent_ng_template_14_span_0_Template(rf, ctx) { if (rf & 1) {
|
|
22623
|
-
i0.ɵɵelement(0, "span",
|
|
22654
|
+
i0.ɵɵelement(0, "span", 124);
|
|
22624
22655
|
} if (rf & 2) {
|
|
22625
22656
|
const row_r307 = i0.ɵɵnextContext().row;
|
|
22626
22657
|
i0.ɵɵclassProp("po-icon-arrow-up", row_r307.$showDetail)("po-icon-arrow-down", !row_r307.$showDetail);
|
|
22627
22658
|
} }
|
|
22628
22659
|
function PoTableComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
22629
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_14_span_0_Template, 1, 4, "span",
|
|
22660
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_14_span_0_Template, 1, 4, "span", 123);
|
|
22630
22661
|
} if (rf & 2) {
|
|
22631
22662
|
const row_r307 = ctx.row;
|
|
22632
22663
|
const rowIndex_r308 = ctx.rowIndex;
|
|
@@ -22635,7 +22666,7 @@ function PoTableComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
22635
22666
|
} }
|
|
22636
22667
|
function PoTableComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
|
|
22637
22668
|
const _r313 = i0.ɵɵgetCurrentView();
|
|
22638
|
-
i0.ɵɵelementStart(0, "po-radio",
|
|
22669
|
+
i0.ɵɵelementStart(0, "po-radio", 125);
|
|
22639
22670
|
i0.ɵɵlistener("p-change-selected", function PoTableComponent_ng_template_16_Template_po_radio_p_change_selected_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r313); const row_r311 = restoredCtx.$implicit; const ctx_r312 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r312.selectRow(row_r311)); });
|
|
22640
22671
|
i0.ɵɵelementEnd();
|
|
22641
22672
|
} if (rf & 2) {
|
|
@@ -22645,7 +22676,7 @@ function PoTableComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
|
|
|
22645
22676
|
} }
|
|
22646
22677
|
function PoTableComponent_ng_template_18_Template(rf, ctx) { if (rf & 1) {
|
|
22647
22678
|
const _r316 = i0.ɵɵgetCurrentView();
|
|
22648
|
-
i0.ɵɵelementStart(0, "po-checkbox",
|
|
22679
|
+
i0.ɵɵelementStart(0, "po-checkbox", 126);
|
|
22649
22680
|
i0.ɵɵlistener("p-change", function PoTableComponent_ng_template_18_Template_po_checkbox_p_change_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r316); const row_r314 = restoredCtx.$implicit; const ctx_r315 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r315.selectable ? ctx_r315.selectRow(row_r314) : "javascript:;"); });
|
|
22650
22681
|
i0.ɵɵelementEnd();
|
|
22651
22682
|
} if (rf & 2) {
|
|
@@ -22655,24 +22686,24 @@ function PoTableComponent_ng_template_18_Template(rf, ctx) { if (rf & 1) {
|
|
|
22655
22686
|
function PoTableComponent_ng_template_20_span_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
22656
22687
|
i0.ɵɵelementContainerStart(0);
|
|
22657
22688
|
i0.ɵɵnamespaceSVG();
|
|
22658
|
-
i0.ɵɵelementStart(1, "svg",
|
|
22659
|
-
i0.ɵɵelement(2, "path",
|
|
22689
|
+
i0.ɵɵelementStart(1, "svg", 130);
|
|
22690
|
+
i0.ɵɵelement(2, "path", 131);
|
|
22660
22691
|
i0.ɵɵelementEnd();
|
|
22661
22692
|
i0.ɵɵelementContainerEnd();
|
|
22662
22693
|
} }
|
|
22663
22694
|
function PoTableComponent_ng_template_20_span_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
22664
22695
|
i0.ɵɵelementContainerStart(0);
|
|
22665
22696
|
i0.ɵɵnamespaceSVG();
|
|
22666
|
-
i0.ɵɵelementStart(1, "svg",
|
|
22667
|
-
i0.ɵɵelement(2, "path",
|
|
22697
|
+
i0.ɵɵelementStart(1, "svg", 130);
|
|
22698
|
+
i0.ɵɵelement(2, "path", 132);
|
|
22668
22699
|
i0.ɵɵelementEnd();
|
|
22669
22700
|
i0.ɵɵelementContainerEnd();
|
|
22670
22701
|
} }
|
|
22671
22702
|
function PoTableComponent_ng_template_20_span_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
22672
22703
|
i0.ɵɵelementContainerStart(0);
|
|
22673
22704
|
i0.ɵɵnamespaceSVG();
|
|
22674
|
-
i0.ɵɵelementStart(1, "svg",
|
|
22675
|
-
i0.ɵɵelement(2, "path",
|
|
22705
|
+
i0.ɵɵelementStart(1, "svg", 130);
|
|
22706
|
+
i0.ɵɵelement(2, "path", 133);
|
|
22676
22707
|
i0.ɵɵelementEnd();
|
|
22677
22708
|
i0.ɵɵelementContainerEnd();
|
|
22678
22709
|
} }
|
|
@@ -22695,12 +22726,12 @@ function PoTableComponent_ng_template_20_span_4_Template(rf, ctx) { if (rf & 1)
|
|
|
22695
22726
|
} }
|
|
22696
22727
|
function PoTableComponent_ng_template_20_Template(rf, ctx) { if (rf & 1) {
|
|
22697
22728
|
const _r325 = i0.ɵɵgetCurrentView();
|
|
22698
|
-
i0.ɵɵelementStart(0, "span",
|
|
22729
|
+
i0.ɵɵelementStart(0, "span", 127, 128);
|
|
22699
22730
|
i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_20_Template_span_mouseenter_0_listener($event) { i0.ɵɵrestoreView(_r325); const ctx_r324 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r324.tooltipMouseEnter($event)); })("mouseleave", function PoTableComponent_ng_template_20_Template_span_mouseleave_0_listener() { i0.ɵɵrestoreView(_r325); const ctx_r326 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r326.tooltipMouseLeave()); });
|
|
22700
22731
|
i0.ɵɵtext(2);
|
|
22701
22732
|
i0.ɵɵpipe(3, "titlecase");
|
|
22702
22733
|
i0.ɵɵelementEnd();
|
|
22703
|
-
i0.ɵɵtemplate(4, PoTableComponent_ng_template_20_span_4_Template, 4, 9, "span",
|
|
22734
|
+
i0.ɵɵtemplate(4, PoTableComponent_ng_template_20_span_4_Template, 4, 9, "span", 129);
|
|
22704
22735
|
} if (rf & 2) {
|
|
22705
22736
|
const column_r317 = ctx.$implicit;
|
|
22706
22737
|
const ctx_r19 = i0.ɵɵnextContext();
|
|
@@ -22711,12 +22742,12 @@ function PoTableComponent_ng_template_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
22711
22742
|
i0.ɵɵproperty("ngIf", ctx_r19.sort && column_r317.sortable !== false);
|
|
22712
22743
|
} }
|
|
22713
22744
|
function PoTableComponent_ng_template_22_Template(rf, ctx) { if (rf & 1) {
|
|
22714
|
-
i0.ɵɵelementStart(0, "div",
|
|
22745
|
+
i0.ɵɵelementStart(0, "div", 134);
|
|
22715
22746
|
i0.ɵɵtext(1);
|
|
22716
22747
|
i0.ɵɵelementEnd();
|
|
22717
22748
|
} if (rf & 2) {
|
|
22718
22749
|
const ctx_r21 = i0.ɵɵnextContext();
|
|
22719
|
-
i0.ɵɵstyleProp("width", ctx_r21.
|
|
22750
|
+
i0.ɵɵstyleProp("width", ctx_r21.headerWidth, "px");
|
|
22720
22751
|
i0.ɵɵadvance(1);
|
|
22721
22752
|
i0.ɵɵtextInterpolate1(" ", ctx_r21.hasValidColumns ? ctx_r21.literals.noVisibleColumn : ctx_r21.literals.noColumns, " ");
|
|
22722
22753
|
} }
|
|
@@ -22727,16 +22758,16 @@ function PoTableComponent_ng_template_24_Template(rf, ctx) { if (rf & 1) {
|
|
|
22727
22758
|
i0.ɵɵtextInterpolate1(" ", ctx_r23.hasValidColumns ? ctx_r23.literals.noVisibleColumn : ctx_r23.literals.noColumns, "\n");
|
|
22728
22759
|
} }
|
|
22729
22760
|
function PoTableComponent_ng_template_26_td_0_div_1_po_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
22730
|
-
i0.ɵɵelement(0, "po-icon",
|
|
22761
|
+
i0.ɵɵelement(0, "po-icon", 141);
|
|
22731
22762
|
} if (rf & 2) {
|
|
22732
22763
|
const ctx_r332 = i0.ɵɵnextContext(4);
|
|
22733
22764
|
i0.ɵɵproperty("p-icon", ctx_r332.firstAction.icon);
|
|
22734
22765
|
} }
|
|
22735
22766
|
function PoTableComponent_ng_template_26_td_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
22736
22767
|
const _r335 = i0.ɵɵgetCurrentView();
|
|
22737
|
-
i0.ɵɵelementStart(0, "div",
|
|
22768
|
+
i0.ɵɵelementStart(0, "div", 139);
|
|
22738
22769
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_26_td_0_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r335); const row_r327 = i0.ɵɵnextContext(2).row; const ctx_r333 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r333.executeTableAction(row_r327, ctx_r333.firstAction)); });
|
|
22739
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_26_td_0_div_1_po_icon_1_Template, 1, 1, "po-icon",
|
|
22770
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_26_td_0_div_1_po_icon_1_Template, 1, 1, "po-icon", 140);
|
|
22740
22771
|
i0.ɵɵtext(2);
|
|
22741
22772
|
i0.ɵɵelementEnd();
|
|
22742
22773
|
} if (rf & 2) {
|
|
@@ -22749,8 +22780,8 @@ function PoTableComponent_ng_template_26_td_0_div_1_Template(rf, ctx) { if (rf &
|
|
|
22749
22780
|
i0.ɵɵtextInterpolate1(" ", ctx_r331.firstAction.label, " ");
|
|
22750
22781
|
} }
|
|
22751
22782
|
function PoTableComponent_ng_template_26_td_0_Template(rf, ctx) { if (rf & 1) {
|
|
22752
|
-
i0.ɵɵelementStart(0, "td",
|
|
22753
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_26_td_0_div_1_Template, 3, 4, "div",
|
|
22783
|
+
i0.ɵɵelementStart(0, "td", 137);
|
|
22784
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_26_td_0_div_1_Template, 3, 4, "div", 138);
|
|
22754
22785
|
i0.ɵɵelementEnd();
|
|
22755
22786
|
} if (rf & 2) {
|
|
22756
22787
|
const ctx_r329 = i0.ɵɵnextContext(2);
|
|
@@ -22760,13 +22791,13 @@ function PoTableComponent_ng_template_26_td_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
22760
22791
|
} }
|
|
22761
22792
|
function PoTableComponent_ng_template_26_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
22762
22793
|
const _r340 = i0.ɵɵgetCurrentView();
|
|
22763
|
-
i0.ɵɵelementStart(0, "td",
|
|
22794
|
+
i0.ɵɵelementStart(0, "td", 142)(1, "span", 143, 144);
|
|
22764
22795
|
i0.ɵɵlistener("click", function PoTableComponent_ng_template_26_td_1_Template_span_click_1_listener() { i0.ɵɵrestoreView(_r340); const _r337 = i0.ɵɵreference(2); const row_r327 = i0.ɵɵnextContext().row; const ctx_r338 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r338.togglePopup(row_r327, _r337)); });
|
|
22765
22796
|
i0.ɵɵelementEnd()();
|
|
22766
22797
|
} }
|
|
22767
22798
|
function PoTableComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) {
|
|
22768
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_26_td_0_Template, 2, 7, "td",
|
|
22769
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_26_td_1_Template, 3, 0, "td",
|
|
22799
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_26_td_0_Template, 2, 7, "td", 135);
|
|
22800
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_26_td_1_Template, 3, 0, "td", 136);
|
|
22770
22801
|
} if (rf & 2) {
|
|
22771
22802
|
const ctx_r25 = i0.ɵɵnextContext();
|
|
22772
22803
|
i0.ɵɵproperty("ngIf", ctx_r25.isSingleAction);
|
|
@@ -22775,7 +22806,7 @@ function PoTableComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) {
|
|
|
22775
22806
|
} }
|
|
22776
22807
|
function PoTableComponent_po_table_column_manager_28_Template(rf, ctx) { if (rf & 1) {
|
|
22777
22808
|
const _r342 = i0.ɵɵgetCurrentView();
|
|
22778
|
-
i0.ɵɵelementStart(0, "po-table-column-manager",
|
|
22809
|
+
i0.ɵɵelementStart(0, "po-table-column-manager", 145);
|
|
22779
22810
|
i0.ɵɵlistener("p-visible-columns-change", function PoTableComponent_po_table_column_manager_28_Template_po_table_column_manager_p_visible_columns_change_0_listener($event) { i0.ɵɵrestoreView(_r342); const ctx_r341 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r341.onVisibleColumnsChange($event)); })("p-change-visible-columns", function PoTableComponent_po_table_column_manager_28_Template_po_table_column_manager_p_change_visible_columns_0_listener($event) { i0.ɵɵrestoreView(_r342); const ctx_r343 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r343.onChangeVisibleColumns($event)); })("p-initial-columns", function PoTableComponent_po_table_column_manager_28_Template_po_table_column_manager_p_initial_columns_0_listener($event) { i0.ɵɵrestoreView(_r342); const ctx_r344 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r344.onColumnRestoreManager($event)); });
|
|
22780
22811
|
i0.ɵɵelementEnd();
|
|
22781
22812
|
} if (rf & 2) {
|
|
@@ -22872,6 +22903,8 @@ class PoTableComponent extends PoTableBaseComponent {
|
|
|
22872
22903
|
inputFieldValue = '';
|
|
22873
22904
|
JSON;
|
|
22874
22905
|
newOrderColumns;
|
|
22906
|
+
sizeLoading = 'sm';
|
|
22907
|
+
headerWidth;
|
|
22875
22908
|
close = {
|
|
22876
22909
|
action: () => {
|
|
22877
22910
|
this.modalDelete.close();
|
|
@@ -22890,7 +22923,6 @@ class PoTableComponent extends PoTableBaseComponent {
|
|
|
22890
22923
|
differ;
|
|
22891
22924
|
footerHeight;
|
|
22892
22925
|
headerHeight;
|
|
22893
|
-
initialized = false;
|
|
22894
22926
|
timeoutResize;
|
|
22895
22927
|
visibleElement = false;
|
|
22896
22928
|
scrollEvent$;
|
|
@@ -22986,8 +23018,16 @@ class PoTableComponent extends PoTableBaseComponent {
|
|
|
22986
23018
|
ngOnInit() {
|
|
22987
23019
|
this.idRadio = `po-radio-${uuid()}`;
|
|
22988
23020
|
}
|
|
23021
|
+
changeHeaderWidth() {
|
|
23022
|
+
if (this.noColumnsHeader) {
|
|
23023
|
+
this.headerWidth = this.noColumnsHeader?.nativeElement.offsetWidth;
|
|
23024
|
+
}
|
|
23025
|
+
this.changeDetector.detectChanges();
|
|
23026
|
+
}
|
|
22989
23027
|
ngAfterViewInit() {
|
|
22990
23028
|
this.initialized = true;
|
|
23029
|
+
this.changeHeaderWidth();
|
|
23030
|
+
this.changeSizeLoading();
|
|
22991
23031
|
}
|
|
22992
23032
|
showMoreInfiniteScroll({ target }) {
|
|
22993
23033
|
const scrollPosition = target.offsetHeight + target.scrollTop;
|
|
@@ -23354,6 +23394,18 @@ class PoTableComponent extends PoTableBaseComponent {
|
|
|
23354
23394
|
this.poNotification.success(this.literals.deleteSuccessful);
|
|
23355
23395
|
this.eventDelete.emit(newItemsFiltered);
|
|
23356
23396
|
}
|
|
23397
|
+
changeSizeLoading() {
|
|
23398
|
+
const tableHeight = this.tableWrapperElement?.nativeElement?.offsetHeight;
|
|
23399
|
+
if (tableHeight <= 150) {
|
|
23400
|
+
this.sizeLoading = 'sm';
|
|
23401
|
+
}
|
|
23402
|
+
else if (tableHeight > 150 && tableHeight < 260) {
|
|
23403
|
+
this.sizeLoading = 'md';
|
|
23404
|
+
}
|
|
23405
|
+
else {
|
|
23406
|
+
this.sizeLoading = 'lg';
|
|
23407
|
+
}
|
|
23408
|
+
}
|
|
23357
23409
|
checkChangesItems() {
|
|
23358
23410
|
const changesItems = this.differ.diff(this.items);
|
|
23359
23411
|
if (changesItems && this.selectAll) {
|
|
@@ -23529,7 +23581,7 @@ class PoTableComponent extends PoTableBaseComponent {
|
|
|
23529
23581
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManagerTargetFixed = _t.first);
|
|
23530
23582
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.actionsIconElement = _t);
|
|
23531
23583
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.actionsElement = _t);
|
|
23532
|
-
} }, features: [i0.ɵɵProvidersFeature([PoDateService]), i0.ɵɵInheritDefinitionFeature], decls: 33, vars: 14, consts: [[1, "po-table-actions"], ["class", "po-table-actions-batch-actions", 4, "ngIf"], ["class", "po-table-actions-column-manager", 4, "ngIf"], ["class", "po-table-search", 4, "ngIf"], ["p-no-padding", "", 4, "ngIf", "ngIfElse"], ["tableContainerTemplate", ""], ["class", "po-row po-table-footer-show-more", 3, "po-invisible", 4, "ngIf"], ["tableTemplate", ""], ["tableVirtualScrollTemplate", ""], [3, "p-actions", "p-target"], ["popup", ""], ["poTableColumnDetail", ""], ["inputRadio", ""], ["inputCheckbox", ""], ["contentHeaderTemplate", ""], ["noColumnsWithHeight", ""], ["noColumnsWithoutHeight", ""], ["ActionsColumnTemplate", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-hide-action-fixed-columns", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns", 4, "ngIf"], [3, "p-title", "p-primary-action", "p-secondary-action", "p-click-out"], ["modalDelete", ""], [1, "po-font-text-large"], [1, "po-table-actions-batch-actions"], ["columnBatchActions", ""], [1, "po-table-actions-batch-actions__label", 3, "ngPlural"], ["ngPluralCase", "=0"], ["ngPluralCase", "=1"], ["ngPluralCase", "other"], [1, "po-table-actions-batch-actions__buttons"], ["p-icon", "po-icon-delete", 3, "p-danger", "p-disabled", "p-label", "p-click"], [1, "po-table-actions-column-manager"], ["columnManager", ""], ["p-icon", "po-icon-settings", "p-kind", "tertiary", "p-tooltip-position", "left", 3, "p-aria-label", "p-tooltip", "p-click"], ["columnManagerTarget", ""], [1, "po-table-search"], [3, "p-items", "p-filter-keys", "p-filter-type", "p-filtered-items-change"], ["p-no-padding", ""], [4, "ngTemplateOutlet"], ["class", "po-table-overlay", 4, "ngIf"], [1, "po-table-main-container"], [1, "po-table-wrapper"], ["tableWrapper", ""], ["class", "po-table-container", 3, "height", 4, "ngIf"], [4, "ngIf"], ["class", "po-table-footer", 4, "ngIf"], [1, "po-table-overlay"], [1, "po-table-overlay-content", 3, "p-text"], [1, "po-table-container"], [1, "po-table-container-fixed-inner"], ["poTableTbody", ""], [1, "po-table-footer"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "p-literals", "p-subtitles"], [1, "po-row", "po-table-footer-show-more"], ["tableFooter", ""], [1, "po-offset-xl-4", "po-offset-lg-4", "po-offset-md-3", "po-lg-4", "po-md-6", 3, "p-disabled", "p-label", "p-loading", "p-click"], [1, "po-table", 3, "ngClass"], ["cdkDropList", "", "cdkDropListOrientation", "horizontal", 3, "ngClass", "cdkDropListDropped"], ["class", "po-table-column-selectable", 3, "pointer-events", 4, "ngIf"], ["class", "po-table-header-column po-table-header-master-detail", 4, "ngIf"], [3, "po-table-header-master-detail", "po-table-header-single-action", 4, "ngIf"], ["class", "po-table-header-column po-text-center", 4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["tableDefaultThDragDrop", ""], ["tableDefaultThDefault", ""], [3, "po-table-header-single-action", "po-table-header-actions", 4, "ngIf"], ["class", "po-table-group-row", 4, "ngIf"], [1, "po-table-column-selectable"], ["name", "selectAll", 3, "p-checkboxValue", "p-change", 4, "ngIf"], ["name", "selectAll", 3, "p-checkboxValue", "p-change"], [1, "po-table-header-column", "po-table-header-master-detail"], ["columnActionLeft", ""], [1, "po-table-header-column", "po-text-center"], ["noColumnsHeader", ""], ["class", "po-table-header-ellipsis p-element po-frozen-column", "cdkDrag", "", "cdkDragLockAxis", "x", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "po-table-header-subtitle", "po-table-column-drag-box", "cdkDragDisabled", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["cdkDrag", "", "cdkDragLockAxis", "x", 1, "po-table-header-ellipsis", "p-element", "po-frozen-column", 3, "ngClass", "cdkDragDisabled", "pFrozenColumn", "click"], [1, "po-table-header-flex"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["cdkDragHandle", "", "width", "24", "height", "24", "viewBox", "0 0 24 24", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"], ["cx", "9", "cy", "6", "r", "2", "fill", "black"], ["cx", "15", "cy", "6", "r", "2", "fill", "black"], ["cx", "9", "cy", "12", "r", "2", "fill", "black"], ["cx", "15", "cy", "12", "r", "2", "fill", "black"], ["cx", "9", "cy", "18", "r", "2", "fill", "black"], ["cx", "15", "cy", "18", "r", "2", "fill", "black"], ["class", "po-table-header-ellipsis p-element po-frozen-column", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "po-table-header-subtitle", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-header-ellipsis", "p-element", "po-frozen-column", 3, "ngClass", "pFrozenColumn", "click"], [1, "po-table-group-row"], [1, "po-table-row", "po-table-row-no-data"], [1, "po-table-no-data", "po-text-center", 3, "colSpan"], ["class", "po-table-group-row", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-row"], ["class", "po-table-column-selectable", 4, "ngIf"], ["class", "po-table-column-detail-toggle", 3, "click", 4, "ngIf"], ["class", "p-element po-frozen-column", 3, "width", "max-width", "min-width", "po-table-column", "po-table-column-right", "po-table-column-center", "po-table-column-icons", "pFrozenColumn", "ngClass", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-column-detail-toggle", 3, "click"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "p-element", "po-frozen-column", 3, "pFrozenColumn", "ngClass", "click"], [1, "po-table-column-cell", "po-table-body-ellipsis", "notranslate", 3, "ngSwitch", "p-tooltip", "p-append-in-body", "mouseenter", "mouseleave"], [4, "ngSwitchCase"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click", 4, "ngSwitchCase"], [3, "p-column", "p-icons", "p-row", 4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click"], [3, "p-column", "p-icons", "p-row"], [3, "p-subtitle"], [3, "p-value"], [1, "po-table-row-template-container", 3, "colSpan"], [1, "po-table-column-detail", 3, "colSpan"], [3, "p-selectable", "p-detail", "p-items", "p-select-row"], [3, "itemSize", "minBufferPx", "maxBufferPx"], ["tableVirtualScroll", ""], [1, "po-table", 3, "ngClass", "ngStyle"], [1, "po-table-header-sticky"], ["cdkDropList", "", "cdkDropListOrientation", "horizontal", 3, "cdkDropListDropped"], ["tableVirtualScrollThDragDrop", ""], ["tableVirtualScrollThDefault", ""], ["class", "po-table-header-ellipsis p-element po-frozen-column", "cdkDrag", "", "cdkDragLockAxis", "x", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "ngStyle", "po-table-header-subtitle", "po-table-column-drag-box", "cdkDragDisabled", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["cdkDrag", "", "cdkDragLockAxis", "x", 1, "po-table-header-ellipsis", "p-element", "po-frozen-column", 3, "ngClass", "ngStyle", "cdkDragDisabled", "pFrozenColumn", "click"], ["class", "po-table-header-ellipsis p-element po-frozen-column example-box", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "ngStyle", "po-table-header-subtitle", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-header-ellipsis", "p-element", "po-frozen-column", "example-box", 3, "ngClass", "ngStyle", "pFrozenColumn", "click"], ["class", "po-table-group-row", 4, "cdkVirtualFor", "cdkVirtualForOf", "cdkVirtualForTrackBy"], ["class", "p-element po-frozen-column", 3, "width", "max-width", "min-width", "po-table-column", "po-table-column-right", "po-table-column-center", "po-table-column-icons", "ngClass", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "p-element", "po-frozen-column", 3, "ngClass", "pFrozenColumn", "click"], ["class", "po-icon po-clickable", 3, "po-icon-arrow-up", "po-icon-arrow-down", 4, "ngIf"], [1, "po-icon", "po-clickable"], [3, "name", "p-checked", "p-change-selected"], ["name", "checkbox", 3, "p-checkboxValue", "p-change"], [1, "po-table-header-ellipsis", 3, "p-tooltip", "p-append-in-body", "mouseenter", "mouseleave"], ["columnHeader", ""], [3, "po-table-header-icon-unselected", "po-table-header-icon-descending", "po-table-header-icon-ascending", 4, "ngIf"], ["width", "24", "height", "24", "viewBox", "0 0 24 24", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M18.2929 15.2929L17 16.5858L17 10C17 9.44772 16.5523 9 16 9C15.4477 9 15 9.44772 15 10L15 16.5858L13.7071 15.2929C13.3166 14.9024 12.6834 14.9024 12.2929 15.2929C11.9024 15.6834 11.9024 16.3166 12.2929 16.7071L15.2929 19.7071C15.6834 20.0976 16.3166 20.0976 16.7071 19.7071L19.7071 16.7071C20.0976 16.3166 20.0976 15.6834 19.7071 15.2929C19.3166 14.9024 18.6834 14.9024 18.2929 15.2929ZM5.70716 8.7071L7.00006 7.4142L7.00003 14C7.00002 14.5523 7.44774 15 8.00002 15C8.55231 15 9.00002 14.5523 9.00003 14L9.00006 7.41418L10.2929 8.70707C10.6835 9.09759 11.3166 9.09758 11.7072 8.70706C12.0977 8.31653 12.0977 7.68336 11.7072 7.29284L8.70718 4.29286C8.31665 3.90234 7.68349 3.90235 7.29296 4.29287L4.29295 7.29289C3.90242 7.68342 3.90242 8.31658 4.29294 8.70711C4.68347 9.09763 5.31663 9.09762 5.70716 8.7071Z", "fill", "#1D1D30"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M11 9.41421L9.70711 10.7071C9.31658 11.0976 8.68342 11.0976 8.29289 10.7071C7.90237 10.3166 7.90237 9.68342 8.29289 9.29289L11.2929 6.29289C11.6834 5.90237 12.3166 5.90237 12.7071 6.29289L15.7071 9.29289C16.0976 9.68342 16.0976 10.3166 15.7071 10.7071C15.3166 11.0976 14.6834 11.0976 14.2929 10.7071L13 9.41421V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V9.41421Z", "fill", "black"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M9.70711 13.2929L11 14.5858V7C11 6.44772 11.4477 6 12 6C12.5523 6 13 6.44772 13 7V14.5858L14.2929 13.2929C14.6834 12.9024 15.3166 12.9024 15.7071 13.2929C16.0976 13.6834 16.0976 14.3166 15.7071 14.7071L12.7071 17.7071C12.3166 18.0976 11.6834 18.0976 11.2929 17.7071L8.29289 14.7071C7.90237 14.3166 7.90237 13.6834 8.29289 13.2929C8.68342 12.9024 9.31658 12.9024 9.70711 13.2929Z", "fill", "black"], [1, "po-table-header-fixed-inner"], ["class", "po-table-column po-table-column-single-action", 3, "width", "max-width", 4, "ngIf"], ["class", "po-table-column-actions", 4, "ngIf"], [1, "po-table-column", "po-table-column-single-action"], ["class", "po-table-single-action po-clickable", 3, "po-table-action-disabled", "click", 4, "ngIf"], [1, "po-table-single-action", "po-clickable", 3, "click"], ["class", "po-table-single-action-content", 3, "p-icon", 4, "ngIf"], [1, "po-table-single-action-content", 3, "p-icon"], [1, "po-table-column-actions"], [1, "po-icon", "po-icon-more", "po-clickable", 3, "click"], ["popupTarget", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-hide-action-fixed-columns", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns"]], template: function PoTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23584
|
+
} }, features: [i0.ɵɵProvidersFeature([PoDateService]), i0.ɵɵInheritDefinitionFeature], decls: 33, vars: 14, consts: [[1, "po-table-actions"], ["class", "po-table-actions-batch-actions", 4, "ngIf"], ["class", "po-table-actions-column-manager", 4, "ngIf"], ["class", "po-table-search", 4, "ngIf"], ["p-no-padding", "", 4, "ngIf", "ngIfElse"], ["tableContainerTemplate", ""], ["class", "po-row po-table-footer-show-more", 3, "po-invisible", 4, "ngIf"], ["tableTemplate", ""], ["tableVirtualScrollTemplate", ""], [3, "p-actions", "p-target"], ["popup", ""], ["poTableColumnDetail", ""], ["inputRadio", ""], ["inputCheckbox", ""], ["contentHeaderTemplate", ""], ["noColumnsWithHeight", ""], ["noColumnsWithoutHeight", ""], ["ActionsColumnTemplate", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-hide-action-fixed-columns", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns", 4, "ngIf"], [3, "p-title", "p-primary-action", "p-secondary-action", "p-click-out"], ["modalDelete", ""], [1, "po-font-text-large"], [1, "po-table-actions-batch-actions"], ["columnBatchActions", ""], [1, "po-table-actions-batch-actions__label", 3, "ngPlural"], ["ngPluralCase", "=0"], ["ngPluralCase", "=1"], ["ngPluralCase", "other"], [1, "po-table-actions-batch-actions__buttons"], ["p-icon", "po-icon-delete", 3, "p-danger", "p-disabled", "p-label", "p-click"], [1, "po-table-actions-column-manager"], ["columnManager", ""], ["p-icon", "po-icon-settings", "p-kind", "tertiary", "p-tooltip-position", "left", 3, "p-aria-label", "p-tooltip", "p-click"], ["columnManagerTarget", ""], [1, "po-table-search"], [3, "p-items", "p-filter-keys", "p-filter-type", "p-filtered-items-change"], ["p-no-padding", ""], [4, "ngTemplateOutlet"], [3, "p-text", "p-size", 4, "ngIf"], [1, "po-table-main-container"], [1, "po-table-wrapper"], ["tableWrapper", ""], ["class", "po-table-container", 3, "height", 4, "ngIf"], [4, "ngIf"], ["class", "po-table-footer", 4, "ngIf"], [3, "p-text", "p-size"], [1, "po-table-container"], [1, "po-table-container-fixed-inner"], ["poTableTbody", ""], [1, "po-table-footer"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "p-literals", "p-subtitles"], [1, "po-row", "po-table-footer-show-more"], ["tableFooter", ""], [1, "po-offset-xl-4", "po-offset-lg-4", "po-offset-md-3", "po-lg-4", "po-md-6", 3, "p-disabled", "p-label", "p-loading", "p-click"], [1, "po-table", 3, "ngClass"], ["cdkDropList", "", "cdkDropListOrientation", "horizontal", 3, "ngClass", "cdkDropListDropped"], ["class", "po-table-column-selectable", 3, "pointer-events", 4, "ngIf"], ["class", "po-table-header-column po-table-header-master-detail", 4, "ngIf"], [3, "po-table-header-master-detail", "po-table-header-single-action", 4, "ngIf"], ["class", "po-table-header-column po-text-center", 4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["tableDefaultThDragDrop", ""], ["tableDefaultThDefault", ""], [3, "po-table-header-single-action", "po-table-header-actions", 4, "ngIf"], ["class", "po-table-group-row", 4, "ngIf"], [1, "po-table-column-selectable"], ["name", "selectAll", 3, "p-checkboxValue", "p-change", 4, "ngIf"], ["name", "selectAll", 3, "p-checkboxValue", "p-change"], [1, "po-table-header-column", "po-table-header-master-detail"], ["columnActionLeft", ""], [1, "po-table-header-column", "po-text-center"], ["noColumnsHeader", ""], ["class", "po-table-header-ellipsis p-element po-frozen-column", "cdkDrag", "", "cdkDragLockAxis", "x", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "po-table-header-subtitle", "po-table-column-drag-box", "cdkDragDisabled", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["cdkDrag", "", "cdkDragLockAxis", "x", 1, "po-table-header-ellipsis", "p-element", "po-frozen-column", 3, "ngClass", "cdkDragDisabled", "pFrozenColumn", "click"], [1, "po-table-header-flex"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["cdkDragHandle", "", "width", "24", "height", "24", "viewBox", "0 0 24 24", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"], ["cx", "9", "cy", "6", "r", "2", "fill", "black"], ["cx", "15", "cy", "6", "r", "2", "fill", "black"], ["cx", "9", "cy", "12", "r", "2", "fill", "black"], ["cx", "15", "cy", "12", "r", "2", "fill", "black"], ["cx", "9", "cy", "18", "r", "2", "fill", "black"], ["cx", "15", "cy", "18", "r", "2", "fill", "black"], ["class", "po-table-header-ellipsis p-element po-frozen-column", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "po-table-header-subtitle", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-header-ellipsis", "p-element", "po-frozen-column", 3, "ngClass", "pFrozenColumn", "click"], [1, "po-table-group-row"], [1, "po-table-row", "po-table-row-no-data"], [1, "po-table-no-data", "po-text-center", 3, "colSpan"], ["class", "po-table-group-row", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-row"], ["class", "po-table-column-selectable", 4, "ngIf"], ["class", "po-table-column-detail-toggle", 3, "click", 4, "ngIf"], ["class", "p-element po-frozen-column", 3, "width", "max-width", "min-width", "po-table-column", "po-table-column-right", "po-table-column-center", "po-table-column-icons", "pFrozenColumn", "ngClass", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-column-detail-toggle", 3, "click"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "p-element", "po-frozen-column", 3, "pFrozenColumn", "ngClass", "click"], [1, "po-table-column-cell", "po-table-body-ellipsis", "notranslate", 3, "ngSwitch", "p-tooltip", "p-append-in-body", "mouseenter", "mouseleave"], [4, "ngSwitchCase"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click", 4, "ngSwitchCase"], [3, "p-column", "p-icons", "p-row", 4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click"], [3, "p-column", "p-icons", "p-row"], [3, "p-subtitle"], [3, "p-value"], [1, "po-table-row-template-container", 3, "colSpan"], [1, "po-table-column-detail", 3, "colSpan"], [3, "p-selectable", "p-detail", "p-items", "p-select-row"], [3, "itemSize", "minBufferPx", "maxBufferPx"], ["tableVirtualScroll", ""], [1, "po-table", 3, "ngClass", "ngStyle"], [1, "po-table-header-sticky"], ["cdkDropList", "", "cdkDropListOrientation", "horizontal", 3, "cdkDropListDropped"], ["tableVirtualScrollThDragDrop", ""], ["tableVirtualScrollThDefault", ""], ["class", "po-table-header-ellipsis p-element po-frozen-column", "cdkDrag", "", "cdkDragLockAxis", "x", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "ngStyle", "po-table-header-subtitle", "po-table-column-drag-box", "cdkDragDisabled", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["cdkDrag", "", "cdkDragLockAxis", "x", 1, "po-table-header-ellipsis", "p-element", "po-frozen-column", 3, "ngClass", "ngStyle", "cdkDragDisabled", "pFrozenColumn", "click"], ["class", "po-table-header-ellipsis p-element po-frozen-column example-box", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "ngStyle", "po-table-header-subtitle", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-header-ellipsis", "p-element", "po-frozen-column", "example-box", 3, "ngClass", "ngStyle", "pFrozenColumn", "click"], ["class", "po-table-group-row", 4, "cdkVirtualFor", "cdkVirtualForOf", "cdkVirtualForTrackBy"], ["class", "p-element po-frozen-column", 3, "width", "max-width", "min-width", "po-table-column", "po-table-column-right", "po-table-column-center", "po-table-column-icons", "ngClass", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "p-element", "po-frozen-column", 3, "ngClass", "pFrozenColumn", "click"], ["class", "po-icon po-clickable", 3, "po-icon-arrow-up", "po-icon-arrow-down", 4, "ngIf"], [1, "po-icon", "po-clickable"], [3, "name", "p-checked", "p-change-selected"], ["name", "checkbox", 3, "p-checkboxValue", "p-change"], [1, "po-table-header-ellipsis", 3, "p-tooltip", "p-append-in-body", "mouseenter", "mouseleave"], ["columnHeader", ""], [3, "po-table-header-icon-unselected", "po-table-header-icon-descending", "po-table-header-icon-ascending", 4, "ngIf"], ["width", "24", "height", "24", "viewBox", "0 0 24 24", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M18.2929 15.2929L17 16.5858L17 10C17 9.44772 16.5523 9 16 9C15.4477 9 15 9.44772 15 10L15 16.5858L13.7071 15.2929C13.3166 14.9024 12.6834 14.9024 12.2929 15.2929C11.9024 15.6834 11.9024 16.3166 12.2929 16.7071L15.2929 19.7071C15.6834 20.0976 16.3166 20.0976 16.7071 19.7071L19.7071 16.7071C20.0976 16.3166 20.0976 15.6834 19.7071 15.2929C19.3166 14.9024 18.6834 14.9024 18.2929 15.2929ZM5.70716 8.7071L7.00006 7.4142L7.00003 14C7.00002 14.5523 7.44774 15 8.00002 15C8.55231 15 9.00002 14.5523 9.00003 14L9.00006 7.41418L10.2929 8.70707C10.6835 9.09759 11.3166 9.09758 11.7072 8.70706C12.0977 8.31653 12.0977 7.68336 11.7072 7.29284L8.70718 4.29286C8.31665 3.90234 7.68349 3.90235 7.29296 4.29287L4.29295 7.29289C3.90242 7.68342 3.90242 8.31658 4.29294 8.70711C4.68347 9.09763 5.31663 9.09762 5.70716 8.7071Z", "fill", "#1D1D30"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M11 9.41421L9.70711 10.7071C9.31658 11.0976 8.68342 11.0976 8.29289 10.7071C7.90237 10.3166 7.90237 9.68342 8.29289 9.29289L11.2929 6.29289C11.6834 5.90237 12.3166 5.90237 12.7071 6.29289L15.7071 9.29289C16.0976 9.68342 16.0976 10.3166 15.7071 10.7071C15.3166 11.0976 14.6834 11.0976 14.2929 10.7071L13 9.41421V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V9.41421Z", "fill", "black"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M9.70711 13.2929L11 14.5858V7C11 6.44772 11.4477 6 12 6C12.5523 6 13 6.44772 13 7V14.5858L14.2929 13.2929C14.6834 12.9024 15.3166 12.9024 15.7071 13.2929C16.0976 13.6834 16.0976 14.3166 15.7071 14.7071L12.7071 17.7071C12.3166 18.0976 11.6834 18.0976 11.2929 17.7071L8.29289 14.7071C7.90237 14.3166 7.90237 13.6834 8.29289 13.2929C8.68342 12.9024 9.31658 12.9024 9.70711 13.2929Z", "fill", "black"], [1, "po-table-header-fixed-inner"], ["class", "po-table-column po-table-column-single-action", 3, "width", "max-width", 4, "ngIf"], ["class", "po-table-column-actions", 4, "ngIf"], [1, "po-table-column", "po-table-column-single-action"], ["class", "po-table-single-action po-clickable", 3, "po-table-action-disabled", "click", 4, "ngIf"], [1, "po-table-single-action", "po-clickable", 3, "click"], ["class", "po-table-single-action-content", 3, "p-icon", 4, "ngIf"], [1, "po-table-single-action-content", 3, "p-icon"], [1, "po-table-column-actions"], [1, "po-icon", "po-icon-more", "po-clickable", 3, "click"], ["popupTarget", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-hide-action-fixed-columns", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns"]], template: function PoTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23533
23585
|
i0.ɵɵelementStart(0, "div", 0);
|
|
23534
23586
|
i0.ɵɵtemplate(1, PoTableComponent_div_1_Template, 9, 4, "div", 1);
|
|
23535
23587
|
i0.ɵɵtemplate(2, PoTableComponent_div_2_Template, 4, 2, "div", 2);
|
|
@@ -23576,7 +23628,7 @@ class PoTableComponent extends PoTableBaseComponent {
|
|
|
23576
23628
|
}
|
|
23577
23629
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableComponent, [{
|
|
23578
23630
|
type: Component,
|
|
23579
|
-
args: [{ selector: 'po-table', providers: [PoDateService], template: "<div class=\"po-table-actions\">\n <div\n #columnBatchActions\n *ngIf=\"hasValidColumns && itemsSelected.length > 0 && !hideBatchActions\"\n class=\"po-table-actions-batch-actions\"\n >\n <div [ngPlural]=\"itemsSelected.length\" class=\"po-table-actions-batch-actions__label\">\n <strong>\n <ng-template ngPluralCase=\"=0\">{{ literals.noItem }}</ng-template>\n <ng-template ngPluralCase=\"=1\">{{ literals.oneItem }}</ng-template>\n <ng-template ngPluralCase=\"other\">{{ itemsSelected.length }} {{ literals.multipleItems }}</ng-template>\n </strong>\n </div>\n\n <div class=\"po-table-actions-batch-actions__buttons\">\n <po-button\n p-icon=\"po-icon-delete\"\n [p-danger]=\"true\"\n [p-disabled]=\"itemsSelected.length > 1 && serviceDeleteApi !== undefined\"\n [p-label]=\"literals.delete\"\n (p-click)=\"modalDelete.open()\"\n ></po-button>\n </div>\n </div>\n\n <div #columnManager *ngIf=\"hasValidColumns && !hideColumnsManager\" class=\"po-table-actions-column-manager\">\n <po-button\n #columnManagerTarget\n p-icon=\"po-icon-settings\"\n p-kind=\"tertiary\"\n p-tooltip-position=\"left\"\n [p-aria-label]=\"literals.columnsManager\"\n [p-tooltip]=\"literals.columnsManager\"\n (p-click)=\"onOpenColumnManager()\"\n ></po-button>\n </div>\n\n <div *ngIf=\"!hideTableSearch && hasValidColumns\" class=\"po-table-search\">\n <po-search\n [p-items]=\"items\"\n [p-filter-keys]=\"filteredColumns\"\n [p-filter-type]=\"filterType\"\n (p-filtered-items-change)=\"onFilteredItemsChange($event)\"\n >\n </po-search>\n </div>\n</div>\n<po-container *ngIf=\"container; else tableContainerTemplate\" p-no-padding>\n <ng-container *ngTemplateOutlet=\"tableContainerTemplate\"></ng-container>\n</po-container>\n\n<ng-template #tableContainerTemplate>\n <div [class.po-table-container-relative]=\"loading\">\n <div *ngIf=\"loading\" class=\"po-table-overlay\">\n <po-loading class=\"po-table-overlay-content\" [p-text]=\"literals.loadingData\"></po-loading>\n </div>\n\n <div class=\"po-table-main-container\">\n <div\n #tableWrapper\n class=\"po-table-wrapper\"\n [class.po-table-header-fixed-columns-pixels]=\"allColumnsWidthPixels\"\n [style.opacity]=\"tableOpacity\"\n >\n <div *ngIf=\"height\" class=\"po-table-container\" [style.height.px]=\"heightTableContainer\">\n <div #poTableTbody class=\"po-table-container-fixed-inner\">\n <ng-container *ngTemplateOutlet=\"tableVirtualScrollTemplate\"></ng-container>\n </div>\n </div>\n\n <div *ngIf=\"!height\">\n <ng-container *ngTemplateOutlet=\"tableTemplate\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"po-table-footer\" *ngIf=\"hasFooter\">\n <ng-container *ngFor=\"let column of subtitleColumns; trackBy: trackBy\">\n <po-table-subtitle-footer [p-literals]=\"literals\" [p-subtitles]=\"column.subtitles\"> </po-table-subtitle-footer>\n </ng-container>\n </div>\n</ng-template>\n\n<!-- Show More Button -->\n<div\n *ngIf=\"!infiniteScroll\"\n class=\"po-row po-table-footer-show-more\"\n [class.po-invisible]=\"showMore.observers.length === 0 && !hasService\"\n #tableFooter\n>\n <po-button\n class=\"po-offset-xl-4 po-offset-lg-4 po-offset-md-3 po-lg-4 po-md-6\"\n [p-disabled]=\"showMoreDisabled\"\n [p-label]=\"literals.loadMoreData\"\n [p-loading]=\"loadingShowMore\"\n (p-click)=\"onShowMore()\"\n >\n </po-button>\n</div>\n\n<!-- Table default-->\n<ng-template #tableTemplate>\n <table\n class=\"po-table\"\n [ngClass]=\"{\n 'po-table-interactive': selectable || sort,\n 'po-table-selectable': selectable,\n 'po-table-striped': striped\n }\"\n [attr.p-spacing]=\"spacing\"\n >\n <thead>\n <tr\n [ngClass]=\"{ 'no-hover': hideSelectAll, 'po-table-column-drag': this.isDraggable }\"\n [class.po-table-header]=\"!height\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <th\n *ngIf=\"hasSelectableColumn\"\n [style.pointer-events]=\"hideSelectAll ? 'none' : 'auto'\"\n class=\"po-table-column-selectable\"\n >\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (p-change)=\"selectAllRows()\"\n [p-checkboxValue]=\"selectAll === null ? 'mixed' : selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n #columnActionLeft\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <ng-container\n *ngIf=\"this.isDraggable || hasSomeFixed(); then tableDefaultThDragDrop; else tableDefaultThDefault\"\n >\n </ng-container>\n <ng-template #tableDefaultThDragDrop>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n [class.po-table-column-drag-box]=\"this.isDraggable\"\n (click)=\"sortColumn(column)\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n [cdkDragDisabled]=\"column.fixed ? 'true' : 'false'\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngIf=\"this.isDraggable && !column.fixed\">\n <svg\n cdkDragHandle\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"9\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"18\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"18\" r=\"2\" fill=\"black\" />\n </svg>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n <ng-template #tableDefaultThDefault>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n </tr>\n </thead>\n\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody class=\"po-table-group-row\" *ngFor=\"let row of filteredItems; let rowIndex = index; trackBy: trackBy\">\n <tr class=\"po-table-row\" [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\">\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [pFrozenColumn]=\"column.fixed\"\n class=\"p-element po-frozen-column\"\n [ngClass]=\"getClassColor(row, column)\"\n (click)=\"hasSelectableRow() ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell po-table-body-ellipsis notranslate\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n [p-append-in-body]=\"true\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n</ng-template>\n\n<!-- Table with virtual scroll -->\n<ng-template #tableVirtualScrollTemplate>\n <cdk-virtual-scroll-viewport\n #tableVirtualScroll\n [itemSize]=\"itemSize\"\n [style.height.px]=\"heightTableContainer\"\n [minBufferPx]=\"heightTableContainer < 100 ? 100 : heightTableContainer\"\n [maxBufferPx]=\"heightTableContainer < 200 ? 200 : heightTableContainer\"\n >\n <table\n class=\"po-table\"\n [ngClass]=\"{\n 'po-table-interactive': selectable || sort,\n 'po-table-selectable': selectable,\n 'po-table-striped': striped\n }\"\n [ngStyle]=\"{ 'table-layout': !hasItems ? 'fixed' : 'auto' }\"\n [attr.p-spacing]=\"spacing\"\n >\n <thead class=\"po-table-header-sticky\" [style.top]=\"inverseOfTranslation\">\n <tr\n [class.po-table-header]=\"!height\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <th\n *ngIf=\"hasSelectableColumn\"\n [style.pointer-events]=\"hideSelectAll ? 'none' : 'auto'\"\n class=\"po-table-column-selectable\"\n >\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (p-change)=\"selectAllRows()\"\n [p-checkboxValue]=\"selectAll === null ? 'mixed' : selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n #columnActionLeft\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <ng-container\n *ngIf=\"\n this.isDraggable || hasSomeFixed();\n then tableVirtualScrollThDragDrop;\n else tableVirtualScrollThDefault\n \"\n >\n </ng-container>\n <ng-template #tableVirtualScrollThDragDrop>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [ngStyle]=\"{ 'width': !hasItems ? '100%' : 'auto' }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n [class.po-table-column-drag-box]=\"this.isDraggable\"\n (click)=\"sortColumn(column)\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n [cdkDragDisabled]=\"column.fixed ? 'true' : 'false'\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngIf=\"this.isDraggable && !column.fixed\">\n <svg\n cdkDragHandle\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"9\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"18\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"18\" r=\"2\" fill=\"black\" />\n </svg>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n <ng-template #tableVirtualScrollThDefault>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column example-box\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [ngStyle]=\"{ 'width': !hasItems ? '100%' : 'auto' }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n </tr>\n </thead>\n\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody\n class=\"po-table-group-row\"\n *cdkVirtualFor=\"let row of filteredItems; let rowIndex = index; trackBy: trackBy\"\n >\n <tr\n class=\"po-table-row\"\n [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\"\n >\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [ngClass]=\"getClassColor(row, column)\"\n [pFrozenColumn]=\"column.fixed\"\n class=\"p-element po-frozen-column\"\n (click)=\"hasSelectableRow() ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell po-table-body-ellipsis notranslate\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n [p-append-in-body]=\"true\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n </cdk-virtual-scroll-viewport>\n</ng-template>\n\n<po-popup #popup [p-actions]=\"actions\" [p-target]=\"popupTarget\"> </po-popup>\n\n<ng-template #poTableColumnDetail let-row=\"row\" let-rowIndex=\"rowIndex\">\n <span\n *ngIf=\"(containsMasterDetail(row) && !hasRowTemplate) || (isShowRowTemplate(row, rowIndex) && hasRowTemplate)\"\n class=\"po-icon po-clickable\"\n [class.po-icon-arrow-up]=\"row.$showDetail\"\n [class.po-icon-arrow-down]=\"!row.$showDetail\"\n >\n </span>\n</ng-template>\n\n<ng-template #inputRadio let-row>\n <po-radio [name]=\"idRadio\" [p-checked]=\"row.$selected\" (p-change-selected)=\"selectRow(row)\"></po-radio>\n</ng-template>\n\n<ng-template #inputCheckbox let-row>\n <po-checkbox\n name=\"checkbox\"\n (p-change)=\"selectable ? selectRow(row) : 'javascript:;'\"\n [p-checkboxValue]=\"row.$selected\"\n ></po-checkbox>\n</ng-template>\n\n<ng-template #contentHeaderTemplate let-column>\n <span\n #columnHeader\n class=\"po-table-header-ellipsis\"\n [p-tooltip]=\"tooltipText\"\n [p-append-in-body]=\"true\"\n (mouseenter)=\"tooltipMouseEnter($event)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n {{ column.label || (column.property | titlecase) }}\n </span>\n\n <span\n *ngIf=\"sort && column.sortable !== false\"\n [class.po-table-header-icon-unselected]=\"JSON.stringify(sortedColumn?.property) !== JSON.stringify(column)\"\n [class.po-table-header-icon-descending]=\"\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && sortedColumn.ascending\n \"\n [class.po-table-header-icon-ascending]=\"\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && !sortedColumn.ascending\n \"\n >\n <ng-container *ngIf=\"JSON.stringify(sortedColumn?.property) !== JSON.stringify(column)\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M18.2929 15.2929L17 16.5858L17 10C17 9.44772 16.5523 9 16 9C15.4477 9 15 9.44772 15 10L15 16.5858L13.7071 15.2929C13.3166 14.9024 12.6834 14.9024 12.2929 15.2929C11.9024 15.6834 11.9024 16.3166 12.2929 16.7071L15.2929 19.7071C15.6834 20.0976 16.3166 20.0976 16.7071 19.7071L19.7071 16.7071C20.0976 16.3166 20.0976 15.6834 19.7071 15.2929C19.3166 14.9024 18.6834 14.9024 18.2929 15.2929ZM5.70716 8.7071L7.00006 7.4142L7.00003 14C7.00002 14.5523 7.44774 15 8.00002 15C8.55231 15 9.00002 14.5523 9.00003 14L9.00006 7.41418L10.2929 8.70707C10.6835 9.09759 11.3166 9.09758 11.7072 8.70706C12.0977 8.31653 12.0977 7.68336 11.7072 7.29284L8.70718 4.29286C8.31665 3.90234 7.68349 3.90235 7.29296 4.29287L4.29295 7.29289C3.90242 7.68342 3.90242 8.31658 4.29294 8.70711C4.68347 9.09763 5.31663 9.09762 5.70716 8.7071Z\"\n fill=\"#1D1D30\"\n />\n </svg>\n </ng-container>\n\n <ng-container *ngIf=\"JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && sortedColumn.ascending\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M11 9.41421L9.70711 10.7071C9.31658 11.0976 8.68342 11.0976 8.29289 10.7071C7.90237 10.3166 7.90237 9.68342 8.29289 9.29289L11.2929 6.29289C11.6834 5.90237 12.3166 5.90237 12.7071 6.29289L15.7071 9.29289C16.0976 9.68342 16.0976 10.3166 15.7071 10.7071C15.3166 11.0976 14.6834 11.0976 14.2929 10.7071L13 9.41421V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V9.41421Z\"\n fill=\"black\"\n />\n </svg>\n </ng-container>\n\n <ng-container *ngIf=\"JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && !sortedColumn.ascending\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M9.70711 13.2929L11 14.5858V7C11 6.44772 11.4477 6 12 6C12.5523 6 13 6.44772 13 7V14.5858L14.2929 13.2929C14.6834 12.9024 15.3166 12.9024 15.7071 13.2929C16.0976 13.6834 16.0976 14.3166 15.7071 14.7071L12.7071 17.7071C12.3166 18.0976 11.6834 18.0976 11.2929 17.7071L8.29289 14.7071C7.90237 14.3166 7.90237 13.6834 8.29289 13.2929C8.68342 12.9024 9.31658 12.9024 9.70711 13.2929Z\"\n fill=\"black\"\n />\n </svg>\n </ng-container>\n </span>\n</ng-template>\n\n<ng-template #noColumnsWithHeight>\n <div class=\"po-table-header-fixed-inner\" [style.width.px]=\"noColumnsHeader?.nativeElement.offsetWidth\">\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n </div>\n</ng-template>\n\n<ng-template #noColumnsWithoutHeight>\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n</ng-template>\n\n<!-- Template de a\u00E7\u00F5es -->\n<ng-template #ActionsColumnTemplate let-row=\"row\" let-rowIndex=\"rowIndex\">\n <td\n *ngIf=\"isSingleAction\"\n class=\"po-table-column po-table-column-single-action\"\n [style.width.px]=\"height && actionRight ? getWidthColumnManager() : ''\"\n [style.max-width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n [style.width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n >\n <div\n *ngIf=\"firstAction.visible !== false\"\n class=\"po-table-single-action po-clickable\"\n [class.po-table-action-disabled]=\"firstAction.disabled ? validateTableAction(row, firstAction) : false\"\n (click)=\"executeTableAction(row, firstAction)\"\n >\n <po-icon *ngIf=\"firstAction.icon\" class=\"po-table-single-action-content\" [p-icon]=\"firstAction.icon\"></po-icon>\n {{ firstAction.label }}\n </div>\n </td>\n\n <td *ngIf=\"visibleActions.length > 1\" class=\"po-table-column-actions\">\n <span #popupTarget class=\"po-icon po-icon-more po-clickable\" (click)=\"togglePopup(row, popupTarget)\"></span>\n </td>\n</ng-template>\n\n<po-table-column-manager\n *ngIf=\"!hideColumnsManager\"\n [p-columns]=\"columns\"\n [p-max-columns]=\"maxColumns\"\n [p-target]=\"columnManagerTarget\"\n [p-last-visible-columns-selected]=\"lastVisibleColumnsSelected\"\n [p-hide-action-fixed-columns]=\"hideActionFixedColumns\"\n (p-visible-columns-change)=\"onVisibleColumnsChange($event)\"\n (p-change-visible-columns)=\"onChangeVisibleColumns($event)\"\n [p-columns-default]=\"initialColumns\"\n (p-initial-columns)=\"onColumnRestoreManager($event)\"\n>\n</po-table-column-manager>\n\n<po-modal\n #modalDelete\n [p-title]=\"literals.delete\"\n [p-primary-action]=\"confirm\"\n [p-secondary-action]=\"close\"\n [p-click-out]=\"true\"\n>\n <p class=\"po-font-text-large\">{{ literals.bodyDelete }}</p>\n</po-modal>\n" }]
|
|
23631
|
+
args: [{ selector: 'po-table', providers: [PoDateService], template: "<div class=\"po-table-actions\">\n <div\n #columnBatchActions\n *ngIf=\"hasValidColumns && itemsSelected.length > 0 && !hideBatchActions\"\n class=\"po-table-actions-batch-actions\"\n >\n <div [ngPlural]=\"itemsSelected.length\" class=\"po-table-actions-batch-actions__label\">\n <strong>\n <ng-template ngPluralCase=\"=0\">{{ literals.noItem }}</ng-template>\n <ng-template ngPluralCase=\"=1\">{{ literals.oneItem }}</ng-template>\n <ng-template ngPluralCase=\"other\">{{ itemsSelected.length }} {{ literals.multipleItems }}</ng-template>\n </strong>\n </div>\n\n <div class=\"po-table-actions-batch-actions__buttons\">\n <po-button\n p-icon=\"po-icon-delete\"\n [p-danger]=\"true\"\n [p-disabled]=\"itemsSelected.length > 1 && serviceDeleteApi !== undefined\"\n [p-label]=\"literals.delete\"\n (p-click)=\"modalDelete.open()\"\n ></po-button>\n </div>\n </div>\n\n <div #columnManager *ngIf=\"hasValidColumns && !hideColumnsManager\" class=\"po-table-actions-column-manager\">\n <po-button\n #columnManagerTarget\n p-icon=\"po-icon-settings\"\n p-kind=\"tertiary\"\n p-tooltip-position=\"left\"\n [p-aria-label]=\"literals.columnsManager\"\n [p-tooltip]=\"literals.columnsManager\"\n (p-click)=\"onOpenColumnManager()\"\n ></po-button>\n </div>\n\n <div *ngIf=\"!hideTableSearch && hasValidColumns\" class=\"po-table-search\">\n <po-search\n [p-items]=\"items\"\n [p-filter-keys]=\"filteredColumns\"\n [p-filter-type]=\"filterType\"\n (p-filtered-items-change)=\"onFilteredItemsChange($event)\"\n >\n </po-search>\n </div>\n</div>\n<po-container *ngIf=\"container; else tableContainerTemplate\" p-no-padding>\n <ng-container *ngTemplateOutlet=\"tableContainerTemplate\"></ng-container>\n</po-container>\n\n<ng-template #tableContainerTemplate>\n <div [class.po-table-container-sticky]=\"loading\">\n <po-loading-overlay *ngIf=\"loading\" [p-text]=\"literals.loadingData\" [p-size]=\"sizeLoading\"></po-loading-overlay>\n <div class=\"po-table-main-container\">\n <div\n #tableWrapper\n class=\"po-table-wrapper\"\n [class.po-table-header-fixed-columns-pixels]=\"allColumnsWidthPixels\"\n [style.opacity]=\"tableOpacity\"\n >\n <div *ngIf=\"height\" class=\"po-table-container\" [style.height.px]=\"heightTableContainer\">\n <div #poTableTbody class=\"po-table-container-fixed-inner\">\n <ng-container *ngTemplateOutlet=\"tableVirtualScrollTemplate\"></ng-container>\n </div>\n </div>\n\n <div *ngIf=\"!height\">\n <ng-container *ngTemplateOutlet=\"tableTemplate\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"po-table-footer\" *ngIf=\"hasFooter\">\n <ng-container *ngFor=\"let column of subtitleColumns; trackBy: trackBy\">\n <po-table-subtitle-footer [p-literals]=\"literals\" [p-subtitles]=\"column.subtitles\"> </po-table-subtitle-footer>\n </ng-container>\n </div>\n</ng-template>\n\n<!-- Show More Button -->\n<div\n *ngIf=\"!infiniteScroll\"\n class=\"po-row po-table-footer-show-more\"\n [class.po-invisible]=\"showMore.observers.length === 0 && !hasService\"\n #tableFooter\n>\n <po-button\n class=\"po-offset-xl-4 po-offset-lg-4 po-offset-md-3 po-lg-4 po-md-6\"\n [p-disabled]=\"showMoreDisabled\"\n [p-label]=\"literals.loadMoreData\"\n [p-loading]=\"loadingShowMore\"\n (p-click)=\"onShowMore()\"\n >\n </po-button>\n</div>\n\n<!-- Table default-->\n<ng-template #tableTemplate>\n <table\n class=\"po-table\"\n [ngClass]=\"{\n 'po-table-interactive': selectable || sort,\n 'po-table-selectable': selectable,\n 'po-table-striped': striped\n }\"\n [attr.p-spacing]=\"spacing\"\n >\n <thead>\n <tr\n [ngClass]=\"{ 'no-hover': hideSelectAll, 'po-table-column-drag': this.isDraggable }\"\n [class.po-table-header]=\"!height\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <th\n *ngIf=\"hasSelectableColumn\"\n [style.pointer-events]=\"hideSelectAll ? 'none' : 'auto'\"\n class=\"po-table-column-selectable\"\n >\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (p-change)=\"selectAllRows()\"\n [p-checkboxValue]=\"selectAll === null ? 'mixed' : selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n #columnActionLeft\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <ng-container\n *ngIf=\"this.isDraggable || hasSomeFixed(); then tableDefaultThDragDrop; else tableDefaultThDefault\"\n >\n </ng-container>\n <ng-template #tableDefaultThDragDrop>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n [class.po-table-column-drag-box]=\"this.isDraggable\"\n (click)=\"sortColumn(column)\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n [cdkDragDisabled]=\"column.fixed ? 'true' : 'false'\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngIf=\"this.isDraggable && !column.fixed\">\n <svg\n cdkDragHandle\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"9\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"18\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"18\" r=\"2\" fill=\"black\" />\n </svg>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n <ng-template #tableDefaultThDefault>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n </tr>\n </thead>\n\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody class=\"po-table-group-row\" *ngFor=\"let row of filteredItems; let rowIndex = index; trackBy: trackBy\">\n <tr class=\"po-table-row\" [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\">\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [pFrozenColumn]=\"column.fixed\"\n class=\"p-element po-frozen-column\"\n [ngClass]=\"getClassColor(row, column)\"\n (click)=\"hasSelectableRow() ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell po-table-body-ellipsis notranslate\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n [p-append-in-body]=\"true\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n</ng-template>\n\n<!-- Table with virtual scroll -->\n<ng-template #tableVirtualScrollTemplate>\n <cdk-virtual-scroll-viewport\n #tableVirtualScroll\n [itemSize]=\"itemSize\"\n [style.height.px]=\"heightTableContainer\"\n [minBufferPx]=\"heightTableContainer < 100 ? 100 : heightTableContainer\"\n [maxBufferPx]=\"heightTableContainer < 200 ? 200 : heightTableContainer\"\n >\n <table\n class=\"po-table\"\n [ngClass]=\"{\n 'po-table-interactive': selectable || sort,\n 'po-table-selectable': selectable,\n 'po-table-striped': striped\n }\"\n [ngStyle]=\"{ 'table-layout': !hasItems ? 'fixed' : 'auto' }\"\n [attr.p-spacing]=\"spacing\"\n >\n <thead class=\"po-table-header-sticky\" [style.top]=\"inverseOfTranslation\">\n <tr\n [class.po-table-header]=\"!height\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <th\n *ngIf=\"hasSelectableColumn\"\n [style.pointer-events]=\"hideSelectAll ? 'none' : 'auto'\"\n class=\"po-table-column-selectable\"\n >\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (p-change)=\"selectAllRows()\"\n [p-checkboxValue]=\"selectAll === null ? 'mixed' : selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n #columnActionLeft\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <ng-container\n *ngIf=\"\n this.isDraggable || hasSomeFixed();\n then tableVirtualScrollThDragDrop;\n else tableVirtualScrollThDefault\n \"\n >\n </ng-container>\n <ng-template #tableVirtualScrollThDragDrop>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [ngStyle]=\"{ 'width': !hasItems ? '100%' : 'auto' }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n [class.po-table-column-drag-box]=\"this.isDraggable\"\n (click)=\"sortColumn(column)\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n [cdkDragDisabled]=\"column.fixed ? 'true' : 'false'\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngIf=\"this.isDraggable && !column.fixed\">\n <svg\n cdkDragHandle\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"9\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"18\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"18\" r=\"2\" fill=\"black\" />\n </svg>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n <ng-template #tableVirtualScrollThDefault>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column example-box\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [ngStyle]=\"{ 'width': !hasItems ? '100%' : 'auto' }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n </tr>\n </thead>\n\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody\n class=\"po-table-group-row\"\n *cdkVirtualFor=\"let row of filteredItems; let rowIndex = index; trackBy: trackBy\"\n >\n <tr\n class=\"po-table-row\"\n [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\"\n >\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [ngClass]=\"getClassColor(row, column)\"\n [pFrozenColumn]=\"column.fixed\"\n class=\"p-element po-frozen-column\"\n (click)=\"hasSelectableRow() ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell po-table-body-ellipsis notranslate\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n [p-append-in-body]=\"true\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n </cdk-virtual-scroll-viewport>\n</ng-template>\n\n<po-popup #popup [p-actions]=\"actions\" [p-target]=\"popupTarget\"> </po-popup>\n\n<ng-template #poTableColumnDetail let-row=\"row\" let-rowIndex=\"rowIndex\">\n <span\n *ngIf=\"(containsMasterDetail(row) && !hasRowTemplate) || (isShowRowTemplate(row, rowIndex) && hasRowTemplate)\"\n class=\"po-icon po-clickable\"\n [class.po-icon-arrow-up]=\"row.$showDetail\"\n [class.po-icon-arrow-down]=\"!row.$showDetail\"\n >\n </span>\n</ng-template>\n\n<ng-template #inputRadio let-row>\n <po-radio [name]=\"idRadio\" [p-checked]=\"row.$selected\" (p-change-selected)=\"selectRow(row)\"></po-radio>\n</ng-template>\n\n<ng-template #inputCheckbox let-row>\n <po-checkbox\n name=\"checkbox\"\n (p-change)=\"selectable ? selectRow(row) : 'javascript:;'\"\n [p-checkboxValue]=\"row.$selected\"\n ></po-checkbox>\n</ng-template>\n\n<ng-template #contentHeaderTemplate let-column>\n <span\n #columnHeader\n class=\"po-table-header-ellipsis\"\n [p-tooltip]=\"tooltipText\"\n [p-append-in-body]=\"true\"\n (mouseenter)=\"tooltipMouseEnter($event)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n {{ column.label || (column.property | titlecase) }}\n </span>\n\n <span\n *ngIf=\"sort && column.sortable !== false\"\n [class.po-table-header-icon-unselected]=\"JSON.stringify(sortedColumn?.property) !== JSON.stringify(column)\"\n [class.po-table-header-icon-descending]=\"\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && sortedColumn.ascending\n \"\n [class.po-table-header-icon-ascending]=\"\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && !sortedColumn.ascending\n \"\n >\n <ng-container *ngIf=\"JSON.stringify(sortedColumn?.property) !== JSON.stringify(column)\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M18.2929 15.2929L17 16.5858L17 10C17 9.44772 16.5523 9 16 9C15.4477 9 15 9.44772 15 10L15 16.5858L13.7071 15.2929C13.3166 14.9024 12.6834 14.9024 12.2929 15.2929C11.9024 15.6834 11.9024 16.3166 12.2929 16.7071L15.2929 19.7071C15.6834 20.0976 16.3166 20.0976 16.7071 19.7071L19.7071 16.7071C20.0976 16.3166 20.0976 15.6834 19.7071 15.2929C19.3166 14.9024 18.6834 14.9024 18.2929 15.2929ZM5.70716 8.7071L7.00006 7.4142L7.00003 14C7.00002 14.5523 7.44774 15 8.00002 15C8.55231 15 9.00002 14.5523 9.00003 14L9.00006 7.41418L10.2929 8.70707C10.6835 9.09759 11.3166 9.09758 11.7072 8.70706C12.0977 8.31653 12.0977 7.68336 11.7072 7.29284L8.70718 4.29286C8.31665 3.90234 7.68349 3.90235 7.29296 4.29287L4.29295 7.29289C3.90242 7.68342 3.90242 8.31658 4.29294 8.70711C4.68347 9.09763 5.31663 9.09762 5.70716 8.7071Z\"\n fill=\"#1D1D30\"\n />\n </svg>\n </ng-container>\n\n <ng-container *ngIf=\"JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && sortedColumn.ascending\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M11 9.41421L9.70711 10.7071C9.31658 11.0976 8.68342 11.0976 8.29289 10.7071C7.90237 10.3166 7.90237 9.68342 8.29289 9.29289L11.2929 6.29289C11.6834 5.90237 12.3166 5.90237 12.7071 6.29289L15.7071 9.29289C16.0976 9.68342 16.0976 10.3166 15.7071 10.7071C15.3166 11.0976 14.6834 11.0976 14.2929 10.7071L13 9.41421V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V9.41421Z\"\n fill=\"black\"\n />\n </svg>\n </ng-container>\n\n <ng-container *ngIf=\"JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && !sortedColumn.ascending\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M9.70711 13.2929L11 14.5858V7C11 6.44772 11.4477 6 12 6C12.5523 6 13 6.44772 13 7V14.5858L14.2929 13.2929C14.6834 12.9024 15.3166 12.9024 15.7071 13.2929C16.0976 13.6834 16.0976 14.3166 15.7071 14.7071L12.7071 17.7071C12.3166 18.0976 11.6834 18.0976 11.2929 17.7071L8.29289 14.7071C7.90237 14.3166 7.90237 13.6834 8.29289 13.2929C8.68342 12.9024 9.31658 12.9024 9.70711 13.2929Z\"\n fill=\"black\"\n />\n </svg>\n </ng-container>\n </span>\n</ng-template>\n\n<ng-template #noColumnsWithHeight>\n <div class=\"po-table-header-fixed-inner\" [style.width.px]=\"headerWidth\">\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n </div>\n</ng-template>\n\n<ng-template #noColumnsWithoutHeight>\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n</ng-template>\n\n<!-- Template de a\u00E7\u00F5es -->\n<ng-template #ActionsColumnTemplate let-row=\"row\" let-rowIndex=\"rowIndex\">\n <td\n *ngIf=\"isSingleAction\"\n class=\"po-table-column po-table-column-single-action\"\n [style.width.px]=\"height && actionRight ? getWidthColumnManager() : ''\"\n [style.max-width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n [style.width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n >\n <div\n *ngIf=\"firstAction.visible !== false\"\n class=\"po-table-single-action po-clickable\"\n [class.po-table-action-disabled]=\"firstAction.disabled ? validateTableAction(row, firstAction) : false\"\n (click)=\"executeTableAction(row, firstAction)\"\n >\n <po-icon *ngIf=\"firstAction.icon\" class=\"po-table-single-action-content\" [p-icon]=\"firstAction.icon\"></po-icon>\n {{ firstAction.label }}\n </div>\n </td>\n\n <td *ngIf=\"visibleActions.length > 1\" class=\"po-table-column-actions\">\n <span #popupTarget class=\"po-icon po-icon-more po-clickable\" (click)=\"togglePopup(row, popupTarget)\"></span>\n </td>\n</ng-template>\n\n<po-table-column-manager\n *ngIf=\"!hideColumnsManager\"\n [p-columns]=\"columns\"\n [p-max-columns]=\"maxColumns\"\n [p-target]=\"columnManagerTarget\"\n [p-last-visible-columns-selected]=\"lastVisibleColumnsSelected\"\n [p-hide-action-fixed-columns]=\"hideActionFixedColumns\"\n (p-visible-columns-change)=\"onVisibleColumnsChange($event)\"\n (p-change-visible-columns)=\"onChangeVisibleColumns($event)\"\n [p-columns-default]=\"initialColumns\"\n (p-initial-columns)=\"onColumnRestoreManager($event)\"\n>\n</po-table-column-manager>\n\n<po-modal\n #modalDelete\n [p-title]=\"literals.delete\"\n [p-primary-action]=\"confirm\"\n [p-secondary-action]=\"close\"\n [p-click-out]=\"true\"\n>\n <p class=\"po-font-text-large\">{{ literals.bodyDelete }}</p>\n</po-modal>\n" }]
|
|
23580
23632
|
}], function () { return [{ type: PoDateService }, { type: i0.IterableDiffers }, { type: i0.Renderer2 }, { type: PoLanguageService }, { type: i0.ChangeDetectorRef }, { type: i1.DecimalPipe }, { type: i2.Router }, { type: PoTableService }]; }, { tableRowTemplate: [{
|
|
23581
23633
|
type: ContentChild,
|
|
23582
23634
|
args: [PoTableRowTemplateDirective, { static: true }]
|
|
@@ -26151,7 +26203,7 @@ class PoComboComponent extends PoComboBaseComponent {
|
|
|
26151
26203
|
i0.ɵɵproperty("ngIf", ctx.appendBox)("ngIfThen", _r8)("ngIfElse", _r6);
|
|
26152
26204
|
i0.ɵɵadvance(5);
|
|
26153
26205
|
i0.ɵɵproperty("p-help", ctx.help)("p-disabled", ctx.disabled);
|
|
26154
|
-
} }, dependencies: [i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i5.CdkConnectedOverlay, i5.CdkOverlayOrigin, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoIconComponent, PoListBoxComponent], encapsulation: 2, changeDetection: 0 });
|
|
26206
|
+
} }, dependencies: [i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i5$1.CdkConnectedOverlay, i5$1.CdkOverlayOrigin, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoIconComponent, PoListBoxComponent], encapsulation: 2, changeDetection: 0 });
|
|
26155
26207
|
}
|
|
26156
26208
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoComboComponent, [{
|
|
26157
26209
|
type: Component,
|
|
@@ -38466,7 +38518,7 @@ class PoTableModule {
|
|
|
38466
38518
|
PoTableRowTemplateDirective,
|
|
38467
38519
|
PoTableCellTemplateDirective,
|
|
38468
38520
|
PoTableColumnTemplateDirective] }); })();
|
|
38469
|
-
i0.ɵɵsetComponentScope(PoTableComponent, [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i1.NgPlural, i1.NgPluralCase, i2$2.CdkFixedSizeVirtualScroll, i2$2.CdkVirtualForOf, i2$2.CdkVirtualScrollViewport, i3.CdkDropList, i3.CdkDrag, i3.CdkDragHandle, PoButtonComponent, PoContainerComponent,
|
|
38521
|
+
i0.ɵɵsetComponentScope(PoTableComponent, [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i1.NgPlural, i1.NgPluralCase, i2$2.CdkFixedSizeVirtualScroll, i2$2.CdkVirtualForOf, i2$2.CdkVirtualScrollViewport, i3.CdkDropList, i3.CdkDrag, i3.CdkDragHandle, PoButtonComponent, PoContainerComponent, PoLoadingOverlayComponent, PoModalComponent, PoPopupComponent, PoTooltipDirective, PoIconComponent, PoCheckboxComponent, PoRadioComponent, PoSearchComponent, PoTableColumnIconComponent,
|
|
38470
38522
|
PoTableColumnLabelComponent,
|
|
38471
38523
|
PoTableColumnLinkComponent,
|
|
38472
38524
|
PoTableColumnManagerComponent,
|
|
@@ -38916,7 +38968,7 @@ class PoFieldModule {
|
|
|
38916
38968
|
PoSwitchModule,
|
|
38917
38969
|
PoTagModule] }); })();
|
|
38918
38970
|
i0.ɵɵsetComponentScope(PoLookupModalComponent, function () { return [i1.NgIf, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgModel, PoDisclaimerGroupComponent, PoFieldContainerComponent, PoModalComponent, PoTableComponent]; }, []);
|
|
38919
|
-
i0.ɵɵsetComponentScope(PoMultiselectComponent, function () { return [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i5.CdkConnectedOverlay, i5.CdkOverlayOrigin, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoTagComponent, PoMultiselectDropdownComponent]; }, []);
|
|
38971
|
+
i0.ɵɵsetComponentScope(PoMultiselectComponent, function () { return [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i5$1.CdkConnectedOverlay, i5$1.CdkOverlayOrigin, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoTagComponent, PoMultiselectDropdownComponent]; }, []);
|
|
38920
38972
|
|
|
38921
38973
|
/**
|
|
38922
38974
|
* @usedBy PoInfoComponent
|