@exhaustive-ui/core 3.0.0-alpha.0 → 3.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/exhaustive-ui-core-accordion.mjs +51 -78
- package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-animateonscroll.mjs +72 -73
- package/fesm2022/exhaustive-ui-core-animateonscroll.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-api.mjs +6 -13
- package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs +485 -683
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-autofocus.mjs +21 -31
- package/fesm2022/exhaustive-ui-core-autofocus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-avatar.mjs +47 -63
- package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-badge.mjs +88 -115
- package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-blockui.mjs +58 -91
- package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +155 -169
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-button.mjs +280 -385
- package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-carousel.mjs +379 -451
- package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +388 -507
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-chart.mjs +75 -91
- package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-checkbox.mjs +109 -160
- package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-chip.mjs +98 -137
- package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs +123 -190
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +157 -332
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +187 -210
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs +315 -361
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dataview.mjs +225 -272
- package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-datepicker.mjs +1012 -1157
- package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dialog.mjs +370 -507
- package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dock.mjs +87 -115
- package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dragdrop.mjs +98 -105
- package/fesm2022/exhaustive-ui-core-dragdrop.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-drawer.mjs +174 -235
- package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +42 -280
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-editor.mjs +109 -121
- package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fieldset.mjs +90 -132
- package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fileupload.mjs +486 -541
- package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs +13 -16
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-focustrap.mjs +44 -40
- package/fesm2022/exhaustive-ui-core-focustrap.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-galleria.mjs +642 -853
- package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-iconfield.mjs +15 -27
- package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs +8 -13
- package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-image.mjs +209 -251
- package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs +39 -48
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inplace.mjs +64 -98
- package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs +10 -20
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs +15 -24
- package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputicon.mjs +11 -22
- package/fesm2022/exhaustive-ui-core-inputicon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputmask.mjs +423 -392
- package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs +397 -469
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputotp.mjs +75 -95
- package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputtext.mjs +27 -36
- package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-keyfilter.mjs +29 -46
- package/fesm2022/exhaustive-ui-core-keyfilter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-knob.mjs +140 -187
- package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-listbox.mjs +365 -546
- package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-megamenu.mjs +320 -371
- package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menu.mjs +298 -348
- package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menubar.mjs +277 -372
- package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-metergroup.mjs +138 -166
- package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-multiselect.mjs +647 -835
- package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-orderlist.mjs +337 -409
- package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs +114 -175
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +22 -47
- package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-paginator.mjs +232 -320
- package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panel.mjs +114 -174
- package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs +171 -282
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-password.mjs +317 -377
- package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-picklist.mjs +557 -655
- package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-popover.mjs +154 -181
- package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-rating.mjs +87 -119
- package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scroller.mjs +465 -596
- package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +147 -155
- package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs +81 -115
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-select.mjs +581 -784
- package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs +84 -120
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-slider.mjs +322 -352
- package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-speeddial.mjs +209 -268
- package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs +153 -249
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitter.mjs +221 -237
- package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-steps.mjs +56 -72
- package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-styleclass.mjs +145 -146
- package/fesm2022/exhaustive-ui-core-styleclass.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-table.mjs +2213 -2543
- package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-terminal.mjs +50 -67
- package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-textarea.mjs +23 -36
- package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +318 -394
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-timeline.mjs +56 -74
- package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs +86 -129
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +57 -94
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toolbar.mjs +36 -55
- package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tooltip.mjs +264 -343
- package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tree.mjs +508 -639
- package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treeselect.mjs +327 -421
- package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treetable.mjs +1267 -1473
- package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
- package/package.json +5 -5
- package/schematics/migrations/remove-dead-inputs/migration.js +213 -7
- package/schematics/migrations/renamed-inputs/migration.js +97 -0
- package/schematics/migrations/styleclass-to-class/migration.js +92 -1
- package/schematics/migrations.json +7 -2
- package/schematics/utils/removed-inputs.js +0 -0
- package/schematics/utils/renamed-inputs.js +175 -0
- package/schematics/utils/styleclass.js +24 -8
- package/schematics/utils/versions.json +8 -8
- package/types/exhaustive-ui-core-accordion.d.ts +8 -24
- package/types/exhaustive-ui-core-animateonscroll.d.ts +19 -21
- package/types/exhaustive-ui-core-api.d.ts +2 -3
- package/types/exhaustive-ui-core-autocomplete.d.ts +103 -176
- package/types/exhaustive-ui-core-autofocus.d.ts +4 -7
- package/types/exhaustive-ui-core-avatar.d.ts +18 -25
- package/types/exhaustive-ui-core-badge.d.ts +13 -27
- package/types/exhaustive-ui-core-blockui.d.ts +18 -30
- package/types/exhaustive-ui-core-breadcrumb.d.ts +21 -22
- package/types/exhaustive-ui-core-button.d.ts +57 -89
- package/types/exhaustive-ui-core-carousel.d.ts +56 -82
- package/types/exhaustive-ui-core-cascadeselect.d.ts +77 -111
- package/types/exhaustive-ui-core-chart.d.ts +21 -29
- package/types/exhaustive-ui-core-checkbox.d.ts +25 -39
- package/types/exhaustive-ui-core-chip.d.ts +31 -38
- package/types/exhaustive-ui-core-colorpicker.d.ts +23 -57
- package/types/exhaustive-ui-core-confirmdialog.d.ts +39 -109
- package/types/exhaustive-ui-core-confirmpopup.d.ts +24 -43
- package/types/exhaustive-ui-core-contextmenu.d.ts +54 -71
- package/types/exhaustive-ui-core-dataview.d.ts +42 -65
- package/types/exhaustive-ui-core-datepicker.d.ts +109 -191
- package/types/exhaustive-ui-core-dialog.d.ts +73 -123
- package/types/exhaustive-ui-core-dock.d.ts +16 -25
- package/types/exhaustive-ui-core-dragdrop.d.ts +32 -36
- package/types/exhaustive-ui-core-drawer.d.ts +32 -64
- package/types/exhaustive-ui-core-dynamicdialog.d.ts +9 -54
- package/types/exhaustive-ui-core-editor.d.ts +15 -25
- package/types/exhaustive-ui-core-fieldset.d.ts +15 -35
- package/types/exhaustive-ui-core-fileupload.d.ts +69 -95
- package/types/exhaustive-ui-core-floatlabel.d.ts +4 -6
- package/types/exhaustive-ui-core-focustrap.d.ts +5 -10
- package/types/exhaustive-ui-core-galleria.d.ts +124 -194
- package/types/exhaustive-ui-core-iconfield.d.ts +5 -13
- package/types/exhaustive-ui-core-icons-baseicon.d.ts +4 -5
- package/types/exhaustive-ui-core-image.d.ts +35 -68
- package/types/exhaustive-ui-core-imagecompare.d.ts +19 -20
- package/types/exhaustive-ui-core-inplace.d.ts +30 -42
- package/types/exhaustive-ui-core-inputgroup.d.ts +2 -9
- package/types/exhaustive-ui-core-inputgroupaddon.d.ts +6 -10
- package/types/exhaustive-ui-core-inputicon.d.ts +4 -11
- package/types/exhaustive-ui-core-inputmask.d.ts +53 -66
- package/types/exhaustive-ui-core-inputnumber.d.ts +62 -84
- package/types/exhaustive-ui-core-inputotp.d.ts +16 -20
- package/types/exhaustive-ui-core-inputtext.d.ts +5 -8
- package/types/exhaustive-ui-core-keyfilter.d.ts +11 -15
- package/types/exhaustive-ui-core-knob.d.ts +45 -60
- package/types/exhaustive-ui-core-listbox.d.ts +90 -126
- package/types/exhaustive-ui-core-megamenu.d.ts +45 -66
- package/types/exhaustive-ui-core-menu.d.ts +33 -53
- package/types/exhaustive-ui-core-menubar.d.ts +38 -85
- package/types/exhaustive-ui-core-metergroup.d.ts +39 -48
- package/types/exhaustive-ui-core-multiselect.d.ts +166 -219
- package/types/exhaustive-ui-core-orderlist.d.ts +58 -81
- package/types/exhaustive-ui-core-organizationchart.d.ts +32 -67
- package/types/exhaustive-ui-core-overlaybadge.d.ts +10 -20
- package/types/exhaustive-ui-core-paginator.d.ts +41 -69
- package/types/exhaustive-ui-core-panel.d.ts +18 -45
- package/types/exhaustive-ui-core-panelmenu.d.ts +31 -76
- package/types/exhaustive-ui-core-password.d.ts +56 -93
- package/types/exhaustive-ui-core-picklist.d.ts +107 -121
- package/types/exhaustive-ui-core-popover.d.ts +23 -47
- package/types/exhaustive-ui-core-rating.d.ts +18 -26
- package/types/exhaustive-ui-core-scroller.d.ts +90 -120
- package/types/exhaustive-ui-core-scrollpanel.d.ts +35 -46
- package/types/exhaustive-ui-core-scrolltop.d.ts +28 -45
- package/types/exhaustive-ui-core-select.d.ts +137 -188
- package/types/exhaustive-ui-core-selectbutton.d.ts +35 -44
- package/types/exhaustive-ui-core-slider.d.ts +52 -67
- package/types/exhaustive-ui-core-speeddial.d.ts +40 -56
- package/types/exhaustive-ui-core-splitbutton.d.ts +31 -71
- package/types/exhaustive-ui-core-splitter.d.ts +47 -59
- package/types/exhaustive-ui-core-steps.d.ts +24 -31
- package/types/exhaustive-ui-core-styleclass.d.ts +27 -33
- package/types/exhaustive-ui-core-table.d.ts +349 -453
- package/types/exhaustive-ui-core-terminal.d.ts +10 -22
- package/types/exhaustive-ui-core-textarea.d.ts +7 -10
- package/types/exhaustive-ui-core-tieredmenu.d.ts +49 -84
- package/types/exhaustive-ui-core-timeline.d.ts +20 -28
- package/types/exhaustive-ui-core-togglebutton.d.ts +32 -48
- package/types/exhaustive-ui-core-toggleswitch.d.ts +26 -37
- package/types/exhaustive-ui-core-toolbar.d.ts +17 -25
- package/types/exhaustive-ui-core-tooltip.d.ts +53 -88
- package/types/exhaustive-ui-core-tree.d.ts +82 -119
- package/types/exhaustive-ui-core-treeselect.d.ts +63 -92
- package/types/exhaustive-ui-core-treetable.d.ts +203 -280
- package/types/exhaustive-ui-core-types-chip.d.ts +1 -1
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.renameInputsInHtml = renameInputsInHtml;
|
|
37
|
+
exports.renameInputsInTypeScript = renameInputsInTypeScript;
|
|
38
|
+
const ts = __importStar(require("typescript"));
|
|
39
|
+
const removed_inputs_1 = require("./removed-inputs");
|
|
40
|
+
const styleclass_1 = require("./styleclass");
|
|
41
|
+
/**
|
|
42
|
+
* Matches the *name* of an attribute or binding for `name` on an opening tag: `name="..."`, bare
|
|
43
|
+
* `name`, `[name]="..."` or `[(name)]="..."`. Group 1 is the opening bracket(s), group 2 the closing
|
|
44
|
+
* ones. Meant to run against a quote-masked copy of the tag (see `maskQuotedValues`), so text that
|
|
45
|
+
* merely appears inside another attribute's quoted value never matches.
|
|
46
|
+
*/
|
|
47
|
+
function nameRegex(name) {
|
|
48
|
+
return new RegExp(`(?<=\\s)(\\[\\(|\\[|)${(0, removed_inputs_1.escapeRegExp)(name)}(\\)\\]|\\]|)(?=\\s*=|[\\s/>])`, 'g');
|
|
49
|
+
}
|
|
50
|
+
function hasAttribute(masked, name) {
|
|
51
|
+
const regex = nameRegex(name);
|
|
52
|
+
let match;
|
|
53
|
+
while ((match = regex.exec(masked))) {
|
|
54
|
+
// a bracket pair must be balanced: `[name` without `]` is part of something else
|
|
55
|
+
if (match[1].length === match[2].length) {
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Renames the deprecated input bindings of a single opening tag. When the replacement name is
|
|
63
|
+
* already bound on the same tag, the deprecated binding is left in place and the tag is reported as
|
|
64
|
+
* a conflict — combining the two values is a decision only the author can make. A `class` target
|
|
65
|
+
* reuses the styleClass → class logic, which can also merge two static values into one `class`.
|
|
66
|
+
*/
|
|
67
|
+
function renameOnTag(tag, renames) {
|
|
68
|
+
let text = tag;
|
|
69
|
+
const renamed = [];
|
|
70
|
+
let conflict = false;
|
|
71
|
+
for (const { from, to } of renames) {
|
|
72
|
+
if (!hasAttribute((0, removed_inputs_1.maskQuotedValues)(text), from)) {
|
|
73
|
+
continue;
|
|
74
|
+
}
|
|
75
|
+
if (to === 'class') {
|
|
76
|
+
const result = (0, styleclass_1.rewriteTag)(text, from);
|
|
77
|
+
text = result.text;
|
|
78
|
+
conflict ||= result.conflict;
|
|
79
|
+
for (let i = 0; i < result.rewritten; i++) {
|
|
80
|
+
renamed.push(`${from} → ${to}`);
|
|
81
|
+
}
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
const masked = (0, removed_inputs_1.maskQuotedValues)(text);
|
|
85
|
+
if (hasAttribute(masked, to)) {
|
|
86
|
+
conflict = true;
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
const edits = [];
|
|
90
|
+
const regex = nameRegex(from);
|
|
91
|
+
let match;
|
|
92
|
+
while ((match = regex.exec(masked))) {
|
|
93
|
+
if (match[1].length !== match[2].length) {
|
|
94
|
+
continue;
|
|
95
|
+
}
|
|
96
|
+
edits.push({ start: match.index, end: match.index + match[0].length, replacement: `${match[1]}${to}${match[2]}` });
|
|
97
|
+
renamed.push(`${from} → ${to}`);
|
|
98
|
+
}
|
|
99
|
+
edits.sort((a, b) => b.start - a.start);
|
|
100
|
+
for (const edit of edits) {
|
|
101
|
+
text = text.slice(0, edit.start) + edit.replacement + text.slice(edit.end);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return { text, renamed, conflict };
|
|
105
|
+
}
|
|
106
|
+
function lineOf(text, offset) {
|
|
107
|
+
let line = 1;
|
|
108
|
+
for (let i = 0; i < offset && i < text.length; i++) {
|
|
109
|
+
if (text[i] === '\n') {
|
|
110
|
+
line++;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return line;
|
|
114
|
+
}
|
|
115
|
+
function applyEdits(text, edits) {
|
|
116
|
+
edits.sort((a, b) => b.start - a.start);
|
|
117
|
+
let result = text;
|
|
118
|
+
for (const edit of edits) {
|
|
119
|
+
result = result.slice(0, edit.start) + edit.replacement + result.slice(edit.end);
|
|
120
|
+
}
|
|
121
|
+
return result;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Renames deprecated input bindings, scoped per-selector, in an HTML fragment (a standalone template
|
|
125
|
+
* file or the body of an inline component template).
|
|
126
|
+
*/
|
|
127
|
+
function renameInputsInHtml(html, groups) {
|
|
128
|
+
const edits = [];
|
|
129
|
+
const renamed = [];
|
|
130
|
+
const conflictLines = [];
|
|
131
|
+
for (const group of groups) {
|
|
132
|
+
for (const tag of (0, removed_inputs_1.findOpeningTags)(html, group.selector)) {
|
|
133
|
+
const result = renameOnTag(html.slice(tag.start, tag.end), group.renames);
|
|
134
|
+
if (result.renamed.length > 0) {
|
|
135
|
+
edits.push({ start: tag.start, end: tag.end, replacement: result.text });
|
|
136
|
+
renamed.push(...result.renamed);
|
|
137
|
+
}
|
|
138
|
+
if (result.conflict) {
|
|
139
|
+
conflictLines.push(lineOf(html, tag.start));
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
if (edits.length === 0) {
|
|
144
|
+
return { text: html, changed: false, renamed, conflictLines };
|
|
145
|
+
}
|
|
146
|
+
return { text: applyEdits(html, edits), changed: true, renamed, conflictLines };
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Same rename, applied only inside the `template` string literal of an `@Component` decorator.
|
|
150
|
+
* Conflict lines are reported relative to the whole TypeScript file.
|
|
151
|
+
*/
|
|
152
|
+
function renameInputsInTypeScript(fileName, text, groups) {
|
|
153
|
+
const sourceFile = ts.createSourceFile(fileName, text, ts.ScriptTarget.Latest, true);
|
|
154
|
+
const edits = [];
|
|
155
|
+
const renamed = [];
|
|
156
|
+
const conflictLines = [];
|
|
157
|
+
const visit = (node) => {
|
|
158
|
+
if (ts.isPropertyAssignment(node) && (0, removed_inputs_1.isDirectComponentTemplateProperty)(node) && ts.isStringLiteralLike(node.initializer)) {
|
|
159
|
+
const initializer = node.initializer;
|
|
160
|
+
const result = renameInputsInHtml(initializer.text, groups);
|
|
161
|
+
if (result.changed) {
|
|
162
|
+
edits.push({ start: initializer.getStart(sourceFile), end: initializer.getEnd(), replacement: (0, removed_inputs_1.encodeLiteralBody)(initializer, result.text) });
|
|
163
|
+
renamed.push(...result.renamed);
|
|
164
|
+
}
|
|
165
|
+
const templateLine = lineOf(text, initializer.getStart(sourceFile));
|
|
166
|
+
conflictLines.push(...result.conflictLines.map((line) => templateLine + line - 1));
|
|
167
|
+
}
|
|
168
|
+
ts.forEachChild(node, visit);
|
|
169
|
+
};
|
|
170
|
+
visit(sourceFile);
|
|
171
|
+
if (edits.length === 0) {
|
|
172
|
+
return { text, changed: false, renamed, conflictLines };
|
|
173
|
+
}
|
|
174
|
+
return { text: applyEdits(text, edits), changed: true, renamed, conflictLines };
|
|
175
|
+
}
|
|
@@ -33,6 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.rewriteTag = rewriteTag;
|
|
36
37
|
exports.rewriteStyleClassInHtml = rewriteStyleClassInHtml;
|
|
37
38
|
exports.rewriteStyleClassInTypeScript = rewriteStyleClassInTypeScript;
|
|
38
39
|
const ts = __importStar(require("typescript"));
|
|
@@ -86,8 +87,6 @@ function findOpeningTags(html, selector) {
|
|
|
86
87
|
function makeAttrRegex(namePattern) {
|
|
87
88
|
return new RegExp(`(\\s${namePattern}\\s*=\\s*)(?:(["'])((?:\\\\.|(?!\\2)[^\\\\])*)\\2|([^\\s/>"']+))`);
|
|
88
89
|
}
|
|
89
|
-
const STATIC_STYLE_CLASS = makeAttrRegex('styleClass');
|
|
90
|
-
const BOUND_STYLE_CLASS = makeAttrRegex('\\[styleClass\\]');
|
|
91
90
|
const STATIC_CLASS = makeAttrRegex('class');
|
|
92
91
|
const BOUND_CLASS = makeAttrRegex('\\[class\\]');
|
|
93
92
|
/**
|
|
@@ -168,7 +167,8 @@ function execUnmasked(regex, text) {
|
|
|
168
167
|
return result;
|
|
169
168
|
}
|
|
170
169
|
/**
|
|
171
|
-
* Rewrites `styleClass`/`[styleClass]`
|
|
170
|
+
* Rewrites `styleClass`/`[styleClass]` (or another class alias named by `from`, e.g. TreeSelect's
|
|
171
|
+
* `containerStyleClass`) on a single opening tag into `class`/`[class]`:
|
|
172
172
|
*
|
|
173
173
|
* - `styleClass="x"` with no existing `class` attribute becomes `class="x"`; with an existing
|
|
174
174
|
* static `class="y"` the two are merged into `class="y x"`.
|
|
@@ -188,7 +188,9 @@ function execUnmasked(regex, text) {
|
|
|
188
188
|
* `styleClass`/`class` text that merely appears inside a different attribute's quoted value is
|
|
189
189
|
* never treated as a real attribute.
|
|
190
190
|
*/
|
|
191
|
-
function rewriteTag(tag) {
|
|
191
|
+
function rewriteTag(tag, from = 'styleClass') {
|
|
192
|
+
const STATIC_STYLE_CLASS = makeAttrRegex(escapeRegExp(from));
|
|
193
|
+
const BOUND_STYLE_CLASS = makeAttrRegex(`\\[${escapeRegExp(from)}\\]`);
|
|
192
194
|
let text = tag;
|
|
193
195
|
let rewritten = 0;
|
|
194
196
|
let conflict = false;
|
|
@@ -200,7 +202,7 @@ function rewriteTag(tag) {
|
|
|
200
202
|
}
|
|
201
203
|
else {
|
|
202
204
|
const quote = boundStyleClass.quote ?? '"';
|
|
203
|
-
const replacement = `${boundStyleClass.prefix.replace(
|
|
205
|
+
const replacement = `${boundStyleClass.prefix.replace(`[${from}]`, '[class]')}${quote}${boundStyleClass.value}${quote}`;
|
|
204
206
|
text = text.slice(0, boundStyleClass.index) + replacement + text.slice(boundStyleClass.index + boundStyleClass.length);
|
|
205
207
|
rewritten++;
|
|
206
208
|
}
|
|
@@ -212,9 +214,12 @@ function rewriteTag(tag) {
|
|
|
212
214
|
}
|
|
213
215
|
else {
|
|
214
216
|
const existingStaticClass = matchAttr(STATIC_CLASS, text);
|
|
217
|
+
const merged = existingStaticClass ? `${existingStaticClass.value} ${staticStyleClass.value}`.trim() : '';
|
|
218
|
+
const quote = existingStaticClass ? pickQuote(merged, existingStaticClass.quote ?? '"') : null;
|
|
219
|
+
if (existingStaticClass && quote === null) {
|
|
220
|
+
return { text, rewritten, conflict: true };
|
|
221
|
+
}
|
|
215
222
|
if (existingStaticClass) {
|
|
216
|
-
const merged = `${existingStaticClass.value} ${staticStyleClass.value}`.trim();
|
|
217
|
-
const quote = existingStaticClass.quote ?? '"';
|
|
218
223
|
// Remove the styleClass attribute outright, then merge its value into the existing class attribute.
|
|
219
224
|
const withoutStyleClass = text.slice(0, staticStyleClass.index) + text.slice(staticStyleClass.index + staticStyleClass.length);
|
|
220
225
|
const reMatch = matchAttr(STATIC_CLASS, withoutStyleClass);
|
|
@@ -222,7 +227,7 @@ function rewriteTag(tag) {
|
|
|
222
227
|
}
|
|
223
228
|
else {
|
|
224
229
|
const quote = staticStyleClass.quote ?? '"';
|
|
225
|
-
const replacement = `${staticStyleClass.prefix.replace(
|
|
230
|
+
const replacement = `${staticStyleClass.prefix.replace(from, 'class')}${quote}${staticStyleClass.value}${quote}`;
|
|
226
231
|
text = text.slice(0, staticStyleClass.index) + replacement + text.slice(staticStyleClass.index + staticStyleClass.length);
|
|
227
232
|
}
|
|
228
233
|
rewritten++;
|
|
@@ -230,6 +235,17 @@ function rewriteTag(tag) {
|
|
|
230
235
|
}
|
|
231
236
|
return { text, rewritten, conflict };
|
|
232
237
|
}
|
|
238
|
+
/**
|
|
239
|
+
* Returns `preferred` if `value` doesn't contain it, otherwise the other HTML quote character if
|
|
240
|
+
* `value` doesn't contain that one, otherwise `null` — `value` can't be safely quoted either way.
|
|
241
|
+
*/
|
|
242
|
+
function pickQuote(value, preferred) {
|
|
243
|
+
const alternative = preferred === '"' ? "'" : '"';
|
|
244
|
+
if (!value.includes(preferred)) {
|
|
245
|
+
return preferred;
|
|
246
|
+
}
|
|
247
|
+
return value.includes(alternative) ? null : alternative;
|
|
248
|
+
}
|
|
233
249
|
function lineOf(text, offset) {
|
|
234
250
|
let line = 1;
|
|
235
251
|
for (let i = 0; i < offset && i < text.length; i++) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"@exhaustive-ui/core": "^3.0.0-alpha.
|
|
3
|
-
"@exhaustive-ui/locale": "^3.0.0-alpha.
|
|
4
|
-
"@exhaustive-ui/motion": "^3.0.0-alpha.
|
|
5
|
-
"@exhaustive-ui/styled": "^3.0.0-alpha.
|
|
6
|
-
"@exhaustive-ui/styles": "^3.0.0-alpha.
|
|
7
|
-
"@exhaustive-ui/tailwindcss": "^3.0.0-alpha.
|
|
8
|
-
"@exhaustive-ui/themes": "^3.0.0-alpha.
|
|
9
|
-
"@exhaustive-ui/utils": "^3.0.0-alpha.
|
|
2
|
+
"@exhaustive-ui/core": "^3.0.0-alpha.1",
|
|
3
|
+
"@exhaustive-ui/locale": "^3.0.0-alpha.1",
|
|
4
|
+
"@exhaustive-ui/motion": "^3.0.0-alpha.1",
|
|
5
|
+
"@exhaustive-ui/styled": "^3.0.0-alpha.1",
|
|
6
|
+
"@exhaustive-ui/styles": "^3.0.0-alpha.1",
|
|
7
|
+
"@exhaustive-ui/tailwindcss": "^3.0.0-alpha.1",
|
|
8
|
+
"@exhaustive-ui/themes": "^3.0.0-alpha.1",
|
|
9
|
+
"@exhaustive-ui/utils": "^3.0.0-alpha.1",
|
|
10
10
|
"@openng/icons": "^1.0.0"
|
|
11
11
|
}
|
|
@@ -107,10 +107,9 @@ interface AccordionToggleIconTemplateContext {
|
|
|
107
107
|
* @group Components
|
|
108
108
|
*/
|
|
109
109
|
declare class AccordionPanel extends BaseComponent<AccordionPanelPassThrough> {
|
|
110
|
-
$pcAccordionPanel: AccordionPanel | undefined;
|
|
111
110
|
bindDirectiveInstance: Bind;
|
|
112
111
|
componentName: string;
|
|
113
|
-
|
|
112
|
+
constructor();
|
|
114
113
|
pcAccordion: any;
|
|
115
114
|
/**
|
|
116
115
|
* Value of the active tab.
|
|
@@ -135,10 +134,9 @@ declare class AccordionPanel extends BaseComponent<AccordionPanelPassThrough> {
|
|
|
135
134
|
* @group Components
|
|
136
135
|
*/
|
|
137
136
|
declare class AccordionHeader extends BaseComponent<AccordionHeaderPassThrough> {
|
|
138
|
-
$pcAccordionHeader: AccordionHeader | undefined;
|
|
139
137
|
bindDirectiveInstance: Bind;
|
|
140
138
|
componentName: string;
|
|
141
|
-
|
|
139
|
+
constructor();
|
|
142
140
|
pcAccordion: any;
|
|
143
141
|
pcAccordionPanel: any;
|
|
144
142
|
id: _angular_core.Signal<string>;
|
|
@@ -173,15 +171,14 @@ declare class AccordionHeader extends BaseComponent<AccordionHeaderPassThrough>
|
|
|
173
171
|
private onHomeKey;
|
|
174
172
|
private onEndKey;
|
|
175
173
|
private onEnterKey;
|
|
176
|
-
|
|
174
|
+
readonly dataP: _angular_core.Signal<string | undefined>;
|
|
177
175
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionHeader, never>;
|
|
178
176
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionHeader, "p-accordion-header, p-accordionheader", never, {}, {}, ["toggleicon"], ["*"], true, [{ directive: typeof i2.Ripple; inputs: {}; outputs: {}; }, { directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
|
|
179
177
|
}
|
|
180
178
|
declare class AccordionContent extends BaseComponent<AccordionContentPassThrough> {
|
|
181
|
-
$pcAccordionContent: AccordionContent | undefined;
|
|
182
179
|
bindDirectiveInstance: Bind;
|
|
183
180
|
componentName: string;
|
|
184
|
-
|
|
181
|
+
constructor();
|
|
185
182
|
pcAccordion: any;
|
|
186
183
|
pcAccordionPanel: any;
|
|
187
184
|
active: _angular_core.Signal<any>;
|
|
@@ -201,9 +198,8 @@ declare class AccordionContent extends BaseComponent<AccordionContentPassThrough
|
|
|
201
198
|
*/
|
|
202
199
|
declare class Accordion extends BaseComponent<AccordionPassThrough> implements BlockableUI {
|
|
203
200
|
componentName: string;
|
|
204
|
-
$pcAccordion: Accordion | undefined;
|
|
205
201
|
bindDirectiveInstance: Bind;
|
|
206
|
-
|
|
202
|
+
constructor();
|
|
207
203
|
/**
|
|
208
204
|
* Value of the active tab.
|
|
209
205
|
* @defaultValue undefined
|
|
@@ -216,34 +212,22 @@ declare class Accordion extends BaseComponent<AccordionPassThrough> implements B
|
|
|
216
212
|
* @group Props
|
|
217
213
|
*/
|
|
218
214
|
multiple: InputSignalWithTransform<boolean, any>;
|
|
219
|
-
/**
|
|
220
|
-
* Class of the element.
|
|
221
|
-
* @deprecated since v20.0.0, use `class` instead.
|
|
222
|
-
* @group Props
|
|
223
|
-
*/
|
|
224
|
-
styleClass: string | undefined;
|
|
225
215
|
/**
|
|
226
216
|
* Icon of a collapsed tab.
|
|
227
217
|
* @group Props
|
|
228
218
|
*/
|
|
229
|
-
expandIcon: string | undefined
|
|
219
|
+
readonly expandIcon: _angular_core.InputSignal<string | undefined>;
|
|
230
220
|
/**
|
|
231
221
|
* Icon of an expanded tab.
|
|
232
222
|
* @group Props
|
|
233
223
|
*/
|
|
234
|
-
collapseIcon: string | undefined
|
|
224
|
+
readonly collapseIcon: _angular_core.InputSignal<string | undefined>;
|
|
235
225
|
/**
|
|
236
226
|
* When enabled, the focused tab is activated.
|
|
237
227
|
* @defaultValue false
|
|
238
228
|
* @group Props
|
|
239
229
|
*/
|
|
240
230
|
selectOnFocus: InputSignalWithTransform<boolean, any>;
|
|
241
|
-
/**
|
|
242
|
-
* Transition options of the animation.
|
|
243
|
-
* @group Props
|
|
244
|
-
* @deprecated since v21.0.0, use `motionOptions` instead.
|
|
245
|
-
*/
|
|
246
|
-
transitionOptions: string;
|
|
247
231
|
/**
|
|
248
232
|
* The motion options.
|
|
249
233
|
* @group Props
|
|
@@ -277,7 +261,7 @@ declare class Accordion extends BaseComponent<AccordionPassThrough> implements B
|
|
|
277
261
|
getBlockableElement(): HTMLElement;
|
|
278
262
|
updateValue(value: string | number): void;
|
|
279
263
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Accordion, never>;
|
|
280
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Accordion, "p-accordion", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "
|
|
264
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Accordion, "p-accordion", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "expandIcon": { "alias": "expandIcon"; "required": false; "isSignal": true; }; "collapseIcon": { "alias": "collapseIcon"; "required": false; "isSignal": true; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; "isSignal": true; }; "motionOptions": { "alias": "motionOptions"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "onClose": "onClose"; "onOpen": "onOpen"; }, never, ["*"], true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
|
|
281
265
|
}
|
|
282
266
|
declare class AccordionModule {
|
|
283
267
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionModule, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
1
2
|
import { BaseComponent } from '@exhaustive-ui/core/basecomponent';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
3
|
|
|
4
4
|
interface AnimateOnScrollOptions {
|
|
5
5
|
root?: HTMLElement | null;
|
|
@@ -15,40 +15,40 @@ declare class AnimateOnScroll extends BaseComponent {
|
|
|
15
15
|
* Selector to define the CSS class for enter animation.
|
|
16
16
|
* @group Props
|
|
17
17
|
*/
|
|
18
|
-
enterClass: string | undefined
|
|
18
|
+
readonly enterClass: _angular_core.InputSignal<string | undefined>;
|
|
19
19
|
/**
|
|
20
20
|
* Selector to define the CSS class for leave animation.
|
|
21
21
|
* @group Props
|
|
22
22
|
*/
|
|
23
|
-
leaveClass: string | undefined
|
|
23
|
+
readonly leaveClass: _angular_core.InputSignal<string | undefined>;
|
|
24
24
|
/**
|
|
25
25
|
* Specifies the root option of the IntersectionObserver API.
|
|
26
26
|
* @group Props
|
|
27
27
|
*/
|
|
28
|
-
root: HTMLElement |
|
|
28
|
+
readonly root: _angular_core.InputSignal<HTMLElement | null | undefined>;
|
|
29
29
|
/**
|
|
30
30
|
* Specifies the rootMargin option of the IntersectionObserver API.
|
|
31
31
|
* @group Props
|
|
32
32
|
*/
|
|
33
|
-
rootMargin: string | undefined
|
|
33
|
+
readonly rootMargin: _angular_core.InputSignal<string | undefined>;
|
|
34
34
|
/**
|
|
35
35
|
* Specifies the threshold option of the IntersectionObserver API
|
|
36
36
|
* @group Props
|
|
37
37
|
*/
|
|
38
|
-
threshold: number | undefined
|
|
38
|
+
readonly threshold: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
39
39
|
/**
|
|
40
40
|
* Whether the scroll event listener should be removed after initial run.
|
|
41
41
|
* @group Props
|
|
42
42
|
*/
|
|
43
|
-
once: boolean
|
|
44
|
-
observer: IntersectionObserver | undefined
|
|
45
|
-
resetObserver: any
|
|
46
|
-
isObserverActive: boolean
|
|
47
|
-
animationState: any
|
|
48
|
-
animationEndListener: VoidFunction | null | undefined
|
|
43
|
+
readonly once: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
44
|
+
observer: _angular_core.WritableSignal<IntersectionObserver | undefined>;
|
|
45
|
+
resetObserver: _angular_core.WritableSignal<any>;
|
|
46
|
+
isObserverActive: _angular_core.WritableSignal<boolean>;
|
|
47
|
+
animationState: _angular_core.WritableSignal<any>;
|
|
48
|
+
animationEndListener: _angular_core.WritableSignal<VoidFunction | null | undefined>;
|
|
49
|
+
constructor();
|
|
49
50
|
onInit(): void;
|
|
50
|
-
|
|
51
|
-
get options(): AnimateOnScrollOptions;
|
|
51
|
+
options: _angular_core.Signal<AnimateOnScrollOptions>;
|
|
52
52
|
bindIntersectionObserver(): void;
|
|
53
53
|
enter(): void;
|
|
54
54
|
leave(): void;
|
|
@@ -56,15 +56,13 @@ declare class AnimateOnScroll extends BaseComponent {
|
|
|
56
56
|
unbindAnimationEvents(): void;
|
|
57
57
|
unbindIntersectionObserver(): void;
|
|
58
58
|
onDestroy(): void;
|
|
59
|
-
static ɵfac:
|
|
60
|
-
static ɵdir:
|
|
61
|
-
static ngAcceptInputType_threshold: unknown;
|
|
62
|
-
static ngAcceptInputType_once: unknown;
|
|
59
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnimateOnScroll, never>;
|
|
60
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AnimateOnScroll, "[pAnimateOnScroll]", never, { "enterClass": { "alias": "enterClass"; "required": false; "isSignal": true; }; "leaveClass": { "alias": "leaveClass"; "required": false; "isSignal": true; }; "root": { "alias": "root"; "required": false; "isSignal": true; }; "rootMargin": { "alias": "rootMargin"; "required": false; "isSignal": true; }; "threshold": { "alias": "threshold"; "required": false; "isSignal": true; }; "once": { "alias": "once"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
63
61
|
}
|
|
64
62
|
declare class AnimateOnScrollModule {
|
|
65
|
-
static ɵfac:
|
|
66
|
-
static ɵmod:
|
|
67
|
-
static ɵinj:
|
|
63
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnimateOnScrollModule, never>;
|
|
64
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AnimateOnScrollModule, never, [typeof AnimateOnScroll], [typeof AnimateOnScroll]>;
|
|
65
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AnimateOnScrollModule>;
|
|
68
66
|
}
|
|
69
67
|
|
|
70
68
|
export { AnimateOnScroll, AnimateOnScrollModule };
|
|
@@ -1538,11 +1538,10 @@ declare class Footer {
|
|
|
1538
1538
|
}
|
|
1539
1539
|
declare class PrimeTemplate {
|
|
1540
1540
|
template: TemplateRef<any>;
|
|
1541
|
-
|
|
1542
|
-
name: string | undefined;
|
|
1541
|
+
readonly name: i0.InputSignal<string | undefined>;
|
|
1543
1542
|
getType(): string;
|
|
1544
1543
|
static ɵfac: i0.ɵɵFactoryDeclaration<PrimeTemplate, never>;
|
|
1545
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PrimeTemplate, "[pTemplate]", never, { "
|
|
1544
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PrimeTemplate, "[pTemplate]", never, { "name": { "alias": "pTemplate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1546
1545
|
}
|
|
1547
1546
|
declare class SharedModule {
|
|
1548
1547
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|