primeng 17.1.0 → 17.2.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/contextmenu/contextmenu.d.ts +11 -1
- package/esm2022/accordion/accordion.mjs +7 -3
- package/esm2022/autocomplete/autocomplete.mjs +8 -8
- package/esm2022/blockui/blockui.mjs +6 -3
- package/esm2022/contextmenu/contextmenu.mjs +46 -10
- package/esm2022/dropdown/dropdown.mjs +3 -3
- package/esm2022/galleria/galleria.mjs +10 -6
- package/esm2022/icons/sortamountdown/sortamountdown.mjs +3 -43
- package/esm2022/icons/sortamountupalt/sortamountupalt.mjs +3 -43
- package/esm2022/inputgroup/inputgroup.mjs +22 -7
- package/esm2022/inputgroupaddon/inputgroupaddon.mjs +22 -7
- package/esm2022/inputnumber/inputnumber.mjs +4 -1
- package/esm2022/multiselect/multiselect.mjs +7 -1
- package/esm2022/panelmenu/panelmenu.mjs +35 -53
- package/esm2022/picklist/picklist.mjs +5 -3
- package/esm2022/table/columnfilter.interface.mjs +2 -0
- package/esm2022/table/public_api.mjs +2 -1
- package/esm2022/table/table.mjs +121 -10
- package/esm2022/tristatecheckbox/tristatecheckbox.mjs +3 -3
- package/fesm2022/primeng-accordion.mjs +6 -2
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +7 -7
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-blockui.mjs +5 -2
- package/fesm2022/primeng-blockui.mjs.map +1 -1
- package/fesm2022/primeng-contextmenu.mjs +45 -9
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +2 -2
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +9 -5
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountdown.mjs +2 -42
- package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountupalt.mjs +2 -42
- package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/primeng-inputgroup.mjs +21 -6
- package/fesm2022/primeng-inputgroup.mjs.map +1 -1
- package/fesm2022/primeng-inputgroupaddon.mjs +21 -6
- package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +3 -0
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +6 -0
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +34 -52
- package/fesm2022/primeng-panelmenu.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +4 -2
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +120 -9
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tristatecheckbox.mjs +2 -2
- package/fesm2022/primeng-tristatecheckbox.mjs.map +1 -1
- package/galleria/galleria.d.ts +1 -0
- package/inputgroup/inputgroup.d.ts +13 -1
- package/inputgroupaddon/inputgroupaddon.d.ts +13 -1
- package/package.json +242 -242
- package/panelmenu/panelmenu.d.ts +8 -11
- package/resources/themes/arya-blue/theme.css +12 -16
- package/resources/themes/arya-green/theme.css +12 -16
- package/resources/themes/arya-orange/theme.css +12 -16
- package/resources/themes/arya-purple/theme.css +12 -16
- package/resources/themes/bootstrap4-dark-blue/theme.css +12 -16
- package/resources/themes/bootstrap4-dark-purple/theme.css +12 -16
- package/resources/themes/bootstrap4-light-blue/theme.css +12 -16
- package/resources/themes/bootstrap4-light-purple/theme.css +12 -16
- package/resources/themes/fluent-light/theme.css +12 -16
- package/resources/themes/lara-dark-blue/theme.css +12 -16
- package/resources/themes/lara-dark-indigo/theme.css +12 -16
- package/resources/themes/lara-dark-purple/theme.css +12 -16
- package/resources/themes/lara-dark-teal/theme.css +12 -16
- package/resources/themes/lara-light-blue/theme.css +12 -16
- package/resources/themes/lara-light-indigo/theme.css +12 -16
- package/resources/themes/lara-light-purple/theme.css +12 -16
- package/resources/themes/lara-light-teal/theme.css +55 -59
- package/resources/themes/luna-amber/theme.css +12 -16
- package/resources/themes/luna-blue/theme.css +12 -16
- package/resources/themes/luna-green/theme.css +12 -16
- package/resources/themes/luna-pink/theme.css +12 -16
- package/resources/themes/md-dark-deeppurple/theme.css +12 -16
- package/resources/themes/md-dark-indigo/theme.css +12 -16
- package/resources/themes/md-light-deeppurple/theme.css +12 -16
- package/resources/themes/md-light-indigo/theme.css +12 -16
- package/resources/themes/mdc-dark-deeppurple/theme.css +12 -16
- package/resources/themes/mdc-dark-indigo/theme.css +12 -16
- package/resources/themes/mdc-light-deeppurple/theme.css +12 -16
- package/resources/themes/mdc-light-indigo/theme.css +12 -16
- package/resources/themes/mira/theme.css +12 -16
- package/resources/themes/nano/theme.css +12 -16
- package/resources/themes/nova/theme.css +12 -16
- package/resources/themes/nova-accent/theme.css +12 -16
- package/resources/themes/nova-alt/theme.css +12 -16
- package/resources/themes/rhea/theme.css +12 -16
- package/resources/themes/saga-blue/theme.css +12 -16
- package/resources/themes/saga-green/theme.css +12 -16
- package/resources/themes/saga-orange/theme.css +12 -16
- package/resources/themes/saga-purple/theme.css +12 -16
- package/resources/themes/soho-dark/theme.css +12 -16
- package/resources/themes/soho-light/theme.css +12 -16
- package/resources/themes/tailwind-light/theme.css +12 -16
- package/resources/themes/vela-blue/theme.css +12 -16
- package/resources/themes/vela-green/theme.css +12 -16
- package/resources/themes/vela-orange/theme.css +12 -16
- package/resources/themes/vela-purple/theme.css +12 -16
- package/resources/themes/viva-dark/theme.css +12 -16
- package/resources/themes/viva-light/theme.css +12 -16
- package/table/columnfilter.interface.d.ts +35 -0
- package/table/public_api.d.ts +1 -0
- package/table/table.d.ts +106 -0
@@ -401,9 +401,9 @@
|
|
401
401
|
padding: 0.25rem 0;
|
402
402
|
}
|
403
403
|
.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-input-token input {
|
404
|
-
font-family:
|
405
|
-
font-feature-settings:
|
406
|
-
font-size:
|
404
|
+
font-family: var(--font-family);
|
405
|
+
font-feature-settings: var(--font-feature-settings, normal);
|
406
|
+
font-size: 1rem;
|
407
407
|
color: #6c6c6c;
|
408
408
|
padding: 0;
|
409
409
|
margin: 0;
|
@@ -927,9 +927,9 @@
|
|
927
927
|
padding: 0.25rem 0;
|
928
928
|
}
|
929
929
|
.p-chips .p-chips-multiple-container .p-chips-input-token input {
|
930
|
-
font-family:
|
931
|
-
font-feature-settings:
|
932
|
-
font-size:
|
930
|
+
font-family: var(--font-family);
|
931
|
+
font-feature-settings: var(--font-feature-settings, normal);
|
932
|
+
font-size: 1rem;
|
933
933
|
color: #6c6c6c;
|
934
934
|
padding: 0;
|
935
935
|
margin: 0;
|
@@ -1105,27 +1105,23 @@
|
|
1105
1105
|
}
|
1106
1106
|
|
1107
1107
|
.p-inputgroup > .p-component,
|
1108
|
-
.p-inputgroup > .p-
|
1109
|
-
.p-inputgroup > .p-inputwrapper > .p-component > .p-inputtext,
|
1108
|
+
.p-inputgroup > .p-inputwrapper > .p-inputtext,
|
1110
1109
|
.p-inputgroup > .p-float-label > .p-component {
|
1111
1110
|
border-radius: 0;
|
1112
1111
|
margin: 0;
|
1113
1112
|
}
|
1114
1113
|
.p-inputgroup > .p-component + .p-inputgroup-addon,
|
1115
|
-
.p-inputgroup > .p-
|
1116
|
-
.p-inputgroup > .p-inputwrapper > .p-component > .p-inputtext + .p-inputgroup-addon,
|
1114
|
+
.p-inputgroup > .p-inputwrapper > .p-inputtext + .p-inputgroup-addon,
|
1117
1115
|
.p-inputgroup > .p-float-label > .p-component + .p-inputgroup-addon {
|
1118
1116
|
border-left: 0 none;
|
1119
1117
|
}
|
1120
1118
|
.p-inputgroup > .p-component:focus,
|
1121
|
-
.p-inputgroup > .p-
|
1122
|
-
.p-inputgroup > .p-inputwrapper > .p-component > .p-inputtext:focus,
|
1119
|
+
.p-inputgroup > .p-inputwrapper > .p-inputtext:focus,
|
1123
1120
|
.p-inputgroup > .p-float-label > .p-component:focus {
|
1124
1121
|
z-index: 1;
|
1125
1122
|
}
|
1126
1123
|
.p-inputgroup > .p-component:focus ~ label,
|
1127
|
-
.p-inputgroup > .p-
|
1128
|
-
.p-inputgroup > .p-inputwrapper > .p-component > .p-inputtext:focus ~ label,
|
1124
|
+
.p-inputgroup > .p-inputwrapper > .p-inputtext:focus ~ label,
|
1129
1125
|
.p-inputgroup > .p-float-label > .p-component:focus ~ label {
|
1130
1126
|
z-index: 1;
|
1131
1127
|
}
|
@@ -5786,7 +5782,7 @@
|
|
5786
5782
|
transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
|
5787
5783
|
}
|
5788
5784
|
.p-message .p-message-close:hover {
|
5789
|
-
background: rgba(255, 255, 255, 0.
|
5785
|
+
background: rgba(255, 255, 255, 0.5);
|
5790
5786
|
}
|
5791
5787
|
.p-message .p-message-close:focus-visible {
|
5792
5788
|
outline: 0 none;
|
@@ -5896,7 +5892,7 @@
|
|
5896
5892
|
transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
|
5897
5893
|
}
|
5898
5894
|
.p-toast .p-toast-message .p-toast-icon-close:hover {
|
5899
|
-
background: rgba(255, 255, 255, 0.
|
5895
|
+
background: rgba(255, 255, 255, 0.5);
|
5900
5896
|
}
|
5901
5897
|
.p-toast .p-toast-message .p-toast-icon-close:focus-visible {
|
5902
5898
|
outline: 0 none;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
|
+
/**
|
3
|
+
* Defines valid templates in Column Filter.
|
4
|
+
* @group Templates
|
5
|
+
*/
|
6
|
+
export interface TableColumnFilterTemplates {
|
7
|
+
/**
|
8
|
+
* Custom filter template.
|
9
|
+
*/
|
10
|
+
filterTemplate(): TemplateRef<any>;
|
11
|
+
/**
|
12
|
+
* Custom header template.
|
13
|
+
*/
|
14
|
+
headerTemplate(): TemplateRef<any>;
|
15
|
+
/**
|
16
|
+
* Custom footer template.
|
17
|
+
*/
|
18
|
+
footerTemplate(): TemplateRef<any>;
|
19
|
+
/**
|
20
|
+
* Custom filter icon template.
|
21
|
+
*/
|
22
|
+
filterIconTemplate(): TemplateRef<any>;
|
23
|
+
/**
|
24
|
+
* Custom remove rule icon template.
|
25
|
+
*/
|
26
|
+
removeRuleIconTemplate(): TemplateRef<any>;
|
27
|
+
/**
|
28
|
+
* Custom add rule icon template.
|
29
|
+
*/
|
30
|
+
addRuleIconTemplate(): TemplateRef<any>;
|
31
|
+
/**
|
32
|
+
* Custom clear filter icon template.
|
33
|
+
*/
|
34
|
+
clearFilterIconTemplate(): TemplateRef<any>;
|
35
|
+
}
|
package/table/public_api.d.ts
CHANGED
package/table/table.d.ts
CHANGED
@@ -1259,6 +1259,10 @@ export declare class ReorderableRow implements AfterViewInit {
|
|
1259
1259
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReorderableRow, never>;
|
1260
1260
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ReorderableRow, "[pReorderableRow]", never, { "index": { "alias": "pReorderableRow"; "required": false; }; "pReorderableRowDisabled": { "alias": "pReorderableRowDisabled"; "required": false; }; }, {}, never, never, false, never>;
|
1261
1261
|
}
|
1262
|
+
/**
|
1263
|
+
* Column Filter element of Table.
|
1264
|
+
* @group Components
|
1265
|
+
*/
|
1262
1266
|
export declare class ColumnFilter implements AfterContentInit {
|
1263
1267
|
private document;
|
1264
1268
|
el: ElementRef;
|
@@ -1267,30 +1271,131 @@ export declare class ColumnFilter implements AfterContentInit {
|
|
1267
1271
|
config: PrimeNGConfig;
|
1268
1272
|
overlayService: OverlayService;
|
1269
1273
|
private cd;
|
1274
|
+
/**
|
1275
|
+
* Property represented by the column.
|
1276
|
+
* @group Props
|
1277
|
+
*/
|
1270
1278
|
field: string | undefined;
|
1279
|
+
/**
|
1280
|
+
* Type of the input.
|
1281
|
+
* @group Props
|
1282
|
+
*/
|
1271
1283
|
type: string;
|
1284
|
+
/**
|
1285
|
+
* Filter display.
|
1286
|
+
* @group Props
|
1287
|
+
*/
|
1272
1288
|
display: string;
|
1289
|
+
/**
|
1290
|
+
* Decides whether to display filter menu popup.
|
1291
|
+
* @group Props
|
1292
|
+
*/
|
1273
1293
|
showMenu: boolean;
|
1294
|
+
/**
|
1295
|
+
* Filter match mode.
|
1296
|
+
* @group Props
|
1297
|
+
*/
|
1274
1298
|
matchMode: string | undefined;
|
1299
|
+
/**
|
1300
|
+
* Filter operator.
|
1301
|
+
* @defaultValue 'AND'
|
1302
|
+
* @group Props
|
1303
|
+
*/
|
1275
1304
|
operator: string;
|
1305
|
+
/**
|
1306
|
+
* Decides whether to display filter operator.
|
1307
|
+
* @group Props
|
1308
|
+
*/
|
1276
1309
|
showOperator: boolean;
|
1310
|
+
/**
|
1311
|
+
* Decides whether to display clear filter button.
|
1312
|
+
* @group Props
|
1313
|
+
*/
|
1277
1314
|
showClearButton: boolean;
|
1315
|
+
/**
|
1316
|
+
* Decides whether to display apply filter button.
|
1317
|
+
* @group Props
|
1318
|
+
*/
|
1278
1319
|
showApplyButton: boolean;
|
1320
|
+
/**
|
1321
|
+
* Decides whether to display filter match modes.
|
1322
|
+
* @group Props
|
1323
|
+
*/
|
1279
1324
|
showMatchModes: boolean;
|
1325
|
+
/**
|
1326
|
+
* Decides whether to display add filter button.
|
1327
|
+
* @group Props
|
1328
|
+
*/
|
1280
1329
|
showAddButton: boolean;
|
1330
|
+
/**
|
1331
|
+
* Decides whether to close popup on clear button click.
|
1332
|
+
* @group Props
|
1333
|
+
*/
|
1281
1334
|
hideOnClear: boolean;
|
1335
|
+
/**
|
1336
|
+
* Filter placeholder.
|
1337
|
+
* @group Props
|
1338
|
+
*/
|
1282
1339
|
placeholder: string | undefined;
|
1340
|
+
/**
|
1341
|
+
* Filter match mode options.
|
1342
|
+
* @group Props
|
1343
|
+
*/
|
1283
1344
|
matchModeOptions: SelectItem[] | undefined;
|
1345
|
+
/**
|
1346
|
+
* Defines maximum amount of constraints.
|
1347
|
+
* @group Props
|
1348
|
+
*/
|
1284
1349
|
maxConstraints: number;
|
1350
|
+
/**
|
1351
|
+
* Defines minimum fraction of digits.
|
1352
|
+
* @group Props
|
1353
|
+
*/
|
1285
1354
|
minFractionDigits: number | undefined;
|
1355
|
+
/**
|
1356
|
+
* Defines maximum fraction of digits.
|
1357
|
+
* @group Props
|
1358
|
+
*/
|
1286
1359
|
maxFractionDigits: number | undefined;
|
1360
|
+
/**
|
1361
|
+
* Defines prefix of the filter.
|
1362
|
+
* @group Props
|
1363
|
+
*/
|
1287
1364
|
prefix: string | undefined;
|
1365
|
+
/**
|
1366
|
+
* Defines suffix of the filter.
|
1367
|
+
* @group Props
|
1368
|
+
*/
|
1288
1369
|
suffix: string | undefined;
|
1370
|
+
/**
|
1371
|
+
* Defines filter locale.
|
1372
|
+
* @group Props
|
1373
|
+
*/
|
1289
1374
|
locale: string | undefined;
|
1375
|
+
/**
|
1376
|
+
* Defines filter locale matcher.
|
1377
|
+
* @group Props
|
1378
|
+
*/
|
1290
1379
|
localeMatcher: string | undefined;
|
1380
|
+
/**
|
1381
|
+
* Enables currency input.
|
1382
|
+
* @group Props
|
1383
|
+
*/
|
1291
1384
|
currency: string | undefined;
|
1385
|
+
/**
|
1386
|
+
* Defines the display of the currency input.
|
1387
|
+
* @group Props
|
1388
|
+
*/
|
1292
1389
|
currencyDisplay: string | undefined;
|
1390
|
+
/**
|
1391
|
+
* Defines if filter grouping will be enabled.
|
1392
|
+
* @group Props
|
1393
|
+
*/
|
1293
1394
|
useGrouping: boolean;
|
1395
|
+
/**
|
1396
|
+
* Defines the visibility of buttons.
|
1397
|
+
* @group Props
|
1398
|
+
*/
|
1294
1399
|
showButtons: boolean;
|
1295
1400
|
icon: Nullable<ElementRef>;
|
1296
1401
|
clearButtonViewChild: Nullable<ElementRef>;
|
@@ -1302,6 +1407,7 @@ export declare class ColumnFilter implements AfterContentInit {
|
|
1302
1407
|
filterIconTemplate: Nullable<TemplateRef<any>>;
|
1303
1408
|
removeRuleIconTemplate: Nullable<TemplateRef<any>>;
|
1304
1409
|
addRuleIconTemplate: Nullable<TemplateRef<any>>;
|
1410
|
+
clearFilterIconTemplate: Nullable<TemplateRef<any>>;
|
1305
1411
|
operatorOptions: any[] | undefined;
|
1306
1412
|
overlayVisible: boolean | undefined;
|
1307
1413
|
overlay: HTMLElement | undefined | null;
|