aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src
diff options
context:
space:
mode:
authorNevena Bojovic <nenabojov@gmail.com>2022-03-01 22:05:25 +0100
committerNevena Bojovic <nenabojov@gmail.com>2022-03-01 22:05:25 +0100
commit6555fb80fdd8f6a5d201efadec3189d1244830a0 (patch)
treec1aa1c5aedc634ad1ea7fad4847884d559b51290 /sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src
parent7d3640f824f46490b47bd95f1c5a16644f712068 (diff)
Izbrisala bin, obj i node-modules.
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/engine.d.ts77
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/engine.js295
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/index.d.ts10
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/index.js22
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/interface.d.ts157
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/interface.js9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/schematic.d.ts24
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/schematic.js67
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/exception/exception.d.ts31
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/exception/exception.js58
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/format-validator.d.ts10
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/format-validator.js20
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/html-selector.d.ts9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/html-selector.js44
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/index.d.ts11
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/index.js17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/path.d.ts9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/path.js24
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/index.d.ts41
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/index.js75
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/base.d.ts38
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/base.js155
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/call.d.ts22
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/call.js110
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/move.d.ts9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/move.js37
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/random.d.ts14
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/random.js40
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/rename.d.ts10
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/rename.js26
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/schematic.d.ts23
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/schematic.js51
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/template.d.ts39
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/template.js151
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/url.d.ts9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/url.js16
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/dryrun.d.ts50
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/dryrun.js80
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.d.ts29
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.js76
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/sink.d.ts35
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/sink.js116
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/action.d.ts50
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/action.js140
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/delegate.d.ts30
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/delegate.js71
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/empty.d.ts11
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/empty.js17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/entry.d.ts25
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/entry.js37
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/host-tree.d.ts63
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/host-tree.js406
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/interface.d.ts61
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/interface.js47
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/null.d.ts43
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/null.js92
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/recorder.d.ts29
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/recorder.js74
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/scoped.d.ts47
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/scoped.js169
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/static.d.ts13
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/static.js38
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/environment-options.d.ts8
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/environment-options.js20
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/linked-list.d.ts19
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/linked-list.js68
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/update-buffer.d.ts118
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/update-buffer.js324
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/base.d.ts51
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/base.js138
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/index.d.ts9
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/index.js21
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/interface.d.ts27
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/interface.js9
74 files changed, 0 insertions, 4421 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/engine.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/engine.d.ts
deleted file mode 100644
index 02063733..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/engine.d.ts
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { BaseException } from '@angular-devkit/core';
-import { Observable } from 'rxjs';
-import { Url } from 'url';
-import { MergeStrategy } from '../tree/interface';
-import { Workflow } from '../workflow/interface';
-import { Collection, CollectionDescription, Engine, EngineHost, ExecutionOptions, Schematic, SchematicContext, SchematicDescription, Source, TaskConfiguration, TaskId, TaskInfo, TypedSchematicContext } from './interface';
-export declare class UnknownUrlSourceProtocol extends BaseException {
- constructor(url: string);
-}
-export declare class UnknownCollectionException extends BaseException {
- constructor(name: string);
-}
-export declare class CircularCollectionException extends BaseException {
- constructor(name: string);
-}
-export declare class UnknownSchematicException extends BaseException {
- constructor(name: string, collection: CollectionDescription<{}>);
-}
-export declare class PrivateSchematicException extends BaseException {
- constructor(name: string, collection: CollectionDescription<{}>);
-}
-export declare class SchematicEngineConflictingException extends BaseException {
- constructor();
-}
-export declare class UnregisteredTaskException extends BaseException {
- constructor(name: string, schematic?: SchematicDescription<{}, {}>);
-}
-export declare class UnknownTaskDependencyException extends BaseException {
- constructor(id: TaskId);
-}
-export declare class CollectionImpl<CollectionT extends object, SchematicT extends object> implements Collection<CollectionT, SchematicT> {
- private _description;
- private _engine;
- readonly baseDescriptions?: CollectionDescription<CollectionT>[] | undefined;
- constructor(_description: CollectionDescription<CollectionT>, _engine: SchematicEngine<CollectionT, SchematicT>, baseDescriptions?: CollectionDescription<CollectionT>[] | undefined);
- get description(): CollectionDescription<CollectionT>;
- get name(): string;
- createSchematic(name: string, allowPrivate?: boolean): Schematic<CollectionT, SchematicT>;
- listSchematicNames(): string[];
-}
-export declare class TaskScheduler {
- private _context;
- private _queue;
- private _taskIds;
- private static _taskIdCounter;
- constructor(_context: SchematicContext);
- private _calculatePriority;
- private _mapDependencies;
- schedule<T>(taskConfiguration: TaskConfiguration<T>): TaskId;
- finalize(): ReadonlyArray<TaskInfo>;
-}
-export declare class SchematicEngine<CollectionT extends object, SchematicT extends object> implements Engine<CollectionT, SchematicT> {
- private _host;
- protected _workflow?: Workflow | undefined;
- private _collectionCache;
- private _schematicCache;
- private _taskSchedulers;
- constructor(_host: EngineHost<CollectionT, SchematicT>, _workflow?: Workflow | undefined);
- get workflow(): Workflow | null;
- get defaultMergeStrategy(): MergeStrategy;
- createCollection(name: string, requester?: Collection<CollectionT, SchematicT>): Collection<CollectionT, SchematicT>;
- private _createCollectionDescription;
- createContext(schematic: Schematic<CollectionT, SchematicT>, parent?: Partial<TypedSchematicContext<CollectionT, SchematicT>>, executionOptions?: Partial<ExecutionOptions>): TypedSchematicContext<CollectionT, SchematicT>;
- createSchematic(name: string, collection: Collection<CollectionT, SchematicT>, allowPrivate?: boolean): Schematic<CollectionT, SchematicT>;
- listSchematicNames(collection: Collection<CollectionT, SchematicT>): string[];
- transformOptions<OptionT extends object, ResultT extends object>(schematic: Schematic<CollectionT, SchematicT>, options: OptionT, context?: TypedSchematicContext<CollectionT, SchematicT>): Observable<ResultT>;
- createSourceFromUrl(url: Url, context: TypedSchematicContext<CollectionT, SchematicT>): Source;
- executePostTasks(): Observable<void>;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/engine.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/engine.js
deleted file mode 100644
index 64941062..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/engine.js
+++ /dev/null
@@ -1,295 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.SchematicEngine = exports.TaskScheduler = exports.CollectionImpl = exports.UnknownTaskDependencyException = exports.UnregisteredTaskException = exports.SchematicEngineConflictingException = exports.PrivateSchematicException = exports.UnknownSchematicException = exports.CircularCollectionException = exports.UnknownCollectionException = exports.UnknownUrlSourceProtocol = void 0;
-const core_1 = require("@angular-devkit/core");
-const rxjs_1 = require("rxjs");
-const operators_1 = require("rxjs/operators");
-const interface_1 = require("../tree/interface");
-const null_1 = require("../tree/null");
-const static_1 = require("../tree/static");
-const schematic_1 = require("./schematic");
-class UnknownUrlSourceProtocol extends core_1.BaseException {
- constructor(url) {
- super(`Unknown Protocol on url "${url}".`);
- }
-}
-exports.UnknownUrlSourceProtocol = UnknownUrlSourceProtocol;
-class UnknownCollectionException extends core_1.BaseException {
- constructor(name) {
- super(`Unknown collection "${name}".`);
- }
-}
-exports.UnknownCollectionException = UnknownCollectionException;
-class CircularCollectionException extends core_1.BaseException {
- constructor(name) {
- super(`Circular collection reference "${name}".`);
- }
-}
-exports.CircularCollectionException = CircularCollectionException;
-class UnknownSchematicException extends core_1.BaseException {
- constructor(name, collection) {
- super(`Schematic "${name}" not found in collection "${collection.name}".`);
- }
-}
-exports.UnknownSchematicException = UnknownSchematicException;
-class PrivateSchematicException extends core_1.BaseException {
- constructor(name, collection) {
- super(`Schematic "${name}" not found in collection "${collection.name}".`);
- }
-}
-exports.PrivateSchematicException = PrivateSchematicException;
-class SchematicEngineConflictingException extends core_1.BaseException {
- constructor() {
- super(`A schematic was called from a different engine as its parent.`);
- }
-}
-exports.SchematicEngineConflictingException = SchematicEngineConflictingException;
-class UnregisteredTaskException extends core_1.BaseException {
- constructor(name, schematic) {
- const addendum = schematic ? ` in schematic "${schematic.name}"` : '';
- super(`Unregistered task "${name}"${addendum}.`);
- }
-}
-exports.UnregisteredTaskException = UnregisteredTaskException;
-class UnknownTaskDependencyException extends core_1.BaseException {
- constructor(id) {
- super(`Unknown task dependency [ID: ${id.id}].`);
- }
-}
-exports.UnknownTaskDependencyException = UnknownTaskDependencyException;
-class CollectionImpl {
- constructor(_description, _engine, baseDescriptions) {
- this._description = _description;
- this._engine = _engine;
- this.baseDescriptions = baseDescriptions;
- }
- get description() {
- return this._description;
- }
- get name() {
- return this.description.name || '<unknown>';
- }
- createSchematic(name, allowPrivate = false) {
- return this._engine.createSchematic(name, this, allowPrivate);
- }
- listSchematicNames() {
- return this._engine.listSchematicNames(this);
- }
-}
-exports.CollectionImpl = CollectionImpl;
-class TaskScheduler {
- constructor(_context) {
- this._context = _context;
- this._queue = new core_1.PriorityQueue((x, y) => x.priority - y.priority);
- this._taskIds = new Map();
- }
- _calculatePriority(dependencies) {
- if (dependencies.size === 0) {
- return 0;
- }
- const prio = [...dependencies].reduce((prio, task) => prio + task.priority, 1);
- return prio;
- }
- _mapDependencies(dependencies) {
- if (!dependencies) {
- return new Set();
- }
- const tasks = dependencies.map((dep) => {
- const task = this._taskIds.get(dep);
- if (!task) {
- throw new UnknownTaskDependencyException(dep);
- }
- return task;
- });
- return new Set(tasks);
- }
- schedule(taskConfiguration) {
- const dependencies = this._mapDependencies(taskConfiguration.dependencies);
- const priority = this._calculatePriority(dependencies);
- const task = {
- id: TaskScheduler._taskIdCounter++,
- priority,
- configuration: taskConfiguration,
- context: this._context,
- };
- this._queue.push(task);
- const id = { id: task.id };
- this._taskIds.set(id, task);
- return id;
- }
- finalize() {
- const tasks = this._queue.toArray();
- this._queue.clear();
- this._taskIds.clear();
- return tasks;
- }
-}
-exports.TaskScheduler = TaskScheduler;
-TaskScheduler._taskIdCounter = 1;
-class SchematicEngine {
- constructor(_host, _workflow) {
- this._host = _host;
- this._workflow = _workflow;
- this._collectionCache = new Map();
- this._schematicCache = new WeakMap();
- this._taskSchedulers = new Array();
- }
- get workflow() {
- return this._workflow || null;
- }
- get defaultMergeStrategy() {
- return this._host.defaultMergeStrategy || interface_1.MergeStrategy.Default;
- }
- createCollection(name, requester) {
- let collection = this._collectionCache.get(name);
- if (collection) {
- return collection;
- }
- const [description, bases] = this._createCollectionDescription(name, requester === null || requester === void 0 ? void 0 : requester.description);
- collection = new CollectionImpl(description, this, bases);
- this._collectionCache.set(name, collection);
- this._schematicCache.set(collection, new Map());
- return collection;
- }
- _createCollectionDescription(name, requester, parentNames) {
- const description = this._host.createCollectionDescription(name, requester);
- if (!description) {
- throw new UnknownCollectionException(name);
- }
- if (parentNames && parentNames.has(description.name)) {
- throw new CircularCollectionException(name);
- }
- const bases = new Array();
- if (description.extends) {
- parentNames = (parentNames || new Set()).add(description.name);
- for (const baseName of description.extends) {
- const [base, baseBases] = this._createCollectionDescription(baseName, description, new Set(parentNames));
- bases.unshift(base, ...baseBases);
- }
- }
- return [description, bases];
- }
- createContext(schematic, parent, executionOptions) {
- // Check for inconsistencies.
- if (parent && parent.engine && parent.engine !== this) {
- throw new SchematicEngineConflictingException();
- }
- let interactive = true;
- if (executionOptions && executionOptions.interactive != undefined) {
- interactive = executionOptions.interactive;
- }
- else if (parent && parent.interactive != undefined) {
- interactive = parent.interactive;
- }
- let context = {
- debug: (parent && parent.debug) || false,
- engine: this,
- logger: (parent && parent.logger && parent.logger.createChild(schematic.description.name)) ||
- new core_1.logging.NullLogger(),
- schematic,
- strategy: parent && parent.strategy !== undefined ? parent.strategy : this.defaultMergeStrategy,
- interactive,
- addTask,
- };
- const maybeNewContext = this._host.transformContext(context);
- if (maybeNewContext) {
- context = maybeNewContext;
- }
- const taskScheduler = new TaskScheduler(context);
- const host = this._host;
- this._taskSchedulers.push(taskScheduler);
- function addTask(task, dependencies) {
- const config = task.toConfiguration();
- if (!host.hasTaskExecutor(config.name)) {
- throw new UnregisteredTaskException(config.name, schematic.description);
- }
- config.dependencies = config.dependencies || [];
- if (dependencies) {
- config.dependencies.unshift(...dependencies);
- }
- return taskScheduler.schedule(config);
- }
- return context;
- }
- createSchematic(name, collection, allowPrivate = false) {
- const schematicMap = this._schematicCache.get(collection);
- let schematic = schematicMap === null || schematicMap === void 0 ? void 0 : schematicMap.get(name);
- if (schematic) {
- return schematic;
- }
- let collectionDescription = collection.description;
- let description = this._host.createSchematicDescription(name, collection.description);
- if (!description) {
- if (collection.baseDescriptions) {
- for (const base of collection.baseDescriptions) {
- description = this._host.createSchematicDescription(name, base);
- if (description) {
- collectionDescription = base;
- break;
- }
- }
- }
- if (!description) {
- // Report the error for the top level schematic collection
- throw new UnknownSchematicException(name, collection.description);
- }
- }
- if (description.private && !allowPrivate) {
- throw new PrivateSchematicException(name, collection.description);
- }
- const factory = this._host.getSchematicRuleFactory(description, collectionDescription);
- schematic = new schematic_1.SchematicImpl(description, factory, collection, this);
- schematicMap === null || schematicMap === void 0 ? void 0 : schematicMap.set(name, schematic);
- return schematic;
- }
- listSchematicNames(collection) {
- const names = this._host.listSchematicNames(collection.description);
- if (collection.baseDescriptions) {
- for (const base of collection.baseDescriptions) {
- names.push(...this._host.listSchematicNames(base));
- }
- }
- // remove duplicates
- return [...new Set(names)].sort();
- }
- transformOptions(schematic, options, context) {
- return this._host.transformOptions(schematic.description, options, context);
- }
- createSourceFromUrl(url, context) {
- switch (url.protocol) {
- case 'null:':
- return () => new null_1.NullTree();
- case 'empty:':
- return () => (0, static_1.empty)();
- default:
- const hostSource = this._host.createSourceFromUrl(url, context);
- if (!hostSource) {
- throw new UnknownUrlSourceProtocol(url.toString());
- }
- return hostSource;
- }
- }
- executePostTasks() {
- const executors = new Map();
- const taskObservable = (0, rxjs_1.from)(this._taskSchedulers).pipe((0, operators_1.concatMap)((scheduler) => scheduler.finalize()), (0, operators_1.concatMap)((task) => {
- const { name, options } = task.configuration;
- const executor = executors.get(name);
- if (executor) {
- return executor(options, task.context);
- }
- return this._host.createTaskExecutor(name).pipe((0, operators_1.concatMap)((executor) => {
- executors.set(name, executor);
- return executor(options, task.context);
- }));
- }));
- return taskObservable;
- }
-}
-exports.SchematicEngine = SchematicEngine;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/index.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/index.d.ts
deleted file mode 100644
index 666c8c40..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/index.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-export * from './engine';
-export * from './interface';
-export * from './schematic';
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/index.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/index.js
deleted file mode 100644
index c2ca0f07..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/index.js
+++ /dev/null
@@ -1,22 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
- if (k2 === undefined) k2 = k;
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
-}) : (function(o, m, k, k2) {
- if (k2 === undefined) k2 = k;
- o[k2] = m[k];
-}));
-var __exportStar = (this && this.__exportStar) || function(m, exports) {
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-__exportStar(require("./engine"), exports);
-__exportStar(require("./interface"), exports);
-__exportStar(require("./schematic"), exports);
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/interface.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/interface.d.ts
deleted file mode 100644
index 790cfbfb..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/interface.d.ts
+++ /dev/null
@@ -1,157 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { analytics, logging } from '@angular-devkit/core';
-import { Observable } from 'rxjs';
-import { Url } from 'url';
-import { FileEntry, MergeStrategy, Tree } from '../tree/interface';
-import { Workflow } from '../workflow/interface';
-export interface TaskConfiguration<T = {}> {
- name: string;
- dependencies?: Array<TaskId>;
- options?: T;
-}
-export interface TaskConfigurationGenerator<T = {}> {
- toConfiguration(): TaskConfiguration<T>;
-}
-export declare type TaskExecutor<T = {}> = (options: T | undefined, context: SchematicContext) => Promise<void> | Observable<void>;
-export interface TaskExecutorFactory<T> {
- readonly name: string;
- create(options?: T): Promise<TaskExecutor> | Observable<TaskExecutor>;
-}
-export interface TaskId {
- readonly id: number;
-}
-export interface TaskInfo {
- readonly id: number;
- readonly priority: number;
- readonly configuration: TaskConfiguration;
- readonly context: SchematicContext;
-}
-export interface ExecutionOptions {
- scope: string;
- interactive: boolean;
-}
-/**
- * The description (metadata) of a collection. This type contains every information the engine
- * needs to run. The CollectionMetadataT type parameter contains additional metadata that you
- * want to store while remaining type-safe.
- */
-export declare type CollectionDescription<CollectionMetadataT extends object> = CollectionMetadataT & {
- readonly name: string;
- readonly extends?: string[];
-};
-/**
- * The description (metadata) of a schematic. This type contains every information the engine
- * needs to run. The SchematicMetadataT and CollectionMetadataT type parameters contain additional
- * metadata that you want to store while remaining type-safe.
- */
-export declare type SchematicDescription<CollectionMetadataT extends object, SchematicMetadataT extends object> = SchematicMetadataT & {
- readonly collection: CollectionDescription<CollectionMetadataT>;
- readonly name: string;
- readonly private?: boolean;
- readonly hidden?: boolean;
-};
-/**
- * The Host for the Engine. Specifically, the piece of the tooling responsible for resolving
- * collections and schematics descriptions. The SchematicMetadataT and CollectionMetadataT type
- * parameters contain additional metadata that you want to store while remaining type-safe.
- */
-export interface EngineHost<CollectionMetadataT extends object, SchematicMetadataT extends object> {
- createCollectionDescription(name: string, requester?: CollectionDescription<CollectionMetadataT>): CollectionDescription<CollectionMetadataT>;
- listSchematicNames(collection: CollectionDescription<CollectionMetadataT>): string[];
- createSchematicDescription(name: string, collection: CollectionDescription<CollectionMetadataT>): SchematicDescription<CollectionMetadataT, SchematicMetadataT> | null;
- getSchematicRuleFactory<OptionT extends object>(schematic: SchematicDescription<CollectionMetadataT, SchematicMetadataT>, collection: CollectionDescription<CollectionMetadataT>): RuleFactory<OptionT>;
- createSourceFromUrl(url: Url, context: TypedSchematicContext<CollectionMetadataT, SchematicMetadataT>): Source | null;
- transformOptions<OptionT extends object, ResultT extends object>(schematic: SchematicDescription<CollectionMetadataT, SchematicMetadataT>, options: OptionT, context?: TypedSchematicContext<CollectionMetadataT, SchematicMetadataT>): Observable<ResultT>;
- transformContext(context: TypedSchematicContext<CollectionMetadataT, SchematicMetadataT>): TypedSchematicContext<CollectionMetadataT, SchematicMetadataT> | void;
- createTaskExecutor(name: string): Observable<TaskExecutor>;
- hasTaskExecutor(name: string): boolean;
- readonly defaultMergeStrategy?: MergeStrategy;
-}
-/**
- * The root Engine for creating and running schematics and collections. Everything related to
- * a schematic execution starts from this interface.
- *
- * CollectionMetadataT is, by default, a generic Collection metadata type. This is used throughout
- * the engine typings so that you can use a type that's merged into descriptions, while being
- * type-safe.
- *
- * SchematicMetadataT is a type that contains additional typing for the Schematic Description.
- */
-export interface Engine<CollectionMetadataT extends object, SchematicMetadataT extends object> {
- createCollection(name: string, requester?: Collection<CollectionMetadataT, SchematicMetadataT>): Collection<CollectionMetadataT, SchematicMetadataT>;
- createContext(schematic: Schematic<CollectionMetadataT, SchematicMetadataT>, parent?: Partial<TypedSchematicContext<CollectionMetadataT, SchematicMetadataT>>, executionOptions?: Partial<ExecutionOptions>): TypedSchematicContext<CollectionMetadataT, SchematicMetadataT>;
- createSchematic(name: string, collection: Collection<CollectionMetadataT, SchematicMetadataT>): Schematic<CollectionMetadataT, SchematicMetadataT>;
- createSourceFromUrl(url: Url, context: TypedSchematicContext<CollectionMetadataT, SchematicMetadataT>): Source;
- transformOptions<OptionT extends object, ResultT extends object>(schematic: Schematic<CollectionMetadataT, SchematicMetadataT>, options: OptionT, context?: TypedSchematicContext<CollectionMetadataT, SchematicMetadataT>): Observable<ResultT>;
- executePostTasks(): Observable<void>;
- readonly defaultMergeStrategy: MergeStrategy;
- readonly workflow: Workflow | null;
-}
-/**
- * A Collection as created by the Engine. This should be used by the tool to create schematics,
- * or by rules to create other schematics as well.
- */
-export interface Collection<CollectionMetadataT extends object, SchematicMetadataT extends object> {
- readonly description: CollectionDescription<CollectionMetadataT>;
- readonly baseDescriptions?: Array<CollectionDescription<CollectionMetadataT>>;
- createSchematic(name: string, allowPrivate?: boolean): Schematic<CollectionMetadataT, SchematicMetadataT>;
- listSchematicNames(): string[];
-}
-/**
- * A Schematic as created by the Engine. This should be used by the tool to execute the main
- * schematics, or by rules to execute other schematics as well.
- */
-export interface Schematic<CollectionMetadataT extends object, SchematicMetadataT extends object> {
- readonly description: SchematicDescription<CollectionMetadataT, SchematicMetadataT>;
- readonly collection: Collection<CollectionMetadataT, SchematicMetadataT>;
- call<OptionT extends object>(options: OptionT, host: Observable<Tree>, parentContext?: Partial<TypedSchematicContext<CollectionMetadataT, SchematicMetadataT>>, executionOptions?: Partial<ExecutionOptions>): Observable<Tree>;
-}
-/**
- * A SchematicContext. Contains information necessary for Schematics to execute some rules, for
- * example when using another schematics, as we need the engine and collection.
- */
-export interface TypedSchematicContext<CollectionMetadataT extends object, SchematicMetadataT extends object> {
- readonly debug: boolean;
- readonly engine: Engine<CollectionMetadataT, SchematicMetadataT>;
- readonly logger: logging.LoggerApi;
- readonly schematic: Schematic<CollectionMetadataT, SchematicMetadataT>;
- readonly strategy: MergeStrategy;
- readonly interactive: boolean;
- addTask<T>(task: TaskConfigurationGenerator<T>, dependencies?: Array<TaskId>): TaskId;
- /** @deprecated since version 11 - as it's unused. */
- readonly analytics?: analytics.Analytics;
-}
-/**
- * This is used by the Schematics implementations in order to avoid needing to have typing from
- * the tooling. Schematics are not specific to a tool.
- */
-export declare type SchematicContext = TypedSchematicContext<{}, {}>;
-/**
- * A rule factory, which is normally the way schematics are implemented. Returned by the tooling
- * after loading a schematic description.
- */
-export declare type RuleFactory<T extends object> = (options: T) => Rule;
-/**
- * A FileOperator applies changes synchronously to a FileEntry. An async operator returns
- * asynchronously. We separate them so that the type system can catch early errors.
- */
-export declare type FileOperator = (entry: FileEntry) => FileEntry | null;
-export declare type AsyncFileOperator = (tree: FileEntry) => Observable<FileEntry | null>;
-/**
- * A source is a function that generates a Tree from a specific context. A rule transforms a tree
- * into another tree from a specific context. In both cases, an Observable can be returned if
- * the source or the rule are asynchronous. Only the last Tree generated in the observable will
- * be used though.
- *
- * We obfuscate the context of Source and Rule because the schematic implementation should not
- * know which types is the schematic or collection metadata, as they are both tooling specific.
- */
-export declare type Source = (context: SchematicContext) => Tree | Observable<Tree>;
-export declare type Rule = (tree: Tree, context: SchematicContext) => Tree | Observable<Tree> | Rule | Promise<void | Rule> | void;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/interface.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/interface.js
deleted file mode 100644
index b599b96d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/interface.js
+++ /dev/null
@@ -1,9 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/schematic.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/schematic.d.ts
deleted file mode 100644
index 718b6849..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/schematic.d.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { BaseException } from '@angular-devkit/core';
-import { Observable } from 'rxjs';
-import { Tree } from '../tree/interface';
-import { Collection, Engine, ExecutionOptions, RuleFactory, Schematic, SchematicDescription, TypedSchematicContext } from './interface';
-export declare class InvalidSchematicsNameException extends BaseException {
- constructor(name: string);
-}
-export declare class SchematicImpl<CollectionT extends object, SchematicT extends object> implements Schematic<CollectionT, SchematicT> {
- private _description;
- private _factory;
- private _collection;
- private _engine;
- constructor(_description: SchematicDescription<CollectionT, SchematicT>, _factory: RuleFactory<{}>, _collection: Collection<CollectionT, SchematicT>, _engine: Engine<CollectionT, SchematicT>);
- get description(): SchematicDescription<CollectionT, SchematicT>;
- get collection(): Collection<CollectionT, SchematicT>;
- call<OptionT extends object>(options: OptionT, host: Observable<Tree>, parentContext?: Partial<TypedSchematicContext<CollectionT, SchematicT>>, executionOptions?: Partial<ExecutionOptions>): Observable<Tree>;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/schematic.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/schematic.js
deleted file mode 100644
index 2b33c2f5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/engine/schematic.js
+++ /dev/null
@@ -1,67 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.SchematicImpl = exports.InvalidSchematicsNameException = void 0;
-const core_1 = require("@angular-devkit/core");
-const rxjs_1 = require("rxjs");
-const operators_1 = require("rxjs/operators");
-const call_1 = require("../rules/call");
-const scoped_1 = require("../tree/scoped");
-class InvalidSchematicsNameException extends core_1.BaseException {
- constructor(name) {
- super(`Schematics has invalid name: "${name}".`);
- }
-}
-exports.InvalidSchematicsNameException = InvalidSchematicsNameException;
-class SchematicImpl {
- constructor(_description, _factory, _collection, _engine) {
- this._description = _description;
- this._factory = _factory;
- this._collection = _collection;
- this._engine = _engine;
- if (!_description.name.match(/^[-@/_.a-zA-Z0-9]+$/)) {
- throw new InvalidSchematicsNameException(_description.name);
- }
- }
- get description() {
- return this._description;
- }
- get collection() {
- return this._collection;
- }
- call(options, host, parentContext, executionOptions) {
- const context = this._engine.createContext(this, parentContext, executionOptions);
- return host.pipe((0, operators_1.first)(), (0, operators_1.concatMap)((tree) => this._engine
- .transformOptions(this, options, context)
- .pipe((0, operators_1.map)((o) => [tree, o]))), (0, operators_1.concatMap)(([tree, transformedOptions]) => {
- let input;
- let scoped = false;
- if (executionOptions && executionOptions.scope) {
- scoped = true;
- input = new scoped_1.ScopedTree(tree, executionOptions.scope);
- }
- else {
- input = tree;
- }
- return (0, call_1.callRule)(this._factory(transformedOptions), (0, rxjs_1.of)(input), context).pipe((0, operators_1.map)((output) => {
- if (output === input) {
- return tree;
- }
- else if (scoped) {
- tree.merge(output);
- return tree;
- }
- else {
- return output;
- }
- }));
- }));
- }
-}
-exports.SchematicImpl = SchematicImpl;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/exception/exception.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/exception/exception.d.ts
deleted file mode 100644
index 269b0e0d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/exception/exception.d.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { BaseException } from '@angular-devkit/core';
-export declare class SchematicsException extends BaseException {
-}
-export declare class FileDoesNotExistException extends BaseException {
- constructor(path: string);
-}
-export declare class FileAlreadyExistException extends BaseException {
- constructor(path: string);
-}
-export declare class ContentHasMutatedException extends BaseException {
- constructor(path: string);
-}
-export declare class InvalidUpdateRecordException extends BaseException {
- constructor();
-}
-export declare class MergeConflictException extends BaseException {
- constructor(path: string);
-}
-export declare class UnsuccessfulWorkflowExecution extends BaseException {
- constructor();
-}
-export declare class UnimplementedException extends BaseException {
- constructor();
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/exception/exception.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/exception/exception.js
deleted file mode 100644
index b04bc343..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/exception/exception.js
+++ /dev/null
@@ -1,58 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.UnimplementedException = exports.UnsuccessfulWorkflowExecution = exports.MergeConflictException = exports.InvalidUpdateRecordException = exports.ContentHasMutatedException = exports.FileAlreadyExistException = exports.FileDoesNotExistException = exports.SchematicsException = void 0;
-const core_1 = require("@angular-devkit/core");
-// Used by schematics to throw exceptions.
-class SchematicsException extends core_1.BaseException {
-}
-exports.SchematicsException = SchematicsException;
-// Exceptions
-class FileDoesNotExistException extends core_1.BaseException {
- constructor(path) {
- super(`Path "${path}" does not exist.`);
- }
-}
-exports.FileDoesNotExistException = FileDoesNotExistException;
-class FileAlreadyExistException extends core_1.BaseException {
- constructor(path) {
- super(`Path "${path}" already exist.`);
- }
-}
-exports.FileAlreadyExistException = FileAlreadyExistException;
-class ContentHasMutatedException extends core_1.BaseException {
- constructor(path) {
- super(`Content at path "${path}" has changed between the start and the end of an update.`);
- }
-}
-exports.ContentHasMutatedException = ContentHasMutatedException;
-class InvalidUpdateRecordException extends core_1.BaseException {
- constructor() {
- super(`Invalid record instance.`);
- }
-}
-exports.InvalidUpdateRecordException = InvalidUpdateRecordException;
-class MergeConflictException extends core_1.BaseException {
- constructor(path) {
- super(`A merge conflicted on path "${path}".`);
- }
-}
-exports.MergeConflictException = MergeConflictException;
-class UnsuccessfulWorkflowExecution extends core_1.BaseException {
- constructor() {
- super('Workflow did not execute successfully.');
- }
-}
-exports.UnsuccessfulWorkflowExecution = UnsuccessfulWorkflowExecution;
-class UnimplementedException extends core_1.BaseException {
- constructor() {
- super('This function is unimplemented.');
- }
-}
-exports.UnimplementedException = UnimplementedException;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/format-validator.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/format-validator.d.ts
deleted file mode 100644
index 88952600..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/format-validator.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { JsonObject, JsonValue, schema } from '@angular-devkit/core';
-import { Observable } from 'rxjs';
-export declare function formatValidator(data: JsonValue, dataSchema: JsonObject, formats: schema.SchemaFormat[]): Observable<schema.SchemaValidatorResult>;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/format-validator.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/format-validator.js
deleted file mode 100644
index 208e1d14..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/format-validator.js
+++ /dev/null
@@ -1,20 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.formatValidator = void 0;
-const core_1 = require("@angular-devkit/core");
-const operators_1 = require("rxjs/operators");
-function formatValidator(data, dataSchema, formats) {
- const registry = new core_1.schema.CoreSchemaRegistry();
- for (const format of formats) {
- registry.addFormat(format);
- }
- return registry.compile(dataSchema).pipe((0, operators_1.mergeMap)((validator) => validator(data)));
-}
-exports.formatValidator = formatValidator;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/html-selector.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/html-selector.d.ts
deleted file mode 100644
index 95616881..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/html-selector.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { schema } from '@angular-devkit/core';
-export declare const htmlSelectorFormat: schema.SchemaFormat;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/html-selector.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/html-selector.js
deleted file mode 100644
index 8005c035..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/html-selector.js
+++ /dev/null
@@ -1,44 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.htmlSelectorFormat = void 0;
-// As per https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name
-// * Without mandatory `-` as the application prefix will generally cover its inclusion
-// * And an allowance for upper alpha characters
-// NOTE: This should eventually be broken out into two formats: full and partial (allows for prefix)
-const unicodeRanges = [
- [0xc0, 0xd6],
- [0xd8, 0xf6],
- [0xf8, 0x37d],
- [0x37f, 0x1fff],
- [0x200c, 0x200d],
- [0x203f, 0x2040],
- [0x2070, 0x218f],
- [0x2c00, 0x2fef],
- [0x3001, 0xd7ff],
- [0xf900, 0xfdcf],
- [0xfdf0, 0xfffd],
- [0x10000, 0xeffff],
-];
-function isValidElementName(name) {
- let regex = '^[a-zA-Z][';
- regex += '-.0-9_a-zA-Z\\u{B7}';
- for (const range of unicodeRanges) {
- regex += `\\u{${range[0].toString(16)}}-\\u{${range[1].toString(16)}}`;
- }
- regex += ']*$';
- return new RegExp(regex, 'u').test(name);
-}
-exports.htmlSelectorFormat = {
- name: 'html-selector',
- formatter: {
- async: false,
- validate: (name) => typeof name === 'string' && isValidElementName(name),
- },
-};
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/index.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/index.d.ts
deleted file mode 100644
index a3b4bd37..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/index.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { schema } from '@angular-devkit/core';
-export { htmlSelectorFormat } from './html-selector';
-export { pathFormat } from './path';
-export declare const standardFormats: schema.SchemaFormat[];
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/index.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/index.js
deleted file mode 100644
index 1fce3ace..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/index.js
+++ /dev/null
@@ -1,17 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.standardFormats = exports.pathFormat = exports.htmlSelectorFormat = void 0;
-const html_selector_1 = require("./html-selector");
-const path_1 = require("./path");
-var html_selector_2 = require("./html-selector");
-Object.defineProperty(exports, "htmlSelectorFormat", { enumerable: true, get: function () { return html_selector_2.htmlSelectorFormat; } });
-var path_2 = require("./path");
-Object.defineProperty(exports, "pathFormat", { enumerable: true, get: function () { return path_2.pathFormat; } });
-exports.standardFormats = [html_selector_1.htmlSelectorFormat, path_1.pathFormat];
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/path.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/path.d.ts
deleted file mode 100644
index 9957e37c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/path.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { schema } from '@angular-devkit/core';
-export declare const pathFormat: schema.SchemaFormat;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/path.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/path.js
deleted file mode 100644
index 3a9d1240..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/formats/path.js
+++ /dev/null
@@ -1,24 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.pathFormat = void 0;
-const core_1 = require("@angular-devkit/core");
-exports.pathFormat = {
- name: 'path',
- formatter: {
- async: false,
- validate: (path) => {
- // Check path is normalized already.
- return path === (0, core_1.normalize)(path);
- // TODO: check if path is valid (is that just checking if it's normalized?)
- // TODO: check path is from root of schematics even if passed absolute
- // TODO: error out if path is outside of host
- },
- },
-};
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/index.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/index.d.ts
deleted file mode 100644
index 5d8c7b5a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/index.d.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import * as formats from './formats/index';
-import { FilePredicate, MergeStrategy, Tree as TreeInterface } from './tree/interface';
-import * as workflow from './workflow/index';
-export { SchematicsException } from './exception/exception';
-export * from './tree/action';
-export * from './engine/index';
-export * from './exception/exception';
-export * from './tree/interface';
-export * from './rules/base';
-export * from './rules/call';
-export * from './rules/move';
-export * from './rules/random';
-export * from './rules/schematic';
-export * from './rules/template';
-export * from './rules/url';
-export * from './tree/delegate';
-export * from './tree/empty';
-export * from './tree/host-tree';
-export { UpdateRecorder } from './tree/interface';
-export * from './engine/schematic';
-export * from './sink/dryrun';
-export * from './sink/host';
-export * from './sink/sink';
-export { formats };
-export { workflow };
-export interface TreeConstructor {
- empty(): TreeInterface;
- branch(tree: TreeInterface): TreeInterface;
- merge(tree: TreeInterface, other: TreeInterface, strategy?: MergeStrategy): TreeInterface;
- partition(tree: TreeInterface, predicate: FilePredicate<boolean>): [TreeInterface, TreeInterface];
- optimize(tree: TreeInterface): TreeInterface;
-}
-export declare type Tree = TreeInterface;
-export declare const Tree: TreeConstructor;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/index.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/index.js
deleted file mode 100644
index 738fbad7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/index.js
+++ /dev/null
@@ -1,75 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
- if (k2 === undefined) k2 = k;
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
-}) : (function(o, m, k, k2) {
- if (k2 === undefined) k2 = k;
- o[k2] = m[k];
-}));
-var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
- Object.defineProperty(o, "default", { enumerable: true, value: v });
-}) : function(o, v) {
- o["default"] = v;
-});
-var __importStar = (this && this.__importStar) || function (mod) {
- if (mod && mod.__esModule) return mod;
- var result = {};
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
- __setModuleDefault(result, mod);
- return result;
-};
-var __exportStar = (this && this.__exportStar) || function(m, exports) {
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Tree = exports.workflow = exports.formats = exports.SchematicsException = void 0;
-const formats = __importStar(require("./formats/index"));
-exports.formats = formats;
-const interface_1 = require("./tree/interface");
-const static_1 = require("./tree/static");
-const workflow = __importStar(require("./workflow/index"));
-exports.workflow = workflow;
-var exception_1 = require("./exception/exception");
-Object.defineProperty(exports, "SchematicsException", { enumerable: true, get: function () { return exception_1.SchematicsException; } });
-__exportStar(require("./tree/action"), exports);
-__exportStar(require("./engine/index"), exports);
-__exportStar(require("./exception/exception"), exports);
-__exportStar(require("./tree/interface"), exports);
-__exportStar(require("./rules/base"), exports);
-__exportStar(require("./rules/call"), exports);
-__exportStar(require("./rules/move"), exports);
-__exportStar(require("./rules/random"), exports);
-__exportStar(require("./rules/schematic"), exports);
-__exportStar(require("./rules/template"), exports);
-__exportStar(require("./rules/url"), exports);
-__exportStar(require("./tree/delegate"), exports);
-__exportStar(require("./tree/empty"), exports);
-__exportStar(require("./tree/host-tree"), exports);
-__exportStar(require("./engine/schematic"), exports);
-__exportStar(require("./sink/dryrun"), exports);
-__exportStar(require("./sink/host"), exports);
-__exportStar(require("./sink/sink"), exports);
-exports.Tree = {
- empty() {
- return (0, static_1.empty)();
- },
- branch(tree) {
- return (0, static_1.branch)(tree);
- },
- merge(tree, other, strategy = interface_1.MergeStrategy.Default) {
- return (0, static_1.merge)(tree, other, strategy);
- },
- partition(tree, predicate) {
- return (0, static_1.partition)(tree, predicate);
- },
- optimize(tree) {
- return tree;
- },
-};
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/base.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/base.d.ts
deleted file mode 100644
index f78b3895..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/base.d.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { FileOperator, Rule, Source } from '../engine/interface';
-import { FilePredicate, MergeStrategy, Tree } from '../tree/interface';
-/**
- * A Source that returns an tree as its single value.
- */
-export declare function source(tree: Tree): Source;
-/**
- * A source that returns an empty tree.
- */
-export declare function empty(): Source;
-/**
- * Chain multiple rules into a single rule.
- */
-export declare function chain(rules: Rule[]): Rule;
-/**
- * Apply multiple rules to a source, and returns the source transformed.
- */
-export declare function apply(source: Source, rules: Rule[]): Source;
-/**
- * Merge an input tree with the source passed in.
- */
-export declare function mergeWith(source: Source, strategy?: MergeStrategy): Rule;
-export declare function noop(): Rule;
-export declare function filter(predicate: FilePredicate<boolean>): Rule;
-export declare function asSource(rule: Rule): Source;
-export declare function branchAndMerge(rule: Rule, strategy?: MergeStrategy): Rule;
-export declare function when(predicate: FilePredicate<boolean>, operator: FileOperator): FileOperator;
-export declare function partitionApplyMerge(predicate: FilePredicate<boolean>, ruleYes: Rule, ruleNo?: Rule): Rule;
-export declare function forEach(operator: FileOperator): Rule;
-export declare function composeFileOperators(operators: FileOperator[]): FileOperator;
-export declare function applyToSubtree(path: string, rules: Rule[]): Rule;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/base.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/base.js
deleted file mode 100644
index fdcae77a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/base.js
+++ /dev/null
@@ -1,155 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.applyToSubtree = exports.composeFileOperators = exports.forEach = exports.partitionApplyMerge = exports.when = exports.branchAndMerge = exports.asSource = exports.filter = exports.noop = exports.mergeWith = exports.apply = exports.chain = exports.empty = exports.source = void 0;
-const rxjs_1 = require("rxjs");
-const operators_1 = require("rxjs/operators");
-const exception_1 = require("../exception/exception");
-const host_tree_1 = require("../tree/host-tree");
-const interface_1 = require("../tree/interface");
-const scoped_1 = require("../tree/scoped");
-const static_1 = require("../tree/static");
-const call_1 = require("./call");
-/**
- * A Source that returns an tree as its single value.
- */
-function source(tree) {
- return () => tree;
-}
-exports.source = source;
-/**
- * A source that returns an empty tree.
- */
-function empty() {
- return () => (0, static_1.empty)();
-}
-exports.empty = empty;
-/**
- * Chain multiple rules into a single rule.
- */
-function chain(rules) {
- return (tree, context) => {
- return rules.reduce((acc, curr) => (0, call_1.callRule)(curr, acc, context), tree);
- };
-}
-exports.chain = chain;
-/**
- * Apply multiple rules to a source, and returns the source transformed.
- */
-function apply(source, rules) {
- return (context) => (0, call_1.callRule)(chain(rules), (0, call_1.callSource)(source, context), context);
-}
-exports.apply = apply;
-/**
- * Merge an input tree with the source passed in.
- */
-function mergeWith(source, strategy = interface_1.MergeStrategy.Default) {
- return (tree, context) => {
- return (0, call_1.callSource)(source, context).pipe((0, operators_1.map)((sourceTree) => tree.merge(sourceTree, strategy || context.strategy)), (0, operators_1.mapTo)(tree));
- };
-}
-exports.mergeWith = mergeWith;
-function noop() {
- return () => { };
-}
-exports.noop = noop;
-function filter(predicate) {
- return (tree) => {
- if (host_tree_1.HostTree.isHostTree(tree)) {
- return new host_tree_1.FilterHostTree(tree, predicate);
- }
- else {
- throw new exception_1.SchematicsException('Tree type is not supported.');
- }
- };
-}
-exports.filter = filter;
-function asSource(rule) {
- return (context) => (0, call_1.callRule)(rule, (0, static_1.empty)(), context);
-}
-exports.asSource = asSource;
-function branchAndMerge(rule, strategy = interface_1.MergeStrategy.Default) {
- return (tree, context) => {
- return (0, call_1.callRule)(rule, tree.branch(), context).pipe((0, operators_1.map)((branch) => tree.merge(branch, strategy || context.strategy)), (0, operators_1.mapTo)(tree));
- };
-}
-exports.branchAndMerge = branchAndMerge;
-function when(predicate, operator) {
- return (entry) => {
- if (predicate(entry.path, entry)) {
- return operator(entry);
- }
- else {
- return entry;
- }
- };
-}
-exports.when = when;
-function partitionApplyMerge(predicate, ruleYes, ruleNo) {
- return (tree, context) => {
- const [yes, no] = (0, static_1.partition)(tree, predicate);
- return (0, rxjs_1.concat)((0, call_1.callRule)(ruleYes, yes, context), (0, call_1.callRule)(ruleNo || noop(), no, context)).pipe((0, operators_1.toArray)(), (0, operators_1.map)(([yesTree, noTree]) => {
- yesTree.merge(noTree, context.strategy);
- return yesTree;
- }));
- };
-}
-exports.partitionApplyMerge = partitionApplyMerge;
-function forEach(operator) {
- return (tree) => {
- tree.visit((path, entry) => {
- if (!entry) {
- return;
- }
- const newEntry = operator(entry);
- if (newEntry === entry) {
- return;
- }
- if (newEntry === null) {
- tree.delete(path);
- return;
- }
- if (newEntry.path != path) {
- tree.rename(path, newEntry.path);
- }
- if (!newEntry.content.equals(entry.content)) {
- tree.overwrite(newEntry.path, newEntry.content);
- }
- });
- };
-}
-exports.forEach = forEach;
-function composeFileOperators(operators) {
- return (entry) => {
- let current = entry;
- for (const op of operators) {
- current = op(current);
- if (current === null) {
- // Deleted, just return.
- return null;
- }
- }
- return current;
- };
-}
-exports.composeFileOperators = composeFileOperators;
-function applyToSubtree(path, rules) {
- return (tree, context) => {
- const scoped = new scoped_1.ScopedTree(tree, path);
- return (0, call_1.callRule)(chain(rules), scoped, context).pipe((0, operators_1.map)((result) => {
- if (result === scoped) {
- return tree;
- }
- else {
- throw new exception_1.SchematicsException('Original tree must be returned from all rules when using "applyToSubtree".');
- }
- }));
- };
-}
-exports.applyToSubtree = applyToSubtree;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/call.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/call.d.ts
deleted file mode 100644
index b978109a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/call.d.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { BaseException } from '@angular-devkit/core';
-import { Observable } from 'rxjs';
-import { Rule, SchematicContext, Source } from '../engine/interface';
-import { Tree } from '../tree/interface';
-/**
- * When a rule or source returns an invalid value.
- */
-export declare class InvalidRuleResultException extends BaseException {
- constructor(value?: {});
-}
-export declare class InvalidSourceResultException extends BaseException {
- constructor(value?: {});
-}
-export declare function callSource(source: Source, context: SchematicContext): Observable<Tree>;
-export declare function callRule(rule: Rule, input: Tree | Observable<Tree>, context: SchematicContext): Observable<Tree>;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/call.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/call.js
deleted file mode 100644
index caeb25ad..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/call.js
+++ /dev/null
@@ -1,110 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.callRule = exports.callSource = exports.InvalidSourceResultException = exports.InvalidRuleResultException = void 0;
-const core_1 = require("@angular-devkit/core");
-const rxjs_1 = require("rxjs");
-const operators_1 = require("rxjs/operators");
-const interface_1 = require("../tree/interface");
-function _getTypeOfResult(value) {
- if (value === undefined) {
- return 'undefined';
- }
- else if (value === null) {
- return 'null';
- }
- else if (typeof value == 'function') {
- return `Function()`;
- }
- else if (typeof value != 'object') {
- return `${typeof value}(${JSON.stringify(value)})`;
- }
- else {
- if (Object.getPrototypeOf(value) == Object) {
- return `Object(${JSON.stringify(value)})`;
- }
- else if (value.constructor) {
- return `Instance of class ${value.constructor.name}`;
- }
- else {
- return 'Unknown Object';
- }
- }
-}
-/**
- * When a rule or source returns an invalid value.
- */
-class InvalidRuleResultException extends core_1.BaseException {
- constructor(value) {
- super(`Invalid rule result: ${_getTypeOfResult(value)}.`);
- }
-}
-exports.InvalidRuleResultException = InvalidRuleResultException;
-class InvalidSourceResultException extends core_1.BaseException {
- constructor(value) {
- super(`Invalid source result: ${_getTypeOfResult(value)}.`);
- }
-}
-exports.InvalidSourceResultException = InvalidSourceResultException;
-function callSource(source, context) {
- const result = source(context);
- if ((0, rxjs_1.isObservable)(result)) {
- // Only return the last Tree, and make sure it's a Tree.
- return result.pipe((0, operators_1.defaultIfEmpty)(), (0, operators_1.last)(), (0, operators_1.tap)((inner) => {
- if (!inner || !(interface_1.TreeSymbol in inner)) {
- throw new InvalidSourceResultException(inner);
- }
- }));
- }
- else if (result && interface_1.TreeSymbol in result) {
- return (0, rxjs_1.of)(result);
- }
- else {
- return (0, rxjs_1.throwError)(new InvalidSourceResultException(result));
- }
-}
-exports.callSource = callSource;
-function callRule(rule, input, context) {
- return ((0, rxjs_1.isObservable)(input) ? input : (0, rxjs_1.of)(input)).pipe((0, operators_1.mergeMap)((inputTree) => {
- const result = rule(inputTree, context);
- if (!result) {
- return (0, rxjs_1.of)(inputTree);
- }
- else if (typeof result == 'function') {
- // This is considered a Rule, chain the rule and return its output.
- return callRule(result, inputTree, context);
- }
- else if ((0, rxjs_1.isObservable)(result)) {
- // Only return the last Tree, and make sure it's a Tree.
- return result.pipe((0, operators_1.defaultIfEmpty)(), (0, operators_1.last)(), (0, operators_1.tap)((inner) => {
- if (!inner || !(interface_1.TreeSymbol in inner)) {
- throw new InvalidRuleResultException(inner);
- }
- }));
- }
- else if ((0, core_1.isPromise)(result)) {
- return (0, rxjs_1.from)(result).pipe((0, operators_1.mergeMap)((inner) => {
- if (typeof inner === 'function') {
- // This is considered a Rule, chain the rule and return its output.
- return callRule(inner, inputTree, context);
- }
- else {
- return (0, rxjs_1.of)(inputTree);
- }
- }));
- }
- else if (interface_1.TreeSymbol in result) {
- return (0, rxjs_1.of)(result);
- }
- else {
- return (0, rxjs_1.throwError)(new InvalidRuleResultException(result));
- }
- }));
-}
-exports.callRule = callRule;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/move.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/move.d.ts
deleted file mode 100644
index 16687aa6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/move.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { Rule } from '../engine/interface';
-export declare function move(from: string, to?: string): Rule;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/move.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/move.js
deleted file mode 100644
index 6a2f7f08..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/move.js
+++ /dev/null
@@ -1,37 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.move = void 0;
-const core_1 = require("@angular-devkit/core");
-const base_1 = require("./base");
-function move(from, to) {
- if (to === undefined) {
- to = from;
- from = '/';
- }
- const fromPath = (0, core_1.normalize)('/' + from);
- const toPath = (0, core_1.normalize)('/' + to);
- if (fromPath === toPath) {
- return base_1.noop;
- }
- return (tree) => {
- if (tree.exists(fromPath)) {
- // fromPath is a file
- tree.rename(fromPath, toPath);
- }
- else {
- // fromPath is a directory
- tree.getDir(fromPath).visit((path) => {
- tree.rename(path, (0, core_1.join)(toPath, path.substr(fromPath.length)));
- });
- }
- return tree;
- };
-}
-exports.move = move;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/random.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/random.d.ts
deleted file mode 100644
index 0abc730f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/random.d.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { Source } from '../engine/interface';
-export interface RandomOptions {
- root?: string;
- multi?: boolean | number;
- multiFiles?: boolean | number;
-}
-export default function (options: RandomOptions): Source;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/random.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/random.js
deleted file mode 100644
index b0ec3fb7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/random.js
+++ /dev/null
@@ -1,40 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-const host_tree_1 = require("../tree/host-tree");
-function generateStringOfLength(l) {
- return new Array(l)
- .fill(0)
- .map((_x) => {
- return 'abcdefghijklmnopqrstuvwxyz'[Math.floor(Math.random() * 26)];
- })
- .join('');
-}
-function random(from, to) {
- return Math.floor(Math.random() * (to - from)) + from;
-}
-function default_1(options) {
- return () => {
- const root = 'root' in options ? options.root : '/';
- const map = new host_tree_1.HostTree();
- const nbFiles = 'multiFiles' in options
- ? typeof options.multiFiles == 'number'
- ? options.multiFiles
- : random(2, 12)
- : 1;
- for (let i = 0; i < nbFiles; i++) {
- const path = 'a/b/c/d/e/f'.slice(Math.random() * 10);
- const fileName = generateStringOfLength(20);
- const content = generateStringOfLength(100);
- map.create(root + '/' + path + '/' + fileName, content);
- }
- return map;
- };
-}
-exports.default = default_1;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/rename.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/rename.d.ts
deleted file mode 100644
index 75e8e42e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/rename.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { Rule } from '../engine/interface';
-import { FilePredicate } from '../tree/interface';
-export declare function rename(match: FilePredicate<boolean>, to: FilePredicate<string>): Rule;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/rename.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/rename.js
deleted file mode 100644
index a02a96d1..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/rename.js
+++ /dev/null
@@ -1,26 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.rename = void 0;
-const core_1 = require("@angular-devkit/core");
-const base_1 = require("./base");
-function rename(match, to) {
- return (0, base_1.forEach)((entry) => {
- if (match(entry.path, entry)) {
- return {
- content: entry.content,
- path: (0, core_1.normalize)(to(entry.path, entry)),
- };
- }
- else {
- return entry;
- }
- });
-}
-exports.rename = rename;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/schematic.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/schematic.d.ts
deleted file mode 100644
index c840fb9c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/schematic.d.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { ExecutionOptions, Rule } from '../engine/interface';
-/**
- * Run a schematic from a separate collection.
- *
- * @param collectionName The name of the collection that contains the schematic to run.
- * @param schematicName The name of the schematic to run.
- * @param options The options to pass as input to the RuleFactory.
- */
-export declare function externalSchematic<OptionT extends object>(collectionName: string, schematicName: string, options: OptionT, executionOptions?: Partial<ExecutionOptions>): Rule;
-/**
- * Run a schematic from the same collection.
- *
- * @param schematicName The name of the schematic to run.
- * @param options The options to pass as input to the RuleFactory.
- */
-export declare function schematic<OptionT extends object>(schematicName: string, options: OptionT, executionOptions?: Partial<ExecutionOptions>): Rule;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/schematic.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/schematic.js
deleted file mode 100644
index 01f69a4e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/schematic.js
+++ /dev/null
@@ -1,51 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.schematic = exports.externalSchematic = void 0;
-const rxjs_1 = require("rxjs");
-const operators_1 = require("rxjs/operators");
-const interface_1 = require("../tree/interface");
-const static_1 = require("../tree/static");
-/**
- * Run a schematic from a separate collection.
- *
- * @param collectionName The name of the collection that contains the schematic to run.
- * @param schematicName The name of the schematic to run.
- * @param options The options to pass as input to the RuleFactory.
- */
-function externalSchematic(collectionName, schematicName, options, executionOptions) {
- return (input, context) => {
- const collection = context.engine.createCollection(collectionName, context.schematic.collection);
- const schematic = collection.createSchematic(schematicName);
- return schematic.call(options, (0, rxjs_1.of)((0, static_1.branch)(input)), context, executionOptions).pipe((0, operators_1.last)(), (0, operators_1.map)((x) => {
- input.merge(x, interface_1.MergeStrategy.AllowOverwriteConflict);
- return input;
- }));
- };
-}
-exports.externalSchematic = externalSchematic;
-/**
- * Run a schematic from the same collection.
- *
- * @param schematicName The name of the schematic to run.
- * @param options The options to pass as input to the RuleFactory.
- */
-function schematic(schematicName, options, executionOptions) {
- return (input, context) => {
- const collection = context.schematic.collection;
- const schematic = collection.createSchematic(schematicName, true);
- return schematic.call(options, (0, rxjs_1.of)((0, static_1.branch)(input)), context, executionOptions).pipe((0, operators_1.last)(), (0, operators_1.map)((x) => {
- // We allow overwrite conflict here because they're the only merge conflict we particularly
- // don't want to deal with; the input tree might have an OVERWRITE which the sub
- input.merge(x, interface_1.MergeStrategy.AllowOverwriteConflict);
- return input;
- }));
- };
-}
-exports.schematic = schematic;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/template.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/template.d.ts
deleted file mode 100644
index 45335160..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/template.d.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { BaseException } from '@angular-devkit/core';
-import { FileOperator, Rule } from '../engine/interface';
-export declare const TEMPLATE_FILENAME_RE: RegExp;
-export declare class OptionIsNotDefinedException extends BaseException {
- constructor(name: string);
-}
-export declare class UnknownPipeException extends BaseException {
- constructor(name: string);
-}
-export declare class InvalidPipeException extends BaseException {
- constructor(name: string);
-}
-export declare type PathTemplateValue = boolean | string | number | undefined;
-export declare type PathTemplatePipeFunction = (x: string) => PathTemplateValue;
-export declare type PathTemplateData = {
- [key: string]: PathTemplateValue | PathTemplateData | PathTemplatePipeFunction;
-};
-export interface PathTemplateOptions {
- interpolationStart: string;
- interpolationEnd: string;
- pipeSeparator?: string;
-}
-export declare function applyContentTemplate<T>(options: T): FileOperator;
-export declare function contentTemplate<T>(options: T): Rule;
-export declare function applyPathTemplate<T extends PathTemplateData>(data: T, options?: PathTemplateOptions): FileOperator;
-export declare function pathTemplate<T extends PathTemplateData>(options: T): Rule;
-/**
- * Remove every `.template` suffix from file names.
- */
-export declare function renameTemplateFiles(): Rule;
-export declare function template<T>(options: T): Rule;
-export declare function applyTemplates<T>(options: T): Rule;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/template.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/template.js
deleted file mode 100644
index 8fc87bc2..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/template.js
+++ /dev/null
@@ -1,151 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.applyTemplates = exports.template = exports.renameTemplateFiles = exports.pathTemplate = exports.applyPathTemplate = exports.contentTemplate = exports.applyContentTemplate = exports.InvalidPipeException = exports.UnknownPipeException = exports.OptionIsNotDefinedException = exports.TEMPLATE_FILENAME_RE = void 0;
-const core_1 = require("@angular-devkit/core");
-const util_1 = require("util");
-const base_1 = require("./base");
-const rename_1 = require("./rename");
-exports.TEMPLATE_FILENAME_RE = /\.template$/;
-class OptionIsNotDefinedException extends core_1.BaseException {
- constructor(name) {
- super(`Option "${name}" is not defined.`);
- }
-}
-exports.OptionIsNotDefinedException = OptionIsNotDefinedException;
-class UnknownPipeException extends core_1.BaseException {
- constructor(name) {
- super(`Pipe "${name}" is not defined.`);
- }
-}
-exports.UnknownPipeException = UnknownPipeException;
-class InvalidPipeException extends core_1.BaseException {
- constructor(name) {
- super(`Pipe "${name}" is invalid.`);
- }
-}
-exports.InvalidPipeException = InvalidPipeException;
-const decoder = new util_1.TextDecoder('utf-8', { fatal: true });
-function applyContentTemplate(options) {
- return (entry) => {
- const { path, content } = entry;
- try {
- const decodedContent = decoder.decode(content);
- return {
- path,
- content: Buffer.from((0, core_1.template)(decodedContent, {})(options)),
- };
- }
- catch (e) {
- if (e.code === 'ERR_ENCODING_INVALID_ENCODED_DATA') {
- return entry;
- }
- throw e;
- }
- };
-}
-exports.applyContentTemplate = applyContentTemplate;
-function contentTemplate(options) {
- return (0, base_1.forEach)(applyContentTemplate(options));
-}
-exports.contentTemplate = contentTemplate;
-function applyPathTemplate(data, options = {
- interpolationStart: '__',
- interpolationEnd: '__',
- pipeSeparator: '@',
-}) {
- const is = options.interpolationStart;
- const ie = options.interpolationEnd;
- const isL = is.length;
- const ieL = ie.length;
- return (entry) => {
- let path = entry.path;
- const content = entry.content;
- const original = path;
- let start = path.indexOf(is);
- // + 1 to have at least a length 1 name. `____` is not valid.
- let end = path.indexOf(ie, start + isL + 1);
- while (start != -1 && end != -1) {
- const match = path.substring(start + isL, end);
- let replacement = data[match];
- if (!options.pipeSeparator) {
- if (typeof replacement == 'function') {
- replacement = replacement.call(data, original);
- }
- if (replacement === undefined) {
- throw new OptionIsNotDefinedException(match);
- }
- }
- else {
- const [name, ...pipes] = match.split(options.pipeSeparator);
- replacement = data[name];
- if (typeof replacement == 'function') {
- replacement = replacement.call(data, original);
- }
- if (replacement === undefined) {
- throw new OptionIsNotDefinedException(name);
- }
- replacement = pipes.reduce((acc, pipe) => {
- if (!pipe) {
- return acc;
- }
- if (!(pipe in data)) {
- throw new UnknownPipeException(pipe);
- }
- if (typeof data[pipe] != 'function') {
- throw new InvalidPipeException(pipe);
- }
- // Coerce to string.
- return '' + data[pipe](acc);
- }, '' + replacement);
- }
- path = path.substring(0, start) + replacement + path.substring(end + ieL);
- start = path.indexOf(options.interpolationStart);
- // See above.
- end = path.indexOf(options.interpolationEnd, start + isL + 1);
- }
- return { path: (0, core_1.normalize)(path), content };
- };
-}
-exports.applyPathTemplate = applyPathTemplate;
-function pathTemplate(options) {
- return (0, base_1.forEach)(applyPathTemplate(options));
-}
-exports.pathTemplate = pathTemplate;
-/**
- * Remove every `.template` suffix from file names.
- */
-function renameTemplateFiles() {
- return (0, rename_1.rename)((path) => !!path.match(exports.TEMPLATE_FILENAME_RE), (path) => path.replace(exports.TEMPLATE_FILENAME_RE, ''));
-}
-exports.renameTemplateFiles = renameTemplateFiles;
-function template(options) {
- return (0, base_1.chain)([
- contentTemplate(options),
- // Force cast to PathTemplateData. We need the type for the actual pathTemplate() call,
- // but in this case we cannot do anything as contentTemplate are more permissive.
- // Since values are coerced to strings in PathTemplates it will be fine in the end.
- pathTemplate(options),
- ]);
-}
-exports.template = template;
-function applyTemplates(options) {
- return (0, base_1.forEach)((0, base_1.when)((path) => path.endsWith('.template'), (0, base_1.composeFileOperators)([
- applyContentTemplate(options),
- // See above for this weird cast.
- applyPathTemplate(options),
- (entry) => {
- return {
- content: entry.content,
- path: entry.path.replace(exports.TEMPLATE_FILENAME_RE, ''),
- };
- },
- ])));
-}
-exports.applyTemplates = applyTemplates;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/url.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/url.d.ts
deleted file mode 100644
index d56462f3..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/url.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { Source } from '../engine/interface';
-export declare function url(urlString: string): Source;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/url.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/url.js
deleted file mode 100644
index 4328f74e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/rules/url.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.url = void 0;
-const url_1 = require("url");
-function url(urlString) {
- const url = (0, url_1.parse)(urlString);
- return (context) => context.engine.createSourceFromUrl(url, context)(context);
-}
-exports.url = url;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/dryrun.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/dryrun.d.ts
deleted file mode 100644
index bb7ab7d1..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/dryrun.d.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { virtualFs } from '@angular-devkit/core';
-import { Observable, Subject } from 'rxjs';
-import { HostSink } from './host';
-export interface DryRunErrorEvent {
- kind: 'error';
- description: 'alreadyExist' | 'doesNotExist';
- path: string;
-}
-export interface DryRunDeleteEvent {
- kind: 'delete';
- path: string;
-}
-export interface DryRunCreateEvent {
- kind: 'create';
- path: string;
- content: Buffer;
-}
-export interface DryRunUpdateEvent {
- kind: 'update';
- path: string;
- content: Buffer;
-}
-export interface DryRunRenameEvent {
- kind: 'rename';
- path: string;
- to: string;
-}
-export declare type DryRunEvent = DryRunErrorEvent | DryRunDeleteEvent | DryRunCreateEvent | DryRunUpdateEvent | DryRunRenameEvent;
-export declare class DryRunSink extends HostSink {
- protected _subject: Subject<DryRunEvent>;
- protected _fileDoesNotExistExceptionSet: Set<string>;
- protected _fileAlreadyExistExceptionSet: Set<string>;
- readonly reporter: Observable<DryRunEvent>;
- /**
- * @param {host} dir The host to use to output. This should be scoped.
- * @param {boolean} force Whether to force overwriting files that already exist.
- */
- constructor(host: virtualFs.Host, force?: boolean);
- protected _fileAlreadyExistException(path: string): void;
- protected _fileDoesNotExistException(path: string): void;
- _done(): Observable<void>;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/dryrun.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/dryrun.js
deleted file mode 100644
index 7ff91540..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/dryrun.js
+++ /dev/null
@@ -1,80 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.DryRunSink = void 0;
-const core_1 = require("@angular-devkit/core");
-const node_1 = require("@angular-devkit/core/node");
-const rxjs_1 = require("rxjs");
-const host_1 = require("./host");
-class DryRunSink extends host_1.HostSink {
- constructor(host, force = false) {
- super(typeof host == 'string'
- ? new core_1.virtualFs.ScopedHost(new node_1.NodeJsSyncHost(), (0, core_1.normalize)(host))
- : host, force);
- this._subject = new rxjs_1.Subject();
- this._fileDoesNotExistExceptionSet = new Set();
- this._fileAlreadyExistExceptionSet = new Set();
- this.reporter = this._subject.asObservable();
- }
- _fileAlreadyExistException(path) {
- this._fileAlreadyExistExceptionSet.add(path);
- }
- _fileDoesNotExistException(path) {
- this._fileDoesNotExistExceptionSet.add(path);
- }
- _done() {
- this._fileAlreadyExistExceptionSet.forEach((path) => {
- this._subject.next({
- kind: 'error',
- description: 'alreadyExist',
- path,
- });
- });
- this._fileDoesNotExistExceptionSet.forEach((path) => {
- this._subject.next({
- kind: 'error',
- description: 'doesNotExist',
- path,
- });
- });
- this._filesToDelete.forEach((path) => {
- // Check if this is a renaming.
- for (const [from] of this._filesToRename) {
- if (from == path) {
- // The event is sent later on.
- return;
- }
- }
- this._subject.next({ kind: 'delete', path });
- });
- this._filesToRename.forEach(([path, to]) => {
- this._subject.next({ kind: 'rename', path, to });
- });
- this._filesToCreate.forEach((content, path) => {
- // Check if this is a renaming.
- for (const [, to] of this._filesToRename) {
- if (to == path) {
- // The event is sent later on.
- return;
- }
- }
- if (this._fileAlreadyExistExceptionSet.has(path) ||
- this._fileDoesNotExistExceptionSet.has(path)) {
- return;
- }
- this._subject.next({ kind: 'create', path, content: content.generate() });
- });
- this._filesToUpdate.forEach((content, path) => {
- this._subject.next({ kind: 'update', path, content: content.generate() });
- });
- this._subject.complete();
- return (0, rxjs_1.of)(undefined);
- }
-}
-exports.DryRunSink = DryRunSink;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.d.ts
deleted file mode 100644
index 3f2934c4..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.d.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { Path, virtualFs } from '@angular-devkit/core';
-import { Observable } from 'rxjs';
-import { CreateFileAction } from '../tree/action';
-import { UpdateBufferBase } from '../utility/update-buffer';
-import { SimpleSinkBase } from './sink';
-export declare class HostSink extends SimpleSinkBase {
- protected _host: virtualFs.Host;
- protected _force: boolean;
- protected _filesToDelete: Set<Path>;
- protected _filesToRename: Set<[Path, Path]>;
- protected _filesToCreate: Map<Path, UpdateBufferBase>;
- protected _filesToUpdate: Map<Path, UpdateBufferBase>;
- constructor(_host: virtualFs.Host, _force?: boolean);
- protected _validateCreateAction(action: CreateFileAction): Observable<void>;
- protected _validateFileExists(p: Path): Observable<boolean>;
- protected _overwriteFile(path: Path, content: Buffer): Observable<void>;
- protected _createFile(path: Path, content: Buffer): Observable<void>;
- protected _renameFile(from: Path, to: Path): Observable<void>;
- protected _deleteFile(path: Path): Observable<void>;
- _done(): Observable<void>;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.js
deleted file mode 100644
index a5bb10b3..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/host.js
+++ /dev/null
@@ -1,76 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.HostSink = void 0;
-const rxjs_1 = require("rxjs");
-const operators_1 = require("rxjs/operators");
-const update_buffer_1 = require("../utility/update-buffer");
-const sink_1 = require("./sink");
-class HostSink extends sink_1.SimpleSinkBase {
- constructor(_host, _force = false) {
- super();
- this._host = _host;
- this._force = _force;
- this._filesToDelete = new Set();
- this._filesToRename = new Set();
- this._filesToCreate = new Map();
- this._filesToUpdate = new Map();
- }
- _validateCreateAction(action) {
- return this._force ? rxjs_1.EMPTY : super._validateCreateAction(action);
- }
- _validateFileExists(p) {
- if (this._filesToCreate.has(p) || this._filesToUpdate.has(p)) {
- return (0, rxjs_1.of)(true);
- }
- if (this._filesToDelete.has(p)) {
- return (0, rxjs_1.of)(false);
- }
- for (const [from, to] of this._filesToRename.values()) {
- switch (p) {
- case from:
- return (0, rxjs_1.of)(false);
- case to:
- return (0, rxjs_1.of)(true);
- }
- }
- return this._host.exists(p);
- }
- _overwriteFile(path, content) {
- this._filesToUpdate.set(path, update_buffer_1.UpdateBufferBase.create(content));
- return rxjs_1.EMPTY;
- }
- _createFile(path, content) {
- this._filesToCreate.set(path, update_buffer_1.UpdateBufferBase.create(content));
- return rxjs_1.EMPTY;
- }
- _renameFile(from, to) {
- this._filesToRename.add([from, to]);
- return rxjs_1.EMPTY;
- }
- _deleteFile(path) {
- if (this._filesToCreate.has(path)) {
- this._filesToCreate.delete(path);
- this._filesToUpdate.delete(path);
- }
- else {
- this._filesToDelete.add(path);
- }
- return rxjs_1.EMPTY;
- }
- _done() {
- // Really commit everything to the actual filesystem.
- return (0, rxjs_1.concat)((0, rxjs_1.from)([...this._filesToDelete.values()]).pipe((0, operators_1.concatMap)((path) => this._host.delete(path))), (0, rxjs_1.from)([...this._filesToRename.entries()]).pipe((0, operators_1.concatMap)(([_, [path, to]]) => this._host.rename(path, to))), (0, rxjs_1.from)([...this._filesToCreate.entries()]).pipe((0, operators_1.concatMap)(([path, buffer]) => {
- return this._host.write(path, buffer.generate());
- })), (0, rxjs_1.from)([...this._filesToUpdate.entries()]).pipe((0, operators_1.concatMap)(([path, buffer]) => {
- return this._host.write(path, buffer.generate());
- }))).pipe((0, operators_1.reduce)(() => { }));
- }
-}
-exports.HostSink = HostSink;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/sink.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/sink.d.ts
deleted file mode 100644
index 9e441f2a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/sink.d.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { Observable } from 'rxjs';
-import { Action, CreateFileAction, DeleteFileAction, OverwriteFileAction, RenameFileAction } from '../tree/action';
-import { Tree } from '../tree/interface';
-export interface Sink {
- commit(tree: Tree): Observable<void>;
-}
-export declare abstract class SimpleSinkBase implements Sink {
- preCommitAction: (action: Action) => void | Action | PromiseLike<Action> | Observable<Action>;
- postCommitAction: (action: Action) => void | Observable<void>;
- preCommit: () => void | Observable<void>;
- postCommit: () => void | Observable<void>;
- protected abstract _validateFileExists(p: string): Observable<boolean>;
- protected abstract _overwriteFile(path: string, content: Buffer): Observable<void>;
- protected abstract _createFile(path: string, content: Buffer): Observable<void>;
- protected abstract _renameFile(path: string, to: string): Observable<void>;
- protected abstract _deleteFile(path: string): Observable<void>;
- protected abstract _done(): Observable<void>;
- protected _fileAlreadyExistException(path: string): void;
- protected _fileDoesNotExistException(path: string): void;
- protected _validateOverwriteAction(action: OverwriteFileAction): Observable<void>;
- protected _validateCreateAction(action: CreateFileAction): Observable<void>;
- protected _validateRenameAction(action: RenameFileAction): Observable<void>;
- protected _validateDeleteAction(action: DeleteFileAction): Observable<void>;
- validateSingleAction(action: Action): Observable<void>;
- commitSingleAction(action: Action): Observable<void>;
- commit(tree: Tree): Observable<void>;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/sink.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/sink.js
deleted file mode 100644
index 80b42052..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/sink/sink.js
+++ /dev/null
@@ -1,116 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.SimpleSinkBase = void 0;
-const rxjs_1 = require("rxjs");
-const operators_1 = require("rxjs/operators");
-const exception_1 = require("../exception/exception");
-const action_1 = require("../tree/action");
-const Noop = function () { };
-class SimpleSinkBase {
- constructor() {
- this.preCommitAction = Noop;
- this.postCommitAction = Noop;
- this.preCommit = Noop;
- this.postCommit = Noop;
- }
- _fileAlreadyExistException(path) {
- throw new exception_1.FileAlreadyExistException(path);
- }
- _fileDoesNotExistException(path) {
- throw new exception_1.FileDoesNotExistException(path);
- }
- _validateOverwriteAction(action) {
- return this._validateFileExists(action.path).pipe((0, operators_1.map)((b) => {
- if (!b) {
- this._fileDoesNotExistException(action.path);
- }
- }));
- }
- _validateCreateAction(action) {
- return this._validateFileExists(action.path).pipe((0, operators_1.map)((b) => {
- if (b) {
- this._fileAlreadyExistException(action.path);
- }
- }));
- }
- _validateRenameAction(action) {
- return this._validateFileExists(action.path).pipe((0, operators_1.map)((b) => {
- if (!b) {
- this._fileDoesNotExistException(action.path);
- }
- }), (0, operators_1.mergeMap)(() => this._validateFileExists(action.to)), (0, operators_1.map)((b) => {
- if (b) {
- this._fileAlreadyExistException(action.to);
- }
- }));
- }
- _validateDeleteAction(action) {
- return this._validateFileExists(action.path).pipe((0, operators_1.map)((b) => {
- if (!b) {
- this._fileDoesNotExistException(action.path);
- }
- }));
- }
- validateSingleAction(action) {
- switch (action.kind) {
- case 'o':
- return this._validateOverwriteAction(action);
- case 'c':
- return this._validateCreateAction(action);
- case 'r':
- return this._validateRenameAction(action);
- case 'd':
- return this._validateDeleteAction(action);
- default:
- throw new action_1.UnknownActionException(action);
- }
- }
- commitSingleAction(action) {
- return (0, rxjs_1.concat)(this.validateSingleAction(action), new rxjs_1.Observable((observer) => {
- let committed = null;
- switch (action.kind) {
- case 'o':
- committed = this._overwriteFile(action.path, action.content);
- break;
- case 'c':
- committed = this._createFile(action.path, action.content);
- break;
- case 'r':
- committed = this._renameFile(action.path, action.to);
- break;
- case 'd':
- committed = this._deleteFile(action.path);
- break;
- }
- if (committed) {
- committed.subscribe(observer);
- }
- else {
- observer.complete();
- }
- })).pipe((0, operators_1.ignoreElements)());
- }
- commit(tree) {
- const actions = (0, rxjs_1.from)(tree.actions);
- return (0, rxjs_1.concat)(this.preCommit() || (0, rxjs_1.of)(null), (0, rxjs_1.defer)(() => actions).pipe((0, operators_1.concatMap)((action) => {
- const maybeAction = this.preCommitAction(action);
- if ((0, rxjs_1.isObservable)(maybeAction) || isPromiseLike(maybeAction)) {
- return maybeAction;
- }
- return (0, rxjs_1.of)(maybeAction || action);
- }), (0, operators_1.concatMap)((action) => {
- return (0, rxjs_1.concat)(this.commitSingleAction(action).pipe((0, operators_1.ignoreElements)()), (0, rxjs_1.of)(action));
- }), (0, operators_1.concatMap)((action) => this.postCommitAction(action) || (0, rxjs_1.of)(null))), (0, rxjs_1.defer)(() => this._done()), (0, rxjs_1.defer)(() => this.postCommit() || (0, rxjs_1.of)(null))).pipe((0, operators_1.ignoreElements)());
- }
-}
-exports.SimpleSinkBase = SimpleSinkBase;
-function isPromiseLike(value) {
- return !!value && typeof value.then === 'function';
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/action.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/action.d.ts
deleted file mode 100644
index 12bc3b8b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/action.d.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { BaseException, Path } from '@angular-devkit/core';
-export declare class UnknownActionException extends BaseException {
- constructor(action: Action);
-}
-export declare type Action = CreateFileAction | OverwriteFileAction | RenameFileAction | DeleteFileAction;
-export interface ActionBase {
- readonly id: number;
- readonly parent: number;
- readonly path: Path;
-}
-export declare class ActionList implements Iterable<Action> {
- private _actions;
- protected _action(action: Partial<Action>): void;
- create(path: Path, content: Buffer): void;
- overwrite(path: Path, content: Buffer): void;
- rename(path: Path, to: Path): void;
- delete(path: Path): void;
- optimize(): void;
- push(action: Action): void;
- get(i: number): Action;
- has(action: Action): boolean;
- find(predicate: (value: Action) => boolean): Action | null;
- forEach(fn: (value: Action, index: number, array: Action[]) => void, thisArg?: {}): void;
- get length(): number;
- [Symbol.iterator](): IterableIterator<Action>;
-}
-export declare function isContentAction(action: Action): action is CreateFileAction | OverwriteFileAction;
-export interface CreateFileAction extends ActionBase {
- readonly kind: 'c';
- readonly content: Buffer;
-}
-export interface OverwriteFileAction extends ActionBase {
- readonly kind: 'o';
- readonly content: Buffer;
-}
-export interface RenameFileAction extends ActionBase {
- readonly kind: 'r';
- readonly to: Path;
-}
-export interface DeleteFileAction extends ActionBase {
- readonly kind: 'd';
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/action.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/action.js
deleted file mode 100644
index b5815892..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/action.js
+++ /dev/null
@@ -1,140 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.isContentAction = exports.ActionList = exports.UnknownActionException = void 0;
-const core_1 = require("@angular-devkit/core");
-class UnknownActionException extends core_1.BaseException {
- constructor(action) {
- super(`Unknown action: "${action.kind}".`);
- }
-}
-exports.UnknownActionException = UnknownActionException;
-let _id = 1;
-class ActionList {
- constructor() {
- this._actions = [];
- }
- _action(action) {
- var _a, _b;
- this._actions.push({
- ...action,
- id: _id++,
- parent: (_b = (_a = this._actions[this._actions.length - 1]) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : 0,
- });
- }
- create(path, content) {
- this._action({ kind: 'c', path, content });
- }
- overwrite(path, content) {
- this._action({ kind: 'o', path, content });
- }
- rename(path, to) {
- this._action({ kind: 'r', path, to });
- }
- delete(path) {
- this._action({ kind: 'd', path });
- }
- optimize() {
- const toCreate = new Map();
- const toRename = new Map();
- const toOverwrite = new Map();
- const toDelete = new Set();
- for (const action of this._actions) {
- switch (action.kind) {
- case 'c':
- toCreate.set(action.path, action.content);
- break;
- case 'o':
- if (toCreate.has(action.path)) {
- toCreate.set(action.path, action.content);
- }
- else {
- toOverwrite.set(action.path, action.content);
- }
- break;
- case 'd':
- toDelete.add(action.path);
- break;
- case 'r':
- const maybeCreate = toCreate.get(action.path);
- const maybeOverwrite = toOverwrite.get(action.path);
- if (maybeCreate) {
- toCreate.delete(action.path);
- toCreate.set(action.to, maybeCreate);
- }
- if (maybeOverwrite) {
- toOverwrite.delete(action.path);
- toOverwrite.set(action.to, maybeOverwrite);
- }
- let maybeRename = undefined;
- for (const [from, to] of toRename.entries()) {
- if (to == action.path) {
- maybeRename = from;
- break;
- }
- }
- if (maybeRename) {
- toRename.set(maybeRename, action.to);
- }
- if (!maybeCreate && !maybeOverwrite && !maybeRename) {
- toRename.set(action.path, action.to);
- }
- break;
- }
- }
- this._actions = [];
- toDelete.forEach((x) => {
- this.delete(x);
- });
- toRename.forEach((to, from) => {
- this.rename(from, to);
- });
- toCreate.forEach((content, path) => {
- this.create(path, content);
- });
- toOverwrite.forEach((content, path) => {
- this.overwrite(path, content);
- });
- }
- push(action) {
- this._actions.push(action);
- }
- get(i) {
- return this._actions[i];
- }
- has(action) {
- for (let i = 0; i < this._actions.length; i++) {
- const a = this._actions[i];
- if (a.id == action.id) {
- return true;
- }
- if (a.id > action.id) {
- return false;
- }
- }
- return false;
- }
- find(predicate) {
- return this._actions.find(predicate) || null;
- }
- forEach(fn, thisArg) {
- this._actions.forEach(fn, thisArg);
- }
- get length() {
- return this._actions.length;
- }
- [Symbol.iterator]() {
- return this._actions[Symbol.iterator]();
- }
-}
-exports.ActionList = ActionList;
-function isContentAction(action) {
- return action.kind == 'c' || action.kind == 'o';
-}
-exports.isContentAction = isContentAction;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/delegate.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/delegate.d.ts
deleted file mode 100644
index 2ffc446e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/delegate.d.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { Action } from './action';
-import { DirEntry, FileEntry, FileVisitor, MergeStrategy, Tree, UpdateRecorder } from './interface';
-export declare class DelegateTree implements Tree {
- protected _other: Tree;
- constructor(_other: Tree);
- branch(): Tree;
- merge(other: Tree, strategy?: MergeStrategy): void;
- get root(): DirEntry;
- read(path: string): Buffer | null;
- exists(path: string): boolean;
- get(path: string): FileEntry | null;
- getDir(path: string): DirEntry;
- visit(visitor: FileVisitor): void;
- overwrite(path: string, content: Buffer | string): void;
- beginUpdate(path: string): UpdateRecorder;
- commitUpdate(record: UpdateRecorder): void;
- create(path: string, content: Buffer | string): void;
- delete(path: string): void;
- rename(from: string, to: string): void;
- apply(action: Action, strategy?: MergeStrategy): void;
- get actions(): Action[];
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/delegate.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/delegate.js
deleted file mode 100644
index f63990b1..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/delegate.js
+++ /dev/null
@@ -1,71 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.DelegateTree = void 0;
-const interface_1 = require("./interface");
-class DelegateTree {
- constructor(_other) {
- this._other = _other;
- }
- branch() {
- return this._other.branch();
- }
- merge(other, strategy) {
- this._other.merge(other, strategy);
- }
- get root() {
- return this._other.root;
- }
- // Readonly.
- read(path) {
- return this._other.read(path);
- }
- exists(path) {
- return this._other.exists(path);
- }
- get(path) {
- return this._other.get(path);
- }
- getDir(path) {
- return this._other.getDir(path);
- }
- visit(visitor) {
- return this._other.visit(visitor);
- }
- // Change content of host files.
- overwrite(path, content) {
- return this._other.overwrite(path, content);
- }
- beginUpdate(path) {
- return this._other.beginUpdate(path);
- }
- commitUpdate(record) {
- return this._other.commitUpdate(record);
- }
- // Structural methods.
- create(path, content) {
- return this._other.create(path, content);
- }
- delete(path) {
- return this._other.delete(path);
- }
- rename(from, to) {
- return this._other.rename(from, to);
- }
- apply(action, strategy) {
- return this._other.apply(action, strategy);
- }
- get actions() {
- return this._other.actions;
- }
- [interface_1.TreeSymbol]() {
- return this;
- }
-}
-exports.DelegateTree = DelegateTree;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/empty.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/empty.d.ts
deleted file mode 100644
index bd29a84e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/empty.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { HostTree } from './host-tree';
-export declare class EmptyTree extends HostTree {
- constructor();
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/empty.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/empty.js
deleted file mode 100644
index 73ed6391..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/empty.js
+++ /dev/null
@@ -1,17 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.EmptyTree = void 0;
-const host_tree_1 = require("./host-tree");
-class EmptyTree extends host_tree_1.HostTree {
- constructor() {
- super();
- }
-}
-exports.EmptyTree = EmptyTree;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/entry.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/entry.d.ts
deleted file mode 100644
index 4fb16d1c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/entry.d.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { Path } from '@angular-devkit/core';
-import { FileEntry } from './interface';
-export declare class SimpleFileEntry implements FileEntry {
- private _path;
- private _content;
- constructor(_path: Path, _content: Buffer);
- get path(): Path;
- get content(): Buffer;
-}
-export declare class LazyFileEntry implements FileEntry {
- private _path;
- private _load;
- private _content;
- constructor(_path: Path, _load: (path?: Path) => Buffer);
- get path(): Path;
- get content(): Buffer;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/entry.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/entry.js
deleted file mode 100644
index cfe7ada6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/entry.js
+++ /dev/null
@@ -1,37 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.LazyFileEntry = exports.SimpleFileEntry = void 0;
-class SimpleFileEntry {
- constructor(_path, _content) {
- this._path = _path;
- this._content = _content;
- }
- get path() {
- return this._path;
- }
- get content() {
- return this._content;
- }
-}
-exports.SimpleFileEntry = SimpleFileEntry;
-class LazyFileEntry {
- constructor(_path, _load) {
- this._path = _path;
- this._load = _load;
- this._content = null;
- }
- get path() {
- return this._path;
- }
- get content() {
- return this._content || (this._content = this._load(this._path));
- }
-}
-exports.LazyFileEntry = LazyFileEntry;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/host-tree.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/host-tree.d.ts
deleted file mode 100644
index dd370e91..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/host-tree.d.ts
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { Path, PathFragment, virtualFs } from '@angular-devkit/core';
-import { Action } from './action';
-import { DirEntry, FileEntry, FilePredicate, FileVisitor, MergeStrategy, Tree, UpdateRecorder } from './interface';
-export declare class HostDirEntry implements DirEntry {
- readonly parent: DirEntry | null;
- readonly path: Path;
- protected _host: virtualFs.SyncDelegateHost;
- protected _tree: Tree;
- constructor(parent: DirEntry | null, path: Path, _host: virtualFs.SyncDelegateHost, _tree: Tree);
- get subdirs(): PathFragment[];
- get subfiles(): PathFragment[];
- dir(name: PathFragment): DirEntry;
- file(name: PathFragment): FileEntry | null;
- visit(visitor: FileVisitor): void;
- private getSubfilesRecursively;
-}
-export declare class HostTree implements Tree {
- protected _backend: virtualFs.ReadonlyHost<{}>;
- private readonly _id;
- private _record;
- private _recordSync;
- private _ancestry;
- private _dirCache;
- static isHostTree(tree: Tree): tree is HostTree;
- constructor(_backend?: virtualFs.ReadonlyHost<{}>);
- protected _normalizePath(path: string): Path;
- protected _willCreate(path: Path): boolean;
- protected _willOverwrite(path: Path): boolean;
- protected _willDelete(path: Path): boolean;
- protected _willRename(path: Path): boolean;
- branch(): Tree;
- private isAncestorOf;
- merge(other: Tree, strategy?: MergeStrategy): void;
- get root(): DirEntry;
- read(path: string): Buffer | null;
- exists(path: string): boolean;
- get(path: string): FileEntry | null;
- getDir(path: string): DirEntry;
- visit(visitor: FileVisitor): void;
- overwrite(path: string, content: Buffer | string): void;
- beginUpdate(path: string): UpdateRecorder;
- commitUpdate(record: UpdateRecorder): void;
- create(path: string, content: Buffer | string): void;
- delete(path: string): void;
- rename(from: string, to: string): void;
- apply(action: Action, strategy?: MergeStrategy): void;
- private generateActions;
- get actions(): Action[];
-}
-export declare class HostCreateTree extends HostTree {
- constructor(host: virtualFs.ReadonlyHost);
-}
-export declare class FilterHostTree extends HostTree {
- constructor(tree: HostTree, filter?: FilePredicate<boolean>);
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/host-tree.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/host-tree.js
deleted file mode 100644
index 8cde1dfa..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/host-tree.js
+++ /dev/null
@@ -1,406 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.FilterHostTree = exports.HostCreateTree = exports.HostTree = exports.HostDirEntry = void 0;
-const core_1 = require("@angular-devkit/core");
-const rxjs_1 = require("rxjs");
-const operators_1 = require("rxjs/operators");
-const exception_1 = require("../exception/exception");
-const delegate_1 = require("./delegate");
-const entry_1 = require("./entry");
-const interface_1 = require("./interface");
-const recorder_1 = require("./recorder");
-const scoped_1 = require("./scoped");
-let _uniqueId = 0;
-class HostDirEntry {
- constructor(parent, path, _host, _tree) {
- this.parent = parent;
- this.path = path;
- this._host = _host;
- this._tree = _tree;
- }
- get subdirs() {
- return this._host
- .list(this.path)
- .filter((fragment) => this._host.isDirectory((0, core_1.join)(this.path, fragment)));
- }
- get subfiles() {
- return this._host
- .list(this.path)
- .filter((fragment) => this._host.isFile((0, core_1.join)(this.path, fragment)));
- }
- dir(name) {
- return this._tree.getDir((0, core_1.join)(this.path, name));
- }
- file(name) {
- return this._tree.get((0, core_1.join)(this.path, name));
- }
- visit(visitor) {
- try {
- this.getSubfilesRecursively().forEach((file) => visitor(file.path, file));
- }
- catch (e) {
- if (e !== interface_1.FileVisitorCancelToken) {
- throw e;
- }
- }
- }
- getSubfilesRecursively() {
- function _recurse(entry) {
- return entry.subdirs.reduce((files, subdir) => [...files, ..._recurse(entry.dir(subdir))], entry.subfiles.map((subfile) => entry.file(subfile)));
- }
- return _recurse(this);
- }
-}
-exports.HostDirEntry = HostDirEntry;
-class HostTree {
- constructor(_backend = new core_1.virtualFs.Empty()) {
- this._backend = _backend;
- this._id = --_uniqueId;
- this._ancestry = new Set();
- this._dirCache = new Map();
- this._record = new core_1.virtualFs.CordHost(new core_1.virtualFs.SafeReadonlyHost(_backend));
- this._recordSync = new core_1.virtualFs.SyncDelegateHost(this._record);
- }
- [interface_1.TreeSymbol]() {
- return this;
- }
- static isHostTree(tree) {
- if (tree instanceof HostTree) {
- return true;
- }
- if (typeof tree === 'object' && typeof tree._ancestry === 'object') {
- return true;
- }
- return false;
- }
- _normalizePath(path) {
- return (0, core_1.normalize)('/' + path);
- }
- _willCreate(path) {
- return this._record.willCreate(path);
- }
- _willOverwrite(path) {
- return this._record.willOverwrite(path);
- }
- _willDelete(path) {
- return this._record.willDelete(path);
- }
- _willRename(path) {
- return this._record.willRename(path);
- }
- branch() {
- const branchedTree = new HostTree(this._backend);
- branchedTree._record = this._record.clone();
- branchedTree._recordSync = new core_1.virtualFs.SyncDelegateHost(branchedTree._record);
- branchedTree._ancestry = new Set(this._ancestry).add(this._id);
- return branchedTree;
- }
- isAncestorOf(tree) {
- if (tree instanceof HostTree) {
- return tree._ancestry.has(this._id);
- }
- if (tree instanceof delegate_1.DelegateTree) {
- return this.isAncestorOf(tree._other);
- }
- if (tree instanceof scoped_1.ScopedTree) {
- return this.isAncestorOf(tree._base);
- }
- return false;
- }
- merge(other, strategy = interface_1.MergeStrategy.Default) {
- if (other === this) {
- // Merging with yourself? Tsk tsk. Nothing to do at least.
- return;
- }
- if (this.isAncestorOf(other)) {
- // Workaround for merging a branch back into one of its ancestors
- // More complete branch point tracking is required to avoid
- strategy |= interface_1.MergeStrategy.Overwrite;
- }
- const creationConflictAllowed = (strategy & interface_1.MergeStrategy.AllowCreationConflict) == interface_1.MergeStrategy.AllowCreationConflict;
- const overwriteConflictAllowed = (strategy & interface_1.MergeStrategy.AllowOverwriteConflict) == interface_1.MergeStrategy.AllowOverwriteConflict;
- const deleteConflictAllowed = (strategy & interface_1.MergeStrategy.AllowDeleteConflict) == interface_1.MergeStrategy.AllowDeleteConflict;
- other.actions.forEach((action) => {
- switch (action.kind) {
- case 'c': {
- const { path, content } = action;
- if (this._willCreate(path) || this._willOverwrite(path) || this.exists(path)) {
- const existingContent = this.read(path);
- if (existingContent && content.equals(existingContent)) {
- // Identical outcome; no action required
- return;
- }
- if (!creationConflictAllowed) {
- throw new exception_1.MergeConflictException(path);
- }
- this._record.overwrite(path, content).subscribe();
- }
- else {
- this._record.create(path, content).subscribe();
- }
- return;
- }
- case 'o': {
- const { path, content } = action;
- if (this._willDelete(path) && !overwriteConflictAllowed) {
- throw new exception_1.MergeConflictException(path);
- }
- // Ignore if content is the same (considered the same change).
- if (this._willOverwrite(path)) {
- const existingContent = this.read(path);
- if (existingContent && content.equals(existingContent)) {
- // Identical outcome; no action required
- return;
- }
- if (!overwriteConflictAllowed) {
- throw new exception_1.MergeConflictException(path);
- }
- }
- // We use write here as merge validation has already been done, and we want to let
- // the CordHost do its job.
- this._record.write(path, content).subscribe();
- return;
- }
- case 'r': {
- const { path, to } = action;
- if (this._willDelete(path)) {
- throw new exception_1.MergeConflictException(path);
- }
- if (this._willRename(path)) {
- if (this._record.willRenameTo(path, to)) {
- // Identical outcome; no action required
- return;
- }
- // No override possible for renaming.
- throw new exception_1.MergeConflictException(path);
- }
- this.rename(path, to);
- return;
- }
- case 'd': {
- const { path } = action;
- if (this._willDelete(path)) {
- // TODO: This should technically check the content (e.g., hash on delete)
- // Identical outcome; no action required
- return;
- }
- if (!this.exists(path) && !deleteConflictAllowed) {
- throw new exception_1.MergeConflictException(path);
- }
- this._recordSync.delete(path);
- return;
- }
- }
- });
- }
- get root() {
- return this.getDir('/');
- }
- // Readonly.
- read(path) {
- const entry = this.get(path);
- return entry ? entry.content : null;
- }
- exists(path) {
- return this._recordSync.isFile(this._normalizePath(path));
- }
- get(path) {
- const p = this._normalizePath(path);
- if (this._recordSync.isDirectory(p)) {
- throw new core_1.PathIsDirectoryException(p);
- }
- if (!this._recordSync.exists(p)) {
- return null;
- }
- return new entry_1.LazyFileEntry(p, () => Buffer.from(this._recordSync.read(p)));
- }
- getDir(path) {
- const p = this._normalizePath(path);
- if (this._recordSync.isFile(p)) {
- throw new core_1.PathIsFileException(p);
- }
- let maybeCache = this._dirCache.get(p);
- if (!maybeCache) {
- let parent = (0, core_1.dirname)(p);
- if (p === parent) {
- parent = null;
- }
- maybeCache = new HostDirEntry(parent && this.getDir(parent), p, this._recordSync, this);
- this._dirCache.set(p, maybeCache);
- }
- return maybeCache;
- }
- visit(visitor) {
- this.root.visit((path, entry) => {
- visitor(path, entry);
- });
- }
- // Change content of host files.
- overwrite(path, content) {
- const p = this._normalizePath(path);
- if (!this._recordSync.exists(p)) {
- throw new exception_1.FileDoesNotExistException(p);
- }
- const c = typeof content == 'string' ? Buffer.from(content) : content;
- this._record.overwrite(p, c).subscribe();
- }
- beginUpdate(path) {
- const entry = this.get(path);
- if (!entry) {
- throw new exception_1.FileDoesNotExistException(path);
- }
- return recorder_1.UpdateRecorderBase.createFromFileEntry(entry);
- }
- commitUpdate(record) {
- if (record instanceof recorder_1.UpdateRecorderBase) {
- const path = record.path;
- const entry = this.get(path);
- if (!entry) {
- throw new exception_1.ContentHasMutatedException(path);
- }
- else {
- const newContent = record.apply(entry.content);
- if (!newContent.equals(entry.content)) {
- this.overwrite(path, newContent);
- }
- }
- }
- else {
- throw new exception_1.InvalidUpdateRecordException();
- }
- }
- // Structural methods.
- create(path, content) {
- const p = this._normalizePath(path);
- if (this._recordSync.exists(p)) {
- throw new exception_1.FileAlreadyExistException(p);
- }
- const c = typeof content == 'string' ? Buffer.from(content) : content;
- this._record.create(p, c).subscribe();
- }
- delete(path) {
- this._recordSync.delete(this._normalizePath(path));
- }
- rename(from, to) {
- this._recordSync.rename(this._normalizePath(from), this._normalizePath(to));
- }
- apply(action, strategy) {
- throw new exception_1.SchematicsException('Apply not implemented on host trees.');
- }
- *generateActions() {
- for (const record of this._record.records()) {
- switch (record.kind) {
- case 'create':
- yield {
- id: this._id,
- parent: 0,
- kind: 'c',
- path: record.path,
- content: Buffer.from(record.content),
- };
- break;
- case 'overwrite':
- yield {
- id: this._id,
- parent: 0,
- kind: 'o',
- path: record.path,
- content: Buffer.from(record.content),
- };
- break;
- case 'rename':
- yield {
- id: this._id,
- parent: 0,
- kind: 'r',
- path: record.from,
- to: record.to,
- };
- break;
- case 'delete':
- yield {
- id: this._id,
- parent: 0,
- kind: 'd',
- path: record.path,
- };
- break;
- }
- }
- }
- get actions() {
- // Create a list of all records until we hit our original backend. This is to support branches
- // that diverge from each others.
- return Array.from(this.generateActions());
- }
-}
-exports.HostTree = HostTree;
-class HostCreateTree extends HostTree {
- constructor(host) {
- super();
- const tempHost = new HostTree(host);
- tempHost.visit((path) => {
- const content = tempHost.read(path);
- if (content) {
- this.create(path, content);
- }
- });
- }
-}
-exports.HostCreateTree = HostCreateTree;
-class FilterHostTree extends HostTree {
- constructor(tree, filter = () => true) {
- const newBackend = new core_1.virtualFs.SimpleMemoryHost();
- // cast to allow access
- const originalBackend = tree._backend;
- const recurse = (base) => {
- return originalBackend.list(base).pipe((0, operators_1.mergeMap)((x) => x), (0, operators_1.map)((path) => (0, core_1.join)(base, path)), (0, operators_1.concatMap)((path) => {
- let isDirectory = false;
- originalBackend.isDirectory(path).subscribe((val) => (isDirectory = val));
- if (isDirectory) {
- return recurse(path);
- }
- let isFile = false;
- originalBackend.isFile(path).subscribe((val) => (isFile = val));
- if (!isFile || !filter(path)) {
- return rxjs_1.EMPTY;
- }
- let content = null;
- originalBackend.read(path).subscribe((val) => (content = val));
- if (!content) {
- return rxjs_1.EMPTY;
- }
- return newBackend.write(path, content);
- }));
- };
- recurse((0, core_1.normalize)('/')).subscribe();
- super(newBackend);
- for (const action of tree.actions) {
- if (!filter(action.path)) {
- continue;
- }
- switch (action.kind) {
- case 'c':
- this.create(action.path, action.content);
- break;
- case 'd':
- this.delete(action.path);
- break;
- case 'o':
- this.overwrite(action.path, action.content);
- break;
- case 'r':
- this.rename(action.path, action.to);
- break;
- }
- }
- }
-}
-exports.FilterHostTree = FilterHostTree;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/interface.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/interface.d.ts
deleted file mode 100644
index 168e0591..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/interface.d.ts
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { Path, PathFragment } from '@angular-devkit/core';
-import { Action } from './action';
-export declare enum MergeStrategy {
- AllowOverwriteConflict = 2,
- AllowCreationConflict = 4,
- AllowDeleteConflict = 8,
- Default = 0,
- Error = 1,
- ContentOnly = 2,
- Overwrite = 14
-}
-export declare const FileVisitorCancelToken: symbol;
-export declare type FileVisitor = FilePredicate<void>;
-export interface FileEntry {
- readonly path: Path;
- readonly content: Buffer;
-}
-export interface DirEntry {
- readonly parent: DirEntry | null;
- readonly path: Path;
- readonly subdirs: PathFragment[];
- readonly subfiles: PathFragment[];
- dir(name: PathFragment): DirEntry;
- file(name: PathFragment): FileEntry | null;
- visit(visitor: FileVisitor): void;
-}
-export interface FilePredicate<T> {
- (path: Path, entry?: Readonly<FileEntry> | null): T;
-}
-export declare const TreeSymbol: symbol;
-export interface Tree {
- branch(): Tree;
- merge(other: Tree, strategy?: MergeStrategy): void;
- readonly root: DirEntry;
- read(path: string): Buffer | null;
- exists(path: string): boolean;
- get(path: string): FileEntry | null;
- getDir(path: string): DirEntry;
- visit(visitor: FileVisitor): void;
- overwrite(path: string, content: Buffer | string): void;
- beginUpdate(path: string): UpdateRecorder;
- commitUpdate(record: UpdateRecorder): void;
- create(path: string, content: Buffer | string): void;
- delete(path: string): void;
- rename(from: string, to: string): void;
- apply(action: Action, strategy?: MergeStrategy): void;
- readonly actions: Action[];
-}
-export interface UpdateRecorder {
- insertLeft(index: number, content: Buffer | string): UpdateRecorder;
- insertRight(index: number, content: Buffer | string): UpdateRecorder;
- remove(index: number, length: number): UpdateRecorder;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/interface.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/interface.js
deleted file mode 100644
index b8ac1141..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/interface.js
+++ /dev/null
@@ -1,47 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.TreeSymbol = exports.FileVisitorCancelToken = exports.MergeStrategy = void 0;
-var MergeStrategy;
-(function (MergeStrategy) {
- MergeStrategy[MergeStrategy["AllowOverwriteConflict"] = 2] = "AllowOverwriteConflict";
- MergeStrategy[MergeStrategy["AllowCreationConflict"] = 4] = "AllowCreationConflict";
- MergeStrategy[MergeStrategy["AllowDeleteConflict"] = 8] = "AllowDeleteConflict";
- // Uses the default strategy.
- MergeStrategy[MergeStrategy["Default"] = 0] = "Default";
- // Error out if 2 files have the same path. It is useful to have a different value than
- // Default in this case as the tooling Default might differ.
- MergeStrategy[MergeStrategy["Error"] = 1] = "Error";
- // Only content conflicts are overwritten.
- MergeStrategy[MergeStrategy["ContentOnly"] = 2] = "ContentOnly";
- // Overwrite everything with the latest change.
- MergeStrategy[MergeStrategy["Overwrite"] = 14] = "Overwrite";
-})(MergeStrategy = exports.MergeStrategy || (exports.MergeStrategy = {}));
-// eslint-disable-next-line @typescript-eslint/no-inferrable-types
-exports.FileVisitorCancelToken = Symbol();
-exports.TreeSymbol = (function () {
- const globalSymbol = (typeof window == 'object' && window.window === window && window.Symbol) ||
- (typeof self == 'object' && self.self === self && self.Symbol) ||
- (typeof global == 'object' && global.global === global && global.Symbol);
- if (!globalSymbol) {
- return Symbol('schematic-tree');
- }
- if (!globalSymbol.schematicTree) {
- globalSymbol.schematicTree = Symbol('schematic-tree');
- }
- return globalSymbol.schematicTree;
-})();
-// eslint-disable-next-line @typescript-eslint/no-namespace
-var Tree;
-(function (Tree) {
- function isTree(maybeTree) {
- return exports.TreeSymbol in maybeTree;
- }
- Tree.isTree = isTree;
-})(Tree || (Tree = {}));
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/null.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/null.d.ts
deleted file mode 100644
index 0a7ac06a..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/null.d.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { BaseException, Path, PathFragment } from '@angular-devkit/core';
-import { Action } from './action';
-import { DirEntry, MergeStrategy, Tree, UpdateRecorder } from './interface';
-export declare class CannotCreateFileException extends BaseException {
- constructor(path: string);
-}
-export declare class NullTreeDirEntry implements DirEntry {
- readonly path: Path;
- get parent(): DirEntry | null;
- constructor(path: Path);
- readonly subdirs: PathFragment[];
- readonly subfiles: PathFragment[];
- dir(name: PathFragment): DirEntry;
- file(_name: PathFragment): null;
- visit(): void;
-}
-export declare class NullTree implements Tree {
- branch(): Tree;
- merge(_other: Tree, _strategy?: MergeStrategy): void;
- readonly root: DirEntry;
- exists(_path: string): boolean;
- read(_path: string): null;
- get(_path: string): null;
- getDir(path: string): NullTreeDirEntry;
- visit(): void;
- beginUpdate(path: string): never;
- commitUpdate(record: UpdateRecorder): never;
- copy(path: string, _to: string): never;
- delete(path: string): never;
- create(path: string, _content: Buffer | string): never;
- rename(path: string, _to: string): never;
- overwrite(path: string, _content: Buffer | string): never;
- apply(_action: Action, _strategy?: MergeStrategy): void;
- get actions(): Action[];
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/null.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/null.js
deleted file mode 100644
index 007e5bbe..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/null.js
+++ /dev/null
@@ -1,92 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.NullTree = exports.NullTreeDirEntry = exports.CannotCreateFileException = void 0;
-const core_1 = require("@angular-devkit/core");
-const exception_1 = require("../exception/exception");
-const interface_1 = require("./interface");
-const recorder_1 = require("./recorder");
-class CannotCreateFileException extends core_1.BaseException {
- constructor(path) {
- super(`Cannot create file "${path}".`);
- }
-}
-exports.CannotCreateFileException = CannotCreateFileException;
-class NullTreeDirEntry {
- constructor(path) {
- this.path = path;
- this.subdirs = [];
- this.subfiles = [];
- }
- get parent() {
- return this.path == '/' ? null : new NullTreeDirEntry((0, core_1.dirname)(this.path));
- }
- dir(name) {
- return new NullTreeDirEntry((0, core_1.join)(this.path, name));
- }
- file(_name) {
- return null;
- }
- visit() { }
-}
-exports.NullTreeDirEntry = NullTreeDirEntry;
-class NullTree {
- constructor() {
- this.root = new NullTreeDirEntry((0, core_1.normalize)('/'));
- }
- [interface_1.TreeSymbol]() {
- return this;
- }
- branch() {
- return new NullTree();
- }
- merge(_other, _strategy) { }
- // Simple readonly file system operations.
- exists(_path) {
- return false;
- }
- read(_path) {
- return null;
- }
- get(_path) {
- return null;
- }
- getDir(path) {
- return new NullTreeDirEntry((0, core_1.normalize)('/' + path));
- }
- visit() { }
- // Change content of host files.
- beginUpdate(path) {
- throw new exception_1.FileDoesNotExistException(path);
- }
- commitUpdate(record) {
- throw new exception_1.FileDoesNotExistException(record instanceof recorder_1.UpdateRecorderBase ? record.path : '<unknown>');
- }
- // Change structure of the host.
- copy(path, _to) {
- throw new exception_1.FileDoesNotExistException(path);
- }
- delete(path) {
- throw new exception_1.FileDoesNotExistException(path);
- }
- create(path, _content) {
- throw new CannotCreateFileException(path);
- }
- rename(path, _to) {
- throw new exception_1.FileDoesNotExistException(path);
- }
- overwrite(path, _content) {
- throw new exception_1.FileDoesNotExistException(path);
- }
- apply(_action, _strategy) { }
- get actions() {
- return [];
- }
-}
-exports.NullTree = NullTree;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/recorder.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/recorder.d.ts
deleted file mode 100644
index 21dc6b6e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/recorder.d.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { UpdateBufferBase } from '../utility/update-buffer';
-import { FileEntry, UpdateRecorder } from './interface';
-export declare class UpdateRecorderBase implements UpdateRecorder {
- protected _path: string;
- protected _original: Buffer;
- protected _content: UpdateBufferBase;
- constructor(entry: FileEntry);
- static createFromFileEntry(entry: FileEntry): UpdateRecorderBase;
- get path(): string;
- insertLeft(index: number, content: Buffer | string): UpdateRecorder;
- insertRight(index: number, content: Buffer | string): UpdateRecorder;
- remove(index: number, length: number): UpdateRecorder;
- apply(content: Buffer): Buffer;
-}
-export declare class UpdateRecorderBom extends UpdateRecorderBase {
- private _delta;
- constructor(entry: FileEntry, _delta?: number);
- insertLeft(index: number, content: Buffer | string): UpdateRecorder;
- insertRight(index: number, content: Buffer | string): UpdateRecorder;
- remove(index: number, length: number): UpdateRecorder;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/recorder.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/recorder.js
deleted file mode 100644
index b05ef116..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/recorder.js
+++ /dev/null
@@ -1,74 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.UpdateRecorderBom = exports.UpdateRecorderBase = void 0;
-const exception_1 = require("../exception/exception");
-const update_buffer_1 = require("../utility/update-buffer");
-class UpdateRecorderBase {
- constructor(entry) {
- this._original = Buffer.from(entry.content);
- this._content = update_buffer_1.UpdateBufferBase.create(entry.content);
- this._path = entry.path;
- }
- static createFromFileEntry(entry) {
- const c0 = entry.content.byteLength > 0 && entry.content.readUInt8(0);
- const c1 = entry.content.byteLength > 1 && entry.content.readUInt8(1);
- const c2 = entry.content.byteLength > 2 && entry.content.readUInt8(2);
- // Check if we're BOM.
- if (c0 == 0xef && c1 == 0xbb && c2 == 0xbf) {
- return new UpdateRecorderBom(entry);
- }
- else if (c0 === 0xff && c1 == 0xfe) {
- return new UpdateRecorderBom(entry);
- }
- else if (c0 === 0xfe && c1 == 0xff) {
- return new UpdateRecorderBom(entry);
- }
- return new UpdateRecorderBase(entry);
- }
- get path() {
- return this._path;
- }
- // These just record changes.
- insertLeft(index, content) {
- this._content.insertLeft(index, typeof content == 'string' ? Buffer.from(content) : content);
- return this;
- }
- insertRight(index, content) {
- this._content.insertRight(index, typeof content == 'string' ? Buffer.from(content) : content);
- return this;
- }
- remove(index, length) {
- this._content.remove(index, length);
- return this;
- }
- apply(content) {
- if (!content.equals(this._content.original)) {
- throw new exception_1.ContentHasMutatedException(this.path);
- }
- return this._content.generate();
- }
-}
-exports.UpdateRecorderBase = UpdateRecorderBase;
-class UpdateRecorderBom extends UpdateRecorderBase {
- constructor(entry, _delta = 1) {
- super(entry);
- this._delta = _delta;
- }
- insertLeft(index, content) {
- return super.insertLeft(index + this._delta, content);
- }
- insertRight(index, content) {
- return super.insertRight(index + this._delta, content);
- }
- remove(index, length) {
- return super.remove(index + this._delta, length);
- }
-}
-exports.UpdateRecorderBom = UpdateRecorderBom;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/scoped.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/scoped.d.ts
deleted file mode 100644
index 4884d693..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/scoped.d.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { Path, PathFragment } from '@angular-devkit/core';
-import { Action } from './action';
-import { DirEntry, FileEntry, FileVisitor, MergeStrategy, Tree, UpdateRecorder } from './interface';
-declare class ScopedDirEntry implements DirEntry {
- private _base;
- readonly scope: Path;
- constructor(_base: DirEntry, scope: Path);
- get parent(): DirEntry | null;
- get path(): Path;
- get subdirs(): PathFragment[];
- get subfiles(): PathFragment[];
- dir(name: PathFragment): DirEntry;
- file(name: PathFragment): FileEntry | null;
- visit(visitor: FileVisitor): void;
-}
-export declare class ScopedTree implements Tree {
- private _base;
- readonly _root: ScopedDirEntry;
- constructor(_base: Tree, scope: string);
- get root(): DirEntry;
- branch(): Tree;
- merge(other: Tree, strategy?: MergeStrategy): void;
- read(path: string): Buffer | null;
- exists(path: string): boolean;
- get(path: string): FileEntry | null;
- getDir(path: string): DirEntry;
- visit(visitor: FileVisitor): void;
- overwrite(path: string, content: Buffer | string): void;
- beginUpdate(path: string): UpdateRecorder;
- commitUpdate(record: UpdateRecorder): void;
- create(path: string, content: Buffer | string): void;
- delete(path: string): void;
- rename(from: string, to: string): void;
- apply(action: Action, strategy?: MergeStrategy): void;
- get actions(): Action[];
- private _fullPath;
- private _fullPathAction;
-}
-export {};
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/scoped.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/scoped.js
deleted file mode 100644
index 61cc0049..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/scoped.js
+++ /dev/null
@@ -1,169 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ScopedTree = void 0;
-const core_1 = require("@angular-devkit/core");
-const delegate_1 = require("./delegate");
-const interface_1 = require("./interface");
-class ScopedFileEntry {
- constructor(_base, scope) {
- this._base = _base;
- this.scope = scope;
- }
- get path() {
- return (0, core_1.join)(core_1.NormalizedRoot, (0, core_1.relative)(this.scope, this._base.path));
- }
- get content() {
- return this._base.content;
- }
-}
-class ScopedDirEntry {
- constructor(_base, scope) {
- this._base = _base;
- this.scope = scope;
- }
- get parent() {
- if (!this._base.parent || this._base.path == this.scope) {
- return null;
- }
- return new ScopedDirEntry(this._base.parent, this.scope);
- }
- get path() {
- return (0, core_1.join)(core_1.NormalizedRoot, (0, core_1.relative)(this.scope, this._base.path));
- }
- get subdirs() {
- return this._base.subdirs;
- }
- get subfiles() {
- return this._base.subfiles;
- }
- dir(name) {
- const entry = this._base.dir(name);
- return entry && new ScopedDirEntry(entry, this.scope);
- }
- file(name) {
- const entry = this._base.file(name);
- return entry && new ScopedFileEntry(entry, this.scope);
- }
- visit(visitor) {
- return this._base.visit((path, entry) => {
- visitor((0, core_1.join)(core_1.NormalizedRoot, (0, core_1.relative)(this.scope, path)), entry && new ScopedFileEntry(entry, this.scope));
- });
- }
-}
-class ScopedTree {
- constructor(_base, scope) {
- this._base = _base;
- const normalizedScope = (0, core_1.normalize)('/' + scope);
- this._root = new ScopedDirEntry(this._base.getDir(normalizedScope), normalizedScope);
- }
- get root() {
- return this._root;
- }
- branch() {
- return new ScopedTree(this._base.branch(), this._root.scope);
- }
- merge(other, strategy) {
- // eslint-disable-next-line @typescript-eslint/no-this-alias
- const self = this;
- const delegate = new (class extends delegate_1.DelegateTree {
- get actions() {
- return other.actions.map((action) => self._fullPathAction(action));
- }
- })(other);
- this._base.merge(delegate, strategy);
- }
- // Readonly.
- read(path) {
- return this._base.read(this._fullPath(path));
- }
- exists(path) {
- return this._base.exists(this._fullPath(path));
- }
- get(path) {
- const entry = this._base.get(this._fullPath(path));
- return entry && new ScopedFileEntry(entry, this._root.scope);
- }
- getDir(path) {
- const entry = this._base.getDir(this._fullPath(path));
- return entry && new ScopedDirEntry(entry, this._root.scope);
- }
- visit(visitor) {
- return this._root.visit(visitor);
- }
- // Change content of host files.
- overwrite(path, content) {
- return this._base.overwrite(this._fullPath(path), content);
- }
- beginUpdate(path) {
- return this._base.beginUpdate(this._fullPath(path));
- }
- commitUpdate(record) {
- return this._base.commitUpdate(record);
- }
- // Structural methods.
- create(path, content) {
- return this._base.create(this._fullPath(path), content);
- }
- delete(path) {
- return this._base.delete(this._fullPath(path));
- }
- rename(from, to) {
- return this._base.rename(this._fullPath(from), this._fullPath(to));
- }
- apply(action, strategy) {
- return this._base.apply(this._fullPathAction(action), strategy);
- }
- get actions() {
- const scopedActions = [];
- for (const action of this._base.actions) {
- if (!action.path.startsWith(this._root.scope + '/')) {
- continue;
- }
- if (action.kind !== 'r') {
- scopedActions.push({
- ...action,
- path: (0, core_1.join)(core_1.NormalizedRoot, (0, core_1.relative)(this._root.scope, action.path)),
- });
- }
- else if (action.to.startsWith(this._root.scope + '/')) {
- scopedActions.push({
- ...action,
- path: (0, core_1.join)(core_1.NormalizedRoot, (0, core_1.relative)(this._root.scope, action.path)),
- to: (0, core_1.join)(core_1.NormalizedRoot, (0, core_1.relative)(this._root.scope, action.to)),
- });
- }
- }
- return scopedActions;
- }
- [interface_1.TreeSymbol]() {
- return this;
- }
- _fullPath(path) {
- return (0, core_1.join)(this._root.scope, (0, core_1.normalize)('/' + path));
- }
- _fullPathAction(action) {
- let fullPathAction;
- if (action.kind === 'r') {
- fullPathAction = {
- ...action,
- path: this._fullPath(action.path),
- to: this._fullPath(action.to),
- };
- }
- else {
- fullPathAction = {
- ...action,
- path: this._fullPath(action.path),
- };
- }
- return fullPathAction;
- }
-}
-exports.ScopedTree = ScopedTree;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/static.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/static.d.ts
deleted file mode 100644
index 9b7062ab..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/static.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { HostTree } from './host-tree';
-import { FilePredicate, MergeStrategy, Tree } from './interface';
-export declare function empty(): HostTree;
-export declare function branch(tree: Tree): Tree;
-export declare function merge(tree: Tree, other: Tree, strategy?: MergeStrategy): Tree;
-export declare function partition(tree: Tree, predicate: FilePredicate<boolean>): [Tree, Tree];
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/static.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/static.js
deleted file mode 100644
index 70b5293c..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/tree/static.js
+++ /dev/null
@@ -1,38 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.partition = exports.merge = exports.branch = exports.empty = void 0;
-const exception_1 = require("../exception/exception");
-const host_tree_1 = require("./host-tree");
-const interface_1 = require("./interface");
-function empty() {
- return new host_tree_1.HostTree();
-}
-exports.empty = empty;
-function branch(tree) {
- return tree.branch();
-}
-exports.branch = branch;
-function merge(tree, other, strategy = interface_1.MergeStrategy.Default) {
- tree.merge(other, strategy);
- return tree;
-}
-exports.merge = merge;
-function partition(tree, predicate) {
- if (tree instanceof host_tree_1.HostTree) {
- return [
- new host_tree_1.FilterHostTree(tree, predicate),
- new host_tree_1.FilterHostTree(tree, (path, entry) => !predicate(path, entry)),
- ];
- }
- else {
- throw new exception_1.SchematicsException('Tree type is not supported.');
- }
-}
-exports.partition = partition;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/environment-options.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/environment-options.d.ts
deleted file mode 100644
index 01f356cb..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/environment-options.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-export declare const updateBufferV2Enabled: boolean;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/environment-options.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/environment-options.js
deleted file mode 100644
index a33531c4..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/environment-options.js
+++ /dev/null
@@ -1,20 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.updateBufferV2Enabled = void 0;
-function isEnabled(variable) {
- return variable === '1' || variable.toLowerCase() === 'true';
-}
-function isPresent(variable) {
- return typeof variable === 'string' && variable !== '';
-}
-// Use UpdateBuffer2, which uses magic-string internally.
-// TODO: Switch this for the next major release to use UpdateBuffer2 by default.
-const updateBufferV2 = process.env['NG_UPDATE_BUFFER_V2'];
-exports.updateBufferV2Enabled = isPresent(updateBufferV2) && isEnabled(updateBufferV2);
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/linked-list.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/linked-list.d.ts
deleted file mode 100644
index 721aa6b7..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/linked-list.d.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-export declare class LinkedList<T extends {
- next: T | null;
-}> {
- private _head;
- constructor(_head: T);
- get(l: number): T | null;
- get head(): T;
- get length(): number;
- reduce<R>(accumulator: (acc: R, value: T, index?: number) => R, seed: R): R;
- find(predicate: (value: T, index?: number) => boolean): T | null;
- forEach(visitor: (value: T, index?: number) => void): void;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/linked-list.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/linked-list.js
deleted file mode 100644
index 847cdcd8..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/linked-list.js
+++ /dev/null
@@ -1,68 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.LinkedList = void 0;
-class LinkedList {
- constructor(_head) {
- this._head = _head;
- }
- get(l) {
- let c = this._head;
- while (c && l > 0) {
- l--;
- c = c.next;
- }
- return c;
- }
- get head() {
- return this._head;
- }
- get length() {
- let c = this._head;
- let i = 0;
- while (c) {
- i++;
- c = c.next;
- }
- return i;
- }
- reduce(accumulator, seed) {
- let c = this._head;
- let acc = seed;
- let i = 0;
- while (c) {
- acc = accumulator(acc, c, i);
- i++;
- c = c.next;
- }
- return acc;
- }
- find(predicate) {
- let c = this._head;
- let i = 0;
- while (c) {
- if (predicate(c, i)) {
- break;
- }
- i++;
- c = c.next;
- }
- return c;
- }
- forEach(visitor) {
- let c = this._head;
- let i = 0;
- while (c) {
- visitor(c, i);
- i++;
- c = c.next;
- }
- }
-}
-exports.LinkedList = LinkedList;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/update-buffer.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/update-buffer.d.ts
deleted file mode 100644
index 7a7ec1bf..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/update-buffer.d.ts
+++ /dev/null
@@ -1,118 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-/// <reference types="node" />
-import { BaseException } from '@angular-devkit/core';
-import MagicString from 'magic-string';
-import { LinkedList } from './linked-list';
-export declare class IndexOutOfBoundException extends BaseException {
- constructor(index: number, min: number, max?: number);
-}
-/** @deprecated Since v13.0 */
-export declare class ContentCannotBeRemovedException extends BaseException {
- constructor();
-}
-/**
- * A Chunk description, including left/right content that has been inserted.
- * If _left/_right is null, this means that content was deleted. If the _content is null,
- * it means the content itself was deleted.
- *
- * @see UpdateBuffer
- * @deprecated Since v13.0
- */
-export declare class Chunk {
- start: number;
- end: number;
- originalContent: Buffer;
- private _content;
- private _left;
- private _right;
- private _assertLeft;
- private _assertRight;
- next: Chunk | null;
- constructor(start: number, end: number, originalContent: Buffer);
- get length(): number;
- toString(encoding?: BufferEncoding): string;
- slice(start: number): Chunk;
- append(buffer: Buffer, essential: boolean): void;
- prepend(buffer: Buffer, essential: boolean): void;
- assert(left: boolean, _content: boolean, right: boolean): void;
- remove(left: boolean, content: boolean, right: boolean): void;
- copy(target: Buffer, start: number): number;
-}
-/**
- * Base class for an update buffer implementation that allows buffers to be inserted to the _right
- * or _left, or deleted, while keeping indices to the original buffer.
- */
-export declare abstract class UpdateBufferBase {
- protected _originalContent: Buffer;
- constructor(_originalContent: Buffer);
- abstract get length(): number;
- abstract get original(): Buffer;
- abstract toString(encoding?: string): string;
- abstract generate(): Buffer;
- abstract insertLeft(index: number, content: Buffer, assert?: boolean): void;
- abstract insertRight(index: number, content: Buffer, assert?: boolean): void;
- abstract remove(index: number, length: number): void;
- /**
- * Creates an UpdateBufferBase instance. Depending on the NG_UPDATE_BUFFER_V2
- * environment variable, will either create an UpdateBuffer or an UpdateBuffer2
- * instance.
- *
- * See: https://github.com/angular/angular-cli/issues/21110
- *
- * @param originalContent The original content of the update buffer instance.
- * @returns An UpdateBufferBase instance.
- */
- static create(originalContent: Buffer): UpdateBufferBase;
-}
-/**
- * An utility class that allows buffers to be inserted to the _right or _left, or deleted, while
- * keeping indices to the original buffer.
- *
- * The constructor takes an original buffer, and keeps it into a linked list of chunks, smaller
- * buffers that keep track of _content inserted to the _right or _left of it.
- *
- * Since the Node Buffer structure is non-destructive when slicing, we try to use slicing to create
- * new chunks, and always keep chunks pointing to the original content.
- *
- * @deprecated Since v13.0
- */
-export declare class UpdateBuffer extends UpdateBufferBase {
- protected _linkedList: LinkedList<Chunk>;
- constructor(originalContent: Buffer);
- protected _assertIndex(index: number): void;
- protected _slice(start: number): [Chunk, Chunk];
- /**
- * Gets the position in the content based on the position in the string.
- * Some characters might be wider than one byte, thus we have to determine the position using
- * string functions.
- */
- protected _getTextPosition(index: number): number;
- get length(): number;
- get original(): Buffer;
- toString(encoding?: BufferEncoding): string;
- generate(): Buffer;
- insertLeft(index: number, content: Buffer, assert?: boolean): void;
- insertRight(index: number, content: Buffer, assert?: boolean): void;
- remove(index: number, length: number): void;
-}
-/**
- * An utility class that allows buffers to be inserted to the _right or _left, or deleted, while
- * keeping indices to the original buffer.
- */
-export declare class UpdateBuffer2 extends UpdateBufferBase {
- protected _mutatableContent: MagicString;
- protected _assertIndex(index: number): void;
- get length(): number;
- get original(): Buffer;
- toString(): string;
- generate(): Buffer;
- insertLeft(index: number, content: Buffer): void;
- insertRight(index: number, content: Buffer): void;
- remove(index: number, length: number): void;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/update-buffer.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/update-buffer.js
deleted file mode 100644
index 03f20846..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/utility/update-buffer.js
+++ /dev/null
@@ -1,324 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-var __importDefault = (this && this.__importDefault) || function (mod) {
- return (mod && mod.__esModule) ? mod : { "default": mod };
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.UpdateBuffer2 = exports.UpdateBuffer = exports.UpdateBufferBase = exports.Chunk = exports.ContentCannotBeRemovedException = exports.IndexOutOfBoundException = void 0;
-const core_1 = require("@angular-devkit/core");
-const magic_string_1 = __importDefault(require("magic-string"));
-const environment_options_1 = require("./environment-options");
-const linked_list_1 = require("./linked-list");
-class IndexOutOfBoundException extends core_1.BaseException {
- constructor(index, min, max = Infinity) {
- super(`Index ${index} outside of range [${min}, ${max}].`);
- }
-}
-exports.IndexOutOfBoundException = IndexOutOfBoundException;
-/** @deprecated Since v13.0 */
-class ContentCannotBeRemovedException extends core_1.BaseException {
- constructor() {
- super(`User tried to remove content that was marked essential.`);
- }
-}
-exports.ContentCannotBeRemovedException = ContentCannotBeRemovedException;
-/**
- * A Chunk description, including left/right content that has been inserted.
- * If _left/_right is null, this means that content was deleted. If the _content is null,
- * it means the content itself was deleted.
- *
- * @see UpdateBuffer
- * @deprecated Since v13.0
- */
-class Chunk {
- constructor(start, end, originalContent) {
- this.start = start;
- this.end = end;
- this.originalContent = originalContent;
- this._left = Buffer.alloc(0);
- this._right = Buffer.alloc(0);
- this._assertLeft = false;
- this._assertRight = false;
- this.next = null;
- this._content = originalContent.slice(start, end);
- }
- get length() {
- return ((this._left ? this._left.length : 0) +
- (this._content ? this._content.length : 0) +
- (this._right ? this._right.length : 0));
- }
- toString(encoding = 'utf-8') {
- return ((this._left ? this._left.toString(encoding) : '') +
- (this._content ? this._content.toString(encoding) : '') +
- (this._right ? this._right.toString(encoding) : ''));
- }
- slice(start) {
- if (start < this.start || start > this.end) {
- throw new IndexOutOfBoundException(start, this.start, this.end);
- }
- // Update _content to the new indices.
- const newChunk = new Chunk(start, this.end, this.originalContent);
- // If this chunk has _content, reslice the original _content. We move the _right so we are not
- // losing any data here. If this chunk has been deleted, the next chunk should also be deleted.
- if (this._content) {
- this._content = this.originalContent.slice(this.start, start);
- }
- else {
- newChunk._content = this._content;
- if (this._right === null) {
- newChunk._left = null;
- }
- }
- this.end = start;
- // Move _right to the new chunk.
- newChunk._right = this._right;
- this._right = this._right && Buffer.alloc(0);
- // Update essentials.
- if (this._assertRight) {
- newChunk._assertRight = true;
- this._assertRight = false;
- }
- // Update the linked list.
- newChunk.next = this.next;
- this.next = newChunk;
- return newChunk;
- }
- append(buffer, essential) {
- if (!this._right) {
- if (essential) {
- throw new ContentCannotBeRemovedException();
- }
- return;
- }
- const outro = this._right;
- this._right = Buffer.alloc(outro.length + buffer.length);
- outro.copy(this._right, 0);
- buffer.copy(this._right, outro.length);
- if (essential) {
- this._assertRight = true;
- }
- }
- prepend(buffer, essential) {
- if (!this._left) {
- if (essential) {
- throw new ContentCannotBeRemovedException();
- }
- return;
- }
- const intro = this._left;
- this._left = Buffer.alloc(intro.length + buffer.length);
- intro.copy(this._left, 0);
- buffer.copy(this._left, intro.length);
- if (essential) {
- this._assertLeft = true;
- }
- }
- assert(left, _content, right) {
- if (left && this._assertLeft) {
- throw new ContentCannotBeRemovedException();
- }
- if (right && this._assertRight) {
- throw new ContentCannotBeRemovedException();
- }
- }
- remove(left, content, right) {
- if (left) {
- if (this._assertLeft) {
- throw new ContentCannotBeRemovedException();
- }
- this._left = null;
- }
- if (content) {
- this._content = null;
- }
- if (right) {
- if (this._assertRight) {
- throw new ContentCannotBeRemovedException();
- }
- this._right = null;
- }
- }
- copy(target, start) {
- if (this._left) {
- this._left.copy(target, start);
- start += this._left.length;
- }
- if (this._content) {
- this._content.copy(target, start);
- start += this._content.length;
- }
- if (this._right) {
- this._right.copy(target, start);
- start += this._right.length;
- }
- return start;
- }
-}
-exports.Chunk = Chunk;
-/**
- * Base class for an update buffer implementation that allows buffers to be inserted to the _right
- * or _left, or deleted, while keeping indices to the original buffer.
- */
-class UpdateBufferBase {
- constructor(_originalContent) {
- this._originalContent = _originalContent;
- }
- /**
- * Creates an UpdateBufferBase instance. Depending on the NG_UPDATE_BUFFER_V2
- * environment variable, will either create an UpdateBuffer or an UpdateBuffer2
- * instance.
- *
- * See: https://github.com/angular/angular-cli/issues/21110
- *
- * @param originalContent The original content of the update buffer instance.
- * @returns An UpdateBufferBase instance.
- */
- static create(originalContent) {
- return environment_options_1.updateBufferV2Enabled
- ? new UpdateBuffer2(originalContent)
- : new UpdateBuffer(originalContent);
- }
-}
-exports.UpdateBufferBase = UpdateBufferBase;
-/**
- * An utility class that allows buffers to be inserted to the _right or _left, or deleted, while
- * keeping indices to the original buffer.
- *
- * The constructor takes an original buffer, and keeps it into a linked list of chunks, smaller
- * buffers that keep track of _content inserted to the _right or _left of it.
- *
- * Since the Node Buffer structure is non-destructive when slicing, we try to use slicing to create
- * new chunks, and always keep chunks pointing to the original content.
- *
- * @deprecated Since v13.0
- */
-class UpdateBuffer extends UpdateBufferBase {
- constructor(originalContent) {
- super(originalContent);
- this._linkedList = new linked_list_1.LinkedList(new Chunk(0, originalContent.length, originalContent));
- }
- _assertIndex(index) {
- if (index < 0 || index > this._originalContent.length) {
- throw new IndexOutOfBoundException(index, 0, this._originalContent.length);
- }
- }
- _slice(start) {
- let index;
- if (start >= this._originalContent.length) {
- index = start;
- }
- else if (start < 0) {
- index = this._originalContent.length + start;
- }
- else {
- index = this._getTextPosition(start);
- }
- this._assertIndex(index);
- // Find the chunk by going through the list.
- const h = this._linkedList.find((chunk) => index <= chunk.end);
- if (!h) {
- throw Error('Chunk cannot be found.');
- }
- if (index == h.end && h.next !== null) {
- return [h, h.next];
- }
- return [h, h.slice(index)];
- }
- /**
- * Gets the position in the content based on the position in the string.
- * Some characters might be wider than one byte, thus we have to determine the position using
- * string functions.
- */
- _getTextPosition(index) {
- return Buffer.from(this._originalContent.toString().substring(0, index)).length;
- }
- get length() {
- return this._linkedList.reduce((acc, chunk) => acc + chunk.length, 0);
- }
- get original() {
- return this._originalContent;
- }
- toString(encoding = 'utf-8') {
- return this._linkedList.reduce((acc, chunk) => acc + chunk.toString(encoding), '');
- }
- generate() {
- const result = Buffer.allocUnsafe(this.length);
- let i = 0;
- this._linkedList.forEach((chunk) => {
- chunk.copy(result, i);
- i += chunk.length;
- });
- return result;
- }
- insertLeft(index, content, assert = false) {
- this._slice(index)[0].append(content, assert);
- }
- insertRight(index, content, assert = false) {
- this._slice(index)[1].prepend(content, assert);
- }
- remove(index, length) {
- if (length === 0) {
- return;
- }
- const end = index + length;
- const first = this._slice(index)[1];
- const last = this._slice(end)[1];
- let curr;
- for (curr = first; curr && curr !== last; curr = curr.next) {
- curr.assert(curr !== first, curr !== last, curr === first);
- }
- for (curr = first; curr && curr !== last; curr = curr.next) {
- curr.remove(curr !== first, curr !== last, curr === first);
- }
- if (curr) {
- curr.remove(true, false, false);
- }
- }
-}
-exports.UpdateBuffer = UpdateBuffer;
-/**
- * An utility class that allows buffers to be inserted to the _right or _left, or deleted, while
- * keeping indices to the original buffer.
- */
-class UpdateBuffer2 extends UpdateBufferBase {
- constructor() {
- super(...arguments);
- this._mutatableContent = new magic_string_1.default(this._originalContent.toString());
- }
- _assertIndex(index) {
- if (index < 0 || index > this._originalContent.length) {
- throw new IndexOutOfBoundException(index, 0, this._originalContent.length);
- }
- }
- get length() {
- return this._mutatableContent.length();
- }
- get original() {
- return this._originalContent;
- }
- toString() {
- return this._mutatableContent.toString();
- }
- generate() {
- return Buffer.from(this.toString());
- }
- insertLeft(index, content) {
- this._assertIndex(index);
- this._mutatableContent.appendLeft(index, content.toString());
- }
- insertRight(index, content) {
- this._assertIndex(index);
- this._mutatableContent.appendRight(index, content.toString());
- }
- remove(index, length) {
- this._assertIndex(index);
- this._mutatableContent.remove(index, index + length);
- }
-}
-exports.UpdateBuffer2 = UpdateBuffer2;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/base.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/base.d.ts
deleted file mode 100644
index 532f88e6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/base.d.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { schema, virtualFs } from '@angular-devkit/core';
-import { Observable, Subject } from 'rxjs';
-import { Engine, EngineHost } from '../engine';
-import { DryRunEvent } from '../sink/dryrun';
-import { Sink } from '../sink/sink';
-import { LifeCycleEvent, RequiredWorkflowExecutionContext, Workflow, WorkflowExecutionContext } from './interface';
-export interface BaseWorkflowOptions {
- host: virtualFs.Host;
- engineHost: EngineHost<{}, {}>;
- registry?: schema.CoreSchemaRegistry;
- force?: boolean;
- dryRun?: boolean;
-}
-/**
- * Base class for workflows. Even without abstract methods, this class should not be used without
- * surrounding some initialization for the registry and host. This class only adds life cycle and
- * dryrun/force support. You need to provide any registry and task executors that you need to
- * support.
- * See {@see NodeWorkflow} implementation for how to make a specialized subclass of this.
- * TODO: add default set of CoreSchemaRegistry transforms. Once the job refactor is done, use that
- * as the support for tasks.
- *
- * @public
- */
-export declare abstract class BaseWorkflow implements Workflow {
- protected _engine: Engine<{}, {}>;
- protected _engineHost: EngineHost<{}, {}>;
- protected _registry: schema.CoreSchemaRegistry;
- protected _host: virtualFs.Host;
- protected _reporter: Subject<DryRunEvent>;
- protected _lifeCycle: Subject<LifeCycleEvent>;
- protected _context: WorkflowExecutionContext[];
- protected _force: boolean;
- protected _dryRun: boolean;
- constructor(options: BaseWorkflowOptions);
- get context(): Readonly<WorkflowExecutionContext>;
- get engine(): Engine<{}, {}>;
- get engineHost(): EngineHost<{}, {}>;
- get registry(): schema.SchemaRegistry;
- get reporter(): Observable<DryRunEvent>;
- get lifeCycle(): Observable<LifeCycleEvent>;
- protected _createSinks(): Sink[];
- execute(options: Partial<WorkflowExecutionContext> & RequiredWorkflowExecutionContext): Observable<void>;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/base.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/base.js
deleted file mode 100644
index 5847c0dc..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/base.js
+++ /dev/null
@@ -1,138 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.BaseWorkflow = void 0;
-const core_1 = require("@angular-devkit/core");
-const rxjs_1 = require("rxjs");
-const operators_1 = require("rxjs/operators");
-const engine_1 = require("../engine");
-const exception_1 = require("../exception/exception");
-const formats_1 = require("../formats");
-const dryrun_1 = require("../sink/dryrun");
-const host_1 = require("../sink/host");
-const host_tree_1 = require("../tree/host-tree");
-/**
- * Base class for workflows. Even without abstract methods, this class should not be used without
- * surrounding some initialization for the registry and host. This class only adds life cycle and
- * dryrun/force support. You need to provide any registry and task executors that you need to
- * support.
- * See {@see NodeWorkflow} implementation for how to make a specialized subclass of this.
- * TODO: add default set of CoreSchemaRegistry transforms. Once the job refactor is done, use that
- * as the support for tasks.
- *
- * @public
- */
-class BaseWorkflow {
- constructor(options) {
- this._reporter = new rxjs_1.Subject();
- this._lifeCycle = new rxjs_1.Subject();
- this._host = options.host;
- this._engineHost = options.engineHost;
- if (options.registry) {
- this._registry = options.registry;
- }
- else {
- this._registry = new core_1.schema.CoreSchemaRegistry(formats_1.standardFormats);
- this._registry.addPostTransform(core_1.schema.transforms.addUndefinedDefaults);
- }
- this._engine = new engine_1.SchematicEngine(this._engineHost, this);
- this._context = [];
- this._force = options.force || false;
- this._dryRun = options.dryRun || false;
- }
- get context() {
- const maybeContext = this._context[this._context.length - 1];
- if (!maybeContext) {
- throw new Error('Cannot get context when workflow is not executing...');
- }
- return maybeContext;
- }
- get engine() {
- return this._engine;
- }
- get engineHost() {
- return this._engineHost;
- }
- get registry() {
- return this._registry;
- }
- get reporter() {
- return this._reporter.asObservable();
- }
- get lifeCycle() {
- return this._lifeCycle.asObservable();
- }
- _createSinks() {
- let error = false;
- const dryRunSink = new dryrun_1.DryRunSink(this._host, this._force);
- const dryRunSubscriber = dryRunSink.reporter.subscribe((event) => {
- this._reporter.next(event);
- error = error || event.kind == 'error';
- });
- // We need two sinks if we want to output what will happen, and actually do the work.
- return [
- dryRunSink,
- // Add a custom sink that clean ourselves and throws an error if an error happened.
- {
- commit() {
- dryRunSubscriber.unsubscribe();
- if (error) {
- return (0, rxjs_1.throwError)(new exception_1.UnsuccessfulWorkflowExecution());
- }
- return (0, rxjs_1.of)();
- },
- },
- // Only add a HostSink if this is not a dryRun.
- ...(!this._dryRun ? [new host_1.HostSink(this._host, this._force)] : []),
- ];
- }
- execute(options) {
- const parentContext = this._context[this._context.length - 1];
- if (!parentContext) {
- this._lifeCycle.next({ kind: 'start' });
- }
- /** Create the collection and the schematic. */
- const collection = this._engine.createCollection(options.collection);
- // Only allow private schematics if called from the same collection.
- const allowPrivate = options.allowPrivate || (parentContext && parentContext.collection === options.collection);
- const schematic = collection.createSchematic(options.schematic, allowPrivate);
- const sinks = this._createSinks();
- this._lifeCycle.next({ kind: 'workflow-start' });
- const context = {
- ...options,
- debug: options.debug || false,
- logger: options.logger || (parentContext && parentContext.logger) || new core_1.logging.NullLogger(),
- parentContext,
- };
- this._context.push(context);
- return schematic
- .call(options.options, (0, rxjs_1.of)(new host_tree_1.HostTree(this._host)), { logger: context.logger })
- .pipe((0, operators_1.concatMap)((tree) => {
- // Process all sinks.
- return (0, rxjs_1.concat)((0, rxjs_1.from)(sinks).pipe((0, operators_1.concatMap)((sink) => sink.commit(tree)), (0, operators_1.ignoreElements)()), (0, rxjs_1.of)(tree));
- }), (0, operators_1.concatMap)(() => {
- if (this._dryRun) {
- return rxjs_1.EMPTY;
- }
- this._lifeCycle.next({ kind: 'post-tasks-start' });
- return this._engine
- .executePostTasks()
- .pipe((0, operators_1.tap)({ complete: () => this._lifeCycle.next({ kind: 'post-tasks-end' }) }), (0, operators_1.defaultIfEmpty)(), (0, operators_1.last)());
- }), (0, operators_1.tap)({
- complete: () => {
- this._lifeCycle.next({ kind: 'workflow-end' });
- this._context.pop();
- if (this._context.length == 0) {
- this._lifeCycle.next({ kind: 'end' });
- }
- },
- }));
- }
-}
-exports.BaseWorkflow = BaseWorkflow;
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/index.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/index.d.ts
deleted file mode 100644
index 3abed265..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/index.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-export * from './base';
-export * from './interface';
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/index.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/index.js
deleted file mode 100644
index 5bb1e71d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
- if (k2 === undefined) k2 = k;
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
-}) : (function(o, m, k, k2) {
- if (k2 === undefined) k2 = k;
- o[k2] = m[k];
-}));
-var __exportStar = (this && this.__exportStar) || function(m, exports) {
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-__exportStar(require("./base"), exports);
-__exportStar(require("./interface"), exports);
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/interface.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/interface.d.ts
deleted file mode 100644
index a1b71c37..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/interface.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-import { logging } from '@angular-devkit/core';
-import { Observable } from 'rxjs';
-export interface RequiredWorkflowExecutionContext {
- collection: string;
- schematic: string;
- options: object;
-}
-export interface WorkflowExecutionContext extends RequiredWorkflowExecutionContext {
- debug: boolean;
- logger: logging.Logger;
- parentContext?: Readonly<WorkflowExecutionContext>;
- allowPrivate?: boolean;
-}
-export interface LifeCycleEvent {
- kind: 'start' | 'end' | 'workflow-start' | 'workflow-end' | 'post-tasks-start' | 'post-tasks-end';
-}
-export interface Workflow {
- readonly context: Readonly<WorkflowExecutionContext>;
- execute(options: Partial<WorkflowExecutionContext> & RequiredWorkflowExecutionContext): Observable<void>;
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/interface.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/interface.js
deleted file mode 100644
index b599b96d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/src/workflow/interface.js
+++ /dev/null
@@ -1,9 +0,0 @@
-"use strict";
-/**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
-Object.defineProperty(exports, "__esModule", { value: true });