diff --git a/.docker/images/php/base/Dockerfile b/.docker/images/php/base/Dockerfile index 4d633a7d0..d74827d8a 100644 --- a/.docker/images/php/base/Dockerfile +++ b/.docker/images/php/base/Dockerfile @@ -57,9 +57,7 @@ RUN apt-get update && apt-get install -y \ unzip \ libzip-dev \ mupdf-tools \ - imagemagick \ - libmcrypt-dev - + imagemagick # Install fileinfo RUN docker-php-ext-install -j$(nproc) fileinfo # Install intl @@ -69,9 +67,6 @@ RUN docker-php-ext-install -j$(nproc) intl # Install mongodb RUN pecl install mongodb \ && docker-php-ext-enable mongodb -# Install mcrypt -RUN pecl install mcrypt \ - && docker-php-ext-enable mcrypt # Install curl RUN docker-php-ext-install -j$(nproc) curl # Install Zip @@ -97,8 +92,10 @@ RUN apt-get update && apt-get install -y \ # Install ldap RUN docker-php-ext-install -j$(nproc) ldap -RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \ - docker-php-ext-install -j$(nproc) imap +#RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \ +# docker-php-ext-install -j$(nproc) imap + +RUN pecl install imap # COPY ./.docker/images/php/base/pdf/php_pdflib.so /pdflib.so diff --git a/src/new/var/plugins/Custom/PSC/FormBuilder/Controller/Backend/IndexController.php b/src/new/var/plugins/Custom/PSC/FormBuilder/Controller/Backend/IndexController.php new file mode 100644 index 000000000..f1160d8db --- /dev/null +++ b/src/new/var/plugins/Custom/PSC/FormBuilder/Controller/Backend/IndexController.php @@ -0,0 +1,20 @@ + $jwtManager->create($this->getUser())); + } +} diff --git a/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/+ b/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/+ deleted file mode 100644 index ad958838f..000000000 --- a/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/+ +++ /dev/null @@ -1,64 +0,0 @@ -import {v4 as uuidv4} from 'uuid' -import Dependency from './Dependency.ts' - -export default class Border { - uuid: string = ""; - formula: string = ""; - calcValue: string = ""; - calcValue1: string = ""; - calcValue2: string = ""; - calcValue3: string = ""; - calcValue4: string = ""; - calcValue5: string = ""; - calcValue6: string = ""; - calcValue7: string = ""; - calcValue8: string = ""; - calcValue9: string = ""; - calcValue10: string = ""; - flatRate: string = ""; - value: string = ""; - dependencys: Dependency[] = []; - - constructor() { - this.uuid = uuidv4(); - } - - addDependency(dep: Dependeny) - { - this.dependencys.push(dep) - } - - toJSON() { - return { - 'formula': this.formula, - 'calcValue': this.calcValue, - 'calcValue1': this.calcValue1, - 'calcValue2': this.calcValue2, - 'calcValue3': this.calcValue3, - 'calcValue4': this.calcValue4, - 'calcValue5': this.calcValue5, - 'calcValue6': this.calcValue6, - 'calcValue7': this.calcValue7, - 'calcValue8': this.calcValue8, - 'calcValue9': this.calcValue9, - 'calcValue10': this.calcValue10, - 'flatRate': this.flatRate, - 'value': this.value, - 'dependencys': this.dependencys.reduce((result, dep) => { - result.push(dep.toJSON()) - return result - }, []) - } - } - fromJSON(obj) { - this.formula = obj.formula - this.value = obj.value - this.flatRate = obj.flatRate - this.calcValue = obj.calcValue - obj.dependencys.map((d) => { - const dep = new Dependency() - dep.fromJSON(d) - this.dependencys.push(dep) - }) - } -} diff --git a/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/bun.lock b/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/bun.lock index 8bf4390e3..447e182d8 100644 --- a/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/bun.lock +++ b/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/bun.lock @@ -8,6 +8,7 @@ "@vueuse/core": "^13.4.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", + "ky": "^1.8.1", "lucide-vue-next": "^0.514.0", "pinia": "^3.0.3", "reka-ui": "^2.3.1", @@ -420,6 +421,8 @@ "kolorist": ["kolorist@1.8.0", "", {}, "sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ=="], + "ky": ["ky@1.8.1", "", {}, "sha512-7Bp3TpsE+L+TARSnnDpk3xg8Idi8RwSLdj6CMbNWoOARIrGrbuLGusV0dYwbZOm4bB3jHNxSw8Wk/ByDqJEnDw=="], + "lightningcss": ["lightningcss@1.30.1", "", { "dependencies": { "detect-libc": "^2.0.3" }, "optionalDependencies": { "lightningcss-darwin-arm64": "1.30.1", "lightningcss-darwin-x64": "1.30.1", "lightningcss-freebsd-x64": "1.30.1", "lightningcss-linux-arm-gnueabihf": "1.30.1", "lightningcss-linux-arm64-gnu": "1.30.1", "lightningcss-linux-arm64-musl": "1.30.1", "lightningcss-linux-x64-gnu": "1.30.1", "lightningcss-linux-x64-musl": "1.30.1", "lightningcss-win32-arm64-msvc": "1.30.1", "lightningcss-win32-x64-msvc": "1.30.1" } }, "sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg=="], "lightningcss-darwin-arm64": ["lightningcss-darwin-arm64@1.30.1", "", { "os": "darwin", "cpu": "arm64" }, "sha512-c8JK7hyE65X1MHMN+Viq9n11RRC7hgin3HhYKhrMyaXflk5GVplZ60IxyoVtzILeKr+xAJwg6zK6sjTBJ0FKYQ=="], diff --git a/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/package.json b/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/package.json index 550325e7e..0714372fc 100644 --- a/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/package.json +++ b/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/package.json @@ -5,6 +5,7 @@ "type": "module", "scripts": { "dev": "vite", + "check": "vue-tsc -b", "build": "vue-tsc -b && vite build", "preview": "vite preview" }, @@ -13,6 +14,7 @@ "@vueuse/core": "^13.4.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", + "ky": "^1.8.1", "lucide-vue-next": "^0.514.0", "pinia": "^3.0.3", "reka-ui": "^2.3.1", diff --git a/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/src/components/Gui.vue b/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/src/components/Gui.vue index 3f0a795e7..27a7f57bf 100644 --- a/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/src/components/Gui.vue +++ b/src/new/var/plugins/Custom/PSC/FormBuilder/FormBuilderTS/src/components/Gui.vue @@ -3,13 +3,13 @@ import { ResizableHandle, ResizablePanel, ResizablePanelGroup, -} from '@/components/ui/resizable' +} from '../components/ui/resizable' -import { Library } from '@/components/app/library' -import { Debug } from '@/components/app/debug' -import { ElementProperties } from '@/components/app/elementproperties' -import { ElementDependency } from '@/components/app/elementdependency' -import { Main } from '@/components/app/main' +import { Library } from '../components/app/library' +import { Debug } from '../components/app/debug' +import { ElementProperties } from '../components/app/elementproperties' +import { ElementDependency } from '../components/app/elementdependency' +import { Main } from '../components/app/main'