commit 58a4a48ea9907a88c28282a1b5f48abb2d43bc98 Author: risadmin_prod Date: Tue Sep 23 06:01:40 2025 +0000 base_project diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.editorconfig b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.editorconfig new file mode 100644 index 0000000..59d9a3a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.editorconfig @@ -0,0 +1,16 @@ +# Editor configuration, see https://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.ts] +quote_type = single + +[*.md] +max_line_length = off +trim_trailing_whitespace = false diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.github/workflows/blank.yml b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.github/workflows/blank.yml new file mode 100644 index 0000000..b2340b2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.github/workflows/blank.yml @@ -0,0 +1,17 @@ +name: CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Run a one-line script + run: echo Hello, world! + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.gitignore b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.gitignore new file mode 100644 index 0000000..f5445e8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.gitignore @@ -0,0 +1,42 @@ +# See http://help.github.com/ignore-files/ for more about ignoring files. + +# compiled output +/dist +/tmp +/out-tsc + +# dependencies +/node_modules + +# IDEs and editors +/.idea +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace + +# IDE - VSCode +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json + +# misc +/.angular/cache +/.sass-cache +/connect.lock +/coverage +/libpeerconnection.log +npm-debug.log +yarn-error.log +testem.log +/typings + +# System Files +.DS_Store +Thumbs.db + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/.directory_structure.md b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/.directory_structure.md new file mode 100644 index 0000000..3cafd40 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/.directory_structure.md @@ -0,0 +1,60 @@ +# Directory Structure for Angular Clarity Boilerplate + +This document outlines the directory structure for the Angular Clarity boilerplate project. +/ +├── .vscode/ # VSCode settings +├── node_modules/ # Node.js modules +├── src/ # Application source code +│ ├── app/ # Application components and modules +│ │ ├── core/ # Core module (singleton services, guards, etc.) +│ │ ├── shared/ # Shared module (common components, pipes, etc.) +│ │ ├── app-routing.module.ts +│ │ ├── app.component.html +│ │ ├── app.component.scss +│ │ └── app.module.ts +│ ├── assets/ # Static assets (images, icons, etc.) +│ ├── environments/ # Environment-specific configuration +│ ├── index.html # Main HTML file +│ ├── main.ts # Main entry point +│ └── styles.scss # Global styles +├── .editorconfig # Editor configuration +├── .gitignore # Git ignore file +├── angular.json # Angular CLI configuration +├── package.json # Project dependencies and scripts +├── README.txt # Project README file ignore the README.md file +└── tsconfig.json # TypeScript configuration + +## Detailed Content and Customizations: + +### Project Root: `/` +- This is the base directory for the entire Angular Clarity boilerplate. + +### `.vscode/` +- Contains VSCode-specific settings to help with development consistency. + +### `node_modules/` +- Contains all the npm packages and dependencies for the project. + +### `src/` +- Contains the main source code for the application. + - `app/`: The root component and module for the application. + - `core/`: Provides singleton services and modules that are used across the application. + - `shared/`: Contains shared components, directives, and pipes. + - `app-routing.module.ts`: Defines the main routes for the application. + - `app.component.html`: The main HTML template for the root component. + - `app.component.scss`: The main stylesheet for the root component. + - `app.module.ts`: The root module that ties everything together. + - `assets/`: Contains static assets like images, fonts, and icons. + - `environments/`: Contains environment-specific configuration files (e.g., for development and production). + - `index.html`: The main HTML file that is served to the browser. + - `main.ts`: The main entry point for the application. + - `styles.scss`: The global stylesheet for the application. + +### Root Level Configuration Files: +- These files are crucial for the project's configuration, build process, and development environment. + - `.editorconfig`: Ensures consistent coding styles across different editors. + - `.gitignore`: Specifies which files and folders should be ignored by Git. + - `angular.json`: The configuration file for the Angular CLI. + - `package.json`: Defines the project's dependencies and scripts. + - `README.txt`: The main documentation file for the project. + - `tsconfig.json`: The configuration file for the TypeScript compiler. \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/.io8coder_breakdown.md b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/.io8coder_breakdown.md new file mode 100644 index 0000000..55598c9 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/.io8coder_breakdown.md @@ -0,0 +1,68 @@ +### io8coder_breakdown.md + +**io8coder Breakdown for "Angular Clarity Boilerplate":** + +**B - Business Understanding:** + +* **Goal:** To provide a robust and scalable boilerplate for developing Angular applications using the Clarity Design System. +* **Target Audience:** Angular developers looking to quickly start new projects with a pre-configured, best-practice project structure. +* **Key Features:** + * Pre-configured Angular project with Clarity Design System. + * Responsive layout and navigation. + * Scalable architecture with core and shared modules. + * Example components and routing. +* **Monetization/Value:** An open-source project that accelerates development, ensures consistency, and reduces setup time. + +**M - Model Definition:** + +* **Data Model (Example):** + * `User`: + * `id` (unique identifier) + * `username` (string) + * `email` (string) + * `Product`: + * `id` (unique identifier) + * `name` (string) + * `description` (string) + * `price` (number) +* **User Interface (UI) Model:** + * **Layout:** Main layout with a header, sidebar, and content area. + * **Navigation:** Vertical navigation in the sidebar with collapsible sections. + * **Header:** Main header with branding and user profile/actions. + * **Components:** Examples of Clarity components such as data grids, forms, modals, and alerts. +* **API Model (Example - to be implemented by the developer):** + * `GET /api/users`: Retrieve a list of users. + * `GET /api/users/{id}`: Retrieve a single user. + * `POST /api/users`: Create a new user. + * `PUT /api/users/{id}`: Update an existing user. + * `DELETE /api/users/{id}`: Delete a user. + +**A - Architecture Design:** + +* **Frontend:** Angular, TypeScript, HTML, SCSS. +* **UI Framework:** Clarity Design System. +* **State Management (Optional - to be integrated):** NgRx or other state management libraries. +* **Backend:** This is a frontend boilerplate and is backend-agnostic. It can be connected to any backend (e.g., Node.js, Python, Java) via RESTful or GraphQL APIs. +* **Database:** Not applicable for the frontend boilerplate. +* **Deployment:** Can be deployed to any static web hosting service (e.g., Firebase Hosting, Netlify, Vercel, AWS S3). + +**D - Development Plan:** + +* **Phase 1: Initial Setup & Customization** + * Clone the boilerplate repository. + * Install dependencies. + * Customize the theme (branding, colors, logos). + * Configure environment variables. +* **Phase 2: Feature Development** + * Create new feature modules. + * Develop components using Clarity components. + * Implement routing for new pages. + * Integrate with backend APIs. + * Add state management if needed. +* **Phase 3: Testing** + * Write unit tests for components and services. + * Write end-to-end tests for user flows. +* **Phase 4: Build & Deployment** + * Build the application for production. + * Deploy to a hosting service. + * Set up CI/CD pipelines for automated builds and deployments. \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/.io8coder_plan.md b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/.io8coder_plan.md new file mode 100644 index 0000000..7a9859c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/.io8coder_plan.md @@ -0,0 +1,59 @@ +**io8coder Plan for "Angular Clarity Boilerplate":** + +**Project Title:** Angular Clarity Boilerplate + +**Project Goal:** To provide developers with a feature-rich, scalable, and easy-to-use boilerplate for building enterprise-grade Angular applications with the Clarity Design System. + +**Key Deliverables:** + +1. A pre-configured Angular project. +2. Integration with the Clarity Design System. +3. A responsive layout with a header, sidebar, and content area. +4. Example modules (core, shared) and components. +5. A clear and well-documented project structure. + +**Technology Stack:** + +* **Frontend:** Angular, TypeScript, HTML, SCSS. +* **UI Framework:** Clarity Design System. +* **Package Manager:** npm. +* **Build Tool:** Angular CLI. + +**Phased Approach:** + +**Phase 1: Project Setup and Core Architecture (Estimated: 1 day)** + +* **Task 1.1:** Initialize a new Angular project. +* **Task 1.2:** Integrate the Clarity Design System. +* **Task 1.3:** Set up the core and shared modules. +* **Task 1.4:** Create the main layout component with a header, sidebar, and content area. + +**Phase 2: Navigation and Routing (Estimated: 1 day)** + +* **Task 2.1:** Implement the main routing module (`app-routing.module.ts`). +* **Task 2.2:** Create a navigation service to manage sidebar menu items. +* **Task 2.3:** Add example routes and components (e.g., dashboard, about page). +* **Task 2.4:** Implement lazy loading for feature modules. + +**Phase 3: Example Components and Theming (Estimated: 2 days)** + +* **Task 3.1:** Create example components using various Clarity components (datagrid, forms, modals, etc.). +* **Task 3.2:** Implement a theme service for switching between light and dark themes. +* **Task 3.3:** Add custom styles and branding. + +**Phase 4: Documentation and Finalization (Estimated: 1 day)** + +* **Task 4.1:** Write a comprehensive `README.txt` file. +* **Task 4.2:** Add comments and documentation to the code. +* **Task 4.3:** Clean up the codebase and remove any unnecessary files. + +**Testing Strategy:** + +* **Unit Tests:** Use Jasmine and Karma to write unit tests for components and services. +* **End-to-End Tests:** Use Protractor or Cypress for end-to-end testing of user flows. +* **Manual Testing:** Perform manual testing to ensure the application is working as expected. + +**Assumptions:** + +* The developer has a basic understanding of Angular and the Clarity Design System. +* The developer has Node.js and the Angular CLI installed. \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/analysis_document.md b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/analysis_document.md new file mode 100644 index 0000000..e7a01d0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/analysis_document.md @@ -0,0 +1,63 @@ +# Analysis Document +Generated: Tuesday, September 16, 2025 + +## Project Overview +The project is an **Angular Clarity Boilerplate**, designed to serve as a foundational template for building modern, scalable, and feature-rich web applications. It provides a pre-configured Angular project integrated with the VMware Clarity Design System, enabling developers to kickstart new projects with a robust and consistent architecture, thereby accelerating the development lifecycle. + +## Business Analysis +The primary business need is to **streamline the initial setup phase of new Angular projects** within an organization or for individual developers. The target audience is **Angular developers and development teams** who require a standardized, best-practice project structure. The value proposition is centered around increasing development efficiency, enforcing UI/UX consistency through the Clarity Design System, and reducing the boilerplate code that developers need to write for every new project. + +## User Requirements (Developer Requirements) +The "users" of this boilerplate are developers. Their core requirements are: +- Developers must be able to **quickly set up a new project** by cloning the repository and installing dependencies. +- Developers must be provided with a **clear and understandable project structure** that promotes scalability and maintainability. +- The boilerplate must include a **pre-built, responsive application layout** (e.g., header, sidebar, content area). +- Developers must have access to **pre-configured core and shared modules** for common functionalities like services, guards, and reusable components. +- The boilerplate must be **easily extendable** with new feature modules and components. + +## Functional Requirements +The boilerplate will provide the following functional capabilities out-of-the-box: + +- **Pre-configured Angular Environment:** A ready-to-use Angular CLI project with all necessary dependencies and build configurations. +- **Clarity Design System Integration:** Full integration of Clarity UI components and styles, ready for immediate use. +- **Scalable Architecture:** A modular structure featuring a `CoreModule` for singleton services and a `SharedModule` for reusable UI components, directives, and pipes. +- **Responsive Layout:** A default application shell with a responsive header, navigation sidebar, and main content area. +- **Routing:** A pre-configured routing module with examples of lazy-loaded feature modules. +- **Theming:** Basic support for Clarity's light and dark themes. + +## Non-Functional Requirements + +- **Performance:** The initial boilerplate should be lightweight, ensuring fast development server startup times and optimized production builds. +- **Usability (Developer Experience):** The codebase must be clean, well-commented, and logically organized to provide an excellent developer experience. +- **Maintainability:** The modular architecture must facilitate easy updates to dependencies and allow for the addition of new features without introducing breaking changes to the core structure. +- **Scalability:** The architecture is designed to support the growth of large, enterprise-scale applications. +- **Extensibility:** The boilerplate should be easy to customize and extend with additional libraries, modules, and configurations as per project-specific needs. + +## User Stories (Developer Stories) + +### User Story 1: Quick Project Initialization +- **As a developer, I want to clone the repository and run `npm install` and `ng serve` to get a live development server running, so that I can bypass manual setup and start building features immediately.** +- **Acceptance Criteria:** + - Given I have Node.js and Angular CLI installed, + - When I clone the repository, install dependencies, and run the start command, + - Then the application compiles successfully and is accessible in my browser at `localhost:4200`. + +### User Story 2: Add a New Feature +- **As a developer, I want to create a new lazy-loaded feature module with its own components and routing, so that I can add new sections to the application in a scalable way.** +- **Acceptance Criteria:** + - Given the boilerplate is running, + - When I use the Angular CLI to generate a new module and add it to the main routing configuration, + - Then I can navigate to the new feature's route, and its components are rendered correctly. + +### User Story 3: Utilize Shared Components +- **As a developer, I want to use a component from the `SharedModule` within a new feature module, so that I can reuse common UI elements and maintain consistency.** +- **Acceptance Criteria:** + - Given I have a new feature module, + - When I import the `SharedModule` into my feature module, + - Then I can use the shared components (e.g., a custom card or loader) in my feature's templates without errors. + +## Business Rules (Architectural Principles) +- Singleton services (e.g., logging, authentication) must be provided in the `CoreModule`. +- Reusable components, pipes, and directives that do not have a dependency on services must be declared and exported in the `SharedModule`. +- All major application features should be encapsulated within their own lazy-loaded modules. +- Environment-specific variables (e.g., API endpoints) must be managed in the `environments` folder. \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/architecture_document.md b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/architecture_document.md new file mode 100644 index 0000000..cfde347 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/architecture_document.md @@ -0,0 +1,138 @@ +# Architecture Document +Generated: Tuesday, September 16, 2025 + +## System Overview +The Angular Clarity Boilerplate is a frontend-only, single-page application (SPA) template. It is designed to serve as a foundational starting point for developing enterprise-grade web applications. The system provides a pre-configured, modular, and scalable architecture using the Angular framework and is visually styled with the VMware Clarity Design System. Its primary purpose is to accelerate development by providing a structured and feature-rich starting point. + +## Architecture Pattern +The boilerplate is built upon a **Component-Based Architecture**, which is fundamental to the Angular framework. The UI is composed of a tree of reusable and encapsulated components. + +The overall architectural pattern follows best practices for scalable Angular applications, emphasizing a **Modular Design**. The application is segregated into a `CoreModule`, a `SharedModule`, and is designed for the addition of multiple `FeatureModules`. This structure promotes separation of concerns, reusability, and maintainability. + +## Component Design (Frontend) + +- **AppModule:** The root module of the application, responsible for bootstrapping the `AppComponent` and importing essential modules like the `CoreModule` and `AppRoutingModule`. + +- **AppComponent:** The main application shell component. It contains the primary layout, including the Clarity header, sidebar navigation, and the main content area where routed components are displayed via ``. + +- **CoreModule:** This module is designed to be imported only once by the `AppModule`. It contains singleton services, route guards, and other one-time setup logic (e.g., HTTP interceptors). This pattern prevents services from being provided multiple times across the application. + +- **SharedModule:** This module contains commonly used components, directives, and pipes that can be reused across different feature modules. It is imported by feature modules whenever they need access to these shared elements. It primarily exports common Angular modules (like `CommonModule`, `FormsModule`) and Clarity UI modules. + +- **Feature Modules (Conceptual):** The architecture is designed for developers to create new feature modules (e.g., `DashboardModule`, `AdminModule`). These modules encapsulate all the components, services, and routing related to a specific business domain. They are typically **lazy-loaded** to improve initial application load performance. + +## Data Architecture + +### Primary Database +- Not applicable. As a frontend-only boilerplate, this project does not include a database. It is designed to connect to any backend with a data persistence layer. + +### Data Model (Client-Side) +- Data models will be defined using **TypeScript interfaces or classes** within feature modules. These models will represent the structure of data objects retrieved from or sent to the backend API. +- **Example `User` model:** + ```typescript + export interface User { + id: number; + name: string; + email: string; + role: 'admin' | 'user'; + } + + Of course. Here is the architecture_document.md for the Angular Clarity boilerplate project, presented in a single code block for easy copying. + +Markdown + +# Architecture Document +Generated: Tuesday, September 16, 2025 + +## System Overview +The Angular Clarity Boilerplate is a frontend-only, single-page application (SPA) template. It is designed to serve as a foundational starting point for developing enterprise-grade web applications. The system provides a pre-configured, modular, and scalable architecture using the Angular framework and is visually styled with the VMware Clarity Design System. Its primary purpose is to accelerate development by providing a structured and feature-rich starting point. + +## Architecture Pattern +The boilerplate is built upon a **Component-Based Architecture**, which is fundamental to the Angular framework. The UI is composed of a tree of reusable and encapsulated components. + +The overall architectural pattern follows best practices for scalable Angular applications, emphasizing a **Modular Design**. The application is segregated into a `CoreModule`, a `SharedModule`, and is designed for the addition of multiple `FeatureModules`. This structure promotes separation of concerns, reusability, and maintainability. + +## Component Design (Frontend) + +- **AppModule:** The root module of the application, responsible for bootstrapping the `AppComponent` and importing essential modules like the `CoreModule` and `AppRoutingModule`. + +- **AppComponent:** The main application shell component. It contains the primary layout, including the Clarity header, sidebar navigation, and the main content area where routed components are displayed via ``. + +- **CoreModule:** This module is designed to be imported only once by the `AppModule`. It contains singleton services, route guards, and other one-time setup logic (e.g., HTTP interceptors). This pattern prevents services from being provided multiple times across the application. + +- **SharedModule:** This module contains commonly used components, directives, and pipes that can be reused across different feature modules. It is imported by feature modules whenever they need access to these shared elements. It primarily exports common Angular modules (like `CommonModule`, `FormsModule`) and Clarity UI modules. + +- **Feature Modules (Conceptual):** The architecture is designed for developers to create new feature modules (e.g., `DashboardModule`, `AdminModule`). These modules encapsulate all the components, services, and routing related to a specific business domain. They are typically **lazy-loaded** to improve initial application load performance. + +## Data Architecture + +### Primary Database +- Not applicable. As a frontend-only boilerplate, this project does not include a database. It is designed to connect to any backend with a data persistence layer. + +### Data Model (Client-Side) +- Data models will be defined using **TypeScript interfaces or classes** within feature modules. These models will represent the structure of data objects retrieved from or sent to the backend API. +- **Example `User` model:** + ```typescript + export interface User { + id: number; + name: string; + email: string; + role: 'admin' | 'user'; + } +Data Flow +API Call: A component's method calls a function in its corresponding service (e.g., userService.getUsers()). + +Service Layer: The service uses Angular's HttpClient to make an HTTP request to the backend API. + +Data Retrieval: The service receives the HTTP response and typically returns an Observable of the data, typed with the appropriate TypeScript interface. + +Component Update: The component subscribes to the Observable. Once the data is received, it updates its local state, triggering Angular's change detection to re-render the template and display the new data. + +API Design (Backend Communication) +This boilerplate is backend-agnostic. It is designed to communicate with any backend that exposes a RESTful or GraphQL API. + +Communication Protocol +HTTP/HTTPS: Communication is handled via standard HTTP requests using Angular's HttpClient service. + +Example Service Implementation +An example of a service making API calls: +// in user.service.ts +import { Injectable } from '@angular/core'; +import { HttpClient } from '@angular/common/http'; +import { Observable } from 'rxjs'; +import { User } from '../models/user.model'; +import { environment } from '../../environments/environment'; + +@Injectable({ + providedIn: 'root' +}) +export class UserService { + private apiUrl = `${environment.apiBaseUrl}/users`; + + constructor(private http: HttpClient) { } + + getUsers(): Observable { + return this.http.get(this.apiUrl); + } + + getUserById(id: number): Observable { + return this.http.get(`${this.apiUrl}/${id}`); + } +} + +Error Handling +HTTP interceptors can be provided in the CoreModule to handle API errors globally (e.g., logging errors, redirecting on 401 Unauthorized responses). + +Security Architecture +Authentication: Authentication logic (e.g., handling JWTs, interacting with OAuth providers) should be encapsulated within an AuthService provided in the CoreModule. + +Authorization (Route Guards): The architecture uses Angular's Route Guards to protect routes. An AuthGuard can be implemented to prevent unauthorized users from accessing certain parts of the application. + +Client-Side Security: The boilerplate does not inherently protect against all client-side vulnerabilities. Developers should follow best practices for preventing XSS and CSRF attacks. + +Scalability Considerations +Lazy Loading: The architecture strongly encourages the use of lazy-loaded feature modules. This ensures that the initial application bundle size remains small, leading to faster load times. As new features are added, they do not impact the initial load performance. + +Modular Design: The strict separation of concerns into Core, Shared, and Feature modules makes the codebase easier to manage, test, and scale as the application grows in complexity. + +State Management: For applications with complex state, a state management library like NgRx or Akita can be easily integrated into this architecture without requiring significant refactoring. \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/prd_document.md b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/prd_document.md new file mode 100644 index 0000000..38f0f19 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/prd_document.md @@ -0,0 +1,62 @@ +# Product Requirements Document (PRD) - Angular Clarity Boilerplate + +## 1. Product Vision + +To provide a robust, scalable, and feature-rich boilerplate that serves as a foundational template for building modern, enterprise-grade web applications using Angular and the VMware Clarity Design System. The vision is to accelerate the development lifecycle by offering a pre-configured, best-practice project structure. + +## 2. Target Audience + +The primary target audience consists of **Angular developers and development teams** who require a standardized, efficient, and consistent starting point for new projects. This includes: + +* **Enterprise Development Teams:** Teams that need to maintain a consistent look and feel across multiple applications. +* **Independent Developers:** Individuals looking to quickly bootstrap new projects without spending significant time on initial setup and configuration. + +## 3. User Stories (Developer Stories) + +### User Story 1: Quick Project Initialization +- **As a developer, I want to clone the repository and run `npm install` and `ng serve` to get a live development server running, so that I can bypass manual setup and start building features immediately.** +- **Acceptance Criteria:** + - Given I have Node.js and Angular CLI installed, + - When I clone the repository, install dependencies, and run the start command, + - Then the application compiles successfully and is accessible in my browser at `localhost:4200`. + +### User Story 2: Add a New Feature +- **As a developer, I want to create a new lazy-loaded feature module with its own components and routing, so that I can add new sections to the application in a scalable way.** +- **Acceptance Criteria:** + - Given the boilerplate is running, + - When I use the Angular CLI to generate a new module and add it to the main routing configuration, + - Then I can navigate to the new feature's route, and its components are rendered correctly. + +### User Story 3: Utilize Shared Components +- **As a developer, I want to use a component from the `SharedModule` within a new feature module, so that I can reuse common UI elements and maintain consistency.** +- **Acceptance Criteria:** + - Given I have a new feature module, + - When I import the `SharedModule` into my feature module, + - Then I can use the shared components (e.g., a custom card or loader) in my feature's templates without errors. + +## 4. Functional Requirements + +- **FR-001: Pre-configured Angular Environment:** A ready-to-use Angular CLI project with all necessary dependencies and build configurations. +- **FR-002: Clarity Design System Integration:** Full integration of Clarity UI components and styles, ready for immediate use. +- **FR-003: Scalable Architecture:** A modular structure featuring a `CoreModule` for singleton services and a `SharedModule` for reusable UI components, directives, and pipes. +- **FR-004: Responsive Layout:** A default application shell with a responsive header, navigation sidebar, and main content area. +- **FR-005: Routing:** A pre-configured routing module with examples of lazy-loaded feature modules. +- **FR-006: Theming:** Basic support for Clarity's light and dark themes. + +## 5. Non-Functional Requirements + +- **NFR-001: Performance:** The initial boilerplate should be lightweight, ensuring fast development server startup times and optimized production builds. +- **NFR-002: Usability (Developer Experience):** The codebase must be clean, well-commented, and logically organized to provide an excellent developer experience. +- **NFR-003: Maintainability:** The modular architecture must facilitate easy updates to dependencies and allow for the addition of new features without introducing breaking changes to the core structure. +- **NFR-004: Scalability:** The architecture is designed to support the growth of large, enterprise-scale applications. +- **NFR-005: Extensibility:** The boilerplate should be easy to customize and extend with additional libraries, modules, and configurations as per project-specific needs. + +## 6. Out of Scope + +The following features and functionalities are explicitly out of scope for the boilerplate: + +- **Backend Implementation:** This is a frontend-only boilerplate and does not include any backend code or database. +- **Authentication/Authorization Logic:** While the architecture supports the implementation of security features, no pre-built authentication or authorization logic is included. +- **State Management:** The boilerplate does not include a state management library (e.g., NgRx, Akita) by default, allowing developers to choose the best solution for their needs. +- **Business Logic:** No specific business logic or application features are included beyond the basic structural components. +- **CI/CD Pipelines:** While the project is ready for CI/CD, no pre-configured pipelines are included. \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/project_plan.md b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/project_plan.md new file mode 100644 index 0000000..736c8c7 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/project_plan.md @@ -0,0 +1,73 @@ +# Project Plan - Angular Clarity Boilerplate + +## 1. Project Goal + +To develop and deliver a comprehensive, scalable, and well-documented Angular boilerplate. The final product will serve as a foundational template, enabling developers to rapidly bootstrap new enterprise-grade web applications using the VMware Clarity Design System. + +## 2. Methodology + +The project will follow an iterative development approach, focusing on establishing a solid architectural foundation first. The goal is to create a robust Minimum Viable Product (MVP) boilerplate that is immediately useful and can be enhanced over time with additional features and refinements based on developer feedback. + +## 3. Key Phases & Workflow + +1. **Phase 1: Foundation & Architecture Definition:** Define the core architectural patterns, including the modular structure (`Core`, `Shared`, `Feature` modules) and establish the base project setup. +2. **Phase 2: MVP Scope & Requirements:** Outline the essential features for the initial boilerplate release, including Clarity integration, responsive layout, and routing. Document these in the PRD and Architecture Document. +3. **Phase 3: Backlog Creation & Planning:** Break down the architectural and functional requirements into a prioritized list of development tasks. +4. **Phase 4: Development & Integration:** Implement the core architecture, integrate the Clarity Design System, and build out the foundational components and modules. +5. **Phase 5: Quality Assurance & Documentation:** Thoroughly test the boilerplate for stability and ease of use. Ensure all key architectural decisions are well-documented within the code and in project documents like the `README.txt`. +6. **Phase 6: Release & Future Iteration:** Package and release the initial version of the boilerplate. Plan for future enhancements based on potential developer needs and feedback. + +## 4. Initial Backlog (MVP Focus) + +The following tasks represent the initial backlog for creating the boilerplate: + +### Architecture & Setup Tasks +- Initialize a new project using the Angular CLI. +- Define and implement the `CoreModule` for singleton services. +- Define and implement the `SharedModule` for reusable components, pipes, and directives. +- Configure the main `AppRoutingModule` and set up a basic routing structure. +- Establish the environment configuration files (`environments` folder). + +### Clarity Design System Integration +- Install all necessary Clarity npm packages (`@clr/angular`, `@clr/ui`, `@cds/core`). +- Import Clarity's global styles and icon assets into the project. +- Implement the main application layout (`AppComponent`) using Clarity's header, sidebar, and content area components. +- Ensure the layout is fully responsive. + +### Boilerplate Feature Tasks +- Create an example of a lazy-loaded `FeatureModule` to demonstrate the pattern. +- Add a dashboard or home page component as a default view. +- Include examples of common Clarity components (e.g., a datagrid, a form) on example pages to showcase usage. +- Implement basic support for switching between Clarity's light and dark themes. + +### Documentation Tasks +- Create a comprehensive `README.txt` with setup instructions, an overview of the architecture, and usage guidelines. +- Add inline comments to the code to explain key architectural patterns and configurations. +- Generate all required project documentation (`analysis_document.md`, `architecture_document.md`, etc.). + +## 5. Feature Prioritization Strategy + +Prioritization will focus on establishing a stable and usable foundation. **Must-have** features include the core modular architecture and full integration of the Clarity layout. **Should-have** features include example pages and components. **Could-have** features for future iterations might include state management integration or CI/CD templates. + +## 6. Key Technologies + +- **Frontend Framework:** Angular +- **Programming Language:** TypeScript +- **UI Library:** VMware Clarity Design System +- **Styling:** SCSS +- **Package Manager:** npm +- **Build Tool:** Angular CLI + +## 7. Success Metrics (MVP) + +- The boilerplate can be successfully cloned and set up with just `npm install` and `ng serve`. +- The resulting application is stable, responsive, and free of console errors. +- The project structure is logical and easy for an Angular developer to understand. +- All core architectural patterns (Core/Shared/Feature modules, lazy loading) are correctly implemented and demonstrated. + +## 8. Future Considerations (Post-MVP) + +- Integrating a state management library (e.g., NgRx, Akita) with an example implementation. +- Adding more complex example pages (e.g., a settings page, a user profile). +- Creating custom Angular Schematics to automate the creation of new feature modules that follow the boilerplate's conventions. +- Including pre-configured templates for CI/CD pipelines (e.g., GitHub Actions). \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/requirements_document.md b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/requirements_document.md new file mode 100644 index 0000000..d85e0a5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/requirements_document.md @@ -0,0 +1,95 @@ +# Requirements Document +Generated: Tuesday, September 16, 2025 + +## Functional Requirements (Developer-Facing) + +### FR-001: Project Initialization +- **Description:** The system shall provide a developer-ready Angular project that can be set up with minimal effort. +- **Acceptance Criteria:** + - A developer shall be able to clone the project from a Git repository. + - A developer shall be able to install all required dependencies using a single `npm install` command. + - A developer shall be able to start the local development server using the `ng serve` command. + - The boilerplate shall compile without errors and be viewable in a web browser. +- **Priority:** High + +### FR-002: Modular Architecture +- **Description:** The system shall be structured with a scalable and maintainable modular architecture. +- **Acceptance Criteria:** + - The project shall include a `CoreModule` for providing singleton services and one-time imports. + - The project shall include a `SharedModule` for reusable components, directives, and pipes. + - The architecture shall support the creation of lazy-loaded `FeatureModules` to encapsulate business domain logic. +- **Priority:** High + +### FR-003: Clarity Design System Integration +- **Description:** The system shall be fully integrated with the VMware Clarity Design System for UI components and styling. +- **Acceptance Criteria:** + - All necessary Clarity npm packages shall be included as dependencies. + - Clarity's global stylesheets and assets shall be correctly configured and loaded. + - The boilerplate shall use Clarity components for its core layout (header, sidebar, etc.). + - Developers shall be able to use any Clarity component within their feature modules. +- **Priority:** High + +### FR-004: Responsive Application Layout +- **Description:** The system shall provide a default, responsive application layout. +- **Acceptance Criteria:** + - The boilerplate shall include a main application shell with a header, a collapsible sidebar for navigation, and a main content area. + - The layout shall adapt correctly to various screen sizes, including desktop, tablet, and mobile. +- **Priority:** High + +### FR-005: Routing and Navigation +- **Description:** The system shall include a pre-configured routing system for navigating between different views. +- **Acceptance Criteria:** + - The project shall have a main `AppRoutingModule`. + - The boilerplate shall provide an example of a lazy-loaded feature route. + - Navigation links in the sidebar shall correctly navigate to their corresponding routes. +- **Priority:** Medium + +## Non-Functional Requirements + +### NFR-001: Performance (Developer Experience) +- **Description:** The boilerplate should be optimized for a fast and efficient development workflow. +- **Acceptance Criteria:** + - The initial `ng serve` compilation time shall be reasonably fast. + - Live-reloading times during development shall be minimal. + - The production build (`ng build --prod`) shall be optimized, with tree-shaking and minification enabled. +- **Priority:** Medium + +### NFR-002: Usability (Developer Experience) +- **Description:** The codebase should be intuitive and easy for an Angular developer to understand and extend. +- **Acceptance Criteria:** + - The project structure shall be logical and follow established Angular best practices. + - The code shall be clean, well-formatted, and include comments for complex or non-obvious sections. + - A comprehensive `README.txt` file shall guide developers on setup, architecture, and usage. +- **Priority:** High + +### NFR-003: Maintainability +- **Description:** The codebase should be structured to allow for easy updates, modifications, and extensions. +- **Acceptance Criteria:** + - The modular architecture shall allow for independent development and testing of features. + - Dependencies shall be clearly defined in `package.json` and easy to update. + - The separation of concerns between modules should be strictly enforced. +- **Priority:** High + +## Data Requirements (Client-Side) + +### Entity Modeling: +- **Description:** The boilerplate will not have predefined data models but will require developers to define them using TypeScript. +- **Attributes:** + - Data models shall be defined as **TypeScript interfaces or classes**. + - These models will represent the structure of data consumed from and sent to a backend API. + +## Interface Requirements + +### UI/UX Requirements (Frontend Boilerplate): +- **Layout:** A clean, professional single-page application layout based on the Clarity Design System. +- **Header:** A top header bar, typically containing the application title/logo and user-related actions (e.g., profile, logout). +- **Sidebar:** A collapsible vertical navigation sidebar containing links to different feature areas of the application. +- **Content Area:** A main content area where the components for the currently active route are displayed. +- **Styling:** Adherence to the styles and design tokens provided by the Clarity Design System. + +### API Requirements (Backend Interaction): +- **Backend Agnostic:** The boilerplate is a frontend application and makes no assumptions about the backend technology stack. +- **Communication Protocol:** The boilerplate shall use Angular's `HttpClient` module to communicate with a backend over HTTP/HTTPS. +- **API Endpoint Configuration:** The base URL for the backend API shall be configurable via the `environments` files (e.g., `environment.ts`, `environment.prod.ts`). +- **Data Format:** The boilerplate is designed to work with APIs that transact data in **JSON** format. +- **Error Handling:** The architecture shall support a centralized way to handle API errors, typically through an `HttpInterceptor` provided in the `CoreModule`. \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/sprint_plan.md b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/sprint_plan.md new file mode 100644 index 0000000..0a5977f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/sprint_plan.md @@ -0,0 +1,81 @@ +# Angular Boilerplate Project - Sprint Plan (Sprint 1) + +## Sprint Goal + +To establish the foundational architecture of the Angular Clarity Boilerplate, including setting up the core project structure, integrating the Clarity Design System, implementing the main responsive layout, and creating a clear, documented starting point for developers. + +## Sprint Duration + +[Assumed: A focused 1-week sprint to deliver the core boilerplate MVP.] + +## Team Capacity + +[Assumed: Full developer availability for the sprint duration.] + +## Product Backlog Items (Developer Stories) for Sprint 1 + +1. **User Story: Quick Project Initialization** + * **As a developer, I want to clone the repository and run `npm install` and `ng serve` to get a live development server running, so that I can bypass manual setup and start building features immediately.** + * **Acceptance Criteria:** + * The project is initialized using the latest stable Angular CLI. + * All necessary dependencies are defined in `package.json`. + * The application compiles successfully without errors. + +2. **User Story: Scalable Architecture Foundation** + * **As a developer, I want a well-defined modular structure (`Core`, `Shared`), so that I can build a scalable and maintainable application.** + * **Acceptance Criteria:** + * A `CoreModule` is created for singleton services and one-time imports. + * A `SharedModule` is created for reusable components, directives, and pipes. + * The `AppModule` is cleanly organized and imports the necessary foundational modules. + +3. **User Story: Clarity Design System Integration** + * **As a developer, I want a responsive application layout built with the Clarity Design System, so that I have a professional and consistent UI foundation.** + * **Acceptance Criteria:** + * Clarity dependencies are added and correctly configured. + * The main `AppComponent` uses Clarity components for the header, sidebar navigation, and main content area. + * The layout is responsive and functions correctly on desktop, tablet, and mobile screen sizes. + +## Sprint Tasks (Derived from User Stories) + +### Architecture & Setup Tasks: +- **Task:** Initialize a new Angular project using the Angular CLI. +- **Task:** Clean up default boilerplate files and structure the project directories. +- **Task:** Create the `CoreModule` and ensure it is imported only once in the `AppModule`. +- **Task:** Create the `SharedModule` with common exports (`CommonModule`, `FormsModule`, etc.). +- **Task:** Set up the main `AppRoutingModule` with a default route. +- **Task:** Configure environment files (`environment.ts`, `environment.prod.ts`) with a placeholder for an API base URL. + +### Clarity Integration Tasks: +- **Task:** Install `@clr/angular`, `@clr/ui`, and `@cds/core` npm packages. +- **Task:** Configure `angular.json` to include Clarity's global CSS files and assets. +- **Task:** Implement the main application layout in `app.component.html` using ``, ``, and ``. +- **Task:** Add placeholder navigation links in the vertical navigation sidebar. +- **Task:** Ensure the Clarity icons are properly loaded and can be used within the application. + +### Documentation & General Tasks: +- **Task:** Create the initial `README.txt` file with project setup instructions. +- **Task:** Write inline comments for the `CoreModule` and `SharedModule` explaining their purpose. +- **Task:** Set up basic linting rules in `.eslintrc.json` to enforce code quality. +- **Task:** Configure the `.gitignore` file to exclude unnecessary files from version control. + +## Definition of Done (DoD) for Sprint 1 + +- All selected user stories are implemented and meet their acceptance criteria. +- The boilerplate can be successfully set up and run by another developer following the `README.txt`. +- The core architecture (`CoreModule`, `SharedModule`) is in place. +- The main application layout using Clarity is implemented and responsive. +- All code is reviewed, formatted, and merged into the main branch. +- No known critical bugs or console errors in the initial boilerplate. + +## Potential Impediments + +- Issues with Clarity dependency versions or peer dependencies. +- Unexpected complexities in configuring Clarity's global styles with the Angular CLI. +- Difficulties in achieving the desired responsive behavior with the Clarity layout components. + +## Next Steps + +- Daily stand-ups to track progress and identify any blockers. +- Prepare for Sprint 2, which will focus on adding example feature modules, advanced routing (lazy loading), and more complex Clarity component examples. +- Sprint Review at the end of the sprint to demonstrate the working boilerplate. +- Sprint Retrospective to refine the development process. \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/tech_stack_document.md b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/tech_stack_document.md new file mode 100644 index 0000000..fe4ad83 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.sureai/tech_stack_document.md @@ -0,0 +1,39 @@ +# Technology Stack Document +Generated: Tuesday, September 16, 2025 + +## Frontend Technologies + +* **Framework:** **Angular**. The boilerplate is built on the latest stable version of the Angular framework, chosen for its robustness, component-based architecture, and suitability for large-scale, enterprise applications. +* **Language:** **TypeScript**. As a superset of JavaScript, TypeScript is used for its strong typing, which improves code quality, maintainability, and developer productivity. +* **Styling:** **SCSS**. SCSS is used for its advanced features over standard CSS, such as variables, nesting, and mixins, allowing for more organized and maintainable stylesheets. +* **UI Framework:** **VMware Clarity Design System**. This comprehensive design system provides a set of accessible, high-quality UI components and a consistent visual language, which accelerates UI development. +* **Core Libraries:** + * **RxJS:** Used extensively throughout Angular for reactive programming and managing asynchronous operations. + * **Zone.js:** A signaling mechanism that enables Angular's automatic change detection. + +## Backend Technologies + +* **Backend Agnostic:** This is a frontend-only boilerplate and is not tied to any specific backend technology. It is designed to communicate with any backend that exposes a RESTful or GraphQL API. + +## Database Technologies + +* **Not Applicable:** As a frontend project, the boilerplate does not include a database. + +## Infrastructure & Deployment + +* **Web Server:** The built application consists of static files that can be served by any modern web server (e.g., **Nginx**, **Apache**, **Caddy**). +* **Hosting:** The project can be deployed to any static site hosting provider, such as **Firebase Hosting**, **Netlify**, **Vercel**, **AWS S3**, or **GitHub Pages**. +* **Containerization (Optional):** The application can be easily containerized using **Docker** for consistent deployment environments. + +## Development & Build Tools + +* **Build Tool:** **Angular CLI**. The command-line interface for Angular is used for creating, building, testing, and deploying the application. +* **Package Manager:** **npm**. The Node Package Manager is used for managing all project dependencies. +* **Version Control:** **Git**. Git is the standard for version control and source code management. +* **Testing:** + * **Unit Testing:** **Jasmine** (framework) and **Karma** (test runner) are the default tools for unit testing in Angular. + * **End-to-End (E2E) Testing:** The project can be configured to use **Protractor** or more modern alternatives like **Cypress** or **Playwright**. +* **Code Formatting/Linting:** + * **ESLint:** Used for identifying and reporting on patterns in ECMAScript/JavaScript code. + * **Prettier:** An opinionated code formatter that enforces a consistent style. + * **EditorConfig:** Helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.vscode/settings.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.vscode/settings.json new file mode 100644 index 0000000..7a73a41 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/.vscode/settings.json @@ -0,0 +1,2 @@ +{ +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/README.md b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/README.md new file mode 100644 index 0000000..c3d97fe --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/README.md @@ -0,0 +1,52 @@ +# Angular-Clarity + +This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.0.4 [Angular.io](https://angular.io/) version 16.0.4 and [Clarity Design System](https://vmware.github.io/clarity/news) by VMware version 6.4.5/15.5.0 + +## Install +- clone project `git clone https://github.com/superpck/angular-clarity` +- goto project folder `cd angular-clarity` +- install necessary package `npm install` +- Fix some vulnerabilities (if founded) `npm audit fix --force` +- Run application with command `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. +- or Run `ng serve --port 8080 --open` with another port and open web browser. + +## Code scaffolding + +Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. + +## Build + +- Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build. +- or `ng build --base-href ./ --prod --output-hashing none` + +## Running unit tests + +Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). + +## Running end-to-end tests + +Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). + +## Further help + +To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). + +## Screenshot +About Page +![About](1.png) + +Login Page +![Datagrid](6.png) + +Datagrid +![Datagrid](2.png) + +Datagrid expand row and single action +![expand](3.png) + +Modal +![modal](4.png) + +sweetalert2 +![sweetalert2](5.png) + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/README.txt b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/README.txt new file mode 100644 index 0000000..a431f57 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/README.txt @@ -0,0 +1,83 @@ +# Angular Clarity Boilerplate + +This project is an Angular boilerplate application that uses the [Clarity Design System](https://clarity.design/) by VMware. It serves as a starter template for building modern, responsive, and feature-rich web applications. + +This boilerplate is pre-configured with a standard project structure and includes essential modules and components to kickstart your development process. + +--- + +## 🚀 Features + +* **Angular:** The latest version of the Angular framework. +* **Clarity Design System:** A comprehensive set of UX guidelines, HTML/CSS components, and Angular components. +* **Responsive Layout:** A responsive navigation and layout structure. +* **Scalable Architecture:** A well-organized and scalable project structure. +* **Theming:** Easily customizable themes (light and dark). + +--- + +## 🛠️ Getting Started + +Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes. + +### Prerequisites + +Make sure you have [Node.js](https://nodejs.org/) and the [Angular CLI](https://angular.io/cli) installed on your system. + +```bash +npm install -g @angular/cli + +## Installation + +Install the dependencies: +npm install + +Running the Application +Run the following command to start the development server: +ng serve + +The app will automatically reload if you change any of the source files. + + +## DEPENDENCIES + +This project includes the following main dependencies: + +@angular/animations: The Angular animations library. +@angular/common: Commonly needed services, pipes, and directives. +@angular/compiler: The Angular template compiler. +@angular/core: Core Angular framework. +@angular/forms: Angular's form validation and handling library. +@angular/platform-browser: Everything needed to run Angular in a web browser. +@angular/router: The Angular router for navigation. +@cds/core: Clarity Design System core components. +@clr/angular: Angular components for Clarity. +@clr/ui: HTML/CSS components for Clarity. +rxjs: Reactive extensions for JavaScript. +zone.js: A signaling mechanism for Angular that allows it to detect when to run change detection. + + +📂 Project Structure +/ +├── .vscode/ # VSCode settings +├── node_modules/ # Node.js modules +├── src/ # Application source code +│ ├── app/ # Application components and modules +│ │ ├── core/ # Core module (singleton services, guards, etc.) +│ │ ├── shared/ # Shared module (common components, pipes, etc.) +│ │ ├── app-routing.module.ts +│ │ ├── app.component.html +│ │ ├── app.component.scss +│ │ └── app.module.ts +│ ├── assets/ # Static assets (images, icons, etc.) +│ ├── environments/ # Environment-specific configuration +│ ├── index.html # Main HTML file +│ ├── main.ts # Main entry point +│ └── styles.scss # Global styles +├── .editorconfig # Editor configuration +├── .gitignore # Git ignore file +├── angular.json # Angular CLI configuration +├── package.json # Project dependencies and scripts +├── README.md # This README file +└── tsconfig.json # TypeScript configuration + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/SECURITY.md b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/SECURITY.md new file mode 100644 index 0000000..034e848 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/SECURITY.md @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/angular.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/angular.json new file mode 100644 index 0000000..d9b66a6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/angular.json @@ -0,0 +1,134 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "angularclarity": { + "projectType": "application", + "schematics": { + "@schematics/angular:component": { + "style": "scss" + } + }, + "root": "", + "sourceRoot": "src", + "prefix": "app", + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "outputPath": "dist", + "index": "src/index.html", + "main": "src/main.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "tsconfig.app.json", + "allowedCommonJsDependencies": [ + "lodash", "xlsx", "file-saver","@swimlane/ngx-datatable","@swimlane/ngx-charts","jquery","highcharts","chart.js", + "clone-deep","@ckeditor/ckeditor5-build-classic","@ctrl/ngx-codemirror" + ], + "assets": [ + "src/favicon.ico", + "src/assets" + ], + "styles": [ + "node_modules/@clr/icons/clr-icons.min.css", + "node_modules/@clr/ui/clr-ui.min.css", + "src/styles.scss", + "node_modules/ngx-toastr/toastr.css" + ], + "scripts": [ + "node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js", + "node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js", + "node_modules/@clr/icons/clr-icons.min.js" + ], + "vendorChunk": true, + "extractLicenses": false, + "buildOptimizer": false, + "sourceMap": true, + "optimization": false, + "namedChunks": true + }, + "configurations": { + "production": { + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ], + "optimization": true, + "outputHashing": "all", + "sourceMap": false, + "namedChunks": false, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": true, + "budgets": [ + { + "type": "initial", + "maximumWarning": "10mb", + "maximumError": "10mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "200kb", + "maximumError": "4mb" + } + ] + } + }, + "defaultConfiguration": "" + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "options": { + "browserTarget": "angularclarity:build" + }, + "configurations": { + "production": { + "browserTarget": "angularclarity:build:production" + } + } + }, + "extract-i18n": { + "builder": "@angular-devkit/build-angular:extract-i18n", + "options": { + "browserTarget": "angularclarity:build" + } + }, + "test": { + "builder": "@angular-devkit/build-angular:karma", + "options": { + "main": "src/test.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", + "assets": [ + "src/favicon.ico", + "src/assets" + ], + "styles": [ + "src/styles.scss" + ], + "scripts": [] + } + }, + "e2e": { + "builder": "@angular-devkit/build-angular:protractor", + "options": { + "protractorConfig": "e2e/protractor.conf.js", + "devServerTarget": "angularclarity:serve" + }, + "configurations": { + "production": { + "devServerTarget": "angularclarity:serve:production" + } + } + } + } + } + }, + "cli": { + "analytics": "6e7a3b23-d894-47dd-8b4b-7fdeba9a5abd" + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/browserslist b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/browserslist new file mode 100644 index 0000000..8084853 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/browserslist @@ -0,0 +1,12 @@ +# This file is used by the build system to adjust CSS and JS output to support the specified browsers below. +# For additional information regarding the format and rule options, please see: +# https://github.com/browserslist/browserslist#queries + +# You can see what browsers were selected by your queries by running: +# npx browserslist + +> 0.5% +last 2 versions +Firefox ESR +not dead +not IE 9-11 # For IE 9-11 support, remove 'not'. \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/e2e/protractor.conf.js b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/e2e/protractor.conf.js new file mode 100644 index 0000000..7c798cf --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/e2e/protractor.conf.js @@ -0,0 +1,32 @@ +// @ts-check +// Protractor configuration file, see link for more information +// https://github.com/angular/protractor/blob/master/lib/config.ts + +const { SpecReporter } = require('jasmine-spec-reporter'); + +/** + * @type { import("protractor").Config } + */ +exports.config = { + allScriptsTimeout: 11000, + specs: [ + './src/**/*.e2e-spec.ts' + ], + capabilities: { + browserName: 'chrome' + }, + directConnect: true, + baseUrl: 'http://localhost:4200/', + framework: 'jasmine', + jasmineNodeOpts: { + showColors: true, + defaultTimeoutInterval: 30000, + print: function() {} + }, + onPrepare() { + require('ts-node').register({ + project: require('path').join(__dirname, './tsconfig.json') + }); + jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); + } +}; \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/e2e/src/app.e2e-spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/e2e/src/app.e2e-spec.ts new file mode 100644 index 0000000..98d296a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/e2e/src/app.e2e-spec.ts @@ -0,0 +1,23 @@ +import { AppPage } from './app.po'; +import { browser, logging } from 'protractor'; + +describe('workspace-project App', () => { + let page: AppPage; + + beforeEach(() => { + page = new AppPage(); + }); + + it('should display welcome message', () => { + page.navigateTo(); + expect(page.getTitleText()).toEqual('angularclarity app is running!'); + }); + + afterEach(async () => { + // Assert that there are no errors emitted from the browser + const logs = await browser.manage().logs().get(logging.Type.BROWSER); + expect(logs).not.toContain(jasmine.objectContaining({ + level: logging.Level.SEVERE, + } as logging.Entry)); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/e2e/src/app.po.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/e2e/src/app.po.ts new file mode 100644 index 0000000..b68475e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/e2e/src/app.po.ts @@ -0,0 +1,11 @@ +import { browser, by, element } from 'protractor'; + +export class AppPage { + navigateTo(): Promise { + return browser.get(browser.baseUrl) as Promise; + } + + getTitleText(): Promise { + return element(by.css('app-root .content span')).getText() as Promise; + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/e2e/tsconfig.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/e2e/tsconfig.json new file mode 100644 index 0000000..39b800f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/e2e/tsconfig.json @@ -0,0 +1,13 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "outDir": "../out-tsc/e2e", + "module": "commonjs", + "target": "es5", + "types": [ + "jasmine", + "jasminewd2", + "node" + ] + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/karma.conf.js b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/karma.conf.js new file mode 100644 index 0000000..26cf885 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/karma.conf.js @@ -0,0 +1,32 @@ +// Karma configuration file, see link for more information +// https://karma-runner.github.io/1.0/config/configuration-file.html + +module.exports = function (config) { + config.set({ + basePath: '', + frameworks: ['jasmine', '@angular-devkit/build-angular'], + plugins: [ + require('karma-jasmine'), + require('karma-chrome-launcher'), + require('karma-jasmine-html-reporter'), + require('karma-coverage-istanbul-reporter'), + require('@angular-devkit/build-angular/plugins/karma') + ], + client: { + clearContext: false // leave Jasmine Spec Runner output visible in browser + }, + coverageIstanbulReporter: { + dir: require('path').join(__dirname, './coverage/ang'), + reports: ['html', 'lcovonly', 'text-summary'], + fixWebpackSourcePaths: true + }, + reporters: ['progress', 'kjhtml'], + port: 9876, + colors: true, + logLevel: config.LOG_INFO, + autoWatch: true, + browsers: ['Chrome'], + singleRun: false, + restartOnFileChange: true + }); +}; diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/package-lock.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/package-lock.json new file mode 100644 index 0000000..430863f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/package-lock.json @@ -0,0 +1,14862 @@ +{ + "name": "angular-clarity", + "version": "16.0.4", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "angular-clarity", + "version": "16.0.4", + "dependencies": { + "@angular/animations": "^16.0.4", + "@angular/cdk": "^16.2.4", + "@angular/common": "^16.0.4", + "@angular/compiler": "^16.0.4", + "@angular/core": "^16.0.4", + "@angular/forms": "^16.0.4", + "@angular/platform-browser": "^16.0.4", + "@angular/platform-browser-dynamic": "^16.0.4", + "@angular/router": "^16.0.4", + "@auth0/angular-jwt": "^5.1.2", + "@cds/core": "^6.9.0", + "@ckeditor/ckeditor5-angular": "^7.0.1", + "@ckeditor/ckeditor5-build-classic": "^40.0.0", + "@clr/angular": "^15.5.0", + "@clr/core": "^4.0.15", + "@clr/icons": "^13.0.2", + "@clr/ui": "^15.5.0", + "@ctrl/ngx-codemirror": "^7.0.0", + "@ngx-translate/core": "^16.0.3", + "@ngx-translate/http-loader": "^16.0.0", + "@swimlane/ngx-charts": "^20.4.1", + "@webcomponents/custom-elements": "^1.6.0", + "@webcomponents/webcomponentsjs": "^2.8.0", + "angular-gridster2": "^16.0.0", + "angularx-qrcode": "^16.0.2", + "chart.js": "^4.4.0", + "dom-to-image": "^2.6.0", + "express": "^4.18.2", + "file-saver": "^2.0.5", + "highcharts": "^11.1.0", + "highcharts-angular": "^3.1.2", + "jquery": "^3.7.1", + "jspdf": "^2.5.1", + "jszip": "^3.10.1", + "lit-html": "^3.1.0", + "lodash": "^4.17.21", + "moment": "^2.29.4", + "ng-dynamic-component": "^10.1.1", + "ng2-charts": "^5.0.3", + "ng2-ckeditor": "^1.3.7", + "ng2-search-filter": "^0.5.1", + "ngx-captcha": "^13.0.0", + "ngx-chips": "^3.0.0", + "ngx-cookie-service": "^16.0.0", + "ngx-drag-drop": "^16.1.0", + "ngx-image-cropper": "^7.0.2", + "ngx-toastr": "^17.0.2", + "numeral": "^2.0.6", + "rxjs": "^7.8.1", + "sweetalert2": "^11.4.8", + "tslib": "^2.5.2", + "xlsx": "https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz", + "zone.js": "~0.13.0" + }, + "devDependencies": { + "@angular-devkit/build-angular": "^16.0.4", + "@angular/cli": "^16.0.4", + "@angular/compiler-cli": "^16.0.4", + "@types/jasmine": "~4.3.2", + "@types/jasminewd2": "~2.0.10", + "@types/node": "^20.2.5", + "jasmine-core": "~5.0.0", + "jasmine-spec-reporter": "~7.0.0", + "karma": "~6.4.2", + "karma-chrome-launcher": "~3.2.0", + "karma-coverage-istanbul-reporter": "~3.0.3", + "karma-jasmine": "~5.1.0", + "karma-jasmine-html-reporter": "^2.0.0", + "ts-node": "^10.9.1", + "tslint": "~6.1.3", + "typescript": "^5.1.0" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", + "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@angular-devkit/architect": { + "version": "0.1602.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1602.12.tgz", + "integrity": "sha512-19Fwwfx+KvJ01SyI6cstRgqT9+cwer8Ro1T27t1JqlGyOX8tY3pV78ulwxy2+wCzPjR18V6W7cb7Cv6fyK4xog==", + "dev": true, + "dependencies": { + "@angular-devkit/core": "16.2.12", + "rxjs": "7.8.1" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "node_modules/@angular-devkit/build-angular": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-16.2.12.tgz", + "integrity": "sha512-VVGKZ0N3gyR0DP7VrcZl4io3ruWYT94mrlyJsJMLlrYy/EX8JCvqrJC9c+dscrtKjhZzjwdyhszkJQY4JfwACA==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "2.2.1", + "@angular-devkit/architect": "0.1602.12", + "@angular-devkit/build-webpack": "0.1602.12", + "@angular-devkit/core": "16.2.12", + "@babel/core": "7.22.9", + "@babel/generator": "7.22.9", + "@babel/helper-annotate-as-pure": "7.22.5", + "@babel/helper-split-export-declaration": "7.22.6", + "@babel/plugin-proposal-async-generator-functions": "7.20.7", + "@babel/plugin-transform-async-to-generator": "7.22.5", + "@babel/plugin-transform-runtime": "7.22.9", + "@babel/preset-env": "7.22.9", + "@babel/runtime": "7.22.6", + "@babel/template": "7.22.5", + "@discoveryjs/json-ext": "0.5.7", + "@ngtools/webpack": "16.2.12", + "@vitejs/plugin-basic-ssl": "1.0.1", + "ansi-colors": "4.1.3", + "autoprefixer": "10.4.14", + "babel-loader": "9.1.3", + "babel-plugin-istanbul": "6.1.1", + "browserslist": "^4.21.5", + "chokidar": "3.5.3", + "copy-webpack-plugin": "11.0.0", + "critters": "0.0.20", + "css-loader": "6.8.1", + "esbuild-wasm": "0.18.17", + "fast-glob": "3.3.1", + "guess-parser": "0.4.22", + "https-proxy-agent": "5.0.1", + "inquirer": "8.2.4", + "jsonc-parser": "3.2.0", + "karma-source-map-support": "1.4.0", + "less": "4.1.3", + "less-loader": "11.1.0", + "license-webpack-plugin": "4.0.2", + "loader-utils": "3.2.1", + "magic-string": "0.30.1", + "mini-css-extract-plugin": "2.7.6", + "mrmime": "1.0.1", + "open": "8.4.2", + "ora": "5.4.1", + "parse5-html-rewriting-stream": "7.0.0", + "picomatch": "2.3.1", + "piscina": "4.0.0", + "postcss": "8.4.31", + "postcss-loader": "7.3.3", + "resolve-url-loader": "5.0.0", + "rxjs": "7.8.1", + "sass": "1.64.1", + "sass-loader": "13.3.2", + "semver": "7.5.4", + "source-map-loader": "4.0.1", + "source-map-support": "0.5.21", + "terser": "5.19.2", + "text-table": "0.2.0", + "tree-kill": "1.2.2", + "tslib": "2.6.1", + "vite": "4.5.2", + "webpack": "5.88.2", + "webpack-dev-middleware": "6.1.1", + "webpack-dev-server": "4.15.1", + "webpack-merge": "5.9.0", + "webpack-subresource-integrity": "5.1.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "optionalDependencies": { + "esbuild": "0.18.17" + }, + "peerDependencies": { + "@angular/compiler-cli": "^16.0.0", + "@angular/localize": "^16.0.0", + "@angular/platform-server": "^16.0.0", + "@angular/service-worker": "^16.0.0", + "jest": "^29.5.0", + "jest-environment-jsdom": "^29.5.0", + "karma": "^6.3.0", + "ng-packagr": "^16.0.0", + "protractor": "^7.0.0", + "tailwindcss": "^2.0.0 || ^3.0.0", + "typescript": ">=4.9.3 <5.2" + }, + "peerDependenciesMeta": { + "@angular/localize": { + "optional": true + }, + "@angular/platform-server": { + "optional": true + }, + "@angular/service-worker": { + "optional": true + }, + "jest": { + "optional": true + }, + "jest-environment-jsdom": { + "optional": true + }, + "karma": { + "optional": true + }, + "ng-packagr": { + "optional": true + }, + "protractor": { + "optional": true + }, + "tailwindcss": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/tslib": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.1.tgz", + "integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==", + "dev": true + }, + "node_modules/@angular-devkit/build-webpack": { + "version": "0.1602.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1602.12.tgz", + "integrity": "sha512-1lmR4jCkxPJuAFXReesEY3CB+/5jSebGE5ry6qJJvNm6kuSc9bzfTytrcwosVY+Q7kAA2ij7kAYw0loGbTjLWA==", + "dev": true, + "dependencies": { + "@angular-devkit/architect": "0.1602.12", + "rxjs": "7.8.1" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "webpack": "^5.30.0", + "webpack-dev-server": "^4.0.0" + } + }, + "node_modules/@angular-devkit/core": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-16.2.12.tgz", + "integrity": "sha512-o6ziQs+EcEonFezrsA46jbZqkQrs4ckS1bAQj93g5ZjGtieUz8l/U3lclvKpL/iEzWkGVViSYuP2KyW2oqTDiQ==", + "dev": true, + "dependencies": { + "ajv": "8.12.0", + "ajv-formats": "2.1.1", + "jsonc-parser": "3.2.0", + "picomatch": "2.3.1", + "rxjs": "7.8.1", + "source-map": "0.7.4" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "chokidar": "^3.5.2" + }, + "peerDependenciesMeta": { + "chokidar": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/schematics": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-16.2.12.tgz", + "integrity": "sha512-lf/Nz2o875pllxGNUcI2by4rctfRsOZOxvaLq2UaH6XG6Re9tqeNfn40a8qXrr9/IYntXnlvEid/pd9e8gFBIw==", + "dev": true, + "dependencies": { + "@angular-devkit/core": "16.2.12", + "jsonc-parser": "3.2.0", + "magic-string": "0.30.1", + "ora": "5.4.1", + "rxjs": "7.8.1" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "node_modules/@angular/animations": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-16.2.12.tgz", + "integrity": "sha512-MD0ElviEfAJY8qMOd6/jjSSvtqER2RDAi0lxe6EtUacC1DHCYkaPrKW4vLqY+tmZBg1yf+6n+uS77pXcHHcA3w==", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/core": "16.2.12" + } + }, + "node_modules/@angular/cdk": { + "version": "16.2.14", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-16.2.14.tgz", + "integrity": "sha512-n6PrGdiVeSTEmM/HEiwIyg6YQUUymZrb5afaNLGFRM5YL0Y8OBqd+XhCjb0OfD/AfgCUtedVEPwNqrfW8KzgGw==", + "dependencies": { + "tslib": "^2.3.0" + }, + "optionalDependencies": { + "parse5": "^7.1.2" + }, + "peerDependencies": { + "@angular/common": "^16.0.0 || ^17.0.0", + "@angular/core": "^16.0.0 || ^17.0.0", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@angular/cli": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-16.2.12.tgz", + "integrity": "sha512-Pcbiraoqdw4rR2Ey5Ooy0ESLS1Ffbjkb6sPfinKRkHmAvyqsmlvkfbB/qK8GrzDSFSWvAKMMXRw9l8nbjvQEXg==", + "dev": true, + "dependencies": { + "@angular-devkit/architect": "0.1602.12", + "@angular-devkit/core": "16.2.12", + "@angular-devkit/schematics": "16.2.12", + "@schematics/angular": "16.2.12", + "@yarnpkg/lockfile": "1.1.0", + "ansi-colors": "4.1.3", + "ini": "4.1.1", + "inquirer": "8.2.4", + "jsonc-parser": "3.2.0", + "npm-package-arg": "10.1.0", + "npm-pick-manifest": "8.0.1", + "open": "8.4.2", + "ora": "5.4.1", + "pacote": "15.2.0", + "resolve": "1.22.2", + "semver": "7.5.4", + "symbol-observable": "4.0.0", + "yargs": "17.7.2" + }, + "bin": { + "ng": "bin/ng.js" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "node_modules/@angular/common": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-16.2.12.tgz", + "integrity": "sha512-B+WY/cT2VgEaz9HfJitBmgdk4I333XG/ybC98CMC4Wz8E49T8yzivmmxXB3OD6qvjcOB6ftuicl6WBqLbZNg2w==", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/core": "16.2.12", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@angular/compiler": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-16.2.12.tgz", + "integrity": "sha512-6SMXUgSVekGM7R6l1Z9rCtUGtlg58GFmgbpMCsGf+VXxP468Njw8rjT2YZkf5aEPxEuRpSHhDYjqz7n14cwCXQ==", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/core": "16.2.12" + }, + "peerDependenciesMeta": { + "@angular/core": { + "optional": true + } + } + }, + "node_modules/@angular/compiler-cli": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-16.2.12.tgz", + "integrity": "sha512-pWSrr152562ujh6lsFZR8NfNc5Ljj+zSTQO44DsuB0tZjwEpnRcjJEgzuhGXr+CoiBf+jTSPZKemtSktDk5aaA==", + "dev": true, + "dependencies": { + "@babel/core": "7.23.2", + "@jridgewell/sourcemap-codec": "^1.4.14", + "chokidar": "^3.0.0", + "convert-source-map": "^1.5.1", + "reflect-metadata": "^0.1.2", + "semver": "^7.0.0", + "tslib": "^2.3.0", + "yargs": "^17.2.1" + }, + "bin": { + "ng-xi18n": "bundles/src/bin/ng_xi18n.js", + "ngc": "bundles/src/bin/ngc.js", + "ngcc": "bundles/ngcc/index.js" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/compiler": "16.2.12", + "typescript": ">=4.9.3 <5.2" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/core": { + "version": "7.23.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.2.tgz", + "integrity": "sha512-n7s51eWdaWZ3vGT2tD4T7J6eJs3QoBXydv7vkUM06Bf1cbVD2Kc2UrkzhiQwobfV7NwOnQXYL7UBJ5VPU+RGoQ==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.0", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-module-transforms": "^7.23.0", + "@babel/helpers": "^7.23.2", + "@babel/parser": "^7.23.0", + "@babel/template": "^7.22.15", + "@babel/traverse": "^7.23.2", + "@babel/types": "^7.23.0", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/core/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/generator": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", + "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.23.6", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/template": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.23.9.tgz", + "integrity": "sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/parser": "^7.23.9", + "@babel/types": "^7.23.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@angular/core": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-16.2.12.tgz", + "integrity": "sha512-GLLlDeke/NjroaLYOks0uyzFVo6HyLl7VOm0K1QpLXnYvW63W9Ql/T3yguRZa7tRkOAeFZ3jw+1wnBD4O8MoUA==", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "rxjs": "^6.5.3 || ^7.4.0", + "zone.js": "~0.13.0" + } + }, + "node_modules/@angular/forms": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-16.2.12.tgz", + "integrity": "sha512-1Eao89hlBgLR3v8tU91vccn21BBKL06WWxl7zLpQmG6Hun+2jrThgOE4Pf3os4fkkbH4Apj0tWL2fNIWe/blbw==", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/common": "16.2.12", + "@angular/core": "16.2.12", + "@angular/platform-browser": "16.2.12", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@angular/platform-browser": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-16.2.12.tgz", + "integrity": "sha512-NnH7ju1iirmVEsUq432DTm0nZBGQsBrU40M3ZeVHMQ2subnGiyUs3QyzDz8+VWLL/T5xTxWLt9BkDn65vgzlIQ==", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/animations": "16.2.12", + "@angular/common": "16.2.12", + "@angular/core": "16.2.12" + }, + "peerDependenciesMeta": { + "@angular/animations": { + "optional": true + } + } + }, + "node_modules/@angular/platform-browser-dynamic": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-16.2.12.tgz", + "integrity": "sha512-ya54jerNgreCVAR278wZavwjrUWImMr2F8yM5n9HBvsMBbFaAQ83anwbOEiHEF2BlR+gJiEBLfpuPRMw20pHqw==", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/common": "16.2.12", + "@angular/compiler": "16.2.12", + "@angular/core": "16.2.12", + "@angular/platform-browser": "16.2.12" + } + }, + "node_modules/@angular/router": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-16.2.12.tgz", + "integrity": "sha512-aU6QnYSza005V9P3W6PpkieL56O0IHps96DjqI1RS8yOJUl3THmokqYN4Fm5+HXy4f390FN9i6ftadYQDKeWmA==", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0" + }, + "peerDependencies": { + "@angular/common": "16.2.12", + "@angular/core": "16.2.12", + "@angular/platform-browser": "16.2.12", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@assemblyscript/loader": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/@assemblyscript/loader/-/loader-0.10.1.tgz", + "integrity": "sha512-H71nDOOL8Y7kWRLqf6Sums+01Q5msqBW2KhDUTemh1tvY04eSkSXrK0uj/4mmY0Xr16/3zyZmsrxN7CKuRbNRg==", + "dev": true + }, + "node_modules/@auth0/angular-jwt": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@auth0/angular-jwt/-/angular-jwt-5.2.0.tgz", + "integrity": "sha512-9FS2L0QwGNlxA/zgeehCcsR9CZscouyXkoIj1fODM36A8BLfdzg9k9DWAXUQ2Drjk0AypGAFzeNZR4vsLMhdeQ==", + "dependencies": { + "tslib": "^2.0.0" + }, + "peerDependencies": { + "@angular/common": ">=14.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", + "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.23.4", + "chalk": "^2.4.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz", + "integrity": "sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.9.tgz", + "integrity": "sha512-G2EgeufBcYw27U4hhoIwFcgc1XU7TlXJ3mv04oOv1WCuo900U/anZSPzEqNjwdjgffkk2Gs0AN0dW1CKVLcG7w==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.5", + "@babel/generator": "^7.22.9", + "@babel/helper-compilation-targets": "^7.22.9", + "@babel/helper-module-transforms": "^7.22.9", + "@babel/helpers": "^7.22.6", + "@babel/parser": "^7.22.7", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.8", + "@babel/types": "^7.22.5", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.2", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/generator": { + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.9.tgz", + "integrity": "sha512-KtLMbmicyuK2Ak/FTCJVbDnkN1SlT8/kceFTiuDiiRUUSMnHMidxSCdG4ndkTOHHpoomWe/4xkvHkEOncwjYIw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-annotate-as-pure": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", + "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.22.15.tgz", + "integrity": "sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", + "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.23.5", + "@babel/helper-validator-option": "^7.23.5", + "browserslist": "^4.22.2", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.23.10", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.23.10.tgz", + "integrity": "sha512-2XpP2XhkXzgxecPNEEK8Vz8Asj9aRxt08oKOqtiZoqV2UGZ5T+EkyP9sXQ9nwMxBIG34a7jmasVqoMop7VdPUw==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-member-expression-to-functions": "^7.23.0", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.20", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-create-regexp-features-plugin": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.22.15.tgz", + "integrity": "sha512-29FkPLFjn4TPEa3RE7GpW+qbE8tlsu3jntNYNfcGsc49LphF1PQIiD+vMZ1z1xVOKt+93khA9tc2JBs3kBjA7w==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "regexpu-core": "^5.3.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-define-polyfill-provider": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.5.0.tgz", + "integrity": "sha512-NovQquuQLAQ5HuyjCz7WQP9MjRj7dx++yspwiyUiGl9ZyadHRSql1HZh5ogRd8W8w6YM6EQ/NTB8rgjLt5W65Q==", + "dev": true, + "dependencies": { + "@babel/helper-compilation-targets": "^7.22.6", + "@babel/helper-plugin-utils": "^7.22.5", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/@babel/helper-environment-visitor": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", + "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", + "dev": true, + "dependencies": { + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name/node_modules/@babel/template": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.23.9.tgz", + "integrity": "sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/parser": "^7.23.9", + "@babel/types": "^7.23.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", + "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.23.0.tgz", + "integrity": "sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.23.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", + "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", + "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-module-imports": "^7.22.15", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.20" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-optimise-call-expression": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz", + "integrity": "sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", + "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-remap-async-to-generator": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.22.20.tgz", + "integrity": "sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-wrap-function": "^7.22.20" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-replace-supers": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.22.20.tgz", + "integrity": "sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-member-expression-to-functions": "^7.22.15", + "@babel/helper-optimise-call-expression": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", + "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz", + "integrity": "sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", + "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz", + "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-wrap-function": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.22.20.tgz", + "integrity": "sha512-pms/UwkOpnQe/PDAEdV/d7dVCoBbB+R4FvYoHGZz+4VPcg7RtYy2KP7S2lbuWM6FCSgob5wshfGESbC/hzNXZw==", + "dev": true, + "dependencies": { + "@babel/helper-function-name": "^7.22.5", + "@babel/template": "^7.22.15", + "@babel/types": "^7.22.19" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-wrap-function/node_modules/@babel/template": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.23.9.tgz", + "integrity": "sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/parser": "^7.23.9", + "@babel/types": "^7.23.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.9.tgz", + "integrity": "sha512-87ICKgU5t5SzOT7sBMfCOZQ2rHjRU+Pcb9BoILMYz600W6DkVRLFBPwQ18gwUVvggqXivaUakpnxWQGbpywbBQ==", + "dev": true, + "dependencies": { + "@babel/template": "^7.23.9", + "@babel/traverse": "^7.23.9", + "@babel/types": "^7.23.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers/node_modules/@babel/template": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.23.9.tgz", + "integrity": "sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/parser": "^7.23.9", + "@babel/types": "^7.23.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.9.tgz", + "integrity": "sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==", + "dev": true, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.23.3.tgz", + "integrity": "sha512-iRkKcCqb7iGnq9+3G6rZ+Ciz5VywC4XNRHe57lKM+jOeYAoR0lVqdeeDRfh0tQcTfw/+vBhHn926FmQhLtlFLQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.23.3.tgz", + "integrity": "sha512-WwlxbfMNdVEpQjZmK5mhm7oSwD3dS6eU+Iwsi4Knl9wAletWem7kaRsGOG+8UEbRyqxY4SS5zvtfXwX+jMxUwQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/plugin-transform-optional-chaining": "^7.23.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.13.0" + } + }, + "node_modules/@babel/plugin-proposal-async-generator-functions": { + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.7.tgz", + "integrity": "sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA==", + "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.18.9", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-remap-async-to-generator": "^7.18.9", + "@babel/plugin-syntax-async-generators": "^7.8.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-private-property-in-object": { + "version": "7.21.0-placeholder-for-preset-env.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz", + "integrity": "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==", + "dev": true, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-unicode-property-regex": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz", + "integrity": "sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==", + "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", + "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-export-namespace-from": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", + "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-assertions": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.23.3.tgz", + "integrity": "sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.23.3.tgz", + "integrity": "sha512-pawnE0P9g10xgoP7yKr6CK63K2FMsTE+FZidZO/1PwRdzmAPVs+HS1mAURUsgaoxammTJvULUdIkEK0gOcU2tA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-unicode-sets-regex": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz", + "integrity": "sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-transform-arrow-functions": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.23.3.tgz", + "integrity": "sha512-NzQcQrzaQPkaEwoTm4Mhyl8jI1huEL/WWIEvudjTCMJ9aBZNpsJbMASx7EQECtQQPS/DcnFpo0FIh3LvEO9cxQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-async-generator-functions": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.9.tgz", + "integrity": "sha512-8Q3veQEDGe14dTYuwagbRtwxQDnytyg1JFu4/HwEMETeofocrB0U0ejBJIXoeG/t2oXZ8kzCyI0ZZfbT80VFNQ==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-remap-async-to-generator": "^7.22.20", + "@babel/plugin-syntax-async-generators": "^7.8.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-async-to-generator": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.22.5.tgz", + "integrity": "sha512-b1A8D8ZzE/VhNDoV1MSJTnpKkCG5bJo+19R4o4oy03zM7ws8yEMK755j61Dc3EyvdysbqH5BOOTquJ7ZX9C6vQ==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-remap-async-to-generator": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoped-functions": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.23.3.tgz", + "integrity": "sha512-vI+0sIaPIO6CNuM9Kk5VmXcMVRiOpDh7w2zZt9GXzmE/9KD70CUEVhvPR/etAeNK/FAEkhxQtXOzVF3EuRL41A==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoping": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.23.4.tgz", + "integrity": "sha512-0QqbP6B6HOh7/8iNR4CQU2Th/bbRtBp4KS9vcaZd1fZ0wSh5Fyssg0UCIHwxh+ka+pNDREbVLQnHCMHKZfPwfw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-class-properties": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.23.3.tgz", + "integrity": "sha512-uM+AN8yCIjDPccsKGlw271xjJtGii+xQIF/uMPS8H15L12jZTsLfF4o5vNO7d/oUguOyfdikHGc/yi9ge4SGIg==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-class-static-block": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.23.4.tgz", + "integrity": "sha512-nsWu/1M+ggti1SOALj3hfx5FXzAY06fwPJsUZD4/A5e1bWi46VUIWtD+kOX6/IdhXGsXBWllLFDSnqSCdUNydQ==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0" + } + }, + "node_modules/@babel/plugin-transform-classes": { + "version": "7.23.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.23.8.tgz", + "integrity": "sha512-yAYslGsY1bX6Knmg46RjiCiNSwJKv2IUC8qOdYKqMMr0491SXFhcHqOdRDeCRohOOIzwN/90C6mQ9qAKgrP7dg==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-compilation-targets": "^7.23.6", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.20", + "@babel/helper-split-export-declaration": "^7.22.6", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-computed-properties": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.23.3.tgz", + "integrity": "sha512-dTj83UVTLw/+nbiHqQSFdwO9CbTtwq1DsDqm3CUEtDrZNET5rT5E6bIdTlOftDTDLMYxvxHNEYO4B9SLl8SLZw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/template": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-computed-properties/node_modules/@babel/template": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.23.9.tgz", + "integrity": "sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/parser": "^7.23.9", + "@babel/types": "^7.23.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/plugin-transform-destructuring": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.23.3.tgz", + "integrity": "sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-dotall-regex": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.23.3.tgz", + "integrity": "sha512-vgnFYDHAKzFaTVp+mneDsIEbnJ2Np/9ng9iviHw3P/KVcgONxpNULEW/51Z/BaFojG2GI2GwwXck5uV1+1NOYQ==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-duplicate-keys": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.23.3.tgz", + "integrity": "sha512-RrqQ+BQmU3Oyav3J+7/myfvRCq7Tbz+kKLLshUmMwNlDHExbGL7ARhajvoBJEvc+fCguPPu887N+3RRXBVKZUA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-dynamic-import": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.23.4.tgz", + "integrity": "sha512-V6jIbLhdJK86MaLh4Jpghi8ho5fGzt3imHOBu/x0jlBaPYqDoWz4RDXjmMOfnh+JWNaQleEAByZLV0QzBT4YQQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-exponentiation-operator": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.23.3.tgz", + "integrity": "sha512-5fhCsl1odX96u7ILKHBj4/Y8vipoqwsJMh4csSA8qFfxrZDEA4Ssku2DyNvMJSmZNOEBT750LfFPbtrnTP90BQ==", + "dev": true, + "dependencies": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-export-namespace-from": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.23.4.tgz", + "integrity": "sha512-GzuSBcKkx62dGzZI1WVgTWvkkz84FZO5TC5T8dl/Tht/rAla6Dg/Mz9Yhypg+ezVACf/rgDuQt3kbWEv7LdUDQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-for-of": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.6.tgz", + "integrity": "sha512-aYH4ytZ0qSuBbpfhuofbg/e96oQ7U2w1Aw/UQmKT+1l39uEhUPoFS3fHevDc1G0OvewyDudfMKY1OulczHzWIw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-function-name": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.23.3.tgz", + "integrity": "sha512-I1QXp1LxIvt8yLaib49dRW5Okt7Q4oaxao6tFVKS/anCdEOMtYwWVKoiOA1p34GOWIZjUK0E+zCp7+l1pfQyiw==", + "dev": true, + "dependencies": { + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-json-strings": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.23.4.tgz", + "integrity": "sha512-81nTOqM1dMwZ/aRXQ59zVubN9wHGqk6UtqRK+/q+ciXmRy8fSolhGVvG09HHRGo4l6fr/c4ZhXUQH0uFW7PZbg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-json-strings": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-literals": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.23.3.tgz", + "integrity": "sha512-wZ0PIXRxnwZvl9AYpqNUxpZ5BiTGrYt7kueGQ+N5FiQ7RCOD4cm8iShd6S6ggfVIWaJf2EMk8eRzAh52RfP4rQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-logical-assignment-operators": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.23.4.tgz", + "integrity": "sha512-Mc/ALf1rmZTP4JKKEhUwiORU+vcfarFVLfcFiolKUo6sewoxSEgl36ak5t+4WamRsNr6nzjZXQjM35WsU+9vbg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-member-expression-literals": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.23.3.tgz", + "integrity": "sha512-sC3LdDBDi5x96LA+Ytekz2ZPk8i/Ck+DEuDbRAll5rknJ5XRTSaPKEYwomLcs1AA8wg9b3KjIQRsnApj+q51Ag==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-amd": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.23.3.tgz", + "integrity": "sha512-vJYQGxeKM4t8hYCKVBlZX/gtIY2I7mRGFNcm85sgXGMTBcoV3QdVtdpbcWEbzbfUIUZKwvgFT82mRvaQIebZzw==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.3.tgz", + "integrity": "sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-systemjs": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.23.9.tgz", + "integrity": "sha512-KDlPRM6sLo4o1FkiSlXoAa8edLXFsKKIda779fbLrvmeuc3itnjCtaO6RrtoaANsIJANj+Vk1zqbZIMhkCAHVw==", + "dev": true, + "dependencies": { + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-umd": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.23.3.tgz", + "integrity": "sha512-zHsy9iXX2nIsCBFPud3jKn1IRPWg3Ing1qOZgeKV39m1ZgIdpJqvlWVeiHBZC6ITRG0MfskhYe9cLgntfSFPIg==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.22.5.tgz", + "integrity": "sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-transform-new-target": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.23.3.tgz", + "integrity": "sha512-YJ3xKqtJMAT5/TIZnpAR3I+K+WaDowYbN3xyxI8zxx/Gsypwf9B9h0VB+1Nh6ACAAPRS5NSRje0uVv5i79HYGQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.23.4.tgz", + "integrity": "sha512-jHE9EVVqHKAQx+VePv5LLGHjmHSJR76vawFPTdlxR/LVJPfOEGxREQwQfjuZEOPTwG92X3LINSh3M40Rv4zpVA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-numeric-separator": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.23.4.tgz", + "integrity": "sha512-mps6auzgwjRrwKEZA05cOwuDc9FAzoyFS4ZsG/8F43bTLf/TgkJg7QXOrPO1JO599iA3qgK9MXdMGOEC8O1h6Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-object-rest-spread": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.23.4.tgz", + "integrity": "sha512-9x9K1YyeQVw0iOXJlIzwm8ltobIIv7j2iLyP2jIhEbqPRQ7ScNgwQufU2I0Gq11VjyG4gI4yMXt2VFags+1N3g==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.23.3", + "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.23.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-object-super": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.23.3.tgz", + "integrity": "sha512-BwQ8q0x2JG+3lxCVFohg+KbQM7plfpBwThdW9A6TMtWwLsbDA01Ek2Zb/AgDN39BiZsExm4qrXxjk+P1/fzGrA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.20" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-optional-catch-binding": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.23.4.tgz", + "integrity": "sha512-XIq8t0rJPHf6Wvmbn9nFxU6ao4c7WhghTR5WyV8SrJfUFzyxhCm4nhC+iAp3HFhbAKLfYpgzhJ6t4XCtVwqO5A==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-optional-chaining": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.23.4.tgz", + "integrity": "sha512-ZU8y5zWOfjM5vZ+asjgAPwDaBjJzgufjES89Rs4Lpq63O300R/kOz30WCLo6BxxX6QVEilwSlpClnG5cZaikTA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-parameters": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.23.3.tgz", + "integrity": "sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-private-methods": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.23.3.tgz", + "integrity": "sha512-UzqRcRtWsDMTLrRWFvUBDwmw06tCQH9Rl1uAjfh6ijMSmGYQ+fpdB+cnqRC8EMh5tuuxSv0/TejGL+7vyj+50g==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-private-property-in-object": { + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.23.4.tgz", + "integrity": "sha512-9G3K1YqTq3F4Vt88Djx1UZ79PDyj+yKRnUy7cZGSMe+a7jkwD259uKKuUzQlPkGam7R+8RJwh5z4xO27fA1o2A==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-create-class-features-plugin": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-property-literals": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.23.3.tgz", + "integrity": "sha512-jR3Jn3y7cZp4oEWPFAlRsSWjxKe4PZILGBSd4nis1TsC5qeSpb+nrtihJuDhNI7QHiVbUaiXa0X2RZY3/TI6Nw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-regenerator": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.23.3.tgz", + "integrity": "sha512-KP+75h0KghBMcVpuKisx3XTu9Ncut8Q8TuvGO4IhY+9D5DFEckQefOuIsB/gQ2tG71lCke4NMrtIPS8pOj18BQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "regenerator-transform": "^0.15.2" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-reserved-words": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.23.3.tgz", + "integrity": "sha512-QnNTazY54YqgGxwIexMZva9gqbPa15t/x9VS+0fsEFWplwVpXYZivtgl43Z1vMpc1bdPP2PP8siFeVcnFvA3Cg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-runtime": { + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.22.9.tgz", + "integrity": "sha512-9KjBH61AGJetCPYp/IEyLEp47SyybZb0nDRpBvmtEkm+rUIwxdlKpyNHI1TmsGkeuLclJdleQHRZ8XLBnnh8CQ==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "babel-plugin-polyfill-corejs2": "^0.4.4", + "babel-plugin-polyfill-corejs3": "^0.8.2", + "babel-plugin-polyfill-regenerator": "^0.5.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-runtime/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-transform-shorthand-properties": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.23.3.tgz", + "integrity": "sha512-ED2fgqZLmexWiN+YNFX26fx4gh5qHDhn1O2gvEhreLW2iI63Sqm4llRLCXALKrCnbN4Jy0VcMQZl/SAzqug/jg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-spread": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.23.3.tgz", + "integrity": "sha512-VvfVYlrlBVu+77xVTOAoxQ6mZbnIq5FM0aGBSFEcIh03qHf+zNqA4DC/3XMUozTg7bZV3e3mZQ0i13VB6v5yUg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-sticky-regex": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.23.3.tgz", + "integrity": "sha512-HZOyN9g+rtvnOU3Yh7kSxXrKbzgrm5X4GncPY1QOquu7epga5MxKHVpYu2hvQnry/H+JjckSYRb93iNfsioAGg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-template-literals": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.23.3.tgz", + "integrity": "sha512-Flok06AYNp7GV2oJPZZcP9vZdszev6vPBkHLwxwSpaIqx75wn6mUd3UFWsSsA0l8nXAKkyCmL/sR02m8RYGeHg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-typeof-symbol": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.23.3.tgz", + "integrity": "sha512-4t15ViVnaFdrPC74be1gXBSMzXk3B4Us9lP7uLRQHTFpV5Dvt33pn+2MyyNxmN3VTTm3oTrZVMUmuw3oBnQ2oQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-escapes": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.23.3.tgz", + "integrity": "sha512-OMCUx/bU6ChE3r4+ZdylEqAjaQgHAgipgW8nsCfu5pGqDcFytVd91AwRvUJSBZDz0exPGgnjoqhgRYLRjFZc9Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-property-regex": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.23.3.tgz", + "integrity": "sha512-KcLIm+pDZkWZQAFJ9pdfmh89EwVfmNovFBcXko8szpBeF8z68kWIPeKlmSOkT9BXJxs2C0uk+5LxoxIv62MROA==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-regex": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.23.3.tgz", + "integrity": "sha512-wMHpNA4x2cIA32b/ci3AfwNgheiva2W0WUKWTK7vBHBhDKfPsc5cFGNWm69WBqpwd86u1qwZ9PWevKqm1A3yAw==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-sets-regex": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.23.3.tgz", + "integrity": "sha512-W7lliA/v9bNR83Qc3q1ip9CQMZ09CcHDbHfbLRDNuAhn1Mvkr1ZNF7hPmztMQvtTGVLJ9m8IZqWsTkXOml8dbw==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.15", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/preset-env": { + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.22.9.tgz", + "integrity": "sha512-wNi5H/Emkhll/bqPjsjQorSykrlfY5OWakd6AulLvMEytpKasMVUpVy8RL4qBIBs5Ac6/5i0/Rv0b/Fg6Eag/g==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.22.9", + "@babel/helper-compilation-targets": "^7.22.9", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-option": "^7.22.5", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.22.5", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.5", + "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-import-assertions": "^7.22.5", + "@babel/plugin-syntax-import-attributes": "^7.22.5", + "@babel/plugin-syntax-import-meta": "^7.10.4", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", + "@babel/plugin-transform-arrow-functions": "^7.22.5", + "@babel/plugin-transform-async-generator-functions": "^7.22.7", + "@babel/plugin-transform-async-to-generator": "^7.22.5", + "@babel/plugin-transform-block-scoped-functions": "^7.22.5", + "@babel/plugin-transform-block-scoping": "^7.22.5", + "@babel/plugin-transform-class-properties": "^7.22.5", + "@babel/plugin-transform-class-static-block": "^7.22.5", + "@babel/plugin-transform-classes": "^7.22.6", + "@babel/plugin-transform-computed-properties": "^7.22.5", + "@babel/plugin-transform-destructuring": "^7.22.5", + "@babel/plugin-transform-dotall-regex": "^7.22.5", + "@babel/plugin-transform-duplicate-keys": "^7.22.5", + "@babel/plugin-transform-dynamic-import": "^7.22.5", + "@babel/plugin-transform-exponentiation-operator": "^7.22.5", + "@babel/plugin-transform-export-namespace-from": "^7.22.5", + "@babel/plugin-transform-for-of": "^7.22.5", + "@babel/plugin-transform-function-name": "^7.22.5", + "@babel/plugin-transform-json-strings": "^7.22.5", + "@babel/plugin-transform-literals": "^7.22.5", + "@babel/plugin-transform-logical-assignment-operators": "^7.22.5", + "@babel/plugin-transform-member-expression-literals": "^7.22.5", + "@babel/plugin-transform-modules-amd": "^7.22.5", + "@babel/plugin-transform-modules-commonjs": "^7.22.5", + "@babel/plugin-transform-modules-systemjs": "^7.22.5", + "@babel/plugin-transform-modules-umd": "^7.22.5", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5", + "@babel/plugin-transform-new-target": "^7.22.5", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.5", + "@babel/plugin-transform-numeric-separator": "^7.22.5", + "@babel/plugin-transform-object-rest-spread": "^7.22.5", + "@babel/plugin-transform-object-super": "^7.22.5", + "@babel/plugin-transform-optional-catch-binding": "^7.22.5", + "@babel/plugin-transform-optional-chaining": "^7.22.6", + "@babel/plugin-transform-parameters": "^7.22.5", + "@babel/plugin-transform-private-methods": "^7.22.5", + "@babel/plugin-transform-private-property-in-object": "^7.22.5", + "@babel/plugin-transform-property-literals": "^7.22.5", + "@babel/plugin-transform-regenerator": "^7.22.5", + "@babel/plugin-transform-reserved-words": "^7.22.5", + "@babel/plugin-transform-shorthand-properties": "^7.22.5", + "@babel/plugin-transform-spread": "^7.22.5", + "@babel/plugin-transform-sticky-regex": "^7.22.5", + "@babel/plugin-transform-template-literals": "^7.22.5", + "@babel/plugin-transform-typeof-symbol": "^7.22.5", + "@babel/plugin-transform-unicode-escapes": "^7.22.5", + "@babel/plugin-transform-unicode-property-regex": "^7.22.5", + "@babel/plugin-transform-unicode-regex": "^7.22.5", + "@babel/plugin-transform-unicode-sets-regex": "^7.22.5", + "@babel/preset-modules": "^0.1.5", + "@babel/types": "^7.22.5", + "babel-plugin-polyfill-corejs2": "^0.4.4", + "babel-plugin-polyfill-corejs3": "^0.8.2", + "babel-plugin-polyfill-regenerator": "^0.5.1", + "core-js-compat": "^3.31.0", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/preset-env/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/preset-modules": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.6.tgz", + "integrity": "sha512-ID2yj6K/4lKfhuU3+EX4UvNbIt7eACFbHmNUjzA+ep+B5971CknnA/9DEWKbRokfbbtblxxxXFJJrH47UEAMVg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/@babel/regjsgen": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@babel/regjsgen/-/regjsgen-0.8.0.tgz", + "integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==", + "dev": true + }, + "node_modules/@babel/runtime": { + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.6.tgz", + "integrity": "sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==", + "dependencies": { + "regenerator-runtime": "^0.13.11" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", + "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.22.5", + "@babel/parser": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.9.tgz", + "integrity": "sha512-I/4UJ9vs90OkBtY6iiiTORVMyIhJ4kAVmsKo9KFc8UOxMeUfi2hvtIBsET5u9GizXE6/GFSuKCTNfgCswuEjRg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/generator": "^7.23.6", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.23.9", + "@babel/types": "^7.23.9", + "debug": "^4.3.1", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse/node_modules/@babel/generator": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", + "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.23.6", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.9.tgz", + "integrity": "sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q==", + "dev": true, + "dependencies": { + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@cds/city": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@cds/city/-/city-1.1.0.tgz", + "integrity": "sha512-S9K+Q39BGOghyLHmR0Wdcmu1i1noSUk8HcvMj+3IaohZw02WFd99aPTQDHJeseXrXZP3CNovaSlePI0R11NcFg==", + "optional": true + }, + "node_modules/@cds/core": { + "version": "6.9.2", + "resolved": "https://registry.npmjs.org/@cds/core/-/core-6.9.2.tgz", + "integrity": "sha512-Tx5L8/kLueBoSpu18w9eLonqFk1CVromp9bBXk6FLVVmYghE/lSt/WsYi6c0xyv7rJZpcHoGS/gh5p9Erelk3Q==", + "dependencies": { + "lit": "^2.1.3", + "ramda": "^0.29.0", + "tslib": "^2.3.1" + }, + "optionalDependencies": { + "@cds/city": "^1.1.0", + "modern-normalize": "1.1.0" + } + }, + "node_modules/@ckeditor/ckeditor5-adapter-ckfinder": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-adapter-ckfinder/-/ckeditor5-adapter-ckfinder-40.2.0.tgz", + "integrity": "sha512-YKdydg4DzaMk91saOL55KBNQE3St2NEj1E9hlk9CzHKQaHc79dYzHDNBolSE7ZmzkNJ4ToVbY7kRW5CDGfG5Rg==", + "dependencies": { + "ckeditor5": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-angular": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-angular/-/ckeditor5-angular-7.0.1.tgz", + "integrity": "sha512-bHBmBMa9PAXk1MMjeq+9nV/HVWdwv36kRjpOr4JUiYYxRFdtPBXWj+3Jb9TUymyWchhxMA440iYJVoYgVw3lOA==", + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/common": ">=13.0.0", + "@angular/core": ">=13.0.0", + "@angular/forms": ">=13.0.0", + "@ckeditor/ckeditor5-core": ">=37.0.0", + "@ckeditor/ckeditor5-engine": ">=37.0.0", + "@ckeditor/ckeditor5-utils": ">=37.0.0", + "@ckeditor/ckeditor5-watchdog": ">=37.0.0", + "rxjs": ">=6.0.0" + } + }, + "node_modules/@ckeditor/ckeditor5-autoformat": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-autoformat/-/ckeditor5-autoformat-40.2.0.tgz", + "integrity": "sha512-F3w5k7ti5l6V8U07eSQ3gup3ivltRZQXdtvstBXMmTzDb2ceazNcUDLb6TKSHp5y30ETN0dRGgbhx9xiDL0TXg==", + "dependencies": { + "ckeditor5": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-basic-styles": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-basic-styles/-/ckeditor5-basic-styles-40.2.0.tgz", + "integrity": "sha512-P7jYddLnRpaR4zVCqDa8InsZ6YNRHdF0RrX6+Uz81+A1IfyfmSd+5IaiLxxdnFWQ4JlEhJutjy9vMwSmOhZocQ==", + "dependencies": { + "ckeditor5": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-block-quote": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-block-quote/-/ckeditor5-block-quote-40.2.0.tgz", + "integrity": "sha512-t03Yp+MeAyQhwdGZqUlkJEx25VSiigpzkIGGOhccSaTIIZ9XcWDkrTevDhwA4Pq4Q9IRQ8Loj3KCVSBuAqkBgw==", + "dependencies": { + "ckeditor5": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-build-classic": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-classic/-/ckeditor5-build-classic-40.2.0.tgz", + "integrity": "sha512-b9zt1kU0S2Azco8mXraxj56pctHRs9y/XfdVrpFzxiRbbzyBZ42WgX1ThJNTqH6WkXCxDPYSbqPhNIvPHpuEyg==", + "dependencies": { + "@ckeditor/ckeditor5-adapter-ckfinder": "40.2.0", + "@ckeditor/ckeditor5-autoformat": "40.2.0", + "@ckeditor/ckeditor5-basic-styles": "40.2.0", + "@ckeditor/ckeditor5-block-quote": "40.2.0", + "@ckeditor/ckeditor5-ckbox": "40.2.0", + "@ckeditor/ckeditor5-ckfinder": "40.2.0", + "@ckeditor/ckeditor5-cloud-services": "40.2.0", + "@ckeditor/ckeditor5-easy-image": "40.2.0", + "@ckeditor/ckeditor5-editor-classic": "40.2.0", + "@ckeditor/ckeditor5-essentials": "40.2.0", + "@ckeditor/ckeditor5-heading": "40.2.0", + "@ckeditor/ckeditor5-image": "40.2.0", + "@ckeditor/ckeditor5-indent": "40.2.0", + "@ckeditor/ckeditor5-link": "40.2.0", + "@ckeditor/ckeditor5-list": "40.2.0", + "@ckeditor/ckeditor5-media-embed": "40.2.0", + "@ckeditor/ckeditor5-paragraph": "40.2.0", + "@ckeditor/ckeditor5-paste-from-office": "40.2.0", + "@ckeditor/ckeditor5-table": "40.2.0", + "@ckeditor/ckeditor5-typing": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-ckbox": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-ckbox/-/ckeditor5-ckbox-40.2.0.tgz", + "integrity": "sha512-w/A3RA7qpR7Scl4hgUTt8j+oV7oD9IFPNGTpp0xoyfWEV8Ymm2NrMAvV0PAJiavYS3+FT4GO4RBOM6BvLHuV3w==", + "dependencies": { + "blurhash": "2.0.5", + "ckeditor5": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-ckfinder": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-ckfinder/-/ckeditor5-ckfinder-40.2.0.tgz", + "integrity": "sha512-kiW5TZOLHYd6hhWeDIrep8FXLo0q14b0e0Jit0XSi3z4PQfdDSRk9UuMJPkkf4EdF3PUSdMJ9bccJG76DYXzFQ==", + "dependencies": { + "ckeditor5": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-clipboard": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-clipboard/-/ckeditor5-clipboard-40.2.0.tgz", + "integrity": "sha512-8/xPH9/i86ukcEiHdmTgNuPVJeYTrivbx5ZYqycPO4Eem7VM99gIbOe7pIYpuV+klr9ymVxIHbGyTJDJ3oUO8A==", + "dependencies": { + "@ckeditor/ckeditor5-core": "40.2.0", + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-ui": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "@ckeditor/ckeditor5-widget": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-clipboard/node_modules/@ckeditor/ckeditor5-core": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-40.2.0.tgz", + "integrity": "sha512-0fqIaN+ZhkXXA3mpBN+alycBzPMc8ruO8VrP0OnvCjowqZVS2HXC2AaXNBdxc75xGI3ScXIor7FsgFHxVJIYYQ==", + "dependencies": { + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-clipboard/node_modules/@ckeditor/ckeditor5-engine": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-40.2.0.tgz", + "integrity": "sha512-sgboUX8Ps+LcEgywyT3BeK1nzLHjNVIiZU1qvRxR3ixzIw4w2xRNXCGfESWLW5Y5rv9+ypUCrX61oLnZU64PQQ==", + "dependencies": { + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-clipboard/node_modules/@ckeditor/ckeditor5-utils": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-40.2.0.tgz", + "integrity": "sha512-f+kTJBwwk7Y/LXm8pEPxBTXVlJwQrH7Levzye9zxEDB0Jtj7+brGr87o666fPmL/ATQc5M+VPhbvnk2sOv7WKg==", + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-cloud-services": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-cloud-services/-/ckeditor5-cloud-services-40.2.0.tgz", + "integrity": "sha512-xrPQjFGGy1ZfXyKIMw0uzn7OIriSv13YMw0M2ZTh+V1jRN1HW9KzzNb2DlQc+6wQfRk0bq69XGLp3M296/cVTQ==", + "dependencies": { + "ckeditor5": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-core": { + "version": "41.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-41.1.0.tgz", + "integrity": "sha512-Z23stcZ5lx1jsQa+9jybyz1h/HvIYqpKo2OW9s27KD9oAvbNNYvsNqtCZMDecik/7ofr8wiWC/xnzCk7QRwmuA==", + "peer": true, + "dependencies": { + "@ckeditor/ckeditor5-engine": "41.1.0", + "@ckeditor/ckeditor5-utils": "41.1.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-easy-image": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-easy-image/-/ckeditor5-easy-image-40.2.0.tgz", + "integrity": "sha512-bE9YHGYEY1ql5mIqZSI2fkoBA4th28M0GDaJutwJYKM3t+Bost3Zh1UfmYKE2kvYgmeLY1L3hjQpN9w7NYyLpw==", + "dependencies": { + "ckeditor5": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-editor-classic": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-editor-classic/-/ckeditor5-editor-classic-40.2.0.tgz", + "integrity": "sha512-dftfDBxANOgqgQZ4SB3YTsEV/XX1u0g9jopbOBwqIABnVVa8zoGcktgFdGnLUFk51sL65baSx2z8Z1NNYdZcFQ==", + "dependencies": { + "ckeditor5": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-engine": { + "version": "41.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-41.1.0.tgz", + "integrity": "sha512-YYZKXESH6iml9BT3EIlYgKgkH/DqeW2Xe0IzhuC+T7OqemBYp5x/HMP7tQMjsRGImc4+4iyTZ+8pJTAlU5pJyQ==", + "peer": true, + "dependencies": { + "@ckeditor/ckeditor5-utils": "41.1.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-enter": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-enter/-/ckeditor5-enter-40.2.0.tgz", + "integrity": "sha512-GjTRaKNX8QEDJ3YYKG3GfPZfGHrcigGBxbo+1WDT7NaOsR2DA/CIZfHlAPfgJDAMV17bhWsT3gy3+oQZsExtnQ==", + "dependencies": { + "@ckeditor/ckeditor5-core": "40.2.0", + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-enter/node_modules/@ckeditor/ckeditor5-core": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-40.2.0.tgz", + "integrity": "sha512-0fqIaN+ZhkXXA3mpBN+alycBzPMc8ruO8VrP0OnvCjowqZVS2HXC2AaXNBdxc75xGI3ScXIor7FsgFHxVJIYYQ==", + "dependencies": { + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-enter/node_modules/@ckeditor/ckeditor5-engine": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-40.2.0.tgz", + "integrity": "sha512-sgboUX8Ps+LcEgywyT3BeK1nzLHjNVIiZU1qvRxR3ixzIw4w2xRNXCGfESWLW5Y5rv9+ypUCrX61oLnZU64PQQ==", + "dependencies": { + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-enter/node_modules/@ckeditor/ckeditor5-utils": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-40.2.0.tgz", + "integrity": "sha512-f+kTJBwwk7Y/LXm8pEPxBTXVlJwQrH7Levzye9zxEDB0Jtj7+brGr87o666fPmL/ATQc5M+VPhbvnk2sOv7WKg==", + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-essentials": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-essentials/-/ckeditor5-essentials-40.2.0.tgz", + "integrity": "sha512-7iUUy0Uwiei4yLrn145SOcyzriMeVFVc5ontQkxQE5b9alFdAc/6ZoDPZqwD7V0zi5RQ/2YsoVMRLFa4hbPfNA==", + "dependencies": { + "ckeditor5": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-heading": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-heading/-/ckeditor5-heading-40.2.0.tgz", + "integrity": "sha512-uDT1sttMy+KrKi90jnqEI43886o1wfKrROWqaMbmKOerTbIi58GNH9LvX04sf1RyHV3+3566RRmB248fsLkYjA==", + "dependencies": { + "ckeditor5": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-image": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-image/-/ckeditor5-image-40.2.0.tgz", + "integrity": "sha512-0Dunw1o5k2+5Q5XiWLDG1r8k9awosfIFuDZwqKJGWtDaNE4QQbJ9+iJSwiiRw2QjcGr7D3JdH7xwJZFra7kYmA==", + "dependencies": { + "@ckeditor/ckeditor5-ui": "40.2.0", + "ckeditor5": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-indent": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-indent/-/ckeditor5-indent-40.2.0.tgz", + "integrity": "sha512-gSlRGoyAslB2OpqghimIY6Oiflf3Z2/MdLBzvFipU5N4X66cL29HuWZc/bOkcFzWwNeDK5LgzfLdvXNzkdv5Xw==", + "dependencies": { + "ckeditor5": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-link": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-link/-/ckeditor5-link-40.2.0.tgz", + "integrity": "sha512-/r4Ti9USdrURBX+qutvyDGOb75sNuSgtXdI8xK503EVfx5yBIi6qsYIYWoFvnGJKkLYkVo+940ilduhwzq0M7g==", + "dependencies": { + "@ckeditor/ckeditor5-ui": "40.2.0", + "ckeditor5": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-list": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-list/-/ckeditor5-list-40.2.0.tgz", + "integrity": "sha512-lsQWSLSFRHRQ2AxA6vgTib9YELjF2J5jpR6H4RDW1gM//dL3FjvLxKPPN/V7rMcp15rrpSiOya+qB99l24DEpQ==", + "dependencies": { + "ckeditor5": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-media-embed": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-media-embed/-/ckeditor5-media-embed-40.2.0.tgz", + "integrity": "sha512-ORY7VebL7UTuBG/4++UxzqEKjnlZZKAFqUrIom7xXpQNfo6oJFtZLnKYwESZ6iNk7NBOAeiHEecP2tKWyFQd1g==", + "dependencies": { + "@ckeditor/ckeditor5-ui": "40.2.0", + "ckeditor5": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-paragraph": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-paragraph/-/ckeditor5-paragraph-40.2.0.tgz", + "integrity": "sha512-NotxWP1cKvbJSY1UwdTe/Oy1NnAj9Etsi4Z7XA908EvCsNSnFtzdMhYzLhFZJ18avrQFDa7PpSKSyN3M64CbSA==", + "dependencies": { + "@ckeditor/ckeditor5-core": "40.2.0", + "@ckeditor/ckeditor5-ui": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-paragraph/node_modules/@ckeditor/ckeditor5-core": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-40.2.0.tgz", + "integrity": "sha512-0fqIaN+ZhkXXA3mpBN+alycBzPMc8ruO8VrP0OnvCjowqZVS2HXC2AaXNBdxc75xGI3ScXIor7FsgFHxVJIYYQ==", + "dependencies": { + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-paragraph/node_modules/@ckeditor/ckeditor5-engine": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-40.2.0.tgz", + "integrity": "sha512-sgboUX8Ps+LcEgywyT3BeK1nzLHjNVIiZU1qvRxR3ixzIw4w2xRNXCGfESWLW5Y5rv9+ypUCrX61oLnZU64PQQ==", + "dependencies": { + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-paragraph/node_modules/@ckeditor/ckeditor5-utils": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-40.2.0.tgz", + "integrity": "sha512-f+kTJBwwk7Y/LXm8pEPxBTXVlJwQrH7Levzye9zxEDB0Jtj7+brGr87o666fPmL/ATQc5M+VPhbvnk2sOv7WKg==", + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-paste-from-office": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-paste-from-office/-/ckeditor5-paste-from-office-40.2.0.tgz", + "integrity": "sha512-kdk7uJlSa9mvyuNAwmIfV6Kc1tfWI6DbCs19jyseA/F0vySKibb0DsBVSZ7xa5ihcjphfJvwpypWYL0BYdYKLQ==", + "dependencies": { + "ckeditor5": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-select-all": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-select-all/-/ckeditor5-select-all-40.2.0.tgz", + "integrity": "sha512-yaYCqhdMcoEH3BsilhweNdbOfuO/cexQ1r1/mYoBoW4CypIuAeq8J/3qLpvFaThmCRPzJBn1J7v2Yjs/0UnamA==", + "dependencies": { + "@ckeditor/ckeditor5-core": "40.2.0", + "@ckeditor/ckeditor5-ui": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-select-all/node_modules/@ckeditor/ckeditor5-core": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-40.2.0.tgz", + "integrity": "sha512-0fqIaN+ZhkXXA3mpBN+alycBzPMc8ruO8VrP0OnvCjowqZVS2HXC2AaXNBdxc75xGI3ScXIor7FsgFHxVJIYYQ==", + "dependencies": { + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-select-all/node_modules/@ckeditor/ckeditor5-engine": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-40.2.0.tgz", + "integrity": "sha512-sgboUX8Ps+LcEgywyT3BeK1nzLHjNVIiZU1qvRxR3ixzIw4w2xRNXCGfESWLW5Y5rv9+ypUCrX61oLnZU64PQQ==", + "dependencies": { + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-select-all/node_modules/@ckeditor/ckeditor5-utils": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-40.2.0.tgz", + "integrity": "sha512-f+kTJBwwk7Y/LXm8pEPxBTXVlJwQrH7Levzye9zxEDB0Jtj7+brGr87o666fPmL/ATQc5M+VPhbvnk2sOv7WKg==", + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-table": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-table/-/ckeditor5-table-40.2.0.tgz", + "integrity": "sha512-yODne7az/aJ9lsuI7w476pgGV2QBoH2tOKp3JFh/e2DdHC20637LCVd0cx8sUe3zk61X/eYPY+wOiRJx/mIUqg==", + "dependencies": { + "ckeditor5": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-typing": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-typing/-/ckeditor5-typing-40.2.0.tgz", + "integrity": "sha512-2E7LkmC4RHdenMUwow0EZDKxlbX00c5UHysUVT51EBGrXiJcN++0cqxQaeJzQ262oTDpk94qE5IZdGXt3ntzrw==", + "dependencies": { + "@ckeditor/ckeditor5-core": "40.2.0", + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-typing/node_modules/@ckeditor/ckeditor5-core": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-40.2.0.tgz", + "integrity": "sha512-0fqIaN+ZhkXXA3mpBN+alycBzPMc8ruO8VrP0OnvCjowqZVS2HXC2AaXNBdxc75xGI3ScXIor7FsgFHxVJIYYQ==", + "dependencies": { + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-typing/node_modules/@ckeditor/ckeditor5-engine": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-40.2.0.tgz", + "integrity": "sha512-sgboUX8Ps+LcEgywyT3BeK1nzLHjNVIiZU1qvRxR3ixzIw4w2xRNXCGfESWLW5Y5rv9+ypUCrX61oLnZU64PQQ==", + "dependencies": { + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-typing/node_modules/@ckeditor/ckeditor5-utils": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-40.2.0.tgz", + "integrity": "sha512-f+kTJBwwk7Y/LXm8pEPxBTXVlJwQrH7Levzye9zxEDB0Jtj7+brGr87o666fPmL/ATQc5M+VPhbvnk2sOv7WKg==", + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-ui": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-ui/-/ckeditor5-ui-40.2.0.tgz", + "integrity": "sha512-K8oC9zrJokZD5Nl4uQjJMo8Couds0eHmfNI/go6iU4A4OAdDzph+W50QnyMed4etKnMdhvUSbnuZnPtQjnsvFA==", + "dependencies": { + "@ckeditor/ckeditor5-core": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "color-convert": "2.0.1", + "color-parse": "1.4.2", + "lodash-es": "4.17.21", + "vanilla-colorful": "0.7.2" + } + }, + "node_modules/@ckeditor/ckeditor5-ui/node_modules/@ckeditor/ckeditor5-core": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-40.2.0.tgz", + "integrity": "sha512-0fqIaN+ZhkXXA3mpBN+alycBzPMc8ruO8VrP0OnvCjowqZVS2HXC2AaXNBdxc75xGI3ScXIor7FsgFHxVJIYYQ==", + "dependencies": { + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-ui/node_modules/@ckeditor/ckeditor5-engine": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-40.2.0.tgz", + "integrity": "sha512-sgboUX8Ps+LcEgywyT3BeK1nzLHjNVIiZU1qvRxR3ixzIw4w2xRNXCGfESWLW5Y5rv9+ypUCrX61oLnZU64PQQ==", + "dependencies": { + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-ui/node_modules/@ckeditor/ckeditor5-utils": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-40.2.0.tgz", + "integrity": "sha512-f+kTJBwwk7Y/LXm8pEPxBTXVlJwQrH7Levzye9zxEDB0Jtj7+brGr87o666fPmL/ATQc5M+VPhbvnk2sOv7WKg==", + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-undo": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-undo/-/ckeditor5-undo-40.2.0.tgz", + "integrity": "sha512-k2VZS5x4SJtYk3zhdwHYg+D00DgD0iWR0H4qQgcWmQMFRipYvXJRixP3hSLZGJciQanPFeYcjZgxNQ+rU1s8ug==", + "dependencies": { + "@ckeditor/ckeditor5-core": "40.2.0", + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-ui": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-undo/node_modules/@ckeditor/ckeditor5-core": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-40.2.0.tgz", + "integrity": "sha512-0fqIaN+ZhkXXA3mpBN+alycBzPMc8ruO8VrP0OnvCjowqZVS2HXC2AaXNBdxc75xGI3ScXIor7FsgFHxVJIYYQ==", + "dependencies": { + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-undo/node_modules/@ckeditor/ckeditor5-engine": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-40.2.0.tgz", + "integrity": "sha512-sgboUX8Ps+LcEgywyT3BeK1nzLHjNVIiZU1qvRxR3ixzIw4w2xRNXCGfESWLW5Y5rv9+ypUCrX61oLnZU64PQQ==", + "dependencies": { + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-undo/node_modules/@ckeditor/ckeditor5-utils": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-40.2.0.tgz", + "integrity": "sha512-f+kTJBwwk7Y/LXm8pEPxBTXVlJwQrH7Levzye9zxEDB0Jtj7+brGr87o666fPmL/ATQc5M+VPhbvnk2sOv7WKg==", + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-upload": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-upload/-/ckeditor5-upload-40.2.0.tgz", + "integrity": "sha512-AdJSKvWEQbSSyA/DfxbCHRhFN6S4ew4kuYETO57e6AS3aOuYGLBRdu9Mub7IAQcOyy1LL6ktr9u5WEOoWS2h0w==", + "dependencies": { + "@ckeditor/ckeditor5-core": "40.2.0", + "@ckeditor/ckeditor5-ui": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0" + } + }, + "node_modules/@ckeditor/ckeditor5-upload/node_modules/@ckeditor/ckeditor5-core": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-40.2.0.tgz", + "integrity": "sha512-0fqIaN+ZhkXXA3mpBN+alycBzPMc8ruO8VrP0OnvCjowqZVS2HXC2AaXNBdxc75xGI3ScXIor7FsgFHxVJIYYQ==", + "dependencies": { + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-upload/node_modules/@ckeditor/ckeditor5-engine": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-40.2.0.tgz", + "integrity": "sha512-sgboUX8Ps+LcEgywyT3BeK1nzLHjNVIiZU1qvRxR3ixzIw4w2xRNXCGfESWLW5Y5rv9+ypUCrX61oLnZU64PQQ==", + "dependencies": { + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-upload/node_modules/@ckeditor/ckeditor5-utils": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-40.2.0.tgz", + "integrity": "sha512-f+kTJBwwk7Y/LXm8pEPxBTXVlJwQrH7Levzye9zxEDB0Jtj7+brGr87o666fPmL/ATQc5M+VPhbvnk2sOv7WKg==", + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-utils": { + "version": "41.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-41.1.0.tgz", + "integrity": "sha512-2WtcUHbZ7wJoDVKb1AHeB4OSdf0ZLg1PMemr46yjCHDCf7NunGp/n+suZWloIKPuyG9OPkp9lhIBI4MHeDNHYw==", + "peer": true, + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-watchdog": { + "version": "41.1.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-watchdog/-/ckeditor5-watchdog-41.1.0.tgz", + "integrity": "sha512-zAKmuUpYW+X80rNFHIZ0cWXZWeXUd86xO+PVfKEmtSt4By4dKA3wDNT0Ub631x+oZQepp2eoG54R7CpLd2WFiw==", + "peer": true, + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-widget": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-widget/-/ckeditor5-widget-40.2.0.tgz", + "integrity": "sha512-okeUSwbnu6TUKvwBOl0YdED6Me0/vvs1ybfKZPNEJNwGl989iG0LQO4oYUye8BTCZvzCZ2cBTb1Cvnwr8KRcbg==", + "dependencies": { + "@ckeditor/ckeditor5-core": "40.2.0", + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-enter": "40.2.0", + "@ckeditor/ckeditor5-typing": "40.2.0", + "@ckeditor/ckeditor5-ui": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-widget/node_modules/@ckeditor/ckeditor5-core": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-40.2.0.tgz", + "integrity": "sha512-0fqIaN+ZhkXXA3mpBN+alycBzPMc8ruO8VrP0OnvCjowqZVS2HXC2AaXNBdxc75xGI3ScXIor7FsgFHxVJIYYQ==", + "dependencies": { + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-widget/node_modules/@ckeditor/ckeditor5-engine": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-40.2.0.tgz", + "integrity": "sha512-sgboUX8Ps+LcEgywyT3BeK1nzLHjNVIiZU1qvRxR3ixzIw4w2xRNXCGfESWLW5Y5rv9+ypUCrX61oLnZU64PQQ==", + "dependencies": { + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/@ckeditor/ckeditor5-widget/node_modules/@ckeditor/ckeditor5-utils": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-40.2.0.tgz", + "integrity": "sha512-f+kTJBwwk7Y/LXm8pEPxBTXVlJwQrH7Levzye9zxEDB0Jtj7+brGr87o666fPmL/ATQc5M+VPhbvnk2sOv7WKg==", + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/@clr/angular": { + "version": "15.14.5", + "resolved": "https://registry.npmjs.org/@clr/angular/-/angular-15.14.5.tgz", + "integrity": "sha512-fMnkCrr3gyhVFWZiOdT8wdL+Hj/1A3YeQuz/g51DbDQdt8j2piFA5ivt5mHLuqMZWcpPX7zgDIVS7pu12FwjzQ==", + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/cdk": "15 || 16", + "@angular/common": "15 || 16", + "@angular/core": "15 || 16", + "@cds/core": "^5.6.0 || ^6.0.0", + "@clr/ui": "15.14.5" + } + }, + "node_modules/@clr/city": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@clr/city/-/city-1.1.0.tgz", + "integrity": "sha512-R+C4uywmXoTD01LINOt3O0cBRviQdbAVNxdVvOyuO3+rM9bvFroF7UZY0R1ue/xvKXlqJrEkNKZQODeKjzaAhA==", + "optional": true + }, + "node_modules/@clr/core": { + "version": "4.0.15", + "resolved": "https://registry.npmjs.org/@clr/core/-/core-4.0.15.tgz", + "integrity": "sha512-KnUxZGCMcfRu7GdSihHRQPbElYcGwfTey5HkZnIw3KM+o02Ru1cH0jJn7St5+dF9V3RVYryTEdZ66gHQrstFzw==", + "dependencies": { + "@types/resize-observer-browser": "^0.1.3", + "lit-element": "^2.3.1", + "lit-html": "^1.2.1", + "ramda": "^0.27.0", + "tslib": "^2.0.0" + }, + "optionalDependencies": { + "@clr/city": "^1.1.0", + "@webcomponents/custom-elements": "^1.4.2", + "@webcomponents/shadycss": "^1.10.1", + "@webcomponents/webcomponentsjs": "^2.4.4", + "css-vars-ponyfill": "^2.3.2", + "normalize.css": "^8.0.1" + } + }, + "node_modules/@clr/core/node_modules/lit-html": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-1.4.1.tgz", + "integrity": "sha512-B9btcSgPYb1q4oSOb/PrOT6Z/H+r6xuNzfH4lFli/AWhYwdtrgQkQWBbIc6mdnf6E2IL3gDXdkkqNktpU0OZQA==" + }, + "node_modules/@clr/core/node_modules/ramda": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.27.2.tgz", + "integrity": "sha512-SbiLPU40JuJniHexQSAgad32hfwd+DRUdwF2PlVuI5RZD0/vahUco7R8vD86J/tcEKKF9vZrUVwgtmGCqlCKyA==" + }, + "node_modules/@clr/icons": { + "version": "13.0.2", + "resolved": "https://registry.npmjs.org/@clr/icons/-/icons-13.0.2.tgz", + "integrity": "sha512-bdcSuFvQAbIIp8Q2Fm55BjHW5cawP4xEOkZf2IEIin0d9ViRcAJNjACBCOMDhx2up7nPZsXwN2gL8zJhL7TSZQ==", + "peerDependencies": { + "@webcomponents/custom-elements": "^1.0.0" + } + }, + "node_modules/@clr/ui": { + "version": "15.14.5", + "resolved": "https://registry.npmjs.org/@clr/ui/-/ui-15.14.5.tgz", + "integrity": "sha512-Of2qpedwLE3dZh2virgk3w/kWMli+ugfXHfBVIg+HSmIlJCcmunPEGvh+u+GpgqtcETOIgitkZ54RmvuOrGL9Q==" + }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "dev": true, + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@ctrl/ngx-codemirror": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@ctrl/ngx-codemirror/-/ngx-codemirror-7.0.0.tgz", + "integrity": "sha512-qvIWtSTw/8fdXDnofBTX6LmTW9646HhawG2+Qyagf1vH40jCy0ZbHnkC20UYOVpUX+QCd1e/PQpkvWQ/1iGFzQ==", + "dependencies": { + "@types/codemirror": "^5.60.7", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/core": ">=16.0.0-0", + "@angular/forms": ">=16.0.0-0", + "codemirror": "^5.65.9" + } + }, + "node_modules/@discoveryjs/json-ext": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", + "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", + "dev": true, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.17.tgz", + "integrity": "sha512-wHsmJG/dnL3OkpAcwbgoBTTMHVi4Uyou3F5mf58ZtmUyIKfcdA7TROav/6tCzET4A3QW2Q2FC+eFneMU+iyOxg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.17.tgz", + "integrity": "sha512-9np+YYdNDed5+Jgr1TdWBsozZ85U1Oa3xW0c7TWqH0y2aGghXtZsuT8nYRbzOMcl0bXZXjOGbksoTtVOlWrRZg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.17.tgz", + "integrity": "sha512-O+FeWB/+xya0aLg23hHEM2E3hbfwZzjqumKMSIqcHbNvDa+dza2D0yLuymRBQQnC34CWrsJUXyH2MG5VnLd6uw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.17.tgz", + "integrity": "sha512-M9uJ9VSB1oli2BE/dJs3zVr9kcCBBsE883prage1NWz6pBS++1oNn/7soPNS3+1DGj0FrkSvnED4Bmlu1VAE9g==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.17.tgz", + "integrity": "sha512-XDre+J5YeIJDMfp3n0279DFNrGCXlxOuGsWIkRb1NThMZ0BsrWXoTg23Jer7fEXQ9Ye5QjrvXpxnhzl3bHtk0g==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.17.tgz", + "integrity": "sha512-cjTzGa3QlNfERa0+ptykyxs5A6FEUQQF0MuilYXYBGdBxD3vxJcKnzDlhDCa1VAJCmAxed6mYhA2KaJIbtiNuQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.17.tgz", + "integrity": "sha512-sOxEvR8d7V7Kw8QqzxWc7bFfnWnGdaFBut1dRUYtu+EIRXefBc/eIsiUiShnW0hM3FmQ5Zf27suDuHsKgZ5QrA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.17.tgz", + "integrity": "sha512-2d3Lw6wkwgSLC2fIvXKoMNGVaeY8qdN0IC3rfuVxJp89CRfA3e3VqWifGDfuakPmp90+ZirmTfye1n4ncjv2lg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.17.tgz", + "integrity": "sha512-c9w3tE7qA3CYWjT+M3BMbwMt+0JYOp3vCMKgVBrCl1nwjAlOMYzEo+gG7QaZ9AtqZFj5MbUc885wuBBmu6aADQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.17.tgz", + "integrity": "sha512-1DS9F966pn5pPnqXYz16dQqWIB0dmDfAQZd6jSSpiT9eX1NzKh07J6VKR3AoXXXEk6CqZMojiVDSZi1SlmKVdg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.17.tgz", + "integrity": "sha512-EvLsxCk6ZF0fpCB6w6eOI2Fc8KW5N6sHlIovNe8uOFObL2O+Mr0bflPHyHwLT6rwMg9r77WOAWb2FqCQrVnwFg==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.17.tgz", + "integrity": "sha512-e0bIdHA5p6l+lwqTE36NAW5hHtw2tNRmHlGBygZC14QObsA3bD4C6sXLJjvnDIjSKhW1/0S3eDy+QmX/uZWEYQ==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.17.tgz", + "integrity": "sha512-BAAilJ0M5O2uMxHYGjFKn4nJKF6fNCdP1E0o5t5fvMYYzeIqy2JdAP88Az5LHt9qBoUa4tDaRpfWt21ep5/WqQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.17.tgz", + "integrity": "sha512-Wh/HW2MPnC3b8BqRSIme/9Zhab36PPH+3zam5pqGRH4pE+4xTrVLx2+XdGp6fVS3L2x+DrsIcsbMleex8fbE6g==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.17.tgz", + "integrity": "sha512-j/34jAl3ul3PNcK3pfI0NSlBANduT2UO5kZ7FCaK33XFv3chDhICLY8wJJWIhiQ+YNdQ9dxqQctRg2bvrMlYgg==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.17.tgz", + "integrity": "sha512-QM50vJ/y+8I60qEmFxMoxIx4de03pGo2HwxdBeFd4nMh364X6TIBZ6VQ5UQmPbQWUVWHWws5MmJXlHAXvJEmpQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.17.tgz", + "integrity": "sha512-/jGlhWR7Sj9JPZHzXyyMZ1RFMkNPjC6QIAan0sDOtIo2TYk3tZn5UDrkE0XgsTQCxWTTOcMPf9p6Rh2hXtl5TQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.17.tgz", + "integrity": "sha512-rSEeYaGgyGGf4qZM2NonMhMOP/5EHp4u9ehFiBrg7stH6BYEEjlkVREuDEcQ0LfIl53OXLxNbfuIj7mr5m29TA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.17.tgz", + "integrity": "sha512-Y7ZBbkLqlSgn4+zot4KUNYst0bFoO68tRgI6mY2FIM+b7ZbyNVtNbDP5y8qlu4/knZZ73fgJDlXID+ohY5zt5g==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.17.tgz", + "integrity": "sha512-bwPmTJsEQcbZk26oYpc4c/8PvTY3J5/QK8jM19DVlEsAB41M39aWovWoHtNm78sd6ip6prilxeHosPADXtEJFw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.17.tgz", + "integrity": "sha512-H/XaPtPKli2MhW+3CQueo6Ni3Avggi6hP/YvgkEe1aSaxw+AeO8MFjq8DlgfTd9Iz4Yih3QCZI6YLMoyccnPRg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.17.tgz", + "integrity": "sha512-fGEb8f2BSA3CW7riJVurug65ACLuQAzKq0SSqkY2b2yHHH0MzDfbLyKIGzHwOI/gkHcxM/leuSW6D5w/LMNitA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@gar/promisify": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", + "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", + "dev": true + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "dev": true, + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", + "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "dev": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.22", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.22.tgz", + "integrity": "sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@kurkle/color": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.2.tgz", + "integrity": "sha512-fuscdXJ9G1qb7W8VdHi+IwRqij3lBkosAm4ydQtEmbY58OzHXqQhvlxqEkoz0yssNVn38bcpRWgA9PP+OGoisw==" + }, + "node_modules/@leichtgewicht/ip-codec": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz", + "integrity": "sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==", + "dev": true + }, + "node_modules/@lit-labs/ssr-dom-shim": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.0.tgz", + "integrity": "sha512-yWJKmpGE6lUURKAaIltoPIE/wrbY3TEkqQt+X0m+7fQNnAv0keydnYvbiJFP1PnMhizmIWRWOG5KLhYyc/xl+g==" + }, + "node_modules/@lit/reactive-element": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-1.6.3.tgz", + "integrity": "sha512-QuTgnG52Poic7uM1AN5yJ09QMe0O28e10XzSvWDz02TJiiKee4stsiownEIadWm8nYzyDAyT+gKzUoZmiWQtsQ==", + "dependencies": { + "@lit-labs/ssr-dom-shim": "^1.0.0" + } + }, + "node_modules/@ngtools/webpack": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-16.2.12.tgz", + "integrity": "sha512-f9R9Qsk8v+ffDxryl6PQ7Wnf2JCNd4dDXOH+d/AuF06VFiwcwGDRDZpmqkAXbFxQfcWTbT1FFvfoJ+SFcJgXLA==", + "dev": true, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "@angular/compiler-cli": "^16.0.0", + "typescript": ">=4.9.3 <5.2", + "webpack": "^5.54.0" + } + }, + "node_modules/@ngx-translate/core": { + "version": "16.0.3", + "resolved": "https://registry.npmjs.org/@ngx-translate/core/-/core-16.0.3.tgz", + "integrity": "sha512-UPse66z9tRUmIpeorYodXBQY6O4foUmj9jy9cCuuja7lqdOwRBWPzCWqc+qYIXv5L2QoqZdxgHtqoUz+Q9weSA==", + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/common": ">=16", + "@angular/core": ">=16" + } + }, + "node_modules/@ngx-translate/http-loader": { + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/@ngx-translate/http-loader/-/http-loader-16.0.0.tgz", + "integrity": "sha512-l3okOHGVxZ1Bm55OpakSfXvI2yYmVmhYqgwGU4aIQIRUqpkBCrSDZnmrHTcZfsGJzXKB5E2D2rko9i28gBijmA==", + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/common": ">=16", + "@angular/core": ">=16" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@npmcli/fs": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.0.tgz", + "integrity": "sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==", + "dev": true, + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/git": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-4.1.0.tgz", + "integrity": "sha512-9hwoB3gStVfa0N31ymBmrX+GuDGdVA/QWShZVqE0HK2Af+7QGGrCTbZia/SW0ImUTjTne7SP91qxDmtXvDHRPQ==", + "dev": true, + "dependencies": { + "@npmcli/promise-spawn": "^6.0.0", + "lru-cache": "^7.4.4", + "npm-pick-manifest": "^8.0.0", + "proc-log": "^3.0.0", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/git/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/@npmcli/git/node_modules/which": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/installed-package-contents": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz", + "integrity": "sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ==", + "dev": true, + "dependencies": { + "npm-bundled": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "bin": { + "installed-package-contents": "lib/index.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/move-file": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-2.0.1.tgz", + "integrity": "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==", + "deprecated": "This functionality has been moved to @npmcli/fs", + "dev": true, + "dependencies": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/@npmcli/move-file/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@npmcli/node-gyp": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz", + "integrity": "sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/promise-spawn": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-6.0.2.tgz", + "integrity": "sha512-gGq0NJkIGSwdbUt4yhdF8ZrmkGKVz9vAdVzpOfnom+V8PLSmSOVhZwbNvZZS1EYcJN5hzzKBxmmVVAInM6HQLg==", + "dev": true, + "dependencies": { + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/promise-spawn/node_modules/which": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/run-script": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-6.0.2.tgz", + "integrity": "sha512-NCcr1uQo1k5U+SYlnIrbAh3cxy+OQT1VtqiAbxdymSlptbzBb62AjH2xXgjNCoP073hoa1CfCAcwoZ8k96C4nA==", + "dev": true, + "dependencies": { + "@npmcli/node-gyp": "^3.0.0", + "@npmcli/promise-spawn": "^6.0.0", + "node-gyp": "^9.0.0", + "read-package-json-fast": "^3.0.0", + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/run-script/node_modules/which": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@schematics/angular": { + "version": "16.2.12", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-16.2.12.tgz", + "integrity": "sha512-rc6Dxo7yLnNhECxZyvwv3qL40GvMHw/gMeme8DUGN7zgcUdBJ7LOCURp7EZqOBghMVeeJvLrohitEbs9NhRLBA==", + "dev": true, + "dependencies": { + "@angular-devkit/core": "16.2.12", + "@angular-devkit/schematics": "16.2.12", + "jsonc-parser": "3.2.0" + }, + "engines": { + "node": "^16.14.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "node_modules/@sigstore/bundle": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-1.1.0.tgz", + "integrity": "sha512-PFutXEy0SmQxYI4texPw3dd2KewuNqv7OuK1ZFtY2fM754yhvG2KdgwIhRnoEE2uHdtdGNQ8s0lb94dW9sELog==", + "dev": true, + "dependencies": { + "@sigstore/protobuf-specs": "^0.2.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/protobuf-specs": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.2.1.tgz", + "integrity": "sha512-XTWVxnWJu+c1oCshMLwnKvz8ZQJJDVOlciMfgpJBQbThVjKTCG8dwyhgLngBD2KN0ap9F/gOV8rFDEx8uh7R2A==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-1.0.0.tgz", + "integrity": "sha512-INxFVNQteLtcfGmcoldzV6Je0sbbfh9I16DM4yJPw3j5+TFP8X6uIiA18mvpEa9yyeycAKgPmOA3X9hVdVTPUA==", + "dev": true, + "dependencies": { + "@sigstore/bundle": "^1.1.0", + "@sigstore/protobuf-specs": "^0.2.0", + "make-fetch-happen": "^11.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign/node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@sigstore/sign/node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@sigstore/sign/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/@sigstore/sign/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign/node_modules/minipass-fetch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "dev": true, + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/@sigstore/sign/node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@sigstore/tuf": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-1.0.3.tgz", + "integrity": "sha512-2bRovzs0nJZFlCN3rXirE4gwxCn97JNjMmwpecqlbgV9WcxX7WRuIrgzx/X7Ib7MYRbyUTpBYE0s2x6AmZXnlg==", + "dev": true, + "dependencies": { + "@sigstore/protobuf-specs": "^0.2.0", + "tuf-js": "^1.1.7" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz", + "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==", + "dev": true + }, + "node_modules/@swimlane/ngx-charts": { + "version": "20.5.0", + "resolved": "https://registry.npmjs.org/@swimlane/ngx-charts/-/ngx-charts-20.5.0.tgz", + "integrity": "sha512-PNBIHdu/R3ceD7jnw1uCBVOj4k3T6IxfdW6xsDsglGkZyoWMEEq4tLoEurjLEKzmDtRv9c35kVNOXy0lkOuXeA==", + "dependencies": { + "d3-array": "^3.1.1", + "d3-brush": "^3.0.0", + "d3-color": "^3.1.0", + "d3-ease": "^3.0.1", + "d3-format": "^3.1.0", + "d3-hierarchy": "^3.1.0", + "d3-interpolate": "^3.0.1", + "d3-sankey": "^0.12.3", + "d3-scale": "^4.0.2", + "d3-selection": "^3.0.0", + "d3-shape": "^3.2.0", + "d3-time-format": "^3.0.0", + "d3-transition": "^3.0.1", + "rfdc": "^1.3.0", + "tslib": "^2.0.0" + }, + "peerDependencies": { + "@angular/animations": ">=12.0.0", + "@angular/cdk": ">=12.0.0", + "@angular/common": ">=12.0.0", + "@angular/core": ">=12.0.0", + "@angular/forms": ">=12.0.0", + "@angular/platform-browser": ">=12.0.0", + "@angular/platform-browser-dynamic": ">=12.0.0", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@tootallnate/once": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", + "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@tsconfig/node10": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", + "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", + "dev": true + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true + }, + "node_modules/@tufjs/canonical-json": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-1.0.0.tgz", + "integrity": "sha512-QTnf++uxunWvG2z3UFNzAoQPHxnSXOwtaI3iJ+AohhV+5vONuArPjJE7aPXPVXfXJsqrVbZBu9b81AJoSd09IQ==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@tufjs/models": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-1.0.4.tgz", + "integrity": "sha512-qaGV9ltJP0EO25YfFUPhxRVK0evXFIAGicsVXuRim4Ed9cjPxYhNnNJ49SFmbeLgtxpslIkX317IgpfcHPVj/A==", + "dev": true, + "dependencies": { + "@tufjs/canonical-json": "1.0.0", + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@tufjs/models/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@tufjs/models/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@types/body-parser": { + "version": "1.19.5", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", + "integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==", + "dev": true, + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "node_modules/@types/bonjour": { + "version": "3.5.13", + "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.13.tgz", + "integrity": "sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/ckeditor": { + "version": "4.9.10", + "resolved": "https://registry.npmjs.org/@types/ckeditor/-/ckeditor-4.9.10.tgz", + "integrity": "sha512-dcOPCXM0Cr5Z0i6eF/aW5LvECrS+cdl2Gi7lU+rEUNWby0w9Yl6mBubjrs29OVAducpuZjB4mfDayE+o4/gGdQ==", + "peer": true + }, + "node_modules/@types/codemirror": { + "version": "5.60.15", + "resolved": "https://registry.npmjs.org/@types/codemirror/-/codemirror-5.60.15.tgz", + "integrity": "sha512-dTOvwEQ+ouKJ/rE9LT1Ue2hmP6H1mZv5+CCnNWu2qtiOe2LQa9lCprEY20HxiDmV/Bxh+dXjywmy5aKvoGjULA==", + "dependencies": { + "@types/tern": "*" + } + }, + "node_modules/@types/connect": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/connect-history-api-fallback": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.4.tgz", + "integrity": "sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==", + "dev": true, + "dependencies": { + "@types/express-serve-static-core": "*", + "@types/node": "*" + } + }, + "node_modules/@types/cookie": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q==", + "dev": true + }, + "node_modules/@types/cors": { + "version": "2.8.17", + "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.17.tgz", + "integrity": "sha512-8CGDvrBj1zgo2qE+oS3pOCyYNqCPryMWY2bGfwA0dcfopWGgxs+78df0Rs3rc9THP4JkOhLsAa+15VdpAqkcUA==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/eslint": { + "version": "8.56.2", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.2.tgz", + "integrity": "sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw==", + "dev": true, + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "node_modules/@types/eslint-scope": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", + "dev": true, + "dependencies": { + "@types/eslint": "*", + "@types/estree": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==" + }, + "node_modules/@types/express": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "dev": true, + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "4.17.43", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.43.tgz", + "integrity": "sha512-oaYtiBirUOPQGSWNGPWnzyAFJ0BP3cwvN4oWZQY+zUBwpVIGsKUkpBpSztp74drYcjavs7SKFZ4DX1V2QeN8rg==", + "dev": true, + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, + "node_modules/@types/http-errors": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz", + "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==", + "dev": true + }, + "node_modules/@types/http-proxy": { + "version": "1.17.14", + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.14.tgz", + "integrity": "sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/jasmine": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-4.3.6.tgz", + "integrity": "sha512-3N0FpQTeiWjm+Oo1WUYWguUS7E6JLceiGTriFrG8k5PU7zRLJCzLcWURU3wjMbZGS//a2/LgjsnO3QxIlwxt9g==", + "dev": true + }, + "node_modules/@types/jasminewd2": { + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/@types/jasminewd2/-/jasminewd2-2.0.13.tgz", + "integrity": "sha512-aJ3wj8tXMpBrzQ5ghIaqMisD8C3FIrcO6sDKHqFbuqAsI7yOxj0fA7MrRCPLZHIVUjERIwsMmGn/vB0UQ9u0Hg==", + "dev": true, + "dependencies": { + "@types/jasmine": "*" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true + }, + "node_modules/@types/mime": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", + "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", + "dev": true + }, + "node_modules/@types/node": { + "version": "20.11.19", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.19.tgz", + "integrity": "sha512-7xMnVEcZFu0DikYjWOlRq7NTPETrm7teqUT2WkQjrTIkEgUyyGdWsj/Zg8bEJt5TNklzbPD1X3fqfsHw3SpapQ==", + "dev": true, + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/@types/node-forge": { + "version": "1.3.11", + "resolved": "https://registry.npmjs.org/@types/node-forge/-/node-forge-1.3.11.tgz", + "integrity": "sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/qs": { + "version": "6.9.11", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.11.tgz", + "integrity": "sha512-oGk0gmhnEJK4Yyk+oI7EfXsLayXatCWPHary1MtcmbAifkobT9cM9yutG/hZKIseOU0MqbIwQ/u2nn/Gb+ltuQ==", + "dev": true + }, + "node_modules/@types/raf": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/@types/raf/-/raf-3.4.3.tgz", + "integrity": "sha512-c4YAvMedbPZ5tEyxzQdMoOhhJ4RD3rngZIdwC2/qDN3d7JpEhB6fiBRKVY1lg5B7Wk+uPBjn5f39j1/2MY1oOw==", + "optional": true + }, + "node_modules/@types/range-parser": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", + "dev": true + }, + "node_modules/@types/resize-observer-browser": { + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/@types/resize-observer-browser/-/resize-observer-browser-0.1.11.tgz", + "integrity": "sha512-cNw5iH8JkMkb3QkCoe7DaZiawbDQEUX8t7iuQaRTyLOyQCR2h+ibBD4GJt7p5yhUHrlOeL7ZtbxNHeipqNsBzQ==" + }, + "node_modules/@types/retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", + "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==", + "dev": true + }, + "node_modules/@types/send": { + "version": "0.17.4", + "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz", + "integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==", + "dev": true, + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "node_modules/@types/serve-index": { + "version": "1.9.4", + "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.4.tgz", + "integrity": "sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug==", + "dev": true, + "dependencies": { + "@types/express": "*" + } + }, + "node_modules/@types/serve-static": { + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.5.tgz", + "integrity": "sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ==", + "dev": true, + "dependencies": { + "@types/http-errors": "*", + "@types/mime": "*", + "@types/node": "*" + } + }, + "node_modules/@types/sockjs": { + "version": "0.3.36", + "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.36.tgz", + "integrity": "sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/tern": { + "version": "0.23.9", + "resolved": "https://registry.npmjs.org/@types/tern/-/tern-0.23.9.tgz", + "integrity": "sha512-ypzHFE/wBzh+BlH6rrBgS5I/Z7RD21pGhZ2rltb/+ZrVM1awdZwjx7hE5XfuYgHWk9uvV5HLZN3SloevCAp3Bw==", + "dependencies": { + "@types/estree": "*" + } + }, + "node_modules/@types/trusted-types": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==" + }, + "node_modules/@types/ws": { + "version": "8.5.10", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.10.tgz", + "integrity": "sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@vitejs/plugin-basic-ssl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.0.1.tgz", + "integrity": "sha512-pcub+YbFtFhaGRTo1832FQHQSHvMrlb43974e2eS8EKleR3p1cDdkJFPci1UhwkEf1J9Bz+wKBSzqpKp7nNj2A==", + "dev": true, + "engines": { + "node": ">=14.6.0" + }, + "peerDependencies": { + "vite": "^3.0.0 || ^4.0.0" + } + }, + "node_modules/@webassemblyjs/ast": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz", + "integrity": "sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==", + "dev": true, + "dependencies": { + "@webassemblyjs/helper-numbers": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6" + } + }, + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz", + "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz", + "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz", + "integrity": "sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz", + "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==", + "dev": true, + "dependencies": { + "@webassemblyjs/floating-point-hex-parser": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz", + "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz", + "integrity": "sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6" + } + }, + "node_modules/@webassemblyjs/ieee754": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz", + "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==", + "dev": true, + "dependencies": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "node_modules/@webassemblyjs/leb128": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz", + "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==", + "dev": true, + "dependencies": { + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/utf8": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz", + "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==", + "dev": true + }, + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz", + "integrity": "sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/helper-wasm-section": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-opt": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6", + "@webassemblyjs/wast-printer": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz", + "integrity": "sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz", + "integrity": "sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz", + "integrity": "sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz", + "integrity": "sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==", + "dev": true, + "dependencies": { + "@webassemblyjs/ast": "1.11.6", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webcomponents/custom-elements": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@webcomponents/custom-elements/-/custom-elements-1.6.0.tgz", + "integrity": "sha512-CqTpxOlUCPWRNUPZDxT5v2NnHXA4oox612iUGnmTUGQFhZ1Gkj8kirtl/2wcF6MqX7+PqqicZzOCBKKfIn0dww==" + }, + "node_modules/@webcomponents/shadycss": { + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/@webcomponents/shadycss/-/shadycss-1.11.2.tgz", + "integrity": "sha512-vRq+GniJAYSBmTRnhCYPAPq6THYqovJ/gzGThWbgEZUQaBccndGTi1hdiUP15HzEco0I6t4RCtXyX0rsSmwgPw==", + "optional": true + }, + "node_modules/@webcomponents/webcomponentsjs": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/@webcomponents/webcomponentsjs/-/webcomponentsjs-2.8.0.tgz", + "integrity": "sha512-loGD63sacRzOzSJgQnB9ZAhaQGkN7wl2Zuw7tsphI5Isa0irijrRo6EnJii/GgjGefIFO8AIO7UivzRhFaEk9w==" + }, + "node_modules/@wessberg/ts-evaluator": { + "version": "0.0.27", + "resolved": "https://registry.npmjs.org/@wessberg/ts-evaluator/-/ts-evaluator-0.0.27.tgz", + "integrity": "sha512-7gOpVm3yYojUp/Yn7F4ZybJRxyqfMNf0LXK5KJiawbPfL0XTsJV+0mgrEDjOIR6Bi0OYk2Cyg4tjFu1r8MCZaA==", + "deprecated": "this package has been renamed to ts-evaluator. Please install ts-evaluator instead", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "jsdom": "^16.4.0", + "object-path": "^0.11.5", + "tslib": "^2.0.3" + }, + "engines": { + "node": ">=10.1.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/wessberg/ts-evaluator?sponsor=1" + }, + "peerDependencies": { + "typescript": ">=3.2.x || >= 4.x" + } + }, + "node_modules/@wessberg/ts-evaluator/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@wessberg/ts-evaluator/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@wessberg/ts-evaluator/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@wessberg/ts-evaluator/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true + }, + "node_modules/@yarnpkg/lockfile": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", + "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", + "dev": true + }, + "node_modules/abab": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", + "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", + "deprecated": "Use your platform's native atob() and btoa() methods instead", + "dev": true + }, + "node_modules/abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acorn": { + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-globals": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", + "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", + "dev": true, + "dependencies": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" + } + }, + "node_modules/acorn-globals/node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-import-assertions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", + "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", + "dev": true, + "peerDependencies": { + "acorn": "^8" + } + }, + "node_modules/acorn-walk": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/adjust-sourcemap-loader": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-4.0.0.tgz", + "integrity": "sha512-OXwN5b9pCUXNQHJpwwD2qP40byEmSgzj8B4ydSN0uMNYWiFmJ6x6KwUllMmfk8Rwu/HJDFR7U8ubsWBoN0Xp0A==", + "dev": true, + "dependencies": { + "loader-utils": "^2.0.0", + "regex-parser": "^2.2.11" + }, + "engines": { + "node": ">=8.9" + } + }, + "node_modules/adjust-sourcemap-loader/node_modules/loader-utils": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/agentkeepalive": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz", + "integrity": "sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==", + "dev": true, + "dependencies": { + "humanize-ms": "^1.2.1" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "dev": true, + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/angular-gridster2": { + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/angular-gridster2/-/angular-gridster2-16.0.0.tgz", + "integrity": "sha512-Us6nwxS+84W49nRXk/Dcm7KxgVmJNzkMwLDN2/FfoRlV1nhcv8j7kM2llhSpelwGPDyw/T64BePFw2Dx03QaTQ==", + "dependencies": { + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@angular/common": "^16.0.0", + "@angular/core": "^16.0.0", + "rxjs": "^7.0.0" + } + }, + "node_modules/angularx-qrcode": { + "version": "16.0.2", + "resolved": "https://registry.npmjs.org/angularx-qrcode/-/angularx-qrcode-16.0.2.tgz", + "integrity": "sha512-FztOM7vjNu88sGxUU5jG2I+A9TxZBXXYBWINjpwIBbTL+COMgrtzXnScG7TyQeNknv5w3WFJWn59PcngRRYVXA==", + "dependencies": { + "qrcode": "1.5.3", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/core": "^16.0.0" + } + }, + "node_modules/ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-html-community": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz", + "integrity": "sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==", + "dev": true, + "engines": [ + "node >= 0.8.0" + ], + "bin": { + "ansi-html": "bin/ansi-html" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ansi-styles/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/ansi-styles/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/aproba": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", + "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", + "dev": true + }, + "node_modules/are-we-there-yet": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", + "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", + "dev": true, + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/are-we-there-yet/node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true + }, + "node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true + }, + "node_modules/atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "node_modules/autoprefixer": { + "version": "10.4.14", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", + "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + } + ], + "dependencies": { + "browserslist": "^4.21.5", + "caniuse-lite": "^1.0.30001464", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/babel-loader": { + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-9.1.3.tgz", + "integrity": "sha512-xG3ST4DglodGf8qSwv0MdeWLhrDsw/32QMdTO5T1ZIp9gQur0HkCyFs7Awskr10JKXFXwpAhiCuYX5oGXnRGbw==", + "dev": true, + "dependencies": { + "find-cache-dir": "^4.0.0", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 14.15.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0", + "webpack": ">=5" + } + }, + "node_modules/babel-plugin-istanbul": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", + "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^5.0.4", + "test-exclude": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.4.8", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.8.tgz", + "integrity": "sha512-OtIuQfafSzpo/LhnJaykc0R/MMnuLSSVjVYy9mHArIZ9qTCSZ6TpWCuEKZYVoN//t8HqBNScHrOtCrIK5IaGLg==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.22.6", + "@babel/helper-define-polyfill-provider": "^0.5.0", + "semver": "^6.3.1" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/babel-plugin-polyfill-corejs2/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.8.7", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.7.tgz", + "integrity": "sha512-KyDvZYxAzkC0Aj2dAPyDzi2Ym15e5JKZSK+maI7NAwSqofvuFglbSsxE7wUOvTg9oFVnHMzVzBKcqEb4PJgtOA==", + "dev": true, + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.4.4", + "core-js-compat": "^3.33.1" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/babel-plugin-polyfill-corejs3/node_modules/@babel/helper-define-polyfill-provider": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.4.tgz", + "integrity": "sha512-QcJMILQCu2jm5TFPGA3lCpJJTeEP+mqeXooG/NZbg/h5FTFi6V0+99ahlRsW8/kRLyb24LZVCCiclDedhLKcBA==", + "dev": true, + "dependencies": { + "@babel/helper-compilation-targets": "^7.22.6", + "@babel/helper-plugin-utils": "^7.22.5", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.5.tgz", + "integrity": "sha512-OJGYZlhLqBh2DDHeqAxWB1XIvr49CxiJ2gIt61/PU55CQK4Z58OzMqjDe1zwQdQk+rBYsRc+1rJmdajM3gimHg==", + "dev": true, + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.5.0" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "devOptional": true + }, + "node_modules/base64-arraybuffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", + "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==", + "optional": true, + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/base64id": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/base64id/-/base64id-2.0.0.tgz", + "integrity": "sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==", + "dev": true, + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "node_modules/batch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", + "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", + "dev": true + }, + "node_modules/big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/bl/node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/blurhash": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/blurhash/-/blurhash-2.0.5.tgz", + "integrity": "sha512-cRygWd7kGBQO3VEhPiTgq4Wc43ctsM+o46urrmPOiuAe+07fzlSB9OJVdpgDL0jPqXUVQ9ht7aq7kxOeJHRK+w==" + }, + "node_modules/body-parser": { + "version": "1.20.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", + "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/bonjour-service": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.2.1.tgz", + "integrity": "sha512-oSzCS2zV14bh2kji6vNe7vrpJYCHGvcZnlffFQ1MEoX/WOeQ/teD8SYWKR942OI3INjq8OMNJlbPK5LLLUxFDw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3", + "multicast-dns": "^7.2.5" + } + }, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "dev": true + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browser-process-hrtime": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", + "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==", + "dev": true + }, + "node_modules/browserslist": { + "version": "4.23.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", + "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001587", + "electron-to-chromium": "^1.4.668", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.13" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/btoa": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", + "bin": { + "btoa": "bin/btoa.js" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "node_modules/builtin-modules": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", + "integrity": "sha512-wxXCdllwGhI2kCC0MnvTGYTMvnVZTvqgypkiTI8Pa5tcz2i6VqsqwYGgqwXji+4RgCzms6EajE4IxiUH6HH8nQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/builtins": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", + "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", + "dev": true, + "dependencies": { + "semver": "^7.0.0" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/cacache": { + "version": "17.1.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.4.tgz", + "integrity": "sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A==", + "dev": true, + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^7.7.1", + "minipass": "^7.0.3", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/cacache/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/cacache/node_modules/glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dev": true, + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/cacache/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/call-bind": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001587", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001587.tgz", + "integrity": "sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/canvg": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/canvg/-/canvg-3.0.10.tgz", + "integrity": "sha512-qwR2FRNO9NlzTeKIPIKpnTY6fqwuYSequ8Ru8c0YkYU7U0oW+hLUvWadLvAu1Rl72OMNiFhoLu4f8eUjQ7l/+Q==", + "optional": true, + "dependencies": { + "@babel/runtime": "^7.12.5", + "@types/raf": "^3.4.0", + "core-js": "^3.8.3", + "raf": "^3.4.1", + "regenerator-runtime": "^0.13.7", + "rgbcolor": "^1.0.1", + "stackblur-canvas": "^2.0.0", + "svg-pathdata": "^6.0.3" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "dev": true + }, + "node_modules/chart.js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.1.tgz", + "integrity": "sha512-C74QN1bxwV1v2PEujhmKjOZ7iUM4w6BWs23Md/6aOZZSlwMzeCIDGuZay++rBgChYru7/+QFeoQW0fQoP534Dg==", + "dependencies": { + "@kurkle/color": "^0.3.0" + }, + "engines": { + "pnpm": ">=7" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/chrome-trace-event": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", + "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", + "dev": true, + "engines": { + "node": ">=6.0" + } + }, + "node_modules/ckeditor5": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/ckeditor5/-/ckeditor5-40.2.0.tgz", + "integrity": "sha512-JaFuY/6DX1wbA6yRB2xQVMr+9W1C3HvSX4AT10ccoKBKe9OctIatekDt2ztV+cMaVHLF1wocskS/Ql9XFRy2Eg==", + "dependencies": { + "@ckeditor/ckeditor5-clipboard": "40.2.0", + "@ckeditor/ckeditor5-core": "40.2.0", + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-enter": "40.2.0", + "@ckeditor/ckeditor5-paragraph": "40.2.0", + "@ckeditor/ckeditor5-select-all": "40.2.0", + "@ckeditor/ckeditor5-typing": "40.2.0", + "@ckeditor/ckeditor5-ui": "40.2.0", + "@ckeditor/ckeditor5-undo": "40.2.0", + "@ckeditor/ckeditor5-upload": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "@ckeditor/ckeditor5-watchdog": "40.2.0", + "@ckeditor/ckeditor5-widget": "40.2.0" + } + }, + "node_modules/ckeditor5/node_modules/@ckeditor/ckeditor5-core": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-core/-/ckeditor5-core-40.2.0.tgz", + "integrity": "sha512-0fqIaN+ZhkXXA3mpBN+alycBzPMc8ruO8VrP0OnvCjowqZVS2HXC2AaXNBdxc75xGI3ScXIor7FsgFHxVJIYYQ==", + "dependencies": { + "@ckeditor/ckeditor5-engine": "40.2.0", + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/ckeditor5/node_modules/@ckeditor/ckeditor5-engine": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-engine/-/ckeditor5-engine-40.2.0.tgz", + "integrity": "sha512-sgboUX8Ps+LcEgywyT3BeK1nzLHjNVIiZU1qvRxR3ixzIw4w2xRNXCGfESWLW5Y5rv9+ypUCrX61oLnZU64PQQ==", + "dependencies": { + "@ckeditor/ckeditor5-utils": "40.2.0", + "lodash-es": "4.17.21" + } + }, + "node_modules/ckeditor5/node_modules/@ckeditor/ckeditor5-utils": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-utils/-/ckeditor5-utils-40.2.0.tgz", + "integrity": "sha512-f+kTJBwwk7Y/LXm8pEPxBTXVlJwQrH7Levzye9zxEDB0Jtj7+brGr87o666fPmL/ATQc5M+VPhbvnk2sOv7WKg==", + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/ckeditor5/node_modules/@ckeditor/ckeditor5-watchdog": { + "version": "40.2.0", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-watchdog/-/ckeditor5-watchdog-40.2.0.tgz", + "integrity": "sha512-ets7o2dUR7l23G9o/RAbu+gJzUkc2Ul269E3TEhZnbQXFjshvEGK2kzuay7I+/waL3ADuYe4zuoBqsqdPoAhfg==", + "dependencies": { + "lodash-es": "4.17.21" + } + }, + "node_modules/clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, + "dependencies": { + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cli-spinners": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", + "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-width": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", + "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "dev": true, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "dependencies": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/codemirror": { + "version": "5.65.16", + "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.65.16.tgz", + "integrity": "sha512-br21LjYmSlVL0vFCPWPfhzUCT34FM/pAdK7rRIZwa0rrtrIdotvP4Oh4GUHsu2E3IrQMCfRkL/fN3ytMNxVQvg==", + "peer": true + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/color-parse": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.2.tgz", + "integrity": "sha512-RI7s49/8yqDj3fECFZjUI1Yi0z/Gq1py43oNJivAIIDSyJiOZLfYCRQEgn8HEVAj++PcRe8AnL2XF0fRJ3BTnA==", + "dependencies": { + "color-name": "^1.0.0" + } + }, + "node_modules/color-support": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", + "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", + "dev": true, + "bin": { + "color-support": "bin.js" + } + }, + "node_modules/colorette": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", + "dev": true + }, + "node_modules/colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "dev": true, + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/common-path-prefix": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz", + "integrity": "sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==", + "dev": true + }, + "node_modules/compressible": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", + "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", + "dev": true, + "dependencies": { + "mime-db": ">= 1.43.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/compression": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", + "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", + "dev": true, + "dependencies": { + "accepts": "~1.3.5", + "bytes": "3.0.0", + "compressible": "~2.0.16", + "debug": "2.6.9", + "on-headers": "~1.0.2", + "safe-buffer": "5.1.2", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/compression/node_modules/bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/compression/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/compression/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + }, + "node_modules/compression/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/connect": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz", + "integrity": "sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==", + "dev": true, + "dependencies": { + "debug": "2.6.9", + "finalhandler": "1.1.2", + "parseurl": "~1.3.3", + "utils-merge": "1.0.1" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/connect-history-api-fallback": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz", + "integrity": "sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==", + "dev": true, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/connect/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/connect/node_modules/finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "dev": true, + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/connect/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + }, + "node_modules/connect/node_modules/on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==", + "dev": true, + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/connect/node_modules/statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==", + "dev": true + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/convert-source-map": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "dev": true + }, + "node_modules/cookie": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", + "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" + }, + "node_modules/copy-anything": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.6.tgz", + "integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==", + "dev": true, + "dependencies": { + "is-what": "^3.14.1" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" + } + }, + "node_modules/copy-webpack-plugin": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-11.0.0.tgz", + "integrity": "sha512-fX2MWpamkW0hZxMEg0+mYnA40LTosOSa5TqZ9GYIBzyJa9C3QUaMPSE2xAi/buNr8u89SfD9wHSQVBzrRa/SOQ==", + "dev": true, + "dependencies": { + "fast-glob": "^3.2.11", + "glob-parent": "^6.0.1", + "globby": "^13.1.1", + "normalize-path": "^3.0.0", + "schema-utils": "^4.0.0", + "serialize-javascript": "^6.0.0" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + } + }, + "node_modules/copy-webpack-plugin/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/core-js": { + "version": "3.36.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.36.0.tgz", + "integrity": "sha512-mt7+TUBbTFg5+GngsAxeKBTl5/VS0guFeJacYge9OmHb+m058UwwIm41SE9T4Den7ClatV57B6TYTuJ0CX1MAw==", + "hasInstallScript": true, + "optional": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/core-js-compat": { + "version": "3.36.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.36.0.tgz", + "integrity": "sha512-iV9Pd/PsgjNWBXeq8XRtWVSgz2tKAfhfvBs7qxYty+RlRd+OCksaWmOnc4JKrTc1cToXL1N0s3l/vwlxPtdElw==", + "dev": true, + "dependencies": { + "browserslist": "^4.22.3" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "node_modules/cors": { + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", + "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", + "dev": true, + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/cosmiconfig": { + "version": "8.3.6", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", + "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", + "dev": true, + "dependencies": { + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0", + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/cosmiconfig/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/cosmiconfig/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true + }, + "node_modules/critters": { + "version": "0.0.20", + "resolved": "https://registry.npmjs.org/critters/-/critters-0.0.20.tgz", + "integrity": "sha512-CImNRorKOl5d8TWcnAz5n5izQ6HFsvz29k327/ELy6UFcmbiZNOsinaKvzv16WZR0P6etfSWYzE47C4/56B3Uw==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "css-select": "^5.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.2", + "htmlparser2": "^8.0.2", + "postcss": "^8.4.23", + "pretty-bytes": "^5.3.0" + } + }, + "node_modules/critters/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/critters/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/critters/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/critters/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cross-spawn/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/css-line-break": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-2.1.0.tgz", + "integrity": "sha512-FHcKFCZcAha3LwfVBhCQbW2nCNbkZXn7KVUJcsT5/P8YmfsVja0FMPJr0B903j/E69HUphKiV9iQArX8SDYA4w==", + "optional": true, + "dependencies": { + "utrie": "^1.0.2" + } + }, + "node_modules/css-loader": { + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.8.1.tgz", + "integrity": "sha512-xDAXtEVGlD0gJ07iclwWVkLoZOpEvAWaSyf6W18S2pOC//K8+qUDIx8IIT3D+HjnmkJPQeesOPv5aiUaJsCM2g==", + "dev": true, + "dependencies": { + "icss-utils": "^5.1.0", + "postcss": "^8.4.21", + "postcss-modules-extract-imports": "^3.0.0", + "postcss-modules-local-by-default": "^4.0.3", + "postcss-modules-scope": "^3.0.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.2.0", + "semver": "^7.3.8" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "node_modules/css-select": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz", + "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==", + "dev": true, + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/css-vars-ponyfill": { + "version": "2.4.8", + "resolved": "https://registry.npmjs.org/css-vars-ponyfill/-/css-vars-ponyfill-2.4.8.tgz", + "integrity": "sha512-4/j4AX4htytYHWyHVZ2BFQ+NoCGZEcOH2h4/2mmgE4SkrFg4Xq6tGYR77DtvvUIDsaXuJN+sj41bbgauA0Gfmg==", + "optional": true, + "dependencies": { + "balanced-match": "^1.0.2", + "get-css-data": "^2.0.2" + } + }, + "node_modules/css-what": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", + "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", + "dev": true, + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/cssom": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz", + "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==", + "dev": true + }, + "node_modules/cssstyle": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", + "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", + "dev": true, + "dependencies": { + "cssom": "~0.3.6" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cssstyle/node_modules/cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", + "dev": true + }, + "node_modules/custom-event": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz", + "integrity": "sha512-GAj5FOq0Hd+RsCGVJxZuKaIDXDf3h6GQoNEjFgbLLI/trgtavwUbSnZ5pVfg27DVCaWjIohryS0JFwIJyT2cMg==", + "dev": true + }, + "node_modules/d3-array": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz", + "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==", + "dependencies": { + "internmap": "1 - 2" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-brush": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-3.0.0.tgz", + "integrity": "sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==", + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-drag": "2 - 3", + "d3-interpolate": "1 - 3", + "d3-selection": "3", + "d3-transition": "3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-color": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", + "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-dispatch": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-3.0.1.tgz", + "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-drag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-3.0.0.tgz", + "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==", + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-selection": "3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-ease": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz", + "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-format": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.0.tgz", + "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-hierarchy": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz", + "integrity": "sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-interpolate": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", + "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", + "dependencies": { + "d3-color": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-path": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz", + "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-sankey": { + "version": "0.12.3", + "resolved": "https://registry.npmjs.org/d3-sankey/-/d3-sankey-0.12.3.tgz", + "integrity": "sha512-nQhsBRmM19Ax5xEIPLMY9ZmJ/cDvd1BG3UVvt5h3WRxKg5zGRbvnteTyWAbzeSvlh3tW7ZEmq4VwR5mB3tutmQ==", + "dependencies": { + "d3-array": "1 - 2", + "d3-shape": "^1.2.0" + } + }, + "node_modules/d3-sankey/node_modules/d3-array": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz", + "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==", + "dependencies": { + "internmap": "^1.0.0" + } + }, + "node_modules/d3-sankey/node_modules/d3-path": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz", + "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==" + }, + "node_modules/d3-sankey/node_modules/d3-shape": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz", + "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==", + "dependencies": { + "d3-path": "1" + } + }, + "node_modules/d3-sankey/node_modules/internmap": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.1.tgz", + "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==" + }, + "node_modules/d3-scale": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz", + "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==", + "dependencies": { + "d3-array": "2.10.0 - 3", + "d3-format": "1 - 3", + "d3-interpolate": "1.2.0 - 3", + "d3-time": "2.1.1 - 3", + "d3-time-format": "2 - 4" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-selection": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz", + "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-shape": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz", + "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", + "dependencies": { + "d3-path": "^3.1.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-time": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz", + "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==", + "dependencies": { + "d3-array": "2 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-time-format": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-3.0.0.tgz", + "integrity": "sha512-UXJh6EKsHBTjopVqZBhFysQcoXSv/5yLONZvkQ5Kk3qbwiUYkdX17Xa1PT6U1ZWXGGfB1ey5L8dKMlFq2DO0Ag==", + "dependencies": { + "d3-time": "1 - 2" + } + }, + "node_modules/d3-time-format/node_modules/d3-array": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz", + "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==", + "dependencies": { + "internmap": "^1.0.0" + } + }, + "node_modules/d3-time-format/node_modules/d3-time": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-2.1.1.tgz", + "integrity": "sha512-/eIQe/eR4kCQwq7yxi7z4c6qEXf2IYGcjoWB5OOQy4Tq9Uv39/947qlDcN2TLkiTzQWzvnsuYPB9TrWaNfipKQ==", + "dependencies": { + "d3-array": "2" + } + }, + "node_modules/d3-time-format/node_modules/internmap": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.1.tgz", + "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==" + }, + "node_modules/d3-timer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz", + "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-transition": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-3.0.1.tgz", + "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==", + "dependencies": { + "d3-color": "1 - 3", + "d3-dispatch": "1 - 3", + "d3-ease": "1 - 3", + "d3-interpolate": "1 - 3", + "d3-timer": "1 - 3" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "d3-selection": "2 - 3" + } + }, + "node_modules/data-urls": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", + "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", + "dev": true, + "dependencies": { + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/date-format": { + "version": "4.0.14", + "resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.14.tgz", + "integrity": "sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decimal.js": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz", + "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==", + "dev": true + }, + "node_modules/default-gateway": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-6.0.3.tgz", + "integrity": "sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==", + "dev": true, + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/defaults": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", + "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "dev": true, + "dependencies": { + "clone": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", + "dev": true + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/detect-node": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", + "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", + "dev": true + }, + "node_modules/di": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/di/-/di-0.0.1.tgz", + "integrity": "sha512-uJaamHkagcZtHPqCIHZxnFrXlunQXgBOsZSUOWwFw31QJCAbyTBoHMW75YOTur5ZNx8pIeAKgf6GWIgaqqiLhA==", + "dev": true + }, + "node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true, + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/dijkstrajs": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/dijkstrajs/-/dijkstrajs-1.0.3.tgz", + "integrity": "sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==" + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dns-packet": { + "version": "5.6.1", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.6.1.tgz", + "integrity": "sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw==", + "dev": true, + "dependencies": { + "@leichtgewicht/ip-codec": "^2.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/dom-serialize": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/dom-serialize/-/dom-serialize-2.2.1.tgz", + "integrity": "sha512-Yra4DbvoW7/Z6LBN560ZwXMjoNOSAN2wRsKFGc4iBeso+mpIA6qj1vfdf9HpMaKAqG6wXTy+1SYEzmNpKXOSsQ==", + "dev": true, + "dependencies": { + "custom-event": "~1.0.0", + "ent": "~2.2.0", + "extend": "^3.0.0", + "void-elements": "^2.0.0" + } + }, + "node_modules/dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "dev": true, + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/dom-to-image": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/dom-to-image/-/dom-to-image-2.6.0.tgz", + "integrity": "sha512-Dt0QdaHmLpjURjU7Tnu3AgYSF2LuOmksSGsUcE6ItvJoCWTBEmiMXcqBdNSAm9+QbbwD7JMoVsuuKX6ZVQv1qA==" + }, + "node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] + }, + "node_modules/domexception": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz", + "integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==", + "deprecated": "Use your platform's native DOMException instead", + "dev": true, + "dependencies": { + "webidl-conversions": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/domexception/node_modules/webidl-conversions": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", + "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "dev": true, + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/dompurify": { + "version": "2.4.7", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.4.7.tgz", + "integrity": "sha512-kxxKlPEDa6Nc5WJi+qRgPbOAbgTpSULL+vI3NUXsZMlkJxTqYI9wg5ZTay2sFrdZRWHPWNi+EdAhcJf81WtoMQ==", + "optional": true + }, + "node_modules/domutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", + "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", + "dev": true, + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + }, + "node_modules/electron-to-chromium": { + "version": "1.4.673", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.673.tgz", + "integrity": "sha512-zjqzx4N7xGdl5468G+vcgzDhaHkaYgVcf9MqgexcTqsl2UHSCmOj/Bi3HAprg4BZCpC7HyD8a6nZl6QAZf72gw==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/encode-utf8": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/encode-utf8/-/encode-utf8-1.0.3.tgz", + "integrity": "sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw==" + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dev": true, + "optional": true, + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/engine.io": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.5.4.tgz", + "integrity": "sha512-KdVSDKhVKyOi+r5uEabrDLZw2qXStVvCsEB/LN3mw4WFi6Gx50jTyuxYVCwAAC0U46FdnzP/ScKRBTXb/NiEOg==", + "dev": true, + "dependencies": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "node_modules/engine.io-parser": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.2.tgz", + "integrity": "sha512-RcyUFKA93/CXH20l4SoVvzZfrSDMOTUS3bWVpTt2FuFP+XYrL8i8oonHP7WInRyVHXh0n/ORtoeiE1os+8qkSw==", + "dev": true, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/engine.io/node_modules/cookie": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", + "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/engine.io/node_modules/ws": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "dev": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/enhanced-resolve": { + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", + "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/ent": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", + "integrity": "sha512-GHrMyVZQWvTIdDtpiEXdHZnFQKzeO09apj8Cbl4pKWy4i0Oprcq17usfDt5aO63swf0JOeMWjWQE/LzgSRuWpA==", + "dev": true + }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "devOptional": true, + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/err-code": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", + "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", + "dev": true + }, + "node_modules/errno": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", + "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", + "dev": true, + "optional": true, + "dependencies": { + "prr": "~1.0.1" + }, + "bin": { + "errno": "cli.js" + } + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-module-lexer": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.1.tgz", + "integrity": "sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==", + "dev": true + }, + "node_modules/esbuild": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.17.tgz", + "integrity": "sha512-1GJtYnUxsJreHYA0Y+iQz2UEykonY66HNWOb0yXYZi9/kNrORUEHVg87eQsCtqh59PEJ5YVZJO98JHznMJSWjg==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.18.17", + "@esbuild/android-arm64": "0.18.17", + "@esbuild/android-x64": "0.18.17", + "@esbuild/darwin-arm64": "0.18.17", + "@esbuild/darwin-x64": "0.18.17", + "@esbuild/freebsd-arm64": "0.18.17", + "@esbuild/freebsd-x64": "0.18.17", + "@esbuild/linux-arm": "0.18.17", + "@esbuild/linux-arm64": "0.18.17", + "@esbuild/linux-ia32": "0.18.17", + "@esbuild/linux-loong64": "0.18.17", + "@esbuild/linux-mips64el": "0.18.17", + "@esbuild/linux-ppc64": "0.18.17", + "@esbuild/linux-riscv64": "0.18.17", + "@esbuild/linux-s390x": "0.18.17", + "@esbuild/linux-x64": "0.18.17", + "@esbuild/netbsd-x64": "0.18.17", + "@esbuild/openbsd-x64": "0.18.17", + "@esbuild/sunos-x64": "0.18.17", + "@esbuild/win32-arm64": "0.18.17", + "@esbuild/win32-ia32": "0.18.17", + "@esbuild/win32-x64": "0.18.17" + } + }, + "node_modules/esbuild-wasm": { + "version": "0.18.17", + "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.18.17.tgz", + "integrity": "sha512-9OHGcuRzy+I8ziF9FzjfKLWAPbvi0e/metACVg9k6bK+SI4FFxeV6PcZsz8RIVaMD4YNehw+qj6UMR3+qj/EuQ==", + "dev": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/escalade": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "dev": true, + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/escodegen/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-scope/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/eventemitter-asyncresource": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/eventemitter-asyncresource/-/eventemitter-asyncresource-1.0.0.tgz", + "integrity": "sha512-39F7TBIV0G7gTelxwbEqnwhp90eqCPON1k0NwNfwhgKn4Co4ybUbj2pECcXT0B3ztRKZ7Pw1JujUUgmQJHcVAQ==", + "dev": true + }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true, + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/exponential-backoff": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", + "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==", + "dev": true + }, + "node_modules/express": { + "version": "4.18.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", + "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/express/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/express/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "node_modules/external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "dev": true, + "dependencies": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-glob": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", + "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fastq": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "dev": true, + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/faye-websocket": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.4.tgz", + "integrity": "sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==", + "dev": true, + "dependencies": { + "websocket-driver": ">=0.5.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/fflate": { + "version": "0.4.8", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.4.8.tgz", + "integrity": "sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA==" + }, + "node_modules/figures": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "dev": true, + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/file-saver": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/file-saver/-/file-saver-2.0.5.tgz", + "integrity": "sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA==" + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/finalhandler": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", + "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/find-cache-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-4.0.0.tgz", + "integrity": "sha512-9ZonPT4ZAK4a+1pUPVPZJapbi7O5qbbJPdYw/NOQWZZbVLdDTYM3A4R9z/DpAM08IDaFGsvPgiGZ82WEwUDWjg==", + "dev": true, + "dependencies": { + "common-path-prefix": "^3.0.0", + "pkg-dir": "^7.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/flatted": { + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", + "dev": true + }, + "node_modules/follow-redirects": { + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fraction.js": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", + "dev": true, + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://github.com/sponsors/rawify" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/fs-minipass": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", + "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", + "dev": true, + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/fs-minipass/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/fs-monkey": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.5.tgz", + "integrity": "sha512-8uMbBjrhzW76TYgEV27Y5E//W2f/lTFmx78P2w19FZSxarhI/798APGQyuGCwmkNxgwGRhrLfvWyLBvNtuOmew==", + "dev": true + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gauge": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", + "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", + "dev": true, + "dependencies": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^3.0.7", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-css-data": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/get-css-data/-/get-css-data-2.1.1.tgz", + "integrity": "sha512-JpMa/f5P4mDXKg6l5/2cHL5xNY77Jap7tHyduMa6BF0E2a7bQ6Tvaz2BIMjeVYZYLcmOZ5w2Ro0yVJEI41tMbw==", + "optional": true + }, + "node_modules/get-intrinsic": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "dev": true, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/globby": { + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-13.2.2.tgz", + "integrity": "sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==", + "dev": true, + "dependencies": { + "dir-glob": "^3.0.1", + "fast-glob": "^3.3.0", + "ignore": "^5.2.4", + "merge2": "^1.4.1", + "slash": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, + "node_modules/guess-parser": { + "version": "0.4.22", + "resolved": "https://registry.npmjs.org/guess-parser/-/guess-parser-0.4.22.tgz", + "integrity": "sha512-KcUWZ5ACGaBM69SbqwVIuWGoSAgD+9iJnchR9j/IarVI1jHVeXv+bUXBIMeqVMSKt3zrn0Dgf9UpcOEpPBLbSg==", + "dev": true, + "dependencies": { + "@wessberg/ts-evaluator": "0.0.27" + }, + "peerDependencies": { + "typescript": ">=3.7.5" + } + }, + "node_modules/handle-thing": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", + "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", + "dev": true + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==", + "dev": true + }, + "node_modules/hasown": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz", + "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hdr-histogram-js": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/hdr-histogram-js/-/hdr-histogram-js-2.0.3.tgz", + "integrity": "sha512-Hkn78wwzWHNCp2uarhzQ2SGFLU3JY8SBDDd3TAABK4fc30wm+MuPOrg5QVFVfkKOQd6Bfz3ukJEI+q9sXEkK1g==", + "dev": true, + "dependencies": { + "@assemblyscript/loader": "^0.10.1", + "base64-js": "^1.2.0", + "pako": "^1.0.3" + } + }, + "node_modules/hdr-histogram-percentiles-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hdr-histogram-percentiles-obj/-/hdr-histogram-percentiles-obj-3.0.0.tgz", + "integrity": "sha512-7kIufnBqdsBGcSZLPJwqHT3yhk1QTsSlFsVD3kx5ixH/AlgBs9yM1q6DPhXZ8f8gtdqgh7N7/5btRLpQsS2gHw==", + "dev": true + }, + "node_modules/highcharts": { + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/highcharts/-/highcharts-11.3.0.tgz", + "integrity": "sha512-Dk+Qfk/xit8KnXKPDxmcVcq48ZlcVSq7oYJR5VZlAVWnJ0BY3JFFi1GOvgSNUzlh2wzsfenihWpkAkWoag4Xqg==" + }, + "node_modules/highcharts-angular": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/highcharts-angular/-/highcharts-angular-3.1.2.tgz", + "integrity": "sha512-f168ZhRVVlV7vJ2g0gDH3IaTNv84c91z6GYRWuER0Ep5kLalAUH0KDtFhrTOb6+sjue7BK8M7aPY74fiC4bGXA==", + "dependencies": { + "tslib": "^2.0.0" + }, + "peerDependencies": { + "@angular/common": ">=11.0.0", + "@angular/core": ">=11.0.0", + "highcharts": ">=9.0.0" + } + }, + "node_modules/hosted-git-info": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", + "integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==", + "dev": true, + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/hosted-git-info/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/hpack.js": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", + "integrity": "sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ==", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "obuf": "^1.0.0", + "readable-stream": "^2.0.1", + "wbuf": "^1.1.0" + } + }, + "node_modules/html-encoding-sniffer": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", + "integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==", + "dev": true, + "dependencies": { + "whatwg-encoding": "^1.0.5" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/html-entities": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.4.0.tgz", + "integrity": "sha512-igBTJcNNNhvZFRtm8uA6xMY6xYleeDwn3PeBCkDz7tHttv4F2hsDI2aPgNERWzvRcNYHNT3ymRaQzllmXj4YsQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/mdevils" + }, + { + "type": "patreon", + "url": "https://patreon.com/mdevils" + } + ] + }, + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true + }, + "node_modules/html2canvas": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/html2canvas/-/html2canvas-1.4.1.tgz", + "integrity": "sha512-fPU6BHNpsyIhr8yyMpTLLxAbkaK8ArIBcmZIRiBLiDhjeqvXolaEmDGmELFuX9I4xDcaKKcJl+TKZLqruBbmWA==", + "optional": true, + "dependencies": { + "css-line-break": "^2.1.0", + "text-segmentation": "^1.0.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/htmlparser2": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", + "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", + "dev": true, + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, + "node_modules/http-cache-semantics": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", + "dev": true + }, + "node_modules/http-deceiver": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", + "integrity": "sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw==", + "dev": true + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/http-parser-js": { + "version": "0.5.8", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.8.tgz", + "integrity": "sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q==", + "dev": true + }, + "node_modules/http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "dev": true, + "dependencies": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/http-proxy-agent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", + "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "dev": true, + "dependencies": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/http-proxy-middleware": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", + "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", + "dev": true, + "dependencies": { + "@types/http-proxy": "^1.17.8", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "is-plain-obj": "^3.0.0", + "micromatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@types/express": "^4.17.13" + }, + "peerDependenciesMeta": { + "@types/express": { + "optional": true + } + } + }, + "node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "dev": true, + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/humanize-ms": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", + "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", + "dev": true, + "dependencies": { + "ms": "^2.0.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/icss-utils": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", + "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/ignore": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/ignore-walk": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.4.tgz", + "integrity": "sha512-t7sv42WkwFkyKbivUCglsQW5YWMskWtbEf4MNKX5u/CCWHKSPzN4FtBQGsQZgCLbxOzpVlcbWVK5KB3auIOjSw==", + "dev": true, + "dependencies": { + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/ignore-walk/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/ignore-walk/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/image-size": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", + "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", + "dev": true, + "optional": true, + "bin": { + "image-size": "bin/image-size.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==" + }, + "node_modules/immutable": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.5.tgz", + "integrity": "sha512-8eabxkth9gZatlwl5TBuJnCsoTADlL6ftEr7A4qgdaTsPyreilDSnUk57SO+jfKcNtxPa22U5KK6DSeAYhpBJw==", + "dev": true + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-fresh/node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/infer-owner": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", + "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", + "dev": true + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ini": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz", + "integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/inquirer": { + "version": "8.2.4", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.4.tgz", + "integrity": "sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg==", + "dev": true, + "dependencies": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.1", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.21", + "mute-stream": "0.0.8", + "ora": "^5.4.1", + "run-async": "^2.4.0", + "rxjs": "^7.5.5", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/inquirer/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/inquirer/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/inquirer/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/inquirer/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/internmap": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz", + "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==", + "engines": { + "node": ">=12" + } + }, + "node_modules/ip-address": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", + "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", + "dev": true, + "dependencies": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/ip-address/node_modules/sprintf-js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", + "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==", + "dev": true + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-core-module": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "dev": true, + "dependencies": { + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-lambda": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", + "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", + "dev": true + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-plain-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-potential-custom-element-name": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", + "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", + "dev": true + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-what": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz", + "integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==", + "dev": true + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + }, + "node_modules/isbinaryfile": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-4.0.10.tgz", + "integrity": "sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==", + "dev": true, + "engines": { + "node": ">= 8.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/gjtorikian/" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", + "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", + "dev": true, + "dependencies": { + "@babel/core": "^7.12.3", + "@babel/parser": "^7.14.7", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/istanbul-lib-report": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", + "dev": true, + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^4.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-report/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-source-maps": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz", + "integrity": "sha512-R47KzMtDJH6X4/YW9XTx+jrLnZnscW4VpNN+1PViSYTejLVPWv7oov+Duf8YQSPyVRUvueQqz1TcsC6mooZTXw==", + "dev": true, + "dependencies": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^2.0.5", + "make-dir": "^2.1.0", + "rimraf": "^2.6.3", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/istanbul-lib-source-maps/node_modules/istanbul-lib-coverage": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz", + "integrity": "sha512-8aXznuEPCJvGnMSRft4udDRDtb1V3pkQkMMI5LI+6HuQz5oQ4J2UFn1H82raA3qJtyOLkkwVqICBQkjnGtn5mA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/istanbul-lib-source-maps/node_modules/make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "dev": true, + "dependencies": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/istanbul-lib-source-maps/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/istanbul-lib-source-maps/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/istanbul-lib-source-maps/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/istanbul-reports": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", + "integrity": "sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==", + "dev": true, + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dev": true, + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jasmine-core": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-5.0.1.tgz", + "integrity": "sha512-D4bRej8CplwNtNGyTPD++cafJlZUphzZNV+MSAnbD3er4D0NjL4x9V+mu/SI+5129utnCBen23JwEuBZA9vlpQ==", + "dev": true + }, + "node_modules/jasmine-spec-reporter": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/jasmine-spec-reporter/-/jasmine-spec-reporter-7.0.0.tgz", + "integrity": "sha512-OtC7JRasiTcjsaCBPtMO0Tl8glCejM4J4/dNuOJdA8lBjz4PmWjYQ6pzb0uzpBNAWJMDudYuj9OdXJWqM2QTJg==", + "dev": true, + "dependencies": { + "colors": "1.4.0" + } + }, + "node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/jiti": { + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz", + "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==", + "dev": true, + "bin": { + "jiti": "bin/jiti.js" + } + }, + "node_modules/jquery": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz", + "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsbn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", + "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==", + "dev": true + }, + "node_modules/jsdom": { + "version": "16.7.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", + "integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==", + "dev": true, + "dependencies": { + "abab": "^2.0.5", + "acorn": "^8.2.4", + "acorn-globals": "^6.0.0", + "cssom": "^0.4.4", + "cssstyle": "^2.3.0", + "data-urls": "^2.0.0", + "decimal.js": "^10.2.1", + "domexception": "^2.0.1", + "escodegen": "^2.0.0", + "form-data": "^3.0.0", + "html-encoding-sniffer": "^2.0.1", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-potential-custom-element-name": "^1.0.1", + "nwsapi": "^2.2.0", + "parse5": "6.0.1", + "saxes": "^5.0.1", + "symbol-tree": "^3.2.4", + "tough-cookie": "^4.0.0", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^2.0.0", + "webidl-conversions": "^6.1.0", + "whatwg-encoding": "^1.0.5", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.5.0", + "ws": "^7.4.6", + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "canvas": "^2.5.0" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "node_modules/jsdom/node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", + "dev": true + }, + "node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "dev": true, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", + "dev": true, + "engines": [ + "node >= 0.2.0" + ] + }, + "node_modules/jspdf": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/jspdf/-/jspdf-2.5.1.tgz", + "integrity": "sha512-hXObxz7ZqoyhxET78+XR34Xu2qFGrJJ2I2bE5w4SM8eFaFEkW2xcGRVUss360fYelwRSid/jT078kbNvmoW0QA==", + "dependencies": { + "@babel/runtime": "^7.14.0", + "atob": "^2.1.2", + "btoa": "^1.2.1", + "fflate": "^0.4.8" + }, + "optionalDependencies": { + "canvg": "^3.0.6", + "core-js": "^3.6.0", + "dompurify": "^2.2.0", + "html2canvas": "^1.0.0-rc.5" + } + }, + "node_modules/jszip": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz", + "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==", + "dependencies": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "setimmediate": "^1.0.5" + } + }, + "node_modules/karma": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/karma/-/karma-6.4.2.tgz", + "integrity": "sha512-C6SU/53LB31BEgRg+omznBEMY4SjHU3ricV6zBcAe1EeILKkeScr+fZXtaI5WyDbkVowJxxAI6h73NcFPmXolQ==", + "dev": true, + "dependencies": { + "@colors/colors": "1.5.0", + "body-parser": "^1.19.0", + "braces": "^3.0.2", + "chokidar": "^3.5.1", + "connect": "^3.7.0", + "di": "^0.0.1", + "dom-serialize": "^2.2.1", + "glob": "^7.1.7", + "graceful-fs": "^4.2.6", + "http-proxy": "^1.18.1", + "isbinaryfile": "^4.0.8", + "lodash": "^4.17.21", + "log4js": "^6.4.1", + "mime": "^2.5.2", + "minimatch": "^3.0.4", + "mkdirp": "^0.5.5", + "qjobs": "^1.2.0", + "range-parser": "^1.2.1", + "rimraf": "^3.0.2", + "socket.io": "^4.4.1", + "source-map": "^0.6.1", + "tmp": "^0.2.1", + "ua-parser-js": "^0.7.30", + "yargs": "^16.1.1" + }, + "bin": { + "karma": "bin/karma" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/karma-chrome-launcher": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.2.0.tgz", + "integrity": "sha512-rE9RkUPI7I9mAxByQWkGJFXfFD6lE4gC5nPuZdobf/QdTEJI6EU4yIay/cfU/xV4ZxlM5JiTv7zWYgA64NpS5Q==", + "dev": true, + "dependencies": { + "which": "^1.2.1" + } + }, + "node_modules/karma-coverage-istanbul-reporter": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/karma-coverage-istanbul-reporter/-/karma-coverage-istanbul-reporter-3.0.3.tgz", + "integrity": "sha512-wE4VFhG/QZv2Y4CdAYWDbMmcAHeS926ZIji4z+FkB2aF/EposRb6DP6G5ncT/wXhqUfAb/d7kZrNKPonbvsATw==", + "dev": true, + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^3.0.6", + "istanbul-reports": "^3.0.2", + "minimatch": "^3.0.4" + }, + "funding": { + "url": "https://github.com/sponsors/mattlewis92" + } + }, + "node_modules/karma-jasmine": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/karma-jasmine/-/karma-jasmine-5.1.0.tgz", + "integrity": "sha512-i/zQLFrfEpRyQoJF9fsCdTMOF5c2dK7C7OmsuKg2D0YSsuZSfQDiLuaiktbuio6F2wiCsZSnSnieIQ0ant/uzQ==", + "dev": true, + "dependencies": { + "jasmine-core": "^4.1.0" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "karma": "^6.0.0" + } + }, + "node_modules/karma-jasmine-html-reporter": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-2.1.0.tgz", + "integrity": "sha512-sPQE1+nlsn6Hwb5t+HHwyy0A1FNCVKuL1192b+XNauMYWThz2kweiBVW1DqloRpVvZIJkIoHVB7XRpK78n1xbQ==", + "dev": true, + "peerDependencies": { + "jasmine-core": "^4.0.0 || ^5.0.0", + "karma": "^6.0.0", + "karma-jasmine": "^5.0.0" + } + }, + "node_modules/karma-jasmine/node_modules/jasmine-core": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-4.6.0.tgz", + "integrity": "sha512-O236+gd0ZXS8YAjFx8xKaJ94/erqUliEkJTDedyE7iHvv4ZVqi+q+8acJxu05/WJDKm512EUNn809In37nWlAQ==", + "dev": true + }, + "node_modules/karma-source-map-support": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/karma-source-map-support/-/karma-source-map-support-1.4.0.tgz", + "integrity": "sha512-RsBECncGO17KAoJCYXjv+ckIz+Ii9NCi+9enk+rq6XC81ezYkb4/RHE6CTXdA7IOJqoF3wcaLfVG0CPmE5ca6A==", + "dev": true, + "dependencies": { + "source-map-support": "^0.5.5" + } + }, + "node_modules/karma/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/karma/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/karma/node_modules/tmp": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", + "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", + "dev": true, + "dependencies": { + "rimraf": "^3.0.0" + }, + "engines": { + "node": ">=8.17.0" + } + }, + "node_modules/karma/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/karma/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/klona": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.6.tgz", + "integrity": "sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/launch-editor": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.6.1.tgz", + "integrity": "sha512-eB/uXmFVpY4zezmGp5XtU21kwo7GBbKB+EQ+UZeWtGb9yAM5xt/Evk+lYH3eRNAtId+ej4u7TYPFZ07w4s7rRw==", + "dev": true, + "dependencies": { + "picocolors": "^1.0.0", + "shell-quote": "^1.8.1" + } + }, + "node_modules/less": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz", + "integrity": "sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==", + "dev": true, + "dependencies": { + "copy-anything": "^2.0.1", + "parse-node-version": "^1.0.1", + "tslib": "^2.3.0" + }, + "bin": { + "lessc": "bin/lessc" + }, + "engines": { + "node": ">=6" + }, + "optionalDependencies": { + "errno": "^0.1.1", + "graceful-fs": "^4.1.2", + "image-size": "~0.5.0", + "make-dir": "^2.1.0", + "mime": "^1.4.1", + "needle": "^3.1.0", + "source-map": "~0.6.0" + } + }, + "node_modules/less-loader": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/less-loader/-/less-loader-11.1.0.tgz", + "integrity": "sha512-C+uDBV7kS7W5fJlUjq5mPBeBVhYpTIm5gB09APT9o3n/ILeaXVsiSFTbZpTJCJwQ/Crczfn3DmfQFwxYusWFug==", + "dev": true, + "dependencies": { + "klona": "^2.0.4" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "less": "^3.5.0 || ^4.0.0", + "webpack": "^5.0.0" + } + }, + "node_modules/less/node_modules/make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "dev": true, + "optional": true, + "dependencies": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/less/node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "optional": true, + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/less/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "optional": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/less/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/license-webpack-plugin": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-4.0.2.tgz", + "integrity": "sha512-771TFWFD70G1wLTC4oU2Cw4qvtmNrIw+wRvBtn+okgHl7slJVi7zfNcdmqDL72BojM30VNJ2UHylr1o77U37Jw==", + "dev": true, + "dependencies": { + "webpack-sources": "^3.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + }, + "webpack-sources": { + "optional": true + } + } + }, + "node_modules/lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "dependencies": { + "immediate": "~3.0.5" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "node_modules/lit": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/lit/-/lit-2.8.0.tgz", + "integrity": "sha512-4Sc3OFX9QHOJaHbmTMk28SYgVxLN3ePDjg7hofEft2zWlehFL3LiAuapWc4U/kYwMYJSh2hTCPZ6/LIC7ii0MA==", + "dependencies": { + "@lit/reactive-element": "^1.6.0", + "lit-element": "^3.3.0", + "lit-html": "^2.8.0" + } + }, + "node_modules/lit-element": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-2.5.1.tgz", + "integrity": "sha512-ogu7PiJTA33bEK0xGu1dmaX5vhcRjBXCFexPja0e7P7jqLhTpNKYRPmE+GmiCaRVAbiQKGkUgkh/i6+bh++dPQ==", + "dependencies": { + "lit-html": "^1.1.1" + } + }, + "node_modules/lit-element/node_modules/lit-html": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-1.4.1.tgz", + "integrity": "sha512-B9btcSgPYb1q4oSOb/PrOT6Z/H+r6xuNzfH4lFli/AWhYwdtrgQkQWBbIc6mdnf6E2IL3gDXdkkqNktpU0OZQA==" + }, + "node_modules/lit-html": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.1.2.tgz", + "integrity": "sha512-3OBZSUrPnAHoKJ9AMjRL/m01YJxQMf+TMHanNtTHG68ubjnZxK0RFl102DPzsw4mWnHibfZIBJm3LWCZ/LmMvg==", + "dependencies": { + "@types/trusted-types": "^2.0.2" + } + }, + "node_modules/lit/node_modules/lit-element": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-3.3.3.tgz", + "integrity": "sha512-XbeRxmTHubXENkV4h8RIPyr8lXc+Ff28rkcQzw3G6up2xg5E8Zu1IgOWIwBLEQsu3cOVFqdYwiVi0hv0SlpqUA==", + "dependencies": { + "@lit-labs/ssr-dom-shim": "^1.1.0", + "@lit/reactive-element": "^1.3.0", + "lit-html": "^2.8.0" + } + }, + "node_modules/lit/node_modules/lit-html": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-2.8.0.tgz", + "integrity": "sha512-o9t+MQM3P4y7M7yNzqAyjp7z+mQGa4NS4CxiyLqFPyFWyc4O+nodLrkrxSaCTrla6M5YOLaT3RpbbqjszB5g3Q==", + "dependencies": { + "@types/trusted-types": "^2.0.2" + } + }, + "node_modules/loader-runner": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", + "dev": true, + "engines": { + "node": ">=6.11.5" + } + }, + "node_modules/loader-utils": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.2.1.tgz", + "integrity": "sha512-ZvFw1KWS3GVyYBYb7qkmRM/WwL2TQQBxgCK62rlvm4WpVQ23Nb4tYjApUlfjrEGvOs7KHEsmyUn75OHZrJMWPw==", + "dev": true, + "engines": { + "node": ">= 12.13.0" + } + }, + "node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", + "dev": true + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-symbols/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/log-symbols/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/log4js": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/log4js/-/log4js-6.9.1.tgz", + "integrity": "sha512-1somDdy9sChrr9/f4UlzhdaGfDR2c/SaD2a4T7qEkG4jTS57/B3qmnjLYePwQ8cqWnUHZI0iAKxMBpCZICiZ2g==", + "dev": true, + "dependencies": { + "date-format": "^4.0.14", + "debug": "^4.3.4", + "flatted": "^3.2.7", + "rfdc": "^1.3.0", + "streamroller": "^3.1.5" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/magic-string": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.1.tgz", + "integrity": "sha512-mbVKXPmS0z0G4XqFDCTllmDQ6coZzn94aMlb0o/A4HEHJCKcanlDZwYJgwnkmgD3jyWhUgj9VsPrfd972yPffA==", + "dev": true, + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.15" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/make-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", + "dev": true, + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true + }, + "node_modules/make-fetch-happen": { + "version": "10.2.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", + "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^16.1.0", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^3.1.6", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^2.0.3", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^9.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/@npmcli/fs": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz", + "integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==", + "dev": true, + "dependencies": { + "@gar/promisify": "^1.1.3", + "semver": "^7.3.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/make-fetch-happen/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/cacache": { + "version": "16.1.3", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-16.1.3.tgz", + "integrity": "sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ==", + "dev": true, + "dependencies": { + "@npmcli/fs": "^2.1.0", + "@npmcli/move-file": "^2.0.0", + "chownr": "^2.0.0", + "fs-minipass": "^2.1.0", + "glob": "^8.0.1", + "infer-owner": "^1.0.4", + "lru-cache": "^7.7.1", + "minipass": "^3.1.6", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "mkdirp": "^1.0.4", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "rimraf": "^3.0.2", + "ssri": "^9.0.0", + "tar": "^6.1.11", + "unique-filename": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/make-fetch-happen/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/make-fetch-happen/node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/make-fetch-happen/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/make-fetch-happen/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-fetch-happen/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/make-fetch-happen/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-fetch-happen/node_modules/ssri": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz", + "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", + "dev": true, + "dependencies": { + "minipass": "^3.1.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/unique-filename": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz", + "integrity": "sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A==", + "dev": true, + "dependencies": { + "unique-slug": "^3.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/unique-slug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-3.0.0.tgz", + "integrity": "sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/memfs": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.3.tgz", + "integrity": "sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==", + "dev": true, + "dependencies": { + "fs-monkey": "^1.0.4" + }, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", + "dev": true, + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/mini-css-extract-plugin": { + "version": "2.7.6", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.6.tgz", + "integrity": "sha512-Qk7HcgaPkGG6eD77mLvZS1nmxlao3j+9PkrT9Uc7HAE1id3F41+DdBRYRYkbyfNRGzm8/YWtzhw7nVPmwhqTQw==", + "dev": true, + "dependencies": { + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-collect": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", + "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", + "dev": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/minipass-collect/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-collect/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/minipass-fetch": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz", + "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==", + "dev": true, + "dependencies": { + "minipass": "^3.1.6", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/minipass-fetch/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-fetch/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/minipass-flush": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", + "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", + "dev": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/minipass-flush/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-flush/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/minipass-json-stream": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz", + "integrity": "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==", + "dev": true, + "dependencies": { + "jsonparse": "^1.3.1", + "minipass": "^3.0.0" + } + }, + "node_modules/minipass-json-stream/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-json-stream/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/minipass-pipeline": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", + "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", + "dev": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-pipeline/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-pipeline/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/minipass-sized": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", + "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", + "dev": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-sized/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-sized/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dev": true, + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/minizlib/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minizlib/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dev": true, + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/modern-normalize": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/modern-normalize/-/modern-normalize-1.1.0.tgz", + "integrity": "sha512-2lMlY1Yc1+CUy0gw4H95uNN7vjbpoED7NNRSBHE25nWfLBdmMzFCsPshlzbxHz+gYMcBEUN8V4pU16prcdPSgA==", + "optional": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/moment": { + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", + "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", + "engines": { + "node": "*" + } + }, + "node_modules/mrmime": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-1.0.1.tgz", + "integrity": "sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/multicast-dns": { + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.5.tgz", + "integrity": "sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==", + "dev": true, + "dependencies": { + "dns-packet": "^5.2.2", + "thunky": "^1.0.2" + }, + "bin": { + "multicast-dns": "cli.js" + } + }, + "node_modules/mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true + }, + "node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/needle": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/needle/-/needle-3.3.1.tgz", + "integrity": "sha512-6k0YULvhpw+RoLNiQCRKOl09Rv1dPLr8hHnVjHqdolKwDrdNyk+Hmrthi4lIGPPz3r39dLx0hsF5s40sZ3Us4Q==", + "dev": true, + "optional": true, + "dependencies": { + "iconv-lite": "^0.6.3", + "sax": "^1.2.4" + }, + "bin": { + "needle": "bin/needle" + }, + "engines": { + "node": ">= 4.4.x" + } + }, + "node_modules/needle/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true + }, + "node_modules/ng-dynamic-component": { + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/ng-dynamic-component/-/ng-dynamic-component-10.7.0.tgz", + "integrity": "sha512-shkht4L2nA632qo5GNendZdQXoHUBuKz6SLLh20qi5oESBm3b5AWyhHu0fb/7tb+f+zAcwtVVe1M0819/bnK9A==", + "dependencies": { + "tslib": "^2.0.0" + }, + "peerDependencies": { + "@angular/common": ">=14.1.3", + "@angular/core": ">=14.1.3", + "rxjs": ">=6.0.0" + } + }, + "node_modules/ng2-charts": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/ng2-charts/-/ng2-charts-5.0.4.tgz", + "integrity": "sha512-AnOZ2KSRw7QjiMMNtXz9tdnO+XrIKP/2MX1TfqEEo2fwFU5c8LFJIYqmkMPkIzAEm/U9y/1psA5TDNmxxjEdgA==", + "dependencies": { + "lodash-es": "^4.17.15", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/cdk": ">=16.0.0", + "@angular/common": ">=16.0.0", + "@angular/core": ">=16.0.0", + "@angular/platform-browser": ">=16.0.0", + "chart.js": "^3.4.0 || ^4.0.0", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/ng2-ckeditor": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/ng2-ckeditor/-/ng2-ckeditor-1.3.7.tgz", + "integrity": "sha512-3VdJLc/MUlFBbLg0rDwO3L+G3ofIn/zulV8rz/L4QVScQHpbJXGLJe6hIYNnAWOPaYFoGpczPC03YR+px3oJdQ==", + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@types/ckeditor": "^4.9.10" + } + }, + "node_modules/ng2-material-dropdown": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ng2-material-dropdown/-/ng2-material-dropdown-1.0.0.tgz", + "integrity": "sha512-waKgEkKQwGZT0dqRAd3ZW+wueYs5Xw9owiPBSMdg5jru5DcKDpUqFaADMqqI7HPuzJCxNJSln6nXX1tMYDbXGA==", + "dependencies": { + "tslib": "^2.0.0" + } + }, + "node_modules/ng2-search-filter": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/ng2-search-filter/-/ng2-search-filter-0.5.1.tgz", + "integrity": "sha512-noN8R+Gyxo5ZuboEOvq+u0zKio6pEf1IVYQTCZfAfXm6ONmzWu/M2xK0di9oVUprDbPBQXCGUuvD5i2GD+35HA==" + }, + "node_modules/ngx-captcha": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/ngx-captcha/-/ngx-captcha-13.0.0.tgz", + "integrity": "sha512-WmT0p0C1iaR4PT7etFdpuQ5rS8EILkizBJhgbP9Prc14jfwYsLTfAsevYPxZPwlU4Dd02osH1//a37Qb93wTWg==", + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/common": ">= 15.0.0", + "@angular/core": ">= 15.0.0" + } + }, + "node_modules/ngx-chips": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ngx-chips/-/ngx-chips-3.0.0.tgz", + "integrity": "sha512-hBJg4m9kCtCfersQef7vr2Ve6j9ntFSoB5ktF8MyOQnpONAriIp46c3Tb2wdf/lMEB2Xmc45snfJKnxKh3zimg==", + "dependencies": { + "ng2-material-dropdown": ">=1.0.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/animations": ">=10.1.5", + "@angular/common": ">=10.1.5", + "@angular/compiler": ">=10.1.5", + "@angular/core": ">=10.1.5", + "@angular/forms": ">=10.1.5" + } + }, + "node_modules/ngx-cookie-service": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/ngx-cookie-service/-/ngx-cookie-service-16.1.0.tgz", + "integrity": "sha512-FrzMjsGCHZCd2sEucigMaGyzImBL0l6gwWn6jmLBhcNVx0D7P8Yvtgk9aUptlqBrVKy4c2upglSa3Ogv3679bw==", + "dependencies": { + "tslib": "^2.0.0" + }, + "peerDependencies": { + "@angular/common": "^16.0.0", + "@angular/core": "^16.0.0" + } + }, + "node_modules/ngx-drag-drop": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/ngx-drag-drop/-/ngx-drag-drop-16.1.0.tgz", + "integrity": "sha512-y2l9pJGD7OupsIRkCElN/JqTgzjg2V9ZxymKGQR7ZjjcdjaP1wKkiFWIgVEvLNtb8wgm10U+9tkGwLClGaHkQA==", + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/common": "^16.0.0", + "@angular/core": "^16.0.0" + } + }, + "node_modules/ngx-image-cropper": { + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/ngx-image-cropper/-/ngx-image-cropper-7.2.1.tgz", + "integrity": "sha512-SRsY9ar+sGbdzQ1D37PQicSkqaMX7n2ADvz8FdHUjGMGYbLjKe0o6fKhy5QKfV7dS6aD1VqhNr0fr486B1r2NA==", + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/common": ">=13.0.0", + "@angular/core": ">=13.0.0" + } + }, + "node_modules/ngx-toastr": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/ngx-toastr/-/ngx-toastr-17.0.2.tgz", + "integrity": "sha512-KehiPx6bkbiUyJbabf0ZA04+ASumS8r/y4wPsUOMI9OrBvBcfq27UQmWuQKoVR8E+9y4Pq7eZkSg2kvxNvpxTA==", + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/common": ">=16.0.0-0", + "@angular/core": ">=16.0.0-0", + "@angular/platform-browser": ">=16.0.0-0" + } + }, + "node_modules/nice-napi": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nice-napi/-/nice-napi-1.0.2.tgz", + "integrity": "sha512-px/KnJAJZf5RuBGcfD+Sp2pAKq0ytz8j+1NehvgIGFkvtvFrDM3T8E4x/JJODXK9WZow8RRGrbA9QQ3hs+pDhA==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "!win32" + ], + "dependencies": { + "node-addon-api": "^3.0.0", + "node-gyp-build": "^4.2.2" + } + }, + "node_modules/node-addon-api": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", + "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", + "dev": true, + "optional": true + }, + "node_modules/node-forge": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", + "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", + "dev": true, + "engines": { + "node": ">= 6.13.0" + } + }, + "node_modules/node-gyp": { + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.1.tgz", + "integrity": "sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ==", + "dev": true, + "dependencies": { + "env-paths": "^2.2.0", + "exponential-backoff": "^3.1.1", + "glob": "^7.1.4", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^10.0.3", + "nopt": "^6.0.0", + "npmlog": "^6.0.0", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.2", + "which": "^2.0.2" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": "^12.13 || ^14.13 || >=16" + } + }, + "node_modules/node-gyp-build": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.0.tgz", + "integrity": "sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==", + "dev": true, + "optional": true, + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "node_modules/node-gyp/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/node-releases": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", + "dev": true + }, + "node_modules/nopt": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", + "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", + "dev": true, + "dependencies": { + "abbrev": "^1.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/normalize-package-data": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", + "integrity": "sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==", + "dev": true, + "dependencies": { + "hosted-git-info": "^6.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize.css": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/normalize.css/-/normalize.css-8.0.1.tgz", + "integrity": "sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg==", + "optional": true + }, + "node_modules/npm-bundled": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-3.0.0.tgz", + "integrity": "sha512-Vq0eyEQy+elFpzsKjMss9kxqb9tG3YHg4dsyWuUENuzvSUWe1TCnW/vV9FkhvBk/brEDoDiVd+M1Btosa6ImdQ==", + "dev": true, + "dependencies": { + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-install-checks": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz", + "integrity": "sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==", + "dev": true, + "dependencies": { + "semver": "^7.1.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-normalize-package-bin": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", + "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-package-arg": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.1.0.tgz", + "integrity": "sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-packlist": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-7.0.4.tgz", + "integrity": "sha512-d6RGEuRrNS5/N84iglPivjaJPxhDbZmlbTwTDX2IbcRHG5bZCdtysYMhwiPvcF4GisXHGn7xsxv+GQ7T/02M5Q==", + "dev": true, + "dependencies": { + "ignore-walk": "^6.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-pick-manifest": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-8.0.1.tgz", + "integrity": "sha512-mRtvlBjTsJvfCCdmPtiu2bdlx8d/KXtF7yNXNWe7G0Z36qWA9Ny5zXsI2PfBZEv7SXgoxTmNaTzGSbbzDZChoA==", + "dev": true, + "dependencies": { + "npm-install-checks": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0", + "npm-package-arg": "^10.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch": { + "version": "14.0.5", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-14.0.5.tgz", + "integrity": "sha512-kIDMIo4aBm6xg7jOttupWZamsZRkAqMqwqqbVXnUqstY5+tapvv6bkH/qMR76jdgV+YljEUCyWx3hRYMrJiAgA==", + "dev": true, + "dependencies": { + "make-fetch-happen": "^11.0.0", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.1.2", + "npm-package-arg": "^10.0.0", + "proc-log": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/npm-registry-fetch/node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/npm-registry-fetch/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/npm-registry-fetch/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/minipass-fetch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "dev": true, + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/npm-registry-fetch/node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npmlog": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", + "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", + "dev": true, + "dependencies": { + "are-we-there-yet": "^3.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^4.0.3", + "set-blocking": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dev": true, + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/numeral": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/numeral/-/numeral-2.0.6.tgz", + "integrity": "sha512-qaKRmtYPZ5qdw4jWJD6bxEf1FJEqllJrwxCLIm0sQU/A7v2/czigzOb+C2uSiFsa9lBUzeH7M1oK+Q+OLxL3kA==", + "engines": { + "node": "*" + } + }, + "node_modules/nwsapi": { + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.7.tgz", + "integrity": "sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==", + "dev": true + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-path": { + "version": "0.11.8", + "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.11.8.tgz", + "integrity": "sha512-YJjNZrlXJFM42wTBn6zgOJVar9KFJvzx6sTWDte8sWZF//cnjl0BxHNpfZx+ZffXX63A9q0b1zsFiBX4g4X5KA==", + "dev": true, + "engines": { + "node": ">= 10.12.0" + } + }, + "node_modules/obuf": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", + "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", + "dev": true + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/on-headers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", + "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/open": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", + "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", + "dev": true, + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "dev": true, + "dependencies": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ora/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/ora/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ora/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dev": true, + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-retry": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", + "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", + "dev": true, + "dependencies": { + "@types/retry": "0.12.0", + "retry": "^0.13.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-retry/node_modules/retry": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/pacote": { + "version": "15.2.0", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-15.2.0.tgz", + "integrity": "sha512-rJVZeIwHTUta23sIZgEIM62WYwbmGbThdbnkt81ravBplQv+HjyroqnLRNH2+sLJHcGZmLRmhPwACqhfTcOmnA==", + "dev": true, + "dependencies": { + "@npmcli/git": "^4.0.0", + "@npmcli/installed-package-contents": "^2.0.1", + "@npmcli/promise-spawn": "^6.0.1", + "@npmcli/run-script": "^6.0.0", + "cacache": "^17.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^5.0.0", + "npm-package-arg": "^10.0.0", + "npm-packlist": "^7.0.0", + "npm-pick-manifest": "^8.0.0", + "npm-registry-fetch": "^14.0.0", + "proc-log": "^3.0.0", + "promise-retry": "^2.0.1", + "read-package-json": "^6.0.0", + "read-package-json-fast": "^3.0.0", + "sigstore": "^1.3.0", + "ssri": "^10.0.0", + "tar": "^6.1.11" + }, + "bin": { + "pacote": "lib/bin.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse-node-version": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", + "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/parse5": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", + "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", + "devOptional": true, + "dependencies": { + "entities": "^4.4.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5-html-rewriting-stream": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5-html-rewriting-stream/-/parse5-html-rewriting-stream-7.0.0.tgz", + "integrity": "sha512-mazCyGWkmCRWDI15Zp+UiCqMp/0dgEmkZRvhlsqqKYr4SsVm/TvnSpD9fCvqCA2zoWJcfRym846ejWBBHRiYEg==", + "dev": true, + "dependencies": { + "entities": "^4.3.0", + "parse5": "^7.0.0", + "parse5-sax-parser": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5-sax-parser": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-7.0.0.tgz", + "integrity": "sha512-5A+v2SNsq8T6/mG3ahcz8ZtQ0OUFTatxPbeidoMB7tkJSGDY3tdfl4MHovtLQHkEn5CGxijNWRQHhRQ6IRpXKg==", + "dev": true, + "dependencies": { + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "dev": true, + "dependencies": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", + "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "dev": true, + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", + "optional": true + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/piscina": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/piscina/-/piscina-4.0.0.tgz", + "integrity": "sha512-641nAmJS4k4iqpNUqfggqUBUMmlw0ZoM5VZKdQkV2e970Inn3Tk9kroCc1wpsYLD07vCwpys5iY0d3xI/9WkTg==", + "dev": true, + "dependencies": { + "eventemitter-asyncresource": "^1.0.0", + "hdr-histogram-js": "^2.0.1", + "hdr-histogram-percentiles-obj": "^3.0.0" + }, + "optionalDependencies": { + "nice-napi": "^1.0.2" + } + }, + "node_modules/pkg-dir": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-7.0.0.tgz", + "integrity": "sha512-Ie9z/WINcxxLp27BKOCHGde4ITq9UklYKDzVo1nhk5sqGEXU3FpkwP5GM2voTGJkGd9B3Otl+Q4uwSOeSUtOBA==", + "dev": true, + "dependencies": { + "find-up": "^6.3.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pkg-dir/node_modules/find-up": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-6.3.0.tgz", + "integrity": "sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==", + "dev": true, + "dependencies": { + "locate-path": "^7.1.0", + "path-exists": "^5.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pkg-dir/node_modules/locate-path": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", + "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==", + "dev": true, + "dependencies": { + "p-locate": "^6.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pkg-dir/node_modules/p-limit": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", + "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^1.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pkg-dir/node_modules/p-locate": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz", + "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==", + "dev": true, + "dependencies": { + "p-limit": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pkg-dir/node_modules/path-exists": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", + "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", + "dev": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/pngjs": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz", + "integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==", + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/postcss": { + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "nanoid": "^3.3.6", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-loader": { + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-7.3.3.tgz", + "integrity": "sha512-YgO/yhtevGO/vJePCQmTxiaEwER94LABZN0ZMT4A0vsak9TpO+RvKRs7EmJ8peIlB9xfXCsS7M8LjqncsUZ5HA==", + "dev": true, + "dependencies": { + "cosmiconfig": "^8.2.0", + "jiti": "^1.18.2", + "semver": "^7.3.8" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "postcss": "^7.0.0 || ^8.0.1", + "webpack": "^5.0.0" + } + }, + "node_modules/postcss-modules-extract-imports": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", + "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-local-by-default": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.4.tgz", + "integrity": "sha512-L4QzMnOdVwRm1Qb8m4x8jsZzKAaPAgrUF1r/hjDR2Xj7R+8Zsf97jAlSQzWtKx5YNiNGN8QxmPFIc/sh+RQl+Q==", + "dev": true, + "dependencies": { + "icss-utils": "^5.0.0", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-scope": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.1.1.tgz", + "integrity": "sha512-uZgqzdTleelWjzJY+Fhti6F3C9iF1JR/dODLs/JDefozYcKTBCdD8BIl6nNPbTbcLnGrk56hzwZC2DaGNvYjzA==", + "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.4" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-values": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", + "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", + "dev": true, + "dependencies": { + "icss-utils": "^5.0.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.0.15", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.15.tgz", + "integrity": "sha512-rEYkQOMUCEMhsKbK66tbEU9QVIxbhN18YiniAwA7XQYTVBqrBy+P2p5JcdqsHgKM2zWylp8d7J6eszocfds5Sw==", + "dev": true, + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true + }, + "node_modules/pretty-bytes": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", + "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/proc-log": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz", + "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "node_modules/promise-inflight": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", + "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", + "dev": true + }, + "node_modules/promise-retry": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", + "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", + "dev": true, + "dependencies": { + "err-code": "^2.0.2", + "retry": "^0.12.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/prr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", + "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==", + "dev": true, + "optional": true + }, + "node_modules/psl": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", + "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==", + "dev": true + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/qjobs": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz", + "integrity": "sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==", + "dev": true, + "engines": { + "node": ">=0.9" + } + }, + "node_modules/qrcode": { + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.3.tgz", + "integrity": "sha512-puyri6ApkEHYiVl4CFzo1tDkAZ+ATcnbJrJ6RiBM1Fhctdn/ix9MTE3hRph33omisEbC/2fcfemsseiKgBPKZg==", + "dependencies": { + "dijkstrajs": "^1.0.1", + "encode-utf8": "^1.0.3", + "pngjs": "^5.0.0", + "yargs": "^15.3.1" + }, + "bin": { + "qrcode": "bin/qrcode" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/qrcode/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/qrcode/node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/qrcode/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/qrcode/node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" + }, + "node_modules/qrcode/node_modules/yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/qrcode/node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/querystringify": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", + "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", + "dev": true + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/raf": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", + "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", + "optional": true, + "dependencies": { + "performance-now": "^2.1.0" + } + }, + "node_modules/ramda": { + "version": "0.29.1", + "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.29.1.tgz", + "integrity": "sha512-OfxIeWzd4xdUNxlWhgFazxsA/nl3mS4/jGZI5n00uWOoSSFRhC1b6gl6xvmzUamgmqELraWp0J/qqVlXYPDPyA==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ramda" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", + "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/read-package-json": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-6.0.4.tgz", + "integrity": "sha512-AEtWXYfopBj2z5N5PbkAOeNHRPUg5q+Nen7QLxV8M2zJq1ym6/lCz3fYNTCXe19puu2d06jfHhrP7v/S2PtMMw==", + "dev": true, + "dependencies": { + "glob": "^10.2.2", + "json-parse-even-better-errors": "^3.0.0", + "normalize-package-data": "^5.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json-fast": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz", + "integrity": "sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==", + "dev": true, + "dependencies": { + "json-parse-even-better-errors": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json-fast/node_modules/json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/read-package-json/node_modules/glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dev": true, + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/json-parse-even-better-errors": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz", + "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/reflect-metadata": { + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.14.tgz", + "integrity": "sha512-ZhYeb6nRaXCfhnndflDK8qI6ZQ/YcWZCISRAWICW9XYqMUwjZM9Z0DveWX/ABN01oxSHwVxKQmxeYZSsm0jh5A==", + "dev": true + }, + "node_modules/regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", + "dev": true + }, + "node_modules/regenerate-unicode-properties": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.1.tgz", + "integrity": "sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q==", + "dev": true, + "dependencies": { + "regenerate": "^1.4.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" + }, + "node_modules/regenerator-transform": { + "version": "0.15.2", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.2.tgz", + "integrity": "sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.8.4" + } + }, + "node_modules/regex-parser": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/regex-parser/-/regex-parser-2.3.0.tgz", + "integrity": "sha512-TVILVSz2jY5D47F4mA4MppkBrafEaiUWJO/TcZHEIuI13AqoZMkK1WMA4Om1YkYbTx+9Ki1/tSUXbceyr9saRg==", + "dev": true + }, + "node_modules/regexpu-core": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz", + "integrity": "sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==", + "dev": true, + "dependencies": { + "@babel/regjsgen": "^0.8.0", + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.1.0", + "regjsparser": "^0.9.1", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regjsparser": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz", + "integrity": "sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==", + "dev": true, + "dependencies": { + "jsesc": "~0.5.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "node_modules/regjsparser/node_modules/jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" + }, + "node_modules/requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", + "dev": true + }, + "node_modules/resolve": { + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", + "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", + "dev": true, + "dependencies": { + "is-core-module": "^2.11.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-url-loader": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-5.0.0.tgz", + "integrity": "sha512-uZtduh8/8srhBoMx//5bwqjQ+rfYOUq8zC9NrMUGtjBiGTtFJM42s58/36+hTqeqINcnYe08Nj3LkK9lW4N8Xg==", + "dev": true, + "dependencies": { + "adjust-sourcemap-loader": "^4.0.0", + "convert-source-map": "^1.7.0", + "loader-utils": "^2.0.0", + "postcss": "^8.2.14", + "source-map": "0.6.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/resolve-url-loader/node_modules/loader-utils": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/resolve-url-loader/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dev": true, + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", + "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rfdc": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.1.tgz", + "integrity": "sha512-r5a3l5HzYlIC68TpmYKlxWjmOP6wiPJ1vWv2HeLhNsRZMrCkxeqxiHlQ21oXmQ4F3SiryXBHhAD7JZqvOJjFmg==" + }, + "node_modules/rgbcolor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/rgbcolor/-/rgbcolor-1.0.1.tgz", + "integrity": "sha512-9aZLIrhRaD97sgVhtJOW6ckOEh6/GnvQtdVNfdZ6s67+3/XwLS9lBcQYzEEhYVeUowN7pRzMLsyGhK2i/xvWbw==", + "optional": true, + "engines": { + "node": ">= 0.8.15" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rollup": { + "version": "3.29.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz", + "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==", + "dev": true, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=14.18.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/run-async": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", + "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/sass": { + "version": "1.64.1", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.64.1.tgz", + "integrity": "sha512-16rRACSOFEE8VN7SCgBu1MpYCyN7urj9At898tyzdXFhC+a+yOX5dXwAR7L8/IdPJ1NB8OYoXmD55DM30B2kEQ==", + "dev": true, + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-loader": { + "version": "13.3.2", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-13.3.2.tgz", + "integrity": "sha512-CQbKl57kdEv+KDLquhC+gE3pXt74LEAzm+tzywcA0/aHZuub8wTErbjAoNI57rPUWRYRNC5WUnNl8eGJNbDdwg==", + "dev": true, + "dependencies": { + "neo-async": "^2.6.2" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "fibers": ">= 3.1.0", + "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", + "sass": "^1.3.0", + "sass-embedded": "*", + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "fibers": { + "optional": true + }, + "node-sass": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + } + } + }, + "node_modules/sax": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.3.0.tgz", + "integrity": "sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==", + "dev": true, + "optional": true + }, + "node_modules/saxes": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "dev": true, + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/schema-utils": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", + "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.9.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.1.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/select-hose": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", + "integrity": "sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==", + "dev": true + }, + "node_modules/selfsigned": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.4.1.tgz", + "integrity": "sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q==", + "dev": true, + "dependencies": { + "@types/node-forge": "^1.3.0", + "node-forge": "^1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semver/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semver/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/send": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", + "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/send/node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/serialize-javascript": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw==", + "dev": true, + "dependencies": { + "accepts": "~1.3.4", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "~1.0.3", + "http-errors": "~1.6.2", + "mime-types": "~2.1.17", + "parseurl": "~1.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/serve-index/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/serve-index/node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/serve-index/node_modules/http-errors": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==", + "dev": true, + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/serve-index/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==", + "dev": true + }, + "node_modules/serve-index/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + }, + "node_modules/serve-index/node_modules/setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "node_modules/serve-index/node_modules/statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/serve-static": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", + "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" + }, + "node_modules/set-function-length": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.1.tgz", + "integrity": "sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==" + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/shell-quote": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", + "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.5.tgz", + "integrity": "sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ==", + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "node_modules/sigstore": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-1.9.0.tgz", + "integrity": "sha512-0Zjz0oe37d08VeOtBIuB6cRriqXse2e8w+7yIy2XSXjshRKxbc2KkhXjL229jXSxEm7UbcjS76wcJDGQddVI9A==", + "dev": true, + "dependencies": { + "@sigstore/bundle": "^1.1.0", + "@sigstore/protobuf-specs": "^0.2.0", + "@sigstore/sign": "^1.0.0", + "@sigstore/tuf": "^1.0.3", + "make-fetch-happen": "^11.0.1" + }, + "bin": { + "sigstore": "bin/sigstore.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/sigstore/node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/sigstore/node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/sigstore/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/sigstore/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/sigstore/node_modules/minipass-fetch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "dev": true, + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/sigstore/node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/slash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", + "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "dev": true, + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socket.io": { + "version": "4.7.4", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.7.4.tgz", + "integrity": "sha512-DcotgfP1Zg9iP/dH9zvAQcWrE0TtbMVwXmlV4T4mqsvY+gw+LqUGPfx2AoVyRk0FLME+GQhufDMyacFmw7ksqw==", + "dev": true, + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "cors": "~2.8.5", + "debug": "~4.3.2", + "engine.io": "~6.5.2", + "socket.io-adapter": "~2.5.2", + "socket.io-parser": "~4.2.4" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "node_modules/socket.io-adapter": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.5.2.tgz", + "integrity": "sha512-87C3LO/NOMc+eMcpcxUBebGjkpMDkNBS9tf7KJqcDsmL936EChtVva71Dw2q4tQcuVC+hAUy4an2NO/sYXmwRA==", + "dev": true, + "dependencies": { + "ws": "~8.11.0" + } + }, + "node_modules/socket.io-adapter/node_modules/ws": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "dev": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/socket.io-parser": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz", + "integrity": "sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==", + "dev": true, + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/sockjs": { + "version": "0.3.24", + "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.24.tgz", + "integrity": "sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ==", + "dev": true, + "dependencies": { + "faye-websocket": "^0.11.3", + "uuid": "^8.3.2", + "websocket-driver": "^0.7.4" + } + }, + "node_modules/socks": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.3.tgz", + "integrity": "sha512-vfuYK48HXCTFD03G/1/zkIls3Ebr2YNa4qU9gHDZdblHLiqhJrJGkY3+0Nx0JpN9qBhJbVObc1CNciT1bIZJxw==", + "dev": true, + "dependencies": { + "ip-address": "^9.0.5", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks-proxy-agent": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz", + "integrity": "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==", + "dev": true, + "dependencies": { + "agent-base": "^6.0.2", + "debug": "^4.3.3", + "socks": "^2.6.2" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-loader": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-4.0.1.tgz", + "integrity": "sha512-oqXpzDIByKONVY8g1NUPOTQhe0UTU5bWUl32GSkqK2LjJj0HmwTMVKxcUip0RgAYhY1mqgOxjbQM48a0mmeNfA==", + "dev": true, + "dependencies": { + "abab": "^2.0.6", + "iconv-lite": "^0.6.3", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.72.1" + } + }, + "node_modules/source-map-loader/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "dev": true + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.17", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.17.tgz", + "integrity": "sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==", + "dev": true + }, + "node_modules/spdy": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.2.tgz", + "integrity": "sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==", + "dev": true, + "dependencies": { + "debug": "^4.1.0", + "handle-thing": "^2.0.0", + "http-deceiver": "^1.2.7", + "select-hose": "^2.0.0", + "spdy-transport": "^3.0.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/spdy-transport": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz", + "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==", + "dev": true, + "dependencies": { + "debug": "^4.1.0", + "detect-node": "^2.0.4", + "hpack.js": "^2.1.6", + "obuf": "^1.1.2", + "readable-stream": "^3.0.6", + "wbuf": "^1.7.3" + } + }, + "node_modules/spdy-transport/node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true + }, + "node_modules/ssri": { + "version": "10.0.5", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz", + "integrity": "sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A==", + "dev": true, + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/ssri/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/stackblur-canvas": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/stackblur-canvas/-/stackblur-canvas-2.7.0.tgz", + "integrity": "sha512-yf7OENo23AGJhBriGx0QivY5JP6Y1HbrrDI6WLt6C5auYZXlQrheoY8hD4ibekFKz1HOfE48Ww8kMWMnJD/zcQ==", + "optional": true, + "engines": { + "node": ">=0.1.14" + } + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/streamroller": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.1.5.tgz", + "integrity": "sha512-KFxaM7XT+irxvdqSP1LGLgNWbYN7ay5owZ3r/8t77p+EtSUAfUgtl7be3xtqtOmGUl9K9YPO2ca8133RlTjvKw==", + "dev": true, + "dependencies": { + "date-format": "^4.0.14", + "debug": "^4.3.4", + "fs-extra": "^8.1.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/svg-pathdata": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/svg-pathdata/-/svg-pathdata-6.0.3.tgz", + "integrity": "sha512-qsjeeq5YjBZ5eMdFuUa4ZosMLxgr5RZ+F+Y1OrDhuOCEInRMA3x74XdBtggJcj9kOeInz0WE+LgCPDkZFlBYJw==", + "optional": true, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/sweetalert2": { + "version": "11.10.5", + "resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.10.5.tgz", + "integrity": "sha512-q9eE3EKhMcpIDU/Xcz7z5lk8axCGkgxwK47gXGrrfncnBJWxHPPHnBVAjfsVXcTt8Yi8U6HNEcBRSu+qGeyFdA==", + "funding": { + "type": "individual", + "url": "https://github.com/sponsors/limonte" + } + }, + "node_modules/symbol-observable": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-4.0.0.tgz", + "integrity": "sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ==", + "dev": true, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/symbol-tree": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", + "dev": true + }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/tar": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz", + "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==", + "dev": true, + "dependencies": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^5.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/tar/node_modules/fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/tar/node_modules/fs-minipass/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tar/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/tar/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/terser": { + "version": "5.19.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.2.tgz", + "integrity": "sha512-qC5+dmecKJA4cpYxRa5aVkKehYsQKc+AHeKl0Oe62aYjBL8ZA33tTljktDHJSaxxMnbI5ZYw+o/S2DxxLu8OfA==", + "dev": true, + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser-webpack-plugin": { + "version": "5.3.10", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz", + "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==", + "dev": true, + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.20", + "jest-worker": "^27.4.5", + "schema-utils": "^3.1.1", + "serialize-javascript": "^6.0.1", + "terser": "^5.26.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/terser-webpack-plugin/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/terser-webpack-plugin/node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/terser-webpack-plugin/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/terser-webpack-plugin/node_modules/schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/terser-webpack-plugin/node_modules/terser": { + "version": "5.27.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.27.1.tgz", + "integrity": "sha512-29wAr6UU/oQpnTw5HoadwjUZnFQXGdOfj0LjZ4sVxzqwHh/QVkvr7m8y9WoR4iN3FRitVduTc6KdjcW38Npsug==", + "dev": true, + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "dev": true, + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/text-segmentation": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/text-segmentation/-/text-segmentation-1.0.3.tgz", + "integrity": "sha512-iOiPUo/BGnZ6+54OsWxZidGCsdU8YbE4PSpdPinp7DeMtUJNJBoJ/ouUSTJjHkh1KntHaltHl/gDs2FC4i5+Nw==", + "optional": true, + "dependencies": { + "utrie": "^1.0.2" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", + "dev": true + }, + "node_modules/thunky": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", + "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==", + "dev": true + }, + "node_modules/tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "dependencies": { + "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/tough-cookie": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", + "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", + "dev": true, + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.2.0", + "url-parse": "^1.5.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tough-cookie/node_modules/universalify": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", + "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==", + "dev": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/tr46": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", + "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", + "dev": true, + "dependencies": { + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "dev": true, + "bin": { + "tree-kill": "cli.js" + } + }, + "node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/ts-node/node_modules/acorn-walk": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", + "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, + "node_modules/tslint": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/tslint/-/tslint-6.1.3.tgz", + "integrity": "sha512-IbR4nkT96EQOvKE2PW/djGz8iGNeJ4rF2mBfiYaR/nvUWYKJhLwimoJKgjIFEIDibBtOevj7BqCRL4oHeWWUCg==", + "deprecated": "TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "builtin-modules": "^1.1.1", + "chalk": "^2.3.0", + "commander": "^2.12.1", + "diff": "^4.0.1", + "glob": "^7.1.1", + "js-yaml": "^3.13.1", + "minimatch": "^3.0.4", + "mkdirp": "^0.5.3", + "resolve": "^1.3.2", + "semver": "^5.3.0", + "tslib": "^1.13.0", + "tsutils": "^2.29.0" + }, + "bin": { + "tslint": "bin/tslint" + }, + "engines": { + "node": ">=4.8.0" + }, + "peerDependencies": { + "typescript": ">=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >=3.0.0-dev || >= 3.1.0-dev || >= 3.2.0-dev || >= 4.0.0-dev" + } + }, + "node_modules/tslint/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/tslint/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "node_modules/tsutils": { + "version": "2.29.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz", + "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==", + "dev": true, + "dependencies": { + "tslib": "^1.8.1" + }, + "peerDependencies": { + "typescript": ">=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >= 3.0.0-dev || >= 3.1.0-dev" + } + }, + "node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "node_modules/tuf-js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-1.1.7.tgz", + "integrity": "sha512-i3P9Kgw3ytjELUfpuKVDNBJvk4u5bXL6gskv572mcevPbSKCV3zt3djhmlEQ65yERjIbOSncy7U4cQJaB1CBCg==", + "dev": true, + "dependencies": { + "@tufjs/models": "1.0.4", + "debug": "^4.3.4", + "make-fetch-happen": "^11.1.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/tuf-js/node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/tuf-js/node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/tuf-js/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/tuf-js/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/tuf-js/node_modules/minipass-fetch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz", + "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==", + "dev": true, + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/tuf-js/node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/typed-assert": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/typed-assert/-/typed-assert-1.0.9.tgz", + "integrity": "sha512-KNNZtayBCtmnNmbo5mG47p1XsCyrx6iVqomjcZnec/1Y5GGARaxPs6r49RnSPeUP3YjNYiU9sQHAtY4BBvnZwg==", + "dev": true + }, + "node_modules/typescript": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", + "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/ua-parser-js": { + "version": "0.7.37", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.37.tgz", + "integrity": "sha512-xV8kqRKM+jhMvcHWUKthV9fNebIzrNy//2O9ZwWcfiBFR5f25XVZPLlEajk/sf3Ra15V92isyQqnIEXRDaZWEA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + }, + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + } + ], + "engines": { + "node": "*" + } + }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true + }, + "node_modules/unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", + "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "dev": true, + "dependencies": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-value-ecmascript": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz", + "integrity": "sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-property-aliases-ecmascript": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz", + "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unique-filename": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", + "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", + "dev": true, + "dependencies": { + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/unique-slug": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", + "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", + "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/url-parse": { + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", + "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", + "dev": true, + "dependencies": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/utrie": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/utrie/-/utrie-1.0.2.tgz", + "integrity": "sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==", + "optional": true, + "dependencies": { + "base64-arraybuffer": "^1.0.2" + } + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/validate-npm-package-name": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz", + "integrity": "sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==", + "dev": true, + "dependencies": { + "builtins": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/vanilla-colorful": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/vanilla-colorful/-/vanilla-colorful-0.7.2.tgz", + "integrity": "sha512-z2YZusTFC6KnLERx1cgoIRX2CjPRP0W75N+3CC6gbvdX5Ch47rZkEMGO2Xnf+IEmi3RiFLxS18gayMA27iU7Kg==" + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/vite": { + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.2.tgz", + "integrity": "sha512-tBCZBNSBbHQkaGyhGCDUGqeo2ph8Fstyp6FMSvTtsXeZSPpSMGlviAOav2hxVTqFcx8Hj/twtWKsMJXNY0xI8w==", + "dev": true, + "dependencies": { + "esbuild": "^0.18.10", + "postcss": "^8.4.27", + "rollup": "^3.27.1" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + }, + "peerDependencies": { + "@types/node": ">= 14", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/void-elements": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", + "integrity": "sha512-qZKX4RnBzH2ugr8Lxa7x+0V6XD9Sb/ouARtiasEQCHB1EVU4NXtmHsDDrx1dO4ne5fc3J6EW05BP1Dl0z0iung==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/w3c-hr-time": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", + "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", + "deprecated": "Use your platform's native performance.now() and performance.timeOrigin.", + "dev": true, + "dependencies": { + "browser-process-hrtime": "^1.0.0" + } + }, + "node_modules/w3c-xmlserializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz", + "integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==", + "dev": true, + "dependencies": { + "xml-name-validator": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/watchpack": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", + "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==", + "dev": true, + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/wbuf": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", + "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", + "dev": true, + "dependencies": { + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "dev": true, + "dependencies": { + "defaults": "^1.0.3" + } + }, + "node_modules/webidl-conversions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", + "dev": true, + "engines": { + "node": ">=10.4" + } + }, + "node_modules/webpack": { + "version": "5.88.2", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz", + "integrity": "sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==", + "dev": true, + "dependencies": { + "@types/eslint-scope": "^3.7.3", + "@types/estree": "^1.0.0", + "@webassemblyjs/ast": "^1.11.5", + "@webassemblyjs/wasm-edit": "^1.11.5", + "@webassemblyjs/wasm-parser": "^1.11.5", + "acorn": "^8.7.1", + "acorn-import-assertions": "^1.9.0", + "browserslist": "^4.14.5", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.15.0", + "es-module-lexer": "^1.2.1", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.9", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.2.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.3.7", + "watchpack": "^2.4.0", + "webpack-sources": "^3.2.3" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-dev-middleware": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-6.1.1.tgz", + "integrity": "sha512-y51HrHaFeeWir0YO4f0g+9GwZawuigzcAdRNon6jErXy/SqV/+O6eaVAzDqE6t3e3NpGeR5CS+cCDaTC+V3yEQ==", + "dev": true, + "dependencies": { + "colorette": "^2.0.10", + "memfs": "^3.4.12", + "mime-types": "^2.1.31", + "range-parser": "^1.2.1", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + } + } + }, + "node_modules/webpack-dev-server": { + "version": "4.15.1", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.15.1.tgz", + "integrity": "sha512-5hbAst3h3C3L8w6W4P96L5vaV0PxSmJhxZvWKYIdgxOQm8pNZ5dEOmmSLBVpP85ReeyRt6AS1QJNyo/oFFPeVA==", + "dev": true, + "dependencies": { + "@types/bonjour": "^3.5.9", + "@types/connect-history-api-fallback": "^1.3.5", + "@types/express": "^4.17.13", + "@types/serve-index": "^1.9.1", + "@types/serve-static": "^1.13.10", + "@types/sockjs": "^0.3.33", + "@types/ws": "^8.5.5", + "ansi-html-community": "^0.0.8", + "bonjour-service": "^1.0.11", + "chokidar": "^3.5.3", + "colorette": "^2.0.10", + "compression": "^1.7.4", + "connect-history-api-fallback": "^2.0.0", + "default-gateway": "^6.0.3", + "express": "^4.17.3", + "graceful-fs": "^4.2.6", + "html-entities": "^2.3.2", + "http-proxy-middleware": "^2.0.3", + "ipaddr.js": "^2.0.1", + "launch-editor": "^2.6.0", + "open": "^8.0.9", + "p-retry": "^4.5.0", + "rimraf": "^3.0.2", + "schema-utils": "^4.0.0", + "selfsigned": "^2.1.1", + "serve-index": "^1.9.1", + "sockjs": "^0.3.24", + "spdy": "^4.0.2", + "webpack-dev-middleware": "^5.3.1", + "ws": "^8.13.0" + }, + "bin": { + "webpack-dev-server": "bin/webpack-dev-server.js" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.37.0 || ^5.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + }, + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-dev-server/node_modules/ipaddr.js": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.1.0.tgz", + "integrity": "sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/webpack-dev-server/node_modules/webpack-dev-middleware": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz", + "integrity": "sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==", + "dev": true, + "dependencies": { + "colorette": "^2.0.10", + "memfs": "^3.4.3", + "mime-types": "^2.1.31", + "range-parser": "^1.2.1", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "node_modules/webpack-dev-server/node_modules/ws": { + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz", + "integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==", + "dev": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/webpack-merge": { + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.9.0.tgz", + "integrity": "sha512-6NbRQw4+Sy50vYNTw7EyOn41OZItPiXB8GNv3INSoe3PSFaHJEz3SHTrYVaRm2LilNGnFUzh0FAwqPEmU/CwDg==", + "dev": true, + "dependencies": { + "clone-deep": "^4.0.1", + "wildcard": "^2.0.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/webpack-sources": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "dev": true, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpack-subresource-integrity": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/webpack-subresource-integrity/-/webpack-subresource-integrity-5.1.0.tgz", + "integrity": "sha512-sacXoX+xd8r4WKsy9MvH/q/vBtEHr86cpImXwyg74pFIpERKt6FmB8cXpeuh0ZLgclOlHI4Wcll7+R5L02xk9Q==", + "dev": true, + "dependencies": { + "typed-assert": "^1.0.8" + }, + "engines": { + "node": ">= 12" + }, + "peerDependencies": { + "html-webpack-plugin": ">= 5.0.0-beta.1 < 6", + "webpack": "^5.12.0" + }, + "peerDependenciesMeta": { + "html-webpack-plugin": { + "optional": true + } + } + }, + "node_modules/webpack/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/webpack/node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/webpack/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/webpack/node_modules/schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/websocket-driver": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz", + "integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==", + "dev": true, + "dependencies": { + "http-parser-js": ">=0.5.1", + "safe-buffer": ">=5.1.0", + "websocket-extensions": ">=0.1.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/websocket-extensions": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz", + "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/whatwg-encoding": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", + "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==", + "dev": true, + "dependencies": { + "iconv-lite": "0.4.24" + } + }, + "node_modules/whatwg-mimetype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", + "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==", + "dev": true + }, + "node_modules/whatwg-url": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz", + "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", + "dev": true, + "dependencies": { + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/which-module": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", + "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==" + }, + "node_modules/wide-align": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", + "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", + "dev": true, + "dependencies": { + "string-width": "^1.0.2 || 2 || 3 || 4" + } + }, + "node_modules/wildcard": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz", + "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", + "dev": true + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true + }, + "node_modules/ws": { + "version": "7.5.9", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", + "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "dev": true, + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xlsx": { + "version": "0.19.3", + "resolved": "https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz", + "integrity": "sha512-8IfgFctB7fkvqkTGF2MnrDrC6vzE28Wcc1aSbdDQ+4/WFtzfS73YuapbuaPZwGqpR2e0EeDMIrFOJubQVLWFNA==", + "license": "Apache-2.0", + "bin": { + "xlsx": "bin/xlsx.njs" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/xml-name-validator": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", + "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==", + "dev": true + }, + "node_modules/xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", + "dev": true + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/yocto-queue": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", + "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==", + "dev": true, + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zone.js": { + "version": "0.13.3", + "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.13.3.tgz", + "integrity": "sha512-MKPbmZie6fASC/ps4dkmIhaT5eonHkEt6eAy80K42tAm0G2W+AahLJjbfi6X9NPdciOE9GRFTTM8u2IiF6O3ww==", + "dependencies": { + "tslib": "^2.3.0" + } + } + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/package.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/package.json new file mode 100644 index 0000000..390434a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/package.json @@ -0,0 +1,89 @@ +{ + "name": "angular-clarity", + "version": "16.0.4", + "subVersion": "2023.06.02-01", + "scripts": { + "ng": "ng", + "start": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng serve --port 4201 -o", + "start:https": "ng serve --port 4201 --ssl -o", + "build-prod": "node --max_old_space_size=64384 ./node_modules/@angular/cli/bin/ng build --prod ", + "build": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng build --base-href ./ --configuration production --aot --build-optimizer", + "test": "ng test", + "lint": "ng lint", + "e2e": "ng e2e" + }, + "private": true, + "dependencies": { + "@angular/animations": "^16.0.4", + "@angular/cdk": "^16.2.4", + "@angular/common": "^16.0.4", + "@angular/compiler": "^16.0.4", + "@angular/core": "^16.0.4", + "@angular/forms": "^16.0.4", + "@angular/platform-browser": "^16.0.4", + "@angular/platform-browser-dynamic": "^16.0.4", + "@angular/router": "^16.0.4", + "@auth0/angular-jwt": "^5.1.2", + "@cds/core": "^6.9.0", + "@ckeditor/ckeditor5-angular": "^7.0.1", + "@ckeditor/ckeditor5-build-classic": "^40.0.0", + "@clr/angular": "^15.5.0", + "@clr/core": "^4.0.15", + "@clr/icons": "^13.0.2", + "@clr/ui": "^15.5.0", + "@ctrl/ngx-codemirror": "^7.0.0", + "@ngx-translate/core": "^16.0.3", + "@ngx-translate/http-loader": "^16.0.0", + "@swimlane/ngx-charts": "^20.4.1", + "@webcomponents/custom-elements": "^1.6.0", + "@webcomponents/webcomponentsjs": "^2.8.0", + "angular-gridster2": "^16.0.0", + "angularx-qrcode": "^16.0.2", + "chart.js": "^4.4.0", + "dom-to-image": "^2.6.0", + "express": "^4.18.2", + "file-saver": "^2.0.5", + "highcharts": "^11.1.0", + "highcharts-angular": "^3.1.2", + "jquery": "^3.7.1", + "jspdf": "^2.5.1", + "jszip": "^3.10.1", + "lit-html": "^3.1.0", + "lodash": "^4.17.21", + "moment": "^2.29.4", + "ng-dynamic-component": "^10.1.1", + "ng2-charts": "^5.0.3", + "ng2-ckeditor": "^1.3.7", + "ng2-search-filter": "^0.5.1", + "ngx-captcha": "^13.0.0", + "ngx-chips": "^3.0.0", + "ngx-cookie-service": "^16.0.0", + "ngx-drag-drop": "^16.1.0", + "ngx-image-cropper": "^7.0.2", + "ngx-toastr": "^17.0.2", + "numeral": "^2.0.6", + "rxjs": "^7.8.1", + "sweetalert2": "^11.4.8", + "tslib": "^2.5.2", + "xlsx": "https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz", + "zone.js": "~0.13.0" + }, + "devDependencies": { + "@angular-devkit/build-angular": "^16.0.4", + "@angular/cli": "^16.0.4", + "@angular/compiler-cli": "^16.0.4", + "@types/jasmine": "~4.3.2", + "@types/jasminewd2": "~2.0.10", + "@types/node": "^20.2.5", + "jasmine-core": "~5.0.0", + "jasmine-spec-reporter": "~7.0.0", + "karma": "~6.4.2", + "karma-chrome-launcher": "~3.2.0", + "karma-coverage-istanbul-reporter": "~3.0.3", + "karma-jasmine": "~5.1.0", + "karma-jasmine-html-reporter": "^2.0.0", + "ts-node": "^10.9.1", + "tslint": "~6.1.3", + "typescript": "^5.1.0" + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app-config.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app-config.ts new file mode 100644 index 0000000..37bf97e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app-config.ts @@ -0,0 +1,42 @@ +import { Injectable } from '@angular/core'; +import{environment} from 'src/environments/environment'; +/** + * This is a singleton class + */ +@Injectable() +export class AppConfig { + //Provide all the Application Configs here + + public version: string = "1.0.0"; + public locale: string = "en-US"; + public currencyFormat = { style: "currency", currency: "USD" }; + public dateFormat = { year: 'numeric', month: 'short', day: 'numeric' }; +// port in enviroment + // API Related configs + public apiPort: string; // this.apiURL //9191 to pc used and 8080/billingback to jboss + public apiProtocol: string; + public apiHostName: string; + public baseApiPath: string; + public backendURL: string = environment.backendUrl; + + constructor() { + if (this.apiProtocol === undefined) { + this.apiProtocol = window.location.protocol; + } + if (this.apiHostName === undefined) { + this.apiHostName = window.location.hostname; + } + if (this.apiPort === undefined) { + this.apiPort = window.location.port; + } + if (this.apiHostName.includes("infomud") || this.apiHostName.includes("heroku")) { + this.baseApiPath = this.apiProtocol + "//" + this.apiHostName + "/"; + } + else { + this.baseApiPath = this.backendURL + "/"; + } + if (this.locale === undefined) { + this.locale = navigator.language; + } + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app-routing.module.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app-routing.module.ts new file mode 100644 index 0000000..16371b5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app-routing.module.ts @@ -0,0 +1,14 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; + + +const routes: Routes = [ + {path: '', redirectTo: 'login', pathMatch: 'full'} + +]; + +@NgModule({ + imports: [RouterModule.forRoot(routes)], + exports: [RouterModule] +}) +export class AppRoutingModule { } diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.component.html new file mode 100644 index 0000000..583ce2e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.component.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.component.spec.ts new file mode 100644 index 0000000..30e49af --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.component.spec.ts @@ -0,0 +1,35 @@ +import { TestBed, async } from '@angular/core/testing'; +import { RouterTestingModule } from '@angular/router/testing'; +import { AppComponent } from './app.component'; + +describe('AppComponent', () => { + beforeEach(async(() => { + TestBed.configureTestingModule({ + imports: [ + RouterTestingModule + ], + declarations: [ + AppComponent + ], + }).compileComponents(); + })); + + it('should create the app', () => { + const fixture = TestBed.createComponent(AppComponent); + const app = fixture.componentInstance; + expect(app).toBeTruthy(); + }); + + it(`should have as title 'angularclarity'`, () => { + const fixture = TestBed.createComponent(AppComponent); + const app = fixture.componentInstance; + expect(app.title).toEqual('angularclarity'); + }); + + it('should render title', () => { + const fixture = TestBed.createComponent(AppComponent); + fixture.detectChanges(); + const compiled = fixture.nativeElement; + expect(compiled.querySelector('.content span').textContent).toContain('angularclarity app is running!'); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.component.ts new file mode 100644 index 0000000..c3d492a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.component.ts @@ -0,0 +1,18 @@ +import { Component } from '@angular/core'; +import { TranslateService } from '@ngx-translate/core'; +@Component({ + selector: 'app-root', + templateUrl: './app.component.html', + styleUrls: ['./app.component.scss'] +}) +export class AppComponent { + title = 'angularclarity'; + constructor(private translate: TranslateService) { + // Set the default language + this.translate.setDefaultLang('en'); + } + +switchLanguage(language: string) { + this.translate.use(language); +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.module.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.module.ts new file mode 100644 index 0000000..183d4a9 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/app.module.ts @@ -0,0 +1,130 @@ +import { ExcelService } from './services/excel.service'; +import { BrowserModule } from '@angular/platform-browser'; + +import { ToastrModule } from 'ngx-toastr'; + +import { AppRoutingModule } from './app-routing.module'; +import { AppComponent } from './app.component'; +import { ClarityModule } from '@clr/angular'; +import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; +import { HashLocationStrategy, LocationStrategy } from '@angular/common'; +import { HttpClientModule, HTTP_INTERCEPTORS,HttpClient } from '@angular/common/http'; +import { MainModule } from './modules/main/main.module'; +import { LoginModule } from './modules/login/login.module'; +import { MainService } from './services/main.service'; +import { AlertService } from './services/alert.service'; +import { HelperModule } from './pipes/helpers.module'; +import { LogoComponent } from './modules/logo/logo.component'; +import { AppConfig } from './app-config'; +import { JwtInterceptor } from './services/jwt.interceptor'; +import { UserInfoService } from './services/user-info.service'; +import { AuthGuard } from './services/auth_guard.service'; +import { LoginService } from './services/api/login.service'; +import { ApiRequestService } from './services/api/api-request.service'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; +import {CUSTOM_ELEMENTS_SCHEMA, NgModule } from "@angular/core"; +import { TranslateService } from './services/api/translate.service'; +import { RealnetMenuService } from './services/api/realnet-menu.service'; +import { UserProfileService } from './services/admin/user-profile.service'; +import { DragDropModule } from '@angular/cdk/drag-drop'; +import { TranslateModule, TranslateLoader } from '@ngx-translate/core'; +import { TranslateHttpLoader } from '@ngx-translate/http-loader'; +import '@clr/icons'; +import '@clr/icons/shapes/all-shapes'; +import { AboutComponent } from './modules/main/admin/about/about.component'; +import { LayoutComponent } from './modules/main/layout/layout.component'; +import { SetupiconComponent } from './modules/main/builder/setupicon/setupicon.component'; +import { MenumaintanceComponent } from './modules/main/admin/menumaintance/menumaintance.component'; +import { UsermaintanceComponent } from './modules/main/admin/usermaintance/usermaintance.component'; +import { UsergrpmaintenanceComponent } from './modules/main/admin/usergrpmaintenance/usergrpmaintenance.component'; +import { MenuaccesscontrolComponent } from './modules/main/admin/menuaccesscontrol/menuaccesscontrol.component'; + +import { SystemparametersComponent } from './modules/main/admin/systemparameters/systemparameters.component'; +import { AccesstypeComponent } from './modules/main/admin/accesstype/accesstype.component'; +import { SequencegenaratorComponent } from './modules/main/fnd/sequencegenarator/sequencegenarator.component'; +import { ReportbuildallComponent } from './modules/main/builder/report-build/reportbuildall/reportbuildall.component'; +import { ReportrunnerallComponent } from './modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component'; +import { ReportbuildaddComponent } from './modules/main/builder/report-build/reportbuildadd/reportbuildadd.component'; +import { DashboardrunnerComponent } from './modules/main/builder/dashboardrunner/dashboardrunner.component'; +import { DashrunnerallComponent } from './modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component'; +import { AllnewdashComponent } from './modules/main/builder/dashboardnew/allnewdash/allnewdash.component'; +import { AddnewdashComponent } from './modules/main/builder/dashboardnew/addnewdash/addnewdash.component'; +import { DashboardComponent } from './modules/main/fnd/dashboard/dashboard.component'; +import { ReportBuild2allComponent } from './modules/main/builder/report-build2/report-build2all/report-build2all.component'; +import { ReportBuild2addComponent } from './modules/main/builder/report-build2/report-build2add/report-build2add.component'; + +export function HttpLoaderFactory(http: HttpClient) { + return new TranslateHttpLoader(http , './assets/i18n/', '.json'); +} +@NgModule({ + declarations: [ + AppComponent, + LogoComponent, + AboutComponent, + AccesstypeComponent, + SequencegenaratorComponent, +LayoutComponent, +SetupiconComponent, +MenumaintanceComponent, +UsermaintanceComponent, +UsergrpmaintenanceComponent, +MenuaccesscontrolComponent, +SystemparametersComponent, +ReportbuildallComponent, +ReportrunnerallComponent, +ReportbuildaddComponent, +DashboardrunnerComponent, +DashrunnerallComponent, +AllnewdashComponent, +AddnewdashComponent, +DashboardComponent, +ReportBuild2allComponent, +ReportBuild2addComponent, + + ], + imports: [ + BrowserModule, + AppRoutingModule, + ClarityModule, + HttpClientModule, + BrowserAnimationsModule, + ToastrModule.forRoot(), + HelperModule, + MainModule, + LoginModule, + FormsModule, + ReactiveFormsModule, + DragDropModule, + TranslateModule.forRoot({ + loader: { + provide: TranslateLoader, + useFactory: HttpLoaderFactory, + deps: [HttpClient] + } + }) + + ], + providers: [ + MainService, + AlertService, + ExcelService, + UserInfoService, + LoginService, + ApiRequestService, + TranslateService, + RealnetMenuService, + UserProfileService, + // ProjectSetupService, + // TechnologyStackService, + // DropdownService, + // WireframeService, + // SuregitService, + AuthGuard, + AppConfig, + { provide: HTTP_INTERCEPTORS, useClass: JwtInterceptor, multi: true }, + { provide: LocationStrategy, useClass: HashLocationStrategy } // HashLocationStrategy to use # and remove # PathLocationStrategy + ], + bootstrap: [AppComponent], + schemas: [CUSTOM_ELEMENTS_SCHEMA ] +}) +export class AppModule { } diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/global.model.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/global.model.ts new file mode 100644 index 0000000..74382c6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/global.model.ts @@ -0,0 +1,169 @@ +export class field{ + _id?:any; + name?:any; + type?:any; + icon?:any; + toggle?:any; + required?:any; + regex?:any; + errorText?:any; + label?:any; + description?:any; + placeholder?:any; + className?:any; + subtype?:any; + handle?:any; + min?:number; + max?:number; + inline?:any; + value?:any; + size?:any; + values?:Array; + div_name?:any; + gridLine_name?:any; + children?: field[]; + tooltipmsg?:any; + maxcharacters?:any; + visibilty?:any; + duplicateVal?:any; + encryptData?:any; + personalHealthInfo?:any; + descriptionText?:any; + heightpx?:any; + showDescription?:boolean; + personalInfo?:boolean; + readOnly?:any; + sessionVar?:any; + allowedDays?:any; + allowedHrsFrom?:any; + allowedHrsTo?:any; + showSeconds?:boolean; + datePicker?:any; + alphabeticalOrdering?:boolean; + fieldLayout?:any; + otherChoice?:boolean; + dynamicList?:any; + iconType?:any; + target?:any; + defaultCamera?:any; + imgoption?:Array; + questions?:Array; + maxDuration?:any; + maxNo?:number; + decimalPlaces?:number; + currencyType?:any; + formatNo?:any; + providersData?:any; + apikey?:any; + expanded?:boolean; + files?:Array; + password?:any; + content?:any; + theme?:any; + norows?:number; + nocolumns?:number; + editordata?:any; +} +export class value{ + label?:any=""; + value?:any=""; +} +export class value1{ + label1?:any=""; + value1?:any=""; +} +export interface IProperty { + url?: string; + loading?: boolean; + itemsPerPage?: number; + total?: number; + p?: number; + sizeLimit?: number; + title?: string; + text?: string; + items?: any[]; + sub?: any; + isBlocked?: boolean; + isDeleted?: boolean; + isEmailVerified?: string; + successMsg?: string; + msg?: string; + userId?: string; + status?: number; + userPlaceholder?: string; + searchKey?: string; + fullName?: string; + email?: string; + countryCode?: string; + dialCode?: string; + phoneNumber?: string; + value?: Date; + data?: any; + name_es?: string; + name_en?: string; + countries?: any; + states?: any; + cities?: any; + countries1?: any; + states1?: any; + cities1?: any; + countries2?: any; + states2?: any; + cities2?: any; + localities?: any; + buildings?: any; + country_id?: string; + state_id?: string; + city_id?: string; + locality_id?: string; + building_id?: string; + countryCount?: number; + stateCount?: number; + cityCount?: number; + stateCityCount?: number; + localityCount?: number; + buildingCount?: number; + countriesAdd?: any; + statesAdd?: any; + citiesAdd?: any; + localitiesAdd?: any; + country_idAdd?: string; + state_idAdd?: string; + city_idAdd?: string; + locality_idAdd?: string; + countryCountAdd?: number; + stateCountAdd?: number; + cityCountAdd?: number; + localityCountAdd?: number; + successText?: string; + propertyTypes?: any; + propertyTypesCount?: number; + amenities?: any; + amenitiesCount?: number; + projectTypes?: any; + projectTypesCount?: number; + routeName?: string; + icon?: any; + userType?: string; + overlay?: any; + is_broker_seller_dev?: number; + is_buyer_renter?: number; + is_broker?: number; + is_data_collector?: number; + image?: any; + index?: number; + name?: string; + phone?: string; + type?: number; + property_id?: string; + banks?: any; + bankCount?: string; + flag?: number; + page?: number; + property_for?: any; + status_id?:any; + type_id?:any; + post_type?:any; + developer_id?:any; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/role.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/role.ts new file mode 100644 index 0000000..abf5370 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/role.ts @@ -0,0 +1,4 @@ +export enum Role { + // User = 'User', + Admin = 'Admin' +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/systemparameter.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/systemparameter.ts new file mode 100644 index 0000000..73e6b22 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/systemparameter.ts @@ -0,0 +1,30 @@ +export class Systemparameter{ + + + public schedulerTime: number; + public leaseTaxCode: String; + public vesselConfProcessLimit: number; + public rowToDisplay: any; + public linkToDisplay: any; + public rowToAdd: any; + public lovRowToDisplay:any; + public lovLinkToDisplay: any; + public oidserverName: any; + public oidBase: any; + public oidAdminUser: any; + public oidServerPort: any; + public userDefaultGroup: any; + public defaultDepartment: any; + public defaultPosition: any; + public singleCharge: any; + public firstDayOftheWeek:any; + public hourPerShift: any; + public cnBillingFrequency: any; + public billingDepartmentCode: any; + public basePriceList: any; + public nonContainerServiceOrder: any; + public ediMaeSchedulerONOFF: any; + public ediSchedulerONOFF: any; +public company_Display_Name:any; +public upload_Logo:any; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/user.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/user.ts new file mode 100644 index 0000000..15072a8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/user.ts @@ -0,0 +1,14 @@ +export class User { + public id: number; + public name: string; + public gender: string; + public dob: string; + public email: string; + public picture:Blob; + public location:string; + public address1:string; + public country:string; + public phone:number; + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/userdepartment.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/userdepartment.ts new file mode 100644 index 0000000..d53f135 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/userdepartment.ts @@ -0,0 +1,12 @@ +export class userdepartment{ + public departmentCode:String; + public active:String; + public description:String; + public createdOn:Date; + public createdBy:String; + public updatedOn:Date; + public updatedBy:String; + public id:number; + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/usergrpma.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/usergrpma.ts new file mode 100644 index 0000000..349ad24 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/usergrpma.ts @@ -0,0 +1,10 @@ +export class Usergrpmain { + public usrGrp: number; + public groupName:string; + public groupDesc:string; + public createby:string; + public createdate:Date; + public groupLevel:string; + public status:string; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/usermaintaince.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/usermaintaince.ts new file mode 100644 index 0000000..3d1d806 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/usermaintaince.ts @@ -0,0 +1,38 @@ +import { userdepartment } from "./userdepartment"; +import { userposition } from "./userposition"; + +export class Usermain { + public userId: number; + public changePassw:string; + public confirmPassword:string; + public createby:string; + public createdate:Date; + public customerId:number; + public customerNumer:String; + public departmentCode:string; + public departmentCodeString:string; + public email:string; + public firstLogin:String; + public fullName:String; + public langCode: String; + public notification:String; + public password1: String; + public password2: String; + public password3: String; + public password4: String; + public positionCodeString:String; + public pwdChangedCnt:string; + public shortName: string; + public status:string; + public updateby:string; + public updatedate:Date; + public username: string; + public userPassw: string; + public usrGrpId:number; + public title: string; + public expiryDate: Date; + public lastPwdChangedDate:Date; + + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/userposition.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/userposition.ts new file mode 100644 index 0000000..7b36d9a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/admin/userposition.ts @@ -0,0 +1,9 @@ +export class userposition{ + public positionCode:String; + public active:String; + public description:String; + public createdOn:Date; + public createdBy:String; + public updatedOn:Date; + public updatedBy:String; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/ActiveTechnology.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/ActiveTechnology.ts new file mode 100644 index 0000000..fa99e85 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/ActiveTechnology.ts @@ -0,0 +1,4 @@ +export interface ActiveTechnology { + id; +name; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/AdhocParam.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/AdhocParam.ts new file mode 100644 index 0000000..e25d168 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/AdhocParam.ts @@ -0,0 +1,13 @@ + + +export class AdhocParam{ + + + public id: number; + public table_allias_name: string; + public column_name: string; + public column_allias_name: string; + + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Audit.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Audit.ts new file mode 100644 index 0000000..1a38432 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Audit.ts @@ -0,0 +1,9 @@ +export class Audit { + public accountId: number; + public createdAt: Date; + public createdBy: string; + public updatedAt: Date; + public updatedBy: string; + + +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Bcf_TechnologyStack.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Bcf_TechnologyStack.ts new file mode 100644 index 0000000..9c7537e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Bcf_TechnologyStack.ts @@ -0,0 +1,9 @@ +import { Audit } from "./Audit"; +export class Bcf_TechnologyStack extends Audit { + public id: number; + public tech_stack: string; + public tech_stack_key: string; + public tags: string; + public base_prj_file_name: string; + public active: boolean; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/ColumnList.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/ColumnList.ts new file mode 100644 index 0000000..a84c0a8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/ColumnList.ts @@ -0,0 +1,4 @@ +export interface ColumnList { + // id: number; + table_name: string; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/DateParam.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/DateParam.ts new file mode 100644 index 0000000..786ad6c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/DateParam.ts @@ -0,0 +1,11 @@ +export class DateParam{ + + + public date_id: number; + public col_table_alies_name_date: string; + public col_date_query: string; + public column_alias_date_query: string; + + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/FileData.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/FileData.ts new file mode 100644 index 0000000..b7b379d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/FileData.ts @@ -0,0 +1,10 @@ +export interface FileData { + id: number; + text: string; + /* public id: number; + public text: string; */ + /* constructor(id: number, text: string) { + this.id = id; + this.text = text; + } */ +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/FileDetails.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/FileDetails.ts new file mode 100644 index 0000000..6eac3c4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/FileDetails.ts @@ -0,0 +1,4 @@ +export interface FileDetails { + id: number; + text: string; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Module_Setup.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Module_Setup.ts new file mode 100644 index 0000000..ecc0fcf --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Module_Setup.ts @@ -0,0 +1,14 @@ +import { Audit } from "./Audit"; +import { ProjectSetup } from "./Project_setup"; +import { Rn_Fb_Header } from "./Rn_Fb_Header"; + +export class ModuleSetup extends Audit { + public id: number; + public moduleName: string; + public description: string; + public modulePrefix: string; + public copyTo?: string; + public technologyStack: string; + public project: ProjectSetup; + public rn_fb_headers: Rn_Fb_Header[]; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Project_setup.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Project_setup.ts new file mode 100644 index 0000000..1173df2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Project_setup.ts @@ -0,0 +1,22 @@ +import { Audit } from "./Audit"; +import { ModuleSetup } from "./Module_Setup"; + +export class ProjectSetup extends Audit { + public id: number; + public projectName: string; + public description: string; + public copyTo?: string; + public technologyStack: string; + public techStackId: number; + public projectPrefix: string; + public dbName: string; + public dbUserName: string; + public dbPassword: string; + public portNumber: string; + public namespace: string; + public tags:string; + public category:string; + public accessibility:boolean; + public modules: ModuleSetup[]; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/RbColumns.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/RbColumns.ts new file mode 100644 index 0000000..13b372a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/RbColumns.ts @@ -0,0 +1,12 @@ +export class RbColumns{ + + + public id: number; + public column_name: string; + public functions: string; + public column_allias_name: string; + public table_allies_name: string; + public asc_desc: string; + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/RbTables.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/RbTables.ts new file mode 100644 index 0000000..5603a7e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/RbTables.ts @@ -0,0 +1,7 @@ +export class RbTables{ + public table_id: number; + public table_name: string; + public table_allias_name: string; + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/ReportBuilder.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/ReportBuilder.ts new file mode 100644 index 0000000..0c6ee59 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/ReportBuilder.ts @@ -0,0 +1,8 @@ +export class ReportBuilder { + public report_id: number; +public report_name:string; +public description: string; +public report_tags: string; +public servicename:string; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/ReportBuilderQuery.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/ReportBuilderQuery.ts new file mode 100644 index 0000000..9064f25 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/ReportBuilderQuery.ts @@ -0,0 +1,4 @@ +export class ReportBuilderQuery { + public master_select: string; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Cff_ActionBuilder_Header.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Cff_ActionBuilder_Header.ts new file mode 100644 index 0000000..6654bae --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Cff_ActionBuilder_Header.ts @@ -0,0 +1,14 @@ +import { Audit } from "./Audit"; +import { Rn_Cff_ActionBuilder_Line } from "./Rn_Cff_ActionBuilder_Line"; +import { Rn_Fb_Header } from "./Rn_Fb_Header"; + +export class Rn_Cff_ActionBuilder_Header extends Audit { + public id: number; + public rn_fb_header: Rn_Fb_Header; + public technologyStack: string; + public controllerName: string; + public methodName: string; + public actionName: string; + public fileLocation: string; + public actionBuilderLines: Rn_Cff_ActionBuilder_Line[]; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Cff_ActionBuilder_Line.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Cff_ActionBuilder_Line.ts new file mode 100644 index 0000000..7e9be6b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Cff_ActionBuilder_Line.ts @@ -0,0 +1,18 @@ +import { Audit } from "./Audit"; +import { Rn_Cff_ActionBuilder_Header } from "./Rn_Cff_ActionBuilder_Header"; + +export class Rn_Cff_ActionBuilder_Line extends Audit { + public id: number; + public actionType1: string; + public actionType2: string; + public dataType: string; + public variableName: string; + public assignment: string; + public message: string; + public conditions: string; + public forward: string; + public equation: string; + public seq: number; + public action: string; + public rn_cff_actionBuilderHeader: Rn_Cff_ActionBuilder_Header; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Fb_Header.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Fb_Header.ts new file mode 100644 index 0000000..2423279 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Fb_Header.ts @@ -0,0 +1,22 @@ +import { Audit } from "./Audit"; +import { Rn_Fb_Lines } from "./Rn_Fb_Lines"; + +export class Rn_Fb_Header extends Audit { + public id: number; + public techStack: string; + public objectType: string; + public subObjectType: string; + public uiName: string; + public formType: string; + public tableName: string; + public lineTableName: string; + public multilineTableName: string; + public formCode: string; + public build: boolean; + public updated: boolean; + public menuName: string; + public headerName: string; + public convertedTableName: string; + public rn_fb_lines: Rn_Fb_Lines[]; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Fb_Lines.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Fb_Lines.ts new file mode 100644 index 0000000..da08a69 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Fb_Lines.ts @@ -0,0 +1,49 @@ +import { Audit } from "./Audit"; + +export class Rn_Fb_Lines extends Audit { + public id: number; + public fieldName: string; + public mapping: string; + public dataType: string; + public formCode: string; + public key1: string; + public type1: string; + public mandatory: boolean; + public hidden: boolean; + public readonly: boolean; + public dependent: boolean; + public dependent_on: string; + public dependent_sp: string; + public dependent_sp_param: string; + public validation_1: boolean; + public val_type: string; + public val_sp: string; + public val_sp_param: string; + public sequence: boolean; + public seq_name: string; + public seq_sp: string; + public seq_sp_param: string; + public default_1: boolean; + public default_type: string; + public default_value: string; + public default_sp: string; + public default_sp_param: string; + public calculated_field: boolean; + public cal_sp: string; + public cal_sp_param: string; + public add_to_grid: boolean; + public sp_for_autocomplete: boolean; + public sp_name_for_autocomplete: string; + public sp_for_dropdown: boolean; + public sp_name_for_dropdown: string; + public type_field: string; + public methodName: string; + public seq: number; + public form_type: string; + public section_num: number; + public button_num: string; + public type2: string; + public table_name?: string; + public line_table_name: string; + public line_table_no: number; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Main_Menu.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Main_Menu.ts new file mode 100644 index 0000000..cd002e0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Main_Menu.ts @@ -0,0 +1,17 @@ +import { Audit } from "./Audit"; +import { Rn_Sub_Menu } from './Rn_Sub_Menu'; + +export class Rn_Main_Menu extends Audit { + public menuItemId: number; + public menuItemDesc: string; + public mainMenuActionName : string; + public mainMenuIconName: string; + public menu_type: string; + public mcreate:String; + public mdelete:String; + public medit:String; + public menuId:Number; + public mquery:String; + public mvisible:String; + public subMenus: Rn_Sub_Menu[]; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Sub_Menu.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Sub_Menu.ts new file mode 100644 index 0000000..bcbc9b2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/Rn_Sub_Menu.ts @@ -0,0 +1,16 @@ +import { Audit } from "./Audit"; + +export class Rn_Sub_Menu extends Audit { + public menuItemId: number; + public menuItemDesc: string; + public mainMenuActionName : string; + public mainMenuIconName: string; + public menu_type: string; + public mcreate:String; + public mdelete:String; + public medit:String; + public menuId:Number; + public mquery:String; + public mvisible:String; + //public menu_icon: string; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/StdParam.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/StdParam.ts new file mode 100644 index 0000000..015c577 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/StdParam.ts @@ -0,0 +1,12 @@ +export class StdParam{ + + + public std_id: number; + public col_table_alies_name_std_para: string; + public col_std_para_query: string; + public field_type: string; + public sp_for_dd: string; + + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/WhereParam.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/WhereParam.ts new file mode 100644 index 0000000..c98b3be --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/WhereParam.ts @@ -0,0 +1,14 @@ +export class WhereParam{ + + + public where_id: number; + public explecity: string; + public where_coloumn1_tbl_alias_name: string; + public where_coloumn: string; + public where_condition: string; + public switch_control: string; + public where_coloumn2_tbl_alias_name:string; + public where_coloumn2:string; + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/WireFrame.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/WireFrame.ts new file mode 100644 index 0000000..c1dce53 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/WireFrame.ts @@ -0,0 +1,29 @@ +export interface WireFrame { + header: Header; + line: Line; +} +export interface Header { +section: Section[]; +} +export interface Line { +section: Section[]; +} +export interface Section { +id: number; +fieldName: string; +mapping: string; +dataType: string; +type_field: string; +section_num: number; +fields: Field[]; +} + +export interface Field { +id: number; +fieldName: string; +mapping: string; +dataType: string; +type_field: string; +section_num: number; +seq: number; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/dashboard.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/dashboard.ts new file mode 100644 index 0000000..36e89e4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/dashboard.ts @@ -0,0 +1,114 @@ +export interface WidgetModel { + name: string; + identifier: string; +} +export interface SubmenuItem { + name: string; + identifier: string; +} + +export interface WidgetModel1 { + name: string; + submenu?: SubmenuItem[]; + showSubmenu?: boolean; // Optional property to control submenu visibility + identifier: string; +} + +export interface DashboardContentModel { + cols: number; + rows: number; + y: number; + x: number; + chartid: number; + component?: any; + name: string; + type?:string; +} + +export interface DashboardModel { + id: number; + username: string; + dashboard: Array; +} + + +export interface DashboardContentModel2 { + cols: number; + rows: number; + y: number; + x: number; + chartid: number; + charttitle?: string; + component?: any; + name: string; + type?: string; + values?:Array; + imgoption?:Array; + keyValue?:string; + fieldtext?:any; + dropdown_type?:string; + imageURL?:string; +} + +export interface DashboardModel2 { + id: number; + username: string; + dashboard: Array; +} + +export class value{ + label?:any=""; + value?:any=""; +} +export class value1{ + label1?:any=""; + value1?:any=""; +} + + +export const WidgetsMock: WidgetModel[] = [ + { + name: 'Radar Chart', + identifier: 'radar_chart' + }, + { + name: 'Doughnut Chart', + identifier: 'doughnut_chart' + }, + { + name: 'Line Chart', + identifier: 'line_chart' + }, + { + name: 'Bar Chart', + identifier: 'bar_chart' + }, + { + name: 'Pie Chart', + identifier: 'pie_chart' + }, + { + name: 'Polar Area Chart', + identifier: 'polar_area_chart' + }, + { + name: 'Bubble Chart', + identifier: 'bubble_chart' + }, + { + name: 'Scatter Chart', + identifier: 'scatter_chart' + }, + { + name: 'Dynamic Chart', + identifier: 'dynamic_chart' + }, + { + name: 'Financial Chart', + identifier: 'financial_chart' + }, + { + name: 'To Do', + identifier: 'to_do_chart' + } +] diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/gitfile.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/gitfile.ts new file mode 100644 index 0000000..1279faf --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/gitfile.ts @@ -0,0 +1,9 @@ +export class Gitfile { + + public content :String; + public url :String; + public sha:String; + public encoding:String; + public size:String; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/rptBuilder.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/rptBuilder.ts new file mode 100644 index 0000000..d55ca79 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/rptBuilder.ts @@ -0,0 +1,14 @@ +export class RptBuilder{ + + public id:number; + public name; + public folder: string; + public query: string; + public date_param_flag:boolean; + public adhoc_param_flag:boolean; + public adhoc_param_string: string; + public std_param_json: string; + + + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/suregit.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/suregit.ts new file mode 100644 index 0000000..5e721a6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/suregit.ts @@ -0,0 +1,9 @@ +export class Suregit { + public path :String; + public sha :String; + public url :String; + public type:Number; + public mode:String; + public size:String; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/surename.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/surename.ts new file mode 100644 index 0000000..e57af9c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/surename.ts @@ -0,0 +1,9 @@ +export class Surename { + public id :number; + public message :String; + public name :String; + public timestamp:Number; + public email:String; + public username:String; +public sha:any; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/surestar.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/surestar.ts new file mode 100644 index 0000000..42eaf13 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/surestar.ts @@ -0,0 +1,9 @@ +export class Surestar { + public id :number; + public email :String; + public watchers_count :number; + public forks_count:Number; + public stars_count:number; + public size:String; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/webpagebuilder.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/webpagebuilder.ts new file mode 100644 index 0000000..12c47b1 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/builder/webpagebuilder.ts @@ -0,0 +1,55 @@ +export interface WidgetModel { + name: string; + identifier: string; +} + +export interface DashboardContentModel { + cols: number; + rows: number; + y: number; + x: number; + chartid: number; + component?: any; + name: string; +} + +export interface DashboardModel { + id: number; + username: string; + dashboard: Array; +} + +export const WidgetsMock: WidgetModel[] = [ + // { + // name: 'Text field', + // identifier: 'text_field' + // }, + { + name: 'Text area', + identifier: 'text_area' + }, + { + name: 'Table field', + identifier: 'table_field' + }, + // { + // name: 'Background Color', + // identifier: 'background_color' + // }, + // { + // name: 'Box field', + // identifier: 'box_field' + // }, + { + name: 'Image field', + identifier: 'img_field' + }, + { + name: 'Line field', + identifier: 'line_field' + }, + { + name: 'QR code', + identifier: 'qr_code' + } +] diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Bcf_Exception_Rule_Library .ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Bcf_Exception_Rule_Library .ts new file mode 100644 index 0000000..bfa5d5d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Bcf_Exception_Rule_Library .ts @@ -0,0 +1,10 @@ +import { Audit } from "../builder/Audit"; + +export class Bcf_Exception_Rule_Library extends Audit { + id: number; + tech_stack: string; + object_type: string; + sub_object_type: string; + object_name_variable: string; + object_name_dynamic_string: string; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Bcf_Extractor.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Bcf_Extractor.ts new file mode 100644 index 0000000..b86c5fe --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Bcf_Extractor.ts @@ -0,0 +1,17 @@ +import { Audit } from "../builder/Audit"; +import { Bcf_Extractor_Params } from "./Bcf_Extractor_Params"; + +export class Bcf_Extractor extends Audit { + id: number; + tech_stack: string; + tech_stack_key: string; + object_type: string; + sub_object_type: string; + form_type_name: string; + std_wf_name: string; + icon_file_name: string; + sample_file_name: string; + extractor_stage: string; + rn_bcf_extractor_Params: Bcf_Extractor_Params[]; +} + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Bcf_Extractor_Params.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Bcf_Extractor_Params.ts new file mode 100644 index 0000000..c2d20b2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Bcf_Extractor_Params.ts @@ -0,0 +1,20 @@ +import { Audit } from "../builder/Audit"; + +export class Bcf_Extractor_Params extends Audit { + id: number; + tech_stack: string; + object_type: string; + sub_object_type: string; + file_code: any; + name_string: string; + address_string: string; + moved_address_string: string; + reference_address_string: string; + description: string; + file_name_var: string; + file_name_dynamic_string: string; + is_extraction_enabled: boolean; + is_creation_enabled: boolean; + total_project_path_dynamic_string:string; +} + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Bcf_Rule_Library.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Bcf_Rule_Library.ts new file mode 100644 index 0000000..44428f8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Bcf_Rule_Library.ts @@ -0,0 +1,16 @@ +import { Audit } from "../builder/Audit"; + +export class Bcf_Rule_Library extends Audit { + id: number; + group_id: number; + rule_name: string; + tech_stack: string; + object_type: string; + sub_object_type: string; + file_code: string; + rule_type: string; + identifier_start_string: string; + identifier_end_string: string; + replacement_string: string; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/BiDashHeader.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/BiDashHeader.ts new file mode 100644 index 0000000..f1dc31b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/BiDashHeader.ts @@ -0,0 +1,13 @@ +import { BiDashLine } from './BiDashLine'; + +export class BiDashHeader{ + + + public header_id: number; + public dashboard_name: string; + public components: BiDashLine[]; + + + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/BiDashLine.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/BiDashLine.ts new file mode 100644 index 0000000..2e49b8f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/BiDashLine.ts @@ -0,0 +1,17 @@ +export class BiDashLine{ + + + + public section_type: string; + public widgets1: string; + public widgets2: string; + public widgets3: string; + public widgets4: string; + public widgets5: string; + public widgets6: string; + + + + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/BiWidget.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/BiWidget.ts new file mode 100644 index 0000000..52f1b7b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/BiWidget.ts @@ -0,0 +1,10 @@ +export class BiWidget { + public id: number; +public widget_name: string; +public widget_description: string; + public chart_type: string; + public sql_query:string; + public label:string; + public color_scheme:string; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/DynamicForm.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/DynamicForm.ts new file mode 100644 index 0000000..6861694 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/DynamicForm.ts @@ -0,0 +1,37 @@ +//import { Audit } from "./Audit"; +import { Audit } from "../builder/Audit"; +export class DynamicForm extends Audit { + public id: number; + public form_id: number; + public form_version: number; + public comp1: string; + public comp2: string; + public comp3: string; + public comp4: string; + public comp5: string; + public comp6: string; + public comp7: string; + public comp8: string; + public comp9: string; + public comp10: string; + public comp11: string; + public comp12: string; + public comp13: string; + public comp14: string; + public comp15: string; + public comp16: string; + public comp17: string; + public comp18: string; + public comp19: string; + public comp20: string; + public comp21: string; + public comp22: string; + public comp23: string; + public comp24: string; + public comp25: string; + public comp_l26: string; + public comp_l27: string; + public comp_l28: string; + public comp_l29: string; + public comp_l30: string; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/ExtensionField.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/ExtensionField.ts new file mode 100644 index 0000000..3becca0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/ExtensionField.ts @@ -0,0 +1,47 @@ +import { Audit } from "../builder/Audit"; + +export class ExtensionField extends Audit { + public id: number; + public field_name: string; + public mapping: string; + public data_type: string; + public form_code: string; + public type: string; + public isActive: boolean; + + /* public mandatory: string; + public hidden: string; + public readonly: string; + public dependent: string; + public dependent_on: string; + public dependent_sp: string; + public dependent_sp_param: string; + public validation_1: string; + public val_type: string; + public val_sp: string; + public val_sp_param: string; + public sequence: string; + public seq_name: string; + public seq_sp: string; + public seq_sp_param: string; + public default1: string; + public default_type: string; + public default_value: string; + public default_sp: string; + public default_sp_param: string; + public calculated_field: string; + public cal_sp: string; + public cal_sp_param: string; + public add_to_grid: string; + public attr1: string; + public attr2: string; + public attr3: string; + public drop_value: string; + public dropdown: string; + public sp_name: string; + public ext_dd_id: string; + public sp_name_forautocomplete: string; + public ext_dependent_id: string; + public radio: string; + public radio_option: string; */ +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Mapping.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Mapping.ts new file mode 100644 index 0000000..385fdd6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Mapping.ts @@ -0,0 +1,4 @@ +export interface Mapping { + label: string; + value: string; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Rn_Forms_Component_Setup.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Rn_Forms_Component_Setup.ts new file mode 100644 index 0000000..41378c8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Rn_Forms_Component_Setup.ts @@ -0,0 +1,12 @@ +import { Audit } from "../builder/Audit"; +export class Rn_Forms_Component_Setup extends Audit { + public component_id: number; + public label: string; + public type: string; + public mapping: string; + public mandatory: string; + public readonly: string; + public drop_values: string; + public sp: string; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Rn_Forms_Setup.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Rn_Forms_Setup.ts new file mode 100644 index 0000000..872efee --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Rn_Forms_Setup.ts @@ -0,0 +1,11 @@ +import { Rn_Forms_Component_Setup } from "./Rn_Forms_Component_Setup"; +import { Audit } from "../builder/Audit"; +export class Rn_Forms_Setup extends Audit { + public form_id: number; + public form_name: string; + public form_desc: string; + public related_to: string; + public page_event: string; + public button_caption: string; + public components: Rn_Forms_Component_Setup[]; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/RuleCopy.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/RuleCopy.ts new file mode 100644 index 0000000..0b905a4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/RuleCopy.ts @@ -0,0 +1,20 @@ +export class RuleCopy { + public from_tech_stack: string; +public from_object_type: string; +public from_sub_object_type: string; +public to_tech_stack: string; +public to_object_type: string; +public to_sub_object_type: string; + +} + +export interface Rule { + tech_stack: string; + object_type: string; + sub_object_type: string; + version: string; + replacement_string: string; + keyword: string; + priority: number; + service: string; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Studentadd.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Studentadd.ts new file mode 100644 index 0000000..25927d4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/Studentadd.ts @@ -0,0 +1,10 @@ + + +export class student { + public id: number; + public wf_id:number; + public current_json: string; + public status: string; + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/TableList.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/TableList.ts new file mode 100644 index 0000000..8f66129 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/TableList.ts @@ -0,0 +1,4 @@ +export interface TableList { + // id: number; + table_name: string; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/ValidationError.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/ValidationError.ts new file mode 100644 index 0000000..a72bfd6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/ValidationError.ts @@ -0,0 +1,4 @@ +export class ValidationError { + field: any; + message: any; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/apiregisteryline.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/apiregisteryline.ts new file mode 100644 index 0000000..5db740a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/apiregisteryline.ts @@ -0,0 +1,10 @@ +export class ApiRegisteryLine { + public id: number; + public url: string; + public method: string; + public header_id: number; + + + + +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/book.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/book.ts new file mode 100644 index 0000000..3f9f0de --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/book.ts @@ -0,0 +1,10 @@ +export class book { + public id: number; + public booktype: string; + public bookname: string; + public price: number; + public writer: string; + public code:number; + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/department.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/department.ts new file mode 100644 index 0000000..5da15cf --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/department.ts @@ -0,0 +1,10 @@ +export class Department { + public id: number; + public department_code: string; + public description: string; + public active: string; + public created_by:string; + public created_on:string; + public updated_by:string; + public updated_on:string; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/health_checkup.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/health_checkup.ts new file mode 100644 index 0000000..6cff663 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/health_checkup.ts @@ -0,0 +1,10 @@ +export class HealthCheckup { + public id: number; + public ip: string; + public port: number; + public serviceName: string; + public createProject: boolean; + public buildProject: boolean; + public createDeployment: boolean; + public deployApp: boolean; +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/play.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/play.ts new file mode 100644 index 0000000..3c5b927 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/play.ts @@ -0,0 +1,9 @@ +export class College { + public studentid: number; + public wf_instance_id:number; + public studentname: string; + public department: string; + public joiningDate: string; + public phone: number; + public emailId:string; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/table-setup.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/table-setup.ts new file mode 100644 index 0000000..8f66129 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/table-setup.ts @@ -0,0 +1,4 @@ +export interface TableList { + // id: number; + table_name: string; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/university.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/university.ts new file mode 100644 index 0000000..16e9a12 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/models/fnd/university.ts @@ -0,0 +1,11 @@ +import {book} from '../../models/fnd/book'; + +export class university { + public id: number; + public name: string; + public email: string; + public subject: string; + public phone: number; + public books: book[]; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.css new file mode 100644 index 0000000..1d2e597 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.css @@ -0,0 +1,45 @@ +.clr-input { + color: #212529; + padding: 0.75rem 0.75rem; + margin-top: 10px; + margin-bottom: 10px; +} + +input[type=text], [type=password], [type=number], [type=email], [type=date], textarea { + width: 80%; + padding: 15px 15px; + background-color: rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.eye { + position: absolute; +} + +#hide1 { + display: none; +} + +.container { + align-content: center; +} + +.center { + width: auto; + margin: 0 auto; +} + +.required-field, .error_mess { + color: red; +} + +select { + margin: 15px 0px; + width: 80%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +}/*# sourceMappingURL=about-work.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.css.map new file mode 100644 index 0000000..f40c4d1 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["about-work.component.scss","about-work.component.css"],"names":[],"mappings":"AAAA;EACE,cAAA;EAGA,wBAAA;EACA,gBAAA;EACA,mBAAA;ACDF;;ADGA;EACE,UAAA;EACA,kBAAA;EACA,oCAAA;EAEA,qBAAA;EACA,sBAAA;EACA,kBAAA;EACA,sBAAA;ACDF;;ADGA;EACE,kBAAA;ACAF;;ADGA;EACE,aAAA;ACAF;;ADGA;EACE,qBAAA;ACAF;;ADGA;EACE,WAAA;EACA,cAAA;ACAF;;ADGA;EACE,UAAA;ACAF;;ADGA;EACE,gBAAA;EACA,UAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACAF","file":"about-work.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.html new file mode 100644 index 0000000..5faf200 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.html @@ -0,0 +1,261 @@ + + + + +
+

Welcome to cloudnsure!

+
Tell Us More About You
+
Tell Us About Your Work!
+ +
+
+
+
+ + +
+
*This field is Required
+
+
+
+
+ + +
+
*This field is Required
+
+
+
+
+ + +
+
*This field is Required
+
*Number must be 10 digit.
+
*Invalid mobile number
+
+
+
+
+ + +
+
*This field is Required
+
+
+
+
+ + +
+
*This field is Required
+
+
+
+
+ + + +
+
*This field is Required
+
*Password must be 6 characters or longer.
+
+
+
+
+ + +
+
*This field is Required
+
* Password and Confirm Password must be match.
+
+
+
+
+ +
+ +
+

Wrong account? Log in instead.

+
+
+
+ + +
+
+ + +
+
*This field is Required
+
+
+
+
+ + +
+
*This field is Required
+
+
+
+
+ + +
+
*This field is Required
+
+
+ + + + + + + +
+
+ + +
+
*This field is Required
+
+
+ + +
+
+ + +
+
*This field is Required
+
+
+
+
+ + +
+
*This field is Required
+
+
+
+
+ + +
+
*This field is Required
+
+
+
+
+ + +
+
*This field is Required
+
+
+
+
+ + +
+
*This field is Required
+
+
+ + + +
+
+ +
+ +
+

Wrong account? Log in instead.

+
+ + +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.scss new file mode 100644 index 0000000..a3a8aee --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.scss @@ -0,0 +1,122 @@ +// .clr-input { +// color: #212529; +// // border: 1px solid #ced4da; +// // border-radius: 0.25rem; +// padding: 0.75rem 0.75rem; +// margin-top: 10px; +// margin-bottom: 10px; +// } +// input[type=text],[type=password],[type=number],[type=email],[type=date],textarea { +// width: 80%; +// padding: 15px 15px; +// background-color:rgb(255, 255, 255); +// // margin: 8px 0; +// display: inline-block; +// border: 1px solid #ccc; +// border-radius: 4px; +// box-sizing: border-box; +// } +// .eye { +// position: absolute; +// } + +// #hide1 { +// display: none; +// } + +// .container { +// align-content: center; +// } + +// .center { +// width: auto; +// margin: 0 auto; +// } + +.required-field,.error_mess{ + color:indianred; + font-weight: bold; + + } + // select{ + // margin:15px 0px; + // width: 80%; + // padding: 5px 5px; + // border: 1px solid #ccc; + // border-radius: 4px; + // } + + + + + + + $background: #f5f6fa; + $text: #9c9c9c; + $input-bg-color: #fff; + $input-text-color: #a3a3a3; + $button-bg-color: #7f8ff4; + $button-text-color: #fff; + $google-button-bg-color: #7f8ff4; + $linkedin-button-bg-color: #4b76eb; + + + :root { + background: $background; + color: $text; + font: 1rem "PT Sans", sans-serif; + } + + //** helper + .display_msg { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + } + + .form { + &__field { + width: 360px; + padding: 7px 9px; + margin: 0 12px; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + } + + .btn { + display: inline-block; + background: transparent; + color: inherit; + font: inherit; + border: 0; + outline: 0; + padding: 0; + transition: all 200ms ease-in; + cursor: pointer; + + &--primary { + background: $button-bg-color; + color: $button-text-color; + box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1); + border-radius: 2px; + width: 100%; + + &:hover { + background: darken($button-bg-color, 4%); + } + + &:active { + background: $button-bg-color; + box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2); + } + } + } + // form { + // margin-left: 8%; + // } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.spec.ts new file mode 100644 index 0000000..fcd9bd1 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AboutWorkComponent } from './about-work.component'; + +describe('AboutWorkComponent', () => { + let component: AboutWorkComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ AboutWorkComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(AboutWorkComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.ts new file mode 100644 index 0000000..953b3b6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/about-work.component.ts @@ -0,0 +1,301 @@ +import {Component, OnInit} from '@angular/core'; +import {AbstractControl, FormBuilder, FormControl, FormGroup, ValidationErrors, Validators} from '@angular/forms'; +import {ActivatedRoute, Router} from '@angular/router'; +import { UserProfileService } from 'src/app/services/admin/user-profile.service'; +import { UserRegistrationService } from 'src/app/services/admin/user-registration.service'; +import { environment } from 'src/environments/environment'; +import { CustomerService } from './customer.service'; +import { ToastrService } from 'ngx-toastr'; + +@Component({ + selector: 'app-about-work', + templateUrl: './about-work.component.html', + styleUrls: ['./about-work.component.scss'] +}) + + + +export class AboutWorkComponent implements OnInit { + + // LoginUrl = environment.portalurl; + public entryForm: FormGroup; + public custentryForm: FormGroup; // user + public customerentryForm: FormGroup; + aboutdata; + id: number; + checknumberId: number; + data1: boolean; + name:string; + email: string; + submitted = false; + custsubmitted = false; + constructor( + private router: Router, + private route: ActivatedRoute, + private userRegistration: UserRegistrationService, + private _fb: FormBuilder, + private userprofile: UserProfileService, + private customerservice: CustomerService, + private toastr: ToastrService + ) { + } + companyid = 1; + ngOnInit(): void { + this.route.queryParams.subscribe(params => { + this.email = params['email']; + console.log(this.email) + }); + this.id = this.route.snapshot.params['id']; + this.checknumberId = this.route.snapshot.params['checknumberId']; + this.name = this.userRegistration.getStoredName(); + console.log(this.id, this.checknumberId); + this.userRegistration.removeStoredName(); + + // this.data1 = this.route.snapshot.data['data1']; + // if (this.id >= 0) { + // this.onCheck(); + + // } + // else { + // this.router.navigate(['../about-work']); + // } + + + this.onCheck(); + // this.email = this.userRegistration.getStoredEmail(); + + this.custentryForm = this._fb.group({ + first_name: [null, [Validators.required]], + last_name:[null, [Validators.required]], + mob_no:[null,[Validators.required,Validators.pattern('^[0-9]{10}$')]], + email:[this.email], + usrGrpId:[41], + new_password: [null, [Validators.required,Validators.minLength(6),Validators.maxLength(40)]], + confirm_password: [null, [Validators.required]], + account_id:[this.companyid], + + date_of_birth:[null, [Validators.required]], + gender:[null,Validators.required] + + }, { + validator: ConfirmedValidator('new_password', 'confirm_password') + }); + + + this.entryForm = this._fb.group({ + companyName:[null, [Validators.required]], + pancard:[null,[Validators.required]], + workspace:[null,[Validators.required]], + email: [this.email,[Validators.required,Validators.email]], + gstNumber:[null,[Validators.required]], + mobile: [this.custentryForm.value.mob_no, [Validators.pattern('^[0-9]{10}$')]], + + country:[null,[Validators.required]], + state:[null,[Validators.required]], + city:[null], + street_address:[null], + street_address2:[null], + + }, { + }); + + this.customerentryForm = this._fb.group({ + first_name: [null], + last_name:[null], + date_of_birth:[null], + gender:[null], + companyId:[null], + time_zone:[null,], + gst_state:[null], + email:[null], + entity_name:[this.companyid], + + }); + } + + companyForm:boolean = false; + oncustSubmit(){ + console.log(this.custentryForm.value); + // this.custentryForm.value.entity_name = this.companyid; + if (this.custentryForm.invalid) { + this.custsubmitted = true; + return; + }else{ + // this.companyForm = true; + // this.oncustContinue(); + this.onContinue(); + } + + } + selectedFile; + oncustContinue() { + + + + console.log(this.custentryForm.value); + + this.customerservice.saveCustomer(this.custentryForm.value, this.selectedFile).subscribe((data => { + console.log(data); + console.log(data.id, "User id"); + console.log("Roles", data.role); + console.log(data.checknumberId, "checknumber"); + this.aboutdata = data; + if (data.role == "USER") { + this.router.navigate(["../login/"]); + // window.location.href = `${this.LoginUrl}/#/login`; + } else { + this.router.navigate(["../pricing/" + data.id]); + } + + })) + } + + + +userId; + +onSubmit(){ + this.entryForm.value.email = this.email + if (this.entryForm.invalid) { + this.submitted = true; + return; + }else{ + this.onContinue(); + } + +} + onContinue() { + + + // this.entryForm.value.mobile = this.custentryForm.value.mob_no; + console.log(this.custentryForm.value); + + // this.userprofile.addUserinSignUP(this.entryForm.value).subscribe(data => { + // console.log(data); + // this.companyid = data.account_id; + // console.log(this.companyid, "company id"); + // this.aboutdata = data; + // this.custentryForm.value.account_id = data?.account_id + // // this.custentryForm.value.new_password = + // console.log(this.custentryForm.value); + this.userprofile.adduserData(this.custentryForm.value).subscribe(cdata => { + console.log(cdata); + this.userId = cdata.userId; + + if (cdata) { + this.toastr.success("Registrated Successfully"); + this.router.navigate(["../login/"]); + } else { + this.router.navigate(["../login/"]); + } + // this.customerentryForm.get('companyId').setValue(this.companyid); + // this.customerentryForm.get('gst_state').setValue(this.entryForm.value.state); + // this.customerentryForm.get('entity_name').setValue(this.entryForm.value.companyName); + // this.customerentryForm.get('first_name').setValue(this.custentryForm.value.first_name); + // this.customerentryForm.get('last_name').setValue(this.custentryForm.value.last_name); + // this.customerentryForm.get('date_of_birth').setValue(this.custentryForm.value.date_of_birth); + // this.customerentryForm.get('gender').setValue(this.custentryForm.value.gender); + // this.customerentryForm.get('email').setValue(this.email); + + + // this.customerservice.saveCustomer(this.customerentryForm.value, this.selectedFile).subscribe(data => { + // console.log(data); + // console.log(data.id, "User id"); + // this.aboutdata = data; + // if (data.status >= 200 && data.status <= 299) { + // console.log(data?.body) + // this.router.navigate(["../pricing/" + this.companyid +"/" +this.userId]); + // } + // }) + },(error)=>{ + console.log(error); + this.toastr.error(error?.error.message); + }) + // }) + } + + + + + + + + + onCheck() { + + this.userprofile.getUser(this.id, this.checknumberId).subscribe((data => { + // console.log(data.userId, "User id"); + console.log("data", data.email); + console.log(data); + this.data1 = data; + this.email = data.email; + this.name=data.fullName; + (this.entryForm.controls['email']).setValue(data.email); + (this.entryForm.controls['name']).setValue(data.fullName); + console.log(this.name) + + })) + + + } + + + onCountryChange(event) { + console.log(event.dialCode); + console.log(event.name); + console.log(event.iso2); + } + + back() { + this.router.navigate(["../../all"], {relativeTo: this.route}); + } + + + newpHide: boolean = true; + newIcon: string = "eye"; + newShapeChanger() { + this.newpHide = !this.newpHide; + if(this.newpHide){ + this.newIcon = 'eye' + } else { + this.newIcon = 'eye-hide' + } + } + + + cnewpHide: boolean = true; + cnewIcon: string = "eye"; + cnewShapeChanger() { + this.cnewpHide = !this.cnewpHide; + if(this.cnewpHide){ + this.cnewIcon = 'eye' + } else { + this.cnewIcon = 'eye-hide' + } + } + +} +// export function passwordMatchValidator(control: AbstractControl): ValidationErrors | null { +// const password = control.get('password'); +// const confirmPassword = control.get('confirmPassword'); + +// if (password.value !== confirmPassword.value) { +// return { passwordMismatch: true }; +// } + +// return null; +// } +export function ConfirmedValidator(controlName: string, matchingControlName: string){ + return (formGroup: FormGroup) => { + const control = formGroup.controls[controlName]; + const matchingControl = formGroup.controls[matchingControlName]; + if (matchingControl.errors && !matchingControl.errors.confirmedValidator) { + return; + } + if (control.value !== matchingControl.value) { + matchingControl.setErrors({ confirmedValidator: true }); + } else { + matchingControl.setErrors(null); + } + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/customer.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/customer.service.ts new file mode 100644 index 0000000..a0db265 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/about-work/customer.service.ts @@ -0,0 +1,152 @@ +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from 'src/app/services/api/api-request.service'; + +@Injectable({ + providedIn: 'root' +}) +export class CustomerService { + + constructor(private apiRequest: ApiRequestService) { } + + saveCustomer(data: any, file?: any): Observable { + const url = `token/Customer_master/Customer_master`; + const formData = new FormData(); + formData.append('body', JSON.stringify(data)); + formData.append('file', file); + + return this.apiRequest.postFormData(url, formData); + } + + updateCustomer(data: any, file: any,id: number): Observable { + const url = `token/Customer_master/Customer_master/${id}`; + + const formData = new FormData(); + formData.append('body', JSON.stringify(data)); + formData.append('file', file); + + return this.apiRequest.postFormData(url, formData); + } + + getAllCustomers(): Observable { + const url = `token/Customer_master/Customer_master`; + return this.apiRequest.get(url); + } + + getCustomerById(id: number): Observable { + const url = `token/Customer_master/Customer_master/${id}`; + return this.apiRequest.get(url); + } + + deleteCustomerById(id: number): Observable { + const url = `token/Customer_master/Customer_master/${id}`; + return this.apiRequest.delete(url); + } + + + + + ////////site + + // saveCustomersite(data: any, file: any): Observable { + // const url = `Sites/Sites`; + // const formData = new FormData(); + // formData.append('body', JSON.stringify(data)); + // formData.append('file', file); + + // return this.apiRequest.postFormData(url, formData); + // } + saveCustomersite(data: any): Observable { + const url = `Sites/Sites`; + return this.apiRequest.postFormData(url, data); + } + + // updateCustomersite(data: any, file: any,id: number): Observable { + // const url = `Sites/Sites/${id}`; + + // const formData = new FormData(); + // formData.append('body', JSON.stringify(data)); + // formData.append('file', file); + + // return this.apiRequest.postFormData(url, formData); + // } + + updateCustomersite(data: any,id: number): Observable { + const url = `Sites/Sites/${id}`; + return this.apiRequest.put(url, data); + } + + getAllCustomerssite(): Observable { + const url = `Sites/Sites`; + return this.apiRequest.get(url); + } + + getCustomersiteById(id: number): Observable { + const url = `Sites/Sites/${id}`; + return this.apiRequest.get(url); + } + + deleteCustomersiteById(id: number): Observable { + const url = `Sites/Sites/${id}`; + return this.apiRequest.delete(url); + } + + + getsiteBycustId(id: number): Observable { + const url = `Sites/getSitesByCustomer/${id}`; + return this.apiRequest.get(url); + } + + + + ////// custom package + + public savecustompkgeData(data: any): Observable { + return this.apiRequest.post(`Billing/CustomPackage/CustomPackage`, data); + } + + public getcustompkgDetails(): Observable { + return this.apiRequest.get(`Billing/CustomPackage/CustomPackage`); + } + + public getcustompkgDetailsById(id: number): Observable { + return this.apiRequest.get(`Billing/CustomPackage/CustomPackage/${id}`); + } + + public deletecustompkgById(id: number): Observable { + return this.apiRequest.delete(`Billing/CustomPackage/CustomPackage/${id}`); + } + + public updatecustompkgData(data: any, id: number): Observable { + return this.apiRequest.put(`Billing/CustomPackage/CustomPackage/${id}`, data); + } + + + ///biiling total + public billingTotal(invoiceId: number, creditNoteId:number,paymentId): Observable { + return this.apiRequest.get(`Billing/Payments/alltotall/${invoiceId}/${creditNoteId}/${paymentId}`); + } + + public getdatabycustID(customerId: any): Observable { + return this.apiRequest.get(`token/Customer_master/getReceiptApplication/${customerId}`); + } + + + ////// list of items + //generate + getServicesBycustId(customerId: any): Observable { + return this.apiRequest.get(`token/Customer_master/getAllservices/${customerId}`); + } + + //generate 2 + getServices2BycustId(customerId: any): Observable { + return this.apiRequest.get(`token/Customer_master/getAllservicesWithDisc/${customerId}`); + } + + //discount and charges + //generate + getdiscountchargesBycustId(customerId: any): Observable { + return this.apiRequest.get(`token/Customer_master/getAllservicesWithDiscOrderlevel/${customerId}`); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/addguest/addguest.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/addguest/addguest.component.html new file mode 100644 index 0000000..b5e25a4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/addguest/addguest.component.html @@ -0,0 +1,137 @@ + + +
+ + +
+ +
+ cloudnSure + +
+
+ + + + + + + + +
+
+

Welcome to cloudnsure!

+
You're signing up as {{email}} +
+
+
+
+ +
+
First Name is required
+
+
+
+ +
+
Last Name is required
+
+
+
+ +
+
Mobile Number is required
+
Mobile Number is 10 numbers
+
+
+
+ + +
+
password is required
+
Password must be Minimum 6 Characters
+
+
+
+ + +
+
Password is required.
+
Password and Confirm Password must be match.
+
+ + +
+
+

User Info Is Added Please Login

+

Wrong account? Log in instead.

+
+
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/addguest/addguest.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/addguest/addguest.component.scss new file mode 100644 index 0000000..4408425 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/addguest/addguest.component.scss @@ -0,0 +1,86 @@ +//@import '../../../../../styles1.scss'; + + +//** variables +$background: #f5f6fa; +$text: #9c9c9c; +$input-bg-color: #fff; +$input-text-color: #a3a3a3; +$button-bg-color: #7f8ff4; +$button-text-color: #fff; +$google-button-bg-color: #7f8ff4; +$linkedin-button-bg-color: #4b76eb; + +//** root +:root { + background: $background; + color: $text; + font: 1rem "PT Sans", sans-serif; +} + +//** helper +.display_msg { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +.form { + /* margin-left: auto; + margin-right: auto; */ + &__field { + // width: 360px; + // //background: #fff; + // color: $input-text-color; + // font: inherit; + // //box-shadow: 0 6px 10px 0 rgba(0, 0, 0 , .1); + // border: 1 solid rgb(235, 230, 230); + // background-color:rgb(255, 255, 255); + // display: inline-block; + // border-radius: 4px; + // box-sizing: border-box; + // //outline: 0; + // padding: 6px 9px; + width: 360px; + padding: 7px 9px; + // margin: 3px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } +} + +.btn { + display: inline-block; + background: transparent; + color: inherit; + font: inherit; + border: 0; + outline: 0; + padding: 0; + transition: all 200ms ease-in; + cursor: pointer; + + &--primary { + background: $button-bg-color; + color: $button-text-color; + box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1); + border-radius: 2px; + width: 100%; + + &:hover { + background: darken($button-bg-color, 4%); + } + + &:active { + background: $button-bg-color; + box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2); + } + } +} +form { + margin-left: 8%; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/addguest/addguest.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/addguest/addguest.component.spec.ts new file mode 100644 index 0000000..562261f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/addguest/addguest.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AddguestComponent } from './addguest.component'; + +describe('AddguestComponent', () => { + let component: AddguestComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ AddguestComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(AddguestComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/addguest/addguest.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/addguest/addguest.component.ts new file mode 100644 index 0000000..4a01c87 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/addguest/addguest.component.ts @@ -0,0 +1,68 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute } from '@angular/router'; +import { MyworkspaceService } from 'src/app/services/admin/myworkspace.service'; +@Component({ + selector: 'app-addguest', + templateUrl: './addguest.component.html', + styleUrls: ['./addguest.component.scss'] +}) +export class AddguestComponent implements OnInit { + + public form: FormGroup; + submitted = false; + passchange; + newpHide: boolean = true; + newIcon: string = "eye"; + newShapeChanger() { + this.newpHide = !this.newpHide; + if(this.newpHide){ + this.newIcon = 'eye' + } else { + this.newIcon = 'eye-hide' + } + } + cpHide: boolean = true; + conIcon: string = "eye"; + comfShapeChanger() { + this.cpHide = !this.cpHide; + if(this.cpHide){ + this.conIcon = 'eye' + } else { + this.conIcon = 'eye-hide' + } + } + get f() { return this.form.controls; } + email: string; + token; + constructor(private _fb: FormBuilder, + private route: ActivatedRoute, + private mywork:MyworkspaceService) { } + + ngOnInit(): void { + this.email = this.mywork.getStoredEmail(); + console.log(this.email) + this.token = this.route.snapshot.params["id"]; + console.log("token is ", this.token); + //form validation + this.form = this._fb.group( + { + first_name: ['', Validators.required], + last_name: ['', Validators.required], + mob_no: ['', [Validators.required,Validators.minLength(10)]], + password: ['',[ Validators.required, Validators.minLength(6), Validators.maxLength(40)]], + confirm_password: ['', Validators.required], + + }, ); + } + onsubmit(){ +this.mywork.addguestdetails(this.form.value,this.token).subscribe((data)=>{ + console.log(data); + this.passchange=data; + console.log('success ', data); + },(err) => { + console.log('failure ', err); +}) + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.css new file mode 100644 index 0000000..0100f0b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.css @@ -0,0 +1,95 @@ +.header-6 { + background-color: #0072a3; +} + +:root { + background: #f5f6fa; + color: #9c9c9c; + font: 1rem "PT Sans", sans-serif; +} + +html, +body, +.container { + height: 100%; +} + +a { + color: inherit; +} +a:hover { + color: #7f8ff4; +} + +.email_check { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +.uppercase { + text-transform: uppercase; +} + +.new { + display: inline-block; + background: transparent; + color: inherit; + font: inherit; + border: 0; + outline: 0; + padding: 0; + transition: all 200ms ease-in; + cursor: pointer; +} +.new--newprimary { + background: #7f8ff4; + color: #fff; + box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1); + border-radius: 2px; + width: 100%; +} +.new--newprimary:hover { + background: #6c7ff2; +} +.new--newprimary:active { + background: #7f8ff4; + box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, 0.2); +} +.new--primary1 { + background: #4CAF50; + color: #fff; + box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1); + border-radius: 2px; + width: 100%; +} +.new--primary1:hover { + background: #6c7ff2; +} +.new--primary1:active { + background: #7f8ff4; + box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, 0.2); +} + +/* &--inside { + margin-left: -96px; +} */ +.form { + /* margin-left: auto; + margin-right: auto; */ +} +.form__field { + width: 360px; + background: #fff; + color: #626161; + font: inherit; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.1); + border: 0; + outline: 0; + padding: 10px 18px; +} + +.form__field { + border: 2px solid #7f8ff4; +}/*# sourceMappingURL=emailverification.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.css.map new file mode 100644 index 0000000..c07827b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["emailverification.component.scss","emailverification.component.css"],"names":[],"mappings":"AAAA;EACE,yBAAA;ACCF;;ADUA;EACC,mBATY;EAUZ,cATM;EAUN,gCAAA;ACPD;;ADUA;;;EAGC,YAAA;ACPD;;ADUA;EACC,cAAA;ACPD;ADSC;EACC,cApBgB;ACalB;;ADYA;EACC,aAAA;EACA,sBAAA;EACA,mBAAA;EACA,uBAAA;ACTD;;ADYA;EACC,yBAAA;ACTD;;ADaA;EACC,qBAAA;EACA,uBAAA;EACA,cAAA;EACA,aAAA;EACA,SAAA;EACA,UAAA;EACA,UAAA;EACA,6BAAA;EACA,eAAA;ACVD;ADYC;EACC,mBAjDgB;EAkDhB,WAjDkB;EAkDlB,2CAAA;EACA,kBAAA;EAGA,WAAA;ACZF;ADeE;EACC,mBAAA;ACbH;ADgBE;EACC,mBA/De;EAgEf,iDAAA;ACdH;ADiBC;EACC,mBAAA;EACA,WApEkB;EAqElB,2CAAA;EACA,kBAAA;EAGA,WAAA;ACjBF;ADoBE;EACC,mBAAA;AClBH;ADqBE;EACC,mBAlFe;EAmFf,iDAAA;ACnBH;;ADwBC;;GAAA;AAMD;EACC;uBAAA;ACvBD;ADyBC;EACC,YAAA;EAEA,gBAAA;EACA,cAtGiB;EAuGjB,aAAA;EACA,2CAAA;EACA,SAAA;EACA,UAAA;EACA,kBAAA;ACxBF;;AD2BA;EACE,yBAAA;ACxBF","file":"emailverification.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.html new file mode 100644 index 0000000..b490534 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.html @@ -0,0 +1,123 @@ + + + +
+
+ + +
+ +
+ {{ loginEnvironment.loginHeading2 | sanitize}} + +
+
+
+ +
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.scss new file mode 100644 index 0000000..acf07f3 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.scss @@ -0,0 +1,153 @@ +.header-6 { + background-color: #0072a3; +} + +.recaptcha-container { + display: flex; + flex-direction: column; + align-items: center; + margin-top: 10px; +} + +.recaptcha-box { + display: flex; + align-items: center; + gap: 8px; + margin-bottom: 5px; +} + +.recaptcha-input { + width: 100%; + max-width: 300px; + padding: 8px; + text-align: center; + border: 1px solid #ccc; + border-radius: 4px; +} + +.error_mess { + color: red; + font-size: 12px; + margin-top: 5px; +} + +//** variables +$background: #f5f6fa; +$text: #9c9c9c; +$input-bg-color: #fff; +$input-text-color: #626161; +$button-bg-color: #7f8ff4; +$button-text-color: #fff; + +//** root +:root { + background: $background; + color: $text; + font: 1rem "PT Sans", sans-serif; +} + +html, +body, +.container { + height: 100%; +} + +a { + color: inherit; + + &:hover { + color: $button-bg-color; + } +} + +//** helper +.email_check { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +.uppercase { + text-transform: uppercase; +} + +//** button +.new { + display: inline-block; + background: transparent; + color: inherit; + font: inherit; + border: 0; + outline: 0; + padding: 0; + transition: all 200ms ease-in; + cursor: pointer; + + &--newprimary { + background: $button-bg-color; + color: $button-text-color; + box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1); + border-radius: 2px; + //padding: 12px 36px; + //padding: 7px 158px; + width: 100%; + + + &:hover { + background: darken($button-bg-color, 4%); + } + + &:active { + background: $button-bg-color; + box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2); + } + } + + &--primary1 { + background: #4CAF50; + color: $button-text-color; + box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1); + border-radius: 2px; + //padding: 12px 36px; + //padding: 7px 158px; + width: 100%; + + + &:hover { + background: darken($button-bg-color, 4%); + } + + &:active { + background: $button-bg-color; + box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2); + } + } +} + +/* &--inside { + margin-left: -96px; + } */ + + +//** form +.form { + + /* margin-left: auto; + margin-right: auto; */ + &__field { + width: 360px; + //width: 450px; + background: #fff; + color: $input-text-color; + font: inherit; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0, .1); + border: 0; + outline: 0; + padding: 10px 18px; + } +} + +.form__field { + border: 2px solid #7f8ff4; +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.spec.ts new file mode 100644 index 0000000..220c3b5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { EmailverificationComponent } from './emailverification.component'; + +describe('EmailverificationComponent', () => { + let component: EmailverificationComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ EmailverificationComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(EmailverificationComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.ts new file mode 100644 index 0000000..50a3b58 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/emailverification/emailverification.component.ts @@ -0,0 +1,236 @@ +import { Component, OnInit, ViewEncapsulation } from '@angular/core'; +import { HttpClient, HttpErrorResponse } from "@angular/common/http"; + +import { AbstractControl, FormBuilder, FormGroup, ValidationErrors, Validators } from "@angular/forms"; +import { ActivatedRoute, Router } from "@angular/router"; + + +import { UserRegistrationService } from 'src/app/services/admin/user-registration.service'; +import { environment } from 'src/environments/environment'; +import { ToastrService } from 'ngx-toastr'; +import { LoginEnvironment } from '../login-page/login_environment'; + +export interface EmailRequest { + email: string; +} +@Component({ + selector: 'app-emailverification', + templateUrl: './emailverification.component.html', + styleUrls: ['./emailverification.component.scss'] +}) +export class EmailverificationComponent implements OnInit { + + loginEnvironment = LoginEnvironment; + + + + // baseUrl= environment.portalurl; + submitted = false; + conditions = { + condition1: true, + condition2: true, + condition3: true, + } + + siteKey = environment.captchaSiteKey; + // siteKey: string = "6Le7ayYpAAAAAL76n79XlVJCg1jbXZGbnzGNJ1rt"; + constructor(private _fb: FormBuilder, + private router: Router, + private route: ActivatedRoute, + private userRegistrationService: UserRegistrationService, + private http: HttpClient, + private toastr: ToastrService) { + } + + ngOnInit(): void { + this.generatefieldname(); + this.userRegistrationService.removeSignedUpUserInfo(); + this.userRegistrationService.removeStoredEmail(); + this.emailCheckForm = this._fb.group({ + email: [null, [Validators.email, Validators.required]], + // recaptcha: ['', Validators.required], + recaptcha: [null, [Validators.required, this.checkfieldname.bind(this)]], + first_name: [null], + last_name: [null], + mob_no: [null], + account_id: [null], + usrGrpId: [null], + new_password: [null], + confirm_password: [null], + accesstype: [null], + }); + } + + model: any = {}; + EmailRequest: EmailRequest; + emailErrMsg: string = "" + + fieldnameCode = ''; + generatefieldname(): void { + const possibleCharacters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; + const codeLength = 6; // Change to desired length + + let fieldname = ''; + for (let i = 0; i < codeLength; i++) { + const randomIndex = Math.floor(Math.random() * possibleCharacters.length); + fieldname += possibleCharacters.charAt(randomIndex); + } + this.fieldnameCode = fieldname; + } + + checkfieldname(control: AbstractControl): ValidationErrors | null { + if (control.value !== this.fieldnameCode) { + return { fieldnameMismatch: true }; + } + return null; + } + + fieldnameMismatch = false; + + // checkfieldnameEdit(): void { + // if (this.rowSelected.recaptcha !== this.fieldnameCode) { + // this.fieldnameMismatch = true; + // } else { this.fieldnameMismatch = false; } + // } + emailExistCheck() { + console.log('input email: ', this.model.email); + this.userRegistrationService.emailCheck(this.model.email) + .subscribe((res) => { + console.log('email check Res : ', res); + }, (err) => { + console.log(err); + }); + } + + emailCheckForm: FormGroup; + + get f() { + return this.emailCheckForm.controls; + } + + // onSubmit() { + // console.log('this.emailCheckForm.value : ', this.emailCheckForm.value); + // this.userRegistrationService.emailCheck(this.emailCheckForm.value) + // .subscribe((res) => { + // console.log('success: ', res); + // let email: string = res.message; + // console.log(email); + // this.userRegistrationService.storeEmail(email); + // this.router.navigate(["/selfregistration"]); + // }, (err: HttpErrorResponse) => { + // console.log(err); + // console.log(err.error.message); + // if (err.status === 409) { + // this.emailErrMsg = 'Email Already Exists'; + // } else { + // this.emailErrMsg = 'Server error'; + // } + // }); + // } + verifyButton = false; + handleSuccess(e) { + console.log("ReCaptcha", e); + console.log(this.emailCheckForm.controls); + const data: any = this.emailCheckForm.controls; + if (data.recaptcha.status == "VALID") { + this.verifyButton = true; + } + } + + result: any; + otpfromuser: string = ''; + otpshow = false; + onSubmit() { + if (this.emailCheckForm.invalid) { + this.submitted = true; + + console.log(`invalid form..`); + + Object.keys(this.emailCheckForm.controls).forEach(field => { + const control = this.emailCheckForm.get(field); + if (control && control.invalid) { + console.log(`Error in field: ${field}`, control.errors); + } + } + ); + return; + } + + let email = this.emailCheckForm.value.email; + console.log(this.emailCheckForm.value); + delete this.emailCheckForm.value.recaptcha + this.userRegistrationService.sendEmail(this.emailCheckForm.value).subscribe((res) => { + // this.userService.storeEmail(email); + // this.router.navigate(["/verify-account"]) + console.log(res); + this.emailErrMsg = ''; + + if (res) { + this.otpshow = true; + } + }, (err: HttpErrorResponse) => { + console.log(err) + if (err.status >= 400 && err.status <= 499) { + this.emailErrMsg = 'Email Already Exists or Enter Correct Email'; + } else { + this.emailErrMsg = 'Server error'; + } + }) + } + + + sendOTP(): void { + this.userRegistrationService.sendOTP(this.emailCheckForm.value.email).subscribe( + (response) => { + const email = this.emailCheckForm.value.email + console.log(`"${email}", please check and enter OTP from your email`, response); + // this.toastr.success(`"${email}", please check and enter OTP from your email`) + // Handle the response as needed + this.otpfromuser = '' + this.toastr.success(response?.msg.toString()); + }, + (error) => { + console.error('Failed to send OTP:', error); + // Handle errors + if (error.status >= 400 && error.status <= 499) { + this.toastr.error(error?.message.toString()); + } else if (error.status >= 500 && error.status <= 599) { + this.toastr.error("server error"); + } + } + ); + } + emailotpMsg: string = ""; + verifyOTP(): void { + this.userRegistrationService.verifyOTP(this.emailCheckForm.value.email, this.otpfromuser).subscribe( + (response) => { + console.log('OTP verification result:', response); + // Handle the verification result as needed + this.toastr.success(response?.msg.toString()); + setTimeout(() => { + this.router.navigate(["../about-work"], { relativeTo: this.route, queryParams: { email: this.emailCheckForm.value.email } }); + }, 500); + }, + (error) => { + console.error('OTP verification failed:', error); + // Handle errors + if (error.status >= 400 && error.status <= 499) { + // this.toastr.error(error?.error?.msg.toString()); + this.emailotpMsg = error?.error?.msg; + } else if (error.status >= 500 && error.status <= 599) { + this.emailotpMsg = 'Server error'; + } + } + ); + } + + + onSignUp() { + this.router.navigate(["signup"]); + } + + goToLogin() { + // window.location.href = `${this.baseUrl}/#/login`; + this.router.navigate(["login"]) + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotpassword/forgotpassword.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotpassword/forgotpassword.component.html new file mode 100644 index 0000000..c7dbdff --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotpassword/forgotpassword.component.html @@ -0,0 +1,38 @@ + + +
+ + +
+ +
+ cloudnSure + +
+
+ +
+ + +
+
+ + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotpassword/forgotpassword.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotpassword/forgotpassword.component.scss new file mode 100644 index 0000000..546c22b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotpassword/forgotpassword.component.scss @@ -0,0 +1,75 @@ +.email_check { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} +.form { + /* margin-left: auto; + margin-right: auto; */ + &__field { + width: 370px; + //width: 450px; + background: #fff; + color: #a3a3a3; + font: inherit; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0 , .1); + border: 0; + outline: 0; + padding: 10px 18px; + } +} +.form__field{ + border: 2px solid #7f8ff4 ; +} + +.btn { + display: inline-block; + background: transparent; + color: inherit; + font: inherit; + border: 0; + outline: 0; + padding: 0; + transition: all 200ms ease-in; + cursor: pointer; + + &--primary { + background: #7f8ff4; + color: #fff; + box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1); + border-radius: 2px; + //padding: 12px 36px; + //padding: 7px 158px; + width: 100%; + + + &:hover { + background: darken(#7f8ff4, 4%); + } + + &:active { + //background: $button-bg-color; + box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2); + } + } + &--primary1{ + background: #4CAF50; + color: #fff; + box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1); + border-radius: 2px; + //padding: 12px 36px; + //padding: 7px 158px; + width: 100%; + + + &:hover { + background: darken(#7f8ff4, 4%); + } + + &:active { + background: #7f8ff4; + box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2); + } + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotpassword/forgotpassword.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotpassword/forgotpassword.component.spec.ts new file mode 100644 index 0000000..5b02d71 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotpassword/forgotpassword.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ForgotpasswordComponent } from './forgotpassword.component'; + +describe('ForgotpasswordComponent', () => { + let component: ForgotpasswordComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ForgotpasswordComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ForgotpasswordComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotpassword/forgotpassword.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotpassword/forgotpassword.component.ts new file mode 100644 index 0000000..5888101 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotpassword/forgotpassword.component.ts @@ -0,0 +1,67 @@ +import { HttpErrorResponse } from '@angular/common/http'; +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import {ForgotpassService} from '../../../services/api/forgotpass.service'; +@Component({ + selector: 'app-forgotpassword', + templateUrl: './forgotpassword.component.html', + styleUrls: ['./forgotpassword.component.scss'] +}) +export class ForgotpasswordComponent implements OnInit { + public emailCheckForm: FormGroup; + emailErrMsg: string = "" +emailsend; + constructor(private _fb: FormBuilder, + private router: Router, + private route:ActivatedRoute, + private toastr:ToastrService, + private forgotpassservice:ForgotpassService) { } + + ngOnInit(): void { + this.emailCheckForm = this._fb.group({ + email: ['', Validators.email] + }); + } + onsubmit(){ + let email = this.emailCheckForm.value.email; + console.log(email); + this.forgotpassservice.sendemail(email).subscribe((data)=>{ + this.forgotpassservice.storeEmail(email); + console.log(data); + + // if(data=200){ + // this.toastr.success('Email Send successfully'); + // } + }, + (err: HttpErrorResponse) => { + console.log(err) + if (err.status === 200) { + this.emailsend=err.status; + //this.emailErrMsg = 'Email send please check mail'; + } + + } + ); + this.emailCheckForm.reset(); + } + onSubmit() { + let email = this.emailCheckForm.value.email; + console.log(email); + this.forgotpassservice.sendemail(email).subscribe((res) => { + this.forgotpassservice.storeEmail(email); + //this.router.navigate(["/varify-account"]) + }, (err: HttpErrorResponse) => { + console.log(err) + if (err.status === 409) { + this.emailErrMsg = 'Email Already Exists'; + } else { + this.emailErrMsg = 'Server error'; + } + }) + } + gotoreset(){ + this.router.navigate(["../forgotresetpassword"], { relativeTo: this.route }); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword/forgotresetpassword.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword/forgotresetpassword.component.html new file mode 100644 index 0000000..7f51910 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword/forgotresetpassword.component.html @@ -0,0 +1,50 @@ + + +
+ + +
+ +
+ cloudnSure + +
+
+ +
+
+

Please Reset Your Password

+

you're signed in as {{ email }}

+
+ +
+ +
+ + +
+
password is required
+
Password must be Minimum 3 Characters
+
+
+
+ + +
+
Password is required.
+
Password and Confirm Password must be match.
+
+
+ +
+
+

Email Is Reset Please Login

+

Wrong account? Log in instead.

+
+
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword/forgotresetpassword.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword/forgotresetpassword.component.scss new file mode 100644 index 0000000..3ee7d64 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword/forgotresetpassword.component.scss @@ -0,0 +1,83 @@ +//@import '../../../../../styles1.scss'; + + +//** variables +$background: #f5f6fa; +$text: #9c9c9c; +$input-bg-color: #fff; +$input-text-color: #a3a3a3; +$button-bg-color: #7f8ff4; +$button-text-color: #fff; +$google-button-bg-color: #7f8ff4; +$linkedin-button-bg-color: #4b76eb; + +//** root +:root { + background: $background; + color: $text; + font: 1rem "PT Sans", sans-serif; +} + +//** helper +.display_msg { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +.form { + /* margin-left: auto; + margin-right: auto; */ + &__field { + // width: 360px; + // //background: #fff; + // color: $input-text-color; + // font: inherit; + // //box-shadow: 0 6px 10px 0 rgba(0, 0, 0 , .1); + // border: 1 solid rgb(235, 230, 230); + // background-color:rgb(255, 255, 255); + // display: inline-block; + // border-radius: 4px; + // box-sizing: border-box; + // //outline: 0; + // padding: 6px 9px; + width: 360px; + padding: 9px 11px; + // margin: 3px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } +} + +.btn { + display: inline-block; + background: transparent; + color: inherit; + font: inherit; + border: 0; + outline: 0; + padding: 0; + transition: all 200ms ease-in; + cursor: pointer; + + &--primary { + background: $button-bg-color; + color: $button-text-color; + box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1); + border-radius: 2px; + width: 100%; + + &:hover { + background: darken($button-bg-color, 4%); + } + + &:active { + background: $button-bg-color; + box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2); + } + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword/forgotresetpassword.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword/forgotresetpassword.component.spec.ts new file mode 100644 index 0000000..d6988e6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword/forgotresetpassword.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ForgotresetpasswordComponent } from './forgotresetpassword.component'; + +describe('ForgotresetpasswordComponent', () => { + let component: ForgotresetpasswordComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ForgotresetpasswordComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ForgotresetpasswordComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword/forgotresetpassword.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword/forgotresetpassword.component.ts new file mode 100644 index 0000000..c61c0a8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword/forgotresetpassword.component.ts @@ -0,0 +1,103 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import {ForgotpassService} from '../../../services/api/forgotpass.service'; +@Component({ + selector: 'app-forgotresetpassword', + templateUrl: './forgotresetpassword.component.html', + styleUrls: ['./forgotresetpassword.component.scss'] +}) +export class ForgotresetpasswordComponent implements OnInit { + emailErrMsg: string = "" + oldpHide: boolean = true; + oldIcon: string = "eye"; + passchange; + + oldShapeChanger() { + this.oldpHide = !this.oldpHide; + if(this.oldpHide){ + this.oldIcon = 'eye' + } else { + this.oldIcon = 'eye-hide' + } + } + newpHide: boolean = true; + newIcon: string = "eye"; + newShapeChanger() { + this.newpHide = !this.newpHide; + if(this.newpHide){ + this.newIcon = 'eye' + } else { + this.newIcon = 'eye-hide' + } + } + cpHide: boolean = true; + conIcon: string = "eye"; + comfShapeChanger() { + this.cpHide = !this.cpHide; + if(this.cpHide){ + this.conIcon = 'eye' + } else { + this.conIcon = 'eye-hide' + } + } + email: string; + resetPasswordForm: FormGroup; + token; + constructor( private _fb: FormBuilder, + private router: Router, + private route: ActivatedRoute, + private forgotpassservice:ForgotpassService) { } + + ngOnInit(): void { + this.email = this.forgotpassservice.getStoredEmail(); + console.log(this.email) + //token + this.token = this.route.snapshot.params["id"]; + console.log("token is ", this.token); + this.resetPasswordForm = this._fb.group({ + email:this.email, + newPassword: ['', [Validators.required, Validators.minLength(3)]], + confirmPassword: ['', [Validators.required]] + }, { + validator: ConfirmedValidator('newPassword', 'confirmPassword') + }); + } + + get f() { return this.resetPasswordForm.controls; } + + submitted = false; + onSubmit() { + console.log('this.resetPasswordForm.value : ', this.resetPasswordForm.value); + this.submitted = true; + if(this.resetPasswordForm.invalid){ + return; + } + this.resetPassword(); + } + + resetPassword() { + this.forgotpassservice.resetpass(this.resetPasswordForm.value,this.token) + .subscribe((res) => { + this.passchange=res; + console.log('success ', res); + },(err) => { + console.log('failure ', err); + }); + this.resetPasswordForm.reset(); + } +} +export function ConfirmedValidator(controlName: string, matchingControlName: string){ + return (formGroup: FormGroup) => { + const control = formGroup.controls[controlName]; + const matchingControl = formGroup.controls[matchingControlName]; + if (matchingControl.errors && !matchingControl.errors.confirmedValidator) { + return; + } + if (control.value !== matchingControl.value) { + matchingControl.setErrors({ confirmedValidator: true }); + } else { + matchingControl.setErrors(null); + } + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword1/forgotresetpassword1.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword1/forgotresetpassword1.component.html new file mode 100644 index 0000000..86869d4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword1/forgotresetpassword1.component.html @@ -0,0 +1,142 @@ + + +
+ + +
+ +
+ cloudnSure + +
+
+ + + + + + + + +
+
+

Welcome to cloudnsure!

+
You're signing up as {{email}}
+
+
+
+ +
+
First Name is required
+
+
+
+ +
+
Last Name is required
+
+
+
+ +
+
Mobile Number is required
+
Mobile Number is 10 numbers
+
+
+
+ + +
+
password is required
+
Password must be Minimum 6 Characters
+
+
+
+ + +
+
Password is required.
+
Password and Confirm Password must be match.
+
+ + +
+
+

User Info Is Added Please Login

+

Wrong account? Log in instead.

+
+
+ + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword1/forgotresetpassword1.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword1/forgotresetpassword1.component.scss new file mode 100644 index 0000000..4408425 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword1/forgotresetpassword1.component.scss @@ -0,0 +1,86 @@ +//@import '../../../../../styles1.scss'; + + +//** variables +$background: #f5f6fa; +$text: #9c9c9c; +$input-bg-color: #fff; +$input-text-color: #a3a3a3; +$button-bg-color: #7f8ff4; +$button-text-color: #fff; +$google-button-bg-color: #7f8ff4; +$linkedin-button-bg-color: #4b76eb; + +//** root +:root { + background: $background; + color: $text; + font: 1rem "PT Sans", sans-serif; +} + +//** helper +.display_msg { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +.form { + /* margin-left: auto; + margin-right: auto; */ + &__field { + // width: 360px; + // //background: #fff; + // color: $input-text-color; + // font: inherit; + // //box-shadow: 0 6px 10px 0 rgba(0, 0, 0 , .1); + // border: 1 solid rgb(235, 230, 230); + // background-color:rgb(255, 255, 255); + // display: inline-block; + // border-radius: 4px; + // box-sizing: border-box; + // //outline: 0; + // padding: 6px 9px; + width: 360px; + padding: 7px 9px; + // margin: 3px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } +} + +.btn { + display: inline-block; + background: transparent; + color: inherit; + font: inherit; + border: 0; + outline: 0; + padding: 0; + transition: all 200ms ease-in; + cursor: pointer; + + &--primary { + background: $button-bg-color; + color: $button-text-color; + box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1); + border-radius: 2px; + width: 100%; + + &:hover { + background: darken($button-bg-color, 4%); + } + + &:active { + background: $button-bg-color; + box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2); + } + } +} +form { + margin-left: 8%; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword1/forgotresetpassword1.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword1/forgotresetpassword1.component.spec.ts new file mode 100644 index 0000000..04d1708 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword1/forgotresetpassword1.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { Forgotresetpassword1Component } from './forgotresetpassword1.component'; + +describe('Forgotresetpassword1Component', () => { + let component: Forgotresetpassword1Component; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ Forgotresetpassword1Component ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(Forgotresetpassword1Component); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword1/forgotresetpassword1.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword1/forgotresetpassword1.component.ts new file mode 100644 index 0000000..66b459e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/forgotresetpassword1/forgotresetpassword1.component.ts @@ -0,0 +1,71 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { MyworkspaceService } from 'src/app/services/admin/myworkspace.service'; + +@Component({ + selector: 'app-forgotresetpassword1', + templateUrl: './forgotresetpassword1.component.html', + styleUrls: ['./forgotresetpassword1.component.scss'] +}) +export class Forgotresetpassword1Component implements OnInit { + public form: FormGroup; + submitted = false; + passchange; + newpHide: boolean = true; + newIcon: string = "eye"; + newShapeChanger() { + this.newpHide = !this.newpHide; + if (this.newpHide) { + this.newIcon = 'eye' + } else { + this.newIcon = 'eye-hide' + } + } + cpHide: boolean = true; + conIcon: string = "eye"; + comfShapeChanger() { + this.cpHide = !this.cpHide; + if (this.cpHide) { + this.conIcon = 'eye' + } else { + this.conIcon = 'eye-hide' + } + } + get f() { return this.form.controls; } + email: string; + token; + constructor(private _fb: FormBuilder, + private route: ActivatedRoute, + private mywork: MyworkspaceService, + private toastr: ToastrService,) { } + + ngOnInit(): void { + this.email = this.mywork.getStoredEmail(); + console.log(this.email) + this.token = this.route.snapshot.params["id"]; + console.log("token is ", this.token); + //form validation + this.form = this._fb.group( + { + first_name: ['', Validators.required], + last_name: ['', Validators.required], + mob_no: ['', [Validators.required, Validators.minLength(10)]], + password: ['', [Validators.required, Validators.minLength(6), Validators.maxLength(40)]], + confirm_password: ['', Validators.required], + + },); + } + onsubmit() { + this.mywork.adduserdetails(this.form.value, this.token).subscribe((data) => { + console.log(data); + this.passchange = data; + this.toastr.success('Email Send successfully'); + console.log('success ', data); + }, (err) => { + this.toastr.error("Server Error"); + console.log('failure ', err); + }) + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.html new file mode 100644 index 0000000..df4eba9 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.html @@ -0,0 +1,146 @@ + + + + +
+ +
+ + + +
+ +
+ + + + +
+ +
+ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.scss new file mode 100644 index 0000000..221d360 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.scss @@ -0,0 +1,23 @@ + .tamplate1 { + background-image: url(../../../../assets/images/new.png); + background-repeat: no-repeat; + background-size: 60%; + background-position: right center; + border: 1px solid #000; + } + + .tamplate2 { + background-image: url(../../../../assets/images/new.png); + background-repeat: no-repeat; + background-size: 60%; + background-position: left center; + display: flex; + justify-content: flex-end; + align-items: center; + border: 1px solid #000; + } + .signup { + cursor: pointer; + // color:#80b0ff; + } + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.spec.ts new file mode 100644 index 0000000..fe42df4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { LoginPageComponent } from './login-page.component'; + +describe('LoginPageComponent', () => { + let component: LoginPageComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ LoginPageComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(LoginPageComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.ts new file mode 100644 index 0000000..be82326 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login-page.component.ts @@ -0,0 +1,108 @@ +import { Component, OnInit } from '@angular/core'; +import { Router } from '@angular/router'; +import { LoginService } from '../../../services/api/login.service'; +import { ActivatedRoute} from '@angular/router'; +import { HttpErrorResponse } from '@angular/common/http'; +import { ToastrService } from 'ngx-toastr'; +import{environment} from 'src/environments/environment'; +// import { ExtendedLoginEnvironment, LoginEnvironment } from './login_environment'; +//import { UserRegistrationService } from 'src/app/services/api/user-registration.service'; +import { LoginEnvironment } from './login_environment'; + + +@Component({ + selector: 'app-login-page', + templateUrl: './login-page.component.html', + styleUrls: ['./login-page.component.scss'] +}) +export class LoginPageComponent implements OnInit { + + loginEnvironment = LoginEnvironment; + showLogin2 = true; + + + // loginEnvironment: LoginEnvironment = { + // companyName: 'io8.dev', + // imagePath: '../../../../assets/images/new.png', + // fpass: 'forgot password', + // isSignup: true, + // // template:'', + // }; + + + // loginEnvironment: ExtendedLoginEnvironment = { + // companyName: 'io8.dev', + // imagePath: '../../../../assets/images/new.png', + // fpass: 'Forgot Password?', + // isSignup: true // or false based on your requirement + // }; + + + email = ''; + password = ''; + isError = false; + + model: any = {}; + errMsg: string = ''; + constructor( + private router: Router, + private route:ActivatedRoute, + private loginService: LoginService, + private toastr: ToastrService, + ) { } + + ngOnInit() { + this.loginService.logout(false); + + this.loginEnvironment["imagePath"] = !this.loginEnvironment.loginImageURL ? "../../../../assets/images/new.png" : this.loginEnvironment.loginImageURL; + + console.log('Login Environment:', this.loginEnvironment); + } + + getWrapperClass(): string { + if (this.loginEnvironment.templateNo === 'Template 1') { + return 'login-wrapper tamplate1'; + + } else if (this.loginEnvironment.templateNo === 'Template 2') { + return 'login-wrapper tamplate2'; + } else if (this.loginEnvironment.templateNo === '') { + return 'login-wrapper tamplate1'; // Default class or empty string if no match + } + } + + onLogin() { + // tslint:disable-next-line:max-line-length + this.loginService.getToken(this.model.email, this.model.password) + .subscribe(resp => { + if (resp.user === undefined || resp.user.token === undefined || resp.user.token === "INVALID") { + this.errMsg = 'Checking Email or password'; + return; + } + this.router.navigate([resp.landingPage]);// add , {skipLocationChange: true} + }, + (errResponse: HttpErrorResponse) => { + switch (errResponse.status) { + case 401: + this.errMsg = 'Email or password is incorrect'; + break; + case 404: + this.errMsg = 'Service not found'; + case 408: + this.errMsg = 'Request Timedout'; + case 500: + this.errMsg = 'Internal Server Error'; + default: + this.errMsg = 'Server Error'; + } + } + ); + + } + goaccount(){ + } + goforgotpass(){ + this.router.navigate(["../forgotpass"], { relativeTo: this.route }); + } + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login_environment.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login_environment.ts new file mode 100644 index 0000000..c6eaeef --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-page/login_environment.ts @@ -0,0 +1,15 @@ + + +export const LoginEnvironment = { + + "templateNo": "Template 1", + "loginHeading": "Welcome", + "loginHeading2": "io8.dev1", + "isSignup": "true", + "loginSignup": "Use your ID to sign in OR ", + "loginSignup2": "create one now", + "loginForgotpass": "FORGOT PASSWORD?", + "loginImage": "[]", + "loginImageURL": "null" + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-routing.module.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-routing.module.ts new file mode 100644 index 0000000..d0e2a2f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login-routing.module.ts @@ -0,0 +1,27 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; +import { AddguestComponent } from './addguest/addguest.component'; +import { ForgotpasswordComponent } from './forgotpassword/forgotpassword.component'; +import { ForgotresetpasswordComponent } from './forgotresetpassword/forgotresetpassword.component'; +import { Forgotresetpassword1Component } from './forgotresetpassword1/forgotresetpassword1.component'; + +import { LoginPageComponent } from './login-page/login-page.component'; +import { EmailverificationComponent } from './emailverification/emailverification.component'; +import { AboutWorkComponent } from './about-work/about-work.component'; + +const routes: Routes = [ + { path: 'login', component: LoginPageComponent }, + {path: 'forgotpass', component:ForgotpasswordComponent}, + {path:'forgotresetpassword/:id', component:ForgotresetpasswordComponent}, + {path:'adduser/:id', component:Forgotresetpassword1Component}, + {path:'addguest/:id', component:AddguestComponent}, + + { path: 'email-verification', component: EmailverificationComponent }, + {path: 'about-work', component:AboutWorkComponent}, +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class LoginRoutingModule { } diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login.module.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login.module.ts new file mode 100644 index 0000000..afc5e7d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/login/login.module.ts @@ -0,0 +1,30 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; +import { ClarityModule } from '@clr/angular'; +import { NgxCaptchaModule } from 'ngx-captcha'; + +import { LoginRoutingModule } from './login-routing.module'; +import { LoginPageComponent } from './login-page/login-page.component'; +import { ForgotpasswordComponent } from './forgotpassword/forgotpassword.component'; +import { ForgotresetpasswordComponent } from './forgotresetpassword/forgotresetpassword.component'; +import { Forgotresetpassword1Component } from './forgotresetpassword1/forgotresetpassword1.component'; +import { AddguestComponent } from './addguest/addguest.component'; + +import { EmailverificationComponent } from './emailverification/emailverification.component'; +import { AboutWorkComponent } from './about-work/about-work.component'; +import { SanitizePipe } from 'src/app/pipes/sanitize.pipe'; + +@NgModule({ + declarations: [LoginPageComponent, ForgotpasswordComponent, ForgotresetpasswordComponent, Forgotresetpassword1Component, AddguestComponent, + EmailverificationComponent, AboutWorkComponent,SanitizePipe], + imports: [ + CommonModule, + FormsModule, + ClarityModule, + LoginRoutingModule, + ReactiveFormsModule, + NgxCaptchaModule, + ] +}) +export class LoginModule { } diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/logo/logo.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/logo/logo.component.html new file mode 100644 index 0000000..2ce72ee --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/logo/logo.component.html @@ -0,0 +1,26 @@ + + + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/logo/logo.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/logo/logo.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/logo/logo.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/logo/logo.component.ts new file mode 100644 index 0000000..cb0dad1 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/logo/logo.component.ts @@ -0,0 +1,17 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-logo', + templateUrl: './logo.component.html', + styleUrls: ['./logo.component.scss'] +}) +export class LogoComponent implements OnInit { + + + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component.html new file mode 100644 index 0000000..483d3de --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component.html @@ -0,0 +1,405 @@ + +
+
+
+

Stepper Workflow

+
+
+ + + +
+
+ + + + Loading ... + +
{{error}}
+
+ + Name + + + + Description + + + + Active + + + + + + Action + + + + + + {{user. name }} + + + + + + + {{user. active }} + + + + + + + +
Who Column
+
Account ID: {{user.accountId}}
+
Created At: {{user.createdAt| date}}
+
Created By: {{user.createdBy}}
+
Updated At: {{user.updatedAt | date}}
+
Updated By: {{user.updatedBy}}
+
+
+ + + + + +
+ + + + + + + +
+ + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+ + + +
+
+
+
+
+
+ +
+
+ {{beforeText(item.fieldtext)}} + {{ app[transform(item.fieldtext) ] }} + {{afterText(item.fieldtext)}} +
+ +
+ {{beforeText(item.fieldtext)}} + {{ app[transform(item.fieldtext) ] | date}} + {{afterText(item.fieldtext)}} +
+
+ {{beforeText(item.fieldtext)}} + {{ app[transform(item.fieldtext) ]}} + {{afterText(item.fieldtext)}} +
+ +
+
+
+ + +
+ +
+ +
+ File Preview +
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component.scss new file mode 100644 index 0000000..c47b921 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component.scss @@ -0,0 +1,78 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } +} +.delete,.heading{ + text-align: center; + color: red; +} +.entry-pg { + width: 750px; +} + +.button1::after { + content: none; +} +.button1:hover::after { + content: "ADD ROWS"; +} + +.section { + background-color: #dddddd; + height: 40px; +} + +.section p { + //color: white; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.center { + text-align: center; +} +select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +input[type=text],[type=date],[type=number],textarea { + width: 100%; + padding: 15px 15px; + background-color:rgb(255, 255, 255); + // margin: 8px 0; + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} +.error_mess { + color: red; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component.ts new file mode 100644 index 0000000..8052672 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component.ts @@ -0,0 +1,259 @@ + + + + + + + + + + + + + + + + + + + + + + + +import { Component, OnInit } from '@angular/core'; +import { ToastrService } from 'ngx-toastr'; +import { AlertService } from 'src/app/services/alert.service'; +import { Stepper_workflowservice } from './Stepper_workflow.service'; +import { AbstractControl, FormArray, FormBuilder, FormGroup, Validators, ValidationErrors } from '@angular/forms'; +import { ExtensionService } from 'src/app/services/fnd/extension.service'; +import { DashboardContentModel2 } from 'src/app/models/builder/dashboard'; +import { Stepper_workflowcardvariable } from './Stepper_workflow_cardvariable'; +import { UserInfoService } from 'src/app/services/user-info.service'; +import { ActivatedRoute, Router } from '@angular/router'; + +declare var JsBarcode: any; +@Component({ + selector: 'app-Stepper_workflow', + templateUrl: './Stepper_workflow.component.html', + styleUrls: ['./Stepper_workflow.component.scss'] +}) +export class Stepper_workflowComponent implements OnInit { + cardButton = Stepper_workflowcardvariable.cardButton; + cardmodeldata = Stepper_workflowcardvariable.cardmodeldata; + public dashboardArray: DashboardContentModel2[]; + isCardview = Stepper_workflowcardvariable.cardButton; + cardmodal; changeView() { + this.isCardview = !this.isCardview; + } + beforeText(fieldtext: string): string { // Extract the text before the first '<' + const index = fieldtext.indexOf('<'); + return index !== -1 ? fieldtext.substring(0, index) : fieldtext; + } + afterText(fieldtext: string): string { // Extract the text after the last '>' + const index = fieldtext.lastIndexOf('>'); + return index !== -1 ? fieldtext.substring(index + 1) : ''; + } + transform(fieldtext: string): string { + const match = fieldtext.match(/<([^>]*)>/); + return match ? match[1] : ''; // Extract the text between '<' and '>' + } + userrole; + rowSelected: any = {}; + modaldelete = false; + modalEdit = false; + modalAdd = false; + public entryForm: FormGroup; + loading = false; + product; + modalOpenedforNewLine = false; + newLine: any; + additionalFieldsFromBackend: any[] = []; + formcode = 'Stepper_workflow_formCode' + tableName = 'Stepper_workflow'; checkFormCode; selected: any[] = []; constructor( + private extensionService: ExtensionService, + private userInfoService: UserInfoService, + private mainService: Stepper_workflowservice, + private alertService: AlertService, + private toastr: ToastrService, + private _fb: FormBuilder, + private router: Router, + private route: ActivatedRoute, + ) { } + // component button + ngOnInit(): void { + if (this.cardmodeldata !== '') { + this.cardmodal = JSON.parse(this.cardmodeldata); + this.dashboardArray = this.cardmodal.dashboard.slice(); + console.log(this.dashboardArray) + } + this.userrole = this.userInfoService.getRoles(); + this.getData(); + this.entryForm = this._fb.group({ + name: [null], + + description: [null], + + active: [true], + + + + }); // component_button200 + // form code start + this.extensionService.getJsonObjectsByFormCodeList(this.formcode).subscribe(data => { + console.log(data); + const jsonArray = data.map((str) => JSON.parse(str)); + this.additionalFieldsFromBackend = jsonArray; + this.checkFormCode = this.additionalFieldsFromBackend.some(field => field.formCode === "Stepper_workflow_formCode"); + console.log(this.checkFormCode); + console.log(this.additionalFieldsFromBackend); + if (this.additionalFieldsFromBackend && this.additionalFieldsFromBackend.length > 0) { + this.additionalFieldsFromBackend.forEach(field => { + if (field.formCode === this.formcode) { + if (!this.entryForm.contains(field.extValue)) { + // Add the control only if it doesn't exist in the form + this.entryForm.addControl(field.extValue, this._fb.control(field.fieldValue)); + } + } + }); + } + }); + console.log(this.entryForm.value); + // form code end + + + } + + + error; + getData() { + this.mainService.getAll().subscribe((data) => { + console.log(data); + this.product = data; + if (this.product.length == 0) { + this.error = "No Data Available" + } + }, (error) => { + console.log(error); + if (error) { + this.error = "Server Error"; + } + }); + } + onEdit(row) { + this.rowSelected = row; + + this.modalEdit = true; + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.mainService.delete(id).subscribe( + (data) => { + console.log(data); + this.ngOnInit(); + if (data) { this.toastr.success('Deleted successfully'); } + }); + } + onUpdate(id) { + this.modalEdit = false; + + + //console.log("in update"); + console.log("id " + id); + console.log(this.rowSelected); + //console.log("out update"); + this.mainService.update(id, this.rowSelected).subscribe( + (data) => { + console.log(data); + if (data || data.status >= 200 && data.status <= 299) { + this.toastr.success("Update Successfully"); + } + setTimeout(() => { + this.ngOnInit(); + }, 500); + + }, (error) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + // this.toastr.success("update Succesfully"); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error("Not Updated"); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Not Updated"); + } + }); + setTimeout(() => { + this.ngOnInit(); + }, 500); + } + onCreate() { + this.modalAdd = false; + + this.mainService.create(this.entryForm.value).subscribe( + (data) => { + console.log(data); + if (data || data.status >= 200 && data.status <= 299) { + this.toastr.success("Added Successfully"); + } + setTimeout(() => { + this.ngOnInit(); + }, 500); + + }, (error) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + // this.toastr.success("Added Succesfully"); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error("Not Added"); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Not Added"); + } + }); + setTimeout(() => { + this.ngOnInit(); + }, 500); + } + goToAdd(row) { + this.modalAdd = true; + this.submitted = false; + + } + submitted = false; + onSubmit() { + console.log(this.entryForm.value); + this.submitted = true; + if (this.entryForm.invalid) { + return; + } this.onCreate(); + + } + + + rsModaldescription = false; + goToReplaceStringdescription(row) { + this.rowSelected = row; this.rsModaldescription = true; + } + + + gotoStepper(id) { + + console.log('id is ', id) + + // stepper route + + + + + } + + // updateaction +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.service.ts new file mode 100644 index 0000000..da9eebd --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.service.ts @@ -0,0 +1,39 @@ +import { Injectable } from '@angular/core'; +import { Observable } from "rxjs"; +import { HttpClient, HttpHeaders, HttpParams, } from "@angular/common/http"; +import { ApiRequestService } from "src/app/services/api/api-request.service"; +import { environment } from 'src/environments/environment'; +@Injectable({ + providedIn: 'root' +}) +export class Stepper_workflowservice{ + private baseURL = "Stepper_workflow/Stepper_workflow" ; constructor( + private http: HttpClient, + private apiRequest: ApiRequestService, + ) { } + getAll(page?: number, size?: number): Observable { + return this.apiRequest.get(this.baseURL); + } + getById(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.get(_http); + } + create(data: any): Observable { + return this.apiRequest.post(this.baseURL, data); + } + update(id: number, data: any): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, data); + } + delete(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.delete(_http); + } + + + + + + +// updateaction +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow_cardvariable.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow_cardvariable.ts new file mode 100644 index 0000000..1cdd2a5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow_cardvariable.ts @@ -0,0 +1,4 @@ +export const Stepper_workflowcardvariable = { + "cardButton": false, + "cardmodeldata": `` +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/test.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/test.html new file mode 100644 index 0000000..815da4a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/test.html @@ -0,0 +1,20 @@ + + + + +gaurav + + + + +

this is h1

+

this is h1

+

this is h1

+

this is h1

+

Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ipsa fuga, asperiores mollitia iste vitae repellendus adipisci atque eum corrupti ad placeat unde voluptatum quia perferendis neque expedita, sequi iure quo. Ut error adipisci ex cum sint, suscipit, voluptatem repellat nemo dolorum unde dolores quasi aut. A earum quo mollitia voluptatibus!

+ + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/about/about.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/about/about.component.html new file mode 100644 index 0000000..552bb52 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/about/about.component.html @@ -0,0 +1,13 @@ + + +
+ Angular Logo +

+ Angular {{ version.full }} + and Clarity Design System 15.2.0 +

+ UX guidelines, HTML/CSS framework, and Angular components working together to craft exceptional experiences +
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/about/about.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/about/about.component.scss new file mode 100644 index 0000000..e6d686a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/about/about.component.scss @@ -0,0 +1,15 @@ +a:link { + text-decoration: none; +} + +a:visited { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +a:active { + text-decoration: none; +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/about/about.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/about/about.component.spec.ts new file mode 100644 index 0000000..6b77344 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/about/about.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AboutComponent } from './about.component'; + +describe('AboutComponent', () => { + let component: AboutComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ AboutComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(AboutComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/about/about.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/about/about.component.ts new file mode 100644 index 0000000..07e4283 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/about/about.component.ts @@ -0,0 +1,14 @@ +import { Component, OnInit, VERSION } from '@angular/core'; + +@Component({ + selector: 'app-about', + templateUrl: './about.component.html', + styleUrls: ['./about.component.scss'] +}) +export class AboutComponent implements OnInit { + version: any = VERSION; + constructor() { } + + ngOnInit() {} + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/about/about.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/about/about.component.html new file mode 100644 index 0000000..29e3819 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/about/about.component.html @@ -0,0 +1,18 @@ + + +
+ Image +

+ {{ 'ABOUT_TITLE' | translate }} +

+ {{ 'ABOUT_DESCRIPTION' | translate }} +
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/about/about.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/about/about.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/about/about.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/about/about.component.spec.ts new file mode 100644 index 0000000..6b77344 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/about/about.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AboutComponent } from './about.component'; + +describe('AboutComponent', () => { + let component: AboutComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ AboutComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(AboutComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/about/about.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/about/about.component.ts new file mode 100644 index 0000000..80c565f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/about/about.component.ts @@ -0,0 +1,19 @@ +import { Component, OnInit, VERSION } from '@angular/core'; +import { TranslateService } from '@ngx-translate/core'; + +@Component({ + selector: 'app-about', + templateUrl: './about.component.html', + styleUrls: ['./about.component.scss'] +}) +export class AboutComponent implements OnInit { + version: any = VERSION; + + constructor(private translate: TranslateService) { } + + ngOnInit() {} + + switchLanguage(language: string) { + this.translate.use(language); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/accesstype/accesstype.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/accesstype/accesstype.component.html new file mode 100644 index 0000000..289c50b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/accesstype/accesstype.component.html @@ -0,0 +1,204 @@ + + + + + +
+
+

{{'accessType' | translate}}

+
+
+ + +
+
+ + + + Loading ... +
{{error}}
+ + {{'name' | translate}} + {{'default' | translate}} + {{'description' | translate}} + + + + + {{user.name}} + + {{user.description}} + + + + + + + + + + + + {{'usersPerPage' | translate}} + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + {{'of' | translate}} {{pagination.totalItems}} {{'users' | translate}} + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/accesstype/accesstype.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/accesstype/accesstype.component.scss new file mode 100644 index 0000000..d3cd6e7 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/accesstype/accesstype.component.scss @@ -0,0 +1,62 @@ +input[type=text],[type=date],[type=password] { + width: 100%; + padding: 15px 20px; + // margin: 3px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} +.required-field{ + color: red; +font-size: 18px; + +} +.green{ + background-color: rgb(156, 231, 156); + color: black; +} +.blue{ + background-color: #57abcf;//rgb(82, 87, 161); + color: black; +} +.td-title { + text-align: center; + width: 150px; +color: white; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + //color: rgb(24, 13, 13); +} +th{ + //background-color:rgb(170, 169, 169); + font-weight: bold; +} +.td-content{ + text-align: left; +} +.delete,.heading{ + text-align: center; + color: red; +} +.section p { +background-color: rgb(206, 201, 201); + padding: 10px; + font-size: 18px; +} + +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + +input.ng-invalid.ng-touched { + border-color: red; +} + +.error_mess { + color: red; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/accesstype/accesstype.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/accesstype/accesstype.component.spec.ts new file mode 100644 index 0000000..5c4bf19 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/accesstype/accesstype.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AccesstypeComponent } from './accesstype.component'; + +describe('AccesstypeComponent', () => { + let component: AccesstypeComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ AccesstypeComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(AccesstypeComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/accesstype/accesstype.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/accesstype/accesstype.component.ts new file mode 100644 index 0000000..a54048d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/accesstype/accesstype.component.ts @@ -0,0 +1,189 @@ +import { Component, OnInit } from '@angular/core'; +import { Form, FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { AccesstypeService } from 'src/app/services/admin/accesstype.service'; + +@Component({ + selector: 'app-accesstype', + templateUrl: './accesstype.component.html', + styleUrls: ['./accesstype.component.scss'] +}) +export class AccesstypeComponent implements OnInit { + loading = false; + selected: any[] = []; + rowSelected: any = {}; + modaldelete = false; + modalAdd = false; + modaledit = false; + moduleAdd = false; + error; + data; + module; + moduledata; + submitted = false; + selected1 = "true"; + public entryForm: FormGroup; + public mentryForm: FormGroup; + constructor(private _fb: FormBuilder, private toastr: ToastrService, + private router: Router, private accesstype: AccesstypeService, + private route: ActivatedRoute, + ) { } + + ngOnInit(): void { + this.entryForm = this._fb.group({ + + name: ['', [Validators.required]], + defaultvalue: ['', [Validators.required]], + description: ['', [Validators.required]], + + }); + this.mentryForm = this._fb.group({ + modulename: [null], + }) + this.getdata(); + this.getdata1(); + } + getdata() { + this.accesstype.getAll().subscribe(resp => { + this.data = resp; + console.log('menus: ', this.data); + if (this.data.length == 0) { + this.error = "No data Available"; + console.log(this.error) + } + }, (error) => { + console.log(error); + if (error) { + this.error = "Server Error"; + } + }) + } + getdata1() { + this.accesstype.getAll1().subscribe(resp => { + this.moduledata = resp; + console.log('menus: ', this.moduledata); + if (this.moduledata.length == 0) { + this.error = "No data Available"; + console.log(this.error) + } + }, (error) => { + console.log(error); + if (error) { + this.error = "Server Error"; + } + }) + } + goToAdd() { + this.modalAdd = true; + } + onSubmit() { + console.log(this.entryForm.value); + this.submitted = true; + if (this.entryForm.invalid) { + return; + } + console.log(this.entryForm.value); + this.accesstype.create(this.entryForm.value).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Added successfully'); + } + this.ngOnInit(); + }, + (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not added Data Getting Some Error'); + } + this.ngOnInit(); + + }); + this.modalAdd = false; + } + goToEdit(row) { + this.rowSelected = row; + console.log(row) + this.modaledit = true; + //this.router.navigate(["../edit/" + id], { relativeTo: this.route }); + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.accesstype.delete(id).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Deleted successfully'); + } + this.ngOnInit(); + }, + (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not Deleted Data Getting Some Error'); + } + this.ngOnInit(); + }); + + } + onUpdate(id) { + this.modaledit = false; + this.accesstype.update(id, this.rowSelected).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Updated successfully'); + } + this.ngOnInit(); + }, + (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not updated Data Getting Some Error'); + } + this.ngOnInit(); + }); + } + goTomodules() { + this.router.navigate(["../acmodules"], { relativeTo: this.route }); + } + accessid; + gomodules(row) { + this.rowSelected = row; + this.moduleAdd = true; + this.accessid = row.id + this.getallidmodules(this.accessid) + } + moduledata1; + getallidmodules(id) { + this.accesstype.getById(id).subscribe((data) => { + console.log(data); + this.moduledata1 = data; + if (this.moduledata1.length == 0) { + this.error = "No data Available"; + console.log(this.error) + } + }) + } + addmodules(id) { + console.log(this.mentryForm.value); + this.accesstype.addById(id, this.mentryForm.value).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success("Added Successfully"); + } + this.ngOnInit(); + }, (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not Added Data Getting Some Error'); + } + this.ngOnInit(); + }) + this.moduleAdd = false; + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentmaster/documentmaster.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentmaster/documentmaster.component.html new file mode 100644 index 0000000..fce1d94 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentmaster/documentmaster.component.html @@ -0,0 +1,128 @@ + + + + +
+
+ +
+ + +
+
+ + + + + + + + + data not found! + + + NO + + + Structure ID + + + Structure Name + + + Structure Seq + + + + + + {{i+1}} + {{user.StructureID}} + {{user.StructureName}} + {{user.StructureSeq}} + + + + + + + + + + + + + + + + +
StructureName{{user.StructureName}}
+
+
+ + + + Record per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} Records + + +
+
+ + + + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentmaster/documentmaster.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentmaster/documentmaster.component.scss new file mode 100644 index 0000000..36abb8c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentmaster/documentmaster.component.scss @@ -0,0 +1 @@ +@import '../../../../../styles1.scss'; diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentmaster/documentmaster.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentmaster/documentmaster.component.spec.ts new file mode 100644 index 0000000..7fde7a8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentmaster/documentmaster.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DocumentmasterComponent } from './documentmaster.component'; + +describe('DocumentmasterComponent', () => { + let component: DocumentmasterComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ DocumentmasterComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(DocumentmasterComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentmaster/documentmaster.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentmaster/documentmaster.component.ts new file mode 100644 index 0000000..4779866 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentmaster/documentmaster.component.ts @@ -0,0 +1,30 @@ +import { Component, OnInit } from '@angular/core'; +import { FormGroup } from '@angular/forms'; +import { ExcelService } from '../../../../services/excel.service'; +import * as moment from 'moment'; +@Component({ + selector: 'app-documentmaster', + templateUrl: './documentmaster.component.html', + styleUrls: ['./documentmaster.component.scss'] +}) +export class DocumentmasterComponent implements OnInit { + loading = false; + public entryForm: FormGroup; + givendata; + orders; + modalAdd= false; + modaledit=false; + rowSelected :any= {}; + constructor(private excel: ExcelService,) { } + + ngOnInit(): void { + } + onExport() { + this.excel.exportAsExcelFile(this.givendata, 'user_', + moment().format('YYYYMMDD_HHmmss')) + } + goToAdd() { + this.modalAdd=true; + //this.router.navigate(["../usermaintanceadd"],{relativeTo:this.route}); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentreference/documentreference.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentreference/documentreference.component.html new file mode 100644 index 0000000..db3c0eb --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentreference/documentreference.component.html @@ -0,0 +1,180 @@ + + + + +
+
+ +
+ + +
+
+ + + + + + + + + data not found! + + + NO + + + Document Code + + + Pad Zero + + + Start With + + + Last Number + + + Max Length + + + Structure ID + + + + + {{i+1}} + {{user. DocumentCode}} + {{user. PadZero}} + {{user. StartWith}} + {{user. LastNumber}} + {{user. MaxLength}} + {{user. StructureID}} + + + + + + + + + + + + + + + + +
StructureID{{user. StructureID}}
+
+
+ + + + Record per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} Records + + +
+
+ + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentreference/documentreference.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentreference/documentreference.component.scss new file mode 100644 index 0000000..36abb8c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentreference/documentreference.component.scss @@ -0,0 +1 @@ +@import '../../../../../styles1.scss'; diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentreference/documentreference.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentreference/documentreference.component.spec.ts new file mode 100644 index 0000000..18b137e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentreference/documentreference.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DocumentreferenceComponent } from './documentreference.component'; + +describe('DocumentreferenceComponent', () => { + let component: DocumentreferenceComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ DocumentreferenceComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(DocumentreferenceComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentreference/documentreference.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentreference/documentreference.component.ts new file mode 100644 index 0000000..5678564 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentreference/documentreference.component.ts @@ -0,0 +1,30 @@ +import { Component, OnInit } from '@angular/core'; +import { FormGroup } from '@angular/forms'; +import { ExcelService } from '../../../../services/excel.service'; +import * as moment from 'moment'; +@Component({ + selector: 'app-documentreference', + templateUrl: './documentreference.component.html', + styleUrls: ['./documentreference.component.scss'] +}) +export class DocumentreferenceComponent implements OnInit { + loading = false; + public entryForm: FormGroup; + givendata; + orders; + modalAdd= false; + modaledit=false; + rowSelected :any= {}; + constructor(private excel: ExcelService,) { } + + ngOnInit(): void { + } + onExport() { + this.excel.exportAsExcelFile(this.givendata, 'user_', + moment().format('YYYYMMDD_HHmmss')) + } + goToAdd() { + this.modalAdd=true; + //this.router.navigate(["../usermaintanceadd"],{relativeTo:this.route}); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentstructure/documentstructure.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentstructure/documentstructure.component.html new file mode 100644 index 0000000..dae85a6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentstructure/documentstructure.component.html @@ -0,0 +1,56 @@ + +
+
+
+ +
+ For Structure ID + +
+
+ + + + + + No Result Found + No + Seq + Prefix + Type + Delete + + + + + + + + + users + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentstructure/documentstructure.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentstructure/documentstructure.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentstructure/documentstructure.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentstructure/documentstructure.component.spec.ts new file mode 100644 index 0000000..0f200c4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentstructure/documentstructure.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DocumentstructureComponent } from './documentstructure.component'; + +describe('DocumentstructureComponent', () => { + let component: DocumentstructureComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ DocumentstructureComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(DocumentstructureComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentstructure/documentstructure.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentstructure/documentstructure.component.ts new file mode 100644 index 0000000..2117853 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/documentstructure/documentstructure.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-documentstructure', + templateUrl: './documentstructure.component.html', + styleUrls: ['./documentstructure.component.scss'] +}) +export class DocumentstructureComponent implements OnInit { + loading = false; + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/all/all-menu-group.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/all/all-menu-group.component.html new file mode 100644 index 0000000..4b1d101 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/all/all-menu-group.component.html @@ -0,0 +1,1057 @@ + + +
+
+
+

User list

+
+
+ + + +
+
+ + + user not found! + + + Menu Name + + + + + Description + + + + + Enabled + + + + + Start Date + + + + + End Date + + + + + + {{user.menu_name}} + {{user.description}} + {{user.active}} + {{user.start_date_1}} + {{user.end_date_1}} + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Menu Name: {{user.menu_name}} +
Description: {{user.description}}
Enabled: {{user.active}}
Default End Date: 10/03/2001 Start Date: {{user.start_date_1}}
Default End Date: 10/03/2001 End Date: {{user.end_date_1}}
+ + + + + + + + + + + + + + + + + + + +
Sr. NoNameTypeMenu NameActive
{{ i + 1 }}{{ line.name }}{{ line.type }} {{ line.menu_name }} {{ line.active }}
+ + +
+
+ + + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/all/all-menu-group.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/all/all-menu-group.component.scss new file mode 100644 index 0000000..76ae2bd --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/all/all-menu-group.component.scss @@ -0,0 +1,65 @@ +// // @import '../../../../assets/scss/var'; +// .s-info-bar { +// display: flex; +// flex-direction: row; +// justify-content: space-between; +// button { +// outline: none; +// } +// } + +// .grid-pg { +// width:750px; +// } + + +// #add { +// position: absolute; +// //position: fixed; +// transition: .5s ease; +// top: 16%; +// left: 79%; +// } + +input[type=text],[type=date], select { + width: 100%; + padding: 12px 20px; + margin: 8px 0; + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + .required-field{ + color: red; + + } + .horizontal{ + width: 50%; + padding: 10px; + } + + .td-title { + text-align: center; + color: white; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + //color: rgb(24, 13, 13); + } + th{ + background-color:rgb(170, 169, 169); + font-weight: bold; + } + .td-content{ + text-align: left; + } + .delete,.heading{ + text-align: center; + color: red; + } + .section p { + background-color: rgb(206, 201, 201); + padding: 10px; + font-size: 18px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/all/all-menu-group.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/all/all-menu-group.component.ts new file mode 100644 index 0000000..83594c5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/all/all-menu-group.component.ts @@ -0,0 +1,506 @@ +import { Component, OnInit, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; +import { MenuGroupService } from '../../../../../services/admin/menu-group.service'; +import { MenuRegisterService } from '../../../../../services/admin/menu-register.service'; + +import { ToastrService } from 'ngx-toastr'; +import { university } from '../../../../../models/fnd/university'; +import { AlertService } from '../../../../../services/alert.service'; +import { UniversityService } from 'src/app/services/admin/university.service'; +import { ExcelService } from '../../../../../services/excel.service'; +import * as moment from 'moment'; +import { FormArray, FormBuilder, FormGroup } from '@angular/forms'; +import { HttpErrorResponse } from '@angular/common/http'; +import { ActivatedRoute, Router } from '@angular/router'; + +@Component({ + selector: 'app-all-menu-group', + templateUrl: './all-menu-group.component.html', + styleUrls: ['./all-menu-group.component.scss'], +}) +export class AllMenuGroupComponent implements OnInit { + + rowSelected: any = {}; + modaldelete = false; + modalEdit = false; + modalAdd = false; + public entryForm: FormGroup; + + loading = false; + university; + modalOpenedforNewLine = false; + newLine: university = new university(); + + hname = ['ashwini', 'akash', 'satyam', 'ganesh', 'krishna']; + + email = ['a@gmail.com', 'b@gmail.com', 'c@gmail.com', 'd@gmail.com', 'k@gmail.com']; + + subject = ['marathi', 'hindi', 'english']; + + booktype = ['maths', 'language', 'science']; + + bookname: string[] = ['rich dad poor dad', 'The one thing', 'The momb who head farai', 'trump', 'lucky', 'syamchi aai', + 'aai', 'ek hota karwar', 'chawa', 'mutunjay', 'duniyadari', 'dad', + 'story book', 'horror story', 'poem']; + + writer = ['true', 'false']; + + + price = ['100', '200']; + + basic: boolean = false; + + id: number; + submitted = false; + currentUrl = ""; + selected: any[] = []; + + constructor( + private _mg: MenuGroupService, + private _mr: MenuRegisterService, + private mainService: UniversityService, + private alertService: AlertService, + private toastr: ToastrService, + private excel: ExcelService, + private _fb: FormBuilder, + private router: Router, + private route: ActivatedRoute, + ) { + + } + + ngOnInit() { + + this.getData(); + + } + getData() { + this._mg.getAll().subscribe((data) => { + console.log(data); + this.university = data; + this.university = this.university.items; + console.log(this.university); + + }); + + this.entryForm = this._fb.group({ + menu_name: [null], + description: [null], + active: [null], + start_date_1: [null], + end_date_1: [null], + start_date: [null], + end_date: [null], + + + menu_group_lines: this._fb.array([this.initLinesForm()]), + + + + }); + + } + + initLinesForm() { + return this._fb.group({ + + menu_id: 23, + menu_name: [null], + name: [null], + active: [null], + seq: 32, + type: [null], + + }); + } + + onEdit(row) { + this.rowSelected = row; + console.log(this.rowSelected); + + this.modalEdit = true; + } + + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + // this.mainService.delete(id).subscribe( + // (data) => { + // console.log(data); + + // this.ngOnInit(); + + // }, + // ); + + this._mg.deleteById(id).subscribe( + (data: any)=>{ + console.log('Deletion success...'); + this.ngOnInit(); + } + ); + if (id) { + this.toastr.success('Deleted successfully'); + } + + } + + onUpdate(id) { + this.modalEdit = false; + //console.log("in update"); + console.log("id " + id); + console.log(this.rowSelected); + //console.log("out update"); + // this.mainService.update(id, this.rowSelected).subscribe( + // (data) => { + // console.log(data); + + // }, + + // ); + this._mg.updateGroupHeader(id, this.rowSelected).subscribe( + (data: any)=>{ + console.log(data); + console.log('Update Success...'); + this.modalEdit = false; + this.ngOnInit(); + + }, + (error: any)=>{ + console.log(error); + + } + ); + if (id) { + this.toastr.success('Updated successfully'); + } + + } + onExport() { + this.excel.exportAsExcelFile(this.university, 'user_', + moment().format('YYYYMMDD_HHmmss')) + } + goToAdd(row) { + + this.modalAdd = true; + + } + onSubmit() { + + + + //console.warn("calling submit"); + + //console.log(this.entryForm.value); + this.submitted = true; + if (this.entryForm.invalid) { + return; + } + this.onCreate(); + } + + + + onCreate() { + this.modalAdd = false; + + this._mg.addToDb(this.entryForm.value).subscribe( + (data: any)=>{ + console.log(data); + this.ngOnInit(); + }, + (error: any)=>{ + console.log(error); + + } + ); + if (this.entryForm.value) { + this.toastr.success('Added successfully'); + + } + } + + get controls() { + return (this.entryForm.get("menu_group_lines") as FormArray).controls; + } + + onRemoveLines(index: number) { + (this.entryForm.get("menu_group_lines")).removeAt(index); + } + onAddLines() { + (this.entryForm.get("menu_group_lines")).push(this.initLinesForm()); + } + update() { + this.mainService.update(this.id, this.university).subscribe( + (data) => { + console.log(data); + + }, + (error: HttpErrorResponse) => { + console.log(error.message); + } + ); + } + +} + + + + + + +// import { Component, OnInit, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; +// import { MenuGroupService } from 'src/app/services/api/menu-group.service'; +// import { MenuRegisterService } from 'src/app/services/api/menu-register.service'; + + +// @Component({ +// selector: 'app-all-menu-group', +// templateUrl: './all-menu-group.component.html', +// styleUrls: ['./all-menu-group.component.scss'], +// encapsulation: ViewEncapsulation.Emulated +// }) +// export class AllMenuGroupComponent implements OnInit { +// @ViewChild('getById') selectById: TemplateRef; +// @ViewChild('txId') txId: TemplateRef; +// basic: boolean = false; +// columns: any[]; +// rows: any[]; +// temp = []; + +// filterData: string; +// isLoading: boolean = false; + +// modalEdit: false; +// loading = false; +// openEdit = false; +// openAdd = false; +// openAddLine = false; +// openEditHeader = false; + +// mgdata: any; +// linesData: Array; +// lines = []; + +// updata = { +// id: '', +// active: '', +// createdAt: '', +// createdBy: '', +// description: '', +// end_date: '', +// end_date_1: '', +// menu_name: '', +// start_date: '', +// start_date_1: '', +// updatedAt: '', +// updatedBy: '', +// menu_group_lines: [ +// { +// id: '', +// active: '', +// createdAt: '', +// createdBy: '', +// menu_id: '', +// manu_name: '', +// name: '', +// seq: '', +// type: '', +// updatedAt: '', +// updatedBy: '' +// }, +// ], +// } + +// updateHeader = { +// id: '', +// active: '', +// createdAt: '', +// createdBy: '', +// description: '', +// end_date: '', +// end_date_1: '', +// menu_name: '', +// start_date: '', +// start_date_1: '', +// updatedAt: '', +// updatedBy: '', +// } + +// menu_group_line = +// { +// id: '', +// menu_id: '', +// menu_name: '', +// name: '', +// active: '', +// seq: '', +// type: '', +// menu_group_header: { +// id: '' +// } +// } + +// headerAdd = { +// menu_name: '', +// description: '', +// active: false, +// start_date_1: '', +// end_date_1: '' +// } + +// lineAdd = { +// name: '', +// menu_name: '', +// active: false, +// type: '', +// menu_group_header: { +// id: '' +// } +// } + +// constructor( +// private _mg: MenuGroupService, +// private _mr: MenuRegisterService +// ) { +// this.linesData = new Array(); +// } + +// ngOnInit() { + +// this._mg.getAll().subscribe( +// (data: any) => { +// this.mgdata = data; +// console.log(this.mgdata); + +// } +// ); + +// } + +// addData() { +// console.log(this.headerAdd); +// this._mg.addToDb(this.headerAdd).subscribe( +// (data: any) => { +// console.log('Data addedd successfully...'); +// this.openAdd = false; +// this.ngOnInit(); +// }, +// (error: any) => { +// console.log(error); + +// } + +// ); +// } + +// openAddLinef(id: any) { +// this.openAddLine = true; +// console.log(id); +// this.lineAdd.menu_group_header.id = id; + + +// } +// saveD() { +// console.log(this.lineAdd); +// this._mg.addLineToDb(this.lineAdd).subscribe( +// (data: any) => { +// console.log('data added success...'); +// this.openAddLine = false; +// this.ngOnInit(); +// }, +// (error: any) => { +// console.log(error); + +// } +// ); +// } + +// openEditGroup(id: any) { +// this.openEdit = true; +// console.log(id); +// this._mg.getOneById(id).subscribe( +// (data: any) => { +// this.updata = data; +// this.lines = this.updata.menu_group_lines; +// for(let val of this.updata.menu_group_lines){ +// this.linesData.push(val); +// } +// console.log('New Data of Lines : '); +// console.log(this.lines); +// }, +// (error: any) => { +// console.log(error); + +// } +// ); + +// } + +// perfUpdate(){ +// console.log(this.updata); +// this.updateHeader.id = this.updata.id; +// this.updateHeader.active = this.updata.active; +// this.updateHeader.createdAt = this.updata.createdAt; +// this.updateHeader.createdBy = this.updata.createdBy; +// this.updateHeader.description = this.updata.description; +// this.updateHeader.end_date = this.updata.end_date; +// this.updateHeader.end_date_1 = this.updata.end_date_1; +// this.updateHeader.menu_name = this.updata.menu_name; +// this.updateHeader.start_date = this.updata.start_date; +// this.updateHeader.start_date_1 = this.updata.start_date_1; +// this.updateHeader.updatedAt = this.updata.updatedAt; +// this.updateHeader.updatedBy = this.updata.updatedBy; + +// this._mg.updateGroupHeader(this.updateHeader.id, this.updateHeader).subscribe( +// (datah: any)=>{ +// console.log('Data(header) updated successsfully...'); +// console.log(datah); + +// for(let val of this.lines){ +// this.menu_group_line.id = val.id; +// this.menu_group_line.menu_id = val.menu_id; +// this.menu_group_line.menu_name = val.menu_name; +// this.menu_group_line.name = val.name; +// this.menu_group_line.seq = val.seq; +// this.menu_group_line.type = val.type; +// // this.menu_group_line.menu_group_header.id = datah.id; +// this.menu_group_line.menu_group_header.id = this.updateHeader.id; + +// this._mg.updateLineById(this.menu_group_line).subscribe( +// (data: any)=>{ +// console.log('Data(Line) Updated Successfully...'); +// console.log(data); +// this.linesData = []; +// this.openEdit = false; +// this.ngOnInit(); +// console.log(this.linesData); + +// }, +// (error: any)=>{ +// console.log(error); + +// } +// ); +// } +// }, +// (error: any)=>{ +// console.log(error); + +// } +// ); +// } + +// closeM(){ +// this.openEdit = false; +// this.linesData = []; +// } + + + +// } + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/edit/edit-menu-group.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/edit/edit-menu-group.component.html new file mode 100644 index 0000000..75220a5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/edit/edit-menu-group.component.html @@ -0,0 +1,99 @@ + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/edit/edit-menu-group.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/edit/edit-menu-group.component.ts new file mode 100644 index 0000000..2ba68dc --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/edit/edit-menu-group.component.ts @@ -0,0 +1,97 @@ +import { Component, OnInit } from "@angular/core"; +import { ActivatedRoute, Router } from "@angular/router"; +import { HttpClient, HttpErrorResponse } from "@angular/common/http"; +// import { Rn_Menu_Group_Line } from "src/app/models/Rn_Menu_Group_Line"; +// import { Rn_Menu_Group_Header } from "src/app/models/Rn_Menu_Group_Header"; +// import { MenuGroupService } from "src/app/services/api/menu-group.service"; +// import { MenuRegisterService } from "src/app/services/api/menu-register.service"; + +@Component({ + selector: "edit-menu-group", + templateUrl: "./edit-menu-group.component.html", + styleUrls: ["./edit-menu-group.scss"], +}) +export class EditMenuGroupComponent implements OnInit { + updated = false; + // rn_menu_group_header: Rn_Menu_Group_Header; + // rn_menu_group_line: Rn_Menu_Group_Line[]; + id: number; + + types = ['user', 'admin', 'mis report', 'bi report']; + + constructor( + private router: Router, + private route: ActivatedRoute, + // private menuRegisterService: MenuRegisterService, + // private menuGroupService: MenuGroupService + ) {} + + ngOnInit() { + //this.getMapings(); + + // this.rn_menu_group_header = new Rn_Menu_Group_Header(); + // this.id = this.route.snapshot.params["id"]; + // console.log("update with id = ", this.id); + // this.getById(this.id); + } + +// getById(id: number) { +// this.menuGroupService.getById(id).subscribe((data) => { +// this.rn_menu_group_header = data; +// this.rn_menu_group_line = data.menu_group_lines; +// }); +// } + +// update() { +// this.menuGroupService.update(this.id, this.rn_menu_group_header).subscribe( +// (resp) => { +// console.log(resp); +// this.router.navigate(["../../all"], { relativeTo: this.route }); +// }, +// (error: HttpErrorResponse) => { +// console.log(error.message); +// } +// ); +// this.rn_menu_group_header = new Rn_Menu_Group_Header(); +// } + +// onSubmit() { +// this.updated = true; +// this.update(); +// } + +// /* getMapings() { +// this.httpService +// .get('./assets/json/form-setup-mapping.json') +// .subscribe(data => { +// console.log(data); +// this.mappings = data; +// }, err => console.log(err) +// ) +// } */ + +// menuDate: any[]; +// menuDropDown: any[]; +// getMenuData() { +// //this.menuRegisterService.getAll().subscribe((data) => { +// this.menuRegisterService.getByAccountId().subscribe((data) => { +// this.menuDate = data; +// console.log('Menu List by Account Id : ', this.menuDate); +// const keys = this.menuDate.map((item) => { +// const container = {id: '', name: ''}; +// container.id = item.id; +// container.name = item.main_menu_name; +// return container; +// }); +// console.log('Menu dropdown: ', keys); +// this.menuDropDown = keys; +// }, (err) => { +// console.log(err) +// } +// ); +// } + +// back() { +// this.router.navigate(["../../all"], { relativeTo: this.route }); +// } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/edit/edit-menu-group.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/edit/edit-menu-group.scss new file mode 100644 index 0000000..ffe3733 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/edit/edit-menu-group.scss @@ -0,0 +1,51 @@ +// @import '../../../../assets/scss/var'; + +.s-info-bar{ + display:flex; + flex-direction: row; + justify-content:space-between; + button{outline:none;} +} + +.edit-pg { + width:750px; +} + +#lines { + table, th, td { + border: 0.5px solid #f1f0f0; + border-collapse: collapse; + } + input, input :focus { + //-webkit-appearance: none; + outline: none; + border-width:0px; + border:none; + } +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.center { + text-align: center; +} + +$bg-color: #dddddd; +.section { + background-color: $bg-color; + height: 40px; +} + +.section p { + //color: white; + padding: 10px; + font-size: 18px; +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/menu-group.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/menu-group.component.html new file mode 100644 index 0000000..0680b43 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/menu-group.component.html @@ -0,0 +1 @@ + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/menu-group.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/menu-group.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/menu-group.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/menu-group.component.ts new file mode 100644 index 0000000..fb6833d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/menu-group.component.ts @@ -0,0 +1,16 @@ +import { Component, OnInit, ViewEncapsulation } from '@angular/core'; + +@Component({ + selector: 'app-menu-group', + templateUrl: './menu-group.component.html', + styleUrls: ['./menu-group.component.scss'], + // encapsulation: ViewEncapsulation.Emulated +}) +export class MenuGroupComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/read-only/readonly-menu-group.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/read-only/readonly-menu-group.component.html new file mode 100644 index 0000000..54ee5b7 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/read-only/readonly-menu-group.component.html @@ -0,0 +1,94 @@ + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/read-only/readonly-menu-group.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/read-only/readonly-menu-group.component.ts new file mode 100644 index 0000000..9d0ad17 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/read-only/readonly-menu-group.component.ts @@ -0,0 +1,44 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +// import { Rn_Forms_Setup } from 'src/app/models/Rn_Forms_Setup'; +// import { FormSetupService } from 'src/app/services/api/form-setup.service'; +// import { Rn_Menu_Group_Header } from 'src/app/models/Rn_Menu_Group_Header'; +// import { MenuGroupService } from 'src/app/services/api/menu-group.service'; + +@Component({ + selector: 'readonly-menu-group', + templateUrl: './readonly-menu-group.component.html', + styleUrls: [ './readonly-menu-group.scss'], +}) +export class ReadOnlyMenuGroupComponent implements OnInit { + basic: boolean = false; + id: number; + // rn_menu_group_header: Rn_Menu_Group_Header; + constructor( + private router: Router, + private route: ActivatedRoute, + // private menuGroupService: MenuGroupService + ) { } + + ngOnInit() { + // this.getById(); + } + + // getById() { + // this.rn_menu_group_header = new Rn_Menu_Group_Header(); + // this.id = this.route.snapshot.params['id']; + // this.menuGroupService.getById(this.id) + // .subscribe(data => { + // console.log(data); + // this.rn_menu_group_header = data; + // }); + // } + + // goToWhoColumns() { + // this.basic = !this.basic; + // } + + // back() { + // this.router.navigate(['../../all'], {relativeTo: this.route}); + // } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/read-only/readonly-menu-group.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/read-only/readonly-menu-group.scss new file mode 100644 index 0000000..3036f69 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-group/read-only/readonly-menu-group.scss @@ -0,0 +1,23 @@ +// @import '../../../../assets/scss/var'; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } +} + +.read-only-pg { + width:750px; +} + + + +#build_btn { + position: absolute; + transition: .5s ease; + top: 404px; + left: 644px; +} + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/add-menur/add-menur.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/add-menur/add-menur.component.html new file mode 100644 index 0000000..0e3e30e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/add-menur/add-menur.component.html @@ -0,0 +1 @@ +

add-menur works!

diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/add-menur/add-menur.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/add-menur/add-menur.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/add-menur/add-menur.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/add-menur/add-menur.component.spec.ts new file mode 100644 index 0000000..fccbe61 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/add-menur/add-menur.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AddMenurComponent } from './add-menur.component'; + +describe('AddMenurComponent', () => { + let component: AddMenurComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ AddMenurComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(AddMenurComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/add-menur/add-menur.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/add-menur/add-menur.component.ts new file mode 100644 index 0000000..c24e5f3 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/add-menur/add-menur.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-add-menur', + templateUrl: './add-menur.component.html', + styleUrls: ['./add-menur.component.scss'] +}) +export class AddMenurComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/all-menur/all-menur.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/all-menur/all-menur.component.html new file mode 100644 index 0000000..6c134ab --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/all-menur/all-menur.component.html @@ -0,0 +1,203 @@ + + +
+
+
+

menu register

+
+
+ + +
+
+ + user not found! + + + Sr. No + + + + + Menu Name + + + + + Action Link + + + + + Menu Icon + + + + + Flag + + + + + End Date + + + + + {{i + 1}} + {{user.main_menu_name}} + {{user.main_menu_action_name}} + {{user.main_menu_icon}} + {{user.enable_flag}} + {{user.end_date_1}} + + + + ˝ + + + + + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + + +
+ + + + + + + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/all-menur/all-menur.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/all-menur/all-menur.component.scss new file mode 100644 index 0000000..4f6d7c9 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/all-menur/all-menur.component.scss @@ -0,0 +1,14 @@ +input[type=text],[type=date], select { + width: 100%; + padding: 12px 20px; + margin: 8px 0; + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + + .delete,.heading{ + text-align: center; + color: red; + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/all-menur/all-menur.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/all-menur/all-menur.component.spec.ts new file mode 100644 index 0000000..620106c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/all-menur/all-menur.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AllMenurComponent } from './all-menur.component'; + +describe('AllMenurComponent', () => { + let component: AllMenurComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ AllMenurComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(AllMenurComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/all-menur/all-menur.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/all-menur/all-menur.component.ts new file mode 100644 index 0000000..67ea77d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/all-menur/all-menur.component.ts @@ -0,0 +1,187 @@ +import { Component, OnInit } from '@angular/core'; +import { ToastrService } from 'ngx-toastr'; +import { MenuGroupService } from '../../../../../services/admin/menu-group.service'; +import { MenuRegisterService } from '../../../../../services/admin/menu-register.service'; + +@Component({ + selector: 'app-all-menur', + templateUrl: './all-menur.component.html', + styleUrls: ['./all-menur.component.scss'] +}) +export class AllMenurComponent implements OnInit { + + basic: boolean = false; + columns: any[]; + rows: any[]; + temp = []; + selected: any[] = []; + filterData: string; + isLoading: boolean = false; + + modalEdit: false; + loading = false; + + openEdit = false; + openAdd = false; + + modaldelete = false; + tempid: any; + + regData: any; + + addReg = { + main_menu_name: '', + main_menu_action_name: '', + main_menu_icon: '', + enable_flag: false, + end_date_1: '' + } + + upReg = { + id: '', + main_menu_name: '', + main_menu_action_name: '', + main_menu_icon: '', + enable_flag: '', + end_date_1: '' + } + + line = { + id: '', + menu_id: '', + menu_name: '', + name: '', + active: true, + seq: '', + type: '', + menu_group_header: { + id: 5, + } + }; + + lenReg: any; + + constructor( + private _mr: MenuRegisterService, + private _mg: MenuGroupService, + private toastr: ToastrService, + ) { } + + ngOnInit(): void { + + this._mr.getd().subscribe( + (data: any) => { + this.regData = data.items; + this.lenReg = this.regData.length; + console.log(this.regData); + console.log(this.lenReg); + + + } + ); + + + } + + saveData() { + console.log(this.addReg); + + this._mr.add(this.addReg).subscribe( + (data: any) => { + console.log('Data Success...'); + + this.line.menu_id = data.id; + this.line.active = true; + this.line.type = 'admin'; + // this.line.menu_group_header.id = '5'; + + this._mr.getd().subscribe( + (data: any)=>{ + this.lenReg = data.length; + } + ); + + this.line.seq = this.lenReg + 1; + + this._mg.addLineToDb(this.line).subscribe( + (data: any)=>{ + console.log('both success..'); + + }, + (error: any)=>{ + console.log(error); + + } + ); + + this.openAdd = false; + this.addReg = { + main_menu_name: '', + main_menu_action_name: '', + main_menu_icon: '', + enable_flag: false, + end_date_1: '' + }; + this.ngOnInit(); + this.toastr.success('Added successfully'); + }, + (error: any) => { + console.log(error); + + } + ); + } + + editReg(id: any) { + this.openEdit = true; + console.log(id); + this._mr.getById(id).subscribe( + (data: any) => { + this.upReg = data; + console.log(this.upReg); + }, + (error: any) => { + console.log(error); + } + ); + } + + performup() { + this._mr.update(this.upReg.id, this.upReg).subscribe( + (data: any) => { + console.log('updation success...'); + this.toastr.success('Updated successfully'); + this.openEdit = false; + this.ngOnInit(); + + }, + (error: any) => { + console.log(error); + + } + ); + } + + delete(id: any) { + this.tempid = id; + this.modaldelete = true; + + } + + del() { + console.log('Id of row u clicked is : ' + this.tempid); + this._mr.deleteById(this.tempid).subscribe( + (data: any) => { + console.log('Deletion successful..'); + this.ngOnInit(); + this.modaldelete = false; + this.toastr.success('Deleted successfully'); + }, + (error: any) => { + console.log(error); + + } + ); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/edit-menur/edit-menur.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/edit-menur/edit-menur.component.html new file mode 100644 index 0000000..862db5a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/edit-menur/edit-menur.component.html @@ -0,0 +1 @@ +

edit-menur works!

diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/edit-menur/edit-menur.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/edit-menur/edit-menur.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/edit-menur/edit-menur.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/edit-menur/edit-menur.component.spec.ts new file mode 100644 index 0000000..cf744ca --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/edit-menur/edit-menur.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { EditMenurComponent } from './edit-menur.component'; + +describe('EditMenurComponent', () => { + let component: EditMenurComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ EditMenurComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(EditMenurComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/edit-menur/edit-menur.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/edit-menur/edit-menur.component.ts new file mode 100644 index 0000000..7f5dcf8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/edit-menur/edit-menur.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-edit-menur', + templateUrl: './edit-menur.component.html', + styleUrls: ['./edit-menur.component.scss'] +}) +export class EditMenurComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/menu-register.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/menu-register.component.html new file mode 100644 index 0000000..0680b43 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/menu-register.component.html @@ -0,0 +1 @@ + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/menu-register.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/menu-register.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/menu-register.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/menu-register.component.spec.ts new file mode 100644 index 0000000..3b21b1f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/menu-register.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MenuRegisterComponent } from './menu-register.component'; + +describe('MenuRegisterComponent', () => { + let component: MenuRegisterComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ MenuRegisterComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(MenuRegisterComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/menu-register.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/menu-register.component.ts new file mode 100644 index 0000000..e8e3459 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/menu-register.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-menu-register', + templateUrl: './menu-register.component.html', + styleUrls: ['./menu-register.component.scss'] +}) +export class MenuRegisterComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/readonly-menur/readonly-menur.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/readonly-menur/readonly-menur.component.html new file mode 100644 index 0000000..2c0eda0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/readonly-menur/readonly-menur.component.html @@ -0,0 +1 @@ +

readonly-menur works!

diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/readonly-menur/readonly-menur.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/readonly-menur/readonly-menur.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/readonly-menur/readonly-menur.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/readonly-menur/readonly-menur.component.spec.ts new file mode 100644 index 0000000..efe0482 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/readonly-menur/readonly-menur.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ReadonlyMenurComponent } from './readonly-menur.component'; + +describe('ReadonlyMenurComponent', () => { + let component: ReadonlyMenurComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ReadonlyMenurComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ReadonlyMenurComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/readonly-menur/readonly-menur.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/readonly-menur/readonly-menur.component.ts new file mode 100644 index 0000000..bf58eb2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menu-register/readonly-menur/readonly-menur.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-readonly-menur', + templateUrl: './readonly-menur.component.html', + styleUrls: ['./readonly-menur.component.scss'] +}) +export class ReadonlyMenurComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menuaccesscontrol/menuaccesscontrol.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menuaccesscontrol/menuaccesscontrol.component.html new file mode 100644 index 0000000..88a4b66 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menuaccesscontrol/menuaccesscontrol.component.html @@ -0,0 +1,279 @@ + + +
+
+
+

{{ 'MENU_ACCESS_CONTROL' | translate }}

+
+
+ {{ 'EDIT_MODE' | translate }} +
+
+
+ {{ 'FOR' | translate }} + + {{ 'SHOW_ALL' | translate }} {{ 'ONLY_MAIN_MENU' | translate + }} + +
+
+
+ +
+
+ +
+ + +
+ {{ ' Close toggle to activate Add button. ' | translate }} +
+
+
+ + + + + Loading ... +
{{ 'NO_DATA_AVAILABLE' | translate }}
+
+ + + {{ 'NO' | translate }} + + + {{ 'MENU_ITEM_NAME' | translate }} + + + {{ 'VIEW' | translate }} + + + {{ 'CREATE' | translate }} + + + {{ 'EDIT' | translate }} + + + {{ 'DELETE' | translate }} + + + + {{ 'QUERY' | translate }} + + + {{ 'EXPORT' | translate }} + + + + {{i+1}} + {{all.menuItemDesc}} +    {{all.menuItemDesc}} + + + + + + + + + + + + + + + + + + + + + + +
Menuname
+
+
+ + + + Record per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} Records + + +
+ + + + Loading ... +
No data available
+
+ + + NO + + + Menu Item Name + + + View + + + Create + + + Edit + + + Delete + + + + Query + + + Export + + + + {{i+1}} + {{all.menuItemDesc}} + + + + + + + + + + + + + + + +
Menuname
+
+
+
+ + + Record per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} Records + + +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menuaccesscontrol/menuaccesscontrol.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menuaccesscontrol/menuaccesscontrol.component.scss new file mode 100644 index 0000000..1b7ad42 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menuaccesscontrol/menuaccesscontrol.component.scss @@ -0,0 +1,99 @@ +input[type=text],[type=date],[type=password],[type=checkbox] { + width: 100%; + padding: 15px 20px; + // margin: 3px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} +.required-field{ + color: red; +font-size: 18px; + +} +// select{ +// width: 100%; +// padding: 5px 5px; +// border: 1px solid #ccc; +// border-radius: 4px; +// } +.td-title { + text-align: center; + width: 150px; +color: white; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + //color: rgb(24, 13, 13); +} +th{ + //background-color:rgb(170, 169, 169); + font-weight: bold; +} +.td-content{ + text-align: left; +} +.delete,.heading{ + text-align: center; + color: red; +} +//toggle button +.switch { + position: relative; + display: inline-block; + width: 60px; + height: 34px; +} + +.switch input { + opacity: 0; + width: 0; + height: 0; +} + +.slider { + position: absolute; + cursor: pointer; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: #ccc; + -webkit-transition: .4s; + transition: .4s; +} + +.slider:before { + position: absolute; + content: ""; + height: 26px; + width: 26px; + left: 4px; + bottom: 4px; + background-color: white; + -webkit-transition: .4s; + transition: .4s; +} + +input:checked + .slider { + background-color: #0072a3; +} + +input:focus + .slider { + box-shadow: 0 0 1px #0072a3; +} + +input:checked + .slider:before { + -webkit-transform: translateX(26px); + -ms-transform: translateX(26px); + transform: translateX(26px); +} + + .slider.round { + border-radius: 34px; + } + + .slider.round:before { + border-radius: 50%; + } diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menuaccesscontrol/menuaccesscontrol.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menuaccesscontrol/menuaccesscontrol.component.spec.ts new file mode 100644 index 0000000..46c2323 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menuaccesscontrol/menuaccesscontrol.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MenuaccesscontrolComponent } from './menuaccesscontrol.component'; + +describe('MenuaccesscontrolComponent', () => { + let component: MenuaccesscontrolComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ MenuaccesscontrolComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(MenuaccesscontrolComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menuaccesscontrol/menuaccesscontrol.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menuaccesscontrol/menuaccesscontrol.component.ts new file mode 100644 index 0000000..1ccf78e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menuaccesscontrol/menuaccesscontrol.component.ts @@ -0,0 +1,246 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { MenuGroupService } from 'src/app/services/admin/menu-group.service'; +import { MenumaintanceService } from 'src/app/services/admin/menumaintance.service'; +import { UsergrpmaintainceService } from 'src/app/services/admin/usergrpmaintaince.service'; +import { UsermaintanceService } from '../../../../services/admin/usermaintance.service'; +@Component({ + selector: 'app-menuaccesscontrol', + templateUrl: './menuaccesscontrol.component.html', + styleUrls: ['./menuaccesscontrol.component.scss'] +}) +export class MenuaccesscontrolComponent implements OnInit { + loading = false; + givendata; + alldata; + colvalue = "true"; + usergrpid = 1; + secmenuaccessdata; + modalAdd = false; + modaledit = false; + modaldelete = false; + modaldelete1 = false; + rowSelected: any = {}; + public entryForm: FormGroup; + selected = "true"; + menudata; + menus; + menuselectid = 1; + msg; + error; + mcreate; + medit; + mdelete; + toggle: boolean = false; + maindata; + showdata; + constructor(private mainservice: UsermaintanceService, + private _fb: FormBuilder, + private toastr: ToastrService, + private route: ActivatedRoute, + private usergrpservice: UsergrpmaintainceService, + private menuGroupService: MenuGroupService, + private menuservice: MenumaintanceService,) { } + + ngOnInit(): void { + this.showdata = this.menuGroupService.getdata(); + console.log(this.showdata); + this.mcreate = this.showdata.mcreate; + console.log(this.mcreate); + this.mdelete = this.showdata.mdelete + console.log(this.mdelete); + this.medit = this.showdata.medit + console.log(this.medit); + this.dropddowngetdata(); + // this.getall(); + this.getbyuseriddata(); + + this.entryForm = this._fb.group({ + grpid: this.usergrpid, + gmenuid: this.menuselectid, + }); + + } + dropddowngetdata() { + this.usergrpservice.getAll().subscribe((data) => { + console.log(data); + this.givendata = data; + }); + } + getdata() { + this.menuservice.getByCurrentUserMenuGroupId1().subscribe(resp => { + this.menus = resp; + console.log('menus: ', this.menus); + }) + } + getall() { + this.usergrpservice.getall().subscribe((data) => { + this.secmenuaccessdata = data + console.log(data); + }) + } + idofselected(val) { + console.log(val); + this.usergrpid = val; + + } + idselected(val) { + console.log(val) + this.menuselectid = val; + } + getbyuseriddata() { + this.usergrpservice.getbyusergrpid(this.usergrpid).subscribe((data) => { + this.alldata = data; + console.log(this.alldata); + if (this.alldata.array?.length === 0) { + this.msg = 'No Data Availabel' + } + for (this.alldata; this.alldata >= 100; this.alldata++) { + this.maindata = this.alldata.menuId === 0 + console.log(this.maindata) + } + + // console.log(this.menudata) + }, + (error) => { + console.log('Error in adding data...', error); + if (error) { + this.error = "No data Available" + } + }); + } + modaladd() { + this.modalAdd = true; + this.getdata(); + } + onSubmit() { + this.modalAdd = false; + this.entryForm.value.grpid = this.usergrpid; + this.entryForm.value.gmenuid = this.menuselectid; + console.log(this.entryForm.value); + this.menuservice.create2(this.entryForm.value).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Added successfully'); + } + this.ngOnInit(); + + }, + (error) => { + console.log('Error in adding data...', error); + if (error.status == 400) { + this.toastr.error(error.error); + + } else if (error) { + this.toastr.error('Not added Data Getting Some Error'); + } + this.ngOnInit(); + }); + + } + modalEdit(row) { + this.rowSelected = row; + console.log(this.rowSelected); + this.modaledit = true; + } + modalDelete(row) { + this.rowSelected = row; + console.log(this.rowSelected) + this.modaldelete = true; + } + delete(id, usrgrp) { + this.modaldelete = false; + this.usergrpservice.delete(id, usrgrp).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Deleted successfully'); + } + this.ngOnInit(); + }, (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not Deleted Data Getting Some Error'); + } + this.ngOnInit(); + }); + } + modaldeletemainmenu(row) { + this.rowSelected = row; + console.log(this.rowSelected) + this.modaldelete1 = true; + } + delete1(id, usrgrp) { + this.modaldelete1 = false; + this.usergrpservice.deletemain(id, usrgrp).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Deleted successfully'); + } + this.ngOnInit(); + }, (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not Deleted Data Getting Some Error'); + } + this.ngOnInit(); + }); + } + onUpdate(id: any, usrgrp: any) { + this.modaledit = false; + console.log(id, usrgrp); + this.menuservice.update2(id, usrgrp, this.rowSelected).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Updated successfully'); + } + this.ngOnInit(); + }, (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not Updated Data Getting Some Error'); + } + this.ngOnInit(); + }); + } + onChecked(value) { + if (value == "y") { + this.selected = "y" + console.log(this.selected); // make a call for checked + } + else { + this.selected = "n"// make a call for unchecked + } + } + changedelete(val) { + console.log(val); + val = this.colvalue = val; + console.log(val); + } + data: {}; + Sync(id: any, row) { + this.rowSelected = row; + console.log(id); + if (this.rowSelected.subMenus != 0) { + this.rowSelected.subMenus = [] + } console.log(this.rowSelected); + this.menuservice.sink(id, this.rowSelected).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('SYNC successfully'); + } + this.ngOnInit(); + }, (error) => { + console.log(error); + if (error) { + this.toastr.error('Not SYNC Data Getting Some Error'); + } + this.ngOnInit(); + }) + } + toggleCheckbox() { + this.toggle = !this.toggle; + //this.dataService.setDivToggler(this.toggler); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menumaintance/menumaintance.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menumaintance/menumaintance.component.html new file mode 100644 index 0000000..7025f45 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menumaintance/menumaintance.component.html @@ -0,0 +1,441 @@ + + + + + +
+
+

{{ 'MENU_MAINTENANCE' | translate }}

+ {{ 'MAIN_MENU' | translate }}
+ +
+ +
+
+ + +
+ + + + + +
+
+ + + {{'LOADING'|translate}} ... +
{{error}}
+ + + + + + + {{'NO' | translate}} + + + + + + {{'MENU_ITEM_NAME' | translate}} + + + + + + {{'ID' | translate}} + + + + + + {{'SEQUENCE' | translate}} + + + + + + {{'MODULE_NAME' | translate}} + + + + + + {{'MENU_ACTION_LINK' | translate}} + + + + + + {{'STATUS' | translate}} + + + + + + {{'SUB_MENU' | translate}} + + + + + + + {{'ACTION' | translate}} + + + + + + + + + {{i+1}} + {{user.menuItemDesc}} + {{user.menuId}} + {{user.itemSeq}} + {{user.moduleName}} + {{user.main_menu_action_name}} + {{user.status}} + + + + + + +
{{'WHO_COLUMN'|translate}}
+
{{'ACCOUNT_ID'|translate}} {{user.accountId}}
+
{{'CREATED_AT'|translate}} {{user.createdAt| date}}
+
{{'CREATED_BY'|translate}} {{user.createdBy}}
+
{{'UPDATED_AT'|translate}} {{user.updatedAt | date}}
+
{{'UPDATED_BY'|translate}} {{user.updatedBy}}
+
+
+
+ + + + + + + + +
Menu Name: {{user.menuItemDesc}}
+
+
+ + + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menumaintance/menumaintance.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menumaintance/menumaintance.component.scss new file mode 100644 index 0000000..ab11a3c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menumaintance/menumaintance.component.scss @@ -0,0 +1,62 @@ +input[type=text],[type=date],[type=password] { + width: 100%; + padding: 15px 20px; + // margin: 3px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} +.required-field{ + color: red; +font-size: 18px; + +} +.green{ + background-color: rgb(156, 231, 156); + color: black; +} +.blue{ + background-color: #57abcf;//rgb(82, 87, 161); + color: black; +} +input.ng-invalid.ng-touched { + border-color: red; +} + +.error_mess { + color: red; +} +.td-title { + text-align: center; + width: 150px; +color: white; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + //color: rgb(24, 13, 13); +} +th{ + //background-color:rgb(170, 169, 169); + font-weight: bold; +} +.td-content{ + text-align: left; +} +.delete,.heading{ + text-align: center; + color: red; +} +.section p { +background-color: rgb(206, 201, 201); + padding: 10px; + font-size: 18px; +} + +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menumaintance/menumaintance.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menumaintance/menumaintance.component.spec.ts new file mode 100644 index 0000000..4024471 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menumaintance/menumaintance.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MenumaintanceComponent } from './menumaintance.component'; + +describe('MenumaintanceComponent', () => { + let component: MenumaintanceComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ MenumaintanceComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(MenumaintanceComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menumaintance/menumaintance.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menumaintance/menumaintance.component.ts new file mode 100644 index 0000000..af0657f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/menumaintance/menumaintance.component.ts @@ -0,0 +1,216 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ToastrService } from 'ngx-toastr'; +import { MenumaintanceService } from '../../../../services/admin/menumaintance.service'; +import { Rn_Main_Menu } from '../../../../models/builder/Rn_Main_Menu'; +import { ActivatedRoute, Router } from '@angular/router'; +import { MenuGroupService } from 'src/app/services/admin/menu-group.service'; +import { CsvService } from 'src/app/services/csv.service'; +import { ExcelService } from 'src/app/services/excel.service'; +import * as moment from 'moment'; +import { TranslateService } from '@ngx-translate/core'; +@Component({ + selector: 'app-menumaintance', + templateUrl: './menumaintance.component.html', + styleUrls: ['./menumaintance.component.scss'] +}) +export class MenumaintanceComponent implements OnInit { + loading = false; + selected: any[] = []; + rowSelected: any = {}; + modaldelete = false; + modalAdd = false; + modaledit = false; + givendata; + menus: Rn_Main_Menu[]; + mainid = 0; + public entryForm: FormGroup; + mcreate; + mdelete; + medit; + showdata; + error; + submitted = false; + constructor(private menuservice: MenumaintanceService, + private toastr: ToastrService, + private excel: ExcelService, + private _fb: FormBuilder, + private route: ActivatedRoute, + private menuGroupService: MenuGroupService, + private csvService: CsvService, + private translate: TranslateService, + private router: Router,) { } + + ngOnInit(): void { + this.showdata = this.menuGroupService.getdata(); + console.log(this.showdata); + this.mcreate = this.showdata.mcreate; + console.log(this.mcreate); + this.mdelete = this.showdata.mdelete + console.log(this.mdelete); + this.medit = this.showdata.medit + console.log(this.medit); + + // this.menuservice.getAll().subscribe((data) => { + // console.log(data); + // this.givendata = data; + // }); + + this.entryForm = this._fb.group({ + // menuItemId:[null], + menuId: [null], + menuItemDesc: ['', [Validators.required]], + itemSeq: ['', [Validators.required, Validators.pattern(/^-?(0|[1-9]\d*)?$/)]], + moduleName: ['', [Validators.required]], + status: ['', [Validators.required]], + main_menu_action_name: ['', [Validators.required]], + main_menu_icon_name: ['', [Validators.required]] + }); + this.getdata(); + } + + switchLanguage(language: string) { + this.translate.use(language); + } + getdata() { + this.menuservice.getByCurrentUserMenuGroupId1().subscribe(resp => { + this.menus = resp; + console.log('menus: ', this.menus); + if (this.menus.length == 0) { + this.error = "No data Available"; + console.log(this.error) + } + }, (error) => { + console.log(error); + if (error) { + this.error = "Server Error"; + } + }) + } + onSubmit() { + this.submitted = true; + if (this.entryForm.invalid) { + return; + } + this.menuservice.create1(this.entryForm.value).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Added successfully'); + } + this.ngOnInit(); + }, + (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not added Data Getting Some Error'); + } + this.getdata(); + }); + this.modalAdd = false; + } + goToAdd() { + this.modalAdd = true; + } + submenu(id: any) { + this.router.navigate(["../submenu/" + id], { relativeTo: this.route }) + } + data: {}; + shrink(id: any, row) { + this.rowSelected = row; + console.log(this.rowSelected); + if (this.rowSelected.subMenus != 0) { + this.rowSelected.subMenus = [] + } console.log(this.rowSelected); + this.menuservice.sink(id, this.rowSelected).subscribe((data) => { + console.log(data); + }) + } + goToEdit(row) { + this.rowSelected = row; + console.log(row) + this.modaledit = true; + //this.router.navigate(["../edit/" + id], { relativeTo: this.route }); + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.menuservice.delete1(id).subscribe((data) => { + console.log(data); + this.toastr.success('Deleted successfully'); + this.ngOnInit(); + }, + (error) => { + console.log('Error in adding data...', +error); + if (error) { + this.toastr.error('Not Deleted Data Getting Some Error'); + } + }); + + } + onUpdate(id) { + this.modaledit = false; + this.menuservice.update1(id, this.rowSelected).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Updated successfully'); + } + this.ngOnInit(); + + }, + (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not updated Data Getting Some Error'); + } + this.ngOnInit(); + + }); + } + + onExport() { + this.excel.exportAsExcelFile(this.givendata, 'menumaintanance_', + moment().format('YYYYMMDD_HHmmss')) + } + + // csv + + modalCsv = false; + selectedFiles: File; + fileList; + ttype = 'menumaintenance'; + + + // Import CSV + public selectFile(event) { + this.selectedFiles = event.target.files[0]; + // this.saveCsv(); + } + + csvImport() { + console.log("import CSV"); + this.modalCsv = true; + } + saveCsv() { + this.csvService.importCsv(this.selectedFiles, this.ttype).subscribe(data => { + console.log(data); + this.fileList = data; + this.modalCsv = false; + }, + (error) => { + console.log(error); + if (error.status == 202) { + this.toastr.success(error.error.text) + } + }); + } + + downloadFiles() { + this.csvService.downloadCsvs(this.ttype); + + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/modules/modules.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/modules/modules.component.html new file mode 100644 index 0000000..c74922e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/modules/modules.component.html @@ -0,0 +1,146 @@ + + + + + +
+
+

Modules

+
+
+ + +
+
+ + + + Loading ... +
{{error}}
+ + + Modules + + + Description + + + Access Exclusive + + + + + + {{user.modules}} + {{user.description}} + {{user.access_exclusive}} + + + + + + + + + + + + + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+ + + + + + + + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/modules/modules.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/modules/modules.component.scss new file mode 100644 index 0000000..ab11a3c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/modules/modules.component.scss @@ -0,0 +1,62 @@ +input[type=text],[type=date],[type=password] { + width: 100%; + padding: 15px 20px; + // margin: 3px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} +.required-field{ + color: red; +font-size: 18px; + +} +.green{ + background-color: rgb(156, 231, 156); + color: black; +} +.blue{ + background-color: #57abcf;//rgb(82, 87, 161); + color: black; +} +input.ng-invalid.ng-touched { + border-color: red; +} + +.error_mess { + color: red; +} +.td-title { + text-align: center; + width: 150px; +color: white; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + //color: rgb(24, 13, 13); +} +th{ + //background-color:rgb(170, 169, 169); + font-weight: bold; +} +.td-content{ + text-align: left; +} +.delete,.heading{ + text-align: center; + color: red; +} +.section p { +background-color: rgb(206, 201, 201); + padding: 10px; + font-size: 18px; +} + +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/modules/modules.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/modules/modules.component.spec.ts new file mode 100644 index 0000000..cf10dbf --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/modules/modules.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ModulesComponent } from './modules.component'; + +describe('ModulesComponent', () => { + let component: ModulesComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ModulesComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ModulesComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/modules/modules.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/modules/modules.component.ts new file mode 100644 index 0000000..b681676 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/modules/modules.component.ts @@ -0,0 +1,121 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ToastrService } from 'ngx-toastr'; +import { AccesstypeService } from 'src/app/services/admin/accesstype.service'; + +@Component({ + selector: 'app-modules', + templateUrl: './modules.component.html', + styleUrls: ['./modules.component.scss'] +}) +export class ModulesComponent implements OnInit { + loading = false; + selected: any[] = []; + rowSelected: any = {}; + modaldelete = false; + modalAdd = false; + modaledit = false; + error; + data; + submitted = false; + public entryForm: FormGroup; + constructor(private _fb: FormBuilder, private accesstype: AccesstypeService, + private toastr: ToastrService,) { } + + ngOnInit(): void { + this.entryForm = this._fb.group({ + modules: ['', [Validators.required]], + description: ['', [Validators.required]], + access_exclusive: ['', [Validators.required]], + }); + this.getdata(); + } + getdata() { + this.accesstype.getAll1().subscribe(resp => { + this.data = resp; + console.log('menus: ', this.data); + if (this.data.length == 0) { + this.error = "No data Available"; + console.log(this.error) + } + }, (error) => { + console.log(error); + if (error) { + this.error = "Server Error"; + } + }) + } + goToAdd() { + this.modalAdd = true; + } + onSubmit() { + console.log(this.entryForm.value); + this.submitted = true; + if (this.entryForm.invalid) { + return; + } + this.accesstype.create1(this.entryForm.value).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Added successfully'); + } + this.ngOnInit(); + }, + (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not added Data Getting Some Error'); + } + this.ngOnInit(); + + }); + this.modalAdd = false; + } + goToEdit(row) { + this.rowSelected = row; + console.log(row) + this.modaledit = true; + //this.router.navigate(["../edit/" + id], { relativeTo: this.route }); + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.accesstype.delete1(id).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Deleted successfully'); + } + this.ngOnInit(); + }, + (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not Deleted Data Getting Some Error'); + } + this.ngOnInit(); + }); + + } + onUpdate(id) { + this.modaledit = false; + this.accesstype.update1(id, this.rowSelected).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Updated successfully'); + } + this.ngOnInit(); + }, + (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not updated Data Getting Some Error'); + } + this.ngOnInit(); + }); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.css new file mode 100644 index 0000000..8f4c16f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.css @@ -0,0 +1,85 @@ +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; +} +.s-info-bar button { + outline: none; +} + +.delete, .heading { + text-align: center; + color: red; +} + +.entry-pg { + width: 750px; +} + +.button1::after { + content: none; +} + +.button1:hover::after { + content: "ADD ROWS"; +} + +.section { + background-color: #dddddd; + height: 40px; +} + +.section p { + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.center { + text-align: center; +} + +select { + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + +input[type=text], [type=date], [type=number], textarea { + width: 100%; + padding: 15px 15px; + background-color: rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.error_mess { + color: red; +} + +.required-field { + color: red; + font-size: 18px; +}/*# sourceMappingURL=myworkspace.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.css.map new file mode 100644 index 0000000..768da17 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["myworkspace.component.scss","myworkspace.component.css"],"names":[],"mappings":"AAWA;EACE,aAAA;EACA,mBAAA;EACA,8BAAA;ACVF;ADWE;EACE,aAAA;ACTJ;;ADYA;EACE,kBAAA;EACA,UAAA;ACTF;;ADWA;EACE,YAAA;ACRF;;ADWA;EACE,aAAA;ACRF;;ADUA;EACE,mBAAA;ACPF;;ADUA;EACE,yBAAA;EACA,YAAA;ACPF;;ADUA;EAEE,aAAA;EACA,eAAA;ACRF;;ADWA;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EACA,wBAAA;EACA,eAAA;EACA,WAAA;EACA,mBAAA;ACRF;;ADWA;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EAEA,eAAA;EACA,WAAA;EACA,mBAAA;ACTF;;ADYA;EACE,kBAAA;ACTF;;ADWA;EACE,WAAA;EACA,eAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACRF;;ADUA;EACE,WAAA;EACA,kBAAA;EACA,oCAAA;EAEA,qBAAA;EACA,sBAAA;EACA,kBAAA;EACA,sBAAA;ACRF;;ADUA;EACE,UAAA;ACPF;;ADUA;EACE,UAAA;EACF,eAAA;ACPA","file":"myworkspace.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.html new file mode 100644 index 0000000..c39b264 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.html @@ -0,0 +1,309 @@ +
+

Organization and Workspaces

+
+ +
+ + + + + + + + + + + + + + + switch + +
Organization: {{ sys_account.companyName }}
Account Id: {{ sys_account.gstNumber }}
Selected Workspace: {{sys_account.workspace }}
+ +
+ + + + + + + + Loading ... + + + No + + + Name + + + Account Type + + + Status + + + Actions + + + {{i+1}} + + {{user.fullName}}
{{user.username}}{{user.email}}
+ + + {{user.status}} + +
+ + + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+
+
+ + + + + + Loading ... + + + No + + + Name + + + Account Type + + + Status + + + Access Till + + + Actions + + + {{i+1}} + + {{user.fullName}}
{{user.username}}{{user.email}}
+ {{user.roles[0].description}} + {{user.status}} + {{user.access_duration}} + + +
+ + + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+
+
+ + + + + + Loading ... + + + No + + + Team Name + + + Owner + + + Count + + + Members + + + + {{i+1}} + {{user.name}} + {{user.owner_id}} + 3 +
+ +
+
+ +
+ + + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+
+
+ +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.scss new file mode 100644 index 0000000..9568abf --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.scss @@ -0,0 +1,94 @@ +// input[type=text],[type=date], select,textarea { +// width: 100%; +// padding: 12px 20px; +// margin: 8px 0; +// display: inline-block; +// border: 1px solid #ccc; +// border-radius: 4px; +// box-sizing: border-box; +// } + +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } +} +.delete,.heading{ + text-align: center; + color: red; +} +.entry-pg { + width: 750px; +} + +.button1::after { + content: none; +} +.button1:hover::after { + content: "ADD ROWS"; +} + +.section { + background-color: #dddddd; + height: 40px; +} + +.section p { + //color: white; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.center { + text-align: center; +} +select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +input[type=text],[type=date],[type=number],textarea { + width: 100%; + padding: 15px 15px; + background-color:rgb(255, 255, 255); + // margin: 8px 0; + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} +.error_mess { + color: red; +} + +.required-field{ + color: red; +font-size: 18px; + +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.spec.ts new file mode 100644 index 0000000..46b827c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MyworkspaceComponent } from './myworkspace.component'; + +describe('MyworkspaceComponent', () => { + let component: MyworkspaceComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ MyworkspaceComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(MyworkspaceComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.ts new file mode 100644 index 0000000..283c78d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.component.ts @@ -0,0 +1,206 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { UserProfileService } from 'src/app/services/admin/user-profile.service'; +import { UserInfoService } from 'src/app/services/user-info.service'; +import { Sys_Account } from 'src/app/services/admin/user-registration.service'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ToastrService } from 'ngx-toastr'; +import { MyworkspaceService } from './myworkspace.service'; +@Component({ + selector: 'app-myworkspace', + templateUrl: './myworkspace.component.html', + styleUrls: ['./myworkspace.component.scss'] +}) +export class MyworkspaceComponent implements OnInit { + loading = false; + selected: any[] = []; + sys_account: Sys_Account; + + userEmail: string; + companyName: string; + workspace: string; + gstNumber: string; + modalteam = false; + modaluser = false; + modalguest = false; + allworkmodal = false; + allworkspacedata; + alluser; + allguest; + allwdata; + public teamForm: FormGroup; + public userForm: FormGroup; + public guestForm: FormGroup; + public entryForm: FormGroup; + constructor(private router: Router, + private route: ActivatedRoute, + private userProfileService: UserProfileService, + private userInfoService: UserInfoService, + private _fb: FormBuilder, + private toastr: ToastrService, + private mywork: MyworkspaceService) { } + + ngOnInit(): void { + //addteam + this.teamForm = this._fb.group({ + name: [null, [Validators.required]], + }); + //add user + this.userForm = this._fb.group({ + email: [null, [Validators.required, Validators.pattern("[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$")]], + }); + //add guest + this.guestForm = this._fb.group({ + email: [null, [Validators.required, Validators.pattern("[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$")]], + access_duration: [null, [Validators.required]], + }) + this.getUserAccount(); + this.getUserRoles(); + this.getallmyworkspace(); + this.getalluser(); + this.getallguest(); + } + getUserAccount() { + this.userProfileService.getUserAccountDetails().subscribe(resp => { + this.sys_account = resp; + console.log("array", this.sys_account); + }, err => { console.log(err); } + ) + } + + + addUsers() { + this.modaluser = true; + //this.router.navigate(["../users"], { relativeTo: this.route }); + } + manage(id: any) { + this.router.navigate(["../manageteam/" + id], { relativeTo: this.route }); + } + goToResetPassword() { + this.router.navigate(["../passwordreset"], { relativeTo: this.route }); + } + + roles: string[] + role: string; + getUserRoles() { + const role = this.userInfoService.getRoles(); + console.log('roles = ', role); + + // if(role !== null) { + // this.roles = role.split(','); + // } + this.role = role; + console.log(this.role); + } + + isAdmin(): boolean { + const role: string = this.userInfoService.getRoles(); + if (role.includes('ADMIN')) { + return true; + } + return false; + } + addteam() { + this.modalteam = true; + } + addguest() { + this.modalguest = true; + } + getalluser() { + this.mywork.getalluser().subscribe((data) => { + this.alluser = data; + console.log(this.alluser); + }) + } + getallguest() { + this.mywork.getallguest().subscribe((data) => { + this.allguest = data; + console.log(this.allguest); + }) + } + getallmyworkspace() { + this.mywork.getall().subscribe((data) => { + this.allworkspacedata = data; + console.log(this.allworkspacedata); + }) + } + + onCreateuser() { + let email = this.userForm.value.email; + console.log(email); + this.mywork.adduser(this.userForm.value.email).subscribe((data) => { + this.mywork.storeEmail(email); + console.log(data); + if (data) { + this.toastr.success('Email Send successfully'); + } + this.getalluser(); + }, (error) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + this.toastr.success(error.error.text); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error(error.error.message); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Server Error"); + } + }); + this.modaluser = false; + } + + onCreateguest() { + this.mywork.addguest(this.guestForm.value.email, this.guestForm.value.access_duration).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Email Send successfully'); + } + this.getallguest(); + }, (error) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + this.toastr.success(error.error.text); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error(error.error.message); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Server Error"); + } + }) + this.modalguest = false; + } + oncreateteam() { + this.modalteam = false; + this.mywork.addteam(this.teamForm.value).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Team Added successfully'); + } + this.getallmyworkspace(); + }, (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not added Getting Some Error'); + } + }) + } + allworksapce() { + this.allworkmodal = true; + this.mywork.getallworkspace().subscribe((data) => { + this.allwdata = data; + console.log(data); + }) + } + + copyInputMessage(inputElement) { + inputElement.select(); + document.execCommand('copy'); + inputElement.setSelectionRange(0, 0); + + if (inputElement.setSelectionRange) { + this.toastr.success("Link Copy Succesfully"); + } + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.service.ts new file mode 100644 index 0000000..ae0913b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/myworkspace/myworkspace.service.ts @@ -0,0 +1,115 @@ +import { Injectable } from '@angular/core'; +import { HttpClient, HttpParams } from '@angular/common/http'; + +import { Observable } from 'rxjs'; +import { ApiRequestService } from 'src/app/services/api/api-request.service'; +import baseUrl from 'src/app/services/api/helper'; + +@Injectable({ + providedIn: 'root' +}) +export class MyworkspaceService { + public localStorage: Storage = localStorage; + constructor(private _http: HttpClient,private apiRequest: ApiRequestService) { } + public add(r: any){ + return this._http.post(`${baseUrl}/api/menu-register`, r); + } + + public getall(){ + return this._http.get(`${baseUrl}/Workspace_team/SecTeam/AccountId`); + } + public getalluser(){ + return this._http.get(`${baseUrl}/User_workSpace/GetAllUser`); + } + public getallguest(){ + return this._http.get(`${baseUrl}/User_workSpace/GetAllGuest`); + } + public adduser(email:any){ + let params: HttpParams = new HttpParams(); + params = params.append("email", email); + return this._http.post(`${baseUrl}/api/userviaadmin`,params); + } + storeEmail(email: string) { + this.localStorage.setItem("registeredEmail", email); + } + //Store userinfo from session storage + + //Get email from session storage ( WILL REMOVE AFTER REGISTER) + getStoredEmail(): string | null { + try { + let email: string = this.localStorage.getItem( + "registeredEmail" + ); + if (email) { + return email; + } else { + return null; + } + } catch (e) { + return null; + } + } + adduserdetails(data:any,token:any):Observable{ + return this._http.post(`${baseUrl}/api/admin/adduser/${token}`,data); + } + + addguest(email:any,duration:any){ + let params: HttpParams = new HttpParams(); + params = params.append("email", email); + params=params.append("access_duration",duration) + return this._http.post(`${baseUrl}/api/guest_via_admin`,params); + } + + addguestdetails(data:any,token:any):Observable{ + return this._http.post(`${baseUrl}/api/admin/addguest/${token}`,data); + } + addteam(data:any){ + return this._http.post(`${baseUrl}/Workspace_team/SecTeam`,data); + } + public getallteammeme(id:any){ + return this._http.get(`${baseUrl}/User_workSpace/GetAllMember/${id}`); + } + getallusertosameaccid(){ + return this._http.get(`${baseUrl}/User_workSpace/GetAll/AccountId`); + } + addteammem(id:any,user_id:any,data:any){ + return this._http.post(`${baseUrl}/User_workSpace/add_team/${id}/${user_id}`,data); + } + getallworkspace(){ + return this._http.get(`${baseUrl}/Workspace_workspace/FindByaccount`); + } + addsecworkspaceuser(usrid:any,id:any,data:any,){ + return this._http.post(`${baseUrl}/workspace/secworkspaceuser/add_workspace/users/${usrid}/${id}`,data); + } + addsecworkteam(pid:any,tid:any,data:any){ + return this._http.post(`${baseUrl}/workspace/secworkspaceuser/addteam/${pid}/${tid}`,data); + } + getallsecworkspace(id:any):Observable{ + return this._http.get(`${baseUrl}/workspace/secworkspaceuser/get_by_projectid/${id}`); + } + // public getById(id: any){ + // return this._http.get(`${baseUrl}/api/menu-register/${id}`); + // } + + // public update(id:any, reg:any){ + // return this._http.put(`${baseUrl}/api/menu-register/${id}`, reg); + // } + + // public deleteById(id: any){ + // return this._http.delete(`${baseUrl}/api/menu-register/${id}`); + // } + + + +////////////////////project users + +addprojectuser(userId: any, projectId: any, duration: any, role: string):Observable { + const params = new HttpParams().set('role', role); + return this._http.post(`${baseUrl}/workspace/secworkspaceuser/add_workspace/users/${userId}/${projectId}/${duration}`, {}, { params }); +} + +///for team +public addprojectteam(projectId:any,teamId:any){ + return this._http.post(`${baseUrl}/workspace/secworkspaceuser/addteam/${projectId}/${teamId}`, {}); +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/password-reset/password-reset.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/password-reset/password-reset.component.html new file mode 100644 index 0000000..472d4bb --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/password-reset/password-reset.component.html @@ -0,0 +1,43 @@ +
+
+

Please Reset Your Password

+

you're signed in as {{ email }}

+
+ +
+
+ + +
+
Password is required
+
+
+
+ + +
+
password is required
+
Password must be Minimum 3 Characters
+
+
+
+ + +
+
Password is required.
+
Password and Confirm Password must be match.
+
+
+ +
+
+
+

Wrong account? Log in instead.

+
+
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/password-reset/password-reset.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/password-reset/password-reset.component.scss new file mode 100644 index 0000000..3ee7d64 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/password-reset/password-reset.component.scss @@ -0,0 +1,83 @@ +//@import '../../../../../styles1.scss'; + + +//** variables +$background: #f5f6fa; +$text: #9c9c9c; +$input-bg-color: #fff; +$input-text-color: #a3a3a3; +$button-bg-color: #7f8ff4; +$button-text-color: #fff; +$google-button-bg-color: #7f8ff4; +$linkedin-button-bg-color: #4b76eb; + +//** root +:root { + background: $background; + color: $text; + font: 1rem "PT Sans", sans-serif; +} + +//** helper +.display_msg { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +.form { + /* margin-left: auto; + margin-right: auto; */ + &__field { + // width: 360px; + // //background: #fff; + // color: $input-text-color; + // font: inherit; + // //box-shadow: 0 6px 10px 0 rgba(0, 0, 0 , .1); + // border: 1 solid rgb(235, 230, 230); + // background-color:rgb(255, 255, 255); + // display: inline-block; + // border-radius: 4px; + // box-sizing: border-box; + // //outline: 0; + // padding: 6px 9px; + width: 360px; + padding: 9px 11px; + // margin: 3px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } +} + +.btn { + display: inline-block; + background: transparent; + color: inherit; + font: inherit; + border: 0; + outline: 0; + padding: 0; + transition: all 200ms ease-in; + cursor: pointer; + + &--primary { + background: $button-bg-color; + color: $button-text-color; + box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1); + border-radius: 2px; + width: 100%; + + &:hover { + background: darken($button-bg-color, 4%); + } + + &:active { + background: $button-bg-color; + box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2); + } + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/password-reset/password-reset.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/password-reset/password-reset.component.spec.ts new file mode 100644 index 0000000..e6bd9ac --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/password-reset/password-reset.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { PasswordResetComponent } from './password-reset.component'; + +describe('PasswordResetComponent', () => { + let component: PasswordResetComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ PasswordResetComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(PasswordResetComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/password-reset/password-reset.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/password-reset/password-reset.component.ts new file mode 100644 index 0000000..d17961f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/password-reset/password-reset.component.ts @@ -0,0 +1,109 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { UserRegistrationService } from 'src/app/services/admin/user-registration.service'; +import { UserInfoService } from 'src/app/services/user-info.service'; + +export interface ResetPasswordRequest { + oldPassword: string; + newPassword: string; +} +@Component({ + selector: 'app-password-reset', + templateUrl: './password-reset.component.html', + styleUrls: ['./password-reset.component.scss'] +}) +export class PasswordResetComponent implements OnInit { + + emailErrMsg: string = "" + oldpHide: boolean = true; + oldIcon: string = "eye"; + oldShapeChanger() { + this.oldpHide = !this.oldpHide; + if(this.oldpHide){ + this.oldIcon = 'eye' + } else { + this.oldIcon = 'eye-hide' + } + } + newpHide: boolean = true; + newIcon: string = "eye"; + newShapeChanger() { + this.newpHide = !this.newpHide; + if(this.newpHide){ + this.newIcon = 'eye' + } else { + this.newIcon = 'eye-hide' + } + } + cpHide: boolean = true; + conIcon: string = "eye"; + comfShapeChanger() { + this.cpHide = !this.cpHide; + if(this.cpHide){ + this.conIcon = 'eye' + } else { + this.conIcon = 'eye-hide' + } + } + + constructor( private _fb: FormBuilder, + private router: Router, + private route: ActivatedRoute, + private userRegistrationService: UserRegistrationService, + private userInfoService: UserInfoService) { } + + email: string; + resetPasswordForm: FormGroup; +userid; + ngOnInit(): void { + this.email = this.userInfoService.getEmail(); + this.userid=this.userInfoService.getUserId(); + console.log(this.userid); + + this.resetPasswordForm = this._fb.group({ + userId:this.userid, + oldPassword: ['', Validators.required], + newPassword: ['', [Validators.required, Validators.minLength(3)]], + confirmPassword: ['', [Validators.required]] + }, { + validator: ConfirmedValidator('newPassword', 'confirmPassword') + }); + } + get f() { return this.resetPasswordForm.controls; } + + submitted = false; + onSubmit() { + console.log('this.resetPasswordForm.value : ', this.resetPasswordForm.value); + this.submitted = true; + if(this.resetPasswordForm.invalid){ + return; + } + this.resetPassword(); + } + + resetPassword() { + this.userRegistrationService.resetPassword(this.resetPasswordForm.value) + .subscribe((res) => { + console.log('success ', res); + this.router.navigate(["../user-account"], { relativeTo: this.route }); + },(err) => { + console.log('failure ', err); + }); + } +} + +export function ConfirmedValidator(controlName: string, matchingControlName: string){ + return (formGroup: FormGroup) => { + const control = formGroup.controls[controlName]; + const matchingControl = formGroup.controls[matchingControlName]; + if (matchingControl.errors && !matchingControl.errors.confirmedValidator) { + return; + } + if (control.value !== matchingControl.value) { + matchingControl.setErrors({ confirmedValidator: true }); + } else { + matchingControl.setErrors(null); + } + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/profile-setting/profile-setting.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/profile-setting/profile-setting.component.html new file mode 100644 index 0000000..37105ea --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/profile-setting/profile-setting.component.html @@ -0,0 +1,266 @@ + +
+ + + + + + +
+

My Profile Settings

+ +
+ Avatar +
+ + Avatar + +
{{ message }}
+ + + + + + + +
+ +
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+ + + + +
+
+ +
+ +
+
+ +
+ +
+ + +
+ + + +
Password: Change Password for your account Change password
+
+
+ + +
+ + +
+ + +
Security: Logout of all sessions except this current browser Logout other + sessions
+
+
+ + +
+ + +
+ + +
Deactivation: Remove access to all organizations and workspace in cloudnsure Deactivate account
+
+ +
+ + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/profile-setting/profile-setting.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/profile-setting/profile-setting.component.scss new file mode 100644 index 0000000..ec6f039 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/profile-setting/profile-setting.component.scss @@ -0,0 +1,10 @@ +input[type=text],[type=date],textarea,[type=number] { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/profile-setting/profile-setting.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/profile-setting/profile-setting.component.spec.ts new file mode 100644 index 0000000..c4570be --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/profile-setting/profile-setting.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ProfileSettingComponent } from './profile-setting.component'; + +describe('ProfileSettingComponent', () => { + let component: ProfileSettingComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ProfileSettingComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ProfileSettingComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/profile-setting/profile-setting.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/profile-setting/profile-setting.component.ts new file mode 100644 index 0000000..5483ddb --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/profile-setting/profile-setting.component.ts @@ -0,0 +1,223 @@ + +import { HttpClient, HttpEventType } from '@angular/common/http'; +import { Component, OnInit, ViewChild, ViewEncapsulation } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { UserProfile, UserProfileService } from '../../../../services/admin/user-profile.service'; +import { DomSanitizer } from '@angular/platform-browser'; +import { AlertService } from '../../../../services/alert.service'; +import { ToastrService } from 'ngx-toastr'; +import { Dimensions, ImageCroppedEvent, ImageTransform } from 'ngx-image-cropper'; +//import { ImageCroppedEvent } from '../image-cropper/interfaces/image-cropped-event.interface'; +//import { ImageCropperComponent } from '../image-cropper/component/image-cropper/image-cropper.component'; +@Component({ + selector: 'app-profile-setting', + templateUrl: './profile-setting.component.html', + styleUrls: ['./profile-setting.component.scss'] +}) +export class ProfileSettingComponent implements OnInit { + updated = false; + userProfile: UserProfile; + roles = ['user', 'admin', 'mis report', 'bi report']; + transform: ImageTransform = {}; + model=false; + constructor( + private router: Router, + private route: ActivatedRoute, + private userProfileService: UserProfileService, + private http: HttpClient, + private alertService: AlertService, + private _sanitizer: DomSanitizer, + private toastr: ToastrService, + ) { } + + ngOnInit(): void { + + this.getUserProfile(); + this.getProfilePic(); + } + getUserProfile() { + this.userProfileService.getUserProfile().subscribe(res => { + console.log(res); + this.userProfile = res; + }) + } + + update() { + this.userProfileService.updateUserProfile(this.userProfile).subscribe( + (resp) => { + console.log(resp); + //this.router.navigate(["../../all"], { relativeTo: this.route }); + }, + (error) => { + console.log(error); + } + ); + //this.picUpload(); + } + + public profilePic: File = null; + onSelectFile(event) { + let flag = 0; + const mimeType = event.target.files[0].type; + if(mimeType.match(/image\/*/) === null ){ + this.message = 'Only Image Type Is Supported'; + flag = flag + 1; + return; + } + const size = event.target.files[0].size; + if(size > 5000000) { + flag = flag + 1; + this.message = 'Plese Select image file under 2 MB'; + return; + } + console.log('flag value = ', flag); + if(flag === 0) { + this.profilePic = event.target.files[0]; + console.log(this.profilePic); + const reader = new FileReader(); + this.image = this.profilePic; + reader.readAsDataURL(this.profilePic); + reader.onload = (_event) => { + this.image = reader.result; + } + this.picUpload(); + } + + } + + message: string; + picUpload() { + this.userProfileService.uploadUserProfilePic(this.profilePic).subscribe(res => { + console.log(res); + if(res.type === HttpEventType.UploadProgress){ + console.log('Upload Progress : ', + Math.round(res.loaded / res.total * 100) + '%'); + } else if(res.type === HttpEventType.Response) { + if (res.status === 200) { + this.alertService.success('Image uploaded successfully'); + //this.message = 'Image uploaded successfully'; + } else { + this.message = 'Image not uploaded'; + } + } + }, err => {console.log(err); + }); + } + image: any; + getProfilePic() { + this.userProfileService.getProfilePic().subscribe(res => { + console.log(res); + this.image = this._sanitizer.bypassSecurityTrustResourceUrl(res.image); + }, err => {console.log(err);} + ); + } + + /*picUpload() { + const uploadImageData = new FormData(); + uploadImageData.append('imageFile', this.profilePic, this.profilePic.name); + this.http.post('http://localhost:9119/api/upload', uploadImageData, { observe: 'response' }) + .subscribe((res) => { + console.log(res); + if (res.status === 200) { + this.message = 'Image uploaded successfully'; + } else { + this.message = 'Image not uploaded successfully'; + } + } + ); + }*/ + + + onSubmit() { + this.updated = true; + this.update(); + } + imageChangedEvent: any = ''; + croppedImage: any = ''; + canvasRotation = 0; + rotation = 0; + scale = 1; + showCropper = false; + containWithinAspectRatio = false; + fileChangeEvent(event: any): void { + this.imageChangedEvent = event; + } + imageCropped(event: ImageCroppedEvent) { + this.croppedImage = event.base64; + this.profilePic=this.croppedImage; + + } + imageLoaded() { + this.showCropper = true; + console.log('Image loaded'); + } + + cropperReady(sourceImageDimensions: Dimensions) { + console.log('Cropper ready', sourceImageDimensions); + } + loadImageFailed() { + // show message + } + rotateLeft() { + this.canvasRotation--; + this.flipAfterRotate(); + } + + rotateRight() { + this.canvasRotation++; + this.flipAfterRotate(); + } + + private flipAfterRotate() { + const flippedH = this.transform.flipH; + const flippedV = this.transform.flipV; + this.transform = { + ...this.transform, + flipH: flippedV, + flipV: flippedH + }; + } + + + flipHorizontal() { + this.transform = { + ...this.transform, + flipH: !this.transform.flipH + }; + } + + flipVertical() { + this.transform = { + ...this.transform, + flipV: !this.transform.flipV + }; + } + zoomOut() { + this.scale -= .1; + this.transform = { + ...this.transform, + scale: this.scale + }; +} + +zoomIn() { + this.scale += .1; + this.transform = { + ...this.transform, + scale: this.scale + }; +} + +toggleContainWithinAspectRatio() { + this.containWithinAspectRatio = !this.containWithinAspectRatio; +} + +updateRotation() { + this.transform = { + ...this.transform, + rotate: this.rotation + }; +} +openmodal(){ + this.model=true; +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/sessionlogger/sessionlogger.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/sessionlogger/sessionlogger.component.html new file mode 100644 index 0000000..c287cb4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/sessionlogger/sessionlogger.component.html @@ -0,0 +1,99 @@ + + + + +
+
+
+

Session Logger

+
+
+ + + +
+
+ + + + + + + + + Loading ... +
{{error}}
+ + + Client Ip + + + lastAccessDate + + + Log In Time + + + Log Out Time + + + Session Id + + + User Id + + + User Name + + + + + + + + {{user.clientIp}} + {{user.lastAccessDate}} + {{user.logintime}} + {{user.logouttime}} + {{user.sessionId}} + {{user.userId.userId}} + {{user.userId.username}} + + + + + + + + + + + + + Record per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} Records + + +
+
+ + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/sessionlogger/sessionlogger.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/sessionlogger/sessionlogger.component.scss new file mode 100644 index 0000000..76ab29b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/sessionlogger/sessionlogger.component.scss @@ -0,0 +1,4 @@ +.delete,.heading{ + text-align: center; + color: red; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/sessionlogger/sessionlogger.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/sessionlogger/sessionlogger.component.spec.ts new file mode 100644 index 0000000..149e2eb --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/sessionlogger/sessionlogger.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SessionloggerComponent } from './sessionlogger.component'; + +describe('SessionloggerComponent', () => { + let component: SessionloggerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ SessionloggerComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(SessionloggerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/sessionlogger/sessionlogger.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/sessionlogger/sessionlogger.component.ts new file mode 100644 index 0000000..4ffab36 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/sessionlogger/sessionlogger.component.ts @@ -0,0 +1,69 @@ +import { Component, OnInit } from '@angular/core'; +import { SessionloggerService } from 'src/app/services/admin/sessionlogger.service'; +import * as moment from 'moment'; +import { ExcelService } from 'src/app/services/excel.service'; +import { ToastrService } from 'ngx-toastr'; +import { HttpErrorResponse } from '@angular/common/http'; +@Component({ + selector: 'app-sessionlogger', + templateUrl: './sessionlogger.component.html', + styleUrls: ['./sessionlogger.component.scss'] +}) +export class SessionloggerComponent implements OnInit { + loading = false; + error; + data; + modaldelete=false; + rowSelected :any= {}; + constructor(private sessionservice:SessionloggerService,private excel: ExcelService, + private toastr: ToastrService,) { } + + ngOnInit(): void { + this.getdata(); + } + getdata(){ + this.sessionservice.getAll().subscribe((data)=>{ + this.data=data; + console.log(this.data); + if(this.data.length==0){ + this.error="No data Available plz add if Required"; + console.log(this.error) + } + },(error) => { + console.log(error); + if(error){ + this.error="server Error"; + } + }); + + + } + onExport(){ + this.excel.exportAsExcelFile(this.data, 'user_', + moment().format('YYYYMMDD_HHmmss')) + } + modaldel(row){ + this.rowSelected = row; + this.modaldelete=true; + console.log(this.rowSelected); + } + delete(id) + { + console.log("in delete "+id); + this.sessionservice.delete(id).subscribe( + (data) => { + console.log(data); + //this.ngOnInit(); + },(error:HttpErrorResponse) => { + console.log(error); + if(error.status==200){ + this.toastr.success(error.error.text); + } + if(error.status==404){ + this.toastr.error(error.error); + } + + }); + this.modaldelete=false; + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/submenu/submenu.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/submenu/submenu.component.html new file mode 100644 index 0000000..a685d03 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/submenu/submenu.component.html @@ -0,0 +1,250 @@ + + + + + +
+
+

Sub-Menu Maintenance

+ Sub Menu
+ +
+
+ +
+
+ + + + + Loading ... + + + NO. + + + Sub-Menu Item Name + + + ID + + + Sequence + + + Module Name + + + Menu Action Link + + + Status + + + + {{i+1}} + {{user.menuItemDesc}} + {{user.menuId}} + {{user.itemSeq}} + {{user.moduleName}} + {{user.main_menu_action_name}} + {{user.status}} + + + + + + + + + + + + +
Menu Name: {{user.menuItemDesc}}
+
+
+ + + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+ + + + + + + + + + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/submenu/submenu.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/submenu/submenu.component.scss new file mode 100644 index 0000000..aad7811 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/submenu/submenu.component.scss @@ -0,0 +1,62 @@ +input[type=text],[type=date],[type=password],[type=number] { + width: 100%; + padding: 15px 20px; + // margin: 3px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.required-field{ + color: red; +font-size: 18px; + +} +.green{ + background-color: rgb(156, 231, 156); + color: black; +} +.blue{ + background-color: #57abcf;//rgb(82, 87, 161); + color: black; +} +.td-title { + text-align: center; + width: 150px; +color: white; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + //color: rgb(24, 13, 13); +} +th{ + //background-color:rgb(170, 169, 169); + font-weight: bold; +} +.td-content{ + text-align: left; +} +.delete,.heading{ + text-align: center; + color: red; +} +.section p { +background-color: rgb(206, 201, 201); + padding: 10px; + font-size: 18px; +} + +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +input.ng-invalid.ng-touched { + border-color: red; +} + +.error_mess { + color: red; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/submenu/submenu.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/submenu/submenu.component.spec.ts new file mode 100644 index 0000000..6d85802 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/submenu/submenu.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SubmenuComponent } from './submenu.component'; + +describe('SubmenuComponent', () => { + let component: SubmenuComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ SubmenuComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(SubmenuComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/submenu/submenu.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/submenu/submenu.component.ts new file mode 100644 index 0000000..5489d80 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/submenu/submenu.component.ts @@ -0,0 +1,148 @@ +import { Component, OnInit } from '@angular/core'; +import { MenumaintanceService } from '../../../../services/admin/menumaintance.service'; +import { Rn_Main_Menu } from '../../../../models/builder/Rn_Main_Menu'; +import { ActivatedRoute, Router } from '@angular/router'; +import { AbstractControl, FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ToastrService } from 'ngx-toastr'; + + +function numberValidator(control: AbstractControl): { [key: string]: any } | null { + const value = control.value; + return isNaN(value) ? { 'notANumber': { value } } : null; +} + +@Component({ + selector: 'app-submenu', + templateUrl: './submenu.component.html', + styleUrls: ['./submenu.component.scss'] +}) +export class SubmenuComponent implements OnInit { + loading = false; + modalAdd = false; + modaledit = false; + modaldelete = false; + selected: any[] = []; + rowSelected: any = {}; + givendata; + menus: Rn_Main_Menu[]; + sub; + id; + mainid; + submitted = false; + public entryForm: FormGroup; + constructor(private menuservice: MenumaintanceService, + private toastr: ToastrService, + private _fb: FormBuilder, + private route: ActivatedRoute, + private router: Router,) { } + + ngOnInit(): void { + this.id = this.route.snapshot.params["id"]; + console.log("project mainmenu with id = ", this.id); + this.getById(this.id); + this.mainid = this.id + this.entryForm = this._fb.group({ + // menuItemId:[null], + menuId: [this.mainid], + menuItemDesc: ['', [Validators.required]], + // itemSeq:['',[Validators.required]] , + // itemSeq: ['', [Validators.required, numberValidator]], + itemSeq: ['', [Validators.required, Validators.pattern('^[0-9]*$')]], + moduleName: ['', [Validators.required]], + status: ['', [Validators.required]], + main_menu_action_name: ['', [Validators.required]] + }); + + // this.getdata(); + } + getById(id: any) { + this.menuservice.getbyid(id).subscribe((data) => { + this.sub = data; + console.log(this.sub) + }) + } + getdata() { + this.menuservice.getByCurrentUserMenuGroupId1().subscribe(resp => { + this.menus = resp; + console.log('menus: ', this.menus); + }) + } + goToAdd() { + this.modalAdd = true; + } + onSubmit() { + this.submitted = true; + if (this.entryForm.invalid) { + return; + } + this.menuservice.create1(this.entryForm.value).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Added successfully'); + this.ngOnInit(); + } + }, + (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not added Data Getting Some Error'); + } + this.ngOnInit(); + + + }); + this.modalAdd = false; + } + + goToEdit(row) { + this.rowSelected = row; + console.log(row) + this.modaledit = true; + //this.router.navigate(["../edit/" + id], { relativeTo: this.route }); + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.menuservice.delete1(id).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Deleted successfully'); + } + this.ngOnInit(); + + }, + (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not Deleted Data Getting Some Error'); + } + this.ngOnInit(); + + }); + + } + onUpdate(id) { + this.modaledit = false; + this.menuservice.update1(id, this.rowSelected).subscribe((data) => { + console.log(data); + if (data) { + this.toastr.success('Updated successfully'); + this.ngOnInit(); + + } + }, + (error) => { + console.log('Error in adding data...', error); + if (error) { + this.toastr.error('Not updated Data Getting Some Error'); + } + this.ngOnInit(); + + }); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/systemparameters/systemparameters.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/systemparameters/systemparameters.component.html new file mode 100644 index 0000000..bd23988 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/systemparameters/systemparameters.component.html @@ -0,0 +1,665 @@ + + + + + + + + + + +

{{ 'editMode' | translate }}

+
+
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+ +
+ +
+
+ + + + +
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+ +
+
+ + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ +
+
+ + + +
+
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/systemparameters/systemparameters.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/systemparameters/systemparameters.component.scss new file mode 100644 index 0000000..5037b31 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/systemparameters/systemparameters.component.scss @@ -0,0 +1,86 @@ +.name{ + background-color:#c5c9b0; + color: white; + font-size: 15px; +} +// input[type=text],[type=date],[type=datetime-local],textarea { +// height: 30px; +// width: 100%; +// // padding: 15px 15px; +// // //margin: 2px 0; +// // display: inline-block; +// // border: 1px solid #ccc; +// // border-radius: 4px; +// // box-sizing: border-box; +// } +clr-icon{ + margin-left: 5px; +} +.one-line { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 300px; +} +input[type=text], select, textarea { + width: 100%; + padding: 5px; + border: 1px solid #ccc; + border-radius: 4px; + resize: vertical; +} + +label { + padding: 12px 12px 12px 0; + display: inline-block; +} + +input[type=submit] { + // background-color: #04AA6D; + color: white; + padding: 12px 20px; + border: none; + border-radius: 4px; + cursor: pointer; + float: right; +} + +input[type=submit]:hover { + background-color: #45a049; +} + +.container { + border-radius: 5px; + //background-color: #f2f2f2; + padding: 20px; +} + +.col-25 { + float: left; + width: 25%; + margin-top: 5px; +} + +.col-75 { + float: left; + width: 75%; + margin-top: 5px; +} + +/* Clear floats after the columns */ +.row:after { + content: ""; + display: table; + clear: both; +} + +/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */ +@media screen and (max-width: 600px) { + .col-25, .col-75, input[type=submit] { + width: 100%; + margin-top: 0; + } +} +.btn{ + float: right; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/systemparameters/systemparameters.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/systemparameters/systemparameters.component.spec.ts new file mode 100644 index 0000000..6eff4ca --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/systemparameters/systemparameters.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SystemparametersComponent } from './systemparameters.component'; + +describe('SystemparametersComponent', () => { + let component: SystemparametersComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ SystemparametersComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(SystemparametersComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/systemparameters/systemparameters.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/systemparameters/systemparameters.component.ts new file mode 100644 index 0000000..107b8ba --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/systemparameters/systemparameters.component.ts @@ -0,0 +1,114 @@ +import { HttpEventType } from '@angular/common/http'; +import { Component, OnInit } from '@angular/core'; +import { AlertService } from 'src/app/services/alert.service'; +import {SysparameterService} from 'src/app/services/admin/sysparameter.service'; +import { FormBuilder, FormGroup, NG_VALUE_ACCESSOR } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import {Systemparameter} from 'src/app/models/admin/systemparameter' +import { ToastrService } from 'ngx-toastr'; + +@Component({ + selector: 'app-systemparameters', + templateUrl: './systemparameters.component.html', + styleUrls: ['./systemparameters.component.scss'], + +}) +export class SystemparametersComponent implements OnInit { + public profilePic: File = null; + message: string; + image: any; + selectedFile: File[]=[]; + public entryForm: FormGroup; + project: Systemparameter; + id=1; + constructor(private alertService: AlertService, + private sysparaservice:SysparameterService, + private _fb: FormBuilder, + private router: Router, + private route: ActivatedRoute, + private toastr: ToastrService,) { } + + ngOnInit(): void { + this.project = new Systemparameter(); + this.getById(this.id); + + this.entryForm = this._fb.group({ + schedulerTime: [null], + leaseTaxCode: [null], + vesselConfProcessLimit: [null], + rowToDisplay: [null], + linkToDisplay: [null], + rowToAdd: [null], + lovRowToDisplay: [null], + lovLinkToDisplay: [null], + oidserverName: [null], + oidBase: [null], + oidAdminUser: [null], + oidServerPort: [null], + userDefaultGroup: [null], + defaultDepartment: [null], + defaultPosition: [null], + singleCharge: [null], + firstDayOftheWeek: [null], + hourPerShift: [null], + cnBillingFrequency: [null], + billingDepartmentCode: [null], + basePriceList: [null], + nonContainerServiceOrder: [null], + ediMaeSchedulerONOFF: [null], + ediSchedulerONOFF: [null], + upload_Logo:[null], + Company_Display_Name:[null] + }); + + } + public onFileChanged(event) { + for (var i = 0; i < event.target.files.length; i++) { + this.selectedFile.push(event.target.files[i]); + } + } + // onSubmit(){ + // this.userObj.status='P'; + // console.log(this.entryForm.value); + // this.mainService.createall(this.entryForm.value,this.selectedFile).subscribe(data => { + // console.log(data) + + // }, + // (error) => { + // console.log(error); + // } + + // ); + // } + adddata(){ + this.sysparaservice.create(this.entryForm.value).subscribe( + (data) => { + console.log(data); + // this.router.navigate(["../../project/all"], { relativeTo: this.route }); + }, + + ); + } + getById(id: number) { + this.sysparaservice.getById(id).subscribe((data) => { + this.project = data; + console.log("getbyiddata",this.project); + }, + (err) => { + console.log(err); + } + ); + } + updatedata(){ + this.sysparaservice.update(this.id, this.project,this.selectedFile).subscribe( + (data) => { + console.log(data); + //this.router.navigate(["../../../project/all"], { relativeTo: this.route }); + }, + + ); + if (this.id) { + this.toastr.success('Updated successfully'); + } + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user-registration/user-registration.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user-registration/user-registration.component.html new file mode 100644 index 0000000..d8c3c77 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user-registration/user-registration.component.html @@ -0,0 +1,42 @@ + + + +
+
+ CloudnSure +
+
+
+ + +
+ + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user-registration/user-registration.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user-registration/user-registration.component.scss new file mode 100644 index 0000000..dbaa7f7 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user-registration/user-registration.component.scss @@ -0,0 +1,143 @@ +//@import "../../../assets/scss/var"; +/* :host { + display: flex; + flex-direction: row; + justify-content: center; +} */ + +/* .s-login-pg { + width:400px; + display:flex; + padding:0; + margin:48px 16px 16px 16px; + flex-direction: column; + align-items: center; + background-color: white; + border: 1px solid #ccc; + border-radius: 2px; + box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.15); + .s-login-pg-head{ + width:100%; + height:220px; + display:flex; + flex-direction: column; + align-items: center; + background-color: #998; + padding:16px; + color:white; + } + .s-login-pg-form { + width:100%; + height:200px; + display:flex; + flex-direction: column; + align-items: center; + margin:24px 16px; + input{ + margin: 16px; + } + } + .s-login-pg-foot { + width:100%; + min-height:40px; + display:flex; + flex-direction: column; + align-items: center; + } + + +} */ + +//** variables +$background: #f5f6fa; +$text: #9c9c9c; +$input-bg-color: #fff; +$input-text-color: #a3a3a3; +$button-bg-color: #7f8ff4; +$button-text-color: #fff; + +//** root +:root { + background: $background; + color: $text; + font: 1rem "PT Sans", sans-serif; +} + +html, +body, +.container { + height: 100%; +} + +a { + color: inherit; + + &:hover { + color: $button-bg-color; + } +} + +//** helper +.email_check { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +.uppercase { + text-transform: uppercase; +} + +//** button +.btn { + display: inline-block; + background: transparent; + color: inherit; + font: inherit; + border: 0; + outline: 0; + padding: 0; + transition: all 200ms ease-in; + cursor: pointer; + + &--primary { + background: $button-bg-color; + color: $button-text-color; + box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1); + border-radius: 2px; + //padding: 12px 36px; + //padding: 7px 158px; + width: 100%; + + &:hover { + background: darken($button-bg-color, 4%); + } + + &:active { + background: $button-bg-color; + box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2); + } + } + + /* &--inside { + margin-left: -96px; + } */ +} + +//** form +.form { + /* margin-left: auto; + margin-right: auto; */ + &__field { + width: 360px; + //width: 450px; + background: #fff; + color: $input-text-color; + font: inherit; + box-shadow: 0 6px 10px 0 rgba(0, 0, 0 , .1); + border: 0; + outline: 0; + padding: 22px 18px; + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user-registration/user-registration.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user-registration/user-registration.component.spec.ts new file mode 100644 index 0000000..692a6ca --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user-registration/user-registration.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { UserRegistrationComponent } from './user-registration.component'; + +describe('UserRegistrationComponent', () => { + let component: UserRegistrationComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ UserRegistrationComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(UserRegistrationComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user-registration/user-registration.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user-registration/user-registration.component.ts new file mode 100644 index 0000000..52e1126 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user-registration/user-registration.component.ts @@ -0,0 +1,93 @@ + +import { HttpErrorResponse } from "@angular/common/http"; +import { Component, OnInit, ViewEncapsulation } from "@angular/core"; +import { FormArray, FormBuilder, FormGroup, Validators } from "@angular/forms"; +import { ActivatedRoute, Router } from "@angular/router"; + + +import { UserRegistrationService } from "src/app/services/admin/user-registration.service"; + + +export interface EmailRequest { + email: string; +} +@Component({ + selector: 'app-user-registration', + templateUrl: './user-registration.component.html', + styleUrls: ['./user-registration.component.scss'] +}) +export class UserRegistrationComponent implements OnInit { + + model: any = {}; + EmailRequest: EmailRequest; + emailErrMsg: string = "" + emailCheckForm: FormGroup; + constructor(private _fb: FormBuilder, + private router: Router, + private route: ActivatedRoute, + private userRegistrationService: UserRegistrationService) { } + + ngOnInit(): void { + this.userRegistrationService.removeSignedUpUserInfo(); + this.userRegistrationService.removeStoredEmail(); + this.emailCheckForm = this._fb.group({ + email: ['', Validators.email] + }); + } + emailExistCheck() { + console.log('input email: ', this.model.email); + this.userRegistrationService.emailCheck(this.model.email) + .subscribe((res) => { + console.log('email check Res : ', res); + /* if(res == 202) { + this.emailErrMsg = res.body; + // redirect to next page + //this.router.navigate([""]) + } else if(res.status == 409){ + this.emailErrMsg = res.body; + } */ + }, (err) => { + console.log(err); + }); + } + + + get f() { return this.emailCheckForm.controls; } + onSubmit() { + console.log('this.emailCheckForm.value : ', this.emailCheckForm.value); + /* let headers = new HttpHeaders().set("Content-Type", "application/json"); + this.httpService.post('http://localhost:9119/token/email-exists', + JSON.stringify(this.emailCheckForm.value), { headers: headers, responseType: 'text' }) + .subscribe(data => { + console.log('success ', data); + this.router.navigate(["/varify-account"]); + }, err => { + console.log('failure ', err); + //location.reload; + this.emailErrMsg = "Email is Already Exist"; + } + ); */ + this.userRegistrationService.emailCheck(this.emailCheckForm.value) + .subscribe((res) => { + console.log('success ', res); + let email: string = res.message; + email = email.substring(16); + console.log(email); + this.userRegistrationService.storeEmail(email); + this.router.navigate(["/varify-account"]); + },(err: HttpErrorResponse) => { + console.log(err); + console.log(err.error.message); + if(err.status === 409) { + this.emailErrMsg = 'Email Already Exists'; + } else { + this.emailErrMsg = 'Server error'; + } + }); + } + + onSignUp() { + this.router.navigate(["signup"]); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user/user.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user/user.component.html new file mode 100644 index 0000000..4d02174 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user/user.component.html @@ -0,0 +1,606 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+

User list

+
+
+ + +
+
+ + user not found! + + + User Id + + + + + Name + + + + + Username + + + + + Role + + + + + email + + + + + {{user1.userId}} + {{user1.firstName}} {{user1.lastName}} + {{user1.username}} + {{user1.role}} + {{user1.email}} + + + + + ˝ + + + + + + + + + + + + + + + + + + + + +
picture
ID{{user1.userId}}
Updated{{user1.updatedAt | date}}
Register{{user1.createdAt | date}}
+
+
+ + + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user/user.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user/user.component.scss new file mode 100644 index 0000000..62edce4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user/user.component.scss @@ -0,0 +1,40 @@ +.td-title { + text-align: right; + width: 150px; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + color: white; +} + +.td-content { + text-align: left; +} + +img { + border: 2px solid #245; + border-radius: 5px; +} +.img-class{ + height: 100px; + width: 100px; +} + +input[type=text],[type=date],[type=password] { + width: 100%; + padding: 12px 20px; + margin: 8px 0; + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.delete,.heading{ + text-align: center; + color: red; +} + +.add-pop,.heading{ + text-align: center; + color: green; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user/user.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user/user.component.spec.ts new file mode 100644 index 0000000..dd3b1d7 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user/user.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { UserComponent } from './user.component'; + +describe('UserComponent', () => { + let component: UserComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ UserComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(UserComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user/user.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user/user.component.ts new file mode 100644 index 0000000..f7530c4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/user/user.component.ts @@ -0,0 +1,369 @@ +import { Component, OnInit } from '@angular/core'; +import { AlertService } from '../../../../services/alert.service'; +import { ToastrService } from 'ngx-toastr'; +import { ExcelService } from './../../../../services/excel.service'; +import { MainService } from './../../../../services/main.service'; +import * as moment from 'moment'; +import { ActivatedRoute, Router } from '@angular/router'; +import { UserListService } from '../../../../services/admin/user-list.service'; +import { HttpClient } from '@angular/common/http'; +import { MenuGroupService } from '../../../../services/admin/menu-group.service'; +import { UserInfoService } from '../../../../services/user-info.service'; +import { User } from '../../../../models/admin/user'; + +@Component({ + selector: 'app-user', + templateUrl: './user.component.html', + styleUrls: ['./user.component.scss'] +}) +export class UserComponent implements OnInit { + users: any[] = []; + rowSelected: any = {}; + loading = false; + modalEdit = false; + allusers: any; + // allusers: user; + userst: User; + openAddUser = false; + modaldelete = false; + modalcreate = false; + modalup = false; + tempid: any; + assign = false; + + user = { + id: '', + user_id: '', + name: '', + gender: '', + dob: '', + email: '', + username: '', + password: '' + } + updateU = { + id: '', + user_id: '', + name: '', + gender: '', + dob: '', + email: '', + username: '', + password: '' + } + + updateU1 = { + userId: '', + email: '', + firstName: '', + lastName: '', + username: '', + password: '' + } + + // image related variables + selectedFile: File; + retrievedImage: any; + base64Data: any; + retrieveResonse: any; + message: string; + // imageName: any; + imageName = 'index.jpg'; + + groupData: any; + + userData = { + id: '', + user_id: '', + name: '', + gender: '', + dob: '', + email: '', + username: '', + password: '', + menu_group: '' + } + + constructor( + private _mg: MenuGroupService, + private mainService: MainService, + private alertService: AlertService, + private toastr: ToastrService, + private excel: ExcelService, + private router: Router, + private route: ActivatedRoute, + private _user: UserListService, + private httpClient: HttpClient, + private _ut: UserInfoService + ) { } + + ngOnInit() { + this.getUsersT(); + this.getUser(); + this.getUsers(); + + // this.getImage(); + + this._mg.getAll().subscribe( + (data: any) => { + this.groupData = data.items; + // console.log(this.groupData); + } + ); + } + + openAssignModal(id: any) { + // console.log(id); + this._user.getOne(id).subscribe( + (data: any) => { + this.userData = data; + } + ); + this.assign = true; + } + + saveAssign() { + // console.log(this.userData.menu_group); + this._user.update(this.userData).subscribe( + (data: any) => { + console.log('Assign Updated Successfully...'); + this.assign = false; + this.ngOnInit(); + } + ); + } + + async getUser() { + this.loading = true; + const result = await this.mainService.getUserTest(); + if (result.results) { + this.users = result.results; + } + this.loading = false; + } + + onEdit(row) { + + console.log(row); + this._user.getOne(row).subscribe( + (data: any) => { + this.updateU = data; + console.log(this.updateU); + + } + ); + this.modalEdit = true; + } + + del(id: any) { + this.tempid = id; + this.modaldelete = true; + } + + async onDelete() { + // const confirmed: any = await this.alertService.confirm('', 'Delete confirm?'); + // if (confirmed.value) { + // this.toastr.success('Deleted successfully'); + // // .... + // } + + this._user.deleteById(this.tempid).subscribe( + (data: any) => { + console.log('Success....'); + this.toastr.success('User deleted successfully...'); + this.modaldelete = false; + this.ngOnInit(); + + } + ); + } + + async onSave() { + const confirmed: any = await this.alertService.confirm('', 'Save confirm?'); + if (confirmed.value) { + this.toastr.success('Save successfully'); + // .... + this.modalEdit = false; + } + } + + onExport() { + this.excel.exportAsExcelFile(this.allusers, 'user_', + moment().format('YYYYMMDD_HHmmss')) + } + goToAdd() { + this.openAddUser = true; + } + + getUsers() { + this._user.getAll().subscribe( + (data: any) => { + this.allusers = data; + + this.allusers.forEach((i: any) => { + i['imgData'] = ''; + // this.getImage(i.id); + // i['imgData'] = this.retrievedImage; + + this.httpClient.get('http://localhost:9191/user_list/get/' + i.id) + .subscribe( + res => { + this.retrieveResonse = res; + this.base64Data = this.retrieveResonse.picByte; + this.retrievedImage = 'data:image/jpeg;base64,' + this.base64Data; + i['imgData'] = 'data:image/jpeg;base64,' + this.base64Data; + // console.log(this.retrievedImage); + } + ); + }); + + console.log(this.allusers); + }, + (error: any) => { + console.log('Error in loading users from server...'); + + } + ); + } + + createUserHere() { + console.log('add button clicked....'); + + this._user.add(this.user).subscribe( + (data: any) => { + this.onUpload(data.id); + console.log('added...'); + this.toastr.success('User added successfully...'); + + this.openAddUser = false; + this.ngOnInit(); + + }, + (error: any) => { + console.log(error); + + } + ); + } + + updateUser() { + console.log('button clicked: update'); + this._user.update(this.updateU).subscribe( + (data: any) => { + console.log('success...'); + this.toastr.success('User updated successfully...'); + this.modalEdit = false; + this.ngOnInit(); + }, + (error: any) => { + console.log(error); + + } + ); + } + + public onFileChanged(event) { + //Select File + this.selectedFile = event.target.files[0]; + } + + //Gets called when the user clicks on submit to upload the image + onUpload(user: any) { + console.log(this.selectedFile); + + //FormData API provides methods and properties to allow us easily prepare form data to be sent with POST HTTP requests. + const uploadImageData = new FormData(); + uploadImageData.append('imageFile', this.selectedFile, this.selectedFile.name); + uploadImageData.append('user_id', user); + + //Make a call to the Spring Boot Application to save the image + this.httpClient.post('http://localhost:9191/user_list/upload', uploadImageData, { observe: 'response' }) + .subscribe((response) => { + if (response.status === 200) { + this.message = 'Document uploaded successfully'; + } else { + this.message = 'Document not uploaded successfully'; + } + } + ); + + + } + + //Gets called when the user clicks on retieve image button to get the image from back end + getImage(id: any) { + //Make a call to Sprinf Boot to get the Image Bytes. + this.httpClient.get('http://localhost:9191/user_list/get/' + id) + .subscribe( + res => { + this.retrieveResonse = res; + this.base64Data = this.retrieveResonse.picByte; + this.retrievedImage = 'data:image/jpeg;base64,' + this.base64Data; + // console.log(this.retrievedImage); + } + ); + } + + onEditNew(id: any) { + console.log(id); + this.getOneUser(id); + this.modalEdit = true; + } + + delNew(id: any) { + this.tempid = id; + console.log(id); + + } + + openAssignModalNew(id: any) { + console.log(id); + + } + + getUsersT() { + + this.httpClient.get('http://localhost:9191/api/all-users').subscribe( + (data: any) => { + this.userst = data; + console.log(this.userst); + }, + (error: any) => { + console.log(error); + } + ); + } + + getOneUser(id: any) { + + this.httpClient.get('http://localhost:9191/api/org-users/' + id).subscribe( + (data: any) => { + this.updateU1 = data; + console.log(this.updateU1); + + }, + (er: any) => { + console.log(er); + + } + ); + } + + updateUserNew() { + this.httpClient.put('http://localhost:9191/api/org-users/' + this.updateU1.userId, this.updateU1).subscribe( + (data: any) => { + console.log('success...'); + this.toastr.success('User updated successfully...'); + this.modalEdit = false; + console.log(data); + this.ngOnInit(); + + }, + (error: any) => { + console.log(error); + + } + ); + } +} + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usergrpmaintenance/usergrpmaintenance.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usergrpmaintenance/usergrpmaintenance.component.html new file mode 100644 index 0000000..f0d36a5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usergrpmaintenance/usergrpmaintenance.component.html @@ -0,0 +1,224 @@ + + + + +
+
+
+

{{'USER_GROUP_MAINTENANCE' | translate}}

+
+
+
+ + +
+ + + +
+
+ + + + + + + + + {{'LOADING' | translate}} ... +
{{error}}
+ + + + {{'USERGROUP_NO' | translate}} + + + + + {{'GROUP_NAME' | translate}} + + + + + {{'GROUP_DESC' | translate}} + + + + + {{'GROUP_LEVEL' | translate}} + + + + + {{'STATUS' | translate}} + + + + + {{'UPDATED_DATE' | translate}} + + + + + {{user.usrGrp}} + {{user.groupName}} + {{user.groupDesc}} + {{user.groupLevel}} + {{user.status}} + + {{user.updateDateFormated}} + + + + + + + + + + + + + + + +
username{{user.groupName}}
+
+
+ + + + Record per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} Records + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usergrpmaintenance/usergrpmaintenance.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usergrpmaintenance/usergrpmaintenance.component.scss new file mode 100644 index 0000000..c871274 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usergrpmaintenance/usergrpmaintenance.component.scss @@ -0,0 +1,8 @@ +@import '../../../../../styles1.scss'; +input.ng-invalid.ng-touched { + border-color: red; +} + +.error_mess { + color: red; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usergrpmaintenance/usergrpmaintenance.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usergrpmaintenance/usergrpmaintenance.component.spec.ts new file mode 100644 index 0000000..945eb38 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usergrpmaintenance/usergrpmaintenance.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { UsergrpmaintenanceComponent } from './usergrpmaintenance.component'; + +describe('UsergrpmaintenanceComponent', () => { + let component: UsergrpmaintenanceComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ UsergrpmaintenanceComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(UsergrpmaintenanceComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usergrpmaintenance/usergrpmaintenance.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usergrpmaintenance/usergrpmaintenance.component.ts new file mode 100644 index 0000000..d1f1934 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usergrpmaintenance/usergrpmaintenance.component.ts @@ -0,0 +1,203 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ExcelService } from '../../../../services/excel.service'; +import * as moment from 'moment'; +import { UsergrpmaintainceService } from '../../../../services/admin/usergrpmaintaince.service'; +import { ToastrService } from 'ngx-toastr'; +import { MenuGroupService } from 'src/app/services/admin/menu-group.service'; +import { CsvService } from 'src/app/services/csv.service'; +import { TranslateService } from '@ngx-translate/core'; +@Component({ + selector: 'app-usergrpmaintenance', + templateUrl: './usergrpmaintenance.component.html', + styleUrls: ['./usergrpmaintenance.component.scss'] +}) +export class UsergrpmaintenanceComponent implements OnInit { + loading = false; + public entryForm: FormGroup; + givendata; + orders; + error; + modalAdd= false; + modaledit=false; + modaldelete=false; + rowSelected :any= {}; + mcreate; + medit; + showdata; + submitted=false; + + constructor( + private excel: ExcelService, + private toastr:ToastrService, + private _fb: FormBuilder, + private router: Router, + private route: ActivatedRoute, + private menuGroupService: MenuGroupService, + private mainservice:UsergrpmaintainceService, + private csvService: CsvService, + private translate: TranslateService, + ) { } + switchLanguage(language: string) { + this.translate.use(language); + } + ngOnInit(): void { + this.showdata = this.menuGroupService.getdata(); + console.log(this.showdata); + this.mcreate=this.showdata.mcreate; + console.log(this.mcreate); + this.medit=this.showdata.medit + console.log(this.medit); + + this.mainservice.getAll().subscribe((data) => { + console.log(data); + this.givendata = data; + if(this.givendata.length==0){ + this.error="No data Available"; + console.log(this.error) + } + },(error) => { + console.log(error); + if(error){ + this.error="Server Error"; + } + }); + + this.entryForm = this._fb.group({ + groupName:['',[Validators.required]] , + groupDesc:['',[Validators.required]] , + groupLevel:['',[Validators.required]] , + status:['',[Validators.required]] , + + }); + } + onExport() { + this.excel.exportAsExcelFile(this.givendata, 'user_', + moment().format('YYYYMMDD_HHmmss')) + } + goToAdd() { + this.modalAdd=true; + //this.router.navigate(["../usermaintanceadd"],{relativeTo:this.route}); + } + goToEdit(row){ + this.rowSelected = row; + this.modaledit=true; + //this.router.navigate(["../usermaintanceedit/"+ id], { relativeTo: this.route }); + } + onUpdate(id) { + this.modaledit = false; + //console.log("in update"); + console.log("id "+id); + console.log( this.rowSelected ); + //console.log("out update"); + this.mainservice.update(this.rowSelected).subscribe( + (data) => { + console.log(data); + if (data) { + this.toastr.success('Updated successfully'); + } + }, (error) => { + console.log(error); + if(error){ + this.toastr.error('Not Updated Data Getting Some Error'); + } + } + ); + } + onSubmit() { + console.log(this.entryForm.value); + this.submitted=true; + if (this.entryForm.invalid) { + return; + } + this.onCreate(); + } + onCreate() { + this.modalAdd=false; + this.mainservice.create(this.entryForm.value).subscribe(data => { + console.log(data) + this.ngOnInit(); + if (data) { + this.toastr.success('Added successfully'); + } + }, + (error) => { + console.log(error); + if(error){ + this.toastr.error('Not Added Data Getting Some Error'); + } + } + ); + // if (this.entryForm.value) { + // this.toastr.success('Added successfully'); + + // } + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete=true; + } + + delete(id) + { + this.modaldelete = false; + console.log("in delete "+id); + this.mainservice.deleteusr(id).subscribe( + (data) => { + console.log(data); + this.ngOnInit(); + if (data) { + this.toastr.success('Deleted successfully'); + } + }, + (error) => { + console.log('Error in adding data...',+error); + if(error){ + this.toastr.error('Not Deleted Data Getting Some Error'); + } + } + ); + + + } + + + + // csv + + modalCsv = false; + selectedFiles: File; + fileList; + ttype = 'usergroupmaintenance'; + + + // Import CSV + public selectFile(event) { + this.selectedFiles = event.target.files[0]; + // this.saveCsv(); + } + + csvImport() { + console.log("import CSV"); + this.modalCsv = true; + } + saveCsv() { + this.csvService.importCsv(this.selectedFiles, this.ttype).subscribe(data => { + console.log(data); + this.fileList = data; + this.modalCsv = false; + }, + (error) => { + console.log(error); + if (error.status == 202) { + this.toastr.success(error.error.text) + } + }); + } + + downloadFiles() { + this.csvService.downloadCsvs(this.ttype); + + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintance/usermaintance.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintance/usermaintance.component.html new file mode 100644 index 0000000..fd24638 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintance/usermaintance.component.html @@ -0,0 +1,124 @@ + + + + +
+
+
+

{{'USER_MAINTENANCE'| translate}}

+
+
+
+ + +
+ + + +
+
+ + + + + + + + + + Loading ... +
{{error}}
+
+ + + + User Id + + + + Full Name + + + Email + + + User Group Name + + + + + + + {{user.userId}} + + {{user.fullName}} + {{user.email}} + {{user.usrGrpName}} + + + + + + + + + + + + + + + + + +
username{{user.username}}
+
+
+ + + + Record per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} Records + + +
+
+ + + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintance/usermaintance.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintance/usermaintance.component.scss new file mode 100644 index 0000000..76ab29b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintance/usermaintance.component.scss @@ -0,0 +1,4 @@ +.delete,.heading{ + text-align: center; + color: red; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintance/usermaintance.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintance/usermaintance.component.spec.ts new file mode 100644 index 0000000..881f48f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintance/usermaintance.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { UsermaintanceComponent } from './usermaintance.component'; + +describe('UsermaintanceComponent', () => { + let component: UsermaintanceComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ UsermaintanceComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(UsermaintanceComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintance/usermaintance.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintance/usermaintance.component.ts new file mode 100644 index 0000000..84197e8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintance/usermaintance.component.ts @@ -0,0 +1,158 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ExcelService } from '../../../../services/excel.service'; +import * as moment from 'moment'; +import { UsermaintanceService } from '../../../../services/admin/usermaintance.service'; +import { MenuGroupService } from 'src/app/services/admin/menu-group.service'; +import { ToastrService } from 'ngx-toastr'; +import { CsvService } from 'src/app/services/csv.service'; +import { TranslateService } from '@ngx-translate/core'; +@Component({ + selector: 'app-usermaintance', + templateUrl: './usermaintance.component.html', + styleUrls: ['./usermaintance.component.scss'] +}) +export class UsermaintanceComponent implements OnInit { + loading = false; + loading1=false; + public entryForm: FormGroup; + givendata; + orders; + modalAdd= false; + modaledit=false; +mcreate; +medit; +mdelete; +showdata; +error; +modaldelete=false; +rowSelected :any= {}; + constructor(private excel: ExcelService, + private _fb: FormBuilder, + private router: Router, private toastr:ToastrService, + private route: ActivatedRoute, + private menuGroupService: MenuGroupService, + private mainservice:UsermaintanceService, + private csvService: CsvService, + private translate: TranslateService, + ) {this.loading1 = true; + setTimeout(() => { + this.loading1 = false; + }, 1000); } + switchLanguage(language: string) { + this.translate.use(language); + } + ngOnInit(): void { + this.showdata = this.menuGroupService.getdata(); + console.log(this.showdata); + this.mcreate=this.showdata.mcreate; + console.log(this.mcreate); + this.mdelete=this.showdata.mdelete + console.log(this.mdelete); + this.medit=this.showdata.medit + console.log(this.medit); + this.getData(); + + } + getData(){ + this.mainservice.getAll().subscribe((data) => { + console.log(data); + this.givendata = data; + if(this.givendata.length==0){ + this.error="No data Available"; + console.log(this.error) + } + // for(let i =0;i { + console.log(error); + if(error){ + this.error="Server Error"; + } + }); + } + + + // csv + + modalCsv = false; + selectedFiles: File; + fileList; + ttype = 'usermaintenance'; + + + // Import CSV + public selectFile(event) { + this.selectedFiles = event.target.files[0]; + // this.saveCsv(); + } + + csvImport() { + console.log("import CSV"); + this.modalCsv = true; + } + saveCsv() { + this.csvService.importCsv(this.selectedFiles, this.ttype).subscribe(data => { + console.log(data); + this.fileList = data; + this.modalCsv = false; + }, + (error) => { + console.log(error); + if (error.status == 202) { + this.toastr.success(error.error.text) + } + }); + } + + downloadFiles() { + this.csvService.downloadCsvs(this.ttype); + + } + + + onExport() { + this.excel.exportAsExcelFile(this.givendata, 'user_', + moment().format('YYYYMMDD_HHmmss')) + } + goToAdd() { + this.router.navigate(["../usermaintanceadd"],{relativeTo:this.route}); + } + goToEdit(id: number){ + this.router.navigate(["../usermaintancedit/"+ id], { relativeTo: this.route }); + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete=true; + } + + delete(id) + { + this.modaldelete = false; + console.log("in delete "+id); + this.mainservice.deleteusr(id).subscribe( + (data) => { + console.log(data); + this.ngOnInit(); + if (data) { + this.toastr.success('Deleted successfully'); + } + }, + (error) => { + console.log('Error in adding data...',+error); + if(error){ + this.toastr.error('Not Deleted Data Getting Some Error'); + } + } + ); + + + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceadd/usermaintanceadd.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceadd/usermaintanceadd.component.html new file mode 100644 index 0000000..3f73f06 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceadd/usermaintanceadd.component.html @@ -0,0 +1,319 @@ + +

User Maintenance

+ Add Mode
+
+
+
+ +
+
+ + +
+
*This field is Required
+
+
+
+ + +
+
*This field is Required
+
+
+
+ + +
+
*This field is Required
+
* Please Follow your pattern,+91 Enter 10 digit Mobile Number. +
+ +
+
+
+ + +
+
*Password is required
+
* Password must be at least 6 characters
+ +
+
+
+ + +
+
* Confirm Password is required
+
* Password and Confirm Password must be match.
+ +
+
+ + + +
+ + +
+
*This field is Required
+
+
+ + +
+ + +
+
*This field is Required
+ +
*Email must be a valid email address
+ +
+
+
+ + +
+
*This field is Required
+
+
+ + +
+ +
+ + +
+ + + + + + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceadd/usermaintanceadd.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceadd/usermaintanceadd.component.scss new file mode 100644 index 0000000..c871274 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceadd/usermaintanceadd.component.scss @@ -0,0 +1,8 @@ +@import '../../../../../styles1.scss'; +input.ng-invalid.ng-touched { + border-color: red; +} + +.error_mess { + color: red; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceadd/usermaintanceadd.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceadd/usermaintanceadd.component.spec.ts new file mode 100644 index 0000000..3a520a3 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceadd/usermaintanceadd.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { UsermaintanceaddComponent } from './usermaintanceadd.component'; + +describe('UsermaintanceaddComponent', () => { + let component: UsermaintanceaddComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ UsermaintanceaddComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(UsermaintanceaddComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceadd/usermaintanceadd.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceadd/usermaintanceadd.component.ts new file mode 100644 index 0000000..a7522e4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceadd/usermaintanceadd.component.ts @@ -0,0 +1,198 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { AccesstypeService } from 'src/app/services/admin/accesstype.service'; +import { UsergrpmaintainceService } from 'src/app/services/admin/usergrpmaintaince.service'; +import { UsermaintanceService } from '../../../../services/admin/usermaintance.service'; + +@Component({ + selector: 'app-usermaintanceadd', + templateUrl: './usermaintanceadd.component.html', + styleUrls: ['./usermaintanceadd.component.scss'] +}) +export class UsermaintanceaddComponent implements OnInit { + public entryForm: FormGroup; + customer:boolean=false; + department:boolean=false; + position:boolean=false; + custdata: any; + loading = false; + clickedID:number; + custiddata: any; + userobjcust={ + customerName:'', + customerCode:'', + } + departmentdata: any; + positiondata: any; + deptiddata: any; + userobjdept={ + departmentCode:'', + } + userobjpos={ + positionCode:'', + } + posiddata: any; + usergrpdata; + accessdata; + error; + submitted=false; + + constructor( private _fb: FormBuilder, + private mainservice:UsermaintanceService, + private router: Router,private accesstype:AccesstypeService, + private route: ActivatedRoute, + private usergrpservice: UsergrpmaintainceService + ) { } + + ngOnInit(): void { + this.entryForm = this._fb.group({ + first_name :['',[Validators.required]], + last_name:['',[Validators.required]], + email:['',[Validators.required,Validators.email]], + mob_no:['',[Validators.required]], + new_password:['',[Validators.required,Validators.minLength(6)]], + confirm_password:['',[Validators.required]], + usrGrpId:['',[Validators.required]], + account_id:1, + accesstype:['',[Validators.required]], + // status:[null], + // username:[null] , + // userPassw:[null] , + // confirmPassword:[null], + // title:[null], + // shortName:[null], + // fullName:[null], + // status:[null], + // positionCodeString:[null], + // departmentCodeString:[null], + // usrGrpId:[null], + // customerId:[null], + // email:[null], + // notification:[null], + + //departmentCode: this._fb.array([this.department()]), + // positionCode: this._fb.array([this.position()]), + //usrGrp: this._fb.array([this.user()]), + + }, { + validator: ConfirmedValidator('new_password', 'confirm_password') + }); + this.usergrp(); + this.getdata(); + } + getdata(){ + this.accesstype.getAll().subscribe(resp => { + this.accessdata = resp; + console.log('accessdata: ', this.accessdata); + if(this.accessdata.length==0){ + this.error="No data Available"; + console.log(this.error) + } + },(error) => { + console.log(error); + if(error){ + this.error="Server Error"; + } + }) + } + usergrp(){ + this.usergrpservice.getAll().subscribe((data) => { + console.log(data); + this.usergrpdata = data; + }); + } + // department(){ + // return this._fb.group({ + // departmentCode:[null] , + + // }); + // } + // position(){ + // return this._fb.group({ + // positionCode:[null] , + + // }); + // } + // user(){ + // return this._fb.group({ + // usrGrp:[null] , + + // }); + //} + onSubmit(){ + this.submitted=true + if (this.entryForm.invalid) { + return; + } + console.log(this.entryForm.value); + this.mainservice.create(this.entryForm.value).subscribe(data => { + console.log(data) + }, + (error) => { + console.log(error); + } + ); + this.router.navigate(["../usermaintance"], { relativeTo: this.route }); + } + +goback(){ + this.router.navigate(["../usermaintance"], { relativeTo: this.route }); +} + gotodepartmet(){ + this.department=!this.department; + this.mainservice.getalldepartment().subscribe((data)=>{ + console.log(data); + this.departmentdata=data; + }); + } + getdepid(id:number){ + this.clickedID=id; + console.log("clicked by id"+ id); + this.mainservice.getbydepartmentid(id).subscribe((data) => { + console.log(data); + this.deptiddata= data; + // this.userObj= this.custiddata; + this.userobjdept =this.deptiddata; + + + }); + this.department=false; + } + gotoposition(){ + this.position=!this.position; + this.mainservice.getallposition().subscribe((data)=>{ + console.log(data); + this.positiondata=data; + }) + } + getposid(id:number){ + this.clickedID=id; + console.log("clicked by id"+ id); + this.mainservice.getbypositionid(id).subscribe((data) => { + console.log(data); + this.posiddata= data; + // this.userObj= this.custiddata; + this.userobjpos =this.posiddata; + + + }); + this.position=false; + } + + +} +export function ConfirmedValidator(controlName: string, matchingControlName: string){ + return (formGroup: FormGroup) => { + const control = formGroup.controls[controlName]; + const matchingControl = formGroup.controls[matchingControlName]; + if (matchingControl.errors && !matchingControl.errors.confirmedValidator) { + return; + } + if (control.value !== matchingControl.value) { + matchingControl.setErrors({ confirmedValidator: true }); + } else { + matchingControl.setErrors(null); + } + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceedit/usermaintanceedit.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceedit/usermaintanceedit.component.html new file mode 100644 index 0000000..64d92fe --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceedit/usermaintanceedit.component.html @@ -0,0 +1,348 @@ + +

User Maintenance

+ Edit Mode
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ + + + +
+ + +
+ + +
+ + +
+
+ + +
+ + +
+ +
+ + +
+ + + + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceedit/usermaintanceedit.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceedit/usermaintanceedit.component.scss new file mode 100644 index 0000000..36abb8c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceedit/usermaintanceedit.component.scss @@ -0,0 +1 @@ +@import '../../../../../styles1.scss'; diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceedit/usermaintanceedit.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceedit/usermaintanceedit.component.spec.ts new file mode 100644 index 0000000..4173d29 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceedit/usermaintanceedit.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { UsermaintanceeditComponent } from './usermaintanceedit.component'; + +describe('UsermaintanceeditComponent', () => { + let component: UsermaintanceeditComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ UsermaintanceeditComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(UsermaintanceeditComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceedit/usermaintanceedit.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceedit/usermaintanceedit.component.ts new file mode 100644 index 0000000..2f33378 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/admin/usermaintanceedit/usermaintanceedit.component.ts @@ -0,0 +1,133 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { AccesstypeService } from 'src/app/services/admin/accesstype.service'; +import { UsergrpmaintainceService } from 'src/app/services/admin/usergrpmaintaince.service'; +import { UsermaintanceService } from '../../../../services/admin/usermaintance.service'; +//import { Usermain } from 'src/app/models/usermaintaince'; + +@Component({ + selector: 'app-usermaintanceedit', + templateUrl: './usermaintanceedit.component.html', + styleUrls: ['./usermaintanceedit.component.scss'] +}) +export class UsermaintanceeditComponent implements OnInit { + id:number; + data1:any={}; + customer:boolean=false; + custdata: any; + clickedID:number; + custiddata: any; + loading = false; + userobjcust={ + customerName:'', + customerCode:'', + } + accessdata; + department:boolean=false; + departmentdata: any; + positiondata: any; + deptiddata: any; + userobjdept={ + departmentCode:'', + } + userobjpos={ + positionCode:'', + } + posiddata: any; + position:boolean=false; + usergrpdata; + error; + constructor(private route:ActivatedRoute, + private mainservice:UsermaintanceService, + private router: Router,private accesstype:AccesstypeService, + private usergrpservice: UsergrpmaintainceService + + ) { } + + ngOnInit(): void { + this.id = this.route.snapshot.params["id"]; + console.log("update with id = ", this.id); + this.getById(this.id); + // + this.usergrp(); + this.getdata(); + } + getdata(){ + this.accesstype.getAll().subscribe(resp => { + this.accessdata = resp; + console.log('accessdata: ', this.accessdata); + if(this.accessdata.length==0){ + this.error="No data Available"; + console.log(this.error) + } + },(error) => { + console.log(error); + if(error){ + this.error="Server Error"; + } + }) + } + usergrp(){ + this.usergrpservice.getAll().subscribe((data) => { + console.log(data); + this.usergrpdata = data; + }); + } +getById(id:number){ +this.mainservice.getbyid(id).subscribe((data)=>{ + this.data1=data; + // this.data1=this.data3; + console.log(this.data1); +}); +} +update(){ + console.log(this.data1); + this.mainservice.updatenew(this.id,this.data1).subscribe((data)=>{ +console.log(data); + }); + +} +goback(){ + this.router.navigate(["../../usermaintance"], { relativeTo: this.route }); +} + gotodepartmet(){ + this.department=!this.department; + this.mainservice.getalldepartment().subscribe((data)=>{ + console.log(data); + this.departmentdata=data; + }); + } + getdepid(id:number){ + this.clickedID=id; + console.log("clicked by id"+ id); + this.mainservice.getbydepartmentid(id).subscribe((data) => { + console.log(data); + this.deptiddata= data; + // this.userObj= this.custiddata; + this.userobjdept =this.deptiddata; + + + }); + this.department=false; + } + gotoposition(){ + this.position=!this.position; + this.mainservice.getallposition().subscribe((data)=>{ + console.log(data); + this.positiondata=data; + }) + } + getposid(id:number){ + this.clickedID=id; + console.log("clicked by id"+ id); + this.mainservice.getbypositionid(id).subscribe((data) => { + console.log(data); + this.posiddata= data; + // this.userObj= this.custiddata; + this.userobjpos =this.posiddata; + + + }); + this.position=false; + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/addnewdash/addnewdash.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/addnewdash/addnewdash.component.html new file mode 100644 index 0000000..3a4976e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/addnewdash/addnewdash.component.html @@ -0,0 +1,40 @@ + +

{{'define_dashboard'| translate}}

+ {{'add_mode'| translate}} +

+ +
+ + + + + + +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ + +
+ +
+
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/addnewdash/addnewdash.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/addnewdash/addnewdash.component.scss new file mode 100644 index 0000000..4a7ff75 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/addnewdash/addnewdash.component.scss @@ -0,0 +1,81 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } + } + + .entry-pg { + width: 750px; + } + + .button1::after { + content: none; + } + .button1:hover::after { + content: "ADD ROWS"; + } + + $bg-color: #dddddd; + + .section { + background-color: $bg-color; + height: 40px; + } + + .section p { + //color: white; + font-weight: bold; + padding: 10px; + font-size: 18px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .center { + text-align: center; + } + input[type=text],[type=date],textarea { + width: 100%; + padding: 15px 15px; + margin-top: 3px; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + + .required-field{ + color: red; + + } + select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/addnewdash/addnewdash.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/addnewdash/addnewdash.component.spec.ts new file mode 100644 index 0000000..d4993fe --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/addnewdash/addnewdash.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AddnewdashComponent } from './addnewdash.component'; + +describe('AddnewdashComponent', () => { + let component: AddnewdashComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [AddnewdashComponent] + }); + fixture = TestBed.createComponent(AddnewdashComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/addnewdash/addnewdash.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/addnewdash/addnewdash.component.ts new file mode 100644 index 0000000..4ab52f6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/addnewdash/addnewdash.component.ts @@ -0,0 +1,125 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { DashboardService } from 'src/app/services/builder/dashboard.service'; + +@Component({ + selector: 'app-addnewdash', + templateUrl: './addnewdash.component.html', + styleUrls: ['./addnewdash.component.scss'] +}) +export class AddnewdashComponent implements OnInit { + public entryForm: FormGroup; + addToDashboard: boolean = false; + submitted = false; + moduleId:any; + tech_stacks=[]; + object_types = ["form", "bi", "report", "api"]; + sub_object_types = [ + "only header", + "only line", + "header line", + "header multiline", + "wrokflow", + "setup", + "std report", + "bi report", + "rest api", + ]; + jsonString:any; + + fieldModels= + { + + "dashboard": [ + { + "cols": 4, + "rows": 5, + "x": 0, + "y": 0, + "name": "Radar Chart", + "component": "Radar Chart" + + } + ] + } + + wfline = { + model: 'this.fieldModels' + } + dashboard: any; + constructor( private _fb:FormBuilder, + private router: Router, + private route: ActivatedRoute, + private dashboardService : DashboardService, + private toastr : ToastrService, + + ) { } + + ngOnInit(): void { + // this.moduleId = this.wireframeService.getModuleId(); + console.log(this.moduleId); + + this.entryForm = this._fb.group({ + dashboard_name : [null], + description: [null], + secuirity_profile : [null], + module_id:[null], + tech_Stack:[null], + object_type:[null], + sub_object_type:[null], + testing:[null], + build:[null], + add_to_home:[true], + + dashbord1_Line: this._fb.array([this.initLinesForm()]), + // dashbord1_Line: this.fieldModels + }); + + + } + initLinesForm() { + return this._fb.group({ + + model:JSON.stringify(this.fieldModels) + }); + } + + onSubmit() { + console.log("In onSubmit method"); + console.log(this.entryForm.value); + if(this.entryForm.invalid) + { + return; + } + this.onCreate() + + } + onBack(){ + this.router.navigate(["../all"],{relativeTo:this.route}); + } + + onCreate() + { + console.log("in oncreate method"); + this.entryForm.value.module_id=this.moduleId; + + console.log(typeof this.fieldModels) + + this.dashboardService.create(this.entryForm.value).subscribe((data)=>{ + console.log(data); + this.router.navigate(["../all"],{relativeTo:this.route}); + }, + (error) => { + console.log(error); + } + ); + if(this.entryForm.value) + { + this.toastr.success('Added successfully'); + } + } + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/allnewdash/allnewdash.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/allnewdash/allnewdash.component.html new file mode 100644 index 0000000..b50c51f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/allnewdash/allnewdash.component.html @@ -0,0 +1,145 @@ + + +
+ +
+
+
+

{{ 'Dashboard_builder' | translate }}

+
+
+ + + +
+
+ + + {{ 'Loading' | translate }} ...... +
{{error}}
+ + + + {{ 'Go_to' | translate }} + + + + + {{ 'Dashboard_Name' | translate }} + + + + + {{ 'Description' | translate }} + + + + + {{ 'Security_Profile' | translate }} + + + + + {{ 'Add_to_home' | translate }} + + + + + {{ 'Action' | translate }} + + + + {{ 'SET_UP' | translate }} + {{user.dashboard_name}} + {{user.description}} + {{user.secuirity_profile}} + {{user.add_to_home}} + + + + + + + {{ 'Delete' | translate }} + + + + + +
{{ 'Who_Column' | translate }}
+
{{ 'Account_ID' | translate }}: {{ user.accountId }}
+
{{ 'Created_At' | translate }}: {{ user.createdAt | date }}
+
{{ 'Created_By' | translate }}: {{ user.createdBy }}
+
{{ 'Updated_At' | translate }}: {{ user.updatedAt | date }}
+
{{ 'Updated_By' | translate }}: {{ user.updatedBy }}
+
+
+ +
+ + + + +
+ + + + {{ 'Users_per_page' | translate }} + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + {{ 'of' | translate }} {{pagination.totalItems}} {{ 'users' | translate }} + + +
+
+ + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/allnewdash/allnewdash.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/allnewdash/allnewdash.component.scss new file mode 100644 index 0000000..140a8d4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/allnewdash/allnewdash.component.scss @@ -0,0 +1,83 @@ +.td-title { + text-align: right; + width: 150px; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + color: white; + } + .td-content{ + text-align: left; + } + .delete,.heading{ + text-align: center; + color: red; + } + input[type='radio']{ + width: 14px !important; + height: 14px !important; + margin: 5px; + -webkit-appearance: none; + -moz-appearance: none; + -o-appearance: none; + appearance: none; + outline: 1px solid gray; + box-shadow: none; + font-size: 0.8em; + text-align: center; + line-height: 1em; + background: red; + } + .dots + { + width: 100px; + height:100px; + border: 1px solid; + border-radius: 50%; + //background-color: #f00; + } + h4{margin-top: 16px;} + .s-order-dash-pg { + margin: 0px; + display:flex; + flex-wrap:wrap; + flex-direction:row; + justify-content:center; + .chart-box{ + margin:16px; + padding:0 16px; + background-color: #fff; + border:1px solid #ccc; + border-radius: 2px; + } + } + #word1{ + width: 190px; + height: 180px; + + } + .center{ + text-align: center; + margin-top: 5px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + .heading{ + text-align: center; + color: red; + } + + select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/allnewdash/allnewdash.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/allnewdash/allnewdash.component.spec.ts new file mode 100644 index 0000000..9e5246b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/allnewdash/allnewdash.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AllnewdashComponent } from './allnewdash.component'; + +describe('AllnewdashComponent', () => { + let component: AllnewdashComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [AllnewdashComponent] + }); + fixture = TestBed.createComponent(AllnewdashComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/allnewdash/allnewdash.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/allnewdash/allnewdash.component.ts new file mode 100644 index 0000000..b907dae --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/allnewdash/allnewdash.component.ts @@ -0,0 +1,124 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +// import { WireframeService } from 'src/app/services/builder/wireframe.service'; +import { ExcelService } from 'src/app/services/excel.service'; +import * as moment from 'moment'; +import { ModulesetupService } from 'src/app/services/builder/modulesetup.service'; +import { DashboardService } from 'src/app/services/builder/dashboard.service'; +@Component({ + selector: 'app-allnewdash', + templateUrl: './allnewdash.component.html', + styleUrls: ['./allnewdash.component.scss'] +}) +export class AllnewdashComponent implements OnInit { + addModall:boolean = false; + selected:any[] = []; + loading = false; + data:any; + id:any; + moduleId:any; + modalDelete = false; + rowSelected :any= {}; + rows: any[]; + projectname; + projectId; + error; + constructor( + private router : Router, + private route: ActivatedRoute,private dashboardService : DashboardService, + // private wireframeservice : WireframeService, + private excel: ExcelService,private mainService: ModulesetupService, + private toastr: ToastrService,) { } + + ngOnInit(): void { + // this.projectId=this.wireframeservice.getProjectId(); + console.log(this.projectId); + this.id = this.route.snapshot.params["id"]; // fb_header_id + // this.moduleId = this.wireframeservice.getModuleId(); // get from session storage + console.log(this.moduleId); + + this.getdashboard(); + // this.getprojectName(this.projectId); + } + + getprojectName(id){ + this.mainService.getProjectModules(id).subscribe((data) => { + console.log(data); + this.projectname=data.items[0]['projectName']; + console.log(this.projectname); + }); + } + + + getdashboard() + { + this.dashboardService.getAllDash().subscribe((data) =>{ + this.data = data; + this.rows = this.data; + console.log(data); + this.error="No data Available"; + console.log(this.error); + }); + } + + openModal() + { + this.addModall = true; + } + gotoadd() + { + this.router.navigate(['../adddata'],{relativeTo:this.route}); + } + goToEdit(id:number) + { + this.router.navigate(['../editdashn/'+id],{relativeTo:this.route}); + } + + goToEditData(id: number){ + this.router.navigate(['../editdata/'+id],{relativeTo:this.route}); + } + + onExport() { + this.excel.exportAsExcelFile(this.rows, 'user_', + moment().format('YYYYMMDD_HHmmss')) + } + + gotoAction(){ + this.router.navigate(["../../actions"], { relativeTo: this.route, queryParams: { m_id: this.moduleId,pname:this.projectname } }); + } + gotoRepo(){ + this.router.navigate(["../../modulecard"], { relativeTo: this.route, queryParams: { p_id: this.projectId } }); + } + + onDelete(row){ + this.rowSelected = row; + console.log(this.rowSelected); + this.modalDelete = true; + } + delete(id) + { + this.modalDelete = false; + console.log("in delete "+id); + this.dashboardService.deleteField(id).subscribe((data)=>{ + console.log(data); + this.ngOnInit(); + }); + if (id) { + this.toastr.success('Deleted successfully'); + } + } + // openModal() + // { + // this.addModall = true; + // } + gotorunner() + { + this.router.navigate(['../../dashboardrunner'],{relativeTo:this.route}); + } + // goToEdit() + // { + // this.router.navigate(['../editdashn'],{relativeTo:this.route}); + // } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/dashboardnew.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/dashboardnew.component.html new file mode 100644 index 0000000..90c6b64 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/dashboardnew.component.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/dashboardnew.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/dashboardnew.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/dashboardnew.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/dashboardnew.component.spec.ts new file mode 100644 index 0000000..c7c3d2e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/dashboardnew.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DashboardnewComponent } from './dashboardnew.component'; + +describe('DashboardnewComponent', () => { + let component: DashboardnewComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [DashboardnewComponent] + }); + fixture = TestBed.createComponent(DashboardnewComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/dashboardnew.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/dashboardnew.component.ts new file mode 100644 index 0000000..3078dd2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/dashboardnew.component.ts @@ -0,0 +1,10 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-dashboardnew', + templateUrl: './dashboardnew.component.html', + styleUrls: ['./dashboardnew.component.scss'] +}) +export class DashboardnewComponent { + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editformnewdash/editformnewdash.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editformnewdash/editformnewdash.component.html new file mode 100644 index 0000000..530e940 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editformnewdash/editformnewdash.component.html @@ -0,0 +1,54 @@ +

Dashboard

+Edit Mode +

+ +
+ + + + + + +
+
+
+ + +
+
+ + +
+ + +
+ + +
+
+ + +
+
+
+ +
+ + +
+ +
+
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editformnewdash/editformnewdash.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editformnewdash/editformnewdash.component.scss new file mode 100644 index 0000000..4a7ff75 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editformnewdash/editformnewdash.component.scss @@ -0,0 +1,81 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } + } + + .entry-pg { + width: 750px; + } + + .button1::after { + content: none; + } + .button1:hover::after { + content: "ADD ROWS"; + } + + $bg-color: #dddddd; + + .section { + background-color: $bg-color; + height: 40px; + } + + .section p { + //color: white; + font-weight: bold; + padding: 10px; + font-size: 18px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .center { + text-align: center; + } + input[type=text],[type=date],textarea { + width: 100%; + padding: 15px 15px; + margin-top: 3px; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + + .required-field{ + color: red; + + } + select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editformnewdash/editformnewdash.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editformnewdash/editformnewdash.component.spec.ts new file mode 100644 index 0000000..9872c96 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editformnewdash/editformnewdash.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { EditformnewdashComponent } from './editformnewdash.component'; + +describe('EditformnewdashComponent', () => { + let component: EditformnewdashComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [EditformnewdashComponent] + }); + fixture = TestBed.createComponent(EditformnewdashComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editformnewdash/editformnewdash.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editformnewdash/editformnewdash.component.ts new file mode 100644 index 0000000..6e46676 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editformnewdash/editformnewdash.component.ts @@ -0,0 +1,93 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { DashboardService } from 'src/app/services/builder/dashboard.service'; +// import { TechnologyStackService } from 'src/app/services/builder/technology-stack.service'; +// import { WireframeService } from 'src/app/services/builder/wireframe.service'; + +@Component({ + selector: 'app-editformnewdash', + templateUrl: './editformnewdash.component.html', + styleUrls: ['./editformnewdash.component.scss'] +}) +export class EditformnewdashComponent implements OnInit { + updated = false; + Header; + id: number; + moduleId; + tech_stacks=[]; + object_types = ["form", "bi", "report", "api"]; + sub_object_types = [ + "only header", + "only line", + "header line", + "header multiline", + "wrokflow", + "setup", + "std report", + "bi report", + "rest api", + ]; + constructor(private router: Router, + private route: ActivatedRoute, private dashboardService : DashboardService, + // private technologyStackService:TechnologyStackService, + private toastr: ToastrService, + // private wireframeService :WireframeService, + ) { } + + ngOnInit(): void { + // this.moduleId = this.wireframeService.getModuleId(); + this.id = this.route.snapshot.params["id"]; + console.log("update with id = ", this.id); + this.getById(this.id); + // this.technologyStackService.getAll().subscribe((data)=>{ + // console.log(data) + // this.tech_stacks=data; + // }); + } + + getById(id: number) { + this.dashboardService.getById(id).subscribe( + (data) => { + console.log(data); + this.Header = data; + }, + (err) => { + console.log(err); + } + ); + } + update() { + this.dashboardService.updateDash(this.Header).subscribe( + (data) => { + console.log(data); + if (data) { + this.toastr.success('Update successfully'); + } + this.router.navigate(["../../all"], { relativeTo: this.route }); + //this.router.navigate(["../../all"],{ relativeTo: this.route, queryParams: { p_id: this.projectId } }); + }, + (error) => { + // console.log(error); + // const objectArray = Object.entries(error.error.fieldErrors); + // objectArray.forEach(([k, v]) => { + // console.log(k); + // console.log(v); + // this.fieldErors.push({ field: k, message: v }); + // }); + console.log(error); // this will come from backend + } + ); + // this.lineBuilder_Header = new Rn_Cff_ActionBuilder_Header(); + } + + onSubmit() { + this.updated = true; + this.update(); + } + + onBack() { + this.router.navigate(["../../all"], { relativeTo: this.route }); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editnewdash/editnewdash.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editnewdash/editnewdash.component.html new file mode 100644 index 0000000..02dce20 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editnewdash/editnewdash.component.html @@ -0,0 +1,198 @@ + + +
+ +
+ {{dashboardName}} +
+
+ +
+ +
+ +
+ +
+ + + + + + + + + + + +

{{item.name}}

+ + +
+
+
+
+
+ + +
+ + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editnewdash/editnewdash.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editnewdash/editnewdash.component.scss new file mode 100644 index 0000000..2c08e48 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editnewdash/editnewdash.component.scss @@ -0,0 +1,51 @@ +.componentbtn{ + color: white; + background-color: #03AC13; + border: none; + } + .content-container { + min-height: 100vh; + height: initial; + } + a:hover { + text-decoration: none; + cursor: pointer; + } + .clr-checkbox{ + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + // padding: 0.75rem 0.75rem; + // margin-top: 3px; + width: 100%; + margin-left: 20px; + margin-bottom: 18px; + } + .clr-input, .clr-dropdown { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + select{ + width: 100%; + padding: 5px 5px; + margin-top: 3px; + border: 1px solid #ccc; + border-radius: 4px; + } + + input[type=text],[type=date],textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editnewdash/editnewdash.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editnewdash/editnewdash.component.spec.ts new file mode 100644 index 0000000..82dc288 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editnewdash/editnewdash.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { EditnewdashComponent } from './editnewdash.component'; + +describe('EditnewdashComponent', () => { + let component: EditnewdashComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [EditnewdashComponent] + }); + fixture = TestBed.createComponent(EditnewdashComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editnewdash/editnewdash.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editnewdash/editnewdash.component.ts new file mode 100644 index 0000000..5104759 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/editnewdash/editnewdash.component.ts @@ -0,0 +1,617 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { GridsterConfig } from 'angular-gridster2'; +import { ToastrService } from 'ngx-toastr'; +import { DashboardContentModel, DashboardModel, WidgetModel } from '../../../../../models/builder/dashboard'; +import { Dashboard3Service } from '../../../../../services/builder/dashboard3.service'; +import { BarChartComponent } from '../gadgets/bar-chart/bar-chart.component'; +import { BubbleChartComponent } from '../gadgets/bubble-chart/bubble-chart.component'; +import { DoughnutChartComponent } from '../gadgets/doughnut-chart/doughnut-chart.component'; +import { DynamicChartComponent } from '../gadgets/dynamic-chart/dynamic-chart.component'; +import { FinancialChartComponent } from '../gadgets/financial-chart/financial-chart.component'; +import { LineChartComponent } from '../gadgets/line-chart/line-chart.component'; +import { PieChartComponent } from '../gadgets/pie-chart/pie-chart.component'; +import { PolarChartComponent } from '../gadgets/polar-chart/polar-chart.component'; +import { RadarChartComponent } from '../gadgets/radar-chart/radar-chart.component'; +import { ScatterChartComponent } from '../gadgets/scatter-chart/scatter-chart.component'; +import { ToDoChartComponent } from '../gadgets/to-do-chart/to-do-chart.component'; +import { GridViewComponent } from '../gadgets/grid-view/grid-view.component'; +import { DatastoreService } from 'src/app/services/fnd/datastore.service'; +import { AlertsService } from 'src/app/services/fnd/alerts.service'; +import { isArray } from 'highcharts'; +// import { ChartItem } from '../chartitem'; + +function isNullArray(arr) { + return !Array.isArray(arr) || arr.length === 0; +} + +@Component({ + selector: 'app-editnewdash', + templateUrl: './editnewdash.component.html', + styleUrls: ['./editnewdash.component.scss'] +}) + + + +export class EditnewdashComponent implements OnInit { + + editId:number; + toggle:boolean; + modeledit:boolean = false; + public entryForm: FormGroup; + + WidgetsMock: WidgetModel[] = [ + { + name: 'Radar Chart', + identifier: 'radar_chart' + }, + { + name: 'Doughnut Chart', + identifier: 'doughnut_chart' + }, + { + name: 'Line Chart', + identifier: 'line_chart' + }, + { + name: 'Bar Chart', + identifier: 'bar_chart' + }, + { + name: 'Pie Chart', + identifier: 'pie_chart' + }, + { + name: 'Polar Area Chart', + identifier: 'polar_area_chart' + }, + { + name: 'Bubble Chart', + identifier: 'bubble_chart' + }, + { + name: 'Scatter Chart', + identifier: 'scatter_chart' + }, + // { + // name: 'Dynamic Chart', + // identifier: 'dynamic_chart' + // }, + // { + // name: 'Financial Chart', + // identifier: 'financial_chart' + // }, + { + name: 'To Do', + identifier: 'to_do_chart' + }, + { + name: 'Grid View', + identifier: 'grid_view' + } +] + + public options: GridsterConfig; + protected dashboardId: number; + protected dashboardCollection: DashboardModel; + //dashboardCollection:any; + protected dashboardCollection1: DashboardModel[]; + public dashboardArray: DashboardContentModel[]; + public dashArr:[]; + + protected componentCollection = [ + { name: "Line Chart", componentInstance: LineChartComponent }, + { name: "Doughnut Chart", componentInstance: DoughnutChartComponent }, + { name: "Radar Chart", componentInstance: RadarChartComponent }, + { name: "Bar Chart", componentInstance: BarChartComponent }, + { name: "Pie Chart", componentInstance: PieChartComponent }, + { name: "Polar Area Chart", componentInstance: PolarChartComponent }, + { name: "Bubble Chart", componentInstance: BubbleChartComponent }, + { name: "Scatter Chart", componentInstance: ScatterChartComponent }, + { name: "Dynamic Chart", componentInstance: DynamicChartComponent }, + { name: "Financial Chart", componentInstance: FinancialChartComponent }, + { name: "To Do Chart", componentInstance: ToDoChartComponent }, + { name: "Grid View", componentInstance: GridViewComponent }, + ]; + model:any; + linesdata:any; + id:any; + gadgetsEditdata = { + donut : '', + chartlegend: '', + showlabel : '', + charturl: '', + chartparameter : '', + datastore : '', + table:'', + datasource : '', + charttitle:'', + id:'', + fieldName:'', + chartcolor:'', + slices:'', + yAxis:'', + xAxis:'' + +}; + constructor(private route: ActivatedRoute, + private router : Router, + private dashboardService: Dashboard3Service, + private toastr:ToastrService, + private _fb: FormBuilder, + private datastoreService: DatastoreService, + private alertService:AlertsService,) { } + + ngOnInit(): void { + + // Grid options + this.options = { + gridType: "fit", + enableEmptyCellDrop: true, + emptyCellDropCallback: this.onDrop, + pushItems: true, + swap: true, + pushDirections: { north: true, east: true, south: true, west: true }, + resizable: { enabled: true }, + itemChangeCallback: this.itemChange.bind(this), + draggable: { + enabled: true, + ignoreContent: true, + dropOverItems: true, + dragHandleClass: "drag-handler", + ignoreContentClass: "no-drag", + }, + displayGrid: "always", + minCols: 10, + minRows: 10 + }; + this.getData(); + + this.editId = this.route.snapshot.params.id; + console.log(this.editId); + this.dashboardService.getById(this.editId).subscribe((data)=>{ + console.log("ngOnInit",data); + this.linesdata = data; + this.id = data.dashbord1_Line[0].id; + console.log("this.id ",this.id); + }, + (error: any)=>{ + + } + ); + + this.entryForm = this._fb.group({ + donut : [null], + chartlegend: [null], + showlabel : [null], + charturl: [null], + chartparameter : [null], + datastore:[null], + table:[null], + fieldName: [null], + datasource : [null], + charttitle:[null], + id:[null], + chartcolor:[null], + slices:[null], + yAxis:[null], + xAxis: [null], + }); + } + + toggleMenu() { + this.toggle = !this.toggle; + } + + onDrag(event, identifier) { + console.log("on drag",identifier); + console.log("on drag ",event); + event.dataTransfer.setData('widgetIdentifier', identifier); + } + datagadgets:any; + dashboardLine:any; + dashboardName:any; + getData() { + // We get the id in get current router dashboard/:id + this.route.params.subscribe(params => { + // + is used to cast string to int + this.dashboardId = +params["id"]; + // We make a get request with the dashboard id + this.dashboardService.getById(this.dashboardId).subscribe(dashboard => { + // We fill our dashboardCollection with returned Observable + this.dashboardName = dashboard.dashboard_name; + this.datagadgets = dashboard; + this.dashboardLine = dashboard.dashbord1_Line; + //this.dashboardCollection = dashboard.dashbord1_Line.model; + console.log("this.datagadgets",this.datagadgets); + console.log("this.dashboardLine",this.dashboardLine); + this.dashboardCollection =JSON.parse(this.dashboardLine[0].model) ; + //this.dashboardCollection =this.dashboardLine[0].model ; + console.log("this.dasboard ",this.dashboardCollection ); + console.log(this.dashboardCollection); + // We parse serialized Json to generate components on the fly + this.parseJson(this.dashboardCollection); + // We copy array without reference + this.dashboardArray = this.dashboardCollection.dashboard.slice(); + console.log("this.dashboardArray",this.dashboardArray); + }); + }); + + + } + + // Super TOKENIZER 2.0 POWERED BY NATCHOIN + parseJson(dashboardCollection: DashboardModel) { + // We loop on our dashboardCollection + dashboardCollection.dashboard.forEach(dashboard => { + // We loop on our componentCollection + this.componentCollection.forEach(component => { + // We check if component key in our dashboardCollection + // is equal to our component name key in our componentCollection + if (dashboard.component === component.name) { + // If it is, we replace our serialized key by our component instance + dashboard.component = component.componentInstance; + } + }); + }); + } + + serialize(dashboardCollection) { + // We loop on our dashboardCollection + dashboardCollection.forEach(dashboard => { + // We loop on our componentCollection + this.componentCollection.forEach(component => { + // We check if component key in our dashboardCollection + // is equal to our component name key in our componentCollection + if (dashboard.name === component.name) { + dashboard.component = component.name; + } + }); + }); + } + + itemChange() { + this.dashboardCollection.dashboard = this.dashboardArray; + console.log("itemChange this.dashboardCollection.dashboard ",this.dashboardCollection.dashboard); + console.log("itemChange this.dashboardCollection ",this.dashboardCollection); + console.log("itemChange this.dashboardCollection type",typeof this.dashboardCollection); + console.log("itemChange this.dashboardArray ",this.dashboardArray); + let tmp = JSON.stringify(this.dashboardCollection); + console.log("temp data",tmp); + let parsed: DashboardModel = JSON.parse(tmp); + console.log("parsed data",parsed); + console.log("let parsed ",typeof parsed); + this.serialize(parsed.dashboard); + console.log("item chnage function ", typeof this.dashboardArray); + //this._ds.updateDashboard(this.dashboardId, parsed).subscribe(); + } + + onDrop(ev) { + const componentType = ev.dataTransfer.getData("widgetIdentifier"); + let maxChartId = this.dashboardArray?.reduce((maxId, item) => Math.max(maxId, item.chartid), 0); + switch (componentType) { + case "radar_chart": + return this.dashboardArray.push({ + cols: 5, + rows: 6, + x: 0, + y: 0, + chartid:maxChartId + 1, + component: RadarChartComponent, + name: "Radar Chart" + }); + case "line_chart": + return this.dashboardArray.push({ + cols: 5, + rows: 7, + x: 0, + y: 0, + chartid:maxChartId + 1, + component: LineChartComponent, + name: "Line Chart" + }); + case "doughnut_chart": + return this.dashboardArray.push({ + cols: 5, + rows: 6, + x: 0, + y: 0, + chartid:maxChartId + 1, + component: DoughnutChartComponent, + name: "Doughnut Chart" + }); + case "bar_chart": + return this.dashboardArray.push({ + cols: 5, + rows: 6, + x: 0, + y: 0, + chartid:maxChartId + 1, + component: BarChartComponent, + name: "Bar Chart" + }); + case "pie_chart": + return this.dashboardArray.push({ + cols: 5, + rows: 6, + x: 0, + y: 0, + chartid:maxChartId + 1, + component: PieChartComponent, + name: "Pie Chart" + }); + case "polar_area_chart": + return this.dashboardArray.push({ + cols: 5, + rows: 6, + x: 0, + y: 0, + chartid:maxChartId + 1, + component: PolarChartComponent, + name: "Polar Area Chart" + }); + case "bubble_chart": + return this.dashboardArray.push({ + cols: 5, + rows: 6, + x: 0, + y: 0, + chartid:maxChartId + 1, + component: BubbleChartComponent, + name: "Bubble Chart" + }); + case "scatter_chart": + return this.dashboardArray.push({ + cols: 5, + rows: 6, + x: 0, + y: 0, + chartid:maxChartId + 1, + component: ScatterChartComponent, + name: "Scatter Chart" + }); + case "dynamic_chart": + return this.dashboardArray.push({ + cols: 5, + rows: 6, + x: 0, + y: 0, + chartid:maxChartId + 1, + component: DynamicChartComponent, + name: "Dynamic Chart" + }); + case "financial_chart": + return this.dashboardArray.push({ + cols: 5, + rows: 6, + x: 0, + y: 0, + chartid:maxChartId + 1, + component: FinancialChartComponent, + name: "Financial Chart" + }); + case "to_do_chart": + return this.dashboardArray.push({ + cols: 5, + rows: 5, + x: 0, + y: 0, + chartid:maxChartId + 1, + component: ToDoChartComponent, + name: "To Do Chart" + }); + case "grid_view": + return this.dashboardArray.push({ + cols: 5, + rows: 5, + x: 0, + y: 0, + chartid:maxChartId + 1, + component: GridViewComponent, + name: "Grid View" + }); + } + } + removeItem(item) { + this.dashboardArray.splice( + this.dashboardArray.indexOf(item), + 1 + ); + this.itemChange(); + } + + changedOptions() { + this.options.api.optionsChanged(); + } + + modelid:number ; + editGadget(item) + { + this.modeledit = true; + this.modelid = item.chartid; + console.log(this.modelid); + this.gadgetsEditdata = item; + this.gadgetsEditdata.fieldName = item.name; + if(item.showlabel === undefined){ item.showlabel = true; } + if(item.chartcolor === undefined ){ item.chartcolor = true;} + if(item.chartlegend === undefined){ item.chartlegend = true; } + this.getStores(); + if(item.datastore !== undefined || '' || null){ + const datastore = item.datastore; + this.getTables(datastore); + const table = item.table; + this.getColumns(datastore,table); + console.log(item.yAxis); + if(isArray(item.yAxis)){ + this.selectedyAxis = item.yAxis; + console.log( this.selectedyAxis); + } + }else{ + this.selectedyAxis = []; + } + console.log(item); + } + + dashbord1_Line = { + //model:JSON.stringify(this.da), + model:'' + } + + + UpdateLine() + { + console.log('Add button clicked.......'); + console.log(this.dashboardArray); + console.log(this.dashboardCollection); + console.log(typeof this.dashboardCollection); + console.log(this.id); + //this.dashbord1_Line.model = JSON.stringify(this.dashboardCollection); + + //https://www.w3schools.com/js/tryit.asp?filename=tryjson_stringify_function_tostring + +let cmp=this.dashboardCollection.dashboard.forEach(dashboard=>{ + this.componentCollection.forEach(component=>{ + if (dashboard.name === component.name) { + dashboard.component = component.name; + } }) +}) +console.log(cmp); + + let tmp = JSON.stringify(this.dashboardCollection); + // var merged = this.dashboardArray.reduce((current, value, index) => { + // if(index > 0) + // current += ','; + + // return current + value.component; + // }, ''); + + //console.log(merged); + console.log("temp data",typeof tmp); + console.log(tmp); + let parsed= JSON.parse(tmp); + this.serialize(parsed.dashboard); + this.dashbord1_Line.model = tmp; + + // let obj = this.dashboardCollection; + // obj[1].component = obj[1].component.toString(); + // let myJSON = JSON.stringify(obj); + // this.dashbord1_Line.model = myJSON; + + console.log("line data in addgadget ",this.dashbord1_Line); + console.log("line data in addgadget type ",typeof this.dashbord1_Line); + console.log("line model data ",this.dashbord1_Line.model); + console.log("line model data type",typeof this.dashbord1_Line.model); + this.dashboardService.UpdateLineData(this.id,this.dashbord1_Line).subscribe( + (data: any)=>{ + console.log('Updation Successful...'); + this.ngOnInit(); + console.log(data); + this.router.navigate(["../../all"], { relativeTo: this.route }) + } + ); + // if (data) { + // this.toastr.success('Updated successfully'); + // } + } + + onSubmit(id) + { + console.log(id); + if (!isNullArray(this.selectedyAxis)) { + console.log("get y-axis array", this.selectedyAxis); + this.entryForm.patchValue({ yAxis: this.selectedyAxis }); + } + let formdata = this.entryForm.value; + let num = id; + console.log(this.entryForm.value); + this.dashboardCollection.dashboard = this.dashboardCollection.dashboard.map(item => { + if(item.chartid == num) + { + //item["product_id"] = "thisistest"; + const xyz = {...item,...formdata} + console.log(xyz); + return xyz; + } + return item + }); + console.log(this.dashboardCollection.dashboard); + this.modeledit = false; + + // this.entryForm.reset(); + + } + goBack(){ + this.router.navigate(["../../all"], { relativeTo: this.route }) + } + + onSchedule(){ + this.router.navigate(['../../schedule/'+ this.editId],{relativeTo:this.route}); + } + + + /////// + storedata; + getStores(){ + this.datastoreService.getAll().subscribe((data) => { + console.log(data); + this.storedata = data; + },(error) => { + console.log(error); + }); + } + + selectedStoreId; + storename(val){ + console.log(val); + this.selectedStoreId = val; + this.getTables(this.selectedStoreId); + } + + TableData; + getTables(id){ + this.alertService.getTablefromstore(id).subscribe(gateway =>{ + console.log(gateway); + this.TableData = gateway; + },(error)=>{ + console.log(error); + }); + } + + tablename(val){ + console.log(val); + this.getColumns(this.selectedStoreId,val); + } + selectedyAxis; + columnData; + getColumns(id,table){ + this.alertService.getColumnfromurl(table).subscribe(data =>{ + console.log(data); + this.columnData = data; + },(error)=>{ + console.log(error); + }); + } + + + // toggleAddToDashboard(item) { + // item.addToDashboard = item.addToDashboard; + // } + + // getChartDataForToggleSwitchTrue() { + // for (let i = 0; i < this.dashArr.length; i++) { + // if (this.dashArr[i].addToDashboard) { + // this.dashboardService.getChartData( + // this.dashArr[i].charturl, // Assuming charturl is the correct property to pass as a string + // true // Pass true to indicate fetching charts with toggle switch set to true + // ).subscribe(tData => { + // console.log(tData); + // // this.dashArr[i].featchData = tData; + // }); + // } + // } + // } + + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.css new file mode 100644 index 0000000..dc9ed07 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=bar-chart.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.css.map new file mode 100644 index 0000000..e0b82da --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"bar-chart.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.html new file mode 100644 index 0000000..0fa4df5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.html @@ -0,0 +1,9 @@ +
+ + +
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.spec.ts new file mode 100644 index 0000000..0fd6253 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BarChartComponent } from './bar-chart.component'; + +describe('BarChartComponent', () => { + let component: BarChartComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ BarChartComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(BarChartComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.ts new file mode 100644 index 0000000..1d2c277 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bar-chart/bar-chart.component.ts @@ -0,0 +1,33 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-bar-chart', + templateUrl: './bar-chart.component.html', + styleUrls: ['./bar-chart.component.scss'] +}) +export class BarChartComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + barChartLabels: string[] = ['Apple', 'Banana', 'Kiwifruit', 'Blueberry', 'Orange', 'Grapes']; + barChartType: string = 'bar'; + // barChartLegend = true; + barChartPlugins = []; + barChartData: any[] = [ + { data: [45, 37, 60, 70, 46, 33], label: 'Best Fruits' } + ]; + + + + // events + public chartClicked(e: any): void { + console.log(e); + } + + public chartHovered(e: any): void { + console.log(e); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.css new file mode 100644 index 0000000..68bf163 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=bubble-chart.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.css.map new file mode 100644 index 0000000..ca59a26 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"bubble-chart.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.html new file mode 100644 index 0000000..5f6157d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.html @@ -0,0 +1,9 @@ +
+ + +
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.spec.ts new file mode 100644 index 0000000..6f37403 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BubbleChartComponent } from './bubble-chart.component'; + +describe('BubbleChartComponent', () => { + let component: BubbleChartComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ BubbleChartComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(BubbleChartComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.ts new file mode 100644 index 0000000..b01a8b0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component.ts @@ -0,0 +1,98 @@ +import { Component, OnInit } from '@angular/core'; +import { ChartConfiguration, ChartDataset, ChartOptions } from 'chart.js'; +@Component({ + selector: 'app-bubble-chart', + templateUrl: './bubble-chart.component.html', + styleUrls: ['./bubble-chart.component.scss'] +}) +export class BubbleChartComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + public bubbleChartOptions: ChartConfiguration['options'] = { + // scales: { + // x: { + // min: 0, + // max: 30, + // ticks: {} + // }, + // y: { + // min: 0, + // max: 30, + // ticks: {} + // }, + // plugins: { + // title: { + // display: true, + // text: 'Bubble Chart' + // } + // } + // } + }; + + public bubbleChartType: string = 'bubble'; + // public bubbleChartLegend = true; + public bubbleChartData: ChartDataset[] = [ + { + data: [ + { x: 10, y: 10, r: 10 }, + { x: 15, y: 5, r: 15 }, + { x: 26, y: 12, r: 23 }, + { x: 7, y: 8, r: 8 }, + ], + label: 'Investment Equities', + backgroundColor: 'rgba(255, 0, 0, 0.6)', // Red + borderColor: 'blue', + hoverBackgroundColor: 'purple', + hoverBorderColor: 'red', + }, + { + data: [ + { x: 5, y: 15, r: 12 }, + { x: 20, y: 7, r: 8 }, + { x: 12, y: 18, r: 15 }, + { x: 8, y: 6, r: 10 }, + ], + label: 'Investment Bonds', + backgroundColor: 'rgba(0, 255, 0, 0.6)', // Green + borderColor: 'green', + hoverBackgroundColor: 'yellow', + hoverBorderColor: 'blue', + }, + // { + // data: [ + // { x: 10, y: 10, r: 10 }, + // { x: 15, y: 5, r: 15 }, + // { x: 26, y: 12, r: 23 }, + // { x: 7, y: 8, r: 8 }, + // ], + // label: 'Investment Equities', + // backgroundColor: [ + // 'red', + // 'green', + // 'blue', + // 'purple', + // 'yellow', + // 'brown', + // 'magenta', + // 'cyan', + // 'orange', + // 'pink' + // ], + // borderColor: 'blue', + // hoverBackgroundColor: 'purple', + // hoverBorderColor: 'red', + // }, + ]; + + // events + public chartClicked(e: any): void { + console.log(e); + } + + public chartHovered(e: any): void { + console.log(e); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.css new file mode 100644 index 0000000..f7a6815 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=doughnut-chart.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.css.map new file mode 100644 index 0000000..b06f027 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"doughnut-chart.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.html new file mode 100644 index 0000000..cab5b29 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.html @@ -0,0 +1,8 @@ +
+ +
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.spec.ts new file mode 100644 index 0000000..6730967 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DoughnutChartComponent } from './doughnut-chart.component'; + +describe('DoughnutChartComponent', () => { + let component: DoughnutChartComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ DoughnutChartComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(DoughnutChartComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.ts new file mode 100644 index 0000000..137455b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component.ts @@ -0,0 +1,30 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-doughnut-chart', + templateUrl: './doughnut-chart.component.html', + styleUrls: ['./doughnut-chart.component.scss'] +}) +export class DoughnutChartComponent implements OnInit { + public doughnutChartLabels: string[] = [ + "Download Sales", + "In-Store Sales", + "Mail-Order Sales" + ]; + public doughnutChartData: number[] = [350, 450, 100]; + public doughnutChartType: string = "doughnut"; + + // events + public chartClicked(e: any): void { + console.log(e); + } + + public chartHovered(e: any): void { + console.log(e); + } + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.css new file mode 100644 index 0000000..c95881a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=dynamic-chart.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.css.map new file mode 100644 index 0000000..0d29454 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"dynamic-chart.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.html new file mode 100644 index 0000000..e00b379 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.html @@ -0,0 +1,10 @@ +
+ + +
+ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.spec.ts new file mode 100644 index 0000000..fc47783 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DynamicChartComponent } from './dynamic-chart.component'; + +describe('DynamicChartComponent', () => { + let component: DynamicChartComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ DynamicChartComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(DynamicChartComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.ts new file mode 100644 index 0000000..2173924 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component.ts @@ -0,0 +1,70 @@ +import { Component, OnInit, ViewChild } from '@angular/core'; +import { ChartConfiguration, ChartData, } from 'chart.js'; +import { BaseChartDirective } from 'ng2-charts'; +@Component({ + selector: 'app-dynamic-chart', + templateUrl: './dynamic-chart.component.html', + styleUrls: ['./dynamic-chart.component.scss'] +}) +export class DynamicChartComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + @ViewChild(BaseChartDirective) chart: BaseChartDirective | undefined; + + public barChartOptions: ChartConfiguration['options'] = { + elements: { + line: { + tension: 0.4 + } + }, + // We use these empty structures as placeholders for dynamic theming. + // scales: { + // x: {}, + // y: { + // min: 10 + // } + // }, + plugins: { + legend: { display: true }, + } + }; + public dynamicChartLabels: string[] = [ '2006', '2007', '2008', '2009', '2010', '2011', '2012' ]; + public barChartType: string = 'bar'; + + // public barChartData: ChartData<'bar'> = { + // labels: this.barChartLabels, + // datasets: [ + // { data: [ 65, 59, 80, 81, 56, 55, 40 ], label: 'Series A' }, + // { data: [ 28, 48, 40, 19, 86, 27, 90 ], label: 'Series B' } + // ] + // }; + + + public dynamicChartData: any = [ + { data: [65, 59, 90, 81, 56, 55, 40], label: "Series A" }, + { data: [28, 48, 40, 19, 96, 27, 100], label: "Series B" } + ]; + + // events + public chartClicked(e: any): void { + console.log(e); + } + + public chartHovered(e: any): void { + console.log(e); + } + // public chartClicked({ event, active }: { event?: ChartEvent, active?: {}[] }): void { + // console.log(event, active); + // } + + // public chartHovered({ event, active }: { event?: ChartEvent, active?: {}[] }): void { + // console.log(event, active); + // } + + public randomize(): void { + this.barChartType = this.barChartType === 'bar' ? 'line' : 'bar'; + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.css new file mode 100644 index 0000000..ac86a4e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=financial-chart.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.css.map new file mode 100644 index 0000000..b2642ea --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"financial-chart.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.html new file mode 100644 index 0000000..56547d5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.html @@ -0,0 +1 @@ +

financial-chart works!

diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.spec.ts new file mode 100644 index 0000000..8b12e17 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { FinancialChartComponent } from './financial-chart.component'; + +describe('FinancialChartComponent', () => { + let component: FinancialChartComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ FinancialChartComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(FinancialChartComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.ts new file mode 100644 index 0000000..664e7cd --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/financial-chart/financial-chart.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-financial-chart', + templateUrl: './financial-chart.component.html', + styleUrls: ['./financial-chart.component.scss'] +}) +export class FinancialChartComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.css new file mode 100644 index 0000000..62b150c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.css @@ -0,0 +1,72 @@ +input[type=text], [type=date], [type=password] { + width: 100%; + padding: 15px 20px; + background-color: rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.required-field { + color: red; + font-size: 18px; +} + +.green { + background-color: rgb(156, 231, 156); + color: black; +} + +.blue { + background-color: #57abcf; + color: black; +} + +.td-title { + text-align: center; + width: 150px; + color: white; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); +} + +th { + background-color: rgb(170, 169, 169); + font-weight: bold; +} + +.td-content { + text-align: left; +} + +.delete, .heading { + text-align: center; + color: red; +} + +.section p { + background-color: rgb(206, 201, 201); + padding: 10px; + font-size: 18px; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + +input.ng-invalid.ng-touched { + border-color: red; +} + +.error_mess { + color: red; +} + +clr-datagrid { + height: 400px; /* Adjust the height as needed */ + overflow-y: auto; +}/*# sourceMappingURL=grid-view.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.css.map new file mode 100644 index 0000000..b6dcdc3 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../../../../../styles1.scss","grid-view.component.css","grid-view.component.scss"],"names":[],"mappings":"AAAA;EACE,WAAA;EACA,kBAAA;EAED,oCAAA;EACC,qBAAA;EACA,sBAAA;EACA,kBAAA;EACA,sBAAA;ACAF;;ADEA;EACE,UAAA;EACF,eAAA;ACCA;;ADEA;EACE,oCAAA;EACA,YAAA;ACCF;;ADCA;EACE,yBAAA;EACA,YAAA;ACEF;;ADAA;EACE,kBAAA;EACA,YAAA;EACF,YAAA;EACE,iBAAA;EACA,2CAAA;ACGF;;ADAA;EACE,oCAAA;EACA,iBAAA;ACGF;;ADDA;EACE,gBAAA;ACIF;;ADFA;EACE,kBAAA;EACA,UAAA;ACKF;;ADHA;EACA,oCAAA;EACE,aAAA;EACA,eAAA;ACMF;;ADHA;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACMF;;ACzDA;EACE,iBAAA;AD4DF;;ACzDA;EACE,UAAA;AD4DF;;AC1DA;EACI,aAAA,EAAA,gCAAA;EACF,gBAAA;AD6DF","file":"grid-view.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.html new file mode 100644 index 0000000..94c1edc --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.html @@ -0,0 +1,69 @@ +
+
+
+
+

User Group Maintenance

+
+
+ + Loading ... +
{{error}}
+ + + User Group No + + + Group Name + + + Description + + + Group Level + + + Status + + + + Updated Date + + + + + {{user.usrGrp}} + {{user.groupName}} + {{user.groupDesc}} + {{user.groupLevel}} + {{user.status}} + + {{user.updateDateFormated}} + + + + + + + + + Record per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} Records + + +
+
+
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.scss new file mode 100644 index 0000000..99c5f44 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.scss @@ -0,0 +1,12 @@ +@import '../../../../../../../styles1.scss'; +input.ng-invalid.ng-touched { + border-color: red; +} + +.error_mess { + color: red; +} +clr-datagrid{ + height: 400px; /* Adjust the height as needed */ + overflow-y: auto; +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.spec.ts new file mode 100644 index 0000000..0353984 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { GridViewComponent } from './grid-view.component'; + +describe('GridViewComponent', () => { + let component: GridViewComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ GridViewComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(GridViewComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.ts new file mode 100644 index 0000000..dfb2de1 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/grid-view/grid-view.component.ts @@ -0,0 +1,54 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ExcelService } from 'src/app/services/excel.service'; +import * as moment from 'moment'; +import { UsergrpmaintainceService } from 'src/app/services/admin/usergrpmaintaince.service'; +import { ToastrService } from 'ngx-toastr'; +import { MenuGroupService } from 'src/app/services/admin/menu-group.service'; +@Component({ + selector: 'app-grid-view', + templateUrl: './grid-view.component.html', + styleUrls: ['./grid-view.component.scss'] +}) +export class GridViewComponent implements OnInit { + loading = false; + public entryForm: FormGroup; + givendata; + orders; + error; + modalAdd= false; + modaledit=false; + modaldelete=false; + rowSelected :any= {}; + mcreate; + medit; + showdata; + submitted=false; + + constructor( + private excel: ExcelService, + private toastr:ToastrService, + private _fb: FormBuilder, + private router: Router, + private route: ActivatedRoute, + private menuGroupService: MenuGroupService, + private mainservice:UsergrpmaintainceService, + ) { } + + ngOnInit(): void { + this.mainservice.getAll().subscribe((data) => { + console.log(data); + this.givendata = data; + if(this.givendata.length==0){ + this.error="No data Available"; + console.log(this.error) + } + },(error) => { + console.log(error); + if(error){ + this.error="Server Error"; + } + }); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.css new file mode 100644 index 0000000..630d4cd --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=line-chart.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.css.map new file mode 100644 index 0000000..36b4be5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"line-chart.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.html new file mode 100644 index 0000000..18c620d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.html @@ -0,0 +1,12 @@ +
+ +
+ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.spec.ts new file mode 100644 index 0000000..0c5e7ef --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { LineChartComponent } from './line-chart.component'; + +describe('LineChartComponent', () => { + let component: LineChartComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ LineChartComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(LineChartComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.ts new file mode 100644 index 0000000..3eaad81 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/line-chart/line-chart.component.ts @@ -0,0 +1,71 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-line-chart', + templateUrl: './line-chart.component.html', + styleUrls: ['./line-chart.component.scss'] +}) +export class LineChartComponent implements OnInit { + public lineChartData:Array = [ + {data: [65, 59, 80, 81, 56, 55, 40], label: 'Series A'}, + {data: [28, 48, 40, 19, 86, 27, 90], label: 'Series B'}, + {data: [18, 48, 77, 9, 100, 27, 40], label: 'Series C'} + ]; + public lineChartLabels:Array = ['January', 'February', 'March', 'April', 'May', 'June', 'July']; + public lineChartOptions:any = { + responsive: true + }; + public lineChartColors:Array = [ + { // grey + backgroundColor: 'rgba(148,159,177,0.2)', + borderColor: 'rgba(148,159,177,1)', + pointBackgroundColor: 'rgba(148,159,177,1)', + pointBorderColor: '#fff', + pointHoverBackgroundColor: '#fff', + pointHoverBorderColor: 'rgba(148,159,177,0.8)' + }, + { // dark grey + backgroundColor: 'rgba(77,83,96,0.2)', + borderColor: 'rgba(77,83,96,1)', + pointBackgroundColor: 'rgba(77,83,96,1)', + pointBorderColor: '#fff', + pointHoverBackgroundColor: '#fff', + pointHoverBorderColor: 'rgba(77,83,96,1)' + }, + { // grey + backgroundColor: 'rgba(148,159,177,0.2)', + borderColor: 'rgba(148,159,177,1)', + pointBackgroundColor: 'rgba(148,159,177,1)', + pointBorderColor: '#fff', + pointHoverBackgroundColor: '#fff', + pointHoverBorderColor: 'rgba(148,159,177,0.8)' + } + ]; + public lineChartLegend:boolean = true; + public lineChartType:string = 'line'; + + public randomize():void { + let _lineChartData:Array = new Array(this.lineChartData.length); + for (let i = 0; i < this.lineChartData.length; i++) { + _lineChartData[i] = {data: new Array(this.lineChartData[i].data.length), label: this.lineChartData[i].label}; + for (let j = 0; j < this.lineChartData[i].data.length; j++) { + _lineChartData[i].data[j] = Math.floor((Math.random() * 100) + 1); + } + } + this.lineChartData = _lineChartData; + } + + // events + public chartClicked(e:any):void { + console.log(e); + } + + public chartHovered(e:any):void { + console.log(e); + } + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.css new file mode 100644 index 0000000..973bd02 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=pie-chart.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.css.map new file mode 100644 index 0000000..a06051f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"pie-chart.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.html new file mode 100644 index 0000000..ef42eed --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.html @@ -0,0 +1,9 @@ +
+ + +
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.spec.ts new file mode 100644 index 0000000..64f36b7 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { PieChartComponent } from './pie-chart.component'; + +describe('PieChartComponent', () => { + let component: PieChartComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ PieChartComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(PieChartComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.ts new file mode 100644 index 0000000..a6647a6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/pie-chart/pie-chart.component.ts @@ -0,0 +1,27 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-pie-chart', + templateUrl: './pie-chart.component.html', + styleUrls: ['./pie-chart.component.scss'] +}) +export class PieChartComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + public pieChartLabels: string[] = ['SciFi', 'Drama', 'Comedy']; + public pieChartData: number[] = [30, 50, 20]; + public pieChartType: string = 'pie'; + + // events + public chartClicked(e: any): void { + console.log(e); + } + + public chartHovered(e: any): void { + console.log(e); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.css new file mode 100644 index 0000000..1e3f682 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=polar-chart.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.css.map new file mode 100644 index 0000000..7c2253e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"polar-chart.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.html new file mode 100644 index 0000000..421e078 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.html @@ -0,0 +1,10 @@ + +
+ + +
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.spec.ts new file mode 100644 index 0000000..8501fbc --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { PolarChartComponent } from './polar-chart.component'; + +describe('PolarChartComponent', () => { + let component: PolarChartComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ PolarChartComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(PolarChartComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.ts new file mode 100644 index 0000000..56652fe --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/polar-chart/polar-chart.component.ts @@ -0,0 +1,37 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-polar-chart', + templateUrl: './polar-chart.component.html', + styleUrls: ['./polar-chart.component.scss'] +}) +export class PolarChartComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + public polarAreaChartLabels: string[] = [ 'Download Sales', 'In-Store Sales', 'Mail Sales', 'Telesales', 'Corporate Sales' ]; + public polarAreaChartData: any = [ + { data: [ 300, 500, 100, 40, 120 ], label: 'Series 1'} + ]; + + public polarAreaChartType: string = 'polarArea'; + + + + // public radarChartData: any = [ + // { data: [65, 59, 90, 81, 56, 55, 40], label: "Series A" }, + // { data: [28, 48, 40, 19, 96, 27, 100], label: "Series B" } + // ]; + + // events + public chartClicked(e: any): void { + console.log(e); + } + + public chartHovered(e: any): void { + console.log(e); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.css new file mode 100644 index 0000000..b255a4d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=radar-chart.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.css.map new file mode 100644 index 0000000..0e85db2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"radar-chart.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.html new file mode 100644 index 0000000..3b26b0a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.html @@ -0,0 +1,8 @@ +
+ +
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.spec.ts new file mode 100644 index 0000000..a5d9784 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { RadarChartComponent } from './radar-chart.component'; + +describe('RadarChartComponent', () => { + let component: RadarChartComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ RadarChartComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(RadarChartComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.ts new file mode 100644 index 0000000..3c23092 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/radar-chart/radar-chart.component.ts @@ -0,0 +1,39 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-radar-chart', + templateUrl: './radar-chart.component.html', + styleUrls: ['./radar-chart.component.scss'] +}) +export class RadarChartComponent implements OnInit { +// Radar +public radarChartLabels: string[] = [ + "Eating", + "Drinking", + "Sleeping", + "Designing", + "Coding", + "Cycling", + "Running" +]; + +public radarChartData: any = [ + { data: [65, 59, 90, 81, 56, 55, 40], label: "Series A" }, + { data: [28, 48, 40, 19, 96, 27, 100], label: "Series B" } +]; +public radarChartType: string = "radar"; + +// events +public chartClicked(e: any): void { + console.log(e); +} + +public chartHovered(e: any): void { + console.log(e); +} + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.css new file mode 100644 index 0000000..2b5057d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=scatter-chart.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.css.map new file mode 100644 index 0000000..4007ce6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"scatter-chart.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.html new file mode 100644 index 0000000..e0b67e3 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.html @@ -0,0 +1,8 @@ +
+ + +
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.spec.ts new file mode 100644 index 0000000..70c8481 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ScatterChartComponent } from './scatter-chart.component'; + +describe('ScatterChartComponent', () => { + let component: ScatterChartComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ScatterChartComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ScatterChartComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.ts new file mode 100644 index 0000000..1af87bc --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component.ts @@ -0,0 +1,77 @@ +import { Component, OnInit } from '@angular/core'; +import { ChartData,ChartDataset } from 'chart.js'; + +@Component({ + selector: 'app-scatter-chart', + templateUrl: './scatter-chart.component.html', + styleUrls: ['./scatter-chart.component.scss'] +}) +export class ScatterChartComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + public scatterChartLabels: string[] = [ 'Eating', 'Drinking', 'Sleeping', 'Designing', 'Coding', 'Cycling', 'Running' ]; + + public scatterChartData: ChartDataset[] = [ + // { + // data: [ + // { x: 1, y: 1 }, + // { x: 2, y: 3 }, + // { x: 3, y: -2 }, + // { x: 4, y: 4 }, + // { x: 5, y: -3, r: 20 }, + // ], + // label: 'Series A', + // pointRadius: 10, + // backgroundColor: 'red', + // }, + // { + // data: [ + // { x: 2, y: 2 }, + // { x: 3, y: 1 }, + // { x: 4, y: 3 }, + // { x: 5, y: 2 }, + // { x: 6, y: 4, r: 15 }, + // ], + // label: 'Series B', + // pointRadius: 8, + // backgroundColor: 'green', + // }, + { + data: [ + { x: 1, y: 1 }, + { x: 2, y: 3 }, + { x: 3, y: -2 }, + { x: 4, y: 4 }, + { x: 5, y: -3, r: 20 }, + ], + label: 'Series A', + pointRadius: 10, + backgroundColor: [ + 'red', + 'green', + 'blue', + 'purple', + 'yellow', + 'brown', + 'magenta', + 'cyan', + 'orange', + 'pink' + ], + }, + ]; + public scatterChartType: string = 'scatter'; + + + // events + public chartClicked(e: any): void { + console.log(e); + } + + public chartHovered(e: any): void { + console.log(e); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.css new file mode 100644 index 0000000..1a0ea87 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=to-do-chart.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.css.map new file mode 100644 index 0000000..5fe3143 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"to-do-chart.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.html new file mode 100644 index 0000000..c9e47d0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.html @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + +
#Item
{{i + 1}}{{todo}} + + + +
+ + + + + +
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.spec.ts new file mode 100644 index 0000000..a489ab6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ToDoChartComponent } from './to-do-chart.component'; + +describe('ToDoChartComponent', () => { + let component: ToDoChartComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ToDoChartComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ToDoChartComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.ts new file mode 100644 index 0000000..481fcca --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component.ts @@ -0,0 +1,27 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-to-do-chart', + templateUrl: './to-do-chart.component.html', + styleUrls: ['./to-do-chart.component.scss'] +}) +export class ToDoChartComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + data: any; + todo: string; + todoList = ['todo 1']; + + public addTodo(todo: string) { + this.todoList.push(todo); +} + +public removeTodo(todoIx: number) { + if (this.todoList.length) { + this.todoList.splice(todoIx, 1); + } +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/schedule/schedule.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/schedule/schedule.component.html new file mode 100644 index 0000000..0b4b913 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/schedule/schedule.component.html @@ -0,0 +1 @@ +

schedule works!

diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/schedule/schedule.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/schedule/schedule.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/schedule/schedule.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/schedule/schedule.component.spec.ts new file mode 100644 index 0000000..74a139d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/schedule/schedule.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ScheduleComponent } from './schedule.component'; + +describe('ScheduleComponent', () => { + let component: ScheduleComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [ScheduleComponent] + }); + fixture = TestBed.createComponent(ScheduleComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/schedule/schedule.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/schedule/schedule.component.ts new file mode 100644 index 0000000..5848b8b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardnew/schedule/schedule.component.ts @@ -0,0 +1,10 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-schedule', + templateUrl: './schedule.component.html', + styleUrls: ['./schedule.component.scss'] +}) +export class ScheduleComponent { + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashboardrunner.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashboardrunner.component.html new file mode 100644 index 0000000..90c6b64 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashboardrunner.component.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashboardrunner.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashboardrunner.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashboardrunner.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashboardrunner.component.spec.ts new file mode 100644 index 0000000..f034e08 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashboardrunner.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DashboardrunnerComponent } from './dashboardrunner.component'; + +describe('DashboardrunnerComponent', () => { + let component: DashboardrunnerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ DashboardrunnerComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(DashboardrunnerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashboardrunner.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashboardrunner.component.ts new file mode 100644 index 0000000..f18f267 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashboardrunner.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-dashboardrunner', + templateUrl: './dashboardrunner.component.html', + styleUrls: ['./dashboardrunner.component.scss'] +}) +export class DashboardrunnerComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.css new file mode 100644 index 0000000..802d40f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.css @@ -0,0 +1,90 @@ +.td-title { + text-align: right; + width: 150px; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + color: white; +} + +.td-content { + text-align: left; +} + +.delete, .heading { + text-align: center; + color: red; +} + +input[type=radio] { + width: 14px !important; + height: 14px !important; + margin: 5px; + -webkit-appearance: none; + -moz-appearance: none; + -o-appearance: none; + appearance: none; + outline: 1px solid gray; + box-shadow: none; + font-size: 0.8em; + text-align: center; + line-height: 1em; + background: red; +} + +.dots { + width: 100px; + height: 100px; + bordeR: 1px solid; + border-radius: 50%; +} + +h4 { + margin-top: 16px; +} + +.s-order-dash-pg { + margin: 0px; + display: flex; + flex-wrap: wrap; + flex-direction: row; + justify-content: center; +} +.s-order-dash-pg .chart-box { + margin: 16px; + padding: 0 16px; + background-color: #fff; + border: 1px solid #ccc; + border-radius: 2px; +} + +#word1 { + width: 190px; + height: 180px; +} + +.center { + text-align: center; + margin-top: 5px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.heading { + text-align: center; + color: red; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +}/*# sourceMappingURL=dashrunnerall.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.css.map new file mode 100644 index 0000000..d4abb49 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["dashrunnerall.component.scss","dashrunnerall.component.css"],"names":[],"mappings":"AAAA;EACI,iBAAA;EACA,YAAA;EACA,iBAAA;EACA,2CAAA;EACA,YAAA;ACCJ;;ADCE;EACE,gBAAA;ACEJ;;ADAE;EACE,kBAAA;EACA,UAAA;ACGJ;;ADDE;EACE,sBAAA;EACA,uBAAA;EACA,WAAA;EACA,wBAAA;EACA,qBAAA;EACA,mBAAA;EACA,gBAAA;EACA,uBAAA;EACA,gBAAA;EACA,gBAAA;EACA,kBAAA;EACA,gBAAA;EACA,eAAA;ACIJ;;ADFE;EAEE,YAAA;EACA,aAAA;EACA,iBAAA;EACA,kBAAA;ACIJ;;ADDI;EAAG,gBAAA;ACKP;;ADJI;EACE,WAAA;EACA,aAAA;EACA,eAAA;EACA,mBAAA;EACA,uBAAA;ACON;ADNM;EACE,YAAA;EACA,eAAA;EACA,sBAAA;EACA,sBAAA;EACA,kBAAA;ACQR;;ADLI;EACC,YAAA;EACC,aAAA;ACQN;;ADLI;EACE,kBAAA;EACA,eAAA;ACQN;;ADLI;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EACA,wBAAA;EACA,eAAA;EACA,WAAA;EACA,mBAAA;ACQN;;ADNM;EACE,kBAAA;EACA,UAAA;ACSR;;ADNM;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACSR","file":"dashrunnerall.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.html new file mode 100644 index 0000000..74d44e3 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.html @@ -0,0 +1,117 @@ + + +
+ +
+
+
+

{{ 'all_dashboard' | translate }}

+
+
+ +
+
+ + + + + + +
+
+
+
+
+
+
+
+ +
+
+
+
+ {{app.dashboard_name}} +
+
+ +
+
+ {{app.description}} +
+
+
+ + +
+ + + + +
+
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.scss new file mode 100644 index 0000000..48905e0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.scss @@ -0,0 +1,93 @@ +.td-title { + text-align: right; + width: 150px; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + color: white; + } + .td-content{ + text-align: left; + } + .delete,.heading{ + text-align: center; + color: red; + } + input[type='radio']{ + width: 14px !important; + height: 14px !important; + margin: 5px; + -webkit-appearance: none; + -moz-appearance: none; + -o-appearance: none; + appearance: none; + outline: 1px solid gray; + box-shadow: none; + font-size: 0.8em; + text-align: center; + line-height: 1em; + background: red; + } + .dots + { + width: 100px; + height:100px; + border: 1px solid; + border-radius: 50%; + //background-color: #f00; + } + h4{margin-top: 16px;} + .s-order-dash-pg { + margin: 0px; + display:flex; + flex-wrap:wrap; + flex-direction:row; + justify-content:center; + .chart-box{ + margin:16px; + padding:0 16px; + background-color: #fff; + border:1px solid #ccc; + border-radius: 2px; + } + } + #word1{ + width: 190px; + height: 180px; + + } + .center{ + text-align: center; + margin-top: 5px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + .heading{ + text-align: center; + color: red; + } + + select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + + + #word { + display: inline-block; + width: 320px; + white-space: nowrap; + overflow: hidden !important; + text-overflow: ellipsis; + font-weight: bold; + + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.spec.ts new file mode 100644 index 0000000..0b6bc3a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DashrunnerallComponent } from './dashrunnerall.component'; + +describe('DashrunnerallComponent', () => { + let component: DashrunnerallComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ DashrunnerallComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(DashrunnerallComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.ts new file mode 100644 index 0000000..ba27793 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerall/dashrunnerall.component.ts @@ -0,0 +1,125 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +// import { WireframeService } from 'src/app/services/builder/wireframe.service'; +import { ExcelService } from 'src/app/services/excel.service'; +import { Dashboard3Service } from '../../../../../services/builder/dashboard3.service'; +import * as moment from 'moment'; +import { ModulesetupService } from 'src/app/services/builder/modulesetup.service'; +@Component({ + selector: 'app-dashrunnerall', + templateUrl: './dashrunnerall.component.html', + styleUrls: ['./dashrunnerall.component.scss'] +}) +export class DashrunnerallComponent implements OnInit { + addModall:boolean = false; + selected:any[] = []; + loading = false; + data:any; + id:any; + moduleId:any; + modalDelete = false; + rowSelected :any= {}; + rows: any[]; + projectname; + projectId; + error; + constructor( + private router : Router, + private route: ActivatedRoute,private dashboardService : Dashboard3Service, + // private wireframeservice : WireframeService, + private excel: ExcelService,private mainService: ModulesetupService, + private toastr: ToastrService,) { } + + ngOnInit(): void { + // this.projectId=this.wireframeservice.getProjectId(); + console.log(this.projectId); + this.id = this.route.snapshot.params["id"]; // fb_header_id + // this.moduleId = this.wireframeservice.getModuleId(); // get from session storage + console.log(this.moduleId); + + this.getdashboard(); + // this.getprojectName(this.projectId); + } + + getprojectName(id){ + this.mainService.getProjectModules(id).subscribe((data) => { + console.log(data); + this.projectname=data.items[0]['projectName']; + console.log(this.projectname); + }); + } + + + getdashboard() + { + this.dashboardService.getAllDash().subscribe((data) =>{ + this.data = data; + this.rows = this.data; + console.log(data); + this.error="No data Available"; + console.log(this.error); + }); + } + + openModal() + { + this.addModall = true; + } + gotoadd() + { + this.router.navigate(['../../dashboardbuilder'],{relativeTo:this.route}); + } + goToEdit(id:number) + { + this.router.navigate(['../dashrunner/'+id],{relativeTo:this.route}); + } + + goToEditData(id: number){ + this.router.navigate(['../editdata/'+id],{relativeTo:this.route}); + } + + onExport() { + this.excel.exportAsExcelFile(this.rows, 'user_', + moment().format('YYYYMMDD_HHmmss')) + } + + gotoAction(){ + this.router.navigate(["../../actions"], { relativeTo: this.route, queryParams: { m_id: this.moduleId,pname:this.projectname } }); + } + gotoRepo(){ + this.router.navigate(["../../modulecard"], { relativeTo: this.route, queryParams: { p_id: this.projectId } }); + } + + onDelete(row){ + this.rowSelected = row; + console.log(this.rowSelected); + this.modalDelete = true; + } + delete(id) + { + this.modalDelete = false; + console.log("in delete "+id); + this.dashboardService.deleteField(id).subscribe((data)=>{ + console.log(data); + this.ngOnInit(); + }); + if (id) { + this.toastr.success('Deleted successfully'); + } + } + // openModal() + // { + // this.addModall = true; + // } + // gotoadd() + // { + // this.router.navigate(['../adddata'],{relativeTo:this.route}); + // } + // goToEdit() + // { + // this.router.navigate(['../editdashn'],{relativeTo:this.route}); + // } + +} + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component.html new file mode 100644 index 0000000..1e6cc60 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component.html @@ -0,0 +1,38 @@ +
+
+ + + +
+ + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component.scss new file mode 100644 index 0000000..3b78b91 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component.scss @@ -0,0 +1,102 @@ +//@import '../../../assets/scss/var'; + + +//common +h4{margin-top: 16px;} +.s-order-Dashtest-pg { + margin: 0px; + display:flex; + flex-wrap:wrap; + flex-direction:row; + justify-content:center; + overflow: auto; +// overflow-x: hidden; + .chart-box{ + margin:16px; + padding:0 16px; + background-color: #fff; + border:1px solid #ccc; + border-radius: 2px; + max-width: 400px auto; + overflow: auto; + max-height: 300px auto; + + + } +} +#word{ + // width: 270px; + width:500px; +} +.center{ + text-align: center; + font-weight: 500; +} +.s{ + color: blue; +} + +li{ + list-style-type: none; +} +.progress-bar{ + margin-bottom: 5px; + height: 15px; +} + + +.chart-container { + position: relative; + width: 400px; /* Adjust width as needed */ + height: 300px; /* Adjust height as needed */ +} + +.chart-canvas { + width: 100%; + height: 100%; +} +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + background-color:rgb(255, 255, 255); + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +.center { + text-align: center; +} + + +// .progress-bar { +// margin-bottom: 5px; +// height: 15px; +// border: 1px solid #ccc; /* Optional: Add a border to the progress bar */ +// } + +// .progress-meter { +// height: 100%; +// background-color: #007bff; /* Set the background color of the progress bar */ +// color: #fff; /* Set the text color of the percentage */ +// text-align: center; +// line-height: 15px; +// } + +// .progress-text { +// position: absolute; +// top: 0; +// left: 0; +// width: 100%; +// height: 100%; +// display: flex; +// align-items: center; +// justify-content: center; +// } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component.spec.ts new file mode 100644 index 0000000..4bf541a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BarRunnerComponent } from './bar-runner.component'; + +describe('BarRunnerComponent', () => { + let component: BarRunnerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ BarRunnerComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(BarRunnerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component.ts new file mode 100644 index 0000000..2781144 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component.ts @@ -0,0 +1,101 @@ +import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core'; +import { DashrunnerService } from '../dashrunner.service'; +import { ActivatedRoute, Router } from '@angular/router'; +import { Dashboard3Service } from 'src/app/services/builder/dashboard3.service'; +import { DashboardContentModel } from 'src/app/models/builder/dashboard'; + +@Component({ + selector: 'app-bar-runner', + templateUrl: './bar-runner.component.html', + styleUrls: ['./bar-runner.component.scss'] +}) +export class BarRunnerComponent implements OnInit { + @ViewChild('contentContainer') contentContainerRef!: ElementRef; + @Output() buttonClicked = new EventEmitter(); + editId; + public DashtestboardArray: DashboardContentModel[] = [ + ]; + workflowLine; + TableName; + XAxis; + YAxis; + showlabel; + lineChartNoLabels:any[] = []; + JsonData; + + barData; + constructor(private Dashtestservive:DashrunnerService,private route: ActivatedRoute,private dashboardService: Dashboard3Service, + private router : Router,) { } + + barChartLabels: any[] = []; + barChartType: string = 'bar'; + barChartLegend = false; + barChartPlugins = []; + barChartData: any[] = []; + + CharData = { + "barChartData": [ + { data: [45, 37, 60, 70, 46, 33], label: 'Best Fruits' }, + ], + "barChartLabels":['Apple', 'Banana', 'Kiwifruit', 'Blueberry', 'Orange', 'Grapes'] + } + + ngOnInit(): void { + this.barChartData = this.CharData.barChartData; + this.barChartLabels = this.CharData.barChartLabels; + + this.editId = this.route.snapshot.params.id; + console.log(this.editId); + + + this.dashboardService.getById(this.editId).subscribe((data)=>{ + console.log(data); + this.workflowLine = data.dashbord1_Line[0].model; + const dash = JSON.parse(this.workflowLine) ; + // this.DashtestboardArray = dash.dashboard; + // console.log(this.DashtestboardArray); + + const ChartObject = dash.dashboard.filter(obj => obj.name === "Bar Chart"); + console.log(ChartObject); + for (let i = 0; i < ChartObject.length; i++) { + const ids = this.Dashtestservive.getbarchart(); + // console.log(ids); + if (ids.includes(ChartObject[i].chartid)) { + // If the chartid is already in the ids array, continue to the next iteration + continue; + } + this.Dashtestservive.setbarchart(ChartObject[i].chartid); + const id = ids[i]; + console.log(id); + + if (ChartObject[i].chartid === id) { + this.TableName = ChartObject[i].table; + this.XAxis = ChartObject[i].xAxis; + this.YAxis = ChartObject[i].yAxis; + this.showlabel = ChartObject[i].showlabel; + this.barChartLegend = ChartObject[i].chartlegend; + console.log(this.TableName); + this.Dashtestservive.getChartData(this.TableName,"Bar Chart",this.XAxis,this.YAxis).subscribe((Ldata) => { + console.log(Ldata); + this.JsonData = Ldata; + this.barChartData = this.JsonData.barChartData; + this.barChartLabels = this.JsonData.barChartLabels; + + },(error) => { + console.log(error); + }); + break; // No need to continue the loop once the correct placeholder is found + } + } + }); + } + + generatePDFFile(){ + this.buttonClicked.emit(); + const content = this.contentContainerRef.nativeElement; + const filename = 'barchart.pdf'; // You can provide any desired filename here + + this.Dashtestservive.generatePDF(content, filename); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bubble-runner/bubble-runner.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bubble-runner/bubble-runner.component.html new file mode 100644 index 0000000..c5682e6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bubble-runner/bubble-runner.component.html @@ -0,0 +1,11 @@ +
+
+ + +
+ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bubble-runner/bubble-runner.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bubble-runner/bubble-runner.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bubble-runner/bubble-runner.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bubble-runner/bubble-runner.component.spec.ts new file mode 100644 index 0000000..fdd5925 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bubble-runner/bubble-runner.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BubbleRunnerComponent } from './bubble-runner.component'; + +describe('BubbleRunnerComponent', () => { + let component: BubbleRunnerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ BubbleRunnerComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(BubbleRunnerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bubble-runner/bubble-runner.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bubble-runner/bubble-runner.component.ts new file mode 100644 index 0000000..5bb9632 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/bubble-runner/bubble-runner.component.ts @@ -0,0 +1,140 @@ +import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ChartConfiguration, ChartDataset, ChartOptions } from 'chart.js'; +// import { Label } from 'ng2-charts'; +import { DashboardContentModel } from 'src/app/models/builder/dashboard'; +import { DashrunnerService } from '../dashrunner.service'; +import { Dashboard3Service } from 'src/app/services/builder/dashboard3.service'; + +@Component({ + selector: 'app-bubble-runner', + templateUrl: './bubble-runner.component.html', + styleUrls: ['./bubble-runner.component.scss'] +}) +export class BubbleRunnerComponent implements OnInit { + @ViewChild('contentContainer') contentContainerRef!: ElementRef; + @Output() buttonClicked = new EventEmitter(); + editId; + public DashtestboardArray: DashboardContentModel[] = [ + ]; + workflowLine; + TableName; + XAxis; + YAxis; + showlabel; + JsonData; + lineChartNoLabels: [] = []; + ChartLegend = false; + + constructor(private Dashtestservive:DashrunnerService,private route: ActivatedRoute,private dashboardService: Dashboard3Service, + private router : Router,) { } + + public bubbleChartOptions: ChartConfiguration['options'] = { + // scales: { + // x: { + // min: 0, + // max: 30, + // ticks: {} + // }, + // y: { + // min: 0, + // max: 30, + // ticks: {} + // }, + // plugins: { + // title: { + // display: true, + // text: 'Bubble Chart' + // } + // } + // } + }; + + public bubbleChartType: string = 'bubble'; + // public bubbleChartLegend = true; + public bubbleChartData: ChartDataset[] = [ + { + data: [ + { x: 10, y: 10, r: 10 }, + { x: 15, y: 5, r: 15 }, + { x: 26, y: 12, r: 23 }, + { x: 7, y: 8, r: 8 }, + ], + label: 'Investment Equities', + backgroundColor: 'rgba(255, 0, 0, 0.6)', // Red + borderColor: 'blue', + hoverBackgroundColor: 'purple', + hoverBorderColor: 'red', + }, + { + data: [ + { x: 5, y: 15, r: 12 }, + { x: 20, y: 7, r: 8 }, + { x: 12, y: 18, r: 15 }, + { x: 8, y: 6, r: 10 }, + ], + label: 'Investment Bonds', + backgroundColor: 'rgba(0, 255, 0, 0.6)', // Green + borderColor: 'green', + hoverBackgroundColor: 'yellow', + hoverBorderColor: 'blue', + }, + ]; + ngOnInit(): void { + // this.pieChartData = this.CharData.pieChartData; + // this.pieChartLabels = this.CharData.pieChartLabels; + + this.editId = this.route.snapshot.params.id; + console.log(this.editId); + + + this.dashboardService.getById(this.editId).subscribe((data)=>{ + console.log(data); + this.workflowLine = data.dashbord1_Line[0].model; + const dash = JSON.parse(this.workflowLine) ; + + const ChartObject = dash.dashboard.filter(obj => obj.name === "Bubble Chart"); + console.log(ChartObject); + for (let i = 0; i < ChartObject.length; i++) { + const ids = this.Dashtestservive.getbubblechart(); + // console.log(ids); + if (ids.includes(ChartObject[i].chartid)) { + // If the chartid is already in the ids array, continue to the next iteration + continue; + } + this.Dashtestservive.setbubblechart(ChartObject[i].chartid); + const id = ids[i]; + console.log(id); + + if (ChartObject[i].chartid === id) { + this.TableName = ChartObject[i].table; + this.XAxis = ChartObject[i].xAxis; + this.YAxis = ChartObject[i].yAxis; + this.showlabel = ChartObject[i].showlabel; + this.ChartLegend = ChartObject[i].chartlegend; + console.log(this.TableName); + this.Dashtestservive.getChartData(this.TableName,"Bubble Chart",this.XAxis,this.YAxis).subscribe((Ldata) => { + console.log(Ldata); + this.JsonData = Ldata; + this.bubbleChartData = this.JsonData.bubbleChartData; + // this.radarChartLabels = this.JsonData.radarChartLabels; + + },(error) => { + console.log(error); + }); + break; // No need to continue the loop once the correct placeholder is found + } + } + }); + } + + generatePDFFile(){ + this.buttonClicked.emit(); + const content = this.contentContainerRef.nativeElement; + const filename = 'bubblechart.pdf'; // You can provide any desired filename here + + this.Dashtestservive.generatePDF(content, filename); + } + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunner.service.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunner.service.spec.ts new file mode 100644 index 0000000..596cd13 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunner.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { DashrunnerService } from './dashrunner.service'; + +describe('DashrunnerService', () => { + let service: DashrunnerService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(DashrunnerService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunner.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunner.service.ts new file mode 100644 index 0000000..5c814f6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunner.service.ts @@ -0,0 +1,212 @@ +import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from 'src/app/services/api/api-request.service'; +import baseUrl from 'src/app/services/api/helper'; +import { jsPDF } from 'jspdf'; +import domtoimage from 'dom-to-image'; +import { saveAs } from 'file-saver'; + +@Injectable({ + providedIn: 'root' +}) +export class DashrunnerService { + constructor(private apirequest:ApiRequestService,private _http: HttpClient) { } + + + + + getJsonData(api: string, jobType: string): Observable { + const url = `${baseUrl}/fnd/dashboardbuilder/getdashjson/${jobType}`; + let params: HttpParams = new HttpParams(); + params =params.append("api",api); + return this._http.get(url, { params }); + } + + updateDashboardLine(dashName: any, dashboardLine: any): Observable { + return this._http.put(`${baseUrl}/fnd/dashboardbuilder/update_Dashbord_json/${dashName}`, dashboardLine); + } + + getDashboardByName(dashname: any, json: any): Observable { + const params = new HttpParams() + .set('dashname', dashname) + .set('json', json); + + return this._http.get(`${baseUrl}/fnd/dashboardbuilder/get_dashboard`, { params }); + } + + getAxisDetails(): Observable { + return this._http.get(`${baseUrl}/token/Dashboardaxis`); + } + + ////////// + + resetConditions() { + this.lineChartIds = []; // Reset the ids array to an empty array + this.barChartIds = []; + this.doughnutChartIds = []; + this.pieChartIds = []; + this.polarareaChartIds = []; + this.radarChartIds = []; + this.scatterChartIds = []; + this.bubbleChartIds = []; + this.gridviewIds = []; + this.todoIds = []; +} + ////////// Line Chart +lineChartIds: any[] = []; +setlinechart(id: any) { + this.lineChartIds.push(id); +} + +getlinechart(): any[] { + return this.lineChartIds; +} + + ////////// Bar Chart + barChartIds: any[] = []; + setbarchart(id: any) { + this.barChartIds.push(id); + } + + getbarchart(): any[] { + return this.barChartIds; + } + + ////////// Doughnut Chart + doughnutChartIds: any[] = []; + setdoughnutchart(id: any) { + this.doughnutChartIds.push(id); + } + + getdoughnutchart(): any[] { + return this.doughnutChartIds; + } + + ////////// Pie Chart + pieChartIds: any[] = []; + setpiechart(id: any) { + this.pieChartIds.push(id); + } + + getpiechart(): any[] { + return this.pieChartIds; + } + + ////////// Poral Area Chart + polarareaChartIds: any[] = []; + setpolarareachart(id: any) { + this.polarareaChartIds.push(id); + } + + getpolarareachart(): any[] { + return this.polarareaChartIds; + } + + ////////// Radar Chart + radarChartIds: any[] = []; + setradarchart(id: any) { + this.radarChartIds.push(id); + } + + getradarchart(): any[] { + return this.radarChartIds; + } + + ////////// Scatter Chart + scatterChartIds: any[] = []; + setscatterchart(id: any) { + this.scatterChartIds.push(id); + } + + getscatterchart(): any[] { + return this.scatterChartIds; + } + + ////////// Bubble Chart + bubbleChartIds: any[] = []; + setbubblechart(id: any) { + this.bubbleChartIds.push(id); + } + + getbubblechart(): any[] { + return this.bubbleChartIds; + } + ////////// Grid View + gridviewIds: any[] = []; + setgridview(id: any) { + this.gridviewIds.push(id); + } + + getgridview(): any[] { + return this.gridviewIds; + } + ////////// To do + todoIds: any[] = []; + settodo(id: any) { + this.todoIds.push(id); + } + + gettodo(): any[] { + return this.todoIds; + } + + + + //////////////////////////////////////////////////////////////// + + public getChartData(tableName: string, jobType: string, xAxis:any,yAxes:any ): Observable { + const url = `${baseUrl}/chart/getdashjson/${jobType}?tableName=${tableName}&xAxis=${xAxis}&yAxes=${yAxes}`; + return this._http.get(url); + } + + + + ////////////////////////////////////////////// + + async generatePDF(content: HTMLElement, filename: string) { + // Wait for the charts to render (adjust the delay as needed) + await new Promise((resolve) => setTimeout(resolve, 1000)); + + try { + // Convert the content to a data URL + const dataUrl = await domtoimage.toPng(content); + + // Convert data URL to image + const img = new Image(); + img.src = dataUrl; + + img.onload = () => { + const pdf = new jsPDF(); + const imgWidth = 210; // A4 size (width in mm) + const imgHeight = (img.height * imgWidth) / img.width; + + // Add the image to the PDF + pdf.addImage(img, 'PNG', 0, 0, imgWidth, imgHeight); + + // Save the PDF with the custom filename + pdf.save(filename); + }; + } catch (error) { + console.error('Error generating PDF:', error); + } + } + + // async generatePDF(content: HTMLElement, filename: string) { + // await new Promise((resolve) => setTimeout(resolve, 1000)); + + // try { + // // Convert the content to a data URL + // const dataUrl = await domtoimage.toPng(content); + + // // Send a request to the server to generate the PDF + // const pdfData = await this._http.post('/api/generate-pdf', { dataUrl, filename }).toPromise(); + + // // Save the PDF on the client-side + // saveAs(pdfData, filename); + // } catch (error) { + // console.error('Error generating PDF:', error); + // } + // } + +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunnerline.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunnerline.component.html new file mode 100644 index 0000000..4a68f73 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunnerline.component.html @@ -0,0 +1,40 @@ +
+ + +
+
+
+ + + + + + + + +

{{ item.charttitle }}

+
+ + + + +
+
+
+
+ +
+ + +
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunnerline.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunnerline.component.scss new file mode 100644 index 0000000..66f63a6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunnerline.component.scss @@ -0,0 +1,49 @@ +.componentbtn{ + color: white; + background-color: #03AC13; + border: none; +} +.content-container { + min-height: 100vh; + height: initial; +} +a:hover { +text-decoration: none; +cursor: pointer; +} +.clr-checkbox{ +color: #212529; +border: 1px solid #ced4da; +border-radius: 0.25rem; +// padding: 0.75rem 0.75rem; +// margin-top: 3px; +width: 100%; +margin-left: 20px; +margin-bottom: 18px; +} +.clr-input, .clr-dropdown { +color: #212529; +border: 1px solid #ced4da; +border-radius: 0.25rem; +padding: 0.75rem 0.75rem; +margin-top: 3px; +width: 100%; +margin-bottom: 10px; +} + +.circle { + width: 25px; + height: 25px; + border: 0.5px solid black; + border-radius: 25px; + // background-color: #235255; + display: flex; + align-items: center; + justify-content: center; + opacity: 0.4; +} +.circle b, clr-icon { + // color: #fff; + font-size: 15px; + //opacity: 0.5; +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunnerline.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunnerline.component.spec.ts new file mode 100644 index 0000000..dc29447 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunnerline.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DashrunnerlineComponent } from './dashrunnerline.component'; + +describe('DashrunnerlineComponent', () => { + let component: DashrunnerlineComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ DashrunnerlineComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(DashrunnerlineComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunnerline.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunnerline.component.ts new file mode 100644 index 0000000..61f9a3c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/dashrunnerline.component.ts @@ -0,0 +1,291 @@ +import { Component, OnInit, ViewChild, ElementRef } from '@angular/core'; +import { ChartDataset, ChartType } from 'chart.js'; +import { DashrunnerService } from './dashrunner.service'; +import { GridsterConfig, GridsterItem, GridsterItemComponentInterface } from 'angular-gridster2'; +import { DoughnutRunnerComponent } from './doughnut-runner/doughnut-runner.component'; +import { LineRunnerComponent } from './line-runner/line-runner.component'; +import { BarRunnerComponent } from './bar-runner/bar-runner.component'; +import { DashboardContentModel } from 'src/app/models/builder/dashboard'; +import { GridRunnerComponent } from './grid-runner/grid-runner.component'; +import { Dashboard3Service } from 'src/app/services/builder/dashboard3.service'; +import { ActivatedRoute, NavigationEnd, Router } from '@angular/router'; +import { TodoRunnerComponent } from './todo-runner/todo-runner.component'; +import { jsPDF } from 'jspdf'; +import domtoimage from 'dom-to-image'; +import { PieRunnerComponent } from './pie-runner/pie-runner.component'; +import { BubbleRunnerComponent } from './bubble-runner/bubble-runner.component'; +import { ScatterRunnerComponent } from './scatter-runner/scatter-runner.component'; +import { PolarRunnerComponent } from './polar-runner/polar-runner.component'; +import { RadarRunnerComponent } from './radar-runner/radar-runner.component'; + +@Component({ + selector: 'app-dashrunnerline', + templateUrl: './dashrunnerline.component.html', + styleUrls: ['./dashrunnerline.component.scss'] +}) +export class DashrunnerlineComponent implements OnInit { + @ViewChild('contentContainer') contentContainerRef!: ElementRef; + // @ViewChild('contentContainer', {static:false}) el!: ElementRef; + public options: GridsterConfig; + workflowLine:any; + editId; + public DashtestboardArray: DashboardContentModel[] = [ + + + ]; + componentCollection = [ + { name: "Line Chart", componentInstance: LineRunnerComponent }, + { name: "Doughnut Chart", componentInstance: DoughnutRunnerComponent }, + { name: "Bar Chart", componentInstance: BarRunnerComponent }, + { name: "Pie Chart", componentInstance: PieRunnerComponent }, + { name: "Bubble Chart", componentInstance: BubbleRunnerComponent }, + { name: "Scatter Chart", componentInstance: ScatterRunnerComponent }, + { name: "Polar Area Chart", componentInstance: PolarRunnerComponent }, + { name: "Radar Chart", componentInstance: RadarRunnerComponent }, + { name: "Grid View", componentInstance: GridRunnerComponent }, + { name: "To Do Chart", componentInstance: TodoRunnerComponent }, +]; + + constructor(private Dashtestservive:DashrunnerService, private dashboardService: Dashboard3Service,private route: ActivatedRoute, + private router : Router,) { } + + ngOnInit(): void { + + + this.router.events.subscribe((event) => { + if (event instanceof NavigationEnd) { + // Reset conditions when navigation changes + this.Dashtestservive.resetConditions(); + } + }); + + this.options = { + gridType: 'fit', + enableEmptyCellDrop: true, + pushItems: true, + swap: true, + pushDirections: { north: true, east: true, south: true, west: true }, + resizable: { enabled: true }, + draggable: { + enabled: true, + ignoreContent: true, + dropOverItems: true, + dragHandleClass: 'drag-handler', + ignoreContentClass: 'no-drag', + }, + displayGrid: 'onDrag&Resize', //always + minCols: 10, + minRows: 10, + }; + this.editId = this.route.snapshot.params.id; + console.log(this.editId); + this.getbyId(this.editId); + } +//getbyname +dashboard_name = "Dashtest"; + getbyId(id){ + this.dashboardService.getById(id).subscribe((data)=>{ + console.log(data); + this.workflowLine = data.dashbord1_Line[0].model; + this.dashboard_name = data.dashboard_name; + if(this.workflowLine == "" || this.workflowLine == null){ + console.log("default json"); + const defaultJson = [ + { + cols: 3, + rows: 5, + x: 0, + y: 0, + chartid: 3, + name: 'Doughnut Chart', + component: 'Doughnut Chart', + }, + { + cols: 3, + rows: 5, + x: 0, + y: 0, + chartid: 3, + name: 'Line Chart', + component: 'Line Chart', + }, + { + cols: 3, + rows: 5, + x: 0, + y: 0, + chartid: 3, + name: 'Bar Chart', + component: 'Bar Chart', + }, + { + cols: 3, + rows: 5, + x: 0, + y: 0, + chartid: 3, + name: 'Grid View', + component: 'Grid View', + }, + { + cols: 3, + rows: 5, + x: 0, + y: 0, + chartid: 3, + name: 'To Do Chart', + component: 'To Do Chart', + } + ] + this.workflowLine = JSON.stringify(defaultJson); + } + console.log(this.workflowLine); + if(this.workflowLine) + { + console.log(this.workflowLine); + const dash = JSON.parse(this.workflowLine) ; + this.DashtestboardArray = dash.dashboard; + console.log(this.DashtestboardArray); + this.parseJson(this.DashtestboardArray); + } + + },(error)=>{ + console.log(error); + }); + } + + parseJson(DashtestboardArray: any) { + DashtestboardArray.forEach(dashboard => { + this.componentCollection.forEach(component => { + if (dashboard.component === component.name) { + dashboard.component = component.componentInstance; + } + }); + }); + } + + + dashbord1_Line = { + model:'' + } + + update(){ + console.log(this.DashtestboardArray); + + let cmp=this.DashtestboardArray.forEach(dashboard=>{ + this.componentCollection.forEach(component=>{ + if (dashboard.name === component.name) { + dashboard.component = component.name; + } }) + }) + + console.log(cmp); + + let tmp = JSON.stringify(this.DashtestboardArray); + this.dashbord1_Line.model = tmp; + + this.Dashtestservive.updateDashboardLine(this.dashboard_name, this.dashbord1_Line).subscribe((data)=>{ + console.log(data); + }); + + window.location.reload(); + // this.parseJson(this.DashtestboardArray); + } + + + //Resizabel and drag + resizable: boolean = false; + toggleResizable() { + this.resizable = !this.resizable; + if (this.resizable == true) { + this.options = { + resizable: { enabled: false }, + }; + } else { + this.options = { + resizable: { enabled: true }, + }; + } + } + + // generatePDF(){ + // let pdf = new jsPDF('p','pt','a4'); + // pdf.html(this.el.nativeElement,{ + // callback: (pdf)=>{ + // pdf.save("demo.pdf"); + // } + // }) + // } + + + // async generatePDF() { + // const content = this.contentContainerRef.nativeElement; + + // // Wait for the charts to render (adjust the delay as needed) + // await new Promise((resolve) => setTimeout(resolve, 1000)); + + // try { + // // Convert the content to canvas (using html2canvas) + // const canvas = await html2canvas(content); + + // const pdf = new html2pdf.default(); + // const options = { + // margin: 10, + // filename: 'dashboard.pdf', + // image: { type: 'jpeg', quality: 0.98 }, + // jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' } + // }; + + // // Convert the canvas to PDF and save + // await pdf.from(canvas).set(options).outputPdf().then((pdfOutput: any) => { + // // Convert the PDF output to a Blob + // const pdfBlob = new Blob([pdfOutput], { type: 'application/pdf' }); + + // // Save the Blob as a file using FileSaver.js + // saveAs(pdfBlob, 'dashboard.pdf'); + // }); + // } catch (error) { + // console.error('Error generating PDF:', error); + // } + // } + + async generatePDF() { + const content = this.contentContainerRef.nativeElement; + + // Wait for the charts to render (adjust the delay as needed) + await new Promise((resolve) => setTimeout(resolve, 1000)); + + try { + // Convert the content to a data URL (using dom-to-image) + const dataUrl = await domtoimage.toPng(content); + + // Convert data URL to image + const img = new Image(); + img.src = dataUrl; + + img.onload = () => { + const pdf = new jsPDF(); + const imgWidth = 210; // A4 size (width in mm) + const imgHeight = (img.height * imgWidth) / img.width; + + // Add the image to the PDF + pdf.addImage(img, 'PNG', 0, 0, imgWidth, imgHeight); + // pdf.save('dashboard.pdf'); + const pdfName = this.dashboard_name + '.pdf' + pdf.save(pdfName) + }; + } catch (error) { + console.error('Error generating PDF:', error); + } + } + + // Export(name){ + // console.log(name); + // this.dashboardService.setName(name); + // } + + onButtonClicked(): void { + console.log('Button clicked in SomeComponent'); + // Add your custom logic here when the button is clicked in SomeComponent + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component.html new file mode 100644 index 0000000..5dd1f44 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component.html @@ -0,0 +1,10 @@ +
+
+ + +
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component.scss new file mode 100644 index 0000000..ac9ae54 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component.scss @@ -0,0 +1,76 @@ +//@import '../../../assets/scss/var'; + + +//common +h4{margin-top: 16px;} +.s-order-Dashtest-pg { + margin: 0px; + display:flex; + flex-wrap:wrap; + flex-direction:row; + justify-content:center; + overflow: auto; +// overflow-x: hidden; + .chart-box{ + margin:16px; + padding:0 16px; + background-color: #fff; + border:1px solid #ccc; + border-radius: 2px; + max-width: 400px auto; + overflow: auto; + max-height: 300px auto; + + + } +} +#word{ + // width: 270px; + width:500px; +} +.center{ + text-align: center; + font-weight: 500; +} +.s{ + color: blue; +} + +li{ + list-style-type: none; +} +.progress-bar{ + margin-bottom: 5px; + height: 15px; +} + + +.chart-container { + position: relative; + width: 400px; /* Adjust width as needed */ + height: 300px; /* Adjust height as needed */ +} + +.chart-canvas { + width: 100%; + height: 100%; +} +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + background-color:rgb(255, 255, 255); + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +.center { + text-align: center; +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component.spec.ts new file mode 100644 index 0000000..46fa1b6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DoughnutRunnerComponent } from './doughnut-runner.component'; + +describe('DoughnutRunnerComponent', () => { + let component: DoughnutRunnerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ DoughnutRunnerComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(DoughnutRunnerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component.ts new file mode 100644 index 0000000..f92400c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component.ts @@ -0,0 +1,99 @@ +import { Component, ElementRef, OnInit, ViewChild } from '@angular/core'; +import { DashrunnerService } from '../dashrunner.service'; +import {baseColors } from 'ng2-charts'; +import { ChartDataset, ChartType, } from 'chart.js'; +import { ActivatedRoute, Router } from '@angular/router'; +import { Dashboard3Service } from 'src/app/services/builder/dashboard3.service'; +import { DashboardContentModel } from 'src/app/models/builder/dashboard'; + +@Component({ + selector: 'app-doughnut-runner', + templateUrl: './doughnut-runner.component.html', + styleUrls: ['./doughnut-runner.component.scss'] +}) +export class DoughnutRunnerComponent implements OnInit { + @ViewChild('contentContainer') contentContainerRef!: ElementRef; + editId; + public DashtestboardArray: DashboardContentModel[] = [ + ]; + workflowLine; + TableName; + XAxis; + YAxis; + showlabel; + lineChartNoLabels:any[] = []; + JsonData; + + doughnutD; + doughnutChartData:any = []; + doughnutChartLabels: any[] = []; + doughnutChartLegend = false; + doughnutData ={ + "chartData": [[55, 25, 20]], + "chartLabels": ["Project", "Repository", "Wireframe"] + } + doughnutChartType: ChartType = 'doughnut'; + + + constructor(private Dashtestservive:DashrunnerService,private route: ActivatedRoute,private dashboardService: Dashboard3Service, + private router : Router,) { } + ngOnInit(): void { + this.doughnutChartData = this.doughnutData.chartData; + this.doughnutChartLabels = this.doughnutData.chartLabels; + + this.editId = this.route.snapshot.params.id; + console.log(this.editId); + + this.dashboardService.getById(this.editId).subscribe((data)=>{ + console.log(data); + this.workflowLine = data.dashbord1_Line[0].model; + const dash = JSON.parse(this.workflowLine) ; + // this.DashtestboardArray = dash.dashboard; + // console.log(this.DashtestboardArray); + + const ChartObject = dash.dashboard.filter(obj => obj.name === "Doughnut Chart"); + console.log(ChartObject); + for (let i = 0; i < ChartObject.length; i++) { + const ids = this.Dashtestservive.getdoughnutchart(); + // console.log(ids); + if (ids.includes(ChartObject[i].chartid)) { + // If the chartid is already in the ids array, continue to the next iteration + continue; + } + this.Dashtestservive.setdoughnutchart(ChartObject[i].chartid); + const id = ids[i]; + console.log(id); + + if (ChartObject[i].chartid === id) { + this.TableName = ChartObject[i].table; + this.XAxis = ChartObject[i].xAxis; + this.YAxis = ChartObject[i].yAxis; + this.showlabel = ChartObject[i].showlabel; + this.doughnutChartLegend = ChartObject[i].chartlegend; + console.log(this.TableName); + this.Dashtestservive.getChartData(this.TableName,"Doughnut Chart",this.XAxis,this.YAxis).subscribe((Ldata) => { + console.log(Ldata); + this.JsonData = Ldata; + this.doughnutChartData = this.JsonData.chartData; + this.doughnutChartLabels = this.JsonData.chartLabels; + + },(error) => { + console.log(error); + }); + break; // No need to continue the loop once the correct placeholder is found + } + } + }); + } + + generatePDFFile(){ + // this.buttonClicked.emit(); + const content = this.contentContainerRef.nativeElement; + const filename = 'doughnut.pdf'; // You can provide any desired filename here + + this.Dashtestservive.generatePDF(content, filename); + } + + + +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component.html new file mode 100644 index 0000000..4761acc --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component.html @@ -0,0 +1,54 @@ + +
+
+ + + + + + + + + + + +
{{co}}
{{item[key]}}
+
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component.scss new file mode 100644 index 0000000..bbed2c9 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component.scss @@ -0,0 +1,12 @@ +input.ng-invalid.ng-touched { + border-color: red; + } + + .error_mess { + color: red; + } + clr-datagrid{ + height: 400px; /* Adjust the height as needed */ + overflow-y: auto; + + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component.spec.ts new file mode 100644 index 0000000..57bca9f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { GridRunnerComponent } from './grid-runner.component'; + +describe('GridRunnerComponent', () => { + let component: GridRunnerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ GridRunnerComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(GridRunnerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component.ts new file mode 100644 index 0000000..9e1f6ac --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component.ts @@ -0,0 +1,111 @@ +import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core'; +import { DashrunnerService } from '../dashrunner.service'; +import { DashboardContentModel } from 'src/app/models/builder/dashboard'; +import { ActivatedRoute, Router } from '@angular/router'; +import { Dashboard3Service } from 'src/app/services/builder/dashboard3.service'; + +@Component({ + selector: 'app-grid-runner', + templateUrl: './grid-runner.component.html', + styleUrls: ['./grid-runner.component.scss'] +}) +export class GridRunnerComponent implements OnInit { + @ViewChild('contentContainer') contentContainerRef!: ElementRef; + @Output() buttonClicked = new EventEmitter(); + loading = false; + givendata; + error; + XAxis; + YAxis; + + rows:any[]; + columns: any[]; + rowdata; + + editId; + public DashtestboardArray: DashboardContentModel[] = []; + workflowLine; + TableName; + + constructor( + private Dashtestservive:DashrunnerService,private route: ActivatedRoute,private dashboardService: Dashboard3Service, + private router : Router + ) { } + + ngOnInit(): void { + + this.editId = this.route.snapshot.params.id; + console.log(this.editId); + // this.getbyId(); + + this.dashboardService.getById(this.editId).subscribe((data)=>{ + console.log(data); + this.workflowLine = data.dashbord1_Line[0].model; + const dash = JSON.parse(this.workflowLine) ; + // this.DashtestboardArray = dash.dashboard; + // console.log(this.DashtestboardArray); + + const ChartObject = dash.dashboard.filter(obj => obj.name === "Grid View"); + console.log(ChartObject); + for (let i = 0; i < ChartObject.length; i++) { + const ids = this.Dashtestservive.getgridview(); + // console.log(ids); + if (ids.includes(ChartObject[i].chartid)) { + // If the chartid is already in the ids array, continue to the next iteration + continue; + } + this.Dashtestservive.setgridview(ChartObject[i].chartid); + const id = ids[i]; + console.log(id); + + if (ChartObject[i].chartid === id) { + this.TableName = ChartObject[i].table; + this.XAxis = ChartObject[i].xAxis; + this.YAxis = ChartObject[i].yAxis; + console.log(this.TableName); + this.Dashtestservive.getChartData(this.TableName,"Grid View",this.XAxis,this.YAxis).subscribe((Ldata) => { + console.log(Ldata); + this.rows = Ldata; + this.rowdata = this.rows + + },(error) => { + console.log(error); + }); + break; // No need to continue the loop once the correct placeholder is found + } + } + }); + } + + + +//dynamic table + + +getTableData(id){ +} +getHeaders() { +let headers: string[] = []; +if(this.rows) { + this.rows.forEach((value) => { + Object.keys(value).forEach((key) => { + if(!headers.find((header) => header == key)){ + headers.push(key) + } + + }) + + }) +} +return headers; +} + +generatePDFFile(){ + this.buttonClicked.emit(); + const content = this.contentContainerRef.nativeElement; + const filename = 'gridview.pdf'; // You can provide any desired filename here + + this.Dashtestservive.generatePDF(content, filename); +} +} + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component.html new file mode 100644 index 0000000..5f5da80 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component.html @@ -0,0 +1,14 @@ +
+
+ + + +
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component.scss new file mode 100644 index 0000000..ac9ae54 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component.scss @@ -0,0 +1,76 @@ +//@import '../../../assets/scss/var'; + + +//common +h4{margin-top: 16px;} +.s-order-Dashtest-pg { + margin: 0px; + display:flex; + flex-wrap:wrap; + flex-direction:row; + justify-content:center; + overflow: auto; +// overflow-x: hidden; + .chart-box{ + margin:16px; + padding:0 16px; + background-color: #fff; + border:1px solid #ccc; + border-radius: 2px; + max-width: 400px auto; + overflow: auto; + max-height: 300px auto; + + + } +} +#word{ + // width: 270px; + width:500px; +} +.center{ + text-align: center; + font-weight: 500; +} +.s{ + color: blue; +} + +li{ + list-style-type: none; +} +.progress-bar{ + margin-bottom: 5px; + height: 15px; +} + + +.chart-container { + position: relative; + width: 400px; /* Adjust width as needed */ + height: 300px; /* Adjust height as needed */ +} + +.chart-canvas { + width: 100%; + height: 100%; +} +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + background-color:rgb(255, 255, 255); + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +.center { + text-align: center; +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component.spec.ts new file mode 100644 index 0000000..7785dba --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { LineRunnerComponent } from './line-runner.component'; + +describe('LineRunnerComponent', () => { + let component: LineRunnerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ LineRunnerComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(LineRunnerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component.ts new file mode 100644 index 0000000..93d621b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component.ts @@ -0,0 +1,169 @@ +import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core'; +import { baseColors } from 'ng2-charts'; +import { ChartDataset, ChartType } from 'chart.js'; +import { DashrunnerService } from '../dashrunner.service'; +import { ActivatedRoute, Router } from '@angular/router'; +import { Dashboard3Service } from 'src/app/services/builder/dashboard3.service'; +import { DashboardContentModel } from 'src/app/models/builder/dashboard'; +import { jsPDF } from 'jspdf'; +import domtoimage from 'dom-to-image'; +@Component({ + selector: 'app-line-runner', + templateUrl: './line-runner.component.html', + styleUrls: ['./line-runner.component.scss'] +}) +export class LineRunnerComponent implements OnInit { + @ViewChild('contentContainer') contentContainerRef!: ElementRef; + @Output() buttonClicked = new EventEmitter(); + editId; + public DashtestboardArray: DashboardContentModel[] = [ + ]; + workflowLine; + TableName; + XAxis; + YAxis; + showlabel; + + JsonData; + lineChartData: ChartDataset[] = []; + lineChartLabels:any[] = []; + lineChartNoLabels: any[] = []; + lineCharData = + { + "chartData": [ + { "data": [85, 72, 78, 75, 77, 75, 43,85, 72, 78, 75, 77, 75, 43], "label": "Test Projects" } + ], + "chartLabels": ["Jan", "Feb", "March", "April", "May", "June","july","Jan", "Feb", "March", "April", "May", "June","july"] + } + + lineChartOptions = { + // plugins: { + // colors: { + // forceOverride: true + // } + // }, + responsive: true, + }; + lineChartColors:any[] = [ + { + borderColor: 'black', + backgroundColor: 'rgba(255,255,0,0.28)', + }, + ]; + + lineChartLegend = false; + lineChartPlugins = []; + lineChartType = 'line'; + constructor(private Dashtestservive:DashrunnerService,private route: ActivatedRoute,private dashboardService: Dashboard3Service, + private router : Router,) { } + + ngOnInit(): void { + + this.lineChartData = this.lineCharData.chartData; + this.lineChartLabels = this.lineCharData.chartLabels; + + this.editId = this.route.snapshot.params.id; + console.log(this.editId); + + + this.dashboardService.getById(this.editId).subscribe((data)=>{ + console.log(data); + this.workflowLine = data.dashbord1_Line[0].model; + const dash = JSON.parse(this.workflowLine) ; + // this.DashtestboardArray = dash.dashboard; + // console.log(this.DashtestboardArray); + + const ChartObject = dash.dashboard.filter(obj => obj.name === "Line Chart"); + console.log(ChartObject); + for (let i = 0; i < ChartObject.length; i++) { + const ids = this.Dashtestservive.getlinechart(); + // console.log(ids); + if (ids.includes(ChartObject[i].chartid)) { + // If the chartid is already in the ids array, continue to the next iteration + continue; + } + this.Dashtestservive.setlinechart(ChartObject[i].chartid); + const id = ids[i]; + console.log(id); + + if (ChartObject[i].chartid === id) { + this.TableName = ChartObject[i].table; + this.XAxis = ChartObject[i].xAxis; + this.YAxis = ChartObject[i].yAxis; + this.showlabel = ChartObject[i].showlabel; + this.lineChartLegend = ChartObject[i].chartlegend; + console.log(this.TableName); + this.Dashtestservive.getChartData(this.TableName,"Line Chart",this.XAxis,this.YAxis).subscribe((Ldata) => { + console.log(Ldata); + this.JsonData = Ldata; + this.lineChartData = this.JsonData.chartData; + this.lineChartLabels = this.JsonData.chartLabels; + + },(error) => { + console.log(error); + }); + break; // No need to continue the loop once the correct placeholder is found + } + } + }); + + // setTimeout(() => { + // // this.Dashtestservive.getJsonData("http://localhost:9292/token/Dashboardaxis/7","Line Chart").subscribe(Ldata => { + // this.Dashtestservive.getChartData(this.TableName,"Line Chart",this.XAxis,this.YAxis).subscribe((Ldata) => { + // console.log(Ldata); + // this.JsonData = Ldata; + // this.lineChartData = this.JsonData.chartData; + // this.lineChartLabels = this.JsonData.chartLabels; + + // },(error) => { + // console.log(error); + // }); + + // }, 500); + + // const name = this.dashboardService.getName() + // // Here, you can execute the method based on the received name + // if (name === 'Line Chart') { + // this.generatePDF(); + // } + } + + generatePDFFile(){ + this.buttonClicked.emit(); + const content = this.contentContainerRef.nativeElement; + const filename = 'linechart.pdf'; // You can provide any desired filename here + + this.Dashtestservive.generatePDF(content, filename); + } + + // async generatePDF() { + // const content = this.contentContainerRef.nativeElement; + + // // Wait for the charts to render (adjust the delay as needed) + // await new Promise((resolve) => setTimeout(resolve, 1000)); + + // try { + // // Convert the content to a data URL (using dom-to-image) + // const dataUrl = await domtoimage.toPng(content); + + // // Convert data URL to image + // const img = new Image(); + // img.src = dataUrl; + + // img.onload = () => { + // const pdf = new jsPDF(); + // const imgWidth = 210; // A4 size (width in mm) + // const imgHeight = (img.height * imgWidth) / img.width; + + // // Add the image to the PDF + // pdf.addImage(img, 'PNG', 0, 0, imgWidth, imgHeight); + // pdf.save('linechart.pdf'); + // // const pdfName = this.dashboard_name + '.pdf' + // // pdf.save(pdfName) + // }; + // } catch (error) { + // console.error('Error generating PDF:', error); + // } + // } + +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/pie-runner/pie-runner.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/pie-runner/pie-runner.component.html new file mode 100644 index 0000000..59cb87b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/pie-runner/pie-runner.component.html @@ -0,0 +1,11 @@ +
+
+ + + +
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/pie-runner/pie-runner.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/pie-runner/pie-runner.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/pie-runner/pie-runner.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/pie-runner/pie-runner.component.spec.ts new file mode 100644 index 0000000..8384566 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/pie-runner/pie-runner.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { PieRunnerComponent } from './pie-runner.component'; + +describe('PieRunnerComponent', () => { + let component: PieRunnerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ PieRunnerComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(PieRunnerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/pie-runner/pie-runner.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/pie-runner/pie-runner.component.ts new file mode 100644 index 0000000..c1a64d1 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/pie-runner/pie-runner.component.ts @@ -0,0 +1,92 @@ +import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core'; +import { DashrunnerService } from '../dashrunner.service'; +import { ActivatedRoute, Router } from '@angular/router'; +import { Dashboard3Service } from 'src/app/services/builder/dashboard3.service'; +import { DashboardContentModel } from 'src/app/models/builder/dashboard'; + + +@Component({ + selector: 'app-pie-runner', + templateUrl: './pie-runner.component.html', + styleUrls: ['./pie-runner.component.scss'] +}) +export class PieRunnerComponent implements OnInit { + @ViewChild('contentContainer') contentContainerRef!: ElementRef; + @Output() buttonClicked = new EventEmitter(); + editId; + public DashtestboardArray: DashboardContentModel[] = [ + ]; + workflowLine; + TableName; + XAxis; + YAxis; + showlabel; + JsonData; + lineChartNoLabels: any[] = []; + + constructor(private Dashtestservive:DashrunnerService,private route: ActivatedRoute,private dashboardService: Dashboard3Service, + private router : Router,) { } + + public pieChartLabels: string[] = ['SciFi', 'Drama', 'Comedy']; + public pieChartData: number[] = [30, 50, 20]; + public pieChartType: string = 'pie'; + ChartLegend = false; + + ngOnInit(): void { + // this.pieChartData = this.CharData.pieChartData; + // this.pieChartLabels = this.CharData.pieChartLabels; + + this.editId = this.route.snapshot.params.id; + console.log(this.editId); + + + this.dashboardService.getById(this.editId).subscribe((data)=>{ + console.log(data); + this.workflowLine = data.dashbord1_Line[0].model; + const dash = JSON.parse(this.workflowLine) ; + // this.DashtestboardArray = dash.dashboard; + // console.log(this.DashtestboardArray); + + const ChartObject = dash.dashboard.filter(obj => obj.name === "Pie Chart"); + console.log(ChartObject); + for (let i = 0; i < ChartObject.length; i++) { + const ids = this.Dashtestservive.getpiechart(); + // console.log(ids); + if (ids.includes(ChartObject[i].chartid)) { + // If the chartid is already in the ids array, continue to the next iteration + continue; + } + this.Dashtestservive.setpiechart(ChartObject[i].chartid); + const id = ids[i]; + console.log(id); + + if (ChartObject[i].chartid === id) { + this.TableName = ChartObject[i].table; + this.XAxis = ChartObject[i].xAxis; + this.YAxis = ChartObject[i].yAxis; + this.showlabel = ChartObject[i].showlabel; + this.ChartLegend = ChartObject[i].chartlegend; + console.log(this.TableName); + this.Dashtestservive.getChartData(this.TableName,"Pie Chart",this.XAxis,this.YAxis).subscribe((Ldata) => { + console.log(Ldata); + this.JsonData = Ldata; + this.pieChartData = this.JsonData.pieChartData; + this.pieChartLabels = this.JsonData.pieChartLabels; + + },(error) => { + console.log(error); + }); + break; // No need to continue the loop once the correct placeholder is found + } + } + }); + } + + generatePDFFile(){ + this.buttonClicked.emit(); + const content = this.contentContainerRef.nativeElement; + const filename = 'piechart.pdf'; // You can provide any desired filename here + + this.Dashtestservive.generatePDF(content, filename); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/polar-runner/polar-runner.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/polar-runner/polar-runner.component.html new file mode 100644 index 0000000..34754a6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/polar-runner/polar-runner.component.html @@ -0,0 +1,10 @@ +
+
+ + +
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/polar-runner/polar-runner.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/polar-runner/polar-runner.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/polar-runner/polar-runner.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/polar-runner/polar-runner.component.spec.ts new file mode 100644 index 0000000..5f95ce3 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/polar-runner/polar-runner.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { PolarRunnerComponent } from './polar-runner.component'; + +describe('PolarRunnerComponent', () => { + let component: PolarRunnerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ PolarRunnerComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(PolarRunnerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/polar-runner/polar-runner.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/polar-runner/polar-runner.component.ts new file mode 100644 index 0000000..fdbe17a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/polar-runner/polar-runner.component.ts @@ -0,0 +1,93 @@ +import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core'; +import { DashrunnerService } from '../dashrunner.service'; +import { ActivatedRoute, Router } from '@angular/router'; +import { Dashboard3Service } from 'src/app/services/builder/dashboard3.service'; +import { DashboardContentModel } from 'src/app/models/builder/dashboard'; +// import { Label } from 'ng2-charts'; + +@Component({ + selector: 'app-polar-runner', + templateUrl: './polar-runner.component.html', + styleUrls: ['./polar-runner.component.scss'] +}) +export class PolarRunnerComponent implements OnInit { + @ViewChild('contentContainer') contentContainerRef!: ElementRef; + @Output() buttonClicked = new EventEmitter(); + editId; + public DashtestboardArray: DashboardContentModel[] = [ + ]; + workflowLine; + TableName; + XAxis; + YAxis; + showlabel; + JsonData; + lineChartNoLabels: any[] = []; + + constructor(private Dashtestservive:DashrunnerService,private route: ActivatedRoute,private dashboardService: Dashboard3Service, + private router : Router,) { } + + public polarAreaChartLabels: string[] = [ 'Download Sales', 'In-Store Sales', 'Mail Sales', 'Telesales', 'Corporate Sales' ]; + public polarAreaChartData: any = [ + { data: [ 300, 500, 100, 40, 120 ], label: 'Series 1'} + ]; + + public polarAreaChartType: string = 'polarArea'; + ChartLegend = false; + ngOnInit(): void { + // this.pieChartData = this.CharData.pieChartData; + // this.pieChartLabels = this.CharData.pieChartLabels; + + this.editId = this.route.snapshot.params.id; + console.log(this.editId); + + + this.dashboardService.getById(this.editId).subscribe((data)=>{ + console.log(data); + this.workflowLine = data.dashbord1_Line[0].model; + const dash = JSON.parse(this.workflowLine) ; + + const ChartObject = dash.dashboard.filter(obj => obj.name === "Polar Area Chart"); + console.log(ChartObject); + for (let i = 0; i < ChartObject.length; i++) { + const ids = this.Dashtestservive.getpolarareachart(); + // console.log(ids); + if (ids.includes(ChartObject[i].chartid)) { + // If the chartid is already in the ids array, continue to the next iteration + continue; + } + this.Dashtestservive.setpolarareachart(ChartObject[i].chartid); + const id = ids[i]; + console.log(id); + + if (ChartObject[i].chartid === id) { + this.TableName = ChartObject[i].table; + this.XAxis = ChartObject[i].xAxis; + this.YAxis = ChartObject[i].yAxis; + this.showlabel = ChartObject[i].showlabel; + this.ChartLegend = ChartObject[i].chartlegend; + console.log(this.TableName); + this.Dashtestservive.getChartData(this.TableName,"PolarArea Chart",this.XAxis,this.YAxis).subscribe((Ldata) => { + console.log(Ldata); + this.JsonData = Ldata; + this.polarAreaChartData = this.JsonData.polarAreaChartData; + this.polarAreaChartLabels = this.JsonData.polarAreaChartLabels; + + },(error) => { + console.log(error); + }); + break; // No need to continue the loop once the correct placeholder is found + } + } + }); + } + + generatePDFFile(){ + this.buttonClicked.emit(); + const content = this.contentContainerRef.nativeElement; + const filename = 'polarareachart.pdf'; // You can provide any desired filename here + + this.Dashtestservive.generatePDF(content, filename); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/radar-runner/radar-runner.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/radar-runner/radar-runner.component.html new file mode 100644 index 0000000..009d6b5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/radar-runner/radar-runner.component.html @@ -0,0 +1,10 @@ +
+
+ + +
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/radar-runner/radar-runner.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/radar-runner/radar-runner.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/radar-runner/radar-runner.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/radar-runner/radar-runner.component.spec.ts new file mode 100644 index 0000000..d461a81 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/radar-runner/radar-runner.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { RadarRunnerComponent } from './radar-runner.component'; + +describe('RadarRunnerComponent', () => { + let component: RadarRunnerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ RadarRunnerComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(RadarRunnerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/radar-runner/radar-runner.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/radar-runner/radar-runner.component.ts new file mode 100644 index 0000000..e1a901e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/radar-runner/radar-runner.component.ts @@ -0,0 +1,102 @@ +import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core'; +import { DashrunnerService } from '../dashrunner.service'; +import { ActivatedRoute, Router } from '@angular/router'; +import { Dashboard3Service } from 'src/app/services/builder/dashboard3.service'; +import { DashboardContentModel } from 'src/app/models/builder/dashboard'; +// import { Label } from 'ng2-charts'; + +@Component({ + selector: 'app-radar-runner', + templateUrl: './radar-runner.component.html', + styleUrls: ['./radar-runner.component.scss'] +}) +export class RadarRunnerComponent implements OnInit { + @ViewChild('contentContainer') contentContainerRef!: ElementRef; + @Output() buttonClicked = new EventEmitter(); + editId; + public DashtestboardArray: DashboardContentModel[] = [ + ]; + workflowLine; + TableName; + XAxis; + YAxis; + showlabel; + JsonData; + lineChartNoLabels: any[] = []; + ChartLegend = false; + + constructor(private Dashtestservive:DashrunnerService,private route: ActivatedRoute,private dashboardService: Dashboard3Service, + private router : Router,) { } + + public radarChartLabels: string[] = [ + "Eating", + "Drinking", + "Sleeping", + "Designing", + "Coding", + "Cycling", + "Running" + ]; + + public radarChartData: any = [ + { data: [65, 59, 90, 81, 56, 55, 40], label: "Series A" }, + { data: [28, 48, 40, 19, 96, 27, 100], label: "Series B" } + ]; + public radarChartType: string = "radar"; + ngOnInit(): void { + // this.pieChartData = this.CharData.pieChartData; + // this.pieChartLabels = this.CharData.pieChartLabels; + + this.editId = this.route.snapshot.params.id; + console.log(this.editId); + + + this.dashboardService.getById(this.editId).subscribe((data)=>{ + console.log(data); + this.workflowLine = data.dashbord1_Line[0].model; + const dash = JSON.parse(this.workflowLine) ; + + const ChartObject = dash.dashboard.filter(obj => obj.name === "Radar Chart"); + console.log(ChartObject); + for (let i = 0; i < ChartObject.length; i++) { + const ids = this.Dashtestservive.getradarchart(); + // console.log(ids); + if (ids.includes(ChartObject[i].chartid)) { + // If the chartid is already in the ids array, continue to the next iteration + continue; + } + this.Dashtestservive.setradarchart(ChartObject[i].chartid); + const id = ids[i]; + console.log(id); + + if (ChartObject[i].chartid === id) { + this.TableName = ChartObject[i].table; + this.XAxis = ChartObject[i].xAxis; + this.YAxis = ChartObject[i].yAxis; + this.showlabel = ChartObject[i].showlabel; + this.ChartLegend = ChartObject[i].chartlegend; + console.log(this.TableName); + this.Dashtestservive.getChartData(this.TableName,"Radar Chart",this.XAxis,this.YAxis).subscribe((Ldata) => { + console.log(Ldata); + this.JsonData = Ldata; + this.radarChartData = this.JsonData.radarChartData; + this.radarChartLabels = this.JsonData.radarChartLabels; + + },(error) => { + console.log(error); + }); + break; // No need to continue the loop once the correct placeholder is found + } + } + }); + } + + generatePDFFile(){ + this.buttonClicked.emit(); + const content = this.contentContainerRef.nativeElement; + const filename = 'radarchart.pdf'; // You can provide any desired filename here + + this.Dashtestservive.generatePDF(content, filename); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component.html new file mode 100644 index 0000000..5229e6b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component.html @@ -0,0 +1,12 @@ +
+
+ + +
+ + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component.spec.ts new file mode 100644 index 0000000..67dde75 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ScatterRunnerComponent } from './scatter-runner.component'; + +describe('ScatterRunnerComponent', () => { + let component: ScatterRunnerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ScatterRunnerComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ScatterRunnerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component.ts new file mode 100644 index 0000000..2f36596 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component.ts @@ -0,0 +1,121 @@ +import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core'; +import { DashrunnerService } from '../dashrunner.service'; +import { ActivatedRoute, Router } from '@angular/router'; +import { Dashboard3Service } from 'src/app/services/builder/dashboard3.service'; +import { DashboardContentModel } from 'src/app/models/builder/dashboard'; +// import { Label } from 'ng2-charts'; +import { ChartDataset } from 'chart.js'; + +@Component({ + selector: 'app-scatter-runner', + templateUrl: './scatter-runner.component.html', + styleUrls: ['./scatter-runner.component.scss'] +}) +export class ScatterRunnerComponent implements OnInit { + @ViewChild('contentContainer') contentContainerRef!: ElementRef; + @Output() buttonClicked = new EventEmitter(); + editId; + public DashtestboardArray: DashboardContentModel[] = [ + ]; + workflowLine; + TableName; + XAxis; + YAxis; + showlabel; + JsonData; + lineChartNoLabels: any[] = []; + ChartLegend = false; + + constructor(private Dashtestservive:DashrunnerService,private route: ActivatedRoute,private dashboardService: Dashboard3Service, + private router : Router,) { } + + public scatterChartLabels: string[] = [ 'Eating', 'Drinking', 'Sleeping', 'Designing', 'Coding', 'Cycling', 'Running' ]; + + public scatterChartData: ChartDataset[] = [ + { + data: [ + { x: 1, y: 1 }, + { x: 2, y: 3 }, + { x: 3, y: -2 }, + { x: 4, y: 4 }, + { x: 5, y: -3, r: 20 }, + ], + label: 'Series A', // This label will be displayed on hover + pointRadius: 10, + backgroundColor: 'red', + }, + { + data: [ + { x: 2, y: 2 }, + { x: 3, y: 4 }, + { x: 4, y: -1 }, + { x: 5, y: 5 }, + { x: 6, y: -2, r: 20 }, + ], + label: 'Series B', // This label will be displayed on hover + pointRadius: 10, + backgroundColor: 'blue', + }, + ]; + public scatterChartType: string = 'scatter'; + ChartOptions = { + aspectRatio:2.5, + responsive: true, + }; + ngOnInit(): void { + // this.pieChartData = this.CharData.pieChartData; + // this.pieChartLabels = this.CharData.pieChartLabels; + + this.editId = this.route.snapshot.params.id; + console.log(this.editId); + + + this.dashboardService.getById(this.editId).subscribe((data)=>{ + console.log(data); + this.workflowLine = data.dashbord1_Line[0].model; + const dash = JSON.parse(this.workflowLine) ; + + const ChartObject = dash.dashboard.filter(obj => obj.name === "Scatter Chart"); + console.log(ChartObject); + for (let i = 0; i < ChartObject.length; i++) { + const ids = this.Dashtestservive.getscatterchart(); + // console.log(ids); + if (ids.includes(ChartObject[i].chartid)) { + // If the chartid is already in the ids array, continue to the next iteration + continue; + } + this.Dashtestservive.setscatterchart(ChartObject[i].chartid); + const id = ids[i]; + console.log(id); + + if (ChartObject[i].chartid === id) { + this.TableName = ChartObject[i].table; + this.XAxis = ChartObject[i].xAxis; + this.YAxis = ChartObject[i].yAxis; + this.showlabel = ChartObject[i].showlabel; + this.ChartLegend = ChartObject[i].chartlegend; + console.log(this.TableName); + this.Dashtestservive.getChartData(this.TableName,"Scatter Chart",this.XAxis,this.YAxis).subscribe((Ldata) => { + console.log(Ldata); + this.JsonData = Ldata; + this.scatterChartData = this.JsonData.scatterChartData; + this.scatterChartLabels = this.JsonData.scatterChartLabels; + + },(error) => { + console.log(error); + }); + break; // No need to continue the loop once the correct placeholder is found + } + } + }); + } + + generatePDFFile(){ + this.buttonClicked.emit(); + const content = this.contentContainerRef.nativeElement; + const filename = 'scatterchart.pdf'; // You can provide any desired filename here + + this.Dashtestservive.generatePDF(content, filename); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component.html new file mode 100644 index 0000000..139a1d5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component.html @@ -0,0 +1,30 @@ +
+
+ + + + + + + + + + + + + + + + +
#{{todoList.listName}}
{{i + 1}}{{todo}} + + + +
+ + + + + +
+
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component.spec.ts new file mode 100644 index 0000000..3ac8ed3 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { TodoRunnerComponent } from './todo-runner.component'; + +describe('TodoRunnerComponent', () => { + let component: TodoRunnerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ TodoRunnerComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(TodoRunnerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component.ts new file mode 100644 index 0000000..cb264cb --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component.ts @@ -0,0 +1,103 @@ +import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core'; +import { DashrunnerService } from '../dashrunner.service'; +import { DashboardContentModel } from 'src/app/models/builder/dashboard'; +import { ActivatedRoute, Router } from '@angular/router'; +import { Dashboard3Service } from 'src/app/services/builder/dashboard3.service'; + +@Component({ + selector: 'app-todo-runner', + templateUrl: './todo-runner.component.html', + styleUrls: ['./todo-runner.component.scss'] +}) +export class TodoRunnerComponent implements OnInit { + @ViewChild('contentContainer') contentContainerRef!: ElementRef; + @Output() buttonClicked = new EventEmitter(); + constructor( private Dashtestservive:DashrunnerService,private route: ActivatedRoute,private dashboardService: Dashboard3Service, + private router : Router) { } + + loading = false; + givendata; + error; + XAxis; + YAxis; + + editId; + public DashtestboardArray: DashboardContentModel[] = []; + workflowLine; + TableName; + + list; + data: any; + todo: string = ''; + // todoList = ['todo 1']; + todoList = { + listName: "title123", + List:['todo 1','todo 2'], + } + ngOnInit(): void { + this.editId = this.route.snapshot.params.id; + console.log(this.editId); + // this.getbyId(); + + this.dashboardService.getById(this.editId).subscribe((data)=>{ + console.log(data); + this.workflowLine = data.dashbord1_Line[0].model; + const dash = JSON.parse(this.workflowLine) ; + // this.DashtestboardArray = dash.dashboard; + // console.log(this.DashtestboardArray); + + const ChartObject = dash.dashboard.filter(obj => obj.name === "To Do Chart"); + console.log(ChartObject); + for (let i = 0; i < ChartObject.length; i++) { + const ids = this.Dashtestservive.gettodo(); + // console.log(ids); + if (ids.includes(ChartObject[i].chartid)) { + // If the chartid is already in the ids array, continue to the next iteration + continue; + } + this.Dashtestservive.settodo(ChartObject[i].chartid); + const id = ids[i]; + console.log(id); + + if (ChartObject[i].chartid === id) { + this.TableName = ChartObject[i].table; + this.XAxis = ChartObject[i].xAxis; + this.YAxis = ChartObject[i].yAxis; + console.log(this.TableName); + this.Dashtestservive.getChartData(this.TableName,"Todo List",this.XAxis,this.YAxis).subscribe((Ldata) => { + console.log(Ldata); + this.todoList.listName = Ldata.listName; + this.todoList.List = Ldata.List; + + },(error) => { + console.log(error); + }); + break; // No need to continue the loop once the correct placeholder is found + } + } + }); + } + + + + + + public addTodo(todo: string) { + this.todoList.List.push(todo); + this.todo = ''; // Clear the input field after adding a todo +} + +public removeTodo(todoIx: number) { + if (this.todoList.List.length) { + this.todoList.List.splice(todoIx, 1); + } +} + +generatePDFFile(){ + this.buttonClicked.emit(); + const content = this.contentContainerRef.nativeElement; + const filename = 'Todolist.pdf'; // You can provide any desired filename here + + this.Dashtestservive.generatePDF(content, filename); +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/fileUpload/FileUploadList.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/fileUpload/FileUploadList.component.ts new file mode 100644 index 0000000..c2c2a45 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/fileUpload/FileUploadList.component.ts @@ -0,0 +1,23 @@ +// import { Component, Input, Output, EventEmitter } from '@angular/core'; + +// @Component({ +// selector: 'app-file-upload-list', +// templateUrl: './file-upload-list.component.html', +// }) +// export class FileUploadListComponent { +// @Input() fileData: any[] = []; +// @Input() type: 'image' | 'audio' | 'video' | 'document' = 'image'; +// @Output() fileChanged = new EventEmitter<{ event: any, index: number }>(); +// @Output() deleteRow = new EventEmitter(); +// @Output() addRow = new EventEmitter(); + +// get acceptType() { +// switch (this.type) { +// case 'image': return 'image/*'; +// case 'audio': return 'audio/*'; +// case 'video': return 'video/*'; +// case 'document': return 'application/pdf,.csv,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel'; +// default: return '*/*'; +// } +// } +// } diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/fileUpload/file-upload-list.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/fileUpload/file-upload-list.component.html new file mode 100644 index 0000000..2fe6e1b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/fileUpload/file-upload-list.component.html @@ -0,0 +1,46 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.css new file mode 100644 index 0000000..a3722b6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=report-build.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.css.map new file mode 100644 index 0000000..c4b7c9a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"report-build.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.html new file mode 100644 index 0000000..90c6b64 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.spec.ts new file mode 100644 index 0000000..da80cc9 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ReportBuildComponent } from './report-build.component'; + +describe('ReportBuildComponent', () => { + let component: ReportBuildComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ReportBuildComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ReportBuildComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.ts new file mode 100644 index 0000000..0583dca --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/report-build.component.ts @@ -0,0 +1,14 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-report-build', + templateUrl: './report-build.component.html', + styleUrls: ['./report-build.component.scss'] +}) +export class ReportBuildComponent implements OnInit { + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.css new file mode 100644 index 0000000..5a8298a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.css @@ -0,0 +1,75 @@ +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; +} +.s-info-bar button { + outline: none; +} + +.entry-pg { + width: 750px; +} + +.button1::after { + content: none; +} + +.button1:hover::after { + content: "ADD ROWS"; +} + +.section { + background-color: #dddddd; + height: 40px; +} + +.section p { + font-weight: bold; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.center { + text-align: center; +} + +input[type=text], [type=date], textarea { + width: 100%; + padding: 15px 15px; + background-color: rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.required-field { + color: red; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +}/*# sourceMappingURL=reportbuildadd.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.css.map new file mode 100644 index 0000000..002810c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["reportbuildadd.component.scss","reportbuildadd.component.css"],"names":[],"mappings":"AACA;EACI,aAAA;EACA,mBAAA;EACA,8BAAA;ACAJ;ADCI;EACE,aAAA;ACCN;;ADGE;EACE,YAAA;ACAJ;;ADGE;EACE,aAAA;ACAJ;;ADEE;EACE,mBAAA;ACCJ;;ADIE;EACE,yBAHS;EAIT,YAAA;ACDJ;;ADIE;EAEE,iBAAA;EACA,aAAA;EACA,eAAA;ACFJ;;ADKE;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EACA,wBAAA;EACA,eAAA;EACA,WAAA;EACA,mBAAA;ACFJ;;ADKE;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EAEA,eAAA;EACA,WAAA;EACA,mBAAA;ACHJ;;ADME;EACE,kBAAA;ACHJ;;ADKE;EACE,WAAA;EACA,kBAAA;EAED,oCAAA;EACC,qBAAA;EACA,sBAAA;EACA,kBAAA;EACA,sBAAA;ACHJ;;ADME;EACE,UAAA;ACHJ;;ADME;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACHJ","file":"reportbuildadd.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.html new file mode 100644 index 0000000..60df2d0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.html @@ -0,0 +1,48 @@ +

{{ 'CREATE_NEW_REPORT' | translate }}

+ {{ 'ADD_MODE' | translate }}
+
+ + + + + + + + +
+ + + + + +
+ +
+
+ + + +
+
+ + +
+
+ + +
+
+ + + +
+
+
+ + +
+
+ +
+
+
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.scss new file mode 100644 index 0000000..39de1cb --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.scss @@ -0,0 +1,80 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } + } + + .entry-pg { + width: 750px; + } + + .button1::after { + content: none; + } + .button1:hover::after { + content: "ADD ROWS"; + } + + $bg-color: #dddddd; + + .section { + background-color: $bg-color; + height: 40px; + } + + .section p { + //color: white; + font-weight: bold; + padding: 10px; + font-size: 18px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .center { + text-align: center; + } + input[type=text],[type=date],textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + + .required-field{ + color: red; + + } + select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.spec.ts new file mode 100644 index 0000000..e94fb3b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ReportbuildaddComponent } from './reportbuildadd.component'; + +describe('ReportbuildaddComponent', () => { + let component: ReportbuildaddComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ReportbuildaddComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ReportbuildaddComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.ts new file mode 100644 index 0000000..39929f2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildadd/reportbuildadd.component.ts @@ -0,0 +1,60 @@ +import { HttpErrorResponse, HttpHeaderResponse } from '@angular/common/http'; +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; + +@Component({ + selector: 'app-reportbuildadd', + templateUrl: './reportbuildadd.component.html', + styleUrls: ['./reportbuildadd.component.scss'] +}) +export class ReportbuildaddComponent implements OnInit { + + public entryForm: FormGroup; + constructor(private _fb: FormBuilder, private router: Router,private toastr: ToastrService, + private route: ActivatedRoute,private reportBuilderService: ReportBuilderService) { } + + ngOnInit(): void { + this.entryForm = this._fb.group({ + reportName: [null], + description:[null], + active:[null], + isSql:[true], + Rpt_builder2_lines: this._fb.array([this.initLinesFormReport()]), + }); + + } + + initLinesFormReport() { + return this._fb.group({ + model: '' + }); + } + + toastrShown: boolean = false; + onSubmit(){ + console.log(this.entryForm.value); + this.reportBuilderService.saverbData(this.entryForm.value).subscribe((data)=>{ + console.log(data); + if (data || data.status >= 200 && data.status <= 209) { + this.toastr.success('Report save successfully'); + } + },(error:HttpErrorResponse) => { + console.log(error); + if(error.status==404){ + this.toastr.error(error.error); + } + if(error.status==200){ this.toastr.success('Report save successfully'); } + if(error.status==400){ this.toastr.error('Report Save Unsuccessful'); } + }); + setTimeout(()=>{ + this.router.navigate(["../all"], { relativeTo: this.route }); + },500); + } + goback(){ + this.router.navigate(["../all"], { relativeTo: this.route }); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.css new file mode 100644 index 0000000..720f9da --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.css @@ -0,0 +1,90 @@ +.td-title { + text-align: right; + width: 150px; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + color: white; +} + +.td-content { + text-align: left; +} + +.delete, .heading { + text-align: center; + color: red; +} + +input[type=radio] { + width: 14px !important; + height: 14px !important; + margin: 5px; + -webkit-appearance: none; + -moz-appearance: none; + -o-appearance: none; + appearance: none; + outline: 1px solid gray; + box-shadow: none; + font-size: 0.8em; + text-align: center; + line-height: 1em; + background: red; +} + +.dots { + width: 100px; + height: 100px; + bordeR: 1px solid; + border-radius: 50%; +} + +h4 { + margin-top: 16px; +} + +.s-order-dash-pg { + margin: 0px; + display: flex; + flex-wrap: wrap; + flex-direction: row; + justify-content: center; +} +.s-order-dash-pg .chart-box { + margin: 16px; + padding: 0 16px; + background-color: #fff; + border: 1px solid #ccc; + border-radius: 2px; +} + +#word1 { + width: 190px; + height: 180px; +} + +.center { + text-align: center; + margin-top: 5px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.heading { + text-align: center; + color: red; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +}/*# sourceMappingURL=reportbuildall.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.css.map new file mode 100644 index 0000000..3cc1526 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["reportbuildall.component.scss","reportbuildall.component.css"],"names":[],"mappings":"AAAA;EACI,iBAAA;EACA,YAAA;EACA,iBAAA;EACA,2CAAA;EACA,YAAA;ACCJ;;ADCE;EACE,gBAAA;ACEJ;;ADAE;EACE,kBAAA;EACA,UAAA;ACGJ;;ADDE;EACE,sBAAA;EACA,uBAAA;EACA,WAAA;EACA,wBAAA;EACA,qBAAA;EACA,mBAAA;EACA,gBAAA;EACA,uBAAA;EACA,gBAAA;EACA,gBAAA;EACA,kBAAA;EACA,gBAAA;EACA,eAAA;ACIJ;;ADFE;EAEE,YAAA;EACA,aAAA;EACA,iBAAA;EACA,kBAAA;ACIJ;;ADDI;EAAG,gBAAA;ACKP;;ADJI;EACE,WAAA;EACA,aAAA;EACA,eAAA;EACA,mBAAA;EACA,uBAAA;ACON;ADNM;EACE,YAAA;EACA,eAAA;EACA,sBAAA;EACA,sBAAA;EACA,kBAAA;ACQR;;ADLI;EACC,YAAA;EACC,aAAA;ACQN;;ADLI;EACE,kBAAA;EACA,eAAA;ACQN;;ADLI;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EACA,wBAAA;EACA,eAAA;EACA,WAAA;EACA,mBAAA;ACQN;;ADNM;EACE,kBAAA;EACA,UAAA;ACSR;;ADNM;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACSR","file":"reportbuildall.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.html new file mode 100644 index 0000000..cfcd34e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.html @@ -0,0 +1,112 @@ + +
+ + +
+
+
+

{{ 'REPORT' | translate }}

+
+
+ + +
+
+ + + + + + + + + Loading ... +
{{error}}
+ + + + {{'GO_TO' | translate}} + + + {{ 'REPORT_RUNNER' | translate }} + + + {{ 'REPORT_DESCRIPTION' | translate }} + + + {{ 'ACTIVE' | translate }} + + + {{ 'FOLDER_NAME' | translate }} + + + {{ 'ACTION' | translate }} + + + + {{ 'SET_UP' | translate }} + {{user.reportName}} + {{user.description}} + {{user.active}} + {{user.folderName}} + + + + {{ 'DELETE' | translate }} + + + + +
Who Column
+
Account ID: {{user.accountId}}
+
Created At: {{user.createdAt| date}}
+
Created By: {{user.createdBy}}
+
Updated At: {{user.updatedAt | date}}
+
Updated By: {{user.updatedBy}}
+
+
+ + +
+ + + + + +
+ + + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+
+ + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.scss new file mode 100644 index 0000000..aec3e9d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.scss @@ -0,0 +1,83 @@ +.td-title { + text-align: right; + width: 150px; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + color: white; + } + .td-content{ + text-align: left; + } + .delete,.heading{ + text-align: center; + color: red; + } + input[type='radio']{ + width: 14px !important; + height: 14px !important; + margin: 5px; + -webkit-appearance: none; + -moz-appearance: none; + -o-appearance: none; + appearance: none; + outline: 1px solid gray; + box-shadow: none; + font-size: 0.8em; + text-align: center; + line-height: 1em; + background: red; + } + .dots + { + width: 100px; + height:100px; + border: 1px solid; + border-radius: 50%; + //background-color: #f00; + } + h4{margin-top: 16px;} + .s-order-dash-pg { + margin: 0px; + display:flex; + flex-wrap:wrap; + flex-direction:row; + justify-content:center; + .chart-box{ + margin:16px; + padding:0 16px; + background-color: #fff; + border:1px solid #ccc; + border-radius: 2px; + } + } + #word1{ + width: 190px; + height: 180px; + + } + .center{ + text-align: center; + margin-top: 5px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + .heading{ + text-align: center; + color: red; + } + + select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.spec.ts new file mode 100644 index 0000000..fce8821 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ReportbuildallComponent } from './reportbuildall.component'; + +describe('ReportbuildallComponent', () => { + let component: ReportbuildallComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ReportbuildallComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ReportbuildallComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.ts new file mode 100644 index 0000000..25c291b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildall/reportbuildall.component.ts @@ -0,0 +1,92 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; +import { ToastrService } from 'ngx-toastr'; + +@Component({ + selector: 'app-reportbuildall', + templateUrl: './reportbuildall.component.html', + styleUrls: ['./reportbuildall.component.scss'] +}) +export class ReportbuildallComponent implements OnInit { + gridData; + loading = false; + error; + selected: any[] = []; + rowSelected :any= {}; + modaldelete=false; + isLoading: boolean = false; + projectId; + moduleId; + projectname; + constructor(private router: Router, + private route: ActivatedRoute,private reportBuilderService: ReportBuilderService, + private toastr:ToastrService, ) { } + + ngOnInit(): void { + + this.getAll(); + } + + + getAll() { + this.isLoading = true; + this.reportBuilderService.getrbDetails().subscribe((data) => { + this.isLoading = false; + console.log(data); + + const filteredData = data.filter(item => item.isSql === true); + this.gridData = filteredData; + if(this.gridData.length == 0){ + this.error="No data Available"; + console.log(this.error); + } + }); + } + + gotorunner() + { + this.router.navigate(['../../rerunner'],{relativeTo:this.route}); + } + + + goToAdd() { + this.router.navigate(["../add"], { relativeTo: this.route, }); + } + + goToEdit(id: number) { + this.router.navigate(["../edit/" + id], { relativeTo: this.route }); + } + enid; + modelData:any[]=[]; + goToLines(val) { + console.log(val); +this.enid=val.id; +// this.modelData = val.Rpt_builder2_lines[0].model; + + if(val.Rpt_builder2_lines[0].model !== '' ){ + this.router.navigate(["../edit/" + this.enid], { relativeTo: this.route }); + } + else{ + this.router.navigate(["../reportQuery/" + this.enid], { relativeTo: this.route, }); + } + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete=true; + } + delete(id){ + this.modaldelete = false; + this.reportBuilderService.deletrbById(id).subscribe((data) => { + console.log(data); + if(data || data == null || data.status >= 200 && data.status <= 209){ + this.toastr.success("Deleted successfully"); + } + this.ngOnInit(); + },(error) => { + console.log(error); + this.toastr.error("getting error in deleting data"); + }) + } + +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.css new file mode 100644 index 0000000..e938509 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.css @@ -0,0 +1,56 @@ +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; +} +.s-info-bar button { + outline: none; +} + +.edit-pg { + width: 750px; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + +#lines table, +#lines th, +#lines td { + border: 0.5px solid #f1f0f0; + border-collapse: collapse; +} +#lines input, +#lines input :focus { + outline: none; + border-width: 0px; + border: none; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.center { + text-align: center; +} + +textarea { + width: 100%; + padding: 15px 15px; + background-color: rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +}/*# sourceMappingURL=reportbuildedit.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.css.map new file mode 100644 index 0000000..576b0f3 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["reportbuildedit.component.scss","reportbuildedit.component.css"],"names":[],"mappings":"AACA;EACI,aAAA;EACA,mBAAA;EACA,8BAAA;ACAJ;ADCI;EACE,aAAA;ACCN;;ADGE;EACE,YAAA;ACAJ;;ADEE;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACCJ;;ADEI;;;EAGE,2BAAA;EACA,yBAAA;ACCN;ADCI;;EAGE,aAAA;EACA,iBAAA;EACA,YAAA;ACAN;;ADIE;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EACA,wBAAA;EACA,eAAA;EACA,WAAA;EACA,mBAAA;ACDJ;;ADIE;EACE,kBAAA;ACDJ;;ADGE;EACE,WAAA;EACA,kBAAA;EAEA,oCAAA;EACA,qBAAA;EACA,sBAAA;EACA,kBAAA;EACA,sBAAA;ACDJ","file":"reportbuildedit.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.html new file mode 100644 index 0000000..f05be3b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.html @@ -0,0 +1,66 @@ +
+

REPORT SET UP - Project Details Report ({{ReportData.id}})

+ Edit Mode +
+
+
+
+
+
+
+
+ + +

+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+
+
+
+ + +
+ +
+ + +
+
+
+
+ + +
+
+
+ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.scss new file mode 100644 index 0000000..9893e7c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.scss @@ -0,0 +1,58 @@ +// @import "../../../../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } + } + + .edit-pg { + width: 750px; + } + select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + #lines { + table, + th, + td { + border: 0.5px solid #f1f0f0; + border-collapse: collapse; + } + input, + input :focus { + //-webkit-appearance: none; + outline: none; + border-width: 0px; + border: none; + } + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .center { + text-align: center; + } + textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.spec.ts new file mode 100644 index 0000000..011630a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ReportbuildeditComponent } from './reportbuildedit.component'; + +describe('ReportbuildeditComponent', () => { + let component: ReportbuildeditComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ReportbuildeditComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ReportbuildeditComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.ts new file mode 100644 index 0000000..8bd117c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildedit/reportbuildedit.component.ts @@ -0,0 +1,144 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; + + + +@Component({ + selector: 'app-reportbuildedit', + templateUrl: './reportbuildedit.component.html', + styleUrls: ['./reportbuildedit.component.scss'] +}) +export class ReportbuildeditComponent implements OnInit { + public entryForm: FormGroup; + updated = false; + ReportData:any = {}; + id: number; + nodeEditProperties = { + std_param_html:'', + adhoc_param_html:'', + column_str:'', + conn_name:'', + date_param_req:'', + // folderName:'', + sql_str:'', + +}; + constructor(private router: Router, + private route: ActivatedRoute,private reportBuilderService: ReportBuilderService, + private toastr: ToastrService, private _fb: FormBuilder) { } + + ngOnInit(): void { + this.id = this.route.snapshot.params["id"]; + console.log("update with id = ", this.id); + + this.entryForm = this._fb.group({ + std_param_html : [null], + adhoc_param_html:[null], + column_str:[null], + conn_name:[null], + date_param_req:[null], + // folderName:[null], + sql_str:[null], + }); + + this.getById(this.id); + this.listoddatabase(); + } + databaselist; + listoddatabase(){ + this.reportBuilderService.getdatabse().subscribe((data)=>{ + this.databaselist=data; + console.log(this.databaselist) + },(error) => { + console.log(error); + if(error){ + } + }); + + } + builderLine; + lineId; + builderLineData; + getById(id: number) { + this.reportBuilderService.getrbDetailsById(id).subscribe( + (data) => { + console.log(data); + this.ReportData = data; + + + this.builderLine = this.ReportData.rpt_builder2_lines; + this.lineId = this.builderLine[0].id + console.log("line data ",this.lineId, this.builderLine); + if(this.builderLine[0].model != '') + { + this.builderLineData = JSON.parse(this.builderLine[0].model) ; + console.log(this.builderLineData); + + this.nodeEditProperties.std_param_html = this.builderLineData.std_param_html; + this.nodeEditProperties.adhoc_param_html = this.builderLineData.adhoc_param_html; + this.nodeEditProperties.column_str = this.builderLineData.column_str; + this.nodeEditProperties.conn_name = this.builderLineData.conn_name; + this.nodeEditProperties.date_param_req = this.builderLineData.date_param_req; + this.nodeEditProperties.sql_str = this.builderLineData.sql_str; + } + }, + (err) => { + console.log(err); + } + ); + } + + listBuilder_Lines = { + model:{} + } + update() { + + this.builderLineData.std_param_html = this.nodeEditProperties.std_param_html; + this.builderLineData.adhoc_param_html = this.nodeEditProperties.adhoc_param_html; + this.builderLineData.column_str = this.nodeEditProperties.column_str; + this.builderLineData.conn_name = this.nodeEditProperties.conn_name ; + this.builderLineData.date_param_req = this.nodeEditProperties.date_param_req; + this.builderLineData.sql_str = this.nodeEditProperties.sql_str; + console.log(this.builderLineData); + // this.builderLineData.splice(1); + console.log(this.builderLineData); + let tmp = JSON.stringify(this.builderLineData); //.replace(/\\/g, '') + this.listBuilder_Lines.model = tmp; +console.log(this.listBuilder_Lines); + + this.reportBuilderService.updaterbLineData(this.listBuilder_Lines, this.lineId).subscribe( + (data) => { + console.log(data); + if (data) { + this.toastr.success('Update successfully'); + } + this.router.navigate(["../../all"], { relativeTo: this.route }); + //this.router.navigate(["../../all"],{ relativeTo: this.route, queryParams: { p_id: this.projectId } }); + }, + (error) => { + // console.log(error); + // const objectArray = Object.entries(error.error.fieldErrors); + // objectArray.forEach(([k, v]) => { + // console.log(k); + // console.log(v); + // this.fieldErors.push({ field: k, message: v }); + // }); + console.log(error); // this will come from backend + } + ); + // this.lineBuilder_Header = new Rn_Cff_ActionBuilder_Header(); + } + + onSubmit() { + this.updated = true; + this.update(); + } + + back() { + this.router.navigate(["../../all"], { relativeTo: this.route }); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.css new file mode 100644 index 0000000..f328a84 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.css @@ -0,0 +1,146 @@ +@import '@swimlane/ngx-datatable/index.css'; +@import '@swimlane/ngx-datatable/themes/bootstrap.css'; +@import '@swimlane/ngx-datatable/assets/icons.css'; +.button1::after { + content: none; +} + +.button1:hover::after { + content: "ADD ROWS"; +} + +.delete, .heading { + text-align: center; + color: red; +} + +.bold { + font-weight: bold; +} + +.section p { + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.required-field { + color: red; + font-size: 18px; +} + +input[type=text], textarea { + width: 100%; + padding: 15px 15px; + background-color: rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +html { + /* make sure we use up the whole viewport */ + width: 100%; + min-height: 100vh; +} + +body { + width: 100%; + background-color: gray; +} + +ngx-datatable { + font-family: Metropolis, Avenir Next, Helvetica Neue, Arial, sans-serif; + font-size: 13px; + border: 1px solid #ccc; + border-radius: 2px; + padding: 0; + background-color: #fff; +} +ngx-datatable .datatable-header, ngx-datatable .datatable-footer { + font-size: 11px; + line-height: 18px; + font-weight: bold; + background-color: #fafafa; +} +ngx-datatable .datatable-header { + box-shadow: 0 2px 4px 0px #ccc; +} +ngx-datatable .datatable-header .datatable-header-cell { + line-height: 22px; + padding-left: 10px; + height: 22px; +} +ngx-datatable .datatable-header .datatable-header-cell:not(:first-child) { + border-left: 1px solid #ccc; +} +ngx-datatable .datatable-footer { + border-top: 1px solid #ccc; +} +ngx-datatable .datatable-footer .page-count { + margin: 10px; +} +ngx-datatable .datatable-footer .pages a { + padding: 8px; + color: inherit; +} +ngx-datatable .datatable-footer .pages.active a { + padding: 8px; + color: #007cbb; + background-color: rgb(221, 221, 221); + text-align: center; +} +ngx-datatable .datatable-header-inner { + padding: 12px; +} +ngx-datatable .datatable-body-cell { + padding: 8px 0 10px 20px; + border-top: 1px solid #ddd; +} +ngx-datatable .pager i { + font-size: 18px; + vertical-align: middle; +} + +.postColumn { + border: 1px solid #ccc; + width: 78%; + margin-left: 15px; +} + +.colName { + text-align: center; + padding: 5px; +} + +.colfields { + border: 1px solid black; + margin: 17px; + text-align: center; + padding: 3px; +} + +.fieldWrapper { + margin-top: 20px; +} + +.center { + text-align: center; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +}/*# sourceMappingURL=reportbuildquery.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.css.map new file mode 100644 index 0000000..ec63f0f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["reportbuildquery.component.scss","reportbuildquery.component.css"],"names":[],"mappings":"AA8JQ,2CAAA;AACA,sDAAA;AACC,kDAAA;AA9JT;EACE,aAAA;ACEF;;ADAA;EACE,mBAAA;ACGF;;ADAA;EACE,kBAAA;EACA,UAAA;ACGF;;ADAA;EACE,iBAAA;ACGF;;ADCA;EAEE,aAAA;EACA,eAAA;ACCF;;ADEA;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EACA,wBAAA;EACA,eAAA;EACA,WAAA;EACA,mBAAA;ACCF;;ADWA;EACE,UAAA;EACF,eAAA;ACRA;;ADYA;EACE,WAAA;EACA,kBAAA;EAED,oCAAA;EACC,qBAAA;EACA,sBAAA;EACA,kBAAA;EACA,sBAAA;ACVF;;ADcA;EACI,2CAAA;EACA,WAAA;EACA,iBAAA;ACXJ;;ADaA;EACI,WAAA;EACA,sBAAA;ACVJ;;ADeA;EACE,uEAAA;EACA,eAAA;EACA,sBAAA;EACA,kBAAA;EACA,UAAA;EACA,sBAAA;ACZF;ADaE;EACE,eAAA;EACA,iBAAA;EACA,iBAAA;EACA,yBAAA;ACXJ;ADaE;EAEE,8BAAA;ACZJ;ADaI;EACE,iBAAA;EACA,kBAAA;EACA,YAAA;ACXN;ADcE;EACI,2BAAA;ACZN;ADeE;EACE,0BAAA;ACbJ;ADcI;EACE,YAAA;ACZN;ADcI;EACE,YAAA;EACA,cAAA;ACZN;ADcI;EACE,YAAA;EACA,cAAA;EACA,oCAAA;EACA,kBAAA;ACZN;ADgBE;EACE,aAAA;ACdJ;ADgBE;EACE,wBAAA;EACA,0BAAA;ACdJ;ADgBE;EACE,eAAA;EACA,sBAAA;ACdJ;;ADkBA;EACE,sBAAA;EACA,UAAA;EACA,iBAAA;ACfF;;ADiBA;EACE,kBAAA;EACA,YAAA;ACdF;;ADgBA;EACE,uBAAA;EACA,YAAA;EACA,kBAAA;EACA,YAAA;ACbF;;ADeA;EACE,gBAAA;ACZF;;ADcA;EACE,kBAAA;ACXF;;ADcA;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACXF","file":"reportbuildquery.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.html new file mode 100644 index 0000000..723cd1c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.html @@ -0,0 +1,670 @@ + + +
+ + +
+
+

SQL Worksheet- + connection name + {{databaseName}} + switch + Add New +

+ +
+ +
+ + +
+
+ + + + + + +
+
+ +
+
+ + + + + + + + + {{selected}} {{ getAliasedColumn(selected) }} + + + + {{state}} + + + + +
+

+ +
+
+
+ + + + + + + + + {{ selected.substr(0, selected.indexOf('.')) }}{{ selected.substr(selected.indexOf('.')) }} + + + {{selected}} + + + + + {{state}} + + + + +
+

+

{{msg}}

+
+
+
+ + + + + + {{data.andor}}  + + {{ selected.substr(0, selected.indexOf('.')) }}{{ selected.substr(selected.indexOf('.')) }} + + + {{selected}} + + + {{data.condition}} {{data.value}} + + + + + {{state}} + + + + +
+

+

{{msg}}

+
+ +
+
+ + + + + + + + + {{ selected.substr(0, selected.indexOf('.')) }}{{ selected.substr(selected.indexOf('.')) }} + + + {{selected}} + + + + + {{state}} + + + + +
+

+

{{msg}}

+
+ +
+
+ + +
+
+ + +
+
+
+ +
+ +
+
+
+
+
+
+
+
+
+ + + +
+
+
+ + + +
+
+

Response

+
+
+
+
+
+

+
+
+
+
+ + + + + + + + + + + + + +
{{co}}
{{item[key]}}
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.scss new file mode 100644 index 0000000..3ee5c25 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.scss @@ -0,0 +1,161 @@ +$bg-color: #dddddd; + +.button1::after { + content: none; +} +.button1:hover::after { + content: "ADD ROWS"; +} + +.delete,.heading{ + text-align: center; + color: red; +} + +.bold{ + font-weight: bold; +} + + +.section p { + //color: white; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} +// input[type=text],[type=date],textarea { +// width: 60%; +// padding: 15px 15px; +// // margin: 8px 0; +// background-color:rgb(255, 255, 255); +// display: inline-block; +// border: 1px solid #ccc; +// border-radius: 4px; +// box-sizing: border-box; +// } +.required-field{ + color: red; +font-size: 18px; + +} + +input[type=text],textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + + +html { + /* make sure we use up the whole viewport */ + width: 100%; + min-height: 100vh; +} +body { + width: 100%; + background-color: gray; + //min-height: 100vh; /* this helps with the sticky footer */ +} + +//Import classes from swimlane datatable +ngx-datatable { + font-family: Metropolis,Avenir Next,Helvetica Neue,Arial,sans-serif; + font-size:13px; + border:1px solid #ccc; + border-radius: 2px; + padding:0; + background-color: #fff; + .datatable-header, .datatable-footer { + font-size:11px; + line-height:18px; + font-weight:bold; + background-color:#fafafa; + } + .datatable-header{ + //border-bottom: 2px solid #ccc; + box-shadow: 0 2px 4px 0px #ccc; + .datatable-header-cell{ + line-height:22px; + padding-left:10px; + height:22px; + } + } + .datatable-header .datatable-header-cell:not(:first-child) { + border-left:1px solid #ccc; + } + + .datatable-footer{ + border-top: 1px solid #ccc; + .page-count{ + margin: 10px; + } + .pages a{ + padding:8px; + color:inherit; + } + .pages.active a{ + padding:8px; + color:#007cbb; + background-color:rgb(221, 221, 221); + text-align: center; + } + } + + .datatable-header-inner{ + padding:12px; + } + .datatable-body-cell{ + padding:8px 0 10px 20px; + border-top: 1px solid #ddd; + } + .pager i { + font-size:18px; + vertical-align: middle; + } +} + +.postColumn{ + border: 1px solid #ccc; + width: 78%; + margin-left: 15px; +} +.colName{ + text-align: center; + padding: 5px; +} +.colfields{ + border: 1px solid black; + margin: 17px; + text-align: center; + padding: 3px; +} +.fieldWrapper{ + margin-top: 20px; +} +.center { + text-align: center; +} + +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +// @import '@swimlane/ngx-datatable/index.css'; +// @import '@swimlane/ngx-datatable/themes/bootstrap.css'; +// @import '@swimlane/ngx-datatable/assets/icons.css'; diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.spec.ts new file mode 100644 index 0000000..96b95f4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ReportbuildqueryComponent } from './reportbuildquery.component'; + +describe('ReportbuildqueryComponent', () => { + let component: ReportbuildqueryComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ReportbuildqueryComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ReportbuildqueryComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.ts new file mode 100644 index 0000000..3c23b53 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build/reportbuildquery/reportbuildquery.component.ts @@ -0,0 +1,660 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormControl, FormGroup } from '@angular/forms'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; +import { TableList } from '../../../../../models/fnd/table-setup'; +import { HttpClient, HttpErrorResponse } from '@angular/common/http'; +import { ToastrService } from 'ngx-toastr'; +import { ActivatedRoute, Router } from '@angular/router'; + +@Component({ + selector: 'app-reportbuildquery', + templateUrl: './reportbuildquery.component.html', + styleUrls: ['./reportbuildquery.component.scss'] +}) +export class ReportbuildqueryComponent implements OnInit { + searchtable: any; + searchcol: any; + columns: any[]; + table: boolean = false; + database: boolean = false; + query: boolean = false; + public entryForm: FormGroup; + public addForm: FormGroup; + public saveReportForm: FormGroup; + addmodal: boolean = false; + query2: string; + rows: any[]; + loading = false; + tableList: TableList[]; + databaselist = []; + collist; + search: any; + selectedtable: any[]; + selectedcol: any[]; + selectedcol1: any[]; + selectedParamter: any[]; + selectedtablequery; + selectcolquery; + selectedquery; + backQuery = true; + searchquery; + col: boolean = false; + col1: boolean = false; + searchdatabase; + selecteddatabase; + msg; + id; + querydata; + errorco; + errortb; + errorcl; + loadingIndicator = true; reorderable = true; + columnModal = false; + reportModal = false; + filterModel = false; + conditionData = []; + stdParamters = []; + columnData = []; + andor = ['AND', 'OR', 'NOT']; + fieldname = ['name1', 'name2']; + condition = ['=', '!=', '<', '>', '<=', '>=', 'LIKE', 'BETWEEN', 'IN']; + alias = ['a', 'b', 'c', 'd', 'e', 'f']; + tabs = ['Tab', 'Tab',]; + selected = new FormControl(0); + constructor(private _fb: FormBuilder, private router: Router, + private route: ActivatedRoute, + private reportBuilderService: ReportBuilderService, private toastr: ToastrService,) { } + + ngOnInit(): void { + this.id = this.route.snapshot.params["id"]; + console.log("update with id = ", this.id); + this.entryForm = this._fb.group({ + sql_query: [null], + }); + this.addForm = this._fb.group({ + conn_string: [null], + username: [null], + password: [null], + driver_class_name: [null], + }) + + this.saveReportForm = this._fb.group({ + conn_name: [null], + // reportName: [null], + folderName: [null], + // description:[null], + // active:[null], + sql_str: [null], + date_param_req: [null], + column_str: [null], + adhoc_param_html: [null], + std_param_html: [null], + }); + // this.listofTables(); + this.getById(this.id); + + } + ReportBuilder_Header; + ReportBuilder_Line; + lineId; + getById(id: number) { + this.reportBuilderService.getrbDetailsById(id).subscribe( + (data) => { + console.log(data); + this.ReportBuilder_Header = data; + console.log(data.Rpt_builder2_lines[0].model); + this.ReportBuilder_Line = data.Rpt_builder2_lines + this.lineId = data.Rpt_builder2_lines[0].id; + }, + (err) => { + console.log(err); + } + ); + } + + + listoddatabase() { + this.reportBuilderService.getdatabse().subscribe((data) => { + this.databaselist = data; + console.log('database list ', this.databaselist) + + if (this.databaselist.length == 0) { + this.errorco = "No data Available"; + + } + }, (error) => { + console.log(error); + if (error) { + this.errorco = "No data Available"; + } + }); + + } + listofTables(val) { + this.reportBuilderService.getTableListn(val).subscribe(data => { + // console.log("table list "+data); + this.tableList = data; + console.log(this.tableList); + }, (error) => { + console.log(error); + if (error) { + this.errortb = "No data Available"; + } + }) + } + msg1; + finalColList: any[] = []; + listofcol(val) { + console.log(this.selectedtable); + console.log(this.selectedcol); + console.log(this.selectedcol1); + const tableString = JSON.stringify(val); + console.log(tableString); + const array = Array.of(val); // Using the Array constructor + console.log(array); + console.log(val); + // this.reportBuilderService.getcolListn(this.name[1],val).subscribe((data)=>{ + // this.reportBuilderService.getColumnList(this.name[1],array).subscribe((data)=>{ + this.reportBuilderService.getAllColumnsFromAllTables(array).subscribe((data) => { + console.log(data); + this.collist = data; + // this.finalColList.push(data); + // this.finalColList.push(this.collist) + if (this.selectedtable == null) { + this.msg = 'Plz First Select Table' + } else { + this.msg = ""; + } + + //console.log(this.collist); + }, (error) => { + console.log(error); + if (error) { + this.errorcl = "No data Available"; + } + }) + } + listofquery() { + this.reportBuilderService.getall().subscribe((data) => { + this.querydata = data; + console.log(this.querydata) + }) + } + rowdata; + onSubmit() { + // this.backQuery = false; + + this.query2 = this.entryForm.value.sql_query; + console.log(this.query2); + this.reportBuilderService.getMasterData(this.query2).subscribe((data) => { + this.rows = data; + console.log(this.rows); + this.rowdata = [this.rows]; + console.log(typeof this.rows); + if (data) { + this.toastr.success("Run Successfully") + } + var j; + var cart = []; + + for (var i = 0; i < data.length; i++) { + var columnsIn = data[i]; + if (i == 1) { + for (var key in columnsIn) { + j = { prop: key, name: key }; + cart.push(j) + + } + } + } + this.columns = cart; + + }); + } + getHeaders() { + let headers: string[] = []; + if (this.rows) { + this.rows.forEach((value) => { + Object.keys(value).forEach((key) => { + if (!headers.find((header) => header == key)) { + headers.push(key) + } + + }) + + }) + } + return headers; + } + savequery() { + //this.query2=this.entryForm.value.sql_query; + console.log(this.entryForm.value); + this.reportBuilderService.saveq(this.entryForm.value).subscribe((data) => { + console.log(data); + }) + + } + + //tab + addTab(selectAfterAdding: boolean) { + this.tabs.push('Tab'); + + if (selectAfterAdding) { + this.selected.setValue(this.tabs.length - 1); + } + } + + removeTab(index: number) { + this.tabs.splice(index, 1); + } + opendatabsemo() { + this.database = true; + this.listoddatabase(); + } + name; + databaseName; + databasename(val) { + console.log(val); + this.databaseName = val.name; + this.selecteddatabase = val.conn_string; + console.log(this.selecteddatabase); + // this.selecteddatabase.substring(0,this.selecteddatabase.indexOf(':3306/')) + // console.log(this.selecteddatabase); + this.name = this.selecteddatabase.split(":3306/"); + console.log(this.name[1]); + this.database = false; + this.listofTables(this.name[1]) + } + opentablemod() { + this.table = true; + // this.listofTables(); + } + tablename(value) { + console.log(value); + this.selectedtable = value; + this.table = false; + } + tableModal = false; + TableData; + opentcolmod() { + // this.col=true; + + if (this.selectedtable == null) { + this.msg = 'Plz First Select Table' + } else { + this.msg = ""; + // this.tableModal = true; + } + this.listofcol(this.selectedtable) + + if (Array.isArray(this.selectedtable) || this.selectedtable === undefined) { + const selectedTables = this.selectedtable.map((table, index) => { + const alias = String.fromCharCode(97 + (index % 26)); // Generate aliases starting from 'a' + console.log(alias, table); + return `${table} ${alias}`; + }).join(','); + console.log(selectedTables); + // const selectedTables = this.TableData.map(({ alias, tables }) => `${tables} ${alias}`).join(','); + // console.log(selectedTables); + + this.selectedtablequery = `SELECT * FROM ${selectedTables} WHERE 1=1`; + console.log(this.selectedtablequery); + // You can perform further actions with the generated SQL query + } else { + this.selectedtablequery = ''; + console.log(this.selectedtablequery); + // You can perform further actions with the generated SQL query + } + + this.selectedquery = this.selectedtablequery; + + // const defaultObject = { + // alias: "", + // } + // const objectArray = this.selectedtable.map(value => ({ + // ...defaultObject, + // tables: value, + // })); + // console.log(objectArray); + // const data = JSON.stringify(objectArray); + // try { + // this.TableData = JSON.parse(data); + // console.log('Received data:', this.TableData ); + // } catch (e) { console.error('Invalid JSON:', data);} + } + opentcolmod1() { + // this.col1=true; + this.listofcol(this.selectedtable) + + + } + colname() { + + this.columnModal = true; + + //column filter + const defaultObject = { + alias: "", + } + const valuesOnly = this.selectedcol.map(item => item.split('.').pop()); + const objectArray = this.selectedcol.map((value, index) => ({ + // ...defaultObject, + alias: valuesOnly[index], + columns: value, + })); + console.log(objectArray); + const data = JSON.stringify(objectArray); + try { + this.columnData = JSON.parse(data); + console.log('Received data:', this.columnData); + } catch (e) { console.error('Invalid JSON:', data); } + } + onAddColLines() { + this.columnData.push({ + columns: "", + alias: "", + }); + } + deleteColRow(index) { + this.columnData.splice(index, 1); + } + // console.log(col); + // this.selectedcol=col; + + onColSelected() { + // console.log(col); + // this.selectedcol=col; + this.col = false; + this.columnModal = false; + if (Array.isArray(this.columnData)) { + // const selectedColumns = this.columnData.join(','); + //for column + const selectedColumns = this.columnData.map(({ alias, columns }) => `${columns} as ${alias}`).join(','); + console.log(selectedColumns); + //for table + const selectedTables = this.selectedtable.map((table, index) => { + const alias = String.fromCharCode(97 + (index % 26)); // Generate aliases starting from 'a' + console.log(alias, table); + return `${table} ${alias}`; + }).join(','); + console.log(selectedTables); + + // const selectedTables = this.TableData.map(({ alias, tables }) => `${tables} ${alias}`).join(','); + // console.log(selectedTables); + + this.selectcolquery = `SELECT ${selectedColumns} FROM ${selectedTables} WHERE 1=1`; + console.log(this.selectcolquery); + // You can perform further actions with the generated SQL query + } else if (Array.isArray(this.selectedtable)) { + //for table + const selectedTables = this.selectedtable.map((table, index) => { + const alias = String.fromCharCode(97 + (index % 26)); // Generate aliases starting from 'a' + console.log(alias, table); + return `${table} ${alias}`; + }).join(','); + console.log(selectedTables); + this.selectcolquery = `SELECT * FROM ${selectedTables} WHERE 1=1`; + console.log(this.selectcolquery); + // You can perform further actions with the generated SQL query + } else { + // if(this.selectedtable==null){ + // this.msg1='Plz First Select Table' + // }else{ + // this.msg1=""; + // } + } + this.selectedquery = this.selectcolquery; + } + + // onColSelected(){ + // this.col=false; + // this.columnModal = false; + // console.log(this.selectedcol); + // if (Array.isArray(this.selectedcol)) { + // const selectedColumns = this.selectedcol.join(','); + // this.selectcolquery = `SELECT ${selectedColumns} FROM ${this.selectedtable} WHERE 1=1`; + // console.log(this.selectcolquery); + // // You can perform further actions with the generated SQL query + // } else { + // this.selectcolquery = `SELECT * FROM ${this.selectedtable} WHERE 1=1`; + // console.log(this.selectcolquery); + // // You can perform further actions with the generated SQL query + // } + // this.selectedquery = this.selectcolquery; + + // //std pramameter + // const defaultObject = { + // label: "", + // dataType: "", + // list: "", + // } + // const objectArray = this.selectedcol.map(value => ({ + // ...defaultObject, + // column: value, + // })); + // console.log(objectArray); + // const data = JSON.stringify(objectArray); + // try { + // this.stdParamters = JSON.parse(data); + // console.log('Received data:', this.stdParamters ); + // } catch (e) { console.error('Invalid JSON:', data);} + // } + onAddstdLines() { + this.stdParamters.push({ + column: "", + label: "", + dataType: "", + list: "" + }); + } + deletestdRow(index) { + this.stdParamters.splice(index, 1); + } + colname1() { + // console.log(col); + // this.selectedcol1=col; + // this.col1=false; + // this.listofquery(); + } + openquerymod() { + this.query = true; + this.listofquery(); + } + selectquery(val) { + console.log(val); + this.selectedquery = val; + this.query = false; + } + opencopym() { + // this.router.navigate(['cns-portal', 'reportbuild','reportQuery', this.id, 'queryadd']); + this.router.navigate(['queryadd'], { relativeTo: this.route }); + } + + onCreate() { + console.log(this.addForm.value); + this.reportBuilderService.createdb(this.addForm.value).subscribe((data) => { + console.log(data); + }) + } + + // onSelectedChanged(selected){ + // this.selectedTableData = this.tableList.filter(item => item.selected); + // } + conditionVal; + filter(val) { + + this.filterModel = true; + this.conditionVal = val; + + const defaultObject = { + andor: "AND", + // alias: "", + condition: "=", + value: "", + } + const objectArray = this.conditionVal.map(value => ({ + ...defaultObject, + fields_name: value, + })); + console.log(objectArray); + const data = JSON.stringify(objectArray); + try { + this.conditionData = JSON.parse(data); + console.log('Received data:', this.conditionData); + } catch (e) { console.error('Invalid JSON:', data); } + } + + onAddLines() { + this.conditionData.push({ + andor: "AND", + fields_name: "", + condition: "=", + value: "" + }); + } + deleteRow(index) { + this.conditionData.splice(index, 1); + } + filteredConditionData; + filterAndor; + filtercondlvalue; + onSelected() { + this.filterModel = false; + console.log(this.conditionData); + let formattedString = ''; + for (const condition of this.conditionData) { + const { andor, fields_name, condition: cond, value } = condition; + formattedString += `${andor} ${fields_name} ${cond} '${value}'`; + this.filterAndor = andor; + this.filtercondlvalue = cond + ' ' + value; + } + // this.getConditionBeforeColumn(this.selectedcol1) + // this.getConditionAfterColumn(this.selectedcol1); + console.log(formattedString); + this.filteredConditionData = formattedString + if (this.selectcolquery !== undefined) { + const mQuery = this.selectcolquery + ' ' + formattedString; + console.log(mQuery); + this.selectedquery = mQuery; + } else { + const mQuery = this.selectedtablequery + ' ' + formattedString; + console.log(mQuery); + this.selectedquery = mQuery; + } + } + + // getConditionBeforeColumn(selected: any){ + + // return this.filterAndor; + + + // } + // getConditionAfterColumn(selected: any){ + // return this.filtercondlvalue + + + // } + onBack() { + // this.backQuery = true; + } + + getAliasedColumn(selected: string) { + const index = this.selectedtable.findIndex(item => item === selected); + const alphabet = 'abcdefghijklmnopqrstuvwxyz'; + const aliasIndex = index % alphabet.length; // Calculate the index based on the remainder + const repeatedAlias = alphabet.charAt(aliasIndex); + return repeatedAlias; + } + + goToEdit(id) { + this.router.navigate(["../queryedit/" + id], { relativeTo: this.route }); + } + + rowSelected: any = {}; + modaldelete = false; + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.reportBuilderService.deleteSqlModel(id).subscribe( + (data) => { + console.log(data); + this.listoddatabase(); + if (data) { + this.toastr.success('Deleted successfully'); + } + }, + (error) => { + console.log('Error in adding data...', +error); + if (isNaN(error)) { + this.toastr.success('Deleted successfully'); + } else { + this.toastr.error('Not Deleted Data Getting Some Error'); + } + this.listoddatabase(); + } + ); + } + + + workflow_Lines = { + model: {} + } + foldername; + dataParameter; + + saveReport() { + // this.reportModal = true; + this.rpt_builder(); + } + + rpt_builder() { + + + + + + this.onSaveBuidler(); + } + onSaveBuidler() { + this.reportModal = false; + this.saveReportForm.value.sql_str = this.selectedquery; + this.saveReportForm.value.date_param_req = this.dataParameter; + this.saveReportForm.value.folderName = this.foldername; + this.saveReportForm.value.conn_name = this.databaseName; + const col_str = JSON.stringify(this.selectedcol); + this.saveReportForm.value.column_str = col_str; + const colList = JSON.stringify(this.collist); + this.saveReportForm.value.adhoc_param_html = colList; + const table_str = JSON.stringify(this.selectedtable); + // this.saveReportForm.value.std_param_html = table_str; + this.saveReportForm.value.std_param_html = col_str; + + console.log(this.saveReportForm.value); + let tmp = JSON.stringify(this.saveReportForm.value); //.replace(/\\/g, '') + this.workflow_Lines.model = tmp; + // this.ReportBuilder_Header.Rpt_builder2_lines[0].model = tmp + console.log(this.workflow_Lines); + + this.reportBuilderService.updaterbLineData(this.workflow_Lines, this.lineId).subscribe((data) => { + console.log(data); + if (data || data.status >= 200 && data.status <= 209) { + this.toastr.success('Report save successfully'); + this.router.navigate(["../../all"], { relativeTo: this.route }); + } + }, (error: HttpErrorResponse) => { + console.log(error); + if (error.status == 404) { + this.toastr.error(error.error); + } + if (error.status == 200) { this.toastr.success('Report save successfully'); } + if (error.status == 400) { this.toastr.error('Report Save Unsuccessful'); } + }); + // this.router.navigate(["../../all"], { relativeTo: this.route }); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2.component.html new file mode 100644 index 0000000..90c6b64 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2.component.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2.component.spec.ts new file mode 100644 index 0000000..1b0545d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ReportBuild2Component } from './report-build2.component'; + +describe('ReportBuild2Component', () => { + let component: ReportBuild2Component; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ReportBuild2Component ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ReportBuild2Component); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2.component.ts new file mode 100644 index 0000000..e29256b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-report-build2', + templateUrl: './report-build2.component.html', + styleUrls: ['./report-build2.component.scss'] +}) +export class ReportBuild2Component implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2add/report-build2add.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2add/report-build2add.component.html new file mode 100644 index 0000000..587e702 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2add/report-build2add.component.html @@ -0,0 +1,79 @@ +

{{'CREATE_NEW_REPORT'|translate}}

+{{'add_mode'|translate}}
+
+
+ + + + + +
+ +
+
+ + + +
+
+ + +
+
+ + +
+ +
+ + + +
+
+
+ + +
+
+ +
+
+
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2add/report-build2add.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2add/report-build2add.component.scss new file mode 100644 index 0000000..39de1cb --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2add/report-build2add.component.scss @@ -0,0 +1,80 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } + } + + .entry-pg { + width: 750px; + } + + .button1::after { + content: none; + } + .button1:hover::after { + content: "ADD ROWS"; + } + + $bg-color: #dddddd; + + .section { + background-color: $bg-color; + height: 40px; + } + + .section p { + //color: white; + font-weight: bold; + padding: 10px; + font-size: 18px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .center { + text-align: center; + } + input[type=text],[type=date],textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + + .required-field{ + color: red; + + } + select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2add/report-build2add.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2add/report-build2add.component.spec.ts new file mode 100644 index 0000000..ae3b340 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2add/report-build2add.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ReportBuild2addComponent } from './report-build2add.component'; + +describe('ReportBuild2addComponent', () => { + let component: ReportBuild2addComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ReportBuild2addComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ReportBuild2addComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2add/report-build2add.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2add/report-build2add.component.ts new file mode 100644 index 0000000..5007d44 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2add/report-build2add.component.ts @@ -0,0 +1,71 @@ +import { HttpErrorResponse, HttpHeaderResponse } from '@angular/common/http'; +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; +@Component({ + selector: 'app-report-build2add', + templateUrl: './report-build2add.component.html', + styleUrls: ['./report-build2add.component.scss'] +}) +export class ReportBuild2addComponent implements OnInit { + public entryForm: FormGroup; + constructor(private _fb: FormBuilder, private router: Router,private toastr: ToastrService, + private route: ActivatedRoute,private reportBuilderService: ReportBuilderService) { } + + ngOnInit(): void { + this.entryForm = this._fb.group({ + reportName: [null], + description:[null], + active:[null], + isSql:[false], + Rpt_builder2_lines: this._fb.array([this.initLinesFormReport()]), + }); + + } + + initLinesFormReport() { + return this._fb.group({ + model: '' + }); + } + stdparams; + keysfromurl; + getkeys(){ + if(this.entryForm.value.url !== null){ + this.reportBuilderService.getcolumnDetailsByurl(this.entryForm.value.url).subscribe(data =>{ + console.log(data); + this.keysfromurl = data; + }) + }else{ + this.toastr.error("URL is required"); + } + } + + + toastrShown: boolean = false; + onSubmit(){ + console.log(this.entryForm.value); + this.reportBuilderService.saverbData(this.entryForm.value).subscribe((data)=>{ + console.log(data); + if (data || data.status >= 200 && data.status <= 209) { + this.toastr.success('Report save successfully'); + } + },(error:HttpErrorResponse) => { + console.log(error); + if(error.status==404){ + this.toastr.error(error.error); + } + if(error.status==200){ this.toastr.success('Report save successfully'); } + if(error.status==400){ this.toastr.error('Report Save Unsuccessful'); } + }); + setTimeout(()=>{ + this.router.navigate(["../all"], { relativeTo: this.route }); + },500); + } + goback(){ + this.router.navigate(["../all"], { relativeTo: this.route }); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2all/report-build2all.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2all/report-build2all.component.html new file mode 100644 index 0000000..b9660ed --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2all/report-build2all.component.html @@ -0,0 +1,102 @@ + +
+ +
+
+
+

{{'REPORT_BUILDER_2' | translate}}

+
+
+ + + +
+
+ + + {{'LOADING' | translate}} +
{{error}}
+ + + + {{'GO_TO' | translate}} + + + {{'REPORT_NAME' | translate}} + + + {{'REPORT_DESCRIPTION' | translate}} + + + {{'ACTIVE' | translate}} + + + {{'ACTION' | translate}} + + + + {{'SET_UP' | translate}} + {{user.reportName}} + {{user.description}} + {{user.active}} + + + + {{'DELETE' | translate}} + + + + +
{{'WHO_COLUMN' | translate}}
+
{{'ACCOUNT_ID' | translate}}: {{user.accountId}}
+
{{'CREATED_AT' | translate}}: {{user.createdAt | date}}
+
{{'CREATED_BY' | translate}}: {{user.createdBy}}
+
{{'UPDATED_AT' | translate}}: {{user.updatedAt | date}}
+
{{'UPDATED_BY' | translate}}: {{user.updatedBy}}
+
+
+ + +
+ + + + + +
+ + + + {{'USERS_PER_PAGE' | translate}} + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+
+ + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2all/report-build2all.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2all/report-build2all.component.scss new file mode 100644 index 0000000..aec3e9d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2all/report-build2all.component.scss @@ -0,0 +1,83 @@ +.td-title { + text-align: right; + width: 150px; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + color: white; + } + .td-content{ + text-align: left; + } + .delete,.heading{ + text-align: center; + color: red; + } + input[type='radio']{ + width: 14px !important; + height: 14px !important; + margin: 5px; + -webkit-appearance: none; + -moz-appearance: none; + -o-appearance: none; + appearance: none; + outline: 1px solid gray; + box-shadow: none; + font-size: 0.8em; + text-align: center; + line-height: 1em; + background: red; + } + .dots + { + width: 100px; + height:100px; + border: 1px solid; + border-radius: 50%; + //background-color: #f00; + } + h4{margin-top: 16px;} + .s-order-dash-pg { + margin: 0px; + display:flex; + flex-wrap:wrap; + flex-direction:row; + justify-content:center; + .chart-box{ + margin:16px; + padding:0 16px; + background-color: #fff; + border:1px solid #ccc; + border-radius: 2px; + } + } + #word1{ + width: 190px; + height: 180px; + + } + .center{ + text-align: center; + margin-top: 5px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + .heading{ + text-align: center; + color: red; + } + + select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2all/report-build2all.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2all/report-build2all.component.spec.ts new file mode 100644 index 0000000..5ee51ec --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2all/report-build2all.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ReportBuild2allComponent } from './report-build2all.component'; + +describe('ReportBuild2allComponent', () => { + let component: ReportBuild2allComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ReportBuild2allComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ReportBuild2allComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2all/report-build2all.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2all/report-build2all.component.ts new file mode 100644 index 0000000..9371ab2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2all/report-build2all.component.ts @@ -0,0 +1,91 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; +import { ToastrService } from 'ngx-toastr'; + +@Component({ + selector: 'app-report-build2all', + templateUrl: './report-build2all.component.html', + styleUrls: ['./report-build2all.component.scss'] +}) +export class ReportBuild2allComponent implements OnInit { + + gridData; + loading = false; + error; + selected: any[] = []; + rowSelected :any= {}; + modaldelete=false; + isLoading: boolean = false; + projectId; + moduleId; + projectname; + constructor(private router: Router, + private route: ActivatedRoute,private reportBuilderService: ReportBuilderService, + private toastr:ToastrService, ) { } + + ngOnInit(): void { + + this.getAll(); + } + + + getAll() { + this.isLoading = true; + this.reportBuilderService.getrbDetails().subscribe((data) => { + this.isLoading = false; + console.log(data); + const filteredData = data.filter(item => item.isSql === false); + this.gridData = filteredData; + if(this.gridData.length == 0){ + this.error="No data Available"; + console.log(this.error); + } + }); + } + + gotorunner() + { + this.router.navigate(['../../rerunner'],{relativeTo:this.route}); + } + + goToAdd() { + this.router.navigate(["../add"], { relativeTo: this.route, }); + } + + goToEdit(id: number) { + this.router.navigate(["../edit/" + id], { relativeTo: this.route }); + } + enid; + modelData:any[]=[]; + goToLines(val) { + console.log(val); +this.enid=val.id; +// this.modelData = val.Rpt_builder2_lines[0].model; + + // if(val.Rpt_builder2_lines[0].model !== '' ){ + this.router.navigate(["../edit/" + this.enid], { relativeTo: this.route }); + // } + // else{ + // this.router.navigate(["../reportQuery/" + this.enid], { relativeTo: this.route, }); + // } + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete=true; + } + delete(id){ + this.modaldelete = false; + this.reportBuilderService.deletrbById(id).subscribe((data) => { + console.log(data); + if(data || data == null || data.status >= 200 && data.status <= 209){ + this.toastr.success("Deleted successfully"); + } + this.ngOnInit(); + },(error) => { + console.log(error); + this.toastr.error("getting error in deleting data"); + }) + } + +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2edit/report-build2edit.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2edit/report-build2edit.component.html new file mode 100644 index 0000000..ea3a267 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2edit/report-build2edit.component.html @@ -0,0 +1,95 @@ +
+

REPORT SET UP - Project Details Report ({{ReportData.id}})

+ Edit Mode +
+
+
+
+
+
+ +
+ +
 
+
+
+ + +
+
+ + + + + + {{selected}} + + + + {{state}} + + + + + +
+
+ + + +
+ +
+
+
+
+
+ +
+
+ + +
+
+
+ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2edit/report-build2edit.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2edit/report-build2edit.component.scss new file mode 100644 index 0000000..9893e7c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2edit/report-build2edit.component.scss @@ -0,0 +1,58 @@ +// @import "../../../../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } + } + + .edit-pg { + width: 750px; + } + select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + #lines { + table, + th, + td { + border: 0.5px solid #f1f0f0; + border-collapse: collapse; + } + input, + input :focus { + //-webkit-appearance: none; + outline: none; + border-width: 0px; + border: none; + } + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .center { + text-align: center; + } + textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2edit/report-build2edit.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2edit/report-build2edit.component.spec.ts new file mode 100644 index 0000000..104e81a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2edit/report-build2edit.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ReportBuild2editComponent } from './report-build2edit.component'; + +describe('ReportBuild2editComponent', () => { + let component: ReportBuild2editComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ReportBuild2editComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ReportBuild2editComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2edit/report-build2edit.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2edit/report-build2edit.component.ts new file mode 100644 index 0000000..7fe97f8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-build2/report-build2edit/report-build2edit.component.ts @@ -0,0 +1,159 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; + + +@Component({ + selector: 'app-report-build2edit', + templateUrl: './report-build2edit.component.html', + styleUrls: ['./report-build2edit.component.scss'] +}) +export class ReportBuild2editComponent implements OnInit { + public entryForm: FormGroup; + updated = false; + ReportData:any = {}; + id: number; + nodeEditProperties = { + std_param_html:'', + adhoc_param_html:'', + // column_str:'', + // conn_name:'', + date_param_req:'', + // folderName:'', + url:'', + +}; + constructor(private router: Router, + private route: ActivatedRoute,private reportBuilderService: ReportBuilderService, + private toastr: ToastrService, private _fb: FormBuilder) { } + + ngOnInit(): void { + this.id = this.route.snapshot.params["id"]; + console.log("update with id = ", this.id); + + this.entryForm = this._fb.group({ + std_param_html : [null], + adhoc_param_html:[null], + // column_str:[null], + // conn_name:[null], + date_param_req:[null], + // folderName:[null], + url:[null], + }); + + this.getById(this.id); + this.listoddatabase(); + } + databaselist; + listoddatabase(){ + this.reportBuilderService.getdatabse().subscribe((data)=>{ + this.databaselist=data; + console.log(this.databaselist) + },(error) => { + console.log(error); + if(error){ + } + }); + + } + builderLine; + lineId; + builderLineData:any[] = []; + getById(id: number) { + this.reportBuilderService.getrbDetailsById(id).subscribe( + (data) => { + console.log(data); + this.ReportData = data; + + + this.builderLine = this.ReportData.rpt_builder2_lines; + this.lineId = this.builderLine[0].id + console.log("line data ",this.lineId, this.builderLine); + if(this.builderLine[0].model != '') + { + this.builderLineData = JSON.parse(this.builderLine[0].model) ; + console.log(this.builderLineData); + + this.nodeEditProperties.std_param_html = this.builderLineData[0].std_param_html; + this.nodeEditProperties.adhoc_param_html = this.builderLineData[0].adhoc_param_html; + // this.nodeEditProperties.column_str = this.builderLineData.column_str; + // this.nodeEditProperties.conn_name = this.builderLineData.conn_name; + this.nodeEditProperties.date_param_req = this.builderLineData[0].date_param_req; + this.nodeEditProperties.url = this.builderLineData[0].url; + } + }, + (err) => { + console.log(err); + } + ); + } + + stdparams; + keysfromurl; + getkeys(){ + if(this.nodeEditProperties.url !== null){ + this.reportBuilderService.getcolumnDetailsByurl(this.nodeEditProperties.url).subscribe(data =>{ + console.log(data); + this.keysfromurl = data; + this.nodeEditProperties.adhoc_param_html = this.keysfromurl; + }) + }else{ + this.toastr.error("URL is required"); + } + } + + + listBuilder_Lines = { + model:{} + } + update() { + + + this.builderLineData[0] = { + std_param_html: this.nodeEditProperties.std_param_html, + adhoc_param_html: this.nodeEditProperties.adhoc_param_html, + date_param_req: this.nodeEditProperties.date_param_req, + url: this.nodeEditProperties.url, + }; + + this.builderLineData[0].std_param_html = this.nodeEditProperties.std_param_html; + this.builderLineData[0].adhoc_param_html = this.nodeEditProperties.adhoc_param_html; + // this.builderLineData.column_str = this.nodeEditProperties.column_str; + // this.builderLineData.conn_name = this.nodeEditProperties.conn_name ; + this.builderLineData[0].date_param_req = this.nodeEditProperties.date_param_req; + this.builderLineData[0].url = this.nodeEditProperties.url; + console.log(this.builderLineData); + // this.builderLineData.splice(1); + console.log(this.builderLineData); + let tmp = JSON.stringify(this.builderLineData); //.replace(/\\/g, '') + this.listBuilder_Lines.model = tmp; +console.log(this.listBuilder_Lines); + + this.reportBuilderService.updaterbLineData(this.listBuilder_Lines, this.lineId).subscribe( + (data) => { + console.log(data); + if (data) { + this.toastr.success('Update successfully'); + } + this.router.navigate(["../../all"], { relativeTo: this.route }); + //this.router.navigate(["../../all"],{ relativeTo: this.route, queryParams: { p_id: this.projectId } }); + }, + (error) => { + console.log(error); // this will come from backend + } + ); + // this.lineBuilder_Header = new Rn_Cff_ActionBuilder_Header(); + } + + onSubmit() { + this.updated = true; + this.update(); + } + + back() { + this.router.navigate(["../../all"], { relativeTo: this.route }); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.css new file mode 100644 index 0000000..b844a72 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=report-runner.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.css.map new file mode 100644 index 0000000..756b30e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"report-runner.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.html new file mode 100644 index 0000000..90c6b64 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.spec.ts new file mode 100644 index 0000000..3f7c7ea --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ReportRunnerComponent } from './report-runner.component'; + +describe('ReportRunnerComponent', () => { + let component: ReportRunnerComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ReportRunnerComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ReportRunnerComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.ts new file mode 100644 index 0000000..1256607 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/report-runner.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-report-runner', + templateUrl: './report-runner.component.html', + styleUrls: ['./report-runner.component.scss'] +}) +export class ReportRunnerComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.css new file mode 100644 index 0000000..5c4087a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.css @@ -0,0 +1,90 @@ +.td-title { + text-align: right; + width: 150px; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + color: white; +} + +.td-content { + text-align: left; +} + +.delete, .heading { + text-align: center; + color: red; +} + +input[type=radio] { + width: 14px !important; + height: 14px !important; + margin: 5px; + -webkit-appearance: none; + -moz-appearance: none; + -o-appearance: none; + appearance: none; + outline: 1px solid gray; + box-shadow: none; + font-size: 0.8em; + text-align: center; + line-height: 1em; + background: red; +} + +.dots { + width: 100px; + height: 100px; + bordeR: 1px solid; + border-radius: 50%; +} + +h4 { + margin-top: 16px; +} + +.s-order-dash-pg { + margin: 0px; + display: flex; + flex-wrap: wrap; + flex-direction: row; + justify-content: center; +} +.s-order-dash-pg .chart-box { + margin: 16px; + padding: 0 16px; + background-color: #fff; + border: 1px solid #ccc; + border-radius: 2px; +} + +#word1 { + width: 190px; + height: 180px; +} + +.center { + text-align: center; + margin-top: 5px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.heading { + text-align: center; + color: red; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +}/*# sourceMappingURL=reportrunnerall.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.css.map new file mode 100644 index 0000000..b30f804 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["reportrunnerall.component.scss","reportrunnerall.component.css"],"names":[],"mappings":"AAAA;EACI,iBAAA;EACA,YAAA;EACA,iBAAA;EACA,2CAAA;EACA,YAAA;ACCJ;;ADCE;EACE,gBAAA;ACEJ;;ADAE;EACE,kBAAA;EACA,UAAA;ACGJ;;ADDE;EACE,sBAAA;EACA,uBAAA;EACA,WAAA;EACA,wBAAA;EACA,qBAAA;EACA,mBAAA;EACA,gBAAA;EACA,uBAAA;EACA,gBAAA;EACA,gBAAA;EACA,kBAAA;EACA,gBAAA;EACA,eAAA;ACIJ;;ADFE;EAEE,YAAA;EACA,aAAA;EACA,iBAAA;EACA,kBAAA;ACIJ;;ADDI;EAAG,gBAAA;ACKP;;ADJI;EACE,WAAA;EACA,aAAA;EACA,eAAA;EACA,mBAAA;EACA,uBAAA;ACON;ADNM;EACE,YAAA;EACA,eAAA;EACA,sBAAA;EACA,sBAAA;EACA,kBAAA;ACQR;;ADLI;EACC,YAAA;EACC,aAAA;ACQN;;ADLI;EACE,kBAAA;EACA,eAAA;ACQN;;ADLI;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EACA,wBAAA;EACA,eAAA;EACA,WAAA;EACA,mBAAA;ACQN;;ADNM;EACE,kBAAA;EACA,UAAA;ACSR;;ADNM;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACSR","file":"reportrunnerall.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.html new file mode 100644 index 0000000..8b8f5ff --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.html @@ -0,0 +1,109 @@ + +
+ + +
+
+
+

{{ 'ALL_REPORT' | translate }}

+
+
+ + +
+
+ + + + + + + + +
+
+
+
+
+
+
+
+ + {{ 'SQL' | translate }}items in a light blue badge + {{ 'URL' | translate }}items in an orange badge +
+
+ +
+
+
+
+ {{app.reportName}} +
+
+ +
+
+ {{app.description}} +
+
+
+ + +
+ + + + +
+
+
+
+
+ + + + +
+ + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.scss new file mode 100644 index 0000000..48905e0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.scss @@ -0,0 +1,93 @@ +.td-title { + text-align: right; + width: 150px; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + color: white; + } + .td-content{ + text-align: left; + } + .delete,.heading{ + text-align: center; + color: red; + } + input[type='radio']{ + width: 14px !important; + height: 14px !important; + margin: 5px; + -webkit-appearance: none; + -moz-appearance: none; + -o-appearance: none; + appearance: none; + outline: 1px solid gray; + box-shadow: none; + font-size: 0.8em; + text-align: center; + line-height: 1em; + background: red; + } + .dots + { + width: 100px; + height:100px; + border: 1px solid; + border-radius: 50%; + //background-color: #f00; + } + h4{margin-top: 16px;} + .s-order-dash-pg { + margin: 0px; + display:flex; + flex-wrap:wrap; + flex-direction:row; + justify-content:center; + .chart-box{ + margin:16px; + padding:0 16px; + background-color: #fff; + border:1px solid #ccc; + border-radius: 2px; + } + } + #word1{ + width: 190px; + height: 180px; + + } + .center{ + text-align: center; + margin-top: 5px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + .heading{ + text-align: center; + color: red; + } + + select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + + + #word { + display: inline-block; + width: 320px; + white-space: nowrap; + overflow: hidden !important; + text-overflow: ellipsis; + font-weight: bold; + + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.spec.ts new file mode 100644 index 0000000..3887e78 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ReportrunnerallComponent } from './reportrunnerall.component'; + +describe('ReportrunnerallComponent', () => { + let component: ReportrunnerallComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ReportrunnerallComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ReportrunnerallComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.ts new file mode 100644 index 0000000..c4bfbb1 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunnerall/reportrunnerall.component.ts @@ -0,0 +1,90 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; +import { ToastrService } from 'ngx-toastr'; + +@Component({ + selector: 'app-reportrunnerall', + templateUrl: './reportrunnerall.component.html', + styleUrls: ['./reportrunnerall.component.scss'] +}) +export class ReportrunnerallComponent implements OnInit { + gridData; + loading = false; + error; + selected: any[] = []; + rowSelected :any= {}; + modaldelete=false; + isLoading: boolean = false; + projectId; + moduleId; + projectname; + constructor(private router: Router, + private route: ActivatedRoute,private reportBuilderService: ReportBuilderService, + private toastr:ToastrService, ) { } + + ngOnInit(): void { + + this.getAll(); + } + + + getAll() { + this.isLoading = true; + this.reportBuilderService.getrbDetails().subscribe((data) => { + this.isLoading = false; + console.log(data); + this.gridData = data; + if(this.gridData.length == 0){ + this.error="No data Available"; + console.log(this.error); + } + }); + } + + goToAdd2() { + this.router.navigate(["../../reportbuild2/"], { relativeTo: this.route, }); + } + + goToAdd() { + this.router.navigate(["../../reportbuild/"], { relativeTo: this.route, }); + } + + goToEdit(id: number) { + this.router.navigate(["../edit/" + id], { relativeTo: this.route }); + } + goToRunner(user) { + const id = user.id; + const isSql = user.isSql; + if(isSql == true) { + this.router.navigate(["../runner/" + id], { relativeTo: this.route, }); + }else if(isSql == false){ + this.router.navigate(["../runner2/" + id], { relativeTo: this.route, }); + } + + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete=true; + } + delete(id){ + this.modaldelete = false; + this.reportBuilderService.deletrbById(id).subscribe((data) => { + console.log(data); + if(data || data == null || data.status >= 200 && data.status <= 209){ + this.toastr.success("Deleted successfully"); + } + this.ngOnInit(); + },(error) => { + console.log(error); + this.toastr.error("getting error in deleting data"); + }) + } + + gotoAction(){ + this.router.navigate(["../../actions"], { relativeTo: this.route, queryParams: { m_id: this.moduleId,pname:this.projectname } }); + } + gotoRepo(){ + this.router.navigate(["../../modulecard"], { relativeTo: this.route, queryParams: { p_id: this.projectId } }); + } +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.css new file mode 100644 index 0000000..dae91f0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.css @@ -0,0 +1,76 @@ +input[type=text], [type=date], [type=password] { + width: 100%; + padding: 15px 20px; + background-color: rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.section { + background-color: #dddddd; + height: 40px; +} + +.section p { + padding: 10px; + font-size: 18px; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.35rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +input[type=text], textarea { + width: 100%; + padding: 15px 15px; + background-color: rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.required-field { + color: red; +} + +.postColumn { + border: 1px solid #ccc; + width: 78%; + margin-left: 15px; +} + +.colName { + text-align: center; + padding: 5px; +} + +.colfields { + border: 1px solid black; + margin: 17px; + text-align: center; + padding: 3px; +} + +.fieldWrapper { + margin-top: 20px; +} + +.center { + text-align: center; +}/*# sourceMappingURL=reportrunneredit.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.css.map new file mode 100644 index 0000000..4d6ee07 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["reportrunneredit.component.scss","reportrunneredit.component.css"],"names":[],"mappings":"AAAA;EACI,WAAA;EACA,kBAAA;EAED,oCAAA;EACC,qBAAA;EACA,sBAAA;EACA,kBAAA;EACA,sBAAA;ACAJ;;ADEE;EACE,yBAAA;EACA,YAAA;ACCJ;;ADCE;EAEE,aAAA;EACA,eAAA;ACCJ;;ADCE;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACEJ;;ADCE;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EACA,wBAAA;EACA,eAAA;EACA,WAAA;EACA,mBAAA;ACEJ;;ADAE;EACE,WAAA;EACA,kBAAA;EAED,oCAAA;EACC,qBAAA;EACA,sBAAA;EACA,kBAAA;EACA,sBAAA;ACEJ;;ADAE;EACE,UAAA;ACGJ;;ADAE;EACE,sBAAA;EACA,UAAA;EACA,iBAAA;ACGJ;;ADDE;EACE,kBAAA;EACA,YAAA;ACIJ;;ADFE;EACE,uBAAA;EACA,YAAA;EACA,kBAAA;EACA,YAAA;ACKJ;;ADHE;EACE,gBAAA;ACMJ;;ADJE;EACE,kBAAA;ACOJ","file":"reportrunneredit.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.html new file mode 100644 index 0000000..8d778b1 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.html @@ -0,0 +1,266 @@ + +

Report Name - {{reportName}}

+
+
+
+
+
Date Range
+
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+
Standard Parameters
+ +
+
+
+ + + + + +
+
+
+ +
+
+
+
+
+
Adhoc Parameters
+
+
+
+
+ + + + + + + + + + + + + +
+ + + + + + + + + + +
+
+
+
+
+ + +
+
+

Report Output

+
+
+ + + + + + + + + + +
+
+
+
+ + + + + + + + + + + + +
{{co}}
+ + + {{ formatDate(item[key]) }} + + + {{ item[key] }} + +
+
+ + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.scss new file mode 100644 index 0000000..2075896 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.scss @@ -0,0 +1,80 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } +} + +.entry-pg { + width: 750px; +} + +.button1::after { + content: none; +} +.button1:hover::after { + content: "ADD ROWS"; +} + +$bg-color: #dddddd; + +.section { + background-color: $bg-color; + height: 40px; +} + +.section p { + //color: white; + font-weight: bold; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.center { + text-align: center; +} +input[type=text],[type=password],[type=date],textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.required-field{ + color: red; + +} +select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.spec.ts new file mode 100644 index 0000000..6563a07 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ReportrunnereditComponent } from './reportrunneredit.component'; + +describe('ReportrunnereditComponent', () => { + let component: ReportrunnereditComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ReportrunnereditComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ReportrunnereditComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.ts new file mode 100644 index 0000000..ac51541 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit/reportrunneredit.component.ts @@ -0,0 +1,611 @@ +import { Component, OnInit, ViewEncapsulation } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { DomSanitizer } from '@angular/platform-browser'; +import { ActivatedRoute, Router } from '@angular/router'; +import * as moment from 'moment'; +import { ToastrService } from 'ngx-toastr'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; +import { ExcelService } from 'src/app/services/excel.service'; +import { saveAs } from 'file-saver'; +@Component({ + selector: 'app-reportrunneredit', + templateUrl: './reportrunneredit.component.html', + styleUrls: ['./reportrunneredit.component.scss'], + encapsulation: ViewEncapsulation.None +}) +export class ReportrunnereditComponent implements OnInit { + dynamicForm: FormGroup; + modalselect:boolean=false; + serverData = [{"andor": "AND", + "fields_name": "", + "condition": "=", + "value": ""}]; + andor = ['AND', 'OR','NOT']; + fieldname = ['name1', 'name2']; + condition = ['=','!=','<','>','<=','>=','LIKE','BETWEEN','IN']; + header_id; + public array=[ + { + "id": 1, + "name": "Jack", + "fromDate": "19-05-2023", + "toDate": "03-06-2023" + }, + { + "id": 2, + "name": "Allen", + "fromDate": "18-05-2023", + "toDate": "12-08-2023" + }, + { + "id": 3, + "name": "Annie", + "fromDate": "11-05-2023",//2023-11-05 + "toDate": "19-05-2023" + }, + { + "id": 4, + "name": "ashok", + "fromDate": "08-05-2023", + "toDate": "02-02-2023" + }, + { + "id": 5, + "name": "Anu", + "fromDate": "29-11-2020", + "toDate": "01-06-2021" + }, + { + "id": 6, + "name": "thrymr", + "fromDate": "04-04-2023", + "toDate": "15-05-2023" + }, + { + "id": 7, + "name": "Ab", + "fromDate": "29-11-2022", + "toDate": "01-06-2023" + }, + { + "id": 8, + "name": "thakur", + "fromDate": "04-04-2022", + "toDate": "15-05-2022" + } + ] + selectedfrom; + selectedto; + constructor(private router: Router, + private route: ActivatedRoute,private _fb: FormBuilder, + private reportBuilderService: ReportBuilderService,private toastr:ToastrService,private sanitizer: DomSanitizer,private excel: ExcelService) + { + this.dynamicForm = this._fb.group({ + }); + } +todayDate; + ngOnInit(): void { + this.todayDate = new Date().toISOString().slice(0, 10); + this.header_id = this.route.snapshot.params["id"]; + console.log(" id = ", this.header_id); + // this.duplicateArray=this.array; + this.getById(this.header_id); + + this.select('Today') + setTimeout(() => { + this.runtheQuery(); + }, 2000); + + + } + reportName; + builderLine; + builderLineData; + lineId; + adhocList; + SQLQuery; + stdParamfields; + date_param_req; + getById(id: number) { + this.reportBuilderService.getrbDetailsById(id).subscribe( + (data) => { + console.log(data); + this.reportName = data.reportName; + this.builderLine = data.rpt_builder2_lines; + this.lineId = this.builderLine[0].id + this.builderLineData = JSON.parse(this.builderLine[0].model) ; + console.log(this.lineId,this.builderLineData); + const adhocList = this.builderLineData.adhoc_param_html; + this.adhocList = JSON.parse(adhocList); + console.log(this.adhocList) + this.date_param_req = this.builderLineData.date_param_req; + this.SQLQuery = this.builderLineData.sql_str; + this.getStdParam(this.header_id); + }); + + } + + dynamicHtml:any = []; + dynamicHtmlFlag = false; + stdParmas; + stdParamFlag = false; + getStdParam(id: any){ + console.log(this.builderLineData.std_param_html); + this.dynamicHtml = JSON.parse(this.builderLineData.std_param_html); + // this.dynamicHtml = ['a.abc','b.abcde'] + if (this.dynamicHtml) { + for (const field of this.dynamicHtml) { + if (!this.dynamicForm.get(field)) { + this.dynamicForm.addControl(field, this._fb.control(null)); + } + } + console.log(this.dynamicForm.value); + } + if(this.dynamicHtml == undefined || this.dynamicHtml == ''){ + this.dynamicHtmlFlag = false; + }else{ + this.dynamicHtmlFlag = true; + } + + // this.reportBuilderService.getStdParamById(id).subscribe(data => { + // console.log(data); + // this.stdParmas = data; + // },(error)=>{ + // console.log(error.error.text) + // this.stdParmas = this.sanitizer.bypassSecurityTrustHtml(error.error.text); + + // if(this.stdParmas == undefined || this.stdParmas == ''){ + // this.stdParamFlag = false; + // }else{ + // this.stdParamFlag = true; + // } + // }); + } + modo2(val){ + console.log(val); + this.selectedfrom=val; + } + modo3(val){ + console.log(val); +this.selectedto=val; + } + duplicateArray=[]; + myDateValue: Date; + toDate:Date; + reverseAndTimeStamp(dateString) { + const reverse = new Date(dateString.split("-").reverse().join("-")); + return reverse.getTime(); + } + filterDate() { + let fromdate=moment(this.myDateValue).format('DD-MM-YYYY'); +console.log(fromdate) +let todate=moment(this.toDate).format('DD-MM-YYYY'); +if(this.myDateValue && this.toDate){ +const selectedMembers = this.array.filter(m => { + return this.reverseAndTimeStamp(m.fromDate) >= this.reverseAndTimeStamp(fromdate) && this.reverseAndTimeStamp(m.fromDate) <= this.reverseAndTimeStamp(todate) + } + ); + this.duplicateArray=selectedMembers +}else{ +this.duplicateArray=this.array +} + console.log(this.duplicateArray); // the result objects + this.modalselect=false; +} + + dateParameter: string; + from_date: Date; + to_date: Date; + + calculateThisWeek(): void { + // Calculate the current date + const currentDate = new Date(); + console.log(currentDate) + // Get the day of the week (0-6, where 0 is Sunday) + const currentDayOfWeek = currentDate.getDay(); + + // Calculate the number of days to subtract to get to Monday + const daysToMonday = currentDayOfWeek === 0 ? 6 : currentDayOfWeek - 1; + + // Calculate the date of Monday of the current week + this.from_date = new Date(currentDate); + this.from_date.setDate(currentDate.getDate() - daysToMonday); + + // Calculate the date of Sunday of the current week + this.to_date = new Date(this.from_date); + this.to_date.setDate(this.from_date.getDate() + 6); + console.log(this.from_date); + this.myDateValue=this.from_date; + console.log(this.to_date); + console.log(this.myDateValue); + this.toDate=this.to_date; + + this.FromDatequery = this.from_date.toISOString().substring(0, 10); + this.ToDatequery = this.to_date.toISOString().substring(0, 10); + // this.filterDate(); + } + calculateLastWeek(): void { + // Calculate the current date + const currentDate = new Date(); + + // Get the day of the week (0-6, where 0 is Sunday) + const currentDayOfWeek = currentDate.getDay(); + + // Calculate the number of days to subtract to get to Monday + const daysToMonday = currentDayOfWeek === 0 ? 6 : currentDayOfWeek - 1; + + // Calculate the date of Monday of the previous week + this.from_date = new Date(currentDate); + this.from_date.setDate(currentDate.getDate() - daysToMonday - 7); + + // Calculate the date of Sunday of the previous week + this.to_date = new Date(this.from_date); + this.to_date.setDate(this.from_date.getDate() + 6); + this.myDateValue=this.from_date; + console.log(this.to_date); + console.log(this.myDateValue); + this.toDate=this.to_date; + + this.FromDatequery = this.from_date.toISOString().substring(0, 10); + this.ToDatequery = this.to_date.toISOString().substring(0, 10); + // this.filterDate(); + } + calculateThisMonth(): void { + // Calculate the current date + const currentDate = new Date(); + + // Calculate the date of the first day of the current month + this.from_date = new Date(currentDate.getFullYear(), currentDate.getMonth(), 1); + + // Calculate the date of the last day of the current month + this.to_date = new Date(currentDate.getFullYear(), currentDate.getMonth() + 1, 0); + + this.to_date.setDate(this.from_date.getDate() + 6); + this.myDateValue=this.from_date; + console.log(this.to_date); + console.log(this.myDateValue); + this.toDate=currentDate; + + this.FromDatequery = this.from_date.toISOString().substring(0, 10); + this.ToDatequery = this.to_date.toISOString().substring(0, 10); + // this.filterDate(); + } + + calculateLastMonth(): void { + // Calculate the current date + const currentDate = new Date(); + + // Calculate the date of the first day of the previous month + this.from_date = new Date(currentDate.getFullYear(), currentDate.getMonth() - 1, 1); + + // Calculate the date of the last day of the previous month + this.to_date = new Date(currentDate.getFullYear(), currentDate.getMonth(), 0); + + this.to_date.setDate(this.from_date.getDate() + 6); + this.myDateValue=this.from_date; + console.log(this.to_date); + console.log(this.myDateValue); + this.toDate=this.to_date; + + this.FromDatequery = this.from_date.toISOString().substring(0, 10); + this.ToDatequery = this.to_date.toISOString().substring(0, 10); + // this.filterDate(); + } + calculateThisYear(): void { + // Calculate the current date + const currentDate = new Date(); + + // Calculate the date of the first day of the current year + this.from_date = new Date(currentDate.getFullYear(), 0, 1); + + // Calculate the date of the last day of the current year + this.to_date = new Date(currentDate.getFullYear(), 11, 31); + + this.myDateValue=this.from_date; + console.log(this.to_date); + console.log(this.myDateValue); + this.toDate=this.to_date; + + this.FromDatequery = this.from_date.toISOString().substring(0, 10); + this.ToDatequery = this.to_date.toISOString().substring(0, 10); + // this.filterDate(); + } + + calculateLastYear(): void { + // Calculate the current date + const currentDate = new Date(); + + // Calculate the date of the first day of the previous year + this.from_date = new Date(currentDate.getFullYear() - 1, 0, 1); + + // Calculate the date of the last day of the previous year + this.to_date = new Date(currentDate.getFullYear() - 1, 11, 31); + + this.myDateValue=this.from_date; + console.log(this.to_date); + console.log(this.myDateValue); + this.toDate=this.to_date; + + this.FromDatequery = this.from_date.toISOString().substring(0, 10); + this.ToDatequery = this.to_date.toISOString().substring(0, 10); + // this.filterDate(); + } + SelectdateType; + select(val:any){ + console.log(val); + this.SelectdateType = val; + if(val === 'This Week'){ + this.calculateThisWeek() + }else if(val === 'Last Week'){ + this.calculateLastWeek() + }else if(val === 'This Month'){ + this.calculateThisMonth() + }else if(val === 'Last Month'){ + this.calculateLastMonth() + // }else if(val === 'To Specific FromDate To To Date'){ + // this.openmodel() + } + else if(val === 'This Year'){ + this.calculateThisYear() + }else if(val === 'Last Year'){ + this.calculateLastYear() + } + else if(val === 'Today'){ + this.FromDatequery = null; + this.ToDatequery = null; + this.myDateValue = this.todayDate; + this.toDate = this.todayDate; + + this.FromDatequery = this.myDateValue; + this.ToDatequery = this.toDate; + } + else if(val === ''){ + this.myDateValue = null; + this.toDate = null; + this.FromDatequery = null; + this.ToDatequery = null; + } + + + } + openmodel(){ + this.modalselect=true; + } + + onExport() { + const reportNameWithUnderscore = this.reportName + '_'; + this.excel.exportAsExcelFile(this.rows, reportNameWithUnderscore, + moment().format('YYYYMMDD_HHmmss')) + } + + downloadFile(format: string) { + const date = moment().format('YYYYMMDD_HHmmss') + const reportNameWithUnderscore = this.reportName + '_' + date; + this.reportBuilderService.downloadFile(format, this.rows,reportNameWithUnderscore) + // this.reportBuilderService.downloadFile(format, this.rows).subscribe( + // (data) => { + // // Handle the file data received from the service + // const blob = new Blob([data], { type: 'application/octet-stream' }); + // const reportNameWithUnderscore = this.reportName + '_'; + // saveAs(blob, `${reportNameWithUnderscore}.${format}`); // Save the file using file-saver library + // }, + // (error) => { + // console.error('File download failed:', error); + // const date = moment().format('YYYYMMDD_HHmmss') + // const reportNameWithUnderscore = this.reportName + '_' + date; + // if (format === 'csv') { + // const blob = new Blob([error.error.text], { type: 'text/csv' }); + // saveAs(blob, `${reportNameWithUnderscore}.csv`); + // } else if (format === 'pdf') { + // const blob = new Blob([error.error.text], { type: 'application/pdf' }); + // saveAs(blob,`${reportNameWithUnderscore}.pdf`); + // // const pdf = new jsPDF(); + // // pdf.text(error.error.text, 10, 10); // Assuming 'data' is the PDF content, adjust as needed + + // // pdf.save(`${reportNameWithUnderscore}.pdf`); + // } + // }); + } + back(){ + this.router.navigate(["../../all"], { relativeTo: this.route }); + } +FormattedAdhocparameters; +adocdata; +// showPlusIconRow: number | null = 0; + onAddLines(){ + console.log(this.serverData); + const lastRow = this.serverData[this.serverData.length - 1]; + if (lastRow && lastRow.fields_name !== '') { + let formattedString = ''; + for (const condition of this.serverData) { + const { andor, fields_name, condition: cond, value } = condition; + formattedString += ` ${andor} ${fields_name} ${cond} '${value}' `; + // console.log(formattedString); + this.FormattedAdhocparameters = formattedString + } + this.serverData.push({ + andor: "AND", + fields_name: "", + condition: "=", + value: "" + }); + } + // this.showPlusIconRow = this.serverData.length - 1; + + } + deleteRow(index) { + // this.serverData.splice(index, 1); + // if (index === this.showPlusIconRow) { + // this.showPlusIconRow = null; + // } + if (this.serverData.length > 1) { + this.serverData.splice(index, 1); + } + } + + + rows:any[]; + columns: any[]; + rowdata; + FromDatequery; + ToDatequery; + + newfrom; + newto; + + dateKey; +runtheQuery(){ + console.log(this.dynamicForm.value); + console.log(this.myDateValue , this.toDate); + console.log(this.SQLQuery); + let query = this.SQLQuery; +// let query + if(this.dynamicForm.value){ + // for(let i = 0; i < this.dynamicForm.value.length; i++){ + // // const query = this.SQLQuery + " AND " + this.dynamicForm.controls[i] + " = " + this.dynamicForm.value[i] + + // } + + + // Iterate over the keys in dynamicForm.value + Object.keys(this.dynamicForm.value).forEach((key) => { + // Append the condition for each key to the query + if (this.dynamicForm.value[key] !== null && this.dynamicForm.value[key] !== '') { + query += ` AND ${key} = '${this.dynamicForm.value[key]}'`; + } + // const regex = /FROM/i; + // const match = query.match(regex); + // if (this.dynamicForm.value[key] !== null && this.dynamicForm.value[key] !== '') { + // // query += ` AND ${key} = '${this.dynamicForm.value[key]}'`; + // const columnName = key.split('.').pop(); + // let coalesceExpression = `, COALESCE(${key}, '${this.dynamicForm.value[key]}') as ${columnName}`; + // if (match) { + // // Insert the COALESCE expression before the FROM keyword + // query = query.slice(0, match.index) + coalesceExpression +' '+ query.slice(match.index); + // } + // } + }); + if(this.date_param_req == 'Yes'){ + this.dateKey = 'createdat'; + this.adhocList.forEach(key => { + if (key.includes("a.created_at")) { + this.dateKey ="created_at" ; + } + }); + this.adhocList.forEach(key => { + if (key.includes("a.createdAt")) { + this.dateKey ="createdAt" ; + } +}); +// if (this.adhocList.includes('created_at')) { +// dateKey = 'created_at'; +// } + + if(this.FromDatequery && this.ToDatequery){ + query += ` AND ${this.dateKey} BETWEEN '${this.FromDatequery}' AND '${this.ToDatequery}'`; + + }else if(this.myDateValue && this.toDate){ + if(this.myDateValue){ + const inputDate = new Date(this.myDateValue); + const year = inputDate.getFullYear(); + const month = String(inputDate.getMonth() + 1).padStart(2, "0"); // Months are zero-based, so add 1 + const day = String(inputDate.getDate()).padStart(2, "0"); + this.newfrom = `${year}-${month}-${day}`; + } + if(this.toDate){ + const inputDate = new Date(this.toDate); + const year = inputDate.getFullYear(); + const month = String(inputDate.getMonth() + 1).padStart(2, "0"); // Months are zero-based, so add 1 + const day = String(inputDate.getDate()).padStart(2, "0"); + this.newto = `${year}-${month}-${day}`; + + } + query += ` AND ${this.dateKey} BETWEEN '${this.newfrom}' AND '${this.newto}'`; + +} + } + // `SELECT * FROM abc where cretaedat BETWEEN '2023-04-04' AND '2023-05-19';` + `COALESCE(b.description, 'checking') as description` + // if(this.myDateValue && this.toDate){ + // query += ` AND from_date = NVL(${this.myDateValue}from_date, 'from_date') AND to_date = NVL(${this.toDate}to_date, 'to_date')`; + // } + console.log(query); + } + if(this.FormattedAdhocparameters){ + query += this.FormattedAdhocparameters + } +// query = `SELECT a.name AS name, b.dob AS dob FROM abc a, abcde b WHERE a.name = 'gaurav' AND a.abc = NVL(b.abc, 'name') AND a.abcde = NVL(b.abcde, 'test');` + console.log(query); + this.reportBuilderService.getMasterData(query).subscribe((data) => { + this.rows = data; + console.log(this.rows); +this.rowdata= [this.rows]; + console.log(typeof this.rows); + if(data){ + this.toastr.success("Run Successfully") + } + var j; + var cart = []; + + for(var i = 0; i < data.length; i++) + { + var columnsIn = data[i]; + if(i==1) + { + for(var key in columnsIn) + { + j={prop:key , name: key}; + cart.push(j) + + } + } + } + this.columns = cart; + +}); +// if(this.FromDatequery && this.ToDatequery){ +// this.FromDatequery = null; +// this.ToDatequery = null; +// }else if(this.myDateValue && this.toDate){ +// this.newfrom = null; +// this.toDate = null; +// } +} +getHeaders() { +let headers: string[] = []; +if(this.rows) { + this.rows.forEach((value) => { + Object.keys(value).forEach((key) => { + if(!headers.find((header) => header == key)){ + headers.push(key) + } + + }) + + }) +} +return headers; +} + +formatDate(dateObj: any): string { + // Extract individual date properties + const { year, monthValue, dayOfMonth, hour, minute, second } = dateObj; + + // Create a JavaScript Date object using the extracted properties + const formattedDate = new Date(year, monthValue - 1, dayOfMonth, hour, minute, second); + + // Format the date as needed (e.g., using built-in JavaScript date formatting) + return formattedDate.toLocaleString(); // Or any other desired formatting +} + +isDate(value: any): boolean { + return ( + value instanceof Date || + (value && + value.year !== undefined && + value.monthValue !== undefined && + value.dayOfMonth !== undefined) + ); +} + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit2/reportrunneredit2.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit2/reportrunneredit2.component.html new file mode 100644 index 0000000..3fc204b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit2/reportrunneredit2.component.html @@ -0,0 +1,305 @@ + +

Report Name - {{reportName}}

+
+
+
+
+
Date Range
+
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+
Standard Parameters
+ +
+
+
+ + + + +
+
+
+ +
+
+
+
+
+
Adhoc Parameters
+
+
+
+
+ + + + + + + + + + + + + +
+ + + + + + + + + + +
+
+
+
+
+ + +
+
+

Report Output

+
+
+ + + + + + + + + + + + +
+
+
+
+ + + + + + + + + + + +
{{co}}
+ + + {{ item[key] }} + + + + {{ item[key] | date:'medium' }} + +
+
+
+ + + + + + + + + + + +
{{co}}
+ + + {{ item[key] }} + + + + {{ item[key] | date:'medium' }} + + + + +
+
+ + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit2/reportrunneredit2.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit2/reportrunneredit2.component.scss new file mode 100644 index 0000000..008d21a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit2/reportrunneredit2.component.scss @@ -0,0 +1,81 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } + } + + .entry-pg { + width: 750px; + } + + .button1::after { + content: none; + } + .button1:hover::after { + content: "ADD ROWS"; + } + + $bg-color: #dddddd; + + .section { + background-color: $bg-color; + height: 40px; + } + + .section p { + //color: white; + font-weight: bold; + padding: 10px; + font-size: 18px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .center { + text-align: center; + } + input[type=text],[type=password],[type=date],textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + + .required-field{ + color: red; + + } + select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit2/reportrunneredit2.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit2/reportrunneredit2.component.spec.ts new file mode 100644 index 0000000..e22611d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit2/reportrunneredit2.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { Reportrunneredit2Component } from './reportrunneredit2.component'; + +describe('Reportrunneredit2Component', () => { + let component: Reportrunneredit2Component; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ Reportrunneredit2Component ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(Reportrunneredit2Component); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit2/reportrunneredit2.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit2/reportrunneredit2.component.ts new file mode 100644 index 0000000..1f78b64 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/report-runner/reportrunneredit2/reportrunneredit2.component.ts @@ -0,0 +1,831 @@ +import { Component, OnInit, ViewEncapsulation } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { DomSanitizer } from '@angular/platform-browser'; +import { ActivatedRoute, Router } from '@angular/router'; +import * as moment from 'moment'; +import { ToastrService } from 'ngx-toastr'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; +import { ExcelService } from 'src/app/services/excel.service'; + +@Component({ + selector: 'app-reportrunneredit2', + templateUrl: './reportrunneredit2.component.html', + styleUrls: ['./reportrunneredit2.component.scss'] +}) +export class Reportrunneredit2Component implements OnInit { + dynamicForm: FormGroup; + modalselect:boolean=false; + serverData = [{"andor": "AND", + "fields_name": "", + "condition": "=", + "value": ""}]; + andor = ['AND', 'OR','NOT']; + fieldname = ['name1', 'name2']; + condition = ['=','!=','<','>','<=','>=','LIKE','BETWEEN','IN']; + header_id; + public array=[ + { + "id": 1, + "name": "Jack", + "fromDate": "19-05-2023", + "toDate": "03-06-2023" + }, + { + "id": 2, + "name": "Allen", + "fromDate": "18-05-2023", + "toDate": "12-08-2023" + }, + { + "id": 3, + "name": "Annie", + "fromDate": "11-05-2023",//2023-11-05 + "toDate": "19-05-2023" + }, + { + "id": 4, + "name": "ashok", + "fromDate": "08-05-2023", + "toDate": "02-02-2023" + }, + { + "id": 5, + "name": "Anu", + "fromDate": "29-11-2020", + "toDate": "01-06-2021" + }, + { + "id": 6, + "name": "thrymr", + "fromDate": "04-04-2023", + "toDate": "15-05-2023" + }, + { + "id": 7, + "name": "Ab", + "fromDate": "29-11-2022", + "toDate": "01-06-2023" + }, + { + "id": 8, + "name": "thakur", + "fromDate": "04-04-2022", + "toDate": "15-05-2022" + } + ] + selectedfrom; + selectedto; + constructor(private router: Router, + private route: ActivatedRoute,private _fb: FormBuilder, + private reportBuilderService: ReportBuilderService,private toastr:ToastrService,private sanitizer: DomSanitizer,private excel: ExcelService) + { + this.dynamicForm = this._fb.group({ + }); + } +todayDate; + ngOnInit(): void { + this.todayDate = new Date().toISOString().slice(0, 10); + this.header_id = this.route.snapshot.params["id"]; + console.log(" id = ", this.header_id); + // this.duplicateArray=this.array; + this.getById(this.header_id); + + this.select('Today') + setTimeout(() => { + this.runtheQuery(); + }, 2000); + + + } + reportName; + builderLine; + builderLineData; + lineId; + adhocList:any[]; + SQLQuery; + getUrl; + stdParamfields; + DateParam; + getById(id: number) { + this.reportBuilderService.getrbDetailsById(id).subscribe( + (data) => { + console.log(data); + this.reportName = data.reportName; + this.builderLine = data.rpt_builder2_lines; + this.lineId = this.builderLine[0].id + this.builderLineData = JSON.parse(this.builderLine[0].model) ; + console.log(this.lineId,this.builderLineData); + this.builderLineData = this.builderLineData[0]; + this.adhocList = this.builderLineData.adhoc_param_html; + // this.adhocList = JSON.parse(adhocList); + this.DateParam = this.builderLineData.date_param_req; + this.getUrl = this.builderLineData.url; + console.log(this.adhocList,this.DateParam,this.getUrl) + this.getStdParam(this.header_id); + this.featchData(); + }); + + } + + featchData(){ + this.reportBuilderService.getAllDetailsByurl(this.getUrl).subscribe(data =>{ + console.log(data); + if(data.body){ + console.log(JSON.parse(data.body)); + this.rows = JSON.parse(data.body); + this.filterRows = JSON.parse(data.body); + } + }); + } + + dynamicHtml:any = []; + dynamicHtmlFlag = false; + stdParmas; + stdParamFlag = false; + getStdParam(id: any){ + console.log(this.builderLineData.std_param_html); + this.dynamicHtml = this.builderLineData.std_param_html; + // this.dynamicHtml = ['a.abc','b.abcde'] + if (this.dynamicHtml) { + for (const field of this.dynamicHtml) { + if (!this.dynamicForm.get(field)) { + this.dynamicForm.addControl(field, this._fb.control(null)); + } + } + console.log(this.dynamicForm.value); + } + if(this.dynamicHtml == undefined || this.dynamicHtml == ''){ + this.dynamicHtmlFlag = false; + }else{ + this.dynamicHtmlFlag = true; + } + + // this.reportBuilderService.getStdParamById(id).subscribe(data => { + // console.log(data); + // this.stdParmas = data; + // },(error)=>{ + // console.log(error.error.text) + // this.stdParmas = this.sanitizer.bypassSecurityTrustHtml(error.error.text); + + // if(this.stdParmas == undefined || this.stdParmas == ''){ + // this.stdParamFlag = false; + // }else{ + // this.stdParamFlag = true; + // } + // }); + } + modo2(val){ + console.log(val); + this.selectedfrom=val; + } + modo3(val){ + console.log(val); +this.selectedto=val; + } + duplicateArray=[]; + myDateValue: Date; + toDate:Date; + reverseAndTimeStamp(dateString) { + const reverse = new Date(dateString.split("-").reverse().join("-")); + return reverse.getTime(); + } + filterDate() { + let fromdate=moment(this.myDateValue).format('DD-MM-YYYY'); +console.log(fromdate) +let todate=moment(this.toDate).format('DD-MM-YYYY'); +if(this.myDateValue && this.toDate){ +const selectedMembers = this.array.filter(m => { + return this.reverseAndTimeStamp(m.fromDate) >= this.reverseAndTimeStamp(fromdate) && this.reverseAndTimeStamp(m.fromDate) <= this.reverseAndTimeStamp(todate) + } + ); + this.duplicateArray=selectedMembers +}else{ +this.duplicateArray=this.array +} + console.log(this.duplicateArray); // the result objects + this.modalselect=false; +} + + dateParameter: string; + from_date: Date; + to_date: Date; + + calculateThisWeek(): void { + // Calculate the current date + const currentDate = new Date(); + console.log(currentDate) + // Get the day of the week (0-6, where 0 is Sunday) + const currentDayOfWeek = currentDate.getDay(); + + // Calculate the number of days to subtract to get to Monday + const daysToMonday = currentDayOfWeek === 0 ? 6 : currentDayOfWeek - 1; + + // Calculate the date of Monday of the current week + this.from_date = new Date(currentDate); + this.from_date.setDate(currentDate.getDate() - daysToMonday); + + // Calculate the date of Sunday of the current week + this.to_date = new Date(this.from_date); + this.to_date.setDate(this.from_date.getDate() + 6); + console.log(this.from_date); + this.myDateValue=this.from_date; + console.log(this.to_date); + console.log(this.myDateValue); + this.toDate=this.to_date; + + this.FromDatequery = this.from_date.toISOString().substring(0, 10); + this.ToDatequery = this.to_date.toISOString().substring(0, 10); + // this.filterDate(); + } + calculateLastWeek(): void { + // Calculate the current date + const currentDate = new Date(); + + // Get the day of the week (0-6, where 0 is Sunday) + const currentDayOfWeek = currentDate.getDay(); + + // Calculate the number of days to subtract to get to Monday + const daysToMonday = currentDayOfWeek === 0 ? 6 : currentDayOfWeek - 1; + + // Calculate the date of Monday of the previous week + this.from_date = new Date(currentDate); + this.from_date.setDate(currentDate.getDate() - daysToMonday - 7); + + // Calculate the date of Sunday of the previous week + this.to_date = new Date(this.from_date); + this.to_date.setDate(this.from_date.getDate() + 6); + this.myDateValue=this.from_date; + console.log(this.to_date); + console.log(this.myDateValue); + this.toDate=this.to_date; + + + this.FromDatequery = this.from_date.toISOString().substring(0, 10); + this.ToDatequery = this.to_date.toISOString().substring(0, 10); + // this.filterDate(); + } + calculateThisMonth(): void { + // Calculate the current date + const currentDate = new Date(); + + // Calculate the date of the first day of the current month + this.from_date = new Date(currentDate.getFullYear(), currentDate.getMonth(), 1); + + // Calculate the date of the last day of the current month + this.to_date = new Date(currentDate.getFullYear(), currentDate.getMonth() + 1, 0); + + // Set the 'to_date' to the last day of the current month at the end of the day + this.to_date.setHours(23, 59, 59, 999); + + // Optionally, you can set 'myDateValue' to 'from_date' if needed + this.myDateValue = this.from_date; + + // Optionally, you can set 'toDate' to 'to_date' if needed + this.toDate = this.to_date; + + console.log(this.from_date); + console.log(this.to_date); + + + this.FromDatequery = this.from_date.toISOString().substring(0, 10); + this.ToDatequery = this.to_date.toISOString().substring(0, 10); + } + + + calculateLastMonth(): void { + // Calculate the current date + const currentDate = new Date(); + + // Calculate the date of the first day of the previous month + this.from_date = new Date(currentDate.getFullYear(), currentDate.getMonth() - 1, 1); + + // Calculate the date of the last day of the previous month + this.to_date = new Date(currentDate.getFullYear(), currentDate.getMonth(), 0); + + // Set the 'to_date' to the last day of the previous month at the end of the day + this.to_date.setHours(23, 59, 59, 999); + + // Optionally, you can set 'myDateValue' to 'from_date' if needed + this.myDateValue = this.from_date; + + // Optionally, you can set 'toDate' to 'to_date' if needed + this.toDate = this.to_date; + + console.log(this.from_date); + console.log(this.to_date); + + this.FromDatequery = this.from_date.toISOString().substring(0, 10); + this.ToDatequery = this.to_date.toISOString().substring(0, 10); + } + + calculateThisYear(): void { + // Calculate the current date + const currentDate = new Date(); + + // Calculate the date of the first day of the current year + this.from_date = new Date(currentDate.getFullYear(), 0, 1); + + // Calculate the date of the last day of the current year + this.to_date = new Date(currentDate.getFullYear(), 11, 31); + + this.myDateValue=this.from_date; + console.log(this.to_date); + console.log(this.myDateValue); + this.toDate=this.to_date; + + + this.FromDatequery = this.from_date.toISOString().substring(0, 10); + this.ToDatequery = this.to_date.toISOString().substring(0, 10); + // this.filterDate(); + } + + calculateLastYear(): void { + // Calculate the current date + const currentDate = new Date(); + + // Calculate the date of the first day of the previous year + this.from_date = new Date(currentDate.getFullYear() - 1, 0, 1); + + // Calculate the date of the last day of the previous year + this.to_date = new Date(currentDate.getFullYear() - 1, 11, 31); + + this.myDateValue=this.from_date; + console.log(this.to_date); + console.log(this.myDateValue); + this.toDate=this.to_date; + + this.FromDatequery = this.from_date.toISOString().substring(0, 10); + this.ToDatequery = this.to_date.toISOString().substring(0, 10); + // this.filterDate(); + } + SelectdateType; + select(val:any){ + console.log(val); + this.SelectdateType = val; + if(val === 'This Week'){ + this.FromDatequery = null; + this.ToDatequery = null; + this.calculateThisWeek() + }else if(val === 'Last Week'){ + this.FromDatequery = null; + this.ToDatequery = null; + this.calculateLastWeek() + }else if(val === 'This Month'){ + this.FromDatequery = null; + this.ToDatequery = null; + this.calculateThisMonth() + }else if(val === 'Last Month'){ + this.FromDatequery = null; + this.ToDatequery = null; + this.calculateLastMonth() + // }else if(val === 'To Specific FromDate To To Date'){ + // this.openmodel() + } + else if(val === 'This Year'){ + this.FromDatequery = null; + this.ToDatequery = null; + this.calculateThisYear() + }else if(val === 'Last Year'){ + this.FromDatequery = null; + this.ToDatequery = null; + this.calculateLastYear() + } + else if(val === 'Today'){ + this.FromDatequery = null; + this.ToDatequery = null; + this.myDateValue = this.todayDate; + this.toDate = this.todayDate; + + this.FromDatequery = this.myDateValue; + this.ToDatequery = this.toDate; + } + else if(val === '--Select Particular--'){ + this.FromDatequery = null; + this.ToDatequery = null; + this.newfrom = null; + this.newto = null; + this.myDateValue = null; + this.toDate = null; + } + + + } + openmodel(){ + this.modalselect=true; + } + + onExport() { + const reportNameWithUnderscore = this.reportName + '_'; + this.excel.exportAsExcelFile(this.rows, reportNameWithUnderscore, + moment().format('YYYYMMDD_HHmmss')) + } + + downloadFile(format: string) { + const date = moment().format('YYYYMMDD_HHmmss') + const reportNameWithUnderscore = this.reportName + '_' + date; + this.reportBuilderService.downloadFile(format, this.filterRows,reportNameWithUnderscore) + } + back(){ + this.router.navigate(["../../all"], { relativeTo: this.route }); + } +FormattedAdhocparameters; +adocdata; +// showPlusIconRow: number | null = 0; + onAddLines(){ + console.log(this.serverData); + const lastRow = this.serverData[this.serverData.length - 1]; + if (lastRow && lastRow.fields_name !== '') { + let formattedString = ''; + for (const condition of this.serverData) { + const { andor, fields_name, condition: cond, value } = condition; + formattedString += ` ${andor} ${fields_name} ${cond} '${value}' `; + console.log(formattedString); + this.FormattedAdhocparameters = formattedString + // this.selectcolumn(this.serverData); + } + this.serverData.push({ + andor: "AND", + fields_name: "", + condition: "=", + value: "" + }); + } + // this.showPlusIconRow = this.serverData.length - 1; + + } + deleteRow(index) { + // this.serverData.splice(index, 1); + // if (index === this.showPlusIconRow) { + // this.showPlusIconRow = null; + // } + if (this.serverData.length > 1) { + // Get the item to be deleted + const deletedItem = this.serverData[index]; + + // Remove the item from the serverData array + this.serverData.splice(index, 1); + + // Remove the corresponding entries from selectedValues + if (Array.isArray(deletedItem)) { + for (const item of deletedItem) { + const columnName = item.fields_name; + if (this.selectedValues[columnName]) { + const value = item.value; + const indexInArray = this.selectedValues[columnName].indexOf(value); + if (indexInArray !== -1) { + this.selectedValues[columnName].splice(indexInArray, 1); + } + } + } + } else if (typeof deletedItem === 'object') { + const columnName = deletedItem.fields_name; + if (this.selectedValues[columnName]) { + const value = deletedItem.value; + const indexInArray = this.selectedValues[columnName].indexOf(value); + if (indexInArray !== -1) { + this.selectedValues[columnName].splice(indexInArray, 1); + } + } + } + } + + console.log(this.selectedValues); + this.filterRowsBySelectedValues(); + } + + + rows:any[]; + filterRows:any[]; + columns: any[]; + rowdata; + FromDatequery; + ToDatequery; + + newfrom; + newto; + + dateKey; +runtheQuery(){ + console.log(this.myDateValue , this.toDate); + let query = this.SQLQuery; +// let query + if(this.dynamicForm.value){ + // for(let i = 0; i < this.dynamicForm.value.length; i++){ + // // const query = this.SQLQuery + " AND " + this.dynamicForm.controls[i] + " = " + this.dynamicForm.value[i] + + // } + + + // Iterate over the keys in dynamicForm.value + Object.keys(this.dynamicForm.value).forEach((key) => { + // Append the condition for each key to the query + if (this.dynamicForm.value[key] !== null ) { + this.selectcolumn(this.dynamicForm.value); + // query += ` AND ${key} = '${this.dynamicForm.value[key]}'`; + } + // const regex = /FROM/i; + // const match = query.match(regex); + // if (this.dynamicForm.value[key] !== null && this.dynamicForm.value[key] !== '') { + // // query += ` AND ${key} = '${this.dynamicForm.value[key]}'`; + // const columnName = key.split('.').pop(); + // let coalesceExpression = `, COALESCE(${key}, '${this.dynamicForm.value[key]}') as ${columnName}`; + // if (match) { + // // Insert the COALESCE expression before the FROM keyword + // query = query.slice(0, match.index) + coalesceExpression +' '+ query.slice(match.index); + // } + // } + }); + // if(this.FromDatequery && this.ToDatequery){ + // query += ` AND cretaedat BETWEEN '${this.FromDatequery}' AND '${this.ToDatequery}'`; + + // }else + if(this.DateParam == true){ + this.dateKey = 'createdat'; + this.adhocList.forEach(key => { + if (key.includes("created_at")) { + this.dateKey ="created_at" ; + } + }); + this.adhocList.forEach(key => { + if (key.includes("createdAt")) { + this.dateKey ="createdAt" ; + } +}); + if(this.myDateValue && this.toDate){ + if(this.myDateValue){ + this.newfrom = new Date(this.myDateValue); + // const year = inputDate.getFullYear(); + // const month = String(inputDate.getMonth() + 1).padStart(2, "0"); // Months are zero-based, so add 1 + // const day = String(inputDate.getDate()).padStart(2, "0"); + // this.newfrom = `${year}-${month}-${day}`; + } + if(this.toDate){ + this.newto = new Date(this.toDate); + // const year = inputDate.getFullYear(); + // const month = String(inputDate.getMonth() + 1).padStart(2, "0"); // Months are zero-based, so add 1 + // const day = String(inputDate.getDate()).padStart(2, "0"); + // this.newto = `${year}-${month}-${day}`; + + } + query += ` AND ${this.dateKey} BETWEEN '${this.newfrom}' AND '${this.newto}'`; + +} + } + // if(this.myDateValue && this.toDate){ + // query += ` AND from_date = NVL(${this.myDateValue}from_date, 'from_date') AND to_date = NVL(${this.toDate}to_date, 'to_date')`; + // } + console.log(query); + } +// if(this.FormattedAdhocparameters){ +// query += this.FormattedAdhocparameters +// } + + this.selectcolumn(this.serverData); +// query = `SELECT a.name AS name, b.dob AS dob FROM abc a, abcde b WHERE a.name = 'gaurav' AND a.abc = NVL(b.abc, 'name') AND a.abcde = NVL(b.abcde, 'test');` + console.log(query); + this.reportBuilderService.getMasterData(query).subscribe((data) => { + // this.rows = data; + + console.log(this.rows); +this.rowdata= [this.rows]; + console.log(typeof this.rows); + if(data){ + this.toastr.success("Run Successfully") + } + var j; + var cart = []; + + for(var i = 0; i < data.length; i++) + { + var columnsIn = data[i]; + if(i==1) + { + for(var key in columnsIn) + { + j={prop:key , name: key}; + cart.push(j) + + } + } + } + this.columns = cart; + +}); +} +getHeaders() { +let headers: string[] = []; +if(this.rows) { + this.rows.forEach((value) => { + Object.keys(value).forEach((key) => { + if(!headers.find((header) => header == key)){ + headers.push(key) + } + + }) + + }) +} +return headers; +} + +getFilterHeaders() { + let headers: string[] = []; + if(this.filterRows) { + this.filterRows.forEach((value) => { + Object.keys(value).forEach((key) => { + if(!headers.find((header) => header == key)){ + headers.push(key) + } + }) + }) + } + return headers; + } + + + +selectedValues: { [key: string]: any[] } = {}; +selectcolumn(data: any) { + if (Array.isArray(data)) { + for (const item of data) { + const columnName = item.fields_name; + const value = item.value; + + // Check if fields_name is not empty and value is not null or empty string + if (columnName.trim() !== '') { + if (!this.selectedValues[columnName]) { + this.selectedValues[columnName] = []; + } + + if (value !== null && value.trim() !== '') { + // Only add the value if it's not null and not an empty string + if (!this.selectedValues[columnName].includes(value)) { + this.selectedValues[columnName].push(value); + } + } else { + // Remove the property if the value is null or empty string + delete this.selectedValues[columnName]; + } + } + } + } else if (typeof data === 'object') { + // Handle the first JSON structure (object) + console.log(data); + for (const key in data) { + if (data.hasOwnProperty(key)) { + const columnName = key; + const value = data[key]; + + if (!this.selectedValues[columnName]) { + this.selectedValues[columnName] = []; + } + + if (value !== null && value.trim() !== '') { + // Only add the value if it's not null and not an empty string + if (!this.selectedValues[columnName].includes(value)) { + this.selectedValues[columnName].push(value); + } + } else { + // Remove the property if the value is null or empty string + delete this.selectedValues[columnName]; + } + } + } + } + + console.log(this.selectedValues); + this.filterRowsBySelectedValues(); +} + + + + +filtered = false; +filterRowsBySelectedValues() { + // Create a filteredRows array to store the filtered data + const filteredRows = []; + + // Iterate through each row in the rows array + for (const row of this.rows) { + let isMatch = true; + + // Iterate through each column in the selectedValues object + for (const columnName in this.selectedValues) { + if (this.selectedValues.hasOwnProperty(columnName) && row.hasOwnProperty(columnName)) { + // Get the selected values for the current column + const selectedValuesForColumn = this.selectedValues[columnName]; + + // Get the type of the row's value for the current column + const rowValue = row[columnName]; + const rowValueType = typeof rowValue; + + if (rowValueType === 'boolean') { + // Handle boolean values + if (selectedValuesForColumn.length === 0) { + // If no specific value selected for boolean, include the row + continue; + } + + const selectedBooleanValue = selectedValuesForColumn[0] === 'true'; // Convert to boolean + if (selectedBooleanValue !== rowValue) { + isMatch = false; + break; // No need to check other columns if it's not a match + } + } else { + // Handle other data types, including numbers and strings + // Convert selected values to the appropriate type + const convertedValues = selectedValuesForColumn.map((value) => { + if (rowValueType === 'number') { + return parseFloat(value); // Convert to number + } else { + return value; // Keep the original value (string, etc.) + } + }); + + // Check if the row's value for the current column matches any selected value + if (!convertedValues.includes(rowValue)) { + isMatch = false; + break; // No need to check other columns if it's not a match + } + } + } + } + if(this.FromDatequery !== null && this.ToDatequery !== null){ + this.newfrom = this.FromDatequery + this.newto = this.ToDatequery + } + + if (this.newfrom !== null && this.newto !== null) { + // Extract the year, month, and day from newfrom and newto + const from = new Date(this.newfrom); + const to = new Date(this.newto); + const newfromYear = from.getFullYear(); + const newfromMonth = from.getMonth(); + const newfromDay = from.getDate(); + const newtoYear = to.getFullYear(); + const newtoMonth = to.getMonth(); + const newtoDay = to.getDate(); + + // Extract the year, month, and day from createdAtDate + const dateKey = this.dateKey; + const createdAtDate = new Date(row[dateKey]); + const createdAtYear = createdAtDate.getFullYear(); + const createdAtMonth = createdAtDate.getMonth(); + const createdAtDay = createdAtDate.getDate(); + + // Create new Date objects using the extracted year, month, and day + const newfromDate = new Date(newfromYear, newfromMonth, newfromDay); + const newtoDate = new Date(newtoYear, newtoMonth, newtoDay); + const createdAtDateOnly = new Date(createdAtYear, createdAtMonth, createdAtDay); + + // Check if the createdAtDateOnly is within the specified date range + if (createdAtDateOnly < newfromDate || createdAtDateOnly > newtoDate) { + isMatch = false; + } + } + + + // If the row matches all selected values, add it to the filteredRows array + if (isMatch) { + filteredRows.push(row); + } + } + + // Assign the filtered data to the rows + console.log(filteredRows); + this.filterRows = filteredRows; + + // Check if all arrays in selectedValues are empty + const allArraysEmpty = Object.values(this.selectedValues).every(arr => arr.length === 0); + + // Check if the date range is not selected + const dateRangeNotSelected = !this.newfrom || !this.newto; + + // Set this.filtered based on allArraysEmpty and dateRangeNotSelected + this.filtered = !allArraysEmpty || !dateRangeNotSelected; +} + + + +formatDate(dateObj: any): string { + // Extract individual date properties + const { year, monthValue, dayOfMonth, hour, minute, second } = dateObj; + + // Create a JavaScript Date object using the extracted properties + const formattedDate = new Date(year, monthValue - 1, dayOfMonth, hour, minute, second); + + // Format the date as needed (e.g., using built-in JavaScript date formatting) + return formattedDate.toLocaleString(); // Or any other desired formatting +} + +isDate(value: any): boolean { + return ( + value instanceof Date || + (value && + value.year !== undefined && + value.monthValue !== undefined && + value.dayOfMonth !== undefined) + ); +} + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/setupicon/setupicon.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/setupicon/setupicon.component.html new file mode 100644 index 0000000..972d75d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/setupicon/setupicon.component.html @@ -0,0 +1,148 @@ + + +
+ +
+
+
+ +
+
+ + +
+

{{ 'SETUP_TOOLS' | translate }}

+
+ +
+ +
+
+ + +
+
+
+ +
+
+ +
+

+
+
+ {{item.menuItemDesc}} +
+
+ +
+
+
+ {{item.menuItemDesc}} +
+
+
+
+
+
+ + +
+
+ +
+
+
+ +
+

+
+
+ {{ 'REPORTS' | translate }} +
+
+ +
+
+
+ {{ 'REPORTS_DESCRIPTION' | translate }} +
+
+
+
+
+
+ + + + +
+
+ +
+
+
+ +
+

+
+
+ {{ 'API_REGISTERY' | translate + }} +
+
+ +
+
+
+ {{ 'API_REGISTERY_DESCRIPTION' | translate }} +
+
+
+
+
+
+ + + + +
+
+ +
+
+
+ +
+

+
+
+ {{ 'TOKEN_REGISTERY' | + translate + }} +
+
+ +
+
+
+ {{ 'TOKEN_REGISTERY_DESCRIPTION' | translate + }} +
+
+
+
+
+
+ + + +
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/setupicon/setupicon.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/setupicon/setupicon.component.scss new file mode 100644 index 0000000..126a257 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/setupicon/setupicon.component.scss @@ -0,0 +1,47 @@ +// .card-body{ +// justify-content: center; +// margin: 50px auto 50px 80px; +// padding: 10px; +// } + +.card { + position: relative; + display: block; + background-color: #fff; + background-color: var(--clr-card-bg-color, white); + width: 100%; + // margin-top: 1.2rem; + height: 135px; + + margin: 10px; + +} + +.clr-col-sm-2{ + margin:20px 40px 20px 40px; +} + + +input[type='radio']{ + width: 14px !important; + height: 14px !important; + margin: 5px; + -webkit-appearance: none; + -moz-appearance: none; + -o-appearance: none; + appearance: none; + outline: 1px solid gray; + box-shadow: none; + font-size: 0.8em; + text-align: center; + line-height: 1em; + background: red; + } + .dots + { + width: 100px; + height:100px; + border: 1px solid; + border-radius: 50%; + //background-color: #f00; + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/setupicon/setupicon.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/setupicon/setupicon.component.spec.ts new file mode 100644 index 0000000..2a94930 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/setupicon/setupicon.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SetupiconComponent } from './setupicon.component'; + +describe('SetupiconComponent', () => { + let component: SetupiconComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [SetupiconComponent] + }); + fixture = TestBed.createComponent(SetupiconComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/setupicon/setupicon.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/setupicon/setupicon.component.ts new file mode 100644 index 0000000..4e62715 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/builder/setupicon/setupicon.component.ts @@ -0,0 +1,97 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { MenuGroupService } from 'src/app/services/admin/menu-group.service'; +import { MenumaintanceService } from 'src/app/services/admin/menumaintance.service'; +import { TranslateService } from '@ngx-translate/core'; +@Component({ + selector: 'app-setupicon', + templateUrl: './setupicon.component.html', + styleUrls: ['./setupicon.component.scss'] +}) +export class SetupiconComponent implements OnInit { + + sub; + constructor(private router: Router, private route: ActivatedRoute, private menuservice: MenumaintanceService, private menuGroupService: MenuGroupService, + private translate: TranslateService + ) { } + + + ngOnInit(): void { + this.getById(1116) + } + switchLanguage(language: string) { + this.translate.use(language); + } + getById(id: any) { + this.menuservice.getbyid(id).subscribe((data) => { + this.sub = data; + console.log(this.sub) + }) + } + mc; + me; + md; + mv; + goToUserMaintenance(val) { + console.log(val); + this.menuGroupService.storeaddeditvalues(val); + this.mc = val.mcreate; + this.me = val.medit; + this.md = val.mdelete; + this.mv = val.mvisible; + if (this.mv == 'false') { + this.router.navigate(['/**']) + } + this.router.navigate(['../' + val.main_menu_action_name], { relativeTo: this.route }); + } + + goToUsergrpMaintenance() { + this.router.navigate(['/cns-portal/usergrpmaintance'], { relativeTo: this.route }); + } + + goToMenumaintance() { + this.router.navigate(['/cns-portal/menumaintance'], { relativeTo: this.route }); + } + + goToMenuaccess() { + this.router.navigate(['/cns-portal/menuaccess'], { relativeTo: this.route }); + } + + goToSystemparameters() { + this.router.navigate(['/cns-portal/systemparameters'], { relativeTo: this.route }); + } + + goToAccesstype() { + this.router.navigate(['/cns-portal/accesstype'], { relativeTo: this.route }); + } + + goToreport() { + this.router.navigate(['/cns-portal/reportbuild'], { relativeTo: this.route }); + } + + goTodash() { + this.router.navigate(['/cns-portal/dashboardbuilder'], { relativeTo: this.route }); + } + + goToApiRegistery() { + this.router.navigate(['/cns-portal/apiregistery'], { relativeTo: this.route }); + } + + goTokenRegistery() { + this.router.navigate(['/cns-portal/tokenregistery'], { relativeTo: this.route }); + } + + + // mc; + // me; + // md; + // mv; + // send(val){ + // console.log(val); + // this.menuGroupService.storeaddeditvalues(val); + // this.mc=val.mcreate; + // this.me=val.medit; + // this.md=val.mdelete; + // this.mv=val.mvisible; + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimport.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimport.component.html new file mode 100644 index 0000000..90c6b64 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimport.component.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimport.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimport.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimport.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimport.component.spec.ts new file mode 100644 index 0000000..7981adb --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimport.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BulkimportComponent } from './bulkimport.component'; + +describe('BulkimportComponent', () => { + let component: BulkimportComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ BulkimportComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(BulkimportComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimport.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimport.component.ts new file mode 100644 index 0000000..d00d0dc --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimport.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-bulkimport', + templateUrl: './bulkimport.component.html', + styleUrls: ['./bulkimport.component.scss'] +}) +export class BulkimportComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportadd/bulkimportadd.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportadd/bulkimportadd.component.html new file mode 100644 index 0000000..e2ad5c2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportadd/bulkimportadd.component.html @@ -0,0 +1,183 @@ +

Validation Rule

+Add Mode
+Validation Rules are proccessed while importing bulk records for respective entity +
+ + + + + + + + +
+ + + + + +
+
+
+ + +
+
+ + +
+ +
+ + + +
+
+ + +
+
Add Rule
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Rule NameFrom SheetFrom Columnvalidation TableCheck ColumnReplacement Column (Id)Use Column (Id)Error MessageAction
+ + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ + +
+
+ +
+
+
+ + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportadd/bulkimportadd.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportadd/bulkimportadd.component.scss new file mode 100644 index 0000000..b05187f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportadd/bulkimportadd.component.scss @@ -0,0 +1,81 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } + } + + .entry-pg { + width: 750px; + } + + .button1::after { + content: none; + } + .button1:hover::after { + content: "ADD ROWS"; + } + + $bg-color: #dddddd; + + .section { + background-color: $bg-color; + height: 40px; + } + + .section p { + //color: white; + font-weight: bold; + padding: 10px; + font-size: 18px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .center { + text-align: center; + } + input[type=text],[type=date],[type=number],textarea { + width: 100%; + padding: 15px 15px; + margin-top: 3px; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + + .required-field{ + color: red; + + } + select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportadd/bulkimportadd.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportadd/bulkimportadd.component.spec.ts new file mode 100644 index 0000000..187619d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportadd/bulkimportadd.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BulkimportaddComponent } from './bulkimportadd.component'; + +describe('BulkimportaddComponent', () => { + let component: BulkimportaddComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ BulkimportaddComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(BulkimportaddComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportadd/bulkimportadd.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportadd/bulkimportadd.component.ts new file mode 100644 index 0000000..6e52222 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportadd/bulkimportadd.component.ts @@ -0,0 +1,236 @@ +import { HttpErrorResponse, HttpHeaderResponse } from '@angular/common/http'; +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { BulkimportService } from 'src/app/services/fnd/bulkimport.service'; +@Component({ + selector: 'app-bulkimportadd', + templateUrl: './bulkimportadd.component.html', + styleUrls: ['./bulkimportadd.component.scss'] +}) +export class BulkimportaddComponent implements OnInit { + public entryForm: FormGroup; + selectedFile: File[]=[]; + + datajson; + transform:boolean = false; + checkTransform:boolean = true; + mapperdata; + + entityname; + description; + constructor(private _fb: FormBuilder, private router: Router,private toastr: ToastrService, + private route: ActivatedRoute,private dataservice:BulkimportService) { } + + ngOnInit(): void { + this.entryForm = this._fb.group({ + entity_name:[null], + rule_line:[null], + description: [null], + active: [true], + }); + + this.route.queryParams.subscribe(params => { + const data = params['data']; + this.entityname = params['name']; + this.description = params['description']; + + + if (data) { + try { + this.datajson = JSON.parse(data); + console.log('Received data:', this.datajson); + } catch (e) { console.error('Invalid JSON:', data);} + } + + + }); + + const condition = this.dataservice.getCondition(); + if(condition === 'mapper'){ + this.transform = true; + this.checkTransform = false; + if(this.datajson!== undefined){ + // if(this.entryForm.value.rule_line == 'undefined'){ this.entryForm.value.rule_line= '';} + const currentText = this.entryForm.value.rule_line = ''; + this.mapperdata = currentText + this.datajson; + // this.entryForm.value.rule_line = this.mapperdata; + // this.Updating(); + this.dataservice.setCondition(''); + } + } + + + console.log(this.entryForm.value); + + this.entryForm.patchValue({ + entity_name: this.entityname, + description: this.description, + }); + + console.log(this.entryForm.value); + } + + serverData = [ + { + "rulename": "", + "fromsheet": "", + "fromColumn": "", + "validationTable": "", + "checkColumn": "", + "replacementcolumn": "", + "useColumn": "", + "errormsg": "" + }]; + onAddLines(){ + this.serverData.push({ + rulename: "", + fromsheet:"", + fromColumn: "", + validationTable: "", + checkColumn: "", + replacementcolumn:"", + useColumn:"", + errormsg:"" + }); + console.log(this.serverData); + } + deleteRow(index) { + this.serverData.splice(index, 1); + } + + toastrShown: boolean = false; + onSubmit(){ + this.entryForm.value.rule_line = JSON.stringify(this.serverData); + console.log(this.entryForm.value); + this.dataservice.saveData(this.entryForm.value).subscribe((data)=>{ + console.log(data); + if (data) { + if (!this.toastrShown) { + this.toastrShown = true; // Set the flag to indicate that the toastr message has been shown + this.toastr.success("Added Successfully"); + setTimeout(() => { + this.router.navigate(["../all"], { relativeTo: this.route }); + }, 500); + } + } + }, (error: HttpHeaderResponse)=>{ + console.log(error); + if(error.status===202){ + this.toastr.success("Added Succesfully"); + } + if(error.status===404){ + this.toastr.error("Not Added"); + } + if(error.status===400){ + this.toastr.error("Not Added"); + } + }); + setTimeout(() => { + this.router.navigate(["../all"], { relativeTo: this.route }); + },500); + } + goback(){ + this.router.navigate(["../all"], { relativeTo: this.route }); + } + + + ///rules + checkTrans(){ + + console.log("rule line open") + this.dataservice.setCondition('mapper'); + + this.router.navigate(["../ruleline/"], { relativeTo: this.route, queryParams: {data:this.entryForm.value.rule_line, entityname:this.entryForm.value.entity_name, description:this.entryForm.value.description}, skipLocationChange: true}); + console.log(this.entryForm.value.entity_name); + + } + + mappperclick = false; + goFromMapper(){ + //this.mappperclick = true; + this.dataservice.setCondition('mapper'); + this.router.navigate(["../ruleline/"], { relativeTo: this.route, queryParams: {data:this.entryForm.value.rule_line, entityname:this.entryForm.value.entity_name, description:this.entryForm.value.description}, skipLocationChange: true}); + console.log(this.entryForm.value.entity_name); + } + + transReset(){ + this.entryForm.value.rule_line = undefined; + this.transform = false; + this.checkTransform = true; + } + + + headerData; + getColumns(table){ + console.log(table); + // console.log(this.getbyiddata.entityName); + this.dataservice.getColumnNames(table).subscribe((data) => { + console.log(data); + this.headerData = data; + }); +} + + checkTransformMapper = true; + transformMapper = false; + mapperText; + getHeaderData; + JsonHeader = []; + selectedSheetName: string | null = null; + columnJson =[]; + sheetNames:any; + checkTransMapper(){ + + console.log("Mapper open") + // console.log(this.storeData); + if(this.getHeaderData){ + this.checkTransformMapper = false; + this.transformMapper = true; + console.log(this.getHeaderData); + if(this.mapperText === "undefined"){ this.mapperText= '';} + const currentText = this.mapperText; + let trnsfData = currentText + '' +this.getHeaderData; + this.mapperText = trnsfData; + }else { + this.checkTransformMapper = true; + this.transformMapper = false; + } + + } + mappperModal = false; + goFromMapperField(){ + this.mappperModal = true; + this.selectedSheetName = this.sheetNames[0]; + const tablename = this.columnJson[0].TableName; + this.getColumns(tablename) + if(this.mapperText){ + try { + this.JsonHeader = JSON.parse(this.mapperText); + console.log('Received data:', this.JsonHeader ); + } catch (e) { console.error('Invalid JSON:', this.mapperText);} + }else + if (this.getHeaderData) { + // try { + // this.serverData = data.replace(/\[|\]|"/g, '').split(','); //(/\[|\]|'/g, '') //(/[\[\]"]/g, '') + // console.log('Received data:', this.serverData ); + // } catch (e) { console.error('Invalid JSON:', data);} + try { + this.JsonHeader = JSON.parse(this.getHeaderData); + console.log('Received data:', this.JsonHeader ); + } catch (e) { console.error('Invalid JSON:', this.getHeaderData);} + + } + } + + transResetMapper(){ + this.mapperText = ''; + this.transformMapper = false; + this.checkTransformMapper = true; + } + + onUpdate(){ + this.mappperModal = false; + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportall/bulkimportall.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportall/bulkimportall.component.html new file mode 100644 index 0000000..7a33825 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportall/bulkimportall.component.html @@ -0,0 +1,81 @@ + + +
+ +
+
+
+

Validation Rule

+
+
+ + + +
+
+ + + Loading ... +
{{error}}
+ + + Entity Name + + + Description + + + Active + + + Action + + + {{user.entity_name}} + {{user.description}} + {{user.active}} + + + + Delete + + + + + + + + + + + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+
+ + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportall/bulkimportall.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportall/bulkimportall.component.scss new file mode 100644 index 0000000..c05b1dc --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportall/bulkimportall.component.scss @@ -0,0 +1,4 @@ +.delete,.heading{ + text-align: center; + color: red; + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportall/bulkimportall.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportall/bulkimportall.component.spec.ts new file mode 100644 index 0000000..4627941 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportall/bulkimportall.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BulkimportallComponent } from './bulkimportall.component'; + +describe('BulkimportallComponent', () => { + let component: BulkimportallComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ BulkimportallComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(BulkimportallComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportall/bulkimportall.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportall/bulkimportall.component.ts new file mode 100644 index 0000000..008c056 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportall/bulkimportall.component.ts @@ -0,0 +1,87 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { ExcelService } from 'src/app/services/excel.service'; +import * as moment from 'moment'; +import { BulkimportService } from 'src/app/services/fnd/bulkimport.service'; + +@Component({ + selector: 'app-bulkimportall', + templateUrl: './bulkimportall.component.html', + styleUrls: ['./bulkimportall.component.scss'] +}) +export class BulkimportallComponent implements OnInit { + + loading = false; + error; + selected: any[] = []; + rowSelected :any= {}; + modaldelete=false; + data; + constructor(private router: Router, private toastr: ToastrService, + private route: ActivatedRoute,private excel: ExcelService,private bulkimportService:BulkimportService,) { } + + ngOnInit(): void { + this.getall(); + } + getall(){ + this.bulkimportService.getDetails().subscribe((data)=>{ + console.log(data); + this.data=data; + if(this.data.length == 0){ + this.error="No data Available"; + console.log(this.error); + } + + },(error) => { + console.log(error); + if(error){ + this.error="No data Available OR server Error"; + } + }); + + } + goToAdd(){ + this.router.navigate(["../add"], { relativeTo: this.route }); + + } + onExport() { + this.excel.exportAsExcelFile(this.data, 'user_', + moment().format('YYYYMMDD_HHmmss')) + } + goToEdit(id) { + this.router.navigate(["../edit/" + id], { relativeTo: this.route }); + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete=true; + } + + delete(id){ + this.modaldelete = false; + console.log("in delete "+id); + this.bulkimportService.deleteById(id).subscribe( + (data) => { + console.log(data); + this.ngOnInit(); + if (data == null || data) { + this.toastr.success('Deleted successfully'); + } + }, + (error) => { + console.log('Error in adding data...',+error); + if(isNaN(error)){ + this.toastr.success('Deleted successfully'); + }else{ + this.toastr.error('Not Deleted Data Getting Some Error'); + } + } + ); +} + +activeTab: number = 1; + +showTab(tabNumber: number) { + this.activeTab = tabNumber; +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportedit/bulkimportedit.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportedit/bulkimportedit.component.html new file mode 100644 index 0000000..ed86b6a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportedit/bulkimportedit.component.html @@ -0,0 +1,116 @@ +

Validation Rule

+Edit Mode
+Validation Rules are proccessed while importing bulk records for respective entity +
+
+
+
+
+ + +
+
+ + +
+ +
+ + + +
+
+ + +
+
Select open to add rules, select reset to delete existing rules
+
+
+
+
Add Rule
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Rule NameFrom SheetFrom Columnvalidation TableCheck ColumnReplacement Column (Id)Use Column (Id)Error MessageAction
+ + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ + +
+
+ +
+
+
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportedit/bulkimportedit.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportedit/bulkimportedit.component.scss new file mode 100644 index 0000000..b05187f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportedit/bulkimportedit.component.scss @@ -0,0 +1,81 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } + } + + .entry-pg { + width: 750px; + } + + .button1::after { + content: none; + } + .button1:hover::after { + content: "ADD ROWS"; + } + + $bg-color: #dddddd; + + .section { + background-color: $bg-color; + height: 40px; + } + + .section p { + //color: white; + font-weight: bold; + padding: 10px; + font-size: 18px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .center { + text-align: center; + } + input[type=text],[type=date],[type=number],textarea { + width: 100%; + padding: 15px 15px; + margin-top: 3px; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + + .required-field{ + color: red; + + } + select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportedit/bulkimportedit.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportedit/bulkimportedit.component.spec.ts new file mode 100644 index 0000000..766987b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportedit/bulkimportedit.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BulkimporteditComponent } from './bulkimportedit.component'; + +describe('BulkimporteditComponent', () => { + let component: BulkimporteditComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ BulkimporteditComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(BulkimporteditComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportedit/bulkimportedit.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportedit/bulkimportedit.component.ts new file mode 100644 index 0000000..34cdd86 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportedit/bulkimportedit.component.ts @@ -0,0 +1,200 @@ +import { HttpErrorResponse, HttpHeaderResponse } from '@angular/common/http'; +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { BulkimportService } from 'src/app/services/fnd/bulkimport.service'; + +@Component({ + selector: 'app-bulkimportedit', + templateUrl: './bulkimportedit.component.html', + styleUrls: ['./bulkimportedit.component.scss'] +}) +export class BulkimporteditComponent implements OnInit { + public entryForm: FormGroup; + selectedFile: File[]=[]; + id; + datajson; + transform:boolean = false; + checkTransform:boolean = true; + mapperdata; + tdata: any = {}; + entityname; + description; + constructor(private _fb: FormBuilder, private router: Router,private toastr: ToastrService, + private route: ActivatedRoute,private dataservice:BulkimportService) { } + + ngOnInit(): void { + this.id = this.route.snapshot.params["id"]; + console.log("update with id = ", this.id); + + // this.entryForm = this._fb.group({ + // entity_name:[null], + // rule_line:[null], + // description: [null], + // active: [true], + // }); + + + this.dataservice.getDetailsById(this.id).subscribe(data => { + this.tdata = data; + this.serverData = JSON.parse(data.rule_line); + console.log(this.tdata); + }, + (err) => { + console.log(err); + }); + + + setTimeout(() => { + + + this.route.queryParams.subscribe(params => { + const data = params['data']; + this.entityname = params['name']; + this.description = params['description']; + + + if (data) { + try { + this.datajson = JSON.parse(data); + console.log('Received data:', this.datajson); + } catch (e) { console.error('Invalid JSON:', data);} + } + + + }); + + if(this.tdata.rule_line !== '' && this.tdata.rule_line !== null && this.tdata.rule_line !== undefined) { + console.log(this.tdata.rule_line) + this.checkTransform = false; + this.transform = true; + }else{ + console.log(this.tdata.rule_line) + this.checkTransform = true; + this.transform = false; + this.checkTransform = true; + } + + const condition = this.dataservice.getCondition(); + if(condition === 'mapper'){ + console.log("datagetting"); + this.transform = true; + this.checkTransform = false; + if(this.datajson!== undefined){ + // if(this.entryForm.value.rule_line == 'undefined'){ this.entryForm.value.rule_line= '';} + const currentText = this.tdata.rule_line = ''; + this.mapperdata = currentText + this.datajson; + this.tdata.rule_line = this.mapperdata; + // this.Updating(); + this.dataservice.setCondition(''); + } + } +}, 1000); + + console.log(this.tdata); + // this.entryForm.patchValue({ + // entity_name: this.entityname, + // description: this.description, + // }); + // console.log(this.entryForm.value); + } + + getById(id: number) { + + } + + serverData = []; + onAddLines(){ + this.serverData.push({ + rulename: "", + fromsheet:"", + fromColumn: "", + validationTable: "", + checkColumn: "", + replacementcolumn:"", + useColumn:"", + errormsg:"" + }); + console.log(this.serverData); + } + deleteRow(index) { + this.serverData.splice(index, 1); + } + + toastrShown: boolean = false; + onSubmit(){ + this.tdata.rule_line = JSON.stringify(this.serverData); + console.log(this.tdata); + this.dataservice.updateData(this.tdata, this.id).subscribe((data)=>{ + console.log(data); + if (data.operationStatus) { + this.toastr.warning(data.operationMessage); + }else{ + if (!this.toastrShown) { + this.toastrShown = true; // Set the flag to indicate that the toastr message has been shown + this.toastr.success("Update Successfully"); + setTimeout(() => { + this.router.navigate(["../../all"], { relativeTo: this.route }); + }, 500); + } + } + }, (error: HttpHeaderResponse)=>{ + console.log(error); + if(error.status===202){ + this.toastr.success("Update Succesfully"); + } + if(error.status===404){ + this.toastr.error("Not Update"); + } + if(error.status===400){ + this.toastr.error("Not Update"); + } + }); + setTimeout(() => { + this.router.navigate(["../../all"], { relativeTo: this.route }); + },500); + } + + Updating(){ + console.log(this.tdata); + this.dataservice.updateData(this.tdata, this.id).subscribe(data=>{ + console.log(data); + // this.ngOnInit(); + }, (error: HttpHeaderResponse)=>{ + console.log(error); + }); + } + + goback(){ + this.router.navigate(["../../all"], { relativeTo: this.route }); + } + + + + ///rules + checkTrans(){ + + console.log("rule line open") + this.dataservice.setCondition('mapper'); + + this.router.navigate(["../../rulelineedit/"], { relativeTo: this.route, queryParams: {id:this.id, data:this.tdata.rule_line, entityname:this.tdata.entity_name, description:this.tdata.description}, skipLocationChange: true}); + console.log(this.tdata.rule_line); + + } + + mappperclick = false; + goFromMapper(){ + //this.mappperclick = true; + this.dataservice.setCondition('mapper'); + this.router.navigate(["../../rulelineedit/"], { relativeTo: this.route, queryParams: {id:this.id, data:this.tdata.rule_line, entityname:this.tdata.entity_name, description:this.tdata.description}, skipLocationChange: true}); + console.log(this.tdata.rule_line); + } + + transReset(){ + this.tdata.rule_line = undefined; + this.transform = false; + this.checkTransform = true; + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component.html new file mode 100644 index 0000000..5efccb0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component.html @@ -0,0 +1,73 @@ +

Add Rule Lines

+
+
+
+ +
+ +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Rule NameFrom SheetFrom Columnvalidation TableCheck ColumnReplacement Column (Id)Use Column (Id)Error MessageAction
+ + + + + + + + + + + + + + + + + + + +
+
+
+ +
+ + +
+
+
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component.scss new file mode 100644 index 0000000..c1113c0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component.scss @@ -0,0 +1,51 @@ +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.35rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + input[type=text],textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + .required-field{ + color: red; + + } + .postColumn{ + border: 1px solid #ccc; + width: 78%; + margin-left: 15px; + } + .colName{ + text-align: center; + padding: 5px; + } + .colfields{ + border: 1px solid black; + margin: 17px; + text-align: center; + padding: 3px; + } + .fieldWrapper{ + margin-top: 20px; + } + .center { + text-align: center; + } + + select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component.spec.ts new file mode 100644 index 0000000..cd66c14 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BulkimporteditlineComponent } from './bulkimporteditline.component'; + +describe('BulkimporteditlineComponent', () => { + let component: BulkimporteditlineComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ BulkimporteditlineComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(BulkimporteditlineComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component.ts new file mode 100644 index 0000000..bfee4cf --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component.ts @@ -0,0 +1,172 @@ +import { Component, OnInit } from '@angular/core'; +import { FormGroup, FormBuilder, FormArray } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { DataflowService } from 'src/app/services/fnd/dataflow.service'; +// import { NewwebhookService } from 'src/app/services/fnd/newwebhook.service'; +// import { SftplocationService } from 'src/app/services/fnd/sftplocation.service'; +// import { Webhookservicesui1Service } from 'src/app/services/fnd/webhookservicesui1.service'; + +@Component({ + selector: 'app-bulkimporteditline', + templateUrl: './bulkimporteditline.component.html', + styleUrls: ['./bulkimporteditline.component.scss'] +}) +export class BulkimporteditlineComponent implements OnInit { + serverData = []; + id; + title + sourceTable; + sourceFData; + Mid:any; + flowType; + remoteD; + sftpDId; + emailDId; + key; + webhookDId; + + name; + description; + // data = ['email', 'password'] + constructor( private router : Router, + private route: ActivatedRoute, + private dataservice:DataflowService, + // private sftpService:SftplocationService, + // private emaildbService:Webhookservicesui1Service, + // private webhookService:NewwebhookService, + private _fb:FormBuilder) { } + + public entryForm: FormGroup; + + ngOnInit(): void { + // this.entryForm = this._fb.group({ + // connector_json: this._fb.array([]) + // }); + + this.route.queryParams.subscribe(params => { + this.id = params['id']; + // this.Mid = params['mid']; + const data = params['data']; + this.name = params['entityname']; + this.description = params['description']; + if (data) { + // try { + // this.serverData = data.replace(/\[|\]|"/g, '').split(','); //(/\[|\]|'/g, '') //(/[\[\]"]/g, '') + // console.log('Received data:', this.serverData ); + // } catch (e) { console.error('Invalid JSON:', data);} + try { + this.serverData = JSON.parse(data); + console.log('Received data:', this.serverData ); + } catch (e) { console.error('Invalid JSON:', data);} + } + // this.serverData.map(d => + // this.person.push(this._fb.group({ andor: '', fields_name:'',condition:'',value: d ,})) + // ); + + }); + + const condition = this.dataservice.getCondition(); + if(condition === 'mapper'){ + console.log("mapper") + }else if(condition === 'filter'){ + console.log("filter"); + } + console.log(this.name,this.description); + + + + + } + + columnList(){ + + this.dataservice.getColumnListFromSourceTable(this.id,this.title).subscribe((data)=>{ + console.log(data); + this.sourceTable = data; + }); + } + + // sftpHeader(){ + // this.sftpService.getExcelHeaders(this.title,this.remoteD).subscribe((headers) => { + // console.log("sftp Data",headers); + // this.sourceTable = headers; + // }); + // } + + // emailHeader(){ + // this.emaildbService.getHeadersFromExcelMail(this.emailDId,this.title,this.key).subscribe((headers)=>{ + // console.log("email Data",headers); + // this.sourceTable = headers; + // }); + // } + + // webhookHeader(){ + // this.webhookService.getHeadersFromWBExcelMail(this.webhookDId,this.title,this.key).subscribe((headers)=>{ + // console.log("webhook Data",headers); + // this.sourceTable = headers; + // }); + // } + + + FilDemo(){ + let data = [""]; + const defaultObject = { + andor: "AND", + fields_name: "", + condition: "=", +} + const objectArray = data.map(value => ({ + ...defaultObject, + value: value, + })); + console.log(objectArray); + this.sourceFData = JSON.stringify(objectArray); + + try { + this.serverData = JSON.parse(this.sourceFData); + console.log('Received data:', this.serverData ); + } catch (e) { console.error('Invalid JSON:', this.sourceFData);} + + + + } + // get person() { + // return this.entryForm.get("connector_json") as FormArray; + // } + + onUpdate(){ + console.log(this.serverData); + let serverData = JSON.stringify(this.serverData); + console.log(serverData); + let product = JSON.stringify(serverData); + console.log(product); + console.log(this.Mid); + this.router.navigate(['../edit/'+ this.id],{relativeTo:this.route, queryParams: { data: product, name:this.name, description:this.description }, skipLocationChange: true}); + } + back(){ + this.router.navigate(['../edit/'+ this.id], { relativeTo: this.route }); + this.dataservice.setCondition(''); + } + + onAddLines(){ + this.serverData.push({ + rulename: "", + fromsheet:"", + fromColumn: "", + validationTable: "", + checkColumn: "", + replacementcolumn:"", + useColumn:"", + errormsg:"" + }); + } + deleteRow(index) { + this.serverData.splice(index, 1); + } + + // postApi(){ + // this.data.map(d => + // this.person.push(this._fb.group({ fieldname: d , checkboxval:'',sample_format:'',mapped_fields:'',dest_format:''})) + // ); + // } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportline/bulkimportline.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportline/bulkimportline.component.html new file mode 100644 index 0000000..5efccb0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportline/bulkimportline.component.html @@ -0,0 +1,73 @@ +

Add Rule Lines

+
+
+
+ +
+ +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Rule NameFrom SheetFrom Columnvalidation TableCheck ColumnReplacement Column (Id)Use Column (Id)Error MessageAction
+ + + + + + + + + + + + + + + + + + + +
+
+
+ +
+ + +
+
+
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportline/bulkimportline.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportline/bulkimportline.component.scss new file mode 100644 index 0000000..c1113c0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportline/bulkimportline.component.scss @@ -0,0 +1,51 @@ +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.35rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + input[type=text],textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + .required-field{ + color: red; + + } + .postColumn{ + border: 1px solid #ccc; + width: 78%; + margin-left: 15px; + } + .colName{ + text-align: center; + padding: 5px; + } + .colfields{ + border: 1px solid black; + margin: 17px; + text-align: center; + padding: 3px; + } + .fieldWrapper{ + margin-top: 20px; + } + .center { + text-align: center; + } + + select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportline/bulkimportline.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportline/bulkimportline.component.spec.ts new file mode 100644 index 0000000..2e7b108 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportline/bulkimportline.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BulkimportlineComponent } from './bulkimportline.component'; + +describe('BulkimportlineComponent', () => { + let component: BulkimportlineComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ BulkimportlineComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(BulkimportlineComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportline/bulkimportline.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportline/bulkimportline.component.ts new file mode 100644 index 0000000..0bc92f2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/bulkimport/bulkimportline/bulkimportline.component.ts @@ -0,0 +1,175 @@ +import { Component, OnInit } from '@angular/core'; +import { FormGroup, FormBuilder, FormArray } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { DataflowService } from 'src/app/services/fnd/dataflow.service'; +// import { NewwebhookService } from 'src/app/services/fnd/newwebhook.service'; +// import { SftplocationService } from 'src/app/services/fnd/sftplocation.service'; +// import { Webhookservicesui1Service } from 'src/app/services/fnd/webhookservicesui1.service'; + +@Component({ + selector: 'app-bulkimportline', + templateUrl: './bulkimportline.component.html', + styleUrls: ['./bulkimportline.component.scss'] +}) +export class BulkimportlineComponent implements OnInit { + serverData = []; + andor = ['AND', 'OR','NOT']; + fieldname = ['name1', 'name2']; + condition = ['=','!=','<','>','<=','>=','LIKE','BETWEEN','IN']; + id; + title + sourceTable; + sourceFData; + Mid:any; + flowType; + remoteD; + sftpDId; + emailDId; + key; + webhookDId; + + name; + description; + // data = ['email', 'password'] + constructor( private router : Router, + private route: ActivatedRoute, + private dataservice:DataflowService, + // private sftpService:SftplocationService, + // private emaildbService:Webhookservicesui1Service, + // private webhookService:NewwebhookService, + private _fb:FormBuilder) { } + + public entryForm: FormGroup; + + ngOnInit(): void { + // this.entryForm = this._fb.group({ + // connector_json: this._fb.array([]) + // }); + + this.route.queryParams.subscribe(params => { + // this.id = params['id']; + // this.Mid = params['mid']; + const data = params['data']; + this.name = params['entityname']; + this.description = params['description']; + if (data) { + // try { + // this.serverData = data.replace(/\[|\]|"/g, '').split(','); //(/\[|\]|'/g, '') //(/[\[\]"]/g, '') + // console.log('Received data:', this.serverData ); + // } catch (e) { console.error('Invalid JSON:', data);} + try { + this.serverData = JSON.parse(data); + console.log('Received data:', this.serverData ); + } catch (e) { console.error('Invalid JSON:', data);} + } + // this.serverData.map(d => + // this.person.push(this._fb.group({ andor: '', fields_name:'',condition:'',value: d ,})) + // ); + + }); + + const condition = this.dataservice.getCondition(); + if(condition === 'mapper'){ + console.log("mapper") + }else if(condition === 'filter'){ + console.log("filter"); + } + console.log(this.name,this.description); + + + + + } + + columnList(){ + + this.dataservice.getColumnListFromSourceTable(this.id,this.title).subscribe((data)=>{ + console.log(data); + this.sourceTable = data; + }); + } + + // sftpHeader(){ + // this.sftpService.getExcelHeaders(this.title,this.remoteD).subscribe((headers) => { + // console.log("sftp Data",headers); + // this.sourceTable = headers; + // }); + // } + + // emailHeader(){ + // this.emaildbService.getHeadersFromExcelMail(this.emailDId,this.title,this.key).subscribe((headers)=>{ + // console.log("email Data",headers); + // this.sourceTable = headers; + // }); + // } + + // webhookHeader(){ + // this.webhookService.getHeadersFromWBExcelMail(this.webhookDId,this.title,this.key).subscribe((headers)=>{ + // console.log("webhook Data",headers); + // this.sourceTable = headers; + // }); + // } + + + FilDemo(){ + let data = [""]; + const defaultObject = { + andor: "AND", + fields_name: "", + condition: "=", +} + const objectArray = data.map(value => ({ + ...defaultObject, + value: value, + })); + console.log(objectArray); + this.sourceFData = JSON.stringify(objectArray); + + try { + this.serverData = JSON.parse(this.sourceFData); + console.log('Received data:', this.serverData ); + } catch (e) { console.error('Invalid JSON:', this.sourceFData);} + + + + } + // get person() { + // return this.entryForm.get("connector_json") as FormArray; + // } + + onUpdate(){ + console.log(this.serverData); + let serverData = JSON.stringify(this.serverData); + console.log(serverData); + let product = JSON.stringify(serverData); + console.log(product); + console.log(this.Mid); + this.router.navigate(['../add'],{relativeTo:this.route, queryParams: { data: product, name:this.name, description:this.description }, skipLocationChange: true}); + } + back(){ + this.router.navigate(["../add"], { relativeTo: this.route }); + this.dataservice.setCondition(''); + } + + onAddLines(){ + this.serverData.push({ + rulename: "", + fromsheet:"", + fromColumn: "", + validationTable: "", + checkColumn: "", + replacementcolumn:"", + useColumn:"", + errormsg:"" + }); + } + deleteRow(index) { + this.serverData.splice(index, 1); + } + + // postApi(){ + // this.data.map(d => + // this.person.push(this._fb.group({ fieldname: d , checkboxval:'',sample_format:'',mapped_fields:'',dest_format:''})) + // ); + // } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamanagement/datamanagement.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamanagement/datamanagement.component.html new file mode 100644 index 0000000..b45ed70 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamanagement/datamanagement.component.html @@ -0,0 +1,176 @@ + + +
+
+
+

Data Management

+
+
+ + + + +
+
+ + Loading ... +
{{error}}
+
+ + + Go To + + + + + Entity Name + + + + File Name + + + Action + + + Workflow + {{user.entity_name}} + {{user.file_name}} + + + + Delete + + + + + + + + + + + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+
+ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamanagement/datamanagement.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamanagement/datamanagement.component.scss new file mode 100644 index 0000000..c6c7e70 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamanagement/datamanagement.component.scss @@ -0,0 +1,84 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } +} + +.entry-pg { + width: 750px; +} + +.button1::after { + content: none; +} +.button1:hover::after { + content: "ADD ROWS"; +} + +$bg-color: #dddddd; + +.section { + background-color: $bg-color; + height: 40px; +} + +.section p { + //color: white; + font-weight: bold; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.center { + text-align: center; +} +input[type=text],[type=date],[type=number],textarea { + width: 100%; + padding: 15px 15px; + margin-top: 3px; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.required-field{ + color: red; + +} +select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +.delete,.heading{ + text-align: center; + color: red; +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamanagement/datamanagement.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamanagement/datamanagement.component.spec.ts new file mode 100644 index 0000000..19d47ed --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamanagement/datamanagement.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DatamanagementComponent } from './datamanagement.component'; + +describe('DatamanagementComponent', () => { + let component: DatamanagementComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ DatamanagementComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(DatamanagementComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamanagement/datamanagement.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamanagement/datamanagement.component.ts new file mode 100644 index 0000000..802a5e6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamanagement/datamanagement.component.ts @@ -0,0 +1,188 @@ +import { HttpErrorResponse, HttpHeaderResponse } from '@angular/common/http'; +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import * as moment from 'moment'; +import { ToastrService } from 'ngx-toastr'; +import { DatamanagementService } from 'src/app/services/fnd/datamanagement.service'; +import { UsermaintanceService } from 'src/app/services/admin/usermaintance.service'; +import { ExcelService } from 'src/app/services/excel.service'; +import { BulkimportService } from 'src/app/services/fnd/bulkimport.service'; +@Component({ + selector: 'app-datamanagement', + templateUrl: './datamanagement.component.html', + styleUrls: ['./datamanagement.component.scss'] +}) +export class DatamanagementComponent implements OnInit { + rowSelected: any = {}; + modaldelete = false; + modalEdit = false; + modalAdd = false; + public entryForm: FormGroup; + selected: any[] = []; + error; + loading = false; + data; + udata; + selectedFile: File[] = []; + entitydata; + // tableList =['priority','impact','urgency','category','state','contact_type','customer','handler']; + tableList; + constructor(private excel: ExcelService, private datamservice: DatamanagementService, private toastr: ToastrService, + private _fb: FormBuilder, private userservice: UsermaintanceService, private router: Router, private bulkimportService: BulkimportService, + private route: ActivatedRoute,) { } + + ngOnInit(): void { + this.getall(); + // this.getuserall(); + this.allentity(); + this.entitygetall(); + this.entryForm = this._fb.group({ + user_id: [null], + file_name: [null], + entityName: [null], + // entity_name:[null], + file_type: [null], + + }); + // this.datamservice.getjson().subscribe((data)=>{ + // console.log(data); + // }) + } + getall() { + this.datamservice.getall().subscribe((data) => { + console.log('data managemnt ', data); + this.data = data; + if (this.data.length == 0) { + this.error = "No data Available"; + console.log(this.error); + } + + }, (error) => { + console.log(error); + if (error) { + this.error = "No data Available OR server Error"; + } + }); + } + + entitygetall() { + this.bulkimportService.getDetails().subscribe((data) => { + console.log(data); + this.tableList = data; + }, (error) => { + console.log(error); + }); + } + + + getuserall() { + this.userservice.getAll().subscribe((data) => { + console.log(data); + this.udata = data; + }) + } + allentity() { + // this.datamservice.getallentity().subscribe((data)=>{ + // console.log(data); + // this.entitydata=data; + // }, (error: HttpHeaderResponse)=>{ + // console.log(error); + // }) + } + onExport() { + this.excel.exportAsExcelFile(this.data, 'user_', + moment().format('YYYYMMDD_HHmmss')) + } + public onFileChanged(event) { + //Select File + console.log(event); + this.selectedFile = event.target.files[0]; + + } + goToAdd() { + this.modalAdd = true; + } + onSubmit() { + console.log(this.entryForm.value); + this.datamservice.create(this.selectedFile, this.entryForm.value.entityName).subscribe((data) => { + console.log(data); + if (data.status === 202) { + this.toastr.success("Added Succesfully"); + } + setTimeout(() => { + this.getall(); + }, 1000); + this.getall(); + }, (error: HttpErrorResponse) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + this.toastr.success("Added Succesfully"); + setTimeout(() => { + this.getall(); + }, 1000); + } + if (error.status === 404) { + this.toastr.error("Not Added"); + } + this.ngOnInit(); + }); + this.modalAdd = false; + } + onEdit(row) { + this.rowSelected = row; + this.modalEdit = true; + } + + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.datamservice.delete(id).subscribe( + (data) => { + console.log(data); + + this.ngOnInit(); + + if (data.status >= 200 && data.status <= 299 || data == null) { + this.toastr.success("Delete Succesfully"); + } + }, (error: HttpHeaderResponse) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + this.toastr.success("Delete Succesfully"); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error("Not Delete"); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Server Error"); + } + }); + this.ngOnInit(); + } + onUpdate(id) { + this.modalEdit = false; + this.datamservice.update(id, this.rowSelected, this.selectedFile).subscribe( + (data) => { + console.log(data); + if (data.status === 202) { + this.toastr.success("Updated Succesfully"); + } + + }, + (error: HttpErrorResponse) => { + console.log(error.message); + } + ); + this.ngOnInit(); + } + work(id: any) { + console.log(id); + this.router.navigate(["../dataworkflow/" + id], { relativeTo: this.route }); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamananementworkflow/datamananementworkflow.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamananementworkflow/datamananementworkflow.component.html new file mode 100644 index 0000000..1268fb9 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamananementworkflow/datamananementworkflow.component.html @@ -0,0 +1,497 @@ + + + + + + +
+ + + + + + + +
+ +
+
+
+
+
+
+

Data Import

+
+
+ +
+
+ +
+ + + + Step 0 + Review + + + + Step 1 + Table Mapping + + + + Step 2 + Data Mapping + + + + Step 3 + Import + + + + Step 4 + Download Excel + + + + Step 5 + Finish + + + +
+
+
+
+
+ + +
+
+

{{tableName}} Table

+

Update {{college.studentname}}

+
+ +
+ + +
+
+ + + +
+

{{ sheetName }}

+
+ + + + + + + + + + + +
{{ co }}
{{ item[key] }}
+
+
+
+
+ + + + + +
+ +
+
+
+
+ +
+ +
+
+ +
+
+

Table Mapping

+ +
+ +
+
+
+ + + + + + + + + + + + + +
Sheet NameTable Name
+ + + + +
+
+
+ + + + + + + +
+
+
+
+ +
+
+
+ +
+
+
+ + +
+
+

Data Mapping

+ +
+ +
+
+
+
+ Enable TransFormation + + +
+
+ + +
+
+ +
+
+
Add Rule line
+ + +
+
+ + +
+
+
+ + + + + + + +
+
+
+
+ +
+
+
+ +
+
+
+ + +
+
+

Importing Data

+ +
+
+
+
+ + +
+

{{ sheetName }}

+
+ + + + + + + + + + + +
{{ co }}
{{ item[key] }}
+
+
+
+ + + + + + +
+
+
+
+
+ + +
+
+

Download Excel

+
+
+
+ + + + +
+
+
+ +
+
+

File is Downloaded

+
+ + + +
+
+
+ + +
+ + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamananementworkflow/datamananementworkflow.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamananementworkflow/datamananementworkflow.component.scss new file mode 100644 index 0000000..a96c883 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamananementworkflow/datamananementworkflow.component.scss @@ -0,0 +1,110 @@ +.horizontal{ + width: 25%; + padding: 5px; +} +.horizontal1{ + width: 50%; + padding: 10px; +} +.middle{ + width: 33%; + padding: 10px; +} +.middle1{ + width: 75%; + padding: 10px; +} + +.full{ + width: 100%; + padding: 10px; +} + +// input[type=text],[type=date] { +// width: 100%; +// padding: 12px 20px; +// margin: 8px 0; +// display: inline-block; +// border: 1px solid #ccc; +// border-radius: 4px; +// box-sizing: border-box; +// } +// textarea +// { +// width: 100%; +// padding: 15px 15px; +// display: inline-block; +// border: 1px solid #ccc; +// border-radius: 4px; +// box-sizing: border-box; +// } + +.center{ + color: blue; +} +@media (max-width: 600px){ +.horizontal,.middle,.horizontal1,.middle1 { +width: 100%; +}} + + + .postColumn{ + border: 1px solid #ccc; + width: 78%; + margin-left: 15px; + } + .colName{ + text-align: center; + padding: 5px; + } + .fieldWrapper{ + margin-top: 20px; + } + + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.35rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + input[type=text],textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + .required-field{ + color: red; + + } + .postColumn{ + border: 1px solid #ccc; + width: 78%; + margin-left: 15px; + } + .colName{ + text-align: center; + padding: 5px; + } + .colfields{ + border: 1px solid black; + margin: 17px; + text-align: center; + padding: 3px; + } + + select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamananementworkflow/datamananementworkflow.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamananementworkflow/datamananementworkflow.component.spec.ts new file mode 100644 index 0000000..5e4af86 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamananementworkflow/datamananementworkflow.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DatamananementworkflowComponent } from './datamananementworkflow.component'; + +describe('DatamananementworkflowComponent', () => { + let component: DatamananementworkflowComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ DatamananementworkflowComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(DatamananementworkflowComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamananementworkflow/datamananementworkflow.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamananementworkflow/datamananementworkflow.component.ts new file mode 100644 index 0000000..d1777ac --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/datamananementworkflow/datamananementworkflow.component.ts @@ -0,0 +1,555 @@ +import { HttpErrorResponse } from '@angular/common/http'; +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { DatamanagementService } from 'src/app/services/fnd/datamanagement.service'; +import { ExcelService } from 'src/app/services/excel.service'; +import { BulkimportService } from 'src/app/services/fnd/bulkimport.service'; + +@Component({ + selector: 'app-datamananementworkflow', + templateUrl: './datamananementworkflow.component.html', + styleUrls: ['./datamananementworkflow.component.scss'] +}) +export class DatamananementworkflowComponent implements OnInit { + data; + getbyiddata; + id; + columns: any[]; + rows: any[]; + bodyrow: any[] = []; + getHeaderData; + JsonHeader = []; + rowdata; + transform: boolean = false; + checkTransform: boolean = true; + mapperText: string = ''; + changeKeyJson: any[]; + tableName; + + + + // Layout direction changing + + layout = { + direction: "horizontal", + block1: "clr-col-lg-12 clr-col-12 height container", + block2: "clr-col-lg-12 clr-col-12 container", + } + timelineStyle = { + step0: { state: "current", open: true, failed: false }, + step1: { state: "not-started", open: false, failed: false }, + step2: { state: "not-started", open: false, failed: false }, + step3: { state: "not-started", open: false, failed: false }, + step4: { state: "not-started", open: false, failed: false }, + step5: { state: "not-started", open: false, failed: false }, + }; + + json: string = ""; + luisApp = + { + name: '', + created: 1, + trained: 1, + tested: 1, + updated: 1, + published: 1, + + }; + constructor(private excel: ExcelService, private datamservice: DatamanagementService, private toastr: ToastrService, private router: Router, + private route: ActivatedRoute, public bulkUpload: BulkimportService) { } + + ngOnInit(): void { + this.id = this.route.snapshot.params["id"]; + console.log("update with id = ", this.id); + this.getall(); + this.getSheetName(this.id); + this.getById(this.id); + + this.getTableData(this.id); + // this.getColumns(this.tableName); + // this.getHeadersById(this.id); + + } + + getall() { + this.datamservice.getall().subscribe((data) => { + console.log(data); + this.data = data; + }) + } + + + getById(id) { + this.datamservice.getTemplateById(id).subscribe((data) => { + console.log(data); + this.getbyiddata = data; + this.tableName = data.entityName; + }); + } + headerData; + getColumns(table) { + console.log(table); + // console.log(this.getbyiddata.entityName); + this.bulkUpload.getColumnNames(table).subscribe((data) => { + console.log(data); + this.headerData = data; + }); + } + getHeadersById(id) { + console.log(this.columnJson); + this.bulkUpload.getHeader(id).subscribe((data) => { + console.log(data); + this.getHeaderData = JSON.stringify(data); + + // const objectArray = data.map(key => ({ + // headerName: key, + // value: "", + // })); + // // console.log(objectArray); + // this.getHeaderData = JSON.stringify(objectArray); + // console.log(this.getHeaderData); + + // const json = `{"Customer":[{"headerName":"balance","value":""},{"headerName":"c_status","value":""},{"headerName":"city","value":""},{"headerName":"country","value":""},{"headerName":"currency_code","value":""},{"headerName":"customer_id","value":""},{"headerName":"date_of_birth","value":""},{"headerName":"defaultsite_id","value":""}], + // "Site":[{"headerName":"balance","value":""},{"headerName":"city","value":""},{"headerName":"country","value":""},{"headerName":"credit_profile","value":""},{"headerName":"currency_code","value":""},{"headerName":"date_of_birth","value":""},{"headerName":"default_order_type","value":""},{"headerName":"dsa","value":""}]}` + // this.getHeaderData = json; + + }, (error) => { + console.log(error); + }); + + } + + selectedSheetName: string | null = null; + getHeaderbybutton(id, sheetName) { + // this.bulkUpload.getHeader(id,sheetName).subscribe((data) => { + // console.log(data); + // this.getHeaderData = data; + + // const objectArray = data.map(key => ({ + // headerName: key, + // value: "", + // })); + // // console.log(objectArray); + // this.getHeaderData = JSON.stringify(objectArray); + // console.log(this.getHeaderData); + + + + // },(error) => { + // console.log(error); + // }); + this.selectedSheetName = sheetName; + const columnEntry = this.columnJson.find(entry => entry.sheetName === sheetName); + if (columnEntry) { + const tablename = columnEntry.TableName; + this.getColumns(tablename); + } + } + + + checkData() { + console.log(this.JsonHeader); + console.log(this.mapperText); + } + + getkeychangesJson() { + + const jsonString = JSON.stringify(this.rows); + console.log("body", jsonString); + // const datajson = JSON.parse(this.datajson); + // this.datajson = [datajson]; + // console.log(this.datajson); + + this.bulkUpload.changeKeysOfJson(this.datajson, jsonString).subscribe((data) => { + console.log(data); + this.changeKeyJson = data.body; + }, (error: HttpErrorResponse) => { + console.log(error.error); + }); + } + // getHeaderskeychange() { + // let headers: string[] = []; + // if(this.changeKeyJson) { + // this.changeKeyJson.forEach((value) => { + // Object.keys(value).forEach((key) => { + // if(!headers.find((header) => header == key)){ + // headers.push(key) + // } + + // }) + + // }) + // } + // return headers; + // } + getHeaderskeychange(sheetName: string) { + if (this.changeKeyJson && this.changeKeyJson.length > 0 && this.changeKeyJson[0][sheetName]) { + // Assuming the first item in the array contains the keys. + return Object.keys(this.changeKeyJson[0][sheetName][0]); + } + return []; + } + + getkeychangeData(sheetName: string) { + if (this.changeKeyJson && this.changeKeyJson.length > 0 && this.changeKeyJson[0][sheetName]) { + // Returning the array of data. + return this.changeKeyJson[0][sheetName]; + } + return []; + } + // Change to Horizontal Layout + changeToHorizonTal() { + this.layout = { + direction: "horizontal", + block1: "clr-col-lg-12 clr-col-12 height container", + block2: "clr-col-lg-12 clr-col-12 container", + } + } + // Change to Vertical Layout + changeToVertical() { + this.layout = { + direction: "vertical", + block1: "clr-col-lg-3 clr-col-12 ", + block2: "clr-col-lg-9 clr-col-12 ", + } + } + reset() { + this.json = ""; + this.luisApp = + { + name: '', + trained: 1, + tested: 1, + updated: 1, + published: 1, + + + created: 1, + + }; + + this.timelineStyle = { + step0: { state: "current", open: true, failed: false }, + step1: { state: "not-started", open: false, failed: false }, + step2: { state: "not-started", open: false, failed: false }, + step3: { state: "not-started", open: false, failed: false }, + step4: { state: "not-started", open: false, failed: false }, + step5: { state: "not-started", open: false, failed: false }, + }; + } + + + //dynamic table + sheetNames: any; + getSheetName(id) { + this.bulkUpload.getSheetName(id).subscribe(data => { + console.log(data); + this.sheetNames = data; + }); + } + + getTableData(id) { + // console.log(this.getbyiddata.file_name); + this.bulkUpload.convertFileToJson(id).subscribe((data) => { + this.rows = data; + // this.bodyrow = data; + console.log(this.rows); + this.rowdata = [this.rows]; + this.rows = [this.rows] + console.log(typeof this.rows); + if (data) { + // this.toastr.success("Run Successfully") + } + var j; + var cart = []; + + for (var i = 0; i < data.length; i++) { + var columnsIn = data[i]; + if (i == 1) { + for (var key in columnsIn) { + j = { prop: key, name: key }; + cart.push(j) + + } + } + } + this.columns = cart; + + }); + } + // sheetNames = ['Customer', 'Site']; + getHeaders(sheetName: string) { + if (this.rows && this.rows.length > 0 && this.rows[0][sheetName]) { + // Assuming the first item in the array contains the keys. + return Object.keys(this.rows[0][sheetName][0]); + } + return []; + } + + getData(sheetName: string) { + if (this.rows && this.rows.length > 0 && this.rows[0][sheetName]) { + // Returning the array of data. + return this.rows[0][sheetName]; + } + return []; + } + + // getHeaders() { + // let headers: string[] = []; + // this.rows= [] + // if(this.rows) { + // this.rows.forEach((value) => { + // Object.keys(value).forEach((key) => { + // if(!headers.find((header) => header == key)){ + // headers.push(key) + // } + + // }) + + // }) + // } + // return headers; + // } + + //data mapping + checkTrans() { + + console.log("transform open") + // console.log(this.storeData); + if (this.getHeaderData) { + this.checkTransform = false; + this.transform = true; + console.log(this.getHeaderData); + if (this.mapperText === "undefined") { this.mapperText = ''; } + const currentText = this.mapperText; + let trnsfData = currentText + '' + this.getHeaderData; + this.mapperText = trnsfData; + } else { + this.checkTransform = true; + this.transform = false; + } + + } + mappperModal = false; + goFromMapper() { + this.mappperModal = true; + this.selectedSheetName = this.sheetNames[0]; + const tablename = this.columnJson[0].TableName; + this.getColumns(tablename) + if (this.mapperText) { + try { + this.JsonHeader = JSON.parse(this.mapperText); + console.log('Received data:', this.JsonHeader); + } catch (e) { console.error('Invalid JSON:', this.mapperText); } + } else + if (this.getHeaderData) { + // try { + // this.serverData = data.replace(/\[|\]|"/g, '').split(','); //(/\[|\]|'/g, '') //(/[\[\]"]/g, '') + // console.log('Received data:', this.serverData ); + // } catch (e) { console.error('Invalid JSON:', data);} + try { + this.JsonHeader = JSON.parse(this.getHeaderData); + console.log('Received data:', this.JsonHeader); + } catch (e) { console.error('Invalid JSON:', this.getHeaderData); } + + } + //this.mappperclick = true; + // this.router.navigate(["../../mapperTable/"], { relativeTo: this.route, queryParams: { id: this.updateId, data: this.nodeEditProperties.mappers, title:this.nodeEditProperties.title }, skipLocationChange: true}); + // console.log("gofrommapper",this.updateId,this.nodeEditProperties.mappers) + // if(this.mappperclick = true && this.datajson!= null){ + // this.nodeEditProperties.mappers = this.datajson; + // } + } + + transReset() { + this.mapperText = ''; + this.transform = false; + this.checkTransform = true; + } + + Rule: boolean = false; + checkRule: boolean = true; + RuleData: string = ''; + ruleModal = false; + RuleHeader = []; + + checkRules() { + console.log("rule line open") + this.ruleModal = true; + + + } + + rulechecking() { + if (this.RuleData) { + console.log(this.RuleData); + this.checkRule = false; + this.Rule = true; + } else { + this.Rule = false; + this.checkRule = true; + } + } + + mappperclick = false; + goFromRule() { + this.ruleModal = true; + if (this.RuleData) { + try { + this.RuleHeader = JSON.parse(this.RuleData); + console.log('Received data:', this.RuleHeader); + } catch (e) { console.error('Invalid JSON:', this.RuleData); } + } + console.log(this.RuleHeader); + } + + resetRule() { + this.RuleData = undefined; + this.RuleHeader = []; + this.Rule = false; + this.checkRule = true; + } + + onAddLines() { + this.RuleHeader.push({ + rulename: "", + fromsheet: "", + fromColumn: "", + validationTable: "", + checkColumn: "", + useColumn: "", + replacementTable: "", + replacementcolumn: "", + errormsg: "" + }); + } + deleteRow(index) { + this.RuleHeader.splice(index, 1); + } + + onRuleUpdate() { + this.ruleModal = false; + console.log("rule", this.RuleHeader); + let serverData = JSON.stringify(this.RuleHeader); + // console.log(serverData); + let product = JSON.stringify(serverData); + // console.log(product); + + try { + this.RuleData = JSON.parse(product); + console.log('Received rulejson data:', this.RuleData); + } catch (e) { console.error('Invalid JSON:', product); } + this.rulechecking() + } + + + datajson; + keychangeTable = false; + onUpdate() { + this.mappperModal = false; + console.log(this.JsonHeader); + let serverData = JSON.stringify(this.JsonHeader); + // console.log(serverData); + let product = JSON.stringify(serverData); + // console.log(product); + + try { + this.datajson = JSON.parse(product); + console.log('Received Newjson data:', this.datajson); + } catch (e) { console.error('Invalid JSON:', product); } + + this.mapperText = this.datajson; + + // const output = this.datajson.reduce((result, item) => { + // result[item.headerName] = item.value; + // return result; + // }, {}); + + // console.log(output); + + this.getkeychangesJson(); + this.keychangeTable = true; + } + + //download excel file + + selectedTable; + selectTable(val) { + this.selectedTable = val; + // this.downloadExcel(val); + } + + downloadExcel(id) { + console.log(this.changeKeyJson); + const jsonDataWithoutBrackets = this.changeKeyJson[0]; + console.log(jsonDataWithoutBrackets); + console.log(this.RuleHeader); + this.bulkUpload.downloadExcel(id, jsonDataWithoutBrackets, this.RuleHeader).subscribe( + (response: Blob) => { + // Process the downloaded Excel file + console.log(response); + // const file = new Blob([response], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' }); + // const fileUrl = URL.createObjectURL(file); + // const link = document.createElement('a'); + // link.href = fileUrl; + // link.download = 'data.xlsx'; // Set the desired file name + // link.click(); + + // this.timelineStyle = { + // step0: { state: "success", open: false, failed: false }, + // step1: { state: "success", open: false, failed: false }, + // step2: { state: "success", open: false, failed: false }, + // step3: { state: "success", open: false, failed: false }, + // step4: { state: "current", open: true, failed: false }, + // }; + }, + (error) => { + // Handle error + console.log(error); + // this.timelineStyle = { + // step0: { state: "success", open: false, failed: false }, + // step1: { state: "success", open: false, failed: false }, + // step2: { state: "success", open: false, failed: false }, + // step3: { state: "current", open: true, failed: false }, + // step4: { state: "not-started", open: false, failed: false }, + // step5: { state: "not-started", open: false, failed: false }, + // }; + + } + ); + } + + getSheet(id) { + this.bulkUpload.getSheet(id).subscribe( + (response: Blob) => { + // Process the downloaded Excel file + console.log(response); + const file = new Blob([response], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' }); + const fileUrl = URL.createObjectURL(file); + const link = document.createElement('a'); + link.href = fileUrl; + link.download = 'data.xlsx'; // Set the desired file name + link.click(); + + }); + } + + back() { + this.router.navigate(["../../datamanagement"], { relativeTo: this.route }); + } + + ////step 1 - mapping name + columnJson = [] + getColumnforstep1() { + + const objectArray = this.sheetNames.map(key => ({ + sheetName: key, + TableName: "", + })); + // console.log(objectArray); + this.columnJson = objectArray; + + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingrule.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingrule.component.html new file mode 100644 index 0000000..90c6b64 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingrule.component.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingrule.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingrule.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingrule.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingrule.component.spec.ts new file mode 100644 index 0000000..d63f2fa --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingrule.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MappingruleComponent } from './mappingrule.component'; + +describe('MappingruleComponent', () => { + let component: MappingruleComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ MappingruleComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(MappingruleComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingrule.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingrule.component.ts new file mode 100644 index 0000000..f384d1f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingrule.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-mappingrule', + templateUrl: './mappingrule.component.html', + styleUrls: ['./mappingrule.component.scss'] +}) +export class MappingruleComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleadd/mappingruleadd.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleadd/mappingruleadd.component.html new file mode 100644 index 0000000..753e663 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleadd/mappingruleadd.component.html @@ -0,0 +1,149 @@ +

Mapping Rule

+Add Mode
+Mapping Rules are proccessed while importing bulk records for respective entity +
+ + + + + + + + +
+ + + + + +
+
+
+ + + +
+
+ + +
+
+
+ +
+
+ + +
+ +
+ + + +
+
+ + +
+
Mapping Fields
+ +
+
+
+ + +
+
+
+ + + + + + + + + + + + + +
Header FieldsValue
+ + + +
+
+ + +
+ +
+
+
+ + +
+
+ +
+
+
+ + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleadd/mappingruleadd.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleadd/mappingruleadd.component.scss new file mode 100644 index 0000000..b05187f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleadd/mappingruleadd.component.scss @@ -0,0 +1,81 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } + } + + .entry-pg { + width: 750px; + } + + .button1::after { + content: none; + } + .button1:hover::after { + content: "ADD ROWS"; + } + + $bg-color: #dddddd; + + .section { + background-color: $bg-color; + height: 40px; + } + + .section p { + //color: white; + font-weight: bold; + padding: 10px; + font-size: 18px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .center { + text-align: center; + } + input[type=text],[type=date],[type=number],textarea { + width: 100%; + padding: 15px 15px; + margin-top: 3px; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + + .required-field{ + color: red; + + } + select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleadd/mappingruleadd.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleadd/mappingruleadd.component.spec.ts new file mode 100644 index 0000000..8d28df0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleadd/mappingruleadd.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MappingruleaddComponent } from './mappingruleadd.component'; + +describe('MappingruleaddComponent', () => { + let component: MappingruleaddComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ MappingruleaddComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(MappingruleaddComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleadd/mappingruleadd.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleadd/mappingruleadd.component.ts new file mode 100644 index 0000000..cca1959 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleadd/mappingruleadd.component.ts @@ -0,0 +1,249 @@ +import { HttpErrorResponse, HttpHeaderResponse } from '@angular/common/http'; +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { BulkimportService } from 'src/app/services/fnd/bulkimport.service'; + +@Component({ + selector: 'app-mappingruleadd', + templateUrl: './mappingruleadd.component.html', + styleUrls: ['./mappingruleadd.component.scss'] +}) +export class MappingruleaddComponent implements OnInit { + public entryForm: FormGroup; + selectedFile: File[]=[]; + + datajson; + transform:boolean = false; + checkTransform:boolean = true; + mapperdata; + + entityname; + description; + constructor(private _fb: FormBuilder, private router: Router,private toastr: ToastrService, + private route: ActivatedRoute,private dataservice:BulkimportService) { } + + ngOnInit(): void { + this.entryForm = this._fb.group({ + entity_name:[null], + mapping_rule:[null], + description: [null], + active: [true], + fileType: [null], + }); + + this.route.queryParams.subscribe(params => { + const data = params['data']; + this.entityname = params['name']; + this.description = params['description']; + + + if (data) { + try { + this.datajson = JSON.parse(data); + console.log('Received data:', this.datajson); + } catch (e) { console.error('Invalid JSON:', data);} + } + + + }); + + const condition = this.dataservice.getCondition(); + if(condition === 'mapper'){ + this.transform = true; + this.checkTransform = false; + if(this.datajson!== undefined){ + // if(this.entryForm.value.rule_line == 'undefined'){ this.entryForm.value.rule_line= '';} + const currentText = this.entryForm.value.rule_line = ''; + this.mapperdata = currentText + this.datajson; + // this.entryForm.value.rule_line = this.mapperdata; + // this.Updating(); + this.dataservice.setCondition(''); + } + } + + + console.log(this.entryForm.value); + + this.entryForm.patchValue({ + entity_name: this.entityname, + description: this.description, + }); + + console.log(this.entryForm.value); + } + + serverData = [ + { + }]; + onAddLines(){ + this.serverData.push({ + rulename: "", + fromsheet:"", + fromColumn: "", + validationTable: "", + checkColumn: "", + replacementcolumn:"", + useColumn:"", + errormsg:"" + }); + console.log(this.serverData); + } + deleteRow(index) { + this.serverData.splice(index, 1); + } + + toastrShown: boolean = false; + onSubmit(){ + this.entryForm.value.mapping_rule = JSON.stringify(this.serverData); + console.log(this.entryForm.value); + this.dataservice.saveMappingData(this.entryForm.value).subscribe((data)=>{ + console.log(data); + if (data) { + if (!this.toastrShown) { + this.toastrShown = true; // Set the flag to indicate that the toastr message has been shown + this.toastr.success("Added Successfully"); + setTimeout(() => { + this.router.navigate(["../all"], { relativeTo: this.route }); + }, 500); + } + } + }, (error: HttpHeaderResponse)=>{ + console.log(error); + if(error.status===202){ + this.toastr.success("Added Succesfully"); + } + if(error.status===404){ + this.toastr.error("Not Added"); + } + if(error.status===400){ + this.toastr.error("Not Added"); + } + }); + setTimeout(() => { + this.router.navigate(["../all"], { relativeTo: this.route }); + },500); + } + goback(){ + this.router.navigate(["../all"], { relativeTo: this.route }); + } + + + + headerData; + getColumns(table){ + console.log(table); + // console.log(this.getbyiddata.entityName); + this.dataservice.getColumnNames(table).subscribe((data) => { + console.log(data); + this.headerData = data; + }); +} + + checkTransformMapper = true; + transformMapper = false; + mapperText; + getHeaderData; + JsonHeader = []; + selectedSheetName: string | null = null; + columnJson =[]; + sheetNames:any; + checkTransMapper(){ + + console.log("Mapper open") + // console.log(this.storeData); + if(this.getHeaderData){ + this.checkTransformMapper = false; + this.transformMapper = true; + console.log(this.getHeaderData); + if(this.mapperText === "undefined"){ this.mapperText= '';} + const currentText = this.mapperText; + let trnsfData = currentText + '' +this.getHeaderData; + this.mapperText = trnsfData; + }else { + this.checkTransformMapper = true; + this.transformMapper = false; + } + + } + mappperModal = false; + goFromMapperField(){ + this.mappperModal = true; + this.selectedSheetName = this.sheetNames[0]; + const tablename = this.columnJson[0].TableName; + this.getColumns(tablename) + if(this.mapperText){ + try { + this.JsonHeader = JSON.parse(this.mapperText); + console.log('Received data:', this.JsonHeader ); + } catch (e) { console.error('Invalid JSON:', this.mapperText);} + }else + if (this.getHeaderData) { + // try { + // this.serverData = data.replace(/\[|\]|"/g, '').split(','); //(/\[|\]|'/g, '') //(/[\[\]"]/g, '') + // console.log('Received data:', this.serverData ); + // } catch (e) { console.error('Invalid JSON:', data);} + try { + this.JsonHeader = JSON.parse(this.getHeaderData); + console.log('Received data:', this.JsonHeader ); + } catch (e) { console.error('Invalid JSON:', this.getHeaderData);} + + } + } + + transResetMapper(){ + this.mapperText = ''; + this.transformMapper = false; + this.checkTransformMapper = true; + } + + onUpdate(){ + this.mappperModal = false; + } + + + getHeaderFieldData(){ + if(this.entryForm.value.entity_name){ + this.dataservice.getColumnNames(this.entryForm.value.entity_name).subscribe(data =>{ + console.log(data); + const objectArray = data.map(fieldname => ({ + headerName: fieldname, + value: "", + })); + // console.log(objectArray); + const headerdata= JSON.stringify(objectArray); + this.serverData = JSON.parse(headerdata); + }) + }else{ + this.toastr.warning("Entity Name is Required") + } + } + + chooseFile(event){ + console.log(event); + this.selectedFile = event.target.files[0]; + } + + valueofField; + getDDFieldData(){ + if(this.entryForm.value.fileType && this.selectedFile){ + this.dataservice.getDDforMappingRule(this.selectedFile,this.entryForm.value.fileType).subscribe(data =>{ + console.log(data); + this.valueofField = data.body; + },(error)=>{ + if(error.status === 404){ + this.toastr.error("Sheet not found") + } + if(error.status >= 500 && error.status <= 599){ + this.toastr.error("Server Error") + } + }) + }else{ + this.toastr.warning("Sheet name and file is required") + + } +} + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleall/mappingruleall.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleall/mappingruleall.component.html new file mode 100644 index 0000000..8ee34a9 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleall/mappingruleall.component.html @@ -0,0 +1,85 @@ + + +
+ +
+
+
+

Mapping Rule

+
+
+ + + +
+
+ + + Loading ... +
{{error}}
+ + + Entity Name + + + Description + + + Active + + + File Type + + + Action + + + {{user.entity_name}} + {{user.description}} + {{user.active}} + {{user.fileType}} + + + + Delete + + + + + + + + + + + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+
+ + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleall/mappingruleall.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleall/mappingruleall.component.scss new file mode 100644 index 0000000..c05b1dc --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleall/mappingruleall.component.scss @@ -0,0 +1,4 @@ +.delete,.heading{ + text-align: center; + color: red; + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleall/mappingruleall.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleall/mappingruleall.component.spec.ts new file mode 100644 index 0000000..bf59474 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleall/mappingruleall.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MappingruleallComponent } from './mappingruleall.component'; + +describe('MappingruleallComponent', () => { + let component: MappingruleallComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ MappingruleallComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(MappingruleallComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleall/mappingruleall.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleall/mappingruleall.component.ts new file mode 100644 index 0000000..a204f3b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleall/mappingruleall.component.ts @@ -0,0 +1,85 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { ExcelService } from 'src/app/services/excel.service'; +import * as moment from 'moment'; +import { BulkimportService } from 'src/app/services/fnd/bulkimport.service'; +@Component({ + selector: 'app-mappingruleall', + templateUrl: './mappingruleall.component.html', + styleUrls: ['./mappingruleall.component.scss'] +}) +export class MappingruleallComponent implements OnInit { + loading = false; + error; + selected: any[] = []; + rowSelected :any= {}; + modaldelete=false; + data; + constructor(private router: Router, private toastr: ToastrService, + private route: ActivatedRoute,private excel: ExcelService,private bulkimportService:BulkimportService,) { } + + ngOnInit(): void { + this.getall(); + } + getall(){ + this.bulkimportService.getMappingDetails().subscribe((data)=>{ + console.log(data); + this.data=data; + if(this.data.length == 0){ + this.error="No data Available"; + console.log(this.error); + } + + },(error) => { + console.log(error); + if(error){ + this.error="No data Available OR server Error"; + } + }); + + } + goToAdd(){ + this.router.navigate(["../add"], { relativeTo: this.route }); + + } + onExport() { + this.excel.exportAsExcelFile(this.data, 'user_', + moment().format('YYYYMMDD_HHmmss')) + } + goToEdit(id) { + this.router.navigate(["../edit/" + id], { relativeTo: this.route }); + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete=true; + } + + delete(id){ + this.modaldelete = false; + console.log("in delete "+id); + this.bulkimportService.deleteMappingById(id).subscribe( + (data) => { + console.log(data); + this.ngOnInit(); + if (data == null || data) { + this.toastr.success('Deleted successfully'); + } + }, + (error) => { + console.log('Error in adding data...',+error); + if(isNaN(error)){ + this.toastr.success('Deleted successfully'); + }else{ + this.toastr.error('Not Deleted Data Getting Some Error'); + } + } + ); +} + +activeTab: number = 1; + +showTab(tabNumber: number) { + this.activeTab = tabNumber; +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleedit/mappingruleedit.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleedit/mappingruleedit.component.html new file mode 100644 index 0000000..6bdbd5a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleedit/mappingruleedit.component.html @@ -0,0 +1,100 @@ +

Mapping Rule

+Edit Mode
+Mapping Rules are proccessed while importing bulk records for respective entity +
+
+
+
+
+ + +
+
+ + +
+
+
+ +
+
+ + +
+ +
+ + + +
+
+ + +
+
Mapping Fields
+ +
+
+
+ + +
+
+
+ + + + + + + + + + + + + +
Header FieldsValue
+ + + + + +
+
+
+ + +
+
+
+ + +
+
+ +
+
+
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleedit/mappingruleedit.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleedit/mappingruleedit.component.scss new file mode 100644 index 0000000..b05187f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleedit/mappingruleedit.component.scss @@ -0,0 +1,81 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } + } + + .entry-pg { + width: 750px; + } + + .button1::after { + content: none; + } + .button1:hover::after { + content: "ADD ROWS"; + } + + $bg-color: #dddddd; + + .section { + background-color: $bg-color; + height: 40px; + } + + .section p { + //color: white; + font-weight: bold; + padding: 10px; + font-size: 18px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .center { + text-align: center; + } + input[type=text],[type=date],[type=number],textarea { + width: 100%; + padding: 15px 15px; + margin-top: 3px; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + + .required-field{ + color: red; + + } + select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleedit/mappingruleedit.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleedit/mappingruleedit.component.spec.ts new file mode 100644 index 0000000..2e79fd9 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleedit/mappingruleedit.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MappingruleeditComponent } from './mappingruleedit.component'; + +describe('MappingruleeditComponent', () => { + let component: MappingruleeditComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ MappingruleeditComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(MappingruleeditComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleedit/mappingruleedit.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleedit/mappingruleedit.component.ts new file mode 100644 index 0000000..3239322 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/datamanagement/mappingrule/mappingruleedit/mappingruleedit.component.ts @@ -0,0 +1,161 @@ +import { HttpErrorResponse, HttpHeaderResponse } from '@angular/common/http'; +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { BulkimportService } from 'src/app/services/fnd/bulkimport.service'; + +@Component({ + selector: 'app-mappingruleedit', + templateUrl: './mappingruleedit.component.html', + styleUrls: ['./mappingruleedit.component.scss'] +}) +export class MappingruleeditComponent implements OnInit { + public entryForm: FormGroup; + selectedFile: File[]=[]; + id; + datajson; + transform:boolean = false; + checkTransform:boolean = true; + mapperdata; + tdata: any = {}; + entityname; + description; + constructor(private _fb: FormBuilder, private router: Router,private toastr: ToastrService, + private route: ActivatedRoute,private dataservice:BulkimportService) { } + + ngOnInit(): void { + this.id = this.route.snapshot.params["id"]; + console.log("update with id = ", this.id); + + + this.dataservice.getMappingDetailsById(this.id).subscribe(data => { + this.tdata = data; + this.serverData = JSON.parse(data.mapping_rule); + console.log(this.tdata); + }, + (err) => { + console.log(err); + }); + + console.log(this.tdata); + // this.entryForm.patchValue({ + // entity_name: this.entityname, + // description: this.description, + // }); + // console.log(this.entryForm.value); + } + + getById(id: number) { + + } + + serverData = []; + + toastrShown: boolean = false; + onSubmit(){ + this.tdata.mapping_rule = JSON.stringify(this.serverData); + console.log(this.tdata); + this.dataservice.updateMappingData(this.tdata, this.id).subscribe((data)=>{ + console.log(data); + if (data.operationStatus) { + this.toastr.warning(data.operationMessage); + }else{ + if (!this.toastrShown) { + this.toastrShown = true; // Set the flag to indicate that the toastr message has been shown + this.toastr.success("Update Successfully"); + setTimeout(() => { + this.router.navigate(["../../all"], { relativeTo: this.route }); + }, 500); + } + } + }, (error: HttpHeaderResponse)=>{ + console.log(error); + if(error.status===202){ + this.toastr.success("Update Succesfully"); + } + if(error.status===404){ + this.toastr.error("Not Update"); + } + if(error.status===400){ + this.toastr.error("Not Update"); + } + }); + setTimeout(() => { + this.router.navigate(["../../all"], { relativeTo: this.route }); + },500); + } + + Updating(){ + console.log(this.tdata); + this.dataservice.updateData(this.tdata, this.id).subscribe(data=>{ + console.log(data); + // this.ngOnInit(); + }, (error: HttpHeaderResponse)=>{ + console.log(error); + }); + } + + goback(){ + this.router.navigate(["../../all"], { relativeTo: this.route }); + } + + + + headerData; + getColumns(table){ + console.log(table); + // console.log(this.getbyiddata.entityName); + this.dataservice.getColumnNames(table).subscribe((data) => { + console.log(data); + this.headerData = data; + }); +} + + + + getHeaderFieldData(){ + if(this.tdata.entity_name){ + this.dataservice.getColumnNames(this.tdata.entity_name).subscribe(data =>{ + console.log(data); + const objectArray = data.map(fieldname => ({ + headerName: fieldname, + value: "", + })); + // console.log(objectArray); + const headerdata= JSON.stringify(objectArray); + this.serverData = JSON.parse(headerdata); + }) + }else{ + this.toastr.warning("Entity Name is Required") + } + } + + showdropdown = false; + chooseFile(event){ + console.log(event); + this.selectedFile = event.target.files[0]; + if(event){ this.showdropdown = true;} + + } + + valueofField; + getDDFieldData(){ + if(this.tdata.fileType && this.selectedFile){ + this.dataservice.getDDforMappingRule(this.selectedFile,this.tdata.fileType).subscribe(data =>{ + console.log(data); + this.valueofField = data.body; + },(error)=>{ + if(error.status === 404){ + this.toastr.error("Sheet not found") + } + if(error.status >= 500 && error.status <= 599){ + this.toastr.error("Server Error") + } + }) + }else{ + this.toastr.warning("Sheet name and file is required") + } +} + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery.component.html new file mode 100644 index 0000000..b29b64e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery.component.html @@ -0,0 +1,354 @@ + +
+
+
+

Token registery

+
+
+ + + +
+
+ + + + Loading ... + +
{{error}}
+
+ + token name + + + + token + + + + + + Action + + + + + + {{user.token_name }} + + + + + + + + + + +
Who Column
+
Account ID: {{user.accountId}}
+
Created At: {{user.createdAt| date}}
+
Created By: {{user.createdBy}}
+
Updated At: {{user.updatedAt | date}}
+
Updated By: {{user.updatedBy}}
+
+
+
+ + + + + + + +
+ + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+ + + +
+
+
+
+
+
+ +
+
+ {{beforeText(item.fieldtext)}} + {{ app[transform(item.fieldtext) ] }} + {{afterText(item.fieldtext)}} +
+ +
+ {{beforeText(item.fieldtext)}} + {{ app[transform(item.fieldtext) ] | date}} + {{afterText(item.fieldtext)}} +
+
+ {{beforeText(item.fieldtext)}} + {{ app[transform(item.fieldtext) ]}} + {{afterText(item.fieldtext)}} +
+ +
+
+
+ + +
+ +
+ +
+ File Preview +
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery.component.scss new file mode 100644 index 0000000..12f7fc8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery.component.scss @@ -0,0 +1,85 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } +} +.delete,.heading{ + text-align: center; + color: red; +} +.entry-pg { + width: 750px; +} + +.button1::after { + content: none; +} +.button1:hover::after { + content: "ADD ROWS"; +} + +.section { + background-color: #dddddd; + height: 40px; +} + +.section p { + //color: white; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.center { + text-align: center; +} +select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +input[type=text],[type=date],[type=number],textarea { + width: 100%; + padding: 15px 15px; + background-color:rgb(255, 255, 255); + // margin: 8px 0; + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} +.error_mess { + color: red; +} +.universal-section-header { + margin: 24px 0 10px 0; + font-weight: 600; + color: #1a237e; + letter-spacing: 0.5px; + font-size: 1.25rem; +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery.component.ts new file mode 100644 index 0000000..9d0ecaf --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery.component.ts @@ -0,0 +1,251 @@ +import { Component, OnInit } from '@angular/core'; +import { ToastrService } from 'ngx-toastr'; +import { AlertService } from 'src/app/services/alert.service'; +import { Token_registeryservice } from './Token_registery.service'; +import { AbstractControl, FormArray, FormBuilder, FormGroup, Validators, ValidationErrors } from '@angular/forms'; +import { ExtensionService } from 'src/app/services/fnd/extension.service'; +import { DashboardContentModel2 } from 'src/app/models/builder/dashboard'; +import { Token_registerycardvariable } from './Token_registery_cardvariable'; +import { UserInfoService } from 'src/app/services/user-info.service'; +declare var JsBarcode: any; +@Component({ + selector: 'app-Token_registery', + templateUrl: './Token_registery.component.html', + styleUrls: ['./Token_registery.component.scss'] +}) +export class Token_registeryComponent implements OnInit { + cardButton = Token_registerycardvariable.cardButton; + cardmodeldata = Token_registerycardvariable.cardmodeldata; + public dashboardArray: DashboardContentModel2[]; + isCardview = Token_registerycardvariable.cardButton; + cardmodal; changeView() { + this.isCardview = !this.isCardview; + } + beforeText(fieldtext: string): string { // Extract the text before the first '<' + const index = fieldtext.indexOf('<'); + return index !== -1 ? fieldtext.substring(0, index) : fieldtext; + } + afterText(fieldtext: string): string { // Extract the text after the last '>' + const index = fieldtext.lastIndexOf('>'); + return index !== -1 ? fieldtext.substring(index + 1) : ''; + } + transform(fieldtext: string): string { + const match = fieldtext.match(/<([^>]*)>/); + return match ? match[1] : ''; // Extract the text between '<' and '>' + } + userrole; + rowSelected: any = {}; + modaldelete = false; + modalEdit = false; + modalAdd = false; + public entryForm: FormGroup; + loading = false; + product; + modalOpenedforNewLine = false; + newLine: any; + additionalFieldsFromBackend: any[] = []; + formcode = 'Token_registery_formCode' + tableName = 'Token_registery'; checkFormCode; selected: any[] = []; constructor( + private extensionService: ExtensionService, + private userInfoService: UserInfoService, + private mainService: Token_registeryservice, + private alertService: AlertService, + private toastr: ToastrService, + private _fb: FormBuilder, + ) { } + private editInterval: any; + // component button + ngOnInit(): void { + if (this.cardmodeldata !== '') { + this.cardmodal = JSON.parse(this.cardmodeldata); + this.dashboardArray = this.cardmodal.dashboard.slice(); + console.log(this.dashboardArray) + } + this.userrole = this.userInfoService.getRoles(); + this.getData(); + this.entryForm = this._fb.group({ + token_name: [null], + + token: [null], + + + + + + + }); // component_button200 + // form code start + this.extensionService.getJsonObjectsByFormCodeList(this.formcode).subscribe(data => { + console.log(data); + const jsonArray = data.map((str) => JSON.parse(str)); + this.additionalFieldsFromBackend = jsonArray; + this.checkFormCode = this.additionalFieldsFromBackend.some(field => field.formCode === "Token_registery_formCode"); + console.log(this.checkFormCode); + console.log(this.additionalFieldsFromBackend); + if (this.additionalFieldsFromBackend && this.additionalFieldsFromBackend.length > 0) { + this.additionalFieldsFromBackend.forEach(field => { + if (field.formCode === this.formcode) { + if (!this.entryForm.contains(field.extValue)) { + // Add the control only if it doesn't exist in the form + this.entryForm.addControl(field.extValue, this._fb.control(field.fieldValue)); + } + } + }); + } + }); + console.log(this.entryForm.value); + // form code end + + + + + + } + ngOnDestroy(): void { + if (this.editInterval) { + clearInterval(this.editInterval); + } + } + + + + error; + getData() { + this.mainService.getAll().subscribe((data) => { + console.log(data); + this.product = data; + this.product = [...this.product].reverse(); if (this.product.length == 0) { + this.error = "No Data Available" + } + }, (error) => { + console.log(error); + if (error) { + this.error = "Server Error"; + } + }); + } + onEdit(row) { + this.rowSelected = row; + + + + + + this.modalEdit = true; + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.mainService.delete(id).subscribe( + (data) => { + console.log(data); + this.ngOnInit(); + if (data) { this.toastr.success('Deleted successfully'); } + }); + } + onUpdate(id) { + this.modalEdit = false; + + + + + //console.log("in update"); + console.log("id " + id); + console.log(this.rowSelected); + //console.log("out update"); + this.mainService.update(id, this.rowSelected).subscribe( + (data) => { + console.log(data); + if (data || data.status >= 200 && data.status <= 299) { + this.toastr.success("Update Successfully"); + } + setTimeout(() => { + this.ngOnInit(); + }, 500); + + + + + }, (error) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + // this.toastr.success("update Succesfully"); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error("Not Updated"); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Not Updated"); + } + }); + setTimeout(() => { + this.ngOnInit(); + }, 500); + } + onCreate() { + this.modalAdd = false; + + + + + this.mainService.create(this.entryForm.value).subscribe( + (data) => { + console.log(data); + if (data || data.status >= 200 && data.status <= 299) { + this.toastr.success("Added Successfully"); + } + setTimeout(() => { + this.ngOnInit(); + }, 500); + + + + + }, (error) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + // this.toastr.success("Added Succesfully"); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error("Not Added"); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Not Added"); + } + }); + setTimeout(() => { + this.ngOnInit(); + }, 500); + } + goToAdd(row) { + this.modalAdd = true; this.submitted = false; + + + + + } + submitted = false; + onSubmit() { + console.log(this.entryForm.value); + this.submitted = true; + if (this.entryForm.invalid) { + return; + } this.onCreate(); + + } + + + rsModaltoken = false; + goToReplaceStringtoken(row) { + this.rowSelected = row; this.rsModaltoken = true; + } + + // updateaction +} + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery.service.ts new file mode 100644 index 0000000..6fdf18c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery.service.ts @@ -0,0 +1,38 @@ +import { Injectable } from '@angular/core'; +import { Observable } from "rxjs"; +import { HttpClient, HttpHeaders, HttpParams, } from "@angular/common/http"; +import { ApiRequestService } from "src/app/services/api/api-request.service"; +@Injectable({ + providedIn: 'root' +}) +export class Token_registeryservice { + private baseURL = "apiregistery"; + + constructor( + + private apiRequest: ApiRequestService, + ) { } + getAll(page?: number, size?: number): Observable { + return this.apiRequest.get(this.baseURL + "/getall"); + } + getById(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.get(_http); + } + create(data: any): Observable { + return this.apiRequest.post(this.baseURL + "/generateToken", data); + } + update(id: number, data: any): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, data); + } + delete(id: number): Observable { + const _http = this.baseURL + "/delete/" + id; + return this.apiRequest.delete(_http); + } + + + + + // updateaction +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery_cardvariable.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery_cardvariable.ts new file mode 100644 index 0000000..3062363 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/Token_registery/Token_registery_cardvariable.ts @@ -0,0 +1,4 @@ +export const Token_registerycardvariable = { + "cardButton": false, + "cardmodeldata": `` +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/ApiRegistery.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/ApiRegistery.service.ts new file mode 100644 index 0000000..21f04cb --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/ApiRegistery.service.ts @@ -0,0 +1,46 @@ +import { Injectable } from '@angular/core'; +import { Observable } from "rxjs"; +import { HttpClient, HttpHeaders, HttpParams, } from "@angular/common/http"; +import { ApiRequestService } from "src/app/services/api/api-request.service"; +@Injectable({ + providedIn: 'root' +}) +export class ApiRegisteryservice { + private baseURL = "Api_registery_header/Api_registery_header"; constructor( + private http: HttpClient, + private apiRequest: ApiRequestService, + ) { } + getAll(page?: number, size?: number): Observable { + return this.apiRequest.get(this.baseURL); + } + getById(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.get(_http); + } + create(data: any): Observable { + return this.apiRequest.post(this.baseURL, data); + } + update(id: number, data: any): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, data); + } + delete(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.delete(_http); + } + + + + + + + + + + + + + + + // updateaction +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline.component.html new file mode 100644 index 0000000..e7e1514 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline.component.html @@ -0,0 +1,382 @@ + +
+
+
+

ApiRegisteryLine

+
+
+ + + +
+
+ + + + Loading ... + +
{{error}}
+
+ + url + + + + method + + + + + + + + Action + + + + + + {{user.url }} + + + {{user.method }} + + + + + + + + + +
Who Column
+
Account ID: {{user.accountId}}
+
Created At: {{user.createdAt| date}}
+
Created By: {{user.createdBy}}
+
Updated At: {{user.updatedAt | date}}
+
Updated By: {{user.updatedBy}}
+
+
+
+ + + + + + + +
+ + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+ + + +
+
+
+
+
+
+ +
+
+ {{beforeText(item.fieldtext)}} + {{ app[transform(item.fieldtext) ] }} + {{afterText(item.fieldtext)}} +
+ +
+ {{beforeText(item.fieldtext)}} + {{ app[transform(item.fieldtext) ] | date}} + {{afterText(item.fieldtext)}} +
+
+ {{beforeText(item.fieldtext)}} + {{ app[transform(item.fieldtext) ]}} + {{afterText(item.fieldtext)}} +
+ +
+
+
+ + +
+ +
+ +
+ File Preview +
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline.component.scss new file mode 100644 index 0000000..c47b921 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline.component.scss @@ -0,0 +1,78 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } +} +.delete,.heading{ + text-align: center; + color: red; +} +.entry-pg { + width: 750px; +} + +.button1::after { + content: none; +} +.button1:hover::after { + content: "ADD ROWS"; +} + +.section { + background-color: #dddddd; + height: 40px; +} + +.section p { + //color: white; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.center { + text-align: center; +} +select{ + width: 100%; + margin-top: 3px; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +input[type=text],[type=date],[type=number],textarea { + width: 100%; + padding: 15px 15px; + background-color:rgb(255, 255, 255); + // margin: 8px 0; + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} +.error_mess { + color: red; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline.component.ts new file mode 100644 index 0000000..5b060a1 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline.component.ts @@ -0,0 +1,230 @@ +import { Component, OnInit } from '@angular/core'; +import { ToastrService } from 'ngx-toastr'; +import { AlertService } from 'src/app/services/alert.service'; +import { Apiregisterylineservice } from './Apiregisteryline.service'; +import { AbstractControl, FormArray, FormBuilder, FormGroup, Validators, ValidationErrors } from '@angular/forms'; +import { ExtensionService } from 'src/app/services/fnd/extension.service'; +import { DashboardContentModel2 } from 'src/app/models/builder/dashboard'; +import { Apiregisterylinecardvariable } from './Apiregisteryline_cardvariable'; +import { UserInfoService } from 'src/app/services/user-info.service'; +import { ActivatedRoute } from '@angular/router'; +declare var JsBarcode: any; +@Component({ + selector: 'app-Apiregisteryline', + templateUrl: './Apiregisteryline.component.html', + styleUrls: ['./Apiregisteryline.component.scss'] +}) +export class ApiregisterylineComponent implements OnInit { + cardButton = Apiregisterylinecardvariable.cardButton; + cardmodeldata = Apiregisterylinecardvariable.cardmodeldata; + public dashboardArray: DashboardContentModel2[]; + isCardview = Apiregisterylinecardvariable.cardButton; + cardmodal; changeView() { + this.isCardview = !this.isCardview; + } + beforeText(fieldtext: string): string { // Extract the text before the first '<' + const index = fieldtext.indexOf('<'); + return index !== -1 ? fieldtext.substring(0, index) : fieldtext; + } + afterText(fieldtext: string): string { // Extract the text after the last '>' + const index = fieldtext.lastIndexOf('>'); + return index !== -1 ? fieldtext.substring(index + 1) : ''; + } + transform(fieldtext: string): string { + const match = fieldtext.match(/<([^>]*)>/); + return match ? match[1] : ''; // Extract the text between '<' and '>' + } + userrole; + rowSelected: any = {}; + modaldelete = false; + modalEdit = false; + modalAdd = false; + public entryForm: FormGroup; + loading = false; + product; + modalOpenedforNewLine = false; + newLine: any; + additionalFieldsFromBackend: any[] = []; + formcode = 'Apiregisteryline_formCode'; + headerId; + tableName = 'Apiregisteryline'; checkFormCode; selected: any[] = []; constructor( + private extensionService: ExtensionService, + private userInfoService: UserInfoService, + private mainService: Apiregisterylineservice, + private alertService: AlertService, + private toastr: ToastrService, + private _fb: FormBuilder, + private route: ActivatedRoute, + ) { } + private editInterval: any; + // component button + ngOnInit(): void { + + this.headerId = this.route.snapshot.params["id"]; + console.log("headerId = ", this.headerId); + + if (this.cardmodeldata !== '') { + this.cardmodal = JSON.parse(this.cardmodeldata); + this.dashboardArray = this.cardmodal.dashboard.slice(); + console.log(this.dashboardArray) + } + this.userrole = this.userInfoService.getRoles(); + this.getData(); + this.entryForm = this._fb.group({ + url: [null], + + method: [null], + + + + }); // component_button200 + // form code start + this.extensionService.getJsonObjectsByFormCodeList(this.formcode).subscribe(data => { + console.log(data); + const jsonArray = data.map((str) => JSON.parse(str)); + this.additionalFieldsFromBackend = jsonArray; + this.checkFormCode = this.additionalFieldsFromBackend.some(field => field.formCode === "Apiregisteryline_formCode"); + console.log(this.checkFormCode); + console.log(this.additionalFieldsFromBackend); + if (this.additionalFieldsFromBackend && this.additionalFieldsFromBackend.length > 0) { + this.additionalFieldsFromBackend.forEach(field => { + if (field.formCode === this.formcode) { + if (!this.entryForm.contains(field.extValue)) { + // Add the control only if it doesn't exist in the form + this.entryForm.addControl(field.extValue, this._fb.control(field.fieldValue)); + } + } + }); + } + }); + console.log(this.entryForm.value); + // form code end + + + + + + + + } + ngOnDestroy(): void { + if (this.editInterval) { + clearInterval(this.editInterval); + } + } + + error; + getData() { + this.mainService.getAll(this.headerId).subscribe((data) => { + console.log(data); + this.product = data; + this.product = [...this.product].reverse(); if (this.product.length == 0) { + this.error = "No Data Available" + } + }, (error) => { + console.log(error); + if (error) { + this.error = "Server Error"; + } + }); + } + onEdit(row) { + this.rowSelected = row; + this.modalEdit = true; + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.mainService.delete(id).subscribe( + (data) => { + console.log(data); + this.ngOnInit(); + if (data) { this.toastr.success('Deleted successfully'); } + }); + } + onUpdate(id) { + this.modalEdit = false; + //console.log("in update"); + console.log("id " + id); + console.log(this.rowSelected); + //console.log("out update"); + this.mainService.update(id, this.rowSelected).subscribe( + (data) => { + console.log(data); + if (data || data.status >= 200 && data.status <= 299) { + this.toastr.success("Update Successfully"); + } + setTimeout(() => { + this.ngOnInit(); + }, 500); + + + }, (error) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + // this.toastr.success("update Succesfully"); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error("Not Updated"); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Not Updated"); + } + }); + setTimeout(() => { + this.ngOnInit(); + }, 500); + } + onCreate() { + this.modalAdd = false; + this.entryForm.value.header_id = this.headerId; + this.mainService.create(this.entryForm.value).subscribe( + (data) => { + console.log(data); + if (data || data.status >= 200 && data.status <= 299) { + this.toastr.success("Added Successfully"); + } + setTimeout(() => { + this.ngOnInit(); + }, 500); + }, (error) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + // this.toastr.success("Added Succesfully"); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error("Not Added"); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Not Added"); + } + }); + setTimeout(() => { + this.ngOnInit(); + }, 500); + } + goToAdd(row) { + this.modalAdd = true; this.submitted = false; + + } + submitted = false; + onSubmit() { + console.log(this.entryForm.value); + this.submitted = true; + if (this.entryForm.invalid) { + return; + } this.onCreate(); + + } + + // updateaction +} + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline.service.ts new file mode 100644 index 0000000..d0d929c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline.service.ts @@ -0,0 +1,38 @@ +import { Injectable } from '@angular/core'; +import { Observable } from "rxjs"; +import { HttpClient, HttpHeaders, HttpParams, } from "@angular/common/http"; +import { ApiRequestService } from "src/app/services/api/api-request.service"; +@Injectable({ + providedIn: 'root' +}) +export class Apiregisterylineservice { + private baseURL = "Api_registery_line/Api_registery_line"; constructor( + private http: HttpClient, + private apiRequest: ApiRequestService, + ) { } + getAll(headerId: number, page?: number, size?: number): Observable { + return this.apiRequest.get(this.baseURL + "/header/" + headerId); + } + getById(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.get(_http); + } + create(data: any): Observable { + return this.apiRequest.post(this.baseURL, data); + } + update(id: number, data: any): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, data); + } + delete(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.delete(_http); + } + + + + + + + // updateaction +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline_cardvariable.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline_cardvariable.ts new file mode 100644 index 0000000..d7b2860 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/Apiregisteryline/Apiregisteryline_cardvariable.ts @@ -0,0 +1,4 @@ +export const Apiregisterylinecardvariable = { + "cardButton": false, + "cardmodeldata": `` +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/addapiregistery/addapiregistery.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/addapiregistery/addapiregistery.component.html new file mode 100644 index 0000000..3c293d8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/addapiregistery/addapiregistery.component.html @@ -0,0 +1 @@ +

addapiregistery works!

diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/addapiregistery/addapiregistery.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/addapiregistery/addapiregistery.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/addapiregistery/addapiregistery.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/addapiregistery/addapiregistery.component.spec.ts new file mode 100644 index 0000000..a06237c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/addapiregistery/addapiregistery.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AddapiregisteryComponent } from './addapiregistery.component'; + +describe('AddapiregisteryComponent', () => { + let component: AddapiregisteryComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [AddapiregisteryComponent] + }); + fixture = TestBed.createComponent(AddapiregisteryComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/addapiregistery/addapiregistery.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/addapiregistery/addapiregistery.component.ts new file mode 100644 index 0000000..f4cd146 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/addapiregistery/addapiregistery.component.ts @@ -0,0 +1,10 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-addapiregistery', + templateUrl: './addapiregistery.component.html', + styleUrls: ['./addapiregistery.component.scss'] +}) +export class AddapiregisteryComponent { + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/allapiregistery/allapiregistery.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/allapiregistery/allapiregistery.component.html new file mode 100644 index 0000000..114e7d5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/allapiregistery/allapiregistery.component.html @@ -0,0 +1,172 @@ + + +
+
+
+

API-Registery - {{getFormCode}}

+
+
+ + + +
+
+ + + Loading ... +
{{error}}
+
+ + + + + Table Name + + + + Action + + + + + + + + + {{user.table_name}} + + + + + + +
Who Column
+
Account ID: {{user.accountId}}
+
Created At: {{user.createdAt| date}}
+
Created By: {{user.createdBy}}
+
Updated At: {{user.updatedAt | date}}
+
Updated By: {{user.updatedBy}}
+
+
+ + + +
+ + + + + + + + + +
Field Name: {{user.field_name}}
+
+
+ + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+
+ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/allapiregistery/allapiregistery.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/allapiregistery/allapiregistery.component.scss new file mode 100644 index 0000000..8d27434 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/allapiregistery/allapiregistery.component.scss @@ -0,0 +1,5 @@ +@import '../../../../../../styles1.scss'; +.delete,.heading{ + text-align: center; + color: red; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/allapiregistery/allapiregistery.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/allapiregistery/allapiregistery.component.spec.ts new file mode 100644 index 0000000..1188923 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/allapiregistery/allapiregistery.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AllapiregisteryComponent } from './allapiregistery.component'; + +describe('AllapiregisteryComponent', () => { + let component: AllapiregisteryComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [AllapiregisteryComponent] + }); + fixture = TestBed.createComponent(AllapiregisteryComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/allapiregistery/allapiregistery.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/allapiregistery/allapiregistery.component.ts new file mode 100644 index 0000000..70425b0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/allapiregistery/allapiregistery.component.ts @@ -0,0 +1,299 @@ + +import { Component, OnInit, TemplateRef, ViewChild, ViewEncapsulation, } from '@angular/core'; +import { ActivatedRoute, Router } from "@angular/router"; + +import { ToastrService } from 'ngx-toastr'; +import { ExtensionField } from "src/app/models/fnd/ExtensionField"; +import { ExtensionService } from 'src/app/services/fnd/extension.service'; + +//import { Teacher } from "src/app/pages/university/teacher/Teacher"; +import { UserInfoService } from "src/app/services/user-info.service"; +import { ApiRegisteryservice } from '../ApiRegistery.service'; +import { FormBuilder, FormGroup } from '@angular/forms'; + +interface Rows { + + id: number; + url: string; + method: string; + header_id: number; +} +@Component({ + selector: 'app-allapiregistery', + templateUrl: './allapiregistery.component.html', + styleUrls: ['./allapiregistery.component.scss'] +}) +export class AllapiregisteryComponent implements OnInit { + @ViewChild("extById") extensionById: TemplateRef; + @ViewChild("showInGrid") txId: TemplateRef; + + //@ViewChild("filter") filter: ElementRef; + basic: boolean = false; + // whoColumns: Teacher; // who columns data + alldata: any; + userrole; + columns: any[]; + rows: Rows[]; + temp = []; + rowSelected: any = {}; + modaldelete = false; + modalEdit = false; + modalAdd = false; + public entryForm: FormGroup; + loading = false; + error; + selected: any[] = []; + filterData: string; + isLoading: boolean = false; + extensionField: ExtensionField[] = []; + constructor(private router: Router, + private route: ActivatedRoute, + private toastr: ToastrService, + private extensionService: ExtensionService, + private apiregistery: ApiRegisteryservice, + private userInfoService: UserInfoService, + private _fb: FormBuilder, + ) { } + + private account_id: any; + // private formCode: any; + formCode: string; + getFormCode; + public key: string = "formCode"; + public storage: Storage = sessionStorage; + ngOnInit(): void { + this.route.queryParams.subscribe(params => { + this.getFormCode = params['formCode']; + console.log("formCode ", this.getFormCode); + this.storage.setItem("formCode", this.getFormCode); // Store the value in sessionStorage using the key + }); + + + this.account_id = this.userInfoService.getUserId(); + this.formCode = this.storage.getItem(this.key); + console.log("[ngOnInit] acc_id: " + this.account_id + " formCode: " + this.formCode); + this.getData(); + // this.columns = [ + // /* { prop: "id", name: "Actions", width: 65, cellTemplate: this.extensionById }, */ + // { prop: "field_name", name: "Field Name", width: 120 }, + // { prop: "mapping", name: "Mapping", width: 150 }, + // { prop: "data_type", name: "Data Type", width: 190 }, + // /* { prop: "id", name: "Show In Grid", width: 90, cellTemplate: this.txId } */ + // ]; + + this.entryForm = this._fb.group({ + table_name: [null], + }); + + this.userrole = this.userInfoService.getRoles(); + + } + getData() { + this.apiregistery.getAll().subscribe((data) => { + this.alldata = data + console.log(' get all ', this.alldata); + if (this.alldata.length == 0) { + this.error = "No data Available"; + console.log(this.error) + } + }, (error) => { + console.log(error); + if (error) { + this.error = "Server Error"; + } + }) + } + + alertType: string; + alertMessage: string = ""; + alert = [ + { type: "success", message: "Build Successfully" }, + { type: "danger", message: "Some error Happens" }, + ]; + + // buildExtension(id, accountID) { + // console.log("buildExtension() Account id = " + this.account_id + " Form Code = ", + // this.formCode); + // if (this.account_id === null && this.formCode === null) { + // this.alertType = this.alert[1].type; + // this.alertMessage = "form_code is null"; + // return; + // } + // this.extensionService + // .buildExtension(id, accountID, this.formCode) + // .subscribe( + // (data) => { + // console.log("build successfully ", data); + // this.alert.forEach((e) => { + // if (e.type === "success") { + // this.alertType = e.type; + // this.alertMessage = e.message; + // } //data.type === true : e.message ? e.message + + // }); + // // go to parent entry form... + // //this.router.navigate(['../../'], { relativeTo: this.route.parent }); + + // if (data) { + // this.toastr.success("Build successfully"); + // } + + + // }, + // (err) => { + + // if (err) { + // this.toastr.error("Build Not Successful"); + // } + // console.log("build failed ", err); + // this.alertType = this.alert[1].type; + // this.alertMessage = this.alert[1].message; + // } + // ); + // } + + // isChecked(id: number) { + // return ( + // this.extensionField.find(c => { + // if (c.id === id) return c.isActive; + // }) !== undefined + // ); + // } + + // chk(checked) { + // console.log(checked); + // return !checked; + // } + + // extField: ExtensionField; + // checked: boolean; + // toggle(id: number) { + // console.log(id); + // this.extensionService.getById(id).subscribe(ext => { + // this.extField = ext; + // this.checked = ext.isActive; + // console.log('extField ', this.extField); + // console.log('checked ', this.checked); + // }); + // console.log(this.extField.isActive); + // //this.extensionService.update(id,this.extField).subscribe(); + // } + + goToEdit(row) { + this.rowSelected = row; + + this.modalEdit = true; + } + + onUpdate(id) { + this.modalEdit = false; + //console.log("in update"); + console.log("id " + id); + console.log(this.rowSelected); + //console.log("out update"); + this.apiregistery.update(id, this.rowSelected).subscribe( + (data) => { + console.log(data); + if (data || data.status >= 200 && data.status <= 299) { + this.toastr.success("Update Successfully"); + } + setTimeout(() => { + this.ngOnInit(); + }, 500); + + }, (error) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + // this.toastr.success("update Succesfully"); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error("Not Updated"); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Not Updated"); + } + }); + setTimeout(() => { + this.ngOnInit(); + }, 500); + } + onCreate() { + this.modalAdd = false; + this.apiregistery.create(this.entryForm.value).subscribe( + (data) => { + console.log('after add ', data); + if (data || data.status >= 200 && data.status <= 299) { + this.toastr.success("Added Successfully"); + } + setTimeout(() => { + this.ngOnInit(); + }, 500); + + }, (error) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + // this.toastr.success("Added Succesfully"); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error("Not Added"); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Not Added"); + } + }); + setTimeout(() => { + this.ngOnInit(); + }, 500); + } + goToAdd(row) { + this.modalAdd = true; + this.submitted = false; + + } + submitted = false; + onSubmit() { + console.log(this.entryForm.value); + this.submitted = true; + if (this.entryForm.invalid) { + return; + } this.onCreate(); + + } + + + // goToAdd() { + // this.router.navigate(["../add"], { relativeTo: this.route }); + // } + // goToEdit(id: number) { + // this.router.navigate(["../edit/" + id], { relativeTo: this.route }); + // } + + goToWhoColumns(id: number) { + this.basic = !this.basic; + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.extensionService.delete(id).subscribe((data) => { + console.log(data); + this.ngOnInit(); + if (data.body) { + this.toastr.success('Deleted successfully'); + } + }, (error) => { + console.log('Error in adding data...', +error); + if (error) { + this.toastr.error('Not Deleted Data Getting Some Error'); + } + }); + } + + + gotoline(id: any) { + this.router.navigate(["../line/" + id], { relativeTo: this.route }) + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/apiregistery.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/apiregistery.component.html new file mode 100644 index 0000000..0680b43 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/apiregistery.component.html @@ -0,0 +1 @@ + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/apiregistery.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/apiregistery.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/apiregistery.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/apiregistery.component.spec.ts new file mode 100644 index 0000000..56bfcc0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/apiregistery.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ApiregisteryComponent } from './apiregistery.component'; + +describe('ApiregisteryComponent', () => { + let component: ApiregisteryComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [ApiregisteryComponent] + }); + fixture = TestBed.createComponent(ApiregisteryComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/apiregistery.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/apiregistery.component.ts new file mode 100644 index 0000000..3abcf3c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/apiregistery.component.ts @@ -0,0 +1,214 @@ +// import { Component } from '@angular/core'; + +// @Component({ +// selector: 'app-apiregistery', +// templateUrl: './apiregistery.component.html', +// styleUrls: ['./apiregistery.component.scss'] +// }) +// export class ApiregisteryComponent { + +// } +import { Component, OnInit, TemplateRef, ViewChild, ViewEncapsulation, } from '@angular/core'; +import { ActivatedRoute, Router } from "@angular/router"; + +import { ToastrService } from 'ngx-toastr'; +import { ExtensionField } from "src/app/models/fnd/ExtensionField"; +import { ExtensionService } from 'src/app/services/fnd/extension.service'; +//import { Teacher } from "src/app/pages/university/teacher/Teacher"; +import { UserInfoService } from "src/app/services/user-info.service"; + +interface Rows { + id: number; + field_name: any; + mapping: any; + data_type: any; + isActive: any; +} +@Component({ + selector: 'app-apiregistery', + templateUrl: './apiregistery.component.html', + styleUrls: ['./apiregistery.component.scss'] +}) +export class ApiregisteryComponent implements OnInit { + @ViewChild("extById") extensionById: TemplateRef; + @ViewChild("showInGrid") txId: TemplateRef; + + //@ViewChild("filter") filter: ElementRef; + basic: boolean = false; + // whoColumns: Teacher; // who columns data + columns: any[]; + rows: Rows[]; + temp = []; + rowSelected: any = {}; + modaldelete = false; + loading = false; + error; + selected: any[] = []; + filterData: string; + isLoading: boolean = false; + extensionField: ExtensionField[] = []; + constructor(private router: Router, + private route: ActivatedRoute, + private toastr: ToastrService, + private extensionService: ExtensionService, + private userInfoService: UserInfoService) { } + + private account_id: any; + // private formCode: any; + formCode: string; + getFormCode; + public key: string = "formCode"; + public storage: Storage = sessionStorage; + ngOnInit(): void { + this.route.queryParams.subscribe(params => { + this.getFormCode = params['formCode']; + console.log("formCode ", this.getFormCode); + this.storage.setItem("formCode", this.getFormCode); // Store the value in sessionStorage using the key + }); + + + this.account_id = this.userInfoService.getUserId(); + this.formCode = this.storage.getItem(this.key); + console.log("[ngOnInit] acc_id: " + this.account_id + " formCode: " + this.formCode); + this.getData(); + this.columns = [ + /* { prop: "id", name: "Actions", width: 65, cellTemplate: this.extensionById }, */ + { prop: "field_name", name: "Field Name", width: 120 }, + { prop: "mapping", name: "Mapping", width: 150 }, + { prop: "data_type", name: "Data Type", width: 190 }, + /* { prop: "id", name: "Show In Grid", width: 90, cellTemplate: this.txId } */ + ]; + } + getData() { + this.isLoading = true; + //this.extensionField = new ExtensionField(); + this.extensionService.getAll().subscribe((data) => { + this.isLoading = false; + console.log(data); + // this.extensionField = data; + if (this.formCode === 'undefined' || this.formCode === undefined || this.formCode === null) { + this.extensionField = data; + } else { + this.extensionField = data.filter(item => item.form_code === this.formCode); + console.log(this.extensionField); + } + this.rows = this.extensionField; + if (this.extensionField.length == 0) { + this.error = "No data Available"; + console.log(this.error) + } + //this.temp = [...this.extensionField]; + }, (error) => { + console.log(error); + if (error) { + this.error = "No data Available OR server Error"; + } + }); + } + + alertType: string; + alertMessage: string = ""; + alert = [ + { type: "success", message: "Build Successfully" }, + { type: "danger", message: "Some error Happens" }, + ]; + + buildExtension(id, accountID) { + console.log("buildExtension() Account id = " + this.account_id + " Form Code = ", + this.formCode); + if (this.account_id === null && this.formCode === null) { + this.alertType = this.alert[1].type; + this.alertMessage = "form_code is null"; + return; + } + this.extensionService + .buildExtension(id, accountID, this.formCode) + .subscribe( + (data) => { + console.log("build successfully ", data); + this.alert.forEach((e) => { + if (e.type === "success") { + this.alertType = e.type; + this.alertMessage = e.message; + } //data.type === true : e.message ? e.message + + }); + // go to parent entry form... + //this.router.navigate(['../../'], { relativeTo: this.route.parent }); + + if (data) { + this.toastr.success("Build successfully"); + } + + + }, + (err) => { + + if (err) { + this.toastr.error("Build Not Successful"); + } + console.log("build failed ", err); + this.alertType = this.alert[1].type; + this.alertMessage = this.alert[1].message; + } + ); + } + + isChecked(id: number) { + return ( + this.extensionField.find(c => { + if (c.id === id) return c.isActive; + }) !== undefined + ); + } + + chk(checked) { + console.log(checked); + return !checked; + } + + extField: ExtensionField; + checked: boolean; + toggle(id: number) { + console.log(id); + this.extensionService.getById(id).subscribe(ext => { + this.extField = ext; + this.checked = ext.isActive; + console.log('extField ', this.extField); + console.log('checked ', this.checked); + }); + console.log(this.extField.isActive); + //this.extensionService.update(id,this.extField).subscribe(); + } + + goToAdd() { + this.router.navigate(["../add"], { relativeTo: this.route }); + } + goToEdit(id: number) { + this.router.navigate(["../edit/" + id], { relativeTo: this.route }); + } + + goToWhoColumns(id: number) { + this.basic = !this.basic; + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.extensionService.delete(id).subscribe((data) => { + console.log(data); + this.ngOnInit(); + if (data.body) { + this.toastr.success('Deleted successfully'); + } + }, (error) => { + console.log('Error in adding data...', +error); + if (error) { + this.toastr.error('Not Deleted Data Getting Some Error'); + } + }); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/editapiregistery/editapiregistery.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/editapiregistery/editapiregistery.component.html new file mode 100644 index 0000000..e0fb3d3 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/editapiregistery/editapiregistery.component.html @@ -0,0 +1 @@ +

editapiregistery works!

diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/editapiregistery/editapiregistery.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/editapiregistery/editapiregistery.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/editapiregistery/editapiregistery.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/editapiregistery/editapiregistery.component.spec.ts new file mode 100644 index 0000000..8eece98 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/editapiregistery/editapiregistery.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { EditapiregisteryComponent } from './editapiregistery.component'; + +describe('EditapiregisteryComponent', () => { + let component: EditapiregisteryComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [EditapiregisteryComponent] + }); + fixture = TestBed.createComponent(EditapiregisteryComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/editapiregistery/editapiregistery.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/editapiregistery/editapiregistery.component.ts new file mode 100644 index 0000000..3ea304c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/apiregistery/editapiregistery/editapiregistery.component.ts @@ -0,0 +1,10 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-editapiregistery', + templateUrl: './editapiregistery.component.html', + styleUrls: ['./editapiregistery.component.scss'] +}) +export class EditapiregisteryComponent { + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/dashboard/dashboard.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/dashboard/dashboard.component.html new file mode 100644 index 0000000..e643f0a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/dashboard/dashboard.component.html @@ -0,0 +1,375 @@ + +
+ + +
+
+

{{ item?.charttitle }}

+

+ + 0 +

+
+
+
+ + + + +
+ + + +
+
+

{{item?.charttitle}}

+ + +
+
+
+ +
+
+

{{item?.charttitle}}

+ + +
+
+
+ +
+
+

{{item?.charttitle}}

+ + +
+
+
+ +
+
+

{{item?.charttitle}}

+ + +
+
+
+ +
+
+

{{item?.charttitle}}

+ + +
+
+
+ +
+
+

{{item?.charttitle}}

+ + +
+
+
+ +
+
+

{{item?.charttitle}}

+ + +
+
+
+ +
+
+

{{item?.charttitle}}

+ + +
+
+
+ +
+
+

{{item?.charttitle}}

+ + +
+
+
+
+
+ + + + + +
+ + + + +
+ + +
+
+ + Avatar + + + + + {{not.notification}} + + {{ not.time | timePipe }} +
+
+
+
+
+ + + +
+ + + +
+
+
+
+
+
+
+ {{app.owner}} {{app.accessibility ? 'private' : 'public'}} +
+
+ +
+
+
+ {{app.projectName}} +
+
+
+ {{app.description ? app.description : 'project description'}} +
+
+ + +
+
+
+
+ + {{tech}} + +
+ +
+
+
+ + +
+ +
+
+
+
+
+
+
+
+
+ + + +
+
\ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/dashboard/dashboard.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/dashboard/dashboard.component.scss new file mode 100644 index 0000000..5d88af5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/dashboard/dashboard.component.scss @@ -0,0 +1,73 @@ +//@import '../../../assets/scss/var'; + +h4{margin-top: 16px;} +.s-order-dash-pg { + margin: 0px; + display:flex; + flex-wrap:wrap; + flex-direction:row; + justify-content:center; + overflow: auto; + overflow-x: hidden; + .chart-box{ + margin:16px; + padding:0 16px; + background-color: #fff; + border:1px solid #ccc; + border-radius: 2px; + max-height: 200px; + + } +} + +.chart-box{ + margin:16px; + padding:0 16px; + background-color: #fff; + border:1px solid #ccc; + border-radius: 2px; + max-width: 400px auto; + overflow: auto; + max-height: 300px auto; + + +} +#word{ + // width: 270px; + width:260px +} +.center{ + text-align: center; + font-weight: 500; +} +.s{ + color: blue; +} + +li{ + list-style-type: none; +} +.progress-bar{ + margin-bottom: 5px; + height: 15px; +} +.tag-input { + width: 100%; + padding: 0px 15px; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + + clr-combobox-container{ + padding-top: 0px !important; + padding-bottom:0px !important; + } + clr-combobox{ + width: 100%; + padding: 5px 5px; + // border: 1px solid #ccc; + border-radius: 4px; + } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/dashboard/dashboard.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/dashboard/dashboard.component.spec.ts new file mode 100644 index 0000000..5ec4ff8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/dashboard/dashboard.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DashboardComponent } from './dashboard.component'; + +describe('DashboardComponent', () => { + let component: DashboardComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ DashboardComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(DashboardComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/dashboard/dashboard.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/dashboard/dashboard.component.ts new file mode 100644 index 0000000..653ea4b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/dashboard/dashboard.component.ts @@ -0,0 +1,106 @@ +import { Component, OnInit } from '@angular/core'; +import { ToastrService } from 'ngx-toastr'; +import { DashboardService } from 'src/app/services/builder/dashboard.service'; +import { Dashboard3Service } from 'src/app/services/builder/dashboard3.service'; + +@Component({ + selector: 'app-dashboard', + templateUrl: './dashboard.component.html', + styleUrls: ['./dashboard.component.scss'] +}) +export class DashboardComponent implements OnInit { + + data: any; + rows: any[]; + error; + chartData: any; + + constructor(private dashboard3Service: Dashboard3Service, + private dashboardService: DashboardService,) { } + + ngOnInit(): void { + this.getAllDash(); + this.getdashboard(); + } + dashboardModel; + dashboard_name; + getAllDash(){ + this.dashboard3Service.getDynamicDashDetails().subscribe(data => { + console.log(data); + const dash = data[0].model; + this.dashboardModel= JSON.parse(dash) ; + this.dashboard_name = data.dashboard_name; + + for (let i = 0; i < this.dashboardModel.length; i++) { + if(this.dashboardModel[i]?.charturl){ + this.dashboard3Service.getChartData(this.dashboardModel[i].charturl,this.dashboardModel[i].name).subscribe(tData => { + console.log(tData); + this.dashboardModel[i].featchData = tData; + }); + } + } + console.log(this.dashboardModel); + }); + } + + lineChartData: any[] = []; + radarChartData: any[] = []; + bubbleChartData: any[] = []; + dashboardChartData; + + getdashboard() { + this.chartData = []; + this.radarChartData = []; + this.bubbleChartData = []; + this.lineChartData = []; + this.dashboardService.getAllDash().subscribe( + (data) => { + this.data = data; + const filteredData = this.data.filter(item => item.add_to_home); + + this.rows = filteredData; + + if (filteredData.length === 0) { + this.error = "No data available with add_to_home set to true."; + } else { + this.error = ""; + } + + this.rows.forEach(item => { + if (item['dashbord1_Line'] && Array.isArray(item['dashbord1_Line']) && item['dashbord1_Line'].length > 0) { + item['dashbord1_Line'].forEach(dashboardLineItem => { + if (dashboardLineItem.model) { + const parsedModel = JSON.parse(dashboardLineItem.model); + this.chartData.push(parsedModel); + + this.dashboardChartData = this.chartData[0]?.dashboard; // Add a check here + + // if (this.dashboardChartData) { + for (let i = 0; i < this.dashboardChartData.length; i++) { + console.log(this.dashboardChartData[i]?.charturl); + if (this.dashboardChartData[i]?.charturl) { + this.dashboard3Service.getUrlChartData(this.dashboardChartData[i].table, this.dashboardChartData[i].name, this.dashboardChartData[i].xAxis,this.dashboardChartData[i].yAxis, this.dashboardChartData[i].datastore, this.dashboardChartData[i].charturl + ).subscribe(tData => { + console.log(tData); + this.dashboardChartData[i].featchData = tData; + }); + } + // } + + console.log(this.dashboardChartData); + + // this.lineChartData.push({ data: parsedModel.data, label: dashboardLineItem.name }); + console.log(dashboardLineItem.model); + } + } + }); + } + }); + }, + (error) => { + console.error('Error fetching dashboard data:', error); + }); + + console.log("Chart Data:", this.chartData); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.css new file mode 100644 index 0000000..eb2be77 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.css @@ -0,0 +1,39 @@ +.button1::after { + content: none; +} + +.button1:hover::after { + content: "ADD ROWS"; +} + +.section { + background-color: #dddddd; + height: 40px; +} + +.section p { + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + background-color: rgb(255, 255, 255); + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + +.center { + text-align: center; +}/*# sourceMappingURL=addextension.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.css.map new file mode 100644 index 0000000..922569c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["addextension.component.scss","addextension.component.css"],"names":[],"mappings":"AAEA;EACE,aAAA;ACDF;;ADGA;EACE,mBAAA;ACAF;;ADGA;EACE,yBAVS;EAWT,YAAA;ACAF;;ADGA;EAEE,aAAA;EACA,eAAA;ACDF;;ADIA;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EACA,wBAAA;EACA,oCAAA;EACA,eAAA;EACA,WAAA;EACA,mBAAA;ACDF;;ADGA;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACAF;;ADEA;EACE,kBAAA;ACCF","file":"addextension.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.html new file mode 100644 index 0000000..263ceaf --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.html @@ -0,0 +1,52 @@ +

Extension Field

+Add Mode
+
+ +
+ + +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+ + +
+ +
+
+
+ + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.scss new file mode 100644 index 0000000..1a7e044 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.scss @@ -0,0 +1,39 @@ +$bg-color: #dddddd; + +.button1::after { + content: none; +} +.button1:hover::after { + content: "ADD ROWS"; +} + +.section { + background-color: $bg-color; + height: 40px; +} + +.section p { + //color: white; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + background-color:rgb(255, 255, 255); + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +.center { + text-align: center; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.spec.ts new file mode 100644 index 0000000..9ab8763 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AddextensionComponent } from './addextension.component'; + +describe('AddextensionComponent', () => { + let component: AddextensionComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ AddextensionComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(AddextensionComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.ts new file mode 100644 index 0000000..874fb4a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/addextension/addextension.component.ts @@ -0,0 +1,94 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ExtensionService } from 'src/app/services/fnd/extension.service'; +@Component({ + selector: 'app-addextension', + templateUrl: './addextension.component.html', + styleUrls: ['./addextension.component.scss'] +}) +export class AddextensionComponent implements OnInit { + public extFieldForm: FormGroup; + submitted = false; + basic:boolean = true; + + isActive: boolean = true; + + formCode: string; + // GET FORM_CODE FROM SESSION + public key:string="formCode"; + public storage:Storage = sessionStorage; + + types:string[] = ['header', 'line']; + lookup_values: string[] = []; // come from server + lookups: string[] =[ + 'extn1', 'extn2', 'extn3', 'extn4', 'extn5', + 'extn6', 'extn7', 'extn8', 'extn9', 'extn10', + 'extn11', 'extn12', 'extn13', 'extn14', 'extn15' + ]; + datatype_values: string[] = []; // come from server + datatypes: string[] = ['textfield', 'longtext', 'date', 'checkbox', 'radiobutton', 'autocomplete']; + constructor( private _fb: FormBuilder, + private router: Router, + private route: ActivatedRoute, + private extensionService: ExtensionService,) { } + + ngOnInit(): void { + this.formCode = this.storage.getItem(this.key); + console.log('form_code in ext : ', this.formCode); + + this.extFieldForm = this._fb.group({ + type: [null, [Validators.required]], // HO + field_name: [null, [Validators.required]], // label name + mapping: [null, [Validators.required]], // ext1 + data_type: [null, [Validators.required]], // txt, datw + form_code: [this.formCode], // should come from session + // isActive: [true] + active: [true] + }); + } + getLookupValues() { + this.extensionService.getLookupValues().subscribe(data => { + console.log('Lookup: ',data); + this.lookup_values = data; + }); + } + + getDataTypeValues() { + this.extensionService.getDataTypeValues().subscribe(data => { + console.log('data_type: ', data); + this.datatype_values = data; + }); + } + + onSubmit() { + console.log(this.extFieldForm.value); + this.basic = !this.basic; + this.submitted = true; + if (this.extFieldForm.invalid) { + return; + } + this.onCreate(); + //this.router.navigate(["../all"], { relativeTo: this.route }); + } + + onCreate() { + this.extensionService.create(this.extFieldForm.value).subscribe( + (data) => { + console.log('data save successfully', data); + this.router.navigate(["../all"], { relativeTo: this.route, queryParams: { formCode: this.formCode }}); + //this.router.navigate(['all'], { relativeTo: this.route.parent }); + }, + (error) => { + console.log(error); + this.router.navigate(["../all"], { relativeTo: this.route, queryParams: { formCode: this.formCode }}); + } + ); + } + + close() { + this.basic = !this.basic; + this.router.navigate(["../all"], { relativeTo: this.route }); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.css new file mode 100644 index 0000000..03b630f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.css @@ -0,0 +1,64 @@ +input[type=text], [type=date], [type=password] { + width: 100%; + padding: 15px 20px; + background-color: rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.required-field { + color: red; + font-size: 18px; +} + +.green { + background-color: rgb(156, 231, 156); + color: black; +} + +.blue { + background-color: #57abcf; + color: black; +} + +.td-title { + text-align: center; + width: 150px; + color: white; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); +} + +th { + background-color: rgb(170, 169, 169); + font-weight: bold; +} + +.td-content { + text-align: left; +} + +.delete, .heading { + text-align: center; + color: red; +} + +.section p { + background-color: rgb(206, 201, 201); + padding: 10px; + font-size: 18px; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + +.delete, .heading { + text-align: center; + color: red; +}/*# sourceMappingURL=allextension.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.css.map new file mode 100644 index 0000000..7b2d262 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../../../../styles1.scss","allextension.component.css","allextension.component.scss"],"names":[],"mappings":"AAAA;EACE,WAAA;EACA,kBAAA;EAED,oCAAA;EACC,qBAAA;EACA,sBAAA;EACA,kBAAA;EACA,sBAAA;ACAF;;ADEA;EACE,UAAA;EACF,eAAA;ACCA;;ADEA;EACE,oCAAA;EACA,YAAA;ACCF;;ADCA;EACE,yBAAA;EACA,YAAA;ACEF;;ADAA;EACE,kBAAA;EACA,YAAA;EACF,YAAA;EACE,iBAAA;EACA,2CAAA;ACGF;;ADAA;EACE,oCAAA;EACA,iBAAA;ACGF;;ADDA;EACE,gBAAA;ACIF;;ADFA;EACE,kBAAA;EACA,UAAA;ACKF;;ADHA;EACA,oCAAA;EACE,aAAA;EACA,eAAA;ACMF;;ADHA;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACMF;;ACzDA;EACE,kBAAA;EACA,UAAA;AD4DF","file":"allextension.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.html new file mode 100644 index 0000000..52701f7 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.html @@ -0,0 +1,101 @@ + + +
+
+
+

Form-Extension - {{getFormCode}}

+
+
+ + + +
+
+ + + Loading ... +
{{error}}
+ + + + + + Go To + + + Field Name + + + Mapping + + + Data Type + + + Action + + + + + + + Build + + {{user.field_name}} + {{user.mapping}} + {{user.data_type}} + + + + + +
Who Column
+
Account ID: {{user.accountId}}
+
Created At: {{user.createdAt| date}}
+
Created By: {{user.createdBy}}
+
Updated At: {{user.updatedAt | date}}
+
Updated By: {{user.updatedBy}}
+
+
+
+ + + + + + + +
Field Name: {{user.field_name}}
+
+
+ + + Users per page + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} + of {{pagination.totalItems}} users + + +
+
+ + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.scss new file mode 100644 index 0000000..8d27434 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.scss @@ -0,0 +1,5 @@ +@import '../../../../../../styles1.scss'; +.delete,.heading{ + text-align: center; + color: red; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.spec.ts new file mode 100644 index 0000000..342426c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AllextensionComponent } from './allextension.component'; + +describe('AllextensionComponent', () => { + let component: AllextensionComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ AllextensionComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(AllextensionComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.ts new file mode 100644 index 0000000..7dfdd6f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/allextension/allextension.component.ts @@ -0,0 +1,204 @@ +import { Component, OnInit, TemplateRef, ViewChild, ViewEncapsulation, } from '@angular/core'; +import { ActivatedRoute, Router } from "@angular/router"; + +import { ToastrService } from 'ngx-toastr'; +import { ExtensionField } from "src/app/models/fnd/ExtensionField"; +import { ExtensionService } from 'src/app/services/fnd/extension.service'; +//import { Teacher } from "src/app/pages/university/teacher/Teacher"; +import { UserInfoService } from "src/app/services/user-info.service"; + +interface Rows { + id: number; + field_name: any; + mapping: any; + data_type: any; + isActive: any; +} +@Component({ + selector: 'app-allextension', + templateUrl: './allextension.component.html', + styleUrls: ['./allextension.component.scss'] +}) +export class AllextensionComponent implements OnInit { + @ViewChild("extById") extensionById: TemplateRef; + @ViewChild("showInGrid") txId: TemplateRef; + + //@ViewChild("filter") filter: ElementRef; + basic: boolean = false; + // whoColumns: Teacher; // who columns data + columns: any[]; + rows: Rows[]; + temp = []; + rowSelected: any = {}; + modaldelete = false; + loading = false; + error; + selected: any[] = []; + filterData: string; + isLoading: boolean = false; + extensionField: ExtensionField[] = []; + constructor(private router: Router, + private route: ActivatedRoute, + private toastr: ToastrService, + private extensionService: ExtensionService, + private userInfoService: UserInfoService) { } + + private account_id: any; + // private formCode: any; + formCode: string; + getFormCode; + public key: string = "formCode"; + public storage: Storage = sessionStorage; + ngOnInit(): void { + this.route.queryParams.subscribe(params => { + this.getFormCode = params['formCode']; + console.log("formCode ", this.getFormCode); + this.storage.setItem("formCode", this.getFormCode); // Store the value in sessionStorage using the key + }); + + + this.account_id = this.userInfoService.getUserId(); + this.formCode = this.storage.getItem(this.key); + console.log("[ngOnInit] acc_id: " + this.account_id + " formCode: " + this.formCode); + this.getData(); + this.columns = [ + /* { prop: "id", name: "Actions", width: 65, cellTemplate: this.extensionById }, */ + { prop: "field_name", name: "Field Name", width: 120 }, + { prop: "mapping", name: "Mapping", width: 150 }, + { prop: "data_type", name: "Data Type", width: 190 }, + /* { prop: "id", name: "Show In Grid", width: 90, cellTemplate: this.txId } */ + ]; + } + getData() { + this.isLoading = true; + //this.extensionField = new ExtensionField(); + this.extensionService.getAll().subscribe((data) => { + this.isLoading = false; + console.log(data); + // this.extensionField = data; + if (this.formCode === 'undefined' || this.formCode === undefined || this.formCode === null) { + this.extensionField = data; + } else { + this.extensionField = data.filter(item => item.form_code === this.formCode); + console.log(this.extensionField); + } + this.rows = this.extensionField; + if (this.extensionField.length == 0) { + this.error = "No data Available"; + console.log(this.error) + } + //this.temp = [...this.extensionField]; + }, (error) => { + console.log(error); + if (error) { + this.error = "No data Available OR server Error"; + } + }); + } + + alertType: string; + alertMessage: string = ""; + alert = [ + { type: "success", message: "Build Successfully" }, + { type: "danger", message: "Some error Happens" }, + ]; + + buildExtension(id, accountID) { + console.log("buildExtension() Account id = " + this.account_id + " Form Code = ", + this.formCode); + if (this.account_id === null && this.formCode === null) { + this.alertType = this.alert[1].type; + this.alertMessage = "form_code is null"; + return; + } + this.extensionService + .buildExtension(id, accountID, this.formCode) + .subscribe( + (data) => { + console.log("build successfully ", data); + this.alert.forEach((e) => { + if (e.type === "success") { + this.alertType = e.type; + this.alertMessage = e.message; + } //data.type === true : e.message ? e.message + + }); + // go to parent entry form... + //this.router.navigate(['../../'], { relativeTo: this.route.parent }); + + if (data) { + this.toastr.success("Build successfully"); + } + + + }, + (err) => { + + if (err) { + this.toastr.error("Build Not Successful"); + } + console.log("build failed ", err); + this.alertType = this.alert[1].type; + this.alertMessage = this.alert[1].message; + } + ); + } + + isChecked(id: number) { + return ( + this.extensionField.find(c => { + if (c.id === id) return c.isActive; + }) !== undefined + ); + } + + chk(checked) { + console.log(checked); + return !checked; + } + + extField: ExtensionField; + checked: boolean; + toggle(id: number) { + console.log(id); + this.extensionService.getById(id).subscribe(ext => { + this.extField = ext; + this.checked = ext.isActive; + console.log('extField ', this.extField); + console.log('checked ', this.checked); + }); + console.log(this.extField.isActive); + //this.extensionService.update(id,this.extField).subscribe(); + } + + goToAdd() { + this.router.navigate(["../add"], { relativeTo: this.route }); + } + goToEdit(id: number) { + this.router.navigate(["../edit/" + id], { relativeTo: this.route }); + } + + goToWhoColumns(id: number) { + this.basic = !this.basic; + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.extensionService.delete(id).subscribe((data) => { + console.log(data); + this.ngOnInit(); + if (data.body) { + this.toastr.success('Deleted successfully'); + } + }, (error) => { + console.log('Error in adding data...', +error); + if (error) { + this.toastr.error('Not Deleted Data Getting Some Error'); + } + }); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.css new file mode 100644 index 0000000..08a78e8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.css @@ -0,0 +1,39 @@ +.button1::after { + content: none; +} + +.button1:hover::after { + content: "ADD ROWS"; +} + +.section { + background-color: #dddddd; + height: 40px; +} + +.section p { + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + background-color: rgb(255, 255, 255); + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + +.center { + text-align: center; +}/*# sourceMappingURL=editextension.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.css.map new file mode 100644 index 0000000..c952ee2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["editextension.component.scss","editextension.component.css"],"names":[],"mappings":"AAEA;EACE,aAAA;ACDF;;ADGA;EACE,mBAAA;ACAF;;ADGA;EACE,yBAVS;EAWT,YAAA;ACAF;;ADGA;EAEE,aAAA;EACA,eAAA;ACDF;;ADIA;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EACA,wBAAA;EACA,oCAAA;EACA,eAAA;EACA,WAAA;EACA,mBAAA;ACDF;;ADGA;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACAF;;ADEA;EACE,kBAAA;ACCF","file":"editextension.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.html new file mode 100644 index 0000000..cbb8bda --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.html @@ -0,0 +1,40 @@ +

FORM EXTENSION

+Edit Mode
+
+ + +
+
+
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
+ +
+
+
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.scss new file mode 100644 index 0000000..1a7e044 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.scss @@ -0,0 +1,39 @@ +$bg-color: #dddddd; + +.button1::after { + content: none; +} +.button1:hover::after { + content: "ADD ROWS"; +} + +.section { + background-color: $bg-color; + height: 40px; +} + +.section p { + //color: white; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + background-color:rgb(255, 255, 255); + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +.center { + text-align: center; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.spec.ts new file mode 100644 index 0000000..a8dd592 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { EditextensionComponent } from './editextension.component'; + +describe('EditextensionComponent', () => { + let component: EditextensionComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ EditextensionComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(EditextensionComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.ts new file mode 100644 index 0000000..015a153 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/editextension/editextension.component.ts @@ -0,0 +1,71 @@ +import { HttpErrorResponse } from '@angular/common/http'; +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ExtensionField } from 'src/app/models/fnd/ExtensionField'; +import { ExtensionService } from 'src/app/services/fnd/extension.service'; + +interface Rows { + id: number; + firstName: string; + lastName: string; + email: string; + createdAt: Date; + updatedAt: Date; +} +@Component({ + selector: 'app-editextension', + templateUrl: './editextension.component.html', + styleUrls: ['./editextension.component.scss'] +}) +export class EditextensionComponent implements OnInit { + types:string[] = ['header', 'line']; + lookup_values: string[] = []; // come from server + lookups: string[] =[ + 'extn1', 'extn2', 'extn3', 'extn4', 'extn5', + 'extn6', 'extn7', 'extn8', 'extn9', 'extn10', + 'extn11', 'extn12', 'extn13', 'extn14', 'extn15' + ]; + datatype_values: string[] = []; // come from server + datatypes: string[] = ['textfield', 'longtext', 'date', 'checkbox', 'radiobutton', 'autocomplete']; + + + updated = false; + extensionField: ExtensionField; + id: number; + constructor(private router: Router, + private route: ActivatedRoute, + private extensionService: ExtensionService) { } + + ngOnInit(): void { + this.extensionField = new ExtensionField(); + this.id = this.route.snapshot.params["id"]; + console.log("update with id = ", this.id); + this.getById(this.id); + } + getById(id: number) { + this.extensionService.getById(id).subscribe((data) => { + console.log(data); + this.extensionField = data; + }); + } + update() { + this.extensionService.update(this.id, this.extensionField).subscribe( + (data) => { + console.log(data); + this.router.navigate(["../../all"], { relativeTo: this.route, queryParams: { formCode: this.extensionField.form_code }}); + }, + (error: HttpErrorResponse) => { + console.log(error.message); + } + ); + } + + onSubmit() { + this.updated = true; + this.update(); + } + + back() { + this.router.navigate(["../../all"], { relativeTo: this.route, queryParams: { formCode: this.extensionField.form_code } }); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.css new file mode 100644 index 0000000..87d9fed --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.css @@ -0,0 +1 @@ +/*# sourceMappingURL=extension.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.css.map new file mode 100644 index 0000000..1113c5f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[],"names":[],"mappings":"","file":"extension.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.html new file mode 100644 index 0000000..6c46b1d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.html @@ -0,0 +1 @@ + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.spec.ts new file mode 100644 index 0000000..56890ae --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ExtensionComponent } from './extension.component'; + +describe('ExtensionComponent', () => { + let component: ExtensionComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ExtensionComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ExtensionComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.ts new file mode 100644 index 0000000..483aedf --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/extension/extension.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-extension', + templateUrl: './extension.component.html', + styleUrls: ['./extension.component.scss'] +}) +export class ExtensionComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/main-page/main-page.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/main-page/main-page.component.html new file mode 100644 index 0000000..873f882 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/main-page/main-page.component.html @@ -0,0 +1,3 @@ + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/main-page/main-page.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/main-page/main-page.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/main-page/main-page.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/main-page/main-page.component.spec.ts new file mode 100644 index 0000000..39261a3 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/main-page/main-page.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MainPageComponent } from './main-page.component'; + +describe('MainPageComponent', () => { + let component: MainPageComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ MainPageComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(MainPageComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/main-page/main-page.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/main-page/main-page.component.ts new file mode 100644 index 0000000..9873121 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/main-page/main-page.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-main-page', + templateUrl: './main-page.component.html', + styleUrls: ['./main-page.component.scss'] +}) +export class MainPageComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/sequencegenarator/sequencegenarator.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/sequencegenarator/sequencegenarator.component.html new file mode 100644 index 0000000..30fdb9f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/sequencegenarator/sequencegenarator.component.html @@ -0,0 +1,243 @@ + + +
+
+
+

{{ 'SEQ_GENERATOR' | translate }}

+
+ +
+ + +
+
+ + + + + Loading ... + +
{{error}}
+
+ + + {{ 'CURRENT_NO' | translate }} + + + + + {{ 'NAME' | translate }} + + + + + {{ 'PREFIX' | translate }} + + + + + + {{ 'SEPARATOR' | translate }} + + + + + + {{ 'SEQUENCE_SIZE' | translate }} + + + + + {{user.current_no}} + {{user.sequence_name}} + {{user.prefix}} + {{user.seperator}} + {{user.sequence_size}} + + + + + + + + + + + + {{ 'USERS_PER_PAGE' | translate + }} + {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} of {{pagination.totalItems}} users + + +
+
+ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/sequencegenarator/sequencegenarator.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/sequencegenarator/sequencegenarator.component.scss new file mode 100644 index 0000000..52f40a2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/sequencegenarator/sequencegenarator.component.scss @@ -0,0 +1,72 @@ +input[type=text],[type=number], +[type=date], +[type=password] { + width: 100%; + padding: 15px 20px; + // margin: 3px 0; + background-color: rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.required-field { + color: red; + font-size: 18px; +} + +.green { + background-color: rgb(156, 231, 156); + color: black; +} + +.blue { + background-color: #57abcf; //rgb(82, 87, 161); + color: black; +} + +.td-title { + text-align: center; + width: 150px; + color: white; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + //color: rgb(24, 13, 13); +} + +th { + //background-color:rgb(170, 169, 169); + font-weight: bold; +} + +.td-content { + text-align: left; +} + +.delete, +.heading { + text-align: center; + color: red; +} + +.section p { + background-color: rgb(206, 201, 201); + padding: 10px; + font-size: 18px; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + +input.ng-invalid.ng-touched { + border-color: red; +} + +.error_mess { + color: red; +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/sequencegenarator/sequencegenarator.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/sequencegenarator/sequencegenarator.component.spec.ts new file mode 100644 index 0000000..5981aa5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/sequencegenarator/sequencegenarator.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SequencegenaratorComponent } from './sequencegenarator.component'; + +describe('SequencegenaratorComponent', () => { + let component: SequencegenaratorComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ SequencegenaratorComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(SequencegenaratorComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/sequencegenarator/sequencegenarator.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/sequencegenarator/sequencegenarator.component.ts new file mode 100644 index 0000000..a9dea2a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/fnd/sequencegenarator/sequencegenarator.component.ts @@ -0,0 +1,190 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { SequenceService } from 'src/app/services/api/sequence.service'; +import { ExcelService } from 'src/app/services/excel.service'; +import * as moment from 'moment'; +import { HttpErrorResponse } from '@angular/common/http'; +@Component({ + selector: 'app-sequencegenarator', + templateUrl: './sequencegenarator.component.html', + styleUrls: ['./sequencegenarator.component.scss'] +}) +export class SequencegenaratorComponent implements OnInit { + loading = false; + selected: any[] = []; + workflow_data; + rowSelected: any = {}; + modaldelete = false; + error; + alldata = []; + modaladd = false; + modaledit = false; + submitted = false; + + public entryForm: FormGroup; + constructor(private seqservice: SequenceService, private router: Router, private toastr: ToastrService, private _fb: FormBuilder, + private route: ActivatedRoute, private excel: ExcelService) { } + + ngOnInit(): void { + this.getall(); + this.entryForm = this._fb.group({ + prefix: [null], + sequence_size: [null], + suffix: [null], + starting_no: [null], + seperator: [null], + + sequence_name: [null], + sequence_code: [null], + demonstration: [null], + + current_no: [null] + }); + } + getall() { + this.seqservice.getAll().subscribe((data) => { + console.log(data); + this.alldata = data; + + if (this.alldata.length == 0) { + console.log('zero data '); + this.error = "No data Available!" + } + }, (error) => { + console.log(error); + if (error) { + this.error = "No data Available OR server Error"; + } + + }) + } + // onSubmit(){ + // console.log(this.entryForm.value); + // this.seqservice.create(this.entryForm.value).subscribe((data)=>{ + // console.log(data); + // if (data) { + // this.toastr.success('Added successfully'); + // } + // }, + // (error) => { + // console.log('Error in adding data...',+error); + // if(error){ + // this.toastr.error('Not added Data'); + // } + + // }); + // this.modaladd=false; + // } + + + onSubmit() { + console.log(this.entryForm.value); + this.submitted = true + if (this.entryForm.invalid) { + return + } + this.onCreate(); + + } + + + onCreate() { + this.modaladd = false; + this.seqservice.create(this.entryForm.value).subscribe( + (data) => { + console.log(data); + if (data || data.status >= 200 && data.status <= 299) { + this.toastr.success("Added Succesfully"); + this.ngOnInit(); + } + }, (error) => { + if (error.status >= 200 && error.status <= 299) { + this.toastr.success("Added Succesfully"); + this.ngOnInit(); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error("Not Added"); + this.ngOnInit(); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Server Error"); + this.ngOnInit(); + } + }); + } + + + goToAdd() { + this.modaladd = true; + + } + + onExport() { + this.excel.exportAsExcelFile(this.alldata, 'user_', + moment().format('YYYYMMDD_HHmmss')) + } + + goToEdit(row) { + this.rowSelected = row; + console.log(row) + this.modaledit = true; + } + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.seqservice.delete(id).subscribe((data) => { + console.log(data); + if (data == null || data.status >= 200 && data.status <= 299) { + this.toastr.success('Deleted successfully'); + this.ngOnInit(); + } + }, + (error) => { + console.log(error); + if (error.status >= 200 && error.status <= 299) { + this.toastr.success('Deleted successfully'); + this.ngOnInit(); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error('Not Deleted Data Getting Some Error'); + this.ngOnInit(); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error('Server Error'); + this.ngOnInit(); + } + }); + + } + onUpdate(id) { + this.modaledit = false; + this.seqservice.update(id, this.rowSelected).subscribe((data) => { + console.log(data); + if (data || data.status >= 200 && data.status <= 299) { + this.toastr.success("Update Succesfully"); + this.ngOnInit(); + } + }, (error: HttpErrorResponse) => { + console.log(error?.message); + if (error.status >= 200 && error.status <= 299) { + this.toastr.success("Update Succesfully"); + this.ngOnInit(); + } + if (error.status >= 400 && error.status <= 499) { + this.toastr.error("Not Update"); + this.ngOnInit(); + } + if (error.status >= 500 && error.status <= 599) { + this.toastr.error("Server Error"); + this.ngOnInit(); + } + }); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/layout/layout.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/layout/layout.component.html new file mode 100644 index 0000000..8883c9d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/layout/layout.component.html @@ -0,0 +1,232 @@ + + +
+ + +
+ +
+ + {{ sysparameter?.company_Display_Name }} + + + CloudnSure + + +
+ + + + + + + + + + +
+ + + + + About + Profile Settings + + + + + + + + English + + + Hindi + + + Tamil + + + Punjabi + + + Malayalam + + + + + Change Password + Log out + + + +
+
+ +
+
+ +
+ + + + +
+ + +
+ + + + + {{ menu.menuItemDesc }} + + + + + {{ subnav.menuItemDesc }} + + + + + + + + + + {{ menu.menuItemDesc }} + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ +
+ + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/layout/layout.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/layout/layout.component.scss new file mode 100644 index 0000000..77f629a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/layout/layout.component.scss @@ -0,0 +1,104 @@ +input[type=text],[type=date], select,textarea { + width: 100%; + padding: 12px 20px; + margin: 8px 0; + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} +.center-content { + //width: 100%; + // max-width: 800px; + margin: auto; + // padding: 0 15px; + // display: flex; + // flex-direction: row; + // align-items: center; + // justify-content: center; + // flex-wrap: wrap; + // text-align: center; +} +/* Adjust the language button to be white and center its content vertically */ +.lang-btn { + padding: 12px 15px; + background-color: #007bff; /* Blue background */ + color: white; /* White text color */ + border: none; + border-radius: 5px; + display: flex; + align-items: center; + justify-content: space-between; + font-size: 16px; + font-weight: 500; + cursor: pointer; + transition: all 0.3s ease; +} + +.lang-btn:hover { + background-color: #0056b3; /* Darker blue on hover */ +} + +.lang-btn .language-icon, +.lang-btn .caret-icon { + color: white; /* White color for icons */ +} + +/* Make sure the label inside the button is also white */ +.lang-btn .language-label { + color: white; /* White color for the text */ + margin-right: 8px; +} + +/* Center the dropdown menu */ +.lang-dropdown-menu { + background-color: #f8f9fa; + border-radius: 5px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + max-width: 200px; + font-size: 14px; +} + +/* Style for each item in the dropdown */ +.lang-item { + padding: 10px; + display: flex; + align-items: center; + color: #333; /* Default text color for dropdown items */ + text-decoration: none; + transition: background-color 0.3s ease; +} + +.lang-item:hover { + background-color: #016692; /* Blue on hover */ + color: white; /* White text on hover */ +} + +/* Icon style inside each dropdown item */ +.lang-icon { + margin-right: 10px; + color: #007bff; /* Blue color for icons in dropdown */ +} + +/* Change text and icon to white when the dropdown is active */ +.lang-item .lang-icon { + color: white; +} + +/* Add some padding for top center positioning */ +.clr-dropdown button { + padding-top: 10px; /* Adjust top padding as needed */ + padding-bottom: 10px; /* Ensure button is evenly spaced */ +} + +/* Optional: Add a separator between the dropdown items */ +.lang-item:not(:last-child) { + border-bottom: 1px solid #ddd; +} + +/* Ensure proper alignment of the dropdown icon and label */ +.clr-dropdown button .language-label, +.clr-dropdown button .language-icon { + display: inline-block; + vertical-align: middle; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/layout/layout.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/layout/layout.component.spec.ts new file mode 100644 index 0000000..c4d6365 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/layout/layout.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { LayoutComponent } from './layout.component'; + +describe('LayoutComponent', () => { + let component: LayoutComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ LayoutComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(LayoutComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/layout/layout.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/layout/layout.component.ts new file mode 100644 index 0000000..7747324 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/layout/layout.component.ts @@ -0,0 +1,309 @@ + +import { Component,ViewEncapsulation, OnInit, Input } from '@angular/core'; +import { Router,ActivatedRoute } from '@angular/router'; +import { LoginService } from '../../../services/api/login.service'; +import { UserInfoService} from '../../../services/user-info.service'; +import { RealnetMenuService } from '../../../services/api/realnet-menu.service'; +import { Rn_Main_Menu } from '../../../models/builder/Rn_Main_Menu'; +import { MenuGroupService } from '../../../services/admin/menu-group.service'; +// import { GuidedTour, Orientation} from '../ngx-guided-tour/src/lib/guided-tour.constants'; +// import { GuidedTourService } from '../ngx-guided-tour/src/lib/guided-tour.service'; +// import { TourService } from '../ngx-guided-tour/src/lib/tour.service'; +import { ToastrService } from 'ngx-toastr'; +import { environment } from 'src/environments/environment'; +import { SysparameterService } from 'src/app/services/admin/sysparameter.service'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; +import { map } from 'rxjs'; + +import { RouterModule } from '@angular/router'; +import { ProjectSetup } from 'src/app/models/builder/Project_setup'; +import { Dashboard3Service } from 'src/app/services/builder/dashboard3.service'; + +import { TranslateService } from '@ngx-translate/core'; + +@Component({ + selector: 'app-layout', + templateUrl: './layout.component.html', + styleUrls: ['./layout.component.scss'] +}) +export class LayoutComponent implements OnInit { + // baseUrl= environment.chaturl; + @Input() data:any; + + loading = false; + apps: Array = []; + projectsetup; + + collapsed = true; + public showAppAlert:boolean = false; +modalteam=false; + public userName: string=""; + + private formCode: string ='teacher_form'; + public key:string="formCode"; + public storage:Storage = sessionStorage; + + constructor( + private router: Router, + private route: ActivatedRoute, + private userInfoService:UserInfoService, + private realnetMenuService: RealnetMenuService, + private menuGroupService: MenuGroupService, + private sysparaservice:SysparameterService, + private reportBuilderService: ReportBuilderService, + private dashboardService : Dashboard3Service, + private translate: TranslateService, + // private guidedTourService: GuidedTourService, + // private tourservice: TourService, + private toastr: ToastrService, + ) { + this.translate.setDefaultLang('en'); + this.userName = this.userInfoService.getUserName(); + this.reportBuilderService.getrbDetails().subscribe((data) => { + this.gridData = data; + }); + } + + + + switchLanguage(language: string): void { + this.translate.use(language); // Switch to the selected language + } + user_name : any; + userrole:any; + menus: Rn_Main_Menu[]; + menu:any; + tourdata; + steps; + error; + ngOnInit() { + this.storage.setItem(this.key, this.formCode); + this.user_name = this.userInfoService.getUserName(); + console.log('user name: ' + this.user_name); + this.userrole=this.userInfoService.getRoles(); + console.log('user_role',this.userrole); + this.udata=this.userInfoService.getUserId(); + console.log('user id',this.udata); + this.loadMenuByAccountId(); + this.loadMenuByMenuGroup(); + this.getById(1); +// this.tourservice.getall().subscribe((data)=>{ +// this.tourdata=data[1]; +// //console.log("tour data",data); +// console.log(this.tourdata); +// //console.log(this.tourdata.tourId); +// //console.log(this.tourdata.useOrb); +// //this.steps=JSON.stringify(this.tourdata.steps); +// // console.log(this.tourdata.steps); +// //this.dashboardTour.tourId=this.tourdata.tourId; +// //console.log(this.dashboardTour.tourId); +// //this.dashboardTour.useOrb=this.tourdata.useOrb; +// // this.dashboardTour.steps=this.tourdata.steps; +// }); +} + + + + +showFolderNames: boolean = false; // Variable to control the report names display +reportNames: any[] = []; // Store the report names + +// getName() { +// this.reportBuilderService.getrbDetails().pipe( +// map((data) => data.map((item) => item.folderName)) +// ).subscribe((reportName) => { +// this.reportNames = reportName; +// // this.showReportNames = true; // Toggle on +// console.log('Report Names:', this.reportNames); +// }); + +// } + + +getName() { + if (this.showFolderNames) { + // If in report mode, switch to default mode + this.showFolderNames = false; + } else { + // If in default mode, switch to report mode + this.reportBuilderService.getrbDetails().pipe( + map((data) => data.map((item) => item.folderName)) + ).subscribe( + (folderName) => { + this.reportNames = folderName; + console.log('Report Names:', this.reportNames); + this.showFolderNames = true; + },); + } +} + +filteredGridData: any[] = []; +gridData: any[] = []; +// Function to filter the data based on the selected folder +filterGridDataByFolder(folderName: string) { + this.filteredGridData = this.gridData.filter(item => item.folderName === folderName); +} + +showDashNames: boolean = false; +dashNames: any[] = []; +getDashName() { + if (this.showDashNames) { + // If in report mode, switch to default mode + this.showDashNames = false; + } else { + // If in default mode, switch to report mode + this.dashboardService.getAllDash().pipe( + map((data) => data.map((item) => item.dashboard_name)) + ).subscribe( + (dashboard_name) => { + this.dashNames = dashboard_name; + console.log('Dashboard Names:', this.dashNames); + // this.showFolderNames = true; + this.showDashNames = true; + },); + } +} + + + + + + + +showSetupMenus: boolean = false; +toggleSetupMenus() { + this.showSetupMenus = !this.showSetupMenus; + +} + + + + + + + + +// side nav menu-sub_menu +loadMenuByAccountId() { + this.realnetMenuService.getByAccountId().subscribe(resp => { + this.menus = resp; + console.log('menu: ', this.menus); + }); +} + +loadMenuByMenuGroup() { + this.menuGroupService.getByCurrentUserMenuGroupId2().subscribe(resp => { + this.menus = resp; + console.log('menus: ', this.menus); + },(error) => { + console.log(error); + if(error){ + this.error="No data Available OR server Error"; + } + if (error.status === 401) { + // auto logout if 401 response returned from api + // this.authenticationService.logout(); + this.toastr.error("Your Token Is Expire Plz login Again") + //location.reload(true); +} + }) +} +sysparameter; +getById(id: number) { + this.sysparaservice.getById(id).subscribe((data) => { + this.sysparameter = data; + console.log("getbyiddata",this.sysparameter); + }, + (err) => { + console.log(err); + } + ); +} + + +/* menuGroup: Rn_Menu_Group_Header[]; +menu_id: number; +loadMenuGroupData() { + this.menuGroupService.getAll().subscribe(resp => { + this.menuGroup = resp; + this.menu_id = this.menuGroup + }); +} */ + + + + + +navbarSelectionChange(val){ + // console.log(val); +} + +closeAppAlert(){ + this.showAppAlert=false; +} + +isDisabled(input: string): boolean{ + if(input === null) { + return true; + } else false; +} + + + onLogout() { + this.userInfoService.logout().subscribe((data)=>{ + console.log(data); + }); + sessionStorage.clear(); + this.router.navigate(['login']); + } + menuFlag = true; + menuFlag1 = false; + udata; + uid; + message(){ + //this.menuFlag = false; + // this.menuFlag1 = true; +// this.menuGroupService.getuser(this.udata).subscribe((data)=>{ +// console.log(data); +// }) +// window.open(`${this.baseUrl}`) + //window.location.href = `${this.baseUrl}`; + //this.udata=this.userInfoService.getUserInfo(); + //console.log(this.udata); + + this.menuGroupService.save(this.udata); + + this.uid=this.udata.userid; + localStorage.setItem("id", JSON.stringify(this.udata)); + //localStorage.setItem('id', this.uid); + //window.location.href = (`${this.baseUrl}/` + this.udata), true + //this.router.navigate([`${this.baseUrl}`], { relativeTo: this.route ,queryParams: { id: this.udata }}); + + //this.router.navigate(["../sureboard"],{relativeTo: this.route, queryParams: { userid: this.udata }}); + //this.router.navigate([`${this.baseUrl}`],{relativeTo: this.route, queryParams: { userid: this.udata }}); + //this.udata = this.userInfoService.getUserInfo(); + //this.userInfoService.storeUserInfo(JSON.stringify(this.udata.user)); + }// + + modaladd(){ + //this.modalteam=true; + this.router.navigate(['/cns-portal/myworkspace']); + } + mc; + me; + md; + mv; + send(val){ + console.log(val); + this.menuGroupService.storeaddeditvalues(val); +this.mc=val.mcreate; +this.me=val.medit; +this.md=val.mdelete; +this.mv=val.mvisible; +if(this.mv == 'false'){ + this.router.navigate(['/**']) +} + this.router.navigate(['./'+ val.main_menu_action_name] , { relativeTo: this.route}); + } + //skipLocationChange: true, value pass params->,queryParams:{mc:this.mc,me:this.me,md:this.md} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-page/main-page.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-page/main-page.component.html new file mode 100644 index 0000000..873f882 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-page/main-page.component.html @@ -0,0 +1,3 @@ + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-page/main-page.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-page/main-page.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-page/main-page.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-page/main-page.component.spec.ts new file mode 100644 index 0000000..39261a3 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-page/main-page.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MainPageComponent } from './main-page.component'; + +describe('MainPageComponent', () => { + let component: MainPageComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ MainPageComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(MainPageComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-page/main-page.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-page/main-page.component.ts new file mode 100644 index 0000000..9873121 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-page/main-page.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-main-page', + templateUrl: './main-page.component.html', + styleUrls: ['./main-page.component.scss'] +}) +export class MainPageComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-routing.module.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-routing.module.ts new file mode 100644 index 0000000..5b6b3b6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main-routing.module.ts @@ -0,0 +1,287 @@ + +import { SequencegenaratorComponent } from './fnd/sequencegenarator/sequencegenarator.component'; +import { Component, NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; +import { MainPageComponent } from '../main/fnd/main-page/main-page.component'; +import { PageNotFoundComponent } from './page-not-found/page-not-found.component'; +import { AboutComponent } from '../main/admin/about/about.component'; +import { LayoutComponent } from './layout/layout.component'; +import { UserComponent } from '../main/admin/user/user.component'; + +import { PasswordResetComponent } from '../main/admin/password-reset/password-reset.component'; +import { DashboardComponent } from '../main/fnd/dashboard/dashboard.component'; +import { AllMenuGroupComponent } from '../main/admin/menu-group/all/all-menu-group.component'; +import { EditMenuGroupComponent } from '../main/admin/menu-group/edit/edit-menu-group.component'; +import { MenuGroupComponent } from '../main/admin/menu-group/menu-group.component'; +import { ReadOnlyMenuGroupComponent } from '../main/admin/menu-group/read-only/readonly-menu-group.component'; +import { MenuRegisterComponent } from '../main/admin/menu-register/menu-register.component'; +import { AllMenurComponent } from '../main/admin/menu-register/all-menur/all-menur.component'; +import { AddMenurComponent } from '../main/admin/menu-register/add-menur/add-menur.component'; +import { EditMenurComponent } from '../main/admin/menu-register/edit-menur/edit-menur.component'; +import { ReadonlyMenurComponent } from '../main/admin/menu-register/readonly-menur/readonly-menur.component'; +import { ProfileSettingComponent } from '../main/admin/profile-setting/profile-setting.component'; +import { UsermaintanceComponent } from '../main/admin/usermaintance/usermaintance.component'; +import { UsermaintanceaddComponent } from '../main/admin/usermaintanceadd/usermaintanceadd.component'; +import { UsermaintanceeditComponent } from '../main/admin/usermaintanceedit/usermaintanceedit.component'; +import { UsergrpmaintenanceComponent } from '../main/admin/usergrpmaintenance/usergrpmaintenance.component'; +import { MenuaccesscontrolComponent } from '../main/admin/menuaccesscontrol/menuaccesscontrol.component'; +import { AuthGuard } from '../../services/auth_guard.service'; + +import { SystemparametersComponent } from '../main/admin/systemparameters/systemparameters.component'; +import { MenumaintanceComponent } from '../main/admin/menumaintance/menumaintance.component'; + +import { SubmenuComponent } from './admin/submenu/submenu.component'; + +import { Role } from '../../models/admin/role'; +import { AccesstypeComponent } from './admin/accesstype/accesstype.component'; +import { ModulesComponent } from './admin/modules/modules.component'; + +import { SessionloggerComponent } from './admin/sessionlogger/sessionlogger.component'; +import { ReportRunnerComponent } from './builder/report-runner/report-runner.component'; +import { ReportrunnerallComponent } from './builder/report-runner/reportrunnerall/reportrunnerall.component'; +import { Reportrunneredit2Component } from './builder/report-runner/reportrunneredit2/reportrunneredit2.component'; +import { ReportrunnereditComponent } from './builder/report-runner/reportrunneredit/reportrunneredit.component'; +import { ReportBuildComponent } from './builder/report-build/report-build.component'; +import { ReportbuildallComponent } from './builder/report-build/reportbuildall/reportbuildall.component'; +import { ReportbuildaddComponent } from './builder/report-build/reportbuildadd/reportbuildadd.component'; +import { ReportbuildeditComponent } from './builder/report-build/reportbuildedit/reportbuildedit.component'; +import { ReportbuildqueryComponent } from './builder/report-build/reportbuildquery/reportbuildquery.component'; +import { ReportBuild2Component } from './builder/report-build2/report-build2.component'; +import { ReportBuild2allComponent } from './builder/report-build2/report-build2all/report-build2all.component'; +import { ReportBuild2addComponent } from './builder/report-build2/report-build2add/report-build2add.component'; +import { ReportBuild2editComponent } from './builder/report-build2/report-build2edit/report-build2edit.component'; + + +import { DashboardnewComponent } from './builder/dashboardnew/dashboardnew.component'; +import { AllnewdashComponent } from './builder/dashboardnew/allnewdash/allnewdash.component'; +import { AddnewdashComponent } from './builder/dashboardnew/addnewdash/addnewdash.component'; +import { EditformnewdashComponent } from './builder/dashboardnew/editformnewdash/editformnewdash.component'; +import { EditnewdashComponent } from './builder/dashboardnew/editnewdash/editnewdash.component'; +import { ScheduleComponent } from './builder/dashboardnew/schedule/schedule.component'; +import { SetupiconComponent } from './builder/setupicon/setupicon.component'; +import { ExtensionComponent } from './fnd/extension/extension.component'; +import { AllextensionComponent } from './fnd/extension/allextension/allextension.component'; +import { AddextensionComponent } from './fnd/extension/addextension/addextension.component'; +import { EditextensionComponent } from './fnd/extension/editextension/editextension.component'; +import { DashboardrunnerComponent } from './builder/dashboardrunner/dashboardrunner.component'; +import { DashrunnerallComponent } from './builder/dashboardrunner/dashrunnerall/dashrunnerall.component'; +import { DashrunnerlineComponent } from './builder/dashboardrunner/dashrunnerline/dashrunnerline.component'; + +import { ApiregisteryComponent } from './fnd/apiregistery/apiregistery.component'; + +import { DatamanagementComponent } from './datamanagement/datamanagement/datamanagement.component'; +import { DatamananementworkflowComponent } from './datamanagement/datamananementworkflow/datamananementworkflow.component'; +import { BulkimportComponent } from './datamanagement/bulkimport/bulkimport.component'; +import { BulkimportallComponent } from './datamanagement/bulkimport/bulkimportall/bulkimportall.component'; +import { BulkimportaddComponent } from './datamanagement/bulkimport/bulkimportadd/bulkimportadd.component'; +import { BulkimporteditComponent } from './datamanagement/bulkimport/bulkimportedit/bulkimportedit.component'; +import { BulkimportlineComponent } from './datamanagement/bulkimport/bulkimportline/bulkimportline.component'; +import { BulkimporteditlineComponent } from './datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component'; +import { MappingruleComponent } from './datamanagement/mappingrule/mappingrule.component'; +import { MappingruleallComponent } from './datamanagement/mappingrule/mappingruleall/mappingruleall.component'; +import { MappingruleaddComponent } from './datamanagement/mappingrule/mappingruleadd/mappingruleadd.component'; +import { MappingruleeditComponent } from './datamanagement/mappingrule/mappingruleedit/mappingruleedit.component'; +import { Stepper_workflowComponent } from './BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component'; +import { Token_registeryComponent } from './fnd/Token_registery/Token_registery.component'; +import { MyworkspaceComponent } from './admin/myworkspace/myworkspace.component'; + +// import { QueryComponent } from './superadmin/query/query.component'; +// import { QueryaddComponent } from './superadmin/queryadd/queryadd.component'; +// import { QueryeditComponent } from './superadmin/queryedit/queryedit.component'; + + + + +const routes: Routes = [ + //Important: The sequence of path is important as the router go over then in sequential manner + { path: '', redirectTo: '/cns-portal/dashboard', pathMatch: 'full' }, + { + path: 'cns-portal', + component: LayoutComponent, + canActivate: [AuthGuard], + children: [ + { path: '', redirectTo: 'user', pathMatch: 'full' }, + { path: 'main', component: MainPageComponent }, + { path: 'user', component: UserComponent }, + + + + + { path: 'usermaintance', component: UsermaintanceComponent }, + { path: 'usermaintanceadd', component: UsermaintanceaddComponent }, + { path: 'usermaintancedit/:id', component: UsermaintanceeditComponent }, + { path: 'usergrpmaintance', component: UsergrpmaintenanceComponent }, + { path: 'menuaccess', component: MenuaccesscontrolComponent }, + { path: 'systemparameters', component: SystemparametersComponent }, + { path: 'menumaintance', component: MenumaintanceComponent }, + { path: 'submenu/:id', component: SubmenuComponent }, + + { path: 'passwordreset', component: PasswordResetComponent }, + { path: 'profile-settings', component: ProfileSettingComponent }, + { path: 'about', component: AboutComponent }, + { path: 'setupicon', component: SetupiconComponent }, + { path: 'myworkspace', component: MyworkspaceComponent }, + + + { + path: 'reportbuild', component: ReportBuildComponent, + children: [ + { path: '', redirectTo: 'all', pathMatch: 'full' }, + { path: 'all', component: ReportbuildallComponent }, + { path: 'add', component: ReportbuildaddComponent }, + { path: 'edit/:id', component: ReportbuildeditComponent }, + { path: 'reportQuery/:id', component: ReportbuildqueryComponent }, + + + //SUPER ADMIN + // { path: 'query', component: QueryComponent, canActivate: [AuthGuard], data: { roles: [Role.Admin] } }, + // { path: 'reportQuery/:id/queryadd', component: QueryaddComponent, canActivate: [AuthGuard], data: { roles: [Role.Admin] } }, + // { path: 'reportQuery/queryedit/:id', component: QueryeditComponent, canActivate: [AuthGuard], data: { roles: [Role.Admin] } }, + + + + ] + }, + + // {path:'rerunner',component:DatefunctionComponent}, + + { + path: 'reportbuild2', component: ReportBuild2Component, + children: [ + { path: '', redirectTo: 'all', pathMatch: 'full' }, + { path: 'all', component: ReportBuild2allComponent }, + { path: 'add', component: ReportBuild2addComponent }, + { path: 'edit/:id', component: ReportBuild2editComponent }, + ] + }, + + //report runner + { + path: 'rerunner', component: ReportRunnerComponent, + children: [ + { path: '', redirectTo: 'all', pathMatch: 'full' }, + { path: 'all', component: ReportrunnerallComponent }, + { path: 'runner2/:id', component: Reportrunneredit2Component }, + { path: 'runner/:id', component: ReportrunnereditComponent }, + ] + }, + + // dashboardbuilder + { + path: 'dashboardbuilder', component: DashboardnewComponent, + children: [ + + { path: '', redirectTo: 'all', pathMatch: 'full' }, + { path: 'all', component: AllnewdashComponent }, + { path: 'adddata', component: AddnewdashComponent }, + { path: 'editdata/:id', component: EditformnewdashComponent }, + { path: 'editdashn/:id', component: EditnewdashComponent }, + { path: 'schedule/:id', component: ScheduleComponent }, + ] + }, + + { + path: 'dashboardrunner', component: DashboardrunnerComponent, + children: [ + + { path: '', redirectTo: 'all', pathMatch: 'full' }, + { path: 'all', component: DashrunnerallComponent }, + { path: 'dashrunner/:id', component: DashrunnerlineComponent }, + ] + }, + + + { path: 'accesstype', component: AccesstypeComponent }, + { path: 'acmodules', component: ModulesComponent }, + { path: 'sessionlogger', component: SessionloggerComponent }, + { path: 'dashboard', component: DashboardComponent, }, + + { + path: 'menu-group', component: MenuGroupComponent, + children: [ + { path: '', redirectTo: 'all-menu', pathMatch: 'full' }, + { path: 'all-menu', component: AllMenuGroupComponent }, + { path: 'edit-menu', component: EditMenuGroupComponent }, + { path: 'read-only', component: ReadOnlyMenuGroupComponent } + ], + }, + + { + path: 'menu-r', component: MenuRegisterComponent, + children: [ + { path: '', redirectTo: 'all-r', pathMatch: 'full' }, + { path: 'all-r', component: AllMenurComponent }, + { path: 'add-r', component: AddMenurComponent }, + { path: 'edit-r', component: EditMenurComponent }, + { path: 'readonly-r', component: ReadonlyMenurComponent } + ], + }, + + { + path: 'extension', component: ExtensionComponent, + children: [ + { path: '', redirectTo: 'all', pathMatch: 'full' }, + { path: 'all', component: AllextensionComponent }, + { path: 'add', component: AddextensionComponent }, + { path: 'edit/:id', component: EditextensionComponent }, + ], + }, + { path: 'SequenceGenerator', component: SequencegenaratorComponent }, + { path: 'apiregistery', component: ApiregisteryComponent }, + + + // DATA MANAGEMENT + + { path: 'datamanagement', component: DatamanagementComponent }, + { path: 'dataworkflow/:id', component: DatamananementworkflowComponent }, + + //bulk Import Rule + { + path: 'validationrule', component: BulkimportComponent, + children: [ + { path: '', redirectTo: 'all', pathMatch: 'full' }, + { path: 'all', component: BulkimportallComponent }, + { path: 'add', component: BulkimportaddComponent }, + { path: 'edit/:id', component: BulkimporteditComponent }, + { path: 'ruleline', component: BulkimportlineComponent }, + { path: 'rulelineedit', component: BulkimporteditlineComponent }, + ], + }, + //bulk Import Rule mapping + { + path: 'mappingrule', component: MappingruleComponent, + children: [ + { path: '', redirectTo: 'all', pathMatch: 'full' }, + { path: 'all', component: MappingruleallComponent }, + { path: 'add', component: MappingruleaddComponent }, + { path: 'edit/:id', component: MappingruleeditComponent }, + ], + }, + + + // buildercomponents + + { path: 'tokenregistery', component: Token_registeryComponent }, + + { path: 'Stepper_workflow', component: Stepper_workflowComponent }, + + + + + + + + + + { path: '**', component: PageNotFoundComponent }, + + ] + }, + +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class MainRoutingModule { } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main.module.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main.module.ts new file mode 100644 index 0000000..0914655 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/main.module.ts @@ -0,0 +1,211 @@ + + +import { CommonModule } from '@angular/common'; +import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; +import { ClarityModule } from '@clr/angular'; + +import { MainPageComponent } from '../main/fnd/main-page/main-page.component'; +import { MainRoutingModule } from './main-routing.module'; +import { PageNotFoundComponent } from './page-not-found/page-not-found.component'; +// import { AboutComponent } from '../main/admin/about/about.component'; +// import { LayoutComponent } from './layout/layout.component'; +import { HelperModule } from 'src/app/pipes/helpers.module'; +import { PasswordResetComponent } from '../main/admin/password-reset/password-reset.component'; +import { UserComponent } from '../main/admin/user/user.component'; + + +import { AllMenuGroupComponent } from '../main/admin/menu-group/all/all-menu-group.component'; +import { EditMenuGroupComponent } from '../main/admin/menu-group/edit/edit-menu-group.component'; +import { MenuGroupComponent } from '../main/admin/menu-group/menu-group.component'; +import { ReadOnlyMenuGroupComponent } from '../main/admin/menu-group/read-only/readonly-menu-group.component'; +import { AddMenurComponent } from '../main/admin/menu-register/add-menur/add-menur.component'; +import { AllMenurComponent } from '../main/admin/menu-register/all-menur/all-menur.component'; +import { EditMenurComponent } from '../main/admin/menu-register/edit-menur/edit-menur.component'; +import { MenuRegisterComponent } from '../main/admin/menu-register/menu-register.component'; +import { ReadonlyMenurComponent } from '../main/admin/menu-register/readonly-menur/readonly-menur.component'; +import { ProfileSettingComponent } from '../main/admin/profile-setting/profile-setting.component'; +import { UsermaintanceaddComponent } from '../main/admin/usermaintanceadd/usermaintanceadd.component'; +import { UsermaintanceeditComponent } from '../main/admin/usermaintanceedit/usermaintanceedit.component'; + +import { DragDropModule } from '@angular/cdk/drag-drop'; +import { HttpClientModule } from '@angular/common/http'; +import { CodemirrorModule } from "@ctrl/ngx-codemirror"; +import { NgxChartsModule } from '@swimlane/ngx-charts'; +import { GridsterModule } from 'angular-gridster2'; +import { DynamicModule } from 'ng-dynamic-component'; +import { NgChartsModule } from 'ng2-charts'; +import { CKEditorModule } from 'ng2-ckeditor'; + +import { UserRegistrationComponent } from '../main/admin/user-registration/user-registration.component'; + +import { QRCodeModule } from 'angularx-qrcode'; +import { TagInputModule } from 'ngx-chips'; +import { CookieService } from 'ngx-cookie-service'; +import { ImageCropperModule } from 'ngx-image-cropper'; +import { ModulesComponent } from './admin/modules/modules.component'; +import { SessionloggerComponent } from './admin/sessionlogger/sessionlogger.component'; +import { SubmenuComponent } from './admin/submenu/submenu.component'; + +import { WireframeService } from 'src/app/services/builder/wireframe.service'; +import { ReportBuildComponent } from './builder/report-build/report-build.component'; +import { ReportbuildeditComponent } from './builder/report-build/reportbuildedit/reportbuildedit.component'; +import { ReportbuildqueryComponent } from './builder/report-build/reportbuildquery/reportbuildquery.component'; +import { ReportBuild2Component } from './builder/report-build2/report-build2.component'; +import { ReportBuild2editComponent } from './builder/report-build2/report-build2edit/report-build2edit.component'; +import { ReportRunnerComponent } from './builder/report-runner/report-runner.component'; +import { ReportrunnereditComponent } from './builder/report-runner/reportrunneredit/reportrunneredit.component'; +import { Reportrunneredit2Component } from './builder/report-runner/reportrunneredit2/reportrunneredit2.component'; + + +import { DashboardnewComponent } from './builder/dashboardnew/dashboardnew.component'; +import { EditformnewdashComponent } from './builder/dashboardnew/editformnewdash/editformnewdash.component'; +import { EditnewdashComponent } from './builder/dashboardnew/editnewdash/editnewdash.component'; +import { BarChartComponent } from './builder/dashboardnew/gadgets/bar-chart/bar-chart.component'; +import { BubbleChartComponent } from './builder/dashboardnew/gadgets/bubble-chart/bubble-chart.component'; +import { DoughnutChartComponent } from './builder/dashboardnew/gadgets/doughnut-chart/doughnut-chart.component'; +import { DynamicChartComponent } from './builder/dashboardnew/gadgets/dynamic-chart/dynamic-chart.component'; +import { FinancialChartComponent } from './builder/dashboardnew/gadgets/financial-chart/financial-chart.component'; +import { GridViewComponent } from './builder/dashboardnew/gadgets/grid-view/grid-view.component'; +import { LineChartComponent } from './builder/dashboardnew/gadgets/line-chart/line-chart.component'; +import { PieChartComponent } from './builder/dashboardnew/gadgets/pie-chart/pie-chart.component'; +import { PolarChartComponent } from './builder/dashboardnew/gadgets/polar-chart/polar-chart.component'; +import { RadarChartComponent } from './builder/dashboardnew/gadgets/radar-chart/radar-chart.component'; +import { ScatterChartComponent } from './builder/dashboardnew/gadgets/scatter-chart/scatter-chart.component'; +import { ToDoChartComponent } from './builder/dashboardnew/gadgets/to-do-chart/to-do-chart.component'; +import { ScheduleComponent } from './builder/dashboardnew/schedule/schedule.component'; +import { AddextensionComponent } from './fnd/extension/addextension/addextension.component'; +import { AllextensionComponent } from './fnd/extension/allextension/allextension.component'; +import { EditextensionComponent } from './fnd/extension/editextension/editextension.component'; +import { ExtensionComponent } from './fnd/extension/extension.component'; + +import { BarRunnerComponent } from './builder/dashboardrunner/dashrunnerline/bar-runner/bar-runner.component'; +import { BubbleRunnerComponent } from './builder/dashboardrunner/dashrunnerline/bubble-runner/bubble-runner.component'; +import { DashrunnerlineComponent } from './builder/dashboardrunner/dashrunnerline/dashrunnerline.component'; +import { DoughnutRunnerComponent } from './builder/dashboardrunner/dashrunnerline/doughnut-runner/doughnut-runner.component'; +import { GridRunnerComponent } from './builder/dashboardrunner/dashrunnerline/grid-runner/grid-runner.component'; +import { LineRunnerComponent } from './builder/dashboardrunner/dashrunnerline/line-runner/line-runner.component'; +import { PieRunnerComponent } from './builder/dashboardrunner/dashrunnerline/pie-runner/pie-runner.component'; +import { PolarRunnerComponent } from './builder/dashboardrunner/dashrunnerline/polar-runner/polar-runner.component'; +import { RadarRunnerComponent } from './builder/dashboardrunner/dashrunnerline/radar-runner/radar-runner.component'; +import { ScatterRunnerComponent } from './builder/dashboardrunner/dashrunnerline/scatter-runner/scatter-runner.component'; +import { TodoRunnerComponent } from './builder/dashboardrunner/dashrunnerline/todo-runner/todo-runner.component'; + +import { ApiregisteryComponent } from './fnd/apiregistery/apiregistery.component'; + +import { BulkimportComponent } from './datamanagement/bulkimport/bulkimport.component'; +import { BulkimportaddComponent } from './datamanagement/bulkimport/bulkimportadd/bulkimportadd.component'; +import { BulkimportallComponent } from './datamanagement/bulkimport/bulkimportall/bulkimportall.component'; +import { BulkimporteditComponent } from './datamanagement/bulkimport/bulkimportedit/bulkimportedit.component'; +import { BulkimporteditlineComponent } from './datamanagement/bulkimport/bulkimporteditline/bulkimporteditline.component'; +import { BulkimportlineComponent } from './datamanagement/bulkimport/bulkimportline/bulkimportline.component'; +import { DatamanagementComponent } from './datamanagement/datamanagement/datamanagement.component'; +import { DatamananementworkflowComponent } from './datamanagement/datamananementworkflow/datamananementworkflow.component'; +import { MappingruleComponent } from './datamanagement/mappingrule/mappingrule.component'; +import { MappingruleaddComponent } from './datamanagement/mappingrule/mappingruleadd/mappingruleadd.component'; +import { MappingruleallComponent } from './datamanagement/mappingrule/mappingruleall/mappingruleall.component'; +import { MappingruleeditComponent } from './datamanagement/mappingrule/mappingruleedit/mappingruleedit.component'; +import { Stepper_workflowComponent } from './BuilderComponents/stepperworkflow/Stepper_workflow/Stepper_workflow.component'; +import { Token_registeryComponent } from './fnd/Token_registery/Token_registery.component'; +import { MyworkspaceComponent } from './admin/myworkspace/myworkspace.component'; + +// import { QueryComponent } from './superadmin/query/query.component'; +// import { QueryaddComponent } from './superadmin/queryadd/queryadd.component'; +// import { QueryeditComponent } from './superadmin/queryedit/queryedit.component'; + +@NgModule({ + declarations: [ + MainPageComponent, PageNotFoundComponent, UserComponent, PasswordResetComponent, + MyworkspaceComponent, + ReportRunnerComponent, ReportrunnereditComponent, Reportrunneredit2Component, MenuGroupComponent, AllMenuGroupComponent, EditMenuGroupComponent, ReadOnlyMenuGroupComponent, UserRegistrationComponent, + MenuRegisterComponent, AddMenurComponent, EditMenurComponent, AllMenurComponent, ReadonlyMenurComponent, ProfileSettingComponent, + UsermaintanceaddComponent, UsermaintanceeditComponent, + SubmenuComponent, ModulesComponent, SessionloggerComponent, + DashboardnewComponent, EditformnewdashComponent, EditnewdashComponent, ScheduleComponent, + DoughnutChartComponent, LineChartComponent, RadarChartComponent, BarChartComponent, BubbleChartComponent, DynamicChartComponent, ScatterChartComponent, PolarChartComponent, PieChartComponent, FinancialChartComponent, ToDoChartComponent, GridViewComponent, + DashrunnerlineComponent, BarRunnerComponent, LineRunnerComponent, DoughnutRunnerComponent, GridRunnerComponent, PieRunnerComponent, PolarRunnerComponent, RadarRunnerComponent, ScatterRunnerComponent, TodoRunnerComponent, BubbleRunnerComponent, + ReportBuildComponent, ReportbuildeditComponent, ReportbuildqueryComponent, ReportBuild2Component, ReportBuild2editComponent, + // QueryComponent, QueryaddComponent, QueryeditComponent, + ExtensionComponent, + AllextensionComponent, + AddextensionComponent, EditextensionComponent, ApiregisteryComponent, + DatamanagementComponent, DatamananementworkflowComponent, BulkimportComponent, BulkimportallComponent, BulkimportaddComponent, BulkimporteditComponent, BulkimportlineComponent, BulkimporteditlineComponent, MappingruleComponent, MappingruleallComponent, MappingruleaddComponent, MappingruleeditComponent, + + + // buildercomponents + + + + Token_registeryComponent, + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Stepper_workflowComponent, + + + + + + ], + imports: [ + QRCodeModule, + CommonModule, + FormsModule, + ReactiveFormsModule, + ClarityModule, + HelperModule, + MainRoutingModule, + DragDropModule, + HttpClientModule, + ImageCropperModule, + TagInputModule, + CodemirrorModule, + CKEditorModule, + GridsterModule, + NgChartsModule, + NgxChartsModule, + DynamicModule, + ], + providers: [ + CookieService, + WireframeService, + + + ], + schemas: [CUSTOM_ELEMENTS_SCHEMA] +}) +export class MainModule { } \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/page-not-found/page-not-found.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/page-not-found/page-not-found.component.html new file mode 100644 index 0000000..d5c848c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/page-not-found/page-not-found.component.html @@ -0,0 +1,5 @@ +
+ +

error 404

+ Not found your page requested. +
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/page-not-found/page-not-found.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/page-not-found/page-not-found.component.scss new file mode 100644 index 0000000..f1d5656 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/page-not-found/page-not-found.component.scss @@ -0,0 +1,11 @@ +clr-icon { + margin-top: 8%; + opacity: 0.3; + filter: alpha(opacity=30); /* For IE8 and earlier */ +} + +clr-icon:hover { + margin-top: 8%; + opacity: 8.0; + filter: alpha(opacity=80); /* For IE8 and earlier */ +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/page-not-found/page-not-found.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/page-not-found/page-not-found.component.spec.ts new file mode 100644 index 0000000..697a946 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/page-not-found/page-not-found.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { PageNotFoundComponent } from './page-not-found.component'; + +describe('PageNotFoundComponent', () => { + let component: PageNotFoundComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ PageNotFoundComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(PageNotFoundComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/page-not-found/page-not-found.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/page-not-found/page-not-found.component.ts new file mode 100644 index 0000000..31ae4d8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/page-not-found/page-not-found.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-page-not-found', + templateUrl: './page-not-found.component.html', + styleUrls: ['./page-not-found.component.scss'] +}) +export class PageNotFoundComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin.zip b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin.zip new file mode 100644 index 0000000..06627f6 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin.zip differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.css new file mode 100644 index 0000000..7964200 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.css @@ -0,0 +1,146 @@ +@import '@swimlane/ngx-datatable/index.css'; +@import '@swimlane/ngx-datatable/themes/bootstrap.css'; +@import '@swimlane/ngx-datatable/assets/icons.css'; +.button1::after { + content: none; +} + +.button1:hover::after { + content: "ADD ROWS"; +} + +.delete, .heading { + text-align: center; + color: red; +} + +.bold { + font-weight: bold; +} + +.section p { + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.required-field { + color: red; + font-size: 18px; +} + +input[type=text], textarea { + width: 100%; + padding: 15px 15px; + background-color: rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +html { + /* make sure we use up the whole viewport */ + width: 100%; + min-height: 100vh; +} + +body { + width: 100%; + background-color: gray; +} + +ngx-datatable { + font-family: Metropolis, Avenir Next, Helvetica Neue, Arial, sans-serif; + font-size: 13px; + border: 1px solid #ccc; + border-radius: 2px; + padding: 0; + background-color: #fff; +} +ngx-datatable .datatable-header, ngx-datatable .datatable-footer { + font-size: 11px; + line-height: 18px; + font-weight: bold; + background-color: #fafafa; +} +ngx-datatable .datatable-header { + box-shadow: 0 2px 4px 0px #ccc; +} +ngx-datatable .datatable-header .datatable-header-cell { + line-height: 22px; + padding-left: 10px; + height: 22px; +} +ngx-datatable .datatable-header .datatable-header-cell:not(:first-child) { + border-left: 1px solid #ccc; +} +ngx-datatable .datatable-footer { + border-top: 1px solid #ccc; +} +ngx-datatable .datatable-footer .page-count { + margin: 10px; +} +ngx-datatable .datatable-footer .pages a { + padding: 8px; + color: inherit; +} +ngx-datatable .datatable-footer .pages.active a { + padding: 8px; + color: #007cbb; + background-color: rgb(221, 221, 221); + text-align: center; +} +ngx-datatable .datatable-header-inner { + padding: 12px; +} +ngx-datatable .datatable-body-cell { + padding: 8px 0 10px 20px; + border-top: 1px solid #ddd; +} +ngx-datatable .pager i { + font-size: 18px; + vertical-align: middle; +} + +.postColumn { + border: 1px solid #ccc; + width: 78%; + margin-left: 15px; +} + +.colName { + text-align: center; + padding: 5px; +} + +.colfields { + border: 1px solid black; + margin: 17px; + text-align: center; + padding: 3px; +} + +.fieldWrapper { + margin-top: 20px; +} + +.center { + text-align: center; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +}/*# sourceMappingURL=query.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.css.map new file mode 100644 index 0000000..6fa4424 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["query.component.scss","query.component.css"],"names":[],"mappings":"AA8JQ,2CAAA;AACA,sDAAA;AACC,kDAAA;AA9JT;EACE,aAAA;ACEF;;ADAA;EACE,mBAAA;ACGF;;ADAA;EACE,kBAAA;EACA,UAAA;ACGF;;ADAA;EACE,iBAAA;ACGF;;ADCA;EAEE,aAAA;EACA,eAAA;ACCF;;ADEA;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EACA,wBAAA;EACA,eAAA;EACA,WAAA;EACA,mBAAA;ACCF;;ADWA;EACE,UAAA;EACF,eAAA;ACRA;;ADYA;EACE,WAAA;EACA,kBAAA;EAED,oCAAA;EACC,qBAAA;EACA,sBAAA;EACA,kBAAA;EACA,sBAAA;ACVF;;ADcA;EACI,2CAAA;EACA,WAAA;EACA,iBAAA;ACXJ;;ADaA;EACI,WAAA;EACA,sBAAA;ACVJ;;ADeA;EACE,uEAAA;EACA,eAAA;EACA,sBAAA;EACA,kBAAA;EACA,UAAA;EACA,sBAAA;ACZF;ADaE;EACE,eAAA;EACA,iBAAA;EACA,iBAAA;EACA,yBAAA;ACXJ;ADaE;EAEE,8BAAA;ACZJ;ADaI;EACE,iBAAA;EACA,kBAAA;EACA,YAAA;ACXN;ADcE;EACI,2BAAA;ACZN;ADeE;EACE,0BAAA;ACbJ;ADcI;EACE,YAAA;ACZN;ADcI;EACE,YAAA;EACA,cAAA;ACZN;ADcI;EACE,YAAA;EACA,cAAA;EACA,oCAAA;EACA,kBAAA;ACZN;ADgBE;EACE,aAAA;ACdJ;ADgBE;EACE,wBAAA;EACA,0BAAA;ACdJ;ADgBE;EACE,eAAA;EACA,sBAAA;ACdJ;;ADkBA;EACE,sBAAA;EACA,UAAA;EACA,iBAAA;ACfF;;ADiBA;EACE,kBAAA;EACA,YAAA;ACdF;;ADgBA;EACE,uBAAA;EACA,YAAA;EACA,kBAAA;EACA,YAAA;ACbF;;ADeA;EACE,gBAAA;ACZF;;ADcA;EACE,kBAAA;ACXF;;ADcA;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACXF","file":"query.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.html new file mode 100644 index 0000000..ac98d15 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.html @@ -0,0 +1,637 @@ + + + +
+ + +
+
+

SQL Worksheet- + connection name + {{databaseName}} + switch + Add New +

+ +
+ +
+ + +
+
+ + + + + + +
+
+ +
+
+ + + + + + + + + {{selected}} {{ getAliasedColumn(selected) }} + + + + + + {{state}} + + + + + + +
+

+

{{msg}}

+ +
+
+
+ + + + + + + + + {{ selected.substr(0, selected.indexOf('.')) }}{{ selected.substr(selected.indexOf('.')) }} + + + {{selected}} + + + + + {{state}} + + + + + + +
+

+

{{msg1}}

+
+
+
+ + + + + + + + + {{data.andor}}  + + {{ selected.substr(0, selected.indexOf('.')) }}{{ selected.substr(selected.indexOf('.')) }} + + + {{selected}} + + + {{data.condition}} {{data.value}} + + + + + {{state}} + + + + + + +
+

+ +
+
+ +
+ +
+
+
+
+
+
+
+
+
+ + +
+
+
+ + + +
+
+

Response

+
+
+
+ + +
+
+

+
+
+
+
+ +
+ + + + + + + + + + + +
{{co}}
{{item[key]}}
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.scss new file mode 100644 index 0000000..3ee5c25 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.scss @@ -0,0 +1,161 @@ +$bg-color: #dddddd; + +.button1::after { + content: none; +} +.button1:hover::after { + content: "ADD ROWS"; +} + +.delete,.heading{ + text-align: center; + color: red; +} + +.bold{ + font-weight: bold; +} + + +.section p { + //color: white; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} +// input[type=text],[type=date],textarea { +// width: 60%; +// padding: 15px 15px; +// // margin: 8px 0; +// background-color:rgb(255, 255, 255); +// display: inline-block; +// border: 1px solid #ccc; +// border-radius: 4px; +// box-sizing: border-box; +// } +.required-field{ + color: red; +font-size: 18px; + +} + +input[type=text],textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + + +html { + /* make sure we use up the whole viewport */ + width: 100%; + min-height: 100vh; +} +body { + width: 100%; + background-color: gray; + //min-height: 100vh; /* this helps with the sticky footer */ +} + +//Import classes from swimlane datatable +ngx-datatable { + font-family: Metropolis,Avenir Next,Helvetica Neue,Arial,sans-serif; + font-size:13px; + border:1px solid #ccc; + border-radius: 2px; + padding:0; + background-color: #fff; + .datatable-header, .datatable-footer { + font-size:11px; + line-height:18px; + font-weight:bold; + background-color:#fafafa; + } + .datatable-header{ + //border-bottom: 2px solid #ccc; + box-shadow: 0 2px 4px 0px #ccc; + .datatable-header-cell{ + line-height:22px; + padding-left:10px; + height:22px; + } + } + .datatable-header .datatable-header-cell:not(:first-child) { + border-left:1px solid #ccc; + } + + .datatable-footer{ + border-top: 1px solid #ccc; + .page-count{ + margin: 10px; + } + .pages a{ + padding:8px; + color:inherit; + } + .pages.active a{ + padding:8px; + color:#007cbb; + background-color:rgb(221, 221, 221); + text-align: center; + } + } + + .datatable-header-inner{ + padding:12px; + } + .datatable-body-cell{ + padding:8px 0 10px 20px; + border-top: 1px solid #ddd; + } + .pager i { + font-size:18px; + vertical-align: middle; + } +} + +.postColumn{ + border: 1px solid #ccc; + width: 78%; + margin-left: 15px; +} +.colName{ + text-align: center; + padding: 5px; +} +.colfields{ + border: 1px solid black; + margin: 17px; + text-align: center; + padding: 3px; +} +.fieldWrapper{ + margin-top: 20px; +} +.center { + text-align: center; +} + +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} +// @import '@swimlane/ngx-datatable/index.css'; +// @import '@swimlane/ngx-datatable/themes/bootstrap.css'; +// @import '@swimlane/ngx-datatable/assets/icons.css'; diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.spec.ts new file mode 100644 index 0000000..fd0cf11 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { QueryComponent } from './query.component'; + +describe('QueryComponent', () => { + let component: QueryComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ QueryComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(QueryComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.ts new file mode 100644 index 0000000..a898324 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/query/query.component.ts @@ -0,0 +1,536 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormControl, FormGroup } from '@angular/forms'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; +import { TableList } from '../../../../models/fnd/table-setup'; +import { HttpClient } from '@angular/common/http'; +import { ToastrService } from 'ngx-toastr'; +import { ActivatedRoute, Router } from '@angular/router'; +@Component({ + selector: 'app-query', + templateUrl: './query.component.html', + styleUrls: ['./query.component.scss'] +}) +export class QueryComponent implements OnInit { + searchtable: any; + searchcol: any; + columns: any[]; + table: boolean = false; + database: boolean = false; + query: boolean = false; + public entryForm: FormGroup; + public addForm: FormGroup; + addmodal: boolean = false; + query2: string; + rows: any[]; + loading = false; + tableList: TableList[]; + databaselist = []; + collist; + search: any; + selectedtable: any[]; + selectedcol: any[]; + selectedcol1: any[]; + selectedtablequery; + selectcolquery; + selectedquery; + backQuery = true; + searchquery; + col: boolean = false; + col1: boolean = false; + searchdatabase; + selecteddatabase; + msg; + querydata; + errorco; + errortb; + errorcl; + loadingIndicator = true; reorderable = true; + filterModel = false; + conditionData = []; + andor = ['AND', 'OR', 'NOT']; + fieldname = ['name1', 'name2']; + condition = ['=', '!=', '<', '>', '<=', '>=', 'LIKE', 'BETWEEN', 'IN']; + alias = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']; + tabs = ['Tab', 'Tab',]; + selected = new FormControl(0); + constructor(private _fb: FormBuilder, private router: Router, + private route: ActivatedRoute, + private reportBuilderService: ReportBuilderService, private toastr: ToastrService,) { } + + ngOnInit(): void { + this.entryForm = this._fb.group({ + sql_query: [null], + }); + this.addForm = this._fb.group({ + conn_string: [null], + username: [null], + password: [null], + driver_class_name: [null], + }) + // this.listofTables(); + + } + + + listoddatabase() { + this.reportBuilderService.getdatabse().subscribe((data) => { + this.databaselist = data; + console.log('databse list ', this.databaselist) + if (this.databaselist.length == 0) { + this.errorco = "No data Available"; + + } + }, (error) => { + console.log(error); + if (error) { + this.errorco = "No data Available"; + } + }); + + } + listofTables(val) { + this.reportBuilderService.getTableListn(val).subscribe(data => { + // console.log("table list "+data); + this.tableList = data; + console.log('table list ', this.tableList); + }, (error) => { + console.log(error); + if (error) { + this.errortb = "No data Available"; + } + }) + } + msg1; + finalColList: any[] = []; + listofcol(val) { + console.log(this.selectedtable); + console.log(this.selectedcol); + console.log(this.selectedcol1); + const tableString = JSON.stringify(val); + console.log(tableString); + const array = Array.of(val); // Using the Array constructor + console.log(array); + console.log(val); + // this.reportBuilderService.getcolListn(this.name[1],val).subscribe((data)=>{ + // this.reportBuilderService.getColumnList(this.name[1],array).subscribe((data)=>{ + this.reportBuilderService.getAllColumnsFromAllTables(array).subscribe((data) => { + console.log(data); + this.collist = data; + // this.finalColList.push(data); + // this.finalColList.push(this.collist) + if (this.selectedtable == null) { + this.msg = 'Plz First Select Table' + } else { + this.msg = ""; + } + + //console.log(this.collist); + }, (error) => { + console.log(error); + if (error) { + this.errorcl = "No data Available"; + } + }) + } + listofquery() { + this.reportBuilderService.getall().subscribe((data) => { + this.querydata = data; + console.log(this.querydata) + }) + } + rowdata; + onSubmit() { + this.backQuery = false; + + this.query2 = this.entryForm.value.sql_query; + console.log(this.query2); + this.reportBuilderService.getMasterData(this.query2).subscribe((data) => { + this.rows = data; + console.log(this.rows); + this.rowdata = [this.rows]; + console.log(typeof this.rows); + if (data) { + this.toastr.success("Run Successfully") + } + var j; + var cart = []; + + for (var i = 0; i < data.length; i++) { + var columnsIn = data[i]; + if (i == 1) { + for (var key in columnsIn) { + j = { prop: key, name: key }; + cart.push(j) + + } + } + } + this.columns = cart; + + }); + } + getHeaders() { + let headers: string[] = []; + if (this.rows) { + this.rows.forEach((value) => { + Object.keys(value).forEach((key) => { + if (!headers.find((header) => header == key)) { + headers.push(key) + } + + }) + + }) + } + return headers; + } + savequery() { + //this.query2=this.entryForm.value.sql_query; + console.log(this.entryForm.value); + this.reportBuilderService.saveq(this.entryForm.value).subscribe((data) => { + console.log(data); + }) + + } + + //tab + addTab(selectAfterAdding: boolean) { + this.tabs.push('Tab'); + + if (selectAfterAdding) { + this.selected.setValue(this.tabs.length - 1); + } + } + + removeTab(index: number) { + this.tabs.splice(index, 1); + } + opendatabsemo() { + this.database = true; + this.listoddatabase(); + } + name; + databaseName; + databasename(val) { + console.log(val); + this.databaseName = val.name; + this.selecteddatabase = val.conn_string; + console.log('selected databse ', this.selecteddatabase); + // this.selecteddatabase.substring(0,this.selecteddatabase.indexOf(':3306/')) + // console.log(this.selecteddatabase); + this.name = this.selecteddatabase.split(":3306/"); + console.log(this.name[1]); + this.database = false; + this.listofTables(this.name[1]) + } + opentablemod() { + this.table = true; + // this.listofTables(); + } + tablename(value) { + console.log(value); + this.selectedtable = value; + this.table = false; + } + tableModal = false; + TableData; + opentcolmod() { + // this.col=true; + + if (this.selectedtable == null) { + this.msg = 'Plz First Select Table' + } else { + this.msg = ""; + // this.tableModal = true; + } + this.listofcol(this.selectedtable) + + if (Array.isArray(this.selectedtable) || this.selectedtable === undefined) { + const selectedTables = this.selectedtable.map((table, index) => { + const alias = String.fromCharCode(97 + (index % 26)); // Generate aliases starting from 'a' + console.log(alias, table); + return `${table} ${alias}`; + }).join(','); + console.log(selectedTables); + // const selectedTables = this.TableData.map(({ alias, tables }) => `${tables} ${alias}`).join(','); + // console.log(selectedTables); + + this.selectedtablequery = `SELECT * FROM ${selectedTables} WHERE 1=1`; + console.log(this.selectedtablequery); + // You can perform further actions with the generated SQL query + } else { + this.selectedtablequery = ''; + console.log(this.selectedtablequery); + // You can perform further actions with the generated SQL query + } + + this.selectedquery = this.selectedtablequery; + + // const defaultObject = { + // alias: "", + // } + // const objectArray = this.selectedtable.map(value => ({ + // ...defaultObject, + // tables: value, + // })); + // console.log(objectArray); + // const data = JSON.stringify(objectArray); + // try { + // this.TableData = JSON.parse(data); + // console.log('Received data:', this.TableData ); + // } catch (e) { console.error('Invalid JSON:', data);} + } + + onAddTableLines() { + this.TableData.push({ + tables: "", + alias: "", + }); + } + deleteTableRow(index) { + this.TableData.splice(index, 1); + } + + + + opentcolmod1() { + // this.col1=true; + this.listofcol(this.selectedtable) + + + } + columnModal = false; + columnData; + colname() { + + this.columnModal = true; + + //column filter + const defaultObject = { + alias: "", + } + const objectArray = this.selectedcol.map(value => ({ + ...defaultObject, + columns: value, + })); + console.log(objectArray); + const data = JSON.stringify(objectArray); + try { + this.columnData = JSON.parse(data); + console.log('Received data:', this.columnData); + } catch (e) { console.error('Invalid JSON:', data); } + } + + onAddColLines() { + this.columnData.push({ + columns: "", + alias: "", + }); + } + deleteColRow(index) { + this.columnData.splice(index, 1); + } + + onColSelected() { + // console.log(col); + // this.selectedcol=col; + this.col = false; + this.columnModal = false; + if (Array.isArray(this.columnData)) { + // const selectedColumns = this.columnData.join(','); + //for column + const selectedColumns = this.columnData.map(({ alias, columns }) => `${columns} as ${alias}`).join(','); + console.log(selectedColumns); + //for table + const selectedTables = this.selectedtable.map((table, index) => { + const alias = String.fromCharCode(97 + (index % 26)); // Generate aliases starting from 'a' + console.log(alias, table); + return `${table} ${alias}`; + }).join(','); + console.log(selectedTables); + + // const selectedTables = this.TableData.map(({ alias, tables }) => `${tables} ${alias}`).join(','); + // console.log(selectedTables); + + this.selectcolquery = `SELECT ${selectedColumns} FROM ${selectedTables} WHERE 1=1`; + console.log(this.selectcolquery); + // You can perform further actions with the generated SQL query + } else if (Array.isArray(this.selectedtable)) { + //for table + const selectedTables = this.selectedtable.map((table, index) => { + const alias = String.fromCharCode(97 + (index % 26)); // Generate aliases starting from 'a' + console.log(alias, table); + return `${table} ${alias}`; + }).join(','); + console.log(selectedTables); + this.selectcolquery = `SELECT * FROM ${selectedTables} WHERE 1=1`; + console.log(this.selectcolquery); + // You can perform further actions with the generated SQL query + } else { + // if(this.selectedtable==null){ + // this.msg1='Plz First Select Table' + // }else{ + // this.msg1=""; + // } + } + this.selectedquery = this.selectcolquery; + } + colname1() { + // console.log(col); + // this.selectedcol1=col; + // this.col1=false; + // this.listofquery(); + } + openquerymod() { + this.query = true; + this.listofquery(); + } + selectquery(val) { + console.log(val); + this.selectedquery = val; + this.query = false; + } + opencopym() { + this.router.navigate(["../queryadd"], { relativeTo: this.route }); + // this.addmodal=true; + } + onCreate() { + console.log(this.addForm.value); + this.reportBuilderService.createdb(this.addForm.value).subscribe((data) => { + console.log(data); + }) + } + + // onSelectedChanged(selected){ + // this.selectedTableData = this.tableList.filter(item => item.selected); + // } + conditionVal; + filter(val) { + + this.filterModel = true; + this.conditionVal = val; + + const defaultObject = { + andor: "AND", + // alias: "", + condition: "=", + value: "", + } + const objectArray = this.conditionVal.map(value => ({ + ...defaultObject, + fields_name: value, + })); + console.log(objectArray); + const data = JSON.stringify(objectArray); + try { + this.conditionData = JSON.parse(data); + console.log('Received data:', this.conditionData); + } catch (e) { console.error('Invalid JSON:', data); } + } + + onAddLines() { + this.conditionData.push({ + andor: "AND", + fields_name: "", + condition: "=", + value: "" + }); + } + deleteRow(index) { + this.conditionData.splice(index, 1); + } + filteredConditionData; + filterAndor; + filtercondlvalue; + onSelected() { + this.filterModel = false; + console.log(this.conditionData); + let formattedString = ''; + for (const condition of this.conditionData) { + const { andor, fields_name, condition: cond, value } = condition; + formattedString += `${andor} ${fields_name} ${cond} '${value}'`; + this.filterAndor = andor; + this.filtercondlvalue = cond + ' ' + value; + } + // this.getConditionBeforeColumn(this.selectedcol1) + // this.getConditionAfterColumn(this.selectedcol1); + console.log(formattedString); + this.filteredConditionData = formattedString + if (this.selectcolquery !== undefined) { + const mQuery = this.selectcolquery + ' ' + formattedString; + console.log(mQuery); + this.selectedquery = mQuery; + } else { + const mQuery = this.selectedtablequery + ' ' + formattedString; + console.log(mQuery); + this.selectedquery = mQuery; + } + + + + } + + // getConditionBeforeColumn(selected: any){ + + // return this.filterAndor; + + + // } + // getConditionAfterColumn(selected: any){ + // return this.filtercondlvalue + + + // } + onBack() { + // this.backQuery = true; + } + + getAliasedColumn(selected: string) { + const index = this.selectedtable.findIndex(item => item === selected); + const alphabet = 'abcdefghijklmnopqrstuvwxyz'; + const aliasIndex = index % alphabet.length; // Calculate the index based on the remainder + const repeatedAlias = alphabet.charAt(aliasIndex); + return repeatedAlias; + + // const index = this.selectedtable.findIndex(item => item === selected); + // return this.alias[index]; + } + + + // + + goToEdit(id) { + this.router.navigate(["../queryedit/" + id], { relativeTo: this.route }); + } + + rowSelected: any = {}; + modaldelete = false; + onDelete(row) { + this.rowSelected = row; + this.modaldelete = true; + } + + delete(id) { + this.modaldelete = false; + console.log("in delete " + id); + this.reportBuilderService.deleteSqlModel(id).subscribe( + (data) => { + console.log(data); + this.listoddatabase(); + if (data) { + this.toastr.success('Deleted successfully'); + } + }, + (error) => { + console.log('Error in adding data...', +error); + if (isNaN(error)) { + this.toastr.success('Deleted successfully'); + } else { + this.toastr.error('Not Deleted Data Getting Some Error'); + } + this.listoddatabase(); + } + ); + } + +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.css new file mode 100644 index 0000000..49864a0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.css @@ -0,0 +1,75 @@ +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; +} +.s-info-bar button { + outline: none; +} + +.entry-pg { + width: 750px; +} + +.button1::after { + content: none; +} + +.button1:hover::after { + content: "ADD ROWS"; +} + +.section { + background-color: #dddddd; + height: 40px; +} + +.section p { + font-weight: bold; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.center { + text-align: center; +} + +input[type=text], [type=date], textarea { + width: 100%; + padding: 15px 15px; + background-color: rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.required-field { + color: red; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +}/*# sourceMappingURL=queryadd.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.css.map new file mode 100644 index 0000000..355aae7 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["queryadd.component.scss","queryadd.component.css"],"names":[],"mappings":"AACA;EACI,aAAA;EACA,mBAAA;EACA,8BAAA;ACAJ;ADCI;EACE,aAAA;ACCN;;ADGE;EACE,YAAA;ACAJ;;ADGE;EACE,aAAA;ACAJ;;ADEE;EACE,mBAAA;ACCJ;;ADIE;EACE,yBAHS;EAIT,YAAA;ACDJ;;ADIE;EAEE,iBAAA;EACA,aAAA;EACA,eAAA;ACFJ;;ADKE;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EACA,wBAAA;EACA,eAAA;EACA,WAAA;EACA,mBAAA;ACFJ;;ADKE;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EAEA,eAAA;EACA,WAAA;EACA,mBAAA;ACHJ;;ADME;EACE,kBAAA;ACHJ;;ADKE;EACE,WAAA;EACA,kBAAA;EAED,oCAAA;EACC,qBAAA;EACA,sBAAA;EACA,kBAAA;EACA,sBAAA;ACHJ;;ADME;EACE,UAAA;ACHJ;;ADME;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACHJ","file":"queryadd.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.html new file mode 100644 index 0000000..428e92c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.html @@ -0,0 +1,130 @@ +

Add Database

+Add Mode
+
+ + + + + + + + +
+ + + + + +
+
+
+ + +
+
+ + +
+
+ +
+
+ + +
+
+ + + +
+
+ +
+

Configurations

+
+ +
+ +
+ +
+ + + +
+
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+
+
+ + +
+ +
+ +
+
+
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.scss new file mode 100644 index 0000000..39de1cb --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.scss @@ -0,0 +1,80 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } + } + + .entry-pg { + width: 750px; + } + + .button1::after { + content: none; + } + .button1:hover::after { + content: "ADD ROWS"; + } + + $bg-color: #dddddd; + + .section { + background-color: $bg-color; + height: 40px; + } + + .section p { + //color: white; + font-weight: bold; + padding: 10px; + font-size: 18px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .center { + text-align: center; + } + input[type=text],[type=date],textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + + .required-field{ + color: red; + + } + select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.spec.ts new file mode 100644 index 0000000..1af6a32 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { QueryaddComponent } from './queryadd.component'; + +describe('QueryaddComponent', () => { + let component: QueryaddComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ QueryaddComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(QueryaddComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.ts new file mode 100644 index 0000000..70680c8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryadd/queryadd.component.ts @@ -0,0 +1,92 @@ +import { HttpErrorResponse, HttpHeaderResponse } from '@angular/common/http'; +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; + +@Component({ + selector: 'app-queryadd', + templateUrl: './queryadd.component.html', + styleUrls: ['./queryadd.component.scss'] +}) +export class QueryaddComponent implements OnInit { + public entryForm: FormGroup; + selectedFile: File[] = []; + type = ["MYSQL", "postgresql", "mysqllite", "oracle", "Snowflake", "BigQuery", "RedShift", "microsoft sql server", "redis", "maria_db", "MongoDB", "firebase", "dynamodb", "ibm DB2", "couchbase", "ElasticSearch", "Casandra", "OrientDB", "Neo4j", "FireBird"]; + constructor(private _fb: FormBuilder, private router: Router, private toastr: ToastrService, + private route: ActivatedRoute, private reportBuilderService: ReportBuilderService,) { } + + ngOnInit(): void { + this.entryForm = this._fb.group({ + name: [null], + type: [null], + description: [null], + active: [null], + driver_class_name: [null], + conn_string: [null], + username: [null], + password: [null], + }); + } + public onFileChanged(event) { + //Select File + console.log(event); + this.selectedFile = event.target.files[0]; + //for (var i = 0; i < event.target.files.length; i++) { + // var name = event.target.files[i].name; + // var type = event.target.files[i].type; + // var size = event.target.files[i].size; + // var modifiedDate = event.target.files[i].lastModifiedDate; + // this.selectedFile.push(event.target.files[i]); + //} + } + toastrShown: boolean = false; + onSubmit() { + console.log(this.entryForm.value); + this.reportBuilderService.createdb(this.entryForm.value).subscribe((data) => { + console.log(data); + if (data) { + if (!this.toastrShown) { + this.toastrShown = true; // Set the flag to indicate that the toastr message has been shown + this.toastr.success("Added Successfully"); + setTimeout(() => { + // this.router.navigate(["../query"], { relativeTo: this.route }); + this.router.navigate([".."], { relativeTo: this.route }); + + }, 500); + } + } + }, (error: HttpErrorResponse) => { + console.log(error); + if (error.status === 202) { + this.toastr.success("Added Succesfully"); + } + if (error.status === 404) { + this.toastr.error("Not Added"); + } + if (error.status === 400) { + this.toastr.error("Not Added"); + } + }); + setTimeout(() => { + // this.router.navigate(["../query"], { relativeTo: this.route }); + this.router.navigate([".."], { relativeTo: this.route }); + + }, 500); + } + goback() { + this.router.navigate(["../query"], { relativeTo: this.route }); + } + + // testConnection(){ + // this.dataservice.testConnection(this.entryForm.value.data_source_type, this.entryForm.value.user_name, this.entryForm.value.password, this.entryForm.value.portnumber, this.entryForm.value.db_host_name).subscribe((data)=> { + // console.log(data); + // this.toastr.success('Test Connection successfully'); + // },(err) => { + // console.log(err); + // this.toastr.error('Test Connection Failed'); + // }); + // } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.css b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.css new file mode 100644 index 0000000..ef2c1a7 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.css @@ -0,0 +1,75 @@ +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; +} +.s-info-bar button { + outline: none; +} + +.entry-pg { + width: 750px; +} + +.button1::after { + content: none; +} + +.button1:hover::after { + content: "ADD ROWS"; +} + +.section { + background-color: #dddddd; + height: 40px; +} + +.section p { + font-weight: bold; + padding: 10px; + font-size: 18px; +} + +.clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; +} + +.center { + text-align: center; +} + +input[type=text], [type=date], textarea { + width: 100%; + padding: 15px 15px; + background-color: rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} + +.required-field { + color: red; +} + +select { + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +}/*# sourceMappingURL=queryedit.component.css.map */ \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.css.map b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.css.map new file mode 100644 index 0000000..c9f1360 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["queryedit.component.scss","queryedit.component.css"],"names":[],"mappings":"AACA;EACI,aAAA;EACA,mBAAA;EACA,8BAAA;ACAJ;ADCI;EACE,aAAA;ACCN;;ADGE;EACE,YAAA;ACAJ;;ADGE;EACE,aAAA;ACAJ;;ADEE;EACE,mBAAA;ACCJ;;ADIE;EACE,yBAHS;EAIT,YAAA;ACDJ;;ADIE;EAEE,iBAAA;EACA,aAAA;EACA,eAAA;ACFJ;;ADKE;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EACA,wBAAA;EACA,eAAA;EACA,WAAA;EACA,mBAAA;ACFJ;;ADKE;EACE,cAAA;EACA,yBAAA;EACA,sBAAA;EAEA,eAAA;EACA,WAAA;EACA,mBAAA;ACHJ;;ADME;EACE,kBAAA;ACHJ;;ADKE;EACE,WAAA;EACA,kBAAA;EAED,oCAAA;EACC,qBAAA;EACA,sBAAA;EACA,kBAAA;EACA,sBAAA;ACHJ;;ADME;EACE,UAAA;ACHJ;;ADME;EACE,WAAA;EACA,gBAAA;EACA,sBAAA;EACA,kBAAA;ACHJ","file":"queryedit.component.css"} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.html new file mode 100644 index 0000000..56856c4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.html @@ -0,0 +1,127 @@ +

Database

+Edit Mode
+
+ + + + + + + + +
+ + + + + +
+
+
+ + +
+
+ + +
+
+ +
+
+ + +
+
+ + + +
+
+ +
+

Configurations

+
+ +
+ +
+ +
+ + + +
+
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+
+
+ + +
+
+ + +
+
+ +
+
+
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.scss new file mode 100644 index 0000000..39de1cb --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.scss @@ -0,0 +1,80 @@ +//@import "../../../../assets/scss/var"; +.s-info-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + button { + outline: none; + } + } + + .entry-pg { + width: 750px; + } + + .button1::after { + content: none; + } + .button1:hover::after { + content: "ADD ROWS"; + } + + $bg-color: #dddddd; + + .section { + background-color: $bg-color; + height: 40px; + } + + .section p { + //color: white; + font-weight: bold; + padding: 10px; + font-size: 18px; + } + + .clr-input { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + padding: 0.75rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .clr-file { + color: #212529; + border: 1px solid #ced4da; + border-radius: 0.25rem; + //padding: 0.6rem 0.75rem; + margin-top: 3px; + width: 100%; + margin-bottom: 10px; + } + + .center { + text-align: center; + } + input[type=text],[type=date],textarea { + width: 100%; + padding: 15px 15px; + // margin: 8px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; + } + + .required-field{ + color: red; + + } + select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; + } + \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.spec.ts new file mode 100644 index 0000000..9568943 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { QueryeditComponent } from './queryedit.component'; + +describe('QueryeditComponent', () => { + let component: QueryeditComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ QueryeditComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(QueryeditComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.ts new file mode 100644 index 0000000..e82ee75 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/superadmin/queryedit/queryedit.component.ts @@ -0,0 +1,67 @@ +import { HttpHeaderResponse } from '@angular/common/http'; +import { Component, OnInit } from '@angular/core'; +import { FormBuilder } from '@angular/forms'; +import { ActivatedRoute, Router } from '@angular/router'; +import { ToastrService } from 'ngx-toastr'; +import { ReportBuilderService } from 'src/app/services/api/report-builder.service'; +@Component({ + selector: 'app-queryedit', + templateUrl: './queryedit.component.html', + styleUrls: ['./queryedit.component.scss'] +}) +export class QueryeditComponent implements OnInit { + id:any; + tdata:any={}; + selectedFile: File[]=[]; + type = ["MYSQL","postgresql","mysqllite","oracle","Snowflake","BigQuery","RedShift","microsoft sql server","redis","maria_db","MongoDB","firebase","dynamodb","ibm DB2","couchbase","ElasticSearch","Casandra","OrientDB","Neo4j","FireBird"]; + constructor(private _fb: FormBuilder, private router: Router, + private toastr: ToastrService,private route: ActivatedRoute, private reportBuilderService: ReportBuilderService,) { } + + ngOnInit(): void { + this.id = this.route.snapshot.params["id"]; + console.log("update with id = ", this.id); + this.getById(this.id); + } + getById(id: number) { + this.reportBuilderService.getSqlModelById(id).subscribe((data) => { + this.tdata = data; + console.log(this.tdata) + + }, + (err) => { + console.log(err); + } + ); + } + public onFileChanged(event) { + //Select File + console.log(event); + this.selectedFile = event.target.files[0]; + + } + onSubmit(){ + this.reportBuilderService.updateSqlModel(this.id,this.tdata).subscribe((data)=>{ + console.log(data); + if(data.status===202){ + this.toastr.success("Updated Succesfully"); + } + },(error: HttpHeaderResponse)=>{ + console.log(error); + if(error.status===202){ + this.toastr.success("Updated Successfully"); + } + if(error.status===404){ + this.toastr.error(" NotUpdated Successfully"); + } + if(error.status===400){ + this.toastr.error(" NotUpdated Successfully"); + } + }); + this.router.navigate(["../../query"], { relativeTo: this.route }); + + } + goback(){ + this.router.navigate(["../../query"], { relativeTo: this.route }); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/helpers.module.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/helpers.module.ts new file mode 100644 index 0000000..8020056 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/helpers.module.ts @@ -0,0 +1,31 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { ThaiDateAbbrPipe } from './thai-date-abbr.pipe'; +import { ThaiDateFullPipe } from './thai-date-full.pipe'; +import { ThaiDatePipe } from './thai-date.pipe'; +import {TimePipePipe} from './time-pipe.pipe'; +import { SearchFilterPipe } from './search-filter.pipe'; +import { RemoveCommasPipe } from './remove-commas.pipe'; + +@NgModule({ + imports: [ + CommonModule + ], + declarations: [ + ThaiDatePipe, + ThaiDateAbbrPipe, + ThaiDateFullPipe, + TimePipePipe, + SearchFilterPipe, + RemoveCommasPipe, + ], + exports: [ + ThaiDatePipe, + ThaiDateAbbrPipe, + ThaiDateFullPipe, + TimePipePipe, + SearchFilterPipe, + RemoveCommasPipe, + ] +}) +export class HelperModule { } diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/remove-commas.pipe.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/remove-commas.pipe.ts new file mode 100644 index 0000000..f5919ff --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/remove-commas.pipe.ts @@ -0,0 +1,8 @@ +import { Pipe, PipeTransform } from '@angular/core'; + +@Pipe({ name: 'removeCommas' }) +export class RemoveCommasPipe implements PipeTransform { + transform(value: any): any { + return value?.replace(/,/g, ''); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/sanitize.pipe.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/sanitize.pipe.ts new file mode 100644 index 0000000..fb2f439 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/sanitize.pipe.ts @@ -0,0 +1,10 @@ +import { Pipe, PipeTransform } from '@angular/core'; + +@Pipe({ + name: 'sanitize' +}) +export class SanitizePipe implements PipeTransform { + transform(value: string): string { + return value.replace(/<|>/g, ''); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/search-filter.pipe.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/search-filter.pipe.ts new file mode 100644 index 0000000..b8a781a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/search-filter.pipe.ts @@ -0,0 +1,58 @@ +import { Pipe, PipeTransform, Injectable } from "@angular/core"; + +@Pipe({ + name: 'filter', + pure: false +}) +@Injectable() +export class SearchFilterPipe implements PipeTransform { + + /** + * @param items object from array + * @param term term's search + * @param excludes array of strings which will ignored during search + */ + transform(items: any, term: string, excludes: any = []): any { + if (!term || !items) return items; + + return SearchFilterPipe.filter(items, term, excludes); + } + + /** + * + * @param items List of items to filter + * @param term a string term to compare with every property of the list + * @param excludes List of keys which will be ignored during search + * + */ + static filter(items: Array<{ [key: string]: any }>, term: string, excludes: any): Array<{ [key: string]: any }> { + + const toCompare = term.toLowerCase(); + + function checkInside(item: any, term: string) { + + if (typeof item === "string" && item.toString().toLowerCase().includes(toCompare)) { + return true; + } + + for (let property in item) { + if (item[property] === null || item[property] == undefined || excludes.includes(property)) { + continue; + } + if (typeof item[property] === 'object') { + if (checkInside(item[property], term)) { + return true; + } + } + else if (item[property].toString().toLowerCase().includes(toCompare)) { + return true; + } + } + return false; + } + + return items.filter(function (item) { + return checkInside(item, term); + }); + } +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/thai-date-abbr.pipe.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/thai-date-abbr.pipe.ts new file mode 100644 index 0000000..c46d2c8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/thai-date-abbr.pipe.ts @@ -0,0 +1,20 @@ +import { Pipe, PipeTransform } from '@angular/core'; +import * as moment from 'moment'; + +@Pipe({ + name: 'thaiDateAbbr' +}) +export class ThaiDateAbbrPipe implements PipeTransform { + thMonthAbbr = ['ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', + 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.']; + + transform(value: any, args?: any): any { + if (moment(value, 'YYYY-MM-DD').isValid()) { + const thaiDate = `${moment(value).get('date')} ${this.thMonthAbbr[moment(value).get('month')]} ${moment(value).get('year') + 543}`; + return thaiDate; + } else { + return '-'; + } + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/thai-date-full.pipe.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/thai-date-full.pipe.ts new file mode 100644 index 0000000..962b135 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/thai-date-full.pipe.ts @@ -0,0 +1,20 @@ +import { Pipe, PipeTransform } from '@angular/core'; +import * as moment from 'moment'; + +@Pipe({ + name: 'thaiDateFull' +}) +export class ThaiDateFullPipe implements PipeTransform { + thMonth = ['มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', + 'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม']; + + transform(value: any, args?: any): any { + if (moment(value, 'YYYY-MM-DD').isValid()) { + const thaiDate = `${moment(value).get('date')} ${this.thMonth[moment(value).get('month')]} ${moment(value).get('year') + 543}`; + return thaiDate; + } else { + return '-'; + } + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/thai-date.pipe.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/thai-date.pipe.ts new file mode 100644 index 0000000..52d3a29 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/thai-date.pipe.ts @@ -0,0 +1,17 @@ +import { Pipe, PipeTransform } from '@angular/core'; +import * as moment from 'moment'; + +@Pipe({ + name: 'thaiDate' +}) +export class ThaiDatePipe implements PipeTransform { + transform(value: any, args?: any): any { + if (moment(value, 'YYYY-MM-DD').isValid()) { + const thaiDate = `${moment(value).get('date')}/${moment(value).get('month') + 1}/${moment(value).get('year') + 543}`; + return thaiDate; + } else { + return '-'; + } + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/time-pipe.pipe.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/time-pipe.pipe.ts new file mode 100644 index 0000000..daa03b8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/pipes/time-pipe.pipe.ts @@ -0,0 +1,36 @@ +import { Pipe, PipeTransform } from '@angular/core'; + +@Pipe({ + name: 'timePipe', + pure: true +}) +export class TimePipePipe implements PipeTransform { + + transform(value: any, args?: any): any { + if (value) { + const seconds = Math.floor((+new Date() - +new Date(value)) / 1000); + if (seconds < 29) // less than 30 seconds ago will show as 'Just now' + return 'Just now'; + const intervals: { [key: string]: number } = { + 'year': 31536000, + 'month': 2592000, + 'week': 604800, + 'day': 86400, + 'hour': 3600, + 'minute': 60, + 'second': 1 + }; + let counter; + for (const i in intervals) { + counter = Math.floor(seconds / intervals[i]); + if (counter > 0) + if (counter === 1) { + return counter + ' ' + i + ' ago'; // singular (1 day ago) + } else { + return counter + ' ' + i + 's ago'; // plural (2 days ago) + } + } + } + return value; +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/accesstype.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/accesstype.service.ts new file mode 100644 index 0000000..4c3029d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/accesstype.service.ts @@ -0,0 +1,64 @@ +import { HttpClient, HttpParams } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from '../api/api-request.service'; +import baseUrl from 'src/app/services/api/helper'; +@Injectable({ + providedIn: 'root' +}) +export class AccesstypeService { + private AllURL = 'access_type/Accesstype'; +private moduleurl='_back/Modules_t' + constructor( private apiRequest: ApiRequestService,private _http: HttpClient,) { } + getAll(page?: number, size?: number): Observable { + // create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + return this.apiRequest.get(this.AllURL, params); + } + + create(data:any): Observable { + return this.apiRequest.post(this.AllURL, data); + } + + delete(id: number): Observable { + const _http = this.AllURL + "/" + id; + return this.apiRequest.delete(_http); + } + + update(id: number, data: any): Observable { + const _http = this.AllURL + "/" + id; + return this.apiRequest.put(_http, data); + } + getAll1(page?: number, size?: number): Observable { + // create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + return this.apiRequest.get(this.moduleurl, params); + } + + create1(data:any): Observable { + return this.apiRequest.post(this.moduleurl, data); + } + + delete1(id: number): Observable { + const _http = this.moduleurl + "/" + id; + return this.apiRequest.delete(_http); + } + + update1(id: number, data: any): Observable { + const _http = this.moduleurl + "/" + id; + return this.apiRequest.put(_http, data); + } + public getById(id: any){ + return this._http.get(`${baseUrl}/access_type/accessmenu/Accessmenu/${id}`); + } + public addById(id:any,data:any){ + return this._http.post(`${baseUrl}/access_type/accessmenu/Accessmenu/${id}`,data); + + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/auditreport.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/auditreport.service.ts new file mode 100644 index 0000000..ea0066b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/auditreport.service.ts @@ -0,0 +1,38 @@ +import { HttpClient, HttpParams } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import baseUrl from 'src/app/services/api/helper'; +import { ApiRequestService } from '../api/api-request.service'; +@Injectable({ + providedIn: 'root' +}) +export class AuditreportService { +private dateurl="audit/betweendate"; + constructor(private _http: HttpClient,private apiRequest: ApiRequestService,) { } + public getAll() { + return this._http.get(`${baseUrl}/audit/auditall`); + } + public getbyid(id:any) { + return this._http.get(`${baseUrl}/audit/auditall/${id}`); + } + public getbyuser(val:any){ + return this._http.get(`${baseUrl}/audit/listusername/${val}`); + } + public getbyentity(val:any){ + return this._http.get(`${baseUrl}/audit/listentityname/${val}`); + } + public onlydate(from:any,to:any){ + let params: HttpParams = new HttpParams(); + params =params.append("startDate",from); + params =params.append("endDate",to); + return this.apiRequest.get(this.dateurl,params); + } + public apply(from:any,to:any,user:any,entity:any){ + let params: HttpParams = new HttpParams(); + params =params.append("startDate",from); + params =params.append("endDate",to); + params =params.append("user",user); + params =params.append("entity_name",entity) + return this.apiRequest.get(`audit/betweendate_byuser`,params); + //return this._http.get(`${baseUrl}/audit/betweendate_byuser/${from}`); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/connector-mapping.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/connector-mapping.service.ts new file mode 100644 index 0000000..4a8b75a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/connector-mapping.service.ts @@ -0,0 +1,37 @@ +import { Injectable } from '@angular/core'; +import baseUrl from 'src/app/services/api/helper'; +import { HttpClient, HttpParams } from '@angular/common/http'; +import { ApiRequestService } from '../api/api-request.service'; +@Injectable({ + providedIn: 'root' +}) +export class ConnectorMappingService { + private getAllData = 'connector/Connectorjson'; + private baseURL = 'Connectorjson'; + + constructor(private _http: HttpClient,) { } + public getAll() { + return this._http.get(`${baseUrl}/connector/Connectorjson`); + } + public create(data: any){ + return this._http.post(`${baseUrl}/connector/Connectorjson`, data); + } + public getById(id: any){ + return this._http.get(`${baseUrl}/connector/Connectorjson/${id}`); + } + public delete(id:any){ + return this._http.delete(`${baseUrl}/connector/Connectorjson/${id}`); + } + public getkeys(data:any) { + return this._http.post(`${baseUrl}/token/connector/mapping/mapping`,data); + } + public getValues(data:any) { + return this._http.post(`${baseUrl}/token/connector/mapping/mapping1`,data); + } + public getValues1(data:any) { + return this._http.post(`${baseUrl}/token/connector/mapping/mapping2`,data); + } + public update(id:any,data:any){ + return this._http.put(`${baseUrl}/connector/Connectorjson/${id}`, data); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/deploymentprofile.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/deploymentprofile.service.ts new file mode 100644 index 0000000..44f776b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/deploymentprofile.service.ts @@ -0,0 +1,47 @@ +import { Injectable } from '@angular/core'; +import { ApiRequestService } from '../api/api-request.service'; +import { HttpClient, HttpHeaders, HttpParams } from "@angular/common/http"; +import { Observable } from 'rxjs'; + +@Injectable({ + providedIn: 'root' +}) +export class DeploymentprofileService { + + private getAllURL = 'deployment/deplomentprofile'; + addDataURl = 'deployment/deplomentprofile'; + private baseURL = "deployment/deplomentprofile"; + private getallline="deployment/deplomentprofile_line"; + constructor( + private _http: HttpClient, + private apiRequest: ApiRequestService + ) { } + + getAll(page?: number, size?: number): Observable { + // create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + return this.apiRequest.get(this.getAllURL, params); + } +getalllines(page?: number, size?: number){ + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + return this.apiRequest.get(this.getallline,params); +} + create(data:any): Observable { + return this.apiRequest.post(this.addDataURl, data); + } + + delete(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.delete(_http); + } + + update(id: number, data: any): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, data); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/health-checkup.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/health-checkup.service.ts new file mode 100644 index 0000000..6ceb797 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/health-checkup.service.ts @@ -0,0 +1,74 @@ +import { Injectable } from '@angular/core'; +import { HttpClient } from '@angular/common/http'; +import{environment} from 'src/environments/environment'; +import { ApiRequestService } from '../api/api-request.service'; +import { HealthCheckup } from 'src/app/models/fnd/health_checkup'; +import { Observable } from 'rxjs'; + +@Injectable({ + providedIn: 'root' +}) +export class HealthCheckupService { + + baseUrl = 'HealthCheckup' + constructor(private _http: HttpClient, + private apiRequest: ApiRequestService) { } + + getHealthCheckups(): Observable { + return this.apiRequest.get(`${this.baseUrl}/HealthCheckup`); + } + + getHealthCheckupById(id: number): Observable { + return this.apiRequest.get(`${this.baseUrl}/HealthCheckup/${id}`); + } + + saveHealthCheckup(data: string, files: File[]): Observable { + const formData: FormData = new FormData(); + formData.append('data', JSON.stringify(data)); + + if (files && files.length > 0) { + // console.log("if Condition",files); + // for (const file of files) { + // console.log("if Condition",file); + // formData.append('files', file, file.name); + // } + for (let i = 0; i < files.length; i++) { + formData.append('files', files[i]); + console.log("if Condition",files[i]); + } + } + + return this.apiRequest.postFormData(`${this.baseUrl}/HealthCheckup`, formData); + } + + updateHealthCheckup(id: number, data: HealthCheckup): Observable { + return this.apiRequest.put(`${this.baseUrl}/HealthCheckup/${id}`, data); + } + + deleteHealthCheckup(id: number): Observable { + return this.apiRequest.delete(`${this.baseUrl}/HealthCheckup/${id}`); + } + + //redeploy + public getFileContent(healthId: number): Observable { + console.log(healthId) + const url = `HealthCheckupfile/readeploy/${healthId}`; + return this.apiRequest.get(url); + } + + //files + + getAllHealthCheckupFiles(healthId: number): Observable { + return this.apiRequest.get(`HealthCheckupfile/HealthCheckupfile/${healthId}`); + } + + readFile(fileId: number): Observable { + return this.apiRequest.get(`HealthCheckupfile/readfile/${fileId}`); + } + +//checkup + getHealthCheckup(jobtype: string): Observable { + const url = `${this.baseUrl}/healthcheckup?jobtype=${jobtype}`; + return this.apiRequest.get(url); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/logconfig.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/logconfig.service.ts new file mode 100644 index 0000000..0fa8786 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/logconfig.service.ts @@ -0,0 +1,28 @@ +import { Injectable } from '@angular/core'; +import baseUrl from 'src/app/services/api/helper'; +import { HttpClient } from '@angular/common/http'; +@Injectable({ + providedIn: 'root' +}) +export class LogconfigService { + + constructor(private _http: HttpClient,) { } + public getAll() { + return this._http.get(`${baseUrl}/log/getAll`); + } + public getbyid(Id: any){ + return this._http.get(`${baseUrl}/log/getOne/${Id}`); + } + public create(username:any,mode:any){ + return this._http.get(`${baseUrl}/log/startLogging/${username}/${mode}`); + } + public delete(username:any){ + return this._http.get(`${baseUrl}/log/stopLogging/${username}`); + } + public downloadfile(filename:any){ + return this._http.get(`${baseUrl}/log/downloadLog/${filename}`); + } + public readfile(id:any){ + return this._http.get(`${baseUrl}/log2/fileread/${id}`); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/menu-group.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/menu-group.service.ts new file mode 100644 index 0000000..e1e1865 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/menu-group.service.ts @@ -0,0 +1,76 @@ +import { HttpClient } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import baseUrl from '../../services/api/helper'; +import { ApiRequestService } from '../api/api-request.service'; +import { Rn_Main_Menu } from '../../models/builder/Rn_Main_Menu'; +import { Observable } from 'rxjs'; +import { CookieService } from 'ngx-cookie-service'; +@Injectable({ + providedIn: 'root' +}) +export class MenuGroupService { + public key: string ='key-for-data-in-cookies'; + private storage: Storage = sessionStorage; + constructor( + private _http: HttpClient,private readonly _cookieService: CookieService, + private apiRequest: ApiRequestService, + ) { } + + public getAll(){ + return this._http.get(`${baseUrl}/api/menu-group`); + } + + public addToDb(header: any){ + return this._http.post(`${baseUrl}/api/menu-group`, header); + } + + public addLineToDb(line: any){ + return this._http.post(`${baseUrl}/lines_m/create`, line); + } + + public getOneById(id: any){ + return this._http.get(`${baseUrl}/api/menu-group/${id}`); + } + + public updateGroupHeader(id: any, data: any){ + return this._http.put(`${baseUrl}/api/menu-group/${id}`, data); + } + + public updateLineById(id: any){ + return this._http.put(`${baseUrl}/lines_m/update`, id); + } + + public deleteById(id: any){ + return this._http.delete(`${baseUrl}/api/menu-group/${id}`); + } + getByCurrentUserMenuGroupId(): Observable { + const _http1 = "api1/getByUserId" + return this.apiRequest.get(_http1); +} +getByCurrentUserMenuGroupId1(): Observable { + const _http1 = "api1/submenu1" + return this.apiRequest.get(_http1); +} +getByCurrentUserMenuGroupId2(): Observable { + const _http1 = "fndMenu/menuloadbyuser"//9292/fndMenu/menuloadbyuser + return this.apiRequest.get(_http1); +} +private data: string = "data"; +public storeaddeditvalues(data:any,) { + this.storage.setItem(this.data,JSON.stringify (data)); + console.log(this.data); +} +getdata(): any { + //console.log(this.data); + var data = JSON.parse(this.storage.getItem(this.data)); + //let data = this.storage.getItem(this.data); + return data; +} +getuser(id:any){ + const http="chat/getuser"; + return this.apiRequest.post(http,id); +} +public save(text:string):void{ + return this._cookieService.set(this.key,text); +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/menu-register.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/menu-register.service.ts new file mode 100644 index 0000000..82ed7d1 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/menu-register.service.ts @@ -0,0 +1,33 @@ +import { HttpClient } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import baseUrl from '../../services/api/helper'; + +@Injectable({ + providedIn: 'root' +}) +export class MenuRegisterService { + + constructor( + private _http: HttpClient + ) { } + + public add(r: any){ + return this._http.post(`${baseUrl}/api/menu-register`, r); + } + + public getd(){ + return this._http.get(`${baseUrl}/api/menu-register`); + } + + public getById(id: any){ + return this._http.get(`${baseUrl}/api/menu-register/${id}`); + } + + public update(id:any, reg:any){ + return this._http.put(`${baseUrl}/api/menu-register/${id}`, reg); + } + + public deleteById(id: any){ + return this._http.delete(`${baseUrl}/api/menu-register/${id}`); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/menumaintance.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/menumaintance.service.ts new file mode 100644 index 0000000..c407dce --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/menumaintance.service.ts @@ -0,0 +1,69 @@ +import { Injectable } from '@angular/core'; +import { HttpClient } from '@angular/common/http'; +import baseUrl from '../../services/api/helper'; +import { Observable } from "rxjs"; +import { Rn_Main_Menu } from "../../models/builder/Rn_Main_Menu"; +import { ApiRequestService } from '../api/api-request.service'; +@Injectable({ + providedIn: 'root' +}) +export class MenumaintanceService { + + constructor(private _http: HttpClient, + private apiRequest: ApiRequestService,) { } + // create + public create(data: any){ + return this._http.post(`${baseUrl}/Menu_maintain`, data); + } + + // update + public update(id:number,data:any): Observable{ + //const _http = this.baseURL + "/" + id; + //return this.apiRequest.put(_http, data); + return this._http.put(`${baseUrl}/Menu_maintain/${id}`, data); + } + // get all + public getAll(){ + return this._http.get(`${baseUrl}/Menu_maintain`); + } + getByCurrentUserMenuGroupId1(): Observable { + const _http1 = "api1/submenu1" + return this.apiRequest.get(_http1); + } + // add submenudet table + // create + public create1(data: any){ + return this._http.post(`${baseUrl}/api1/Sec_menuDet`, data); + } + public create2(data:any){ + return this._http.post(`${baseUrl}/api1/addgrpwithsubmenu`, data) + } + // sink + public sink(id:any,data:any){ + return this._http.put(`${baseUrl}/fndMenu/sink/${id}`,data); + } + //get by menuid->submenu + public getbyid(id:any){ + return this._http.get(`${baseUrl}/api1/submenu1/${id}`); + } + //update update by menu_item_id + public update1(id:number,data:any): Observable{ + return this._http.put(`${baseUrl}/api1/submenu1/${id}`, data); + } + public update2(id:number,usrgrp:any,data:any): Observable{ + return this._http.put(`${baseUrl}/api1/update/${id}/${usrgrp}`, data); +} + //delete + public delete1(id: any){ + return this._http.delete(`${baseUrl}/api1/menu/${id}`); + } + // get one + public getOne(Id: any){ + return this._http.get(`${baseUrl}/Menu_maintain/${Id}`); + } + + // delete + public delete(id: any){ + return this._http.delete(`${baseUrl}/Menu_maintain/${id}`); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/myworkspace.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/myworkspace.service.ts new file mode 100644 index 0000000..02f6a8b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/myworkspace.service.ts @@ -0,0 +1,98 @@ +import { Injectable } from '@angular/core'; +import { HttpClient, HttpParams } from '@angular/common/http'; +import baseUrl from '../../services/api/helper'; + +@Injectable({ + providedIn: 'root' +}) +export class MyworkspaceService { + public localStorage: Storage = localStorage; + constructor(private _http: HttpClient) { } + public add(r: any){ + return this._http.post(`${baseUrl}/api/menu-register`, r); + } + + public getall(){ + return this._http.get(`${baseUrl}/Workspace_team/SecTeam`); + } + public getalluser(){ + return this._http.get(`${baseUrl}/User_workSpace/GetAllUser`); + } + public getallguest(){ + return this._http.get(`${baseUrl}/User_workSpace/GetAllGuest`); + } + public adduser(email:any){ + let params: HttpParams = new HttpParams(); + params = params.append("email", email); + return this._http.post(`${baseUrl}/api/userviaadmin`,params); + } + storeEmail(email: string) { + this.localStorage.setItem("registeredEmail", email); + } + //Store userinfo from session storage + + //Get email from session storage ( WILL REMOVE AFTER REGISTER) + getStoredEmail(): string | null { + try { + let email: string = this.localStorage.getItem( + "registeredEmail" + ); + if (email) { + return email; + } else { + return null; + } + } catch (e) { + return null; + } + } + adduserdetails(data:any,token:any){ + return this._http.post(`${baseUrl}/api/admin/adduser/${token}`,data); + } + + addguest(email:any,duration:any){ + let params: HttpParams = new HttpParams(); + params = params.append("email", email); + params=params.append("access_duration",duration) + return this._http.post(`${baseUrl}/api/guest_via_admin`,params); + } + + addguestdetails(data:any,token:any){ + return this._http.post(`${baseUrl}/api/admin/addguest/${token}`,data); + } + addteam(data:any){ + return this._http.post(`${baseUrl}/Workspace_team/SecTeam`,data); + } + public getallteammeme(id:any){ + return this._http.get(`${baseUrl}/User_workSpace/GetAllMember/${id}`); + } + getallusertosameaccid(){ + return this._http.get(`${baseUrl}/User_workSpace/GetAll`); + } + addteammem(id:any,user_id:any,data:any){ + return this._http.post(`${baseUrl}/User_workSpace/add_team/${id}/${user_id}`,data); + } + getallworkspace(){ + return this._http.get(`${baseUrl}/Workspace_workspace/FindByaccount`); + } + addsecworkspaceuser(usrid:any,id:any,data:any,){ + return this._http.post(`${baseUrl}/workspace/secworkspaceuser/add_workspace/users/${usrid}/${id}`,data); + } + addsecworkteam(pid:any,tid:any,data:any){ + return this._http.post(`${baseUrl}/workspace/secworkspaceuser/addteam/${pid}/${tid}`,data); + } + getallsecworkspace(id:any){ + return this._http.get(`${baseUrl}/workspace/secworkspaceuser/get_by_projectid/${id}`); + } + // public getById(id: any){ + // return this._http.get(`${baseUrl}/api/menu-register/${id}`); + // } + + // public update(id:any, reg:any){ + // return this._http.put(`${baseUrl}/api/menu-register/${id}`, reg); + // } + + // public deleteById(id: any){ + // return this._http.delete(`${baseUrl}/api/menu-register/${id}`); + // } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/outgoingwebhook.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/outgoingwebhook.service.ts new file mode 100644 index 0000000..16d441f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/outgoingwebhook.service.ts @@ -0,0 +1,51 @@ +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from '../api/api-request.service'; + +@Injectable({ + providedIn: 'root' +}) +export class OutgoingwebhookService { + + constructor(private apiRequest: ApiRequestService) { } + getall(){ + let _http = `api/outgoing/getall`; + return this.apiRequest.get(_http); + } + getallentity(){ + let _http = `api/outgoing/getentity`; + return this.apiRequest.get(_http); + } + wall(){ + let _http = `api/webhookdata/getall`; + return this.apiRequest.get(_http); + } + post(data:any){ + let _http=`api/outgoing/save`; + return this.apiRequest.post(_http,data); + } + getById(id: number) { + const _http =`api/outgoing/getById/${id}`; + return this.apiRequest.get(_http); + } + update(id: number, data:any): Observable { + const _http =`api/outgoing/update/${id}`; + return this.apiRequest.put(_http,data); + } + update1(id: number, data:any): Observable { + const _http =`api/outgoing_lines/update/${id}`; + return this.apiRequest.put(_http,data); + } + delete(id:any){ + let _http=`api/outgoing/delete/${id}`; + return this.apiRequest.delete(_http,); + } + getallworkflow(){ + let _http = `token/webhook/Workflow/getall`; + return this.apiRequest.get(_http); + } + getbyidworkflow(id:any){ + let _http = `token/webhook/Workflow/get/${id}`; + return this.apiRequest.get(_http); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sessionlogger.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sessionlogger.service.ts new file mode 100644 index 0000000..f48fc28 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sessionlogger.service.ts @@ -0,0 +1,17 @@ +import { HttpClient } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import baseUrl from 'src/app/services/api/helper'; +@Injectable({ + providedIn: 'root' +}) +export class SessionloggerService { + + constructor(private _http: HttpClient) { } + public getAll() { + return this._http.get(`${baseUrl}/user1/session/getAll`); + } + + public delete(id:any){ + return this._http.delete(`${baseUrl}/user1/session/delete/${id}`); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sure-connector.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sure-connector.service.ts new file mode 100644 index 0000000..87a3c74 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sure-connector.service.ts @@ -0,0 +1,25 @@ +import { HttpClient } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +//import baseUrl from 'src/app/services/api/helper'; +import { environment } from 'src/environments/environment'; +@Injectable({ + providedIn: 'root' +}) +export class SureConnectorService { + baseurl = environment.jobmgurl; + constructor(private _http: HttpClient,) { } + public getAll() { + return this._http.get(`${this.baseurl}/jobpro/get_rn_sureconnetor`); + } + public create(data: any){ + return this._http.post(`${this.baseurl}/jobpro/Savern_sureconnetor`, data); + } + + public delete(id:any){ + return this._http.delete(`${this.baseurl}/jobpro/delete_by_rn_sureconnetor_id/${id}`); + } + + public update(id:any,data:any){ + return this._http.put(`${this.baseurl}/jobpro/update_rn_sureconnetor/${id}`, data); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sure-opsscriptmaster.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sure-opsscriptmaster.service.ts new file mode 100644 index 0000000..d0cd824 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sure-opsscriptmaster.service.ts @@ -0,0 +1,86 @@ +import { HttpClient, HttpParams } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from '../api/api-request.service'; + +@Injectable({ + providedIn: 'root' +}) +export class SureOpsscriptmasterService { + private URL = 'Sureops_script_api/Sureops_script_apis'; + private url='Sureops_script_api/Sureops_script_line' + private masterurl='Sureops_script_master/sureops_scriptmaster1' + constructor(private _http: HttpClient,private apiRequest: ApiRequestService) { } + getAll(page?: number, size?: number): Observable { + // create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + // params = params.append("module_id", module_id.toString()); + // get all + return this.apiRequest.get(this.URL, params); + } + + create(data:any): Observable{ + return this.apiRequest.post(this.URL, data); + } + + delete(id:number){ + let _http = this.URL + "/" + id; + return this.apiRequest.delete(_http); + } + + getById(id:number) + { + let _http = this.URL + "/"+id; + return this.apiRequest.get(_http); + } + + updateLineById(id:number,data:any) + { + let _http = this.url + "/"+id; + return this.apiRequest.put(_http,data); + } + + update(id:number,data:any) + { + let _http = this.URL + "/"+id; + return this.apiRequest.put(_http,data); + } + + getall(page?: number, size?: number): Observable { + // create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + // params = params.append("module_id", module_id.toString()); + // get all + return this.apiRequest.get(this.masterurl, params); + } + + create1(data:any): Observable{ + return this.apiRequest.post(this.masterurl, data); + } + + delete1(id:number){ + let _http = this.masterurl + "/" + id; + return this.apiRequest.delete(_http); + } + + getById1(id:number) + { + let _http = this.masterurl + "/"+id; + return this.apiRequest.get(_http); + } + + + + update1(id:number,data:any) + { + let _http = this.masterurl + "/"+id; + return this.apiRequest.put(_http,data); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sureapi.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sureapi.service.ts new file mode 100644 index 0000000..9426ec5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sureapi.service.ts @@ -0,0 +1,23 @@ +import { HttpClient, HttpParams } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import baseUrl from 'src/app/services/api/helper'; +import { ApiRequestService } from '../api/api-request.service'; +@Injectable({ + providedIn: 'root' +}) +export class SureapiService { +url='sure_connect/sure_postman/call_api' + constructor(private http:HttpClient,private apiRequest: ApiRequestService,) { } + createpostman(api_url:any,json_body:any,method: any,token:any){ + console.log(api_url,json_body,method,token) + let params: HttpParams = new HttpParams(); + params =params.append("api_url",api_url); + // params =params.append("json_body",json_body); + params =params.append("method",method); + params =params.append("token",token) + return this.http.post(`${baseUrl}/sure_connect/sure_postman/call_api`,json_body,{params:params}); + //return this.apiRequest.post(this.url,{ search:params }); + + + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sureconnect.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sureconnect.service.ts new file mode 100644 index 0000000..e8b6086 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sureconnect.service.ts @@ -0,0 +1,35 @@ +import { Injectable } from '@angular/core'; +import { HttpClient, HttpParams } from '@angular/common/http'; +import baseUrl from 'src/app/services/api/helper'; +import { ApiRequestService } from '../api/api-request.service'; +@Injectable({ + providedIn: 'root' +}) +export class SureconnectService { + + constructor(private _http: HttpClient, + private apiRequest: ApiRequestService,) { } + public create(data: any){ + return this._http.post(`${baseUrl}/Sure_Connect`, data); + } + + // create card + public update(data: any,id:any){ + return this._http.put(`${baseUrl}/Sure_Connect/${id}`, data); + } + + // get all cards + public getAll(){ + return this._http.get(`${baseUrl}/Sure_Connect`); + } + + // get one card + public getOne(id: any){ + return this._http.get(`${baseUrl}/Sure_Connect/${id}`); + } + + // delete card + public delete(id: any){ + return this._http.delete(`${baseUrl}/Sure_Connect/${id}`); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sysparameter.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sysparameter.service.ts new file mode 100644 index 0000000..b55858a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/sysparameter.service.ts @@ -0,0 +1,33 @@ +import { Injectable } from '@angular/core'; +import { Observable } from "rxjs"; +import { ApiRequestService } from "../api/api-request.service"; +import { HttpParams } from "@angular/common/http"; +import { HttpClient } from '@angular/common/http'; +@Injectable({ + providedIn: 'root' +}) +export class SysparameterService { + private addsysurl = 'sysparam/addSysParams '; + private updatesysurl = 'sysparam/updateSysParams'; + private getbyidurl = 'sysparam/getSysParams'; + constructor(private apiRequest: ApiRequestService,) { } + + + create(data: any): Observable { + return this.apiRequest.post(this.addsysurl, data); + } + + update(id: number, data: any, file: any): Observable { + const s = JSON.stringify(data); + const formData: FormData = new FormData(); + formData.append("o1", s); + formData.append(file.name, file); + + const _http = this.updatesysurl + "/" + id; + return this.apiRequest.put(_http, data); + } + getById(id: number): Observable { + const _http = this.getbyidurl + "/" + id; + return this.apiRequest.get(_http); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/university.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/university.service.ts new file mode 100644 index 0000000..1364856 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/university.service.ts @@ -0,0 +1,44 @@ +import { Injectable } from '@angular/core'; +import { HttpParams } from "@angular/common/http"; +import { university } from "../../models/fnd/university"; +import { Observable } from "rxjs"; +import { ApiRequestService } from "../api/api-request.service"; +import { UserInfoService } from "../user-info.service"; + +@Injectable({ + providedIn: 'root' +}) +export class UniversityService { + + private baseURL = "api/author"; + constructor( + private apiRequest: ApiRequestService, + private userInfoService: UserInfoService + ) { } + getAll(page?: number, size?: number): Observable { + //Create Request URL params + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + //const _http = this.baseURL + '/all'; + console.log(this.userInfoService.getUserInfo().userId); + let id = this.userInfoService.getUserInfo().userId; + return this.apiRequest.get(this.baseURL, params); + } + getById(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.get(_http); + } + create(college: university): Observable { + return this.apiRequest.post(this.baseURL, college); + } + + update(id: number, projectSetup: university): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, projectSetup); + } + delete(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.delete(_http); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/user-list.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/user-list.service.ts new file mode 100644 index 0000000..aa48719 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/user-list.service.ts @@ -0,0 +1,33 @@ +import { HttpClient } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import baseUrl from '../../services/api/helper'; + +@Injectable({ + providedIn: 'root' +}) +export class UserListService { + + constructor( + private _http: HttpClient + ) { } + + public add(user: any){ + return this._http.post(`${baseUrl}/user_list/create`, user); + } + + public update(user: any){ + return this._http.put(`${baseUrl}/user_list/update`, user); + } + + public getOne(user: any){ + return this._http.get(`${baseUrl}/user_list/get-one/${user}`); + } + + public getAll(){ + return this._http.get(`${baseUrl}/user_list/get-all`); + } + + public deleteById(id: any){ + return this._http.delete(`${baseUrl}/user_list/delete/${id}`); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/user-profile.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/user-profile.service.ts new file mode 100644 index 0000000..13160da --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/user-profile.service.ts @@ -0,0 +1,120 @@ +import { HttpClient, HttpParams } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { AppConfig } from '../../app-config'; +import { Observable } from 'rxjs'; +import { UserInfoService } from '../user-info.service'; +import { ApiRequestService } from '../api/api-request.service'; +import { TranslateService } from '../api/translate.service'; +import { environment } from 'src/environments/environment'; + +export interface UserProfile { + email: string; + firstName: string; + lastName: string; + fullName: string; + pronouns?: string; + photos?: string; + status?: string; + role?: string; + roles?: Role[]; + department?: string; + about?: string; + createdAt?: Date; + updatedAt?: Date; + accountId?: number; + createdBy?: number; + updatedBy: number; + +} +export interface Role { + id: number; + name: string; + description: string; +} +@Injectable() +export class UserProfileService { + + private userProfileURL = 'api/user-profile'; + private postUserProfilePicURL = 'api/upload'; + private getUserProfilePicURL = 'api/retrieve-image'; + private userAcountURL = 'api/user-account'; + private aboutWork = 'token/aboutwork'; + + private getids = 'token/userid'; + + private actionBuilderURL="token/aboutwork" + + + constructor( + private apiRequest: ApiRequestService, + private translate: TranslateService, + private userInfoService: UserInfoService, + private http: HttpClient, + private appConfig: AppConfig, + ) { } + + /* getAll(page?:number, size?:number): Observable { + //Create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append('page', typeof page === "number"? page.toString():"0"); + params = params.append('size', typeof size === "number"? size.toString():"1000"); + // get all + // return this.apiRequest.get('api/instructors'); + // paginated data + return this.apiRequest.get(this.baseURL, params); + + } */ + + getUserProfile(): Observable { + const _http = this.userProfileURL; + return this.apiRequest.get(_http); + + } + updateUserProfile(user: UserProfile): Observable { + const _http = this.userProfileURL; + return this.apiRequest.put(_http, user); + } + + uploadUserProfilePic(fileToUpload: File): Observable { + const formData: FormData = new FormData(); + formData.append('imageFile', fileToUpload, fileToUpload?.name); + return this.http.post(this.appConfig.baseApiPath + this.postUserProfilePicURL, formData, { reportProgress: true, observe: 'events' }); + } + + getProfilePic(): Observable { + return this.apiRequest.get(this.getUserProfilePicURL); + } + + + getUserAccountDetails() { + return this.apiRequest.get(this.userAcountURL); + } + + saveUser(data): Observable { + return this.apiRequest.post(this.aboutWork, data); + } + + updateUser(id,data): Observable { + const _http = this.actionBuilderURL + "/" + id; + return this.apiRequest.put(_http, data); + } + + getUser(id: number, checknumber: number): Observable { + return this.apiRequest.get(this.getids + "/" + id + "/" + checknumber); + // return this.apiRequest.get(this.getids, data); + + } + private url = environment.backendUrl +"/token/"; + /////////////// + addUserinSignUP(data:any): Observable { + return this.http.post(`${this.url}users/sysaccount/savesysaccount`, data); + } + + adduserData(data:any): Observable { + return this.http.post(`${this.url}addOneAppUser`, data); + } + + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/user-registration.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/user-registration.service.ts new file mode 100644 index 0000000..7fe4799 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/user-registration.service.ts @@ -0,0 +1,290 @@ +import { Injectable } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams, HttpResponse } from "@angular/common/http"; +import { PasswordResetComponent } from "src/app/modules/main/admin/password-reset/password-reset.component"; + +import { UserRegistrationComponent } from "src/app/modules/main/admin/user-registration/user-registration.component"; +import { Observable } from "rxjs"; +import { UserInfoService } from "../user-info.service"; +import { ApiRequestService } from "../api/api-request.service"; +import { environment } from 'src/environments/environment'; + +export interface User { + firstName: string; + lastName: string; + password: string; + email: string; +} + +export interface Sys_Account { + userEmail: string; + companyName: string; + workspace: string; + gstNumber: string; +} + +export interface SignedUpUser { + userId: string; + email: string; + fullName: string; + firstName: string; +} +export interface signUpInfo { + success?: boolean; + message?: string; + landingPage?: string; + user?: SignedUpUser; +} + + +@Injectable({ + providedIn: 'root' +}) +export class UserRegistrationService { + + private baseURL = "api/user-registration"; // still not in use + private emailExistURL = "token/email-exists"; // email exist check + private userRegURL = "token/user-registration"; + private companyRegURL = "token/company-registration"; + private resetPasswordURL = "api/reset_password"; + + public registeredEmailKey: string = "registeredEmail"; + public localStorage: Storage = localStorage; + public sessionStorage: Storage = sessionStorage; + + private url = environment.backendUrl +"/token/"; + + + constructor(private apiRequest: ApiRequestService,private http:HttpClient, + private userInfoService: UserInfoService) { } + + /* takenUsernames: any[] = []; + checkIfUsernameExists(username: string): Observable { + return of(this.takenUsernames.includes(username)) + .pipe(delay(1000)); + } + usernameValidator(): AsyncValidatorFn { + return (control: AbstractControl): Observable => { + return this.checkIfUsernameExists(control.value).pipe( + map(res => { + // if res is true, username exists, return true + return res ? { usernameExists: true } : null; + // NB: Return null if there is no error + }) + ); + }; + } */ + + //Store userinfo from session storage + storeEmail(userInfoString: string) { + this.localStorage.setItem(this.registeredEmailKey, userInfoString); + } + + //Remove userinfo from session storage + removeStoredEmail() { + this.localStorage.removeItem(this.registeredEmailKey); + } + + //Get email from session storage ( WILL REMOVE AFTER REGISTER) + getStoredEmail(): string | null { + try { + let userInfoString: string = this.localStorage.getItem( + this.registeredEmailKey + ); + if (userInfoString) { + return userInfoString; + } else { + return null; + } + } catch (e) { + return null; + } + } + + /* === store signed up user info in storage === */ + public registeredUserKey: string = "registeredUser"; + storeSignedUpUserInfo(userInfoString: string) { + this.sessionStorage.setItem(this.registeredUserKey, userInfoString); + } + removeSignedUpUserInfo() { + this.sessionStorage.removeItem(this.registeredUserKey); + } + + //Get userinfo from session storage + getSignedUpUserInfo(): SignedUpUser | null { + try { + let userInfoString: string = this.sessionStorage.getItem( + this.registeredUserKey + ); + if (userInfoString) { + let userObj: SignedUpUser = JSON.parse( + this.sessionStorage.getItem(this.registeredUserKey) + ); + return userObj; + } else { + return null; + } + } catch (e) { + return null; + } + } + // Get Full Name from session storage + getFirstName(): string { + let userObj: SignedUpUser = this.getSignedUpUserInfo(); + if (userObj !== null) { + //console.log('getFirstName() : ', userObj.firstName); + return userObj.firstName; + } + return "no-user"; + } + // Get User Email from session storage + getEmail(): string { + let userObj: SignedUpUser = this.getSignedUpUserInfo(); + if (userObj !== null) { + //console.log('getEmail() : ', userObj.email); + return userObj.email; + } + return "no-user"; + } + // Get User Id from session storage + getUserId(): string { + let userObj: SignedUpUser = this.getSignedUpUserInfo(); + if (userObj !== null) { + return userObj.userId; + } + return "no-user"; + } + + /* === store signed up user info in storage END === */ + + /* === check if email is aailable or not === */ + emailCheck(email: UserRegistrationComponent): Observable { + return this.apiRequest.post(this.emailExistURL, email); + } + /* === signed up user (admin) === */ + + /* public landingPage:string = "/account-setup"; + saveUser(user: User): Observable { + let signupDataSubject: BehaviorSubject = new BehaviorSubject([]); + let signupInfoReturn: signUpInfo; + this.apiRequest.post(this.userRegURL, user).subscribe( + (res) => { + if ( + res !== undefined && + res !== null && + res.operationStatus === "SUCCESS" + ) { + signupInfoReturn = { + success: true, + message: res.operationMessage, + landingPage: this.landingPage, + user: { + userId: res.item.userId, + email: res.item.email, + fullName: res.item.fullname, + firstName: res.item.firstName, + }, + }; + console.log('signupInfoReturn : ', signupInfoReturn); + // store signed up user info in session storage for further case + this.storeSignedUpUserInfo(JSON.stringify(signupInfoReturn.user)); + } else { + //Create a faliure object that we want to send back to login page + signupInfoReturn = { + success: false, + message: res.operationMessage, + landingPage: "/create-account", + }; + } + signupDataSubject.next(signupInfoReturn); + }, + (err) => { + console.log("signup error ", err); + signupInfoReturn = { + success: false, + message: err.url + " >>> " + err.statusText + "[" + err.status + "]", + landingPage: "/create-account", + }; + } + ); + console.log('signupDataSubject : ', signupDataSubject); + + return signupDataSubject; + //return this.apiRequest.post(this.userRegURL, user); + } */ + + saveUser(user: User): Observable { + return this.apiRequest.post(this.userRegURL, user); + } + + /* company registration form */ + saveCompany(company: Sys_Account): Observable { + return this.apiRequest.post(this.companyRegURL, company); + } + + resetPassword(passwordResetRequest: PasswordResetComponent): Observable { + return this.apiRequest.post(this.resetPasswordURL, passwordResetRequest); + } + + /*==== CRUD APIS =====*/ + getAll(page?: number, size?: number): Observable { + //Create Request URL params + let params: HttpParams = new HttpParams(); + params = params.append( + "page", + typeof page === "number" ? page.toString() : "0" + ); + params = params.append( + "size", + typeof size === "number" ? size.toString() : "1000" + ); + //const _http = this.baseURL + '/all'; + return this.apiRequest.get(this.baseURL, params); + } + + getById(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.get(_http); + } + + getByAccountId(): Observable { + const _http = this.baseURL + "/user-menu"; + return this.apiRequest.get(_http); + } + + create(any: any): Observable { + return this.apiRequest.post(this.baseURL, any); + } + + update(id: number, any: any): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, any); + } + + + /////// + + getStoredName() { + return this.localStorage.getItem("FullName"); + } + + removeStoredName() { + this.localStorage.removeItem("FullName"); + } + + sendEmail( email: any): Observable { + // const body = { account_id: accountId, email }; + const newbody = email; + const headers = new HttpHeaders({ 'Content-Type': 'application/json' }); + console.log(newbody); + return this.http.post(`${this.url}user/send_email`, newbody); + } + + sendOTP(email: string): Observable { + return this.http.post(`${this.url}user/resend_otp?email=${email}`, {}); + } + + // Method to verify OTP + verifyOTP(email: string, otp: string): Observable { + return this.http.post(`${this.url}user/otp_verification?email=${email}&otp=${otp}`, null); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/usergrpmaintaince.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/usergrpmaintaince.service.ts new file mode 100644 index 0000000..f8954be --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/usergrpmaintaince.service.ts @@ -0,0 +1,46 @@ +import { Injectable } from '@angular/core'; +import { HttpClient } from '@angular/common/http'; +import baseUrl from '../api/helper'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from '../api/api-request.service'; +import { Usergrpmain } from '../../models/admin/usergrpma'; +@Injectable({ + providedIn: 'root' +}) +export class UsergrpmaintainceService { + private baseURL = "api/updateOneUsrGrp"; + constructor(private _http: HttpClient,private apiRequest: ApiRequestService,) { } + + public getAll() { + return this._http.get(`${baseUrl}/api/getAllUsrGrp`); + } + public getbyid(Id: any){ + return this._http.get(`${baseUrl}/api/getOneAppUser/${Id}`); + } + public getbyusergrpid(id:any){ + return this._http.get(`${baseUrl}/api1/getusracces1/${id}`); + } + public create(data: any){ + return this._http.post(`${baseUrl}/api/addOneUsrGrp`, data); + } +// update +public update(data: any){ + return this._http.post(`${baseUrl}/api/updateOneUsrGrp`, data); +} +updatei(id: number, projectSetup: Usergrpmain): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, projectSetup); +} +public getall(){ + return this._http.get(`${baseUrl}/api1/getAllData`); +} +public deleteusr(id:any){ + return this._http.delete(`${baseUrl}/api/delete_usrgrp/${id}`); +} +public delete(id:any,usrgrp:any){ +return this._http.delete(`${baseUrl}/api1/deleteGrpMenuAcces/${id}/${usrgrp}`); +} +public deletemain(id:any,usrgrp:any){ + return this._http.delete(`${baseUrl}/fndMenu/DelMenu_WithSub1/${id}/${usrgrp}`); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/usermaintance.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/usermaintance.service.ts new file mode 100644 index 0000000..5c321e0 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/admin/usermaintance.service.ts @@ -0,0 +1,42 @@ +import { HttpClient } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import baseUrl from 'src/app/services/api/helper'; +@Injectable({ + providedIn: 'root' +}) +export class UsermaintanceService { + + constructor(private _http: HttpClient,) { } + public getAll() { + return this._http.get(`${baseUrl}/api/getAllAppUser`); + } + public getbyid(Id: any){ + return this._http.get(`${baseUrl}/api/getOneAppUser/${Id}`); + } + public create(data: any){ + return this._http.post(`${baseUrl}/api/addOneAppUser`, data); + } + // update + public update(data: any){ + return this._http.put(`${baseUrl}/api/updateAppUser`, data); + } + //newupdate + public updatenew(id:any,data: any){ + return this._http.put(`${baseUrl}/api/updateAppUserDto/${id}`, data); + } + public getallposition(){ + return this._http.get(`${baseUrl}/api/getAllPositions`); + } + public getbypositionid(Id:any){ + return this._http.get(`${baseUrl}/api/getPosition/${Id}`); + } + public getalldepartment(){ + return this._http.get(`${baseUrl}/api/getAllDepartments`); + } + public getbydepartmentid(Id:any){ + return this._http.get(`${baseUrl}/api/getDepartment/${Id}`); + } + public deleteusr(id:any){ + return this._http.delete(`${baseUrl}/api/delete_usr/${id}`); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/alert.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/alert.service.ts new file mode 100644 index 0000000..c19d894 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/alert.service.ts @@ -0,0 +1,70 @@ +import { Injectable } from '@angular/core'; +import { default as swal, SweetAlertOptions } from 'sweetalert2'; + +@Injectable({ + providedIn: 'root' +}) +export class AlertService { + constructor() { } + + error(text = 'เกิดข้อผิดพลาด', title = '') { + const option: SweetAlertOptions = { + title: title, + text: this.convertToText(text), + icon: 'error', + confirmButtonText: 'ตกลง' + }; + return swal.fire(option); + + } + + success(text = '', title = 'Success') { + const option: SweetAlertOptions = { + title: title, + text: this.convertToText(text), + icon: 'success', + confirmButtonText: 'Ok' + }; + return swal.fire(option); + + } + + serverError(text = 'เกิดข้อผิดพลาดในการเชื่อมต่อกับเซิร์ฟเวอร์', title = 'เกิดข้อผิดพลาด') { + const option: SweetAlertOptions = { + title: title, + text: this.convertToText(text), + icon: 'error', + confirmButtonText: 'ตกลง' + }; + return swal.fire(option); + + } + + confirm(text = 'คุณต้องการดำเนินการนี้ ใช่หรือไม่?', title = 'Are you sure?') { + const option: SweetAlertOptions = { + title: title, + text: this.convertToText(text), + icon: 'question', + showCancelButton: true, + confirmButtonColor: '#3085d6', + cancelButtonColor: '#d33', + confirmButtonText: 'Yes', + cancelButtonText: 'No' + }; + return swal.fire(option); + } + + convertToText(text) { + if (text && text.message) { + return text.message + } else if (text && text.error) { + return text.error + } else if (text && text.code) { + return text.code + } else { + return text ? JSON.stringify(text) : ''; + } + } + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/alerts.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/alerts.service.ts new file mode 100644 index 0000000..4617822 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/alerts.service.ts @@ -0,0 +1,39 @@ +import { Injectable } from "@angular/core"; +import { NavigationStart, Router } from "@angular/router"; +import { Observable, Subject } from "rxjs"; + +@Injectable() +export class AlertService { + private subject = new Subject(); + + private keepAfterNavigationChange = false; + + constructor(private router: Router) { + // clear alert message on route change + router.events.subscribe((event) => { + if (event instanceof NavigationStart) { + if (this.keepAfterNavigationChange) { + // only keep for a single location change + this.keepAfterNavigationChange = false; + } else { + // clear alert + this.subject.next(); + } + } + }); + } + + success(message: string, keepAfterNavigationChange = false) { + this.keepAfterNavigationChange = keepAfterNavigationChange; + this.subject.next({ type: "success", text: message }); + } + + error(message: string, keepAfterNavigationChange = false) { + this.keepAfterNavigationChange = keepAfterNavigationChange; + this.subject.next({ type: "error", text: message }); + } + + getMessage(): Observable { + return this.subject.asObservable(); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/addemails.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/addemails.service.ts new file mode 100644 index 0000000..e98291a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/addemails.service.ts @@ -0,0 +1,26 @@ +import { Injectable } from '@angular/core'; +//import { id } from '@swimlane/ngx-datatable/release/utils'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from './api-request.service'; + +@Injectable({ + providedIn: 'root' +}) +export class AddemailsService { + + + private addemailUrl = 'token/addemails'; + + + + constructor( + private apirequest: ApiRequestService + + ) { } + + saveUser(data, id: number): Observable { + return this.apirequest.post(this.addemailUrl + "/" + id, data); + + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/api-request.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/api-request.service.ts new file mode 100644 index 0000000..3c24cd5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/api-request.service.ts @@ -0,0 +1,172 @@ +import { Injectable } from "@angular/core"; +import { + HttpClient, + HttpHeaders, + HttpParams, + HttpErrorResponse, +} from "@angular/common/http"; +import { Router } from "@angular/router"; +import { Observable, throwError } from "rxjs"; +import { UserInfoService } from "../user-info.service"; +import { AppConfig } from "../../app-config"; +import { catchError } from "rxjs/operators"; + +@Injectable() +export class ApiRequestService { + constructor( + private appConfig: AppConfig, + private http: HttpClient, + private router: Router, + private userInfoService: UserInfoService + ) {} + + /** + * This is a Global place to add all the request headers for every REST calls + */ + /*{let headers = new HttpHeaders({ + 'Accept': 'application/json', + 'Content-Type': 'application/json', + 'Access-Control-Allow-Origin': '*', + 'Access-Control-Allow-Methods': 'POST, GET, DELETE, OPTIONS, PUT', + 'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept, Accept-Encoding, Accept-Language, Host, Referer, Connection, User-Agent, authorization, sw-useragent, sw-version' + });*/ + getHeaders(): HttpHeaders { + let headers = new HttpHeaders(); + //let token = this.userInfoService.getStoredToken(); + //console.log('Token from session storage: ', token); + headers = headers.append("Content-Type", "application/json"); + /* if (token !== null) { + headers = headers.append("Authorization", token); + } */ + return headers; + } + + getMultipartHeader(): HttpHeaders { + let headers = new HttpHeaders(); + headers = headers.append("Content-Type", "multipart/form-data"); + return headers; + + } + + errMsg: string = ''; + + handleError(error: HttpErrorResponse) { + let me = this; + console.log("handleError ", error.message); + switch(error.status) { + case 401: + this.errMsg = 'Forbidden'; + break; + case 404: + this.errMsg = 'Service not found'; + case 408: + this.errMsg = 'Request Timedout'; + case 500: + this.errMsg = 'Internal Server Error'; + default: + this.errMsg = 'Server Error'; + } + return throwError(error.message); + //return Observable.throw(error.message); + } + + get(url: string, urlParams?: HttpParams): Observable { + let me = this; + return this.http + .get(this.appConfig.baseApiPath + url, { + headers: this.getHeaders(), + params: urlParams, + }).pipe( + catchError((error) => { + return throwError(error || "Server error"); + }) + ) + } + + loginAuthentication(url: string, body: Object): Observable { + let me = this; + return this.http + .post(this.appConfig.baseApiPath + url, JSON.stringify(body), { + headers: this.getHeaders() + }).pipe( + catchError((error) => { + return throwError(error || "Server error"); + }) + ) + } + + // modified params + post(url: string, body: any, urlParams?: HttpParams): Observable { + let me = this; + let bodyTest = body instanceof Object ? JSON.stringify(body) : body; + //console.log('Post method String Vs. Object', bodyTest); + return this.http + .post(this.appConfig.baseApiPath + url, JSON.stringify(body), { + headers: this.getHeaders(), + params: urlParams, + }).pipe( + catchError((error) => { + return throwError(error || "Server error"); + }) + ) + } + + // [Multipart file Support] + postFormData(url: string, body: any, urlParams?: HttpParams): Observable { + //let me = this; + //headers: this.getMultipartHeader(), + return this.http + .post(this.appConfig.baseApiPath + url, body, { + params: urlParams, + reportProgress: true, + observe: 'events' + }).pipe( + catchError((error) => { + return throwError(error || "Server error"); + }) + ) + } + + // modified params + put(url: string, body: Object, urlParams?: HttpParams): Observable { + let me = this; + return this.http + .put(this.appConfig.baseApiPath + url, JSON.stringify(body), { + headers: this.getHeaders(), + params: urlParams, + }).pipe( + catchError((error) => { + return throwError(error || "Server error"); + }) + ) + } + + delete(url: string): Observable { + let me = this; + return this.http + .delete(this.appConfig.baseApiPath + url, { headers: this.getHeaders() }) + .pipe( + catchError((error) => { + return throwError(error || "Server error"); + }) + ) + } + + downloadFile(url: string, data: any[]): Observable { + return this.http.post(url, data, { responseType: 'blob' }).pipe( + catchError((error) => { + return throwError(error || 'Server error'); + }) + ); + } + + // For File Download + getFile(url: string, options: any): Observable { + return this.http.post(this.appConfig.baseApiPath + url, { ...options, responseType: 'blob' }).pipe( + catchError((error) => { + return throwError(error || 'Server error'); + }) + ); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/audittrail.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/audittrail.service.ts new file mode 100644 index 0000000..c08d8ad --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/audittrail.service.ts @@ -0,0 +1,30 @@ +import { Injectable } from '@angular/core'; +import baseUrl from './helper'; +import { HttpClient } from '@angular/common/http'; +import { ApiRequestService } from './api-request.service'; +@Injectable({ + providedIn: 'root' +}) +export class AudittrailService { +apiurl="master/AuditItemReport"; +apiurl1="master/AuditItemReportCustom" + constructor(private _http: HttpClient, + private apiRequest: ApiRequestService,) { } + public getAll() { + return this._http.get(`${baseUrl}/master/AuditItemReport`); + + } + public gettable(tname:any){ + const formData:FormData = new FormData(); + formData.set("table",tname); + return this.apiRequest.postFormData(this.apiurl,formData); + } + public getdate(d1:any,d2:any,tname:any){ + const formData:FormData = new FormData(); + formData.set("id",null); + formData.set("d1",d1); + formData.set("d2",d2); + formData.set("table",tname); + return this.apiRequest.postFormData(this.apiurl1,formData); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/billingdemo.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/billingdemo.service.ts new file mode 100644 index 0000000..9a69cf8 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/billingdemo.service.ts @@ -0,0 +1,17 @@ +import { Injectable } from '@angular/core'; +import baseUrl from './helper'; +import { HttpClient } from '@angular/common/http'; +@Injectable({ + providedIn: 'root' +}) +export class BillingdemoService { + + constructor(private _http: HttpClient) { } + + public getAll() { + return this._http.get(`${baseUrl}/ncso_b/get-all`); + } + public getbyid(Id: any){ + return this._http.get(`${baseUrl}/ncso_b/get-one/${Id}`); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/department.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/department.service.ts new file mode 100644 index 0000000..9b891ac --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/department.service.ts @@ -0,0 +1,48 @@ +import { Injectable } from '@angular/core'; +import { Department } from '../../models/fnd/department'; +import { JwtHelperService } from '@auth0/angular-jwt'; +import { HttpClient, HttpParams,HttpResponse } from '@angular/common/http'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from './api-request.service'; +import { UserInfoService } from '../user-info.service'; +@Injectable({ + providedIn: 'root' +}) +export class DepartmentService { + jwtHelper: JwtHelperService = new JwtHelperService(); + + private baseURL = "api/getdepartment"; + constructor(private http: HttpClient, + private apiRequest: ApiRequestService, + private userInfoService: UserInfoService) { } + + getAll(page?: number, size?: number): Observable { + //Create Request URL params + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + //const _http = this.baseURL + '/all'; + //console.log(this.userInfoService.getUserInfo().userId); + let id = this.userInfoService.getUserInfo().userId; + return this.apiRequest.get(this.baseURL, params); + } + + update(id: number, department: Department): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, department); + } + getById(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.get(_http); + } + delete(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.delete(_http); + } + + create(depart:Department): Observable { + return this.apiRequest.post(this.baseURL, depart); + } + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/diputesemo.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/diputesemo.service.ts new file mode 100644 index 0000000..972128d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/diputesemo.service.ts @@ -0,0 +1,17 @@ +import { Injectable } from '@angular/core'; +import baseUrl from './helper'; +import { HttpClient } from '@angular/common/http'; +@Injectable({ + providedIn: 'root' +}) +export class DiputesemoService { + + constructor(private _http: HttpClient) { } + + public getAll() { + return this._http.get(`${baseUrl}/ncso_q/get-all`); + } + public getbyid(Id: any){ + return this._http.get(`${baseUrl}/ncso_q/get-one/${Id}`); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/forgotpass.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/forgotpass.service.ts new file mode 100644 index 0000000..8176718 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/forgotpass.service.ts @@ -0,0 +1,44 @@ +import { HttpClient, HttpParams } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import baseUrl from '../api/helper'; +@Injectable({ + providedIn: 'root' +}) +export class ForgotpassService { + private url = "api/forgot"; + public localStorage: Storage = localStorage; + constructor(private http: HttpClient,) { } + + checkMailExists(email: string) { + return this.http.post(this.url+ "check-email", {"email": email}); + } + storeEmail(userInfoString: string) { + this.localStorage.setItem("registeredEmail", userInfoString); + } + //Store userinfo from session storage + + //Get email from session storage ( WILL REMOVE AFTER REGISTER) + getStoredEmail(): string | null { + try { + let userInfoString: string = this.localStorage.getItem( + "registeredEmail" + ); + if (userInfoString) { + return userInfoString; + } else { + return null; + } + } catch (e) { + return null; + } + } + sendemail(email:string){ + const params = new HttpParams() + .set('email',email) + console.log(email); + return this.http.post(`${baseUrl}/api/resources/forgotpassword`,params) + } + resetpass(data:any,id:any){ + return this.http.post(`${baseUrl}/api/resources/savePassword/${id}`,data); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/helper.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/helper.ts new file mode 100644 index 0000000..7f1e8f1 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/helper.ts @@ -0,0 +1,5 @@ +import{environment} from 'src/environments/environment'; + +let baseUrl = environment.backendUrl; +//let baseUrl= `http://cns-portal-backend:30166`; +export default baseUrl; diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/itemdemo.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/itemdemo.service.ts new file mode 100644 index 0000000..7cf0b14 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/itemdemo.service.ts @@ -0,0 +1,16 @@ +import { Injectable } from '@angular/core'; +import baseUrl from './helper'; +import { HttpClient } from '@angular/common/http'; +@Injectable({ + providedIn: 'root' +}) +export class ItemdemoService { + + constructor(private _http: HttpClient) { } + public getAll() { + return this._http.get(`${baseUrl}/ncso_i/get-all`); + } + public getbyid(Id: any){ + return this._http.get(`${baseUrl}/ncso_i/get-one/${Id}`); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/login.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/login.service.ts new file mode 100644 index 0000000..4b7bc44 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/login.service.ts @@ -0,0 +1,113 @@ +import { Injectable } from '@angular/core'; +import { Router } from '@angular/router'; + +import { Observable, BehaviorSubject } from 'rxjs'; +import { UserInfoService, LoginInfoInStorage} from '../user-info.service'; +import { ApiRequestService } from './api-request.service'; +import { HttpClient } from '@angular/common/http'; +import { ToastrService } from 'ngx-toastr'; + +export interface LoginRequestParam{ + //username:string; + email:string; + password:string; +} + +@Injectable() +export class LoginService { + private storage: Storage = sessionStorage; + public landingPage:string = "/cns-portal/dashboard"; + constructor( + private router:Router, + private userInfoService: UserInfoService, + private apiRequest: ApiRequestService, + private httpRequest: HttpClient, + private toastr: ToastrService, + ) {} + + + + getToken(email:string, password:string): Observable { + let bodyData: LoginRequestParam = { + //"username": username, + "email": email, + "password": password, + } + /* + Using BehaviorSubject instead of Subject + In Angular services are initialized before the components, if any component is + subscribing, it will only receive events which are executed after subscription. + therefore if you put a syncronize next() in the service, the component wont get it. + + A BehaviourSubject will always provide the values wheather the subscription happened after or before event + + */ + + let loginDataSubject:BehaviorSubject = new BehaviorSubject([]); // Will use this BehaviorSubject to emit data that we want after ajax login attempt + let loginInfoReturn:LoginInfoInStorage; // Object that we want to send back to Login Page + + this.apiRequest.loginAuthentication('token/session', bodyData) + .subscribe(jsonResp => { + console.log('login response: ', jsonResp); + if (jsonResp.operationMessage=='Login Failed') { + this.toastr.warning('Not Login Getting Error check your Username and password'); + } + if (jsonResp !== undefined && jsonResp !== null && jsonResp.operationStatus === "SUCCESS"){ + //Create a success object that we want to send back to login page + ////"displayName": jsonResp.item.fullname, + //"username" : jsonResp.item.username, + loginInfoReturn = { + "success" : true, + "message" : jsonResp.operationMessage, + "landingPage": this.landingPage, + "user" : { + "userId" : jsonResp.item.userId, + "email" : jsonResp.item.email, + "displayName": jsonResp.item.firstName, + "username" : jsonResp.item.username, + "roles" : jsonResp.item.roles, + "token" : jsonResp.item.token, + + }, + }; + console.log(loginInfoReturn.user); + if(jsonResp !== undefined && jsonResp !== null && jsonResp.operationStatus === "SUCCESS"){ + this.toastr.success(`Welcome To home Page!! your Role is ${jsonResp.item.roles}`); + } + // store username and jwt token in session storage to keep user logged in between page refreshes + this.userInfoService.storeUserInfo(JSON.stringify(loginInfoReturn.user)); + } + else { + //Create a faliure object that we want to send back to login page + loginInfoReturn = { + "success":false, + "message":jsonResp.msgDesc, + "landingPage":"/login" + }; + } + loginDataSubject.next(loginInfoReturn); + }, + err => { + console.log('login error ', err); + loginInfoReturn = { + "success": false, + "message": err.url + " >>> " + err.statusText + "[" + err.status +"]", + "landingPage": "/login" + }; + if (err) { + this.toastr.error('Getting Server Error'); + } + }); + + return loginDataSubject; + } + + logout(navigatetoLogout=true): void { + // clear token remove user from local storage to log user out + this.userInfoService.removeUserInfo(); + if(navigatetoLogout){ + this.router.navigate(["logout"]); + } + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/query-runner.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/query-runner.service.ts new file mode 100644 index 0000000..bcfe7dd --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/query-runner.service.ts @@ -0,0 +1,20 @@ +import { Injectable } from '@angular/core'; +import { HttpParams } from '@angular/common/http'; +import { ApiRequestService } from './api-request.service'; +import { Observable } from 'rxjs'; +@Injectable({ + providedIn: 'root' +}) +export class QueryRunnerService { + private baseURL = "api/report-data"; + constructor(private apiRequest: ApiRequestService) { } + getById(report_id:number, page?: number, size?: number): Observable { + //Create Request URL params + let params: HttpParams = new HttpParams(); + params = params.append("report_id", report_id.toString()); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + //const _http = this.baseURL + '/all'; + return this.apiRequest.get(this.baseURL, params); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/realnet-menu.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/realnet-menu.service.ts new file mode 100644 index 0000000..4ece66b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/realnet-menu.service.ts @@ -0,0 +1,43 @@ +import { HttpParams } from "@angular/common/http"; +import { Injectable } from "@angular/core"; +import { Rn_Main_Menu } from "../../models/builder/Rn_Main_Menu"; +import { Observable } from "rxjs"; +import { UserInfoService } from "../user-info.service"; +import { ApiRequestService } from "./api-request.service"; + +@Injectable() +export class RealnetMenuService { + private baseURL = "api/realnet-menu"; + constructor( + private apiRequest: ApiRequestService, + private userInfoService: UserInfoService + ) {} + + getAll(page?: number, size?: number): Observable { + //Create Request URL params + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + //const _http = this.baseURL + '/all'; + return this.apiRequest.get(this.baseURL, params); + } + + getById(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.get(_http); + } + + getByAccountId(): Observable { + const _http = this.baseURL + "/user-menu"; + return this.apiRequest.get(_http); + } + + create(rn_Main_Menu: Rn_Main_Menu): Observable { + return this.apiRequest.post(this.baseURL, rn_Main_Menu); + } + + update(id: number, rn_Main_Menu: Rn_Main_Menu): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, rn_Main_Menu); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/report-builder.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/report-builder.service.ts new file mode 100644 index 0000000..22a0a1f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/report-builder.service.ts @@ -0,0 +1,287 @@ +import { Injectable } from '@angular/core'; +import { HttpClient, HttpParams } from '@angular/common/http'; +import { ApiRequestService } from './api-request.service'; +import { Observable } from 'rxjs'; +import { ReportBuilder } from '../../models/builder/ReportBuilder'; +import { ReportBuilderQuery } from '../../models/builder/ReportBuilderQuery'; +import { TableList } from '../../models/fnd/TableList'; +import { RptBuilder } from 'src/app/models/builder/rptBuilder'; +import baseUrl from '../api/helper'; +import { saveAs } from 'file-saver'; + +@Injectable({ + providedIn: 'root' +}) +export class ReportBuilderService { + private reportBaseURL ='api/report-builder-by-id'; + private reportBaseURLSubmit ='api/report-builder'; + private masterQueryUrl ='api/add-master-query'; + private storage: Storage = sessionStorage; + private moduleIdKey: string = "moduleId"; + private baseURLMasterQuery="api/master-query"; + private baseURL="api/edit-report"; + private reportbuild2url="api/add-report"; + private servicereportsave="api/report-builder_service"; + private updatereportservice="api/updatereport"; + + private databaselisturl='Table_list' + private colurl='fndMenu/loadcolumn'; + private saveurl='FndQuery/query'; + constructor(private apiRequest: ApiRequestService, private _http:HttpClient) { } + getById(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.get(_http); + } + + buildReport(id: number) { + let params: HttpParams = new HttpParams(); + params = params.append("id", id.toString()); + return this.apiRequest.get("api/build_report", params); + } + + getModuleId(): number { + let modId = +this.storage.getItem(this.moduleIdKey); + return modId; + } + + getAll(moduleId: number, page?: number, size?: number): Observable { + // create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + params = params.append("moduleId", moduleId.toString()); + // get all + return this.apiRequest.get(this.reportBaseURL, params); + } + + //save report + create(fbHeader: ReportBuilder, moduleId: number): Observable { + //`${this.baseURL}` + let params: HttpParams = new HttpParams(); + params = params.append("moduleId", moduleId.toString()); + // params = params.append("formType", formType); + return this.apiRequest.post(this.reportBaseURLSubmit, fbHeader, params); + } + + //save report service + createservicereport(fbHeader: ReportBuilder, moduleId: number): Observable { + //`${this.baseURL}` + let params: HttpParams = new HttpParams(); + params = params.append("moduleId", moduleId.toString()); + // params = params.append("formType", formType); + return this.apiRequest.post(this.servicereportsave, fbHeader, params); + } + + //save report + createQuery(reportId: number): Observable { + //`${this.baseURL}` + let params: HttpParams = new HttpParams(); + params = params.append("reportId", reportId.toString()); + // params = params.append("formType", formType); + return this.apiRequest.post(this.masterQueryUrl,params); + } + + // update(reportId: number, functionRegister: ReportBuilder): Observable { + // let params: HttpParams = new HttpParams(); + // params = params.append("reportId", reportId.toString()); + // return this.apiRequest.put(this.masterQueryUrl/reportId, functionRegister); + // } + + update(id: number, functionRegister: ReportBuilder): Observable { + const _http = this.masterQueryUrl + "/" + id; + return this.apiRequest.put(_http, functionRegister); + } + + updateservicereport(id: number, functionRegister: ReportBuilder): Observable { + const _http = this.updatereportservice + "/" + id; + return this.apiRequest.put(_http, functionRegister); + } + + getMasterQuery(id: number): Observable { + const _http = this.baseURLMasterQuery + "/" + id; + return this.apiRequest.get(_http); + } + + getMasterData(query:string): Observable { + //Create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append('sql_query', query); + return this.apiRequest.get('api/master-query-data',params); +} + + + report2(servicename):Observable +{ + console.log("in service",servicename); + + // let params: HttpParams = new HttpParams(); + // params = params.append('service_name', servicename); + + // console.log(this.reportbuild2url,params); + + return this.apiRequest.post(this.reportbuild2url,servicename); +} + + +//savequery +saveq(data:any):Observable{ + return this.apiRequest.post(this.saveurl,data); +} +//getall +getall(){ + return this.apiRequest.get(this.saveurl); +} + +/////// +getreportdata(apiname):Observable +{ + var url="api"+"/"+apiname; + console.log(url) + + return this.apiRequest.get(url); + +} +getdatabse(): Observable{ + return this.apiRequest.get(`SqlworkbenchSqlcont/sql`); + //return this.apiRequest.get(this.databaselisturl); +} +getTableListn(val:any): Observable { + return this.apiRequest.get(`Table_list/${val}`); +} +getcolListn(val:any,val1:any): Observable { + return this.apiRequest.get(`Table_list/${val}/${val1}`); +} + +//column list for multiple tables +getColumnList(tableSchema: any, tables: any): Observable { + // return this._http.get( `http://localhost:9191/AllTable_list/${tableSchema}`,tables); + const params = new HttpParams().set('str', tables.join(',')); + return this._http.get(`${baseUrl}/AllTable_list/${tableSchema}`, { params: params }); +} + +//working column list for multiple tables with alias +getAllColumnsFromAllTables(tableNames: any): Observable { + const url = `${baseUrl}/Alias_Table_list/${tableNames}`; + return this._http.get(url); +} + +getcollist(table:any){ + const _http = this.colurl+ "/" + table; + return this.apiRequest.get(_http); + //return this.apiRequest.get(`this.colurl/${table}`); +} +createdb(data:any){ + return this.apiRequest.post(`SqlworkbenchSqlcont/sql`,data); +} + +updateSqlModel(id: number, sqlModel: any): Observable { + return this.apiRequest.put(`SqlworkbenchSqlcont/sql/${id}`, sqlModel); +} + +getSqlModelById(id: number): Observable { + return this.apiRequest.get(`SqlworkbenchSqlcont/sql/${id}`); +} + +deleteSqlModel(id: number): Observable { + return this.apiRequest.delete(`SqlworkbenchSqlcont/sql/${id}`); +} + +getallentity(){ + return this.apiRequest.get(this.reportBaseURLSubmit); +} + + +////////// rpt builders ////////////// + +saveData(data: RptBuilder): Observable { + return this.apiRequest.post(`Rpt_builder/Rpt_builder`, data); +} + +getDetails(): Observable { + return this.apiRequest.get(`Rpt_builder/Rpt_builder`); +} + +getDetailsById(id: number): Observable { + return this.apiRequest.get(`Rpt_builder/Rpt_builder/${id}`); +} + +deleteById(id: number): Observable { + return this.apiRequest.delete(`Rpt_builder/Rpt_builder/${id}`); +} + +updateData(data: any, id: number): Observable { + return this.apiRequest.put(`Rpt_builder/Rpt_builder/${id}`, data); +} + + +////////// rpt builders 2////////////// + +saverbData(data: any): Observable { + return this.apiRequest.post(`Rpt_builder2/Rpt_builder2`, data); +} + +getrbDetails(): Observable { + return this.apiRequest.get(`Rpt_builder2/Rpt_builder2`); +} + +getrbDetailsById(id: number): Observable { + return this.apiRequest.get(`Rpt_builder2/Rpt_builder2/${id}`); +} + +deletrbById(id: number): Observable { + return this.apiRequest.delete(`Rpt_builder2/Rpt_builder2/${id}`); +} + +updaterbData(data: any, id: number): Observable { + return this.apiRequest.put(`Rpt_builder2/Rpt_builder2/${id}`, data); +} + +updaterbLineData(data: any, id: number): Observable { + return this.apiRequest.put(`Rpt_builder2_lines/update/${id}`, data); +} + +getrbLineDetailsById(id: number): Observable { + return this.apiRequest.get(`Rpt_builder2_lines/Rpt_builder2_lines/${id}`); +} + +/// rpt builders 2 html +getStdParamById(id: number): Observable { + return this.apiRequest.get(`Rpt_builder2/html/build_report2/${id}`); +} +//get key from URL +getcolumnDetailsByurl(url: string): Observable { + const apiUrl = `Rpt_builder2_lines/geturlkeybyurl?url=${url}`; + return this.apiRequest.get(apiUrl); +} + +getAllDetailsByurl(url: string): Observable { + const apiUrl = `Rpt_builder2_lines/fetch_data_url?url=${url}`; + return this.apiRequest.get(apiUrl); +} + + + + + +///////////////////////////////////////////// DOWNLOADS +// downloadFile(format:any,data: any): Observable { +// return this.apiRequest.post(`rbbuilder/fileconverter/downloadFile/${format}`, data); +// } + +downloadFile(format: string, dataList: any[],name?:String): void { + const url = `${baseUrl}/rbbuilder/fileconverter/downloadFile/${format}`; + this.apiRequest.downloadFile(url, dataList).subscribe( + (response: Blob) => { + saveAs(response, `${name}.${format}`); + }, + (error) => { + console.error('Error downloading file:', error); + } + ); +} + + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/sequence.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/sequence.service.ts new file mode 100644 index 0000000..687521e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/sequence.service.ts @@ -0,0 +1,30 @@ +import { Injectable } from '@angular/core'; +import { ApiRequestService } from './api-request.service'; + +@Injectable({ + providedIn: 'root' +}) +export class SequenceService { + + constructor(private apiRequest: ApiRequestService,) { } + public getAll() { + return this.apiRequest.get(`sureserve/sequence/seq`); + } + public getbyid(Id: any){ + return this.apiRequest.get(`sureserve/sequence/seq/${Id}`); + } + + public create(data: any){ + return this.apiRequest.post(`sureserve/sequence/create`, data); + } +// update +public update(id:any,data: any){ + return this.apiRequest.put(`sureserve/sequence/seq/${id}`, data); +} + + +public delete(id:any){ +return this.apiRequest.delete(`sureserve/sequence/seq/${id}`); +} + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/table-setup.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/table-setup.service.ts new file mode 100644 index 0000000..7e6af52 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/table-setup.service.ts @@ -0,0 +1,29 @@ +import { Injectable } from '@angular/core'; +import { RbTables } from '../../models/builder/RbTables'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from './api-request.service'; +import { HttpParams } from '@angular/common/http'; +import { TableList } from '../../models/fnd/TableList'; + +@Injectable({ + providedIn: 'root' +}) +export class TableSetupService { + private baseURL = 'api/add-tables'; + private baseURL2 = 'api/add-alltables'; + private tableListUrl ='api/table-list'; + private tablelisturl='api/Table_list' + constructor(private apiRequest: ApiRequestService) { } + create(rb_tables: RbTables,reportId: number) :Observable { + let params: HttpParams = new HttpParams(); + params = params.append("reportId", reportId.toString()); + return this.apiRequest.post(this.baseURL2, rb_tables,params); +} + +getTableList(): Observable { + return this.apiRequest.get(this.tableListUrl); +} +getTableListn(): Observable { + return this.apiRequest.get(this.tablelisturl); +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/translate.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/translate.service.ts new file mode 100644 index 0000000..0dbbf91 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/api/translate.service.ts @@ -0,0 +1,19 @@ +import { Injectable, Inject } from '@angular/core'; +import { AppConfig } from '../../app-config'; + +@Injectable() +export class TranslateService { + constructor(private appConfig:AppConfig) { + // Code to get Locale Info from Session Storage + } + + getDateString(datenum:number):string{ + return new Date(datenum).toLocaleDateString(this.appConfig.locale); + } + + getCurrencyString(number:number):string { + return number.toLocaleString(this.appConfig.locale, this.appConfig.currencyFormat); + } + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/auth_guard.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/auth_guard.service.ts new file mode 100644 index 0000000..0711613 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/auth_guard.service.ts @@ -0,0 +1,40 @@ +import { Injectable } from '@angular/core'; +import { UserInfoService } from './user-info.service'; +import { LoginService } from './api/login.service'; +import { Router, CanActivate, CanActivateChild,ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; + +@Injectable() +export class AuthGuard implements CanActivate, CanActivateChild { + + constructor( + private router: Router, + private loginService: LoginService, + private userInfoService: UserInfoService + ) { } + + canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean { + //console.log('canActivate : ', state); + + let url: string = state.url; + + return this.checkLogin(url); + //return true; + } + + canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean { + return this.canActivate(route, state); + } + + checkLogin(url: string): boolean { + if (this.userInfoService.isLoggedIn()) { + return true; + } + console.log("User is not logged - This routing guard prvents redirection to any routes that needs logging."); + //Store the original url in login service and then redirect to login page + this.loginService.landingPage = url; + this.router.navigate(['login',]); + return false; + } + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/additionalcontainer.service.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/additionalcontainer.service.spec.ts new file mode 100644 index 0000000..439f06b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/additionalcontainer.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { AdditionalcontainerService } from './additionalcontainer.service'; + +describe('AdditionalcontainerService', () => { + let service: AdditionalcontainerService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(AdditionalcontainerService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/additionalcontainer.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/additionalcontainer.service.ts new file mode 100644 index 0000000..439addb --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/additionalcontainer.service.ts @@ -0,0 +1,75 @@ +import { Injectable } from '@angular/core'; +import { HttpClient, HttpParams } from '@angular/common/http'; +import { environment } from 'src/environments/environment'; +import { ApiRequestService } from '../api/api-request.service'; +import { Observable } from 'rxjs'; + +@Injectable({ + providedIn: 'root' +}) +export class AdditionalcontainerService { + baseurl = environment.sureops; + private baseURL = "Gaurav_testing/Gaurav_testing" ; + constructor(private apiRequest: ApiRequestService, + private _http: HttpClient,) { } + + + saveData(data: any): Observable { + const url = `${this.baseurl}/sureops/Additional_container/Additional_container`; + return this._http.post(url, data); + } + + getDetails(): Observable { + const url = `${this.baseurl}/sureops/Additional_container/Additional_container`; + return this._http.get(url); + } + + getDetailsById(id: number): Observable { + const url = `${this.baseurl}/sureops/Additional_container/Additional_container/${id}`; + return this._http.get(url); + } + + deleteById(id: number): Observable { + const url = `${this.baseurl}/sureops/Additional_container/Additional_container/${id}`; + return this._http.delete(url); + } + + update(data: any, id: number): Observable { + const url = `${this.baseurl}/sureops/Additional_container/Additional_container/${id}`; + return this._http.put(url, data); + } + + ///copy ADDITIONAL CONTAINER TO CREATE DEPLOYMENT + public copyToCreateDeployment(projId: number, profileId: number, service: string): Observable { + const url = `${this.baseurl}/sureops/Additional_container/copt_to_deployment/${projId}/${profileId}/${service}`; + return this._http.get(url); + } +// get all by project id and profile id + getAllContainers(projId: number, profileId: number): Observable { + const url = `${this.baseurl}/sureops/Additional_container/copt_to_deployment/${projId}/${profileId}`; + return this._http.get(url); + } + + + +///////////////////////////////////// + +getAll(page?: number, size?: number): Observable { + return this.apiRequest.get(this.baseURL); +} +getById(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.get(_http); +} +create(data: any): Observable { + return this.apiRequest.post(this.baseURL, data); +} +updategaurav(id: number, data: any): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, data); +} +delete(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.delete(_http); +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/dashboard.service.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/dashboard.service.spec.ts new file mode 100644 index 0000000..79e72a6 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/dashboard.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { DashboardService } from './dashboard.service'; + +describe('DashboardService', () => { + let service: DashboardService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(DashboardService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/dashboard.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/dashboard.service.ts new file mode 100644 index 0000000..71fef84 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/dashboard.service.ts @@ -0,0 +1,116 @@ +import { HttpClient, HttpParams } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { BehaviorSubject, Observable } from 'rxjs'; +import { ApiRequestService } from '../api/api-request.service'; + +@Injectable({ + providedIn: 'root' +}) +export class DashboardService { + + private getAllURL = 'get_module_id'; + private addDataURl = 'Savedata'; + private deleteFieldURL = 'delete_by_header_id'; + private getbyidURL = 'get_dashboard_headerbyid'; + private editURL = 'update_Dashbord1_Line'; + private updateURL = 'update_Dashbord1_Lineby_id'; + constructor(private _http: HttpClient, + private apiRequest: ApiRequestService,) + { + + } + + getAllDash(): Observable { + // create Request URL params + return this.apiRequest.get(`get_Dashboard_header`); + } + + getAllByModuleId(module_id: number,page?: number, size?: number): Observable { + // create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + params = params.append("module_id", module_id.toString()); + // get all + return this.apiRequest.get(this.getAllURL, params); + } + + create(data:any): Observable { + return this.apiRequest.post(this.addDataURl, data); + } + + deleteField(id:number){ + let _http = this.deleteFieldURL + "/" + id; + return this.apiRequest.delete(_http); + } + + getById(id:number) + { + let _http = this.getbyidURL + "/" + id; + return this.apiRequest.get(_http); + } + + addToDB(line:any):Observable + { + return this.apiRequest.put(this.editURL,line); + } + UpdateLineData(id:number, line:any) + { + // line = { + // headers: new HttpHeaders({ + // 'Content-Type': 'application/json' + // }) + // }; + let _http = this.updateURL + "/" + id; + return this.apiRequest.put(_http,line); + } +getcount(moduleId: number):Observable{ + return this.apiRequest.get(`get_dashboard/${moduleId}`); +} + +updateDash(dashboardHeader: any): Observable { + return this.apiRequest.put('update_dashboard_header', dashboardHeader); +} + + + + +///////schedule +public saveData(data: any): Observable { + return this.apiRequest.post(`DashboardSchedule/DashboardSchedule`, data); +} + +public getDetails(): Observable { + return this.apiRequest.get(`DashboardSchedule/DashboardSchedule`); +} + +public getDetailsById(id: number): Observable { + return this.apiRequest.get(`DashboardSchedule/DashboardSchedule/${id}`); +} + +public deleteById(id: number): Observable { + return this.apiRequest.delete(`DashboardSchedule/DashboardSchedule/${id}`); +} + +public updateData(data: any, id: number): Observable { + return this.apiRequest.put(`DashboardSchedule/DashboardSchedule/${id}`, data); +} + +private toggleSubject = new BehaviorSubject(false); + +// Observable to subscribe to toggle changes +toggle$ = this.toggleSubject.asObservable(); + +// Function to update the toggle value +updateToggle(value: boolean) { + this.toggleSubject.next(value); +} + +private originalData: any[] = []; // Your original data goes here +private filteredDataSubject = new BehaviorSubject([]); +filteredData$: Observable = this.filteredDataSubject.asObservable(); + + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/dashboard3.service.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/dashboard3.service.spec.ts new file mode 100644 index 0000000..12b63dd --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/dashboard3.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { Dashboard3Service } from './dashboard3.service'; + +describe('Dashboard3Service', () => { + let service: Dashboard3Service; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(Dashboard3Service); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/dashboard3.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/dashboard3.service.ts new file mode 100644 index 0000000..bcfedcf --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/dashboard3.service.ts @@ -0,0 +1,308 @@ +import { Injectable } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams } from "@angular/common/http"; +import { Observable } from 'rxjs'; +import { ApiRequestService } from "src/app/services/api/api-request.service"; +import baseUrl from '../api/helper'; +import { BehaviorSubject } from 'rxjs'; +@Injectable({ + providedIn: 'root' +}) +export class Dashboard3Service { + getAdditionalChartData() { + throw new Error('Method not implemented.'); + } + private getAllURL = 'get_module_id'; + private addDataURl = 'Savedata'; + private deleteFieldURL = 'delete_by_header_id'; + private getbyidURL = 'get_dashboard_headerbyid'; + private editURL = 'update_Dashbord1_Line'; + private updateURL = 'update_Dashbord1_Lineby_id'; + constructor(private _http: HttpClient, + private apiRequest: ApiRequestService) { } + getAll(module_id: number,page?: number, size?: number): Observable { + // create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + params = params.append("module_id", module_id.toString()); + // get all + return this.apiRequest.get(this.getAllURL, params); + } + + create(data:any): Observable { + return this.apiRequest.post(this.addDataURl, data); + } + + deleteField(id:number){ + let _http = this.deleteFieldURL + "/" + id; + return this.apiRequest.delete(_http); + } + + getById(id:number) + { + let _http = this.getbyidURL + "/" + id; + return this.apiRequest.get(_http); + } + + addToDB(line:any):Observable + { + return this.apiRequest.put(this.editURL,line); + } + UpdateLineData(id:number, line:any) + { + // line = { + // headers: new HttpHeaders({ + // 'Content-Type': 'application/json' + // }) + // }; + let _http = this.updateURL + "/" + id; + return this.apiRequest.put(_http,line); + } +getcount(moduleId: number):Observable{ + return this.apiRequest.get(`get_dashboard/${moduleId}`); +} + +updateDash(dashboardHeader: any): Observable { + return this.apiRequest.put('update_dashboard_header', dashboardHeader); +} +///////////////////////////////////////////////////////////////////// +resetConditions() { + this.ids = []; // Reset the ids array to an empty array + this.numberIds = []; + this.passwordIds = []; + this.textareaIds = []; + this.dateIds = []; + this.datetimeIds = []; + this.emailIds = []; + this.selectIds = []; + this.radioIds = []; + this.checkboxIds = []; + this.fileuloadIds = []; + this.urlIds = []; + this.decimalIds = []; + this.percentageIds = []; + this.buttonIds = []; +} + +//////////// Text +ids: any[] = []; +setCondition(condition: any) { + this.ids.push(condition); +} + +getConditions(): any[] { + return this.ids; +} + + +////////// Number +numberIds: any[] = []; +setnumber(id: any) { + this.numberIds.push(id); +} + +getnumber(): any[] { + return this.numberIds; +} +////////////// password +passwordIds: any[] = []; +setpassword(id: any) { + this.passwordIds.push(id); +} + +getpassword(): any[] { + return this.passwordIds; +} + +////////////// Textarea +textareaIds: any[] = []; +setTextarea(id: any) { + this.textareaIds.push(id); +} + +getTextarea(): any[] { + return this.textareaIds; +} + +////////////// Date +dateIds: any[] = []; +setDate(id: any) { + this.dateIds.push(id); +} + +getDate(): any[] { + return this.dateIds; +} + +////////////// Datetime +datetimeIds: any[] = []; +setDatetime(id: any) { + this.datetimeIds.push(id); +} + +getDatetime(): any[] { + return this.datetimeIds; +} + +////////////// Email +emailIds: any[] = []; +setEmail(id: any) { + this.emailIds.push(id); +} + +getEmail(): any[] { + return this.emailIds; +} + +////////////// Select +selectIds: any[] = []; +setSelect(id: any) { + this.selectIds.push(id); +} + +getSelect(): any[] { + return this.selectIds; +} + +////////////// Radio +radioIds: any[] = []; +setRadio(id: any) { + this.radioIds.push(id); +} + +getRadio(): any[] { + return this.radioIds; +} + +////////////// Checkbox +checkboxIds: any[] = []; +setCheckbox(id: any) { + this.checkboxIds.push(id); +} + +getCheckbox(): any[] { + return this.checkboxIds; +} + +////////////// fileupload +fileuloadIds: any[] = []; +setFileUpload(id: any) { + this.fileuloadIds.push(id); +} + +getFileupload(): any[] { + return this.fileuloadIds; +} + +////////////// Url +urlIds: any[] = []; +setUrl(id: any) { + this.urlIds.push(id); +} + +getUrl(): any[] { + return this.urlIds; +} +////////////// Decimal +decimalIds: any[] = []; +setDecimal(id: any) { + this.decimalIds.push(id); +} + +getDecimal(): any[] { + return this.decimalIds; +} +////////////// Percentage +percentageIds: any[] = []; +setPercentage(id: any) { + this.percentageIds.push(id); +} + +getPercentage(): any[] { + return this.percentageIds; +} +////////////// Button +buttonIds: any[] = []; +setButton(id: any) { + this.buttonIds.push(id); +} + +getButton(): any[] { + return this.buttonIds; +} + + + + + + + + + +getAllDash(): Observable { + // create Request URL params + return this.apiRequest.get(`get_Dashboard_header`); + } + +getAllByModuleId(module_id: number,page?: number, size?: number): Observable { + // create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + params = params.append("module_id", module_id.toString()); + // get all + return this.apiRequest.get(this.getAllURL, params); + } + +///////schedule +public saveData(data: any): Observable { + return this.apiRequest.post(`DashboardSchedule/DashboardSchedule`, data); +} + +public getDetails(): Observable { + return this.apiRequest.get(`DashboardSchedule/DashboardSchedule`); +} + +public getDetailsById(id: number): Observable { + return this.apiRequest.get(`DashboardSchedule/DashboardSchedule/${id}`); +} + +public deleteById(id: number): Observable { + return this.apiRequest.delete(`DashboardSchedule/DashboardSchedule/${id}`); +} + +public updateData(data: any, id: number): Observable { + return this.apiRequest.put(`DashboardSchedule/DashboardSchedule/${id}`, data); +} + +//////////////////////////////////////////////////////////////////////////// + + +public getDynamicDashDetails(): Observable { + return this.apiRequest.get(`Dashboard/Dashboard`); +} + +public getChartData(tableName: string, jobType: string, xAxis?:any,yAxes?:any ): Observable { + const url = `${baseUrl}/chart/getdashjson/${jobType}?tableName=${tableName}&xAxis=${xAxis}&yAxes=${yAxes}`; + return this._http.get(url); +} + +public getUrlChartData(tableName: string, jobType: string, xAxis:any,yAxes:any,store:any,chartUrl:any): Observable { + const url = `${baseUrl}/chart/getdashjson/${jobType}?tableName=${tableName}&url=${chartUrl}&xAxis=${xAxis}&yAxes=${yAxes}&datastore_name=${store}`; + return this._http.get(url); +} + +featchDynamicUrlDetails(url): Observable { + return this._http.get(`${url}`); +} + + +private filteredDataSubject = new BehaviorSubject([]); +filteredData$ = this.filteredDataSubject.asObservable(); + +updateFilteredData(filteredData: any[]) { + this.filteredDataSubject.next(filteredData); +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/icon.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/icon.service.ts new file mode 100644 index 0000000..f8dd1de --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/icon.service.ts @@ -0,0 +1,63 @@ +import { Injectable } from '@angular/core'; +import { Observable } from "rxjs"; +import { ApiRequestService } from "../api/api-request.service"; +@Injectable({ + providedIn: 'root' +}) +export class IconService { + private addURL = "api/addFavById"; + private removeURL= "api/removeFavById"; + private pinurl ="api/addPinById"; + private pinremove ="api/removePinById"; + private starurl ="api/addStarById"; + private starremove ="api/removeStarById"; + private watchurl ="api/addWatchlistById"; + private watchremove = "api/removeWatchlistById"; + private futureurl = "api/addFuturisticById"; + private futureremove = "api/removeFuturisticById"; + private archurl ="api/addArchiveById"; + constructor(private apiRequest: ApiRequestService,) { } + create(data:any): Observable { + return this.apiRequest.post(this.addURL, data); + } + + delete(id: number): Observable { + const _http = this.removeURL + "/" + id; + return this.apiRequest.delete(_http); + } + createpin(data:any): Observable { + return this.apiRequest.post(this.pinurl, data); + } + + deletepin(id: number): Observable { + const _http = this.pinremove + "/" + id; + return this.apiRequest.delete(_http); + } + createstar(data:any): Observable { + return this.apiRequest.post(this. starurl, data); + } + + deletestar(id: number): Observable { + const _http = this.starremove + "/" + id; + return this.apiRequest.delete(_http); + } + createwatch(data:any): Observable { + return this.apiRequest.post(this. watchurl, data); + } + + deletewatch(id: number): Observable { + const _http = this.watchremove + "/" + id; + return this.apiRequest.delete(_http); + } + createfuture(data:any): Observable { + return this.apiRequest.post(this.futureurl, data); + } + + deletefuture(id: number): Observable { + const _http = this.futureremove + "/" + id; + return this.apiRequest.delete(_http); + } + createarch(data:any): Observable { + return this.apiRequest.post(this.archurl, data); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/modulesetup.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/modulesetup.service.ts new file mode 100644 index 0000000..8ccf61c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/modulesetup.service.ts @@ -0,0 +1,172 @@ +import { Injectable } from '@angular/core'; +import { ModuleSetup } from "../../models/builder/Module_Setup"; +import { Observable } from "rxjs"; +import { ApiRequestService } from "../api/api-request.service"; +import { HttpParams } from "@angular/common/http"; +@Injectable({ + providedIn: 'root' +}) +export class ModulesetupService { + private baseURL = "api/module-setup"; + private copyModuleURL = 'api/module-copy'; + private allrepourl ='api/getAllMyRepos'; + constructor( private apiRequest: ApiRequestService) { } + getAll(page?: number, size?: number): Observable { // not in use + //Create Request URL params + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + //const _http = this.baseURL + '/all'; + return this.apiRequest.get(this.baseURL, params); + } + + getProjectModules(projectId:number, page?: number, size?: number): Observable { + //Create Request URL params + let params: HttpParams = new HttpParams(); + params = params.append("projectId", projectId.toString()); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + //const _http = this.baseURL + '/all'; + return this.apiRequest.get(this.baseURL, params); + } + + getById(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.get(_http); + } + + getByAccountId(): Observable { + const _http = this.baseURL + "/user-menu"; + return this.apiRequest.get(_http); + } + + create(moduleSetup: ModuleSetup): Observable { + let params: HttpParams = new HttpParams(); + // params = params.append("p_id", projectId.toString()); + return this.apiRequest.post(this.baseURL, moduleSetup); + } + + update(id: number, moduleSetup: ModuleSetup): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, moduleSetup); + } + delete(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.delete(_http); + } + + copy(moduleCopyForm: Object) :Observable { + return this.apiRequest.post(this.copyModuleURL, moduleCopyForm); + } + + getByallrepouserId(id: number): Observable { + const _http = this.allrepourl + "/" + id; + return this.apiRequest.get(_http); + } + + + + /////backend Configuration + + saveData(data: any): Observable { + return this.apiRequest.post(`BackendConfig/BackendConfig`, data); + } + + getDetails(): Observable { + return this.apiRequest.get(`BackendConfig/BackendConfig`); + } + + getDetailsById(id: number): Observable { + return this.apiRequest.get(`BackendConfig/BackendConfig/${id}`); + } + + deleteById(id: number): Observable { + return this.apiRequest.delete(`BackendConfig/BackendConfig/${id}`); + } + + updatebackend(data: any, id: number): Observable { + return this.apiRequest.put(`BackendConfig/BackendConfig/${id}`, data); + } + + getAllViaModule(module_id: number): Observable { + return this.apiRequest.get(`BackendConfig/moduleid/${module_id}`); + } + + getAllViaProject(project_id: number): Observable { + return this.apiRequest.get(`BackendConfig/by_project/${project_id}`); + } + + + /////Database Configuration + + saveDBData(data: any): Observable { + return this.apiRequest.post(`Dbconfig/Dbconfig`, data); + } + + getDBDetails(): Observable { + return this.apiRequest.get(`Dbconfig/Dbconfig`); + } + + getDBDetailsById(id: number): Observable { + return this.apiRequest.get(`Dbconfig/Dbconfig/${id}`); + } + + deleteDBById(id: number): Observable { + return this.apiRequest.delete(`Dbconfig/Dbconfig/${id}`); + } + + updateDB(data: any, id: number): Observable { + return this.apiRequest.put(`Dbconfig/Dbconfig/${id}`, data); + } + + getDBAllViaModule(moduleid: number): Observable { + return this.apiRequest.get(`Dbconfig/bymoduleid/${moduleid}`); + } + + getDBAllViaProject(project_id: number): Observable { + return this.apiRequest.get(`Dbconfig/by_proj_id/${project_id}`); + } + + + testConnection(databaseType: string, username: string, password: string, portnumber: string, dbhostname: string, database_name): Observable{ + const url = 'suredata/test/testconnection'; + let params: HttpParams = new HttpParams(); + params =params.append("database_type",databaseType); + params =params.append("username",username); + params =params.append("password",password); + params =params.append("portnumber",portnumber); + params =params.append("dbhostname",dbhostname); + params =params.append("database_name",database_name) + return this.apiRequest.get(url, params); + } + + + //////get all config + + getConfigById(moduleid: number): Observable { + return this.apiRequest.get(`fnd/project/getallconfig/${moduleid}`); + } + + //==============Module_library===============// + +// copyToLibrary(id: number): Observable { +// return this.apiRequest.get(`wflibrary/copylib/copy_library/${id}`); +// } + +copyFromLibrary(library_id: number, proj_id: number): Observable { + return this.apiRequest.get(`library/modulelibrary/copyfrommodulelibrarytomodule/${library_id}/${proj_id}`); +} + + +addToLibrary(id: number): Observable { + return this.apiRequest.get(`library/modulelibrary/copyfromrn_module/${id}`); +} + +getdetails(): Observable { + return this.apiRequest.get(`Wf_library/Wf_library`); +} + +getLibrarydetails(): Observable { + return this.apiRequest.get(`library/modulelibrary/getall_module_lib`); +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/project-setup.service.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/project-setup.service.spec.ts new file mode 100644 index 0000000..cfc90bb --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/project-setup.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { ProjectSetupService } from './project-setup.service'; + +describe('ProjectSetupService', () => { + let service: ProjectSetupService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(ProjectSetupService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/project-setup.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/project-setup.service.ts new file mode 100644 index 0000000..dc32c4b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/project-setup.service.ts @@ -0,0 +1,237 @@ + +import { Injectable } from '@angular/core'; +import { ProjectSetup } from "../../models/builder/Project_setup"; +import { forkJoin, Observable } from "rxjs"; +import { ApiRequestService } from "../api/api-request.service"; +import { HttpParams } from "@angular/common/http"; +import { HttpClient} from '@angular/common/http'; +import { map } from 'rxjs/operators'; +import baseUrl from 'src/app/services/api/helper'; +@Injectable({ + providedIn: 'root' +}) +export class ProjectSetupService { + private baseURL = "api/project-setup"; + //private copyProjectURL = 'api/project-list'; + private copyProjectURL = 'api/project-copy'; + private recenmodiurl = 'api/getAllRecentPrjs'; + private recentarchivedurl = 'api/getAllArchivedPrjs'; + private allfavurl='api/getAllFavPrjsdet'; + private getalluserid='api/GetAllByUserId'; + private addboardandprourl='api/addBoardClmnsOther'; + private getrepourl ='api/getmodulename'; + private copydeployurl='api/Git_copy'; + data: any; + obj:any; + private storage: Storage = sessionStorage; + constructor(private apiRequest: ApiRequestService, + private http: HttpClient) { this.getAll().subscribe(data => {}, error => console.log(error)); + localStorage.setItem('project',JSON.stringify(this.data)); + } + + getAll(page?: number, size?: number): Observable { + //Create Request URL params + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + //const _http = this.baseURL + '/all'; + return this.apiRequest.get(this.baseURL, params); + } + getallmyproject(): Observable{ + return this.apiRequest.get(`fnd/project/myproject`); + } +getalljson(){ + + return this.http.get('../assets/data/data.json').pipe + (map(data => { + this.data = data; + console.log(data); + }, err => { + if (err) { + return err.json(); + } + })); + return this.apiRequest.get(this.baseURL); +} + getById(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.get(_http); + } + + + create(projectSetup: ProjectSetup): Observable { + return this.apiRequest.post(this.baseURL, projectSetup); + } + + update(id: number, projectSetup: ProjectSetup): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.put(_http, projectSetup); + } + + copy(projectCopyForm: Object) :Observable { + return this.apiRequest.post(this.copyProjectURL, projectCopyForm); + } + delete(id: number): Observable { + const _http = this.baseURL + "/" + id; + return this.apiRequest.delete(_http); + } + +//recently modify + getallrecentmodify(id: number): Observable { + const _http = this.recenmodiurl + "/" + id; + return this.apiRequest.get(_http); + } + getallrecentarchived(id:number): Observable{ + const _http = this.recentarchivedurl + "/" + id; + return this.apiRequest.get(_http); + } + getallfav(id:number): Observable{ + const _http = this.allfavurl + "/" + id; + return this.apiRequest.get(_http); + } + getallsharedwithme(): Observable{ + return this.apiRequest.get(`workspace/secworkspaceuser/sharedwithme`); + } + getallbyuserid(id:number): Observable{ + const _http = this.getalluserid + "/" + id; + return this.apiRequest.get(_http); + } + public sample(data1,data2): Observable{ + let call1=this.apiRequest.post(this.baseURL, data1) + let call2=this.apiRequest.post(this.addboardandprourl,data2) + return forkJoin([call1, call2]); +} + +getprojectname(){ + return this.http.get(`${baseUrl}/api/getprojectname`); +} +getreponame(projectId:any,page?: number, size?: number){ + let params: HttpParams = new HttpParams(); + params = params.append("projectId", projectId.toString()); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + return this.apiRequest.get(this.getrepourl, params); + //return this.http.get(`${baseUrl}/api/getmodulename`,params); +} +getmilstonename(){ + return this.http.get(`${baseUrl}/milestonename`); +} +getiterationname(){ + return this.http.get(`${baseUrl}/iterationname`); +} +getgoalname(){ + return this.http.get(`${baseUrl}/goalname`); +} +getpmusername(){ + return this.http.get(`${baseUrl}/pmusername`); +} +getallteam(){ + return this.http.get(`${baseUrl}/Sec_team`); +} +getallreport(){ + return this.http.get(`${baseUrl}/Report_to`); +} +getallassign(){ + return this.http.get(`${baseUrl}/Assign`); +} +getallrequestor(){ + return this.http.get(`${baseUrl}/Requestor`); +} +getallowner(){ + return this.http.get(`${baseUrl}/Owner`); +} +getalltype(){ + return this.http.get(`${baseUrl}/DD_type`); +} + +public build(Id: any){ + return this.apiRequest.get(`entityBuilder/BuildByProject/${Id}`); +} +private pdata: string = "pdata"; +public storeaddeditvalues(pdata:any,) { + this.storage.setItem(this.pdata,JSON.stringify (pdata)); + //console.log(this.data); +} +getdata(): any { + //console.log(this.data); + var pdata = JSON.parse(this.storage.getItem(this.pdata)); + //let data = this.storage.getItem(this.data); + return pdata; +} +copydeployment(projectId:any,deployment:any,msg: any,newprojectname:any,repo_cond:any){ + let params: HttpParams = new HttpParams(); + params =params.append("copy_from",projectId); + params =params.append("Deployment_profile",deployment); + params =params.append("commit_msg",msg); + params =params.append("newproject_name",newprojectname), + params=params.append("repo_cond",repo_cond) + return this.http.post(`${baseUrl}/api/Git_copy`,params); + //return this.apiRequest.post(this.copydeployurl,params); + //return this.http.get(`${baseUrl}/api/getmodulename`,params); + +} +private gitiareponame: string = "data"; +public storeaddedgitiareponame(data:any,) { + this.storage.setItem(this.gitiareponame,JSON.stringify (data)); + //console.log(this.data); +} +getgitiareponame(): any { + //console.log(this.data); + var data = JSON.parse(this.storage.getItem(this.gitiareponame)); + //let data = this.storage.getItem(this.data); + return data; +} +public removereponame() { + this.storage.removeItem(this.gitiareponame); +} +private repoIdKey: any; +public storereposhaid(sha:any) { + this.storage.setItem(this.repoIdKey,sha.toString()); +} +public removereposhaid() { + this.storage.removeItem(this.repoIdKey); +} +getreposhaid(): number { + this.removereposhaid(); + let repoId = +this.storage.getItem(this.repoIdKey); + return repoId; +} + + + //==============project_library===============// + +// copyToLibrary(id: number): Observable { +// return this.apiRequest.get(`wflibrary/copylib/copy_library/${id}`); +// } + +copyFromLibrary(id: number): Observable { + return this.apiRequest.get(`projectlibrary/copyfromprojectlibrary/${id}`); +} + +getallprojectLibrary(): Observable { + return this.apiRequest.get(`projectlibrary/getall_projectlibrary`); +} + + +addToLibrary(id: number): Observable { + return this.apiRequest.get(`projectlibrary/copyfromrn_project/${id}`); +} + +getdetails(): Observable { + return this.apiRequest.get(`Wf_library/Wf_library`); +} + + + +/////////////////////////filters================================ +getAllSearchResults(keyword: string): Observable { + const url = `fnd/project/search/${keyword}`; + return this.apiRequest.get(url); +} + + +//////technology show +getProjectTechbyId(proj_id: number): Observable { + return this.apiRequest.get(`fnd/project2/techstacks/${proj_id}`); +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/technology-stack.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/technology-stack.service.ts new file mode 100644 index 0000000..347c139 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/technology-stack.service.ts @@ -0,0 +1,80 @@ + +import { Injectable } from '@angular/core'; +import { ActiveTechnology } from '../../models/builder/ActiveTechnology'; +import { Bcf_TechnologyStack } from '../../models/builder/Bcf_TechnologyStack'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from '../../services/api/api-request.service'; +import { HttpParams } from '@angular/common/http'; +@Injectable({ + providedIn: 'root' +}) +export class TechnologyStackService { + private technologyStackURL = 'api/technology-stack'; + private technologyStackURL1='api/technology_stack1'; + private technologyStackActivateURL ='api/tech-stack-active'; + private activatedTechnologyURL ='api/active-technology'; +private updateelementurl='api/update_tech_element' + constructor(private apiRequest: ApiRequestService) { } + getAll(page?: number, size?: number): Observable { + //Create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + // get all + // return this.apiRequest.get('api/instructors'); + // paginated data + return this.apiRequest.get(this.technologyStackURL, params); + + } + + getById(id: number): Observable { + const _http = this.technologyStackURL + "/" + id; + return this.apiRequest.get(_http); + } + + create(Bcf_TechnologyStack: Bcf_TechnologyStack): Observable { + //`${this.baseURL}` + return this.apiRequest.post(this.technologyStackURL, Bcf_TechnologyStack); + } + + // UPLOAD ZIP FILE DATA + saveFormAndUploadFile(formData: FormData) :Observable { + return this.apiRequest.postFormData(this.technologyStackURL, formData); + } +// without zip data save +saveFormAndUploadFile1(formData: FormData) :Observable { + return this.apiRequest.postFormData(this.technologyStackURL1, formData); +} +updateLineById(id:number,data:any){ + let _http = this.updateelementurl + "/"+id; + return this.apiRequest.put(_http,data); +} + update(id: number, Bcf_TechnologyStack: Bcf_TechnologyStack): Observable { + const _http = this.technologyStackURL + "/" + id; + return this.apiRequest.put(_http, Bcf_TechnologyStack); + } + + setActive(id: any):Observable { + let params: HttpParams = new HttpParams(); + params = params.append("id", id.toString()); + return this.apiRequest.get(this.technologyStackActivateURL, params); + } + + getActiveTechnology(): Observable { + return this.apiRequest.get(this.activatedTechnologyURL); + } + + delete(id: number): Observable { + const _http = this.technologyStackURL + "/" + id; + return this.apiRequest.delete(_http); + } + + + ////get by service type + getByServiceType(servicetype: any): Observable { + const _http = "token/flf/tech_stack/get_byservicetype/" + servicetype; + return this.apiRequest.get(_http); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/wireframe-line.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/wireframe-line.service.ts new file mode 100644 index 0000000..f1bfe8b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/wireframe-line.service.ts @@ -0,0 +1,60 @@ +import { Injectable } from '@angular/core'; +import { HttpClient } from '@angular/common/http'; +import baseUrl from '../api/helper' +import { Observable } from 'rxjs'; +import { ApiRequestService } from '../api/api-request.service'; +@Injectable({ + providedIn: 'root' +}) +export class WireframeLineService { + + constructor(private _http: HttpClient, private apiRequest:ApiRequestService) { } + public addToDB(line: any){ + return this._http.post(`${baseUrl}/r/create`, line); + } + + public getOneFromDBById(id: any){ + return this._http.get(`${baseUrl}/r/get-one/${id}`); + } + + public getAllLines(){ + return this._http.get(`${baseUrl}/r/get-all`); + } + + public updateOneLine(line: any){ + return this._http.put(`${baseUrl}/r/update`, line); + } + getseedetails(): Observable { + return this._http.get(`${baseUrl}/token/frontendtable/getall`); + } +///list builder +getAllwireframeslistoflistbuilder(id:number):Observable{ + return this._http.get(`${baseUrl}/listbuilder/lb_line/getallwireframe_table/${id}`); +} + +////wireframe + getAllwireframeslist(id:number):Observable{ + return this._http.get(`${baseUrl}/formdrag/wireframe/getallwireframe_table/${id}`); + } + ///// + + getAllwireframes(id:number,wfid:any):Observable{ + return this._http.get(`${baseUrl}/formdrag/wireframe/getall_table/${id}/${wfid}`); + } + + getAllwireframesmodel(id:number,wfid:any,wfname:any):Observable{ + return this._http.get(`${baseUrl}/formdrag/wireframe/getmodel/${id}/${wfid}/${wfname}`); + } + + getColumnList(projId: any, tableName: any): Observable { + const url = `${baseUrl}/formdrag/wireframe/columnlistofwireframe/${projId}/${tableName}`; + return this._http.get(url); + } + +//==============wf_library===============// + +addToLibrary(id: number): Observable { + return this.apiRequest.get(`wflibrary/copylib/copy_library/${id}`); +} + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/wireframe.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/wireframe.service.ts new file mode 100644 index 0000000..ecb926d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/builder/wireframe.service.ts @@ -0,0 +1,273 @@ +import { HttpParams } from "@angular/common/http"; +import { Injectable } from "@angular/core"; +import { Rn_Fb_Header } from "src/app/models/builder/Rn_Fb_Header"; +import { Rn_Fb_Lines } from "src/app/models/builder/Rn_Fb_Lines"; +import { WireFrame } from "src/app/models/builder/WireFrame"; +import { Observable } from "rxjs"; +import { ApiRequestService } from "../api/api-request.service"; + +export interface WireFrameList { + id: number; + name: string; +} + +@Injectable() +export class WireframeService { + private wireframeBaseURL ='api/wireframe'; + private wireFrameDropDownURL = 'api/wireframe-list' + private wireFrameLinesURL = 'api/wireframe-lines' // used in edit view form + private uinamechangeurl='api/wireframe-uiname' + + private wireFrameLineURL = 'api/wireframe-line' // get fbLine by id + private copyWireFrameURL = 'api/wireframe-copy'; + private projectIdKey: string = "projectId"; // used in wireframe type component + private moduleIdKey: string = "moduleId"; + //private editWireframeCardURL = 'wfb/newupdate/headersnew'; //update wireframe card component list + + private storage: Storage = sessionStorage; + constructor( + private apiRequest: ApiRequestService + ) {} + + public storeProjectId(projectId: number) { + this.storage.setItem(this.projectIdKey, projectId.toString()); + } + public removeProjectId() { + this.storage.removeItem(this.projectIdKey); + } + getProjectId(): number { + let prjId = +this.storage.getItem(this.projectIdKey); + return prjId; + } + + public storeModuleId(moduleId: number) { + this.storage.setItem(this.moduleIdKey, moduleId.toString()); + } + public removeModuleId() { + this.storage.removeItem(this.moduleIdKey); + } + getModuleId(): number { + let modId = +this.storage.getItem(this.moduleIdKey); + return modId; + } + // ====== storage finish ======= + + // ========== RB_FB_HEADER APIS =========== // + + getAll(moduleId: number, page?: number, size?: number): Observable { + // create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + params = params.append("moduleId", moduleId.toString()); + // get all + return this.apiRequest.get(this.wireframeBaseURL, params); + } + + getById(id: number): Observable { + const _http = this.wireframeBaseURL + "/" + id; + return this.apiRequest.get(_http); + } + + // this is used in edit view form + getLinesByHeaderId(id: number): Observable { + const _http = this.wireFrameLinesURL + "/" + id; + return this.apiRequest.get(_http); + } + + create(fbHeader: Rn_Fb_Header,): Observable { + //`${this.baseURL}` + //let params: HttpParams = new HttpParams(); + // params = params.append("moduleId", moduleId.toString()); + //params = params.append("formType", formType); + return this.apiRequest.post(this.wireframeBaseURL, fbHeader); + } + + update(id: number, fbHeader: Rn_Fb_Header): Observable { + const _http = this.wireframeBaseURL + "/" + id; + return this.apiRequest.put(_http, fbHeader); + } + + wireFrameDropDown() : Observable { + return this.apiRequest.get(this.wireFrameDropDownURL); + } + + copy(wireframeCopyForm: Object) :Observable { + return this.apiRequest.post(this.copyWireFrameURL, wireframeCopyForm); + } + + // ======== RN FB LINE APIS =============// + getLineById(id: number): Observable { + const _http = this.wireFrameLineURL + "/" + id; + return this.apiRequest.get(_http); + } + + updateLineById(id: number, fbLine: Rn_Fb_Lines): Observable { + const _http = this.wireFrameLineURL + "/" + id; + return this.apiRequest.put(_http, fbLine); + } + + + // create table for only-header, header-line, only-line, multiline form + private createTableUrl: string = 'api/createTable'; + private createHLTableUrl: string = 'api/createTableHL'; + private createMLTableUrl: string = 'api/createTableMultiline'; + createTable(headerId: number, formType: string, data: Object) { + let params: HttpParams = new HttpParams(); + params = params.append("header_id", headerId.toString()); + + if(formType === 'header_only' || formType === 'line_only') { + return this.apiRequest.post(this.createTableUrl, data, params); + } else if (formType === 'header_line') { + return this.apiRequest.post(this.createHLTableUrl, data, params); + } else if(formType === 'multiline') { + return this.apiRequest.post(this.createMLTableUrl, data, params); + } + } + + + private buildMVCFormURL: string = 'api/build_wireframe'; + private buildForm: string ='api/SpringMVC_Hibernate_Mysql_Form_onlyHeader_Builder'; + private buildMVC_ML_FormURL: string = 'ml_build_form'; + // build mvc form + buildMVCForm(formType: string, headerId: number) { + let params: HttpParams = new HttpParams(); + params = params.append("header_id", headerId.toString()); + if(formType === 'multiline') { + return this.apiRequest.get(this.buildMVC_ML_FormURL, params); + } else { + return this.apiRequest.get(this.buildMVCFormURL, params); + // return this.apiRequest.get(this.buildForm, params); + } + } + + private buildAngularFormURL: string = 'build_angular_form'; + // build angular form + buildAngularForm(headerId: number) { + let params: HttpParams = new HttpParams(); + params = params.append("header_id", headerId.toString()); + return this.apiRequest.get(this.buildAngularFormURL, params); + } + + private delete_MVC_OH_FormURL: string = 'delete_wireframe'; + private delete_MVC_OL_FormURL: string = 'delete_line_wireframe'; + private delete_MVC_HL_FormURL: string = 'delete_header_line_wireframe'; + private delete_MVC_ML_FormURL: string = 'delete_header_line_wireframe'; + deleteMVCForm(formType: string, headerId: number) { + let params: HttpParams = new HttpParams(); + params = params.append("header_id", headerId.toString()); + if(formType === 'header_only') { + return this.apiRequest.get(this.delete_MVC_OH_FormURL, params); + } else if(formType === 'line_only') { + return this.apiRequest.get(this.delete_MVC_OL_FormURL, params); + } else if (formType === 'header_line') { + return this.apiRequest.get(this.delete_MVC_HL_FormURL, params); + } else if(formType === 'multiline') { + return this.apiRequest.get(this.delete_MVC_ML_FormURL, params); + } + } + + private baseURl: string = 'api'; + dynamicBuilder(headerId: number, actionLink: string) { + let params: HttpParams = new HttpParams(); + params = params.append("header_id", headerId?.toString()); + return this.apiRequest.get("api/wireframe_builder_json_controller"+actionLink, params); // first return this.apiRequest.get("api/"+actionLink, params); + } + public build(Id: any){ + return this.apiRequest.get(`entityBuilder/json/${Id}`); + } + //============= MANUPULATE WIREFRAME PROPERTIES ===============// + + private addNewFieldInSectionURL = 'api/wireframe-add-field-in-section'; + private addNewFieldInLineSectionURL = 'api/wireframe-add-field-in-line-section'; + private updateFieldNameURL = 'api/wireframe-update-field-name'; + private deleteSectionURL = 'api/wireframe-delete-section'; + addFieldInSection(id: number, sectionNumber: number) :Observable { + let params: HttpParams = new HttpParams(); + params = params.append("id", id.toString()); + params = params.append("section", sectionNumber.toString()); + return this.apiRequest.get(this.addNewFieldInSectionURL, params); + } + + addFieldInLineSection(id: number, sectionNumber: number): Observable { + let params: HttpParams = new HttpParams(); + params = params.append("id", id.toString()); + params = params.append("section", sectionNumber.toString()); + return this.apiRequest.get(this.addNewFieldInLineSectionURL, params); + } + + + updateFieldName(id: number, body: Rn_Fb_Lines): Observable { + let _http = this.updateFieldNameURL + "/" + id; + return this.apiRequest.post(_http, body); + } + + private addSectionOrButtonURL = 'api/wireframe-add-section-button'; + addSectionOrButton(headerId, body: Object): Observable { + let _http = this.addSectionOrButtonURL + "/" + headerId; + return this.apiRequest.post(_http, body); + } + + + deleteSection(headerId: number, sectionNumber: number): Observable { + let _http = this.deleteSectionURL + "/" + headerId; + let params: HttpParams = new HttpParams(); + params = params.append("section_num", sectionNumber.toString()); + return this.apiRequest.get(_http, params); + } + + private deleteFieldURL = 'api/wireframe_delete_header'; + deleteField(id: number) { + let _http = this.deleteFieldURL + "/" + id; + return this.apiRequest.delete(_http); + } + + updateuiname(id, data): Observable { + let _http = this.uinamechangeurl + "/" + id; + return this.apiRequest.put(_http,data); + } +private WURL='fnd/project/count_wfline3' +wireframecount(){ + let _http = this.WURL; + return this.apiRequest.get(_http); +} +wireframecount1(id:any){ + let _http = `fnd1/count/get_wireframe/${id}`; + return this.apiRequest.get(_http); +} +reportcount(id:any){ + let _http=`fnd1/count/get_REPORT/${id}`; + return this.apiRequest.get(_http); +} +actioncount(id:any){ + let _http=`fnd1/count/get_action/${id}`; + return this.apiRequest.get(_http); +} + +editWireframeCard(id:any, headerData:Rn_Fb_Header):Observable{ + const _http = `wfb/newupdate/headersnew/${id}`; + return this.apiRequest.put(_http,headerData); +} + +getByIdWireframe(id:any){ + let _http = `api/wireframe/${id}`; + return this.apiRequest.get(_http); +} + +//==============wf_library===============// + +// copyToLibrary(id: number): Observable { +// return this.apiRequest.get(`wflibrary/copylib/copy_library/${id}`); +// } + +copyFromLibrary(id: number, moduleId: number): Observable { + return this.apiRequest.get(`wflibrary/copylib/copy_library/${id}/${moduleId}`); +} + +getdetails(): Observable { + return this.apiRequest.get(`Wf_library/Wf_library`); +} + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/csv.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/csv.service.ts new file mode 100644 index 0000000..11af915 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/csv.service.ts @@ -0,0 +1,136 @@ +import { Injectable } from '@angular/core'; +import { Observable } from "rxjs"; +import { ApiRequestService } from "../services/api/api-request.service"; +import { HttpParams } from "@angular/common/http"; +import { saveAs } from 'file-saver'; +import { HttpClient, HttpHeaders } from '@angular/common/http'; +import baseUrl from './api/helper'; +@Injectable({ + providedIn: 'root' +}) +export class CsvService { + private getallheadersURL = "api/csv/getallheaders"; + private SaveURL = "api/template/save"; + private downloadURL = "api/csv/download"; + private purl="api/template/demo/download"; + constructor(private apiRequest: ApiRequestService, + private http: HttpClient) { } + + + importCsv(file: File,data:any):Observable{ + const formData = new FormData(); + formData.append('file', file); + return this.apiRequest.postFormData(`${this.SaveURL}/${data}`,formData); + //return this.http.post('http://localhost:9191/api/csv/save', formData); + } + + getAllCsv(): Observable{ + let me = this; + let params: HttpParams = new HttpParams(); + //params = params.set('file', file); + return this.apiRequest.get(this.getallheadersURL, params); + } + + downloadCsv(): Observable{ + let me = this; + let params: HttpParams = new HttpParams(); + //params= params.set('file', file); + return this.apiRequest.get(this.downloadURL, params); + } + + // working + // downloadCsvsprio(data:any): void { + // this.http.get(`${baseUrl}/api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + // saveAs(data, 'Sr_priority2_t'); + // }); + // } + + // downloadCsvsprio(data:any): void { + // this.apiRequest.getFile(`api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + // saveAs(data, 'Sr_priority2_t'); + // }); + // } + + // downloadCsvsimpa(data:any): void { + // this.apiRequest.getFile(`${baseUrl}/api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + // saveAs(data, 'Sr_impact2_t'); + // }); + // } + // downloadCsvsurge(data:any): void { + // this.apiRequest.getFile(`${baseUrl}/api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + // saveAs(data, 'Sr_urgency_t'); + // }); + // } + // downloadCsvscat(data:any): void { + // this.apiRequest.getFile(`${baseUrl}/api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + // saveAs(data, 'Sr_category2_t'); + // }); + // } + // downloadCsvsstate(data:any): void { + // this.apiRequest.getFile(`${baseUrl}/api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + // saveAs(data, 'Sr_State_t'); + // }); + // } + // downloadCsvscontact(data:any): void { + // this.apiRequest.getFile(`${baseUrl}/api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + // saveAs(data, 'Sr_Contact_type_t'); + // }); + // } + // downloadCsvscust(data:any): void { + // this.apiRequest.getFile(`${baseUrl}/api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + // saveAs(data, 'Sr_customer_t'); + // }); + // } + // downloadCsvshan(data:any): void { + // this.apiRequest.getFile(`${baseUrl}/api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + // saveAs(data, 'Sr_handler_t'); + // }); + // } + + downloadCsvs(data:any): void { + this.apiRequest.getFile(`api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + saveAs(data, data+'_t'); + }); + } + + downloadCsvsprio(data:any): void { + this.apiRequest.getFile(`api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + saveAs(data, 'Sr_priority2_t'); + }); + } + downloadCsvsimpa(data:any): void { + this.apiRequest.getFile(`api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + saveAs(data, 'Sr_impact2_t'); + }); + } + downloadCsvsurge(data:any): void { + this.apiRequest.getFile(`api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + saveAs(data, 'Sr_urgency_t'); + }); + } + downloadCsvscat(data:any): void { + this.apiRequest.getFile(`api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + saveAs(data, 'Sr_category2_t'); + }); + } + downloadCsvsstate(data:any): void { + this.apiRequest.getFile(`api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + saveAs(data, 'Sr_State_t'); + }); + } + downloadCsvscontact(data:any): void { + this.apiRequest.getFile(`api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + saveAs(data, 'Sr_Contact_type_t'); + }); + } + downloadCsvscust(data:any): void { + this.apiRequest.getFile(`api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + saveAs(data, 'Sr_customer_t'); + }); + } + downloadCsvshan(data:any): void { + this.apiRequest.getFile(`api/template/demo/download/${data}`, { responseType: 'blob' }).subscribe(data => { + saveAs(data, 'Sr_handler_t'); + }); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/excel.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/excel.service.ts new file mode 100644 index 0000000..2c4c582 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/excel.service.ts @@ -0,0 +1,30 @@ +import { Injectable } from '@angular/core'; +import * as FileSaver from 'file-saver'; +import * as XLSX from 'xlsx'; + +const EXCEL_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8'; +const EXCEL_EXTENSION = '.xlsx'; + +@Injectable({ + providedIn: 'root' +}) +export class ExcelService { + + constructor() { } + + public exportAsExcelFile(json: any[], excelFileName: string, fileNameSuffix=''): void { + + const worksheet: XLSX.WorkSheet = XLSX.utils.json_to_sheet(json); + const workbook: XLSX.WorkBook = { Sheets: { 'data': worksheet }, SheetNames: ['data'] }; + const excelBuffer: any = XLSX.write(workbook, { bookType: 'xlsx', type: 'array' }); + this.saveAsExcelFile(excelBuffer, excelFileName, fileNameSuffix); + } + + private saveAsExcelFile(buffer: any, fileName = 'export', fileNameSuffix=''): void { + const data: Blob = new Blob([buffer], { + type: EXCEL_TYPE + }); + FileSaver.saveAs(data, fileName + fileNameSuffix + EXCEL_EXTENSION); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/alerts.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/alerts.service.ts new file mode 100644 index 0000000..430879a --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/alerts.service.ts @@ -0,0 +1,68 @@ +import { Injectable } from '@angular/core'; +import { ApiRequestService } from '../api/api-request.service'; +import { Observable } from 'rxjs'; +import { HttpClient, HttpHeaders } from '@angular/common/http'; + +@Injectable({ + providedIn: 'root' +}) +export class AlertsService { + + constructor(private http: HttpClient,private apiRequest: ApiRequestService) {} + + public saveData(data: any): Observable { + return this.apiRequest.post(`Alerts/Alerts`, data); + } + + public getDetails(): Observable { + return this.apiRequest.get(`Alerts/Alerts`); + } + + public getDetailsById(id: number): Observable { + return this.apiRequest.get(`Alerts/Alerts/${id}`); + } + + public deleteById(id: number): Observable { + return this.apiRequest.delete(`Alerts/Alerts/${id}`); + } + + public updateData(data: any, id: number): Observable { + return this.apiRequest.put(`Alerts/Alerts/${id}`, data); + } + + + ////////// ALert Rules + public saveRuleData(data: any): Observable { + return this.apiRequest.post(`AlertRules/AlertRules`, data); + } + + public getRuleDetails(): Observable { + return this.apiRequest.get(`AlertRules/AlertRules`); + } + + public getRuleDetailsById(id: number): Observable { + return this.apiRequest.get(`AlertRules/AlertRules/${id}`); + } + + public deleteRuleById(id: number): Observable { + return this.apiRequest.delete(`AlertRules/AlertRules/${id}`); + } + + public updateRuleData(data: any, id: number): Observable { + return this.apiRequest.put(`AlertRules/AlertRules/${id}`, data); + } + + ///get table form store + public getTablefromstore(id: number): Observable { + return this.apiRequest.get(`AlertRules/tablelist/${id}`); + } + + ///get column form store + public getColumnfromstore(id: number, tableName:string): Observable { + return this.apiRequest.get(`AlertRules/columnlist/${id}/${tableName}`); + } + + public getColumnfromurl(url: any): Observable { + return this.apiRequest.get(`chart/getAllKeys?apiUrl=${url}`); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/bulkimport.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/bulkimport.service.ts new file mode 100644 index 0000000..6055e4b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/bulkimport.service.ts @@ -0,0 +1,160 @@ +import { HttpClient } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { ApiRequestService } from '../api/api-request.service'; +import baseUrl from '../api/helper'; +import { Observable } from 'rxjs'; +import { environment } from 'src/environments/environment'; +import { map } from 'rxjs/operators'; + +@Injectable({ + providedIn: 'root' +}) +export class BulkimportService { + private URL = environment.backendUrl; + constructor(private http: HttpClient,private apiRequest: ApiRequestService) { } + + public saveData(data: any): Observable { + return this.http.post(`${baseUrl}/BulkUpload/BulkUpload`, data); + } + + public getDetails(): Observable { + return this.http.get(`${baseUrl}/BulkUpload/BulkUpload`); + } + + public getDetailsById(id: number): Observable { + return this.http.get(`${baseUrl}/BulkUpload/BulkUpload/${id}`); + } + + public deleteById(id: number): Observable { + return this.http.delete(`${baseUrl}/BulkUpload/BulkUpload/${id}`); + } + + public updateData(data: any, id: number): Observable { + return this.http.put(`${baseUrl}/BulkUpload/BulkUpload/${id}`, data); + } + + + //rule + condition:string = ''; + setCondition(condition: string) { + this.condition = condition; + } + + getCondition(): string { + return this.condition; + } + + getSheetName(id: number): Observable{ + return this.apiRequest.get(`api/BulkUpload/sheet/${id}`); + } + + convertFileToJson(id: number): Observable { + return this.apiRequest.post(`api/BulkUpload/templatetojson/${id}`, {}); + } + + // getTemplateById(id: number): Observable { + // const url = `api/template/gettemplatebyid/${id}`; + // return this.apiRequest.get(url); + // } + + getHeader(id: number): Observable { + const url = `api/BulkUpload/getHeaders/${id}`; + return this.apiRequest.get(url); + } + + getColumnNames(tableName: string): Observable { + const url = `api/BulkUpload/columns/${tableName}`; + return this.apiRequest.get(url); + } + + changeKeysOfJson(updatedKeyJson: string, oldKeyDataJson:any): Observable { + const formData:FormData=new FormData(); + formData.append("updatedKeyJson",updatedKeyJson); + formData.append("oldKeyDataJson",oldKeyDataJson); + return this.apiRequest.postFormData(`api/BulkUpload/jsonkeychange`, formData); + } + + downloadExcel(id: string, jsonData:any, ruleData:any): Observable { + // return this.apiRequest.post(`api/dynamic/DownloadExcel/${tableName}`, data); + jsonData = JSON.stringify(jsonData); + ruleData = JSON.stringify(ruleData); + const formData:FormData=new FormData(); + formData.append("jsonData",jsonData); + formData.append("ruleData",ruleData); + const url = `${this.URL}/api/BulkUpload/DownloadExcel/${id}`; + return this.apiRequest.postFormData(`api/BulkUpload/DownloadExcel/${id}`, formData); + // return this.http.post(url, formData, { responseType: 'blob' }).pipe( + // map((response: Blob) => { + // // Process the response as needed + // return response; + // }) + // ); + } + + ////for download + getSheet(id: number): Observable { + const url = `${this.URL}/api/BulkUpload/downloadImportStatement/${id}`; + // return this.apiRequest.get(url); + return this.http.get(url, { responseType: 'blob' }).pipe( + map((response: Blob) => { + // Process the response as needed + return response; + }) + ); + } + + /////////////////////// + //mapping rules + public saveMappingData(data: any): Observable { + return this.http.post(`${baseUrl}/MappingRule/MappingRule`, data); + } + + public getMappingDetails(): Observable { + return this.http.get(`${baseUrl}/MappingRule/MappingRule`); + } + + public getMappingDetailsById(id: number): Observable { + return this.http.get(`${baseUrl}/MappingRule/MappingRule/${id}`); + } + + public deleteMappingById(id: number): Observable { + return this.http.delete(`${baseUrl}/MappingRule/MappingRule/${id}`); + } + + public updateMappingData(data: any, id: number): Observable { + return this.http.put(`${baseUrl}/MappingRule/MappingRule/${id}`, data); + } + + getDDforMappingRule(excelFile:any, sheetName:string){ + console.log(sheetName,excelFile) + const formData:FormData=new FormData(); + formData.append("excelFile",excelFile); + formData.append("sheetName",sheetName); + return this.apiRequest.postFormData(`MappingRule/getHeaders`, formData); + } + + + ///////////////////// + // master + + mastergetexcelSheet(file_type: string): Observable { + const url = `masterimport/demo/download/${file_type}`; + return this.apiRequest.get(url); + } + + masterdownloadExcel(id: string, jsonData:any,): Observable { + jsonData = JSON.stringify(jsonData); + const formData:FormData=new FormData(); + formData.append("jsonData",jsonData); + return this.apiRequest.postFormData(`masterimport/DownloadExcelForMaster/${id}`, formData); + } + + mastergetSheetName(id: number): Observable{ + return this.apiRequest.get(`masterimport/sheet/${id}`); + } + + mastergetColumnNames(tableName: string): Observable { + const url = `masterimport/columns/${tableName}`; + return this.apiRequest.get(url); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/code-extraction.service.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/code-extraction.service.spec.ts new file mode 100644 index 0000000..bd7eae4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/code-extraction.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { CodeExtractionService } from './code-extraction.service'; + +describe('CodeExtractionService', () => { + let service: CodeExtractionService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(CodeExtractionService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/code-extraction.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/code-extraction.service.ts new file mode 100644 index 0000000..17b8dbd --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/code-extraction.service.ts @@ -0,0 +1,184 @@ +import { Injectable } from '@angular/core'; +import { HttpParams } from '@angular/common/http'; + + +import { Bcf_Extractor } from 'src/app/models/fnd/Bcf_Extractor'; +import { Bcf_Extractor_Params } from 'src/app/models/fnd/Bcf_Extractor_Params'; +import { FileData } from 'src/app/models/builder/FileData'; +import { FileDetails } from 'src/app/models/builder/FileDetails'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from '../api/api-request.service'; +import { catchError } from 'rxjs/operators'; +@Injectable({ + providedIn: 'root' +}) +export class CodeExtractionService { + private codeExtractionURL = 'api/bcf-extractor'; + private codeExtractionParamsURL = 'api/bcf-extractor-params'; + private staticCodeExtractionURL = 'api/static_code_extraction'; + private dynamicCodeExtractionURL = 'api/dynamic_code_extraction'; + private buildMasterBuilderURL = 'api/build_master_builder'; + private extractionStatusChangeURL = 'api/bcf-extractor-params/extraction-status-change'; + private creationStatusChangeURL = 'api/bcf-extractor-params/creation-status-change'; + private codeExtractionBuilderURL = 'codeextractor/builderfile'; + + constructor(private apiRequest: ApiRequestService) { } + getAll(page?: number, size?: number): Observable { + //Create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + // get all + // return this.apiRequest.get('api/instructors'); + // paginated data + return this.apiRequest.get(this.codeExtractionURL, params); + } + + getById(id: number): Observable { + const _http = this.codeExtractionURL + "/" + id; + return this.apiRequest.get(_http); + } + + create(bcf_extractor: Bcf_Extractor): Observable { + //`${this.baseURL}` + return this.apiRequest.post(this.codeExtractionURL, bcf_extractor); + } + + // UPLOAD ZIP FILE DATA + saveFormAndUploadFile(formData: FormData) :Observable { + //return this.http.post(this.appConfig.baseApiPath + this.codeExtractionURL, formData, { reportProgress:true, observe: 'events' }); + return this.apiRequest.postFormData(this.codeExtractionURL, formData); + } + delete1(id: number): Observable { + const _http = this.codeExtractionURL + "/" + id; + return this.apiRequest.delete(_http); + } + update(id: number, bcf_extractor: Bcf_Extractor): Observable { + const _http = this.codeExtractionURL + "/" + id; + return this.apiRequest.put(_http, bcf_extractor); + } + + // =========== CODE EXTRACTION PARAMS =============== + + getCodeExtractionParamById(id: number): Observable { + const _http = this.codeExtractionParamsURL + "/" + id; + return this.apiRequest.get(_http); + } + getCodeExtractionParams(header_id: number): Observable { + let params: HttpParams = new HttpParams(); + params = params.append('header_id', header_id.toString()); + return this.apiRequest.get(this.codeExtractionParamsURL, params); + } + delete(id: number): Observable { + const _http = this.codeExtractionParamsURL + "/" + id; + return this.apiRequest.delete(_http); + } + createExtractionParams(header_id: number, bcf_extractor_params: Bcf_Extractor_Params): Observable { + let params: HttpParams = new HttpParams(); + params = params.append('header_id', header_id.toString()); + return this.apiRequest.post(this.codeExtractionParamsURL, bcf_extractor_params, params); + } + + updateExtractionParams(id: number, header_id: number, bcf_extractor_params: Bcf_Extractor_Params): Observable { + let params: HttpParams = new HttpParams(); + params = params.append('header_id', header_id.toString()); + const _http = this.codeExtractionParamsURL + "/" + id; + return this.apiRequest.put(_http, bcf_extractor_params, params); + } +updatecodeparam(id:any,bcf_extractor_params: Bcf_Extractor_Params):Observable{ + const _http = this.codeExtractionParamsURL + "/" + id; + return this.apiRequest.put(_http, bcf_extractor_params, ); +} + // CREATION STATUS CHANGE + + creationStatusChange(id: number): Observable { + let params: HttpParams = new HttpParams(); + params = params.append("id", id.toString()); + return this.apiRequest.get(this.creationStatusChangeURL, params); + } + // EXTRACTION STATUS CHANGE + extractionStatusChange(id: number): Observable { + let params: HttpParams = new HttpParams(); + params = params.append("id", id.toString()); + return this.apiRequest.get(this.extractionStatusChangeURL, params); + } + // STATIC CODE EXTRACTOPN AND DYNAMIC CODE EXTRACTION + staticCodeExtraction(id:number): Observable { + let params: HttpParams = new HttpParams(); + params = params.append('header_id', id.toString()); + return this.apiRequest.get(this.staticCodeExtractionURL, params); + } + dynamicCodeExtraction(id:number): Observable { + let params: HttpParams = new HttpParams(); + params = params.append('header_id', id.toString()); + return this.apiRequest.get(this.dynamicCodeExtractionURL, params); + } + + // BUILD MASTER BUILDER + buildMasterBuilder(id: number): Observable { + let params: HttpParams = new HttpParams(); + params = params.append('id', id.toString()); + return this.apiRequest.get(this.buildMasterBuilderURL, params); + } + + // ========== code editor service ======= + + private codeExtractorFileListURL = 'api/bcf-extractor-file-list'; + private fileReadURL = 'api/file-code-read'; + private fileCodeSaveURL = 'api/file-code-save'; + + getFileList(id: number): Observable { + const _http = this.codeExtractorFileListURL + "/" + id; + return this.apiRequest.get(_http); + + } + + readFile(id: number): Observable { + const _http = this.fileReadURL + "/" + id; + return this.apiRequest.get(_http); + } + saveCodeIntoFile(fileData: FileData): Observable { + return this.apiRequest.post(this.fileCodeSaveURL, fileData); + } + + // ======= STATIC CODE READ AND SAVE ========== // + private staticFileReadURL = 'api/static-file-code-read'; + private SstaticFileCodeSaveURL = 'api/static-file-code-save'; + readStaticFile(id: number): Observable { + const _http = this.staticFileReadURL + "/" + id; + return this.apiRequest.get(_http); + } + + saveCodeIntoStaticFile(fileData: FileData): Observable { + return this.apiRequest.post(this.SstaticFileCodeSaveURL, fileData); + } + + // ======= CODE EXTRACTION BUILDER ========== // + getCodeExtractionBuilderById(id: number): Observable { + // const _http = this.codeExtractionBuilderURL + "/" + id; + return this.apiRequest.get(`${this.codeExtractionBuilderURL}/getbyid/${id}`); + } + + getAllFileById(id: number):Observable{ + const url = `${this.codeExtractionBuilderURL}/get_allfile/${id}`; + return this.apiRequest.get(url); + } + + deleteBuiilderFile(id: number): Observable { + const _http = `${this.codeExtractionBuilderURL}/deletefile/${id}`; + return this.apiRequest.delete(_http); + } + + readBuidlerFile(id: number): Observable { + const _http = `${this.codeExtractionBuilderURL}/readfile/${id}`; + return this.apiRequest.get(_http); + } + + saveBuidlerFile(fileDetails: FileDetails): Observable { + return this.apiRequest.post('codeextractor/builderfile/savefile', fileDetails); + } + + +} + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/dataflow.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/dataflow.service.ts new file mode 100644 index 0000000..24da09b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/dataflow.service.ts @@ -0,0 +1,123 @@ +import { HttpClient } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import baseUrl from 'src/app/services/api/helper'; +import { environment } from 'src/environments/environment'; +import { ApiRequestService } from '../api/api-request.service'; +@Injectable({ + providedIn: 'root' +}) +export class DataflowService { + // baseurl = environment.surejobUrl; + private addDataURl = 'api/suredata'; + constructor(private _http: HttpClient,private apiRequest: ApiRequestService) { } + public getAll() { + return this._http.get(`${baseUrl}/dataflow/dataflow`); + } + public create(data: any){ + return this._http.post(`${baseUrl}/dataflow/dataflow`, data); + } + create1(data:any,files:any): Observable { + const s = JSON.stringify(data); + const formData:FormData = new FormData(); + formData.append("data",s); + formData.append("ssh_file_key",files); + // for(let i=0;i{ + return this._http.get(`${baseUrl}/suredata/suredataflow/tablelistfromsource/${id}`); + } + public getstoredata(id:number):Observable{ + return this._http.get(`${baseUrl}/suredata/suredataflow/tablelistfromstore/${id}`); + } + public delete(id:any){ + return this._http.delete(`${baseUrl}/dataflow/dataflow/${id}`); + } + + public update(id:any,data:any){ + return this._http.put(`${baseUrl}/dataflow/dataflow/${id}`, data); + } + public updatelines(id:any,data:any){ + return this._http.put(`${baseUrl}/dataflow/dataflow_line/update/${id}`,data); + } + // public getdataflowlines(){ + // return this._http.get(`${baseUrl}/dataflow/dataflow_line/getall`); + // } + + + condition:string = ''; + setCondition(condition: string) { + this.condition = condition; + } + + getCondition(): string { + return this.condition; + } + + datacondition: string = ''; + setDataCondition(condition: string) { + this.datacondition = condition; + } + + getDataCondition(): string { + return this.datacondition; + } + + + public createjob(id:any):Observable { + return this._http.get(`${baseUrl}/token/suredata/surejob/create_job/${id}`); + } + //surebilljob + // public getAllsurejob(line_id:any) { + // return this._http.get(`${this.baseurl}/surebilljob/getalljob/${line_id}`); + // } + // public createsceduler(data: any){ + // return this._http.post(`${this.baseurl}/surebilljob/schedule`, data); + // } + // public updatesurejob(data: any){ + // return this._http.post(`${this.baseurl}/surebilljob/schedule`, data); + // } + // public pause(data:any){ + // return this._http.post(`${this.baseurl}/surebilljob/pauseschedule`, data); + // } + // public runonce(data:any){ + // return this._http.post(`${this.baseurl}/surebilljob/runschedule`, data); + // } + // public resume(data:any){ + // return this._http.post(`${this.baseurl}/surebilljob/resumeschedule`, data); + // } + // public deletesurejob(val:any){ + // return this._http.delete(`${this.baseurl}/surebilljob/deleteschedule/${val}`,); + // } + + /////////////// data flow 3 /////////////// + + getColumnListFromSourceTable(id: number, tableName: string): Observable { + return this.apiRequest.get(`suredata/suredataflow3/columnlistfromSource/${id}/${tableName}`); + } + getColumnListFromStoreTable(id: number, tableName: string): Observable { + return this.apiRequest.get(`suredata/suredataflow3/columnlistfromStore/${id}/${tableName}`); + } + /////cron jobs ////////////// + buildCronJob(minutes: string, hours: string, dayOfMonth: string, month: string, dayOfWeek: string): string { + const cronJobString = `${minutes} ${hours} ${dayOfMonth} ${month} ${dayOfWeek}`; + return cronJobString; + } + + + ///////////data flow table name by store name////////// + getTableListFromStoreByName(name: string): Observable { + const url = `${baseUrl}/suredata/suredataflow/tablelistfromstoreByname/${name}`; + return this._http.get(url); + } +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/datamanagement.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/datamanagement.service.ts new file mode 100644 index 0000000..6bd5436 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/datamanagement.service.ts @@ -0,0 +1,111 @@ +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from '../api/api-request.service'; +import { HttpClient, HttpParams } from '@angular/common/http'; +import { environment } from 'src/environments/environment'; +import { map } from 'rxjs/operators'; + +@Injectable({ + providedIn: 'root' +}) +export class DatamanagementService { + private URL = environment.backendUrl; + private updateUrl = "api/template/dynamic/dynamic_temp" + constructor(private apiRequest: ApiRequestService, private _http: HttpClient) { } + getall() { + return this.apiRequest.get(`api/template/getalltemplate`); + } + + // getallentity(){ + // return this.apiRequest.get(`api/template/databasequery/Table_list_all`); + // } + + getTemplateById(id: number): Observable { + const url = `api/template/gettemplatebyid/${id}`; + return this.apiRequest.get(url); + } + + getHeader(id: number): Observable { + const url = `api/dynamic/getHeaders/${id}`; + return this.apiRequest.get(url); + } + + getColumnNames(tableName: string): Observable { + const url = `api/dynamic/columns/${tableName}`; + return this.apiRequest.get(url); + } + + // create(data:any,files:any): Observable { + // const s = JSON.stringify(data); + // const formData:FormData = new FormData(); + // formData.append("data",s); + // formData.append("file",files); + + // return this.apiRequest.postFormData(`sureserve/template/dynamic/dynamic_temp`,formData); + // } + + create(file: any, fileType: string): Observable { + const formData: FormData = new FormData(); + formData.append('file', file); + // let params: HttpParams = new HttpParams(); + // params =params.append('fileType', fileType); + return this.apiRequest.postFormData(`api/template/save/${fileType}`, formData); + } + + update(id: number, data: any, files: any): Observable { + const s = JSON.stringify(data); + const formData: FormData = new FormData(); + formData.append("data", s); + formData.append("file", files); + return this.apiRequest.postFormData(`${this.updateUrl}/${id}`, formData); + } + + delete(id: any) { + return this.apiRequest.delete(`api/template/deletetemplate/${id}`); + } + + // getjson(){ + // return this.apiRequest.get(`api/dynamic/jsonkeychange`); + // } + + changeKeysOfJson(newjson: string, body: any): Observable { + // const headers = new HttpHeaders().set('Content-Type', 'application/x-www-form-urlencoded'); + // let params: HttpParams = new HttpParams(); + // params =params.append('newjson', newJson); + // params =params.append('body', body); + const formData: FormData = new FormData(); + formData.append("newjson", newjson); + formData.append("body", body); + return this.apiRequest.postFormData(`api/dynamic/jsonkeychange`, formData); + } + + + saveTemplateInJson(id: any): Observable { + // const formData: FormData = new FormData(); + // formData.append('file', file); + // console.log(formData, file); + + // let params: HttpParams = new HttpParams(); + // params =params.append("file",file); + return this.apiRequest.get(`api/dynamic/templatetojson/${id}`); + } + + convertFileToJson(id: number): Observable { + return this.apiRequest.post(`api/dynamic/templatetojson/${id}`, {}); + } + + + downloadExcel(tableName: string, data: any): Observable { + // return this.apiRequest.post(`api/dynamic/DownloadExcel/${tableName}`, data); + const url = `${this.URL}/api/dynamic/DownloadExcel/${tableName}`; + return this._http.post(url, data, { responseType: 'blob' }).pipe( + map((response: Blob) => { + // Process the response as needed + return response; + }) + ); + } + + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/datastore.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/datastore.service.ts new file mode 100644 index 0000000..9368540 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/datastore.service.ts @@ -0,0 +1,109 @@ +import { HttpClient, HttpParams } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import baseUrl from 'src/app/services/api/helper'; +import { ApiRequestService } from '../api/api-request.service'; +@Injectable({ + providedIn: 'root' +}) +export class DatastoreService { + private addDataURl = 'api/suredata'; + private addDataURl1='api/suredatasource'; + constructor(private _http: HttpClient,private apiRequest: ApiRequestService) { } + public getAll() { + return this._http.get(`${baseUrl}/api/suredata`); + } + public create(data: any){ + return this._http.post(`${baseUrl}/api/suredata`, data); + } + create1(data:any,files:any): Observable { + const s = JSON.stringify(data); + const formData:FormData = new FormData(); + formData.append("data",s); + formData.append("ssh_file_key",files); + // for(let i=0;i { + const s =JSON.stringify(data); + const formData:FormData=new FormData(); + formData.append("data",s); + formData.append("ssh_file_key",files); + + return this.apiRequest.postFormData(`${this.addDataURl}/${id}`,formData); + + + } + public getAll2() { + return this._http.get(`${baseUrl}/api/suredatasource`); + } + + create2(data:any,files:any): Observable { + const s = JSON.stringify(data); + const formData:FormData = new FormData(); + formData.append("data",s); + formData.append("ssh_file_key",files); + // for(let i=0;i { + const s =JSON.stringify(data); + const formData:FormData=new FormData(); + formData.append("data",s); + formData.append("ssh_file_key",files); + + return this.apiRequest.postFormData(`${this.addDataURl1}/${id}`,formData); + } + + testConnection(databaseType: string, storeUsername: string, storePassword: string, portNumber: string, dbHostname: string, databasename): Observable{ + const url = 'suredata/test/testconnection'; + let params: HttpParams = new HttpParams(); + params =params.append("database_type",databaseType); + params =params.append("store_username",storeUsername); + params =params.append("store_password",storePassword); + params =params.append("portnumber",portNumber); + params =params.append("dbhostname",dbHostname); + params =params.append("database_name",databasename) + return this.apiRequest.get(url, params); + } + + testsshConnection(sshHost: string, sshUsername: string, sshPassword: string, sshKeyFile: any): Observable{ + const url = 'suredata/test/checksshconnection'; + let params: HttpParams = new HttpParams(); + params =params.append("sshHost",sshHost); + params =params.append("sshUsername",sshUsername); + params =params.append("sshPassword",sshPassword); + params =params.append("sshKeyFile",sshKeyFile); + return this.apiRequest.post(url, params); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/exception-rule-library.service.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/exception-rule-library.service.spec.ts new file mode 100644 index 0000000..22ba84b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/exception-rule-library.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { ExceptionRuleLibraryService } from './exception-rule-library.service'; + +describe('ExceptionRuleLibraryService', () => { + let service: ExceptionRuleLibraryService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(ExceptionRuleLibraryService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/exception-rule-library.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/exception-rule-library.service.ts new file mode 100644 index 0000000..5bfda6e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/exception-rule-library.service.ts @@ -0,0 +1,42 @@ +import { HttpParams } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import { Bcf_Exception_Rule_Library } from 'src/app/models/fnd/Bcf_Exception_Rule_Library '; +import { ApiRequestService } from '../api/api-request.service'; + +@Injectable({ + providedIn: 'root' +}) +export class ExceptionRuleLibraryService { + private exceptionRuleLibraryBaseURL = 'codeextractor/exception/exception'; + constructor(private apiRequest: ApiRequestService) { } + getAll(): Observable { + return this.apiRequest.get(this.exceptionRuleLibraryBaseURL); + //Create Request URL params + // let params: HttpParams = new HttpParams(); + // params = params.append("page", typeof page === "number" ? page.toString() : "0"); + // params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + // return this.apiRequest.get(this.exceptionRuleLibraryBaseURL, params); + } + + getById(id: number): Observable { + const _http = this.exceptionRuleLibraryBaseURL + "/" + id; + return this.apiRequest.get(_http); + } + + save(exception_rule: Bcf_Exception_Rule_Library): Observable { + return this.apiRequest.post(this.exceptionRuleLibraryBaseURL, exception_rule); + } + + update(id: number, exception_rule: Bcf_Exception_Rule_Library): Observable { + const _http = this.exceptionRuleLibraryBaseURL + "/" + id; + return this.apiRequest.put(_http, exception_rule); + } + + delete(id: number): Observable { + const _http = this.exceptionRuleLibraryBaseURL + "/" + id; + return this.apiRequest.delete(_http); + } + + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/extension.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/extension.service.ts new file mode 100644 index 0000000..33bab08 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/extension.service.ts @@ -0,0 +1,78 @@ +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import { ApiRequestService } from '../api/api-request.service'; +import { HttpParams} from "@angular/common/http"; +import { ExtensionField } from 'src/app/models/fnd/ExtensionField'; +@Injectable({ + providedIn: 'root' +}) +export class ExtensionService { + private extensionAPI = 'api/extension'; + private extensionBuildAPI = 'api/extension_build'; + private lookupAPI = 'api/lookup_values'; + private dataTypeAPI = 'api/datatypes'; + constructor(private apiRequest: ApiRequestService) { } +​ + getAll(page?:number, size?:number): Observable { + //Create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append('page', typeof page === "number"? page.toString():"0"); + params = params.append('size', typeof size === "number"? size.toString():"1000"); + return this.apiRequest.get(this.extensionAPI, params); +​ +} +​ +getById(id: number) :Observable { + return this.apiRequest.get(this.extensionAPI + '/' + id); +​ +} +​ +create(extensionField: Object) :Observable { + //`${this.baseURL}` + return this.apiRequest.post(this.extensionAPI, extensionField); +​ +} +​ +update(id: number, extensionField: ExtensionField) :Observable { + return this.apiRequest.put(this.extensionAPI + "/" + id, extensionField); +} +​ +// http://localhost:9119/api/extension_build?account_id=admin&form_code=teacher_form +// build extension +buildExtension(id:any, account_id?:any, form_code?:any): Observable { + let params: HttpParams = new HttpParams(); + params = params.append('account_id', account_id.toString()); + params = params.append('form_code', form_code.toString()); + + const url = `api/extension_build/${id}` + return this.apiRequest.get(url, params); +} +​ +// look up code (attribute, flex) +getLookupValues() :Observable { + return this.apiRequest.get(this.lookupAPI); +} +​ +// datatypes code (string, varchar, int etc) +getDataTypeValues() :Observable { + return this.apiRequest.get(this.dataTypeAPI); +} +delete(id:any){ + return this.apiRequest.delete(`api/extension/${id}`); +} +​ +​ +​ +///extension build json object +​ +getDetailsByFormCode(formCode: string): Observable { + const url = `FromExtensionJsonExtensionJson/${formCode}`; + return this.apiRequest.get(url); + } +​ + getJsonObjectsByFormCodeList(formCode: string): Observable { + const url = `FromExtensionJson/ListExtensionJson/${formCode}`; + return this.apiRequest.get(url); + } +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/rule-library.service.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/rule-library.service.spec.ts new file mode 100644 index 0000000..057e7bf --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/rule-library.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { RuleLibraryService } from './rule-library.service'; + +describe('RuleLibraryService', () => { + let service: RuleLibraryService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(RuleLibraryService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/rule-library.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/rule-library.service.ts new file mode 100644 index 0000000..045f0c2 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/rule-library.service.ts @@ -0,0 +1,87 @@ +// import { Injectable } from '@angular/core'; + +// @Injectable({ +// providedIn: 'root' +// }) +// export class RuleLibraryService { + +// constructor() { } +// } + +import { HttpParams } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { Observable } from 'rxjs'; +import { Bcf_Rule_Library } from 'src/app/models/fnd/Bcf_Rule_Library'; +import { RuleCopy, Rule } from 'src/app/models/fnd/RuleCopy'; +import { ApiRequestService } from '../api/api-request.service'; + +@Injectable({ + providedIn: 'root' +}) +export class RuleLibraryService { + private ruleLibraryBaseURL = 'code_extractor/rule_keyword/Rule_library_keyword'; + private copyRuleURL = 'api/rule-copy'; + private keywordurl='codeextractor/rulelib_new/rule_keyword1'; + private filedurl='codeextractor/rulelib_new/rule_keyword'; + private copyURL = 'code_extractor/rule_keyword/copyrule' + constructor(private apiRequest: ApiRequestService) { } + + copy(data: RuleCopy) { + return this.apiRequest.post(this.copyRuleURL, data); + } + + getAll(page?: number, size?: number): Observable { + //Create Request URL params + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + return this.apiRequest.get(this.ruleLibraryBaseURL, params); + } + + getById(id: number): Observable { + const _http = this.ruleLibraryBaseURL + "/" + id; + return this.apiRequest.get(_http); + } + + save(rule: Bcf_Rule_Library): Observable { + return this.apiRequest.post(this.ruleLibraryBaseURL, rule); + } + + update(id: number, rule: Bcf_Rule_Library): Observable { + const _http = this.ruleLibraryBaseURL + "/" + id; + return this.apiRequest.put(_http, rule); + } + delete(id: number): Observable { + const _http = this.ruleLibraryBaseURL + "/" + id; + return this.apiRequest.delete(_http); + } + keyword(id: number,keyword: any): Observable { + let params: HttpParams = new HttpParams(); + params = params.append("id", id.toString()); + params= params.append("keyword",keyword); + return this.apiRequest.get(this.keywordurl, params); + } + + insertfile(id:any,data:any,keyword:any,){ + let params: HttpParams = new HttpParams(); + params = params.append("id", id.toString()); + params= params.append("selectedarea",data); + params= params.append("keyword",keyword); + console.log(params); + return this.apiRequest.get(this.filedurl, params); + } + + copyRule(technologyStack: string, objectType: string, subObjectType: string, service: string, newTechStackName: string, rule: Rule){ + let params: HttpParams = new HttpParams(); + params =params.append("technology_stack",technologyStack); + params =params.append("object_type",objectType); + params =params.append("sub_object_type",subObjectType); + params =params.append("service",service), + params=params.append("new_tech_stack_name",newTechStackName) + return this.apiRequest.post(this.copyURL,rule,params); + //return this.apiRequest.post(this.copydeployurl,params); + //return this.http.get(`${baseUrl}/api/getmodulename`,params); + + } +} + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/workflow-data.service.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/workflow-data.service.spec.ts new file mode 100644 index 0000000..7b38791 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/workflow-data.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { WorkflowDataService } from './workflow-data.service'; + +describe('WorkflowDataService', () => { + let service: WorkflowDataService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(WorkflowDataService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/workflow-data.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/workflow-data.service.ts new file mode 100644 index 0000000..0c3ec49 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/fnd/workflow-data.service.ts @@ -0,0 +1,63 @@ + +import { Injectable } from '@angular/core'; +import { HttpClient, HttpHeaders, HttpParams } from "@angular/common/http"; +import { Observable } from 'rxjs'; +import { ApiRequestService } from "src/app/services/api/api-request.service"; + +@Injectable({ + providedIn: 'root' +}) +export class WorkflowDataService { + private getAllURL = 'work'; + private addDataURl = 'work'; + private editDataURL = 'work'; + private deleteURL ='work'; + private getByIdURL = 'work'; + private updateWorkflowURL = 'updateByid'; + private fileurl ='/sureops/createfile'; + private callurl='workflow/workflow/callworkflow' + constructor(private _http: HttpClient, + private apiRequest: ApiRequestService) { } + getAll(page?: number, size?: number): Observable { + // create Request URL params + let me = this; + let params: HttpParams = new HttpParams(); + params = params.append("page", typeof page === "number" ? page.toString() : "0"); + params = params.append("size", typeof size === "number" ? size.toString() : "1000"); + // params = params.append("module_id", module_id.toString()); + // get all + return this.apiRequest.get(this.getAllURL, params); + } +getcallall(){ + return this.apiRequest.get(this.callurl); +} + create(data:any): Observable + { + return this.apiRequest.post(this.addDataURl, data); + } + + delete(id:number){ + let _http = this.deleteURL + "/" + id; + return this.apiRequest.delete(_http); + } + + getById(id:number) + { + let _http = this.getByIdURL + "/"+id; + return this.apiRequest.get(_http); + } + + updateLineById(id:number,data:any) + { + let _http = this.updateWorkflowURL + "/"+id; + return this.apiRequest.put(_http,data); + } + + update(id:number,data:any) + { + let _http = this.editDataURL + "/"+id; + return this.apiRequest.put(_http,data); + } + +} + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/jwt.interceptor.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/jwt.interceptor.ts new file mode 100644 index 0000000..257cd63 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/jwt.interceptor.ts @@ -0,0 +1,22 @@ +import { Injectable } from '@angular/core'; +import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http'; +import { Observable } from 'rxjs'; +import { UserInfoService } from './user-info.service'; + +@Injectable() +export class JwtInterceptor implements HttpInterceptor { + constructor(private userInfoService: UserInfoService) {} + + intercept(request: HttpRequest, next: HttpHandler): Observable> { + // add authorization header with jwt token if available + let currentUser = this.userInfoService.getUserInfo(); + if (currentUser && currentUser.token) { + request = request.clone({ + setHeaders: { + Authorization: `Bearer ${currentUser.token}` + } + }); + } + return next.handle(request); + } +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/main.service.spec.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/main.service.spec.ts new file mode 100644 index 0000000..f8dc470 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/main.service.spec.ts @@ -0,0 +1,12 @@ +import { TestBed } from '@angular/core/testing'; + +import { MainService } from './main.service'; + +describe('MainService', () => { + beforeEach(() => TestBed.configureTestingModule({})); + + it('should be created', () => { + const service: MainService = TestBed.get(MainService); + expect(service).toBeTruthy(); + }); +}); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/main.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/main.service.ts new file mode 100644 index 0000000..9aaaa85 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/main.service.ts @@ -0,0 +1,36 @@ +import { Injectable } from '@angular/core'; +import { JwtHelperService } from '@auth0/angular-jwt'; +import { HttpClient } from '@angular/common/http'; + +@Injectable({ + providedIn: 'root' +}) +export class MainService { + token = sessionStorage.getItem('token'); + jwtHelper: JwtHelperService = new JwtHelperService(); + + constructor(private http: HttpClient) { } + + getIP() { + return this.http.get(`https://api.ipify.org?format=json`) + .toPromise() + .then(result => result) + .catch(error => error); + } + + getUser() { + // return this.http.get(`${this.url}/get-annouce/${month}/${year}`) + return this.http.get(`https://randomuser.me/api/?results=100`) + .toPromise() + .then(result => result) + .catch(error => error); + } + + getUserTest() { + return this.http.get(`https://randomuser.me/api/?results=100`) + .toPromise() + .then(result => result) + .catch(error => error); + } + +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/notification.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/notification.service.ts new file mode 100644 index 0000000..5ddf252 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/notification.service.ts @@ -0,0 +1,36 @@ +import { Injectable } from '@angular/core'; +import { Subject } from 'rxjs'; + +export enum NotificationType { + Warning = "warning", + Info = "info", + Danger = "danger" +} + +export class Notification { + constructor( + public readonly type: NotificationType, + public readonly message: string, + public readonly detail: string) { + } +} + +@Injectable({ + providedIn: 'root' +}) +export class NotificationService { + private readonly _notifications = new Subject(); + + public readonly notifications = this._notifications.asObservable(); + + public add(notification: Notification) { + if (!notification.message || notification.message.trim() == ""){ + console.error("ERROR NOTIFICATION WITHOUT MESSAGE: " + notification) + } + this._notifications.next(notification); + } + + public flushNotification() { + this._notifications.next(null); + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/user-info.service.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/user-info.service.ts new file mode 100644 index 0000000..b9d3779 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/app/services/user-info.service.ts @@ -0,0 +1,122 @@ +import { HttpClient } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import baseUrl from './api/helper'; +export interface UserInStorage{ + userId:string; + email:string; + displayName:string; + username: string; + roles: string, + token:string; +} +export interface LoginInfoInStorage{ + success:boolean; + message:string; + landingPage:string; + user?:UserInStorage; +} +@Injectable() +export class UserInfoService { + + public currentUserKey:string="currentUser"; + public storage:Storage = sessionStorage; // <--- you may switch between sessionStorage or LocalStrage (only one place to change) + + + + constructor( private _http: HttpClient, + ) {} + + //Store userinfo from session storage + storeUserInfo(userInfoString:string) { + this.storage.setItem(this.currentUserKey, userInfoString); + } + + //Remove userinfo from session storage + removeUserInfo() { + this.storage.removeItem(this.currentUserKey); + } + + //Get userinfo from session storage + getUserInfo():UserInStorage|null { + try{ + let userInfoString:string = this.storage.getItem(this.currentUserKey); + if (userInfoString) { + let userObj:UserInStorage = JSON.parse(this.storage.getItem(this.currentUserKey)); + return userObj; + } + else{ + return null; + } + } + catch (e) { + return null; + } + } + + isLoggedIn():boolean { + return this.storage.getItem(this.currentUserKey)?true:false; + } + + //Get User's Display name from session storage + getUserName():string { + let userObj:UserInStorage = this.getUserInfo(); + if (userObj!== null) { + return userObj.displayName + } + return "no-user"; + } + + getEmail():string { + let userObj:UserInStorage = this.getUserInfo(); + if (userObj!== null) { + return userObj.email + } + return "no-user"; + } + + + getRoles(): string { + let userObj:UserInStorage = this.getUserInfo(); + if (userObj!== null) { + return userObj.roles + } + return null; + } + + + // Get User Id from session storage + getUserId(): string { + let userObj:UserInStorage = this.getUserInfo(); + if (userObj!== null) { + return userObj.userId; + } + return "no-user"; + } + + getStoredToken():string|null { + let userObj:UserInStorage = this.getUserInfo(); + if (userObj !== null) { + return userObj.token; + } + return null; + } + + public getAllUsers(){ + return this._http.get(`${baseUrl}/api/all-users`); + } + + public getUserById(id: any){ + return this._http.get(`${baseUrl}/api/get-one/${id}`); + } + + public updateUserById(id: any, user: any){ + return this._http.put(`${baseUrl}/api/org-users/${id}`, user); + } + + public deleteUserById(id: any){ + return this._http.delete(`${baseUrl}/api/org-users/${id}`); + } +public logout(){ + return this._http.get(`${baseUrl}/token/logout`); +} +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/.gitkeep b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun Bold Italic.ttf b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun Bold Italic.ttf new file mode 100644 index 0000000..f286d7b Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun Bold Italic.ttf differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun Bold.ttf b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun Bold.ttf new file mode 100644 index 0000000..4366b43 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun Bold.ttf differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun BoldItalic.ttf b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun BoldItalic.ttf new file mode 100644 index 0000000..beb5249 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun BoldItalic.ttf differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun Italic.ttf b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun Italic.ttf new file mode 100644 index 0000000..4be8ad8 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun Italic.ttf differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun.ttf b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun.ttf new file mode 100644 index 0000000..23dd82b Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/fonts/THSarabun.ttf differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/en.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/en.json new file mode 100644 index 0000000..0b299c4 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/en.json @@ -0,0 +1,375 @@ + { + "BREADCRUMB_HOME": "Home", + "USER_GROUP_MAINTENANCE": "User Group Maintenance", + "BREADCRUMB_ABOUT_US": "About Us", + "ABOUT_TITLE": "About Us", + "SETUP": "Setup", + "SETUP_TOOLS": "Setup Tools", + "USER_MAINTENANCE": "User Maintenance", + "REPORTS": "Reports", + "REPORTS_DESCRIPTION": "Reports Description", + "ABOUT_DESCRIPTION": "Create new project for new users if you have access. If you don't have access, please contact the admin.", + "HOME": "Home", + "SECURITY": "Security", + "MENU_MAINTENANCE": "Menu Maintenance", + "MAIN_MENU": "Main Menu", + "DOWNLOAD_TEMPLATE": "Download Template", + "IMPORT": "Import", + "EXPORT_XLSX": "Export as XLSX", + "ADD": "Add", + + "MENU_ACCESS_CONTROL": "Menu Access Control", + "EDIT_MODE": "Edit Mode", + "FOR": "For", + "RELOAD": "Reload", + "SHOW_ALL": "Show All", + "ONLY_MAIN_MENU": "Only Main Menu", + + "NO_DATA_AVAILABLE": "No data available", + "NO": "No", + "MENU_ITEM_NAME": "Menu Item Name", + "VIEW": "View", + "CREATE": "Create", + "EDIT": "Edit", + "DELETE": "Delete", + "QUERY": "Query", + "EXPORT": "Export", + "SYNC": "Sync", + "editMode": "Edit Mode", + "setupCode": "Setup Code", + "value": "Value", + "schedulerTimer": "Scheduler Timer", + "schedulerTimerTooltip": "Time interval for scheduler", + "leaseTaxCode": "Lease Tax Code", + "taxCodeTooltip": "The tax code for the lease", + "vesselConfProcessLimit": "Vessel Configuration Process Limit", + "vesselConfProcessLimitTooltip": "Limit for the vessel configuration process", + "rowToDisplay": "Rows to Display", + "rowToDisplayTooltip": "Number of rows to display in the UI", + "linkToDisplay": "Link to Display", + "linkToDisplayTooltip": "URL to display on the page", + "rowToAdd": "Rows to Add", + "rowToAddTooltip": "Number of rows to add to the table", + "lovRowToDisplay": "LOV Rows to Display", + "lovRowToDisplayTooltip": "Rows for LOV (List of Values) to display", + "lovLinkToDisplay": "LOV Link to Display", + "lovLinkToDisplayTooltip": "URL for the LOV link", + "oidServerName": "OID Server Name", + "oidServerNameTooltip": "Name of the OID server", + "oidBase": "OID Base", + "oidBaseTooltip": "Base URL for OID", + "oidAdminUser": "OID Admin User", + "oidAdminUserTooltip": "Admin user for OID access", + "oidServerPort": "OID Server Port", + "oidServerPortTooltip": "Port number for the OID server", + + + "companyDisplayName": "Company Display Name", + "systemParameter": "System Parameter", + "userDefaultGroup": "User Default Group", + "defaultDepartment": "Default Department", + "defaultPosition": "Default Position", + "singleCharge": "Single Charge", + "firstDayOftheWeek": "First Day of The Week", + "hourPerShift": "Hour per Shift", + "cnBillingFrequency": "CN Billing Frequency", + "billingDepartmentCode": "Billing Department Code", + "basePriceList": "Base Price List", + "nonContainerServiceOrder": "Non-Container Service Order", + "ediMaeSchedulerONOFF": "EDI MAE Scheduler ON/OFF", + "ediSchedulerONOFF": "EDI Scheduler ON/OFF", + "uploadLogo": "Upload Logo", + "accessType": "Access Type", + "add": "ADD", + "modules": "Modules", + "loading": "Loading ...", + "name": "Name", + "default": "Default", + "description": "Description", + "addModules": "Add Modules", + "edit": "Edit", + "delete": "Delete", + "usersPerPage": "Users per page", + "of": "of", + "users": "users", + "addAccessType": "Add Access Type", + "cancel": "Cancel", + "areYouSureDelete": "Are You Sure Want to delete?", + "updateAccessType": "Update Access Type", + "update": "Update", + + "SEQ_GENERATOR": "Sequence Generator", + "CURRENT_NO": "Current No", + "NAME": "Name", + "PREFIX": "Prefix", + "SEPARATOR": "Separator", + "SEQUENCE_SIZE": "Sequence Size", + "REPORT": "Report", + "REPORT_RUNNER": "Report Runner", + + "REPORT_NAME": "Report Name", + "REPORT_DESCRIPTION": "Report Description", + "ACTIVE": "Active", + "FOLDER_NAME": "Folder Name", + "ACTION": "Action", + "SET_UP": "Set Up", + + "USERS_PER_PAGE": "Users per page", + "OF": "of", + "USERS": "users", + "ARE_YOU_SURE": "Are you sure you want to delete?", + "CANCEL": "Cancel", + "GO_TO": "Go To", + "ALL_REPORTS": "All Reports", + "ALL_REPORT": "All Report", + "REPORT_BUILDER_SQL": "Report Builder (SQL)", + "REPORT_BUILDER_URL": "Report Builder (URL)", + "LOADING_MESSAGE": "Dashboard could be found. Loading..", + "START_FROM_SCRATCH": "Start from scratch", + "IMPORT_TEMPLATE": "Import from a template", + "IMPORT_PUBLIC_PROJECT": "Import from public project", + "DELETE_CONFIRMATION": "Are You Sure Want to delete?", + + "LAST_UPDATED_ON": "Last Updated On:", + "CREATE_NEW_REPORT": "Create New Report", + "ADD_MODE": "Add Mode", + + "ENTER_NAME": "Enter name", + "DESCRIPTION": "Description", + "ENTER_DESCRIPTION": "Enter Description", + + "SUBMIT": "Submit", + "home": "Home", + "dashboard": "Dashboard", + "all_dashboard": "All Dashboard", + "dashboard_builder": "Dashboard Builder", + "dashboard_found": "Dashboard could be found. Loading..", + "loading": "Loading ...", + "last_updated": "Last Updated On", + "start_from_scratch": "Start from scratch", + "import_template": "Import from a template", + "import_public_project": "Import from public project", + "delete_confirmation": "Are You Sure Want to delete?", + "cancel": "Cancel", + "delete": "Delete", + "Dashboard_builder": "Dashboard Builder", + "Dashboard_runner": "Dashboard Runner", + "Go_to": "Go To", + "Dashboard_Name": "Dashboard Name", + "Description": "Description", + "Security_Profile": "Security Profile", + "Add_to_home": "Add to home", + "Action": "Action", + "Delete": "Delete", + "Who_Column": "Who Column", + "Account_ID": "Account ID", + "Created_At": "Created At", + "Created_By": "Created By", + "Updated_At": "Updated At", + "Updated_By": "Updated By", + "Start_from_scratch": "Start from scratch", + "Import_from_a_template": "Import from a template", + "Import_from_public_project": "Import from public project", + "Are_you_sure_to_delete": "Are you sure you want to delete?", + "define_dashboard": "Define Dashboard", + "add_mode": "Add Mode", + "dashboard_name_label": "Dashboard Name", + "dashboard_name_placeholder": "Enter Dashboard Name", + "security_profile_label": "Security Profile", + "security_profile_placeholder": "Enter Security Profile", + "description_label": "Description", + "description_placeholder": "Enter Description", + "add_to_dashboard_label": "Add to Dashboard", + "back_button": "BACK", + "submit_button": "SUBMIT", + "ACTIVITIES": "Activities", + "SUGGESTION_FOR_YOU": "Suggestion For You", + "LOADING": "Loading ...", + "NOTIFICATION_NOT_FOUND": "Notification could be found.", + "SUGGESTION_NOT_FOUND": "Suggestion could be found.", + "SERVICE": "Service", + "Last Updated On": "Last Updated On", + "REPORT_BUILDER_2": "Report Builder 2", + "REPORT_RUNNER": "Report Runner", + "ADD": "ADD", + "SET_UP": "SET UP", + "REPORT_NAME": "Report Name", + "REPORT_DESCRIPTION": "Report Description", + "ACTIVE": "Active", + "ACTION": "Action", + "DELETE": "Delete", + "WHO_COLUMN": "Who Column", + "ACCOUNT_ID": "Account ID", + "CREATED_AT": "Created At", + "CREATED_BY": "Created By", + "UPDATED_AT": "Updated At", + "UPDATED_BY": "Updated By", + "DELETE_CONFIRMATION": "Are You Sure Want to delete?", + "USERGROUP_NO": "User Group No", + "GROUP_NAME": "Group Name", + "GROUP_DESC": "Description", + "GROUP_LEVEL": "Group Level", + "STATUS": "Status", + "UPDATED_DATE": "Updated Date", + + "RECORDS_PER_PAGE": "Record per page", + "IMPORT_FILE": "Import File", + + "UPDATE": "Update", + "ARE_YOU_SURE_DELETE": "Are You Sure Want to delete?", + "THIS_FIELD_REQUIRED": "*This field is Required", + "NO": "No.", + "MENU_ITEM_NAME": "Menu Item Name", + "ID": "ID", + "SEQUENCE": "Sequence", + "MODULE_NAME": "Module Name", + "MENU_ACTION_LINK": "Menu Action Link", + "STATUS": "Status", + "SUB_MENU": "Sub Menu", + "video_Field2": "video_Field2", + "video_Field": "video_Field", + "numadd": "numadd", + "Support": "Support", + "about": "about", + "Button_Field2": "Button_Field2", + "autotest": "autotest", + "Childform": "Childform", + "Test2": "Test2", + "Chtes2": "Chtes2", + "documentsequenc": "documentsequenc", + "state_name": "state_name", + "Currency": "Currency", + "token_name": "token_name", + "state": "state", + "Adv5": "Adv5", + "Adv4": "Adv4", + "Adv3": "Adv3", + "addition": "addition", + "automulti": "automulti", + "calculated_Field": "calculated_Field", + "counrymulti": "counrymulti", + "Paragraph_Field2": "Paragraph_Field2", + "Number_Field": "Number_Field", + "Basicp1": "Basicp1", + "Sum": "Sum", + "ButtonUpdate": "ButtonUpdate", + "datagrid_Field": "datagrid_Field", + "Email_Field": "Email_Field", + "audio_Field2": "audio_Field2", + "QRCode_Field2": "QRCode_Field2", + "dylist": "dylist", + "Basicp3": "Basicp3", + "Basicp2": "Basicp2", + "stmlit": "stmlit", + "1ega": "1ega", + "Country": "Country", + "BarCode_Field2": "BarCode_Field2", + "Imageupload_Field": "Imageupload_Field", + "dy2": "dy2", + "name2": "name2", + "idfemale": "idfemale", + "dy1": "dy1", + "Url_Field2": "Url_Field2", + "t1": "t1", + "age2": "age2", + "t2": "t2", + "age1": "age1", + "Sum2": "Sum2", + "t4": "t4", + "Decimal_Field2": "Decimal_Field2", + "Description": "Description", + "gender": "gender", + "select_Field": "select_Field", + "QRCode_Field": "QRCode_Field", + "Datetime_Field": "Datetime_Field", + "sum": "sum", + "test1": "test1", + "Test11": "Test11", + "Checkout_Field": "Checkout_Field", + "Ad6": "Ad6", + "picupload": "picupload", + "Textarea_Field": "Textarea_Field", + "Textarea": "Textarea", + "Ad8": "Ad8", + "Ad7": "Ad7", + "Ad9": "Ad9", + "num1": "num1", + "multiplication": "multiplication", + "Date_Field": "Date_Field", + "num3": "num3", + "num2": "num2", + "Token_registery": "Token_registery", + "dymulti": "dymulti", + "Toggle_Switch": "Toggle_Switch", + "last_name": "last_name", + "atoc": "atoc", + "Percentage_Field2": "Percentage_Field2", + "Test22": "Test22", + "Date_Field2": "Date_Field2", + "default_Prce": "default_Prce", + "token": "token", + "test2": "test2", + "test3": "test3", + "dymlti1": "dymlti1", + "Fileupload_Field2": "Fileupload_Field2", + "audio_Field": "audio_Field", + "mobile_number": "mobile_number", + "Decimal_Field": "Decimal_Field", + "country": "country", + "ismale": "ismale", + "Currency2": "Currency2", + "Name": "Name", + "atc2": "atc2", + "data_grid_Field": "data_grid_Field", + "BarCode_Field": "BarCode_Field", + "Imageupload_Field2": "Imageupload_Field2", + "recaptcha2": "recaptcha2", + "Buttonupdate2": "Buttonupdate2", + "test": "test", + "atdy1": "atdy1", + "Phone_Number2": "Phone_Number2", + "atdy2": "atdy2", + "Sttest": "Sttest", + "Percentage_Field": "Percentage_Field", + "Textarea2": "Textarea2", + "Url_Field": "Url_Field", + "Active": "Active", + "dymlt2": "dymlt2", + "Paragraph_Field": "Paragraph_Field", + "State": "State", + "district": "district", + "name": "name", + "UserId_Field": "UserId_Field", + "Email_Field2": "Email_Field2", + "Static": "Static", + "District": "District", + "about_yourself": "about_yourself", + "datagrid_Field2": "datagrid_Field2", + "Toggle_Switch2": "Toggle_Switch2", + "Dv2": "Dv2", + "Dynamic": "Dynamic", + "description": "description", + "number1": "number1", + "Phone_Number": "Phone_Number", + "Fileupload_Field": "Fileupload_Field", + "number2": "number2", + "Value_List_Field": "Value_List_Field", + "Value_List_Field2": "Value_List_Field2", + "district_name": "district_name", + "OneToOne": "OneToOne", + "recaptcha": "recaptcha", + "stmmlt2": "stmmlt2", + "country_name": "country_name", + "Dependent_Dropdown_Field": "Dependent_Dropdown_Field", + "Adv1": "Adv1", + "OneToManyExtension": "OneToManyExtension", + "Datetime_Field2": "Datetime_Field2", + "country_list": "country_list", + "Textarea_Field2": "Textarea_Field2", + "Defatest": "Defatest", + "Approved_Field": "Approved_Field", + "select_Field2": "select_Field2", + "Password_Field": "Password_Field", + "age": "age", + "Button_Field": "Button_Field" +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/hi.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/hi.json new file mode 100644 index 0000000..8f6d890 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/i18n/hi.json @@ -0,0 +1,224 @@ +{ + "BREADCRUMB_HOME": "मुखपृष्ठ", + "BREADCRUMB_ABOUT_US": "हमारे बारे में", + "ABOUT_TITLE": "हमारे बारे में", + "SETUP": "सेटअप", + "SETUP_TOOLS": "सेटअप टूल्स", + "USER_MAINTENANCE": "उपयोगकर्ता रखरखाव", + "REPORTS": "रिपोर्ट्स", + "REPORTS_DESCRIPTION": "रिपोर्ट्स विवरण", + "USER_GROUP_MAINTENANCE": "उपयोगकर्ता समूह रखरखाव", + "ABOUT_DESCRIPTION": "यदि आपके पास पहुँच है, तो नए उपयोगकर्ताओं के लिए नया प्रोजेक्ट बनाएं। अगर आपके पास पहुँच नहीं है, तो कृपया व्यवस्थापक से संपर्क करें।", + "HOME": "मुख्य पृष्ठ", + "SECURITY": "सुरक्षा", + "MENU_MAINTENANCE": "मेनू रखरखाव", + "MAIN_MENU": "मुख्य मेनू", + "DOWNLOAD_TEMPLATE": "टेम्प्लेट डाउनलोड करें", + "IMPORT": "आयात करें", + "EXPORT_XLSX": "XLSX के रूप में निर्यात करें", + "ADD": "जोड़ें", + "MENU_ACCESS_CONTROL": "मेनू एक्सेस कंट्रोल", + "EDIT_MODE": "संपादन मोड", + "FOR": "के लिए", + "RELOAD": "रिलोड करें", + "SHOW_ALL": "सभी दिखाएं", + "ONLY_MAIN_MENU": "केवल मुख्य मेनू", + "NO_DATA_AVAILABLE": "कोई डेटा उपलब्ध नहीं है", + "NO": "संख्या", + "MENU_ITEM_NAME": "मेनू आइटम नाम", + "VIEW": "देखें", + "CREATE": "बनाएं", + "EDIT": "संपादित करें", + "DELETE": "हटाएं", + "QUERY": "क्वेरी", + "EXPORT": "निर्यात करें", + "SYNC": "सिंक करें", + "editMode": "संपादन मोड", + "setupCode": "सेटअप कोड", + "value": "मूल्य", + "schedulerTimer": "समय सारणी टाइमर", + "schedulerTimerTooltip": "समय सारणी के लिए समय अंतराल", + "leaseTaxCode": "लीज़ कर कोड", + "taxCodeTooltip": "लीज़ के लिए कर कोड", + "vesselConfProcessLimit": "जहाज कॉन्फ़िगरेशन प्रक्रिया सीमा", + "vesselConfProcessLimitTooltip": "जहाज कॉन्फ़िगरेशन प्रक्रिया के लिए सीमा", + "rowToDisplay": "दिखाने के लिए पंक्तियाँ", + "rowToDisplayTooltip": "यूआई में दिखाने के लिए पंक्तियों की संख्या", + "linkToDisplay": "दिखाने के लिए लिंक", + "linkToDisplayTooltip": "पृष्ठ पर दिखाने के लिए URL", + "rowToAdd": "जोड़ने के लिए पंक्तियाँ", + "rowToAddTooltip": "तालिका में जोड़ने के लिए पंक्तियों की संख्या", + "lovRowToDisplay": "LOV पंक्तियाँ दिखाने के लिए", + "lovRowToDisplayTooltip": "मूल्यों की सूची दिखाने के लिए पंक्तियाँ", + "lovLinkToDisplay": "LOV लिंक दिखाने के लिए", + "lovLinkToDisplayTooltip": "LOV लिंक के लिए URL", + "oidServerName": "OID सर्वर का नाम", + "oidServerNameTooltip": "OID सर्वर का नाम", + "oidBase": "OID बेस", + "oidBaseTooltip": "OID के लिए आधार URL", + "oidAdminUser": "OID एडमिन यूज़र", + "oidAdminUserTooltip": "OID एक्सेस के लिए एडमिन यूज़र", + "oidServerPort": "OID सर्वर पोर्ट", + "oidServerPortTooltip": "OID सर्वर के लिए पोर्ट संख्या", + "userDefaultGroup": "उपयोगकर्ता डिफ़ॉल्ट समूह", + "defaultDepartment": "डिफ़ॉल्ट विभाग", + "defaultPosition": "डिफ़ॉल्ट स्थिति", + "singleCharge": "एकल शुल्क", + "firstDayOftheWeek": "सप्ताह का पहला दिन", + "hourPerShift": "प्रति शिफ्ट घंटा", + "cnBillingFrequency": "सीएन बिलिंग आवृत्ति", + "billingDepartmentCode": "बिलिंग विभाग कोड", + "basePriceList": "बेस मूल्य सूची", + "nonContainerServiceOrder": "गैर-कंटेनर सेवा आदेश", + "ediMaeSchedulerONOFF": "ईडीआई एमएई शेड्यूलर ऑन/ऑफ़", + "ediSchedulerONOFF": "ईडीआई शेड्यूलर ऑन/ऑफ़", + "uploadLogo": "लोगो अपलोड करें", + "companyDisplayName": "कंपनी डिस्प्ले नाम", + "systemParameter": "सिस्टम पैरामीटर", + "accessType": "एक्सेस प्रकार", + "add": "जोड़ें", + "modules": "मॉड्यूल्स", + "loading": "लोड हो रहा है ...", + "name": "नाम", + "default": "डिफ़ॉल्ट", + "description": "विवरण", + "addModules": "मॉड्यूल जोड़ें", + "edit": "संपादित करें", + "delete": "हटाएं", + "usersPerPage": "प्रति पृष्ठ उपयोगकर्ता", + "of": "का", + "users": "उपयोगकर्ता", + "addAccessType": "अक्सेस प्रकार जोड़ें", + "cancel": "रद्द करें", + "areYouSureDelete": "क्या आप निश्चित हैं कि आप हटाना चाहते हैं?", + "updateAccessType": "एक्सेस प्रकार अपडेट करें", + "update": "अद्यतन करें", + "SEQ_GENERATOR": "क्रम जनरेटर", + "CURRENT_NO": "वर्तमान संख्या", + "NAME": "नाम", + "PREFIX": "प्रिफिक्स", + "SEPARATOR": "विभाजक", + "SEQUENCE_SIZE": "सीक्वेंस आकार", + "REPORT": "रिपोर्ट", + "REPORT_RUNNER": "रिपोर्ट रनर", + "REPORT_NAME": "रिपोर्ट नाम", + "REPORT_DESCRIPTION": "रिपोर्ट विवरण", + "API_REGISTERY": "एपीआई रजिस्ट्री", + "API_REGISTERY_DESCRIPTION": "एपीआई रजिस्ट्री विवरण", + "ACTIVE": "सक्रिय", + "FOLDER_NAME": "फ़ोल्डर नाम", + "ACTION": "क्रिया", + "SET_UP": "सेट अप", + "GO_TO": "जाएं", + "USERS_PER_PAGE": "प्रति पृष्ठ उपयोगकर्ता", + "OF": "का", + "USERS": "उपयोगकर्ता", + "ARE_YOU_SURE": "क्या आप वाकई इसे हटाना चाहते हैं?", + "CANCEL": "रद्द करें", + "ALL_REPORTS": "सभी रिपोर्ट्स", + "ALL_REPORT": "सभी रिपोर्ट", + "REPORT_BUILDER_SQL": "रिपोर्ट बिल्डर (SQL)", + "REPORT_BUILDER_URL": "रिपोर्ट बिल्डर (URL)", + "LOADING_MESSAGE": "डैशबोर्ड पाया जा सकता है। लोड हो रहा है..", + "START_FROM_SCRATCH": "शुरू से शुरू करें", + "IMPORT_TEMPLATE": "टेम्पलेट से आयात करें", + "IMPORT_PUBLIC_PROJECT": "सार्वजनिक परियोजना से आयात करें", + "DELETE_CONFIRMATION": "क्या आप वाकई हटाना चाहते हैं?", + "LAST_UPDATED_ON": "अंतिम अपडेट:", + "CREATE_NEW_REPORT": "नई रिपोर्ट बनाएं", + "ADD_MODE": "जोड़ने का मोड", + "NAME": "नाम", + "ENTER_NAME": "नाम दर्ज करें", + "DESCRIPTION": "विवरण", + "ENTER_DESCRIPTION": "विवरण दर्ज करें", + "ACTIVE": "सक्रिय", + "CANCEL": "रद्द करें", + "SUBMIT": "जमा करें", + "home": "होम", + "dashboard": "डैशबोर्ड", + "all_dashboard": "सभी डैशबोर्ड", + "dashboard_builder": "डैशबोर्ड बिल्डर", + "dashboard_found": "डैशबोर्ड मिल गया। लोड हो रहा है..", + "loading": "लोड हो रहा है ...", + "last_updated": "अंतिम अद्यतन", + "start_from_scratch": "शुरुआत से शुरू करें", + "import_template": "टेम्पलेट से आयात करें", + "import_public_project": "सार्वजनिक परियोजना से आयात करें", + "delete_confirmation": "क्या आप वाकई हटाना चाहते हैं?", + "cancel": "रद्द करें", + "delete": "हटाएं", + "Dashboard_builder": "डैशबोर्ड बिल्डर", + "Go_to": "जाएं", + "Dashboard_Name": "डैशबोर्ड का नाम", + "Description": "विवरण", + "Security_Profile": "सुरक्षा प्रोफ़ाइल", + "Add_to_home": "होम पर जोड़ें", + "Action": "क्रिया", + "Delete": "हटाएं", + "Who_Column": "कौन कॉलम", + "Account_ID": "खाता आईडी", + "Created_At": "बनाया गया", + "Created_By": "बनाने वाला", + "Updated_At": "अपडेट किया गया", + "Updated_By": "अपडेट करने वाला", + "Start_from_scratch": "शुरू से शुरू करें", + "Import_from_a_template": "टेम्पलेट से आयात करें", + "Import_from_public_project": "सार्वजनिक प्रोजेक्ट से आयात करें", + "Are_you_sure_to_delete": "क्या आप सच में हटाना चाहते हैं?", + "Dashboard_runner": "डैशबोर्ड रनर", + "define_dashboard": "डैशबोर्ड परिभाषित करें", + "add_mode": "जोड़ने का मोड", + "dashboard_name_label": "डैशबोर्ड का नाम", + "dashboard_name_placeholder": "डैशबोर्ड का नाम दर्ज करें", + "security_profile_label": "सुरक्षा प्रोफाइल", + "security_profile_placeholder": "सुरक्षा प्रोफाइल दर्ज करें", + "description_label": "विवरण", + "description_placeholder": "विवरण दर्ज करें", + "add_to_dashboard_label": "डैशबोर्ड में जोड़ें", + "back_button": "वापस", + "submit_button": "सबमिट", + "ACTIVITIES": "गतिविधियाँ", + "SUGGESTION_FOR_YOU": "आपके लिए सुझाव", + "LOADING": "लोड हो रहा है ...", + "NOTIFICATION_NOT_FOUND": "सूचना मिल सकती है।", + "SUGGESTION_NOT_FOUND": "सुझाव मिल सकता है।", + "SERVICE": "सेवा", + "Last Updated On": "आखरी बार अपडेट किया गया", + "REPORT_BUILDER_2": "रिपोर्ट बिल्डर 2", + "REPORT_RUNNER": "रिपोर्ट रनर", + "ADD": "जोड़ें", + "SET_UP": "सेट अप करें", + "REPORT_NAME": "रिपोर्ट का नाम", + "REPORT_DESCRIPTION": "रिपोर्ट विवरण", + "ACTIVE": "सक्रिय", + "ACTION": "क्रिया", + "DELETE": "हटाएँ", + "WHO_COLUMN": "कौन कॉलम", + "ACCOUNT_ID": "खाता आईडी", + "CREATED_AT": "बनाया गया", + "CREATED_BY": "द्वारा बनाया गया", + "UPDATED_AT": "अपडेट किया गया", + "UPDATED_BY": "द्वारा अपडेट किया गया", + "DELETE_CONFIRMATION": "क्या आप वाकई डिलीट करना चाहते हैं?", + "USERGROUP_NO": "उपयोगकर्ता समूह संख्या", + "GROUP_NAME": "समूह नाम", + "GROUP_DESC": "विवरण", + "GROUP_LEVEL": "समूह स्तर", + "STATUS": "स्थिति", + "UPDATED_DATE": "अद्यतन तिथि", + "RECORDS_PER_PAGE": "प्रति पृष्ठ रिकॉर्ड", + "IMPORT_FILE": "फ़ाइल आयात करें", + "UPDATE": "अद्यतन करें", + "ARE_YOU_SURE_DELETE": "क्या आप वाकई इसे हटाना चाहते हैं?", + "THIS_FIELD_REQUIRED": "*यह फ़ील्ड आवश्यक है", + "NO": "संख्या", + "MENU_ITEM_NAME": "मेनू आइटम नाम", + "ID": "आईडी", + "SEQUENCE": "क्रम", + "MODULE_NAME": "मॉड्यूल नाम", + "MENU_ACTION_LINK": "मेनू क्रिया लिंक", + "STATUS": "स्थिति", + "SUB_MENU": "उप मेनू", + "ACTION": "क्रिया", + "BUILDER ITem": "" +} \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/2021-12-24_1662642503238.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/2021-12-24_1662642503238.png new file mode 100644 index 0000000..3a1c499 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/2021-12-24_1662642503238.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/403.webp b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/403.webp new file mode 100644 index 0000000..3084cda Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/403.webp differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/Header.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/Header.png new file mode 100644 index 0000000..7c31ed6 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/Header.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/HeaderLines.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/HeaderLines.png new file mode 100644 index 0000000..aeb32c8 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/HeaderLines.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/MultipleLines.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/MultipleLines.png new file mode 100644 index 0000000..15c6c0f Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/MultipleLines.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/OnlyLines.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/OnlyLines.png new file mode 100644 index 0000000..57cc6c3 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/OnlyLines.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/Web-Page-Background-Color.jpg b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/Web-Page-Background-Color.jpg new file mode 100644 index 0000000..d9a6044 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/Web-Page-Background-Color.jpg differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/copyfromPrj.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/copyfromPrj.png new file mode 100644 index 0000000..557df67 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/copyfromPrj.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/copytemplate.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/copytemplate.png new file mode 100644 index 0000000..f771715 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/copytemplate.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/database.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/database.png new file mode 100644 index 0000000..01622c7 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/database.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/fromscratch.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/fromscratch.png new file mode 100644 index 0000000..e51ca35 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/fromscratch.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/git.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/git.png new file mode 100644 index 0000000..89268b1 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/git.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/icon/cradiant.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/icon/cradiant.png new file mode 100644 index 0000000..620640a Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/icon/cradiant.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/icon/logo.ico b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/icon/logo.ico new file mode 100644 index 0000000..8081c7c Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/icon/logo.ico differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/icon/micrologo.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/icon/micrologo.png new file mode 100644 index 0000000..7334d56 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/icon/micrologo.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/icon/sitelogo.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/icon/sitelogo.png new file mode 100644 index 0000000..41e834f Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/icon/sitelogo.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/images.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/images.png new file mode 100644 index 0000000..e8798a3 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/images.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/logo.svg b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/logo.svg new file mode 100644 index 0000000..4abf5f5 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/logo.svg @@ -0,0 +1,28 @@ + + + my vector image + + + + + Layer 1 + + + +

+ Sprin +

+
+ +

+ Gular +

+
+
+ + +
diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/micro logo.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/micro logo.png new file mode 100644 index 0000000..7334d56 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/micro logo.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/new.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/new.png new file mode 100644 index 0000000..b114da1 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/new.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/profile-icon.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/profile-icon.png new file mode 100644 index 0000000..bf82252 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/profile-icon.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/profile1.jpg b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/profile1.jpg new file mode 100644 index 0000000..1858e45 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/profile1.jpg differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/profile3.jpg b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/profile3.jpg new file mode 100644 index 0000000..855bfd1 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/profile3.jpg differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/qr-code.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/qr-code.png new file mode 100644 index 0000000..9199216 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/qr-code.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/view.jpg b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/view.jpg new file mode 100644 index 0000000..40bd299 Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/view.jpg differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/who.png b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/who.png new file mode 100644 index 0000000..4311a3f Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/assets/images/who.png differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/environments/environment.prod.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/environments/environment.prod.ts new file mode 100644 index 0000000..f038c84 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/environments/environment.prod.ts @@ -0,0 +1,17 @@ +export const environment = { + production: true, + appName: 'My Application', + version: '11.2.13', + subVersion: '2021.05.13-01', + apiUrl: 'http://localhost:3000', + whiteUrl: 'http://localhost:3000', + blackUrl: 'http://localhost:3000/login', + + // changeble url // port + captchaSiteKey: '6LfrdSUpAAAAALkYDmnvdX3GLLCArgPWNHfXasjP', + + //Deployment configs + + + +}; diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/environments/environment.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/environments/environment.ts new file mode 100644 index 0000000..6bfca3d --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/environments/environment.ts @@ -0,0 +1,16 @@ +export const environment = { + production: false, + appName: 'My Application', + version: '11.2.13', + subVersion: '2021.05.13-01', + apiUrl: 'http://localhost:3000', + whiteUrl: 'http://localhost:3000', + blackUrl: 'http://localhost:3000/login', + + // changeblelocal configs url + captchaSiteKey: '6LfrdSUpAAAAALkYDmnvdX3GLLCArgPWNHfXasjP', + + //Deployment configs + + +}; diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/favicon.ico b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/favicon.ico new file mode 100644 index 0000000..997406a Binary files /dev/null and b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/favicon.ico differ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/index.html b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/index.html new file mode 100644 index 0000000..08d3e58 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/index.html @@ -0,0 +1,24 @@ + + + + + + cloudnSure + + + + + + + + + + + + + Application Loading... + + + + + diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/main.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/main.ts new file mode 100644 index 0000000..c7b673c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/main.ts @@ -0,0 +1,12 @@ +import { enableProdMode } from '@angular/core'; +import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; + +import { AppModule } from './app/app.module'; +import { environment } from './environments/environment'; + +if (environment.production) { + enableProdMode(); +} + +platformBrowserDynamic().bootstrapModule(AppModule) + .catch(err => console.error(err)); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/polyfills.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/polyfills.ts new file mode 100644 index 0000000..dcd18ea --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/polyfills.ts @@ -0,0 +1,53 @@ +/** + * This file includes polyfills needed by Angular and is loaded before the app. + * You can add your own extra polyfills to this file. + * + * This file is divided into 2 sections: + * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. + * 2. Application imports. Files imported after ZoneJS that should be loaded before your main + * file. + * + * The current setup is for so-called "evergreen" browsers; the last versions of browsers that + * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), + * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. + * + * Learn more in https://angular.io/guide/browser-support + */ + +/*************************************************************************************************** + * BROWSER POLYFILLS + */ + +/** + * By default, zone.js will patch all possible macroTask and DomEvents + * user can disable parts of macroTask/DomEvents patch by setting following flags + * because those flags need to be set before `zone.js` being loaded, and webpack + * will put import in the top of bundle, so user need to create a separate file + * in this directory (for example: zone-flags.ts), and put the following flags + * into that file, and then add the following code before importing zone.js. + * import './zone-flags'; + * + * The flags allowed in zone-flags.ts are listed here. + * + * The following flags will work for all browsers. + * + * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame + * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick + * (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames + * + * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js + * with the following flag, it will bypass `zone.js` patch for IE/Edge + * + * (window as any).__Zone_enable_cross_context_check = true; + * + */ + +/*************************************************************************************************** + * Zone JS is required by default for Angular itself. + */ +import 'zone.js'; // Included with Angular CLI. + + +/*************************************************************************************************** + * APPLICATION IMPORTS + */ diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/server/app.js b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/server/app.js new file mode 100644 index 0000000..a98674f --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/server/app.js @@ -0,0 +1,30 @@ + +const express = require('express'); +const { createProxyMiddleware } = require('http-proxy-middleware'); +const cors = require('cors') +const app = express(); +const proxy = require('express-http-proxy'); + +app.use(cors({ + origin: '*' +})) + +//Deployment configs +app.use('/repos', createProxyMiddleware({ target: 'https://try.gitea.io/api/v1', changeOrigin: true })); +app.use('/sureconnect', createProxyMiddleware({ target: 'http://43.205.154.152:30174', changeOrigin: true })); +app.use('/sureops', createProxyMiddleware({ target: 'http://43.205.154.152:31123', changeOrigin: true })); +app.use('/entityBuilder', createProxyMiddleware({ target: 'http://43.205.154.152:30171', changeOrigin: true })); +app.use('/surechat', createProxyMiddleware({ target: 'http://43.205.154.152:30172', changeOrigin: true })); +app.use('/jobpro', createProxyMiddleware({ target: 'http://43.205.154.152:30167', changeOrigin: true })); +app.use('/Surecommunication', createProxyMiddleware({ target: 'http://43.205.154.152:30187', changeOrigin: true })); +app.use('/surejob', createProxyMiddleware({ target: 'http://43.205.154.152:30188', changeOrigin: true })); +// app.use('/jobpro', createProxyMiddleware({ target: 'http://localhost:8087', changeOrigin: true })); +// app.use('/Surecommunication', createProxyMiddleware({ target: 'http://localhost:19002', changeOrigin: true })); +// app.use('/sureops', createProxyMiddleware({ target: 'http://localhost:9090', changeOrigin: true })); +// app.use('/', createProxyMiddleware({ target: 'http://localhost:8080', changeOrigin: true })); +// app.use('/', createProxyMiddleware({ target: 'http://localhost:9190', changeOrigin: true })); +// app.listen(3000); +// console.log('Node server running on port 3000'); +app.listen(3000, () => { + console.log("Server started in port 3000!"); +}); \ No newline at end of file diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/server/db.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/server/db.json new file mode 100644 index 0000000..16b3149 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/server/db.json @@ -0,0 +1,8 @@ +{ + "add": [ + { + "title": "todo", + "id": "Gosd82Z" + } + ] +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/server/package-lock.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/server/package-lock.json new file mode 100644 index 0000000..0d6968c --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/server/package-lock.json @@ -0,0 +1,537 @@ +{ + "name": "server", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@types/http-proxy": { + "version": "1.17.9", + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.9.tgz", + "integrity": "sha512-QsbSjA/fSk7xB+UXlCT3wHBy5ai9wOcNDWwZAtud+jXhwOM3l+EYZh8Lng4+/6n8uar0J7xILzqftJdJ/Wdfkw==", + "requires": { + "@types/node": "*" + } + }, + "@types/node": { + "version": "17.0.33", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.33.tgz", + "integrity": "sha512-miWq2m2FiQZmaHfdZNcbpp9PuXg34W5JZ5CrJ/BaS70VuhoJENBEQybeiYSaPBRNq6KQGnjfEnc/F3PN++D+XQ==" + }, + "accepts": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", + "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", + "requires": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + } + }, + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" + }, + "axios": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", + "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", + "requires": { + "follow-redirects": "^1.10.0" + } + }, + "body-parser": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", + "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", + "requires": { + "bytes": "3.1.0", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.7.2", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.7.0", + "raw-body": "2.4.0", + "type-is": "~1.6.17" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "requires": { + "fill-range": "^7.0.1" + } + }, + "bytes": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", + "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" + }, + "content-disposition": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", + "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", + "requires": { + "safe-buffer": "5.1.2" + } + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" + }, + "cookie": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", + "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" + }, + "cors": { + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", + "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", + "requires": { + "object-assign": "^4", + "vary": "^1" + } + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" + }, + "es6-promise": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", + "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" + }, + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" + }, + "express": { + "version": "4.17.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", + "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", + "requires": { + "accepts": "~1.3.7", + "array-flatten": "1.1.1", + "body-parser": "1.19.0", + "content-disposition": "0.5.3", + "content-type": "~1.0.4", + "cookie": "0.4.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.5", + "qs": "6.7.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.1.2", + "send": "0.17.1", + "serve-static": "1.14.1", + "setprototypeof": "1.1.1", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + } + }, + "express-http-proxy": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/express-http-proxy/-/express-http-proxy-1.6.3.tgz", + "integrity": "sha512-/l77JHcOUrDUX8V67E287VEUQT0lbm71gdGVoodnlWBziarYKgMcpqT7xvh/HM8Jv52phw8Bd8tY+a7QjOr7Yg==", + "requires": { + "debug": "^3.0.1", + "es6-promise": "^4.1.1", + "raw-body": "^2.3.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "requires": { + "ms": "^2.1.1" + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + } + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + } + }, + "follow-redirects": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.2.tgz", + "integrity": "sha512-yLR6WaE2lbF0x4K2qE2p9PEXKLDjUjnR/xmjS3wHAYxtlsI9MLLBJUZirAHKzUZDGLxje7w/cXR49WOUo4rbsA==" + }, + "forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" + }, + "http-errors": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", + "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.1", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.0" + } + }, + "http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "requires": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + } + }, + "http-proxy-middleware": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-1.0.5.tgz", + "integrity": "sha512-CKzML7u4RdGob8wuKI//H8Ein6wNTEQR7yjVEzPbhBLGdOfkfvgTnp2HLnniKBDP9QW4eG10/724iTWLBeER3g==", + "requires": { + "@types/http-proxy": "^1.17.4", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "lodash": "^4.17.19", + "micromatch": "^4.0.2" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" + }, + "ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" + }, + "micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" + }, + "mime-db": { + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", + "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==" + }, + "mime-types": { + "version": "2.1.32", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", + "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", + "requires": { + "mime-db": "1.49.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "negotiator": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", + "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "requires": { + "ee-first": "1.1.1" + } + }, + "parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + }, + "proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "requires": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + } + }, + "qs": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", + "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" + }, + "range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" + }, + "raw-body": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", + "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", + "requires": { + "bytes": "3.1.0", + "http-errors": "1.7.2", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + } + }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=" + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "send": { + "version": "0.17.1", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", + "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "~1.7.2", + "mime": "1.6.0", + "ms": "2.1.1", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "dependencies": { + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" + } + } + }, + "serve-static": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", + "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.1" + } + }, + "setprototypeof": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", + "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" + }, + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "requires": { + "is-number": "^7.0.0" + } + }, + "toidentifier": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", + "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" + }, + "type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + } + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" + } + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/server/package.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/server/package.json new file mode 100644 index 0000000..5ea1e92 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/server/package.json @@ -0,0 +1,18 @@ +{ + "name": "server", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "ISC", + "dependencies": { + "axios": "^0.21.1", + "cors": "^2.8.5", + "express": "^4.17.1", + "express-http-proxy": "^1.6.3", + "http-proxy-middleware": "^1.0.5" + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/styles.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/styles.scss new file mode 100644 index 0000000..5428d3e --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/styles.scss @@ -0,0 +1,198 @@ +@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css); +@import '~@clr/icons/clr-icons.min.css'; + +/* font set ==================== */ +@import url(https://fonts.googleapis.com/css?family=Athiti|Bai+Jamjuree|Chakra+Petch|Charmonman|Chonburi|Fahkwang|Itim|K2D|Kanit|KoHo|Kodchasan|Krub|Maitree|Mali|Mitr|Niramit|Pattaya|Pridi|Prompt|Sriracha|Srisakdi|Taviraj|Trirong); + +.font-athiti { font-family: 'Athiti', sans-serif; } +.font-bai-jamjuree { font-family: 'Bai Jamjuree', sans-serif; } +.font-chakra-petch { font-family: 'Chakra Petch', sans-serif; } +.font-charmonman { font-family: 'Charmonman', cursive; } +.font-chonburi { font-family: 'Chonburi', cursive; } +.font-fahkwang { font-family: 'Fahkwang', sans-serif; } +.font-itim { font-family: 'Itim', cursive; } +.font-k2d { font-family: 'K2D', sans-serif; } +.font-kodchasan { font-family: 'Kodchasan', sans-serif; } +.font-kanit { font-family: 'Kanit', sans-serif; } +.font-koHo { font-family: 'KoHo', sans-serif; } +.font-krub { font-family: 'Krub', sans-serif; } +.font-mali { font-family: 'Mali', cursive; } +.font-mitr { font-family: 'Mitr', sans-serif; } +.font-maitree { font-family: 'Maitree', serif; } +.font-niramit { font-family: 'Niramit', sans-serif; } +.font-pattaya { font-family: 'Pattaya', sans-serif; } +.font-pridi { font-family: 'Pridi', serif; } +.font-prompt { font-family: 'Prompt', sans-serif; } +.font-srisakdi { font-family: 'Srisakdi', cursive; } +.font-taviraj { font-family: 'Taviraj', serif; } +.font-sriracha { font-family: 'Sriracha', cursive; } +.font-trirong { font-family: 'Trirong', serif; } + +@font-face { + font-family: 'th-sarabun'; + src: url('./assets/fonts/THSarabun.ttf') format('truetype'), + url('/assets/fonts/THSarabun Bold.ttf') format('truetype'), + url('/assets/fonts/THSarabun Italic.ttf') format('truetype'), + url('/assets/fonts/THSarabun Bold Italic.ttf') format('truetype'); + } +.font-thsarabun { font-family: 'th-sarabun', cursive; font-size : 16pt; } + +.font-bold { font-weight: bold; } +.font-italic { font-style: italic; } +/* end font set ==================== */ + +.breadcrumb { + font-family: 'Trirong', serif; + margin-top: 0px; +} + +.breadcrumb-arrow { + height: 36px; + padding: 0; + line-height: 36px; + list-style: none; + background-color: #ebeceb +} +.breadcrumb-arrow li:first-child a { + border-radius: 4px 0 0 4px; + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px +} +.breadcrumb-arrow li, .breadcrumb-arrow li a, .breadcrumb-arrow li span { + display: inline-block; + vertical-align: top +} +.breadcrumb-arrow li:not(:first-child) { + margin-left: -5px +} +.breadcrumb-arrow li+li:before { + padding: 0; + content: "" +} +.breadcrumb-arrow li span { + padding: 0 10px +} +.breadcrumb-arrow li a, .breadcrumb-arrow li:not(:first-child) span { + height: 36px; + padding: 0 10px 0 25px; + line-height: 36px +} +.breadcrumb-arrow li:first-child a { + padding: 0 10px +} +.breadcrumb-arrow li a { + position: relative; + color: #fff; + text-decoration: none; + background-color: rgb(128, 130, 131); + border: 1px solid rgb(128, 130, 131); +} +.breadcrumb-arrow li:first-child a { + padding-left: 10px +} +.breadcrumb-arrow li a:after, .breadcrumb-arrow li a:before { + position: absolute; + top: -1px; + width: 0; + height: 0; + content: ''; + border-top: 18px solid transparent; + border-bottom: 18px solid transparent +} +.breadcrumb-arrow li a:before { + right: -10px; + z-index: 3; + border-left-color: rgb(128, 130, 131); + border-left-style: solid; + border-left-width: 11px +} +.breadcrumb-arrow li a:after { + right: -11px; + z-index: 2; + border-left: 11px solid #38393a +} +.breadcrumb-arrow li a:focus, .breadcrumb-arrow li a:hover { + background-color: #b7bbb7; + border: 1px solid #b7bbb7; + text-shadow: 1px 1px 1px rgb(20, 20, 20); +} +.breadcrumb-arrow li a:focus:before, .breadcrumb-arrow li a:hover:before { + border-left-color: #b7bbb7 +} +.breadcrumb-arrow li a:active { + background-color: #c5ccc5; + border: 1px solid #c5ccc5; +} +.breadcrumb-arrow li a:active:after, .breadcrumb-arrow li a:active:before { + border-left-color: #adb6ad; +} +.breadcrumb-arrow li span { + color: #7e8a83; +} + +.full-div { +padding: 0px 0px 0px 0px; +height: 100vh; +width: 100%; +margin-right: 0; +} + +.dg-wrapper { + margin-top: 0; + display: flex; + flex-direction: column; + height: 500px; +} + +.dg-wrapper-300 { + margin-top: 0; + display: flex; + flex-direction: column; + height: 300px; +} + +.dg-wrapper-400 { + margin-top: 0; + display: flex; + flex-direction: column; + height: 400px; +} + +.dg-wrapper-450 { + margin-top: 0; + display: flex; + flex-direction: column; + height: 450px; +} + +.dg-wrapper-500 { + display: flex; + flex-direction: column; + height: 500px; +} + +.dg-wrapper-600 { + display: flex; + flex-direction: column; + height: 600px; +} + +.dg-wrapper-700 { + display: flex; + flex-direction: column; + height: 700px; +} + +.dg-wrapper-800 { + display: flex; + flex-direction: column; + height: 800px; +} + +.float-left { + float: left !important; +} + +.float-right { + float: right !important; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/styles1.scss b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/styles1.scss new file mode 100644 index 0000000..2d5f160 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/styles1.scss @@ -0,0 +1,54 @@ +input[type=text],[type=date],[type=password] { + width: 100%; + padding: 15px 20px; + // margin: 3px 0; + background-color:rgb(255, 255, 255); + display: inline-block; + border: 1px solid #ccc; + border-radius: 4px; + box-sizing: border-box; +} +.required-field{ + color: red; +font-size: 18px; + +} +.green{ + background-color: rgb(156, 231, 156); + color: black; +} +.blue{ + background-color: #57abcf;//rgb(82, 87, 161); + color: black; +} +.td-title { + text-align: center; + width: 150px; +color: white; + font-weight: bold; + background-color: rgba(63, 122, 231, 0.863); + //color: rgb(24, 13, 13); +} +th{ + background-color:rgb(170, 169, 169); + font-weight: bold; +} +.td-content{ + text-align: left; +} +.delete,.heading{ + text-align: center; + color: red; +} +.section p { +background-color: rgb(206, 201, 201); + padding: 10px; + font-size: 18px; +} + +select{ + width: 100%; + padding: 5px 5px; + border: 1px solid #ccc; + border-radius: 4px; +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/test.ts b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/test.ts new file mode 100644 index 0000000..ae25f27 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/src/test.ts @@ -0,0 +1,16 @@ +// This file is required by karma.conf.js and loads recursively all the .spec and framework files + +import 'zone.js/testing'; +import { getTestBed } from '@angular/core/testing'; +import { + BrowserDynamicTestingModule, + platformBrowserDynamicTesting +} from '@angular/platform-browser-dynamic/testing'; + +// First, initialize the Angular testing environment. +getTestBed().initTestEnvironment( + BrowserDynamicTestingModule, + platformBrowserDynamicTesting(), { + teardown: { destroyAfterEach: false } +} +); diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/tsconfig.app.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/tsconfig.app.json new file mode 100644 index 0000000..82d91dc --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/tsconfig.app.json @@ -0,0 +1,15 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": [ + "src/main.ts", + "src/polyfills.ts" + ], + "include": [ + "src/**/*.d.ts" + ] +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/tsconfig.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/tsconfig.json new file mode 100644 index 0000000..b62b646 --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/tsconfig.json @@ -0,0 +1,21 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "compileOnSave": false, + "compilerOptions": { + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": true, + "declaration": false, + "downlevelIteration": true, + "experimentalDecorators": true, + "moduleResolution": "node", + "importHelpers": true, + "target": "ES2022", + "module": "ES2022", + "lib": [ + "ES2022", + "dom" + ], + "useDefineForClassFields": false + } +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/tsconfig.spec.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/tsconfig.spec.json new file mode 100644 index 0000000..092345b --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/tsconfig.spec.json @@ -0,0 +1,18 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/spec", + "types": [ + "jasmine" + ] + }, + "files": [ + "src/test.ts", + "src/polyfills.ts" + ], + "include": [ + "src/**/*.spec.ts", + "src/**/*.d.ts" + ] +} diff --git a/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/tslint.json b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/tslint.json new file mode 100644 index 0000000..67bcdea --- /dev/null +++ b/to_do_app_20250923_055620-to_do_app_20250923_055620-f-f/authsec_angular/frontend/angular-clarity-master/tslint.json @@ -0,0 +1,152 @@ +{ + "extends": "tslint:recommended", + "rules": { + "align": { + "options": [ + "parameters", + "statements" + ] + }, + "array-type": false, + "arrow-return-shorthand": true, + "curly": true, + "deprecation": { + "severity": "warning" + }, + "component-class-suffix": true, + "contextual-lifecycle": true, + "directive-class-suffix": true, + "directive-selector": [ + true, + "attribute", + "app", + "camelCase" + ], + "component-selector": [ + true, + "element", + "app", + "kebab-case" + ], + "eofline": true, + "import-blacklist": [ + true, + "rxjs/Rx" + ], + "import-spacing": true, + "indent": { + "options": [ + "spaces" + ] + }, + "max-classes-per-file": false, + "max-line-length": [ + true, + 140 + ], + "member-ordering": [ + true, + { + "order": [ + "static-field", + "instance-field", + "static-method", + "instance-method" + ] + } + ], + "no-console": [ + true, + "debug", + "info", + "time", + "timeEnd", + "trace" + ], + "no-empty": false, + "no-inferrable-types": [ + true, + "ignore-params" + ], + "no-non-null-assertion": true, + "no-redundant-jsdoc": true, + "no-switch-case-fall-through": true, + "no-var-requires": false, + "object-literal-key-quotes": [ + true, + "as-needed" + ], + "quotemark": [ + true, + "single" + ], + "semicolon": { + "options": [ + "always" + ] + }, + "space-before-function-paren": { + "options": { + "anonymous": "never", + "asyncArrow": "always", + "constructor": "never", + "method": "never", + "named": "never" + } + }, + "typedef": [ + true, + "call-signature" + ], + "typedef-whitespace": { + "options": [ + { + "call-signature": "nospace", + "index-signature": "nospace", + "parameter": "nospace", + "property-declaration": "nospace", + "variable-declaration": "nospace" + }, + { + "call-signature": "onespace", + "index-signature": "onespace", + "parameter": "onespace", + "property-declaration": "onespace", + "variable-declaration": "onespace" + } + ] + }, + "variable-name": { + "options": [ + "ban-keywords", + "check-format", + "allow-pascal-case" + ] + }, + "whitespace": { + "options": [ + "check-branch", + "check-decl", + "check-operator", + "check-separator", + "check-type", + "check-typecast" + ] + }, + "no-conflicting-lifecycle": true, + "no-host-metadata-property": true, + "no-input-rename": true, + "no-inputs-metadata-property": true, + "no-output-native": true, + "no-output-on-prefix": true, + "no-output-rename": true, + "no-outputs-metadata-property": true, + "template-banana-in-box": true, + "template-no-negated-async": true, + "use-lifecycle-interface": true, + "use-pipe-transform-interface": true + }, + "rulesDirectory": [ + "codelyzer" + ] +} \ No newline at end of file