@exhaustive-ui/core 22.0.0-alpha.10 → 22.0.0-alpha.12
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-autocomplete.mjs +5 -5
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-basecomponent.mjs +6 -1
- package/fesm2022/exhaustive-ui-core-basecomponent.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +11 -4
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-card.mjs +0 -4
- package/fesm2022/exhaustive-ui-core-card.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +5 -5
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +11 -9
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +18 -1
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs +6 -4
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-datepicker.mjs +42 -7
- package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dialog.mjs +2 -1
- package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-drawer.mjs +11 -2
- package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fieldset.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fileupload.mjs +22 -11
- package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-iconfield.mjs +16 -1
- package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs +9 -0
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs +54 -21
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputtext.mjs +6 -5
- package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-listbox.mjs +4 -2
- package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-megamenu.mjs +1 -0
- package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menu.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-metergroup.mjs +5 -5
- package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-multiselect.mjs +25 -14
- package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-orderlist.mjs +9 -2
- package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-paginator.mjs +4 -1
- package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs +7 -1
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-password.mjs +34 -14
- package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-picklist.mjs +4 -4
- package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-popover.mjs +26 -7
- package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-select.mjs +20 -14
- package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs +10 -6
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-slider.mjs +7 -3
- package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitter.mjs +5 -0
- package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-stepper.mjs +3 -0
- package/fesm2022/exhaustive-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-table.mjs +97 -65
- package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tabs.mjs +37 -7
- package/fesm2022/exhaustive-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +2 -1
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toast.mjs +12 -1
- package/fesm2022/exhaustive-ui-core-toast.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs +9 -2
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +0 -2
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tree.mjs +4 -4
- package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treeselect.mjs +15 -3
- package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treetable.mjs +4 -0
- package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
- package/package.json +5 -5
- package/schematics/migrate-from-primeflex/index.js +4 -2
- package/schematics/migrate-from-primeflex/schema.json +5 -0
- package/schematics/utils/package-json.js +17 -0
- package/schematics/utils/primeflex.js +45 -10
- package/schematics/utils/versions.json +8 -8
- package/types/exhaustive-ui-core-api.d.ts +4 -0
- package/types/exhaustive-ui-core-basecomponent.d.ts +1 -0
- package/types/exhaustive-ui-core-breadcrumb.d.ts +7 -1
- package/types/exhaustive-ui-core-cascadeselect.d.ts +1 -1
- package/types/exhaustive-ui-core-chart.d.ts +2 -2
- package/types/exhaustive-ui-core-confirmdialog.d.ts +3 -2
- package/types/exhaustive-ui-core-confirmpopup.d.ts +4 -0
- package/types/exhaustive-ui-core-datepicker.d.ts +2 -1
- package/types/exhaustive-ui-core-drawer.d.ts +1 -0
- package/types/exhaustive-ui-core-fileupload.d.ts +4 -0
- package/types/exhaustive-ui-core-iconfield.d.ts +1 -2
- package/types/exhaustive-ui-core-inputnumber.d.ts +8 -0
- package/types/exhaustive-ui-core-megamenu.d.ts +1 -0
- package/types/exhaustive-ui-core-metergroup.d.ts +1 -1
- package/types/exhaustive-ui-core-orderlist.d.ts +6 -1
- package/types/exhaustive-ui-core-password.d.ts +7 -1
- package/types/exhaustive-ui-core-popover.d.ts +3 -0
- package/types/exhaustive-ui-core-select.d.ts +1 -0
- package/types/exhaustive-ui-core-selectbutton.d.ts +3 -0
- package/types/exhaustive-ui-core-splitter.d.ts +1 -0
- package/types/exhaustive-ui-core-stepper.d.ts +3 -2
- package/types/exhaustive-ui-core-table.d.ts +8 -1
- package/types/exhaustive-ui-core-tabs.d.ts +3 -0
- package/types/exhaustive-ui-core-togglebutton.d.ts +1 -0
- package/types/exhaustive-ui-core-treeselect.d.ts +6 -1
- package/types/exhaustive-ui-core-types-chart.d.ts +21 -1
- package/types/exhaustive-ui-core-types-confirmdialog.d.ts +1 -3
- package/types/exhaustive-ui-core-types-table.d.ts +1 -1
- package/types/exhaustive-ui-core-types-treetable.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exhaustive-ui/core",
|
|
3
|
-
"version": "22.0.0-alpha.
|
|
3
|
+
"version": "22.0.0-alpha.12",
|
|
4
4
|
"author": "e-xiste",
|
|
5
5
|
"description": "ExhaustiveUI is a community-maintained, MIT licensed UI library for Angular with 80+ accessible components and design-agnostic theming, including Aura, Material, Lara and Nora presets.",
|
|
6
6
|
"homepage": "https://exhaustive-ui.com/",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"tslib": "^2.3.0",
|
|
59
|
-
"@exhaustive-ui/motion": "22.0.0-alpha.
|
|
60
|
-
"@exhaustive-ui/
|
|
61
|
-
"@exhaustive-ui/
|
|
62
|
-
"@exhaustive-ui/
|
|
59
|
+
"@exhaustive-ui/motion": "22.0.0-alpha.12",
|
|
60
|
+
"@exhaustive-ui/styled": "22.0.0-alpha.12",
|
|
61
|
+
"@exhaustive-ui/utils": "22.0.0-alpha.12",
|
|
62
|
+
"@exhaustive-ui/styles": "22.0.0-alpha.12"
|
|
63
63
|
},
|
|
64
64
|
"peerDependenciesMeta": {
|
|
65
65
|
"chart.js": {
|
|
@@ -25,13 +25,15 @@ function migrateFromPrimeflex(options) {
|
|
|
25
25
|
const scope = normalizeScope(options.path);
|
|
26
26
|
let htmlChanged = 0;
|
|
27
27
|
let tsChanged = 0;
|
|
28
|
+
const tailwindVersion = options.tailwindVersion ?? (0, primeflex_1.detectTailwindVersion)((0, package_json_1.findTailwindRange)(tree));
|
|
29
|
+
context.logger.info(`Translating PrimeFlex classes for Tailwind CSS v${tailwindVersion}.`);
|
|
28
30
|
tree.visit((path) => {
|
|
29
31
|
if (package_json_1.SKIP_DIRS.test(path) || !inScope(path, scope)) {
|
|
30
32
|
return;
|
|
31
33
|
}
|
|
32
34
|
if (path.endsWith('.html')) {
|
|
33
35
|
const original = tree.read(path).toString();
|
|
34
|
-
const { text, changed } = (0, primeflex_1.translateHtml)(original);
|
|
36
|
+
const { text, changed } = (0, primeflex_1.translateHtml)(original, tailwindVersion);
|
|
35
37
|
if (changed) {
|
|
36
38
|
tree.overwrite(path, text);
|
|
37
39
|
htmlChanged++;
|
|
@@ -40,7 +42,7 @@ function migrateFromPrimeflex(options) {
|
|
|
40
42
|
}
|
|
41
43
|
else if (path.endsWith('.ts') || path.endsWith('.mts')) {
|
|
42
44
|
const original = tree.read(path).toString();
|
|
43
|
-
const { text, changed } = (0, primeflex_1.translateTypeScript)(path, original);
|
|
45
|
+
const { text, changed } = (0, primeflex_1.translateTypeScript)(path, original, tailwindVersion);
|
|
44
46
|
if (changed) {
|
|
45
47
|
tree.overwrite(path, text);
|
|
46
48
|
tsChanged++;
|
|
@@ -7,6 +7,11 @@
|
|
|
7
7
|
"path": {
|
|
8
8
|
"type": "string",
|
|
9
9
|
"description": "Restrict the translation to files under this workspace path (e.g. \"src/app\"). Defaults to the whole workspace."
|
|
10
|
+
},
|
|
11
|
+
"tailwindVersion": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"enum": [3, 4],
|
|
14
|
+
"description": "The Tailwind CSS major version to produce class names for. Tailwind v4 renamed the shadow and border-radius scales. Defaults to the version of the tailwindcss dependency, or 4 when Tailwind is not installed yet."
|
|
10
15
|
}
|
|
11
16
|
}
|
|
12
17
|
}
|
|
@@ -7,6 +7,7 @@ exports.getPrimengMajor = getPrimengMajor;
|
|
|
7
7
|
exports.findPrimengMajor = findPrimengMajor;
|
|
8
8
|
exports.hasPrimeng = hasPrimeng;
|
|
9
9
|
exports.hasPrimeflex = hasPrimeflex;
|
|
10
|
+
exports.findTailwindRange = findTailwindRange;
|
|
10
11
|
const mappings_1 = require("./mappings");
|
|
11
12
|
const workspace_files_1 = require("./workspace-files");
|
|
12
13
|
exports.SKIP_DIRS = /(^|\/)(node_modules|dist|\.angular|\.git|out-tsc)(\/|$)/;
|
|
@@ -187,6 +188,22 @@ function hasPrimeflex(tree) {
|
|
|
187
188
|
* Walks every package.json in the workspace tree (skipping node_modules/dist/.angular/.git/out-tsc),
|
|
188
189
|
* invoking `visitor` with each successfully-parsed package.json contents.
|
|
189
190
|
*/
|
|
191
|
+
/**
|
|
192
|
+
* The `tailwindcss` version range declared by the workspace's package.json files (the first one
|
|
193
|
+
* found), or `undefined` when Tailwind is not a direct dependency.
|
|
194
|
+
*/
|
|
195
|
+
function findTailwindRange(tree) {
|
|
196
|
+
let range;
|
|
197
|
+
visitWorkspacePackageJsons(tree, (pkg) => {
|
|
198
|
+
for (const section of DIRECT_DEPENDENCY_SECTIONS) {
|
|
199
|
+
const deps = pkg[section];
|
|
200
|
+
if (range === undefined && isRecord(deps) && typeof deps['tailwindcss'] === 'string') {
|
|
201
|
+
range = deps['tailwindcss'];
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
return range;
|
|
206
|
+
}
|
|
190
207
|
function visitWorkspacePackageJsons(tree, visitor) {
|
|
191
208
|
(0, workspace_files_1.visitWorkspaceFiles)(tree, (path, read) => {
|
|
192
209
|
const content = read();
|
|
@@ -36,6 +36,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.detectTailwindVersion = detectTailwindVersion;
|
|
39
40
|
exports.translateClassList = translateClassList;
|
|
40
41
|
exports.translateHtml = translateHtml;
|
|
41
42
|
exports.translateTypeScript = translateTypeScript;
|
|
@@ -49,6 +50,39 @@ const primeflex_translations_json_1 = __importDefault(require("./primeflex-trans
|
|
|
49
50
|
* (`grid-nogutter` -> ``), meaning the token is dropped.
|
|
50
51
|
*/
|
|
51
52
|
const TRANSLATIONS = primeflex_translations_json_1.default;
|
|
53
|
+
/**
|
|
54
|
+
* The dictionary produces Tailwind v3 names. Tailwind v4 renamed the shadow and border-radius
|
|
55
|
+
* scales one step down (v3 `shadow-sm` is v4 `shadow-xs`, v3 `rounded` is v4 `rounded-sm`), so
|
|
56
|
+
* keeping the v3 names on a v4 project would silently change the rendering.
|
|
57
|
+
*/
|
|
58
|
+
const V4_RENAMES = {
|
|
59
|
+
'shadow-sm': 'shadow-xs',
|
|
60
|
+
shadow: 'shadow-sm',
|
|
61
|
+
'rounded-sm': 'rounded-xs',
|
|
62
|
+
rounded: 'rounded-sm',
|
|
63
|
+
...Object.fromEntries(['t', 'r', 'b', 'l'].flatMap((side) => [
|
|
64
|
+
[`rounded-${side}-sm`, `rounded-${side}-xs`],
|
|
65
|
+
[`rounded-${side}`, `rounded-${side}-sm`]
|
|
66
|
+
]))
|
|
67
|
+
};
|
|
68
|
+
function toV4(classes) {
|
|
69
|
+
return classes
|
|
70
|
+
.split(' ')
|
|
71
|
+
.map((token) => {
|
|
72
|
+
const index = token.lastIndexOf(':') + 1;
|
|
73
|
+
const renamed = V4_RENAMES[token.slice(index)];
|
|
74
|
+
return renamed === undefined ? token : token.slice(0, index) + renamed;
|
|
75
|
+
})
|
|
76
|
+
.join(' ');
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Reads the Tailwind CSS major version from a package.json `tailwindcss` range (`^3.4.1` -> 3).
|
|
80
|
+
* Defaults to 4, the current major, when Tailwind is not installed yet or the range is not a plain version.
|
|
81
|
+
*/
|
|
82
|
+
function detectTailwindVersion(range) {
|
|
83
|
+
const major = range?.match(/^\s*[\^~>=v]*\s*(\d+)/)?.[1];
|
|
84
|
+
return major !== undefined && Number(major) <= 3 ? 3 : 4;
|
|
85
|
+
}
|
|
52
86
|
/**
|
|
53
87
|
* Translates a whitespace-separated class list (the value of a `class` attribute or of a string
|
|
54
88
|
* literal inside a class binding). Each token is looked up in the PrimeFlex dictionary and, when
|
|
@@ -56,7 +90,7 @@ const TRANSLATIONS = primeflex_translations_json_1.default;
|
|
|
56
90
|
* interpolations like `{{ x }}`, arbitrary text) are left untouched. Inter-token whitespace is
|
|
57
91
|
* preserved so diffs stay minimal.
|
|
58
92
|
*/
|
|
59
|
-
function translateClassList(value) {
|
|
93
|
+
function translateClassList(value, tailwindVersion = 4) {
|
|
60
94
|
let changed = false;
|
|
61
95
|
// Split keeping the whitespace runs so the original spacing is preserved on rebuild.
|
|
62
96
|
const parts = value.split(/(\s+)/);
|
|
@@ -64,10 +98,11 @@ function translateClassList(value) {
|
|
|
64
98
|
if (index % 2 === 1 || part.length === 0) {
|
|
65
99
|
return part; // whitespace run or empty edge
|
|
66
100
|
}
|
|
67
|
-
const
|
|
68
|
-
if (
|
|
101
|
+
const translated = TRANSLATIONS[part];
|
|
102
|
+
if (translated === undefined) {
|
|
69
103
|
return part;
|
|
70
104
|
}
|
|
105
|
+
const mapped = tailwindVersion === 4 ? toV4(translated) : translated;
|
|
71
106
|
if (mapped !== part) {
|
|
72
107
|
changed = true;
|
|
73
108
|
}
|
|
@@ -84,10 +119,10 @@ function translateClassList(value) {
|
|
|
84
119
|
* Only the contents of the string literals are touched; identifiers and the surrounding
|
|
85
120
|
* expression structure are left exactly as-is.
|
|
86
121
|
*/
|
|
87
|
-
function translateBindingExpression(expr) {
|
|
122
|
+
function translateBindingExpression(expr, tailwindVersion) {
|
|
88
123
|
let changed = false;
|
|
89
124
|
const rebuilt = expr.replace(/(['"])((?:\\.|(?!\1).)*)\1/g, (_match, quote, inner) => {
|
|
90
|
-
const translated = translateClassList(inner);
|
|
125
|
+
const translated = translateClassList(inner, tailwindVersion);
|
|
91
126
|
if (translated.changed) {
|
|
92
127
|
changed = true;
|
|
93
128
|
}
|
|
@@ -107,10 +142,10 @@ const CLASS_BINDING_RE = /(\[(?:ngClass|class)\]\s*=\s*)(["'])((?:\\.|(?!\2).)*)
|
|
|
107
142
|
* `class`/`ngClass` attribute values and `[class]`/`[ngClass]` binding expressions. All other markup
|
|
108
143
|
* — text, unrelated attributes, single-class bindings like `[class.active]` — is left untouched.
|
|
109
144
|
*/
|
|
110
|
-
function translateHtml(html) {
|
|
145
|
+
function translateHtml(html, tailwindVersion = 4) {
|
|
111
146
|
let changed = false;
|
|
112
147
|
let text = html.replace(STATIC_CLASS_RE, (match, lead, name, eq, quote, inner) => {
|
|
113
|
-
const translated = translateClassList(inner);
|
|
148
|
+
const translated = translateClassList(inner, tailwindVersion);
|
|
114
149
|
if (!translated.changed) {
|
|
115
150
|
return match;
|
|
116
151
|
}
|
|
@@ -118,7 +153,7 @@ function translateHtml(html) {
|
|
|
118
153
|
return `${lead}${name}${eq}${quote}${translated.value}${quote}`;
|
|
119
154
|
});
|
|
120
155
|
text = text.replace(CLASS_BINDING_RE, (match, prefix, quote, inner) => {
|
|
121
|
-
const translated = translateBindingExpression(inner);
|
|
156
|
+
const translated = translateBindingExpression(inner, tailwindVersion);
|
|
122
157
|
if (!translated.changed) {
|
|
123
158
|
return match;
|
|
124
159
|
}
|
|
@@ -137,7 +172,7 @@ function translateHtml(html) {
|
|
|
137
172
|
* single `NoSubstitutionTemplateLiteral` (or `StringLiteral`) to the TypeScript parser and its full
|
|
138
173
|
* body can be handed to `translateHtml`.
|
|
139
174
|
*/
|
|
140
|
-
function translateTypeScript(fileName, text) {
|
|
175
|
+
function translateTypeScript(fileName, text, tailwindVersion = 4) {
|
|
141
176
|
const sourceFile = ts.createSourceFile(fileName, text, ts.ScriptTarget.Latest, true);
|
|
142
177
|
const edits = [];
|
|
143
178
|
const visit = (node) => {
|
|
@@ -147,7 +182,7 @@ function translateTypeScript(fileName, text) {
|
|
|
147
182
|
const raw = initializer.getText(sourceFile);
|
|
148
183
|
const quote = raw[0];
|
|
149
184
|
const body = raw.slice(1, -1);
|
|
150
|
-
const translated = translateHtml(body);
|
|
185
|
+
const translated = translateHtml(body, tailwindVersion);
|
|
151
186
|
if (translated.changed) {
|
|
152
187
|
edits.push({
|
|
153
188
|
start: initializer.getStart(sourceFile),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"@exhaustive-ui/core": "^22.0.0-alpha.
|
|
3
|
-
"@exhaustive-ui/locale": "^22.0.0-alpha.
|
|
4
|
-
"@exhaustive-ui/motion": "^22.0.0-alpha.
|
|
5
|
-
"@exhaustive-ui/styled": "^22.0.0-alpha.
|
|
6
|
-
"@exhaustive-ui/styles": "^22.0.0-alpha.
|
|
7
|
-
"@exhaustive-ui/tailwindcss": "^22.0.0-alpha.
|
|
8
|
-
"@exhaustive-ui/themes": "^22.0.0-alpha.
|
|
9
|
-
"@exhaustive-ui/utils": "^22.0.0-alpha.
|
|
2
|
+
"@exhaustive-ui/core": "^22.0.0-alpha.12",
|
|
3
|
+
"@exhaustive-ui/locale": "^22.0.0-alpha.12",
|
|
4
|
+
"@exhaustive-ui/motion": "^22.0.0-alpha.12",
|
|
5
|
+
"@exhaustive-ui/styled": "^22.0.0-alpha.12",
|
|
6
|
+
"@exhaustive-ui/styles": "^22.0.0-alpha.12",
|
|
7
|
+
"@exhaustive-ui/tailwindcss": "^22.0.0-alpha.12",
|
|
8
|
+
"@exhaustive-ui/themes": "^22.0.0-alpha.12",
|
|
9
|
+
"@exhaustive-ui/utils": "^22.0.0-alpha.12",
|
|
10
10
|
"@openng/icons": "^1.0.0"
|
|
11
11
|
}
|
|
@@ -112,6 +112,12 @@ declare class Breadcrumb extends BaseComponent<BreadcrumbPassThrough> {
|
|
|
112
112
|
* @group Props
|
|
113
113
|
*/
|
|
114
114
|
readonly homeAriaLabel: _angular_core.InputSignal<string | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* Defines a string that labels the nav landmark for accessibility. Give each breadcrumb on a page a distinct label.
|
|
117
|
+
* @defaultValue 'Breadcrumb'
|
|
118
|
+
* @group Props
|
|
119
|
+
*/
|
|
120
|
+
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
115
121
|
/**
|
|
116
122
|
* Fired when an item is selected.
|
|
117
123
|
* @param {BreadcrumbItemClickEvent} event - custom click event.
|
|
@@ -138,7 +144,7 @@ declare class Breadcrumb extends BaseComponent<BreadcrumbPassThrough> {
|
|
|
138
144
|
getPTOptions(item: MenuItem, index: number, key: string): any;
|
|
139
145
|
isCurrentPage(index: number): boolean;
|
|
140
146
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Breadcrumb, never>;
|
|
141
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Breadcrumb, "p-breadcrumb", never, { "model": { "alias": "model"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "home": { "alias": "home"; "required": false; "isSignal": true; }; "homeAriaLabel": { "alias": "homeAriaLabel"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; }, ["itemTemplate", "separatorTemplate", "templates"], never, true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
|
|
147
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Breadcrumb, "p-breadcrumb", never, { "model": { "alias": "model"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "home": { "alias": "home"; "required": false; "isSignal": true; }; "homeAriaLabel": { "alias": "homeAriaLabel"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; }, ["itemTemplate", "separatorTemplate", "templates"], never, true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
|
|
142
148
|
}
|
|
143
149
|
declare class BreadcrumbModule {
|
|
144
150
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbModule, never>;
|
|
@@ -251,7 +251,7 @@ declare class CascadeSelect extends BaseEditableHolder<CascadeSelectPassThrough>
|
|
|
251
251
|
* An array of selectitems to display as the available options.
|
|
252
252
|
* @group Props
|
|
253
253
|
*/
|
|
254
|
-
options: _angular_core.InputSignal<
|
|
254
|
+
options: _angular_core.InputSignal<any[] | null | undefined>;
|
|
255
255
|
/**
|
|
256
256
|
* Property name or getter function to use as the label of an option.
|
|
257
257
|
* @group Props
|
|
@@ -4,7 +4,7 @@ import { BaseComponent } from '@exhaustive-ui/core/basecomponent';
|
|
|
4
4
|
import { BaseStyle } from '@exhaustive-ui/core/base';
|
|
5
5
|
import * as i1 from '@exhaustive-ui/core/bind';
|
|
6
6
|
import { Bind } from '@exhaustive-ui/core/bind';
|
|
7
|
-
import { ChartPassThrough } from '@exhaustive-ui/core/types/chart';
|
|
7
|
+
import { ChartPassThrough, ChartDataSelectEvent } from '@exhaustive-ui/core/types/chart';
|
|
8
8
|
import * as i2 from '@exhaustive-ui/core/api';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -102,7 +102,7 @@ declare class UIChart extends BaseComponent<ChartPassThrough> {
|
|
|
102
102
|
* Callback to execute when an element on chart is clicked.
|
|
103
103
|
* @group Emits
|
|
104
104
|
*/
|
|
105
|
-
readonly onDataSelect: _angular_core.OutputEmitterRef<
|
|
105
|
+
readonly onDataSelect: _angular_core.OutputEmitterRef<ChartDataSelectEvent>;
|
|
106
106
|
initialized: _angular_core.WritableSignal<boolean | undefined>;
|
|
107
107
|
chart: _angular_core.WritableSignal<any>;
|
|
108
108
|
_componentStyle: ChartStyle;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef, ElementRef } from '@angular/core';
|
|
3
3
|
import * as i2 from '@exhaustive-ui/core/api';
|
|
4
|
-
import { ConfirmEventType, PrimeTemplate, Confirmation } from '@exhaustive-ui/core/api';
|
|
4
|
+
import { ConfirmEventType, PrimeTemplate, Footer, Confirmation } from '@exhaustive-ui/core/api';
|
|
5
5
|
import { BaseComponent } from '@exhaustive-ui/core/basecomponent';
|
|
6
6
|
import * as i1 from '@exhaustive-ui/core/bind';
|
|
7
7
|
import { Bind } from '@exhaustive-ui/core/bind';
|
|
@@ -252,6 +252,7 @@ declare class ConfirmDialog extends BaseComponent<ConfirmDialogPassThrough> {
|
|
|
252
252
|
*/
|
|
253
253
|
readonly headlessTemplate: _angular_core.Signal<Nullable<TemplateRef<ConfirmDialogHeadlessTemplateContext>>>;
|
|
254
254
|
readonly templates: _angular_core.Signal<readonly PrimeTemplate[]>;
|
|
255
|
+
readonly footerFacet: _angular_core.Signal<Footer | undefined>;
|
|
255
256
|
$appendTo: _angular_core.Signal<any>;
|
|
256
257
|
_headerTemplate: _angular_core.Signal<TemplateRef<void> | undefined>;
|
|
257
258
|
_footerTemplate: _angular_core.Signal<TemplateRef<void> | undefined>;
|
|
@@ -289,7 +290,7 @@ declare class ConfirmDialog extends BaseComponent<ConfirmDialogPassThrough> {
|
|
|
289
290
|
getAcceptButtonProps(): any;
|
|
290
291
|
getRejectButtonProps(): any;
|
|
291
292
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ConfirmDialog, never>;
|
|
292
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConfirmDialog, "p-confirmDialog, p-confirmdialog, p-confirm-dialog", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "maskStyleClass": { "alias": "maskStyleClass"; "required": false; "isSignal": true; }; "acceptIcon": { "alias": "acceptIcon"; "required": false; "isSignal": true; }; "acceptLabel": { "alias": "acceptLabel"; "required": false; "isSignal": true; }; "acceptVisible": { "alias": "acceptVisible"; "required": false; "isSignal": true; }; "rejectIcon": { "alias": "rejectIcon"; "required": false; "isSignal": true; }; "rejectLabel": { "alias": "rejectLabel"; "required": false; "isSignal": true; }; "rejectVisible": { "alias": "rejectVisible"; "required": false; "isSignal": true; }; "acceptButtonStyleClass": { "alias": "acceptButtonStyleClass"; "required": false; "isSignal": true; }; "rejectButtonStyleClass": { "alias": "rejectButtonStyleClass"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "dismissableMask": { "alias": "dismissableMask"; "required": false; "isSignal": true; }; "blockScroll": { "alias": "blockScroll"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "key": { "alias": "key"; "required": false; "isSignal": true; }; "autoZIndex": { "alias": "autoZIndex"; "required": false; "isSignal": true; }; "baseZIndex": { "alias": "baseZIndex"; "required": false; "isSignal": true; }; "breakpoints": { "alias": "breakpoints"; "required": false; "isSignal": true; }; "modal": { "alias": "modal"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; }, { "visible": "visibleChange"; "onHide": "onHide"; }, ["headerTemplate", "footerTemplate", "rejectIconTemplate", "acceptIconTemplate", "messageTemplate", "iconTemplate", "headlessTemplate", "templates"], ["p-footer"], true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
|
|
293
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConfirmDialog, "p-confirmDialog, p-confirmdialog, p-confirm-dialog", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "maskStyleClass": { "alias": "maskStyleClass"; "required": false; "isSignal": true; }; "acceptIcon": { "alias": "acceptIcon"; "required": false; "isSignal": true; }; "acceptLabel": { "alias": "acceptLabel"; "required": false; "isSignal": true; }; "acceptVisible": { "alias": "acceptVisible"; "required": false; "isSignal": true; }; "rejectIcon": { "alias": "rejectIcon"; "required": false; "isSignal": true; }; "rejectLabel": { "alias": "rejectLabel"; "required": false; "isSignal": true; }; "rejectVisible": { "alias": "rejectVisible"; "required": false; "isSignal": true; }; "acceptButtonStyleClass": { "alias": "acceptButtonStyleClass"; "required": false; "isSignal": true; }; "rejectButtonStyleClass": { "alias": "rejectButtonStyleClass"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "dismissableMask": { "alias": "dismissableMask"; "required": false; "isSignal": true; }; "blockScroll": { "alias": "blockScroll"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "key": { "alias": "key"; "required": false; "isSignal": true; }; "autoZIndex": { "alias": "autoZIndex"; "required": false; "isSignal": true; }; "baseZIndex": { "alias": "baseZIndex"; "required": false; "isSignal": true; }; "breakpoints": { "alias": "breakpoints"; "required": false; "isSignal": true; }; "modal": { "alias": "modal"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; }, { "visible": "visibleChange"; "onHide": "onHide"; }, ["headerTemplate", "footerTemplate", "rejectIconTemplate", "acceptIconTemplate", "messageTemplate", "iconTemplate", "headlessTemplate", "templates", "footerFacet"], ["p-footer"], true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
|
|
293
294
|
}
|
|
294
295
|
declare class ConfirmDialogModule {
|
|
295
296
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ConfirmDialogModule, never>;
|
|
@@ -175,6 +175,10 @@ declare class ConfirmPopup extends BaseComponent<ConfirmPopupPassThrough> {
|
|
|
175
175
|
_componentStyle: ConfirmPopupStyle;
|
|
176
176
|
constructor();
|
|
177
177
|
readonly templates: _angular_core.Signal<readonly PrimeTemplate[]>;
|
|
178
|
+
/**
|
|
179
|
+
* Whether the body scroll is blocked by the blockScroll option of the shown confirmation.
|
|
180
|
+
*/
|
|
181
|
+
private scrollBlocked;
|
|
178
182
|
option(name: string, k?: string): any;
|
|
179
183
|
onEscapeKeydown(event: KeyboardEvent): void;
|
|
180
184
|
onBeforeEnter(event: MotionEvent): void;
|
|
@@ -384,7 +384,7 @@ declare class DatePicker extends BaseInput<DatePickerPassThrough> {
|
|
|
384
384
|
* Specifies 12 or 24 hour format.
|
|
385
385
|
* @group Props
|
|
386
386
|
*/
|
|
387
|
-
hourFormat: _angular_core.
|
|
387
|
+
hourFormat: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
388
388
|
/**
|
|
389
389
|
* Whether to display timepicker only.
|
|
390
390
|
* @group Props
|
|
@@ -887,6 +887,7 @@ declare class DatePicker extends BaseInput<DatePickerPassThrough> {
|
|
|
887
887
|
onOverlayAfterLeave(event: MotionEvent): void;
|
|
888
888
|
appendOverlay(): void;
|
|
889
889
|
restoreOverlayAppend(): void;
|
|
890
|
+
realignOverlay(): void;
|
|
890
891
|
alignOverlay(): void;
|
|
891
892
|
bindListeners(): void;
|
|
892
893
|
setZIndex(): void;
|
|
@@ -248,6 +248,7 @@ declare class Drawer extends BaseComponent<DrawerPassThrough> {
|
|
|
248
248
|
disableModality(): void;
|
|
249
249
|
destroyModal(): void;
|
|
250
250
|
onBeforeEnter(event: MotionEvent): void;
|
|
251
|
+
onBeforeLeave(): void;
|
|
251
252
|
onAfterLeave(): void;
|
|
252
253
|
appendContainer(): void;
|
|
253
254
|
bindDocumentEscapeListener(): void;
|
|
@@ -313,6 +313,10 @@ declare class FileUpload extends BaseComponent<FileUploadPassThrough> implements
|
|
|
313
313
|
* @group Props
|
|
314
314
|
*/
|
|
315
315
|
readonly chooseButtonProps: _angular_core.InputSignal<ButtonProps | undefined>;
|
|
316
|
+
/**
|
|
317
|
+
* Icon classes of the basic mode choose button, following chooseButtonProps.iconPos.
|
|
318
|
+
*/
|
|
319
|
+
basicIconClass: _angular_core.Signal<string>;
|
|
316
320
|
/**
|
|
317
321
|
* Used to pass all properties of the ButtonProps to the upload button inside the component.
|
|
318
322
|
* @group Props
|
|
@@ -3,7 +3,6 @@ import { BaseComponent } from '@exhaustive-ui/core/basecomponent';
|
|
|
3
3
|
import * as i1 from '@exhaustive-ui/core/bind';
|
|
4
4
|
import { Bind } from '@exhaustive-ui/core/bind';
|
|
5
5
|
import { IconFieldPassThrough } from '@exhaustive-ui/core/types/iconfield';
|
|
6
|
-
import * as _exhaustive_ui_styled from '@exhaustive-ui/styled';
|
|
7
6
|
import { BaseStyle } from '@exhaustive-ui/core/base';
|
|
8
7
|
|
|
9
8
|
/**
|
|
@@ -23,7 +22,7 @@ declare enum IconFieldClasses {
|
|
|
23
22
|
}
|
|
24
23
|
declare class IconFieldStyle extends BaseStyle {
|
|
25
24
|
name: string;
|
|
26
|
-
style:
|
|
25
|
+
style: string;
|
|
27
26
|
classes: {
|
|
28
27
|
root: ({ instance }: {
|
|
29
28
|
instance: any;
|
|
@@ -309,6 +309,13 @@ declare class InputNumber extends BaseInput<InputNumberPassThrough> {
|
|
|
309
309
|
isSpecialChar: _angular_core.WritableSignal<Nullable<boolean>>;
|
|
310
310
|
timer: _angular_core.WritableSignal<any>;
|
|
311
311
|
lastValue: _angular_core.WritableSignal<Nullable<string>>;
|
|
312
|
+
blurChangePending: _angular_core.WritableSignal<boolean>;
|
|
313
|
+
pasted: _angular_core.WritableSignal<Nullable<{
|
|
314
|
+
value: string;
|
|
315
|
+
selectionStart: number | null;
|
|
316
|
+
selectionEnd: number | null;
|
|
317
|
+
data: string;
|
|
318
|
+
}>>;
|
|
312
319
|
_numeral: _angular_core.Signal<RegExp>;
|
|
313
320
|
numberFormat: _angular_core.Signal<any>;
|
|
314
321
|
_decimal: _angular_core.Signal<RegExp>;
|
|
@@ -357,6 +364,7 @@ declare class InputNumber extends BaseInput<InputNumberPassThrough> {
|
|
|
357
364
|
onInputKeyDown(event: KeyboardEvent): void;
|
|
358
365
|
onInputKeyPress(event: KeyboardEvent): void;
|
|
359
366
|
onPaste(event: ClipboardEvent): void;
|
|
367
|
+
insertPasted(event: Event, target: HTMLInputElement): void;
|
|
360
368
|
allowMinusSign: _angular_core.Signal<boolean>;
|
|
361
369
|
isMinusSign(char: string): boolean;
|
|
362
370
|
isDecimalSign(char: string): boolean;
|
|
@@ -145,6 +145,7 @@ interface MegaMenuStyle extends BaseStyle {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
declare class MegaMenuSub extends BaseComponent<MegaMenuPassThrough> {
|
|
148
|
+
hostName: string;
|
|
148
149
|
bindDirectiveInstance: Bind;
|
|
149
150
|
$pcMegaMenu: MegaMenu | undefined;
|
|
150
151
|
$pcMegaMenuSub: MegaMenuSub | undefined;
|
|
@@ -176,7 +176,7 @@ declare class MeterGroup extends BaseComponent<MeterGroupPassThrough> {
|
|
|
176
176
|
readonly _startTemplate: _angular_core.Signal<TemplateRef<MeterGroupLabelTemplateContext> | undefined>;
|
|
177
177
|
readonly _iconTemplate: _angular_core.Signal<TemplateRef<MeterGroupIconTemplateContext> | undefined>;
|
|
178
178
|
_componentStyle: MeterGroupStyle;
|
|
179
|
-
percent(meter?: number): number;
|
|
179
|
+
percent(meter?: number, round?: boolean): number;
|
|
180
180
|
percentValue(meter: number): string;
|
|
181
181
|
meterStyle(val: MeterItem): {
|
|
182
182
|
backgroundColor: string | undefined;
|
|
@@ -161,6 +161,11 @@ declare class OrderList extends BaseComponent<OrderListPassThrough> {
|
|
|
161
161
|
* @group Props
|
|
162
162
|
*/
|
|
163
163
|
readonly autoOptionFocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
164
|
+
/**
|
|
165
|
+
* When enabled, the hovered option will be focused.
|
|
166
|
+
* @group Props
|
|
167
|
+
*/
|
|
168
|
+
readonly focusOnHover: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
164
169
|
/**
|
|
165
170
|
* Name of the field that uniquely identifies the record in the data.
|
|
166
171
|
* @group Props
|
|
@@ -346,7 +351,7 @@ declare class OrderList extends BaseComponent<OrderListPassThrough> {
|
|
|
346
351
|
destroyStyle(): void;
|
|
347
352
|
onDestroy(): void;
|
|
348
353
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OrderList, never>;
|
|
349
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OrderList, "p-orderList, p-orderlist, p-order-list", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "listStyle": { "alias": "listStyle"; "required": false; "isSignal": true; }; "responsive": { "alias": "responsive"; "required": false; "isSignal": true; }; "filterBy": { "alias": "filterBy"; "required": false; "isSignal": true; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; "isSignal": true; }; "filterLocale": { "alias": "filterLocale"; "required": false; "isSignal": true; }; "metaKeySelection": { "alias": "metaKeySelection"; "required": false; "isSignal": true; }; "dragdrop": { "alias": "dragdrop"; "required": false; "isSignal": true; }; "controlsPosition": { "alias": "controlsPosition"; "required": false; "isSignal": true; }; "ariaFilterLabel": { "alias": "ariaFilterLabel"; "required": false; "isSignal": true; }; "filterMatchMode": { "alias": "filterMatchMode"; "required": false; "isSignal": true; }; "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "stripedRows": { "alias": "stripedRows"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; "isSignal": true; }; "autoOptionFocus": { "alias": "autoOptionFocus"; "required": false; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "buttonProps": { "alias": "buttonProps"; "required": false; "isSignal": true; }; "moveUpButtonProps": { "alias": "moveUpButtonProps"; "required": false; "isSignal": true; }; "moveTopButtonProps": { "alias": "moveTopButtonProps"; "required": false; "isSignal": true; }; "moveDownButtonProps": { "alias": "moveDownButtonProps"; "required": false; "isSignal": true; }; "moveBottomButtonProps": { "alias": "moveBottomButtonProps"; "required": false; "isSignal": true; }; }, { "selection": "selectionChange"; "onReorder": "onReorder"; "onSelectionChange": "onSelectionChange"; "onFilterEvent": "onFilterEvent"; "onFocus": "onFocus"; "onBlur": "onBlur"; }, ["itemTemplate", "emptyMessageTemplate", "emptyFilterMessageTemplate", "filterTemplate", "headerTemplate", "moveUpIconTemplate", "moveTopIconTemplate", "moveDownIconTemplate", "moveBottomIconTemplate", "filterIconTemplate", "templates"], never, true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
|
|
354
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OrderList, "p-orderList, p-orderlist, p-order-list", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "listStyle": { "alias": "listStyle"; "required": false; "isSignal": true; }; "responsive": { "alias": "responsive"; "required": false; "isSignal": true; }; "filterBy": { "alias": "filterBy"; "required": false; "isSignal": true; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; "isSignal": true; }; "filterLocale": { "alias": "filterLocale"; "required": false; "isSignal": true; }; "metaKeySelection": { "alias": "metaKeySelection"; "required": false; "isSignal": true; }; "dragdrop": { "alias": "dragdrop"; "required": false; "isSignal": true; }; "controlsPosition": { "alias": "controlsPosition"; "required": false; "isSignal": true; }; "ariaFilterLabel": { "alias": "ariaFilterLabel"; "required": false; "isSignal": true; }; "filterMatchMode": { "alias": "filterMatchMode"; "required": false; "isSignal": true; }; "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "stripedRows": { "alias": "stripedRows"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; "isSignal": true; }; "autoOptionFocus": { "alias": "autoOptionFocus"; "required": false; "isSignal": true; }; "focusOnHover": { "alias": "focusOnHover"; "required": false; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "buttonProps": { "alias": "buttonProps"; "required": false; "isSignal": true; }; "moveUpButtonProps": { "alias": "moveUpButtonProps"; "required": false; "isSignal": true; }; "moveTopButtonProps": { "alias": "moveTopButtonProps"; "required": false; "isSignal": true; }; "moveDownButtonProps": { "alias": "moveDownButtonProps"; "required": false; "isSignal": true; }; "moveBottomButtonProps": { "alias": "moveBottomButtonProps"; "required": false; "isSignal": true; }; }, { "selection": "selectionChange"; "onReorder": "onReorder"; "onSelectionChange": "onSelectionChange"; "onFilterEvent": "onFilterEvent"; "onFocus": "onFocus"; "onBlur": "onBlur"; }, ["itemTemplate", "emptyMessageTemplate", "emptyFilterMessageTemplate", "filterTemplate", "headerTemplate", "moveUpIconTemplate", "moveTopIconTemplate", "moveDownIconTemplate", "moveBottomIconTemplate", "filterIconTemplate", "templates"], never, true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
|
|
350
355
|
}
|
|
351
356
|
declare class OrderListModule {
|
|
352
357
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OrderListModule, never>;
|
|
@@ -202,6 +202,7 @@ declare class PasswordDirective extends BaseEditableHolder {
|
|
|
202
202
|
onFocus(): void;
|
|
203
203
|
onBlur(): void;
|
|
204
204
|
labelSignal: _angular_core.WritableSignal<string>;
|
|
205
|
+
strength: _angular_core.WritableSignal<"weak" | "medium" | "strong" | null>;
|
|
205
206
|
onKeyup(e: Event): void;
|
|
206
207
|
updateMeter(): void;
|
|
207
208
|
getWidth(label: string): "" | "33.33%" | "66.66%" | "100%";
|
|
@@ -288,6 +289,11 @@ declare class Password extends BaseInput<PasswordPassThrough> {
|
|
|
288
289
|
* @group Props
|
|
289
290
|
*/
|
|
290
291
|
feedback: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
292
|
+
/**
|
|
293
|
+
* When present, it specifies that an input field is read-only.
|
|
294
|
+
* @group Props
|
|
295
|
+
*/
|
|
296
|
+
readonly: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
291
297
|
/**
|
|
292
298
|
* Whether to show an icon to display the password as plain text.
|
|
293
299
|
* @group Props
|
|
@@ -446,7 +452,7 @@ declare class Password extends BaseInput<PasswordPassThrough> {
|
|
|
446
452
|
meterDataP: _angular_core.Signal<string | undefined>;
|
|
447
453
|
overlayDataP: _angular_core.Signal<string | undefined>;
|
|
448
454
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Password, never>;
|
|
449
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Password, "p-password", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "promptLabel": { "alias": "promptLabel"; "required": false; "isSignal": true; }; "mediumRegex": { "alias": "mediumRegex"; "required": false; "isSignal": true; }; "strongRegex": { "alias": "strongRegex"; "required": false; "isSignal": true; }; "weakLabel": { "alias": "weakLabel"; "required": false; "isSignal": true; }; "mediumLabel": { "alias": "mediumLabel"; "required": false; "isSignal": true; }; "strongLabel": { "alias": "strongLabel"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "feedback": { "alias": "feedback"; "required": false; "isSignal": true; }; "toggleMask": { "alias": "toggleMask"; "required": false; "isSignal": true; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; "isSignal": true; }; "inputStyle": { "alias": "inputStyle"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "showClear": { "alias": "showClear"; "required": false; "isSignal": true; }; "autofocus": { "alias": "autofocus"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "motionOptions": { "alias": "motionOptions"; "required": false; "isSignal": true; }; "overlayOptions": { "alias": "overlayOptions"; "required": false; "isSignal": true; }; }, { "onFocus": "onFocus"; "onBlur": "onBlur"; "onClear": "onClear"; }, ["contentTemplate", "footerTemplate", "headerTemplate", "clearIconTemplate", "hideIconTemplate", "showIconTemplate", "templates"], never, true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
|
|
455
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Password, "p-password", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "promptLabel": { "alias": "promptLabel"; "required": false; "isSignal": true; }; "mediumRegex": { "alias": "mediumRegex"; "required": false; "isSignal": true; }; "strongRegex": { "alias": "strongRegex"; "required": false; "isSignal": true; }; "weakLabel": { "alias": "weakLabel"; "required": false; "isSignal": true; }; "mediumLabel": { "alias": "mediumLabel"; "required": false; "isSignal": true; }; "strongLabel": { "alias": "strongLabel"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "feedback": { "alias": "feedback"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "toggleMask": { "alias": "toggleMask"; "required": false; "isSignal": true; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; "isSignal": true; }; "inputStyle": { "alias": "inputStyle"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "showClear": { "alias": "showClear"; "required": false; "isSignal": true; }; "autofocus": { "alias": "autofocus"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "motionOptions": { "alias": "motionOptions"; "required": false; "isSignal": true; }; "overlayOptions": { "alias": "overlayOptions"; "required": false; "isSignal": true; }; }, { "onFocus": "onFocus"; "onBlur": "onBlur"; "onClear": "onClear"; }, ["contentTemplate", "footerTemplate", "headerTemplate", "clearIconTemplate", "hideIconTemplate", "showIconTemplate", "templates"], never, true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
|
|
450
456
|
}
|
|
451
457
|
declare class PasswordModule {
|
|
452
458
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PasswordModule, never>;
|
|
@@ -108,6 +108,7 @@ declare class Popover extends BaseComponent<PopoverPassThrough> {
|
|
|
108
108
|
render: _angular_core.WritableSignal<boolean>;
|
|
109
109
|
selfClick: _angular_core.WritableSignal<boolean>;
|
|
110
110
|
documentClickListener: _angular_core.WritableSignal<VoidListener>;
|
|
111
|
+
documentEscapeListener: _angular_core.WritableSignal<VoidListener>;
|
|
111
112
|
target: _angular_core.WritableSignal<any>;
|
|
112
113
|
scrollHandler: _angular_core.WritableSignal<Nullable<ConnectedOverlayScrollHandler>>;
|
|
113
114
|
documentResizeListener: _angular_core.WritableSignal<VoidListener>;
|
|
@@ -127,6 +128,8 @@ declare class Popover extends BaseComponent<PopoverPassThrough> {
|
|
|
127
128
|
zone: NgZone;
|
|
128
129
|
overlayService: OverlayService;
|
|
129
130
|
bindDocumentClickListener(): void;
|
|
131
|
+
bindDocumentEscapeListener(): void;
|
|
132
|
+
unbindDocumentEscapeListener(): void;
|
|
130
133
|
unbindDocumentClickListener(): void;
|
|
131
134
|
/**
|
|
132
135
|
* Toggles the visibility of the panel.
|
|
@@ -658,6 +658,7 @@ declare class Select extends BaseInput<SelectPassThrough> {
|
|
|
658
658
|
onInputBlur(event: Event): void;
|
|
659
659
|
onKeyDown(event: KeyboardEvent, search?: boolean): void;
|
|
660
660
|
onFilterKeyDown(event: any): void;
|
|
661
|
+
onFilterTemplateKeyDown(event: KeyboardEvent): void;
|
|
661
662
|
onFilterBlur(event: any): void;
|
|
662
663
|
onArrowDownKey(event: KeyboardEvent): void;
|
|
663
664
|
changeFocusedOptionIndex(event: any, index: any, scroll?: boolean): void;
|
|
@@ -7,6 +7,7 @@ import { PrimeTemplate } from '@exhaustive-ui/core/api';
|
|
|
7
7
|
import { BaseEditableHolder } from '@exhaustive-ui/core/baseeditableholder';
|
|
8
8
|
import * as i1 from '@exhaustive-ui/core/bind';
|
|
9
9
|
import { Bind } from '@exhaustive-ui/core/bind';
|
|
10
|
+
import { Fluid } from '@exhaustive-ui/core/fluid';
|
|
10
11
|
import { BaseStyle } from '@exhaustive-ui/core/base';
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -120,6 +121,8 @@ declare class SelectButton extends BaseEditableHolder<SelectButtonPassThrough> {
|
|
|
120
121
|
* @group Props
|
|
121
122
|
*/
|
|
122
123
|
fluid: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
124
|
+
pcFluid: Fluid | null;
|
|
125
|
+
readonly hasFluid: _angular_core.Signal<boolean>;
|
|
123
126
|
/**
|
|
124
127
|
* Callback to invoke on input click.
|
|
125
128
|
* @param {SelectButtonOptionClickEvent} event - Custom click event.
|
|
@@ -177,6 +177,7 @@ declare class Splitter extends BaseComponent<SplitterPassThrough> {
|
|
|
177
177
|
validateResize(newPrevPanelSize: number, newNextPanelSize: number): boolean;
|
|
178
178
|
bindMouseListeners(): void;
|
|
179
179
|
bindTouchListeners(): void;
|
|
180
|
+
onDestroy(): void;
|
|
180
181
|
unbindMouseListeners(): void;
|
|
181
182
|
unbindTouchListeners(): void;
|
|
182
183
|
clear(): void;
|
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { ModelSignal, InputSignalWithTransform, TemplateRef, InputSignal } from '@angular/core';
|
|
3
3
|
import { MotionOptions } from '@exhaustive-ui/motion';
|
|
4
4
|
import * as i2 from '@exhaustive-ui/core/api';
|
|
5
|
-
import { PrimeTemplate } from '@exhaustive-ui/core/api';
|
|
5
|
+
import { PrimeTemplate, BlockableUI } from '@exhaustive-ui/core/api';
|
|
6
6
|
import { BaseComponent } from '@exhaustive-ui/core/basecomponent';
|
|
7
7
|
import * as i1 from '@exhaustive-ui/core/bind';
|
|
8
8
|
import { Bind } from '@exhaustive-ui/core/bind';
|
|
@@ -284,12 +284,13 @@ declare class StepPanels extends BaseComponent<StepPanelsPassThrough> {
|
|
|
284
284
|
* Stepper is a component that streamlines a wizard-like workflow, organizing content into coherent steps and visually guiding users through a numbered progression in a multistep process.
|
|
285
285
|
* @group Components
|
|
286
286
|
*/
|
|
287
|
-
declare class Stepper extends BaseComponent<StepperPassThrough> {
|
|
287
|
+
declare class Stepper extends BaseComponent<StepperPassThrough> implements BlockableUI {
|
|
288
288
|
componentName: string;
|
|
289
289
|
$pcStepper: Stepper | undefined;
|
|
290
290
|
bindDirectiveInstance: Bind;
|
|
291
291
|
_componentStyle: StepperStyle;
|
|
292
292
|
onAfterViewChecked(): void;
|
|
293
|
+
getBlockableElement(): HTMLElement;
|
|
293
294
|
/**
|
|
294
295
|
* A model that can hold a numeric value or be undefined.
|
|
295
296
|
* @defaultValue undefined
|