+
diff --git a/packages/frontend/src/index.dev.ts b/packages/frontend/src/index.dev.ts
deleted file mode 100644
index ab525f9..0000000
--- a/packages/frontend/src/index.dev.ts
+++ /dev/null
@@ -1,280 +0,0 @@
-import { EditorView } from "@codemirror/view";
-import type { API } from "backend";
-import type { AnalysisRequestDTO, TemplateDTO, UserDTO } from "shared";
-import { defineApp } from "./app";
-import type { CaidoSDK } from "./types";
-import { clone } from "./utils";
-
-// This is a mock backend for the SDK
-// This is only for development purposes
-const templates: TemplateDTO[] = [
- {
- id: "1",
- requestId: "1",
- authSuccessRegex: "HTTP/1[.]1 200",
- meta: {
- method: "GET",
- host: "localhost",
- path: "/",
- port: 80,
- isTls: false,
- },
- rules: [
- {
- type: "UserRule",
- userId: "1",
- hasAccess: true,
- status: "Unexpected",
- },
- ],
- },
- {
- id: "2",
- requestId: "1",
- authSuccessRegex: "HTTP/1[.]1 200",
- meta: {
- method: "GET",
- host: "localhost",
- path: "/",
- port: 80,
- isTls: false,
- },
- rules: [
- {
- type: "UserRule",
- userId: "1",
- hasAccess: true,
- status: "Bypassed",
- },
- ],
- },
- {
- id: "3",
- requestId: "1",
- authSuccessRegex: "HTTP/1[.]1 200",
- meta: {
- method: "GET",
- host: "localhost",
- path: "/",
- port: 80,
- isTls: false,
- },
- rules: [
- {
- type: "UserRule",
- userId: "1",
- hasAccess: true,
- status: "Enforced",
- },
- ],
- },
-];
-
-const results: AnalysisRequestDTO[] = [
- {
- id: "1",
- userId: "1",
- requestId: "1",
- templateId: "1",
- },
-];
-
-const users: UserDTO[] = [
- {
- id: "1",
- name: "admin",
- roleIds: [],
- attributes: [],
- },
-];
-
-const backend: API & Record
= {
- onEvent: () => {},
- getRoles: () => {
- return [];
- },
- addRole: (name) => {
- return {
- id: Math.random().toString(),
- name,
- description: "",
- };
- },
- updateRole: (id, fields) => {
- return clone({
- id,
- ...fields,
- });
- },
- deleteRole: (id) => {},
- getUsers: () => {
- return users;
- },
- addUser: (name) => {
- return {
- id: Math.random().toString(),
- name,
- roleIds: [],
- attributes: [],
- };
- },
- updateUser: (id, fields) => {
- return clone({
- id,
- ...fields,
- });
- },
- deleteUser: (id) => {},
- getTemplates: () => {
- return templates;
- },
- clearTemplates: () => {
- templates.length = 0;
- },
- addTemplate: () => {
- const newTemplate = {
- id: Math.random().toString(),
- requestId: "1",
- authSuccessRegex: "HTTP/1[.]1 200",
- meta: {
- method: "GET",
- host: "localhost",
- path: "/",
- port: 80,
- isTls: false,
- },
- rules: [],
- };
-
- templates.push(newTemplate);
-
- return newTemplate;
- },
- updateTemplate: (id, fields) => {
- const template = templates.find((template) => template.id === id);
-
- if (template) {
- const newTemplate = clone({
- ...template,
- ...fields,
- });
-
- templates.splice(
- templates.findIndex((template) => template.id === id),
- 1,
- newTemplate,
- );
-
- return newTemplate;
- }
- },
- deleteTemplate: (id) => {
- const index = templates.findIndex((request) => request.id === id);
- if (index !== -1) {
- templates.splice(index, 1);
- }
- },
- toggleTemplateRole: (templateId, roleId) => {
- const template = templates.find((template) => template.id === templateId);
-
- if (template) {
- const newTemplate = clone(template);
- const currRule = newTemplate.rules.find((rule) => {
- return rule.type === "RoleRule" && rule.roleId === roleId;
- });
-
- if (currRule) {
- currRule.hasAccess = !currRule.hasAccess;
- } else {
- newTemplate.rules.push({
- type: "RoleRule",
- roleId,
- hasAccess: true,
- status: "Untested",
- });
- }
-
- templates.splice(
- templates.findIndex((template) => template.id === templateId),
- 1,
- newTemplate,
- );
-
- return newTemplate;
- }
- },
- toggleTemplateUser: (requestId, userId) => {
- const template = templates.find((template) => template.id === requestId);
-
- if (template) {
- const newTemplate = clone(template);
- const currRule = newTemplate.rules.find((rule) => {
- return rule.type === "UserRule" && rule.userId === userId;
- });
-
- if (currRule) {
- currRule.hasAccess = !currRule.hasAccess;
- } else {
- newTemplate.rules.push({
- type: "UserRule",
- userId,
- hasAccess: true,
- status: "Untested",
- });
- }
-
- templates.splice(
- templates.findIndex((template) => template.id === requestId),
- 1,
- newTemplate,
- );
-
- return newTemplate;
- }
- },
- getSettings: () => {
- return {
- autoCaptureRequests: "off",
- autoRunAnalysis: false,
- };
- },
- updateSettings: (newSettings) => {
- return newSettings;
- },
- runAnalysis: async () => {
- // Sleep 5000
- await new Promise((resolve) => setTimeout(resolve, 5000));
- },
- getResults: () => {
- return results;
- },
- getRequestResponse: async (id) => {
- return {
- type: "Ok",
- request: {
- id,
- raw: "hello",
- },
- response: {
- id,
- raw: "hello",
- },
- };
- },
-};
-
-const app = defineApp({
- backend,
- ui: {
- httpRequestEditor: () => ({
- getElement: () => document.createElement("div"),
- getEditorView: () => new EditorView(),
- }),
- httpResponseEditor: () => ({
- getElement: () => document.createElement("div"),
- getEditorView: () => new EditorView(),
- }),
- },
-} as unknown as CaidoSDK);
-
-app.mount("#app");
diff --git a/packages/frontend/src/styles/caido.css b/packages/frontend/src/styles/caido.css
new file mode 100644
index 0000000..23591f7
--- /dev/null
+++ b/packages/frontend/src/styles/caido.css
@@ -0,0 +1,72 @@
+:root {
+ /* Generated from https://uicolors.app/ */
+ /* If you need additional variants, use https://uicolors.app/ to generate them */
+ /* These variables are meant to be customized by Caido users */
+
+ /* Primary with #a0213e as a base color */
+ --c-primary-100: 357deg 78% 95%;
+ --c-primary-200: 354deg 76% 90%;
+ --c-primary-300: 353deg 76% 82%;
+ --c-primary-400: 352deg 75% 71%;
+ --c-primary-500: 350deg 71% 60%;
+ --c-primary-600: 348deg 61% 50%;
+ --c-primary-700: 346deg 66% 38%;
+ --c-primary-800: 345deg 64% 35%;
+ --c-primary-900: 342deg 60% 30%;
+
+ /* Secondary with #daa04a as a base color */
+ --c-secondary-100: 41deg 65% 89%;
+ --c-secondary-200: 40deg 66% 77%;
+ --c-secondary-300: 38deg 66% 65%;
+ --c-secondary-400: 36deg 66% 57%;
+ --c-secondary-500: 30deg 63% 50%;
+ --c-secondary-600: 25deg 65% 44%;
+ --c-secondary-700: 19deg 62% 37%;
+ --c-secondary-800: 15deg 56% 31%;
+ --c-secondary-900: 14deg 53% 26%;
+
+ /* Danger with #f58e97 as a base color */
+ --c-danger-100: 0deg 85% 95%;
+ --c-danger-200: 356deg 84% 90%;
+ --c-danger-300: 356deg 85% 82%;
+ --c-danger-400: 355deg 84% 76%;
+ --c-danger-500: 353deg 79% 60%;
+ --c-danger-600: 350deg 69% 50%;
+ --c-danger-700: 349deg 73% 41%;
+ --c-danger-800: 347deg 71% 35%;
+ --c-danger-900: 345deg 66% 30%;
+
+ /* Info with #88a2aa as a base color */
+ --c-info-100: 193deg 18% 90%;
+ --c-info-200: 194deg 18% 82%;
+ --c-info-300: 193deg 18% 69%;
+ --c-info-400: 194deg 17% 60%;
+ --c-info-500: 195deg 18% 43%;
+ --c-info-600: 198deg 18% 36%;
+ --c-info-700: 201deg 16% 31%;
+ --c-info-800: 200deg 13% 27%;
+ --c-info-900: hsl(204, 12%, 24%);
+
+ /* Success with #579c57 as a base color */
+ --c-success-100: 120deg 32% 93%;
+ --c-success-200: 118deg 32% 85%;
+ --c-success-300: 120deg 31% 73%;
+ --c-success-400: 120deg 28% 58%;
+ --c-success-500: 120deg 28% 48%;
+ --c-success-600: 120deg 31% 36%;
+ --c-success-700: 120deg 29% 29%;
+ --c-success-800: 122deg 25% 24%;
+ --c-success-900: 122deg 24% 20%;
+
+ /* Surface */
+ /* This is not generated from https://uicolors.app/ */
+ --c-surface-0: 24deg 12% 92%;
+ --c-surface-200: 0deg 0% 78%;
+ --c-surface-300: 0deg 0% 67%;
+ --c-surface-400: 0deg 0% 57%;
+ --c-surface-500: 0deg 0% 47%;
+ --c-surface-600: 0deg 0% 38%;
+ --c-surface-700: 224deg 9% 31%;
+ --c-surface-800: 224deg 10% 21%;
+ --c-surface-900: 225deg 10% 16%;
+}
\ No newline at end of file
diff --git a/packages/frontend/src/styles/primevue.css b/packages/frontend/src/styles/primevue.css
new file mode 100644
index 0000000..3d3920b
--- /dev/null
+++ b/packages/frontend/src/styles/primevue.css
@@ -0,0 +1,72 @@
+/* Primary and Surface Palettes */
+:root {
+ --p-primary-50: hsl(var(--c-primary-100));
+ --p-primary-100: hsl(var(--c-primary-100));
+ --p-primary-200: hsl(var(--c-primary-200));
+ --p-primary-300: hsl(var(--c-primary-300));
+ --p-primary-400: hsl(var(--c-primary-400));
+ --p-primary-500: hsl(var(--c-primary-500));
+ --p-primary-600: hsl(var(--c-primary-600));
+ --p-primary-700: hsl(var(--c-primary-700));
+ --p-primary-800: hsl(var(--c-primary-800));
+ --p-primary-900: hsl(var(--c-primary-900));
+ --p-primary-950: hsl(var(--c-primary-900));
+ --p-surface-0: hsl(var(--c-surface-0));
+ --p-surface-50: #f8fafc;
+ --p-surface-100: #f1f5f9;
+ --p-surface-200: hsl(var(--c-surface-200));
+ --p-surface-300: hsl(var(--c-surface-300));
+ --p-surface-400: hsl(var(--c-surface-400));
+ --p-surface-500: hsl(var(--c-surface-500));
+ --p-surface-600: hsl(var(--c-surface-600));
+ --p-surface-700: hsl(var(--c-surface-700));
+ --p-surface-800: hsl(var(--c-surface-800));
+ --p-surface-900: hsl(var(--c-surface-900));
+ --p-surface-950: hsl(var(--c-surface-900));
+ --p-content-border-radius: 6px;
+}
+
+/* Light Mode */
+:root {
+ --p-primary-color: var(--p-primary-500);
+ --p-primary-contrast-color: var(--p-surface-0);
+ --p-primary-hover-color: var(--p-primary-600);
+ --p-primary-active-color: var(--p-primary-700);
+ --p-content-border-color: var(--p-surface-200);
+ --p-content-hover-background: var(--p-surface-100);
+ --p-content-hover-color: var(--p-surface-800);
+ --p-highlight-background: var(--p-primary-50);
+ --p-highlight-color: var(--p-primary-700);
+ --p-highlight-focus-background: var(--p-primary-100);
+ --p-highlight-focus-color: var(--p-primary-800);
+ --p-text-color: var(--p-surface-700);
+ --p-text-hover-color: var(--p-surface-800);
+ --p-text-muted-color: var(--p-surface-500);
+ --p-text-hover-muted-color: var(--p-surface-600);
+}
+
+/*
+ * Dark Mode
+ * Change the .p-dark to match the darkMode in tailwind.config.
+ * For example;
+ * darkMode: ['selector', '[class*="app-dark"]']
+ * should match;
+ * :root.app-dark
+*/
+:root[data-mode=dark] {
+ --p-primary-color: var(--p-primary-400);
+ --p-primary-contrast-color: var(--p-surface-900);
+ --p-primary-hover-color: hsl(var(--c-secondary-300));
+ --p-primary-active-color: hsl(var(--c-secondary-200));
+ --p-content-border-color: var(--p-surface-700);
+ --p-content-hover-background: var(--p-surface-800);
+ --p-content-hover-color: var(--p-surface-0);
+ --p-highlight-background: color-mix(in srgb, hsl(var(--c-secondary-400)), transparent 84%);
+ --p-highlight-color: rgba(255,255,255,.87);
+ --p-highlight-focus-background: color-mix(in srgb, hsl(var(--c-secondary-400)), transparent 76%);
+ --p-highlight-focus-color: rgba(255,255,255,.87);
+ --p-text-color: var(--p-surface-0);
+ --p-text-hover-color: var(--p-surface-0);
+ --p-text-muted-color: var(--p-surface-400);
+ --p-text-hover-muted-color: var(--p-surface-300);
+}
\ No newline at end of file
diff --git a/packages/frontend/src/styles/style.css b/packages/frontend/src/styles/style.css
index eb95768..5725cce 100644
--- a/packages/frontend/src/styles/style.css
+++ b/packages/frontend/src/styles/style.css
@@ -1,12 +1,5 @@
-@layer tailwind-base, authmatrix, tailwind-utilities;
-
-@layer tailwind-base {
- @tailwind base;
-}
-
-@layer tailwind-utilities {
- @tailwind components;
- @tailwind utilities;
-}
-
-
+@import "./caido.css";
+@import "./primevue.css";
+@import "tailwindcss/base";
+@import "tailwindcss/components";
+@import "tailwindcss/utilities";
diff --git a/packages/frontend/tailwind.config.ts b/packages/frontend/tailwind.config.ts
index 78b5135..fd50a25 100644
--- a/packages/frontend/tailwind.config.ts
+++ b/packages/frontend/tailwind.config.ts
@@ -1,10 +1,18 @@
import type { Config } from 'tailwindcss'
+import tailwindCaido from '@caido/tailwindcss';
+import tailwindPrimeui from 'tailwindcss-primeui';
export default {
- theme: {
- extend: {},
- },
- content: ['./index.html', './src/**/*.{vue,ts}'],
+ content: [
+ './index.html',
+ './src/**/*.{vue,ts}',
+ './node_modules/@caido/primevue/dist/primevue.mjs'
+ ],
+ darkMode: ["selector", '[data-mode="dark"]'],
+ plugins: [
+ tailwindPrimeui,
+ tailwindCaido,
+ ],
// Disable preflight to avoid conflicts when loaded in Caido
//preflight: false,
diff --git a/packages/frontend/vite.config.base.ts b/packages/frontend/vite.config.base.ts
deleted file mode 100644
index 2435a01..0000000
--- a/packages/frontend/vite.config.base.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import { defineConfig } from "vite";
-import vue from "@vitejs/plugin-vue";
-import { resolve } from "path";
-import tailwindcss from "tailwindcss";
-import prefixwrap from "postcss-prefixwrap";
-
-export default defineConfig({
- plugins: [
- vue(),
- ],
- resolve: {
- alias: [
- {
- find: "@",
- replacement: resolve(__dirname, "src"),
- },
- ],
- },
- css: {
- postcss: {
- plugins: [
- tailwindcss(),
- prefixwrap("#plugin--authmatrix"),
- ],
- }
- },
-});
diff --git a/packages/frontend/vite.config.dev.ts b/packages/frontend/vite.config.dev.ts
deleted file mode 100644
index c823fd3..0000000
--- a/packages/frontend/vite.config.dev.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { defineConfig, mergeConfig } from "vite";
-
-import baseConfig from "./vite.config.base";
-
-export default mergeConfig(baseConfig, {
-});
diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts
index 9baafb0..b5794f6 100644
--- a/packages/frontend/vite.config.ts
+++ b/packages/frontend/vite.config.ts
@@ -1,9 +1,11 @@
import { resolve } from "path";
-import {mergeConfig} from "vite";
+import {defineConfig} from "vite";
+import vue from "@vitejs/plugin-vue";
-import baseConfig from "./vite.config.base";
-
-export default mergeConfig(baseConfig, {
+export default defineConfig({
+ plugins: [
+ vue(),
+ ],
build: {
lib: {
entry: resolve(__dirname, "src/index.ts"),
@@ -18,6 +20,14 @@ export default mergeConfig(baseConfig, {
},
},
},
+ resolve: {
+ alias: [
+ {
+ find: "@",
+ replacement: resolve(__dirname, "src"),
+ },
+ ],
+ },
define: { 'process.env.NODE_ENV': '"production"' }
});
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 448e360..b617a94 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -37,8 +37,8 @@ importers:
packages/frontend:
dependencies:
'@caido/primevue':
- specifier: 0.0.3
- version: 0.0.3
+ specifier: 0.1.1
+ version: 0.1.1
'@caido/sdk-frontend':
specifier: 0.41.0
version: 0.41.0(@codemirror/view@6.28.1)
@@ -52,8 +52,8 @@ importers:
specifier: 2.2.1
version: 2.2.1(typescript@5.5.4)(vue@3.4.37(typescript@5.5.4))
primevue:
- specifier: 4.0.5
- version: 4.0.5(vue@3.4.37(typescript@5.5.4))
+ specifier: 4.1.0
+ version: 4.1.0(vue@3.4.37(typescript@5.5.4))
shared:
specifier: workspace:*
version: link:../shared
@@ -64,6 +64,9 @@ importers:
'@caido/sdk-backend':
specifier: 0.41.0
version: 0.41.0
+ '@caido/tailwindcss':
+ specifier: 0.0.1
+ version: 0.0.1
'@codemirror/view':
specifier: 6.28.1
version: 6.28.1
@@ -77,8 +80,11 @@ importers:
specifier: 1.51.0
version: 1.51.0(postcss@8.4.41)
tailwindcss:
- specifier: 3.4.9
- version: 3.4.9
+ specifier: 3.4.13
+ version: 3.4.13
+ tailwindcss-primeui:
+ specifier: 0.3.4
+ version: 0.3.4(tailwindcss@3.4.13)
vue-tsc:
specifier: 2.0.29
version: 2.0.29(typescript@5.5.4)
@@ -168,8 +174,8 @@ packages:
'@caido/plugin-manifest@0.1.3':
resolution: {integrity: sha512-6PK/mIz2vIImgNFmc34Smiz86ifE+B962xz7uR4MPMxRaRlMlgfL8IvPkbpJyRaXb0mDDVqGzMB82HddpyGQSw==}
- '@caido/primevue@0.0.3':
- resolution: {integrity: sha512-kJEamKSUDx5VESYFJq/X2PJFdFkKLavk/vIUxA4PxN2DUHGxt52K95j8DHF83FEdb7VRJHcYO3cw3zo/oQrX5w==}
+ '@caido/primevue@0.1.1':
+ resolution: {integrity: sha512-8c8lZaMJEtvJqC7bI7Rjg0VtfhPVejSV02dIMwfxm6hsm8zKaknZ9/a7NslQ41Yow3EHaP3s+fSeewcKIobFOA==}
'@caido/quickjs-types@0.7.0':
resolution: {integrity: sha512-F+vORpADqFVjKoC8TDs5vnsP2BEogwgw067pGiwbezCBw/9BzSIuLN5zJRyhvV6Sdgyy4cT8M6oANDpD1ZqLYA==}
@@ -185,6 +191,9 @@ packages:
'@caido/sdk-shared@0.1.0':
resolution: {integrity: sha512-blffEE1ha74X/FKRC31HEh94b7gZ8riZqLDbD1Hpp7ihdlvaiQgap8i2Z6BppAaycks83+rUXTLLR6DxXNvdiQ==}
+ '@caido/tailwindcss@0.0.1':
+ resolution: {integrity: sha512-BGp7s8BiZv6eBV8x/j0t5nPBVKP7Bm+gJVY4APcFgFkNkrRSRDo0VuXN52OhiHc/+vTg85lrmLO8IWMM5bcJrQ==}
+
'@codemirror/state@6.4.1':
resolution: {integrity: sha512-QkEyUiLhsJoZkbumGZlswmAhA7CBU02Wrz7zvH4SrcifbsqwlXShVXg65f3v/ts57W3dqyamEriMhij1Z3Zz4A==}
@@ -371,26 +380,22 @@ packages:
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
engines: {node: '>=14'}
- '@primeuix/styled@0.0.5':
- resolution: {integrity: sha512-pVoGn/uPkVm/DyF3TR3EmH/pL/dP4nR42FcYbVduFq9VfO3KVeOEqvcCULHXos66RZO9MCbCFUoLy6ctf9GUGQ==}
+ '@primeuix/styled@0.2.0':
+ resolution: {integrity: sha512-3Q6bDrmwTW88tzJsFIFenC0VyXLj0+/wYw+TZnJ/4CCDfehR4WfTs4EZdpuFtYqvmbpJ6zWXAiwSCNdSYTZkyA==}
engines: {node: '>=12.11.0'}
- '@primeuix/utils@0.0.5':
- resolution: {integrity: sha512-ntUiUgtRtkF8KuaxHffzhYxQxoXk6LAPHm7CVlFjdqS8Rx8xRkLkZVyo84E+pO2hcNFkOGVP/GxHhQ2s94O8zA==}
+ '@primeuix/utils@0.2.0':
+ resolution: {integrity: sha512-AaDIeRFlsbkVTk2s0mlEjnGSLi31X669NVwo+n+AVAnBdDiQznjipNTpHbOobVBtjOKZize74PChK6uoaSBRUw==}
engines: {node: '>=12.11.0'}
- '@primevue/core@4.0.5':
- resolution: {integrity: sha512-DUCslDA93eUOVW0A1I3yoZgRLI4zmI2++loZQXbUF5jaXCwKiAza14+iyUU+cWH27VSq+jQnCEP9QJtPZiJJ0w==}
+ '@primevue/core@4.1.0':
+ resolution: {integrity: sha512-YulYm+PtoYSyLv/pNl3oyjvN+C9Ba/RSpW3bZAVkMRz9SWSA6lj2QaN+/9uxhokWZPL63zCHsHzIBV5YMvZshQ==}
engines: {node: '>=12.11.0'}
peerDependencies:
vue: ^3.0.0
- '@primevue/icons@4.0.5':
- resolution: {integrity: sha512-ZxR9W1wlAE2fTtUhrHyeMx5t0jNyAgxDcHPm0cNXpX8q1XF95rSM/qb48QKXIBDBrJ/xs57BcyCNADP/VDPY4g==}
- engines: {node: '>=12.11.0'}
-
- '@primevue/themes@4.0.4':
- resolution: {integrity: sha512-eknRgSo1KQY+r7LEtb/jERhVHq4/Vlu5BKBQ8/Sc/G3DBDHaeJTDqYHWWoTxdaTJkXbC2pJMKFaJ/Vs7LuoIOw==}
+ '@primevue/icons@4.1.0':
+ resolution: {integrity: sha512-npY8Jy3HX1+Qbv1jCRdAevOcOj355b0x1Wmepa7omhgQFIUVs2o18HGohYml4HJpmEAu6aKnUIhhodFMuglMeQ==}
engines: {node: '>=12.11.0'}
'@rollup/rollup-android-arm-eabi@4.16.4':
@@ -909,8 +914,8 @@ packages:
engines: {node: '>=14'}
hasBin: true
- primevue@4.0.5:
- resolution: {integrity: sha512-MALszGIZ5SnEQy1XeZLBFhpMXQ1OS7D1U7H+l/JAX5U46RQ1vufo7NAiWbbV5/ADjPGw4uLplqMQxujkksNY2g==}
+ primevue@4.1.0:
+ resolution: {integrity: sha512-iR/RysaTnZeIG3UVxdhazU7MA8nEODOpHk8WSINwYU0WMsA/ZghbchHOD5a/LYuLuZa3V03j7mX4LMKroeV+ag==}
engines: {node: '>=12.11.0'}
process-nextick-args@2.0.1:
@@ -1011,8 +1016,13 @@ packages:
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
engines: {node: '>= 0.4'}
- tailwindcss@3.4.9:
- resolution: {integrity: sha512-1SEOvRr6sSdV5IDf9iC+NU4dhwdqzF4zKKq3sAbasUWHEM6lsMhX+eNN5gkPx1BvLFEnZQEUFbXnGj8Qlp83Pg==}
+ tailwindcss-primeui@0.3.4:
+ resolution: {integrity: sha512-5+Qfoe5Kpq2Iwrd6umBUb3rQH6b7+pL4jxJUId0Su5agUM6TwCyH5Pyl9R0y3QQB3IRuTxBNmeS11B41f+30zw==}
+ peerDependencies:
+ tailwindcss: '>=3.1.0'
+
+ tailwindcss@3.4.13:
+ resolution: {integrity: sha512-KqjHOJKogOUt5Bs752ykCeiwvi0fKVkr5oqsFNt/8px/tA8scFPIlkygsf6jXrfCqGHz7VflA6+yytWuM+XhFw==}
engines: {node: '>=14.0.0'}
hasBin: true
@@ -1182,9 +1192,7 @@ snapshots:
dependencies:
ajv: 8.16.0
- '@caido/primevue@0.0.3':
- dependencies:
- '@primevue/themes': 4.0.4
+ '@caido/primevue@0.1.1': {}
'@caido/quickjs-types@0.7.0':
dependencies:
@@ -1201,6 +1209,12 @@ snapshots:
'@caido/sdk-shared@0.1.0': {}
+ '@caido/tailwindcss@0.0.1':
+ dependencies:
+ tailwindcss: 3.4.13
+ transitivePeerDependencies:
+ - ts-node
+
'@codemirror/state@6.4.1': {}
'@codemirror/view@6.28.1':
@@ -1321,29 +1335,25 @@ snapshots:
'@pkgjs/parseargs@0.11.0':
optional: true
- '@primeuix/styled@0.0.5':
+ '@primeuix/styled@0.2.0':
dependencies:
- '@primeuix/utils': 0.0.5
+ '@primeuix/utils': 0.2.0
- '@primeuix/utils@0.0.5': {}
+ '@primeuix/utils@0.2.0': {}
- '@primevue/core@4.0.5(vue@3.4.37(typescript@5.5.4))':
+ '@primevue/core@4.1.0(vue@3.4.37(typescript@5.5.4))':
dependencies:
- '@primeuix/styled': 0.0.5
- '@primeuix/utils': 0.0.5
+ '@primeuix/styled': 0.2.0
+ '@primeuix/utils': 0.2.0
vue: 3.4.37(typescript@5.5.4)
- '@primevue/icons@4.0.5(vue@3.4.37(typescript@5.5.4))':
+ '@primevue/icons@4.1.0(vue@3.4.37(typescript@5.5.4))':
dependencies:
- '@primeuix/utils': 0.0.5
- '@primevue/core': 4.0.5(vue@3.4.37(typescript@5.5.4))
+ '@primeuix/utils': 0.2.0
+ '@primevue/core': 4.1.0(vue@3.4.37(typescript@5.5.4))
transitivePeerDependencies:
- vue
- '@primevue/themes@4.0.4':
- dependencies:
- '@primeuix/styled': 0.0.5
-
'@rollup/rollup-android-arm-eabi@4.16.4':
optional: true
@@ -1835,12 +1845,12 @@ snapshots:
prettier@3.3.2: {}
- primevue@4.0.5(vue@3.4.37(typescript@5.5.4)):
+ primevue@4.1.0(vue@3.4.37(typescript@5.5.4)):
dependencies:
- '@primeuix/styled': 0.0.5
- '@primeuix/utils': 0.0.5
- '@primevue/core': 4.0.5(vue@3.4.37(typescript@5.5.4))
- '@primevue/icons': 4.0.5(vue@3.4.37(typescript@5.5.4))
+ '@primeuix/styled': 0.2.0
+ '@primeuix/utils': 0.2.0
+ '@primevue/core': 4.1.0(vue@3.4.37(typescript@5.5.4))
+ '@primevue/icons': 4.1.0(vue@3.4.37(typescript@5.5.4))
transitivePeerDependencies:
- vue
@@ -1958,7 +1968,11 @@ snapshots:
supports-preserve-symlinks-flag@1.0.0: {}
- tailwindcss@3.4.9:
+ tailwindcss-primeui@0.3.4(tailwindcss@3.4.13):
+ dependencies:
+ tailwindcss: 3.4.13
+
+ tailwindcss@3.4.13:
dependencies:
'@alloc/quick-lru': 5.2.0
arg: 5.0.2