Primeiro commit do projeto Angular

This commit is contained in:
2026-03-14 20:41:55 +00:00
parent 9bebe1de72
commit 94f4f46395
22413 changed files with 3221690 additions and 0 deletions
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,6 @@
{
"workspace": {
"root": "D:\\Trabalhos\\Metacaseformacao\\form_metacase",
"uuid": "2a7f00f4-d455-41fe-a2eb-54f5bc5eb601"
}
}
@@ -0,0 +1,209 @@
import {
APP_BASE_HREF,
AsyncPipe,
BrowserPlatformLocation,
CommonModule,
CurrencyPipe,
DATE_PIPE_DEFAULT_OPTIONS,
DATE_PIPE_DEFAULT_TIMEZONE,
DatePipe,
DecimalPipe,
DomAdapter,
FormStyle,
FormatWidth,
HashLocationStrategy,
I18nPluralPipe,
I18nSelectPipe,
IMAGE_LOADER,
JsonPipe,
KeyValuePipe,
LOCATION_INITIALIZED,
Location,
LocationStrategy,
LowerCasePipe,
NavigationAdapterForLocation,
NgClass,
NgComponentOutlet,
NgForOf,
NgForOfContext,
NgIf,
NgIfContext,
NgLocaleLocalization,
NgLocalization,
NgOptimizedImage,
NgPlural,
NgPluralCase,
NgStyle,
NgSwitch,
NgSwitchCase,
NgSwitchDefault,
NgTemplateOutlet,
NoTrailingSlashPathLocationStrategy,
NullViewportScroller,
NumberFormatStyle,
NumberSymbol,
PLATFORM_BROWSER_ID,
PLATFORM_SERVER_ID,
PRECOMMIT_HANDLER_SUPPORTED,
PRECONNECT_CHECK_BLOCKLIST,
PathLocationStrategy,
PercentPipe,
PlatformLocation,
PlatformNavigation,
Plural,
SlicePipe,
TitleCasePipe,
TrailingSlashPathLocationStrategy,
TranslationWidth,
UpperCasePipe,
VERSION,
ViewportScroller,
WeekDay,
XhrFactory,
formatCurrency,
formatDate,
formatNumber,
formatPercent,
getCurrencySymbol,
getDOM,
getLocaleCurrencyCode,
getLocaleCurrencyName,
getLocaleCurrencySymbol,
getLocaleDateFormat,
getLocaleDateTimeFormat,
getLocaleDayNames,
getLocaleDayPeriods,
getLocaleDirection,
getLocaleEraNames,
getLocaleExtraDayPeriodRules,
getLocaleExtraDayPeriods,
getLocaleFirstDayOfWeek,
getLocaleId,
getLocaleMonthNames,
getLocaleNumberFormat,
getLocaleNumberSymbol,
getLocalePluralCase,
getLocaleTimeFormat,
getLocaleWeekEndRange,
getNumberOfCurrencyDigits,
isPlatformBrowser,
isPlatformServer,
normalizeQueryParams,
parseCookieValue,
provideCloudflareLoader,
provideCloudinaryLoader,
provideImageKitLoader,
provideImgixLoader,
provideNetlifyLoader,
registerLocaleData,
setRootDomAdapter
} from "./chunk-ASHOWUOS.js";
import {
IMAGE_CONFIG
} from "./chunk-BODXJ6DH.js";
import {
DOCUMENT
} from "./chunk-D7FUV64K.js";
export {
APP_BASE_HREF,
AsyncPipe,
BrowserPlatformLocation,
CommonModule,
CurrencyPipe,
DATE_PIPE_DEFAULT_OPTIONS,
DATE_PIPE_DEFAULT_TIMEZONE,
DOCUMENT,
DatePipe,
DecimalPipe,
FormStyle,
FormatWidth,
HashLocationStrategy,
I18nPluralPipe,
I18nSelectPipe,
IMAGE_CONFIG,
IMAGE_LOADER,
JsonPipe,
KeyValuePipe,
LOCATION_INITIALIZED,
Location,
LocationStrategy,
LowerCasePipe,
NgClass,
NgComponentOutlet,
NgForOf as NgFor,
NgForOf,
NgForOfContext,
NgIf,
NgIfContext,
NgLocaleLocalization,
NgLocalization,
NgOptimizedImage,
NgPlural,
NgPluralCase,
NgStyle,
NgSwitch,
NgSwitchCase,
NgSwitchDefault,
NgTemplateOutlet,
NoTrailingSlashPathLocationStrategy,
NumberFormatStyle,
NumberSymbol,
PRECONNECT_CHECK_BLOCKLIST,
PathLocationStrategy,
PercentPipe,
PlatformLocation,
PlatformNavigation,
Plural,
SlicePipe,
TitleCasePipe,
TrailingSlashPathLocationStrategy,
TranslationWidth,
UpperCasePipe,
VERSION,
ViewportScroller,
WeekDay,
XhrFactory,
formatCurrency,
formatDate,
formatNumber,
formatPercent,
getCurrencySymbol,
getLocaleCurrencyCode,
getLocaleCurrencyName,
getLocaleCurrencySymbol,
getLocaleDateFormat,
getLocaleDateTimeFormat,
getLocaleDayNames,
getLocaleDayPeriods,
getLocaleDirection,
getLocaleEraNames,
getLocaleExtraDayPeriodRules,
getLocaleExtraDayPeriods,
getLocaleFirstDayOfWeek,
getLocaleId,
getLocaleMonthNames,
getLocaleNumberFormat,
getLocaleNumberSymbol,
getLocalePluralCase,
getLocaleTimeFormat,
getLocaleWeekEndRange,
getNumberOfCurrencyDigits,
isPlatformBrowser,
isPlatformServer,
provideCloudflareLoader,
provideCloudinaryLoader,
provideImageKitLoader,
provideImgixLoader,
provideNetlifyLoader,
registerLocaleData,
DomAdapter as ɵDomAdapter,
NavigationAdapterForLocation as ɵNavigationAdapterForLocation,
NullViewportScroller as ɵNullViewportScroller,
PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID,
PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID,
PRECOMMIT_HANDLER_SUPPORTED as ɵPRECOMMIT_HANDLER_SUPPORTED,
getDOM as ɵgetDOM,
normalizeQueryParams as ɵnormalizeQueryParams,
parseCookieValue as ɵparseCookieValue,
setRootDomAdapter as ɵsetRootDomAdapter
};
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}
@@ -0,0 +1,264 @@
import {
DestroyRef,
Injector,
Observable,
PendingTasks,
ReplaySubject,
RuntimeError,
__spreadProps,
__spreadValues,
assertInInjectionContext,
assertNotInReactiveContext,
computed,
effect,
encapsulateResourceError,
getOutputDestroyRef,
inject,
resource,
signal,
takeUntil,
untracked
} from "./chunk-D7FUV64K.js";
// node_modules/@angular/core/fesm2022/rxjs-interop.mjs
function takeUntilDestroyed(destroyRef) {
if (!destroyRef) {
ngDevMode && assertInInjectionContext(takeUntilDestroyed);
destroyRef = inject(DestroyRef);
}
const destroyed$ = new Observable((subscriber) => {
if (destroyRef.destroyed) {
subscriber.next();
return;
}
const unregisterFn = destroyRef.onDestroy(subscriber.next.bind(subscriber));
return unregisterFn;
});
return (source) => {
return source.pipe(takeUntil(destroyed$));
};
}
var OutputFromObservableRef = class {
source;
destroyed = false;
destroyRef = inject(DestroyRef);
constructor(source) {
this.source = source;
this.destroyRef.onDestroy(() => {
this.destroyed = true;
});
}
subscribe(callbackFn) {
if (this.destroyed) {
throw new RuntimeError(953, ngDevMode && "Unexpected subscription to destroyed `OutputRef`. The owning directive/component is destroyed.");
}
const subscription = this.source.pipe(takeUntilDestroyed(this.destroyRef)).subscribe({
next: (value) => callbackFn(value)
});
return {
unsubscribe: () => subscription.unsubscribe()
};
}
};
function outputFromObservable(observable, opts) {
ngDevMode && assertInInjectionContext(outputFromObservable);
return new OutputFromObservableRef(observable);
}
function outputToObservable(ref) {
const destroyRef = getOutputDestroyRef(ref);
return new Observable((observer) => {
const unregisterOnDestroy = destroyRef?.onDestroy(() => observer.complete());
const subscription = ref.subscribe((v) => observer.next(v));
return () => {
subscription.unsubscribe();
unregisterOnDestroy?.();
};
});
}
function toObservable(source, options) {
if (ngDevMode && !options?.injector) {
assertInInjectionContext(toObservable);
}
const injector = options?.injector ?? inject(Injector);
const subject = new ReplaySubject(1);
const watcher = effect(() => {
let value;
try {
value = source();
} catch (err) {
untracked(() => subject.error(err));
return;
}
untracked(() => subject.next(value));
}, {
injector,
manualCleanup: true
});
injector.get(DestroyRef).onDestroy(() => {
watcher.destroy();
subject.complete();
});
return subject.asObservable();
}
function toSignal(source, options) {
typeof ngDevMode !== "undefined" && ngDevMode && assertNotInReactiveContext(toSignal, "Invoking `toSignal` causes new subscriptions every time. Consider moving `toSignal` outside of the reactive context and read the signal value where needed.");
const requiresCleanup = !options?.manualCleanup;
if (ngDevMode && requiresCleanup && !options?.injector) {
assertInInjectionContext(toSignal);
}
const cleanupRef = requiresCleanup ? options?.injector?.get(DestroyRef) ?? inject(DestroyRef) : null;
const equal = makeToSignalEqual(options?.equal);
let state;
if (options?.requireSync) {
state = signal({
kind: 0
}, __spreadValues({
equal
}, ngDevMode ? createDebugNameObject(options?.debugName, "state") : void 0));
} else {
state = signal({
kind: 1,
value: options?.initialValue
}, __spreadValues({
equal
}, ngDevMode ? createDebugNameObject(options?.debugName, "state") : void 0));
}
let destroyUnregisterFn;
const sub = source.subscribe({
next: (value) => state.set({
kind: 1,
value
}),
error: (error) => {
state.set({
kind: 2,
error
});
destroyUnregisterFn?.();
},
complete: () => {
destroyUnregisterFn?.();
}
});
if (options?.requireSync && state().kind === 0) {
throw new RuntimeError(601, (typeof ngDevMode === "undefined" || ngDevMode) && "`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.");
}
destroyUnregisterFn = cleanupRef?.onDestroy(sub.unsubscribe.bind(sub));
return computed(() => {
const current = state();
switch (current.kind) {
case 1:
return current.value;
case 2:
throw current.error;
case 0:
throw new RuntimeError(601, (typeof ngDevMode === "undefined" || ngDevMode) && "`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.");
}
}, __spreadValues({
equal: options?.equal
}, ngDevMode ? createDebugNameObject(options?.debugName, "source") : void 0));
}
function makeToSignalEqual(userEquality = Object.is) {
return (a, b) => a.kind === 1 && b.kind === 1 && userEquality(a.value, b.value);
}
function createDebugNameObject(toSignalDebugName, internalSignalDebugName) {
return {
debugName: `toSignal${toSignalDebugName ? "#" + toSignalDebugName : ""}.${internalSignalDebugName}`
};
}
function pendingUntilEvent(injector) {
if (injector === void 0) {
ngDevMode && assertInInjectionContext(pendingUntilEvent);
injector = inject(Injector);
}
const taskService = injector.get(PendingTasks);
return (sourceObservable) => {
return new Observable((originalSubscriber) => {
const removeTask = taskService.add();
let cleanedUp = false;
function cleanupTask() {
if (cleanedUp) {
return;
}
removeTask();
cleanedUp = true;
}
const innerSubscription = sourceObservable.subscribe({
next: (v) => {
originalSubscriber.next(v);
cleanupTask();
},
complete: () => {
originalSubscriber.complete();
cleanupTask();
},
error: (e) => {
originalSubscriber.error(e);
cleanupTask();
}
});
innerSubscription.add(() => {
originalSubscriber.unsubscribe();
cleanupTask();
});
return innerSubscription;
});
};
}
function rxResource(opts) {
if (ngDevMode && !opts?.injector) {
assertInInjectionContext(rxResource);
}
return resource(__spreadProps(__spreadValues({}, opts), {
loader: void 0,
stream: (params) => {
let sub;
const onAbort = () => sub?.unsubscribe();
params.abortSignal.addEventListener("abort", onAbort);
const stream = signal({
value: void 0
});
let resolve;
const promise = new Promise((r) => resolve = r);
function send(value) {
stream.set(value);
resolve?.(stream);
resolve = void 0;
}
const streamFn = opts.stream ?? opts.loader;
if (streamFn === void 0) {
throw new RuntimeError(990, ngDevMode && `Must provide \`stream\` option.`);
}
sub = streamFn(params).subscribe({
next: (value) => send({
value
}),
error: (error) => {
send({
error: encapsulateResourceError(error)
});
params.abortSignal.removeEventListener("abort", onAbort);
},
complete: () => {
if (resolve) {
send({
error: new RuntimeError(991, ngDevMode && "Resource completed before producing a value")
});
}
params.abortSignal.removeEventListener("abort", onAbort);
}
});
return promise;
}
}));
}
export {
outputFromObservable,
outputToObservable,
pendingUntilEvent,
rxResource,
takeUntilDestroyed,
toObservable,
toSignal
};
//# sourceMappingURL=@angular_core_rxjs-interop.js.map
File diff suppressed because one or more lines are too long
@@ -0,0 +1,80 @@
import {
BrowserDomAdapter,
BrowserGetTestability,
BrowserModule,
By,
DomEventsPlugin,
DomRendererFactory2,
DomSanitizer,
DomSanitizerImpl,
EVENT_MANAGER_PLUGINS,
EventManager,
EventManagerPlugin,
HAMMER_GESTURE_CONFIG,
HAMMER_LOADER,
HammerGestureConfig,
HammerGesturesPlugin,
HammerModule,
HydrationFeatureKind,
KeyEventsPlugin,
Meta,
REMOVE_STYLES_ON_COMPONENT_DESTROY,
SharedStylesHost,
Title,
VERSION,
bootstrapApplication,
createApplication,
disableDebugTools,
enableDebugTools,
platformBrowser,
provideClientHydration,
provideProtractorTestingSupport,
withEventReplay,
withHttpTransferCacheOptions,
withI18nSupport,
withIncrementalHydration,
withNoHttpTransferCache
} from "./chunk-4PFH2A2L.js";
import {
getDOM
} from "./chunk-ASHOWUOS.js";
import "./chunk-BODXJ6DH.js";
import "./chunk-D7FUV64K.js";
export {
BrowserModule,
By,
DomSanitizer,
EVENT_MANAGER_PLUGINS,
EventManager,
EventManagerPlugin,
HAMMER_GESTURE_CONFIG,
HAMMER_LOADER,
HammerGestureConfig,
HammerModule,
HydrationFeatureKind,
Meta,
REMOVE_STYLES_ON_COMPONENT_DESTROY,
Title,
VERSION,
bootstrapApplication,
createApplication,
disableDebugTools,
enableDebugTools,
platformBrowser,
provideClientHydration,
provideProtractorTestingSupport,
withEventReplay,
withHttpTransferCacheOptions,
withI18nSupport,
withIncrementalHydration,
withNoHttpTransferCache,
BrowserDomAdapter as ɵBrowserDomAdapter,
BrowserGetTestability as ɵBrowserGetTestability,
DomEventsPlugin as ɵDomEventsPlugin,
DomRendererFactory2 as ɵDomRendererFactory2,
DomSanitizerImpl as ɵDomSanitizerImpl,
HammerGesturesPlugin as ɵHammerGesturesPlugin,
KeyEventsPlugin as ɵKeyEventsPlugin,
SharedStylesHost as ɵSharedStylesHost,
getDOM as ɵgetDOM
};
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,52 @@
{
"hash": "25b88001",
"configHash": "66ca9af7",
"lockfileHash": "1ab722c3",
"browserHash": "9375a691",
"optimized": {
"@angular/common": {
"src": "../../../../../../node_modules/@angular/common/fesm2022/common.mjs",
"file": "@angular_common.js",
"fileHash": "e03733df",
"needsInterop": false
},
"@angular/core": {
"src": "../../../../../../node_modules/@angular/core/fesm2022/core.mjs",
"file": "@angular_core.js",
"fileHash": "d3b020c4",
"needsInterop": false
},
"@angular/core/rxjs-interop": {
"src": "../../../../../../node_modules/@angular/core/fesm2022/rxjs-interop.mjs",
"file": "@angular_core_rxjs-interop.js",
"fileHash": "e7776fa0",
"needsInterop": false
},
"@angular/platform-browser": {
"src": "../../../../../../node_modules/@angular/platform-browser/fesm2022/platform-browser.mjs",
"file": "@angular_platform-browser.js",
"fileHash": "6eedb8c4",
"needsInterop": false
},
"@angular/router": {
"src": "../../../../../../node_modules/@angular/router/fesm2022/router.mjs",
"file": "@angular_router.js",
"fileHash": "8cf9a58c",
"needsInterop": false
}
},
"chunks": {
"chunk-4PFH2A2L": {
"file": "chunk-4PFH2A2L.js"
},
"chunk-ASHOWUOS": {
"file": "chunk-ASHOWUOS.js"
},
"chunk-BODXJ6DH": {
"file": "chunk-BODXJ6DH.js"
},
"chunk-D7FUV64K": {
"file": "chunk-D7FUV64K.js"
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,3 @@
{
"type": "module"
}