@praxisui/core 10.0.0-rc.71 → 10.0.0-rc.72
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/README.md +1 -0
- package/ai/component-registry.json +2 -2
- package/fesm2022/praxisui-core.mjs +749 -5
- package/package.json +1 -1
- package/types/praxisui-core.d.ts +234 -74
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component, InjectionToken, APP_INITIALIZER, inject, signal, Injectable, Inject, DestroyRef, computed, Optional, SkipSelf, assertInInjectionContext, Injector, ErrorHandler, makeEnvironmentProviders, CSP_NONCE, ENVIRONMENT_INITIALIZER, isSignal, Input, Directive, input, booleanAttribute, ChangeDetectionStrategy, EventEmitter, Output, SecurityContext, ViewContainerRef, effect, untracked, SimpleChange, ElementRef, ChangeDetectorRef, afterEveryRender, contentChild, viewChild, HostBinding, output, afterNextRender, ViewChild, ViewEncapsulation, createEnvironmentInjector, EnvironmentInjector, reflectComponentType, HostListener, ViewChildren, forwardRef, LOCALE_ID, NgZone, TemplateRef, Renderer2, model } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common/http';
|
|
4
|
-
import { HttpHeaders, HttpClient, HttpParams, HttpErrorResponse, HttpResponse, HttpContextToken, HTTP_INTERCEPTORS, withInterceptors, HttpContext } from '@angular/common/http';
|
|
4
|
+
import { HttpHeaders, HttpClient, HttpParams, HttpErrorResponse, HttpResponse, HttpEventType, HttpContextToken, HTTP_INTERCEPTORS, withInterceptors, HttpContext } from '@angular/common/http';
|
|
5
5
|
import { BehaviorSubject, firstValueFrom, EmptyError, of, defer, throwError, from, EMPTY, tap, finalize as finalize$1, shareReplay as shareReplay$1, map as map$1, catchError as catchError$1, switchMap as switchMap$1, Observable, Subject, takeUntil, forkJoin, Subscription, timer, isObservable, combineLatest, merge, defaultIfEmpty, timeout as timeout$1, concat, interval } from 'rxjs';
|
|
6
6
|
import { switchMap, map, take, finalize, shareReplay, catchError, timeout, concatMap, tap as tap$1, takeUntil as takeUntil$1, toArray, exhaustMap, filter, mergeMap, takeWhile } from 'rxjs/operators';
|
|
7
7
|
import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
@@ -327,10 +327,22 @@ function providePraxisEnterpriseRuntimeContext(options = {}) {
|
|
|
327
327
|
|
|
328
328
|
const CONTEXT_HEADERS$1 = new Set([
|
|
329
329
|
'x-tenant-id', 'x-tenant', 'x-organization-id', 'x-praxis-organization-id',
|
|
330
|
-
'x-user-id', 'x-env', 'x-updated-by',
|
|
331
|
-
'x-praxis-profile-id', 'x-praxis-context-version',
|
|
330
|
+
'x-org-id', 'x-user-id', 'x-env', 'x-updated-by',
|
|
331
|
+
'x-praxis-profile-id', 'x-profile-id', 'x-unit-id', 'x-praxis-context-version',
|
|
332
332
|
]);
|
|
333
333
|
const EXPERIENCE_HEADERS$1 = new Set(['accept-language', 'x-timezone', 'x-praxis-module-key']);
|
|
334
|
+
/**
|
|
335
|
+
* Canonical case-normalized set of runtime contextual, experience, and tenant/org alias
|
|
336
|
+
* headers that must never leak across context switches or `preserveExplicitContextHeaders` calls.
|
|
337
|
+
* Orthogonal host realm transport headers (`X-Tenant-Realm`) are intentionally excluded.
|
|
338
|
+
*/
|
|
339
|
+
const PRAXIS_CONTEXTUAL_HEADER_NAMES = new Set([
|
|
340
|
+
...CONTEXT_HEADERS$1,
|
|
341
|
+
...EXPERIENCE_HEADERS$1,
|
|
342
|
+
]);
|
|
343
|
+
function isPraxisContextualHeaderName(name) {
|
|
344
|
+
return PRAXIS_CONTEXTUAL_HEADER_NAMES.has(name.trim().toLowerCase());
|
|
345
|
+
}
|
|
334
346
|
/**
|
|
335
347
|
* Returns `true` when an enterprise runtime snapshot is confirmed ready (or omits
|
|
336
348
|
* `state` in synthetic test doubles), ensuring `'selection-required'` and
|
|
@@ -555,7 +567,16 @@ class EnterpriseRuntimeContextService {
|
|
|
555
567
|
*/
|
|
556
568
|
applyHeaders(headers) {
|
|
557
569
|
if (!this.effectiveContext) {
|
|
558
|
-
|
|
570
|
+
if (!this.hasActiveContextLifecycle()) {
|
|
571
|
+
return headers;
|
|
572
|
+
}
|
|
573
|
+
let next = headers;
|
|
574
|
+
for (const name of headers.keys()) {
|
|
575
|
+
if (this.isContextualHeader(name)) {
|
|
576
|
+
next = next.delete(name);
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
return next;
|
|
559
580
|
}
|
|
560
581
|
let next = headers;
|
|
561
582
|
for (const name of headers.keys()) {
|
|
@@ -711,6 +732,12 @@ class EnterpriseRuntimeContextService {
|
|
|
711
732
|
const normalized = name.toLowerCase();
|
|
712
733
|
return CONTEXT_HEADERS$1.has(normalized) || EXPERIENCE_HEADERS$1.has(normalized);
|
|
713
734
|
}
|
|
735
|
+
hasActiveContextLifecycle() {
|
|
736
|
+
return (this.contextRevision > 0
|
|
737
|
+
|| this.loadPromise !== null
|
|
738
|
+
|| this.lifecycleStateSignal() !== 'idle'
|
|
739
|
+
|| this.snapshot !== null);
|
|
740
|
+
}
|
|
714
741
|
normalizeHeaders(headers) {
|
|
715
742
|
const normalized = {};
|
|
716
743
|
for (const [key, value] of Object.entries(headers)) {
|
|
@@ -32225,6 +32252,712 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
32225
32252
|
args: [PRAXIS_COLLECTION_EXPORT_HTTP_OPTIONS]
|
|
32226
32253
|
}] }] });
|
|
32227
32254
|
|
|
32255
|
+
function resolvePraxisFileOperationOptions(baseUrlOrOptions) {
|
|
32256
|
+
if (typeof baseUrlOrOptions === 'string') {
|
|
32257
|
+
return { baseUrl: baseUrlOrOptions };
|
|
32258
|
+
}
|
|
32259
|
+
return baseUrlOrOptions ?? {};
|
|
32260
|
+
}
|
|
32261
|
+
const SAFE_PRAXIS_FILE_ID_PATTERN = /^[A-Za-z0-9._-]{1,128}$/;
|
|
32262
|
+
function isSafePraxisFileId(fileId) {
|
|
32263
|
+
if (typeof fileId !== 'string') {
|
|
32264
|
+
return false;
|
|
32265
|
+
}
|
|
32266
|
+
const trimmed = fileId.trim();
|
|
32267
|
+
if (!trimmed || trimmed === '.' || trimmed === '..' || trimmed.includes('..')) {
|
|
32268
|
+
return false;
|
|
32269
|
+
}
|
|
32270
|
+
return SAFE_PRAXIS_FILE_ID_PATTERN.test(trimmed);
|
|
32271
|
+
}
|
|
32272
|
+
function isSafeBlobImageUrl(url) {
|
|
32273
|
+
return typeof url === 'string' && url.trim().toLowerCase().startsWith('blob:');
|
|
32274
|
+
}
|
|
32275
|
+
/**
|
|
32276
|
+
* Normalizes both `POST /api/files/upload` (uses `mimeType`, `uploadTimestamp`, and
|
|
32277
|
+
* nested `metadata.status` / `metadata.scanStatus`) and `GET/confirm/DELETE /api/files/{fileId}`
|
|
32278
|
+
* (uses `contentType`, `createdAt`, and top-level `status` / `scanStatus`).
|
|
32279
|
+
*/
|
|
32280
|
+
function normalizePraxisStoredFileMetadata(payload) {
|
|
32281
|
+
const envelope = asRecord$1(payload);
|
|
32282
|
+
const data = asRecord$1(envelope?.['data']) ?? envelope ?? {};
|
|
32283
|
+
const nestedMeta = asRecord$1(data['metadata']);
|
|
32284
|
+
const fileId = readString(data['fileId']) || readString(data['id']);
|
|
32285
|
+
const originalFilename = readString(data['originalFilename'])
|
|
32286
|
+
|| readString(data['fileName'])
|
|
32287
|
+
|| readString(data['name']);
|
|
32288
|
+
const serverFilenameRaw = data['serverFilename'];
|
|
32289
|
+
const serverFilename = typeof serverFilenameRaw === 'string'
|
|
32290
|
+
? serverFilenameRaw
|
|
32291
|
+
: serverFilenameRaw === null
|
|
32292
|
+
? null
|
|
32293
|
+
: undefined;
|
|
32294
|
+
const mimeType = readString(data['contentType']) || readString(data['mimeType']);
|
|
32295
|
+
const rawSize = data['fileSize'] ?? data['sizeBytes'];
|
|
32296
|
+
const fileSize = typeof rawSize === 'number' && Number.isFinite(rawSize) && rawSize >= 0 ? rawSize : 0;
|
|
32297
|
+
const checksumRaw = data['checksumSha256'];
|
|
32298
|
+
const checksumSha256 = typeof checksumRaw === 'string'
|
|
32299
|
+
? checksumRaw
|
|
32300
|
+
: checksumRaw === null
|
|
32301
|
+
? null
|
|
32302
|
+
: undefined;
|
|
32303
|
+
const status = normalizeLifecycleStatus(data['status'] ?? nestedMeta?.['status']);
|
|
32304
|
+
const scanStatus = normalizeScanStatus(data['scanStatus'] ?? nestedMeta?.['scanStatus']);
|
|
32305
|
+
const tenantId = readOptionalString(data['tenantId']) ?? readOptionalString(nestedMeta?.['tenantId']);
|
|
32306
|
+
const uploadedBy = readOptionalString(data['uploadedBy']);
|
|
32307
|
+
const createdAt = readOptionalString(data['createdAt'])
|
|
32308
|
+
?? readOptionalString(data['uploadTimestamp'])
|
|
32309
|
+
?? readOptionalString(data['uploadedAt']);
|
|
32310
|
+
const confirmedAt = readOptionalString(data['confirmedAt']);
|
|
32311
|
+
const deletedAt = readOptionalString(data['deletedAt']);
|
|
32312
|
+
return {
|
|
32313
|
+
fileId,
|
|
32314
|
+
originalFilename,
|
|
32315
|
+
...(serverFilename !== undefined ? { serverFilename } : {}),
|
|
32316
|
+
mimeType,
|
|
32317
|
+
fileSize,
|
|
32318
|
+
...(checksumSha256 !== undefined ? { checksumSha256 } : {}),
|
|
32319
|
+
status,
|
|
32320
|
+
scanStatus,
|
|
32321
|
+
...(tenantId !== undefined ? { tenantId } : {}),
|
|
32322
|
+
...(uploadedBy !== undefined ? { uploadedBy } : {}),
|
|
32323
|
+
...(createdAt !== undefined ? { createdAt } : {}),
|
|
32324
|
+
...(confirmedAt !== undefined ? { confirmedAt } : {}),
|
|
32325
|
+
...(deletedAt !== undefined ? { deletedAt } : {}),
|
|
32326
|
+
...(nestedMeta ? { metadata: nestedMeta } : {}),
|
|
32327
|
+
};
|
|
32328
|
+
}
|
|
32329
|
+
function asRecord$1(value) {
|
|
32330
|
+
if (!value || typeof value !== 'object' || Array.isArray(value)) {
|
|
32331
|
+
return null;
|
|
32332
|
+
}
|
|
32333
|
+
return value;
|
|
32334
|
+
}
|
|
32335
|
+
function readString(value) {
|
|
32336
|
+
return typeof value === 'string' ? value.trim() : '';
|
|
32337
|
+
}
|
|
32338
|
+
function readOptionalString(value) {
|
|
32339
|
+
return typeof value === 'string' && value.trim().length > 0 ? value.trim() : undefined;
|
|
32340
|
+
}
|
|
32341
|
+
function normalizeLifecycleStatus(value) {
|
|
32342
|
+
const upper = typeof value === 'string' ? value.trim().toUpperCase() : '';
|
|
32343
|
+
if (!upper) {
|
|
32344
|
+
return 'STAGED';
|
|
32345
|
+
}
|
|
32346
|
+
if (upper === 'ACTIVE'
|
|
32347
|
+
|| upper === 'PENDING_APPROVAL'
|
|
32348
|
+
|| upper === 'DELETED'
|
|
32349
|
+
|| upper === 'STAGED') {
|
|
32350
|
+
return upper;
|
|
32351
|
+
}
|
|
32352
|
+
return 'UNKNOWN';
|
|
32353
|
+
}
|
|
32354
|
+
function normalizeScanStatus(value) {
|
|
32355
|
+
const upper = typeof value === 'string' ? value.trim().toUpperCase() : '';
|
|
32356
|
+
if (!upper) {
|
|
32357
|
+
return 'PENDING';
|
|
32358
|
+
}
|
|
32359
|
+
switch (upper) {
|
|
32360
|
+
case 'CLEAN':
|
|
32361
|
+
case 'UNAVAILABLE':
|
|
32362
|
+
case 'SKIPPED':
|
|
32363
|
+
case 'PENDING':
|
|
32364
|
+
case 'SCANNING':
|
|
32365
|
+
case 'INFECTED':
|
|
32366
|
+
case 'FAILED':
|
|
32367
|
+
return upper;
|
|
32368
|
+
case 'ERROR':
|
|
32369
|
+
return 'FAILED';
|
|
32370
|
+
default:
|
|
32371
|
+
return 'UNAVAILABLE';
|
|
32372
|
+
}
|
|
32373
|
+
}
|
|
32374
|
+
|
|
32375
|
+
const PRAXIS_FILE_UPLOAD_PORT = new InjectionToken('PRAXIS_FILE_UPLOAD_PORT');
|
|
32376
|
+
const PRAXIS_HTTP_FILE_UPLOAD_PORT_OPTIONS = new InjectionToken('PRAXIS_HTTP_FILE_UPLOAD_PORT_OPTIONS', {
|
|
32377
|
+
providedIn: 'root',
|
|
32378
|
+
factory: () => ({}),
|
|
32379
|
+
});
|
|
32380
|
+
function providePraxisFileUploadPort(port) {
|
|
32381
|
+
return {
|
|
32382
|
+
provide: PRAXIS_FILE_UPLOAD_PORT,
|
|
32383
|
+
useValue: port,
|
|
32384
|
+
};
|
|
32385
|
+
}
|
|
32386
|
+
|
|
32387
|
+
class PraxisHttpFileUploadPort {
|
|
32388
|
+
http;
|
|
32389
|
+
apiUrlConfig;
|
|
32390
|
+
runtimeContext;
|
|
32391
|
+
options;
|
|
32392
|
+
constructor(http, apiUrlConfig = null, runtimeContext = null, options = null) {
|
|
32393
|
+
this.http = http;
|
|
32394
|
+
this.apiUrlConfig = apiUrlConfig;
|
|
32395
|
+
this.runtimeContext = runtimeContext;
|
|
32396
|
+
this.options = options;
|
|
32397
|
+
}
|
|
32398
|
+
upload(request) {
|
|
32399
|
+
const base = this.resolveBaseUrl(request.baseUrl);
|
|
32400
|
+
const formData = new FormData();
|
|
32401
|
+
formData.append('file', request.file);
|
|
32402
|
+
if (request.optionsJson) {
|
|
32403
|
+
formData.append('options', request.optionsJson);
|
|
32404
|
+
}
|
|
32405
|
+
if (request.metadata) {
|
|
32406
|
+
formData.append('metadata', JSON.stringify(request.metadata));
|
|
32407
|
+
}
|
|
32408
|
+
if (request.conflictPolicy) {
|
|
32409
|
+
formData.append('conflictPolicy', request.conflictPolicy);
|
|
32410
|
+
}
|
|
32411
|
+
const headers = this.stripContentTypeHeader(this.buildRequestHeaders({
|
|
32412
|
+
baseUrl: request.baseUrl,
|
|
32413
|
+
headers: request.headers,
|
|
32414
|
+
preserveExplicitContextHeaders: request.preserveExplicitContextHeaders,
|
|
32415
|
+
}));
|
|
32416
|
+
return this.http
|
|
32417
|
+
.post(`${base}/upload`, formData, {
|
|
32418
|
+
headers,
|
|
32419
|
+
reportProgress: true,
|
|
32420
|
+
observe: 'events',
|
|
32421
|
+
withCredentials: this.withCredentials(),
|
|
32422
|
+
})
|
|
32423
|
+
.pipe(concatMap((event) => {
|
|
32424
|
+
if (event.type === HttpEventType.UploadProgress) {
|
|
32425
|
+
const total = typeof event.total === 'number' && event.total > 0 ? event.total : undefined;
|
|
32426
|
+
const percent = total !== undefined
|
|
32427
|
+
? Math.min(100, Math.round((event.loaded / total) * 100))
|
|
32428
|
+
: undefined;
|
|
32429
|
+
return of({
|
|
32430
|
+
type: 'progress',
|
|
32431
|
+
loaded: event.loaded,
|
|
32432
|
+
...(total !== undefined ? { total } : {}),
|
|
32433
|
+
...(percent !== undefined ? { percent } : {}),
|
|
32434
|
+
});
|
|
32435
|
+
}
|
|
32436
|
+
if (event.type === HttpEventType.Response) {
|
|
32437
|
+
const normalized = normalizePraxisStoredFileMetadata(event.body);
|
|
32438
|
+
if (!isSafePraxisFileId(normalized.fileId)) {
|
|
32439
|
+
return throwError(() => new Error('Upload response missing a valid fileId.'));
|
|
32440
|
+
}
|
|
32441
|
+
return of({
|
|
32442
|
+
type: 'completed',
|
|
32443
|
+
file: normalized,
|
|
32444
|
+
});
|
|
32445
|
+
}
|
|
32446
|
+
return EMPTY;
|
|
32447
|
+
}));
|
|
32448
|
+
}
|
|
32449
|
+
getMetadata(fileId, baseUrlOrOptions) {
|
|
32450
|
+
if (!isSafePraxisFileId(fileId)) {
|
|
32451
|
+
return throwError(() => new Error('Invalid fileId.'));
|
|
32452
|
+
}
|
|
32453
|
+
const op = resolvePraxisFileOperationOptions(baseUrlOrOptions);
|
|
32454
|
+
const base = this.resolveBaseUrl(op.baseUrl);
|
|
32455
|
+
return this.http
|
|
32456
|
+
.get(`${base}/${encodeURIComponent(fileId.trim())}`, {
|
|
32457
|
+
headers: this.buildRequestHeaders(op),
|
|
32458
|
+
withCredentials: this.withCredentials(),
|
|
32459
|
+
})
|
|
32460
|
+
.pipe(map((response) => {
|
|
32461
|
+
const normalized = normalizePraxisStoredFileMetadata(response);
|
|
32462
|
+
if (!isSafePraxisFileId(normalized.fileId)) {
|
|
32463
|
+
throw new Error('Metadata response missing a valid fileId.');
|
|
32464
|
+
}
|
|
32465
|
+
return normalized;
|
|
32466
|
+
}));
|
|
32467
|
+
}
|
|
32468
|
+
confirm(fileId, baseUrlOrOptions) {
|
|
32469
|
+
if (!isSafePraxisFileId(fileId)) {
|
|
32470
|
+
return throwError(() => new Error('Invalid fileId.'));
|
|
32471
|
+
}
|
|
32472
|
+
const op = resolvePraxisFileOperationOptions(baseUrlOrOptions);
|
|
32473
|
+
const base = this.resolveBaseUrl(op.baseUrl);
|
|
32474
|
+
return this.http
|
|
32475
|
+
.post(`${base}/${encodeURIComponent(fileId.trim())}/confirm`, null, {
|
|
32476
|
+
headers: this.buildRequestHeaders(op),
|
|
32477
|
+
withCredentials: this.withCredentials(),
|
|
32478
|
+
})
|
|
32479
|
+
.pipe(map((response) => {
|
|
32480
|
+
const normalized = normalizePraxisStoredFileMetadata(response);
|
|
32481
|
+
if (!isSafePraxisFileId(normalized.fileId)) {
|
|
32482
|
+
throw new Error('Confirm response missing a valid fileId.');
|
|
32483
|
+
}
|
|
32484
|
+
return normalized;
|
|
32485
|
+
}));
|
|
32486
|
+
}
|
|
32487
|
+
delete(fileId, baseUrlOrOptions) {
|
|
32488
|
+
if (!isSafePraxisFileId(fileId)) {
|
|
32489
|
+
return throwError(() => new Error('Invalid fileId.'));
|
|
32490
|
+
}
|
|
32491
|
+
const op = resolvePraxisFileOperationOptions(baseUrlOrOptions);
|
|
32492
|
+
const base = this.resolveBaseUrl(op.baseUrl);
|
|
32493
|
+
const normalizedId = fileId.trim();
|
|
32494
|
+
return this.http
|
|
32495
|
+
.delete(`${base}/${encodeURIComponent(normalizedId)}`, {
|
|
32496
|
+
headers: this.buildRequestHeaders(op),
|
|
32497
|
+
withCredentials: this.withCredentials(),
|
|
32498
|
+
})
|
|
32499
|
+
.pipe(map((response) => {
|
|
32500
|
+
if (response === null || response === undefined) {
|
|
32501
|
+
return {
|
|
32502
|
+
fileId: normalizedId,
|
|
32503
|
+
originalFilename: '',
|
|
32504
|
+
mimeType: '',
|
|
32505
|
+
fileSize: 0,
|
|
32506
|
+
status: 'DELETED',
|
|
32507
|
+
scanStatus: 'SKIPPED',
|
|
32508
|
+
};
|
|
32509
|
+
}
|
|
32510
|
+
const normalized = normalizePraxisStoredFileMetadata(response);
|
|
32511
|
+
return normalized.fileId
|
|
32512
|
+
? normalized
|
|
32513
|
+
: { ...normalized, fileId: normalizedId, status: 'DELETED' };
|
|
32514
|
+
}));
|
|
32515
|
+
}
|
|
32516
|
+
getContentUrl(fileId, disposition = 'attachment', baseUrl) {
|
|
32517
|
+
if (!isSafePraxisFileId(fileId)) {
|
|
32518
|
+
return '';
|
|
32519
|
+
}
|
|
32520
|
+
const base = this.resolveBaseUrl(baseUrl);
|
|
32521
|
+
const safeDisposition = disposition === 'inline' ? 'inline' : 'attachment';
|
|
32522
|
+
return `${base}/${encodeURIComponent(fileId.trim())}/content?disposition=${safeDisposition}`;
|
|
32523
|
+
}
|
|
32524
|
+
fetchContentBlob(fileId, disposition = 'inline', baseUrlOrOptions) {
|
|
32525
|
+
const op = resolvePraxisFileOperationOptions(baseUrlOrOptions);
|
|
32526
|
+
const url = this.getContentUrl(fileId, disposition, op.baseUrl);
|
|
32527
|
+
if (!url) {
|
|
32528
|
+
return throwError(() => new Error('Invalid fileId.'));
|
|
32529
|
+
}
|
|
32530
|
+
return this.http.get(url, {
|
|
32531
|
+
headers: this.buildRequestHeaders(op),
|
|
32532
|
+
responseType: 'blob',
|
|
32533
|
+
withCredentials: this.withCredentials(),
|
|
32534
|
+
});
|
|
32535
|
+
}
|
|
32536
|
+
getConfig(baseUrlOrOptions) {
|
|
32537
|
+
const op = resolvePraxisFileOperationOptions(baseUrlOrOptions);
|
|
32538
|
+
const base = this.resolveBaseUrl(op.baseUrl);
|
|
32539
|
+
return this.http
|
|
32540
|
+
.get(`${base}/config`, {
|
|
32541
|
+
headers: this.buildRequestHeaders(op),
|
|
32542
|
+
withCredentials: this.withCredentials(),
|
|
32543
|
+
})
|
|
32544
|
+
.pipe(map((response) => {
|
|
32545
|
+
const envelope = asRecord(response);
|
|
32546
|
+
const data = asRecord(envelope?.['data']) ?? envelope ?? {};
|
|
32547
|
+
const opts = asRecord(data['options']) ?? {};
|
|
32548
|
+
return {
|
|
32549
|
+
allowedExtensions: toStringArray(opts['allowedExtensions']),
|
|
32550
|
+
acceptMimeTypes: toStringArray(opts['acceptMimeTypes']),
|
|
32551
|
+
maxUploadSizeMb: typeof opts['maxUploadSizeMb'] === 'number' ? opts['maxUploadSizeMb'] : null,
|
|
32552
|
+
enableVirusScanning: typeof opts['enableVirusScanning'] === 'boolean'
|
|
32553
|
+
? opts['enableVirusScanning']
|
|
32554
|
+
: undefined,
|
|
32555
|
+
};
|
|
32556
|
+
}));
|
|
32557
|
+
}
|
|
32558
|
+
resolveBaseUrl(requestBaseUrl) {
|
|
32559
|
+
const rawRequest = requestBaseUrl?.trim();
|
|
32560
|
+
if (rawRequest === '/') {
|
|
32561
|
+
return '/api/files';
|
|
32562
|
+
}
|
|
32563
|
+
const explicitRequest = rawRequest?.replace(/\/+$/, '');
|
|
32564
|
+
if (explicitRequest) {
|
|
32565
|
+
return explicitRequest;
|
|
32566
|
+
}
|
|
32567
|
+
const rawOption = this.options?.baseUrl?.trim();
|
|
32568
|
+
if (rawOption === '/') {
|
|
32569
|
+
return '/api/files';
|
|
32570
|
+
}
|
|
32571
|
+
const explicitOption = rawOption?.replace(/\/+$/, '');
|
|
32572
|
+
if (explicitOption) {
|
|
32573
|
+
return explicitOption;
|
|
32574
|
+
}
|
|
32575
|
+
const apiKey = this.options?.apiUrlKey?.trim();
|
|
32576
|
+
if (apiKey && this.apiUrlConfig?.[apiKey]) {
|
|
32577
|
+
const url = buildApiUrl(this.apiUrlConfig[apiKey]).replace(/\/+$/, '');
|
|
32578
|
+
if (url) {
|
|
32579
|
+
return appendFilesSegmentForConfiguredEntry(url);
|
|
32580
|
+
}
|
|
32581
|
+
}
|
|
32582
|
+
if (this.apiUrlConfig?.['files']) {
|
|
32583
|
+
const filesUrl = buildApiUrl(this.apiUrlConfig['files']).replace(/\/+$/, '');
|
|
32584
|
+
if (filesUrl) {
|
|
32585
|
+
return appendFilesSegmentForConfiguredEntry(filesUrl);
|
|
32586
|
+
}
|
|
32587
|
+
}
|
|
32588
|
+
if (this.apiUrlConfig?.['default']) {
|
|
32589
|
+
const defaultUrl = buildApiUrl(this.apiUrlConfig['default']).replace(/\/+$/, '');
|
|
32590
|
+
if (defaultUrl) {
|
|
32591
|
+
if (/^https?:\/\/[^/]+$/i.test(defaultUrl)) {
|
|
32592
|
+
return `${defaultUrl}/api/files`;
|
|
32593
|
+
}
|
|
32594
|
+
return defaultUrl.endsWith('/files') ? defaultUrl : `${defaultUrl}/files`;
|
|
32595
|
+
}
|
|
32596
|
+
}
|
|
32597
|
+
return '/api/files';
|
|
32598
|
+
}
|
|
32599
|
+
buildRequestHeaders(operationOptions) {
|
|
32600
|
+
const key = this.options?.apiUrlKey?.trim() || 'files';
|
|
32601
|
+
const entry = this.apiUrlConfig?.[key] || this.apiUrlConfig?.['default'];
|
|
32602
|
+
const headerEntries = new Map();
|
|
32603
|
+
if (operationOptions?.preserveExplicitContextHeaders) {
|
|
32604
|
+
this.applyRecordToHeaderMap(headerEntries, this.readEffectiveBaseHeaders(), true);
|
|
32605
|
+
this.applyHttpHeadersToMap(headerEntries, buildHeaders(entry || {}), true);
|
|
32606
|
+
this.applyRecordToHeaderMap(headerEntries, this.options?.headers, true);
|
|
32607
|
+
this.applyRecordToHeaderMap(headerEntries, operationOptions.headers, false);
|
|
32608
|
+
return this.toHttpHeaders(headerEntries);
|
|
32609
|
+
}
|
|
32610
|
+
this.applyRecordToHeaderMap(headerEntries, this.readEffectiveBaseHeaders(), false);
|
|
32611
|
+
this.applyHttpHeadersToMap(headerEntries, buildHeaders(entry || {}), false);
|
|
32612
|
+
this.applyRecordToHeaderMap(headerEntries, this.options?.headers, false);
|
|
32613
|
+
this.applyRecordToHeaderMap(headerEntries, operationOptions?.headers, false);
|
|
32614
|
+
let headers = this.toHttpHeaders(headerEntries) ?? new HttpHeaders();
|
|
32615
|
+
if (this.runtimeContext) {
|
|
32616
|
+
headers = this.runtimeContext.applyHeaders(headers);
|
|
32617
|
+
}
|
|
32618
|
+
return headers.keys().length > 0 ? headers : undefined;
|
|
32619
|
+
}
|
|
32620
|
+
readEffectiveBaseHeaders() {
|
|
32621
|
+
const shouldUseEnterpriseContext = Boolean(this.runtimeContext
|
|
32622
|
+
&& (this.runtimeContext.effectiveContext
|
|
32623
|
+
|| this.runtimeContext.snapshot
|
|
32624
|
+
|| this.runtimeContext.isSwitching
|
|
32625
|
+
|| this.runtimeContext.lifecycleState() !== 'idle'));
|
|
32626
|
+
if (shouldUseEnterpriseContext && this.runtimeContext?.effectiveRequestHeaders) {
|
|
32627
|
+
return this.runtimeContext.effectiveRequestHeaders();
|
|
32628
|
+
}
|
|
32629
|
+
try {
|
|
32630
|
+
const factory = globalThis
|
|
32631
|
+
.PAX_FETCH_HEADERS;
|
|
32632
|
+
const result = factory?.();
|
|
32633
|
+
return result && typeof result === 'object' ? result : undefined;
|
|
32634
|
+
}
|
|
32635
|
+
catch {
|
|
32636
|
+
return undefined;
|
|
32637
|
+
}
|
|
32638
|
+
}
|
|
32639
|
+
stripContentTypeHeader(headers) {
|
|
32640
|
+
if (!headers) {
|
|
32641
|
+
return undefined;
|
|
32642
|
+
}
|
|
32643
|
+
let next = headers;
|
|
32644
|
+
for (const key of headers.keys()) {
|
|
32645
|
+
if (key.toLowerCase() === 'content-type') {
|
|
32646
|
+
next = next.delete(key);
|
|
32647
|
+
}
|
|
32648
|
+
}
|
|
32649
|
+
return next.keys().length > 0 ? next : undefined;
|
|
32650
|
+
}
|
|
32651
|
+
applyHttpHeadersToMap(target, source, excludeContextual) {
|
|
32652
|
+
if (!source) {
|
|
32653
|
+
return;
|
|
32654
|
+
}
|
|
32655
|
+
for (const key of source.keys()) {
|
|
32656
|
+
if (excludeContextual && isPraxisContextualHeaderName(key)) {
|
|
32657
|
+
continue;
|
|
32658
|
+
}
|
|
32659
|
+
const values = source.getAll(key);
|
|
32660
|
+
if (values && values.length > 0) {
|
|
32661
|
+
target.set(key.toLowerCase(), {
|
|
32662
|
+
name: key,
|
|
32663
|
+
value: values.length === 1 ? values[0] : values,
|
|
32664
|
+
});
|
|
32665
|
+
}
|
|
32666
|
+
}
|
|
32667
|
+
}
|
|
32668
|
+
applyRecordToHeaderMap(target, source, excludeContextual) {
|
|
32669
|
+
if (!source) {
|
|
32670
|
+
return;
|
|
32671
|
+
}
|
|
32672
|
+
for (const [name, raw] of Object.entries(source)) {
|
|
32673
|
+
if (excludeContextual && isPraxisContextualHeaderName(name)) {
|
|
32674
|
+
continue;
|
|
32675
|
+
}
|
|
32676
|
+
if (typeof raw === 'string' && raw.trim()) {
|
|
32677
|
+
target.set(name.toLowerCase(), { name, value: raw });
|
|
32678
|
+
}
|
|
32679
|
+
}
|
|
32680
|
+
}
|
|
32681
|
+
toHttpHeaders(entries) {
|
|
32682
|
+
if (entries.size === 0) {
|
|
32683
|
+
return undefined;
|
|
32684
|
+
}
|
|
32685
|
+
let headers = new HttpHeaders();
|
|
32686
|
+
for (const entry of entries.values()) {
|
|
32687
|
+
headers = headers.set(entry.name, entry.value);
|
|
32688
|
+
}
|
|
32689
|
+
return headers;
|
|
32690
|
+
}
|
|
32691
|
+
withCredentials() {
|
|
32692
|
+
return this.options?.withCredentials ?? true;
|
|
32693
|
+
}
|
|
32694
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisHttpFileUploadPort, deps: [{ token: i1.HttpClient }, { token: API_URL, optional: true }, { token: EnterpriseRuntimeContextService, optional: true }, { token: PRAXIS_HTTP_FILE_UPLOAD_PORT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
32695
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisHttpFileUploadPort });
|
|
32696
|
+
}
|
|
32697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisHttpFileUploadPort, decorators: [{
|
|
32698
|
+
type: Injectable
|
|
32699
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
32700
|
+
type: Optional
|
|
32701
|
+
}, {
|
|
32702
|
+
type: Inject,
|
|
32703
|
+
args: [API_URL]
|
|
32704
|
+
}] }, { type: EnterpriseRuntimeContextService, decorators: [{
|
|
32705
|
+
type: Optional
|
|
32706
|
+
}] }, { type: undefined, decorators: [{
|
|
32707
|
+
type: Optional
|
|
32708
|
+
}, {
|
|
32709
|
+
type: Inject,
|
|
32710
|
+
args: [PRAXIS_HTTP_FILE_UPLOAD_PORT_OPTIONS]
|
|
32711
|
+
}] }] });
|
|
32712
|
+
function appendFilesSegmentForConfiguredEntry(url) {
|
|
32713
|
+
if (url.endsWith('/files')) {
|
|
32714
|
+
return url;
|
|
32715
|
+
}
|
|
32716
|
+
if (/^https?:\/\/[^/]+$/i.test(url)) {
|
|
32717
|
+
return `${url}/api/files`;
|
|
32718
|
+
}
|
|
32719
|
+
if (url === '/api' || url.endsWith('/api')) {
|
|
32720
|
+
return `${url}/files`;
|
|
32721
|
+
}
|
|
32722
|
+
return url;
|
|
32723
|
+
}
|
|
32724
|
+
function asRecord(value) {
|
|
32725
|
+
if (!value || typeof value !== 'object' || Array.isArray(value)) {
|
|
32726
|
+
return null;
|
|
32727
|
+
}
|
|
32728
|
+
return value;
|
|
32729
|
+
}
|
|
32730
|
+
function toStringArray(value) {
|
|
32731
|
+
if (!Array.isArray(value)) {
|
|
32732
|
+
return undefined;
|
|
32733
|
+
}
|
|
32734
|
+
return value.filter((item) => typeof item === 'string');
|
|
32735
|
+
}
|
|
32736
|
+
|
|
32737
|
+
const SAFE_INLINE_PREVIEW_MIME_TYPES = new Set([
|
|
32738
|
+
'application/pdf',
|
|
32739
|
+
'image/png',
|
|
32740
|
+
'image/jpeg',
|
|
32741
|
+
'image/webp',
|
|
32742
|
+
'image/gif',
|
|
32743
|
+
'text/plain',
|
|
32744
|
+
]);
|
|
32745
|
+
function normalizePreviewMimeType(mimeType) {
|
|
32746
|
+
if (typeof mimeType !== 'string') {
|
|
32747
|
+
return '';
|
|
32748
|
+
}
|
|
32749
|
+
const base = mimeType.split(';')[0]?.trim().toLowerCase() ?? '';
|
|
32750
|
+
return base;
|
|
32751
|
+
}
|
|
32752
|
+
function isSafeInlinePreviewMimeType(mimeType) {
|
|
32753
|
+
const normalized = normalizePreviewMimeType(mimeType);
|
|
32754
|
+
return SAFE_INLINE_PREVIEW_MIME_TYPES.has(normalized);
|
|
32755
|
+
}
|
|
32756
|
+
const DEFAULT_INLINE_REVOKE_DELAY_MS = 10 * 60_000;
|
|
32757
|
+
const DEFAULT_DOWNLOAD_REVOKE_DELAY_MS = 60_000;
|
|
32758
|
+
const DEFAULT_MAX_PREVIEW_BLOB_BYTES = 50 * 1024 * 1024;
|
|
32759
|
+
const ATTACHMENT_FORCED_EXTENSIONS = new Set([
|
|
32760
|
+
'html',
|
|
32761
|
+
'htm',
|
|
32762
|
+
'xhtml',
|
|
32763
|
+
'svg',
|
|
32764
|
+
'svgz',
|
|
32765
|
+
'js',
|
|
32766
|
+
'mjs',
|
|
32767
|
+
'xml',
|
|
32768
|
+
]);
|
|
32769
|
+
/**
|
|
32770
|
+
* Canonical authenticated Blob preview utility that prevents same-origin stored XSS
|
|
32771
|
+
* by restricting inline top-level `blob:` navigation to a strict safe MIME allowlist
|
|
32772
|
+
* and forcing neutral binary downloads (`application/octet-stream`) for active content.
|
|
32773
|
+
*/
|
|
32774
|
+
class PraxisSafeBlobPreviewService {
|
|
32775
|
+
destroyRef = inject(DestroyRef);
|
|
32776
|
+
activeUrls = new Map();
|
|
32777
|
+
constructor() {
|
|
32778
|
+
this.destroyRef.onDestroy(() => {
|
|
32779
|
+
this.revokeAll();
|
|
32780
|
+
});
|
|
32781
|
+
}
|
|
32782
|
+
/**
|
|
32783
|
+
* Synchronously reserves a detached browser tab within the user click gesture before
|
|
32784
|
+
* issuing an asynchronous Blob fetch, preventing async popup-blocker rejection and
|
|
32785
|
+
* WHATWG `window.open(..., 'noopener')` double-tab behavior.
|
|
32786
|
+
*/
|
|
32787
|
+
prepareInlinePreviewWindow() {
|
|
32788
|
+
if (typeof window === 'undefined' || typeof window.open !== 'function') {
|
|
32789
|
+
return null;
|
|
32790
|
+
}
|
|
32791
|
+
const win = window.open('about:blank', '_blank');
|
|
32792
|
+
if (win) {
|
|
32793
|
+
try {
|
|
32794
|
+
win.opener = null;
|
|
32795
|
+
}
|
|
32796
|
+
catch {
|
|
32797
|
+
// Ignore locked opener property on hardened browser proxies.
|
|
32798
|
+
}
|
|
32799
|
+
}
|
|
32800
|
+
return win;
|
|
32801
|
+
}
|
|
32802
|
+
openSafeBlob(blob, options = {}) {
|
|
32803
|
+
const detectedMime = normalizePreviewMimeType(blob.type);
|
|
32804
|
+
const maxBlobBytes = typeof options.maxBlobBytes === 'number' && Number.isFinite(options.maxBlobBytes) && options.maxBlobBytes > 0
|
|
32805
|
+
? options.maxBlobBytes
|
|
32806
|
+
: DEFAULT_MAX_PREVIEW_BLOB_BYTES;
|
|
32807
|
+
const withinPreviewCap = blob.size <= maxBlobBytes;
|
|
32808
|
+
const safeExtension = !hasForcedAttachmentExtension(options.fileName);
|
|
32809
|
+
const inlineSafe = !options.forceDownload
|
|
32810
|
+
&& withinPreviewCap
|
|
32811
|
+
&& safeExtension
|
|
32812
|
+
&& isSafeInlinePreviewMimeType(detectedMime);
|
|
32813
|
+
if (!inlineSafe) {
|
|
32814
|
+
this.closeWindowSafely(options.preparedWindow);
|
|
32815
|
+
const downloadBlob = new Blob([blob], { type: 'application/octet-stream' });
|
|
32816
|
+
const objectUrl = this.registerObjectUrl(downloadBlob, options.revokeAfterMs ?? DEFAULT_DOWNLOAD_REVOKE_DELAY_MS);
|
|
32817
|
+
if (objectUrl) {
|
|
32818
|
+
this.triggerAnchorDownload(objectUrl, sanitizeDownloadFilename(options.fileName));
|
|
32819
|
+
}
|
|
32820
|
+
return {
|
|
32821
|
+
mode: 'download',
|
|
32822
|
+
objectUrl,
|
|
32823
|
+
mimeType: detectedMime || 'application/octet-stream',
|
|
32824
|
+
revoke: () => this.revoke(objectUrl),
|
|
32825
|
+
};
|
|
32826
|
+
}
|
|
32827
|
+
const safeInlineBlob = normalizePreviewMimeType(blob.type) === detectedMime
|
|
32828
|
+
? blob
|
|
32829
|
+
: new Blob([blob], { type: detectedMime });
|
|
32830
|
+
const objectUrl = this.registerObjectUrl(safeInlineBlob, options.revokeAfterMs ?? DEFAULT_INLINE_REVOKE_DELAY_MS);
|
|
32831
|
+
let popupBlocked = false;
|
|
32832
|
+
const prepared = options.preparedWindow;
|
|
32833
|
+
if (prepared && !prepared.closed && objectUrl) {
|
|
32834
|
+
try {
|
|
32835
|
+
prepared.location.replace(objectUrl);
|
|
32836
|
+
}
|
|
32837
|
+
catch {
|
|
32838
|
+
this.closeWindowSafely(prepared);
|
|
32839
|
+
popupBlocked = true;
|
|
32840
|
+
this.triggerAnchorOpen(objectUrl);
|
|
32841
|
+
}
|
|
32842
|
+
}
|
|
32843
|
+
else if (objectUrl) {
|
|
32844
|
+
if ('preparedWindow' in options) {
|
|
32845
|
+
popupBlocked = true;
|
|
32846
|
+
}
|
|
32847
|
+
this.triggerAnchorOpen(objectUrl);
|
|
32848
|
+
}
|
|
32849
|
+
return {
|
|
32850
|
+
mode: 'inline',
|
|
32851
|
+
objectUrl,
|
|
32852
|
+
mimeType: detectedMime,
|
|
32853
|
+
...(popupBlocked ? { popupBlocked: true } : {}),
|
|
32854
|
+
revoke: () => this.revoke(objectUrl),
|
|
32855
|
+
};
|
|
32856
|
+
}
|
|
32857
|
+
revoke(objectUrl) {
|
|
32858
|
+
if (!objectUrl) {
|
|
32859
|
+
return;
|
|
32860
|
+
}
|
|
32861
|
+
const timer = this.activeUrls.get(objectUrl);
|
|
32862
|
+
if (timer !== undefined) {
|
|
32863
|
+
if (timer !== null) {
|
|
32864
|
+
clearTimeout(timer);
|
|
32865
|
+
}
|
|
32866
|
+
this.activeUrls.delete(objectUrl);
|
|
32867
|
+
}
|
|
32868
|
+
if (typeof URL !== 'undefined' && typeof URL.revokeObjectURL === 'function') {
|
|
32869
|
+
URL.revokeObjectURL(objectUrl);
|
|
32870
|
+
}
|
|
32871
|
+
}
|
|
32872
|
+
revokeAll() {
|
|
32873
|
+
for (const objectUrl of [...this.activeUrls.keys()]) {
|
|
32874
|
+
this.revoke(objectUrl);
|
|
32875
|
+
}
|
|
32876
|
+
}
|
|
32877
|
+
registerObjectUrl(blob, revokeAfterMs) {
|
|
32878
|
+
if (typeof document === 'undefined'
|
|
32879
|
+
|| typeof URL === 'undefined'
|
|
32880
|
+
|| typeof URL.createObjectURL !== 'function') {
|
|
32881
|
+
return '';
|
|
32882
|
+
}
|
|
32883
|
+
const objectUrl = URL.createObjectURL(blob);
|
|
32884
|
+
const delay = typeof revokeAfterMs === 'number' && Number.isFinite(revokeAfterMs) && revokeAfterMs >= 0
|
|
32885
|
+
? revokeAfterMs
|
|
32886
|
+
: DEFAULT_INLINE_REVOKE_DELAY_MS;
|
|
32887
|
+
const timer = delay > 0
|
|
32888
|
+
? setTimeout(() => {
|
|
32889
|
+
this.revoke(objectUrl);
|
|
32890
|
+
}, delay)
|
|
32891
|
+
: null;
|
|
32892
|
+
this.activeUrls.set(objectUrl, timer);
|
|
32893
|
+
return objectUrl;
|
|
32894
|
+
}
|
|
32895
|
+
closeWindowSafely(win) {
|
|
32896
|
+
if (win && !win.closed) {
|
|
32897
|
+
try {
|
|
32898
|
+
win.close();
|
|
32899
|
+
}
|
|
32900
|
+
catch {
|
|
32901
|
+
// Ignore window close restrictions.
|
|
32902
|
+
}
|
|
32903
|
+
}
|
|
32904
|
+
}
|
|
32905
|
+
triggerAnchorOpen(objectUrl) {
|
|
32906
|
+
if (typeof document === 'undefined' || !document.body) {
|
|
32907
|
+
return;
|
|
32908
|
+
}
|
|
32909
|
+
const anchor = document.createElement('a');
|
|
32910
|
+
anchor.href = objectUrl;
|
|
32911
|
+
anchor.target = '_blank';
|
|
32912
|
+
anchor.rel = 'noopener noreferrer';
|
|
32913
|
+
document.body.appendChild(anchor);
|
|
32914
|
+
anchor.click();
|
|
32915
|
+
anchor.remove();
|
|
32916
|
+
}
|
|
32917
|
+
triggerAnchorDownload(objectUrl, fileName) {
|
|
32918
|
+
if (typeof document === 'undefined' || !document.body) {
|
|
32919
|
+
return;
|
|
32920
|
+
}
|
|
32921
|
+
const anchor = document.createElement('a');
|
|
32922
|
+
anchor.href = objectUrl;
|
|
32923
|
+
anchor.download = fileName;
|
|
32924
|
+
anchor.rel = 'noopener noreferrer';
|
|
32925
|
+
document.body.appendChild(anchor);
|
|
32926
|
+
anchor.click();
|
|
32927
|
+
anchor.remove();
|
|
32928
|
+
}
|
|
32929
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisSafeBlobPreviewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
32930
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisSafeBlobPreviewService, providedIn: 'root' });
|
|
32931
|
+
}
|
|
32932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisSafeBlobPreviewService, decorators: [{
|
|
32933
|
+
type: Injectable,
|
|
32934
|
+
args: [{ providedIn: 'root' }]
|
|
32935
|
+
}], ctorParameters: () => [] });
|
|
32936
|
+
function hasForcedAttachmentExtension(rawName) {
|
|
32937
|
+
const cleaned = (rawName ?? '')
|
|
32938
|
+
.split(/[?#]/)[0]
|
|
32939
|
+
?.replace(/[\u0000-\u001F\u007F-\u009F\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF]/g, '')
|
|
32940
|
+
.trim()
|
|
32941
|
+
.replace(/\.+$/, '')
|
|
32942
|
+
.toLowerCase() ?? '';
|
|
32943
|
+
const lastDot = cleaned.lastIndexOf('.');
|
|
32944
|
+
if (lastDot < 0 || lastDot === cleaned.length - 1) {
|
|
32945
|
+
return false;
|
|
32946
|
+
}
|
|
32947
|
+
const ext = cleaned.slice(lastDot + 1);
|
|
32948
|
+
return ATTACHMENT_FORCED_EXTENSIONS.has(ext);
|
|
32949
|
+
}
|
|
32950
|
+
function sanitizeDownloadFilename(rawName) {
|
|
32951
|
+
const cleaned = (rawName ?? '')
|
|
32952
|
+
.replace(/[\u0000-\u001F\u007F-\u009F\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF]/g, '')
|
|
32953
|
+
.trim()
|
|
32954
|
+
.replace(/[<>:"/\\|?*]+/g, '_')
|
|
32955
|
+
.replace(/^\.+/, '')
|
|
32956
|
+
.slice(0, 255)
|
|
32957
|
+
.trim();
|
|
32958
|
+
return cleaned || 'download';
|
|
32959
|
+
}
|
|
32960
|
+
|
|
32228
32961
|
const FIELD_SELECTOR_REGISTRY_BASE = new InjectionToken('FIELD_SELECTOR_REGISTRY_BASE');
|
|
32229
32962
|
const FIELD_SELECTOR_REGISTRY_OVERRIDES = new InjectionToken('FIELD_SELECTOR_REGISTRY_OVERRIDES');
|
|
32230
32963
|
const FIELD_SELECTOR_REGISTRY_DISABLE_DEFAULTS = new InjectionToken('FIELD_SELECTOR_REGISTRY_DISABLE_DEFAULTS');
|
|
@@ -41377,6 +42110,17 @@ function providePraxisHttpCollectionExportProvider(options = {}) {
|
|
|
41377
42110
|
];
|
|
41378
42111
|
}
|
|
41379
42112
|
|
|
42113
|
+
function providePraxisHttpFileUploadPort(options = {}) {
|
|
42114
|
+
return [
|
|
42115
|
+
{ provide: PRAXIS_HTTP_FILE_UPLOAD_PORT_OPTIONS, useValue: options },
|
|
42116
|
+
PraxisHttpFileUploadPort,
|
|
42117
|
+
{
|
|
42118
|
+
provide: PRAXIS_FILE_UPLOAD_PORT,
|
|
42119
|
+
useExisting: PraxisHttpFileUploadPort,
|
|
42120
|
+
},
|
|
42121
|
+
];
|
|
42122
|
+
}
|
|
42123
|
+
|
|
41380
42124
|
const TEXT_DESCRIPTOR_KEYS = new Set(['key', 'text', 'params']);
|
|
41381
42125
|
/**
|
|
41382
42126
|
* Resolves explicit `PraxisTextValue` descriptors in a JSON-like authored
|
|
@@ -99241,4 +99985,4 @@ function providePraxisIntelligenceJobStatusMetadata() {
|
|
|
99241
99985
|
* Generated bundle index. Do not edit.
|
|
99242
99986
|
*/
|
|
99243
99987
|
|
|
99244
|
-
export { API_CONFIG_STORAGE_OPTIONS, API_URL, ASYNC_CONFIG_STORAGE, AllowedFileTypes, AnalyticsPresentationResolver, AnalyticsSchemaContractService, AnalyticsStatsRequestBuilderService, ApiConfigStorage, ApiEndpoint, BUILTIN_PAGE_LAYOUT_PRESETS, BUILTIN_PAGE_THEME_PRESETS, BUILTIN_SHELL_PRESETS, BUILTIN_WIDGET_SHELL_PRESETS, BulkOperationClientService, BulkSyncSession, BulkSyncStateService, CANONICAL_DECISION_INSPECTOR_LENSES, CANONICAL_DECISION_STAGES, COMPONENT_METADATA_REGISTRY_I18N_CONFIG, COMPONENT_METADATA_REGISTRY_I18N_NAMESPACE, CONFIG_STORAGE, CONNECTION_STORAGE, ComponentAuthoringManifestProjectionError, ComponentKeyService, ComponentMetadataRegistry, ComponentRuntimeProfileService, CompositionRuntimeFacade, CompositionValidatorService, ConsoleLoggerSink, CrudOperationResolutionService, DECISION_INSPECTOR_I18N_CONFIG, DECISION_INSPECTOR_I18N_NAMESPACE, DEFAULT_DYNAMIC_FORM_SCHEMA_CACHE_MAX_ENTRIES, DEFAULT_DYNAMIC_FORM_SCHEMA_CACHE_TTL_MS, DEFAULT_FIELD_SELECTOR_CONTROL_TYPE_MAP, DEFAULT_JSON_LOGIC_OPERATORS, DEFAULT_PRAXIS_STATS_EXECUTION_CONFIG, DEFAULT_SCHEMA_REQUEST_TIMEOUT_MS, DEFAULT_TABLE_CONFIG, DOMAIN_CATALOG_COMPONENT_CONTEXT_PACK, DOMAIN_CATALOG_CONTEXT_HINT_SCHEMA_VERSION, DOMAIN_RULE_DOCUMENTATION_KEY, DYNAMIC_PAGE_AI_CAPABILITIES, DYNAMIC_PAGE_COMPONENT_CONTEXT_PACK, DYNAMIC_PAGE_CONFIG_EDITOR, DYNAMIC_PAGE_SHELL_EDITOR, DefaultLoadingRenderer, DeferredAsyncConfigStorage, DomainCatalogService, DomainKnowledgeService, DomainRuleService, DynamicFormService, DynamicWidgetLoaderDirective, DynamicWidgetPageComponent, EDITORIAL_ALLOWED_CONTENT_FORMATS, EDITORIAL_COMPLIANCE_PRESETS, EDITORIAL_EXTERNAL_LINK_REL, EDITORIAL_FORM_TEMPLATE_CATALOG, EDITORIAL_HTML_ENABLED, EDITORIAL_MARKDOWN_IMAGES_ENABLED, EDITORIAL_SOLUTION_CATALOG, EDITORIAL_SOLUTION_PRESETS, EDITORIAL_THEME_PRESETS, EDITORIAL_WIDGET_CONVENTION_INPUTS, EDITORIAL_WIDGET_TAG, EFFECTIVE_UI_LAYOUT_COMPOSITION_SCHEMA_VERSION, EMPLOYEE_ONBOARDING_EDITORIAL_SOLUTION, EMPLOYEE_ONBOARDING_EDITORIAL_TEMPLATE, EMPLOYEE_ONBOARDING_GUIDED_EDITORIAL_SOLUTION, EMPLOYEE_ONBOARDING_GUIDED_EDITORIAL_TEMPLATE, EVENT_REGISTRATION_EDITORIAL_SOLUTION, EVENT_REGISTRATION_EDITORIAL_TEMPLATE, EffectiveUiLayoutContractError, EffectiveUiLayoutHttpError, EffectiveUiLayoutService, EmptyStateCardComponent, EnterpriseRuntimeContextObsoleteError, EnterpriseRuntimeContextService, ErrorMessageService, FIELD_METADATA_CAPABILITIES, FIELD_SELECTOR_REGISTRY_BASE, FIELD_SELECTOR_REGISTRY_DISABLE_DEFAULTS, FIELD_SELECTOR_REGISTRY_OVERRIDES, FORM_HOOKS, FORM_HOOKS_PRESETS, FORM_HOOKS_WHITELIST, FORM_HOOK_RESOLVERS, FieldControlType, FieldDataType, FieldSelectorRegistry, FormHooksRegistry, GLOBAL_ACTION_CATALOG, GLOBAL_ACTION_HANDLERS, GLOBAL_ACTION_UI_SCHEMAS, GLOBAL_ANALYTICS_SERVICE, GLOBAL_API_CLIENT, GLOBAL_CONFIG, GLOBAL_DIALOG_SERVICE, GLOBAL_ROUTE_GUARD_RESOLVER, GLOBAL_SURFACE_SERVICE, GLOBAL_TOAST_SERVICE, GOVERNED_COLOR_PALETTE_OPTIONS, GOVERNED_PAGE_ADMITTED_WIDGET_IDS, GOVERNED_PAGE_DEFAULT_ALLOWED_ICONS, GenericCrudService, GlobalActionService, GlobalConfigService, GovernedColorPaletteService, INLINE_FILTER_ALIAS_TOKENS, INLINE_FILTER_CONTROL_TYPES, INLINE_FILTER_CONTROL_TYPE_SET, INLINE_FILTER_CONTROL_TYPE_VALUES, INLINE_FILTER_TOKEN_TO_BASE_CONTROL_TYPE, INLINE_FILTER_TOKEN_TO_CONTROL_TYPE, IconPickerService, IconPosition, IconSize, InMemoryAsyncConfigStorage, InMemoryConfigStorage, InMemoryConfigStore, InMemoryEnterpriseRuntimeContextService, LOGGER_LEVEL_BY_ENV, LOGGER_LEVEL_PRIORITY, LoadingOrchestrator, LocalConnectionStorage, LocalStorageAsyncAdapter, LocalStorageCacheAdapter, LocalStorageConfigService, LoggerService, LoggerThrottleTracker, LoggerWarnOnceTracker, MemoryCacheAdapter, NestedPortCatalogService, NestedWidgetConfigAccessor, NumericFormat, OVERLAY_DECIDER_DEBUG, OVERLAY_DECISION_MATRIX, ObservabilityDashboardService, OverlayDeciderService, PRAXIS_ACTION_CONTROL_DEFAULTS, PRAXIS_ACTION_CONTROL_VARS, PRAXIS_BULK_PROPOSAL_BRIDGE, PRAXIS_COLLECTION_EXPORT_HTTP_OPTIONS, PRAXIS_COLLECTION_EXPORT_PROVIDER, PRAXIS_COLLECTION_SEARCH_DEFAULTS, PRAXIS_COLLECTION_SEARCH_VARS, PRAXIS_CONTEXT_DIMENSIONS, PRAXIS_CORPORATE_SENSITIVE_KEYS, PRAXIS_DECISION_INSPECTOR_CONFIG, PRAXIS_DECISION_INSPECTOR_SURFACE, PRAXIS_DEFAULT_EXPORT_SECURITY_POLICY, PRAXIS_DEFAULT_OBSERVABILITY_ALERT_RULES, PRAXIS_DYNAMIC_PAGE_COMPONENT_METADATA, PRAXIS_EFFECTIVE_UI_LAYOUT_OPTIONS, PRAXIS_ENTERPRISE_RUNTIME_CONTEXT_OPTIONS, PRAXIS_ENTERPRISE_RUNTIME_CONTEXT_READY, PRAXIS_EPISTEMIC_AVAILABILITY_STATES, PRAXIS_EPISTEMIC_BADGE_METADATA, PRAXIS_EPISTEMIC_KINDS, PRAXIS_EXPORT_FORMULA_PREFIXES, PRAXIS_EXPORT_SECURITY_POLICY, PRAXIS_FOOTER_LINKS_METADATA, PRAXIS_GLOBAL_ACTION_CATALOG, PRAXIS_GLOBAL_CONFIG_BOOTSTRAP_OPTIONS, PRAXIS_GLOBAL_CONFIG_BOOTSTRAP_READY, PRAXIS_GLOBAL_CONFIG_TENANT_RESOLVER, PRAXIS_HERO_BANNER_METADATA, PRAXIS_I18N_CONFIG, PRAXIS_I18N_TRANSLATOR, PRAXIS_ICON_PICKER_EN_US, PRAXIS_ICON_PICKER_I18N_CONFIG, PRAXIS_ICON_PICKER_I18N_NAMESPACE, PRAXIS_ICON_PICKER_PT_BR, PRAXIS_INTELLIGENCE_EN_US, PRAXIS_INTELLIGENCE_ERROR_CATALOG, PRAXIS_INTELLIGENCE_ERROR_CODES, PRAXIS_INTELLIGENCE_I18N_CONFIG, PRAXIS_INTELLIGENCE_I18N_NAMESPACE, PRAXIS_INTELLIGENCE_JOBS_BASE_PATH, PRAXIS_INTELLIGENCE_JOB_STATUSES, PRAXIS_INTELLIGENCE_JOB_STATUS_METADATA, PRAXIS_INTELLIGENCE_PT_BR, PRAXIS_JSON_LOGIC_OPERATORS, PRAXIS_LAYER_SCALE_DEFAULTS, PRAXIS_LAYER_SCALE_VARS, PRAXIS_LEGAL_NOTICE_METADATA, PRAXIS_LOADING_CTX, PRAXIS_LOADING_RENDERER, PRAXIS_LOGGER_CONFIG, PRAXIS_LOGGER_SINKS, PRAXIS_MICRO_CHART_ENGINE, PRAXIS_MICRO_CHART_ENGINE_DISABLED, PRAXIS_MICRO_VIZ_EN_US, PRAXIS_MICRO_VIZ_I18N_CONFIG, PRAXIS_MICRO_VIZ_I18N_NAMESPACE, PRAXIS_MICRO_VIZ_LEGACY_CHARTS_NAMESPACE, PRAXIS_MICRO_VIZ_PT_BR, PRAXIS_OBSERVABILITY_DASHBOARD_OPTIONS, PRAXIS_OPERATIONAL_ASSISTANT_LAUNCHER, PRAXIS_QUERY_FILTER_EXPRESSION_SCHEMA_VERSION, PRAXIS_QUICK_VIEW_BODY_RENDERER, PRAXIS_QUICK_VIEW_PRESENTER, PRAXIS_RELATED_RESOURCE_OUTLET_AUTHORING_MANIFEST, PRAXIS_RELATED_RESOURCE_OUTLET_COMPONENT_METADATA, PRAXIS_RELATED_RESOURCE_OUTLET_PORTS, PRAXIS_RICH_TEXT_BLOCK_METADATA, PRAXIS_RUNTIME_FORM_VALUE_PROPOSAL_SCHEMA_VERSION, PRAXIS_RUNTIME_FORM_VALUE_RECEIPT_SCHEMA_VERSION, PRAXIS_SESSION_TRANSPORT_OPTIONS, PRAXIS_SHELL_EN_US, PRAXIS_SHELL_I18N_CONFIG, PRAXIS_SHELL_I18N_NAMESPACE, PRAXIS_SHELL_PT_BR, PRAXIS_STATS_EXECUTION_CONFIG, PRAXIS_SUPPRESSION_STATUSES, PRAXIS_TABLE_DETAIL_INLINE_NODE_RESOLVERS, PRAXIS_TABLE_DETAIL_INLINE_RENDERERS, PRAXIS_TABLE_DETAIL_RESOURCE_RESOLVER, PRAXIS_TELEMETRY_TRANSPORT, PRAXIS_TENANT_REALM, PRAXIS_TENANT_REALM_HEADER, PRAXIS_THEME_OPTIONS, PRAXIS_THEME_SURFACE_DEFAULTS, PRAXIS_THEME_SURFACE_VARS, PRAXIS_USER_CONTEXT_SUMMARY_METADATA, PRAXIS_WIDGET_SHELL_ACTION_CONTRIBUTOR, PRAXIS_WORKSPACE_THEME_IDS, PRIVACY_CONSENT_EDITORIAL_SOLUTION, PRIVACY_CONSENT_EDITORIAL_TEMPLATE, PageIntegrityError, PraxisAppShellComponent, PraxisBulkClientService, PraxisCacheInvalidatorService, PraxisCollectionExportService, PraxisCommandPaletteComponent, PraxisContextFilterProjectorService, PraxisContextSwitchGuard, PraxisCore, PraxisCustomizationModeService, PraxisDecisionInspectorService, PraxisEpistemicBadgeComponent, PraxisFooterLinksComponent, PraxisGlobalErrorHandler, PraxisHeroBannerComponent, PraxisHttpCollectionExportProvider, PraxisI18nService, PraxisIconButtonComponent, PraxisIconDirective, PraxisIconPickerComponent, PraxisIntelligenceJobError, PraxisIntelligenceJobStatusComponent, PraxisIntelligenceJobsService, PraxisJsonLogicError, PraxisJsonLogicService, PraxisKeepAliveTabDirective, PraxisLayerScaleStyleService, PraxisLegalNoticeComponent, PraxisLoadingInterceptor, PraxisMicroTooltipOverlayService, PraxisMicroVizHostComponent, PraxisMicroVizIdSequenceService, PraxisOperationalAssistantLaunchService, PraxisPageReconcilerService, PraxisQuickViewTriggerDirective, PraxisRelatedResourceOutletComponent, PraxisRelatedResourceOutletConfigEditorComponent, PraxisResourceIdentityComponent, PraxisRichTextBlockComponent, PraxisRuntimeComponentObservationRegistryService, PraxisRuntimeFormValueSessionJournal, PraxisSessionTransportService, PraxisStatsExecutionService, PraxisSurfaceHostComponent, PraxisThemeService, PraxisUserContextSummaryComponent, PraxisWidgetEventBus, PraxisWorkspaceQueryContextService, QUICK_VIEW_EMPLOYEE_BINDING_FIXTURE, QUICK_VIEW_EMPLOYEE_RECORD_FIXTURE, QUICK_VIEW_EMPLOYEE_SCHEMA_FIXTURE, QUICK_VIEW_EMPLOYEE_SURFACES_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_BINDING_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_RECORD_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_SCHEMA_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_SURFACES_FIXTURE, RESOURCE_DISCOVERY_I18N_CONFIG, RESOURCE_DISCOVERY_I18N_NAMESPACE, RULE_PROPERTY_SCHEMA, RelatedResourceSurfaceResolverService, RemoteConfigStorage, ResourceActionOpenAdapterService, ResourceDiscoveryService, ResourceQuickConnectComponent, ResourceQuickViewService, ResourceRecordOpenError, ResourceRecordOpenService, ResourceSurfaceOpenAdapterService, SCHEMA_METADATA_CLIENT_OPTIONS, SCHEMA_VIEWER_CONTEXT, SETTINGS_EDITOR_SECTIONS_HOSTED, SETTINGS_PANEL_BRIDGE, SETTINGS_PANEL_DATA, SIDE_PANEL_PRESET_WIDTHS, STEPPER_CONFIG_EDITOR, SURFACE_DRAWER_BRIDGE, SURFACE_DRAWER_CONTENT_DATA, SURFACE_DRAWER_REF, SURFACE_NAVIGATION_I18N_CONFIG, SURFACE_NAVIGATION_I18N_NAMESPACE, SURFACE_OPEN_I18N_CONFIG, SURFACE_OPEN_I18N_NAMESPACE, SURFACE_OPEN_PRESETS, SafeExpressionEvaluator, SchemaMetadataClient, SchemaNormalizerService, SchemaViewerComponent, SettingsSectionTabsComponent, SurfaceBindingRuntimeService, SurfaceNavigationError, SurfaceOpenActionEditorComponent, SurfaceOpenMaterializerService, SurfaceOutletRegistryService, TABLE_CONFIG_EDITOR, TableConfigService, TelemetryLoggerSink, TelemetryService, UiLayoutLifecycleContractError, UiLayoutLifecycleHttpError, UiLayoutLifecycleService, ValidationPattern, WidgetPageCompositionFactory, WidgetPageDataSourceRuntimeService, WidgetPageStateRuntimeService, WidgetShellComponent, applyDeclarativeValuePipe, applyLocalCustomizations$2 as applyLocalCustomizations, applyLocalCustomizations$1 as applyLocalFormCustomizations, applyRuntimeFormValueProposal, areParameterValuesEqual, areRuntimeValuesEqual, assertPraxisCollectionExportArtifact, assertPraxisRuntimeComponentObservationSerializable, attachAnalyticsEpistemicMetadata, attachAnalyticsSuppressionMetadata, buildAngularValidators, buildApiUrl, buildBaseColumnFromDef, buildBaseFormField, buildFormConfigFromEditorialTemplate, buildGovernedPageTarget, buildHeaders, buildPageKey, buildPraxisActionControlCss, buildPraxisCollectionSearchCss, buildPraxisEffectDistinctKey, buildPraxisLayerScaleCss, buildPraxisTenantRealmHeaders, buildPraxisThemeSurfaceCss, buildPublishedPageIdentity, buildRulesStudioDeepLink, buildSchemaId, buildSchemaIdStorageKeySegment, buildSchemaSemanticColumnRenderer, buildSidePanelStorageKey, buildValidatorsFromValidatorOptions, calibrateFieldMetadataFromSemantics, canExpandSidePanel, canOrganizeFormLayoutBySemantics, cancelIfCpfInvalidHook, canonicalJsonSha256, canonicalJsonStringify, clampRange, clampSidePanelWidthPx, classifyEntityLookupResult, cloneBoundedUiLayoutJsonDocument, cloneInputsPreservingLiveReferences, clonePraxisRuntimeComponentObservation, cloneRuntimeValue, cloneTableConfig, cloneUiLayoutJsonDocument, cnpjAlphaValidator, coerceBulkTargetsWireIds, coerceBulkWireId, collapseWhitespace, composeHeadersWithVersion, computePraxisMicroVizSignature, computePraxisStackedBarSegmentWidthPct, conditionalAsyncValidator, containsEphemeralQuickViewRuntimeValue, convertFormLayoutToConfig, copyPageAuthoringDocument, createCorporateLoggerConfig, createCorporateObservabilityOptions, createCpfCnpjValidator, createDefaultFormConfig, createDefaultTableConfig, createDynamicRecord, createEmptyFormConfig, createEmptyNavigationGroupsAuthoringDocument, createEmptyRichContentDocument, createFieldLayoutItem, createPersistedPage, createPraxisTestingNoopHttpInterceptor, createSilentPraxisLoadingContext, customAsyncValidatorFn, customValidatorFn, debounceAsyncValidator, decodeNavigationGroupsAuthoringDocument, decodePageAuthoringDocument, deepMerge, deriveFailClosedEpistemicMetaFromError, derivePageChildRuntimeId, domainKnowledgeTimelineToRichContentDocument, domainRuleTimelineToRichContentDocument, encodeNavigationGroupsAuthoringDocument, encodePageAuthoringDocument, enrichGovernanceItemsWithFieldSchemas, enrichRuleSetsWithFieldSchemas, ensureIds, ensureNoConflictsHookFactory, ensurePageIds, escapePraxisExportCell, evaluateFieldAccess, evaluateGovernanceItemsFieldAccess, evaluatePraxisKpiDerivation, extractAnalyticsEpistemicMetadata, extractAnalyticsSuppressionMetadata, extractDomainCatalogRuleCatalog, extractDomainRuleDocumentation, extractExplicitPraxisIntelligenceErrorCode, extractNormalizedError, extractPraxisApiPathPrefix, extractRecordId, extractRuleViolationDiagnostics, fetchWithETag, fileTypeValidator, fillUndefined, findBuiltinWidgetShellPreset, formIdentityIssues, formatAffixedPresentationText, formatPraxisEpistemicNumber, formatPraxisQValueFdr, formatPraxisStackedBarPercentage, formatPraxisWaterfallSignedValue, formatTruncatedProvenanceHash, generateBulkIdempotencyKey, generateId, getDefaultFormHints, getEditorialCompliancePresetById, getEditorialFormTemplateById, getEditorialFormTemplateCatalog, getEditorialSolutionById, getEditorialSolutionCatalog, getEditorialSolutionPresetById, getEditorialThemePresetById, getEssentialConfig, getFieldMetadataCapabilities, getFormColumnFieldNames, getFormLayoutFieldNames, getGlobalActionCatalog, getGlobalActionPayloadActualType, getGlobalActionPayloadTypeIssue, getGlobalActionProviderEvidence, getGlobalActionUiSchema, getMissingGlobalActionPayloadKeys, getPraxisEpistemicKindIcon, getPraxisMicroToneGradientStops, getPraxisStackedBarPaintStyle, getPraxisTableCellVisualizationConstraint, getPraxisTableCellVisualizationGuidance, getReferencedFieldMetadata, getRequiredGlobalActionPayloadKeys, getTextTransformer, getWidgetShellActionIdError, hasMeaningfulGlobalActionPayloadValue, hasPraxisCollectionExportArtifact, hasSemanticFieldCalibrationDiff, humanizeCatalogFieldName, inferDomainSemanticHexColor, inferDomainSemanticIcon, inferDomainSemanticTone, inferSemanticFieldControlType, inferSemanticFieldGroup, inferSemanticFieldWidth, instanceKeyFor, interpolatePraxisTranslation, isAllowedEditorialContentFormat, isAllowedEditorialHref, isBulkExecutionTerminal, isCanonicalDecisionStage, isCssTextTransform, isDecisionInspectorLensId, isDomainRuleSnapshotProblemResponse, isDynamicDataRecord, isEditorialComponentMeta, isEmptyRuntimeFormFieldValue, isEnterpriseRuntimeSnapshotReady, isEntityLookupMultiplePayloadMode, isEntityLookupPayloadMode, isEntityLookupPayloadModeCompatible, isEntityLookupResultSelectable, isEntityLookupSinglePayloadMode, isFormLayoutItem, isGlobalActionProviderOperational, isGlobalActionRef, isGovernedPageUuid, isInlineFilterControlType, isLookupDialogSize, isLookupFilterFieldType, isLookupFilterOperator, isMaskedOrRedactedRuntimeValue, isMaskedPresentationToken, isPraxisEpistemicAvailabilityState, isPraxisEpistemicKind, isPraxisI18nMessageDescriptor, isPraxisIntelligenceErrorCode, isPraxisIntelligenceJobStatus, isPraxisIntelligenceJobTerminal, isPraxisMicroVisualizationRenderable, isPraxisPresentationVisualizationTableSafe, isPraxisRuntimeGlobalActionEffect, isPraxisSuppressionStatusSuppressed, isPraxisWorkspaceThemeId, isProgrammaticDateRangePreset, isRangeValidForFilter, isRequiredGlobalActionParamPayloadMissing, isRequiredGlobalActionPayloadMissing, isResourceQuickViewAnchorValid, isSafeLegalBasisUrl, isSafeMicroSvgMarkup, isSidePanelPixelWidth, isStaticDateRangePreset, isSurfaceNavigationError, isTableConfigV2, isUnresolvedTemplateToken, isValidFormConfig, isValidTableConfig, legacyCnpjValidator, legacyCpfValidator, logOnErrorHook, mapCatalogFieldsToMetadata, mapFieldDefinitionToMetadata, mapFieldDefinitionsToMetadata, markGlobalActionProviderOperational, matchFieldValidator, materializeFormLayoutFromMetadata, materializeGovernedPagePreview, materializeGovernedPaletteColors, materializeGovernedPaletteEntries, materializeResourceIdentity, maxFileSizeValidator, mergeDomainRuleDocumentation, mergeFieldMetadata, mergePraxisI18nConfigs, mergeTableConfigs, migrateFormLayoutRule, migrateLegacyCompositionLink, migrateLegacyCompositionLinks, minWordsValidator, nestedPortPathIdentity, normalizeCardMediaAspectRatio, normalizeColumnRendererQuickView, normalizeConfigPersistenceStrategy, normalizeControlTypeKey, normalizeControlTypeToken, normalizeEditorialLink, normalizeEnd, normalizeFieldAccessMetadata, normalizeFieldConstraints, normalizeFieldPresentation, normalizeFieldPresentationRules, normalizeFormConfig, normalizeFormLayoutItems, normalizeFormMetadata, normalizeGlobalActionRef$1 as normalizeGlobalActionRef, normalizeLayoutPolicy, normalizeLookupFilterRequest, normalizePath, normalizePraxisDataQueryContext, normalizePraxisEffectPolicy, normalizePraxisEpistemicAvailabilityState, normalizePraxisEpistemicKind, normalizePraxisEpistemicMeta, normalizePraxisHexColor, normalizePraxisIconLigature, normalizePraxisIntelligenceErrorCode, normalizePraxisNigriniConformity, normalizePraxisPresentationVisualization, normalizePraxisQueryFilterExpression, normalizePraxisQueryFilterNode, normalizePraxisResourcePath, normalizePresentationAffix, normalizeQuickFilterCriteria, normalizeQuickFilterExpression, normalizeQuickFilterTone, normalizeReactiveDeterminations, normalizeResourceAvailabilityReasonCode, normalizeResourceIdentityContract, normalizeResourceQuickFilterItem, normalizeResourceQuickFilterList, normalizeResourceQuickViewBinding, normalizeResourceRecordOpenReference, normalizeResourceScopeId, normalizeRuleDocumentation, normalizeRuleLegalBasisList, normalizeScalarArrayValue, normalizeStart, normalizeStringMap, normalizeSurfaceOperationContext, normalizeUnknownError, normalizeWidgetEventPath, notifySuccessHook, organizeFormLayoutBySemantics, parseConfigPersistenceError, parseJsonResponseOrEmpty, parseSidePanelWidthPx, praxisLoadingInterceptorFn, praxisSessionCredentialsInterceptor, prefillFromContextHook, prepareCanvasArrangement, previewRuntimeFormValueProposal, projectComponentAuthoringManifest, projectGroupedCommandPartialRows, provideDefaultFormHooks, provideFieldSelectorRegistryBase, provideFieldSelectorRegistryOverride, provideFieldSelectorRegistryRuntime, provideFormHookPresets, provideFormHooks, provideGlobalActionCatalog, provideGlobalActionHandler, provideGlobalConfig, provideGlobalConfigReady, provideGlobalConfigSeed, provideGlobalConfigTenant, provideHookResolvers, provideHookWhitelist, provideOverlayDecisionMatrix, providePraxisAnalyticsGlobalActions, providePraxisCollectionExportProvider, providePraxisDynamicPageMetadata, providePraxisEnterpriseRuntimeContext, providePraxisEpistemicBadgeMetadata, providePraxisFooterLinksMetadata, providePraxisGlobalActionCatalog, providePraxisGlobalActions, providePraxisGlobalConfigBootstrap, providePraxisHeroBannerMetadata, providePraxisHttpCollectionExportProvider, providePraxisHttpLoading, providePraxisI18n, providePraxisI18nConfig, providePraxisI18nTranslator, providePraxisIconDefaults, providePraxisIconPickerI18n, providePraxisIntelligenceI18n, providePraxisIntelligenceJobStatusMetadata, providePraxisJsonLogicOperator, providePraxisJsonLogicOperatorOverride, providePraxisLegalNoticeMetadata, providePraxisLoadingDefaults, providePraxisLogging, providePraxisMicroVizI18n, providePraxisRelatedResourceOutletMetadata, providePraxisRichTextBlockMetadata, providePraxisSessionTransport, providePraxisShellI18n, providePraxisTelemetry, providePraxisTenantRealm, providePraxisTestingDefaults, providePraxisTheme, providePraxisToastGlobalActions, providePraxisUserContextSummaryMetadata, provideRemoteGlobalConfig, readAnalyticsEpistemicMetadata, readAnalyticsSuppressionMetadata, readPersistedSidePanelWidth, readPraxisExportValue, readStrongResourceEtag, reconcileFieldQuickViewBinding, reconcileFilterConfig, reconcileFormConfig, reconcileTableConfig, registerPraxisRuntimeComponentObservation, removeDiacritics, reportTelemetryHookFactory, requiredCheckedValidator, requiredPresenceValidator, resolveAffixedPresentationParts, resolveBuiltinPresets, resolveBuiltinWidgetShellAppearance, resolveBulkWireIdKindFromSchema, resolveColumnTypeFromFieldDefinition, resolveControlTypeAlias, resolveDataField, resolveDateRangeShortcutPreset, resolveDateRangeShortcutPresets, resolveDefaultValuePresentationFormat, resolveEntityLookupPayloadMode, resolveExpandedSidePanelWidthPx, resolveFieldPresentation, resolveFieldQuickViewBinding, resolveGroupedCommandPartialRowSpans, resolveHidden, resolveHumanFieldLabel, resolveIconPickerLabel, resolveInlineFilterControlType, resolveInlineFilterControlTypeToBaseControlType, resolveLoggerConfig, resolveObservabilityOptions, resolveOffset, resolveOrder, resolvePraxisCollectionExportItems, resolvePraxisExportFields, resolvePraxisExportScope, resolvePraxisFilterCriteria, resolvePraxisI18nDocument, resolvePraxisIconPickerMessage, resolvePraxisIntelligenceErrorCodeFromPayload, resolvePraxisIntelligenceErrorCodeFromStatus, resolvePraxisIntelligenceMessage, resolvePraxisMicroVisualizationTone, resolvePraxisMicroVizMessage, resolvePraxisMicroWaterfallSteps, resolvePraxisSchemasFilteredUrl, resolvePraxisStackedBarAriaLabel, resolvePraxisStackedBarSegments, resolvePraxisStackedBarTotal, resolvePraxisTenantRealmFromLocation, resolveQuickViewAnchorKey, resolveResourceAvailabilityReasonKey, resolveResourceIdentityContract, resolveResourceQuickViewTarget, resolveSchemaConditionalRenderers, resolveSidePanelPresetWidth, resolveSidePanelPresetWidthPx, resolveSidePanelViewportWidth, resolveSpan, resolveTextMaskFormat, resolveTextMaskFormatFromFieldDefinition, resolveValuePresentation, resolveValuePresentationLocale, resolveWidgetPageLayoutPreset, samePageSourceReference, sanitizeIntelligenceDetailText, scopeKeyByTenantRealm, serializeEntityLookupValueForPayload, serializeOptionSourceFilterRequest, serializePraxisCollectionToCsv, serializePraxisCollectionToExcel, serializePraxisCollectionToJson, shouldShowPraxisEpistemicSignificance, slugify, staticDateRangePresetToPreset, stripDraftClearedValues, stripMasksHook, supportsConfigDocuments, supportsImplicitValuePresentation, syncWithServerMetadata, synthesizeScopeBarQuickFilterItems, textSha256, toCamel, toCapitalize, toKebab, toPascal, toSentenceCase, toSnake, toTitleCase, translateDecisionInspector, translateResourceAvailabilityReason, translateResourceDiscoveryText, translateSurfaceNavigationRejected, translateSurfaceOpenFailed, translateUnavailableWorkflowMessage, trim, uiLayoutJsonIdentity, undoRuntimeFormValueApply, uniqueAsyncValidator, upsertNavigationGroupEntry, upsertPageNavigationBinding, urlValidator, validateCanvasArrangement, validateGlobalActionRef, validateGlobalActionRefs, validatePageAuthoringDocument, validatePageSourceReference, validateResourceQuickViewBinding, validateRuntimeFormValueTargetIdentity, validateRuntimeNavigationMenuNodes, withFormConfigSections, withMessage, withPraxisHttpLoading, writePersistedSidePanelWidth };
|
|
99988
|
+
export { API_CONFIG_STORAGE_OPTIONS, API_URL, ASYNC_CONFIG_STORAGE, AllowedFileTypes, AnalyticsPresentationResolver, AnalyticsSchemaContractService, AnalyticsStatsRequestBuilderService, ApiConfigStorage, ApiEndpoint, BUILTIN_PAGE_LAYOUT_PRESETS, BUILTIN_PAGE_THEME_PRESETS, BUILTIN_SHELL_PRESETS, BUILTIN_WIDGET_SHELL_PRESETS, BulkOperationClientService, BulkSyncSession, BulkSyncStateService, CANONICAL_DECISION_INSPECTOR_LENSES, CANONICAL_DECISION_STAGES, COMPONENT_METADATA_REGISTRY_I18N_CONFIG, COMPONENT_METADATA_REGISTRY_I18N_NAMESPACE, CONFIG_STORAGE, CONNECTION_STORAGE, ComponentAuthoringManifestProjectionError, ComponentKeyService, ComponentMetadataRegistry, ComponentRuntimeProfileService, CompositionRuntimeFacade, CompositionValidatorService, ConsoleLoggerSink, CrudOperationResolutionService, DECISION_INSPECTOR_I18N_CONFIG, DECISION_INSPECTOR_I18N_NAMESPACE, DEFAULT_DYNAMIC_FORM_SCHEMA_CACHE_MAX_ENTRIES, DEFAULT_DYNAMIC_FORM_SCHEMA_CACHE_TTL_MS, DEFAULT_FIELD_SELECTOR_CONTROL_TYPE_MAP, DEFAULT_JSON_LOGIC_OPERATORS, DEFAULT_PRAXIS_STATS_EXECUTION_CONFIG, DEFAULT_SCHEMA_REQUEST_TIMEOUT_MS, DEFAULT_TABLE_CONFIG, DOMAIN_CATALOG_COMPONENT_CONTEXT_PACK, DOMAIN_CATALOG_CONTEXT_HINT_SCHEMA_VERSION, DOMAIN_RULE_DOCUMENTATION_KEY, DYNAMIC_PAGE_AI_CAPABILITIES, DYNAMIC_PAGE_COMPONENT_CONTEXT_PACK, DYNAMIC_PAGE_CONFIG_EDITOR, DYNAMIC_PAGE_SHELL_EDITOR, DefaultLoadingRenderer, DeferredAsyncConfigStorage, DomainCatalogService, DomainKnowledgeService, DomainRuleService, DynamicFormService, DynamicWidgetLoaderDirective, DynamicWidgetPageComponent, EDITORIAL_ALLOWED_CONTENT_FORMATS, EDITORIAL_COMPLIANCE_PRESETS, EDITORIAL_EXTERNAL_LINK_REL, EDITORIAL_FORM_TEMPLATE_CATALOG, EDITORIAL_HTML_ENABLED, EDITORIAL_MARKDOWN_IMAGES_ENABLED, EDITORIAL_SOLUTION_CATALOG, EDITORIAL_SOLUTION_PRESETS, EDITORIAL_THEME_PRESETS, EDITORIAL_WIDGET_CONVENTION_INPUTS, EDITORIAL_WIDGET_TAG, EFFECTIVE_UI_LAYOUT_COMPOSITION_SCHEMA_VERSION, EMPLOYEE_ONBOARDING_EDITORIAL_SOLUTION, EMPLOYEE_ONBOARDING_EDITORIAL_TEMPLATE, EMPLOYEE_ONBOARDING_GUIDED_EDITORIAL_SOLUTION, EMPLOYEE_ONBOARDING_GUIDED_EDITORIAL_TEMPLATE, EVENT_REGISTRATION_EDITORIAL_SOLUTION, EVENT_REGISTRATION_EDITORIAL_TEMPLATE, EffectiveUiLayoutContractError, EffectiveUiLayoutHttpError, EffectiveUiLayoutService, EmptyStateCardComponent, EnterpriseRuntimeContextObsoleteError, EnterpriseRuntimeContextService, ErrorMessageService, FIELD_METADATA_CAPABILITIES, FIELD_SELECTOR_REGISTRY_BASE, FIELD_SELECTOR_REGISTRY_DISABLE_DEFAULTS, FIELD_SELECTOR_REGISTRY_OVERRIDES, FORM_HOOKS, FORM_HOOKS_PRESETS, FORM_HOOKS_WHITELIST, FORM_HOOK_RESOLVERS, FieldControlType, FieldDataType, FieldSelectorRegistry, FormHooksRegistry, GLOBAL_ACTION_CATALOG, GLOBAL_ACTION_HANDLERS, GLOBAL_ACTION_UI_SCHEMAS, GLOBAL_ANALYTICS_SERVICE, GLOBAL_API_CLIENT, GLOBAL_CONFIG, GLOBAL_DIALOG_SERVICE, GLOBAL_ROUTE_GUARD_RESOLVER, GLOBAL_SURFACE_SERVICE, GLOBAL_TOAST_SERVICE, GOVERNED_COLOR_PALETTE_OPTIONS, GOVERNED_PAGE_ADMITTED_WIDGET_IDS, GOVERNED_PAGE_DEFAULT_ALLOWED_ICONS, GenericCrudService, GlobalActionService, GlobalConfigService, GovernedColorPaletteService, INLINE_FILTER_ALIAS_TOKENS, INLINE_FILTER_CONTROL_TYPES, INLINE_FILTER_CONTROL_TYPE_SET, INLINE_FILTER_CONTROL_TYPE_VALUES, INLINE_FILTER_TOKEN_TO_BASE_CONTROL_TYPE, INLINE_FILTER_TOKEN_TO_CONTROL_TYPE, IconPickerService, IconPosition, IconSize, InMemoryAsyncConfigStorage, InMemoryConfigStorage, InMemoryConfigStore, InMemoryEnterpriseRuntimeContextService, LOGGER_LEVEL_BY_ENV, LOGGER_LEVEL_PRIORITY, LoadingOrchestrator, LocalConnectionStorage, LocalStorageAsyncAdapter, LocalStorageCacheAdapter, LocalStorageConfigService, LoggerService, LoggerThrottleTracker, LoggerWarnOnceTracker, MemoryCacheAdapter, NestedPortCatalogService, NestedWidgetConfigAccessor, NumericFormat, OVERLAY_DECIDER_DEBUG, OVERLAY_DECISION_MATRIX, ObservabilityDashboardService, OverlayDeciderService, PRAXIS_ACTION_CONTROL_DEFAULTS, PRAXIS_ACTION_CONTROL_VARS, PRAXIS_BULK_PROPOSAL_BRIDGE, PRAXIS_COLLECTION_EXPORT_HTTP_OPTIONS, PRAXIS_COLLECTION_EXPORT_PROVIDER, PRAXIS_COLLECTION_SEARCH_DEFAULTS, PRAXIS_COLLECTION_SEARCH_VARS, PRAXIS_CONTEXTUAL_HEADER_NAMES, PRAXIS_CONTEXT_DIMENSIONS, PRAXIS_CORPORATE_SENSITIVE_KEYS, PRAXIS_DECISION_INSPECTOR_CONFIG, PRAXIS_DECISION_INSPECTOR_SURFACE, PRAXIS_DEFAULT_EXPORT_SECURITY_POLICY, PRAXIS_DEFAULT_OBSERVABILITY_ALERT_RULES, PRAXIS_DYNAMIC_PAGE_COMPONENT_METADATA, PRAXIS_EFFECTIVE_UI_LAYOUT_OPTIONS, PRAXIS_ENTERPRISE_RUNTIME_CONTEXT_OPTIONS, PRAXIS_ENTERPRISE_RUNTIME_CONTEXT_READY, PRAXIS_EPISTEMIC_AVAILABILITY_STATES, PRAXIS_EPISTEMIC_BADGE_METADATA, PRAXIS_EPISTEMIC_KINDS, PRAXIS_EXPORT_FORMULA_PREFIXES, PRAXIS_EXPORT_SECURITY_POLICY, PRAXIS_FILE_UPLOAD_PORT, PRAXIS_FOOTER_LINKS_METADATA, PRAXIS_GLOBAL_ACTION_CATALOG, PRAXIS_GLOBAL_CONFIG_BOOTSTRAP_OPTIONS, PRAXIS_GLOBAL_CONFIG_BOOTSTRAP_READY, PRAXIS_GLOBAL_CONFIG_TENANT_RESOLVER, PRAXIS_HERO_BANNER_METADATA, PRAXIS_HTTP_FILE_UPLOAD_PORT_OPTIONS, PRAXIS_I18N_CONFIG, PRAXIS_I18N_TRANSLATOR, PRAXIS_ICON_PICKER_EN_US, PRAXIS_ICON_PICKER_I18N_CONFIG, PRAXIS_ICON_PICKER_I18N_NAMESPACE, PRAXIS_ICON_PICKER_PT_BR, PRAXIS_INTELLIGENCE_EN_US, PRAXIS_INTELLIGENCE_ERROR_CATALOG, PRAXIS_INTELLIGENCE_ERROR_CODES, PRAXIS_INTELLIGENCE_I18N_CONFIG, PRAXIS_INTELLIGENCE_I18N_NAMESPACE, PRAXIS_INTELLIGENCE_JOBS_BASE_PATH, PRAXIS_INTELLIGENCE_JOB_STATUSES, PRAXIS_INTELLIGENCE_JOB_STATUS_METADATA, PRAXIS_INTELLIGENCE_PT_BR, PRAXIS_JSON_LOGIC_OPERATORS, PRAXIS_LAYER_SCALE_DEFAULTS, PRAXIS_LAYER_SCALE_VARS, PRAXIS_LEGAL_NOTICE_METADATA, PRAXIS_LOADING_CTX, PRAXIS_LOADING_RENDERER, PRAXIS_LOGGER_CONFIG, PRAXIS_LOGGER_SINKS, PRAXIS_MICRO_CHART_ENGINE, PRAXIS_MICRO_CHART_ENGINE_DISABLED, PRAXIS_MICRO_VIZ_EN_US, PRAXIS_MICRO_VIZ_I18N_CONFIG, PRAXIS_MICRO_VIZ_I18N_NAMESPACE, PRAXIS_MICRO_VIZ_LEGACY_CHARTS_NAMESPACE, PRAXIS_MICRO_VIZ_PT_BR, PRAXIS_OBSERVABILITY_DASHBOARD_OPTIONS, PRAXIS_OPERATIONAL_ASSISTANT_LAUNCHER, PRAXIS_QUERY_FILTER_EXPRESSION_SCHEMA_VERSION, PRAXIS_QUICK_VIEW_BODY_RENDERER, PRAXIS_QUICK_VIEW_PRESENTER, PRAXIS_RELATED_RESOURCE_OUTLET_AUTHORING_MANIFEST, PRAXIS_RELATED_RESOURCE_OUTLET_COMPONENT_METADATA, PRAXIS_RELATED_RESOURCE_OUTLET_PORTS, PRAXIS_RICH_TEXT_BLOCK_METADATA, PRAXIS_RUNTIME_FORM_VALUE_PROPOSAL_SCHEMA_VERSION, PRAXIS_RUNTIME_FORM_VALUE_RECEIPT_SCHEMA_VERSION, PRAXIS_SESSION_TRANSPORT_OPTIONS, PRAXIS_SHELL_EN_US, PRAXIS_SHELL_I18N_CONFIG, PRAXIS_SHELL_I18N_NAMESPACE, PRAXIS_SHELL_PT_BR, PRAXIS_STATS_EXECUTION_CONFIG, PRAXIS_SUPPRESSION_STATUSES, PRAXIS_TABLE_DETAIL_INLINE_NODE_RESOLVERS, PRAXIS_TABLE_DETAIL_INLINE_RENDERERS, PRAXIS_TABLE_DETAIL_RESOURCE_RESOLVER, PRAXIS_TELEMETRY_TRANSPORT, PRAXIS_TENANT_REALM, PRAXIS_TENANT_REALM_HEADER, PRAXIS_THEME_OPTIONS, PRAXIS_THEME_SURFACE_DEFAULTS, PRAXIS_THEME_SURFACE_VARS, PRAXIS_USER_CONTEXT_SUMMARY_METADATA, PRAXIS_WIDGET_SHELL_ACTION_CONTRIBUTOR, PRAXIS_WORKSPACE_THEME_IDS, PRIVACY_CONSENT_EDITORIAL_SOLUTION, PRIVACY_CONSENT_EDITORIAL_TEMPLATE, PageIntegrityError, PraxisAppShellComponent, PraxisBulkClientService, PraxisCacheInvalidatorService, PraxisCollectionExportService, PraxisCommandPaletteComponent, PraxisContextFilterProjectorService, PraxisContextSwitchGuard, PraxisCore, PraxisCustomizationModeService, PraxisDecisionInspectorService, PraxisEpistemicBadgeComponent, PraxisFooterLinksComponent, PraxisGlobalErrorHandler, PraxisHeroBannerComponent, PraxisHttpCollectionExportProvider, PraxisHttpFileUploadPort, PraxisI18nService, PraxisIconButtonComponent, PraxisIconDirective, PraxisIconPickerComponent, PraxisIntelligenceJobError, PraxisIntelligenceJobStatusComponent, PraxisIntelligenceJobsService, PraxisJsonLogicError, PraxisJsonLogicService, PraxisKeepAliveTabDirective, PraxisLayerScaleStyleService, PraxisLegalNoticeComponent, PraxisLoadingInterceptor, PraxisMicroTooltipOverlayService, PraxisMicroVizHostComponent, PraxisMicroVizIdSequenceService, PraxisOperationalAssistantLaunchService, PraxisPageReconcilerService, PraxisQuickViewTriggerDirective, PraxisRelatedResourceOutletComponent, PraxisRelatedResourceOutletConfigEditorComponent, PraxisResourceIdentityComponent, PraxisRichTextBlockComponent, PraxisRuntimeComponentObservationRegistryService, PraxisRuntimeFormValueSessionJournal, PraxisSafeBlobPreviewService, PraxisSessionTransportService, PraxisStatsExecutionService, PraxisSurfaceHostComponent, PraxisThemeService, PraxisUserContextSummaryComponent, PraxisWidgetEventBus, PraxisWorkspaceQueryContextService, QUICK_VIEW_EMPLOYEE_BINDING_FIXTURE, QUICK_VIEW_EMPLOYEE_RECORD_FIXTURE, QUICK_VIEW_EMPLOYEE_SCHEMA_FIXTURE, QUICK_VIEW_EMPLOYEE_SURFACES_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_BINDING_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_RECORD_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_SCHEMA_FIXTURE, QUICK_VIEW_SERVICE_COMPONENT_SURFACES_FIXTURE, RESOURCE_DISCOVERY_I18N_CONFIG, RESOURCE_DISCOVERY_I18N_NAMESPACE, RULE_PROPERTY_SCHEMA, RelatedResourceSurfaceResolverService, RemoteConfigStorage, ResourceActionOpenAdapterService, ResourceDiscoveryService, ResourceQuickConnectComponent, ResourceQuickViewService, ResourceRecordOpenError, ResourceRecordOpenService, ResourceSurfaceOpenAdapterService, SAFE_INLINE_PREVIEW_MIME_TYPES, SCHEMA_METADATA_CLIENT_OPTIONS, SCHEMA_VIEWER_CONTEXT, SETTINGS_EDITOR_SECTIONS_HOSTED, SETTINGS_PANEL_BRIDGE, SETTINGS_PANEL_DATA, SIDE_PANEL_PRESET_WIDTHS, STEPPER_CONFIG_EDITOR, SURFACE_DRAWER_BRIDGE, SURFACE_DRAWER_CONTENT_DATA, SURFACE_DRAWER_REF, SURFACE_NAVIGATION_I18N_CONFIG, SURFACE_NAVIGATION_I18N_NAMESPACE, SURFACE_OPEN_I18N_CONFIG, SURFACE_OPEN_I18N_NAMESPACE, SURFACE_OPEN_PRESETS, SafeExpressionEvaluator, SchemaMetadataClient, SchemaNormalizerService, SchemaViewerComponent, SettingsSectionTabsComponent, SurfaceBindingRuntimeService, SurfaceNavigationError, SurfaceOpenActionEditorComponent, SurfaceOpenMaterializerService, SurfaceOutletRegistryService, TABLE_CONFIG_EDITOR, TableConfigService, TelemetryLoggerSink, TelemetryService, UiLayoutLifecycleContractError, UiLayoutLifecycleHttpError, UiLayoutLifecycleService, ValidationPattern, WidgetPageCompositionFactory, WidgetPageDataSourceRuntimeService, WidgetPageStateRuntimeService, WidgetShellComponent, applyDeclarativeValuePipe, applyLocalCustomizations$2 as applyLocalCustomizations, applyLocalCustomizations$1 as applyLocalFormCustomizations, applyRuntimeFormValueProposal, areParameterValuesEqual, areRuntimeValuesEqual, assertPraxisCollectionExportArtifact, assertPraxisRuntimeComponentObservationSerializable, attachAnalyticsEpistemicMetadata, attachAnalyticsSuppressionMetadata, buildAngularValidators, buildApiUrl, buildBaseColumnFromDef, buildBaseFormField, buildFormConfigFromEditorialTemplate, buildGovernedPageTarget, buildHeaders, buildPageKey, buildPraxisActionControlCss, buildPraxisCollectionSearchCss, buildPraxisEffectDistinctKey, buildPraxisLayerScaleCss, buildPraxisTenantRealmHeaders, buildPraxisThemeSurfaceCss, buildPublishedPageIdentity, buildRulesStudioDeepLink, buildSchemaId, buildSchemaIdStorageKeySegment, buildSchemaSemanticColumnRenderer, buildSidePanelStorageKey, buildValidatorsFromValidatorOptions, calibrateFieldMetadataFromSemantics, canExpandSidePanel, canOrganizeFormLayoutBySemantics, cancelIfCpfInvalidHook, canonicalJsonSha256, canonicalJsonStringify, clampRange, clampSidePanelWidthPx, classifyEntityLookupResult, cloneBoundedUiLayoutJsonDocument, cloneInputsPreservingLiveReferences, clonePraxisRuntimeComponentObservation, cloneRuntimeValue, cloneTableConfig, cloneUiLayoutJsonDocument, cnpjAlphaValidator, coerceBulkTargetsWireIds, coerceBulkWireId, collapseWhitespace, composeHeadersWithVersion, computePraxisMicroVizSignature, computePraxisStackedBarSegmentWidthPct, conditionalAsyncValidator, containsEphemeralQuickViewRuntimeValue, convertFormLayoutToConfig, copyPageAuthoringDocument, createCorporateLoggerConfig, createCorporateObservabilityOptions, createCpfCnpjValidator, createDefaultFormConfig, createDefaultTableConfig, createDynamicRecord, createEmptyFormConfig, createEmptyNavigationGroupsAuthoringDocument, createEmptyRichContentDocument, createFieldLayoutItem, createPersistedPage, createPraxisTestingNoopHttpInterceptor, createSilentPraxisLoadingContext, customAsyncValidatorFn, customValidatorFn, debounceAsyncValidator, decodeNavigationGroupsAuthoringDocument, decodePageAuthoringDocument, deepMerge, deriveFailClosedEpistemicMetaFromError, derivePageChildRuntimeId, domainKnowledgeTimelineToRichContentDocument, domainRuleTimelineToRichContentDocument, encodeNavigationGroupsAuthoringDocument, encodePageAuthoringDocument, enrichGovernanceItemsWithFieldSchemas, enrichRuleSetsWithFieldSchemas, ensureIds, ensureNoConflictsHookFactory, ensurePageIds, escapePraxisExportCell, evaluateFieldAccess, evaluateGovernanceItemsFieldAccess, evaluatePraxisKpiDerivation, extractAnalyticsEpistemicMetadata, extractAnalyticsSuppressionMetadata, extractDomainCatalogRuleCatalog, extractDomainRuleDocumentation, extractExplicitPraxisIntelligenceErrorCode, extractNormalizedError, extractPraxisApiPathPrefix, extractRecordId, extractRuleViolationDiagnostics, fetchWithETag, fileTypeValidator, fillUndefined, findBuiltinWidgetShellPreset, formIdentityIssues, formatAffixedPresentationText, formatPraxisEpistemicNumber, formatPraxisQValueFdr, formatPraxisStackedBarPercentage, formatPraxisWaterfallSignedValue, formatTruncatedProvenanceHash, generateBulkIdempotencyKey, generateId, getDefaultFormHints, getEditorialCompliancePresetById, getEditorialFormTemplateById, getEditorialFormTemplateCatalog, getEditorialSolutionById, getEditorialSolutionCatalog, getEditorialSolutionPresetById, getEditorialThemePresetById, getEssentialConfig, getFieldMetadataCapabilities, getFormColumnFieldNames, getFormLayoutFieldNames, getGlobalActionCatalog, getGlobalActionPayloadActualType, getGlobalActionPayloadTypeIssue, getGlobalActionProviderEvidence, getGlobalActionUiSchema, getMissingGlobalActionPayloadKeys, getPraxisEpistemicKindIcon, getPraxisMicroToneGradientStops, getPraxisStackedBarPaintStyle, getPraxisTableCellVisualizationConstraint, getPraxisTableCellVisualizationGuidance, getReferencedFieldMetadata, getRequiredGlobalActionPayloadKeys, getTextTransformer, getWidgetShellActionIdError, hasMeaningfulGlobalActionPayloadValue, hasPraxisCollectionExportArtifact, hasSemanticFieldCalibrationDiff, humanizeCatalogFieldName, inferDomainSemanticHexColor, inferDomainSemanticIcon, inferDomainSemanticTone, inferSemanticFieldControlType, inferSemanticFieldGroup, inferSemanticFieldWidth, instanceKeyFor, interpolatePraxisTranslation, isAllowedEditorialContentFormat, isAllowedEditorialHref, isBulkExecutionTerminal, isCanonicalDecisionStage, isCssTextTransform, isDecisionInspectorLensId, isDomainRuleSnapshotProblemResponse, isDynamicDataRecord, isEditorialComponentMeta, isEmptyRuntimeFormFieldValue, isEnterpriseRuntimeSnapshotReady, isEntityLookupMultiplePayloadMode, isEntityLookupPayloadMode, isEntityLookupPayloadModeCompatible, isEntityLookupResultSelectable, isEntityLookupSinglePayloadMode, isFormLayoutItem, isGlobalActionProviderOperational, isGlobalActionRef, isGovernedPageUuid, isInlineFilterControlType, isLookupDialogSize, isLookupFilterFieldType, isLookupFilterOperator, isMaskedOrRedactedRuntimeValue, isMaskedPresentationToken, isPraxisContextualHeaderName, isPraxisEpistemicAvailabilityState, isPraxisEpistemicKind, isPraxisI18nMessageDescriptor, isPraxisIntelligenceErrorCode, isPraxisIntelligenceJobStatus, isPraxisIntelligenceJobTerminal, isPraxisMicroVisualizationRenderable, isPraxisPresentationVisualizationTableSafe, isPraxisRuntimeGlobalActionEffect, isPraxisSuppressionStatusSuppressed, isPraxisWorkspaceThemeId, isProgrammaticDateRangePreset, isRangeValidForFilter, isRequiredGlobalActionParamPayloadMissing, isRequiredGlobalActionPayloadMissing, isResourceQuickViewAnchorValid, isSafeBlobImageUrl, isSafeInlinePreviewMimeType, isSafeLegalBasisUrl, isSafeMicroSvgMarkup, isSafePraxisFileId, isSidePanelPixelWidth, isStaticDateRangePreset, isSurfaceNavigationError, isTableConfigV2, isUnresolvedTemplateToken, isValidFormConfig, isValidTableConfig, legacyCnpjValidator, legacyCpfValidator, logOnErrorHook, mapCatalogFieldsToMetadata, mapFieldDefinitionToMetadata, mapFieldDefinitionsToMetadata, markGlobalActionProviderOperational, matchFieldValidator, materializeFormLayoutFromMetadata, materializeGovernedPagePreview, materializeGovernedPaletteColors, materializeGovernedPaletteEntries, materializeResourceIdentity, maxFileSizeValidator, mergeDomainRuleDocumentation, mergeFieldMetadata, mergePraxisI18nConfigs, mergeTableConfigs, migrateFormLayoutRule, migrateLegacyCompositionLink, migrateLegacyCompositionLinks, minWordsValidator, nestedPortPathIdentity, normalizeCardMediaAspectRatio, normalizeColumnRendererQuickView, normalizeConfigPersistenceStrategy, normalizeControlTypeKey, normalizeControlTypeToken, normalizeEditorialLink, normalizeEnd, normalizeFieldAccessMetadata, normalizeFieldConstraints, normalizeFieldPresentation, normalizeFieldPresentationRules, normalizeFormConfig, normalizeFormLayoutItems, normalizeFormMetadata, normalizeGlobalActionRef$1 as normalizeGlobalActionRef, normalizeLayoutPolicy, normalizeLookupFilterRequest, normalizePath, normalizePraxisDataQueryContext, normalizePraxisEffectPolicy, normalizePraxisEpistemicAvailabilityState, normalizePraxisEpistemicKind, normalizePraxisEpistemicMeta, normalizePraxisHexColor, normalizePraxisIconLigature, normalizePraxisIntelligenceErrorCode, normalizePraxisNigriniConformity, normalizePraxisPresentationVisualization, normalizePraxisQueryFilterExpression, normalizePraxisQueryFilterNode, normalizePraxisResourcePath, normalizePraxisStoredFileMetadata, normalizePresentationAffix, normalizePreviewMimeType, normalizeQuickFilterCriteria, normalizeQuickFilterExpression, normalizeQuickFilterTone, normalizeReactiveDeterminations, normalizeResourceAvailabilityReasonCode, normalizeResourceIdentityContract, normalizeResourceQuickFilterItem, normalizeResourceQuickFilterList, normalizeResourceQuickViewBinding, normalizeResourceRecordOpenReference, normalizeResourceScopeId, normalizeRuleDocumentation, normalizeRuleLegalBasisList, normalizeScalarArrayValue, normalizeStart, normalizeStringMap, normalizeSurfaceOperationContext, normalizeUnknownError, normalizeWidgetEventPath, notifySuccessHook, organizeFormLayoutBySemantics, parseConfigPersistenceError, parseJsonResponseOrEmpty, parseSidePanelWidthPx, praxisLoadingInterceptorFn, praxisSessionCredentialsInterceptor, prefillFromContextHook, prepareCanvasArrangement, previewRuntimeFormValueProposal, projectComponentAuthoringManifest, projectGroupedCommandPartialRows, provideDefaultFormHooks, provideFieldSelectorRegistryBase, provideFieldSelectorRegistryOverride, provideFieldSelectorRegistryRuntime, provideFormHookPresets, provideFormHooks, provideGlobalActionCatalog, provideGlobalActionHandler, provideGlobalConfig, provideGlobalConfigReady, provideGlobalConfigSeed, provideGlobalConfigTenant, provideHookResolvers, provideHookWhitelist, provideOverlayDecisionMatrix, providePraxisAnalyticsGlobalActions, providePraxisCollectionExportProvider, providePraxisDynamicPageMetadata, providePraxisEnterpriseRuntimeContext, providePraxisEpistemicBadgeMetadata, providePraxisFileUploadPort, providePraxisFooterLinksMetadata, providePraxisGlobalActionCatalog, providePraxisGlobalActions, providePraxisGlobalConfigBootstrap, providePraxisHeroBannerMetadata, providePraxisHttpCollectionExportProvider, providePraxisHttpFileUploadPort, providePraxisHttpLoading, providePraxisI18n, providePraxisI18nConfig, providePraxisI18nTranslator, providePraxisIconDefaults, providePraxisIconPickerI18n, providePraxisIntelligenceI18n, providePraxisIntelligenceJobStatusMetadata, providePraxisJsonLogicOperator, providePraxisJsonLogicOperatorOverride, providePraxisLegalNoticeMetadata, providePraxisLoadingDefaults, providePraxisLogging, providePraxisMicroVizI18n, providePraxisRelatedResourceOutletMetadata, providePraxisRichTextBlockMetadata, providePraxisSessionTransport, providePraxisShellI18n, providePraxisTelemetry, providePraxisTenantRealm, providePraxisTestingDefaults, providePraxisTheme, providePraxisToastGlobalActions, providePraxisUserContextSummaryMetadata, provideRemoteGlobalConfig, readAnalyticsEpistemicMetadata, readAnalyticsSuppressionMetadata, readPersistedSidePanelWidth, readPraxisExportValue, readStrongResourceEtag, reconcileFieldQuickViewBinding, reconcileFilterConfig, reconcileFormConfig, reconcileTableConfig, registerPraxisRuntimeComponentObservation, removeDiacritics, reportTelemetryHookFactory, requiredCheckedValidator, requiredPresenceValidator, resolveAffixedPresentationParts, resolveBuiltinPresets, resolveBuiltinWidgetShellAppearance, resolveBulkWireIdKindFromSchema, resolveColumnTypeFromFieldDefinition, resolveControlTypeAlias, resolveDataField, resolveDateRangeShortcutPreset, resolveDateRangeShortcutPresets, resolveDefaultValuePresentationFormat, resolveEntityLookupPayloadMode, resolveExpandedSidePanelWidthPx, resolveFieldPresentation, resolveFieldQuickViewBinding, resolveGroupedCommandPartialRowSpans, resolveHidden, resolveHumanFieldLabel, resolveIconPickerLabel, resolveInlineFilterControlType, resolveInlineFilterControlTypeToBaseControlType, resolveLoggerConfig, resolveObservabilityOptions, resolveOffset, resolveOrder, resolvePraxisCollectionExportItems, resolvePraxisExportFields, resolvePraxisExportScope, resolvePraxisFileOperationOptions, resolvePraxisFilterCriteria, resolvePraxisI18nDocument, resolvePraxisIconPickerMessage, resolvePraxisIntelligenceErrorCodeFromPayload, resolvePraxisIntelligenceErrorCodeFromStatus, resolvePraxisIntelligenceMessage, resolvePraxisMicroVisualizationTone, resolvePraxisMicroVizMessage, resolvePraxisMicroWaterfallSteps, resolvePraxisSchemasFilteredUrl, resolvePraxisStackedBarAriaLabel, resolvePraxisStackedBarSegments, resolvePraxisStackedBarTotal, resolvePraxisTenantRealmFromLocation, resolveQuickViewAnchorKey, resolveResourceAvailabilityReasonKey, resolveResourceIdentityContract, resolveResourceQuickViewTarget, resolveSchemaConditionalRenderers, resolveSidePanelPresetWidth, resolveSidePanelPresetWidthPx, resolveSidePanelViewportWidth, resolveSpan, resolveTextMaskFormat, resolveTextMaskFormatFromFieldDefinition, resolveValuePresentation, resolveValuePresentationLocale, resolveWidgetPageLayoutPreset, samePageSourceReference, sanitizeIntelligenceDetailText, scopeKeyByTenantRealm, serializeEntityLookupValueForPayload, serializeOptionSourceFilterRequest, serializePraxisCollectionToCsv, serializePraxisCollectionToExcel, serializePraxisCollectionToJson, shouldShowPraxisEpistemicSignificance, slugify, staticDateRangePresetToPreset, stripDraftClearedValues, stripMasksHook, supportsConfigDocuments, supportsImplicitValuePresentation, syncWithServerMetadata, synthesizeScopeBarQuickFilterItems, textSha256, toCamel, toCapitalize, toKebab, toPascal, toSentenceCase, toSnake, toTitleCase, translateDecisionInspector, translateResourceAvailabilityReason, translateResourceDiscoveryText, translateSurfaceNavigationRejected, translateSurfaceOpenFailed, translateUnavailableWorkflowMessage, trim, uiLayoutJsonIdentity, undoRuntimeFormValueApply, uniqueAsyncValidator, upsertNavigationGroupEntry, upsertPageNavigationBinding, urlValidator, validateCanvasArrangement, validateGlobalActionRef, validateGlobalActionRefs, validatePageAuthoringDocument, validatePageSourceReference, validateResourceQuickViewBinding, validateRuntimeFormValueTargetIdentity, validateRuntimeNavigationMenuNodes, withFormConfigSections, withMessage, withPraxisHttpLoading, writePersistedSidePanelWidth };
|