From d40b04fdb6001148628d26a6d06aff75a3e2e53b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 19 Sep 2024 09:29:21 +0545 Subject: [PATCH 01/69] Bump ws and @wordpress/scripts (#757) Bumps [ws](https://github.com/websockets/ws) to 8.18.0 and updates ancestor dependency [@wordpress/scripts](https://github.com/WordPress/gutenberg/tree/HEAD/packages/scripts). These dependencies need to be updated together. Updates `ws` from 8.13.0 to 8.18.0 - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/8.13.0...8.18.0) Updates `@wordpress/scripts` from 27.9.0 to 29.0.0 - [Release notes](https://github.com/WordPress/gutenberg/releases) - [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/scripts/CHANGELOG.md) - [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/scripts@29.0.0/packages/scripts) --- updated-dependencies: - dependency-name: ws dependency-type: indirect - dependency-name: "@wordpress/scripts" dependency-type: direct:development ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 1363 ++++++++++++++++++++++++++------------------- package.json | 2 +- 2 files changed, 795 insertions(+), 570 deletions(-) diff --git a/package-lock.json b/package-lock.json index c31ff4ab9..21ba8cb82 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "@wordpress/block-editor": "^12.12.0", "@wordpress/blocks": "^12.29.0", "@wordpress/components": "^25.16.0", - "@wordpress/scripts": "^27.3.0", + "@wordpress/scripts": "^29.0.0", "@wordpress/server-side-render": "^4.30.0", "ajv": "^8.17.1", "ajv-keywords": "^5.1.0", @@ -4532,95 +4532,51 @@ } }, "node_modules/@puppeteer/browsers": { - "version": "1.4.6", - "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-1.4.6.tgz", - "integrity": "sha512-x4BEjr2SjOPowNeiguzjozQbsc6h437ovD/wu+JpaenxVLm3jkgzHY2xOslMTp50HoTvQreMjiexiGQw1sqZlQ==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.4.0.tgz", + "integrity": "sha512-x8J1csfIygOwf6D6qUAZ0ASk3z63zPb7wkNeHRerCMh82qWKUrOgkuP005AJC8lDL6/evtXETGEJVcwykKT4/g==", "dev": true, "dependencies": { - "debug": "4.3.4", - "extract-zip": "2.0.1", - "progress": "2.0.3", - "proxy-agent": "6.3.0", - "tar-fs": "3.0.4", - "unbzip2-stream": "1.4.3", - "yargs": "17.7.1" + "debug": "^4.3.6", + "extract-zip": "^2.0.1", + "progress": "^2.0.3", + "proxy-agent": "^6.4.0", + "semver": "^7.6.3", + "tar-fs": "^3.0.6", + "unbzip2-stream": "^1.4.3", + "yargs": "^17.7.2" }, "bin": { "browsers": "lib/cjs/main-cli.js" }, "engines": { - "node": ">=16.3.0" - }, - "peerDependencies": { - "typescript": ">= 4.7.4" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@puppeteer/browsers/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/@puppeteer/browsers/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==", - "dev": true - }, - "node_modules/@puppeteer/browsers/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==", - "dev": true, - "engines": { - "node": ">=8" + "node": ">=18" } }, - "node_modules/@puppeteer/browsers/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/@puppeteer/browsers/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==", + "node_modules/@puppeteer/browsers/node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" + "bin": { + "semver": "bin/semver.js" }, "engines": { - "node": ">=8" + "node": ">=10" } }, "node_modules/@puppeteer/browsers/node_modules/tar-fs": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.4.tgz", - "integrity": "sha512-5AFQU8b9qLfZCX9zp2duONhPmZv0hGYiBPJsyUdqMjzq/mqVpy/rEUSeHk1+YitmxugaptgBh5oDGU3VsAJq4w==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz", + "integrity": "sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==", "dev": true, "dependencies": { - "mkdirp-classic": "^0.5.2", "pump": "^3.0.0", "tar-stream": "^3.1.5" + }, + "optionalDependencies": { + "bare-fs": "^2.1.1", + "bare-path": "^2.1.0" } }, "node_modules/@puppeteer/browsers/node_modules/tar-stream": { @@ -4634,24 +4590,6 @@ "streamx": "^2.15.0" } }, - "node_modules/@puppeteer/browsers/node_modules/yargs": { - "version": "17.7.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", - "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", - "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/@radix-ui/primitive": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.0.0.tgz", @@ -6714,22 +6652,10 @@ "node": ">=12" } }, - "node_modules/@wordpress/babel-plugin-import-jsx-pragma": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-plugin-import-jsx-pragma/-/babel-plugin-import-jsx-pragma-4.41.0.tgz", - "integrity": "sha512-hYxj2Uobxk86ctlfaJou9v13XqXZ30yx4ZwRNu5cH5/LWXe2MIXBTPv7dUk6wqN/qFOjsFvP9jCB0NsW6MnkrA==", - "dev": true, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@babel/core": "^7.12.9" - } - }, "node_modules/@wordpress/babel-preset-default": { - "version": "7.42.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-7.42.0.tgz", - "integrity": "sha512-AWSxWuEuzazt/nWomKiaVhYQeXuqxTniPCKhvks58wB3P4UXvSe3hRnO+nujz20IuxIk2xHT6x47HgpDZy30jw==", + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.7.0.tgz", + "integrity": "sha512-umHgTnOeC9IqejB78XvpSVYwFPxCm2Df7dsQN1MxiwXfacHleiR/b2x+HDSXtNHRp1fESYpz8oIeUYtfOGZKWg==", "dev": true, "dependencies": { "@babel/core": "^7.16.0", @@ -6738,22 +6664,36 @@ "@babel/preset-env": "^7.16.0", "@babel/preset-typescript": "^7.16.0", "@babel/runtime": "^7.16.0", - "@wordpress/babel-plugin-import-jsx-pragma": "^4.41.0", - "@wordpress/browserslist-config": "^5.41.0", - "@wordpress/warning": "^2.58.0", + "@wordpress/browserslist-config": "^6.7.0", + "@wordpress/warning": "^3.7.0", "browserslist": "^4.21.10", "core-js": "^3.31.0", "react": "^18.3.0" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" + } + }, + "node_modules/@wordpress/babel-preset-default/node_modules/@wordpress/warning": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.7.0.tgz", + "integrity": "sha512-wGbQfPlf8YV6gGhcGPYWUhHORct4xaBQSaDTJrwzlgHYyrrJUVXXgZxaM4+Aa23zQoA13nvFQHvfssOkwdh65g==", + "dev": true, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "node_modules/@wordpress/base-styles": { - "version": "4.49.0", - "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-4.49.0.tgz", - "integrity": "sha512-yFRYqNtd26ULZ0oAHhCu/IcaA0XHI3E7kRCKajZqUvyRQj7YprXnpD3o0/pnwvF6ZFTXzCX8pXHjUc2TIv97ig==", - "dev": true + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-5.7.0.tgz", + "integrity": "sha512-8bydQQ3MyDiKhZAPXBMeB97S3YPoJfJNJT73c3gRXn2qFNkJ9Q5gsSh1oL3i0Vq4s4Lf8l9bqaj8Wh8ncQPnbg==", + "dev": true, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + } }, "node_modules/@wordpress/blob": { "version": "3.58.0", @@ -6993,12 +6933,13 @@ } }, "node_modules/@wordpress/browserslist-config": { - "version": "5.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-5.41.0.tgz", - "integrity": "sha512-J7ejzzDpPZddVIiq2YiK8J/pNTJDy3X1s+5ZtwkwklCxBMZJurxf9pEhtbaf7us0Q6c1j8Ubv7Fpx3lqk2ypxA==", + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.7.0.tgz", + "integrity": "sha512-4iMAK3HJEMRm16E2GLXKbQLO085FvFvVwTU2lhzXHLhewjBfjWL3TnqQ9KdOcPmPZ0AK//hULte6PG2VhTWl6w==", "dev": true, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "node_modules/@wordpress/commands": { @@ -7311,15 +7252,16 @@ } }, "node_modules/@wordpress/dependency-extraction-webpack-plugin": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-5.9.0.tgz", - "integrity": "sha512-hXbCkbG1XES47t7hFSETRrLfaRSPyQPlCnhlCx7FfhYFD0wh1jVArApXX5dD+A6wTrayXX/a16MpfaNqE662XA==", + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-6.7.0.tgz", + "integrity": "sha512-ANsSDMkmb0NGG16NNx9uliXc6hwuE4FJLWdmqju6SGPEMuHa5pr2Xl5hCd154WzoC2VVhYMGNUYoQBRJDFNfkA==", "dev": true, "dependencies": { "json2php": "^0.0.7" }, "engines": { - "node": ">=18" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "webpack": "^5.0.0" @@ -7362,42 +7304,26 @@ } }, "node_modules/@wordpress/e2e-test-utils-playwright": { - "version": "0.26.0", - "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-0.26.0.tgz", - "integrity": "sha512-4KFyQ3IsYIJaIvOQ1qhAHhRISs9abNToF/bktfMNxQiEJsmbNn7lq/IbaY+shqwdBWVg8TQtLcL4MpSl0ISaxQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-1.7.0.tgz", + "integrity": "sha512-vmUyIqE0vmpCbfrsW2F9oZRWVN/0Ta2+vjRqpT0c8f9BbRV5L80I3o7BqkTFFPsbapafUui93taNZNNYEn2eLQ==", "dev": true, "dependencies": { - "@wordpress/api-fetch": "^6.55.0", - "@wordpress/keycodes": "^3.58.0", - "@wordpress/url": "^3.59.0", "change-case": "^4.1.2", "form-data": "^4.0.0", "get-port": "^5.1.1", "lighthouse": "^10.4.0", "mime": "^3.0.0", - "web-vitals": "^3.5.0" + "web-vitals": "^4.2.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@playwright/test": ">=1" } }, - "node_modules/@wordpress/e2e-test-utils-playwright/node_modules/@wordpress/api-fetch": { - "version": "6.55.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.55.0.tgz", - "integrity": "sha512-1HrCUsJdeRY5Y0IjplotINwqMRO81e7O7VhBScuKk7iOuDm/E1ioKv2uLGnPNWziYu+Zf025byxOqVzXDyM2gw==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.58.0", - "@wordpress/url": "^3.59.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@wordpress/element": { "version": "5.35.0", "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-5.35.0.tgz", @@ -7495,32 +7421,34 @@ } }, "node_modules/@wordpress/jest-console": { - "version": "7.29.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-7.29.0.tgz", - "integrity": "sha512-/9PZJhyszdRX4mka7t1WzoooM+Q/DwC4jkNVtJxqci5lbL3Lrhy1cCJGCgMr1n/9w+zs7eLmExFBvV4v44iyNw==", + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-8.7.0.tgz", + "integrity": "sha512-tTDsAGfhv7B6jSRUN8lA6PBBU2UKi0+ICubA8tRID1dV8ekLNr5bu01A9BHwoROajiZsCcEvaAMGbWdSO7TsvQ==", "dev": true, "dependencies": { "@babel/runtime": "^7.16.0", "jest-matcher-utils": "^29.6.2" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "jest": ">=29" } }, "node_modules/@wordpress/jest-preset-default": { - "version": "11.29.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-11.29.0.tgz", - "integrity": "sha512-7LA0ZS5t0Thn7xrdwPL3hLgjB9LKloneGhMwnnDUTgJP330lyfdDfJ+O6Lnz3iL+bg68mkA3AzrT9Fs9f3WKww==", + "version": "12.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-12.7.0.tgz", + "integrity": "sha512-L/A75VlaI8OCNiol2sdCIY+ypFmosQIUQPcvmWu4nhEjen6CaIsX3VdRVQGtFrc0YgOyY+H2SsfKtEH9t/mQaw==", "dev": true, "dependencies": { - "@wordpress/jest-console": "^7.29.0", + "@wordpress/jest-console": "^8.7.0", "babel-jest": "^29.6.2" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@babel/core": ">=7", @@ -7575,28 +7503,30 @@ } }, "node_modules/@wordpress/npm-package-json-lint-config": { - "version": "4.43.0", - "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-4.43.0.tgz", - "integrity": "sha512-XSb7AdDC7yGTBVYeRM4oqmOygEB+/+tk7lobLIGDmlZJs+M3F/NUvQq0Vcas1pojq2fyPYTUwOlu81ga33fNwQ==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-5.7.0.tgz", + "integrity": "sha512-D2hjkL4lVgQ60JdyRY5od8PqiPquGaxHjk3MN0AyGcw42jYcuvN7+lDM/FHr4GVJpa0CGKey6Qe56UMiBBMUQw==", "dev": true, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "npm-package-json-lint": ">=6.0.0" } }, "node_modules/@wordpress/postcss-plugins-preset": { - "version": "4.42.0", - "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-4.42.0.tgz", - "integrity": "sha512-5xmKF7IUsqS5JcmJlHKHq7RaR6ZpaLj3n9c+X0X0/Oo7ZCIGp6WeDQngx13sH4NJoKXrZ9g4n1rbzhEKeo/Wtg==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-5.7.0.tgz", + "integrity": "sha512-vNQGDGesErJJEHGqWAJOYqMnSfrKwObBToDd6nHD50OZ/ECydAuDwSQ97D4ZkH+y7n6zedz+/pCLcc/DnLVJSw==", "dev": true, "dependencies": { - "@wordpress/base-styles": "^4.49.0", + "@wordpress/base-styles": "^5.7.0", "autoprefixer": "^10.2.5" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "postcss": "^8.0.0" @@ -7726,12 +7656,13 @@ } }, "node_modules/@wordpress/prettier-config": { - "version": "3.15.0", - "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-3.15.0.tgz", - "integrity": "sha512-exC2rkEioTt//AnzPRyaaFv8FNYIvamPDytNol5bKQ6Qh65QSdZZE9V+GtRCrIPL7/Bq6xba03XuRVxl9TjtJg==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-4.7.0.tgz", + "integrity": "sha512-GuWbbVT4ebDbkIv40AbnF+WKDl9ra6+Y+oJAbh1cpivlKnbJBFofIxk4W/MOCtaFJhsfkzrQJGFqg3xkcPJM7g==", "dev": true, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "prettier": ">=3" @@ -7816,24 +7747,24 @@ } }, "node_modules/@wordpress/scripts": { - "version": "27.9.0", - "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-27.9.0.tgz", - "integrity": "sha512-ohiDHMnfTTBTi7qS7AVJZUi1dxwg0k3Aav1a8CzUoOE8YoT8tvMQ3W89H9XgqMgMTWUCdgTUBYLTJTivfVVbXQ==", + "version": "29.0.0", + "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-29.0.0.tgz", + "integrity": "sha512-OmquZmxWJxwnCxacB1nKfOjsirvBQgkrjKNuVmCF9gLwTG5GZl03xY7SvnNlhfP527rU0FZa4rKlHwdD2MKpAQ==", "dev": true, "dependencies": { "@babel/core": "^7.16.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", "@svgr/webpack": "^8.0.1", - "@wordpress/babel-preset-default": "^7.42.0", - "@wordpress/browserslist-config": "^5.41.0", - "@wordpress/dependency-extraction-webpack-plugin": "^5.9.0", - "@wordpress/e2e-test-utils-playwright": "^0.26.0", - "@wordpress/eslint-plugin": "^18.1.0", - "@wordpress/jest-preset-default": "^11.29.0", - "@wordpress/npm-package-json-lint-config": "^4.43.0", - "@wordpress/postcss-plugins-preset": "^4.42.0", - "@wordpress/prettier-config": "^3.15.0", - "@wordpress/stylelint-config": "^21.41.0", + "@wordpress/babel-preset-default": "^8.7.0", + "@wordpress/browserslist-config": "^6.7.0", + "@wordpress/dependency-extraction-webpack-plugin": "^6.7.0", + "@wordpress/e2e-test-utils-playwright": "^1.7.0", + "@wordpress/eslint-plugin": "^21.0.0", + "@wordpress/jest-preset-default": "^12.7.0", + "@wordpress/npm-package-json-lint-config": "^5.7.0", + "@wordpress/postcss-plugins-preset": "^5.7.0", + "@wordpress/prettier-config": "^4.7.0", + "@wordpress/stylelint-config": "^22.7.0", "adm-zip": "^0.5.9", "babel-jest": "^29.6.2", "babel-loader": "^8.2.3", @@ -7862,15 +7793,17 @@ "npm-package-json-lint": "^6.4.0", "npm-packlist": "^3.0.0", "postcss": "^8.4.5", + "postcss-import": "^16.1.0", "postcss-loader": "^6.2.1", "prettier": "npm:wp-prettier@3.0.3", - "puppeteer-core": "^13.2.0", + "puppeteer-core": "^23.1.0", "react-refresh": "^0.14.0", "read-pkg-up": "^7.0.1", "resolve-bin": "^0.4.0", "rtlcss-webpack-plugin": "^4.0.7", "sass": "^1.35.2", "sass-loader": "^12.1.0", + "schema-utils": "^4.2.0", "source-map-loader": "^3.0.0", "stylelint": "^14.2.0", "terser-webpack-plugin": "^5.3.9", @@ -7884,11 +7817,11 @@ "wp-scripts": "bin/wp-scripts.js" }, "engines": { - "node": ">=18", - "npm": ">=6.14.4" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { - "@playwright/test": "^1.43.0", + "@playwright/test": "^1.46.0", "react": "^18.0.0", "react-dom": "^18.0.0" } @@ -7983,16 +7916,16 @@ } }, "node_modules/@wordpress/scripts/node_modules/@wordpress/eslint-plugin": { - "version": "18.1.0", - "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-18.1.0.tgz", - "integrity": "sha512-5eGpXEwaZsKbEh9040nVr4ggmrpPmltP+Ie4iGruWvCme6ZIFYw70CyWEV8S102IkqjH/BaH6d+CWg8tN7sc/g==", + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-21.0.0.tgz", + "integrity": "sha512-4ioakbwSZNL8eXkfK0hcY93e5Fj9dZljxj3lEFkCBWMkSpU8/pPw/7UMS0OBbGQK8rqmvnXF1y/LFH7ihCxuww==", "dev": true, "dependencies": { "@babel/eslint-parser": "^7.16.0", "@typescript-eslint/eslint-plugin": "^6.4.1", "@typescript-eslint/parser": "^6.4.1", - "@wordpress/babel-preset-default": "^7.42.0", - "@wordpress/prettier-config": "^3.15.0", + "@wordpress/babel-preset-default": "^8.7.0", + "@wordpress/prettier-config": "^4.7.0", "cosmiconfig": "^7.0.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.2", @@ -8007,8 +7940,8 @@ "requireindex": "^1.2.0" }, "engines": { - "node": ">=14", - "npm": ">=6.14.4" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@babel/core": ">=7", @@ -8755,16 +8688,17 @@ } }, "node_modules/@wordpress/stylelint-config": { - "version": "21.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-21.41.0.tgz", - "integrity": "sha512-2wxFu8ICeRGF3Lxz7H7o2SU1u6pTI4mjuog39DgtCNb+v+f6yhgREDuNQEeti3Svb0rjj63AJ7r2CqLZk+EQIQ==", + "version": "22.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-22.7.0.tgz", + "integrity": "sha512-nzFUC1urqtLklCke38VTH7yYlF3ihHu+ULRYwzhJNqWzttwz4srj60M3etEa2pdd2U6yywotQAJzcDbHw01qvQ==", "dev": true, "dependencies": { "stylelint-config-recommended": "^6.0.0", "stylelint-config-recommended-scss": "^5.0.2" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "stylelint": "^14.2" @@ -10032,6 +9966,46 @@ "dev": true, "optional": true }, + "node_modules/bare-fs": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.3.3.tgz", + "integrity": "sha512-7RYKL+vZVCyAsMLi5SPu7QGauGGT8avnP/HO571ndEuV4MYdGXvLhtW67FuLPeEI8EiIY7zbbRR9x7x7HU0kgw==", + "dev": true, + "optional": true, + "dependencies": { + "bare-events": "^2.0.0", + "bare-path": "^2.0.0", + "bare-stream": "^2.0.0" + } + }, + "node_modules/bare-os": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.4.2.tgz", + "integrity": "sha512-HZoJwzC+rZ9lqEemTMiO0luOePoGYNBgsLLgegKR/cljiJvcDNhDZQkzC+NC5Oh0aHbdBNSOHpghwMuB5tqhjg==", + "dev": true, + "optional": true + }, + "node_modules/bare-path": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.3.tgz", + "integrity": "sha512-lh/eITfU8hrj9Ru5quUp0Io1kJWIk1bTjzo7JH1P5dWmQ2EL4hFUlfI8FonAhSlgIfhn63p84CDY/x+PisgcXA==", + "dev": true, + "optional": true, + "dependencies": { + "bare-os": "^2.1.0" + } + }, + "node_modules/bare-stream": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.2.1.tgz", + "integrity": "sha512-YTB47kHwBW9zSG8LD77MIBAAQXjU2WjAkMHeeb7hUplVs6+IoM5I7uEVQNPMB7lj9r8I76UMdoMkGnCodHOLqg==", + "dev": true, + "optional": true, + "dependencies": { + "b4a": "^1.6.6", + "streamx": "^2.18.0" + } + }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -10794,6 +10768,20 @@ "node": ">=6.0" } }, + "node_modules/chromium-bidi": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.6.5.tgz", + "integrity": "sha512-RuLrmzYrxSb0s9SgpB+QN5jJucPduZQ/9SIe76MDxYJuecPW5mxMdacJ1f4EtgiV+R0p3sCkznTMvH0MPGFqjA==", + "dev": true, + "dependencies": { + "mitt": "3.0.1", + "urlpattern-polyfill": "10.0.0", + "zod": "3.23.8" + }, + "peerDependencies": { + "devtools-protocol": "*" + } + }, "node_modules/ci-info": { "version": "3.9.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", @@ -11583,12 +11571,12 @@ } }, "node_modules/cross-fetch": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz", - "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", + "integrity": "sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==", "dev": true, "dependencies": { - "node-fetch": "2.6.7" + "node-fetch": "^2.6.12" } }, "node_modules/cross-spawn": { @@ -20603,13 +20591,45 @@ "integrity": "sha512-sRr0z1S/I26VffRLq9KJsKtLk856YrJlNGmcJmbLX8dFn3MuzVPUbstuChEhqnSxZb8TZmVfthuXuwhG9vRoSw==", "dev": true }, - "node_modules/lighthouse/node_modules/cross-fetch": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", - "integrity": "sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==", + "node_modules/lighthouse/node_modules/@puppeteer/browsers": { + "version": "1.4.6", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-1.4.6.tgz", + "integrity": "sha512-x4BEjr2SjOPowNeiguzjozQbsc6h437ovD/wu+JpaenxVLm3jkgzHY2xOslMTp50HoTvQreMjiexiGQw1sqZlQ==", "dev": true, "dependencies": { - "node-fetch": "^2.6.12" + "debug": "4.3.4", + "extract-zip": "2.0.1", + "progress": "2.0.3", + "proxy-agent": "6.3.0", + "tar-fs": "3.0.4", + "unbzip2-stream": "1.4.3", + "yargs": "17.7.1" + }, + "bin": { + "browsers": "lib/cjs/main-cli.js" + }, + "engines": { + "node": ">=16.3.0" + }, + "peerDependencies": { + "typescript": ">= 4.7.4" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/lighthouse/node_modules/agent-base": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", + "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", + "dev": true, + "dependencies": { + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" } }, "node_modules/lighthouse/node_modules/debug": { @@ -20629,30 +20649,85 @@ } } }, + "node_modules/lighthouse/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==", + "dev": true + }, + "node_modules/lighthouse/node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/lighthouse/node_modules/https-proxy-agent": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", + "dev": true, + "dependencies": { + "agent-base": "^7.0.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/lighthouse/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==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/lighthouse/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/lighthouse/node_modules/mitt": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.0.tgz", + "integrity": "sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ==", + "dev": true + }, "node_modules/lighthouse/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/lighthouse/node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "node_modules/lighthouse/node_modules/proxy-agent": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.3.0.tgz", + "integrity": "sha512-0LdR757eTj/JfuU7TL2YCuAZnxWXu3tkJbg4Oq3geW/qFNT/32T0sp2HnZ9O0lMR4q3vwAt0+xCA8SR0WAD0og==", "dev": true, "dependencies": { - "whatwg-url": "^5.0.0" + "agent-base": "^7.0.2", + "debug": "^4.3.4", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.0", + "lru-cache": "^7.14.1", + "pac-proxy-agent": "^7.0.0", + "proxy-from-env": "^1.1.0", + "socks-proxy-agent": "^8.0.1" }, "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } + "node": ">= 14" } }, "node_modules/lighthouse/node_modules/puppeteer-core": { @@ -20728,26 +20803,54 @@ "semver": "bin/semver" } }, - "node_modules/lighthouse/node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true + "node_modules/lighthouse/node_modules/socks-proxy-agent": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz", + "integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==", + "dev": true, + "dependencies": { + "agent-base": "^7.1.1", + "debug": "^4.3.4", + "socks": "^2.8.3" + }, + "engines": { + "node": ">= 14" + } }, - "node_modules/lighthouse/node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "dev": true + "node_modules/lighthouse/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==", + "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/lighthouse/node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "node_modules/lighthouse/node_modules/tar-fs": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.4.tgz", + "integrity": "sha512-5AFQU8b9qLfZCX9zp2duONhPmZv0hGYiBPJsyUdqMjzq/mqVpy/rEUSeHk1+YitmxugaptgBh5oDGU3VsAJq4w==", "dev": true, "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^3.1.5" + } + }, + "node_modules/lighthouse/node_modules/tar-stream": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", + "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", + "dev": true, + "dependencies": { + "b4a": "^1.6.4", + "fast-fifo": "^1.2.0", + "streamx": "^2.15.0" } }, "node_modules/lighthouse/node_modules/ws": { @@ -20771,6 +20874,24 @@ } } }, + "node_modules/lighthouse/node_modules/yargs": { + "version": "17.7.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", + "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", + "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/lilconfig": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", @@ -21853,9 +21974,9 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/mitt": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.0.tgz", - "integrity": "sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", + "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", "dev": true }, "node_modules/mixin-object": { @@ -22043,9 +22164,9 @@ } }, "node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "dev": true, "dependencies": { "whatwg-url": "^5.0.0" @@ -23810,6 +23931,23 @@ "postcss": "^8.4.31" } }, + "node_modules/postcss-import": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-16.1.0.tgz", + "integrity": "sha512-7hsAZ4xGXl4MW+OKEWCnF6T5jqBw80/EE9aXg1r2yyn1RsVEU8EtKXbijEODa+rg7iih4bKf7vlvTGYR4CnPNg==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, "node_modules/postcss-loader": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-6.2.1.tgz", @@ -24518,19 +24656,19 @@ } }, "node_modules/proxy-agent": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.3.0.tgz", - "integrity": "sha512-0LdR757eTj/JfuU7TL2YCuAZnxWXu3tkJbg4Oq3geW/qFNT/32T0sp2HnZ9O0lMR4q3vwAt0+xCA8SR0WAD0og==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz", + "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==", "dev": true, "dependencies": { "agent-base": "^7.0.2", "debug": "^4.3.4", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.0", + "http-proxy-agent": "^7.0.1", + "https-proxy-agent": "^7.0.3", "lru-cache": "^7.14.1", - "pac-proxy-agent": "^7.0.0", + "pac-proxy-agent": "^7.0.1", "proxy-from-env": "^1.1.0", - "socks-proxy-agent": "^8.0.1" + "socks-proxy-agent": "^8.0.2" }, "engines": { "node": ">= 14" @@ -24651,94 +24789,28 @@ } }, "node_modules/puppeteer-core": { - "version": "13.7.0", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-13.7.0.tgz", - "integrity": "sha512-rXja4vcnAzFAP1OVLq/5dWNfwBGuzcOARJ6qGV7oAZhnLmVRU8G5MsdeQEAOy332ZhkIOnn9jp15R89LKHyp2Q==", + "version": "23.3.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.3.0.tgz", + "integrity": "sha512-sB2SsVMFs4gKad5OCdv6w5vocvtEUrRl0zQqSyRPbo/cj1Ktbarmhxy02Zyb9R9HrssBcJDZbkrvBnbaesPyYg==", "dev": true, "dependencies": { - "cross-fetch": "3.1.5", - "debug": "4.3.4", - "devtools-protocol": "0.0.981744", - "extract-zip": "2.0.1", - "https-proxy-agent": "5.0.1", - "pkg-dir": "4.2.0", - "progress": "2.0.3", - "proxy-from-env": "1.1.0", - "rimraf": "3.0.2", - "tar-fs": "2.1.1", - "unbzip2-stream": "1.4.3", - "ws": "8.5.0" + "@puppeteer/browsers": "2.4.0", + "chromium-bidi": "0.6.5", + "debug": "^4.3.6", + "devtools-protocol": "0.0.1330662", + "typed-query-selector": "^2.12.0", + "ws": "^8.18.0" }, "engines": { - "node": ">=10.18.1" - } - }, - "node_modules/puppeteer-core/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": ">=18" } }, "node_modules/puppeteer-core/node_modules/devtools-protocol": { - "version": "0.0.981744", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.981744.tgz", - "integrity": "sha512-0cuGS8+jhR67Fy7qG3i3Pc7Aw494sb9yG9QgpG97SFVWwolgYjlhJg7n+UaHxOQT30d1TYu/EYe9k01ivLErIg==", + "version": "0.0.1330662", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1330662.tgz", + "integrity": "sha512-pzh6YQ8zZfz3iKlCvgzVCu22NdpZ8hNmwU6WnQjNVquh0A9iVosPtNLWDwaWVGyrntQlltPFztTMK5Cg6lfCuw==", "dev": true }, - "node_modules/puppeteer-core/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/puppeteer-core/node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/puppeteer-core/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "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/pure-rand": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz", @@ -25182,6 +25254,24 @@ "react-dom": ">=16.13" } }, + "node_modules/read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "dev": true, + "dependencies": { + "pify": "^2.3.0" + } + }, + "node_modules/read-cache/node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/read-pkg": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", @@ -28124,6 +28214,7 @@ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", "dev": true, + "optional": true, "dependencies": { "chownr": "^1.1.1", "mkdirp-classic": "^0.5.2", @@ -28136,6 +28227,7 @@ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", "dev": true, + "optional": true, "dependencies": { "buffer": "^5.5.0", "inherits": "^2.0.4", @@ -28146,13 +28238,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", - "dev": true + "dev": true, + "optional": true }, "node_modules/tar-fs/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, + "optional": true, "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -28167,6 +28261,7 @@ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", "dev": true, + "optional": true, "dependencies": { "bl": "^4.0.3", "end-of-stream": "^1.4.1", @@ -28794,6 +28889,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/typed-query-selector": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.0.tgz", + "integrity": "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==", + "dev": true + }, "node_modules/typedarray": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", @@ -29145,6 +29246,12 @@ "requires-port": "^1.0.0" } }, + "node_modules/urlpattern-polyfill": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz", + "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==", + "dev": true + }, "node_modules/use-callback-ref": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.2.tgz", @@ -29466,9 +29573,9 @@ } }, "node_modules/web-vitals": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-3.5.2.tgz", - "integrity": "sha512-c0rhqNcHXRkY/ogGDJQxZ9Im9D19hDihbzSQJrsioex+KnFgmMzBiy57Z1EjkhX/+OjyBpclDCzz2ITtjokFmg==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-4.2.3.tgz", + "integrity": "sha512-/CFAm1mNxSmOj6i0Co+iGFJ58OS4NRGVP+AWS/l509uIK5a1bSoIVaHz/ZumpHTfHSZBpgrJ+wjfpAOrTHok5Q==", "dev": true }, "node_modules/webidl-conversions": { @@ -30399,6 +30506,15 @@ "engines": { "node": ">= 0.10.0" } + }, + "node_modules/zod": { + "version": "3.23.8", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", + "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } } }, "dependencies": { @@ -33632,65 +33748,35 @@ "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==" }, "@puppeteer/browsers": { - "version": "1.4.6", - "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-1.4.6.tgz", - "integrity": "sha512-x4BEjr2SjOPowNeiguzjozQbsc6h437ovD/wu+JpaenxVLm3jkgzHY2xOslMTp50HoTvQreMjiexiGQw1sqZlQ==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.4.0.tgz", + "integrity": "sha512-x8J1csfIygOwf6D6qUAZ0ASk3z63zPb7wkNeHRerCMh82qWKUrOgkuP005AJC8lDL6/evtXETGEJVcwykKT4/g==", "dev": true, "requires": { - "debug": "4.3.4", - "extract-zip": "2.0.1", - "progress": "2.0.3", - "proxy-agent": "6.3.0", - "tar-fs": "3.0.4", - "unbzip2-stream": "1.4.3", - "yargs": "17.7.1" + "debug": "^4.3.6", + "extract-zip": "^2.0.1", + "progress": "^2.0.3", + "proxy-agent": "^6.4.0", + "semver": "^7.6.3", + "tar-fs": "^3.0.6", + "unbzip2-stream": "^1.4.3", + "yargs": "^17.7.2" }, "dependencies": { - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "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==", - "dev": true - }, - "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==", - "dev": true - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true }, - "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, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, "tar-fs": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.4.tgz", - "integrity": "sha512-5AFQU8b9qLfZCX9zp2duONhPmZv0hGYiBPJsyUdqMjzq/mqVpy/rEUSeHk1+YitmxugaptgBh5oDGU3VsAJq4w==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz", + "integrity": "sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==", "dev": true, "requires": { - "mkdirp-classic": "^0.5.2", + "bare-fs": "^2.1.1", + "bare-path": "^2.1.0", "pump": "^3.0.0", "tar-stream": "^3.1.5" } @@ -33705,21 +33791,6 @@ "fast-fifo": "^1.2.0", "streamx": "^2.15.0" } - }, - "yargs": { - "version": "17.7.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", - "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", - "dev": true, - "requires": { - "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" - } } } }, @@ -35362,17 +35433,10 @@ "@babel/runtime": "^7.16.0" } }, - "@wordpress/babel-plugin-import-jsx-pragma": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-plugin-import-jsx-pragma/-/babel-plugin-import-jsx-pragma-4.41.0.tgz", - "integrity": "sha512-hYxj2Uobxk86ctlfaJou9v13XqXZ30yx4ZwRNu5cH5/LWXe2MIXBTPv7dUk6wqN/qFOjsFvP9jCB0NsW6MnkrA==", - "dev": true, - "requires": {} - }, "@wordpress/babel-preset-default": { - "version": "7.42.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-7.42.0.tgz", - "integrity": "sha512-AWSxWuEuzazt/nWomKiaVhYQeXuqxTniPCKhvks58wB3P4UXvSe3hRnO+nujz20IuxIk2xHT6x47HgpDZy30jw==", + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.7.0.tgz", + "integrity": "sha512-umHgTnOeC9IqejB78XvpSVYwFPxCm2Df7dsQN1MxiwXfacHleiR/b2x+HDSXtNHRp1fESYpz8oIeUYtfOGZKWg==", "dev": true, "requires": { "@babel/core": "^7.16.0", @@ -35381,18 +35445,25 @@ "@babel/preset-env": "^7.16.0", "@babel/preset-typescript": "^7.16.0", "@babel/runtime": "^7.16.0", - "@wordpress/babel-plugin-import-jsx-pragma": "^4.41.0", - "@wordpress/browserslist-config": "^5.41.0", - "@wordpress/warning": "^2.58.0", + "@wordpress/browserslist-config": "^6.7.0", + "@wordpress/warning": "^3.7.0", "browserslist": "^4.21.10", "core-js": "^3.31.0", "react": "^18.3.0" + }, + "dependencies": { + "@wordpress/warning": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.7.0.tgz", + "integrity": "sha512-wGbQfPlf8YV6gGhcGPYWUhHORct4xaBQSaDTJrwzlgHYyrrJUVXXgZxaM4+Aa23zQoA13nvFQHvfssOkwdh65g==", + "dev": true + } } }, "@wordpress/base-styles": { - "version": "4.49.0", - "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-4.49.0.tgz", - "integrity": "sha512-yFRYqNtd26ULZ0oAHhCu/IcaA0XHI3E7kRCKajZqUvyRQj7YprXnpD3o0/pnwvF6ZFTXzCX8pXHjUc2TIv97ig==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-5.7.0.tgz", + "integrity": "sha512-8bydQQ3MyDiKhZAPXBMeB97S3YPoJfJNJT73c3gRXn2qFNkJ9Q5gsSh1oL3i0Vq4s4Lf8l9bqaj8Wh8ncQPnbg==", "dev": true }, "@wordpress/blob": { @@ -35586,9 +35657,9 @@ } }, "@wordpress/browserslist-config": { - "version": "5.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-5.41.0.tgz", - "integrity": "sha512-J7ejzzDpPZddVIiq2YiK8J/pNTJDy3X1s+5ZtwkwklCxBMZJurxf9pEhtbaf7us0Q6c1j8Ubv7Fpx3lqk2ypxA==", + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.7.0.tgz", + "integrity": "sha512-4iMAK3HJEMRm16E2GLXKbQLO085FvFvVwTU2lhzXHLhewjBfjWL3TnqQ9KdOcPmPZ0AK//hULte6PG2VhTWl6w==", "dev": true }, "@wordpress/commands": { @@ -35832,9 +35903,9 @@ } }, "@wordpress/dependency-extraction-webpack-plugin": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-5.9.0.tgz", - "integrity": "sha512-hXbCkbG1XES47t7hFSETRrLfaRSPyQPlCnhlCx7FfhYFD0wh1jVArApXX5dD+A6wTrayXX/a16MpfaNqE662XA==", + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-6.7.0.tgz", + "integrity": "sha512-ANsSDMkmb0NGG16NNx9uliXc6hwuE4FJLWdmqju6SGPEMuHa5pr2Xl5hCd154WzoC2VVhYMGNUYoQBRJDFNfkA==", "dev": true, "requires": { "json2php": "^0.0.7" @@ -35868,33 +35939,17 @@ } }, "@wordpress/e2e-test-utils-playwright": { - "version": "0.26.0", - "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-0.26.0.tgz", - "integrity": "sha512-4KFyQ3IsYIJaIvOQ1qhAHhRISs9abNToF/bktfMNxQiEJsmbNn7lq/IbaY+shqwdBWVg8TQtLcL4MpSl0ISaxQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-1.7.0.tgz", + "integrity": "sha512-vmUyIqE0vmpCbfrsW2F9oZRWVN/0Ta2+vjRqpT0c8f9BbRV5L80I3o7BqkTFFPsbapafUui93taNZNNYEn2eLQ==", "dev": true, "requires": { - "@wordpress/api-fetch": "^6.55.0", - "@wordpress/keycodes": "^3.58.0", - "@wordpress/url": "^3.59.0", "change-case": "^4.1.2", "form-data": "^4.0.0", "get-port": "^5.1.1", "lighthouse": "^10.4.0", "mime": "^3.0.0", - "web-vitals": "^3.5.0" - }, - "dependencies": { - "@wordpress/api-fetch": { - "version": "6.55.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.55.0.tgz", - "integrity": "sha512-1HrCUsJdeRY5Y0IjplotINwqMRO81e7O7VhBScuKk7iOuDm/E1ioKv2uLGnPNWziYu+Zf025byxOqVzXDyM2gw==", - "dev": true, - "requires": { - "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.58.0", - "@wordpress/url": "^3.59.0" - } - } + "web-vitals": "^4.2.1" } }, "@wordpress/element": { @@ -35970,9 +36025,9 @@ } }, "@wordpress/jest-console": { - "version": "7.29.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-7.29.0.tgz", - "integrity": "sha512-/9PZJhyszdRX4mka7t1WzoooM+Q/DwC4jkNVtJxqci5lbL3Lrhy1cCJGCgMr1n/9w+zs7eLmExFBvV4v44iyNw==", + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-8.7.0.tgz", + "integrity": "sha512-tTDsAGfhv7B6jSRUN8lA6PBBU2UKi0+ICubA8tRID1dV8ekLNr5bu01A9BHwoROajiZsCcEvaAMGbWdSO7TsvQ==", "dev": true, "requires": { "@babel/runtime": "^7.16.0", @@ -35980,12 +36035,12 @@ } }, "@wordpress/jest-preset-default": { - "version": "11.29.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-11.29.0.tgz", - "integrity": "sha512-7LA0ZS5t0Thn7xrdwPL3hLgjB9LKloneGhMwnnDUTgJP330lyfdDfJ+O6Lnz3iL+bg68mkA3AzrT9Fs9f3WKww==", + "version": "12.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-12.7.0.tgz", + "integrity": "sha512-L/A75VlaI8OCNiol2sdCIY+ypFmosQIUQPcvmWu4nhEjen6CaIsX3VdRVQGtFrc0YgOyY+H2SsfKtEH9t/mQaw==", "dev": true, "requires": { - "@wordpress/jest-console": "^7.29.0", + "@wordpress/jest-console": "^8.7.0", "babel-jest": "^29.6.2" } }, @@ -36022,19 +36077,19 @@ } }, "@wordpress/npm-package-json-lint-config": { - "version": "4.43.0", - "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-4.43.0.tgz", - "integrity": "sha512-XSb7AdDC7yGTBVYeRM4oqmOygEB+/+tk7lobLIGDmlZJs+M3F/NUvQq0Vcas1pojq2fyPYTUwOlu81ga33fNwQ==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-5.7.0.tgz", + "integrity": "sha512-D2hjkL4lVgQ60JdyRY5od8PqiPquGaxHjk3MN0AyGcw42jYcuvN7+lDM/FHr4GVJpa0CGKey6Qe56UMiBBMUQw==", "dev": true, "requires": {} }, "@wordpress/postcss-plugins-preset": { - "version": "4.42.0", - "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-4.42.0.tgz", - "integrity": "sha512-5xmKF7IUsqS5JcmJlHKHq7RaR6ZpaLj3n9c+X0X0/Oo7ZCIGp6WeDQngx13sH4NJoKXrZ9g4n1rbzhEKeo/Wtg==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-5.7.0.tgz", + "integrity": "sha512-vNQGDGesErJJEHGqWAJOYqMnSfrKwObBToDd6nHD50OZ/ECydAuDwSQ97D4ZkH+y7n6zedz+/pCLcc/DnLVJSw==", "dev": true, "requires": { - "@wordpress/base-styles": "^4.49.0", + "@wordpress/base-styles": "^5.7.0", "autoprefixer": "^10.2.5" } }, @@ -36130,9 +36185,9 @@ } }, "@wordpress/prettier-config": { - "version": "3.15.0", - "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-3.15.0.tgz", - "integrity": "sha512-exC2rkEioTt//AnzPRyaaFv8FNYIvamPDytNol5bKQ6Qh65QSdZZE9V+GtRCrIPL7/Bq6xba03XuRVxl9TjtJg==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-4.7.0.tgz", + "integrity": "sha512-GuWbbVT4ebDbkIv40AbnF+WKDl9ra6+Y+oJAbh1cpivlKnbJBFofIxk4W/MOCtaFJhsfkzrQJGFqg3xkcPJM7g==", "dev": true, "requires": {} }, @@ -36194,24 +36249,24 @@ } }, "@wordpress/scripts": { - "version": "27.9.0", - "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-27.9.0.tgz", - "integrity": "sha512-ohiDHMnfTTBTi7qS7AVJZUi1dxwg0k3Aav1a8CzUoOE8YoT8tvMQ3W89H9XgqMgMTWUCdgTUBYLTJTivfVVbXQ==", + "version": "29.0.0", + "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-29.0.0.tgz", + "integrity": "sha512-OmquZmxWJxwnCxacB1nKfOjsirvBQgkrjKNuVmCF9gLwTG5GZl03xY7SvnNlhfP527rU0FZa4rKlHwdD2MKpAQ==", "dev": true, "requires": { "@babel/core": "^7.16.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", "@svgr/webpack": "^8.0.1", - "@wordpress/babel-preset-default": "^7.42.0", - "@wordpress/browserslist-config": "^5.41.0", - "@wordpress/dependency-extraction-webpack-plugin": "^5.9.0", - "@wordpress/e2e-test-utils-playwright": "^0.26.0", - "@wordpress/eslint-plugin": "^18.1.0", - "@wordpress/jest-preset-default": "^11.29.0", - "@wordpress/npm-package-json-lint-config": "^4.43.0", - "@wordpress/postcss-plugins-preset": "^4.42.0", - "@wordpress/prettier-config": "^3.15.0", - "@wordpress/stylelint-config": "^21.41.0", + "@wordpress/babel-preset-default": "^8.7.0", + "@wordpress/browserslist-config": "^6.7.0", + "@wordpress/dependency-extraction-webpack-plugin": "^6.7.0", + "@wordpress/e2e-test-utils-playwright": "^1.7.0", + "@wordpress/eslint-plugin": "^21.0.0", + "@wordpress/jest-preset-default": "^12.7.0", + "@wordpress/npm-package-json-lint-config": "^5.7.0", + "@wordpress/postcss-plugins-preset": "^5.7.0", + "@wordpress/prettier-config": "^4.7.0", + "@wordpress/stylelint-config": "^22.7.0", "adm-zip": "^0.5.9", "babel-jest": "^29.6.2", "babel-loader": "^8.2.3", @@ -36240,15 +36295,17 @@ "npm-package-json-lint": "^6.4.0", "npm-packlist": "^3.0.0", "postcss": "^8.4.5", + "postcss-import": "^16.1.0", "postcss-loader": "^6.2.1", "prettier": "npm:wp-prettier@3.0.3", - "puppeteer-core": "^13.2.0", + "puppeteer-core": "^23.1.0", "react-refresh": "^0.14.0", "read-pkg-up": "^7.0.1", "resolve-bin": "^0.4.0", "rtlcss-webpack-plugin": "^4.0.7", "sass": "^1.35.2", "sass-loader": "^12.1.0", + "schema-utils": "^4.2.0", "source-map-loader": "^3.0.0", "stylelint": "^14.2.0", "terser-webpack-plugin": "^5.3.9", @@ -36315,16 +36372,16 @@ "requires": {} }, "@wordpress/eslint-plugin": { - "version": "18.1.0", - "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-18.1.0.tgz", - "integrity": "sha512-5eGpXEwaZsKbEh9040nVr4ggmrpPmltP+Ie4iGruWvCme6ZIFYw70CyWEV8S102IkqjH/BaH6d+CWg8tN7sc/g==", + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-21.0.0.tgz", + "integrity": "sha512-4ioakbwSZNL8eXkfK0hcY93e5Fj9dZljxj3lEFkCBWMkSpU8/pPw/7UMS0OBbGQK8rqmvnXF1y/LFH7ihCxuww==", "dev": true, "requires": { "@babel/eslint-parser": "^7.16.0", "@typescript-eslint/eslint-plugin": "^6.4.1", "@typescript-eslint/parser": "^6.4.1", - "@wordpress/babel-preset-default": "^7.42.0", - "@wordpress/prettier-config": "^3.15.0", + "@wordpress/babel-preset-default": "^8.7.0", + "@wordpress/prettier-config": "^4.7.0", "cosmiconfig": "^7.0.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.2", @@ -36837,9 +36894,9 @@ } }, "@wordpress/stylelint-config": { - "version": "21.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-21.41.0.tgz", - "integrity": "sha512-2wxFu8ICeRGF3Lxz7H7o2SU1u6pTI4mjuog39DgtCNb+v+f6yhgREDuNQEeti3Svb0rjj63AJ7r2CqLZk+EQIQ==", + "version": "22.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-22.7.0.tgz", + "integrity": "sha512-nzFUC1urqtLklCke38VTH7yYlF3ihHu+ULRYwzhJNqWzttwz4srj60M3etEa2pdd2U6yywotQAJzcDbHw01qvQ==", "dev": true, "requires": { "stylelint-config-recommended": "^6.0.0", @@ -37803,6 +37860,46 @@ "dev": true, "optional": true }, + "bare-fs": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.3.3.tgz", + "integrity": "sha512-7RYKL+vZVCyAsMLi5SPu7QGauGGT8avnP/HO571ndEuV4MYdGXvLhtW67FuLPeEI8EiIY7zbbRR9x7x7HU0kgw==", + "dev": true, + "optional": true, + "requires": { + "bare-events": "^2.0.0", + "bare-path": "^2.0.0", + "bare-stream": "^2.0.0" + } + }, + "bare-os": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.4.2.tgz", + "integrity": "sha512-HZoJwzC+rZ9lqEemTMiO0luOePoGYNBgsLLgegKR/cljiJvcDNhDZQkzC+NC5Oh0aHbdBNSOHpghwMuB5tqhjg==", + "dev": true, + "optional": true + }, + "bare-path": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.3.tgz", + "integrity": "sha512-lh/eITfU8hrj9Ru5quUp0Io1kJWIk1bTjzo7JH1P5dWmQ2EL4hFUlfI8FonAhSlgIfhn63p84CDY/x+PisgcXA==", + "dev": true, + "optional": true, + "requires": { + "bare-os": "^2.1.0" + } + }, + "bare-stream": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.2.1.tgz", + "integrity": "sha512-YTB47kHwBW9zSG8LD77MIBAAQXjU2WjAkMHeeb7hUplVs6+IoM5I7uEVQNPMB7lj9r8I76UMdoMkGnCodHOLqg==", + "dev": true, + "optional": true, + "requires": { + "b4a": "^1.6.6", + "streamx": "^2.18.0" + } + }, "base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -38361,6 +38458,17 @@ "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==" }, + "chromium-bidi": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.6.5.tgz", + "integrity": "sha512-RuLrmzYrxSb0s9SgpB+QN5jJucPduZQ/9SIe76MDxYJuecPW5mxMdacJ1f4EtgiV+R0p3sCkznTMvH0MPGFqjA==", + "dev": true, + "requires": { + "mitt": "3.0.1", + "urlpattern-polyfill": "10.0.0", + "zod": "3.23.8" + } + }, "ci-info": { "version": "3.9.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", @@ -38978,12 +39086,12 @@ } }, "cross-fetch": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz", - "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", + "integrity": "sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==", "dev": true, "requires": { - "node-fetch": "2.6.7" + "node-fetch": "^2.6.12" } }, "cross-spawn": { @@ -45695,13 +45803,28 @@ "yargs-parser": "^21.0.0" }, "dependencies": { - "cross-fetch": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", - "integrity": "sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==", + "@puppeteer/browsers": { + "version": "1.4.6", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-1.4.6.tgz", + "integrity": "sha512-x4BEjr2SjOPowNeiguzjozQbsc6h437ovD/wu+JpaenxVLm3jkgzHY2xOslMTp50HoTvQreMjiexiGQw1sqZlQ==", "dev": true, "requires": { - "node-fetch": "^2.6.12" + "debug": "4.3.4", + "extract-zip": "2.0.1", + "progress": "2.0.3", + "proxy-agent": "6.3.0", + "tar-fs": "3.0.4", + "unbzip2-stream": "1.4.3", + "yargs": "17.7.1" + } + }, + "agent-base": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", + "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", + "dev": true, + "requires": { + "debug": "^4.3.4" } }, "debug": { @@ -45713,19 +45836,70 @@ "ms": "2.1.2" } }, + "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==", + "dev": true + }, + "http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, + "requires": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + } + }, + "https-proxy-agent": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", + "dev": true, + "requires": { + "agent-base": "^7.0.2", + "debug": "4" + } + }, + "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==", + "dev": true + }, + "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 + }, + "mitt": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.0.tgz", + "integrity": "sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ==", + "dev": true + }, "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-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "proxy-agent": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.3.0.tgz", + "integrity": "sha512-0LdR757eTj/JfuU7TL2YCuAZnxWXu3tkJbg4Oq3geW/qFNT/32T0sp2HnZ9O0lMR4q3vwAt0+xCA8SR0WAD0og==", "dev": true, "requires": { - "whatwg-url": "^5.0.0" + "agent-base": "^7.0.2", + "debug": "^4.3.4", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.0", + "lru-cache": "^7.14.1", + "pac-proxy-agent": "^7.0.0", + "proxy-from-env": "^1.1.0", + "socks-proxy-agent": "^8.0.1" } }, "puppeteer-core": { @@ -45772,26 +45946,48 @@ "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true }, - "tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true + "socks-proxy-agent": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz", + "integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==", + "dev": true, + "requires": { + "agent-base": "^7.1.1", + "debug": "^4.3.4", + "socks": "^2.8.3" + } }, - "webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "dev": true + "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, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } }, - "whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "tar-fs": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.4.tgz", + "integrity": "sha512-5AFQU8b9qLfZCX9zp2duONhPmZv0hGYiBPJsyUdqMjzq/mqVpy/rEUSeHk1+YitmxugaptgBh5oDGU3VsAJq4w==", "dev": true, "requires": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^3.1.5" + } + }, + "tar-stream": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", + "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", + "dev": true, + "requires": { + "b4a": "^1.6.4", + "fast-fifo": "^1.2.0", + "streamx": "^2.15.0" } }, "ws": { @@ -45800,6 +45996,21 @@ "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "dev": true, "requires": {} + }, + "yargs": { + "version": "17.7.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", + "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", + "dev": true, + "requires": { + "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" + } } } }, @@ -46673,9 +46884,9 @@ } }, "mitt": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.0.tgz", - "integrity": "sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", + "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", "dev": true }, "mixin-object": { @@ -46822,9 +47033,9 @@ } }, "node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "dev": true, "requires": { "whatwg-url": "^5.0.0" @@ -48105,6 +48316,17 @@ "dev": true, "requires": {} }, + "postcss-import": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-16.1.0.tgz", + "integrity": "sha512-7hsAZ4xGXl4MW+OKEWCnF6T5jqBw80/EE9aXg1r2yyn1RsVEU8EtKXbijEODa+rg7iih4bKf7vlvTGYR4CnPNg==", + "dev": true, + "requires": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + } + }, "postcss-loader": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-6.2.1.tgz", @@ -48574,19 +48796,19 @@ } }, "proxy-agent": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.3.0.tgz", - "integrity": "sha512-0LdR757eTj/JfuU7TL2YCuAZnxWXu3tkJbg4Oq3geW/qFNT/32T0sp2HnZ9O0lMR4q3vwAt0+xCA8SR0WAD0og==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz", + "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==", "dev": true, "requires": { "agent-base": "^7.0.2", "debug": "^4.3.4", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.0", + "http-proxy-agent": "^7.0.1", + "https-proxy-agent": "^7.0.3", "lru-cache": "^7.14.1", - "pac-proxy-agent": "^7.0.0", + "pac-proxy-agent": "^7.0.1", "proxy-from-env": "^1.1.0", - "socks-proxy-agent": "^8.0.1" + "socks-proxy-agent": "^8.0.2" }, "dependencies": { "agent-base": { @@ -48682,61 +48904,24 @@ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==" }, "puppeteer-core": { - "version": "13.7.0", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-13.7.0.tgz", - "integrity": "sha512-rXja4vcnAzFAP1OVLq/5dWNfwBGuzcOARJ6qGV7oAZhnLmVRU8G5MsdeQEAOy332ZhkIOnn9jp15R89LKHyp2Q==", + "version": "23.3.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.3.0.tgz", + "integrity": "sha512-sB2SsVMFs4gKad5OCdv6w5vocvtEUrRl0zQqSyRPbo/cj1Ktbarmhxy02Zyb9R9HrssBcJDZbkrvBnbaesPyYg==", "dev": true, "requires": { - "cross-fetch": "3.1.5", - "debug": "4.3.4", - "devtools-protocol": "0.0.981744", - "extract-zip": "2.0.1", - "https-proxy-agent": "5.0.1", - "pkg-dir": "4.2.0", - "progress": "2.0.3", - "proxy-from-env": "1.1.0", - "rimraf": "3.0.2", - "tar-fs": "2.1.1", - "unbzip2-stream": "1.4.3", - "ws": "8.5.0" + "@puppeteer/browsers": "2.4.0", + "chromium-bidi": "0.6.5", + "debug": "^4.3.6", + "devtools-protocol": "0.0.1330662", + "typed-query-selector": "^2.12.0", + "ws": "^8.18.0" }, "dependencies": { - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, "devtools-protocol": { - "version": "0.0.981744", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.981744.tgz", - "integrity": "sha512-0cuGS8+jhR67Fy7qG3i3Pc7Aw494sb9yG9QgpG97SFVWwolgYjlhJg7n+UaHxOQT30d1TYu/EYe9k01ivLErIg==", - "dev": true - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "version": "0.0.1330662", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1330662.tgz", + "integrity": "sha512-pzh6YQ8zZfz3iKlCvgzVCu22NdpZ8hNmwU6WnQjNVquh0A9iVosPtNLWDwaWVGyrntQlltPFztTMK5Cg6lfCuw==", "dev": true - }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, - "ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", - "dev": true, - "requires": {} } } }, @@ -49039,6 +49224,23 @@ "debounce": "^1.2.1" } }, + "read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "dev": true, + "requires": { + "pify": "^2.3.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true + } + } + }, "read-pkg": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", @@ -51333,6 +51535,7 @@ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", "dev": true, + "optional": true, "requires": { "chownr": "^1.1.1", "mkdirp-classic": "^0.5.2", @@ -51345,6 +51548,7 @@ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", "dev": true, + "optional": true, "requires": { "buffer": "^5.5.0", "inherits": "^2.0.4", @@ -51355,13 +51559,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", - "dev": true + "dev": true, + "optional": true }, "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, + "optional": true, "requires": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -51373,6 +51579,7 @@ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", "dev": true, + "optional": true, "requires": { "bl": "^4.0.3", "end-of-stream": "^1.4.1", @@ -51844,6 +52051,12 @@ "possible-typed-array-names": "^1.0.0" } }, + "typed-query-selector": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.0.tgz", + "integrity": "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==", + "dev": true + }, "typedarray": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", @@ -52101,6 +52314,12 @@ "requires-port": "^1.0.0" } }, + "urlpattern-polyfill": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz", + "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==", + "dev": true + }, "use-callback-ref": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.2.tgz", @@ -52312,9 +52531,9 @@ } }, "web-vitals": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-3.5.2.tgz", - "integrity": "sha512-c0rhqNcHXRkY/ogGDJQxZ9Im9D19hDihbzSQJrsioex+KnFgmMzBiy57Z1EjkhX/+OjyBpclDCzz2ITtjokFmg==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-4.2.3.tgz", + "integrity": "sha512-/CFAm1mNxSmOj6i0Co+iGFJ58OS4NRGVP+AWS/l509uIK5a1bSoIVaHz/ZumpHTfHSZBpgrJ+wjfpAOrTHok5Q==", "dev": true }, "webidl-conversions": { @@ -52964,6 +53183,12 @@ "lodash": "^4.8.0", "readable-stream": "^2.0.0" } + }, + "zod": { + "version": "3.23.8", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", + "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", + "dev": true } } } diff --git a/package.json b/package.json index 9c934b2ff..051cd155d 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@wordpress/block-editor": "^12.12.0", "@wordpress/blocks": "^12.29.0", "@wordpress/components": "^25.16.0", - "@wordpress/scripts": "^27.3.0", + "@wordpress/scripts": "^29.0.0", "@wordpress/server-side-render": "^4.30.0", "ajv": "^8.17.1", "ajv-keywords": "^5.1.0", From bfe8fe007ed61ba5af4233d83d60a1f29d5ed646 Mon Sep 17 00:00:00 2001 From: Prajjwal Poudel Date: Thu, 19 Sep 2024 09:54:05 +0545 Subject: [PATCH 02/69] Version bump to 3.3.3 Squashed commit of the following: commit 965e2a5d7872a4cedc1b87b975c0ba7f12f8c4c6 Author: Prajjwal Poudel Date: Wed Sep 18 14:33:43 2024 +0545 Tweak - Install pages notice display only if continue setup wizard notice is skipped commit 7b19cdeab7affca448014da1bd21b57a19a275ca Merge: 809bbe8a d0a076e0 Author: Prajjwal Poudel Date: Wed Sep 18 13:39:36 2024 +0545 Resolve merge conflicts commit 809bbe8a6346cf1b35ccc99ecb00d63c707d9ea4 Author: Prajjwal Poudel Date: Wed Sep 18 13:38:31 2024 +0545 Fix - Continue setup wizard not working properly commit d0a076e0868040c5a1c1939a22b412ed1f1df661 Author: Lekhnath Pandey Date: Wed Sep 18 12:46:52 2024 +0545 Fix - Conflict with lost password when Woocommerce My Account Page selected in user registration settings commit 38bdcce1d1b9e692ca8b0fb731e5726534574786 Author: Prajjwal Poudel Date: Wed Sep 18 09:51:12 2024 +0545 Tweak - Changed feature item label from Pro to Personal to avoid confusion commit be7d433eab565cc2edd96a4ee73b21f7f31852f9 Author: Prajjwal Poudel Date: Mon Sep 16 17:33:54 2024 +0545 Tweak - Added skip setup button in continue setup wizard notice commit 44138c827785b224d54ae9b172f3e04d044e00eb Author: Prajjwal Poudel Date: Wed Sep 11 12:57:35 2024 +0545 Fix - Select All not working in checkbox field --- CHANGELOG.txt | 9 + assets/css/activation-rtl.css | 3 + assets/css/activation.css | 3 + assets/css/activation.scss | 4 + assets/js/admin/form-builder.js | 6 +- assets/js/admin/settings.js | 5 +- assets/js/frontend/user-registration.js | 12 +- assets/js/frontend/user-registration.min.js | 2 +- .../controllers/version1/class-ur-modules.php | 1 + includes/admin/class-ur-admin-dashboard.php | 2 - includes/admin/class-ur-admin-welcome.php | 2 +- .../notifications/class-ur-admin-notices.php | 40 +- .../html-notice-continue-setup-wizard.php | 16 - .../block-types/class-ur-block-myaccount.php | 4 +- includes/class-ur-form-handler.php | 16 +- languages/user-registration.pot | 212 +- package-lock.json | 2230 ++++------------- package.json | 2 +- readme.txt | 13 +- src/welcome/components/App.js | 476 ++-- user-registration.php | 4 +- 21 files changed, 997 insertions(+), 2065 deletions(-) delete mode 100644 includes/admin/notifications/views/html-notice-continue-setup-wizard.php diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 49b4ddb09..b3bb398ee 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,12 @@ += 3.3.3 - 19/09/2024 = +* Fix - Select all option not working in checkbox field. +* Fix - Continue setup wizard button not working properly. +* Fix - Conflict with lost password when WooCommerce My Account Page selected in user registration settings. +* Tweak - Added skip setup button in continue setup wizard notice. +* Tweak - Added filters to change reset password validation error message. +* Tweak - Changed feature item label from Pro to Personal to avoid confusion. +* Tweak - Install pages notice display only if continue setup wizard notice is skipped. + = 3.3.2.1 - 11/09/2024 = * Fix - Tooltip icon is not being displayed in Global Settings. diff --git a/assets/css/activation-rtl.css b/assets/css/activation-rtl.css index ea3a58242..8da0fa2fe 100644 --- a/assets/css/activation-rtl.css +++ b/assets/css/activation-rtl.css @@ -48,3 +48,6 @@ right: 0; -webkit-transition: all .1s ease-in-out; transition: all .1s ease-in-out; } + +.wpb-content-layouts .icon-wpb-vc_user_registration { + background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTI3LjU4IDRhMjcuOSAyNy45IDAgMCAwLTUuMTcgNCAyNyAyNyAwIDAgMC00LjA5IDUuMDggMzMuMDYgMzMuMDYgMCAwIDEgMiA0LjY1QTIzLjc4IDIzLjc4IDAgMCAxIDI0IDEyLjE1VjE4YTggOCAwIDAgMS01Ljg5IDcuNzJsLS4yMS4wNWEyNyAyNyAwIDAgMC0xLjktOC4xNkEyNy45IDI3LjkgMCAwIDAgOS41OSA4YTI3LjkgMjcuOSAwIDAgMC01LjE3LTRMNCAzLjc3VjE4YTEyIDEyIDAgMCAwIDkuOTMgMTEuODJoLjE0YTExLjcyIDExLjcyIDAgMCAwIDMuODYgMGguMTRBMTIgMTIgMCAwIDAgMjggMThWMy43N3pNOCAxOHYtNS44NWEyMy44NiAyMy44NiAwIDAgMSA1Ljg5IDEzLjU3QTggOCAwIDAgMSA4IDE4em04LTE2YTMgMyAwIDEgMCAzIDMgMyAzIDAgMCAwLTMtM3oiLz48L3N2Zz4=") !important; } diff --git a/assets/css/activation.css b/assets/css/activation.css index b27fbb885..f03d0e631 100644 --- a/assets/css/activation.css +++ b/assets/css/activation.css @@ -48,3 +48,6 @@ left: 0; -webkit-transition: all .1s ease-in-out; transition: all .1s ease-in-out; } + +.wpb-content-layouts .icon-wpb-vc_user_registration { + background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTI3LjU4IDRhMjcuOSAyNy45IDAgMCAwLTUuMTcgNCAyNyAyNyAwIDAgMC00LjA5IDUuMDggMzMuMDYgMzMuMDYgMCAwIDEgMiA0LjY1QTIzLjc4IDIzLjc4IDAgMCAxIDI0IDEyLjE1VjE4YTggOCAwIDAgMS01Ljg5IDcuNzJsLS4yMS4wNWEyNyAyNyAwIDAgMC0xLjktOC4xNkEyNy45IDI3LjkgMCAwIDAgOS41OSA4YTI3LjkgMjcuOSAwIDAgMC01LjE3LTRMNCAzLjc3VjE4YTEyIDEyIDAgMCAwIDkuOTMgMTEuODJoLjE0YTExLjcyIDExLjcyIDAgMCAwIDMuODYgMGguMTRBMTIgMTIgMCAwIDAgMjggMThWMy43N3pNOCAxOHYtNS44NWEyMy44NiAyMy44NiAwIDAgMSA1Ljg5IDEzLjU3QTggOCAwIDAgMSA4IDE4em04LTE2YTMgMyAwIDEgMCAzIDMgMyAzIDAgMCAwLTMtM3oiLz48L3N2Zz4=") !important; } diff --git a/assets/css/activation.scss b/assets/css/activation.scss index 3d75f0c8f..3673e5289 100644 --- a/assets/css/activation.scss +++ b/assets/css/activation.scss @@ -47,3 +47,7 @@ } } } + +.wpb-content-layouts .icon-wpb-vc_user_registration{ + background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTI3LjU4IDRhMjcuOSAyNy45IDAgMCAwLTUuMTcgNCAyNyAyNyAwIDAgMC00LjA5IDUuMDggMzMuMDYgMzMuMDYgMCAwIDEgMiA0LjY1QTIzLjc4IDIzLjc4IDAgMCAxIDI0IDEyLjE1VjE4YTggOCAwIDAgMS01Ljg5IDcuNzJsLS4yMS4wNWEyNyAyNyAwIDAgMC0xLjktOC4xNkEyNy45IDI3LjkgMCAwIDAgOS41OSA4YTI3LjkgMjcuOSAwIDAgMC01LjE3LTRMNCAzLjc3VjE4YTEyIDEyIDAgMCAwIDkuOTMgMTEuODJoLjE0YTExLjcyIDExLjcyIDAgMCAwIDMuODYgMGguMTRBMTIgMTIgMCAwIDAgMjggMThWMy43N3pNOCAxOHYtNS44NWEyMy44NiAyMy44NiAwIDAgMSA1Ljg5IDEzLjU3QTggOCAwIDAgMSA4IDE4em04LTE2YTMgMyAwIDEgMCAzIDMgMyAzIDAgMCAwLTMtM3oiLz48L3N2Zz4=") !important; +} diff --git a/assets/js/admin/form-builder.js b/assets/js/admin/form-builder.js index dbed7ea26..802d9d869 100644 --- a/assets/js/admin/form-builder.js +++ b/assets/js/admin/form-builder.js @@ -1826,9 +1826,9 @@ return each_value !== choice_value; }) ) { - general_setting_data["options"] = - option_values.push(choice_value); - general_setting_data["options"] = option_values; + general_setting_data["options"] = + option_values.push(choice_value); + general_setting_data["options"] = option_values; } } else { if ("default_value" === $(this).attr("data-field")) { diff --git a/assets/js/admin/settings.js b/assets/js/admin/settings.js index 19fa8dfa8..71f595962 100644 --- a/assets/js/admin/settings.js +++ b/assets/js/admin/settings.js @@ -1077,6 +1077,7 @@ }); } - $(document).find(".wp-list-table").wrap("
"); - + $(document) + .find(".wp-list-table") + .wrap("
"); })(jQuery); diff --git a/assets/js/frontend/user-registration.js b/assets/js/frontend/user-registration.js index e42fbe39e..eee2f5c14 100644 --- a/assets/js/frontend/user-registration.js +++ b/assets/js/frontend/user-registration.js @@ -571,8 +571,12 @@ JSON.stringify( checked_value ); - if ( "separate_shipping" === field.attr("data-id") ) { - formwise_data.value = field.val(); + if ( + "separate_shipping" === + field.attr("data-id") + ) { + formwise_data.value = + field.val(); } } else { formwise_data.value = ""; @@ -2540,7 +2544,7 @@ $('input[type="checkbox"]#checkall').on("click", function () { var checkAll = $(this).attr("data-check"); - $('[data-id = "' + checkAll + '" ]').prop( + $('[data-id = "' + checkAll + '[]" ]').prop( "checked", $(this).prop("checked") ); @@ -2548,6 +2552,8 @@ $(".input-checkbox").on("change", function () { var checkAll = $(this).attr("data-id"); + checkAll = checkAll.replace("[]", ""); + if ($(this).prop("checked") === false) { $('[data-check = "' + checkAll + '" ]').prop("checked", false); } diff --git a/assets/js/frontend/user-registration.min.js b/assets/js/frontend/user-registration.min.js index bfbd8fae5..462c31ef1 100644 --- a/assets/js/frontend/user-registration.min.js +++ b/assets/js/frontend/user-registration.min.js @@ -1 +1 @@ -function ur_includes(e,r){if(Array.isArray(e))for(var t=0;t=3?r.minimum_pass_length:3,a=r.max_rep_chars!==undefined?r.max_rep_chars:0,i=r.no_rep_chars!==undefined?r.no_rep_chars:0,n=r.minimum_uppercase!==undefined?r.minimum_uppercase:0,s=r.minimum_special_chars!==undefined?r.minimum_special_chars:0,o=r.minimum_digits!==undefined?r.minimum_digits:0,d=new Set(["!","@","#","$","%","^","&","*","(",")","-","_","=","+","{","}","[","]","|","\\",":",";",'"',"'","<",">",",",".","?","/"]),u="",l=0,f=0,p=0,_=0;if(e.length=a)return 0}else l=0;u=m}return n>0&&f0&&_0&&p0){var a=e(this).val().trim();r="characters"===t.find(".ur-input-count").data("count-type")?a.length:""===a?0:a.split(/\s+/).length}t.find(".ur-input-count").text(r)})}var t=function(){var t=user_registration_params.ursL10n;e.fn.ur_form_submission=function(){return this.each(function(){var r=e(this),a=[],i=user_registration_params.form_required_fields,n={init:function(){},get_form_data:function(t){if(t===r.closest(".ur-frontend-form").attr("id")||e(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")){var a=this,i=[],s=n.separate_form_handler(""),o={};r.closest("form").find(".ur-repeater-row").each(function(){var r=e(this).closest(".ur-repeater-row").data("repeater-field-name"),t="row_"+e(this).closest(".ur-repeater-row").data("repeater-row");e(this).closest(".user-registration-EditProfileForm").length>0&&(r="user_registration_"+r),o[r]||(o[r]={field_name:r,field_type:"repeater",value:{},label:e(this).closest(".ur-repeater-row").find(".ur-repeater-label").find(".ur-label").text(),extra_params:{field_key:"repeater",label:e(this).closest(".ur-repeater-row").find(".ur-repeater-label").find(".ur-label").text()}}),o[r].value[t]||(o[r].value[t]=[])});var d=new Array;e.each(s,function(){var r=e(this).attr("name"),t=e(this).attr("type"),s=n.separate_form_handler('[name="'+r+'"]'),u=e(this).closest(".ur-repeater-row").data("repeater-field-name");e(this).closest(".user-registration-EditProfileForm").length>0&&(u="user_registration_"+u);var l="row_"+e(this).closest(".ur-repeater-row").data("repeater-row");if((s.length<2||s.closest(".ur-repeater-row").length>0)&&e.inArray(t,["radio"])<0){var f=a.get_fieldwise_data(e(this)),p=document.querySelector(".field-invite_code");"invite_code"===f.field_name?"none"!==p.style.display&&i.push(f):e(this).closest(".ur-repeater-row").length>0?e(this).closest(".form-row").find("*[name='"+e(this).attr("name")+"']").length<2||"range"===e(this).attr("type")||e(this).hasClass("ur-smart-phone-field")?o[u].value[l].push(f):-1===d.indexOf(f.field_name+"[]")&&d.push(f.field_name+"[]"):i.push(f)}else e.inArray(r,d)<0&&d.push(r)});for(var u=0;u0?r.closest(".field-radio").length>0?_[r.attr("data-id")]=t:("undefined"==typeof _[r.attr("data-id")]&&(_[r.attr("data-id")]=new Array),_[r.attr("data-id")].push(t)):p.push(t))}),"checkbox"==f)if(""!==user_registration_params.is_payment_compatible)if("multiple_choice"==l.eq(0).attr("data-field")){e(document).trigger("user_registration_frontend_multiple_choice_data_filter",[p,l]),p=l.closest(".field-multiple_choice").data("payment-value");var c=JSON.stringify(p)}else c=JSON.stringify(p);else if("multiple_choice"==l.eq(0).attr("data-field"))for(var m=p,g=(c=0,0);g0){var h=selectedSubscriptionPlan.data("value");c=JSON.stringify(h+":"+selectedSubscriptionPlan.val())}}else c=p[0];else c=p[0];else c=l.val();var v=d[u];v=v.replace("[]","");var b={value:c,field_type:f,label:l.eq(0).attr("data-label"),field_name:v};if(Object.keys(_).length>0){new Array;e.each(_,function(r,t){r=e("[name='"+r+"']").length<1&&-1===r.indexOf("[]")?r+"[]":r;var a=e('[name="'+r+'"]').closest(".ur-repeater-row").data("repeater-row"),i=Object.assign({},b);i.value="string"==typeof t?t:JSON.stringify(t),i.field_name=v.slice(0,-2);var n="undefined"==typeof o[e("[name='"+r+"']").closest(".ur-repeater-row").data("repeater-field-name")]?"user_registration_"+e("[name='"+r+"']").closest(".ur-repeater-row").data("repeater-field-name"):e("[name='"+r+"']").closest(".ur-repeater-row").data("repeater-field-name");o[n].value["row_"+a].push(i)})}else i.push(b)}return Object.keys(o).forEach(function(r){e("input[name='"+r+"'").length>0&&e("input[name='"+r+"'").val(JSON.stringify(o[r]))}),Object.keys(o).length>0&&e.merge(i,Object.values(o)),e(document).trigger("user_registration_frontend_form_data_filter",[i]),i}},get_fieldwise_data:function(r){var t={},n=r.get(0).tagName.toLowerCase(),s="undefined"!==r.attr("name")?r.attr("name"):"null",o=[];r.attr("name")!==undefined&&""!==r.attr("name")?(t.field_name=r.attr("name"),t.field_name=t.field_name.replace("[]",""),e(r).closest(".ur-repeater-row").length>0&&(e(r).closest(".field-multi_select2").length>0&&(t.field_name=t.field_name.slice(0,-2)),e(r).closest(".field-file").length>0&&(t.field_name=e(r).closest(".field-file").attr("data-ref-id")))):t.field_name="",e(".field-phone, .field-billing_phone").each(function(){var r=e(this).find(".form-row").attr("id");e(this).find(".form-row").find("#"+r).hasClass("ur-smart-phone-field")&&o.push(e(this).find(".form-row").attr("id"))});var d="undefined"!==r.attr("type")?r.attr("type"):"null",u=r.get(0).className.split(" ")[0];switch(t.value="",n){case"input":var l=new Array;switch(d){case"checkbox":!r.closest(".field-privacy_policy").length>0?r.prop("checked")?(l.push(r.val()),t.value=JSON.stringify(l),"separate_shipping"===r.attr("data-id")&&(t.value=r.val())):t.value="":(t.value=r.prop("checked")?r.val():"",t.field_name=r.closest(".field-privacy_policy").data("ref-id"));break;case"radio":t.value=r.prop("checked")?r.val():"",t.field_name=r.closest(".field-privacy_policy").data("ref-id");break;default:t.value=r.val()}ur_includes(o,s)&&(t.value=r.siblings('input[type="hidden"]').val());break;case"select":t.value=r.val();break;case"textarea":switch(u){case"wysiwyg":tinyMCE.triggerSave(),t.value=r.val();break;default:t.value=r.val()}}return e(document).trigger("user_registration_frontend_form_data_render",[r,t]),t.field_type="undefined"!==r.eq(0).attr("type")?r.eq(0).attr("type"):"null",r.attr("data-label")!==undefined?t.label=r.attr("data-label"):r.prev().length&&"label"===r.prev().get(0).tagName.toLowerCase()?t.label=r.prev().text():t.label=t.field_type,e.inArray(t.field_name,i.join(",").trim())>=0&&a.push(t.field_name),t},show_message:function(r,t,a,i){if(a.closest(".user-registration").find(".ur-message").remove(),e(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")){(n=e('
')).append(r);e(".user-registration").find(".user-registration-MyAccount-navigation").length?n.insertBefore(".user-registration-MyAccount-navigation"):n.insertBefore(".ur-frontend-form")}else{var n;(n=e('
')).append(r),"1"===i?a.append(n):"2"===i?"message"==t?(a.closest(".entry-content").prepend(n),a.closest(".ur-frontend-form").hide()):a.append(n):a.prepend(n)}},separate_form_handler:function(t){return e(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")?r.find(".user-registration-profile-fields").find(".ur-edit-profile-field"+t):r.closest(".ur-frontend-form").find(".ur-form-grid").find(".ur-frontend-field"+t)},missing_attachment_handler:function(r){var t=[];if(1<=r.length){r.each(function(){var r=e(this).attr("id");-1===e.inArray(r,t)&&t.push(r)});for(var a=0;a=0;n--)e.isNumeric(i[n])||i.splice(n,1);e("#"+t[a]).val(i)}}}},s={init:function(){this.form_submit_event(),user_registration_params.ajax_submission_on_edit_profile&&this.edit_profile_event()},form_submit_event:function(){e(".ur-frontend-form").each(function(){var r=e(this);r.find("form.register").off("submit").on("submit",function(a){if(a.preventDefault(),r.find("form.register button.ur-submit-button").is(":hidden")||r.find("form.register button.ur-submit-button").is(":disabled"))return!1;var i=e(this);if(e.extend(e.validator.messages,{required:user_registration_params.message_required_fields,url:user_registration_params.message_url_fields,email:user_registration_params.message_email_fields,number:user_registration_params.message_number_fields,confirmpassword:user_registration_params.message_confirm_password_fields}),i.find(".user-registration-password-strength").length>0){var o=i.find(".user-registration-password-strength").attr("data-current-strength"),d=i.find(".user-registration-password-strength").attr("data-min-strength");if(parseInt(o,0)";i.find(".user-registration-password-hint").after(u),i.find("#user_pass").attr("aria-invalid",!0),i.find("#user_pass").trigger("focus")}return!1}}var l=i.find(".ur-smart-phone-field");if("true"===l.attr("aria-invalid")){(_=l.closest("p.form-row")).find("#"+l.data("id")+"-error").remove();var f='";return _.append(f),_.find("#"+l.data("id")).attr("aria-invalid",!0),!0}var p=i.find(".urfu-file-input");n.missing_attachment_handler(p);if(1===i.find(".uraf-profile-picture-upload").find(".user-registration-error").length){var _,c=i.find(".uraf-profile-picture-upload").find(".uraf-profile-picture-input");(_=i.find(".uraf-profile-picture-upload")).find("#"+c.attr("name")+"-error").remove(),_.find(".uraf-profile-picture-file-error").remove();var m='";_.find("button.wp_uraf_profile_picture_upload").after(m)}if(e(document).trigger("user_registration_frontend_validate_before_form_submit",[i]),!(00&&i.find("#user_registration_stripe_gateway").find(".user-registration-error").is(":visible"))&&i.valid()){i.find(".ur-submit-button").prop("disabled",!0);var g,h=0,v="0",b="",w="";b="hcaptcha"===user_registration_params.recaptcha_type?i.find('[name="h-captcha-response"]').val():"cloudflare"===user_registration_params.recaptcha_type?i.find('[name="cf-turnstile-response"]').val():i.find('[name="g-recaptcha-response"]').val();try{g=JSON.stringify(n.get_form_data(i.closest(".ur-frontend-form").attr("id")))}catch(k){g=""}1===e(this).closest("form").find('input[name="ur-user-form-id"]').length&&(h=e(this).closest("form").find('input[name="ur-user-form-id"]').val()),1===e(this).closest("form").find('input[name="ur-registration-language"]').length&&(w=e(this).closest("form").find('input[name="ur-registration-language"]').val()),1===e(this).closest("form").find('input[name="ur_frontend_form_nonce"]').length&&(v=e(this).closest("form").find('input[name="ur_frontend_form_nonce"]').val());var y={action:"user_registration_user_form_submit",security:user_registration_params.user_registration_form_data_save,form_data:g,captchaResponse:b,form_id:h,registration_language:w,ur_frontend_form_nonce:v},x={};if(e(document).trigger("user_registration_frontend_before_form_submit",[y,i,x]),"undefined"!=typeof x.message&&""!==x.message)return n.show_message("

"+x.message+"

","error",i,"1"),void i.find(".ur-submit-button").prop("disabled",!1);if(!(i.find('.field-authorize_net_gateway[data-field-id="authorizenet_gateway"]').find(".ur-authorize-net-errors").length>0)){i.find(".ur-submit-button").find("span").addClass("ur-front-spinner");if(s.wait_third_party_api(i))new Promise(function(r,t){e(document).trigger("user_registration_third_party_api_before_form_submit",[y,i,x,r,t])}).then(function(e){s.ajax_form_submit(e)});else s.ajax_form_submit(y)}}})})},wait_third_party_api:function(e){var r=!1;return e.find("#user_registration_authorize_net_gateway[data-gateway='authorize_net']").length>0&&(r=!0),r},ajax_form_submit:function(a){e.ajax({url:user_registration_params.ajax_url,data:a,type:"POST",async:!0,complete:function(a){var i=[];if(i.status=!0,e(document).trigger("user_registration_frontend_before_ajax_complete_success_message",[a,i,r]),i.status){r.find(".ur-submit-button").find("span").removeClass("ur-front-spinner");var s=r.find('input[name="ur-redirect-url"]').val(),o=e('
    '),d="error",u=!1;try{var l=JSON.parse(a.responseText),f=l.data.redirect_timeout?l.data.redirect_timeout:2e3;"undefined"!=typeof l.success&&!0===l.success&&"undefined"!=typeof l.data.paypal_redirect&&window.setTimeout(function(){window.location=l.data.paypal_redirect},f),"undefined"!=typeof l.success&&!0===l.success&&(d="message"),"message"===d?(r.find(".user-registration-password-hint").remove(),r.find(".user-registration-password-strength").remove(),"admin_approval"==l.data.form_login_option?o.append("
  • "+t.user_under_approval+"
  • "):"email_confirmation"==l.data.form_login_option||"admin_approval_after_email_confirmation"==l.data.form_login_option?o.append("
  • "+t.user_email_pending+"
  • "):"payment"==l.data.form_login_option?o.append("
  • "+l.data.message+"
  • "):o.append((l.data.message,t.user_successfully_saved)),"undefined"!=typeof l.data.auto_password_generation_success_message&&o.append("
  • "+l.data.auto_password_generation_success_message+"
  • "),e(".ur-input-count").text("0"),r[0].reset(),r.find("#profile_pic_url").length&&e("#profile_pic_url").val(""),jQuery("#billing_country").trigger("change"),jQuery("#shipping_country").trigger("change"),"undefined"!=typeof l.data.role_based_redirect_url&&(s=l.data.role_based_redirect_url),"undefined"!=typeof l.data.form_login_option&&"sms_verification"===l.data.form_login_option&&window.setTimeout(function(){"undefined"!=typeof l.data.redirect_url&&l.data.redirect_url&&(window.location=l.data.redirect_url)},f),void 0!==s&&""!==s?(e(document).trigger("user_registration_frontend_before_redirect_url",[s]),window.setTimeout(function(){window.location=s},f)):"undefined"!=typeof l.data.auto_login&&l.data.auto_login&&(e(document).trigger("user_registration_frontend_before_auto_login"),window.setTimeout(function(){"undefined"!=typeof l.data.redirect_url&&l.data.redirect_url?window.location=l.data.redirect_url:location.reload()},f))):"error"===d&&("object"==typeof l.data.message?e.each(l.data.message,function(t,a){if(a.hasOwnProperty("individual")){var i=[];e.each(r.find(".ur-field-item").find(".ur-frontend-field"),function(r){var t=e(this);if(t.hasClass("input-captcha-icon-radio")){var a=t.attr("data-id");i.includes(a)||i.push(a)}else{var n=t.attr("id");i.push(n)}});var n="";e.each(a,function(e,t){var s="",o="";if(a.hasOwnProperty("repeater_field_name")&&(s=a.repeater_field_name,e=e+"_"+(o=a.row_id.replace("row_",""))),i.includes(e)){n=e;var d='",l="";(l=r.find(".ur-repeater-row[data-repeater-field-name='"+s+"'][data-repeater-row='"+o+"'] ").length>0?r.find(".ur-repeater-row[data-repeater-field-name='"+s+"'][data-repeater-row='"+o+"'] ").find(".ur-field-item").find("input[id='"+e+"'], textarea[id='"+e+"']"):r.find(".ur-form-row").find(".ur-field-item").find("input[id='"+e+"'], textarea[id='"+e+"']")).closest(".ur-field-item").find(".user-registration-error").remove(),l.closest(".form-row").append(d),u=!0}}),e(document).trigger("ur_handle_field_error_messages",[r,n])}else o.append("
  • "+a+"
  • ")}):o.append("
  • "+l.data.message+"
  • "))}catch(m){o.append("
  • "+m.message+"
  • ")}var p=JSON.parse(a.responseText).data.success_message_positon;if(u){var _=[];e.each(r.find(".ur-field-item").find(".ur-frontend-field"),function(r){var t=e(this).attr("id");_.push(t)});var c="";e.each(l.data.message,function(e,t){if(_.includes(e)){c=e;var a='",i=r.find(".ur-field-item").find("input[id='"+e+"'], textarea[id='"+e+"']");i.closest(".ur-field-item").find(".user-registration-error").remove(),i.closest(".form-row").append(a)}}),e(document).trigger("ur_handle_field_error_messages",[r,c])}else n.show_message(o,d,r,p);"1"===p?e(window).scrollTop(r.find(".ur-button-container").offset().top):e(window).scrollTop(r.closest(".ur-frontend-form").offset().top),e(document).trigger("user_registration_frontend_after_ajax_complete",[a.responseText,d,r]),r.find(".ur-submit-button").prop("disabled",!1)}e(".coupon-message").css({display:"none"})}}).fail(function(){n.show_message("

    "+user_registration_params.ajax_form_submit_error+"

    ","error",r,"1"),r.find(".ur-submit-button").prop("disabled",!1)})},edit_profile_event:function(){user_registration_params.ajax_submission_on_edit_profile&&e("form.user-registration-EditProfileForm").off("submit").on("submit",function(r){r.preventDefault(),r.stopImmediatePropagation();var t=e(this);e.extend(e.validator.messages,{required:user_registration_params.message_required_fields,url:user_registration_params.message_url_fields,email:user_registration_params.message_email_fields,number:user_registration_params.message_number_fields});var a=t.find(".ur-smart-phone-field");if("true"===a.attr("aria-invalid")){(s=a.closest("p.form-row")).find("#"+a.data("id")+"-error").remove();var i='";return s.append(i),s.find("#"+a.data("id")).attr("aria-invalid",!0),!0}if(1===t.find(".uraf-profile-picture-upload").find(".user-registration-error").length){var s,o=t.find(".uraf-profile-picture-upload").find(".uraf-profile-picture-input");(s=t.find(".uraf-profile-picture-upload")).find("#"+o.attr("name")+"-error").remove(),s.find(".uraf-profile-picture-file-error").remove();var d='";s.find("button.wp_uraf_profile_picture_upload").after(d)}if(!t.valid())return!1;if(1===t.find(".user-registration-profile-picture-error").find(".user-registration-error").length)return!1;r.preventDefault(),t.find(".user-registration-submit-Button").prop("disabled",!0);var u=t.find(".urfu-file-input");n.missing_attachment_handler(u);var l;try{l=n.get_form_data();var f=e("#profile_pic_url").val();l.push({value:f,field_name:"user_registration_profile_pic_url"}),l=JSON.stringify(l)}catch(_){l=""}var p={action:"user_registration_update_profile_details",security:user_registration_params.user_registration_profile_details_save,form_data:l};e(document).trigger("user_registration_frontend_before_edit_profile_submit",[p,t]),t.find(".user-registration-submit-Button").find("span").addClass("ur-front-spinner"),e.ajax({type:"POST",url:user_registration_params.ajax_url,dataType:"JSON",data:p,complete:function(r){t.find("span.ur-front-spinner").removeClass("ur-front-spinner"),t.closest(".user-registration").find(".user-registration-error").remove(),t.closest(".user-registration").find(".user-registration-message").remove();var a=e('
      '),i="error";try{var s=JSON.parse(r.responseText);"undefined"!=typeof s.success&&!0===s.success&&(i="message","undefined"!=typeof s.data.profile_pic_id&&(t.find(".ur_removed_profile_pic").val(""),t.find(".uraf-profile-picture-remove").length>0&&t.find(".uraf-profile-picture-remove").data("attachment-id",s.data.profile_pic_id),t.find(".profile-pic-remove").length>0&&t.find(".profile-pic-remove").data("attachment-id",s.data.profile_pic_id)));var o=!1;"object"==typeof s.data.message?e.each(s.data.message,function(r,i){if(i.hasOwnProperty("individual")){var n=[];e.each(t.find(".ur-form-row").find(".ur-field-item").find(".ur-edit-profile-field"),function(r){var t=e(this).attr("id");n.push(t)}),e.each(i,function(e,r){var a="",s="";if(i.hasOwnProperty("repeater_field_name")?(a=i.repeater_field_name,e="user_registration_"+e+"_"+(s=i.row_id.replace("row_",""))):e=-1===e.indexOf("user_registration_")?"user_registration_"+e:e,n.includes(e)){var d='",u=t.find(".ur-form-row");(u=u.hasClass("ur-repeater-row")?u.find(".ur-repeater-row[data-repeater-field-name='"+a+"'][data-repeater-row='"+s+"'] ").find(".ur-field-item").find("input[id='"+e+"'], textarea[id='"+e+"']"):u.find(".ur-field-item").find("input[id='"+e+"'], textarea[id='"+e+"']")).closest(".form-row").append(d),o=!0}})}else a.append("
    • "+i+"
    • ")}):(a.append("
    • "+s.data.message+"
    • "),undefined!==s.data.userEmailPendingMessage&&(e(".user-registration-info.user-email-change-update-notice").remove(),n.show_message(e('
        ').append("
      • "+s.data.userEmailUpdateMessage+"
      • "),"info user-email-change-update-notice",t,"0"),e("input#user_registration_user_email").next("div.email-updated").length&&e("input#user_registration_user_email").next("div.email-updated").remove(),e(s.data.userEmailPendingMessage).insertAfter(e("input#user_registration_user_email")),e("input#user_registration_user_email").val(s.data.oldUserEmail)))}catch(d){a.append("
      • "+d.message+"
      • ")}o||n.show_message(a,i,t,"0"),e(document).trigger("user_registration_edit_profile_after_ajax_complete",[r,t]),t.find(".user-registration-submit-Button").prop("disabled",!1),e(window).scrollTop(e(".user-registration").position())}}).fail(function(){n.show_message("

        "+user_registration_params.ajax_form_submit_error+"

        ","error",t,"1"),t.find(".user-registration-submit-Button").prop("disabled",!1)})})}};n.init(),e(".user-registration-EditProfileForm ").length>0&&n.get_form_data(e(".user-registration-EditProfileForm ").data("form-id")),s.init()})},e(function(){e(document).ready(function(){if(e(".ur-submit-button").on("click",function(){e(this).closest("form.register").ur_form_submission()}),e("input[name='save_account_details'], button[name='save_account_details']").on("click",function(r){e(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")&&e("form.user-registration-EditProfileForm").ur_form_submission(),e(this).submit()}),e(".ur-flatpickr-field").length){var r=[];e(".ur-flatpickr-field").each(function(){var t=e(this),a=r.find(function(e){return e.element==t[0]});if(a)a.open();else{var i=t.attr("data-id"),n=t.closest(".ur-field-item").find("#formated_date").val();if(0'+t.password_strength_error+".";i.find(".user-registration-password-hint").after(d)}}})})}),e(function(){e("textarea").each(function(){e(this).on("input",r);var t,a=e(this).closest(".ur-field-item");if(a.find(".ur-input-count").length>0){var i=e(this).val().trim();t="characters"===a.find(".ur-input-count").data("count-type")?i.length:""===i?0:i.split(/\s+/).length}a.find(".ur-input-count").text(t)})}),e(function(){e(".user-registration-EditProfileForm.edit-profile .field-country").length>0&&e(".field-country").each(function(){var r=e(this).find(".ur-data-holder").data("option-value"),t=e(this).find(".ur-data-holder").data("option-html"),a=e(this).find("select");r&&t&&(0===a.find('option[value="'+r+'"]').length&&a.append(""),e(this).on("click",function(){e(this).find(".ur-remove").remove()}))})})};e(function(){e(".input-checkbox").each(function(){var r=e(this).attr("data-id");e('input[name="'+r+'[]"]:checked').length==e('[data-id = "'+r+'" ]').length&&e('[data-check = "'+r+'" ]').prop("checked",!0)}),e('input[type="checkbox"]#checkall').on("click",function(){var r=e(this).attr("data-check");e('[data-id = "'+r+'" ]').prop("checked",e(this).prop("checked"))}),e(".input-checkbox").on("change",function(){var r=e(this).attr("data-id");!1===e(this).prop("checked")&&e('[data-check = "'+r+'" ]').prop("checked",!1),e('input[name="'+r+'[]"]:checked').length==e('[data-id = "'+r+'" ]').length&&e('[data-check = "'+r+'" ]').prop("checked",!0)})}),t(),e(window).on("load",function(){t()}),e(window).on("user_registration_repeater_modified",function(){t()})}(jQuery); \ No newline at end of file +function ur_includes(e,r){if(Array.isArray(e))for(var t=0;t=3?r.minimum_pass_length:3,a=r.max_rep_chars!==undefined?r.max_rep_chars:0,i=r.no_rep_chars!==undefined?r.no_rep_chars:0,n=r.minimum_uppercase!==undefined?r.minimum_uppercase:0,s=r.minimum_special_chars!==undefined?r.minimum_special_chars:0,o=r.minimum_digits!==undefined?r.minimum_digits:0,d=new Set(["!","@","#","$","%","^","&","*","(",")","-","_","=","+","{","}","[","]","|","\\",":",";",'"',"'","<",">",",",".","?","/"]),u="",l=0,f=0,p=0,_=0;if(e.length=a)return 0}else l=0;u=m}return n>0&&f0&&_0&&p0){var a=e(this).val().trim();r="characters"===t.find(".ur-input-count").data("count-type")?a.length:""===a?0:a.split(/\s+/).length}t.find(".ur-input-count").text(r)})}var t=function(){var t=user_registration_params.ursL10n;e.fn.ur_form_submission=function(){return this.each(function(){var r=e(this),a=[],i=user_registration_params.form_required_fields,n={init:function(){},get_form_data:function(t){if(t===r.closest(".ur-frontend-form").attr("id")||e(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")){var a=this,i=[],s=n.separate_form_handler(""),o={};r.closest("form").find(".ur-repeater-row").each(function(){var r=e(this).closest(".ur-repeater-row").data("repeater-field-name"),t="row_"+e(this).closest(".ur-repeater-row").data("repeater-row");e(this).closest(".user-registration-EditProfileForm").length>0&&(r="user_registration_"+r),o[r]||(o[r]={field_name:r,field_type:"repeater",value:{},label:e(this).closest(".ur-repeater-row").find(".ur-repeater-label").find(".ur-label").text(),extra_params:{field_key:"repeater",label:e(this).closest(".ur-repeater-row").find(".ur-repeater-label").find(".ur-label").text()}}),o[r].value[t]||(o[r].value[t]=[])});var d=new Array;e.each(s,function(){var r=e(this).attr("name"),t=e(this).attr("type"),s=n.separate_form_handler('[name="'+r+'"]'),u=e(this).closest(".ur-repeater-row").data("repeater-field-name");e(this).closest(".user-registration-EditProfileForm").length>0&&(u="user_registration_"+u);var l="row_"+e(this).closest(".ur-repeater-row").data("repeater-row");if((s.length<2||s.closest(".ur-repeater-row").length>0)&&e.inArray(t,["radio"])<0){var f=a.get_fieldwise_data(e(this)),p=document.querySelector(".field-invite_code");"invite_code"===f.field_name?"none"!==p.style.display&&i.push(f):e(this).closest(".ur-repeater-row").length>0?e(this).closest(".form-row").find("*[name='"+e(this).attr("name")+"']").length<2||"range"===e(this).attr("type")||e(this).hasClass("ur-smart-phone-field")?o[u].value[l].push(f):-1===d.indexOf(f.field_name+"[]")&&d.push(f.field_name+"[]"):i.push(f)}else e.inArray(r,d)<0&&d.push(r)});for(var u=0;u0?r.closest(".field-radio").length>0?_[r.attr("data-id")]=t:("undefined"==typeof _[r.attr("data-id")]&&(_[r.attr("data-id")]=new Array),_[r.attr("data-id")].push(t)):p.push(t))}),"checkbox"==f)if(""!==user_registration_params.is_payment_compatible)if("multiple_choice"==l.eq(0).attr("data-field")){e(document).trigger("user_registration_frontend_multiple_choice_data_filter",[p,l]),p=l.closest(".field-multiple_choice").data("payment-value");var c=JSON.stringify(p)}else c=JSON.stringify(p);else if("multiple_choice"==l.eq(0).attr("data-field"))for(var m=p,g=(c=0,0);g0){var h=selectedSubscriptionPlan.data("value");c=JSON.stringify(h+":"+selectedSubscriptionPlan.val())}}else c=p[0];else c=p[0];else c=l.val();var v=d[u];v=v.replace("[]","");var b={value:c,field_type:f,label:l.eq(0).attr("data-label"),field_name:v};if(Object.keys(_).length>0){new Array;e.each(_,function(r,t){r=e("[name='"+r+"']").length<1&&-1===r.indexOf("[]")?r+"[]":r;var a=e('[name="'+r+'"]').closest(".ur-repeater-row").data("repeater-row"),i=Object.assign({},b);i.value="string"==typeof t?t:JSON.stringify(t),i.field_name=v.slice(0,-2);var n="undefined"==typeof o[e("[name='"+r+"']").closest(".ur-repeater-row").data("repeater-field-name")]?"user_registration_"+e("[name='"+r+"']").closest(".ur-repeater-row").data("repeater-field-name"):e("[name='"+r+"']").closest(".ur-repeater-row").data("repeater-field-name");o[n].value["row_"+a].push(i)})}else i.push(b)}return Object.keys(o).forEach(function(r){e("input[name='"+r+"'").length>0&&e("input[name='"+r+"'").val(JSON.stringify(o[r]))}),Object.keys(o).length>0&&e.merge(i,Object.values(o)),e(document).trigger("user_registration_frontend_form_data_filter",[i]),i}},get_fieldwise_data:function(r){var t={},n=r.get(0).tagName.toLowerCase(),s="undefined"!==r.attr("name")?r.attr("name"):"null",o=[];r.attr("name")!==undefined&&""!==r.attr("name")?(t.field_name=r.attr("name"),t.field_name=t.field_name.replace("[]",""),e(r).closest(".ur-repeater-row").length>0&&(e(r).closest(".field-multi_select2").length>0&&(t.field_name=t.field_name.slice(0,-2)),e(r).closest(".field-file").length>0&&(t.field_name=e(r).closest(".field-file").attr("data-ref-id")))):t.field_name="",e(".field-phone, .field-billing_phone").each(function(){var r=e(this).find(".form-row").attr("id");e(this).find(".form-row").find("#"+r).hasClass("ur-smart-phone-field")&&o.push(e(this).find(".form-row").attr("id"))});var d="undefined"!==r.attr("type")?r.attr("type"):"null",u=r.get(0).className.split(" ")[0];switch(t.value="",n){case"input":var l=new Array;switch(d){case"checkbox":!r.closest(".field-privacy_policy").length>0?r.prop("checked")?(l.push(r.val()),t.value=JSON.stringify(l),"separate_shipping"===r.attr("data-id")&&(t.value=r.val())):t.value="":(t.value=r.prop("checked")?r.val():"",t.field_name=r.closest(".field-privacy_policy").data("ref-id"));break;case"radio":t.value=r.prop("checked")?r.val():"",t.field_name=r.closest(".field-privacy_policy").data("ref-id");break;default:t.value=r.val()}ur_includes(o,s)&&(t.value=r.siblings('input[type="hidden"]').val());break;case"select":t.value=r.val();break;case"textarea":switch(u){case"wysiwyg":tinyMCE.triggerSave(),t.value=r.val();break;default:t.value=r.val()}}return e(document).trigger("user_registration_frontend_form_data_render",[r,t]),t.field_type="undefined"!==r.eq(0).attr("type")?r.eq(0).attr("type"):"null",r.attr("data-label")!==undefined?t.label=r.attr("data-label"):r.prev().length&&"label"===r.prev().get(0).tagName.toLowerCase()?t.label=r.prev().text():t.label=t.field_type,e.inArray(t.field_name,i.join(",").trim())>=0&&a.push(t.field_name),t},show_message:function(r,t,a,i){if(a.closest(".user-registration").find(".ur-message").remove(),e(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")){(n=e('
        ')).append(r);e(".user-registration").find(".user-registration-MyAccount-navigation").length?n.insertBefore(".user-registration-MyAccount-navigation"):n.insertBefore(".ur-frontend-form")}else{var n;(n=e('
        ')).append(r),"1"===i?a.append(n):"2"===i?"message"==t?(a.closest(".entry-content").prepend(n),a.closest(".ur-frontend-form").hide()):a.append(n):a.prepend(n)}},separate_form_handler:function(t){return e(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")?r.find(".user-registration-profile-fields").find(".ur-edit-profile-field"+t):r.closest(".ur-frontend-form").find(".ur-form-grid").find(".ur-frontend-field"+t)},missing_attachment_handler:function(r){var t=[];if(1<=r.length){r.each(function(){var r=e(this).attr("id");-1===e.inArray(r,t)&&t.push(r)});for(var a=0;a=0;n--)e.isNumeric(i[n])||i.splice(n,1);e("#"+t[a]).val(i)}}}},s={init:function(){this.form_submit_event(),user_registration_params.ajax_submission_on_edit_profile&&this.edit_profile_event()},form_submit_event:function(){e(".ur-frontend-form").each(function(){var r=e(this);r.find("form.register").off("submit").on("submit",function(a){if(a.preventDefault(),r.find("form.register button.ur-submit-button").is(":hidden")||r.find("form.register button.ur-submit-button").is(":disabled"))return!1;var i=e(this);if(e.extend(e.validator.messages,{required:user_registration_params.message_required_fields,url:user_registration_params.message_url_fields,email:user_registration_params.message_email_fields,number:user_registration_params.message_number_fields,confirmpassword:user_registration_params.message_confirm_password_fields}),i.find(".user-registration-password-strength").length>0){var o=i.find(".user-registration-password-strength").attr("data-current-strength"),d=i.find(".user-registration-password-strength").attr("data-min-strength");if(parseInt(o,0)";i.find(".user-registration-password-hint").after(u),i.find("#user_pass").attr("aria-invalid",!0),i.find("#user_pass").trigger("focus")}return!1}}var l=i.find(".ur-smart-phone-field");if("true"===l.attr("aria-invalid")){(_=l.closest("p.form-row")).find("#"+l.data("id")+"-error").remove();var f='";return _.append(f),_.find("#"+l.data("id")).attr("aria-invalid",!0),!0}var p=i.find(".urfu-file-input");n.missing_attachment_handler(p);if(1===i.find(".uraf-profile-picture-upload").find(".user-registration-error").length){var _,c=i.find(".uraf-profile-picture-upload").find(".uraf-profile-picture-input");(_=i.find(".uraf-profile-picture-upload")).find("#"+c.attr("name")+"-error").remove(),_.find(".uraf-profile-picture-file-error").remove();var m='";_.find("button.wp_uraf_profile_picture_upload").after(m)}if(e(document).trigger("user_registration_frontend_validate_before_form_submit",[i]),!(00&&i.find("#user_registration_stripe_gateway").find(".user-registration-error").is(":visible"))&&i.valid()){i.find(".ur-submit-button").prop("disabled",!0);var g,h=0,v="0",b="",w="";b="hcaptcha"===user_registration_params.recaptcha_type?i.find('[name="h-captcha-response"]').val():"cloudflare"===user_registration_params.recaptcha_type?i.find('[name="cf-turnstile-response"]').val():i.find('[name="g-recaptcha-response"]').val();try{g=JSON.stringify(n.get_form_data(i.closest(".ur-frontend-form").attr("id")))}catch(k){g=""}1===e(this).closest("form").find('input[name="ur-user-form-id"]').length&&(h=e(this).closest("form").find('input[name="ur-user-form-id"]').val()),1===e(this).closest("form").find('input[name="ur-registration-language"]').length&&(w=e(this).closest("form").find('input[name="ur-registration-language"]').val()),1===e(this).closest("form").find('input[name="ur_frontend_form_nonce"]').length&&(v=e(this).closest("form").find('input[name="ur_frontend_form_nonce"]').val());var y={action:"user_registration_user_form_submit",security:user_registration_params.user_registration_form_data_save,form_data:g,captchaResponse:b,form_id:h,registration_language:w,ur_frontend_form_nonce:v},x={};if(e(document).trigger("user_registration_frontend_before_form_submit",[y,i,x]),"undefined"!=typeof x.message&&""!==x.message)return n.show_message("

        "+x.message+"

        ","error",i,"1"),void i.find(".ur-submit-button").prop("disabled",!1);if(!(i.find('.field-authorize_net_gateway[data-field-id="authorizenet_gateway"]').find(".ur-authorize-net-errors").length>0)){i.find(".ur-submit-button").find("span").addClass("ur-front-spinner");if(s.wait_third_party_api(i))new Promise(function(r,t){e(document).trigger("user_registration_third_party_api_before_form_submit",[y,i,x,r,t])}).then(function(e){s.ajax_form_submit(e)});else s.ajax_form_submit(y)}}})})},wait_third_party_api:function(e){var r=!1;return e.find("#user_registration_authorize_net_gateway[data-gateway='authorize_net']").length>0&&(r=!0),r},ajax_form_submit:function(a){e.ajax({url:user_registration_params.ajax_url,data:a,type:"POST",async:!0,complete:function(a){var i=[];if(i.status=!0,e(document).trigger("user_registration_frontend_before_ajax_complete_success_message",[a,i,r]),i.status){r.find(".ur-submit-button").find("span").removeClass("ur-front-spinner");var s=r.find('input[name="ur-redirect-url"]').val(),o=e('
          '),d="error",u=!1;try{var l=JSON.parse(a.responseText),f=l.data.redirect_timeout?l.data.redirect_timeout:2e3;"undefined"!=typeof l.success&&!0===l.success&&"undefined"!=typeof l.data.paypal_redirect&&window.setTimeout(function(){window.location=l.data.paypal_redirect},f),"undefined"!=typeof l.success&&!0===l.success&&(d="message"),"message"===d?(r.find(".user-registration-password-hint").remove(),r.find(".user-registration-password-strength").remove(),"admin_approval"==l.data.form_login_option?o.append("
        • "+t.user_under_approval+"
        • "):"email_confirmation"==l.data.form_login_option||"admin_approval_after_email_confirmation"==l.data.form_login_option?o.append("
        • "+t.user_email_pending+"
        • "):"payment"==l.data.form_login_option?o.append("
        • "+l.data.message+"
        • "):o.append((l.data.message,t.user_successfully_saved)),"undefined"!=typeof l.data.auto_password_generation_success_message&&o.append("
        • "+l.data.auto_password_generation_success_message+"
        • "),e(".ur-input-count").text("0"),r[0].reset(),r.find("#profile_pic_url").length&&e("#profile_pic_url").val(""),jQuery("#billing_country").trigger("change"),jQuery("#shipping_country").trigger("change"),"undefined"!=typeof l.data.role_based_redirect_url&&(s=l.data.role_based_redirect_url),"undefined"!=typeof l.data.form_login_option&&"sms_verification"===l.data.form_login_option&&window.setTimeout(function(){"undefined"!=typeof l.data.redirect_url&&l.data.redirect_url&&(window.location=l.data.redirect_url)},f),void 0!==s&&""!==s?(e(document).trigger("user_registration_frontend_before_redirect_url",[s]),window.setTimeout(function(){window.location=s},f)):"undefined"!=typeof l.data.auto_login&&l.data.auto_login&&(e(document).trigger("user_registration_frontend_before_auto_login"),window.setTimeout(function(){"undefined"!=typeof l.data.redirect_url&&l.data.redirect_url?window.location=l.data.redirect_url:location.reload()},f))):"error"===d&&("object"==typeof l.data.message?e.each(l.data.message,function(t,a){if(a.hasOwnProperty("individual")){var i=[];e.each(r.find(".ur-field-item").find(".ur-frontend-field"),function(r){var t=e(this);if(t.hasClass("input-captcha-icon-radio")){var a=t.attr("data-id");i.includes(a)||i.push(a)}else{var n=t.attr("id");i.push(n)}});var n="";e.each(a,function(e,t){var s="",o="";if(a.hasOwnProperty("repeater_field_name")&&(s=a.repeater_field_name,e=e+"_"+(o=a.row_id.replace("row_",""))),i.includes(e)){n=e;var d='",l="";(l=r.find(".ur-repeater-row[data-repeater-field-name='"+s+"'][data-repeater-row='"+o+"'] ").length>0?r.find(".ur-repeater-row[data-repeater-field-name='"+s+"'][data-repeater-row='"+o+"'] ").find(".ur-field-item").find("input[id='"+e+"'], textarea[id='"+e+"']"):r.find(".ur-form-row").find(".ur-field-item").find("input[id='"+e+"'], textarea[id='"+e+"']")).closest(".ur-field-item").find(".user-registration-error").remove(),l.closest(".form-row").append(d),u=!0}}),e(document).trigger("ur_handle_field_error_messages",[r,n])}else o.append("
        • "+a+"
        • ")}):o.append("
        • "+l.data.message+"
        • "))}catch(m){o.append("
        • "+m.message+"
        • ")}var p=JSON.parse(a.responseText).data.success_message_positon;if(u){var _=[];e.each(r.find(".ur-field-item").find(".ur-frontend-field"),function(r){var t=e(this).attr("id");_.push(t)});var c="";e.each(l.data.message,function(e,t){if(_.includes(e)){c=e;var a='",i=r.find(".ur-field-item").find("input[id='"+e+"'], textarea[id='"+e+"']");i.closest(".ur-field-item").find(".user-registration-error").remove(),i.closest(".form-row").append(a)}}),e(document).trigger("ur_handle_field_error_messages",[r,c])}else n.show_message(o,d,r,p);"1"===p?e(window).scrollTop(r.find(".ur-button-container").offset().top):e(window).scrollTop(r.closest(".ur-frontend-form").offset().top),e(document).trigger("user_registration_frontend_after_ajax_complete",[a.responseText,d,r]),r.find(".ur-submit-button").prop("disabled",!1)}e(".coupon-message").css({display:"none"})}}).fail(function(){n.show_message("

          "+user_registration_params.ajax_form_submit_error+"

          ","error",r,"1"),r.find(".ur-submit-button").prop("disabled",!1)})},edit_profile_event:function(){user_registration_params.ajax_submission_on_edit_profile&&e("form.user-registration-EditProfileForm").off("submit").on("submit",function(r){r.preventDefault(),r.stopImmediatePropagation();var t=e(this);e.extend(e.validator.messages,{required:user_registration_params.message_required_fields,url:user_registration_params.message_url_fields,email:user_registration_params.message_email_fields,number:user_registration_params.message_number_fields});var a=t.find(".ur-smart-phone-field");if("true"===a.attr("aria-invalid")){(s=a.closest("p.form-row")).find("#"+a.data("id")+"-error").remove();var i='";return s.append(i),s.find("#"+a.data("id")).attr("aria-invalid",!0),!0}if(1===t.find(".uraf-profile-picture-upload").find(".user-registration-error").length){var s,o=t.find(".uraf-profile-picture-upload").find(".uraf-profile-picture-input");(s=t.find(".uraf-profile-picture-upload")).find("#"+o.attr("name")+"-error").remove(),s.find(".uraf-profile-picture-file-error").remove();var d='";s.find("button.wp_uraf_profile_picture_upload").after(d)}if(!t.valid())return!1;if(1===t.find(".user-registration-profile-picture-error").find(".user-registration-error").length)return!1;r.preventDefault(),t.find(".user-registration-submit-Button").prop("disabled",!0);var u=t.find(".urfu-file-input");n.missing_attachment_handler(u);var l;try{l=n.get_form_data();var f=e("#profile_pic_url").val();l.push({value:f,field_name:"user_registration_profile_pic_url"}),l=JSON.stringify(l)}catch(_){l=""}var p={action:"user_registration_update_profile_details",security:user_registration_params.user_registration_profile_details_save,form_data:l};e(document).trigger("user_registration_frontend_before_edit_profile_submit",[p,t]),t.find(".user-registration-submit-Button").find("span").addClass("ur-front-spinner"),e.ajax({type:"POST",url:user_registration_params.ajax_url,dataType:"JSON",data:p,complete:function(r){t.find("span.ur-front-spinner").removeClass("ur-front-spinner"),t.closest(".user-registration").find(".user-registration-error").remove(),t.closest(".user-registration").find(".user-registration-message").remove();var a=e('
            '),i="error";try{var s=JSON.parse(r.responseText);"undefined"!=typeof s.success&&!0===s.success&&(i="message","undefined"!=typeof s.data.profile_pic_id&&(t.find(".ur_removed_profile_pic").val(""),t.find(".uraf-profile-picture-remove").length>0&&t.find(".uraf-profile-picture-remove").data("attachment-id",s.data.profile_pic_id),t.find(".profile-pic-remove").length>0&&t.find(".profile-pic-remove").data("attachment-id",s.data.profile_pic_id)));var o=!1;"object"==typeof s.data.message?e.each(s.data.message,function(r,i){if(i.hasOwnProperty("individual")){var n=[];e.each(t.find(".ur-form-row").find(".ur-field-item").find(".ur-edit-profile-field"),function(r){var t=e(this).attr("id");n.push(t)}),e.each(i,function(e,r){var a="",s="";if(i.hasOwnProperty("repeater_field_name")?(a=i.repeater_field_name,e="user_registration_"+e+"_"+(s=i.row_id.replace("row_",""))):e=-1===e.indexOf("user_registration_")?"user_registration_"+e:e,n.includes(e)){var d='",u=t.find(".ur-form-row");(u=u.hasClass("ur-repeater-row")?u.find(".ur-repeater-row[data-repeater-field-name='"+a+"'][data-repeater-row='"+s+"'] ").find(".ur-field-item").find("input[id='"+e+"'], textarea[id='"+e+"']"):u.find(".ur-field-item").find("input[id='"+e+"'], textarea[id='"+e+"']")).closest(".form-row").append(d),o=!0}})}else a.append("
          • "+i+"
          • ")}):(a.append("
          • "+s.data.message+"
          • "),undefined!==s.data.userEmailPendingMessage&&(e(".user-registration-info.user-email-change-update-notice").remove(),n.show_message(e('
              ').append("
            • "+s.data.userEmailUpdateMessage+"
            • "),"info user-email-change-update-notice",t,"0"),e("input#user_registration_user_email").next("div.email-updated").length&&e("input#user_registration_user_email").next("div.email-updated").remove(),e(s.data.userEmailPendingMessage).insertAfter(e("input#user_registration_user_email")),e("input#user_registration_user_email").val(s.data.oldUserEmail)))}catch(d){a.append("
            • "+d.message+"
            • ")}o||n.show_message(a,i,t,"0"),e(document).trigger("user_registration_edit_profile_after_ajax_complete",[r,t]),t.find(".user-registration-submit-Button").prop("disabled",!1),e(window).scrollTop(e(".user-registration").position())}}).fail(function(){n.show_message("

              "+user_registration_params.ajax_form_submit_error+"

              ","error",t,"1"),t.find(".user-registration-submit-Button").prop("disabled",!1)})})}};n.init(),e(".user-registration-EditProfileForm ").length>0&&n.get_form_data(e(".user-registration-EditProfileForm ").data("form-id")),s.init()})},e(function(){e(document).ready(function(){if(e(".ur-submit-button").on("click",function(){e(this).closest("form.register").ur_form_submission()}),e("input[name='save_account_details'], button[name='save_account_details']").on("click",function(r){e(".ur-frontend-form").find("form.edit-profile").hasClass("user-registration-EditProfileForm")&&e("form.user-registration-EditProfileForm").ur_form_submission(),e(this).submit()}),e(".ur-flatpickr-field").length){var r=[];e(".ur-flatpickr-field").each(function(){var t=e(this),a=r.find(function(e){return e.element==t[0]});if(a)a.open();else{var i=t.attr("data-id"),n=t.closest(".ur-field-item").find("#formated_date").val();if(0'+t.password_strength_error+".";i.find(".user-registration-password-hint").after(d)}}})})}),e(function(){e("textarea").each(function(){e(this).on("input",r);var t,a=e(this).closest(".ur-field-item");if(a.find(".ur-input-count").length>0){var i=e(this).val().trim();t="characters"===a.find(".ur-input-count").data("count-type")?i.length:""===i?0:i.split(/\s+/).length}a.find(".ur-input-count").text(t)})}),e(function(){e(".user-registration-EditProfileForm.edit-profile .field-country").length>0&&e(".field-country").each(function(){var r=e(this).find(".ur-data-holder").data("option-value"),t=e(this).find(".ur-data-holder").data("option-html"),a=e(this).find("select");r&&t&&(0===a.find('option[value="'+r+'"]').length&&a.append(""),e(this).on("click",function(){e(this).find(".ur-remove").remove()}))})})};e(function(){e(".input-checkbox").each(function(){var r=e(this).attr("data-id");e('input[name="'+r+'[]"]:checked').length==e('[data-id = "'+r+'" ]').length&&e('[data-check = "'+r+'" ]').prop("checked",!0)}),e('input[type="checkbox"]#checkall').on("click",function(){var r=e(this).attr("data-check");e('[data-id = "'+r+'[]" ]').prop("checked",e(this).prop("checked"))}),e(".input-checkbox").on("change",function(){var r=e(this).attr("data-id");r=r.replace("[]",""),!1===e(this).prop("checked")&&e('[data-check = "'+r+'" ]').prop("checked",!1),e('input[name="'+r+'[]"]:checked').length==e('[data-id = "'+r+'" ]').length&&e('[data-check = "'+r+'" ]').prop("checked",!0)})}),t(),e(window).on("load",function(){t()}),e(window).on("user_registration_repeater_modified",function(){t()})}(jQuery); \ No newline at end of file diff --git a/includes/RestApi/controllers/version1/class-ur-modules.php b/includes/RestApi/controllers/version1/class-ur-modules.php index ac016f439..123ffe9cd 100644 --- a/includes/RestApi/controllers/version1/class-ur-modules.php +++ b/includes/RestApi/controllers/version1/class-ur-modules.php @@ -137,6 +137,7 @@ public static function ur_get_modules() { } $feature->link = $feature->link . '&utm_campaign=' . UR()->utm_campaign; $feature->type = 'feature'; + $feature->required_plan = __( 'Personal', 'user-registration' ); $features_lists[ $key ] = $feature; } diff --git a/includes/admin/class-ur-admin-dashboard.php b/includes/admin/class-ur-admin-dashboard.php index 1bc4777cc..571472711 100644 --- a/includes/admin/class-ur-admin-dashboard.php +++ b/includes/admin/class-ur-admin-dashboard.php @@ -25,8 +25,6 @@ public static function output() { update_option( 'user_registration_first_time_activation_flag', false ); update_option( 'user_registration_onboarding_skipped', true ); - error_log( print_r( $_REQUEST, true ) ); - if ( isset( $_REQUEST['activeStep'] ) ) { update_option( 'user_registration_onboarding_skipped_step', sanitize_text_field( wp_unslash( $_REQUEST['activeStep'] ) ) ); } else { diff --git a/includes/admin/class-ur-admin-welcome.php b/includes/admin/class-ur-admin-welcome.php index 145aa0b07..f0c1b9d13 100644 --- a/includes/admin/class-ur-admin-welcome.php +++ b/includes/admin/class-ur-admin-welcome.php @@ -161,7 +161,7 @@ public static function setup_wizard_body() {
        - +

        diff --git a/includes/admin/notifications/class-ur-admin-notices.php b/includes/admin/notifications/class-ur-admin-notices.php index e22b02270..cfbbb6b4e 100644 --- a/includes/admin/notifications/class-ur-admin-notices.php +++ b/includes/admin/notifications/class-ur-admin-notices.php @@ -74,18 +74,22 @@ public static function init() { */ public static function user_registration_install_pages_notice() { - if ( get_option( 'user_registration_onboarding_skipped', false ) ) { - self::add_notice( 'continue_setup_wizard' ); - } - if ( isset( $_POST['user_registration_myaccount_page_id'] ) ) { //phpcs:ignore. $my_account_page = $_POST['user_registration_myaccount_page_id']; //phpcs:ignore. } else { $my_account_page = get_option( 'user_registration_myaccount_page_id', 0 ); } - if ( ! $my_account_page ) { - self::add_notice( 'install' ); + if ( get_option( 'user_registration_onboarding_skipped', false ) ) { + self::add_notice( 'continue_setup_wizard' ); + } elseif ( ! $my_account_page && ! get_option( 'user_registration_first_time_activation_flag', false ) ) { + if ( get_option( 'user_registration_install_pages_notice_removed', false ) ) { + self::remove_notice( 'install' ); + } else { + self::add_notice( 'install' ); + } + } else { + self::remove_notice( 'install' ); } $matched = 0; @@ -674,8 +678,13 @@ public static function hide_notices() { self::remove_notice( $hide_notice ); // Remove the onboarding skipped checker if install notice is removed. - if ( 'install' === $hide_notice ) { + if ( 'continue_setup_wizard' === $hide_notice ) { delete_option( 'user_registration_onboarding_skipped' ); + delete_option( 'user_registration_onboarding_skipped_step' ); + } + + if ( 'install' === $hide_notice ) { + update_option( 'user_registration_install_pages_notice_removed', true ); } /** @@ -854,13 +863,22 @@ public static function continue_setup_wizard_notice() { $onboarding_completed = true; if ( ! $first_time_activation ) { - $onboard_skipped = get_option( 'user_registration_onboarding_skipped', false ); - $onboard_skipped_step = get_option( 'user_registration_onboarding_skipped_step', false ); + $onboard_skipped = get_option( 'user_registration_onboarding_skipped', false ); + $onboard_skipped_step = get_option( 'user_registration_onboarding_skipped_step', false ); + $registration_form_page_id = get_option( 'user_registration_registration_page_id', false ); + $my_account_page_id = get_option( 'user_registration_myaccount_page_id', false ); + $install_pages_done = ( $registration_form_page_id || $my_account_page_id ) ? true : false; + $onboard_skipped_step = 'install_page' === $onboard_skipped_step ? 'install_pages' : $onboard_skipped_step; + + if ( ( 'install_pages' === $onboard_skipped_step ) && $install_pages_done ) { + $onboard_skipped_step .= '&installed'; + } if ( $onboard_skipped && $onboard_skipped_step ) { /* translators: % s: continue wizard URL */ - $onboarding_complete_text = sprintf( __( '
        Continue Setup Wizard', 'user-registration' ), esc_url( admin_url( '/admin.php?page=user-registration-welcome&tab=setup-wizard&step=' . $onboard_skipped_step . '' ) ) ); - $onboarding_completed = false; + $onboarding_complete_text = sprintf( __( 'Continue Setup Wizard', 'user-registration' ), esc_url( admin_url( '/admin.php?page=user-registration-welcome&tab=setup-wizard&step=' . $onboard_skipped_step . '' ) ) ); + $onboarding_complete_text .= sprintf( __( '', 'user-registration' ), esc_url( wp_nonce_url( add_query_arg( 'ur-hide-notice', 'continue_setup_wizard' ), 'user_registration_hide_notices_nonce', '_ur_notice_nonce' ) ) ); + $onboarding_completed = false; } else { $onboarding_completed = true; } diff --git a/includes/admin/notifications/views/html-notice-continue-setup-wizard.php b/includes/admin/notifications/views/html-notice-continue-setup-wizard.php deleted file mode 100644 index 964ebd229..000000000 --- a/includes/admin/notifications/views/html-notice-continue-setup-wizard.php +++ /dev/null @@ -1,16 +0,0 @@ - -
        -

        -

        -
        diff --git a/includes/blocks/block-types/class-ur-block-myaccount.php b/includes/blocks/block-types/class-ur-block-myaccount.php index 1eb6fb1ee..9169d7389 100644 --- a/includes/blocks/block-types/class-ur-block-myaccount.php +++ b/includes/blocks/block-types/class-ur-block-myaccount.php @@ -40,11 +40,11 @@ protected function build_html( $content ) { $parameters['userState'] = $attr['userState']; } - if ( (empty( $parameters ) || ( isset($parameters['userState']) && "logged_in" === $parameters['userState'] ) ) || (!empty($parameters) && !isset($parameters['userState'])) ) { + if ( ( empty( $parameters ) || ( isset( $parameters['userState'] ) && 'logged_in' === $parameters['userState'] ) ) || ( ! empty( $parameters ) && ! isset( $parameters['userState'] ) ) ) { return UR_Shortcodes::my_account( $parameters ); - } else if(isset($parameters['userState']) && "logged_out" === $parameters['userState']) { + } elseif ( isset( $parameters['userState'] ) && 'logged_out' === $parameters['userState'] ) { return UR_Shortcodes::login( $parameters ); diff --git a/includes/class-ur-form-handler.php b/includes/class-ur-form-handler.php index 44008587d..884f5c878 100644 --- a/includes/class-ur-form-handler.php +++ b/includes/class-ur-form-handler.php @@ -39,6 +39,10 @@ public static function init() { * Remove key and login from querystring, set cookie, and redirect to account page to show the form. */ public static function redirect_reset_password_link() { + global $wp; + if ( ( isset( $wp->query_vars['ur-lost-password'] ) && empty( $wp->query_vars['ur-lost-password'] ) ) || ! isset( $wp->query_vars['ur-lost-password'] ) ) { + return; + } $page_id = ur_get_page_id( 'myaccount' ); $is_ur_login_or_account_page = ur_find_my_account_in_page( $page_id ); @@ -640,16 +644,20 @@ public static function process_reset_password() { if ( $user instanceof WP_User ) { if ( empty( $posted_fields['password_1'] ) ) { - ur_add_notice( esc_html__( 'Please enter your password.', 'user-registration' ), 'error' ); + $err_msg = apply_filters( 'user_registration_reset_password_error_message', __( 'Please enter your password.', 'user-registration' ) ); + ur_add_notice( $err_msg, 'error' ); } if ( $posted_fields['password_1'] !== $posted_fields['password_2'] ) { - ur_add_notice( esc_html__( 'Passwords do not match.', 'user-registration' ), 'error' ); + $err_msg = apply_filters( 'user_registration_reset_password_error_message', __( 'New password must not be same as old password.', 'user-registration' ) ); + ur_add_notice( $err_msg, 'error' ); } if ( wp_check_password( $posted_fields['password_1'], $user->user_pass, $user->ID ) ) { - ur_add_notice( esc_html__( 'New password must not be same as old password.', 'user-registration' ), 'error' ); + $err_msg = apply_filters( 'user_registration_reset_password_error_message', __( 'New password must not be same as old password.', 'user-registration' ) ); + ur_add_notice( $err_msg, 'error' ); } + $errors = new WP_Error(); /** * Fires an action hook to validate a password reset attempt. @@ -683,7 +691,7 @@ public static function process_reset_password() { $redirect = add_query_arg( 'password-reset', 'true', $ur_login_or_account_page ); $redirect = apply_filters( 'user_registration_reset_password_redirect', $redirect, $user ); - + wp_redirect( $redirect ); exit; } diff --git a/languages/user-registration.pot b/languages/user-registration.pot index f1e3ad97c..d38ca3cb4 100644 --- a/languages/user-registration.pot +++ b/languages/user-registration.pot @@ -2,14 +2,14 @@ # This file is distributed under the same license as the User Registration plugin. msgid "" msgstr "" -"Project-Id-Version: User Registration 3.3.2.1\n" +"Project-Id-Version: User Registration 3.3.3\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/user-registration\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-09-11T04:39:19+00:00\n" +"POT-Creation-Date: 2024-09-19T04:42:18+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: user-registration\n" @@ -94,7 +94,7 @@ msgstr "" #: includes/3rd-party/elementor/widgets/class-ur-widgets-myaccount.php:37 #: includes/functions-ur-core.php:6492 #: includes/RestApi/controllers/version1/class-ur-getting-started.php:256 -#: src/welcome/components/App.js:82 +#: src/welcome/components/App.js:84 msgid "My Account" msgstr "" @@ -128,7 +128,7 @@ msgid "Registration Form" msgstr "" #: includes/abstracts/abstract-ur-form-field.php:1034 -#: src/welcome/components/App.js:61 +#: src/welcome/components/App.js:63 msgid "General Settings" msgstr "" @@ -166,7 +166,7 @@ msgstr "" #: includes/admin/class-ur-admin-settings.php:88 #: includes/admin/class-ur-admin-status.php:170 #: includes/admin/class-ur-admin-status.php:187 -#: includes/admin/notifications/class-ur-admin-notices.php:666 +#: includes/admin/notifications/class-ur-admin-notices.php:670 #: includes/class-ur-email-confirmation.php:178 msgid "Action failed. Please refresh the page and retry." msgstr "" @@ -1446,7 +1446,7 @@ msgstr "" #: includes/admin/settings/class-ur-settings-general.php:86 #: includes/admin/settings/class-ur-settings-general.php:408 #: includes/RestApi/controllers/version1/class-ur-getting-started.php:195 -#: src/welcome/components/App.js:60 +#: src/welcome/components/App.js:62 msgid "General" msgstr "" @@ -1455,48 +1455,48 @@ msgid "Never show again" msgstr "" #. translators: %1$s - My account Link. -#: includes/admin/notifications/class-ur-admin-notices.php:107 +#: includes/admin/notifications/class-ur-admin-notices.php:111 msgid "Please choose a My Account page in General Settings.
        Got Stuck? Read How to setup My Account page." msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:307 -#: includes/admin/notifications/class-ur-admin-notices.php:366 +#: includes/admin/notifications/class-ur-admin-notices.php:311 +#: includes/admin/notifications/class-ur-admin-notices.php:370 msgid "Bravo! 💪 Well done." msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:311 +#: includes/admin/notifications/class-ur-admin-notices.php:315 msgid "Congratulations! 👏 You've registered 20 users using our User Registration plugin, way to go! 🎉" msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:312 +#: includes/admin/notifications/class-ur-admin-notices.php:316 msgid "Please share your experience with us by leaving a review. Your feedback will help us improve and serve you better. " msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:313 +#: includes/admin/notifications/class-ur-admin-notices.php:317 msgid "Once again, thank you for choosing us! ❤️
        " msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:321 -#: includes/admin/notifications/class-ur-admin-notices.php:381 -#: includes/admin/notifications/class-ur-admin-notices.php:444 +#: includes/admin/notifications/class-ur-admin-notices.php:325 +#: includes/admin/notifications/class-ur-admin-notices.php:385 +#: includes/admin/notifications/class-ur-admin-notices.php:448 msgid "Sure, I'd love to!" msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:328 -#: includes/admin/notifications/class-ur-admin-notices.php:388 -#: includes/admin/notifications/class-ur-admin-notices.php:451 +#: includes/admin/notifications/class-ur-admin-notices.php:332 +#: includes/admin/notifications/class-ur-admin-notices.php:392 +#: includes/admin/notifications/class-ur-admin-notices.php:455 msgid "I already did!" msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:335 -#: includes/admin/notifications/class-ur-admin-notices.php:395 -#: includes/admin/notifications/class-ur-admin-notices.php:458 +#: includes/admin/notifications/class-ur-admin-notices.php:339 +#: includes/admin/notifications/class-ur-admin-notices.php:399 +#: includes/admin/notifications/class-ur-admin-notices.php:462 msgid "Maybe later" msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:342 -#: includes/admin/notifications/class-ur-admin-notices.php:402 -#: includes/admin/notifications/class-ur-admin-notices.php:465 +#: includes/admin/notifications/class-ur-admin-notices.php:346 +#: includes/admin/notifications/class-ur-admin-notices.php:406 +#: includes/admin/notifications/class-ur-admin-notices.php:469 #: includes/class-ur-plugin-updater.php:622 #: includes/class-ur-plugin-updater.php:645 #: includes/functions-ur-core.php:6215 @@ -1504,71 +1504,65 @@ msgstr "" msgid "I have a query" msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:370 +#: includes/admin/notifications/class-ur-admin-notices.php:374 msgid "( The above word is just to draw your attention. )" msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:371 +#: includes/admin/notifications/class-ur-admin-notices.php:375 msgid "Hope you are having nice experience with User Registration plugin. Please provide this plugin a nice review." msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:372 +#: includes/admin/notifications/class-ur-admin-notices.php:376 msgid "" "What benefit would you have?
        \r\n" "\t\t\t\t\t\t\t\tBasically, it would encourage us to release updates regularly with new features & bug fixes so that you can keep on using the plugin without any issues and also to provide free support like we have been doing.
        " msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:426 +#: includes/admin/notifications/class-ur-admin-notices.php:430 msgid "User Registration Plugin Survey" msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:430 +#: includes/admin/notifications/class-ur-admin-notices.php:434 msgid "" "Hey there!
        \r\n" "\t\t\t\t\t\t\t\t\tWe would be grateful if you could spare a moment and help us fill this survey. This survey will take approximately 4 minutes to complete." msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:435 +#: includes/admin/notifications/class-ur-admin-notices.php:439 msgid "" "What benefit would you have?
        \r\n" "\t\t\t\t\t\t\t\t\tWe will take your feedback from the survey and use that information to make the plugin better. As a result, you will have a better plugin as you wanted.
        " msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:489 +#: includes/admin/notifications/class-ur-admin-notices.php:493 msgid "Contribute to the enhancement" msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:493 +#: includes/admin/notifications/class-ur-admin-notices.php:497 msgid "Help us improve the plugin's features by sharing non-sensitive plugin data with us." msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:501 +#: includes/admin/notifications/class-ur-admin-notices.php:505 msgid "Allow" msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:508 +#: includes/admin/notifications/class-ur-admin-notices.php:512 msgid "No, Thanks" msgstr "" -#: includes/admin/notifications/class-ur-admin-notices.php:670 +#: includes/admin/notifications/class-ur-admin-notices.php:674 #: user-registration.php:91 #: user-registration.php:100 msgid "Cheatin’ huh?" msgstr "" #. translators: % s: continue wizard URL -#: includes/admin/notifications/class-ur-admin-notices.php:862 -msgid "Continue Setup Wizard" +#: includes/admin/notifications/class-ur-admin-notices.php:879 +msgid "Continue Setup Wizard" msgstr "" -#: includes/admin/notifications/views/html-notice-continue-setup-wizard.php:15 -#: includes/admin/notifications/views/html-notice-install.php:15 -msgid "Install User Registration Pages" -msgstr "" - -#: includes/admin/notifications/views/html-notice-continue-setup-wizard.php:15 -#: includes/admin/notifications/views/html-notice-install.php:15 -msgid "Skip setup" +#: includes/admin/notifications/class-ur-admin-notices.php:880 +msgid "Skip setup" msgstr "" #: includes/admin/notifications/views/html-notice-custom.php:17 @@ -1581,6 +1575,14 @@ msgstr "" msgid "Before we deactivate User Registration, would you care to let us know why so we can improve it for you? No, deactivate now." msgstr "" +#: includes/admin/notifications/views/html-notice-install.php:15 +msgid "Install User Registration Pages" +msgstr "" + +#: includes/admin/notifications/views/html-notice-install.php:15 +msgid "Skip setup" +msgstr "" + #. translators: %s - Link to logout. #: includes/admin/notifications/views/html-notice-key-activated.php:17 msgid "Your licence for %s has been activated. Thanks!" @@ -2163,7 +2165,7 @@ msgstr "" #: includes/admin/settings/class-ur-settings-general.php:375 #: includes/class-ur-ajax.php:227 -#: includes/class-ur-form-handler.php:588 +#: includes/class-ur-form-handler.php:592 #: includes/class-ur-frontend-scripts.php:466 #: includes/functions-ur-core.php:3887 msgid "Captcha code error, please try again." @@ -3367,18 +3369,18 @@ msgid "Nonce error, please reload." msgstr "" #: includes/class-ur-ajax.php:187 -#: includes/class-ur-form-handler.php:551 +#: includes/class-ur-form-handler.php:555 #: includes/functions-ur-core.php:3862 msgid "Error on hCaptcha. Contact your site administrator." msgstr "" #: includes/class-ur-ajax.php:205 -#: includes/class-ur-form-handler.php:567 +#: includes/class-ur-form-handler.php:571 msgid "Error on Cloudflare Turnstile. Contact your site administrator." msgstr "" #: includes/class-ur-ajax.php:219 -#: includes/class-ur-form-handler.php:583 +#: includes/class-ur-form-handler.php:587 #: includes/functions-ur-core.php:3883 msgid "Error on google reCaptcha. Contact your site administrator." msgstr "" @@ -3411,14 +3413,14 @@ msgid "Logout" msgstr "" #: includes/class-ur-ajax.php:461 -#: includes/class-ur-form-handler.php:203 +#: includes/class-ur-form-handler.php:207 msgid "User profile updated successfully." msgstr "" #. translators: %s : user email #. translators: user_email #: includes/class-ur-ajax.php:481 -#: includes/class-ur-form-handler.php:208 +#: includes/class-ur-form-handler.php:212 msgid "Your email address has not been updated yet. Please check your inbox at %s for a confirmation email." msgstr "" @@ -3531,7 +3533,7 @@ msgstr "" #: includes/class-ur-ajax.php:1458 #: includes/functions-ur-core.php:2909 -#: includes/RestApi/controllers/version1/class-ur-modules.php:674 +#: includes/RestApi/controllers/version1/class-ur-modules.php:675 msgid "Unable to connect to the filesystem. Please confirm your credentials." msgstr "" @@ -3685,63 +3687,60 @@ msgstr "" msgid "The user registration form selector block has been deprecated. Please use the new updated block with new functionality." msgstr "" -#: includes/class-ur-form-handler.php:325 +#: includes/class-ur-form-handler.php:329 msgid "Confirm Your Email Address Change" msgstr "" -#: includes/class-ur-form-handler.php:433 +#: includes/class-ur-form-handler.php:437 msgid "Please fill out all password fields." msgstr "" -#: includes/class-ur-form-handler.php:436 +#: includes/class-ur-form-handler.php:440 msgid "Please enter your current password." msgstr "" -#: includes/class-ur-form-handler.php:439 +#: includes/class-ur-form-handler.php:443 msgid "Please enter your new password." msgstr "" -#: includes/class-ur-form-handler.php:442 +#: includes/class-ur-form-handler.php:446 msgid "Please re-enter your password." msgstr "" -#: includes/class-ur-form-handler.php:445 +#: includes/class-ur-form-handler.php:449 msgid "New passwords do not match." msgstr "" -#: includes/class-ur-form-handler.php:448 +#: includes/class-ur-form-handler.php:452 msgid "Your current password is incorrect." msgstr "" -#: includes/class-ur-form-handler.php:451 +#: includes/class-ur-form-handler.php:455 msgid "New password must not be same as old password" msgstr "" -#: includes/class-ur-form-handler.php:479 +#: includes/class-ur-form-handler.php:483 msgid "Password changed successfully." msgstr "" -#: includes/class-ur-form-handler.php:643 -msgid "Please enter your password." -msgstr "" - #: includes/class-ur-form-handler.php:647 -msgid "Passwords do not match." +msgid "Please enter your password." msgstr "" -#: includes/class-ur-form-handler.php:651 +#: includes/class-ur-form-handler.php:652 +#: includes/class-ur-form-handler.php:657 msgid "New password must not be same as old password." msgstr "" -#: includes/class-ur-form-handler.php:708 +#: includes/class-ur-form-handler.php:716 msgid "Invalid Key" msgstr "" -#: includes/class-ur-form-handler.php:732 +#: includes/class-ur-form-handler.php:740 msgid "Thanks for confirming your export request." msgstr "" -#: includes/class-ur-form-handler.php:737 +#: includes/class-ur-form-handler.php:745 msgid "Thanks for confirming your erasure request." msgstr "" @@ -4006,7 +4005,7 @@ msgstr "" #: includes/class-ur-post-types.php:57 #: includes/RestApi/controllers/version1/class-ur-getting-started.php:223 -#: src/welcome/components/App.js:71 +#: src/welcome/components/App.js:73 msgid "Registration" msgstr "" @@ -6697,80 +6696,81 @@ msgstr "" msgid "Cannot access Features. Please try again some time later." msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:165 +#: includes/RestApi/controllers/version1/class-ur-modules.php:140 +#: includes/RestApi/controllers/version1/class-ur-modules.php:166 msgid "Personal" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:167 +#: includes/RestApi/controllers/version1/class-ur-modules.php:168 msgid "Plus" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:169 +#: includes/RestApi/controllers/version1/class-ur-modules.php:170 msgid "Professional" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:203 +#: includes/RestApi/controllers/version1/class-ur-modules.php:204 msgid "Module slug is a required field" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:230 +#: includes/RestApi/controllers/version1/class-ur-modules.php:231 msgid "Module couldn't be activated at the moment. Please try again later." msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:238 +#: includes/RestApi/controllers/version1/class-ur-modules.php:239 msgid "Module Activated Successfully" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:305 +#: includes/RestApi/controllers/version1/class-ur-modules.php:306 msgid "Addon slug is a required field" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:327 +#: includes/RestApi/controllers/version1/class-ur-modules.php:328 msgid "Module couldn't be deactivated. Please try again later." msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:335 +#: includes/RestApi/controllers/version1/class-ur-modules.php:336 msgid "Module deactivated successfully" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:393 +#: includes/RestApi/controllers/version1/class-ur-modules.php:394 msgid "Please select addons to activate" msgstr "" #. translators: 1: Failed Addon Names -#: includes/RestApi/controllers/version1/class-ur-modules.php:425 +#: includes/RestApi/controllers/version1/class-ur-modules.php:426 msgid "%1$s activation failed. Please try again sometime later." msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:433 +#: includes/RestApi/controllers/version1/class-ur-modules.php:434 msgid "All of the selected modules have been activated successfully." msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:513 +#: includes/RestApi/controllers/version1/class-ur-modules.php:514 msgid "Please select a module to deactivate" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:544 +#: includes/RestApi/controllers/version1/class-ur-modules.php:545 msgid "All of the selected modules have been deactivated." msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:552 +#: includes/RestApi/controllers/version1/class-ur-modules.php:553 msgid "Some of the selected modules may not have been deactivated. Please try again later" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:626 +#: includes/RestApi/controllers/version1/class-ur-modules.php:627 msgid "Addons activated successfully" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:687 +#: includes/RestApi/controllers/version1/class-ur-modules.php:688 msgid "Addon installed Successfully" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:730 +#: includes/RestApi/controllers/version1/class-ur-modules.php:731 msgid "User Registration Pro activated successfully." msgstr "" -#: includes/RestApi/controllers/version1/class-ur-modules.php:739 +#: includes/RestApi/controllers/version1/class-ur-modules.php:740 msgid "Please enter the valid license key." msgstr "" @@ -7951,64 +7951,64 @@ msgstr "" msgid "Themes" msgstr "" -#: src/welcome/components/App.js:49 -#: src/welcome/components/App.js:50 +#: src/welcome/components/App.js:51 +#: src/welcome/components/App.js:52 msgid "Install Pages" msgstr "" -#: src/welcome/components/App.js:51 +#: src/welcome/components/App.js:53 msgid "The following pages and forms will be created automatically." msgstr "" -#: src/welcome/components/App.js:62 +#: src/welcome/components/App.js:64 msgid "Customize your general settings as per your preference." msgstr "" -#: src/welcome/components/App.js:72 +#: src/welcome/components/App.js:74 msgid "Registration Settings" msgstr "" -#: src/welcome/components/App.js:73 +#: src/welcome/components/App.js:75 msgid "Customize your registration settings as per your preference." msgstr "" -#: src/welcome/components/App.js:83 +#: src/welcome/components/App.js:85 msgid "My Account Settings" msgstr "" -#: src/welcome/components/App.js:84 +#: src/welcome/components/App.js:86 msgid "Customize my account page settings as per your preference." msgstr "" -#: src/welcome/components/App.js:93 +#: src/welcome/components/App.js:95 msgid "Final Step" msgstr "" -#: src/welcome/components/App.js:380 +#: src/welcome/components/App.js:416 msgid "View Registration Page" msgstr "" -#: src/welcome/components/App.js:392 +#: src/welcome/components/App.js:431 msgid "Back" msgstr "" -#: src/welcome/components/App.js:410 +#: src/welcome/components/App.js:449 msgid "Edit Default Form" msgstr "" -#: src/welcome/components/App.js:429 +#: src/welcome/components/App.js:471 msgid "Skip this step" msgstr "" -#: src/welcome/components/App.js:442 +#: src/welcome/components/App.js:487 msgid "Install & Proceed" msgstr "" -#: src/welcome/components/App.js:460 +#: src/welcome/components/App.js:505 msgid "Next" msgstr "" -#: src/welcome/components/App.js:496 +#: src/welcome/components/App.js:542 msgid "Go to dashboard" msgstr "" diff --git a/package-lock.json b/package-lock.json index 21ba8cb82..ff077ec37 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "user-registration", - "version": "3.3.2", + "version": "3.3.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "user-registration", - "version": "3.3.2", + "version": "3.3.3", "license": "GPL-3.0+", "dependencies": { "@chakra-ui/icons": "^2.0.17", @@ -3415,9 +3415,9 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", - "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", + "version": "4.11.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.1.tgz", + "integrity": "sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==", "dev": true, "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" @@ -3493,9 +3493,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", + "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -4444,13 +4444,13 @@ } }, "node_modules/@playwright/test": { - "version": "1.47.0", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.47.0.tgz", - "integrity": "sha512-SgAdlSwYVpToI4e/IH19IHHWvoijAYH5hu2MWSXptRypLSnzj51PcGD+rsOXFayde4P9ZLi+loXVwArg6IUkCA==", + "version": "1.47.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.47.1.tgz", + "integrity": "sha512-dbWpcNQZ5nj16m+A5UNScYx7HX5trIy7g4phrcitn+Nk83S32EBX/CLU4hiF4RGKX/yRc93AAqtfaXB7JWBd4Q==", "dev": true, "peer": true, "dependencies": { - "playwright": "1.47.0" + "playwright": "1.47.1" }, "bin": { "playwright": "cli.js" @@ -4565,31 +4565,6 @@ "node": ">=10" } }, - "node_modules/@puppeteer/browsers/node_modules/tar-fs": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz", - "integrity": "sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==", - "dev": true, - "dependencies": { - "pump": "^3.0.0", - "tar-stream": "^3.1.5" - }, - "optionalDependencies": { - "bare-fs": "^2.1.1", - "bare-path": "^2.1.0" - } - }, - "node_modules/@puppeteer/browsers/node_modules/tar-stream": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", - "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", - "dev": true, - "dependencies": { - "b4a": "^1.6.4", - "fast-fifo": "^1.2.0", - "streamx": "^2.15.0" - } - }, "node_modules/@radix-ui/primitive": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.0.0.tgz", @@ -4913,9 +4888,9 @@ } }, "node_modules/@remix-run/router": { - "version": "1.19.2", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.19.2.tgz", - "integrity": "sha512-baiMx18+IMuD1yyvOGaHM9QrVUPGGG0jC+z+IPHnRJWUAUvaKuWKyE8gjDj2rzv3sz9zOGoRSPgeBVHRhZnBlA==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.19.1.tgz", + "integrity": "sha512-S45oynt/WH19bHbIXjtli6QmwNYvaz+vtnubvNpNDvUOoA/OWh6j1OikIP3G+v5GHdxyC6EXoChG3HgYGEUfcg==", "engines": { "node": ">=14.0.0" } @@ -5656,9 +5631,9 @@ "integrity": "sha512-qL0hyIMNPow317QWW/63RvL1x5MVMV+Ru3NaY9f/CuEpCqrmb7WeuK2071ZY5hczOnm38qExWM2i2WtkXLSqFw==" }, "node_modules/@types/node": { - "version": "22.5.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz", - "integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==", + "version": "22.5.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.2.tgz", + "integrity": "sha512-acJsPTEqYqulZS/Yp/S3GgeE6GZ0qYODUR8aVr/DkhHQ8l9nd4j5x1/ZJy9/gHrRlFMqkO6i0I3E27Alu4jjPg==", "dependencies": { "undici-types": "~6.19.2" } @@ -5948,9 +5923,9 @@ } }, "node_modules/@types/wordpress__block-editor/node_modules/framer-motion": { - "version": "11.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.5.4.tgz", - "integrity": "sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==", + "version": "11.3.31", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.31.tgz", + "integrity": "sha512-Xmxs08WBXnc2tNzNZbFSpquI33lvleJg4Y+hmZ+vFkn+laN9ZnR3gbZnNGKDtuz7c/x3u8dLg05OU3EhLobCsg==", "dev": true, "dependencies": { "tslib": "^2.4.0" @@ -6058,9 +6033,9 @@ } }, "node_modules/@types/wordpress__blocks/node_modules/framer-motion": { - "version": "11.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.5.4.tgz", - "integrity": "sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==", + "version": "11.3.31", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.31.tgz", + "integrity": "sha512-Xmxs08WBXnc2tNzNZbFSpquI33lvleJg4Y+hmZ+vFkn+laN9ZnR3gbZnNGKDtuz7c/x3u8dLg05OU3EhLobCsg==", "dev": true, "dependencies": { "tslib": "^2.4.0" @@ -6653,9 +6628,9 @@ } }, "node_modules/@wordpress/babel-preset-default": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.7.0.tgz", - "integrity": "sha512-umHgTnOeC9IqejB78XvpSVYwFPxCm2Df7dsQN1MxiwXfacHleiR/b2x+HDSXtNHRp1fESYpz8oIeUYtfOGZKWg==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.8.0.tgz", + "integrity": "sha512-pnizoKwcP0vQaQiEUP5l2Essyc+e8q4aH4rhuWb4B2SU3SoVHNmKzoFoM5ZC0ZsTdT7SIBTlXjAqjK3HG017vw==", "dev": true, "dependencies": { "@babel/core": "^7.16.0", @@ -6664,8 +6639,8 @@ "@babel/preset-env": "^7.16.0", "@babel/preset-typescript": "^7.16.0", "@babel/runtime": "^7.16.0", - "@wordpress/browserslist-config": "^6.7.0", - "@wordpress/warning": "^3.7.0", + "@wordpress/browserslist-config": "^6.8.0", + "@wordpress/warning": "^3.8.0", "browserslist": "^4.21.10", "core-js": "^3.31.0", "react": "^18.3.0" @@ -6676,9 +6651,9 @@ } }, "node_modules/@wordpress/babel-preset-default/node_modules/@wordpress/warning": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.7.0.tgz", - "integrity": "sha512-wGbQfPlf8YV6gGhcGPYWUhHORct4xaBQSaDTJrwzlgHYyrrJUVXXgZxaM4+Aa23zQoA13nvFQHvfssOkwdh65g==", + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.8.0.tgz", + "integrity": "sha512-d8osKgKA7LgVGTo29+7qjoxLM84bIBeayCjwRsr2bhK9Naum0O341+JRmtlwc6u/zbbuxZEkoyhxG9ZvKjaezA==", "dev": true, "engines": { "node": ">=18.12.0", @@ -6686,9 +6661,9 @@ } }, "node_modules/@wordpress/base-styles": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-5.7.0.tgz", - "integrity": "sha512-8bydQQ3MyDiKhZAPXBMeB97S3YPoJfJNJT73c3gRXn2qFNkJ9Q5gsSh1oL3i0Vq4s4Lf8l9bqaj8Wh8ncQPnbg==", + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-5.8.0.tgz", + "integrity": "sha512-cvujoLPldetL/AAfImstkGR5pko1lW6XduzLzMmOZI/4v22R6kCmvtrmHXa0Hpin8NzIpeWL1/utFRmPJXn+Dg==", "dev": true, "engines": { "node": ">=18.12.0", @@ -6855,9 +6830,9 @@ } }, "node_modules/@wordpress/block-editor/node_modules/framer-motion": { - "version": "11.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.5.4.tgz", - "integrity": "sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==", + "version": "11.3.31", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.31.tgz", + "integrity": "sha512-Xmxs08WBXnc2tNzNZbFSpquI33lvleJg4Y+hmZ+vFkn+laN9ZnR3gbZnNGKDtuz7c/x3u8dLg05OU3EhLobCsg==", "dev": true, "dependencies": { "tslib": "^2.4.0" @@ -6933,9 +6908,9 @@ } }, "node_modules/@wordpress/browserslist-config": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.7.0.tgz", - "integrity": "sha512-4iMAK3HJEMRm16E2GLXKbQLO085FvFvVwTU2lhzXHLhewjBfjWL3TnqQ9KdOcPmPZ0AK//hULte6PG2VhTWl6w==", + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.8.0.tgz", + "integrity": "sha512-sfn6s9ZePEtQdMwmkrENPDM63QlE3GRX0z5s0ane6mlDGn7ThfKjZVG1TUAf8oTeQ/nCfki29AIjE1VkZQnLlg==", "dev": true, "engines": { "node": ">=18.12.0", @@ -7040,9 +7015,9 @@ } }, "node_modules/@wordpress/commands/node_modules/framer-motion": { - "version": "11.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.5.4.tgz", - "integrity": "sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==", + "version": "11.3.31", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.31.tgz", + "integrity": "sha512-Xmxs08WBXnc2tNzNZbFSpquI33lvleJg4Y+hmZ+vFkn+laN9ZnR3gbZnNGKDtuz7c/x3u8dLg05OU3EhLobCsg==", "dev": true, "dependencies": { "tslib": "^2.4.0" @@ -7252,9 +7227,9 @@ } }, "node_modules/@wordpress/dependency-extraction-webpack-plugin": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-6.7.0.tgz", - "integrity": "sha512-ANsSDMkmb0NGG16NNx9uliXc6hwuE4FJLWdmqju6SGPEMuHa5pr2Xl5hCd154WzoC2VVhYMGNUYoQBRJDFNfkA==", + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-6.8.0.tgz", + "integrity": "sha512-IpkDOMukYM8J+M9M33R6fdiIvZLFwdCQa4c8cnn5UGbTQRt/iHROTaCO+dw3sdiUjZXvuIbVgGragn8npfqU6Q==", "dev": true, "dependencies": { "json2php": "^0.0.7" @@ -7304,9 +7279,9 @@ } }, "node_modules/@wordpress/e2e-test-utils-playwright": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-1.7.0.tgz", - "integrity": "sha512-vmUyIqE0vmpCbfrsW2F9oZRWVN/0Ta2+vjRqpT0c8f9BbRV5L80I3o7BqkTFFPsbapafUui93taNZNNYEn2eLQ==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-1.8.0.tgz", + "integrity": "sha512-/BzX6NujT8S3Ogj379Cnp1LsURFeyksnXz9jd9rK0KB9PhqPU0O3jmkt1Ugcs9jttOtANSvaBJqYC9W7kZuoNQ==", "dev": true, "dependencies": { "change-case": "^4.1.2", @@ -7421,9 +7396,9 @@ } }, "node_modules/@wordpress/jest-console": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-8.7.0.tgz", - "integrity": "sha512-tTDsAGfhv7B6jSRUN8lA6PBBU2UKi0+ICubA8tRID1dV8ekLNr5bu01A9BHwoROajiZsCcEvaAMGbWdSO7TsvQ==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-8.8.0.tgz", + "integrity": "sha512-2+1ePa3bSGJ3SjSqozjSr+g+nNa2Vpy1+XC/TDs1BqypfzuNoVT8wlRJeWccbzJtar95Get03IQkSfP39ZibHA==", "dev": true, "dependencies": { "@babel/runtime": "^7.16.0", @@ -7438,12 +7413,12 @@ } }, "node_modules/@wordpress/jest-preset-default": { - "version": "12.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-12.7.0.tgz", - "integrity": "sha512-L/A75VlaI8OCNiol2sdCIY+ypFmosQIUQPcvmWu4nhEjen6CaIsX3VdRVQGtFrc0YgOyY+H2SsfKtEH9t/mQaw==", + "version": "12.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-12.8.0.tgz", + "integrity": "sha512-a44uMzqrSHrwVeT9T3MQbCuBl8q7Q0VXPwXO/gNtZwuaZCRc/w6fOhN4umPksj9zBTnrVGDZ97QmRrbSCDpxqw==", "dev": true, "dependencies": { - "@wordpress/jest-console": "^8.7.0", + "@wordpress/jest-console": "^8.8.0", "babel-jest": "^29.6.2" }, "engines": { @@ -7503,9 +7478,9 @@ } }, "node_modules/@wordpress/npm-package-json-lint-config": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-5.7.0.tgz", - "integrity": "sha512-D2hjkL4lVgQ60JdyRY5od8PqiPquGaxHjk3MN0AyGcw42jYcuvN7+lDM/FHr4GVJpa0CGKey6Qe56UMiBBMUQw==", + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-5.8.0.tgz", + "integrity": "sha512-aQcnzBzpnOs3y/L1vTiwuPB8KY+xHMabhpSiRXVNJzGOHLKzZF35OCCG66f4h+Ml89p3K9qwaz84Y3izHM+GnA==", "dev": true, "engines": { "node": ">=18.12.0", @@ -7516,12 +7491,12 @@ } }, "node_modules/@wordpress/postcss-plugins-preset": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-5.7.0.tgz", - "integrity": "sha512-vNQGDGesErJJEHGqWAJOYqMnSfrKwObBToDd6nHD50OZ/ECydAuDwSQ97D4ZkH+y7n6zedz+/pCLcc/DnLVJSw==", + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-5.8.0.tgz", + "integrity": "sha512-rjasAWcvgf4UVcDe7UaMClY9AtWUjLnu3fflieXg/KcJvp4jQsJekwFFDzWH2xQoZ5YuGShxMcNNfixddoeWrA==", "dev": true, "dependencies": { - "@wordpress/base-styles": "^5.7.0", + "@wordpress/base-styles": "^5.8.0", "autoprefixer": "^10.2.5" }, "engines": { @@ -7631,9 +7606,9 @@ } }, "node_modules/@wordpress/preferences/node_modules/framer-motion": { - "version": "11.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.5.4.tgz", - "integrity": "sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==", + "version": "11.3.31", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.31.tgz", + "integrity": "sha512-Xmxs08WBXnc2tNzNZbFSpquI33lvleJg4Y+hmZ+vFkn+laN9ZnR3gbZnNGKDtuz7c/x3u8dLg05OU3EhLobCsg==", "dev": true, "dependencies": { "tslib": "^2.4.0" @@ -7656,9 +7631,9 @@ } }, "node_modules/@wordpress/prettier-config": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-4.7.0.tgz", - "integrity": "sha512-GuWbbVT4ebDbkIv40AbnF+WKDl9ra6+Y+oJAbh1cpivlKnbJBFofIxk4W/MOCtaFJhsfkzrQJGFqg3xkcPJM7g==", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-4.8.0.tgz", + "integrity": "sha512-2ebyrGM0Q7gQGDcEFm2uDnjwSgZIZvKaE7My12HytbMKltg8LEbkXxYvH0MLWh4hTp9q5xxf8VlXh7kOk02kUw==", "dev": true, "engines": { "node": ">=18.12.0", @@ -7850,13 +7825,13 @@ } }, "node_modules/@wordpress/scripts/node_modules/@humanwhocodes/config-array": { - "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", + "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", "deprecated": "Use @eslint/config-array instead", "dev": true, "dependencies": { - "@humanwhocodes/object-schema": "^2.0.2", + "@humanwhocodes/object-schema": "^2.0.3", "debug": "^4.3.1", "minimatch": "^3.0.5" }, @@ -7916,16 +7891,16 @@ } }, "node_modules/@wordpress/scripts/node_modules/@wordpress/eslint-plugin": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-21.0.0.tgz", - "integrity": "sha512-4ioakbwSZNL8eXkfK0hcY93e5Fj9dZljxj3lEFkCBWMkSpU8/pPw/7UMS0OBbGQK8rqmvnXF1y/LFH7ihCxuww==", + "version": "21.1.0", + "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-21.1.0.tgz", + "integrity": "sha512-Plqew1Bba6hk362wGwCgX3uHVxPP4F/tc6SkviAypMAMFu1G7A9OBovxHISfky6qwhsPoBkgnOPfxGadh+EGdA==", "dev": true, "dependencies": { "@babel/eslint-parser": "^7.16.0", "@typescript-eslint/eslint-plugin": "^6.4.1", "@typescript-eslint/parser": "^6.4.1", - "@wordpress/babel-preset-default": "^8.7.0", - "@wordpress/prettier-config": "^4.7.0", + "@wordpress/babel-preset-default": "^8.8.0", + "@wordpress/prettier-config": "^4.8.0", "cosmiconfig": "^7.0.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.2", @@ -8133,16 +8108,16 @@ } }, "node_modules/@wordpress/scripts/node_modules/eslint": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", + "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", + "@eslint/js": "8.57.1", + "@humanwhocodes/config-array": "^0.13.0", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", @@ -8637,9 +8612,9 @@ } }, "node_modules/@wordpress/server-side-render/node_modules/framer-motion": { - "version": "11.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.5.4.tgz", - "integrity": "sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==", + "version": "11.3.31", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.31.tgz", + "integrity": "sha512-Xmxs08WBXnc2tNzNZbFSpquI33lvleJg4Y+hmZ+vFkn+laN9ZnR3gbZnNGKDtuz7c/x3u8dLg05OU3EhLobCsg==", "dev": true, "dependencies": { "tslib": "^2.4.0" @@ -8858,9 +8833,9 @@ } }, "node_modules/acorn-walk": { - "version": "8.3.4", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", - "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", + "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", "dev": true, "dependencies": { "acorn": "^8.11.0" @@ -9121,18 +9096,6 @@ "node": ">=14" } }, - "node_modules/are-we-there-yet": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", - "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", - "deprecated": "This package is no longer supported.", - "dev": true, - "optional": true, - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" - } - }, "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -9967,9 +9930,9 @@ "optional": true }, "node_modules/bare-fs": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.3.3.tgz", - "integrity": "sha512-7RYKL+vZVCyAsMLi5SPu7QGauGGT8avnP/HO571ndEuV4MYdGXvLhtW67FuLPeEI8EiIY7zbbRR9x7x7HU0kgw==", + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.3.5.tgz", + "integrity": "sha512-SlE9eTxifPDJrT6YgemQ1WGFleevzwY+XAP1Xqgl56HtcrisC2CHCZ2tq6dBpcH2TnNxwUEUGhweo+lrQtYuiw==", "dev": true, "optional": true, "dependencies": { @@ -9979,9 +9942,9 @@ } }, "node_modules/bare-os": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.4.2.tgz", - "integrity": "sha512-HZoJwzC+rZ9lqEemTMiO0luOePoGYNBgsLLgegKR/cljiJvcDNhDZQkzC+NC5Oh0aHbdBNSOHpghwMuB5tqhjg==", + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.4.4.tgz", + "integrity": "sha512-z3UiI2yi1mK0sXeRdc4O1Kk8aOa/e+FNWZcTiPB/dfTWyLypuE99LibgRaQki914Jq//yAWylcAt+mknKdixRQ==", "dev": true, "optional": true }, @@ -9996,14 +9959,14 @@ } }, "node_modules/bare-stream": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.2.1.tgz", - "integrity": "sha512-YTB47kHwBW9zSG8LD77MIBAAQXjU2WjAkMHeeb7hUplVs6+IoM5I7uEVQNPMB7lj9r8I76UMdoMkGnCodHOLqg==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.3.0.tgz", + "integrity": "sha512-pVRWciewGUeCyKEuRxwv06M079r+fRjAQjBEK2P6OYGrO43O+Z0LrPZZEjlc4mB6C2RpZ9AxJ1s7NLEtOHO6eA==", "dev": true, "optional": true, "dependencies": { "b4a": "^1.6.6", - "streamx": "^2.18.0" + "streamx": "^2.20.0" } }, "node_modules/base64-js": { @@ -10093,9 +10056,9 @@ } }, "node_modules/body-parser": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", - "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "dev": true, "dependencies": { "bytes": "3.1.2", @@ -10106,7 +10069,7 @@ "http-errors": "2.0.0", "iconv-lite": "0.4.24", "on-finished": "2.4.1", - "qs": "6.13.0", + "qs": "6.11.0", "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" @@ -10153,12 +10116,12 @@ "dev": true }, "node_modules/body-parser/node_modules/qs": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", - "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", "dev": true, "dependencies": { - "side-channel": "^1.0.6" + "side-channel": "^1.0.4" }, "engines": { "node": ">=0.6" @@ -10509,9 +10472,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001660", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001660.tgz", - "integrity": "sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg==", + "version": "1.0.30001655", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001655.tgz", + "integrity": "sha512-jRGVy3iSGO5Uutn2owlb5gR6qsGngTw9ZTb4ali9f3glshcNmJ2noam4Mo9zia5P9Dk3jNNydy7vQjuE5dQmfg==", "funding": [ { "type": "opencollective", @@ -10543,9 +10506,9 @@ "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==" }, "node_modules/chakra-react-select": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.9.2.tgz", - "integrity": "sha512-uhvKAJ1I2lbIwdn+wx0YvxX5rtQVI0gXL0apx0CXm3blIxk7qf6YuCh2TnGuGKst8gj8jUFZyhYZiGlcvgbBRQ==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.9.1.tgz", + "integrity": "sha512-jmgfN+S/wnTaCp3pW30GYDIZ5J8jWcT1gIbhpw6RdKV+atm/U4/sT+gaHOHHhRL8xeaYip+iI/m8MPGREkve0w==", "dependencies": { "react-select": "5.8.0" }, @@ -10881,32 +10844,6 @@ "node": ">=12" } }, - "node_modules/cliui/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/cliui/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/cliui/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/clone-deep": { "version": "0.2.4", "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-0.2.4.tgz", @@ -10967,14 +10904,6 @@ "node": ">= 0.12.0" } }, - "node_modules/code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/collect-v8-coverage": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", @@ -12102,11 +12031,11 @@ "integrity": "sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==" }, "node_modules/debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "dependencies": { - "ms": "^2.1.3" + "ms": "2.1.2" }, "engines": { "node": ">=6.0" @@ -12154,19 +12083,6 @@ "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==", "dev": true }, - "node_modules/decompress-response": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-4.2.1.tgz", - "integrity": "sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw==", - "dev": true, - "optional": true, - "dependencies": { - "mimic-response": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/dedent": { "version": "1.5.3", "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", @@ -12411,19 +12327,6 @@ "node": ">=0.10.0" } }, - "node_modules/detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", - "dev": true, - "optional": true, - "bin": { - "detect-libc": "bin/detect-libc.js" - }, - "engines": { - "node": ">=0.10" - } - }, "node_modules/detect-newline": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", @@ -12673,9 +12576,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.5.18", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.18.tgz", - "integrity": "sha512-1OfuVACu+zKlmjsNdcJuVQuVE61sZOLbNM4JAQ1Rvh6EOj0/EUKhMJjRH73InPlXSh8HIJk1cVZ8pyOV/FMdUQ==" + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.13.tgz", + "integrity": "sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==" }, "node_modules/emittery": { "version": "0.13.1", @@ -12705,9 +12608,9 @@ } }, "node_modules/encodeurl": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", "dev": true, "engines": { "node": ">= 0.8" @@ -13590,9 +13493,9 @@ } }, "node_modules/eslint-plugin-react": { - "version": "7.35.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.35.2.tgz", - "integrity": "sha512-Rbj2R9zwP2GYNcIak4xoAMV57hrBh3hTaR0k7hVjwCQgryE/pw5px4b13EYjduOI0hfXyZhwBxaGpOTbWSGzKQ==", + "version": "7.35.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.35.0.tgz", + "integrity": "sha512-v501SSMOWv8gerHkk+IIQBkcGRGrO2nfybfj5pLxuJNFTPxxA3PSryhXTK+9pNbtkggheDdsC0E9Q8CuPk6JKA==", "dev": true, "dependencies": { "array-includes": "^3.1.8", @@ -14095,16 +13998,6 @@ "node": ">= 0.8.0" } }, - "node_modules/expand-template": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", - "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", - "dev": true, - "optional": true, - "engines": { - "node": ">=6" - } - }, "node_modules/expand-tilde": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", @@ -14139,37 +14032,37 @@ "dev": true }, "node_modules/express": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/express/-/express-4.20.0.tgz", - "integrity": "sha512-pLdae7I6QqShF5PnNTCVn4hI91Dx0Grkn2+IAsMTgMIKuQVte2dN9PeGSSAME2FR8anOhVA62QDIUaWVfEXVLw==", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "dev": true, "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.3", + "body-parser": "1.20.2", "content-disposition": "0.5.4", "content-type": "~1.0.4", "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", - "encodeurl": "~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.3", + "merge-descriptors": "1.0.1", "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.10", + "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.19.0", - "serve-static": "1.16.0", + "send": "0.18.0", + "serve-static": "1.15.0", "setprototypeof": "1.2.0", "statuses": "2.0.1", "type-is": "~1.6.18", @@ -14205,9 +14098,9 @@ "dev": true }, "node_modules/express/node_modules/path-to-regexp": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", "dev": true }, "node_modules/express/node_modules/qs": { @@ -14550,15 +14443,6 @@ "ms": "2.0.0" } }, - "node_modules/finalhandler/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==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/finalhandler/node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", @@ -14872,9 +14756,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.9", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", - "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "dev": true, "funding": [ { @@ -15146,47 +15030,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/gauge": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==", - "deprecated": "This package is no longer supported.", - "dev": true, - "optional": true, - "dependencies": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" - } - }, - "node_modules/gauge/node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/gauge/node_modules/strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", - "dev": true, - "optional": true, - "dependencies": { - "ansi-regex": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/gaze": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", @@ -15380,13 +15223,6 @@ "safe-buffer": "^5.1.1" } }, - "node_modules/github-from-package": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", - "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", - "dev": true, - "optional": true - }, "node_modules/glob": { "version": "7.1.7", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", @@ -17428,22 +17264,6 @@ "node": ">=10" } }, - "node_modules/iltorb": { - "version": "2.4.5", - "resolved": "https://registry.npmjs.org/iltorb/-/iltorb-2.4.5.tgz", - "integrity": "sha512-EMCMl3LnnNSZJS5QrxyZmMTaAC4+TJkM5woD+xbpm9RB+mFYCr7C05GFE3TEGCsVQSVHmjX+3sf5AiwsylNInQ==", - "deprecated": "The zlib module provides APIs for brotli compression/decompression starting with Node.js v10.16.0, please use it over iltorb", - "dev": true, - "hasInstallScript": true, - "optional": true, - "dependencies": { - "detect-libc": "^1.0.3", - "nan": "^2.14.0", - "npmlog": "^4.1.2", - "prebuild-install": "^5.3.3", - "which-pm-runs": "^1.0.0" - } - }, "node_modules/image-ssim": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/image-ssim/-/image-ssim-0.2.0.tgz", @@ -17859,14 +17679,11 @@ } }, "node_modules/is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==", - "dependencies": { - "number-is-nan": "^1.0.0" - }, + "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": ">=0.10.0" + "node": ">=8" } }, "node_modules/is-generator-fn": { @@ -20382,9 +20199,9 @@ } }, "node_modules/launch-editor": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.9.1.tgz", - "integrity": "sha512-Gcnl4Bd+hRO9P9icCP/RVVT2o8SFlPXofuCxvA2SaZuH45whSvf5p8x5oih5ftLiVhEI4sp5xDY+R+b3zJBh5w==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.8.1.tgz", + "integrity": "sha512-elBx2l/tp9z99X5H/qev8uyDywVh0VXAwEbjk8kJhnc5grOFkGh7aW6q55me9xnYbss261XtnUrysZ+XvGbhQA==", "dev": true, "dependencies": { "picocolors": "^1.0.0", @@ -20649,12 +20466,6 @@ } } }, - "node_modules/lighthouse/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==", - "dev": true - }, "node_modules/lighthouse/node_modules/http-proxy-agent": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", @@ -20681,15 +20492,6 @@ "node": ">= 14" } }, - "node_modules/lighthouse/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==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/lighthouse/node_modules/lru-cache": { "version": "7.18.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", @@ -20705,12 +20507,6 @@ "integrity": "sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ==", "dev": true }, - "node_modules/lighthouse/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/lighthouse/node_modules/proxy-agent": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.3.0.tgz", @@ -20817,20 +20613,6 @@ "node": ">= 14" } }, - "node_modules/lighthouse/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==", - "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/lighthouse/node_modules/tar-fs": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.4.tgz", @@ -21703,13 +21485,10 @@ } }, "node_modules/merge-descriptors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", - "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", + "dev": true }, "node_modules/merge-stream": { "version": "2.0.0", @@ -21792,19 +21571,6 @@ "node": ">=6" } }, - "node_modules/mimic-response": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-2.1.0.tgz", - "integrity": "sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==", - "dev": true, - "optional": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/min-indent": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", @@ -22054,9 +21820,9 @@ } }, "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==" + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/multicast-dns": { "version": "7.2.5", @@ -22093,13 +21859,6 @@ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, - "node_modules/napi-build-utils": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz", - "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==", - "dev": true, - "optional": true - }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -22143,26 +21902,6 @@ "tslib": "^2.0.3" } }, - "node_modules/node-abi": { - "version": "2.30.1", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.30.1.tgz", - "integrity": "sha512-/2D0wOQPgaUWzVSVgRMx+trKJRC2UG4SUc4oCJoXx9Uxjtp0Vy3/kt7zcbxHF8+Z/pK3UloLWzBISg72brfy1w==", - "dev": true, - "optional": true, - "dependencies": { - "semver": "^5.4.1" - } - }, - "node_modules/node-abi/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/node-fetch": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", @@ -22250,11 +21989,6 @@ "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/node-gyp/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/node-gyp/node_modules/gauge": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", @@ -22274,14 +22008,6 @@ "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/node-gyp/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/node-gyp/node_modules/nopt": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", @@ -22350,19 +22076,6 @@ "node": ">=10" } }, - "node_modules/node-gyp/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/node-gyp/node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -22489,11 +22202,6 @@ "node": ">= 8" } }, - "node_modules/node-sass/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/node-sass/node_modules/gauge": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", @@ -22530,14 +22238,6 @@ "node": ">=8" } }, - "node_modules/node-sass/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/node-sass/node_modules/npmlog": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", @@ -22582,19 +22282,6 @@ "node": ">=8" } }, - "node_modules/node-sass/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/node-sass/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -22620,13 +22307,6 @@ "node": ">= 8" } }, - "node_modules/noop-logger": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/noop-logger/-/noop-logger-0.1.1.tgz", - "integrity": "sha512-6kM8CLXvuW5crTxsAtva2YLrRrDaiTIkIePWs9moLHqbFWT94WpNFjwS/5dfLfECg5i/lkmw3aoqVidxt23TEQ==", - "dev": true, - "optional": true - }, "node_modules/nopt": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", @@ -22928,20 +22608,6 @@ "node": ">=8" } }, - "node_modules/npmlog": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", - "deprecated": "This package is no longer supported.", - "dev": true, - "optional": true, - "dependencies": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, "node_modules/nth-check": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", @@ -22958,6 +22624,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", "integrity": "sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -23650,9 +23317,9 @@ "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==" }, "node_modules/picocolors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==" }, "node_modules/picomatch": { "version": "2.3.1", @@ -23717,13 +23384,13 @@ } }, "node_modules/playwright": { - "version": "1.47.0", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.47.0.tgz", - "integrity": "sha512-jOWiRq2pdNAX/mwLiwFYnPHpEZ4rM+fRSQpRHwEwZlP2PUANvL3+aJOF/bvISMhFD30rqMxUB4RJx9aQbfh4Ww==", + "version": "1.47.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.47.1.tgz", + "integrity": "sha512-SUEKi6947IqYbKxRiqnbUobVZY4bF1uu+ZnZNJX9DfU1tlf2UhWfvVjLf01pQx9URsOr18bFVUKXmanYWhbfkw==", "dev": true, "peer": true, "dependencies": { - "playwright-core": "1.47.0" + "playwright-core": "1.47.1" }, "bin": { "playwright": "cli.js" @@ -23736,9 +23403,9 @@ } }, "node_modules/playwright-core": { - "version": "1.47.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.47.0.tgz", - "integrity": "sha512-1DyHT8OqkcfCkYUD9zzUTfg7EfTd+6a8MkD/NWOvjo0u/SCNd5YmY/lJwFvUZOxJbWNds+ei7ic2+R/cRz/PDg==", + "version": "1.47.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.47.1.tgz", + "integrity": "sha512-i1iyJdLftqtt51mEk6AhYFaAJCDx0xQ/O5NU8EKaWFgMjItPVma542Nh/Aq8aLCjIJSzjaiEQGW/nyqLkGF1OQ==", "dev": true, "peer": true, "bin": { @@ -23807,9 +23474,9 @@ } }, "node_modules/postcss": { - "version": "8.4.45", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.45.tgz", - "integrity": "sha512-7KTLTdzdZZYscUc65XmjFiB73vBhBfbPztCYdUNvlaso9PrzjzcmjqBPR0lNGkcVlcO4BjiO5rK/qNz+XAen1Q==", + "version": "8.4.44", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.44.tgz", + "integrity": "sha512-Aweb9unOEpQ3ezu4Q00DPvvM2ZTUitJdNKeP/+uQgr1IBIqu574IaZoURId7BKtWMREwzKa9OgzPzezWGPWFQw==", "funding": [ { "type": "opencollective", @@ -24454,36 +24121,6 @@ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" }, - "node_modules/prebuild-install": { - "version": "5.3.6", - "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-5.3.6.tgz", - "integrity": "sha512-s8Aai8++QQGi4sSbs/M1Qku62PFK49Jm1CbgXklGz4nmHveDq0wzJkg7Na5QbnO1uNH8K7iqx2EQ/mV0MZEmOg==", - "dev": true, - "optional": true, - "dependencies": { - "detect-libc": "^1.0.3", - "expand-template": "^2.0.3", - "github-from-package": "0.0.0", - "minimist": "^1.2.3", - "mkdirp-classic": "^0.5.3", - "napi-build-utils": "^1.0.1", - "node-abi": "^2.7.0", - "noop-logger": "^0.1.1", - "npmlog": "^4.0.1", - "pump": "^3.0.0", - "rc": "^1.2.7", - "simple-get": "^3.0.3", - "tar-fs": "^2.0.0", - "tunnel-agent": "^0.6.0", - "which-pm-runs": "^1.0.0" - }, - "bin": { - "prebuild-install": "bin.js" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -24771,9 +24408,9 @@ "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==" }, "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", "dev": true, "dependencies": { "end-of-stream": "^1.1.0", @@ -24789,15 +24426,15 @@ } }, "node_modules/puppeteer-core": { - "version": "23.3.0", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.3.0.tgz", - "integrity": "sha512-sB2SsVMFs4gKad5OCdv6w5vocvtEUrRl0zQqSyRPbo/cj1Ktbarmhxy02Zyb9R9HrssBcJDZbkrvBnbaesPyYg==", + "version": "23.4.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.4.0.tgz", + "integrity": "sha512-fqkIP5FOcb38jfBj/OcBz1wFaI9nk40uQKSORvnXws6wCbep2dg8yxZ3ddJxBIfQsxoiEOvnrykFinUScrB/ew==", "dev": true, "dependencies": { "@puppeteer/browsers": "2.4.0", "chromium-bidi": "0.6.5", - "debug": "^4.3.6", - "devtools-protocol": "0.0.1330662", + "debug": "^4.3.7", + "devtools-protocol": "0.0.1342118", "typed-query-selector": "^2.12.0", "ws": "^8.18.0" }, @@ -24805,10 +24442,33 @@ "node": ">=18" } }, + "node_modules/puppeteer-core/node_modules/debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, "node_modules/puppeteer-core/node_modules/devtools-protocol": { - "version": "0.0.1330662", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1330662.tgz", - "integrity": "sha512-pzh6YQ8zZfz3iKlCvgzVCu22NdpZ8hNmwU6WnQjNVquh0A9iVosPtNLWDwaWVGyrntQlltPFztTMK5Cg6lfCuw==", + "version": "0.0.1342118", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1342118.tgz", + "integrity": "sha512-75fMas7PkYNDTmDyb6PRJCH7ILmHLp+BhrZGeMsa4bCh40DTxgCz2NRy5UDzII4C5KuD0oBMZ9vXKhEl6UD/3w==", + "dev": true + }, + "node_modules/puppeteer-core/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==", "dev": true }, "node_modules/pure-rand": { @@ -24911,36 +24571,10 @@ "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==", "dev": true }, - "node_modules/rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "dev": true, - "optional": true, - "dependencies": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "bin": { - "rc": "cli.js" - } - }, - "node_modules/rc/node_modules/strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/re-resizable": { - "version": "6.9.18", - "resolved": "https://registry.npmjs.org/re-resizable/-/re-resizable-6.9.18.tgz", - "integrity": "sha512-4RgEES1iizvpaNtvcJz2fUOw5efuK5Jaix3+nY4yQvI6pxKKkFaoKZB1KtiXd8hawR2BGdcoJFS4NGDPketAYQ==", + "version": "6.9.17", + "resolved": "https://registry.npmjs.org/re-resizable/-/re-resizable-6.9.17.tgz", + "integrity": "sha512-OBqd1BwVXpEJJn/yYROG+CbeqIDBWIp6wathlpB0kzZWWZIY1gPTsgK2yJEui5hOvkCdC2mcexF2V3DZVfLq2g==", "dev": true, "peerDependencies": { "react": "^16.13.1 || ^17.0.0 || ^18.0.0", @@ -25106,9 +24740,9 @@ } }, "node_modules/react-remove-scroll": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.6.0.tgz", - "integrity": "sha512-I2U4JVEsQenxDAKaVa3VZ/JeJZe0/2DxPWL8Tj8yLKctQJQiZM52pn/GWFpSp8dftjM3pSAHVJZscAnC/y+ySQ==", + "version": "2.5.10", + "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.10.tgz", + "integrity": "sha512-m3zvBRANPBw3qxVVjEIPEQinkcwlFZ4qyomuWVpNJdv4c6MvHfXV0C3L9Jx5rr3HeBHKNRX+1jreB5QloDIJjA==", "dependencies": { "react-remove-scroll-bar": "^2.3.6", "react-style-singleton": "^2.2.1", @@ -25151,11 +24785,11 @@ } }, "node_modules/react-router": { - "version": "6.26.2", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.26.2.tgz", - "integrity": "sha512-tvN1iuT03kHgOFnLPfLJ8V95eijteveqdOSk+srqfePtQvqCExB8eHOYnlilbOcyJyKnYkr1vJvf7YqotAJu1A==", + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.26.1.tgz", + "integrity": "sha512-kIwJveZNwp7teQRI5QmwWo39A5bXRyqpH0COKKmPnyD2vBvDwgFXSqDUYtt1h+FEyfnE8eXr7oe0MxRzVwCcvQ==", "dependencies": { - "@remix-run/router": "1.19.2" + "@remix-run/router": "1.19.1" }, "engines": { "node": ">=14.0.0" @@ -25165,12 +24799,12 @@ } }, "node_modules/react-router-dom": { - "version": "6.26.2", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.26.2.tgz", - "integrity": "sha512-z7YkaEW0Dy35T3/QKPYB1LjMK2R1fxnHO8kWpUMTBdfVzZrWOiY9a7CtN8HqdWtDUWd5FY6Dl8HFsqVwH4uOtQ==", + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.26.1.tgz", + "integrity": "sha512-veut7m41S1fLql4pLhxeSW3jlqs+4MtjRLj0xvuCEXsxusJCbs6I8yn9BxzzDX2XDgafrccY6hwjmd/bL54tFw==", "dependencies": { - "@remix-run/router": "1.19.2", - "react-router": "6.26.2" + "@remix-run/router": "1.19.1", + "react-router": "6.26.1" }, "engines": { "node": ">=14.0.0" @@ -26236,9 +25870,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/sass": { - "version": "1.78.0", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.78.0.tgz", - "integrity": "sha512-AaIqGSrjo5lA2Yg7RvFZrlXDBCp3nV4XP73GrLGvdRWWwk+8H3l0SDvq/5bA4eF+0RFPLuWUk3E+P1U/YqnpsQ==", + "version": "1.77.8", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.77.8.tgz", + "integrity": "sha512-4UHg6prsrycW20fqLGPShtEvo/WyHRVRHwOP4DzkUrObWoWI05QBSfzU71TVB7PFaL104TwNaHpjlWXAZbQiNQ==", "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", @@ -26397,9 +26031,9 @@ } }, "node_modules/send": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", - "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", + "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", "dev": true, "dependencies": { "debug": "2.6.9", @@ -26435,15 +26069,6 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, - "node_modules/send/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==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/send/node_modules/mime": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", @@ -26456,6 +26081,12 @@ "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==", + "dev": true + }, "node_modules/sentence-case": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/sentence-case/-/sentence-case-3.0.4.tgz", @@ -26553,9 +26184,9 @@ } }, "node_modules/serve-static": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.0.tgz", - "integrity": "sha512-pDLK8zwl2eKaYrs8mrPZBJua4hMplRWJ1tIFksVC3FtBEBnl8dxgeHtsaMS8DhS9i4fLObaon6ABoc4/hQGdPA==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", + "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", "dev": true, "dependencies": { "encodeurl": "~1.0.2", @@ -26567,66 +26198,6 @@ "node": ">= 0.8.0" } }, - "node_modules/serve-static/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-static/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==", - "dev": true - }, - "node_modules/serve-static/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==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/serve-static/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, - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/serve-static/node_modules/send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", - "dev": true, - "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/set-blocking": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", @@ -26951,39 +26522,6 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, - "node_modules/simple-concat": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", - "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", - "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" - } - ], - "optional": true - }, - "node_modules/simple-get": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-3.1.1.tgz", - "integrity": "sha512-CQ5LTKGfCpvE1K0n2us+kuMPbk/q0EKl82s4aheV9oXjFEz6W/Y7oQFVJuU6QG77hRT4Ghb5RURteF5vnWjupA==", - "dev": true, - "optional": true, - "dependencies": { - "decompress-response": "^4.2.0", - "once": "^1.3.1", - "simple-concat": "^1.0.0" - } - }, "node_modules/simple-html-tokenizer": { "version": "0.5.11", "resolved": "https://registry.npmjs.org/simple-html-tokenizer/-/simple-html-tokenizer-0.5.11.tgz", @@ -27069,15 +26607,6 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "node_modules/slice-ansi/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==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/smart-buffer": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", @@ -27163,9 +26692,9 @@ } }, "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", + "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", "engines": { "node": ">=0.10.0" } @@ -27432,9 +26961,9 @@ } }, "node_modules/streamx": { - "version": "2.20.0", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.20.0.tgz", - "integrity": "sha512-ZGd1LhDeGFucr1CUCTBOS58ZhEendd0ttpGT3usTvosS4ntIwKN9LJFp+OeCSprsCPL14BXVRZlHGRY1V9PVzQ==", + "version": "2.20.1", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.20.1.tgz", + "integrity": "sha512-uTa0mU6WUC65iUvzKH4X9hEdvSW7rbPxPtwfWiLMSj3qTdQbAiUboZTxauKfpFuGIGa1C2BYijZ7wgdUXICJhA==", "dev": true, "dependencies": { "fast-fifo": "^1.3.2", @@ -27478,36 +27007,22 @@ "dev": true }, "node_modules/string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==", + "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": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" }, "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/string-width/node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", - "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/string-width/node_modules/strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", - "dependencies": { - "ansi-regex": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } + "node_modules/string-width/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/string.prototype.includes": { "version": "2.0.0", @@ -27839,12 +27354,6 @@ "node": ">=10" } }, - "node_modules/stylelint/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==", - "dev": true - }, "node_modules/stylelint/node_modules/global-modules": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", @@ -27900,15 +27409,6 @@ "node": ">= 4" } }, - "node_modules/stylelint/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==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/stylelint/node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -27918,20 +27418,6 @@ "node": ">=0.10.0" } }, - "node_modules/stylelint/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==", - "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/stylis": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", @@ -28148,35 +27634,6 @@ "node": ">=10.0.0" } }, - "node_modules/table/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==", - "dev": true - }, - "node_modules/table/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==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/table/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==", - "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/tannin": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/tannin/-/tannin-1.2.0.tgz", @@ -28210,67 +27667,28 @@ } }, "node_modules/tar-fs": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", - "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz", + "integrity": "sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==", "dev": true, - "optional": true, "dependencies": { - "chownr": "^1.1.1", - "mkdirp-classic": "^0.5.2", "pump": "^3.0.0", - "tar-stream": "^2.1.4" - } - }, - "node_modules/tar-fs/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, - "optional": true, - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/tar-fs/node_modules/chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", - "dev": true, - "optional": true - }, - "node_modules/tar-fs/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, - "optional": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" + "tar-stream": "^3.1.5" }, - "engines": { - "node": ">= 6" + "optionalDependencies": { + "bare-fs": "^2.1.1", + "bare-path": "^2.1.0" } }, "node_modules/tar-fs/node_modules/tar-stream": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", + "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", "dev": true, - "optional": true, "dependencies": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" - }, - "engines": { - "node": ">=6" + "b4a": "^1.6.4", + "fast-fifo": "^1.2.0", + "streamx": "^2.15.0" } }, "node_modules/tar-stream": { @@ -28305,9 +27723,9 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/terser": { - "version": "5.32.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.32.0.tgz", - "integrity": "sha512-v3Gtw3IzpBJ0ugkxEX8U0W6+TnPKRRCWGh1jC/iM/e3Ki5+qvO1L1EAZ56bZasc64aXHwRHNIQEzm6//i5cemQ==", + "version": "5.31.6", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.6.tgz", + "integrity": "sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg==", "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -28482,9 +27900,9 @@ } }, "node_modules/text-decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.1.1.tgz", - "integrity": "sha512-8zll7REEv4GDD3x4/0pW+ppIxSNs7H1J10IKFZsuOMscumCdM2a+toDGLPA3T+1+fLBql4zbt5z83GEQGGV5VA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.0.tgz", + "integrity": "sha512-n1yg1mOj9DNpk3NeZOx7T6jchTbyJS3i3cucbNN6FcdPriMZx7NsgrGpWWdWZZGxD7ES1XB+3uoqHMgOKaN+fg==", "dev": true, "dependencies": { "b4a": "^1.6.4" @@ -28911,9 +28329,9 @@ } }, "node_modules/typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "dev": true, "peer": true, "bin": { @@ -30201,16 +29619,6 @@ "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==", "dev": true }, - "node_modules/which-pm-runs": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.1.0.tgz", - "integrity": "sha512-n1brCuqClxfFfq/Rb0ICg9giSZqCS+pLtccdag6C2HyufBrh3fBOiy9nb6ggRMvWOVH5GrdJskj5iGTZNxd7SA==", - "dev": true, - "optional": true, - "engines": { - "node": ">=4" - } - }, "node_modules/which-typed-array": { "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", @@ -30299,32 +29707,6 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, - "node_modules/wrap-ansi/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/wrap-ansi/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/wrap-ansi/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/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -30444,32 +29826,6 @@ "node": ">=12" } }, - "node_modules/yargs/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/yargs/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/yargs/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/yauzl": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", @@ -32920,9 +32276,9 @@ } }, "@eslint-community/regexpp": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", - "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", + "version": "4.11.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.1.tgz", + "integrity": "sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==", "dev": true }, "@eslint/eslintrc": { @@ -32978,9 +32334,9 @@ } }, "@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", + "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", "dev": true }, "@floating-ui/core": { @@ -33704,13 +33060,13 @@ "dev": true }, "@playwright/test": { - "version": "1.47.0", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.47.0.tgz", - "integrity": "sha512-SgAdlSwYVpToI4e/IH19IHHWvoijAYH5hu2MWSXptRypLSnzj51PcGD+rsOXFayde4P9ZLi+loXVwArg6IUkCA==", + "version": "1.47.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.47.1.tgz", + "integrity": "sha512-dbWpcNQZ5nj16m+A5UNScYx7HX5trIy7g4phrcitn+Nk83S32EBX/CLU4hiF4RGKX/yRc93AAqtfaXB7JWBd4Q==", "dev": true, "peer": true, "requires": { - "playwright": "1.47.0" + "playwright": "1.47.1" } }, "@pmmmwh/react-refresh-webpack-plugin": { @@ -33768,29 +33124,6 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true - }, - "tar-fs": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz", - "integrity": "sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==", - "dev": true, - "requires": { - "bare-fs": "^2.1.1", - "bare-path": "^2.1.0", - "pump": "^3.0.0", - "tar-stream": "^3.1.5" - } - }, - "tar-stream": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", - "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", - "dev": true, - "requires": { - "b4a": "^1.6.4", - "fast-fifo": "^1.2.0", - "streamx": "^2.15.0" - } } } }, @@ -34039,9 +33372,9 @@ } }, "@remix-run/router": { - "version": "1.19.2", - "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.19.2.tgz", - "integrity": "sha512-baiMx18+IMuD1yyvOGaHM9QrVUPGGG0jC+z+IPHnRJWUAUvaKuWKyE8gjDj2rzv3sz9zOGoRSPgeBVHRhZnBlA==" + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.19.1.tgz", + "integrity": "sha512-S45oynt/WH19bHbIXjtli6QmwNYvaz+vtnubvNpNDvUOoA/OWh6j1OikIP3G+v5GHdxyC6EXoChG3HgYGEUfcg==" }, "@rtsao/scc": { "version": "1.1.0", @@ -34638,9 +33971,9 @@ "integrity": "sha512-qL0hyIMNPow317QWW/63RvL1x5MVMV+Ru3NaY9f/CuEpCqrmb7WeuK2071ZY5hczOnm38qExWM2i2WtkXLSqFw==" }, "@types/node": { - "version": "22.5.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz", - "integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==", + "version": "22.5.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.2.tgz", + "integrity": "sha512-acJsPTEqYqulZS/Yp/S3GgeE6GZ0qYODUR8aVr/DkhHQ8l9nd4j5x1/ZJy9/gHrRlFMqkO6i0I3E27Alu4jjPg==", "requires": { "undici-types": "~6.19.2" } @@ -34916,9 +34249,9 @@ "dev": true }, "framer-motion": { - "version": "11.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.5.4.tgz", - "integrity": "sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==", + "version": "11.3.31", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.31.tgz", + "integrity": "sha512-Xmxs08WBXnc2tNzNZbFSpquI33lvleJg4Y+hmZ+vFkn+laN9ZnR3gbZnNGKDtuz7c/x3u8dLg05OU3EhLobCsg==", "dev": true, "requires": { "tslib": "^2.4.0" @@ -35001,9 +34334,9 @@ "dev": true }, "framer-motion": { - "version": "11.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.5.4.tgz", - "integrity": "sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==", + "version": "11.3.31", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.31.tgz", + "integrity": "sha512-Xmxs08WBXnc2tNzNZbFSpquI33lvleJg4Y+hmZ+vFkn+laN9ZnR3gbZnNGKDtuz7c/x3u8dLg05OU3EhLobCsg==", "dev": true, "requires": { "tslib": "^2.4.0" @@ -35434,9 +34767,9 @@ } }, "@wordpress/babel-preset-default": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.7.0.tgz", - "integrity": "sha512-umHgTnOeC9IqejB78XvpSVYwFPxCm2Df7dsQN1MxiwXfacHleiR/b2x+HDSXtNHRp1fESYpz8oIeUYtfOGZKWg==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.8.0.tgz", + "integrity": "sha512-pnizoKwcP0vQaQiEUP5l2Essyc+e8q4aH4rhuWb4B2SU3SoVHNmKzoFoM5ZC0ZsTdT7SIBTlXjAqjK3HG017vw==", "dev": true, "requires": { "@babel/core": "^7.16.0", @@ -35445,25 +34778,25 @@ "@babel/preset-env": "^7.16.0", "@babel/preset-typescript": "^7.16.0", "@babel/runtime": "^7.16.0", - "@wordpress/browserslist-config": "^6.7.0", - "@wordpress/warning": "^3.7.0", + "@wordpress/browserslist-config": "^6.8.0", + "@wordpress/warning": "^3.8.0", "browserslist": "^4.21.10", "core-js": "^3.31.0", "react": "^18.3.0" }, "dependencies": { "@wordpress/warning": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.7.0.tgz", - "integrity": "sha512-wGbQfPlf8YV6gGhcGPYWUhHORct4xaBQSaDTJrwzlgHYyrrJUVXXgZxaM4+Aa23zQoA13nvFQHvfssOkwdh65g==", + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.8.0.tgz", + "integrity": "sha512-d8osKgKA7LgVGTo29+7qjoxLM84bIBeayCjwRsr2bhK9Naum0O341+JRmtlwc6u/zbbuxZEkoyhxG9ZvKjaezA==", "dev": true } } }, "@wordpress/base-styles": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-5.7.0.tgz", - "integrity": "sha512-8bydQQ3MyDiKhZAPXBMeB97S3YPoJfJNJT73c3gRXn2qFNkJ9Q5gsSh1oL3i0Vq4s4Lf8l9bqaj8Wh8ncQPnbg==", + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-5.8.0.tgz", + "integrity": "sha512-cvujoLPldetL/AAfImstkGR5pko1lW6XduzLzMmOZI/4v22R6kCmvtrmHXa0Hpin8NzIpeWL1/utFRmPJXn+Dg==", "dev": true }, "@wordpress/blob": { @@ -35602,9 +34935,9 @@ "dev": true }, "framer-motion": { - "version": "11.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.5.4.tgz", - "integrity": "sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==", + "version": "11.3.31", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.31.tgz", + "integrity": "sha512-Xmxs08WBXnc2tNzNZbFSpquI33lvleJg4Y+hmZ+vFkn+laN9ZnR3gbZnNGKDtuz7c/x3u8dLg05OU3EhLobCsg==", "dev": true, "requires": { "tslib": "^2.4.0" @@ -35657,9 +34990,9 @@ } }, "@wordpress/browserslist-config": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.7.0.tgz", - "integrity": "sha512-4iMAK3HJEMRm16E2GLXKbQLO085FvFvVwTU2lhzXHLhewjBfjWL3TnqQ9KdOcPmPZ0AK//hULte6PG2VhTWl6w==", + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.8.0.tgz", + "integrity": "sha512-sfn6s9ZePEtQdMwmkrENPDM63QlE3GRX0z5s0ane6mlDGn7ThfKjZVG1TUAf8oTeQ/nCfki29AIjE1VkZQnLlg==", "dev": true }, "@wordpress/commands": { @@ -35742,9 +35075,9 @@ "dev": true }, "framer-motion": { - "version": "11.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.5.4.tgz", - "integrity": "sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==", + "version": "11.3.31", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.31.tgz", + "integrity": "sha512-Xmxs08WBXnc2tNzNZbFSpquI33lvleJg4Y+hmZ+vFkn+laN9ZnR3gbZnNGKDtuz7c/x3u8dLg05OU3EhLobCsg==", "dev": true, "requires": { "tslib": "^2.4.0" @@ -35903,9 +35236,9 @@ } }, "@wordpress/dependency-extraction-webpack-plugin": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-6.7.0.tgz", - "integrity": "sha512-ANsSDMkmb0NGG16NNx9uliXc6hwuE4FJLWdmqju6SGPEMuHa5pr2Xl5hCd154WzoC2VVhYMGNUYoQBRJDFNfkA==", + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-6.8.0.tgz", + "integrity": "sha512-IpkDOMukYM8J+M9M33R6fdiIvZLFwdCQa4c8cnn5UGbTQRt/iHROTaCO+dw3sdiUjZXvuIbVgGragn8npfqU6Q==", "dev": true, "requires": { "json2php": "^0.0.7" @@ -35939,9 +35272,9 @@ } }, "@wordpress/e2e-test-utils-playwright": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-1.7.0.tgz", - "integrity": "sha512-vmUyIqE0vmpCbfrsW2F9oZRWVN/0Ta2+vjRqpT0c8f9BbRV5L80I3o7BqkTFFPsbapafUui93taNZNNYEn2eLQ==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-1.8.0.tgz", + "integrity": "sha512-/BzX6NujT8S3Ogj379Cnp1LsURFeyksnXz9jd9rK0KB9PhqPU0O3jmkt1Ugcs9jttOtANSvaBJqYC9W7kZuoNQ==", "dev": true, "requires": { "change-case": "^4.1.2", @@ -36025,9 +35358,9 @@ } }, "@wordpress/jest-console": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-8.7.0.tgz", - "integrity": "sha512-tTDsAGfhv7B6jSRUN8lA6PBBU2UKi0+ICubA8tRID1dV8ekLNr5bu01A9BHwoROajiZsCcEvaAMGbWdSO7TsvQ==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-8.8.0.tgz", + "integrity": "sha512-2+1ePa3bSGJ3SjSqozjSr+g+nNa2Vpy1+XC/TDs1BqypfzuNoVT8wlRJeWccbzJtar95Get03IQkSfP39ZibHA==", "dev": true, "requires": { "@babel/runtime": "^7.16.0", @@ -36035,12 +35368,12 @@ } }, "@wordpress/jest-preset-default": { - "version": "12.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-12.7.0.tgz", - "integrity": "sha512-L/A75VlaI8OCNiol2sdCIY+ypFmosQIUQPcvmWu4nhEjen6CaIsX3VdRVQGtFrc0YgOyY+H2SsfKtEH9t/mQaw==", + "version": "12.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-12.8.0.tgz", + "integrity": "sha512-a44uMzqrSHrwVeT9T3MQbCuBl8q7Q0VXPwXO/gNtZwuaZCRc/w6fOhN4umPksj9zBTnrVGDZ97QmRrbSCDpxqw==", "dev": true, "requires": { - "@wordpress/jest-console": "^8.7.0", + "@wordpress/jest-console": "^8.8.0", "babel-jest": "^29.6.2" } }, @@ -36077,19 +35410,19 @@ } }, "@wordpress/npm-package-json-lint-config": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-5.7.0.tgz", - "integrity": "sha512-D2hjkL4lVgQ60JdyRY5od8PqiPquGaxHjk3MN0AyGcw42jYcuvN7+lDM/FHr4GVJpa0CGKey6Qe56UMiBBMUQw==", + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-5.8.0.tgz", + "integrity": "sha512-aQcnzBzpnOs3y/L1vTiwuPB8KY+xHMabhpSiRXVNJzGOHLKzZF35OCCG66f4h+Ml89p3K9qwaz84Y3izHM+GnA==", "dev": true, "requires": {} }, "@wordpress/postcss-plugins-preset": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-5.7.0.tgz", - "integrity": "sha512-vNQGDGesErJJEHGqWAJOYqMnSfrKwObBToDd6nHD50OZ/ECydAuDwSQ97D4ZkH+y7n6zedz+/pCLcc/DnLVJSw==", + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-5.8.0.tgz", + "integrity": "sha512-rjasAWcvgf4UVcDe7UaMClY9AtWUjLnu3fflieXg/KcJvp4jQsJekwFFDzWH2xQoZ5YuGShxMcNNfixddoeWrA==", "dev": true, "requires": { - "@wordpress/base-styles": "^5.7.0", + "@wordpress/base-styles": "^5.8.0", "autoprefixer": "^10.2.5" } }, @@ -36174,9 +35507,9 @@ "dev": true }, "framer-motion": { - "version": "11.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.5.4.tgz", - "integrity": "sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==", + "version": "11.3.31", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.31.tgz", + "integrity": "sha512-Xmxs08WBXnc2tNzNZbFSpquI33lvleJg4Y+hmZ+vFkn+laN9ZnR3gbZnNGKDtuz7c/x3u8dLg05OU3EhLobCsg==", "dev": true, "requires": { "tslib": "^2.4.0" @@ -36185,9 +35518,9 @@ } }, "@wordpress/prettier-config": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-4.7.0.tgz", - "integrity": "sha512-GuWbbVT4ebDbkIv40AbnF+WKDl9ra6+Y+oJAbh1cpivlKnbJBFofIxk4W/MOCtaFJhsfkzrQJGFqg3xkcPJM7g==", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-4.8.0.tgz", + "integrity": "sha512-2ebyrGM0Q7gQGDcEFm2uDnjwSgZIZvKaE7My12HytbMKltg8LEbkXxYvH0MLWh4hTp9q5xxf8VlXh7kOk02kUw==", "dev": true, "requires": {} }, @@ -36334,12 +35667,12 @@ } }, "@humanwhocodes/config-array": { - "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", + "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", "dev": true, "requires": { - "@humanwhocodes/object-schema": "^2.0.2", + "@humanwhocodes/object-schema": "^2.0.3", "debug": "^4.3.1", "minimatch": "^3.0.5" } @@ -36372,16 +35705,16 @@ "requires": {} }, "@wordpress/eslint-plugin": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-21.0.0.tgz", - "integrity": "sha512-4ioakbwSZNL8eXkfK0hcY93e5Fj9dZljxj3lEFkCBWMkSpU8/pPw/7UMS0OBbGQK8rqmvnXF1y/LFH7ihCxuww==", + "version": "21.1.0", + "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-21.1.0.tgz", + "integrity": "sha512-Plqew1Bba6hk362wGwCgX3uHVxPP4F/tc6SkviAypMAMFu1G7A9OBovxHISfky6qwhsPoBkgnOPfxGadh+EGdA==", "dev": true, "requires": { "@babel/eslint-parser": "^7.16.0", "@typescript-eslint/eslint-plugin": "^6.4.1", "@typescript-eslint/parser": "^6.4.1", - "@wordpress/babel-preset-default": "^8.7.0", - "@wordpress/prettier-config": "^4.7.0", + "@wordpress/babel-preset-default": "^8.8.0", + "@wordpress/prettier-config": "^4.8.0", "cosmiconfig": "^7.0.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.2", @@ -36506,16 +35839,16 @@ } }, "eslint": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", + "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", + "@eslint/js": "8.57.1", + "@humanwhocodes/config-array": "^0.13.0", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", @@ -36863,9 +36196,9 @@ "dev": true }, "framer-motion": { - "version": "11.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.5.4.tgz", - "integrity": "sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==", + "version": "11.3.31", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.3.31.tgz", + "integrity": "sha512-Xmxs08WBXnc2tNzNZbFSpquI33lvleJg4Y+hmZ+vFkn+laN9ZnR3gbZnNGKDtuz7c/x3u8dLg05OU3EhLobCsg==", "dev": true, "requires": { "tslib": "^2.4.0" @@ -37026,9 +36359,9 @@ "requires": {} }, "acorn-walk": { - "version": "8.3.4", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", - "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", + "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", "dev": true, "requires": { "acorn": "^8.11.0" @@ -37213,17 +36546,6 @@ "integrity": "sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==", "dev": true }, - "are-we-there-yet": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", - "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", - "dev": true, - "optional": true, - "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" - } - }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -37861,9 +37183,9 @@ "optional": true }, "bare-fs": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.3.3.tgz", - "integrity": "sha512-7RYKL+vZVCyAsMLi5SPu7QGauGGT8avnP/HO571ndEuV4MYdGXvLhtW67FuLPeEI8EiIY7zbbRR9x7x7HU0kgw==", + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.3.5.tgz", + "integrity": "sha512-SlE9eTxifPDJrT6YgemQ1WGFleevzwY+XAP1Xqgl56HtcrisC2CHCZ2tq6dBpcH2TnNxwUEUGhweo+lrQtYuiw==", "dev": true, "optional": true, "requires": { @@ -37873,9 +37195,9 @@ } }, "bare-os": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.4.2.tgz", - "integrity": "sha512-HZoJwzC+rZ9lqEemTMiO0luOePoGYNBgsLLgegKR/cljiJvcDNhDZQkzC+NC5Oh0aHbdBNSOHpghwMuB5tqhjg==", + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.4.4.tgz", + "integrity": "sha512-z3UiI2yi1mK0sXeRdc4O1Kk8aOa/e+FNWZcTiPB/dfTWyLypuE99LibgRaQki914Jq//yAWylcAt+mknKdixRQ==", "dev": true, "optional": true }, @@ -37890,14 +37212,14 @@ } }, "bare-stream": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.2.1.tgz", - "integrity": "sha512-YTB47kHwBW9zSG8LD77MIBAAQXjU2WjAkMHeeb7hUplVs6+IoM5I7uEVQNPMB7lj9r8I76UMdoMkGnCodHOLqg==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.3.0.tgz", + "integrity": "sha512-pVRWciewGUeCyKEuRxwv06M079r+fRjAQjBEK2P6OYGrO43O+Z0LrPZZEjlc4mB6C2RpZ9AxJ1s7NLEtOHO6eA==", "dev": true, "optional": true, "requires": { "b4a": "^1.6.6", - "streamx": "^2.18.0" + "streamx": "^2.20.0" } }, "base64-js": { @@ -37961,9 +37283,9 @@ } }, "body-parser": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", - "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "dev": true, "requires": { "bytes": "3.1.2", @@ -37974,7 +37296,7 @@ "http-errors": "2.0.0", "iconv-lite": "0.4.24", "on-finished": "2.4.1", - "qs": "6.13.0", + "qs": "6.11.0", "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" @@ -38011,12 +37333,12 @@ "dev": true }, "qs": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", - "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", "dev": true, "requires": { - "side-channel": "^1.0.6" + "side-channel": "^1.0.4" } }, "raw-body": { @@ -38275,9 +37597,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001660", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001660.tgz", - "integrity": "sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg==" + "version": "1.0.30001655", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001655.tgz", + "integrity": "sha512-jRGVy3iSGO5Uutn2owlb5gR6qsGngTw9ZTb4ali9f3glshcNmJ2noam4Mo9zia5P9Dk3jNNydy7vQjuE5dQmfg==" }, "capital-case": { "version": "1.0.4", @@ -38295,9 +37617,9 @@ "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==" }, "chakra-react-select": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.9.2.tgz", - "integrity": "sha512-uhvKAJ1I2lbIwdn+wx0YvxX5rtQVI0gXL0apx0CXm3blIxk7qf6YuCh2TnGuGKst8gj8jUFZyhYZiGlcvgbBRQ==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/chakra-react-select/-/chakra-react-select-4.9.1.tgz", + "integrity": "sha512-jmgfN+S/wnTaCp3pW30GYDIZ5J8jWcT1gIbhpw6RdKV+atm/U4/sT+gaHOHHhRL8xeaYip+iI/m8MPGREkve0w==", "requires": { "react-select": "5.8.0" } @@ -38539,28 +37861,6 @@ "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" - }, - "dependencies": { - "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==" - }, - "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==" - }, - "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==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - } } }, "clone-deep": { @@ -38608,11 +37908,6 @@ "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", "dev": true }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==" - }, "collect-v8-coverage": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", @@ -39477,11 +38772,11 @@ "integrity": "sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==" }, "debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "requires": { - "ms": "^2.1.3" + "ms": "2.1.2" } }, "decamelize": { @@ -39511,16 +38806,6 @@ "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==", "dev": true }, - "decompress-response": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-4.2.1.tgz", - "integrity": "sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw==", - "dev": true, - "optional": true, - "requires": { - "mimic-response": "^2.0.0" - } - }, "dedent": { "version": "1.5.3", "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", @@ -39706,13 +38991,6 @@ "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", "integrity": "sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==" }, - "detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", - "dev": true, - "optional": true - }, "detect-newline": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", @@ -39931,9 +39209,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.5.18", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.18.tgz", - "integrity": "sha512-1OfuVACu+zKlmjsNdcJuVQuVE61sZOLbNM4JAQ1Rvh6EOj0/EUKhMJjRH73InPlXSh8HIJk1cVZ8pyOV/FMdUQ==" + "version": "1.5.13", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.13.tgz", + "integrity": "sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==" }, "emittery": { "version": "0.13.1", @@ -39954,9 +39232,9 @@ "dev": true }, "encodeurl": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", "dev": true }, "encoding": { @@ -40770,9 +40048,9 @@ "requires": {} }, "eslint-plugin-react": { - "version": "7.35.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.35.2.tgz", - "integrity": "sha512-Rbj2R9zwP2GYNcIak4xoAMV57hrBh3hTaR0k7hVjwCQgryE/pw5px4b13EYjduOI0hfXyZhwBxaGpOTbWSGzKQ==", + "version": "7.35.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.35.0.tgz", + "integrity": "sha512-v501SSMOWv8gerHkk+IIQBkcGRGrO2nfybfj5pLxuJNFTPxxA3PSryhXTK+9pNbtkggheDdsC0E9Q8CuPk6JKA==", "dev": true, "requires": { "array-includes": "^3.1.8", @@ -40983,13 +40261,6 @@ "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", "dev": true }, - "expand-template": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", - "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", - "dev": true, - "optional": true - }, "expand-tilde": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", @@ -41018,37 +40289,37 @@ "dev": true }, "express": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/express/-/express-4.20.0.tgz", - "integrity": "sha512-pLdae7I6QqShF5PnNTCVn4hI91Dx0Grkn2+IAsMTgMIKuQVte2dN9PeGSSAME2FR8anOhVA62QDIUaWVfEXVLw==", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "dev": true, "requires": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.3", + "body-parser": "1.20.2", "content-disposition": "0.5.4", "content-type": "~1.0.4", "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", - "encodeurl": "~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.3", + "merge-descriptors": "1.0.1", "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.10", + "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.19.0", - "serve-static": "1.16.0", + "send": "0.18.0", + "serve-static": "1.15.0", "setprototypeof": "1.2.0", "statuses": "2.0.1", "type-is": "~1.6.18", @@ -41078,9 +40349,9 @@ "dev": true }, "path-to-regexp": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", "dev": true }, "qs": { @@ -41351,12 +40622,6 @@ "ms": "2.0.0" } }, - "encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", - "dev": true - }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", @@ -41601,9 +40866,9 @@ } }, "follow-redirects": { - "version": "1.15.9", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", - "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "dev": true }, "for-each": { @@ -41796,42 +41061,6 @@ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", "dev": true }, - "gauge": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==", - "dev": true, - "optional": true, - "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" - }, - "dependencies": { - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", - "dev": true, - "optional": true - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", - "dev": true, - "optional": true, - "requires": { - "ansi-regex": "^2.0.0" - } - } - } - }, "gaze": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", @@ -41968,13 +41197,6 @@ "safe-buffer": "^5.1.1" } }, - "github-from-package": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", - "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", - "dev": true, - "optional": true - }, "glob": { "version": "7.1.7", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", @@ -43496,20 +42718,6 @@ "minimatch": "^3.0.4" } }, - "iltorb": { - "version": "2.4.5", - "resolved": "https://registry.npmjs.org/iltorb/-/iltorb-2.4.5.tgz", - "integrity": "sha512-EMCMl3LnnNSZJS5QrxyZmMTaAC4+TJkM5woD+xbpm9RB+mFYCr7C05GFE3TEGCsVQSVHmjX+3sf5AiwsylNInQ==", - "dev": true, - "optional": true, - "requires": { - "detect-libc": "^1.0.3", - "nan": "^2.14.0", - "npmlog": "^4.1.2", - "prebuild-install": "^5.3.3", - "which-pm-runs": "^1.0.0" - } - }, "image-ssim": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/image-ssim/-/image-ssim-0.2.0.tgz", @@ -43799,12 +43007,9 @@ "dev": true }, "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==", - "requires": { - "number-is-nan": "^1.0.0" - } + "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==" }, "is-generator-fn": { "version": "2.1.0", @@ -45661,9 +44866,9 @@ } }, "launch-editor": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.9.1.tgz", - "integrity": "sha512-Gcnl4Bd+hRO9P9icCP/RVVT2o8SFlPXofuCxvA2SaZuH45whSvf5p8x5oih5ftLiVhEI4sp5xDY+R+b3zJBh5w==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.8.1.tgz", + "integrity": "sha512-elBx2l/tp9z99X5H/qev8uyDywVh0VXAwEbjk8kJhnc5grOFkGh7aW6q55me9xnYbss261XtnUrysZ+XvGbhQA==", "dev": true, "requires": { "picocolors": "^1.0.0", @@ -45836,12 +45041,6 @@ "ms": "2.1.2" } }, - "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==", - "dev": true - }, "http-proxy-agent": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", @@ -45862,12 +45061,6 @@ "debug": "4" } }, - "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==", - "dev": true - }, "lru-cache": { "version": "7.18.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", @@ -45880,12 +45073,6 @@ "integrity": "sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ==", "dev": true }, - "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 - }, "proxy-agent": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.3.0.tgz", @@ -45957,17 +45144,6 @@ "socks": "^2.8.3" } }, - "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, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, "tar-fs": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.4.tgz", @@ -46688,9 +45864,9 @@ } }, "merge-descriptors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", - "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", "dev": true }, "merge-stream": { @@ -46750,13 +45926,6 @@ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", "dev": true }, - "mimic-response": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-2.1.0.tgz", - "integrity": "sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==", - "dev": true, - "optional": true - }, "min-indent": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", @@ -46945,9 +46114,9 @@ "dev": true }, "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "multicast-dns": { "version": "7.2.5", @@ -46969,13 +46138,6 @@ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==" }, - "napi-build-utils": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz", - "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==", - "dev": true, - "optional": true - }, "natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -47013,25 +46175,6 @@ "tslib": "^2.0.3" } }, - "node-abi": { - "version": "2.30.1", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.30.1.tgz", - "integrity": "sha512-/2D0wOQPgaUWzVSVgRMx+trKJRC2UG4SUc4oCJoXx9Uxjtp0Vy3/kt7zcbxHF8+Z/pK3UloLWzBISg72brfy1w==", - "dev": true, - "optional": true, - "requires": { - "semver": "^5.4.1" - }, - "dependencies": { - "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 - } - } - }, "node-fetch": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", @@ -47097,11 +46240,6 @@ "readable-stream": "^3.6.0" } }, - "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==" - }, "gauge": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", @@ -47117,11 +46255,6 @@ "wide-align": "^1.1.5" } }, - "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==" - }, "nopt": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", @@ -47164,16 +46297,6 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==" }, - "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==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -47266,11 +46389,6 @@ "which": "^2.0.1" } }, - "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==" - }, "gauge": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", @@ -47297,11 +46415,6 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, - "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==" - }, "npmlog": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", @@ -47336,16 +46449,6 @@ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" }, - "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==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -47364,13 +46467,6 @@ } } }, - "noop-logger": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/noop-logger/-/noop-logger-0.1.1.tgz", - "integrity": "sha512-6kM8CLXvuW5crTxsAtva2YLrRrDaiTIkIePWs9moLHqbFWT94WpNFjwS/5dfLfECg5i/lkmw3aoqVidxt23TEQ==", - "dev": true, - "optional": true - }, "nopt": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", @@ -47590,19 +46686,6 @@ "path-key": "^3.0.0" } }, - "npmlog": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", - "dev": true, - "optional": true, - "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, "nth-check": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", @@ -47615,7 +46698,8 @@ "number-is-nan": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==" + "integrity": "sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==", + "dev": true }, "nwsapi": { "version": "2.2.12", @@ -48137,9 +47221,9 @@ "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==" }, "picocolors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==" }, "picomatch": { "version": "2.3.1", @@ -48183,14 +47267,14 @@ } }, "playwright": { - "version": "1.47.0", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.47.0.tgz", - "integrity": "sha512-jOWiRq2pdNAX/mwLiwFYnPHpEZ4rM+fRSQpRHwEwZlP2PUANvL3+aJOF/bvISMhFD30rqMxUB4RJx9aQbfh4Ww==", + "version": "1.47.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.47.1.tgz", + "integrity": "sha512-SUEKi6947IqYbKxRiqnbUobVZY4bF1uu+ZnZNJX9DfU1tlf2UhWfvVjLf01pQx9URsOr18bFVUKXmanYWhbfkw==", "dev": true, "peer": true, "requires": { "fsevents": "2.3.2", - "playwright-core": "1.47.0" + "playwright-core": "1.47.1" }, "dependencies": { "fsevents": { @@ -48204,9 +47288,9 @@ } }, "playwright-core": { - "version": "1.47.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.47.0.tgz", - "integrity": "sha512-1DyHT8OqkcfCkYUD9zzUTfg7EfTd+6a8MkD/NWOvjo0u/SCNd5YmY/lJwFvUZOxJbWNds+ei7ic2+R/cRz/PDg==", + "version": "1.47.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.47.1.tgz", + "integrity": "sha512-i1iyJdLftqtt51mEk6AhYFaAJCDx0xQ/O5NU8EKaWFgMjItPVma542Nh/Aq8aLCjIJSzjaiEQGW/nyqLkGF1OQ==", "dev": true, "peer": true }, @@ -48247,9 +47331,9 @@ "dev": true }, "postcss": { - "version": "8.4.45", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.45.tgz", - "integrity": "sha512-7KTLTdzdZZYscUc65XmjFiB73vBhBfbPztCYdUNvlaso9PrzjzcmjqBPR0lNGkcVlcO4BjiO5rK/qNz+XAen1Q==", + "version": "8.4.44", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.44.tgz", + "integrity": "sha512-Aweb9unOEpQ3ezu4Q00DPvvM2ZTUitJdNKeP/+uQgr1IBIqu574IaZoURId7BKtWMREwzKa9OgzPzezWGPWFQw==", "requires": { "nanoid": "^3.3.7", "picocolors": "^1.0.1", @@ -48637,30 +47721,6 @@ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" }, - "prebuild-install": { - "version": "5.3.6", - "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-5.3.6.tgz", - "integrity": "sha512-s8Aai8++QQGi4sSbs/M1Qku62PFK49Jm1CbgXklGz4nmHveDq0wzJkg7Na5QbnO1uNH8K7iqx2EQ/mV0MZEmOg==", - "dev": true, - "optional": true, - "requires": { - "detect-libc": "^1.0.3", - "expand-template": "^2.0.3", - "github-from-package": "0.0.0", - "minimist": "^1.2.3", - "mkdirp-classic": "^0.5.3", - "napi-build-utils": "^1.0.1", - "node-abi": "^2.7.0", - "noop-logger": "^0.1.1", - "npmlog": "^4.0.1", - "pump": "^3.0.0", - "rc": "^1.2.7", - "simple-get": "^3.0.3", - "tar-fs": "^2.0.0", - "tunnel-agent": "^0.6.0", - "which-pm-runs": "^1.0.0" - } - }, "prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -48889,9 +47949,9 @@ "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==" }, "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", "dev": true, "requires": { "end-of-stream": "^1.1.0", @@ -48904,23 +47964,38 @@ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==" }, "puppeteer-core": { - "version": "23.3.0", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.3.0.tgz", - "integrity": "sha512-sB2SsVMFs4gKad5OCdv6w5vocvtEUrRl0zQqSyRPbo/cj1Ktbarmhxy02Zyb9R9HrssBcJDZbkrvBnbaesPyYg==", + "version": "23.4.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.4.0.tgz", + "integrity": "sha512-fqkIP5FOcb38jfBj/OcBz1wFaI9nk40uQKSORvnXws6wCbep2dg8yxZ3ddJxBIfQsxoiEOvnrykFinUScrB/ew==", "dev": true, "requires": { "@puppeteer/browsers": "2.4.0", "chromium-bidi": "0.6.5", - "debug": "^4.3.6", - "devtools-protocol": "0.0.1330662", + "debug": "^4.3.7", + "devtools-protocol": "0.0.1342118", "typed-query-selector": "^2.12.0", "ws": "^8.18.0" }, "dependencies": { + "debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "dev": true, + "requires": { + "ms": "^2.1.3" + } + }, "devtools-protocol": { - "version": "0.0.1330662", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1330662.tgz", - "integrity": "sha512-pzh6YQ8zZfz3iKlCvgzVCu22NdpZ8hNmwU6WnQjNVquh0A9iVosPtNLWDwaWVGyrntQlltPFztTMK5Cg6lfCuw==", + "version": "0.0.1342118", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1342118.tgz", + "integrity": "sha512-75fMas7PkYNDTmDyb6PRJCH7ILmHLp+BhrZGeMsa4bCh40DTxgCz2NRy5UDzII4C5KuD0oBMZ9vXKhEl6UD/3w==", + "dev": true + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true } } @@ -48991,32 +48066,10 @@ } } }, - "rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "dev": true, - "optional": true, - "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "dependencies": { - "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", - "dev": true, - "optional": true - } - } - }, "re-resizable": { - "version": "6.9.18", - "resolved": "https://registry.npmjs.org/re-resizable/-/re-resizable-6.9.18.tgz", - "integrity": "sha512-4RgEES1iizvpaNtvcJz2fUOw5efuK5Jaix3+nY4yQvI6pxKKkFaoKZB1KtiXd8hawR2BGdcoJFS4NGDPketAYQ==", + "version": "6.9.17", + "resolved": "https://registry.npmjs.org/re-resizable/-/re-resizable-6.9.17.tgz", + "integrity": "sha512-OBqd1BwVXpEJJn/yYROG+CbeqIDBWIp6wathlpB0kzZWWZIY1gPTsgK2yJEui5hOvkCdC2mcexF2V3DZVfLq2g==", "dev": true, "requires": {} }, @@ -49135,9 +48188,9 @@ "dev": true }, "react-remove-scroll": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.6.0.tgz", - "integrity": "sha512-I2U4JVEsQenxDAKaVa3VZ/JeJZe0/2DxPWL8Tj8yLKctQJQiZM52pn/GWFpSp8dftjM3pSAHVJZscAnC/y+ySQ==", + "version": "2.5.10", + "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.10.tgz", + "integrity": "sha512-m3zvBRANPBw3qxVVjEIPEQinkcwlFZ4qyomuWVpNJdv4c6MvHfXV0C3L9Jx5rr3HeBHKNRX+1jreB5QloDIJjA==", "requires": { "react-remove-scroll-bar": "^2.3.6", "react-style-singleton": "^2.2.1", @@ -49156,20 +48209,20 @@ } }, "react-router": { - "version": "6.26.2", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.26.2.tgz", - "integrity": "sha512-tvN1iuT03kHgOFnLPfLJ8V95eijteveqdOSk+srqfePtQvqCExB8eHOYnlilbOcyJyKnYkr1vJvf7YqotAJu1A==", + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.26.1.tgz", + "integrity": "sha512-kIwJveZNwp7teQRI5QmwWo39A5bXRyqpH0COKKmPnyD2vBvDwgFXSqDUYtt1h+FEyfnE8eXr7oe0MxRzVwCcvQ==", "requires": { - "@remix-run/router": "1.19.2" + "@remix-run/router": "1.19.1" } }, "react-router-dom": { - "version": "6.26.2", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.26.2.tgz", - "integrity": "sha512-z7YkaEW0Dy35T3/QKPYB1LjMK2R1fxnHO8kWpUMTBdfVzZrWOiY9a7CtN8HqdWtDUWd5FY6Dl8HFsqVwH4uOtQ==", + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.26.1.tgz", + "integrity": "sha512-veut7m41S1fLql4pLhxeSW3jlqs+4MtjRLj0xvuCEXsxusJCbs6I8yn9BxzzDX2XDgafrccY6hwjmd/bL54tFw==", "requires": { - "@remix-run/router": "1.19.2", - "react-router": "6.26.2" + "@remix-run/router": "1.19.1", + "react-router": "6.26.1" } }, "react-select": { @@ -49978,9 +49031,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "sass": { - "version": "1.78.0", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.78.0.tgz", - "integrity": "sha512-AaIqGSrjo5lA2Yg7RvFZrlXDBCp3nV4XP73GrLGvdRWWwk+8H3l0SDvq/5bA4eF+0RFPLuWUk3E+P1U/YqnpsQ==", + "version": "1.77.8", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.77.8.tgz", + "integrity": "sha512-4UHg6prsrycW20fqLGPShtEvo/WyHRVRHwOP4DzkUrObWoWI05QBSfzU71TVB7PFaL104TwNaHpjlWXAZbQiNQ==", "dev": true, "requires": { "chokidar": ">=3.0.0 <4.0.0", @@ -50082,9 +49135,9 @@ "dev": true }, "send": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", - "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", + "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", "dev": true, "requires": { "debug": "2.6.9", @@ -50119,17 +49172,17 @@ } } }, - "encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", - "dev": true - }, "mime": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "dev": true + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true } } }, @@ -50220,67 +49273,15 @@ } }, "serve-static": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.0.tgz", - "integrity": "sha512-pDLK8zwl2eKaYrs8mrPZBJua4hMplRWJ1tIFksVC3FtBEBnl8dxgeHtsaMS8DhS9i4fLObaon6ABoc4/hQGdPA==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", + "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", "dev": true, "requires": { "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "parseurl": "~1.3.3", "send": "0.18.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - }, - "dependencies": { - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true - } - } - }, - "encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", - "dev": true - }, - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "dev": true - }, - "send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", - "dev": true, - "requires": { - "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" - } - } } }, "set-blocking": { @@ -50542,25 +49543,6 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, - "simple-concat": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", - "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", - "dev": true, - "optional": true - }, - "simple-get": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-3.1.1.tgz", - "integrity": "sha512-CQ5LTKGfCpvE1K0n2us+kuMPbk/q0EKl82s4aheV9oXjFEz6W/Y7oQFVJuU6QG77hRT4Ghb5RURteF5vnWjupA==", - "dev": true, - "optional": true, - "requires": { - "decompress-response": "^4.2.0", - "once": "^1.3.1", - "simple-concat": "^1.0.0" - } - }, "simple-html-tokenizer": { "version": "0.5.11", "resolved": "https://registry.npmjs.org/simple-html-tokenizer/-/simple-html-tokenizer-0.5.11.tgz", @@ -50624,12 +49606,6 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true - }, - "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==", - "dev": true } } }, @@ -50700,9 +49676,9 @@ "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==" }, "source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", + "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==" }, "source-map-loader": { "version": "3.0.2", @@ -50919,9 +49895,9 @@ "dev": true }, "streamx": { - "version": "2.20.0", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.20.0.tgz", - "integrity": "sha512-ZGd1LhDeGFucr1CUCTBOS58ZhEendd0ttpGT3usTvosS4ntIwKN9LJFp+OeCSprsCPL14BXVRZlHGRY1V9PVzQ==", + "version": "2.20.1", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.20.1.tgz", + "integrity": "sha512-uTa0mU6WUC65iUvzKH4X9hEdvSW7rbPxPtwfWiLMSj3qTdQbAiUboZTxauKfpFuGIGa1C2BYijZ7wgdUXICJhA==", "dev": true, "requires": { "bare-events": "^2.2.0", @@ -50962,27 +49938,19 @@ "dev": true }, "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" }, "dependencies": { - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==" - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", - "requires": { - "ansi-regex": "^2.0.0" - } + "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==" } } }, @@ -51207,12 +50175,6 @@ "yaml": "^1.10.0" } }, - "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==", - "dev": true - }, "global-modules": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", @@ -51253,28 +50215,11 @@ "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true }, - "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==", - "dev": true - }, "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 - }, - "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, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } } } }, @@ -51465,31 +50410,6 @@ "slice-ansi": "^4.0.0", "string-width": "^4.2.3", "strip-ansi": "^6.0.1" - }, - "dependencies": { - "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==", - "dev": true - }, - "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==", - "dev": true - }, - "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, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - } } }, "tannin": { @@ -51531,61 +50451,26 @@ } }, "tar-fs": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", - "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz", + "integrity": "sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==", "dev": true, - "optional": true, "requires": { - "chownr": "^1.1.1", - "mkdirp-classic": "^0.5.2", + "bare-fs": "^2.1.1", + "bare-path": "^2.1.0", "pump": "^3.0.0", - "tar-stream": "^2.1.4" + "tar-stream": "^3.1.5" }, "dependencies": { - "bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "dev": true, - "optional": true, - "requires": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", - "dev": true, - "optional": true - }, - "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, - "optional": true, - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, "tar-stream": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", + "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", "dev": true, - "optional": true, "requires": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" + "b4a": "^1.6.4", + "fast-fifo": "^1.2.0", + "streamx": "^2.15.0" } } } @@ -51606,9 +50491,9 @@ } }, "terser": { - "version": "5.32.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.32.0.tgz", - "integrity": "sha512-v3Gtw3IzpBJ0ugkxEX8U0W6+TnPKRRCWGh1jC/iM/e3Ki5+qvO1L1EAZ56bZasc64aXHwRHNIQEzm6//i5cemQ==", + "version": "5.31.6", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.6.tgz", + "integrity": "sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg==", "requires": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -51723,9 +50608,9 @@ } }, "text-decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.1.1.tgz", - "integrity": "sha512-8zll7REEv4GDD3x4/0pW+ppIxSNs7H1J10IKFZsuOMscumCdM2a+toDGLPA3T+1+fLBql4zbt5z83GEQGGV5VA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.0.tgz", + "integrity": "sha512-n1yg1mOj9DNpk3NeZOx7T6jchTbyJS3i3cucbNN6FcdPriMZx7NsgrGpWWdWZZGxD7ES1XB+3uoqHMgOKaN+fg==", "dev": true, "requires": { "b4a": "^1.6.4" @@ -52073,9 +50958,9 @@ } }, "typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "dev": true, "peer": true }, @@ -52960,13 +51845,6 @@ "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==", "dev": true }, - "which-pm-runs": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.1.0.tgz", - "integrity": "sha512-n1brCuqClxfFfq/Rb0ICg9giSZqCS+pLtccdag6C2HyufBrh3fBOiy9nb6ggRMvWOVH5GrdJskj5iGTZNxd7SA==", - "dev": true, - "optional": true - }, "which-typed-array": { "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", @@ -53030,26 +51908,6 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "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==" - }, - "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==" - }, - "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==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } } } }, @@ -53127,28 +51985,6 @@ "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" - }, - "dependencies": { - "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==" - }, - "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==" - }, - "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==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - } } }, "yargs-parser": { diff --git a/package.json b/package.json index 051cd155d..aa86d4271 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "user-registration", "title": "User Registration", - "version": "3.3.2", + "version": "3.3.3", "homepage": "https://wpuserregistration.com/", "repository": { "type": "git", diff --git a/readme.txt b/readme.txt index df4a18113..98d4e1a11 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: WPEverest Tags: user registration, registration, user profile, registration form, login form, Requires at least: 5.2 Requires PHP: 7.2 -Tested up to: 6.6.1 -Stable tag: 3.3.2.1 +Tested up to: 6.6.2 +Stable tag: 3.3.3 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -246,6 +246,15 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro == Changelog == += 3.3.3 - 19/09/2024 = +* Fix - Select all option not working in checkbox field. +* Fix - Continue setup wizard button not working properly. +* Fix - Conflict with lost password when WooCommerce My Account Page selected in user registration settings. +* Tweak - Added skip setup button in continue setup wizard notice. +* Tweak - Added filters to change reset password validation error message. +* Tweak - Changed feature item label from Pro to Personal to avoid confusion. +* Tweak - Install pages notice display only if continue setup wizard notice is skipped. + = 3.3.2.1 - 11/09/2024 = * Fix - Tooltip icon is not being displayed in Global Settings. diff --git a/src/welcome/components/App.js b/src/welcome/components/App.js index 35144e718..0402b564a 100644 --- a/src/welcome/components/App.js +++ b/src/welcome/components/App.js @@ -9,7 +9,9 @@ import { Heading, Text, Flex, - Center + Center, + Spinner, + Box } from "@chakra-ui/react"; import apiFetch from "@wordpress/api-fetch"; import { __ } from "@wordpress/i18n"; @@ -101,55 +103,76 @@ function App() { * Fetch settings from api on first load. */ useEffect(() => { - apiFetch({ - path: restURL + "user-registration/v1/getting-started", - headers: { - "X-WP-Nonce": urRestApiNonce - } - }).then((data) => { - const newStepsRef = steps.map((step) => { - step.sectionSettings = data.options[step.key] - ? data.options[step.key] - : {}; + if (Object.keys(settings).length < 1) { + apiFetch({ + path: restURL + "user-registration/v1/getting-started", + headers: { + "X-WP-Nonce": urRestApiNonce + } + }).then((data) => { + const newStepsRef = steps.map((step) => { + step.sectionSettings = data.options[step.key] + ? data.options[step.key] + : {}; - return { ...step }; - }); + return { ...step }; + }); - const newSettingsRef = {}; - Object.keys(data.options).map((key) => { - var sectionSettings = data.options[key].settings; - sectionSettings.map((individualSettings) => { - newSettingsRef[individualSettings.id] = - individualSettings.default; + const newSettingsRef = {}; + Object.keys(data.options).map((key) => { + var sectionSettings = data.options[key].settings; + sectionSettings.map((individualSettings) => { + newSettingsRef[individualSettings.id] = + individualSettings.default; + }); }); - }); - setSteps(newStepsRef); + setSteps(newStepsRef); - dispatch({ - type: actionTypes.GET_SETTINGS, - settings: newSettingsRef + dispatch({ + type: actionTypes.GET_SETTINGS, + settings: newSettingsRef + }); }); - }); + } else { + const params = new URLSearchParams(window.location.href); + if (params.get("step")) { + const index = steps.findIndex( + (step) => step.key === params.get("step") + ); - const params = new URLSearchParams(window.location.href); - if (params.get("step")) { - const index = steps.findIndex( - (step) => step.key === params.get("step") - ); + if ("final_step" === params.get("step")) { + return; + } - if ("final_step" === params.get("step")) { - return; - } + setSteps((prevStep) => + prevStep.map((step) => { + if (step.key === params.get("step")) { + if ("install_pages" === params.get("step")) { + if (null !== params.get("installed")) { + step.isDone = true; + } else { + step.isDone = false; + } + } else { + step.isDone = true; + } + } + return step; + }) + ); - setSteps((prevStep) => - prevStep.map((step) => { - if (step.key === params.get("step")) step.isDone = true; - return step; - }) - ); - setActiveStep(steps[index + 1]); + if ("install_pages" === params.get("step")) { + if (null !== params.get("installed")) { + setActiveStep(steps[index + 1]); + } else { + setActiveStep(steps[index]); + } + } else { + setActiveStep(steps[index + 1]); + } + } } - }, []); + }, [settings]); /** * Progress to next item on menu when next button is clicked. @@ -321,196 +344,225 @@ function App() { return ( -
        -
        - {steps[steps.length - 1].key === activeStep.key ? ( - cloneElement(activeStep.component, { - sectionSettings: activeStep.sectionSettings && {}, - siteURL: siteURL, - onBoardIconsURL: onBoardIconsURL - }) - ) : ( - - {activeStep.title && ( - 0 ? ( + <> +
        +
        + {steps[steps.length - 1].key === activeStep.key ? ( + cloneElement(activeStep.component, { + sectionSettings: + activeStep.sectionSettings && {}, + siteURL: siteURL, + onBoardIconsURL: onBoardIconsURL + }) + ) : ( + - {activeStep.title} - + {activeStep.title && ( + + {activeStep.title} + + )} + {activeStep.description && ( + + {activeStep.description} + + )} + {cloneElement(activeStep.component, { + sectionSettings: activeStep.sectionSettings, + siteURL: siteURL, + onBoardIconsURL: onBoardIconsURL + })} + )} - {activeStep.description && ( - - {activeStep.description} - - )} - {cloneElement(activeStep.component, { - sectionSettings: activeStep.sectionSettings, - siteURL: siteURL, - onBoardIconsURL: onBoardIconsURL - })} - - )} -
        -
        -
        - {steps[steps.length - 1].key === activeStep.key ? ( - - ) : steps[0].key !== activeStep.key ? ( - - ) : ( - "" - )} -
        -
        - {steps[steps.length - 1].key === activeStep.key ? ( - - ) : ( - - {steps[0].key !== activeStep.key && ( +
        +
        +
        + {steps[steps.length - 1].key === activeStep.key ? ( - )} - {steps[0].key === activeStep.key && - installPage.my_account_page.status !== - "installed" ? ( - + ) : steps[0].key !== activeStep.key ? ( + ) : ( + "" + )} +
        +
        + {steps[steps.length - 1].key === activeStep.key ? ( + ) : ( + + {steps[0].key !== activeStep.key && ( + + )} + {steps[0].key === activeStep.key && + installPage.my_account_page.status !== + "installed" ? ( + + ) : ( + + )} + )} - - )} -
        -
        -
        - - - -
        +
        +
        +
        + + + +
        + + ) : ( + + + + )} ); } diff --git a/user-registration.php b/user-registration.php index e0f7e8f9b..3beb05c9c 100644 --- a/user-registration.php +++ b/user-registration.php @@ -3,7 +3,7 @@ * Plugin Name: User Registration * Plugin URI: https://wpuserregistration.com/ * Description: Drag and Drop user registration form and login form builder. - * Version: 3.3.2.1 + * Version: 3.3.3 * Author: WPEverest * Author URI: https://wpuserregistration.com * Text Domain: user-registration @@ -31,7 +31,7 @@ final class UserRegistration { * * @var string */ - public $version = '3.3.2.1'; + public $version = '3.3.3'; /** * Session instance. From d80d009395c6e1b6663fc83468ec95d0441f9135 Mon Sep 17 00:00:00 2001 From: Lekhnath Pandey Date: Thu, 19 Sep 2024 14:10:20 +0545 Subject: [PATCH 03/69] Fix - Email Translations issue with user registered language in WPML --- CHANGELOG.txt | 1 + includes/class-ur-emailer.php | 101 +++++++++++++++++++++++++++------- readme.txt | 1 + 3 files changed, 84 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index b3bb398ee..13d05568e 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,6 +1,7 @@ = 3.3.3 - 19/09/2024 = * Fix - Select all option not working in checkbox field. * Fix - Continue setup wizard button not working properly. +* Fix - Email translations issue with user registered language in WPML. * Fix - Conflict with lost password when WooCommerce My Account Page selected in user registration settings. * Tweak - Added skip setup button in continue setup wizard notice. * Tweak - Added filters to change reset password validation error message. diff --git a/includes/class-ur-emailer.php b/includes/class-ur-emailer.php index 922d70997..78d155663 100644 --- a/includes/class-ur-emailer.php +++ b/includes/class-ur-emailer.php @@ -367,6 +367,11 @@ public static function send_mail_to_user( $email, $username, $user_id, $data_htm 'form_id' => $form_id, ); + $current_language = get_user_meta( $user_id, 'ur_registered_language' ); + if ( empty( $current_language ) ) { + $current_language = ur_get_current_language(); + } + if ( '0' === $email_status ) { $subject = get_option( 'user_registration_email_confirmation_subject', __( 'Please confirm your registration on {{blog_info}}', 'user-registration' ) ); $settings = new UR_Settings_Email_Confirmation(); @@ -374,6 +379,8 @@ public static function send_mail_to_user( $email, $username, $user_id, $data_htm $message = get_option( 'user_registration_email_confirmation', $message ); list( $message, $subject ) = user_registration_email_content_overrider( $form_id, $settings, $message, $subject ); + $message = ur_get_translated_string( 'admin_texts_user_registration_email_confirmation', $message, $current_language, 'user_registration_email_confirmation' ); + $subject = ur_get_translated_string( 'admin_texts_user_registration_email_confirmation_subject', $subject, $current_language, 'user_registration_email_confirmation_subject' ); $message = self::parse_smart_tags( $message, $values, $name_value ); $subject = self::parse_smart_tags( $subject, $values, $name_value ); @@ -386,6 +393,8 @@ public static function send_mail_to_user( $email, $username, $user_id, $data_htm $message = $settings->ur_get_awaiting_admin_approval_email(); $message = get_option( 'user_registration_awaiting_admin_approval_email', $message ); list( $message, $subject ) = user_registration_email_content_overrider( $form_id, $settings, $message, $subject ); + $message = ur_get_translated_string( 'admin_texts_user_registration_awaiting_admin_approval_email', $message, $current_language, 'user_registration_awaiting_admin_approval_email' ); + $subject = ur_get_translated_string( 'admin_texts_user_registration_awaiting_admin_approval_email_subject', $subject, $current_language, 'user_registration_awaiting_admin_approval_email_subject' ); $message = self::parse_smart_tags( $message, $values, $name_value ); $subject = self::parse_smart_tags( $subject, $values, $name_value ); @@ -399,6 +408,8 @@ public static function send_mail_to_user( $email, $username, $user_id, $data_htm $message = $settings->ur_get_registration_denied_email(); $message = get_option( 'user_registration_registration_denied_email', $message ); list( $message, $subject ) = user_registration_email_content_overrider( $form_id, $settings, $message, $subject ); + $message = ur_get_translated_string( 'admin_texts_user_registration_registration_denied_email', $message, $current_language, 'user_registration_registration_denied_email' ); + $subject = ur_get_translated_string( 'admin_texts_user_registration_registration_denied_email_subject', $subject, $current_language, 'user_registration_registration_denied_email_subject' ); $message = self::parse_smart_tags( $message, $values, $name_value ); $subject = self::parse_smart_tags( $subject, $values, $name_value ); @@ -413,6 +424,8 @@ public static function send_mail_to_user( $email, $username, $user_id, $data_htm $message = get_option( 'user_registration_successfully_registered_email', $message ); list( $message, $subject ) = user_registration_email_content_overrider( $form_id, $settings, $message, $subject ); + $message = ur_get_translated_string( 'admin_texts_user_registration_successfully_registered_email', $message, $current_language, 'user_registration_successfully_registered_email' ); + $subject = ur_get_translated_string( 'admin_texts_user_registration_successfully_registered_email_subject', $subject, $current_language, 'user_registration_successfully_registered_email_subject' ); $message = self::parse_smart_tags( $message, $values, $name_value ); $subject = self::parse_smart_tags( $subject, $values, $name_value ); @@ -472,6 +485,11 @@ public static function send_mail_to_admin( $user_email, $username, $user_id, $da 'form_id' => $form_id, ); + $current_language = get_user_meta( $user_id, 'ur_registered_language' ); + if ( empty( $current_language ) ) { + $current_language = ur_get_current_language(); + } + $login_option = ur_get_user_login_option( $user_id ); // If enabled approval via email setting. @@ -483,8 +501,11 @@ public static function send_mail_to_admin( $user_email, $username, $user_id, $da } list( $message, $subject ) = user_registration_email_content_overrider( ur_get_form_id_by_userid( $user_id ), $settings, $message, $subject ); - $message = self::parse_smart_tags( $message, $values, $name_value ); - $subject = self::parse_smart_tags( $subject, $values, $name_value ); + $message = ur_get_translated_string( 'admin_texts_user_registration_admin_email', $message, $current_language, 'user_registration_admin_email' ); + $subject = ur_get_translated_string( 'admin_texts_user_registration_admin_email_subject', $subject, $current_language, 'user_registration_admin_email_subject' ); + + $message = self::parse_smart_tags( $message, $values, $name_value ); + $subject = self::parse_smart_tags( $subject, $values, $name_value ); if ( ur_option_checked( 'user_registration_enable_admin_email', true ) ) { foreach ( $admin_email as $email ) { @@ -543,6 +564,11 @@ public static function send_approve_link_in_email( $user_email, $username, $user 'form_id' => $form_id, ); + $current_language = get_user_meta( $user_id, 'ur_registered_language' ); + if ( empty( $current_language ) ) { + $current_language = ur_get_current_language(); + } + $login_option = ur_get_user_login_option( $user_id ); // If enabled approval via email setting. @@ -554,8 +580,11 @@ public static function send_approve_link_in_email( $user_email, $username, $user } list( $message, $subject ) = user_registration_email_content_overrider( ur_get_form_id_by_userid( $user_id ), $settings, $message, $subject ); - $message = self::parse_smart_tags( $message, $values, $name_value ); - $subject = self::parse_smart_tags( $subject, $values, $name_value ); + $message = ur_get_translated_string( 'admin_texts_user_registration_approval_link_email', $message, $current_language, 'user_registration_approval_link_email' ); + $subject = ur_get_translated_string( 'admin_texts_user_registration_approval_link_email_subject', $subject, $current_language, 'user_registration_approval_link_email_subject' ); + + $message = self::parse_smart_tags( $message, $values, $name_value ); + $subject = self::parse_smart_tags( $subject, $values, $name_value ); if ( ur_option_checked( 'user_registration_enable_approval_link_email', true ) ) { foreach ( $admin_email as $email ) { @@ -602,8 +631,11 @@ public static function status_change_email( $email, $username, $status, $form_id $message = $settings->ur_get_registration_pending_email(); $message = get_option( 'user_registration_registration_pending_email', $message ); list( $message, $subject ) = user_registration_email_content_overrider( $form_id, $settings, $message, $subject ); - $message = self::parse_smart_tags( $message, $values, $name_value ); - $subject = self::parse_smart_tags( $subject, $values, $name_value ); + $message = ur_get_translated_string( 'admin_texts_user_registration_registration_pending_email', $message, $current_language, 'user_registration_registration_pending_email' ); + $subject = ur_get_translated_string( 'admin_texts_user_registration_registration_pending_email_subject', $subject, $current_language, 'user_registration_registration_pending_email_subject' ); + + $message = self::parse_smart_tags( $message, $values, $name_value ); + $subject = self::parse_smart_tags( $subject, $values, $name_value ); if ( ur_option_checked( 'user_registration_enable_registration_pending_email', true ) ) { self::user_registration_process_and_send_email( $email, $subject, $message, self::ur_get_header(), '', $template_id ); @@ -615,8 +647,8 @@ public static function status_change_email( $email, $username, $status, $form_id $message = $settings->ur_get_registration_denied_email(); $message = get_option( 'user_registration_registration_denied_email', $message ); list( $message, $subject ) = user_registration_email_content_overrider( $form_id, $settings, $message, $subject ); - $message = ur_get_translated_string( 'admin_texts_user_registration_registration_denied_email', $message, $current_language, 'user_registration_registration_denied_email' ); - $subject = ur_get_translated_string( 'admin_texts_user_registration_registration_denied_email_subject', $subject, $current_language, 'user_registration_registration_denied_email_subject' ); + $message = ur_get_translated_string( 'admin_texts_user_registration_registration_denied_email', $message, $current_language, 'user_registration_registration_denied_email' ); + $subject = ur_get_translated_string( 'admin_texts_user_registration_registration_denied_email_subject', $subject, $current_language, 'user_registration_registration_denied_email_subject' ); $message = self::parse_smart_tags( $message, $values, $name_value ); $subject = self::parse_smart_tags( $subject, $values, $name_value ); @@ -630,8 +662,8 @@ public static function status_change_email( $email, $username, $status, $form_id $message = $settings->ur_get_registration_approved_email(); $message = get_option( 'user_registration_registration_approved_email', $message ); list( $message, $subject ) = user_registration_email_content_overrider( $form_id, $settings, $message, $subject ); - $message = ur_get_translated_string( 'admin_texts_user_registration_registration_approved_email', $message, $current_language, 'user_registration_registration_approved_email' ); - $subject = ur_get_translated_string( 'admin_texts_user_registration_registration_approved_email_subject', $subject, $current_language, 'user_registration_registration_approved_email_subject' ); + $message = ur_get_translated_string( 'admin_texts_user_registration_registration_approved_email', $message, $current_language, 'user_registration_registration_approved_email' ); + $subject = ur_get_translated_string( 'admin_texts_user_registration_registration_approved_email_subject', $subject, $current_language, 'user_registration_registration_approved_email_subject' ); $message = self::parse_smart_tags( $message, $values, $name_value ); $subject = self::parse_smart_tags( $subject, $values, $name_value ); @@ -661,6 +693,11 @@ public static function lost_password_email( $user_login, $user_data, $key ) { return false; } + $current_language = get_user_meta( $user_id, 'ur_registered_language' ); + if ( empty( $current_language ) ) { + $current_language = ur_get_current_language(); + } + $subject = get_option( 'user_registration_reset_password_email_subject', __( 'Password Reset Email: {{blog_info}}', 'user-registration' ) ); $settings = new UR_Settings_Reset_Password_Email(); $message = $settings->ur_get_reset_password_email(); @@ -674,8 +711,11 @@ public static function lost_password_email( $user_login, $user_data, $key ) { ); list( $message, $subject ) = user_registration_email_content_overrider( $form_id, $settings, $message, $subject ); - $message = self::parse_smart_tags( $message, $values ); - $subject = self::parse_smart_tags( $subject, $values ); + $message = ur_get_translated_string( 'admin_texts_user_registration_reset_password_email', $message, $current_language, 'user_registration_reset_password_email' ); + $subject = ur_get_translated_string( 'admin_texts_user_registration_reset_password_email_subject', $subject, $current_language, 'user_registration_reset_password_email_subject' ); + + $message = self::parse_smart_tags( $message, $values ); + $subject = self::parse_smart_tags( $subject, $values ); if ( ur_option_checked( 'user_registration_enable_reset_password_email', true ) ) { @@ -809,6 +849,10 @@ public static function send_profile_changed_email_to_admin( $user_email, $userna $message = get_option( 'user_registration_profile_details_changed_email', $message ); $form_id = ur_get_form_id_by_userid( $user_id ); + $current_language = get_user_meta( $user_id, 'ur_registered_language' ); + if ( empty( $current_language ) ) { + $current_language = ur_get_current_language(); + } $values = array( 'username' => $username, 'email' => $user_email, @@ -817,8 +861,11 @@ public static function send_profile_changed_email_to_admin( $user_email, $userna ); list( $message, $subject ) = user_registration_email_content_overrider( $form_id, $settings, $message, $subject ); - $message = self::parse_smart_tags( $message, $values, $name_value ); - $subject = self::parse_smart_tags( $subject, $values, $name_value ); + $message = ur_get_translated_string( 'admin_texts_user_registration_profile_details_changed_email', $message, $current_language, 'user_registration_profile_details_changed_email' ); + $subject = ur_get_translated_string( 'admin_texts_user_registration_profile_details_changed_email_subject', $subject, $current_language, 'user_registration_profile_details_changed_email_subject' ); + + $message = self::parse_smart_tags( $message, $values, $name_value ); + $subject = self::parse_smart_tags( $subject, $values, $name_value ); if ( ur_option_checked( 'user_registration_enable_profile_details_changed_email', true ) ) { foreach ( $admin_email as $email ) { @@ -851,7 +898,7 @@ public static function send_profile_changed_email_to_user( $user_email, $usernam $subject = get_option( 'user_registration_profile_details_updated_email_subject', esc_html__( 'Profile Details Updated Email: {{blog_info}}', 'user-registration' ) ); $settings = new UR_Settings_Profile_Details_Updated_Email(); $message = $settings->ur_get_profile_details_updated_email(); - $message = get_option( 'user_registration_profile_details_updated_email', $message ); + $message = get_option( 'user_registration_profile_details_Updated_email', $message ); $form_id = ur_get_form_id_by_userid( $user_id ); $values = array( @@ -861,9 +908,17 @@ public static function send_profile_changed_email_to_user( $user_email, $usernam 'form_id' => $form_id, ); + $current_language = get_user_meta( $user_id, 'ur_registered_language' ); + if ( empty( $current_language ) ) { + $current_language = ur_get_current_language(); + } + list( $message, $subject ) = user_registration_email_content_overrider( $form_id, $settings, $message, $subject ); - $message = self::parse_smart_tags( $message, $values, $name_value ); - $subject = self::parse_smart_tags( $subject, $values, $name_value ); + $message = ur_get_translated_string( 'admin_texts_user_registration_profile_details_updated_email', $message, $current_language, 'user_registration_profile_details_updated_email' ); + $subject = ur_get_translated_string( 'admin_texts_user_registration_profile_details_updated_email_subject', $subject, $current_language, 'user_registration_profile_details_updated_email_subject' ); + + $message = self::parse_smart_tags( $message, $values, $name_value ); + $subject = self::parse_smart_tags( $subject, $values, $name_value ); if ( ur_option_checked( 'user_registration_enable_profile_details_updated_email', true ) ) { $template_id = ur_get_single_post_meta( $form_id, 'user_registration_select_email_template' ); @@ -904,9 +959,17 @@ public static function confirm_email_address_change_by_admin( $user_email, $user 'form_id' => $form_id, ); + $current_language = get_user_meta( $user_id, 'ur_registered_language' ); + if ( empty( $current_language ) ) { + $current_language = ur_get_current_language(); + } + list( $message, $subject ) = user_registration_email_content_overrider( $form_id, $settings, $message, $subject ); - $message = self::parse_smart_tags( $message, $values, $name_value ); - $subject = self::parse_smart_tags( $subject, $values, $name_value ); + $message = ur_get_translated_string( 'admin_texts_user_registration_confirm_email_address_change_email', $message, $current_language, 'user_registration_confirm_email_address_change_email' ); + $subject = ur_get_translated_string( 'admin_texts_user_registration_confirm_email_address_change_subject', $subject, $current_language, 'user_registration_confirm_email_address_change_subject' ); + + $message = self::parse_smart_tags( $message, $values, $name_value ); + $subject = self::parse_smart_tags( $subject, $values, $name_value ); if ( ur_option_checked( 'user_registration_enable_confirm_email_address_change_email', true ) ) { $template_id = ur_get_single_post_meta( $form_id, 'user_registration_select_email_template' ); diff --git a/readme.txt b/readme.txt index 98d4e1a11..88329227d 100644 --- a/readme.txt +++ b/readme.txt @@ -249,6 +249,7 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro = 3.3.3 - 19/09/2024 = * Fix - Select all option not working in checkbox field. * Fix - Continue setup wizard button not working properly. +* Fix - Email translations issue with user registered language in WPML. * Fix - Conflict with lost password when WooCommerce My Account Page selected in user registration settings. * Tweak - Added skip setup button in continue setup wizard notice. * Tweak - Added filters to change reset password validation error message. From 6e0d1e62e59172dacfbb27f4106f3229bed3340d Mon Sep 17 00:00:00 2001 From: Prajjwal Poudel Date: Thu, 19 Sep 2024 14:23:21 +0545 Subject: [PATCH 04/69] Fix - Setup wizard issues --- .../version1/class-ur-getting-started.php | 8 + includes/admin/class-ur-admin-dashboard.php | 13 -- includes/admin/class-ur-admin-welcome.php | 13 +- includes/functions-ur-core.php | 28 +++- languages/user-registration.pot | 150 +++++++++--------- src/welcome/components/App.js | 26 ++- 6 files changed, 137 insertions(+), 101 deletions(-) diff --git a/includes/RestApi/controllers/version1/class-ur-getting-started.php b/includes/RestApi/controllers/version1/class-ur-getting-started.php index 59f58b991..19e784366 100644 --- a/includes/RestApi/controllers/version1/class-ur-getting-started.php +++ b/includes/RestApi/controllers/version1/class-ur-getting-started.php @@ -91,6 +91,14 @@ public static function ur_save_getting_started_settings( $request ) { if ( isset( $settings_to_update['user_registration_form_setting_minimum_password_strength'] ) ) { update_post_meta( absint( $default_form_page_id ), 'user_registration_form_setting_minimum_password_strength', $settings_to_update['user_registration_form_setting_minimum_password_strength'] ); } + + if ( isset( $settings_to_update['user_registration_end_setup_wizard'] ) ) { + update_option( 'user_registration_first_time_activation_flag', false ); + update_option( 'user_registration_onboarding_skipped', false ); + delete_option( 'user_registration_onboarding_skipped_step' ); + unset( $settings_to_update['user_registration_end_setup_wizard'] ); + } + if ( isset( $settings_to_update['user_registration_form_setting_default_user_role'] ) ) { $all_roles = ur_get_default_admin_roles(); $role_to_update = $settings_to_update['user_registration_form_setting_default_user_role']; diff --git a/includes/admin/class-ur-admin-dashboard.php b/includes/admin/class-ur-admin-dashboard.php index 571472711..75e2fd116 100644 --- a/includes/admin/class-ur-admin-dashboard.php +++ b/includes/admin/class-ur-admin-dashboard.php @@ -19,19 +19,6 @@ class UR_Admin_Dashboard { * Show the Dashboard Page. */ public static function output() { - - // End setup wizard when skipped to list table. - if ( ! empty( $_REQUEST['end-setup-wizard'] ) && sanitize_text_field( wp_unslash( $_REQUEST['end-setup-wizard'] ) ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended - update_option( 'user_registration_first_time_activation_flag', false ); - update_option( 'user_registration_onboarding_skipped', true ); - - if ( isset( $_REQUEST['activeStep'] ) ) { - update_option( 'user_registration_onboarding_skipped_step', sanitize_text_field( wp_unslash( $_REQUEST['activeStep'] ) ) ); - } else { - delete_option( 'user_registration_onboarding_skipped_step' ); - } - } - wp_enqueue_script( 'ur-dashboard-script', UR()->plugin_url() . '/chunks/dashboard.js', array( 'wp-element', 'wp-blocks', 'wp-editor' ), UR()->version, true ); if ( ! function_exists( 'get_plugins' ) ) { diff --git a/includes/admin/class-ur-admin-welcome.php b/includes/admin/class-ur-admin-welcome.php index f0c1b9d13..089bd8a16 100644 --- a/includes/admin/class-ur-admin-welcome.php +++ b/includes/admin/class-ur-admin-welcome.php @@ -61,12 +61,13 @@ public static function welcome_page() { 'ur-setup-wizard-script', '_UR_WIZARD_', array( - 'adminURL' => esc_url( admin_url() ), - 'siteURL' => esc_url( home_url( '/' ) ), - 'defaultFormURL' => esc_url( admin_url( '/admin.php?page=add-new-registration&edit-registration=' . get_option( 'user_registration_default_form_page_id' ) ) ), - 'urRestApiNonce' => wp_create_nonce( 'wp_rest' ), - 'onBoardIconsURL' => esc_url( UR()->plugin_url() . '/assets/images/onboard-icons' ), - 'restURL' => rest_url(), + 'adminURL' => esc_url( admin_url() ), + 'siteURL' => esc_url( home_url( '/' ) ), + 'defaultFormURL' => esc_url( admin_url( '/admin.php?page=add-new-registration&edit-registration=' . get_option( 'user_registration_default_form_page_id' ) ) ), + 'urRestApiNonce' => wp_create_nonce( 'wp_rest' ), + 'onBoardIconsURL' => esc_url( UR()->plugin_url() . '/assets/images/onboard-icons' ), + 'restURL' => rest_url(), + 'registrationPageURL' => get_permalink( get_option( 'user_registration_registration_page_id' ) ), ) ); diff --git a/includes/functions-ur-core.php b/includes/functions-ur-core.php index 61fcc65ef..09017bcf1 100644 --- a/includes/functions-ur-core.php +++ b/includes/functions-ur-core.php @@ -4623,7 +4623,7 @@ function ur_add_links_to_top_nav( $wp_admin_bar ) { $form_id = sanitize_text_field( wp_unslash( $_GET['form_id'] ) ); //phpcs:ignore WordPress.Security.NonceVerification.Recommended } elseif ( is_page() || is_single() ) { - if( isset( $_GET['vc_editable'] ) ) { + if ( isset( $_GET['vc_editable'] ) ) { return; } $post_content = get_the_content(); @@ -6639,3 +6639,29 @@ function ur_list_top_integrations( $integrations ) { } } add_filter( 'user_registration_integrations_classes', 'ur_list_top_integrations' ); + +// Hook the end setup wizard to admin_init +add_action( + 'admin_init', + 'ur_end_setup_wizard' +); + +if ( ! function_exists( 'ur_end_setup_wizard' ) ) { + /** + * End to setup wizard. + */ + function ur_end_setup_wizard() { + // End setup wizard when skipped to list table. + if ( ! empty( $_REQUEST['end-setup-wizard'] ) && sanitize_text_field( wp_unslash( $_REQUEST['end-setup-wizard'] ) ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended + update_option( 'user_registration_first_time_activation_flag', false ); + update_option( 'user_registration_onboarding_skipped', true ); + + if ( isset( $_REQUEST['activeStep'] ) ) { + update_option( 'user_registration_onboarding_skipped_step', sanitize_text_field( wp_unslash( $_REQUEST['activeStep'] ) ) ); + } else { + delete_option( 'user_registration_onboarding_skipped_step' ); + update_option( 'user_registration_onboarding_skipped', false ); + } + } + } +} diff --git a/languages/user-registration.pot b/languages/user-registration.pot index d38ca3cb4..6947a5ee2 100644 --- a/languages/user-registration.pot +++ b/languages/user-registration.pot @@ -9,7 +9,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-09-19T04:42:18+00:00\n" +"POT-Creation-Date: 2024-09-19T08:37:30+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: user-registration\n" @@ -93,8 +93,8 @@ msgstr "" #: includes/3rd-party/elementor/widgets/class-ur-widgets-myaccount.php:37 #: includes/functions-ur-core.php:6492 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:256 -#: src/welcome/components/App.js:84 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:264 +#: src/welcome/components/App.js:86 msgid "My Account" msgstr "" @@ -128,7 +128,7 @@ msgid "Registration Form" msgstr "" #: includes/abstracts/abstract-ur-form-field.php:1034 -#: src/welcome/components/App.js:63 +#: src/welcome/components/App.js:65 msgid "General Settings" msgstr "" @@ -909,7 +909,7 @@ msgid "Start From Scratch" msgstr "" #: includes/admin/class-ur-admin-form-templates.php:102 -#: includes/admin/class-ur-admin-welcome.php:157 +#: includes/admin/class-ur-admin-welcome.php:158 #: includes/admin/views/html-admin-page-form-templates.php:106 msgid "Get Started" msgstr "" @@ -1387,19 +1387,19 @@ msgid "denied" msgstr "" #: includes/admin/class-ur-admin-welcome.php:39 -#: includes/admin/class-ur-admin-welcome.php:152 +#: includes/admin/class-ur-admin-welcome.php:153 msgid "Welcome to User Registration" msgstr "" -#: includes/admin/class-ur-admin-welcome.php:96 +#: includes/admin/class-ur-admin-welcome.php:97 msgid "User Registration - Setup Wizard" msgstr "" -#: includes/admin/class-ur-admin-welcome.php:153 +#: includes/admin/class-ur-admin-welcome.php:154 msgid "Thank you for choosing User Registration - the most powerful and easy drag & drop WordPress form builder in the market." msgstr "" -#: includes/admin/class-ur-admin-welcome.php:165 +#: includes/admin/class-ur-admin-welcome.php:166 msgid "Skip to Dashboard" msgstr "" @@ -1445,8 +1445,8 @@ msgstr "" #: includes/admin/settings/class-ur-settings-general.php:34 #: includes/admin/settings/class-ur-settings-general.php:86 #: includes/admin/settings/class-ur-settings-general.php:408 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:195 -#: src/welcome/components/App.js:62 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:203 +#: src/welcome/components/App.js:64 msgid "General" msgstr "" @@ -1879,12 +1879,12 @@ msgid "Frontend Messages" msgstr "" #: includes/admin/settings/class-ur-settings-general.php:91 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:213 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:221 msgid "Prevent WP Dashboard Access" msgstr "" #: includes/admin/settings/class-ur-settings-general.php:92 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:214 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:222 msgid "Selected user roles will not be able to view and access the WP Dashboard area." msgstr "" @@ -1918,12 +1918,12 @@ msgid "This option lets you choose the layout for the user registration my accou msgstr "" #: includes/admin/settings/class-ur-settings-general.php:136 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:265 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:273 msgid "Horizontal" msgstr "" #: includes/admin/settings/class-ur-settings-general.php:137 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:266 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:274 msgid "Vertical" msgstr "" @@ -1940,7 +1940,7 @@ msgid "Disable Profile Picture" msgstr "" #: includes/admin/settings/class-ur-settings-general.php:155 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:271 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:279 msgid "Check to disable profile picture in edit profile page." msgstr "" @@ -2632,7 +2632,7 @@ msgid "The email subject you want to customize." msgstr "" #: includes/admin/settings/emails/class-ur-settings-admin-email.php:106 -#: includes/class-ur-emailer.php:460 +#: includes/class-ur-emailer.php:473 msgid "A New User Registered" msgstr "" @@ -2690,7 +2690,7 @@ msgid "Enable this email to send approval link for user registration." msgstr "" #: includes/admin/settings/emails/class-ur-settings-approval-link-email.php:106 -#: includes/class-ur-emailer.php:530 +#: includes/class-ur-emailer.php:551 msgid "Approval Link For New User Registration" msgstr "" @@ -2724,7 +2724,7 @@ msgid "Enable this email sent to user notifying the registration is awaiting adm msgstr "" #: includes/admin/settings/emails/class-ur-settings-awaiting-admin-approval-email.php:88 -#: includes/class-ur-emailer.php:384 +#: includes/class-ur-emailer.php:391 msgid "Thank you for registration on {{blog_info}}" msgstr "" @@ -2779,7 +2779,7 @@ msgid "Confirmation Email" msgstr "" #: includes/admin/settings/emails/class-ur-settings-email-confirmation.php:80 -#: includes/class-ur-emailer.php:371 +#: includes/class-ur-emailer.php:376 msgid "Please confirm your registration on {{blog_info}}" msgstr "" @@ -2808,7 +2808,7 @@ msgid "Enable this email sent to the admin when a user changed profile informati msgstr "" #: includes/admin/settings/emails/class-ur-settings-profile-details-changed-email.php:107 -#: includes/class-ur-emailer.php:806 +#: includes/class-ur-emailer.php:846 msgid "Profile Details Changed Email: {{blog_info}}" msgstr "" @@ -2841,7 +2841,7 @@ msgid "Enable this email sent to the user when a user updated their profile info msgstr "" #: includes/admin/settings/emails/class-ur-settings-profile-details-updated-email.php:89 -#: includes/class-ur-emailer.php:851 +#: includes/class-ur-emailer.php:898 msgid "Profile Details Updated Email: {{blog_info}}" msgstr "" @@ -2869,7 +2869,7 @@ msgid "Enable this email sent to the user notifying the registration is approved msgstr "" #: includes/admin/settings/emails/class-ur-settings-registration-approved-email.php:89 -#: includes/class-ur-emailer.php:628 +#: includes/class-ur-emailer.php:660 msgid "Congratulations! Registration approved on {{blog_info}}" msgstr "" @@ -2898,8 +2898,8 @@ msgid "Enable this email sent to the user notifying the registration is denied b msgstr "" #: includes/admin/settings/emails/class-ur-settings-registration-denied-email.php:89 -#: includes/class-ur-emailer.php:397 -#: includes/class-ur-emailer.php:613 +#: includes/class-ur-emailer.php:406 +#: includes/class-ur-emailer.php:645 msgid "Sorry! Registration denied on {{blog_info}}" msgstr "" @@ -2928,7 +2928,7 @@ msgid "Enable this email sent to the user notifying the registration is pending. msgstr "" #: includes/admin/settings/emails/class-ur-settings-registration-pending-email.php:90 -#: includes/class-ur-emailer.php:600 +#: includes/class-ur-emailer.php:629 msgid "Sorry! Registration changed to pending on {{blog_info}}" msgstr "" @@ -2959,8 +2959,8 @@ msgid "Enable this to send an email to the user when they request for a password msgstr "" #: includes/admin/settings/emails/class-ur-settings-reset-password-email.php:88 -#: includes/class-ur-emailer.php:664 -#: includes/class-ur-emailer.php:757 +#: includes/class-ur-emailer.php:701 +#: includes/class-ur-emailer.php:797 msgid "Password Reset Email: {{blog_info}}" msgstr "" @@ -2993,7 +2993,7 @@ msgid "Enable this email sent to the user after successful user registration." msgstr "" #: includes/admin/settings/emails/class-ur-settings-successfully-registered-email.php:90 -#: includes/class-ur-emailer.php:410 +#: includes/class-ur-emailer.php:421 msgid "Congratulations! Registration Complete on {{blog_info}}" msgstr "" @@ -3657,19 +3657,19 @@ msgstr "" msgid "Chosen Password" msgstr "" -#: includes/class-ur-emailer.php:481 -#: includes/class-ur-emailer.php:552 +#: includes/class-ur-emailer.php:499 +#: includes/class-ur-emailer.php:578 #: includes/class-ur-smart-tags.php:438 msgid "Approve Now" msgstr "" -#: includes/class-ur-emailer.php:482 -#: includes/class-ur-emailer.php:553 +#: includes/class-ur-emailer.php:500 +#: includes/class-ur-emailer.php:579 #: includes/class-ur-smart-tags.php:470 msgid "Deny Now" msgstr "" -#: includes/class-ur-emailer.php:894 +#: includes/class-ur-emailer.php:949 msgid "Confirm Email Address Change Email: {{blog_info}}" msgstr "" @@ -3813,25 +3813,25 @@ msgstr "" #: includes/class-ur-frontend-scripts.php:483 #: includes/functions-ur-core.php:1181 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:239 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:247 msgid "Very Weak" msgstr "" #: includes/class-ur-frontend-scripts.php:484 #: includes/functions-ur-core.php:1182 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:240 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:248 msgid "Weak" msgstr "" #: includes/class-ur-frontend-scripts.php:485 #: includes/functions-ur-core.php:1183 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:241 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:249 msgid "Medium" msgstr "" #: includes/class-ur-frontend-scripts.php:486 #: includes/functions-ur-core.php:1184 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:242 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:250 msgid "Strong" msgstr "" @@ -3856,25 +3856,25 @@ msgid "Hint: Minimum one uppercase letter, a number, a special character, must b msgstr "" #: includes/class-ur-install.php:411 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:155 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:163 msgctxt "Page slug" msgid "my-account" msgstr "" #: includes/class-ur-install.php:412 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:156 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:164 msgctxt "Page title" msgid "My Account" msgstr "" #: includes/class-ur-install.php:422 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:148 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:156 msgctxt "Page slug" msgid "registration" msgstr "" #: includes/class-ur-install.php:423 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:149 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:157 msgctxt "Page title" msgid "Registration" msgstr "" @@ -4004,8 +4004,8 @@ msgid "Registrations" msgstr "" #: includes/class-ur-post-types.php:57 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:223 -#: src/welcome/components/App.js:73 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:231 +#: src/welcome/components/App.js:75 msgid "Registration" msgstr "" @@ -6153,12 +6153,12 @@ msgid "Options" msgstr "" #: includes/functions-ur-core.php:1122 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:205 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:213 msgid "User Approval And Login Option" msgstr "" #: includes/functions-ur-core.php:1123 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:206 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:214 msgid "This option lets you choose login option after user registration." msgstr "" @@ -6175,17 +6175,17 @@ msgid "This option is to map phone field for sms verification." msgstr "" #: includes/functions-ur-core.php:1149 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:246 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:254 msgid "Default User Role" msgstr "" #: includes/functions-ur-core.php:1158 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:247 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:255 msgid "Default role for the users registered through this form." msgstr "" #: includes/functions-ur-core.php:1162 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:226 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:234 msgid "Enable Strong Password" msgstr "" @@ -6194,7 +6194,7 @@ msgid "Make strong password compulsary." msgstr "" #: includes/functions-ur-core.php:1174 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:233 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:241 msgid "Minimum Password Strength" msgstr "" @@ -6203,7 +6203,7 @@ msgid "Custom" msgstr "" #: includes/functions-ur-core.php:1189 -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:234 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:242 msgid "Set minimum required password strength." msgstr "" @@ -6660,35 +6660,35 @@ msgstr "" msgid "Failed to read changelog." msgstr "" -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:114 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:122 msgid "OnBoarding completed successfully" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:134 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:142 msgid "Pages cannot be installed" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:198 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:206 msgid "Anyone can register" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:199 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:207 msgid "Check to enable users to register" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:227 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:235 msgid "Enforce strong password." msgstr "" -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:259 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:267 msgid "My Account Page Layout" msgstr "" -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:260 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:268 msgid "Select account page layout." msgstr "" -#: includes/RestApi/controllers/version1/class-ur-getting-started.php:270 +#: includes/RestApi/controllers/version1/class-ur-getting-started.php:278 msgid "Disable profile picture" msgstr "" @@ -7951,64 +7951,64 @@ msgstr "" msgid "Themes" msgstr "" -#: src/welcome/components/App.js:51 -#: src/welcome/components/App.js:52 +#: src/welcome/components/App.js:53 +#: src/welcome/components/App.js:54 msgid "Install Pages" msgstr "" -#: src/welcome/components/App.js:53 +#: src/welcome/components/App.js:55 msgid "The following pages and forms will be created automatically." msgstr "" -#: src/welcome/components/App.js:64 +#: src/welcome/components/App.js:66 msgid "Customize your general settings as per your preference." msgstr "" -#: src/welcome/components/App.js:74 +#: src/welcome/components/App.js:76 msgid "Registration Settings" msgstr "" -#: src/welcome/components/App.js:75 +#: src/welcome/components/App.js:77 msgid "Customize your registration settings as per your preference." msgstr "" -#: src/welcome/components/App.js:85 +#: src/welcome/components/App.js:87 msgid "My Account Settings" msgstr "" -#: src/welcome/components/App.js:86 +#: src/welcome/components/App.js:88 msgid "Customize my account page settings as per your preference." msgstr "" -#: src/welcome/components/App.js:95 +#: src/welcome/components/App.js:97 msgid "Final Step" msgstr "" -#: src/welcome/components/App.js:416 +#: src/welcome/components/App.js:427 msgid "View Registration Page" msgstr "" -#: src/welcome/components/App.js:431 +#: src/welcome/components/App.js:442 msgid "Back" msgstr "" -#: src/welcome/components/App.js:449 +#: src/welcome/components/App.js:463 msgid "Edit Default Form" msgstr "" -#: src/welcome/components/App.js:471 +#: src/welcome/components/App.js:485 msgid "Skip this step" msgstr "" -#: src/welcome/components/App.js:487 +#: src/welcome/components/App.js:501 msgid "Install & Proceed" msgstr "" -#: src/welcome/components/App.js:505 +#: src/welcome/components/App.js:519 msgid "Next" msgstr "" -#: src/welcome/components/App.js:542 +#: src/welcome/components/App.js:556 msgid "Go to dashboard" msgstr "" diff --git a/src/welcome/components/App.js b/src/welcome/components/App.js index 0402b564a..f761fbb3c 100644 --- a/src/welcome/components/App.js +++ b/src/welcome/components/App.js @@ -34,6 +34,7 @@ function App() { useStateValue(); const [initiateInstall, setInitiateInstall] = useState(false); const [disabledLink, setDisabledLink] = useState(false); + const [nextStepProgess, setNextStepProgess] = useState(false); /* global _UR_WIZARD_ */ const { @@ -42,7 +43,8 @@ function App() { defaultFormURL, urRestApiNonce, onBoardIconsURL, - restURL + restURL, + registrationPageURL } = typeof _UR_WIZARD_ !== "undefined" && _UR_WIZARD_; const [steps, setSteps] = useState([ @@ -135,7 +137,7 @@ function App() { }); } else { const params = new URLSearchParams(window.location.href); - if (params.get("step")) { + if (params.get("step") && !nextStepProgess) { const index = steps.findIndex( (step) => step.key === params.get("step") ); @@ -186,6 +188,7 @@ function App() { }) ); setActiveStep(steps[index + 1]); + setNextStepProgess(true); }; /** @@ -323,6 +326,11 @@ function App() { }, {}); } + if (activeStep.key === "final_step") { + newSettingsRef = { ...newSettingsRef }; + newSettingsRef.user_registration_end_setup_wizard = true; + } + // POST apiFetch({ path: restURL + "user-registration/v1/getting-started/save", @@ -403,7 +411,10 @@ function App() { onClick={() => { setDisabledLink(true); handleSaveSettings( - registrationPageLink + "undefined" === + typeof registrationPageLink + ? registrationPageURL + : registrationPageLink ); }} disabled={disabledLink} @@ -442,7 +453,10 @@ function App() { color="#FAFAFA !important" onClick={() => { setDisabledLink(true); - handleSaveSettings(defaultFormURL); + handleSaveSettings( + defaultFormURL + + "&end-setup-wizard=1" + ); }} disabled={disabledLink} > @@ -521,9 +535,9 @@ function App() { activeStep.key || "final_step" === activeStep.key ? "" - : `activeStep=${activeStep.key}`; + : `&activeStep=${activeStep.key}`; handleSaveSettings( - `${adminURL}admin.php?page=user-registration-dashboard&end-setup-wizard=1&${extraParams}` + `${adminURL}admin.php?page=user-registration-dashboard&end-setup-wizard=1${extraParams}` ); }} mr={10} From 8e7716efe1ca949ca6fdc3b20983014a87b9c260 Mon Sep 17 00:00:00 2001 From: Prajjwal Poudel Date: Thu, 19 Sep 2024 15:49:30 +0545 Subject: [PATCH 05/69] Version bump to 3.3.3 for public release --- includes/class-ur-form-handler.php | 2 +- languages/user-registration.pot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class-ur-form-handler.php b/includes/class-ur-form-handler.php index 884f5c878..d31f0e929 100644 --- a/includes/class-ur-form-handler.php +++ b/includes/class-ur-form-handler.php @@ -40,7 +40,7 @@ public static function init() { */ public static function redirect_reset_password_link() { global $wp; - if ( ( isset( $wp->query_vars['ur-lost-password'] ) && empty( $wp->query_vars['ur-lost-password'] ) ) || ! isset( $wp->query_vars['ur-lost-password'] ) ) { + if ( isset( $wp->query_vars['ur-lost-password'] ) && empty( $wp->query_vars['ur-lost-password'] ) ) { return; } $page_id = ur_get_page_id( 'myaccount' ); diff --git a/languages/user-registration.pot b/languages/user-registration.pot index 6947a5ee2..2fd88c39c 100644 --- a/languages/user-registration.pot +++ b/languages/user-registration.pot @@ -9,7 +9,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-09-19T08:37:30+00:00\n" +"POT-Creation-Date: 2024-09-19T10:03:20+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: user-registration\n" From 3ccb601b6c5742eafaa16fd36f385e8f61145f46 Mon Sep 17 00:00:00 2001 From: Prajjwal Poudel Date: Mon, 23 Sep 2024 14:36:03 +0545 Subject: [PATCH 06/69] Tweak - Send new registered email if approval link email is disabled --- includes/class-ur-emailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-ur-emailer.php b/includes/class-ur-emailer.php index 78d155663..2dea0846d 100644 --- a/includes/class-ur-emailer.php +++ b/includes/class-ur-emailer.php @@ -182,7 +182,7 @@ public static function ur_after_register_mail( $valid_form_data, $form_id, $user self::send_mail_to_user( $email, $username, $user_id, $data_html, $name_value, $attachments, $template_id ); - if ( 'admin_approval' === $login_option ) { + if ( 'admin_approval' === $login_option && ur_option_checked( 'user_registration_enable_approval_link_email', true ) ) { self::send_approve_link_in_email( $email, $username, $user_id, $data_html, $name_value, $attachments, $template_id ); } else { self::send_mail_to_admin( $email, $username, $user_id, $data_html, $name_value, $attachments, $template_id ); From 28f938e78c0fa41d28fe3b451c57785f1e20aaf5 Mon Sep 17 00:00:00 2001 From: Lekhnath Pandey Date: Tue, 24 Sep 2024 13:47:35 +0545 Subject: [PATCH 07/69] Fix - Logout not working when redirect url is home page --- includes/functions-ur-template.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/includes/functions-ur-template.php b/includes/functions-ur-template.php index c93ba9aca..e6febfad6 100644 --- a/includes/functions-ur-template.php +++ b/includes/functions-ur-template.php @@ -1265,7 +1265,6 @@ function ur_logout_url( $redirect = '' ) { $wp_version = '5.0'; $post_content = isset( $post->post_content ) ? $post->post_content : ''; - if ( ( ur_post_content_has_shortcode( 'user_registration_login' ) || ur_post_content_has_shortcode( 'user_registration_my_account' ) ) && is_user_logged_in() ) { if ( version_compare( $GLOBALS['wp_version'], $wp_version, '>=' ) ) { $blocks = parse_blocks( $post_content ); @@ -1311,11 +1310,11 @@ function ur_logout_url( $redirect = '' ) { } else { $new_shortcode = wp_strip_all_tags( $block['innerHTML'] ); - $pattern = '/\[user_registration_my_account(?:\s+redirect_url="[^"]*")?(?:\s+logout_redirect="[^"]*")?\s*\]/'; + $pattern = '/\[user_registration_my_account(?:\s+redirect_url="[^"]*")?(?:\s+logout_redirect="[^"]*")?\s*\]/'; - preg_match($pattern, $new_shortcode, $shortcodes); + preg_match( $pattern, $new_shortcode, $shortcodes ); - if( !empty( $shortcodes[0] ) ) { + if ( ! empty( $shortcodes[0] ) ) { preg_match( '/' . get_shortcode_regex() . '/s', $shortcodes[0], $matches ); $matches_attr = isset( $matches[3] ) ? $matches[3] : ''; $attributes = shortcode_parse_atts( $matches_attr ); @@ -1333,7 +1332,6 @@ function ur_logout_url( $redirect = '' ) { $redirect = '' != $redirect ? ur_check_external_url( $redirect ) : ur_get_page_permalink( 'myaccount' ); } } - } } } @@ -1349,7 +1347,11 @@ function ur_logout_url( $redirect = '' ) { $redirect = apply_filters( 'user_registration_redirect_after_logout', $redirect ); if ( $logout_endpoint && ! is_front_page() ) { - return wp_nonce_url( ur_get_endpoint_url( 'user-logout', '', $redirect ), 'user-logout' ); + if ( $redirect === home_url( '/' ) ) { + return wp_logout_url( $redirect ); + } else { + return wp_nonce_url( ur_get_endpoint_url( 'user-logout', '', $redirect ), 'user-logout' ); + } } else { if ( '' === $redirect ) { $redirect = ur_get_page_permalink( 'myaccount' ); From ffc257334423298f4403d40797a7d1d30aac4de3 Mon Sep 17 00:00:00 2001 From: Lekhnath Pandey Date: Thu, 26 Sep 2024 13:06:13 +0545 Subject: [PATCH 08/69] Fix - Date range throws validation message when date field is localized --- includes/form/class-ur-form-field-date.php | 8 +++++++- includes/functions-ur-template.php | 8 -------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/includes/form/class-ur-form-field-date.php b/includes/form/class-ur-form-field-date.php index 5f23087c4..2be77ea67 100644 --- a/includes/form/class-ur-form-field-date.php +++ b/includes/form/class-ur-form-field-date.php @@ -86,7 +86,13 @@ public function validation( $single_form_field, $form_data, $filter_hook, $form_ } if ( $is_enable_date_range ) { - $dates = explode( 'to', $value ); + $dates = array(); + preg_match( '/(\d{4}-\d{2}-\d{2}|\d{2}-\d{2}-\d{4}|\d{2}\/\d{2}\/\d{4}|[A-Za-z]+\s\d{1,2},\s\d{4})\s*[\w\s]+\s*(\d{4}-\d{2}-\d{2}|\d{2}-\d{2}-\d{4}|\d{2}\/\d{2}\/\d{4}|[A-Za-z]+\s\d{1,2},\s\d{4})/', $value, $matches ); + + if ( count( $matches ) == 3 ) { + $dates = array( $matches[1], $matches[2] ); + } + foreach ( $dates as $date ) { $result = UR_Validation::is_date( trim( $date ) ); diff --git a/includes/functions-ur-template.php b/includes/functions-ur-template.php index e6febfad6..4f83f3c68 100644 --- a/includes/functions-ur-template.php +++ b/includes/functions-ur-template.php @@ -723,14 +723,6 @@ function user_registration_form_field( $key, $args, $value = null, $current_row if ( empty( $value ) && ur_string_to_bool( $default_date ) ) { $value = date_i18n( $date_format ); $actual_value = date_i18n( $date_format ); - } else { - $value = str_replace( '/', '-', $value ); - if ( ! strpos( $value, 'to' ) ) { - $value = '' !== $value ? date_i18n( $date_format, strtotime( $value ) ) : ''; - } else { - $date_range = explode( 'to', $value ); - $value = date_i18n( $date_format, strtotime( trim( $date_range[0] ) ) ) . ' to ' . date_i18n( $date_format, strtotime( trim( $date_range[1] ) ) ); - } } } From 51a456475e1e95980b6008597e59ccbe7093f213 Mon Sep 17 00:00:00 2001 From: yoel limbu <87514350+y000yal@users.noreply.github.com> Date: Wed, 2 Oct 2024 14:27:13 +0545 Subject: [PATCH 09/69] Ur-1678 Feature - User edit feature for admin. (Sync) (#752) * Compatibility sync for User Edit feature for admin * Changed the params number --- includes/class-ur-ajax.php | 10 +- includes/class-ur-form-handler.php | 3 +- includes/functions-ur-core.php | 23 +- includes/functions-ur-template.php | 218 ++++++++++-------- .../validation/class-ur-form-validation.php | 9 +- 5 files changed, 150 insertions(+), 113 deletions(-) diff --git a/includes/class-ur-ajax.php b/includes/class-ur-ajax.php index 724fe45b8..514f19dbd 100644 --- a/includes/class-ur-ajax.php +++ b/includes/class-ur-ajax.php @@ -313,7 +313,7 @@ public static function update_profile_details() { } // Current user id. - $user_id = get_current_user_id(); + $user_id = !empty($_REQUEST['user_id']) ? absint($_REQUEST['user_id']) : get_current_user_id(); if ( $user_id <= 0 ) { return; @@ -388,9 +388,9 @@ public static function update_profile_details() { * @param array $profile User profile data. * @param array $form_data The form data. * @param int $form_id The form ID. + * @param int $user_id The user id. */ - do_action( 'user_registration_validate_profile_update', $profile, $form_data, $form_id ); - + do_action( 'user_registration_validate_profile_update', $profile, $form_data, $form_id, $user_id ); /** * Action after the save profile validation. * @@ -408,7 +408,7 @@ public static function update_profile_details() { $is_email_change_confirmation = (bool) apply_filters( 'user_registration_email_change_confirmation', true ); $email_updated = false; $pending_email = ''; - $user = wp_get_current_user(); + $user = get_userdata( $user_id ); /** * Filter to modify the field settings. * @@ -452,7 +452,7 @@ public static function update_profile_details() { } if ( count( $user_data ) > 0 ) { - $user_data['ID'] = get_current_user_id(); + $user_data['ID'] = $user_id; wp_update_user( $user_data ); } /** diff --git a/includes/class-ur-form-handler.php b/includes/class-ur-form-handler.php index d31f0e929..d9f33bf35 100644 --- a/includes/class-ur-form-handler.php +++ b/includes/class-ur-form-handler.php @@ -117,8 +117,9 @@ public static function save_profile_details() { * @param array $profile The user profile data. * @param array $form_data The form data. * @param int $form_id The form ID. + * @param int $user_id The user id. */ - do_action( 'user_registration_validate_profile_update', $profile, $form_data, $form_id ); + do_action( 'user_registration_validate_profile_update', $profile, $form_data, $form_id, $user_id ); /** * Action validate profile on update. diff --git a/includes/functions-ur-core.php b/includes/functions-ur-core.php index 09017bcf1..301105f25 100644 --- a/includes/functions-ur-core.php +++ b/includes/functions-ur-core.php @@ -5055,8 +5055,9 @@ function user_registration_validate_form_field_data( $data, $form_data, $form_id * @param int $form_id Form id. * @param array $form_field_data Form Field Data.. * @param array $form_fields Form Fields. + * @param int $user_id User ID. */ - function user_registration_validate_edit_profile_form_field_data( $data, $form_data, $form_id, $form_field_data, $form_fields ) { + function user_registration_validate_edit_profile_form_field_data( $data, $form_data, $form_id, $form_field_data, $form_fields, $user_id ) { $form_validator = new UR_Form_Validation(); $skippable_fields = $form_validator->get_update_profile_validation_skippable_fields( $form_field_data ); $form_key_list = wp_list_pluck( wp_list_pluck( $form_field_data, 'general_setting' ), 'field_name' ); @@ -5144,9 +5145,12 @@ function user_registration_validate_edit_profile_form_field_data( $data, $form_d } if ( 'user_email' === $single_form_field->field_key ) { - + // Do not allow admin to update others email, case may change in future + if ( !email_exists( sanitize_text_field( wp_unslash( $single_field_value ) ) ) && $user_id !== get_current_user_id() ) { + ur_add_notice( esc_html__( 'Email field is not editable.', 'user-registration' ), 'error' ); + } // Check if email already exists before updating user details. - if ( email_exists( sanitize_text_field( wp_unslash( $single_field_value ) ) ) && email_exists( sanitize_text_field( wp_unslash( $single_field_value ) ) ) !== get_current_user_id() ) { + if ( email_exists( sanitize_text_field( wp_unslash( $single_field_value ) ) ) && email_exists( sanitize_text_field( wp_unslash( $single_field_value ) ) ) !== $user_id ) { ur_add_notice( esc_html__( 'Email already exists', 'user-registration' ), 'error' ); } } @@ -5177,9 +5181,10 @@ function user_registration_validate_edit_profile_form_field_data( $data, $form_d */ function user_registration_edit_profile_row_template( $data, $profile, $current_row = '', $row_count = '' ) { - $user_id = get_current_user_id(); + $user_id = !empty($_REQUEST['user_id']) ? absint($_REQUEST['user_id']) : get_current_user_id(); $form_id = ur_get_form_id_by_userid( $user_id ); $width = floor( 100 / count( $data ) ) - count( $data ); + $is_edit = isset( $_REQUEST['action'] ) && $_REQUEST['action'] === 'edit' && $user_id !== get_current_user_id(); foreach ( $data as $grid_key => $grid_data ) { $found_field = false; @@ -5213,7 +5218,6 @@ function user_registration_edit_profile_row_template( $data, $profile, $current_ $key = 'user_registration_' . $single_item->general_setting->field_name; if ( $found_field ) { - $user_id = get_current_user_id(); $form_id = ur_get_form_id_by_userid( $user_id ); $field = isset( $profile[ $key ] ) ? $profile[ $key ] : array(); @@ -5262,7 +5266,9 @@ function user_registration_edit_profile_row_template( $data, $profile, $current_
        data-field-id="" data-ref-id=""> false ) ) : $default; //phpcs:ignore; } - $choices = isset( $image_options ) ? $image_options : array(); + $choices = isset( $image_options ) ? $image_options : array(); - $field = ''; + $field = ''; - $checkbox_start = 0; + $checkbox_start = 0; - $field .= '
          '; + $field .= '
            '; if ( $select_all ) { $field .= '
          • '; @@ -404,32 +405,32 @@ function user_registration_form_field( $key, $args, $value = null, $current_row $value = 'checked="checked"'; } } - $field .= '
          • '; + $field .= '
          • '; $choice_index = ur_sanitize_tooltip( $choice_index ); - $field .= ''; - $field .= '
          • '; - ++$checkbox_start; + ++ $checkbox_start; } - $field .= '
          '; + $field .= '
        '; } elseif ( isset( $options ) && array_filter( $options ) ) { if ( ! empty( $default ) ) { - $default = ( is_serialized( $default ) ) ? unserialize( $default, array( 'allowed_classes' => false ) ) : ( is_array( $default ) ? $default : ( empty( json_decode( $default ) ) ? $default : json_decode( $default ) ) ); //phpcs:ignore; + $default = ( is_serialized( $default ) ) ? unserialize( $default, array( 'allowed_classes' => false ) ) : ( is_array( $default ) ? $default : ( empty( json_decode( $default ) ) ? $default : json_decode( $default ) ) ); //phpcs:ignore; } - $choices = isset( $options ) ? $options : array(); + $choices = isset( $options ) ? $options : array(); - $field = ''; + $field = ''; - $checkbox_start = 0; + $checkbox_start = 0; - $field .= '
          '; + $field .= '
            '; if ( $select_all ) { $field .= '
          • '; @@ -445,19 +446,19 @@ function user_registration_form_field( $key, $args, $value = null, $current_row $value = 'checked="checked"'; } } - $field .= '
          • '; + $field .= '
          • '; $choice_index = ur_sanitize_tooltip( $choice_index ); $field .= ''; $field .= '
          • '; - ++$checkbox_start; + ++ $checkbox_start; } - $field .= '
          '; + $field .= '
        '; } else { $field = ''; + . $args['label'] . $required . $tooltip_html . ''; } break; case 'toggle': @@ -468,7 +469,7 @@ function user_registration_form_field( $key, $args, $value = null, $current_row $choice_limit = isset( $args['choice_limit'] ) ? $args['choice_limit'] : ''; $choice_limit_attr = ''; - $field = '
        '; + $field = '
        '; $field .= ''; $field .= ''; $field .= ''; @@ -519,13 +520,16 @@ function user_registration_form_field( $key, $args, $value = null, $current_row } break; case 'password': + $extra_params_key = str_replace( 'user_registration_', 'ur_', $key ) . '_params'; $extra_params = json_decode( get_user_meta( get_current_user_id(), $extra_params_key, true ) ); - $field .= ' '; + $field .= ' '; + + if ( empty( $extra_params ) ) { $field_container = '
        %3$s
        '; - $field .= ''; - $field .= ''; + $field .= ''; + $field .= ''; if ( ur_option_checked( 'user_registration_login_option_hide_show_password', false ) ) { $field .= ''; } @@ -533,6 +537,7 @@ function user_registration_form_field( $key, $args, $value = null, $current_row } else { $field .= ''; } + if ( ! is_admin() ) { /** * Filters the icon markup for a user registration form field. @@ -542,11 +547,11 @@ function user_registration_form_field( $key, $args, $value = null, $current_row * registration process. It provides an opportunity to customize the icon * based on the original icon markup, form ID, and field arguments. * - * @param string $field The original icon markup associated with the form field. - * @param int $form_id The ID of the user registration form. - * @param array $args The arguments for the form field. + * @param string $field The original icon markup associated with the form field. + * @param int $form_id The ID of the user registration form. + * @param array $args The arguments for the form field. */ - $field = apply_filters( 'user_registration_field_icon', $field, $form_id, $args ); + $field = apply_filters( 'user_registration_field_icon', $field, $form_id, $args ); $field .= ' '; } break; @@ -571,6 +576,7 @@ function user_registration_form_field( $key, $args, $value = null, $current_row $time_slot_booking = isset( $args['enable_time_slot_booking'] ) ? $args['enable_time_slot_booking'] : ''; $target_date_field = isset( $args['target_date_field'] ) ? isset( $args['target_date_field'] ) : ''; $attr = ''; + if ( '' !== $username_length ) { $attr .= 'data-username-length="' . $username_length . '"'; } @@ -644,7 +650,12 @@ function user_registration_form_field( $key, $args, $value = null, $current_row $field .= ''; $field .= '
        '; } else { - $field .= ''; + + + $disabled = ((( isset( $_REQUEST['page'] ) && isset( $args['field_key'] ) && "user-registration-users" == $_REQUEST['page'] ) && 'user_email' === $args['field_key']) || (isset($args['repeater_field']) && $args['repeater_field'])) ? ' readonly="readonly"' : ""; + + + $field .= ''; } } elseif ( ! empty( $extra_params ) ) { if ( $time_range ) { @@ -657,7 +668,8 @@ function user_registration_form_field( $key, $args, $value = null, $current_row } if ( isset( $args['field_key'] ) && 'user_email' === $args['field_key'] ) { - $user_id = get_current_user_id(); + + $user_id = ! empty( $_REQUEST['user_id'] ) ? absint( $_REQUEST['user_id'] ) : get_current_user_id(); $pending_email = get_user_meta( $user_id, 'user_registration_pending_email', true ); $expiration = get_user_meta( $user_id, 'user_registration_pending_email_expiration', true ); $cancel_url = esc_url( @@ -672,10 +684,10 @@ function user_registration_form_field( $key, $args, $value = null, $current_row if ( ! empty( $pending_email ) && time() <= $expiration ) { $field .= sprintf( - /* translators: %s - Email Change Pending Message. */ + /* translators: %s - Email Change Pending Message. */ '', sprintf( - /* translators: 1: Pending email message 2: Cancel Link */ + /* translators: 1: Pending email message 2: Cancel Link */ __( 'There is a pending change of your email to %1$s. Cancel', 'user-registration' ), $pending_email, $cancel_url @@ -697,11 +709,11 @@ function user_registration_form_field( $key, $args, $value = null, $current_row * registration process. It provides an opportunity to customize the icon * based on the original icon markup, form ID, and field arguments. * - * @param string $field The original icon markup associated with the form field. - * @param int $form_id The ID of the user registration form. - * @param array $args The arguments for the form field. + * @param string $field The original icon markup associated with the form field. + * @param int $form_id The ID of the user registration form. + * @param array $args The arguments for the form field. */ - $field = apply_filters( 'user_registration_field_icon', $field, $form_id, $args ); + $field = apply_filters( 'user_registration_field_icon', $field, $form_id, $args ); $field .= ' '; } break; @@ -713,7 +725,7 @@ function user_registration_form_field( $key, $args, $value = null, $current_row if ( ur_string_to_bool( $date_slot_booking ) ) { $custom_attributes[] = 'data-enable-date-slot-booking="' . $date_slot_booking . '"'; - $class .= ' date-slot-booking'; + $class .= ' date-slot-booking'; } $actual_value = $value; @@ -747,9 +759,9 @@ function user_registration_form_field( $key, $args, $value = null, $current_row * registration process. It provides an opportunity to customize the icon * based on the original icon markup, form ID, and field arguments. * - * @param string $field The original icon markup associated with the form field. - * @param int $form_id The ID of the user registration form. - * @param array $args The arguments for the form field. + * @param string $field The original icon markup associated with the form field. + * @param int $form_id The ID of the user registration form. + * @param array $args The arguments for the form field. */ $field = apply_filters( 'user_registration_field_icon', $field, $form_id, $args ); } @@ -839,7 +851,7 @@ function user_registration_form_field( $key, $args, $value = null, $current_row $option_label = is_array( $option_text ) ? $option_text['label'] : $option_text->label; $option_image = is_array( $option_text ) ? $option_text['image'] : $option_text->image; - $field .= '
      • '; + $field .= '
      • '; $checked = ''; if ( ! empty( $value ) ) { $checked = checked( $value, trim( $option_index ), false ); @@ -855,15 +867,15 @@ function user_registration_form_field( $key, $args, $value = null, $current_row } $field .= wp_kses( - trim( $option_label ), - array( - 'a' => array( - 'href' => array(), - 'title' => array(), - ), - 'span' => array(), - ) - ) . '
      • '; + trim( $option_label ), + array( + 'a' => array( + 'href' => array(), + 'title' => array(), + ), + 'span' => array(), + ) + ) . ''; } $field .= '
      '; } else { @@ -881,15 +893,15 @@ function user_registration_form_field( $key, $args, $value = null, $current_row $field .= ''; + trim( $option_text ), + array( + 'a' => array( + 'href' => array(), + 'title' => array(), + ), + 'span' => array(), + ) + ) . ''; } $field .= '
    '; } @@ -904,7 +916,7 @@ function user_registration_form_field( $key, $args, $value = null, $current_row case 'hidden': $hidden_value = isset( $args['hidden_value'] ) ? $args['hidden_value'] : ''; $custom_class = isset( $args['custom_class'] ) ? $args['custom_class'] : ''; - $field .= ''; + $field .= ''; break; } @@ -918,18 +930,18 @@ function user_registration_form_field( $key, $args, $value = null, $current_row $field_html = ''; if ( $args['label'] && 'checkbox' != $args['type'] && 'toggle' != $args['type'] && 'hidden' !== $args['type'] ) { $field_html .= ''; + $args['label'], + array( + 'a' => array( + 'href' => array(), + 'title' => array(), + ), + 'span' => array(), + ) + ) . $required . $tooltip_html . ''; } - $field_html .= $field; + $field_html .= $field; $container_class = esc_attr( implode( ' ', $args['class'] ) ); $container_id = esc_attr( $args['id'] ) . '_field'; $field = sprintf( $field_container, $container_class, $container_id, $field_html ); @@ -944,12 +956,13 @@ function user_registration_form_field( $key, $args, $value = null, $current_row * the form field based on its type, field key, arguments, and value. * * @param string $field The original form field markup for the specific type. - * @param string $key The key identifying the form field. - * @param array $args The arguments for the form field. - * @param mixed $value The value of the form field. + * @param string $key The key identifying the form field. + * @param array $args The arguments for the form field. + * @param mixed $value The value of the form field. */ $field = apply_filters( 'user_registration_form_field_' . $args['type'], $field, $key, $args, $value, $current_row ); + if ( $args['return'] ) { return $field; } else { @@ -969,6 +982,7 @@ function user_registration_form_field( $key, $args, $value = null, $current_row * @return array */ function user_registration_form_data( $user_id = 0, $form_id = 0 ) { + $all_meta_value = get_user_meta( $user_id ); $user_details = get_user_by( 'ID', $user_id ); $user_info = (array) $user_details->data; @@ -989,7 +1003,7 @@ function user_registration_form_data( $user_id = 0, $form_id = 0 ) { * profile account. * * @param array $post_content_array The original post content array for the profile account. - * @param int $form_id The ID of the user registration form associated with the account. + * @param int $form_id The ID of the user registration form associated with the account. */ $post_content_array = apply_filters( 'user_registration_profile_account_filter_all_fields', $post_content_array, $form_id ); @@ -1020,6 +1034,8 @@ function user_registration_form_data( $user_id = 0, $form_id = 0 ) { } if ( ! empty( $field_name ) ) { + + $extra_params = array(); switch ( $field_key ) { @@ -1048,12 +1064,12 @@ function user_registration_form_data( $user_id = 0, $form_id = 0 ) { break; case 'date': - $date_format = isset( $field->advance_setting->date_format ) ? $field->advance_setting->date_format : ''; - $min_date = isset( $field->advance_setting->min_date ) ? str_replace( '/', '-', $field->advance_setting->min_date ) : ''; - $max_date = isset( $field->advance_setting->max_date ) ? str_replace( '/', '-', $field->advance_setting->max_date ) : ''; - $set_current_date = isset( $field->advance_setting->set_current_date ) ? ur_string_to_bool( $field->advance_setting->set_current_date ) : ''; - $enable_date_range = isset( $field->advance_setting->enable_date_range ) ? ur_string_to_bool( $field->advance_setting->enable_date_range ) : ''; - $date_localization = isset( $field->advance_setting->date_localization ) ? $field->advance_setting->date_localization : ''; + $date_format = isset( $field->advance_setting->date_format ) ? $field->advance_setting->date_format : ''; + $min_date = isset( $field->advance_setting->min_date ) ? str_replace( '/', '-', $field->advance_setting->min_date ) : ''; + $max_date = isset( $field->advance_setting->max_date ) ? str_replace( '/', '-', $field->advance_setting->max_date ) : ''; + $set_current_date = isset( $field->advance_setting->set_current_date ) ? ur_string_to_bool( $field->advance_setting->set_current_date ) : ''; + $enable_date_range = isset( $field->advance_setting->enable_date_range ) ? ur_string_to_bool( $field->advance_setting->enable_date_range ) : ''; + $date_localization = isset( $field->advance_setting->date_localization ) ? $field->advance_setting->date_localization : ''; $extra_params['custom_attributes']['data-date-format'] = $date_format; if ( isset( $field->advance_setting->enable_min_max ) && ur_string_to_bool( $field->advance_setting->enable_min_max ) ) { @@ -1082,12 +1098,21 @@ function user_registration_form_data( $user_id = 0, $form_id = 0 ) { break; } + $extra_params['default'] = isset( $all_meta_value[ 'user_registration_' . $field_name ][0] ) ? $all_meta_value[ 'user_registration_' . $field_name ][0] : ( isset( $all_meta_value[ $field_name ][0] ) ? $all_meta_value[ $field_name ][0] : '' ); + + if ( empty( $extra_params['default'] ) ) { $extra_params['default'] = isset( $user_info[ $field_name ] ) ? $user_info[ $field_name ] : ''; } + $user_profile_fields = ur_get_user_profile_field_only(); - if ( in_array( $field_key, ur_get_user_profile_field_only() ) ) { + $is_admin_request = $_REQUEST['is_admin_user'] ?? false; + if ($is_admin_request || (isset( $_REQUEST['action'] ) && sanitize_text_field($_REQUEST['action']) === 'edit' && $user_id !== get_current_user_id() ) ) { + array_push( $user_profile_fields, 'user_pass' ); + } + + if ( in_array( $field_key, $user_profile_fields ) ) { $fields[ 'user_registration_' . $field_name ] = array( 'label' => ur_string_translation( $form_id, 'user_registration_' . $field_name . '_label', $field_label ), @@ -1125,6 +1150,7 @@ function user_registration_form_data( $user_id = 0, $form_id = 0 ) { if ( isset( $fields[ 'user_registration_' . $field_name ] ) && count( $extra_params ) > 0 ) { $fields[ 'user_registration_' . $field_name ] = array_merge( $fields[ 'user_registration_' . $field_name ], $extra_params ); } + $filter_data = array( 'fields' => $fields, 'field' => $field, @@ -1139,11 +1165,12 @@ function user_registration_form_data( $user_id = 0, $form_id = 0 ) { * field's filter data and the form ID associated with the account. * * @param array $filter_data The original filter data for the specific field. - * @param int $form_id The ID of the user registration form associated with the account. + * @param int $form_id The ID of the user registration form associated with the account. */ $filtered_data_array = apply_filters( 'user_registration_profile_account_filter_' . $field_key, $filter_data, $form_id ); if ( isset( $filtered_data_array['fields'] ) ) { $fields = $filtered_data_array['fields']; + } } // End if(). } // End foreach(). @@ -1183,6 +1210,7 @@ function user_registration_account_content() { * @param array $value The key values. */ do_action( 'user_registration_account_' . $key . '_endpoint', $value ); + return; } } @@ -1348,6 +1376,7 @@ function ur_logout_url( $redirect = '' ) { if ( '' === $redirect ) { $redirect = ur_get_page_permalink( 'myaccount' ); } + return wp_logout_url( $redirect ); } } @@ -1355,14 +1384,14 @@ function ur_logout_url( $redirect = '' ) { /** * See if current page elementor page for editing. * + * @return bool * @since 1.8.5 * - * @return bool */ function is_elementor_editing_page() { return ( ! empty( $_POST['action'] ) && 'elementor_ajax' === $_POST['action'] ) || //PHPCS:ignore; - ! empty( $_GET['elementor-preview'] ) || //PHPCS:ignore; - ( ! empty( $_GET['action'] ) && 'elementor' === $_GET['action'] ); //PHPCS:ignore; + ! empty( $_GET['elementor-preview'] ) || //PHPCS:ignore; + ( ! empty( $_GET['action'] ) && 'elementor' === $_GET['action'] ); //PHPCS:ignore; } /** @@ -1380,5 +1409,6 @@ function ur_check_external_url( $url ) { $redirect_url = ur_get_page_permalink( 'myaccount' ); $redirect_url = add_query_arg( 'redirect_to_on_logout', $url, $redirect_url ); } + return $redirect_url; } diff --git a/includes/validation/class-ur-form-validation.php b/includes/validation/class-ur-form-validation.php index b029b0646..6309f0e1d 100644 --- a/includes/validation/class-ur-form-validation.php +++ b/includes/validation/class-ur-form-validation.php @@ -54,7 +54,7 @@ class UR_Form_Validation extends UR_Validation { */ public function __construct() { add_action( 'user_registration_validate_form_data', array( $this, 'validate_form' ), 10, 6 ); - add_action( 'user_registration_validate_profile_update', array( $this, 'validate_update_profile' ), 10, 3 ); + add_action( 'user_registration_validate_profile_update', array( $this, 'validate_update_profile' ), 10, 4 ); } @@ -565,11 +565,10 @@ public function is_field_required( $field, $form_data = array() ) { * @param [array] $form_fields Form Fields. * @param array $form_data Form Data. * @param [int] $form_id Form Id. + * @param [int] $user_id User Id. * @return void */ - public function validate_update_profile( $form_fields, $form_data, $form_id ) { - $user_id = get_current_user_id(); - + public function validate_update_profile( $form_fields, $form_data, $form_id , $user_id ) { $form_field_data = ur_get_form_field_data( $form_id ); $request_form_keys = array_map( @@ -612,7 +611,7 @@ function ( $fields ) { ); $required_fields = apply_filters( 'user_registration_missing_repeater_field_keys', $required_fields, $form_id ); } else { - user_registration_validate_edit_profile_form_field_data( $data, $form_data, $form_id, $form_field_data, $form_fields ); + user_registration_validate_edit_profile_form_field_data( $data, $form_data, $form_id, $form_field_data, $form_fields, $user_id ); } } From 52d3870b804295b694191f117d361dbcd543025e Mon Sep 17 00:00:00 2001 From: Prajjwal Poudel <85762481+iamprazol@users.noreply.github.com> Date: Wed, 2 Oct 2024 14:27:57 +0545 Subject: [PATCH 10/69] UR-1825 Tweak - My account selection validation and install pages (#763) * Enhance - Display proper error when wrong page is selected as my account * Tweak - Selected my account page by default in Redirect wp login screen settings * Tweak - Install pages on installation and remove install & proceed process in setup wizard --- assets/js/admin/settings.js | 57 ++++++++ .../version1/class-ur-getting-started.php | 67 --------- includes/admin/class-ur-admin-settings.php | 28 ++-- includes/admin/class-ur-admin-welcome.php | 22 ++- .../settings/class-ur-settings-general.php | 4 +- includes/class-ur-ajax.php | 82 +++++++---- includes/class-ur-install.php | 1 + includes/functions-ur-core.php | 7 + src/context/gettingStartedContext.js | 23 ---- src/welcome/components/App.js | 128 +++--------------- src/welcome/components/screens/InstallPage.js | 98 +++----------- 11 files changed, 186 insertions(+), 331 deletions(-) diff --git a/assets/js/admin/settings.js b/assets/js/admin/settings.js index 71f595962..31d34fb77 100644 --- a/assets/js/admin/settings.js +++ b/assets/js/admin/settings.js @@ -804,6 +804,63 @@ } }); + // Display error when page with our my account or login shortcode is not selected + $( + "#user_registration_login_options_login_redirect_url, #user_registration_myaccount_page_id" + ).on("change", function () { + var $this = $(this), + data = { + action: "user_registration_my_account_selection_validator", + security: + user_registration_settings_params.user_registration_my_account_selection_validator_nonce + }; + + data.user_registration_selected_my_account_page = $this.val(); + + $this.prop("disabled", true); + $this.css("border", "1px solid #e1e1e1"); + $this + .closest(".user-registration-global-settings--field") + .find(".error.inline") + .remove(); + $this + .closest(".user-registration-global-settings") + .append('
    '); + + $.ajax({ + url: user_registration_settings_params.ajax_url, + data: data, + type: "POST", + complete: function (response) { + if (response.responseJSON.success === false) { + $this + .closest(".user-registration-global-settings--field") + .append( + "
    " + + response.responseJSON.data.message + + "
    " + ); + $this.css("border", "1px solid red"); + $this + .closest("form") + .find("input[name='save']") + .prop("disabled", true); + } else { + $this + .closest("form") + .find("input[name='save']") + .prop("disabled", false); + } + $this.prop("disabled", false); + + $this + .closest(".user-registration-global-settings") + .find(".ur-spinner") + .remove(); + } + }); + }); + // Set localStorage with expiry function setStorageValue(key, value) { var current = new Date(); diff --git a/includes/RestApi/controllers/version1/class-ur-getting-started.php b/includes/RestApi/controllers/version1/class-ur-getting-started.php index 19e784366..583e0283b 100644 --- a/includes/RestApi/controllers/version1/class-ur-getting-started.php +++ b/includes/RestApi/controllers/version1/class-ur-getting-started.php @@ -53,15 +53,6 @@ public function register_routes() { 'permission_callback' => array( __CLASS__, 'check_admin_permissions' ), ) ); - register_rest_route( - $this->namespace, - '/' . $this->rest_base . '/install-pages', - array( - 'methods' => 'POST', - 'callback' => array( __CLASS__, 'ur_getting_started_install_pages' ), - 'permission_callback' => array( __CLASS__, 'check_admin_permissions' ), - ) - ); } /** @@ -125,64 +116,6 @@ public static function ur_save_getting_started_settings( $request ) { ); } - /** - * Install default pages when user hits Install & Proceed button in setup wizard. - * - * @since 2.1.4 - * - * @param WP_REST_Request $request Full data about the request. - * @return array settings. - */ - public static function ur_getting_started_install_pages( $request ) { - - if ( ! isset( $request['install_pages'] ) || ! $request['install_pages'] ) { - return new \WP_REST_Response( - array( - 'success' => false, - 'message' => __( 'Pages cannot be installed', 'user-registration' ), - ), - 200 - ); - } - - include_once untrailingslashit( plugin_dir_path( UR_PLUGIN_FILE ) ) . '/includes/admin/functions-ur-admin.php'; - - $pages = apply_filters( 'user_registration_create_pages', array() ); - $default_form_page_id = get_option( 'user_registration_default_form_page_id' ); - $is_pro = false !== ur_get_license_plan() ? true : false; - - if ( $default_form_page_id ) { - $pages['registration'] = array( - 'name' => _x( 'registration', 'Page slug', 'user-registration' ), - 'title' => _x( 'Registration', 'Page title', 'user-registration' ), - 'content' => '[' . apply_filters( 'user_registration_form_shortcode_tag', 'user_registration_form' ) . ' id="' . esc_attr( $default_form_page_id ) . '"]', - ); - } - - $pages['myaccount'] = array( - 'name' => _x( 'my-account', 'Page slug', 'user-registration' ), - 'title' => _x( 'My Account', 'Page title', 'user-registration' ), - 'content' => '[' . apply_filters( 'user_registration_my_account_shortcode_tag', 'user_registration_my_account' ) . ']', - ); - - $page_slug = array(); - foreach ( $pages as $key => $page ) { - $post_id = ur_create_page( esc_sql( $page['name'] ), 'user_registration_' . $key . '_page_id', wp_kses_post( ( $page['title'] ) ), wp_kses_post( $page['content'] ) ); - array_push( $page_slug, get_post_field( 'post_name', $post_id ) ); - } - - return new \WP_REST_Response( - array( - 'success' => true, - 'page_slug' => $page_slug, - 'default_form_id' => $default_form_page_id, - 'is_pro' => $is_pro, - 'registration_page_link' => get_permalink( get_option( 'user_registration_registration_page_id' ) ), - ), - 200 - ); - } - /** * Get settings for getting started page. * diff --git a/includes/admin/class-ur-admin-settings.php b/includes/admin/class-ur-admin-settings.php index 4bdb341a0..2803077d9 100644 --- a/includes/admin/class-ur-admin-settings.php +++ b/includes/admin/class-ur-admin-settings.php @@ -87,18 +87,6 @@ public static function save() { if ( empty( $_REQUEST['_wpnonce'] ) || ! wp_verify_nonce( sanitize_key( $_REQUEST['_wpnonce'] ), 'user-registration-settings' ) ) { die( esc_html__( 'Action failed. Please refresh the page and retry.', 'user-registration' ) ); } - /** - * Action to save current tab settings - */ - do_action( 'user_registration_settings_save_' . $current_tab ); - /** - * Action to save current tab options - */ - do_action( 'user_registration_update_options_' . $current_tab ); - /** - * Action to save options - */ - do_action( 'user_registration_update_options' ); /** * Filter to modify display of setting message @@ -111,6 +99,19 @@ public static function save() { if ( $flag && is_bool( $flag ) ) { self::add_message( esc_html__( 'Your settings have been saved.', 'user-registration' ) ); + + /** + * Action to save current tab settings + */ + do_action( 'user_registration_settings_save_' . $current_tab ); + /** + * Action to save current tab options + */ + do_action( 'user_registration_update_options_' . $current_tab ); + /** + * Action to save options + */ + do_action( 'user_registration_update_options' ); } elseif ( $flag && 'redirect_login_error' === $flag ) { self::add_error( @@ -197,6 +198,7 @@ public static function output() { array( 'ajax_url' => admin_url( 'admin-ajax.php' ), 'user_registration_search_global_settings_nonce' => wp_create_nonce( 'user_registration_search_global_settings' ), + 'user_registration_my_account_selection_validator_nonce' => wp_create_nonce( 'user_registration_my_account_selection_validator' ), 'i18n_nav_warning' => esc_html__( 'The changes you made will be lost if you navigate away from this page.', 'user-registration' ), 'i18n' => array( 'captcha_success' => esc_html__( 'Captcha Test Successful !', 'user-registration' ), @@ -690,7 +692,7 @@ class="' . esc_attr( isset( $value['class'] ) ? $value['class'] : '' ) . '" 'show_option_none' => ' ', 'class' => $value['class'], 'echo' => false, - 'selected' => absint( self::get_option( $value['id'] ) ), + 'selected' => absint( self::get_option( $value['id'], $value['default'] ) ), ); if ( isset( $value['args'] ) ) { diff --git a/includes/admin/class-ur-admin-welcome.php b/includes/admin/class-ur-admin-welcome.php index 089bd8a16..342f4c029 100644 --- a/includes/admin/class-ur-admin-welcome.php +++ b/includes/admin/class-ur-admin-welcome.php @@ -56,18 +56,26 @@ public static function welcome_page() { wp_register_script( 'ur-setup-wizard-script', UR()->plugin_url() . '/chunks/welcome.js', array( 'wp-element', 'wp-blocks', 'wp-editor' ), UR()->version, true ); wp_enqueue_style( 'ur-setup-wizard-style', UR()->plugin_url() . '/assets/css/user-registration-setup-wizard.css', array(), UR()->version ); wp_enqueue_script( 'ur-setup-wizard-script' ); + $default_form_page_id = get_option( 'user_registration_default_form_page_id' ); + $registration_page_id = get_option( 'user_registration_registration_page_id' ); + $my_account_page_id = get_option( 'user_registration_myaccount_page_id' ); + $registration_page_slug = $registration_page_id ? get_post_field( 'post_name', $registration_page_id ) : ''; + $my_account_page_slug = $my_account_page_id ? get_post_field( 'post_name', $my_account_page_id ) : ''; wp_localize_script( 'ur-setup-wizard-script', '_UR_WIZARD_', array( - 'adminURL' => esc_url( admin_url() ), - 'siteURL' => esc_url( home_url( '/' ) ), - 'defaultFormURL' => esc_url( admin_url( '/admin.php?page=add-new-registration&edit-registration=' . get_option( 'user_registration_default_form_page_id' ) ) ), - 'urRestApiNonce' => wp_create_nonce( 'wp_rest' ), - 'onBoardIconsURL' => esc_url( UR()->plugin_url() . '/assets/images/onboard-icons' ), - 'restURL' => rest_url(), - 'registrationPageURL' => get_permalink( get_option( 'user_registration_registration_page_id' ) ), + 'adminURL' => esc_url( admin_url() ), + 'siteURL' => esc_url( home_url( '/' ) ), + 'defaultFormId' => $default_form_page_id, + 'registrationPageSlug' => $registration_page_slug, + 'myAccountPageSlug' => $my_account_page_slug, + 'defaultFormURL' => esc_url( admin_url( '/admin.php?page=add-new-registration&edit-registration=' . $default_form_page_id ) ), + 'urRestApiNonce' => wp_create_nonce( 'wp_rest' ), + 'onBoardIconsURL' => esc_url( UR()->plugin_url() . '/assets/images/onboard-icons' ), + 'restURL' => rest_url(), + 'registrationPageURL' => get_permalink( get_option( 'user_registration_registration_page_id' ) ), ) ); diff --git a/includes/admin/settings/class-ur-settings-general.php b/includes/admin/settings/class-ur-settings-general.php index 9ef274e31..5a5b240ef 100644 --- a/includes/admin/settings/class-ur-settings-general.php +++ b/includes/admin/settings/class-ur-settings-general.php @@ -531,8 +531,8 @@ public function get_login_options_settings() { 'type' => 'single_select_page', 'desc_tip' => true, 'css' => 'min-width: 350px;', - 'class' => 'ur-redirect-to-login-page', - 'default' => '', + 'class' => 'ur-redirect-to-login-page ur-enhanced-select-nostd', + 'default' => get_option( 'user_registration_myaccount_page_id', '' ), ), ), ), diff --git a/includes/class-ur-ajax.php b/includes/class-ur-ajax.php index 514f19dbd..2d0851cf5 100644 --- a/includes/class-ur-ajax.php +++ b/includes/class-ur-ajax.php @@ -49,31 +49,32 @@ public static function init() { */ public static function add_ajax_events() { $ajax_events = array( - 'user_input_dropped' => true, - 'user_form_submit' => true, - 'update_profile_details' => true, - 'profile_pic_upload' => true, - 'ajax_login_submit' => true, - 'send_test_email' => false, - 'create_form' => false, - 'rated' => false, - 'dashboard_widget' => false, - 'dismiss_notice' => false, - 'import_form_action' => false, - 'template_licence_check' => false, - 'captcha_setup_check' => false, - 'install_extension' => false, - 'profile_pic_remove' => false, - 'form_save_action' => false, - 'embed_form_action' => false, - 'embed_page_list' => false, - 'allow_usage_dismiss' => false, - 'cancel_email_change' => false, - 'email_setting_status' => false, - 'locked_form_fields_notice' => false, - 'search_global_settings' => false, - 'php_notice_dismiss' => false, - 'locate_form_action' => false, + 'user_input_dropped' => true, + 'user_form_submit' => true, + 'update_profile_details' => true, + 'profile_pic_upload' => true, + 'ajax_login_submit' => true, + 'send_test_email' => false, + 'create_form' => false, + 'rated' => false, + 'dashboard_widget' => false, + 'dismiss_notice' => false, + 'import_form_action' => false, + 'template_licence_check' => false, + 'captcha_setup_check' => false, + 'install_extension' => false, + 'profile_pic_remove' => false, + 'form_save_action' => false, + 'embed_form_action' => false, + 'embed_page_list' => false, + 'allow_usage_dismiss' => false, + 'cancel_email_change' => false, + 'email_setting_status' => false, + 'locked_form_fields_notice' => false, + 'search_global_settings' => false, + 'php_notice_dismiss' => false, + 'locate_form_action' => false, + 'my_account_selection_validator' => false, ); foreach ( $ajax_events as $ajax_event => $nopriv ) { @@ -1667,6 +1668,37 @@ public static function php_notice_dismiss() { return false; } + + /** + * AJAX validate selected my account page. + */ + public static function my_account_selection_validator() { + check_ajax_referer( 'user_registration_my_account_selection_validator', 'security' ); + + if ( ! current_user_can( 'manage_options' ) ) { + wp_send_json_error( array( 'message' => __( 'You do not have permission to edit settings form.', 'user-registration' ) ) ); + wp_die( -1 ); + } + + // Return if default wp_login is disabled and no redirect url is set. + if ( isset( $_POST['user_registration_selected_my_account_page'] ) ) { + if ( is_numeric( $_POST['user_registration_selected_my_account_page'] ) ) { + $is_page_my_account_page = ur_find_my_account_in_page( sanitize_text_field( wp_unslash( $_POST['user_registration_selected_my_account_page'] ) ) ); + if ( ! $is_page_my_account_page ) { + wp_send_json_error( + array( + 'message' => esc_html__( + 'The selected page is not a User Registration Login or My Account page.', + 'user-registration' + ), + ) + ); + } + } + } + + wp_send_json_success(); + } } UR_AJAX::init(); diff --git a/includes/class-ur-install.php b/includes/class-ur-install.php index c4b70175d..99be07938 100644 --- a/includes/class-ur-install.php +++ b/includes/class-ur-install.php @@ -146,6 +146,7 @@ public static function install() { self::maybe_update_db_version(); self::maybe_add_installation_date(); self::maybe_run_migrations(); + self::create_pages(); $path = UR_UPLOAD_PATH . 'profile-pictures'; diff --git a/includes/functions-ur-core.php b/includes/functions-ur-core.php index 301105f25..5d3cdc986 100644 --- a/includes/functions-ur-core.php +++ b/includes/functions-ur-core.php @@ -6436,6 +6436,13 @@ function ur_prevent_default_login( $data ) { } } } + } elseif ( isset( $data['user_registration_myaccount_page_id'] ) ) { + if ( is_numeric( $data['user_registration_myaccount_page_id'] ) ) { + $is_page_my_account_page = ur_find_my_account_in_page( $data['user_registration_myaccount_page_id'] ); + if ( ! $is_page_my_account_page ) { + return 'redirect_login_not_myaccount'; + } + } } return true; } diff --git a/src/context/gettingStartedContext.js b/src/context/gettingStartedContext.js index a267356ea..d76ae2332 100644 --- a/src/context/gettingStartedContext.js +++ b/src/context/gettingStartedContext.js @@ -1,23 +1,10 @@ export const initialState = { settings: {}, - installPage: { - registration_page: { - status: "not_installed", - slug: "" - }, - my_account_page: { - status: "not_installed", - slug: "" - } - }, - defaultFormId: "", isPro: false }; export const actionTypes = { GET_SETTINGS: "GET_SETTINGS", - GET_INSTALL_PAGE: "GET_INSTALL_PAGE", - GET_DEFAULT_FORM: "GET_DEFAULT_FORM", GET_DEFAULT_REGISTRATION_PAGE: "GET_DEFAULT_REGISTRATION_PAGE", GET_IS_PRO: "GET_IS_PRO" }; @@ -29,16 +16,6 @@ const reducer = (state, action) => { ...state, settings: action.settings }; - case actionTypes.GET_INSTALL_PAGE: - return { - ...state, - installPage: action.installPage - }; - case actionTypes.GET_DEFAULT_FORM: - return { - ...state, - defaultFormId: action.defaultFormId - }; case actionTypes.GET_DEFAULT_REGISTRATION_PAGE: return { ...state, diff --git a/src/welcome/components/App.js b/src/welcome/components/App.js index f761fbb3c..1bdf394ee 100644 --- a/src/welcome/components/App.js +++ b/src/welcome/components/App.js @@ -30,9 +30,7 @@ import { useStateValue } from "../../context/StateProvider"; import { actionTypes } from "../../context/gettingStartedContext"; function App() { - const [{ settings, installPage, registrationPageLink }, dispatch] = - useStateValue(); - const [initiateInstall, setInitiateInstall] = useState(false); + const [{ settings, registrationPageLink }, dispatch] = useStateValue(); const [disabledLink, setDisabledLink] = useState(false); const [nextStepProgess, setNextStepProgess] = useState(false); @@ -53,7 +51,7 @@ function App() { label: __("Install Pages", "user-registration"), title: __("Install Pages", "user-registration"), description: __( - "The following pages and forms will be created automatically.", + "The following pages have been created automatically.", "user-registration" ), isDone: true, @@ -228,83 +226,6 @@ function App() { handleNext(); }; - /** - * Install Pages in backend when Install Pages button is clicked. - */ - const handleInstallPages = () => { - setInitiateInstall(true); - // POST - apiFetch({ - path: - restURL + "user-registration/v1/getting-started/install-pages", - method: "POST", - headers: { - "X-WP-Nonce": urRestApiNonce - }, - data: { install_pages: true } - }).then((res) => { - if (res.success) { - if (res.default_form_id) { - dispatch({ - type: actionTypes.GET_DEFAULT_FORM, - defaultFormId: res.default_form_id - }); - } - - if (res.registration_page_link) { - dispatch({ - type: actionTypes.GET_DEFAULT_REGISTRATION_PAGE, - registrationPageLink: res.registration_page_link - }); - } - - if (res.is_pro) { - dispatch({ - type: actionTypes.GET_IS_PRO, - defaultFormId: res.is_pro - }); - } - - let newInstallPageRef = { ...installPage }; - newInstallPageRef.registration_page.status = "installing"; - newInstallPageRef.registration_page.slug = - "/" + res.page_slug[0]; - - dispatch({ - type: actionTypes.GET_INSTALL_PAGE, - installPage: newInstallPageRef - }); - - new Promise(function (resolve, reject) { - setTimeout(resolve, 5000); - }).then(function () { - newInstallPageRef.registration_page.status = "installed"; - newInstallPageRef.my_account_page.status = "installing"; - newInstallPageRef.my_account_page.slug = - "/" + res.page_slug[1]; - - dispatch({ - type: actionTypes.GET_INSTALL_PAGE, - installPage: newInstallPageRef - }); - - new Promise(function (resolve, reject) { - setTimeout(resolve, 5000); - }).then(function () { - newInstallPageRef.my_account_page.status = "installed"; - - dispatch({ - type: actionTypes.GET_INSTALL_PAGE, - installPage: newInstallPageRef - }); - }); - }); - } else { - console.log(res.message); - } - }); - }; - /** * Save settings on button press. */ @@ -488,37 +409,20 @@ function App() { )} )} - {steps[0].key === activeStep.key && - installPage.my_account_page.status !== - "installed" ? ( - - ) : ( - - )} + )}
diff --git a/src/welcome/components/screens/InstallPage.js b/src/welcome/components/screens/InstallPage.js index c30354867..044f760b1 100644 --- a/src/welcome/components/screens/InstallPage.js +++ b/src/welcome/components/screens/InstallPage.js @@ -8,7 +8,7 @@ import { Box, Checkbox, CircularProgress, - CircularProgressLabel, + CircularProgressLabel } from "@chakra-ui/react"; import { __ } from "@wordpress/i18n"; @@ -16,39 +16,13 @@ import { __ } from "@wordpress/i18n"; * Internal Dependencies */ import ConsentModal from "../common/ConsentModal"; -import { useStateValue } from "../../../context/StateProvider"; const InstallPage = () => { - const [{ installPage, defaultFormId }] = useStateValue(); - const [counter, setCounter] = useState(0); const [allowTracking, setAllowTracking] = useState(false); - /** - * Change counter every time installPage state is changed to show spinner while installing. - */ - useEffect(() => { - if ( - installPage.registration_page.status === "installing" || - installPage.my_account_page.status === "installing" - ) { - const timer = setInterval(() => { - setCounter((prevCounter) => { - if (prevCounter < 100) { - return prevCounter + 20; - } else { - prevCounter = 0; - return prevCounter; - } - }); - }, 840); - - return () => { - clearInterval(timer); - }; - } else { - setCounter(0); - } - }, [installPage]); + /* global _UR_WIZARD_ */ + const { defaultFormId, registrationPageSlug, myAccountPageSlug } = + typeof _UR_WIZARD_ !== "undefined" && _UR_WIZARD_; /** * Create the HTML block for the pages to be installed. @@ -59,62 +33,28 @@ const InstallPage = () => { const createInstallPageBox = (page, slug) => { return ( - - + + {slug === "registration_page" ? __("Registration Page", "user-registration") : __("My Account Page", "user-registration")} - {page.status !== "not_installed" && ( - - {page.slug} - - )} + + {"/" + page} + - {page.status === "installing" ? ( - - - {__("Installing...", "user-registration")} - - - - {counter} % - - - - ) : ( - page.status === "installed" && ( - - {__("Installed", "user-registration")} - - ) - )} + + {__("Installed", "user-registration")} + ); @@ -152,14 +92,8 @@ const InstallPage = () => { - {createInstallPageBox( - installPage.registration_page, - "registration_page" - )} - {createInstallPageBox( - installPage.my_account_page, - "my_account_page" - )} + {createInstallPageBox(registrationPageSlug, "registration_page")} + {createInstallPageBox(myAccountPageSlug, "my_account_page")} ); }; From 3eba0ddd2a98e7dac02e122e6d0068d4efe07b0e Mon Sep 17 00:00:00 2001 From: Prajjwal Poudel <85762481+iamprazol@users.noreply.github.com> Date: Wed, 2 Oct 2024 14:32:25 +0545 Subject: [PATCH 11/69] UR-1691 Dev - Compatibility for Conditional logic in row (#758) * Sync codes from pro * Fix - Conditional settings for row not visibile in un published form --- assets/css/admin.scss | 12128 ++++++++++---------- assets/js/admin/form-builder.js | 241 +- includes/admin/class-ur-admin-assets.php | 1 + includes/admin/class-ur-admin-menus.php | 110 +- includes/class-ur-ajax.php | 30 +- templates/form-registration.php | 26 +- templates/myaccount/form-edit-profile.php | 30 +- 7 files changed, 6411 insertions(+), 6155 deletions(-) diff --git a/assets/css/admin.scss b/assets/css/admin.scss index c73f987ac..3b6c2f424 100644 --- a/assets/css/admin.scss +++ b/assets/css/admin.scss @@ -6,6076 +6,6086 @@ /** * Imports */ -@import "variables/variables"; -@import "mixins/mixins"; -@import "display"; -@import "fonts"; -@import "tables"; -@import "forms"; + @import "variables/variables"; + @import "mixins/mixins"; + @import "display"; + @import "fonts"; + @import "tables"; + @import "forms"; + + // Components + @import "components/badge", "components/button", "components/card", + "components/list-group", "components/modal", "components/nav", + "components/scroll-ui"; + + @import "border"; + @import "spacing"; + @import "containers"; + @import "grids"; + @import "overlay"; + + // Layout-related sections + @import "layout/header"; + + @import "templates/template-setup"; + + @import "animation"; + + /** + * Styling begins + */ + .blockUI.blockOverlay { + @include loader(); + } + + .toplevel_page_user-registration, + .user-registration_page_user-registration-frontend-list { + // Design customize for shortcode in list table + .shortcode { + .widefat { + width: calc(100% - 40px); + } + + .ur-copy-shortcode { + padding: 4px; + line-height: 1; + } + } + } + + .user-registration_page_user-registration-dashboard { + #wpcontent { + margin-left: 140px; + + #wpbody-content { + float: none; + } + } + } + + .user-registration_page_user-registration-settings { + .notice { + display: none; + } + } + + .ur-spinner { + width: 16px; + height: 16px; + margin-left: 6px; + margin-bottom: 2px; + display: inline-block; + vertical-align: middle; + @include loader(); + } + + /** + * Toggle class. + */ + .userregistration-forms-hidden { + display: block; + } + + .userregistration-forms-hidden { + display: none; + } + + .user-registration { + &__wrap { + *, + ::before, + ::after { + box-sizing: border-box; + } + } + } + + .ur-export-users-page { + margin-top: 24px; + + .nav-tab-content { + .nav-tab-inside { + .postbox { + width: 50%; + flex: 1; + + .hndle { + border-bottom: 1px solid #ccd0d4; + } -// Components -@import "components/badge", "components/button", "components/card", - "components/list-group", "components/modal", "components/nav", - "components/scroll-ui"; + .ur-input { + max-width: inherit; + } + } + } + + .hndle, + .stuffbox .hndle { + margin: 10px; + padding-bottom: 10px; + } + + .stuffbox { + padding: 10px; + } + } + } + + .ur-label { + .user-registration-help-tip { + margin-left: 4px; + } + + label span:not(.ur-portal-tooltip) { + margin-left: 3px; + } + } + + .jconfirm-cell { + padding-left: 30%; + padding-right: 30%; + } + + .jconfirm-content-pane { + height: auto !important; + + .ur-shortcut-keyword { + display: flex; + align-items: center; + margin-bottom: 18px; + font-size: 18px; + + .ur-shortcut-title { + flex: 3; + } + + .ur-key { + display: flex; + flex: 2; + column-gap: 8px; + color: #3498db; + + span { + border: 1px solid #3498db; + background-color: #3498db13; + padding: 5px 15px; + border-radius: 2px; + } + + .ur-key-plus { + margin-top: 5px; + font-size: 1.2em; + } + + .ur-key-character { + width: 15px; + padding: 5px 10px; + text-align: center; + } + } + } + } + + /** + * Addons page + **/ + .ur_addons_wrap { + p.refresh { + margin: 0 0 2em; + } + + .wp-filter { + display: none; + } + + .plugin-card { + position: relative; + + h3 { + margin: 0; + font-size: 18px; + font-weight: $semi_bold; + line-height: 24px; + } + + .name, + .desc { + margin-right: 0; + margin-left: 156px; + } + + .plugin-card-left { + .plugin-icon { + height: 140px; + width: 140px; + border: 1px solid #eee; + border-radius: 2px; + background-size: contain; + background-repeat: no-repeat; + } + } + + .plugin-card-right { + display: flex; + flex-direction: column; + align-items: flex-start; + padding: 20px; + background-color: #fcfcff; + border: 1px solid #b7c4ff; + min-height: 130px; + + .plugin-desc { + overflow: hidden; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + } + + .plugin-card-buttons { + margin-left: 148px; + + .action-buttons { + float: right; + clear: right; + max-width: 180px; + margin-left: 10px; + + .install-now:hover { + border-radius: 2px; + background-color: #475bb2; + color: #fff; + } + + .upgrade-now { + background: #475bb2 !important; + color: #fff; + font-weight: $medium; + } + + .upgrade-now:hover { + background: #516be0 !important; + color: #fff; + } + + &.upgrade-plan { + margin: 0 auto; + } + } + } + } + } + + .plugin-card-update-failed { + .notice-error { + margin: 0; + padding: 9px 16px 8px; + + .notice-dismiss { + padding: 17px; + } + } + } + + @media screen and (max-width: 782px) { + .plugin-card { + .plugin-card-bottom { + .action-buttons { + .button.updating-message { + &::before, + &::after { + margin-top: -1px; + } + } + } + } + } -@import "border"; -@import "spacing"; -@import "containers"; -@import "grids"; -@import "overlay"; + .plugin-card-update-failed { + .notice-error { + padding: 13px 20px; -// Layout-related sections -@import "layout/header"; + .notice-dismiss { + padding: 21px; + } + } + } + } + } + + .clear { + clear: both; + } + + .wrap.user-registration div.updated, + .wrap.user-registration div.error { + margin-top: 10px; + } + + /** + * Form Builder Styles + **/ + .user-registration_page_add-new-registration, + .toplevel_page_user-registration { + #wpfooter { + display: none; //Hide WP footer on form builder page + } + + .ur-form-container { + margin: 0; + + .ur-loading-container { + position: fixed; + left: 160px; + right: 0; + top: 0; + bottom: 0; + background: $white; + display: flex; + z-index: 9; + + .ur-circle-loading { + margin: auto; + left: 30px; + } + } + + #menu-management { + margin-top: 0; + + .menu-edit { + position: fixed; + left: 160px; + right: 0; + border: none; + box-shadow: none; + margin-bottom: 0; + } + } + + // Form Builder Fullscreen mode + #ur-full-screen-mode { + &.closed { + .ur-fs-close-label { + display: none; + } + } -@import "templates/template-setup"; + &.opened { + .ur-fs-open-label { + display: none; + } + } + } + } + + #menu-management-liquid { + margin-top: 0; + margin-left: -20px; + min-width: calc(100% + 20px); + } + + #nav-menu-header { + padding: 12px; + display: flex; + align-items: center; + position: relative; + border-color: $border_color; + background-color: $white; + z-index: 9; + + .ur-brand-logo { + border-right: 1px solid $border_color; + + img { + width: 32px; + height: 32px; + margin-right: 8px; + display: flex; + } + a { + text-decoration: none; + border: none; + } + a:focus { + outline: none; + box-shadow: none; + } + } + + &::before, + &::after { + content: ""; + display: flex; + position: absolute; + left: 0; + right: 0; + bottom: 0; + background: $white; + } + + &::before { + top: 0; + z-index: -1; + } + + &::after { + height: 10px; + box-shadow: 0px 4px 8px transparentize($gray_base, 0.92); + z-index: -2; + } + } + + .major-publishing-actions { + clear: both; + line-height: 28px; + margin-left: auto; + + .publishing-action { + text-align: right; + float: right; + + input { + &.code { + width: 280px; + height: 33px; + padding: 0 $spacing_6px; + margin: 0; + border-color: $grey-50; + background: $blue-25; + border-radius: 3px 0 0 3px; + } + } + } + .login-forms-shortcode-action { + input { + &.code { + font-size: large; + width: 320px; + height: 33px; + padding: 0 $spacing_6px; + margin: 0; + border-color: $grey-50; + background: $blue-25; + border-radius: 3px 0 0 3px; + display: inline; + } + } + } + + #copy-shortcode { + margin-left: -5px; + border-radius: 0 4px 4px 0; + background: $blue-50 !important; + border-color: $grey-50 !important; + + svg { + fill: $white; + margin-bottom: 5px; + vertical-align: middle; + } + } + } + } + + /** + * Backbone modal dialog + */ + .ur-backbone-modal { + * { + box-sizing: border-box; + } + + .ur-backbone-modal-content { + position: fixed; + background-color: $white; + z-index: 100000; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + width: 500px; + + article { + overflow: auto; + } + } + + &.ur-backbone-modal-content { + width: 75%; + min-width: 500px; + } + + .select2-container { + width: 100% !important; + } + } + + .ur-backbone-modal-backdrop { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + min-height: 360px; + background-color: $gray_base; + opacity: 0.7; + z-index: 99900; + } + + .ur-backbone-modal-main { + padding-bottom: 55px; + + header, + article { + display: block; + position: relative; + } + + .ur-backbone-modal-header { + height: auto; + background-color: $color_gray_five; + padding: 1em 1.5em; + border-bottom: 1px solid $border_color; + + h1 { + margin: 0; + font-size: 18px; + font-weight: $bold; + line-height: 1.5em; + } + + .modal-close-link { + cursor: pointer; + color: #777; + height: 54px; + width: 54px; + padding: 0; + position: absolute; + top: 0; + right: 0; + text-align: center; + border: 0; + border-left: 1px solid $border_color; + background-color: transparent; + transition: + color 0.1s ease-in-out, + background 0.1s ease-in-out; + + &::before { + font: normal 22px/50px "dashicons" !important; + color: $color_gray_two; + display: block; + content: "\f335"; + font-weight: $light; + } + + &:hover, + &:focus { + background-color: $color_gray_four; + border-color: #ccc; + color: $gray_base; + } + + &:focus { + outline: none; + } + } + } + + article { + padding: 1.5em; + + p { + margin: 1.5em 0; + } + + p:first-child { + margin-top: 0; + } + + p:last-child { + margin-bottom: 0; + } + + .pagination { + padding: 10px 0 0; + text-align: center; + } + } + + footer { + position: absolute; + left: 0; + right: 0; + bottom: 0; + z-index: 100; + padding: 1em 1.5em; + background-color: $color_gray_five; + border-top: 1px solid #dfdfdf; + box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.1); + + .inner { + float: right; + line-height: 23px; + + .button { + margin-bottom: 0; + } + } + } + } + + .user-registration { + textarea[disabled="disabled"] { + background: #dfdfdf !important; + } + + table.form-table { + margin: 0; + position: relative; + + fieldset { + margin-top: 4px; + + img.help_tip, + .user-registration-help-tip { + margin: -3px 0 0 5px; + } + + p.description { + margin-bottom: 8px; + } + + &:first-child { + margin-top: 0; + } + } + + th { + position: relative; + padding-right: 24px; + + label { + display: inline-block; + } + + img.help_tip, + .user-registration-help-tip { + margin: 0 -24px 0 0; + float: right; + } + } + + .select2-container { + display: block; + max-width: 350px; + margin-bottom: 3px; + } + + .forminp-radio ul { + margin: 0; + + li { + line-height: 1.4em; + } + } + + textarea.input-text { + height: 100%; + min-width: 150px; + display: block; + } + + input.regular-input { + width: 25em; + } + + textarea.wide-input { + width: 100%; + } + + .help_tip, + .user-registration-help-tip { + padding: 0; + margin: -4px 0 0 5px; + vertical-align: middle; + cursor: help; + line-height: 1; + } + + .wp-list-table .user-registration-help-tip { + float: none; + } + + .iris-picker { + z-index: 100; + display: none; + position: absolute; + border: 1px solid #ccc; + border-radius: 3px; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); + + .ui-slider { + border: 0 !important; + margin: 0 !important; + width: auto !important; + height: auto !important; + background: none transparent !important; + + .ui-slider-handle { + margin-bottom: 0 !important; + } + } + } + + .colorpickpreview { + padding: 3px; + padding-left: 20px; + border: 1px solid $border_color; + border-right: 0; + } + + .colorpick { + border-left: 0; + } + + .image_width_settings { + vertical-align: middle; + + label { + margin-left: 10px; + } + } + + .dashicons { + margin-bottom: 2px; + vertical-align: middle; + } + + .image-upload { + td { + display: flex; + align-items: baseline; + flex-direction: column; + gap: 10px; + } + } + + .radio-image { + td { + ul { + display: flex; + column-gap: 30px; + + li { + label { + display: flex; + flex-direction: column; + align-items: center; + max-width: 175px; + row-gap: 16px; + border: 1px solid $border_color; + border-radius: 2px; + padding: 8px 16px; + + &.selected { + border-color: #475bb2; + background-color: #475bb230; + color: #475bb2; + font-weight: $semi_bold; + } + + input { + display: none; + } + } + } + } + } + } + } + } + + .ur-registered-from { + display: flex; + background-color: $white; + + * { + box-sizing: border-box; + } + + *:focus { + outline: 0; + } + + a { + text-decoration: none; + } + + h3, + h4 { + color: $gray_base; + font-weight: $medium; + } + + h4 { + font-size: 16px; + } + + .ur-field { + label { + font-weight: $regular; + word-break: break-all; + + &:last-child { + margin-bottom: 0; + } + } + + input { + &[type="radio"], + &[type="checkbox"] { + opacity: 1; + box-shadow: none; + border-color: $border_color; + } + } + + &.user-registration-image-options { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); + gap: $spacing_12px; + + label { + border: $border_width solid #ececec; + padding: $spacing_6px; + border-radius: $border_radius_4; + margin-bottom: 0; + + .user-registration-image-choice { + width: 100%; + height: 100px; + display: block; + margin-bottom: $spacing_8px; + position: relative; + + img { + width: 100%; + height: 100%; + object-fit: cover; + border-radius: $border_radius_2; + } + } -@import "animation"; + input { + &[type="radio"], + &[type="checkbox"] { + display: none; + } + } -/** - * Styling begins - */ -.blockUI.blockOverlay { - @include loader(); -} - -.toplevel_page_user-registration, -.user-registration_page_user-registration-frontend-list { - // Design customize for shortcode in list table - .shortcode { - .widefat { - width: calc(100% - 40px); - } - - .ur-copy-shortcode { - padding: 4px; - line-height: 1; - } - } -} - -.user-registration_page_user-registration-dashboard { - #wpcontent { - margin-left: 140px; - - #wpbody-content { - float: none; - } - } -} - -.user-registration_page_user-registration-settings { - .notice { - display: none; - } -} - -.ur-spinner { - width: 16px; - height: 16px; - margin-left: 6px; - margin-bottom: 2px; - display: inline-block; - vertical-align: middle; - @include loader(); -} + &.ur-image-choice-checked { + color: #0693e3; + border-color: #0693e3; + + .user-registration-image-choice { + &::before { + content: ""; + position: absolute; + width: 100%; + height: 100%; + background: #222; + opacity: 0.45; + z-index: 1; + } + + &::after { + content: ""; + position: absolute; + background: #00be34; + border-radius: 1px; + width: 12px; + height: 12px; + top: 8px; + right: 8px; + z-index: 2; + } + } + } + } + } + } + + .wp-picker-container { + .wp-picker-input-wrap { + label { + display: inline-block; + width: auto; + + input.wp-color-picker { + height: auto; + padding: 3px 5px; + } + } + } + } + + .ur-no-pointer { + pointer-events: none; + } + + .ur-registered-item { + cursor: move; + color: $grey-300; + font-size: 12px; + border-radius: $border_radius_4; + margin: 0 $spacing_8px $spacing_16px; + display: flex; + align-items: center; + flex-direction: column; + justify-content: center; + text-align: center; + width: calc(33.3333% - 16px); + background: #fbfbfd; + border: $border_width solid $blue-50; + height: 100px; + + .ur-icon { + font-size: 26px; + margin-bottom: $spacing_4px; + } + + &:hover { + color: $primary_color; + border-color: $primary_color; + } + + &.ui-draggable-dragging { + width: 110px !important; // Inherit js styles + z-index: 9 !important; + } + + &.ui-draggable-disabled { + position: relative; + opacity: 0.5; + + &::before { + content: ""; + background-image: url("../images/icons/lock-icon.png"); + background-repeat: no-repeat; + background-position: center; + background-size: 100%; + position: absolute; + width: 16px; + height: 16px; + top: $spacing_8px; + right: $spacing_8px; + } + + &.ur-upgradable-field { + cursor: pointer !important; + opacity: 1; + color: $grey-100; + + &::before { + content: ""; + background-image: url("../images/icons/ur-pro-icon.png"); + background-repeat: no-repeat; + background-position: center; + background-size: 100%; + position: absolute; + border-radius: 2px; + width: 16px; + height: 16px; + top: $spacing_8px; + right: $spacing_8px; + } -/** - * Toggle class. - */ -.userregistration-forms-hidden { - display: block; -} - -.userregistration-forms-hidden { - display: none; -} - -.user-registration { - &__wrap { - *, - ::before, - ::after { - box-sizing: border-box; - } - } -} - -.ur-export-users-page { - margin-top: 24px; - - .nav-tab-content { - .nav-tab-inside { - .postbox { - width: 50%; - flex: 1; - - .hndle { - border-bottom: 1px solid #ccd0d4; - } - - .ur-input { - max-width: inherit; - } - } - } - - .hndle, - .stuffbox .hndle { - margin: 10px; - padding-bottom: 10px; - } - - .stuffbox { - padding: 10px; - } - } -} - -.ur-label { - .user-registration-help-tip { - margin-left: 4px; - } - - label span:not(.ur-portal-tooltip) { - margin-left: 3px; - } -} - -.jconfirm-cell { - padding-left: 30%; - padding-right: 30%; -} - -.jconfirm-content-pane { - height: auto !important; - - .ur-shortcut-keyword { - display: flex; - align-items: center; - margin-bottom: 18px; - font-size: 18px; - - .ur-shortcut-title { - flex: 3; - } - - .ur-key { - display: flex; - flex: 2; - column-gap: 8px; - color: #3498db; - - span { - border: 1px solid #3498db; - background-color: #3498db13; - padding: 5px 15px; - border-radius: 2px; - } - - .ur-key-plus { - margin-top: 5px; - font-size: 1.2em; - } - - .ur-key-character { - width: 15px; - padding: 5px 10px; - text-align: center; - } - } - } -} + &:hover { + color: $grey-100; + } + } + + &:hover { + color: $grey-300; + background: #fbfbfd; + border-color: $blue-50; + cursor: not-allowed; + } + } + } + + .ur-registered-inputs { + width: 412px; + + @media (max-width: 1199px) { + width: 360px; + } + + .ur-tabs { + border: 0 none; + padding: 0; + font-size: 14px; + + .ur-tab-contents { + .ur-tab-content { + // padding: 0; + &#ur-tab-field-settings { + margin-top: -$spacing_32px; + margin-left: -$spacing_12px; + margin-right: -$spacing_12px; + } + + .form-settings-tab { + margin-bottom: 0; + border-radius: 0; + padding: $spacing_18px $spacing_24px; + border-bottom: $border_width solid #ececec; + background: transparent; + font-size: 15px; + font-weight: $regular; + line-height: 150%; + display: flex; + align-items: center; + justify-content: space-between; + padding-right: $spacing_16px; + + &::after { + content: ""; + background-image: url("../images/icons/ur-right-arrow.svg"); + background-repeat: no-repeat; + background-size: 100%; + background-position: center; + width: 18px; + height: 18px; + } + + &.active { + background: #fafafa; + color: $primary_color; + font-weight: $semi_bold; + position: relative; + + &::before { + content: ""; + background: $primary_color; + width: 4px; + height: 100%; + position: absolute; + top: 0; + left: 0; + } + + &::after { + filter: invert(36%) sepia(58%) saturate(767%) + hue-rotate(193deg) brightness(84%) + contrast(88%); + } + } + } + } -/** - * Addons page - **/ -.ur_addons_wrap { - p.refresh { - margin: 0 0 2em; - } - - .wp-filter { - display: none; - } - - .plugin-card { - position: relative; - - h3 { - margin: 0; - font-size: 18px; - font-weight: $semi_bold; - line-height: 24px; - } - - .name, - .desc { - margin-right: 0; - margin-left: 156px; - } - - .plugin-card-left { - .plugin-icon { - height: 140px; - width: 140px; - border: 1px solid #eee; - border-radius: 2px; - background-size: contain; - background-repeat: no-repeat; - } - } - - .plugin-card-right { - display: flex; - flex-direction: column; - align-items: flex-start; - padding: 20px; - background-color: #fcfcff; - border: 1px solid #b7c4ff; - min-height: 130px; - - .plugin-desc { - overflow: hidden; - display: -webkit-box; - -webkit-line-clamp: 3; - -webkit-box-orient: vertical; - } - - .plugin-card-buttons { - margin-left: 148px; - - .action-buttons { - float: right; - clear: right; - max-width: 180px; - margin-left: 10px; - - .install-now:hover { - border-radius: 2px; - background-color: #475bb2; - color: #fff; - } - - .upgrade-now { - background: #475bb2 !important; - color: #fff; - font-weight: $medium; - } - - .upgrade-now:hover { - background: #516be0 !important; - color: #fff; - } - - &.upgrade-plan { - margin: 0 auto; - } - } - } - } - } - - .plugin-card-update-failed { - .notice-error { - margin: 0; - padding: 9px 16px 8px; - - .notice-dismiss { - padding: 17px; - } - } - } - - @media screen and (max-width: 782px) { - .plugin-card { - .plugin-card-bottom { - .action-buttons { - .button.updating-message { - &::before, - &::after { - margin-top: -1px; - } - } - } - } - } - - .plugin-card-update-failed { - .notice-error { - padding: 13px 20px; - - .notice-dismiss { - padding: 21px; - } - } - } - } -} - -.clear { - clear: both; -} - -.wrap.user-registration div.updated, -.wrap.user-registration div.error { - margin-top: 10px; -} + &.ps--active-y { + .ur-tab-content { + padding: $spacing_32px $spacing_12px $spacing_12px; + } + } + } -/** - * Form Builder Styles - **/ -.user-registration_page_add-new-registration, -.toplevel_page_user-registration { - #wpfooter { - display: none; //Hide WP footer on form builder page - } - - .ur-form-container { - margin: 0; - - .ur-loading-container { - position: fixed; - left: 160px; - right: 0; - top: 0; - bottom: 0; - background: $white; - display: flex; - z-index: 9; - - .ur-circle-loading { - margin: auto; - left: 30px; - } - } - - #menu-management { - margin-top: 0; - - .menu-edit { - position: fixed; - left: 160px; - right: 0; - border: none; - box-shadow: none; - margin-bottom: 0; - } - } - - // Form Builder Fullscreen mode - #ur-full-screen-mode { - &.closed { - .ur-fs-close-label { - display: none; - } - } - - &.opened { - .ur-fs-open-label { - display: none; - } - } - } - } - - #menu-management-liquid { - margin-top: 0; - margin-left: -20px; - min-width: calc(100% + 20px); - } - - #nav-menu-header { - padding: 12px; - display: flex; - align-items: center; - position: relative; - border-color: $border_color; - background-color: $white; - z-index: 9; - - .ur-brand-logo { - border-right: 1px solid $border_color; - - img { - width: 32px; - height: 32px; - margin-right: 8px; - display: flex; - } - a { - text-decoration: none; - border: none; - } - a:focus { - outline: none; - box-shadow: none; - } - } - - &::before, - &::after { - content: ""; - display: flex; - position: absolute; - left: 0; - right: 0; - bottom: 0; - background: $white; - } - - &::before { - top: 0; - z-index: -1; - } - - &::after { - height: 10px; - box-shadow: 0px 4px 8px transparentize($gray_base, 0.92); - z-index: -2; - } - } - - .major-publishing-actions { - clear: both; - line-height: 28px; - margin-left: auto; - - .publishing-action { - text-align: right; - float: right; - - input { - &.code { - width: 280px; - height: 33px; - padding: 0 $spacing_6px; - margin: 0; - border-color: $grey-50; - background: $blue-25; - border-radius: 3px 0 0 3px; - } - } - } - .login-forms-shortcode-action { - input { - &.code { - font-size: large; - width: 320px; - height: 33px; - padding: 0 $spacing_6px; - margin: 0; - border-color: $grey-50; - background: $blue-25; - border-radius: 3px 0 0 3px; - display: inline; - } - } - } - - #copy-shortcode { - margin-left: -5px; - border-radius: 0 4px 4px 0; - background: $blue-50 !important; - border-color: $grey-50 !important; - - svg { - fill: $white; - margin-bottom: 5px; - vertical-align: middle; - } - } - } -} + .ur-tab-content { + .ur-general-setting-block { + .ur-toggle-heading { + margin-top: 0; + } + } + } + + .ur-tab-lists { + background-color: $color_gray_five; + background-image: none; + padding: 0; + border-radius: 0; + margin: 0; + display: flex; + justify-content: space-between; + border-bottom: none; + border-top: 0 none; + border-right: 0 none; + border-left: 0 none; + + li { + background-color: transparent; + background-image: none; + border-radius: 0; + margin: 0; + margin-bottom: -2px; + padding: 0px; + border: 0; + flex: 1; + text-align: center; + border-top: 4px solid transparent; + transition: all 0.3s ease-in-out; + + &.active { + margin-bottom: 0; + padding-bottom: 0; + } + + a { + float: none; + text-decoration: none; + margin: 0; + border: none; + display: block; + color: $grey-400; + background: $grey-25; + padding: $spacing_8px $spacing_16px $spacing_14px; + font-weight: $medium; + cursor: pointer; + font-size: 15px; + + &:focus { + box-shadow: + 0 0 0 0px transparent, + 0 0 0px 0px transparent; + } + + &.active { + background-color: $white; + color: $primary_color; + line-height: 24px; + } + } + + &.ui-state-hover, + &.ui-state-active { + border-top: 4px solid $primary_color; + } + + &.ui-state-disabled { + position: relative; + opacity: 1; + + &:hover { + &::before { + content: ""; + position: absolute; + border-bottom: 15px solid #383838; + border-left: 12px solid transparent; + border-right: 12px solid transparent; + bottom: 0; + left: 50%; + transform: translateX(-50%); + z-index: 1; + } + + &::after { + content: "You need to select a \A field in order to enable/ \A view this option"; + white-space: pre; + text-align: left; + position: absolute; + width: 175px; + height: auto; + z-index: 9; + bottom: -80px; + left: 50%; + transform: translateX(-50%); + background: #383838; + color: #fff; + font-size: 14px; + line-height: 150%; + border-radius: $border_radius_5; + padding: $spacing_10px $spacing_12px; + } + } + + a { + // cursor: not-allowed; + opacity: 0.25; + } + } + } + } + + .ur-tab-contents { + height: calc(100vh - 130px); + position: relative; + overflow-y: auto; + } + + .ur-tab-content { + padding: $spacing_32px $spacing_12px $spacing_12px; + + .ur-search-fields { + display: flex; + align-items: center; + position: relative; + margin-bottom: 26px; + + input.ur-type-text { + height: 40px; + font-size: 14px; + background: transparent; + border-color: $grey-100; + border-radius: $border_radius_4; + padding: $spacing_10px $spacing_16px; + color: $grey-200; + + &::placeholder { + color: $grey-200; + } + } + + svg { + position: absolute; + right: 16px; + width: 18px; + height: 18px; + fill: $grey-200; + } + } -/** - * Backbone modal dialog - */ -.ur-backbone-modal { - * { - box-sizing: border-box; - } - - .ur-backbone-modal-content { - position: fixed; - background-color: $white; - z-index: 100000; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - width: 500px; - - article { - overflow: auto; - } - } - - &.ur-backbone-modal-content { - width: 75%; - min-width: 500px; - } - - .select2-container { - width: 100% !important; - } -} - -.ur-backbone-modal-backdrop { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - min-height: 360px; - background-color: $gray_base; - opacity: 0.7; - z-index: 99900; -} - -.ur-backbone-modal-main { - padding-bottom: 55px; - - header, - article { - display: block; - position: relative; - } - - .ur-backbone-modal-header { - height: auto; - background-color: $color_gray_five; - padding: 1em 1.5em; - border-bottom: 1px solid $border_color; - - h1 { - margin: 0; - font-size: 18px; - font-weight: $bold; - line-height: 1.5em; - } - - .modal-close-link { - cursor: pointer; - color: #777; - height: 54px; - width: 54px; - padding: 0; - position: absolute; - top: 0; - right: 0; - text-align: center; - border: 0; - border-left: 1px solid $border_color; - background-color: transparent; - transition: - color 0.1s ease-in-out, - background 0.1s ease-in-out; - - &::before { - font: normal 22px/50px "dashicons" !important; - color: $color_gray_two; - display: block; - content: "\f335"; - font-weight: $light; - } - - &:hover, - &:focus { - background-color: $color_gray_four; - border-color: #ccc; - color: $gray_base; - } - - &:focus { - outline: none; - } - } - } - - article { - padding: 1.5em; - - p { - margin: 1.5em 0; - } - - p:first-child { - margin-top: 0; - } - - p:last-child { - margin-bottom: 0; - } - - .pagination { - padding: 10px 0 0; - text-align: center; - } - } - - footer { - position: absolute; - left: 0; - right: 0; - bottom: 0; - z-index: 100; - padding: 1em 1.5em; - background-color: $color_gray_five; - border-top: 1px solid #dfdfdf; - box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.1); - - .inner { - float: right; - line-height: 23px; - - .button { - margin-bottom: 0; - } - } - } -} - -.user-registration { - textarea[disabled="disabled"] { - background: #dfdfdf !important; - } - - table.form-table { - margin: 0; - position: relative; - - fieldset { - margin-top: 4px; - - img.help_tip, - .user-registration-help-tip { - margin: -3px 0 0 5px; - } - - p.description { - margin-bottom: 8px; - } - - &:first-child { - margin-top: 0; - } - } - - th { - position: relative; - padding-right: 24px; - - label { - display: inline-block; - } - - img.help_tip, - .user-registration-help-tip { - margin: 0 -24px 0 0; - float: right; - } - } - - .select2-container { - display: block; - max-width: 350px; - margin-bottom: 3px; - } - - .forminp-radio ul { - margin: 0; - - li { - line-height: 1.4em; - } - } - - textarea.input-text { - height: 100%; - min-width: 150px; - display: block; - } - - input.regular-input { - width: 25em; - } - - textarea.wide-input { - width: 100%; - } - - .help_tip, - .user-registration-help-tip { - padding: 0; - margin: -4px 0 0 5px; - vertical-align: middle; - cursor: help; - line-height: 1; - } - - .wp-list-table .user-registration-help-tip { - float: none; - } - - .iris-picker { - z-index: 100; - display: none; - position: absolute; - border: 1px solid #ccc; - border-radius: 3px; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); - - .ui-slider { - border: 0 !important; - margin: 0 !important; - width: auto !important; - height: auto !important; - background: none transparent !important; - - .ui-slider-handle { - margin-bottom: 0 !important; - } - } - } - - .colorpickpreview { - padding: 3px; - padding-left: 20px; - border: 1px solid $border_color; - border-right: 0; - } - - .colorpick { - border-left: 0; - } - - .image_width_settings { - vertical-align: middle; - - label { - margin-left: 10px; - } - } - - .dashicons { - margin-bottom: 2px; - vertical-align: middle; - } - - .image-upload { - td { - display: flex; - align-items: baseline; - flex-direction: column; - gap: 10px; - } - } - - .radio-image { - td { - ul { - display: flex; - column-gap: 30px; - - li { - label { - display: flex; - flex-direction: column; - align-items: center; - max-width: 175px; - row-gap: 16px; - border: 1px solid $border_color; - border-radius: 2px; - padding: 8px 16px; - - &.selected { - border-color: #475bb2; - background-color: #475bb230; - color: #475bb2; - font-weight: $semi_bold; - } - - input { - display: none; - } - } - } - } - } - } - } -} - -.ur-registered-from { - display: flex; - background-color: $white; - - * { - box-sizing: border-box; - } - - *:focus { - outline: 0; - } - - a { - text-decoration: none; - } - - h3, - h4 { - color: $gray_base; - font-weight: $medium; - } - - h4 { - font-size: 16px; - } - - .ur-field { - label { - font-weight: $regular; - word-break: break-all; - - &:last-child { - margin-bottom: 0; - } - } - - input { - &[type="radio"], - &[type="checkbox"] { - opacity: 1; - box-shadow: none; - border-color: $border_color; - } - } - - &.user-registration-image-options { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); - gap: $spacing_12px; - - label { - border: $border_width solid #ececec; - padding: $spacing_6px; - border-radius: $border_radius_4; - margin-bottom: 0; - - .user-registration-image-choice { - width: 100%; - height: 100px; - display: block; - margin-bottom: $spacing_8px; - position: relative; - - img { - width: 100%; - height: 100%; - object-fit: cover; - border-radius: $border_radius_2; - } - } - - input { - &[type="radio"], - &[type="checkbox"] { - display: none; - } - } - - &.ur-image-choice-checked { - color: #0693e3; - border-color: #0693e3; - - .user-registration-image-choice { - &::before { - content: ""; - position: absolute; - width: 100%; - height: 100%; - background: #222; - opacity: 0.45; - z-index: 1; - } - - &::after { - content: ""; - position: absolute; - background: #00be34; - border-radius: 1px; - width: 12px; - height: 12px; - top: 8px; - right: 8px; - z-index: 2; - } - } - } - } - } - } - - .wp-picker-container { - .wp-picker-input-wrap { - label { - display: inline-block; - width: auto; - - input.wp-color-picker { - height: auto; - padding: 3px 5px; - } - } - } - } - - .ur-no-pointer { - pointer-events: none; - } - - .ur-registered-item { - cursor: move; - color: $grey-300; - font-size: 12px; - border-radius: $border_radius_4; - margin: 0 $spacing_8px $spacing_16px; - display: flex; - align-items: center; - flex-direction: column; - justify-content: center; - text-align: center; - width: calc(33.3333% - 16px); - background: #fbfbfd; - border: $border_width solid $blue-50; - height: 100px; - - .ur-icon { - font-size: 26px; - margin-bottom: $spacing_4px; - } - - &:hover { - color: $primary_color; - border-color: $primary_color; - } - - &.ui-draggable-dragging { - width: 110px !important; // Inherit js styles - z-index: 9 !important; - } - - &.ui-draggable-disabled { - position: relative; - opacity: 0.5; - - &::before { - content: ""; - background-image: url("../images/icons/lock-icon.png"); - background-repeat: no-repeat; - background-position: center; - background-size: 100%; - position: absolute; - width: 16px; - height: 16px; - top: $spacing_8px; - right: $spacing_8px; - } - - &.ur-upgradable-field { - cursor: pointer !important; - opacity: 1; - color: $grey-100; - - &::before { - content: ""; - background-image: url("../images/icons/ur-pro-icon.png"); - background-repeat: no-repeat; - background-position: center; - background-size: 100%; - position: absolute; - border-radius: 2px; - width: 16px; - height: 16px; - top: $spacing_8px; - right: $spacing_8px; - } - - &:hover { - color: $grey-100; - } - } - - &:hover { - color: $grey-300; - background: #fbfbfd; - border-color: $blue-50; - cursor: not-allowed; - } - } - } - - .ur-registered-inputs { - width: 412px; - - @media (max-width: 1199px) { - width: 360px; - } - - .ur-tabs { - border: 0 none; - padding: 0; - font-size: 14px; - - .ur-tab-contents { - .ur-tab-content { - // padding: 0; - &#ur-tab-field-settings { - margin-top: -$spacing_32px; - margin-left: -$spacing_12px; - margin-right: -$spacing_12px; - } - - .form-settings-tab { - margin-bottom: 0; - border-radius: 0; - padding: $spacing_18px $spacing_24px; - border-bottom: $border_width solid #ececec; - background: transparent; - font-size: 15px; - font-weight: $regular; - line-height: 150%; - display: flex; - align-items: center; - justify-content: space-between; - padding-right: $spacing_16px; - - &::after { - content: ""; - background-image: url("../images/icons/ur-right-arrow.svg"); - background-repeat: no-repeat; - background-size: 100%; - background-position: center; - width: 18px; - height: 18px; - } - - &.active { - background: #fafafa; - color: $primary_color; - font-weight: $semi_bold; - position: relative; - - &::before { - content: ""; - background: $primary_color; - width: 4px; - height: 100%; - position: absolute; - top: 0; - left: 0; - } - - &::after { - filter: invert(36%) sepia(58%) saturate(767%) - hue-rotate(193deg) brightness(84%) - contrast(88%); - } - } - } - } - - &.ps--active-y { - .ur-tab-content { - padding: $spacing_32px $spacing_12px $spacing_12px; - } - } - } - - .ur-tab-content { - .ur-general-setting-block { - .ur-toggle-heading { - margin-top: 0; - } - } - } - - .ur-tab-lists { - background-color: $color_gray_five; - background-image: none; - padding: 0; - border-radius: 0; - margin: 0; - display: flex; - justify-content: space-between; - border-bottom: none; - border-top: 0 none; - border-right: 0 none; - border-left: 0 none; - - li { - background-color: transparent; - background-image: none; - border-radius: 0; - margin: 0; - margin-bottom: -2px; - padding: 0px; - border: 0; - flex: 1; - text-align: center; - border-top: 4px solid transparent; - transition: all 0.3s ease-in-out; - - &.active { - margin-bottom: 0; - padding-bottom: 0; - } - - a { - float: none; - text-decoration: none; - margin: 0; - border: none; - display: block; - color: $grey-400; - background: $grey-25; - padding: $spacing_8px $spacing_16px $spacing_14px; - font-weight: $medium; - cursor: pointer; - font-size: 15px; - - &:focus { - box-shadow: - 0 0 0 0px transparent, - 0 0 0px 0px transparent; - } - - &.active { - background-color: $white; - color: $primary_color; - line-height: 24px; - } - } - - &.ui-state-hover, - &.ui-state-active { - border-top: 4px solid $primary_color; - } - - &.ui-state-disabled { - position: relative; - opacity: 1; - - &:hover { - &::before { - content: ""; - position: absolute; - border-bottom: 15px solid #383838; - border-left: 12px solid transparent; - border-right: 12px solid transparent; - bottom: 0; - left: 50%; - transform: translateX(-50%); - z-index: 1; - } - - &::after { - content: "You need to select a \A field in order to enable/ \A view this option"; - white-space: pre; - text-align: left; - position: absolute; - width: 175px; - height: auto; - z-index: 9; - bottom: -80px; - left: 50%; - transform: translateX(-50%); - background: #383838; - color: #fff; - font-size: 14px; - line-height: 150%; - border-radius: $border_radius_5; - padding: $spacing_10px $spacing_12px; - } - } - - a { - // cursor: not-allowed; - opacity: 0.25; - } - } - } - } - - .ur-tab-contents { - height: calc(100vh - 130px); - position: relative; - overflow-y: auto; - } - - .ur-tab-content { - padding: $spacing_32px $spacing_12px $spacing_12px; - - .ur-search-fields { - display: flex; - align-items: center; - position: relative; - margin-bottom: 26px; - - input.ur-type-text { - height: 40px; - font-size: 14px; - background: transparent; - border-color: $grey-100; - border-radius: $border_radius_4; - padding: $spacing_10px $spacing_16px; - color: $grey-200; - - &::placeholder { - color: $grey-200; - } - } - - svg { - position: absolute; - right: 16px; - width: 18px; - height: 18px; - fill: $grey-200; - } - } - - .ur-fields-not-found { - text-align: center; - margin-top: 2.85em; - - .ur-fields-not-found-title { - font-size: 1.7em; - } - } - - &#ur-tab-registered-fields, - &#ur-tab-field-options { - background-color: $white; - } - - h2 { - margin: $spacing_16px 0 $spacing_14px; - font-size: 15px; - line-height: 150%; - font-weight: $medium; - color: $grey-400; - - ~ hr { - border-top: 1px solid $border-color; - margin: 0; - } - } - - .ur-registered-list { - display: flex; - flex-wrap: wrap; - width: calc(100% + 16px); - margin-left: -$spacing_8px; - margin-top: $spacing_18px; - - &:last-child { - margin-bottom: 0; - } - } - } - } - - .ur-toggle-heading { - cursor: pointer; - display: flex; - align-items: center; - justify-content: space-between; - flex-direction: row-reverse; - - &:before { - content: ""; - background-image: url("../images/icons/ur-arrow-down.svg"); - background-repeat: no-repeat; - background-position: center; - background-size: 100%; - float: right; - transform: rotate(180deg); - width: 18px; - height: 18px; - transition: all 0.3s ease-in-out; - - // content: "\f142"; - // cursor: pointer; - // display: block; - // font: 400 20px/1 Dashicons; - // line-height: 0.5 !important; - // padding: 4px; - // position: relative; - // right: 0; - // top: 0; - // float: right; - } - - &.closed { - &:before { - // content: "\f140"; - transform: rotate(0deg); - } - } - } - } - - input[type="text"], - input[type="date"], - input[type="email"], - input[type="file"], - input[type="month"], - input[type="number"], - input[type="phone"], - input[type="password"], - input[type="tel"], - input[type="time"], - input[type="url"], - input[type="week"], - input[type="timepicker"], - textarea, - .ui-widget select, - select { - width: 100%; - max-width: 100%; - height: 32px; - line-height: initial; - display: block; - color: $color_gray_one; - font-size: 13px; - padding: 4px 8px; - border-radius: 3px; - border: 1px solid $border_color; - box-shadow: 0 0 0 transparent; - - &:focus { - border-color: $primary_color; - } - - &::placeholder { - color: $color_gray_three; - } - - &:disabled { - color: $color_gray_three; - background: $color_gray_five; - } - } - - select { - padding-right: 0; - } - - label { - display: block; - width: 100%; - margin-bottom: 8px; - color: $color_gray_one; - font-size: 13px; - font-weight: $medium; - line-height: 1.25; - } - - textarea { - padding: 10px; - height: 100px; - } - - .ur-builder-wrapper { - position: relative; - flex: 1; - height: calc(100vh - 89px); - background: #f1f4f8; - border-left: 1px solid $border_color; - overflow-y: auto; - - input[type="text"], - input[type="date"], - input[type="email"], - input[type="file"], - input[type="month"], - input[type="number"], - input[type="phone"], - input[type="password"], - input[type="tel"], - input[type="time"], - input[type="url"], - input[type="week"], - input[type="timepicker"], - textarea, - select { - &:disabled { - background: $white; - } - } - - .ur-builder-header { - display: flex; - align-items: center; - justify-content: space-between; - } - - &.ur-multipart { - .ur-button-quick-links { - bottom: 60px; - } - - .ur-builder-wrapper-footer { - .button.button-style-customizer { - bottom: 124px; - } - } - } - } - - .ur-selected-inputs { - box-sizing: border-box; - padding: 0 20px; - - .ur-single-row { - border-radius: 3px; - position: relative; - border: 1px solid transparent; - - &:last-child { - margin-bottom: 0; - } - - .ur-grids { - display: flex; - position: absolute; - right: 0; - z-index: 1; - opacity: 0; - transition: all 0.2s ease-in; - - button { - display: flex; - border-radius: 0; - border: 0; - background-color: $color_gray_two; - color: $white; - font-size: 16px; - height: auto; - width: auto; - cursor: pointer; - margin: 0; - padding: 4px 6px; - line-height: 1; - transition: all 0.1s ease-in-out; - - svg { - width: 16px; - height: 16px; - font-size: 16px; - fill: $grey-0; - margin-left: 1px; - } - - &:before { - font-family: "dashicons"; - } - - &.ur-remove-row { - &:hover { - background: $red; - } - } - - &:hover { - background: $primary_color; - } - - &:first-child { - // border-radius: 3px 0 0 3px; - border-radius: 0 0 0 $border_radius_7; - border-right: 1px solid transparentize($white, 0.8); - } - - &:nth-child(2) { - border-radius: 0 $border_radius_7 0 0; - // background: $grey-50; - border-left: $border_width solid $grey-0; - } - } - - .ur-toggle-grid-content { - background: $white; - padding: 1rem; - position: absolute; - top: 40px; - right: 0; - display: flex; - flex-wrap: wrap; - justify-content: center; - white-space: nowrap; - border: 1px solid $border_color; - border-radius: 4px; - box-shadow: 1px 4px 14px 1px transparentize($gray_base, 0.9); - - small { - font-size: 12px; - margin-bottom: 0.5rem; - color: $color_gray-two; - } - - .ur-grid-selector { - cursor: pointer; - display: flex; - margin-right: 0.5rem; - - svg { - width: 32px; - height: 32px; - fill: $color_gray_two; - } - - &:last-child { - margin-right: 0; - } - } - - &::before { - content: ""; - width: 8px; - height: 8px; - border: solid $border_color; - border-width: 1px; - border-left: transparent; - border-bottom: transparent; - position: absolute; - top: -5px; - right: 36px; - background: $white; - transform: rotate(-45deg); - } - } - } - - .ur-grid-lists { - width: 100%; - display: flex; - text-align: center; - box-sizing: border-box; - justify-content: center; - border: 1px solid transparent; - border-radius: 4px; - transition: all 0.2s ease-in; - border-left: 0; - - .ur-grid-list-item { - display: inline-block; - text-align: left; - border: 0 none; - padding: 15px; - flex: 1; - border: 1px solid transparent; - border-radius: 4px; - transition: all 0.2s ease-in; - - .ur-selected-item { - margin-bottom: 5px; - position: relative; - padding: 15px; - cursor: move; - border: 1px solid transparent; - border-radius: 4px; - transition: border-color 0.35s; - - .select2-container { - width: 100% !important; - - .select2-search--inline { - .select2-search__field { - height: auto; - min-width: 10px; - background: none; - margin: 0; - } - } - } - - .ur-input-type-signature { - canvas { - background: transparentize($white, 0.5); - border: 1px solid $border_color; - } - } - - &:last-child { - margin-bottom: 0; - } - - &:hover, - &.ur-item-active { - background: $white; - border: 1px solid $primary_color; - } - - &.ui-sortable-helper { - box-shadow: 0 0 10px 5px - transparentize($gray_base, 0.9); - } - - &.ui-sortable-placeholder { - visibility: visible !important; - border: 1px dashed $color_gray_three; - background-color: $color_gray_five; - } - - .ur-action-buttons { - display: none; - position: absolute; - right: 10px; - width: 50px; - text-align: center; - padding: 0; - font-size: 10px; - top: 10px; - color: $color_gray_three; - top: 0; - right: -1px; - - span { - cursor: pointer; - font-size: 16px; - height: auto; - - &:hover { - color: $primary_color; - } - - &:first-child { - background: #676f8a; - padding: $spacing_4px; - width: 24px; - height: 24px; - border-radius: 0 0 0 $border_radius_7; - - &::before { - // content: ""; - // background-image: url("../images/icons/copy-icon.svg"); - // background-repeat: no-repeat; - // background-position: center; - // background-size: 100%; - // width: 14.22px; - // height: 14.22px; - // display: block; - color: $grey-0; - } - } - - &:last-child { - background: #676d8a; - padding: $spacing_4px; - width: 24px; - height: 24px; - border-radius: 0 $border_radius_7 0 0; - border-left: $border_width solid $grey-0; - - &:before { - content: "\f335" !important; - color: $grey-0; - } - } - } - - &:hover { - .ur-action-buttons { - display: block; - top: 0; - right: -3px; - } - } - - .ur-trash { - &:hover { - color: $red; - } - } - } - - .ur_label_top_left { - text-align: left; - } - - .ur_label_center { - text-align: center; - } - - .ur_label_top_right { - text-align: right; - } - - .ur_label_disabled { - display: none; - } - - &:hover { - .ur-action-buttons { - display: block; - } - } - } - - > li.ur-item-dragged { - list-style: none; - width: 100%; - text-align: center; - height: 60px !important; - box-sizing: border-box; - - .spinner { - float: none; - } - } - - .user-registration-dragged-me { - display: table; - width: 100%; - height: 100%; - - .user-registration-dragged-me-text { - display: table-cell; - vertical-align: middle; - text-align: center; - - p { - display: inline-block; - position: relative; - color: $color_gray_three; - padding-left: 26px; - padding-top: 8px; - - &::before { - position: absolute; - font-family: "Dashicons"; - content: "\f545"; - font-size: 22px; - left: 0; - top: 0; - } - } - } - - &:empty { - padding: 15px; - text-align: center; - border-radius: 4px; - border: 1px dashed $color_gray_three; - background-color: $color_gray_five; - - &::before { - content: "\f132"; - font-size: 32px; - color: $color_gray_three; - width: 32px; - height: 32px; - font-family: dashicons; - display: table-cell; - vertical-align: middle; - } - } - } - - &.ur-sortable-active { - .ur-registered-item { - margin-bottom: 0; - } - - .user-registration-dragged-me { - display: none; - } - } - - &:first-child { - border-radius: 4px 0 0 4px; - } - - &:nth-child(2) { - border-radius: 0; - } - - &:nth-child(3) { - border-radius: 0 4px 4px 0; - } - } - } - - &:hover { - .ur-grids { - opacity: 1; - } - - .ur-grid-lists { - background: $white; - border: 1px solid $color_gray_three; - - .ur-grid-list-item { - border-left: 1px solid $color_gray_three; - - &:first-child { - border-color: transparent; - } - } - } - } - } - - .ur-row-buttons { - display: flex; - justify-content: center; - margin-top: 10px; - - .button { - display: block; - width: auto; - height: 32px; - text-align: center; - font-family: inherit; - - &::before { - width: 16px; - height: 16px; - font-size: 16px; - margin-right: 10px; - font-family: dashicons; - vertical-align: middle; - padding: 1px 10px 1px 0; - border-right: 1px solid transparentize($white, 0.7); - } - } - } - - li.ur-registered-item { - width: 120px !important; - - &.ui-sortable-placeholder { - margin-left: 0; - width: 100% !important; - visibility: visible !important; - border: 1px dashed $color_gray_three; - background-color: $color_gray_five; - } - } - } - - .ur-builder-wrapper-footer { - .button.button-style-customizer { - height: 48px !important; - width: 48px !important; - bottom: 72px !important; - box-shadow: 1px 2px 8px transparentize($gray_base, 0.85); - - .dashicons { - font-size: 24px; - height: 24px; - width: 24px; - } - } - - .ur-button-quick-links { - width: 48px; - height: 48px; - position: fixed; - cursor: pointer; - color: $color_gray-one; - display: flex; - align-items: center; - justify-content: center; - right: 32px; - bottom: 16px; - background: $white; - border: 1px solid $border_color; - border-radius: 24px; - box-shadow: 0px 2px 10px transparentize($gray_base, 0.9); - z-index: 1; - - span { - font-size: 20px; - font-weight: $semi_bold; - margin: 0 auto; - } - } - - .ur-quick-links-content { - position: fixed; - background: $white; - padding: 12px 16px; - border-radius: 4px; - bottom: 58px; - right: 30px; - z-index: 2; - width: 225px; - border: 1px solid $border_color; - box-shadow: 2px 4px 12px transparentize($gray_base, 0.9); - - li { - margin-bottom: 8px; - } - - a { - color: $color_gray_one; - - &:hover { - color: $primary_color; - } - } - } - } - - .ur-general-setting, - .ur-advance-setting { - margin: $spacing_16px 0; - - .select2-search--inline { - display: none; - } - } - - .ur-advance-setting-block { - // margin-top: 25px; - margin-top: 0; - } - - .form-row { - .description { - color: $grey-300; - margin: $spacing_4px 0; - display: block; - } - - .ur-radio-list, - .ur-checkbox-list { - label { - display: inline; - } - } - } - - .ur-general-setting-block, - .ur-advance-setting-block { - display: none; - } - - .add, - .remove { - background: $white; - border: $border_width solid $border_color; - color: $color_gray_two; - cursor: pointer; - display: flex; - flex: 1 0 32px; - align-items: center; - justify-content: center; - height: 32px; - max-width: 32px; - border-radius: $border_radius_4; - position: relative; - - &:hover { - background: $primary_color; - border-color: $primary_color; - color: $white; - } - - .dashicons { - line-height: 22px; - } - - &.add-icon-group, - &.remove-icon-group { - flex: unset; - max-width: unset; - } - } - - .ur-options-list { - li { - display: flex; - align-items: center; - background-color: #f5f5f5; - - .editor-block-mover__control-drag-handle { - cursor: grab; - - svg { - fill: $color_gray_two; - } - } - - .ur-multiple-choice .ur-subscription-plan { - .ur-regular-price, - .ur-selling-price { - display: grid; - grid-template-columns: 1fr 1fr; - gap: $spacing_8px; - padding: $spacing_4px; - input { - width: 100%; - } - } - } - - &.ur-multiple-choice, - &.ur-subscription-plan { - gap: $spacing_8px; - - input { - margin-right: 0; - } - - > input[type="text"] { - width: 80%; - } - .ur-regular-price, - .ur-selling-price { - position: relative; - - span { - position: absolute; - top: 0; - background: #e7e7e7; - padding: $spacing_6px $spacing_8px; - color: $grey-400; - border-radius: $border_radius_3; - top: -60px; - font-size: 13px; - opacity: 0; - visibility: hidden; - transition: all 0.3s ease-in-out; - - &::after { - content: ""; - border: 8px solid transparent; - border-top-color: #e7e7e7; - height: 0; - left: 50%; - transform: translateX(-50%); - position: absolute; - top: 100%; - width: 0; - } - } - - &:hover { - span { - visibility: visible; - opacity: 1; - } - } - } - - .add { - margin-right: 0; - } - } - } - - .ui-sortable-handle { - padding: $spacing_5px; - border-radius: $border_radius_3; - border: $border_width solid transparent; - flex-direction: column; - gap: 12px; - - &:active { - padding: $spacing_5px; - background: $white; - border: $border_width solid $primary_color; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); - } - - &.ui-sortable-placeholder { - background-color: $color_gray_four; - visibility: visible !important; - } - - .ur-options-value-wrapper { - display: flex; - align-items: center; - gap: $spacing_8px; - width: 100%; - } - - .ur-image-choice-wrapper { - width: 100%; - - .upload-button { - padding: $spacing_8px $spacing_12px; - font-size: 14px; - width: 100%; - border: $border_width dashed #d3d3d3; - border-radius: $border_radius_3; - color: #616161; - cursor: pointer; - } - - .ur-thumbnail-image { - margin-top: $spacing_16px; - margin-bottom: $spacing_8px; - } - } - } - } - - .urcl-rules { - display: flex; - flex-wrap: wrap; - margin-bottom: $spacing_8px; - - > div { - margin-right: $spacing_8px; - } - - .urcl-operator { - width: 78px; - } - - .urcl-field, - .urcl-value { - max-width: 27%; - flex: 1 0 27%; - } - } -} + .ur-fields-not-found { + text-align: center; + margin-top: 2.85em; -/** - * Tooltips - */ + .ur-fields-not-found-title { + font-size: 1.7em; + } + } -.tips { - cursor: help; - text-decoration: none; -} - -img.tips { - padding: $spacing_5px 0 0; -} - -.ur_error_tip { - max-width: 20em; - line-height: 1.8em; - position: absolute; - white-space: normal; - background: $red; - margin: 1.5em 1px 0 -1em; - z-index: 9999999; - - &::after { - content: ""; - display: block; - border: $border_radius_8 solid $red; - border-right-color: transparent; - border-left-color: transparent; - border-top-color: transparent; - position: absolute; - top: -3px; - left: 50%; - margin: -1em 0 0 -3px; - } -} - -.tooltipster-base { - .tooltipster-box { - // background-color: #4c5477 !important; - background: $grey-400 !important; - padding: $spacing_4px $spacing_8px; - border-radius: $border_radius_2; - text-align: center; - - .tooltipster-content { - padding: $spacing_2px 0; - } - - .tooltipster-content a { - color: #9ef01a !important; - } - } - - .tooltipster-arrow { - .tooltipster-arrow-uncropped { - .tooltipster-arrow-border { - border-top-color: $grey-400 !important; - border-bottom-color: $grey-400 !important; - // border-bottom-color: #4c5477 !important; - // border-top-color: #4c5477 !important; - } - } - } - - &.ur-selling-price-tooltip { - .tooltipster-box { - background-color: rgb(244, 73, 73) !important; - border: rgb(244, 73, 73); - } - .tooltipster-arrow { - .tooltipster-arrow-uncropped { - .tooltipster-arrow-border { - border-top-color: rgb(244, 73, 73) !important; - border-bottom-color: rgb(244, 73, 73) !important; - } - .tooltipster-arrow-background { - border-top-color: rgb(244, 73, 73) !important; - } - } - } - } -} + &#ur-tab-registered-fields, + &#ur-tab-field-options { + background-color: $white; + } -/** - * Help Tip - */ -.user-registration-help-tip, -.ur-portal-tooltip { - color: $color_gray_two; - display: inline-block; - font-size: 22px; - font-style: normal; - height: 16px; - line-height: 16px; - position: relative; - vertical-align: baseline; - width: 16px; - - &:not(.no-icon) { - &::after { - @include icon_dashicons("\f223"); - cursor: help; - } - } -} - -#smart-tags { - text-align: center; -} - -.form-settings-tab { - cursor: pointer; - padding: $spacing_10px $spacing_15px; - color: $gray_base; - background: $color_gray_four; - margin-bottom: $spacing_10px; - line-height: 1.2; - border-radius: $border_radius_4; - - &.active { - background: $primary_color; - color: $white; - } -} - -#profile-page form#your-profile .flatpickr-input[readonly] { - background-color: $white; -} + h2 { + margin: $spacing_16px 0 $spacing_14px; + font-size: 15px; + line-height: 150%; + font-weight: $medium; + color: $grey-400; + + ~ hr { + border-top: 1px solid $border-color; + margin: 0; + } + } -/** - * Fullscreen Mode - **/ -body { - &.ur-full-screen-mode { - margin-top: -$spacing_32px; - - #wpbody-content { - padding-bottom: 45px; - } - - #wpwrap { - #wpcontent { - margin-left: 0; - padding-left: 0; - - #wpadminbar { - display: none; - } - - #wpbody { - .ur-tab-content { - padding: $spacing_20px; - } - - #menu-management-liquid { - margin-top: 0; - - .menu-edit { - margin-bottom: 0; - box-shadow: none; - left: 0 !important; - } - } - } - } - - #adminmenumain { - display: none; - } - } - - .ur-registered-from { - .ur-registered-inputs { - .ur-tabs { - .ur-tab-contents { - height: calc(100vh - 98px); - } - } - } - - .ur-builder-wrapper { - height: calc(100vh - 57px); - } - } - } - - /** - * User Registration Builder Loading - **/ - .ur-circle-loading { - position: relative; - width: 100px !important; - height: 100px !important; - transform: translate(-50px, -50px) scale(0.5) translate(50px, 50px); - - &::before, - &::after { - content: ""; - position: absolute; - top: 70px; - left: 70px; - animation: ur-circle-loading-keyframe 1.5s linear infinite; - width: 60px; - height: 60px; - border-radius: 50%; - background: #475bb2; - } - - &::after { - animation-delay: -0.75s; - background: #668fe5; - } - } - - .ur-builder-message-container { - position: fixed; - top: $spacing_32px; - left: 0; - right: 0; - max-width: 430px; - margin: 0 auto; - z-index: 9999; - - .ur-message { - display: none; - margin: 0 auto; - margin-top: 16px; - transition: all 240ms cubic-bezier(0, 0, 0.2, 1) 0s; - z-index: 99999; - height: 0px; - - .ur-success, - .ur-error { - background: $white; - padding: $spacing_8px $spacing_16px; - border-radius: $border_radius_3; - border-left: 3px solid; - position: relative; - box-shadow: 0px 1px 8px 2px transparentize($gray_base, 0.9); - - p { - margin: $spacing_8px 0; - - &::before, - &::after { - font-family: dashicons; - width: 20px; - height: 20px; - font-size: 20px; - margin-right: 8px; - margin-top: -4px; - line-height: 1; - display: inline-block; - vertical-align: middle; - } - } - } - - .ur-success { - border-color: $green; - - p { - &::before { - content: "\f12a"; - color: $green; - } - } - } - - .ur-error { - border-color: $red; - - p { - &::before { - content: "\f534"; - color: $red; - } - } - } - - .dashicons { - cursor: pointer; - position: absolute; - right: 16px; - top: 50%; - transform: translateY(-50%); - line-height: 1; - } - - &.entered { - display: block; - height: 50px; - animation: 240ms cubic-bezier(0.175, 0.885, 0.32, 1.175) 0s 1 - normal both open-message; - - .ur-error { - display: flex; - align-items: center; - justify-content: space-between; - padding: $spacing_16px; - - p { - margin: 0; - } - - .ur-message-close { - position: unset; - transform: unset; - } - } - } - - &.exiting { - display: block; - animation: 120ms cubic-bezier(0.4, 0, 1, 1) 0s 1 normal both - close-message; - } - - &:first-child { - margin-top: 1.5rem; - } - } - } - - .main_header { - font-weight: $semi_bold; - font-size: 20px; - line-height: 27px; - } - - .ur-p-tag { - padding: 0px $spacing_20px $spacing_18px $spacing_20px; - margin: 0px; - font-style: italic; - } -} - -@media screen and (max-width: 1400px) { - .ur-registered-from { - .urcl-rules { - .urcl-field { - max-width: 61%; - flex: 1 0 60%; - margin-bottom: $spacing_5px; - } - - .urcl-value { - order: 4; - max-width: 87%; - flex: 1 0 86%; - } - - .add { - order: 3; - margin-right: 0; - } - - .remove { - order: 5; - } - } - } -} - -@media screen and (max-width: 960px) { - .ur-registered-from { - .ur-registered-inputs { - .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item { - float: none; - // width: 100%; - } - - .ur-single-row .ur-grid-lists, - .ur-single-row .ur-grid-lists .ur-grid-list-item, - .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item { - padding: $spacing_10px; - } - } - } -} - -@media screen and (max-width: 782px) { - body.user-registration_page_add-new-registration { - min-width: 0 !important; - } - - .ur-registered-from { - flex-direction: column; - - .ur-registered-inputs { - width: 100%; - margin-bottom: $spacing_10px; - - .ur-tabs { - .ur-tab-content { - .ur-registered-list { - .ur-registered-item { - float: left; - width: 48%; - } - } - } - } - } - - .ur-selected-inputs { - width: 100%; - } - } -} - -@media screen and (max-width: 600px) { - .user-registration_page_add-new-registration .major-publishing-actions { - clear: both; - padding: 10px 0 19px; - line-height: 28px; - - .ur-form-name { - width: 100%; - } - - .publishing-action { - text-align: left; - float: none; - margin-top: $spacing_15px; - } - } - - .ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists { - flex-direction: column; - display: block; - - .ur-grid-list-item { - width: 100% !important; - - &:nth-child(1n + 2) { - border-left: 0 none; - } - } - } -} - -.ur-toggle-section { - &.ur-form-builder-toggle { - display: flex; - gap: 5px; - align-items: center; - - input[type="checkbox"] { - width: 30px !important; - height: 16px !important; - - &:focus { - outline: none; - box-shadow: none; - } - } - - .slider { - width: 30px !important; - height: 16px !important; - border-radius: 99px; - padding: $spacing_8px; - - &::before { - height: 12px !important; - width: 12px !important; - } - } - } - - .user-registration-toggle-form { - position: relative; - display: inline-block; - width: 36px; - height: 20px; - - input { - position: relative; - z-index: 99; - opacity: 0; - height: 22px; - width: 40px; - - &:checked + .slider { - background-color: #475bb2; - } - - &:focus + .slider { - box-shadow: 0 0 1px #2196f3; - } - - &:checked + .slider::before { - transform: translateX(16px); - } - } - - .slider { - position: absolute; - cursor: pointer; - inset: 0; - background-color: #dfe1ea; - transition: 0.4s; - - &.round { - border-radius: 30px; - } - - &.round::before { - border-radius: 50%; - } - - &::before { - position: absolute; - content: ""; - height: 16px; - width: 16px; - left: 2px; - bottom: 2px; - background-color: white; - transition: 0.4s; - border-radius: 100%; - } - } - } -} - -.user-registration-setup { - font-size: 14px; - max-width: calc(100% - 32px); - margin: 20px auto; - background: white; - - @media (min-width: 960px) { - max-width: 835px; - } - - @media (min-width: 1280px) { - max-width: 1100px; - } - - .ur-brand-logo { - border-right: 1px solid $border_color; - - img { - width: 32px; - height: 32px; - margin-right: $spacing_8px; - display: flex; - } - } - - a { - &:focus { - box-shadow: none; - } - } - - .page-title-action, - .page-title-action:active { - top: 0; - margin-left: $spacing_16px; - } - - .user-registration-setup-header { - display: flex; - flex-wrap: wrap; - align-items: center; - padding: 0 $spacing_16px; - background-color: white; - border-bottom: $border_width solid $color_gray-lighten; - - @media only screen and (max-width: 768px) { - padding-top: $spacing_16px; - } - - .user-registration-logo { - display: flex; - flex-wrap: wrap; - padding-right: 1em; - border-right: $border_width solid $color_gray-lighten; - margin-right: 1em; - } - - h4 { - margin-left: $spacing_15px; - } - - .user-registration-tab { - margin-left: auto; - - @media only screen and (max-width: 768px) { - width: calc(100% + 32px); - flex: 0 0 calc(100% + 32px); - margin-top: $spacing_16px; - margin-right: -$spacing_16px; - margin-left: -$spacing_16px; - border-top: $border_width solid $color_gray-lighten; - } - - ul { - display: flex; - flex-wrap: wrap; - margin: 0; - - .user-registration-tab-nav { - display: inline-flex; - margin: 0 $spacing_8px 0 0; - - &.active { - .user-registration-tab-nav-link { - color: $primary_color; - border-color: $primary_color; - } - } - - .user-registration-tab-nav-link { - font-weight: $semi_bold; - padding: $spacing_18px $spacing_8px $spacing_16px; - color: #494d50; - text-decoration: none; - border-bottom: 2px solid transparent; - } - } - } - } - } - - .ur-setup-templates { - display: flex; - flex-wrap: wrap; - padding: $spacing_8px; - - .ur-loading { - margin: 80px auto; - } - - .ur-template { - width: 100%; - background: white; - border-radius: $border_radius_4; - position: relative; - margin: $spacing_12px; - - @media (min-width: 400px) { - width: calc(50% - 24px); - flex: 0 0 calc(50% - 24px); - } - - @media only screen and (min-width: 768px) { - width: calc(33.333% - 24px); - flex: 0 0 calc(33.333% - 24px); - } - - @media (min-width: 960px) { - width: calc(25% - 24px); - flex: 0 0 calc(25% - 24px); - } - - .user-registration-screenshot { - cursor: pointer; - padding: $spacing_8px; - margin: 0; - min-height: auto; - position: relative; - border-radius: $border_radius_4; - background: $color_gray-more-lighten; - - @media only screen and (min-width: 1280px) { - min-height: 280px; - } - - .user-registration-badge { - position: absolute; - bottom: 16px; - right: 16px; - z-index: 1; - } - - .form-action { - display: none; - position: absolute; - left: 0; - right: 0; - top: 50%; - transform: translateY(-50%); - z-index: 1; - - .user-registration-btn { - &:last-child { - margin-left: $spacing_8px; - } - } - } - } - - img { - display: block; - width: 100%; - } - - .user-registration-form-id-container { - display: flex; - flex-wrap: wrap; - align-items: center; - justify-content: space-between; - position: relative; - - .user-registration-template-name { - font-size: 16px; - font-weight: $semi_bold; - margin: $spacing_16px 0; - color: $gray-base; - text-decoration: none; - - &:hover { - color: $primary_color; - } - } - } - - &:hover { - .user-registration-screenshot::after { - content: ""; - display: block; - background: transparentize($gray-base, 0.5); - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; - } - - .form-action { - display: flex; - align-items: center; - justify-content: center; - } - } - - &:nth-child(even) { - float: right; - } - - .ur-template-overlay { - position: absolute; - background-color: rgba(0, 0, 0, 0.5); - top: 0; - left: 0; - right: 0; - bottom: 0; - opacity: 0; - visibility: hidden; - transition: 0.5s background-color ease-in-out; - color: white; - text-align: center; - padding: 40% 0; - - .ur-template-select { - text-decoration: none; - } - - &.loading { - .ur-button, - .ur-button::before, - .ur-button::after { - background: white; - -webkit-animation: load1 1s infinite ease-in-out; - animation: load1 1s infinite ease-in-out; - width: 1em; - height: 4em; - padding: 0; - border-radius: 0; - } - - .ur-button { - color: white; - text-indent: -9999em; - margin: 0 auto; - position: relative; - font-size: 11px; - -webkit-transform: translateZ(0); - -ms-transform: translateZ(0); - transform: translateZ(0); - -webkit-animation-delay: -0.16s; - animation-delay: -0.16s; - } - - .ur-button::before, - .ur-button::after { - position: absolute; - top: 0; - content: ""; - } - - .ur-button::before { - left: -1.5em; - -webkit-animation-delay: -0.32s; - animation-delay: -0.32s; - } - - .ur-button::after { - left: 1.5em; - } - - @-webkit-keyframes load1 { - 0%, - 80%, - 100% { - box-shadow: 0 0; - height: 4em; - } - 40% { - box-shadow: 0 -2em; - height: 5em; - } - } - @keyframes load1 { - 0%, - 80%, - 100% { - box-shadow: 0 0; - height: 4em; - } - 40% { - box-shadow: 0 -2em; - height: 5em; - } - } - } - } - - &:hover .ur-template-overlay, - .ur-template-overlay.loading { - opacity: 1; - visibility: visible; - } - - .ur-button { - display: inline-block; - padding: $spacing_15px $spacing_22px; - background-color: white; - color: #000; - font-size: 12px; - text-transform: uppercase; - border: none; - border-radius: 100px; - } - } - } -} - -.user-registration-form-template-wrapper { - .user-registration-form-template { - &[data-filter-template="free"] { - .user-registration-template-wrap[data-plan="premium"] { - display: none; - } - } - &[data-filter-template="premium"] { - .user-registration-template-wrap[data-plan="free"] { - display: none; - } - } - } -} - -.user-registration { - .swal2-container { - h3 { - font-size: 16px; - font-weight: $regular; - } - - .user-registration-trashed { - button { - margin: 0; - transition: all 0.3s ease-in-out; - - &.swal2-confirm { - background-color: #f75259 !important; - border: $border_width solid #f75259; - border-radius: $border_radius_3; - transition: all 0.3s ease-in-out; - } - - &.swal2-cancel { - background: transparent; - border: $border_width solid $grey-200; - color: $grey-200; - - &:hover { - border-color: $grey-500; - color: $grey-500; - } - } - } - } - .user-registration-info { - .swal2-actions{ - display: flex; - padding: 10px !important ; - } - .swal2-html-container{ - p{ - font-size: 1em; - } - } - button { - - transition: all 0.3s ease-in-out; - - &.swal2-confirm { - background-color: #475bb2!important; - border: $border_width solid #475bb2; - border-radius: $border_radius_3; - transition: all 0.3s ease-in-out; - } - - &.swal2-cancel { - background: transparent; - border: $border_width solid $grey-200; - color: $grey-200; - - &:hover { - border-color: $grey-500; - color: $grey-500; - } - } - } - } - - .swal2-popup { - width: 400px; - - &.user-registration-settings-swal2 { - width: auto; - } - - &.swal2-icon-error { - border-top: 6px solid #ff4f55; - } - - border-radius: $spacing_10px; - padding: 0; - - &.user-registration-locked-field { - border-top: 6px solid #72aee6; - - &.swal2-icon-success { - border-top: 6px solid #a5dc86; - } - - &.swal2-icon-warning { - border-top: 6px solid #facea8; - } - } - - .swal2-header { - padding: $spacing_34px $spacing_40px 0 $spacing_40px; - - .swal2-title { - margin-bottom: $spacing_4px; - - i { - margin-bottom: $spacing_16px; - } - } - - .swal2-close { - box-shadow: none; - top: $spacing_2px; - } - } - - &.user-registration-swal2-no-button { - .swal2-header { - padding-bottom: $spacing_34px; - } - } - - .swal2-content { - .swal2-validation-message { - margin-left: 0; - margin-right: 0; - border-left: 3px solid #f27474; - justify-content: flex-start; - padding: $spacing_12px $spacing_6px $spacing_12px - $spacing_6px; - } - - .action-buttons { - a { - background-color: #475bb2; - border: none; - text-decoration: none; - color: white; - font-size: 16px; - font-weight: 600; - } - } - } - - .swal2-actions { - margin-top: $spacing_24px; - background: #fcfcfc; - border-top: $border_width solid $border-color; - padding: $spacing_16px; - border-radius: 0 0 $border_radius_13 $border_radius_13; - justify-content: center; - flex-direction: row-reverse; - gap: $spacing_12px; - - .swal2-confirm { - background: #475bb2; - transition: all 0.3s ease-in-out; - - &:hover { - background: #4b68ec; - } - } - } - - &.user-registration-locked-field { - .swal2-header { - padding-bottom: $spacing_4px; - - .swal2-close { - box-shadow: none; - } - } - - .swal2-content { - padding-left: 0; - padding-right: 0; - - .swal2-html-container { - padding-left: $spacing_20px; - padding-right: $spacing_20px; - - .action-buttons { - margin-left: -$spacing_20px; - margin-right: -$spacing_20px; - border-radius: 0 0 $border_radius_10 - $border_radius_10; - padding: $spacing_16px; - text-align: right; - background: #fcfcfc; - border-top: $border_width solid $border-color; - } - } - } - } - - .swal2-actions { - button { - &:focus { - box-shadow: none; - } - - &:focus-visible { - outline: none; - } - } - } - } - - .user-registration-recommend-addons { - margin-bottom: $spacing_20px; - padding-bottom: $spacing_16px; - border-bottom: 2px solid $color_gray-more-lighten; - - .bulk-action-notice { - margin: 0 0 $spacing_20px; - - p { - padding: 0; - margin: $spacing_8px 0 !important; - } - - &.notice-error { - .button-link { - text-decoration: none; - display: flex; - align-items: center; - margin-top: $spacing_8px; - - .toggle-indicator { - display: inline-flex; - } - } - - .bulk-action-errors { - margin-top: 0; - } - } - } - - .plugins-list-table { - border-radius: $border_radius_4; - - .plugin-name { - text-align: left; - } - - .plugin-status { - float: right; - - span { - width: 15px; - height: 15px; - overflow: hidden; - border-radius: 50%; - position: relative; - vertical-align: top; - white-space: nowrap; - text-indent: -9999px; - display: inline-block; - border: 2px solid $color_gray-lighten; - - &.active, - &.activate-now { - &::after { - position: absolute; - left: 50%; - top: 50%; - opacity: 1; - width: 34%; - height: 50%; - content: ""; - transform-origin: left top; - border-top: 2px solid $color_gray-lighten; - border-right: 2px solid $color_gray-lighten; - transform: scaleX(-1) rotate(135deg) - translate(-58%, -40%); - } - } - - &.activate-now { - border-color: $color_gray-lighten; - - &.updating-message { - border-color: $color_gray-lighten; - border-left-color: $green; - } - } - - &.active { - border-color: $green; - - &::after { - border-top: 2px solid $green; - border-right: 2px solid $green; - } - } - - &.updating-message { - border-left-color: $green; - animation: spin 0.75s linear infinite; - - &::after { - content: none; - } - } - } - } - } - } - - .user-registration-template-install-addon, - .user-registration-template-continue { - margin-top: $spacing_20px; - color: $white; - text-decoration: none; - } - } -} - -// ----------------------------------------- FORM BUILDER V2 CSS STARTS ----------------------------------------------------------------------- -//--------------------------------------------------------------------------------------------------------------------------------- -//--------------------------------------------------------------------------------------------------------------------------- -//---------------------------------------------------------------------------------------------------------------------- -a.button.ur-smart-tags-list-button { - top: 29px; - right: 0; - width: 30px; - min-height: 30px; - color: #494d50; - position: absolute; - background: #fff; - border: 1px solid #cdd0d8; - border-radius: 4px; - box-shadow: inset 0 1px 2px rgba(35, 40, 45, 0.1); -} - -.ur-advance-setting.ur-advance-default_value, -.ur-general-setting.ur-general-setting-hidden-value, -.ur-advance-setting.ur-advance-pattern_value { - position: relative; - margin-bottom: 15px; - - & input.ur-general-setting-field, - & input.ur_advance_setting.ur-settings-pattern_value { - width: calc(100% - 40px) !important; - min-height: 27px; - } - - & a.button.ur-smart-tags-list-button { - top: 29px; - right: 0; - width: 30px; - min-height: 30px; - color: #494d50; - position: absolute; - background: #fff; - border: 1px solid #cdd0d8; - border-radius: 4px; - box-shadow: inset 0 1px 2px rgba(35, 40, 45, 0.1); - } - - & .ur-smart-tags-list-button .dashicons-editor-code::before { - left: 0; - right: 0; - margin: 0 auto; - line-height: 28px; - position: absolute; - } - - & .ur-smart-tags-list { - right: 0; - z-index: 1; - max-height: 123px; - margin-top: -1px; - width: 230px; - overflow-y: auto; - position: absolute; - background: #fff; - border-radius: 4px; - border: 1px solid #cdd0d8; - box-shadow: 1px 3px 20px 0 rgba(35, 40, 45, 0.2); - - & .ur-smart-tag-title { - font-weight: 600; - background: #f6f7f9; - border-bottom: 1px solid #cdd0d8; - font-size: 12px; - padding: 10px; - } - - & li { - padding: 4px 10px; - font-size: 12px; - } - - &:hover { - cursor: pointer; - } - } -} - -.user-registration_page_add-new-registration, -.toplevel_page_user-registration { - #nav-menu-header { - padding-right: $spacing_30px; - - .ur-form-title { - font-weight: $semi_bold; - font-size: 16px; - line-height: 150%; - color: #414141; - padding-left: $spacing_18px; - padding-right: $spacing_8px; - } - - .ur-editing-tag { - padding: $spacing_4px $spacing_10px; - background: $blue-50; - border-radius: $border_radius_50; - font-style: italic; - font-weight: $regular; - font-size: 12px; - line-height: 150%; - color: $grey-400; - } - - .publishing-action { - .button-secondary { - background: $blue-50; - border-color: $blue-50; - box-shadow: 0 1px 0 $blue-50; - font-size: 14px; - color: $grey-400; - border-radius: $border_radius_3; - - &:has(span) { - width: 33px; - height: 33px; - } - - // .dashicons-editor-expand, - // .dashicons-editor-contract { - // &::before { - // color: $grey-400; - // } - // } - - .ur-fs-open-label, - .ur-fs-close-label { - &::before { - content: ""; - background-repeat: no-repeat; - background-position: center; - background-size: 100%; - display: block; - top: -1px; - left: 1px; - position: relative; - width: 19px; - height: 19px; - } - } - - .ur-fs-open-label { - &::before { - background-image: url("../images/icons/maximize.svg"); - } - } - - .ur-fs-close-label { - &::before { - background-image: url("../images/icons/minimize.svg"); - } - } - } - - .button-primary { - background: $primary_color; - font-size: 14px; - - &:hover { - background: $primary_dark; - border-color: $primary_dark; - } - - &.ur-copy-shortcode { - width: 33px; - height: 33px; - padding-left: 0; - padding-right: 0; - background: $primary_color; - border-color: $primary_color; - box-shadow: none; - - &:hover { - background: $primary_dark; - border-color: $primary_dark; - } - - svg { - width: 18px; - height: 18px; - margin-bottom: 3px; - } - } - } - } - } -} - -.ur-registered-from { - .ur-registered-inputs { - position: relative; - - .nav-tab-wrapper { - } - - .ur-tab-contents { - #ur-setting-form { - .ur-general-setting-block { - margin-bottom: $spacing_36px; - - &:has(.closed) { - margin-bottom: 0; - } - } - } - - .ur-toggle-content { - label { - font-weight: $regular; - font-size: 14px; - line-height: 140%; - color: $grey-400; - display: flex; - align-items: center; - gap: $spacing_2px; - - .ur-portal-tooltip { - width: 12px; - - &::after { - font-size: 18px; - line-height: unset; - color: $grey-100; - } - } - } - - input[type="text"], - input[type="email"], - input[type="password"], - input[type="number"] textarea { - &::placeholder { - color: $grey-100; - } - } - - input { - padding: $spacing_18px $spacing_12px; - background: $grey-0; - border: $border_width solid $border-color; - border-radius: $border_radius_4; - font-weight: $regular; - font-size: 14px; - line-height: 150%; - color: $grey-300; - } - } - } - - button#ur-collapse { - width: 22px; - height: 41px; - background: $grey-0; - position: absolute; - bottom: $spacing_100px; - border-style: solid; - border-width: $border_width $border_width $border_width 0px; - border-color: $border-color; - border-radius: 0 $border_radius_3 $border_radius_3 0; - z-index: 1; - cursor: pointer; - transition: all 0.3s ease-in-out; - right: -$spacing_22px; - - svg { - width: 12px; - height: 12px; - display: block; - position: relative; - left: -$spacing_2px; - transition: all 0.3s ease-in-out; - } - - &:hover { - svg { - left: -$spacing_4px; - } - } - - &.open { - width: 24px; - height: 44px; - - svg { - transform: rotate(180deg); - left: -1px; - width: 14px; - height: 14px; - } - - &:hover { - svg { - left: 1px; - } - } - } - } - } - - .ur-builder-wrapper { - .ur-selected-inputs { - padding: $spacing_30px; - background: $canva-color; - - .ur-login-form-wrapper { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - } - .ur-login-shortcode { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - margin-top: 2rem; - - h1 { - font-weight: bold; - font-size: 35px; - margin-bottom: 2rem; - } - - p { - font-size: 16px; - } - .ur-login-content { - margin-left: 10rem; - margin-right: 5rem; - } - } - .ur-login-view-doc { - margin-top: 5rem; - a { - font-size: large; - text-decoration: underline; - } - } - } - - .ur-builder { - &-header { - padding-top: $spacing_10px; - padding-bottom: $spacing_24px; - border-bottom: $border_width solid $border-color; - margin-bottom: $spacing_32px; - - .user-registration-editable-title { - margin-top: 0 !important; - margin-bottom: 0 !important; - - .user-registration-editable-title__input { - font-size: 22px; - line-height: 130%; - color: $grey-500; - padding: $spacing_4px $spacing_8px $spacing_4px - $spacing_12px; - margin: 0; - } - } - } - - &-wrapper-content { - background: $grey-0; - border-radius: $border_radius_13; - padding: $spacing_18px $spacing_32px; - border: $border_width solid $border-color; - - .ur-single-row { - .ur-grid-lists { - .ur-grid-list-item { - padding: $spacing_20px; - } - - .ur-selected-item { - padding: $spacing_10px $spacing_14px $spacing_14px; - - &.ur-item-active { - // background: $blue-25; - } - } - } - &:hover { - .ur-grid-lists { - background: #fcfcfc; - border-radius: $border_radius_7; - border-color: #e7e7e7; - border-left: 0; - - .ur-selected-item { - &:hover { - background: $blue-25; - border: $border_width dashed $primary_color; - border-radius: $border_radius_7; - } - } - - .ur-grid-list-item { - border-left: $border_width solid #e7e7e7; - } - } - } - } - } - } - - #ur-field-settings { - background: $grey-0; - border: $border_width solid $border-color; - border-radius: $border_radius_13; - padding: $spacing_18px $spacing_32px; - - #ur-field-all-settings { - h3 { - margin: 0 0 $spacing_32px 0; - font-size: 22px; - line-height: 130%; - font-weight: $semi_bold; - color: $grey-800; - border-bottom: $border_width solid $border-color; - padding: $spacing_10px 0 $spacing_24px; - } - - .form-row { - // width: 620px; - width: 100%; - max-width: 100%; - margin-bottom: $spacing_20px; - - &#user_registration_form_setting_minimum_password_strength_field { - margin-bottom: 0; - } - - .ur-label { - font-size: 15px; - line-height: 140%; - color: $grey-400; - display: flex; - align-items: center; - width: max-content; - - &.checkbox { - font-size: 14px; - line-height: 150%; - font-weight: $regular; - margin-bottom: 0; - } - - .user-registration-help-tip { - &::after { - font-size: 18px; - line-height: unset; - color: $grey-100; - } - } - } - - input[type="text"], - input[type="email"], - input[type="number"], - select { - height: 38px; - border-color: $border-color; - color: $grey-300; - } - - select { - background-image: linear-gradient( - 45deg, - transparent 50%, - gray 50% - ), - linear-gradient(135deg, gray 50%, transparent 50%); - background-position: - calc(100% - 15px) calc(1em + 2px), - calc(100% - 10px) calc(1em + 2px), - calc(100% - 2.5em) 0.5em; - background-size: - 5px 5px, - 5px 5px, - 1px 1.5em; - background-repeat: no-repeat; - } - - .ur-radio-group-list { - display: flex; - gap: $spacing_12px; - - &--item { - label { - font-size: 14px; - font-weight: 600; - color: $grey-300; - margin-bottom: 0; - border: $border_width solid $grey-300; - border-radius: $border_radius_5; - text-align: center; - padding: $spacing_10px; - align-items: center; - display: flex; - transition: all 0.3s ease-in-out; - - input { - display: none; - } - } - - &.very-weak { - &:hover, - &.active { - label { - color: #f25656; - border-color: #f25656; - background-color: #fff4f4; - } - } - } - - &.weak { - &:hover, - &.active { - label { - color: #ee9936; - border-color: #ee9936; - background-color: #fffaf5; - } - } - } - - &.medium { - &:hover, - &.active { - label { - color: #ffc700; - border-color: #ffc700; - background-color: #fffcf1; - } - } - } - - &.strong { - &:hover, - &.active { - label { - color: #4cc741; - border-color: #4cc741; - background-color: #f5fff4; - } - } - } - - &.custom { - &:hover, - &.active { - label { - color: #475bb3; - border-color: #475bb3; - background-color: #ebecf1; - } - } - } - } - } - } - } - } - } -} - -#wpcontent { - .wp-heading-inline { - font-weight: $semi_bold; - padding: 0; - margin: $spacing_20px 0 0; - font-size: 24px; - line-height: 120%; - } - - .user-registration-settings-container { - margin: $spacing_24px 0 0; - - .user-registration-options-header { - &--top { - display: flex; - align-items: center; - justify-content: space-between; - - &__left { - h3 { - margin: 0; - font-weight: $semi_bold; - font-size: 26px; - line-height: 120%; - color: $grey-800; - } - } - - &__right { - display: flex; - align-items: center; - justify-content: space-between; - gap: $spacing_10px; - - span.user-registration-toggle-text { - font-size: 16px; - line-height: 24px; - color: #383838; - font-weight: 500; - } - } - } - - &--bottom { - ul { - display: flex; - align-items: center; - gap: $spacing_32px; - border-bottom: $border_width solid $border-color; - width: 100%; - - li { - a { - font-weight: $regular; - font-size: 15px; - line-height: 140%; - color: $grey-600; - padding: 0; - position: relative; - padding-bottom: $spacing_16px; - transition: all 0.3s ease-in-out; - - &::before { - content: ""; - background: $primary_color; - position: absolute; - width: 100%; - height: 3px; - border-radius: $border_radius_11; - bottom: 0; - left: 0; - opacity: 0; - transition: all 0.3s ease-in-out; - } - - &:focus { - outline: none; - box-shadow: none; - } - - &.current, - &.active { - font-weight: $semi_bold; - } - - &:hover, - &.current, - &.active { - color: $primary_color; - - &::before { - opacity: 1; - } - } - } - } - } - } - } - } - - .user-registration-login-form-container { - .user-registration { - &__wrap { - #menu-management-liquid { - float: none; - } - #menu-management { - .menu-edit { - position: unset; - } - } - #post-body { - .ur-registered-from { - display: block; - background-color: transparent; - .ur-builder-wrapper { - height: auto; - overflow-y: unset; - border-left: 0; - background: transparent; - - .ur-selected-inputs { - background: #f0f0f1; - padding: $spacing_24px; - - .ur-builder-wrapper-content { - padding: $spacing_20px $spacing_30px - $spacing_60px; - border-radius: $border_radius_7; - - .ur-login { - &-shortcode { - margin-top: 0; - display: block; - - h1 { - margin-bottom: $spacing_12px; - } - - &--wrapper { - // width: 45%; - display: flex; - align-items: center; - gap: $spacing_30px; - // flex-wrap: nowrap; - flex-wrap: wrap; - - @media (max-width: 1400px) { - flex-wrap: wrap; - justify-content: center; - } - - img { - margin-left: -$spacing_24px; - - @media (max-width: 1000px) { - margin-left: 0; - } - - @media (max-width: 768px) { - width: 100%; - } - } - .ur-login-content { - // width: 55%; - margin-left: 0; - margin-right: 0; - padding: $spacing_24px; - background: #f6f6f6; - border-radius: $border_radius_7; - flex: 1; - p { - &:first-child { - margin-top: 0; - } - } - .login-forms-shortcode-action { - input { - height: 32px; - font-size: 15px; - } - - .ur-copy-shortcode { - box-shadow: none; - transition: all 0.3s - ease-in-out; - - svg { - path { - fill: $primary_color; - transition: all - 0.3s - ease-in-out; - } - } - - &:hover { - background: $primary_color !important; - - svg { - path { - fill: $grey-0; - } - } - } - } - } - } - } - } - &-view-doc { - margin-top: $spacing_32px; - } - } - } - } - } - } - } - } - } - } -} - -@media (max-width: 960px) { - #wpcontent { - padding-left: 0; - } - - .user-registration_page_add-new-registration - .ur-form-container - #menu-management - .menu-edit { - left: $spacing_36px !important; - } - - .ur-registered-from - .ur-registered-inputs - .ur-tab-contents - button#ur-collapse { - left: 448px; - } -} - -// Subscription Plan Field > Field Options Design Fix -.ur-registered-from { - .nav-tab-wrapper { - .ur-tab-contents { - .ur-tab-content { - .ur-general-setting { - &-options { - .ur-options-list { - .ur-subscription-plan { - flex-direction: column; - align-items: unset; - margin-bottom: $spacing_16px; - padding: $spacing_10px; - border: $border_width solid #e4e4e4; - background: #fbfbfb; - - &:last-child { - margin-bottom: 0; - } - - &-details { - display: flex; - align-items: center; - gap: $spacing_8px; - } - - &-sub-details { - > p { - display: flex; - align-items: center; - gap: $spacing_8px; - margin-bottom: $spacing_4px; - - select { - height: 38px; - padding-left: $spacing_12px; - padding-right: $spacing_12px; - } - } - } - } - } - } - } - } - } - } -} - -// --------------------------------------------------------------------------------------------------------------------- -//--------------------------------------------------------------------------------------------------------------------------- -//---------------------------------------------------------------------------------------------------------------------------------- -//------------------------------------------- FORM BUILDER V2 CSS ENDS ------------------------------------------------------------------------ - -// Users Entries when image choice option is enabled CSS -#your-profile { - #fieldset-user_registration { - tbody { - tr { - td { - &:has(.user-registration-user-profile-info) { - display: grid; - grid-template-columns: repeat( - auto-fill, - minmax(160px, 1fr) - ); - gap: $spacing_12px; - width: 760px; - - br { - display: none; - } - } - - .user-registration-user-profile-info { - input { - &[type="radio"], - &[type="checkbox"] { - display: none; - } - } - - .user-registration-image-options { - display: block; - border: $border_width solid #d5d5d5; - border-radius: $border_radius_4; - padding: $spacing_10px; - position: relative; - - &:hover { - color: #0693e3; - border-color: #0693e3; - - .user-registration-image-choice { - &::before { - content: ""; - position: absolute; - width: 100%; - height: 100%; - background: $grey-500; - opacity: 0.45; - z-index: 1; - } - - img { - transform: scale(1.1); - } - } - } - - .user-registration-image-choice { - display: block; - width: 100%; - height: 100px; - border-radius: $border_radius_2; - overflow: hidden; - position: relative; - margin-bottom: $spacing_10px; - - img { - width: 100%; - height: 100%; - object-fit: cover; - border-radius: $border_radius_2; - transition: all 0.3s ease-in-out; - } - } - } - - input[type="radio"], - input[type="checkbox"] { - &:checked ~ label { - color: #0693e3; - border-color: #0693e3; - - span { - &::before { - content: ""; - position: absolute; - width: 100%; - height: 100%; - background: $grey-500; - opacity: 0.45; - z-index: 1; - } - - &::after { - content: ""; - position: absolute; - background: #00be34; - border-radius: 1px; - width: 12px; - height: 12px; - top: $spacing_8px; - right: $spacing_8px; - z-index: 2; - } - } - } - } - } - } - } - } - } -} - -#ur-smart-tags-selector { - float: right; - display: inline-flex; - gap: 4px; - align-items: center; - color: #6b6b6b; - font-weight: 400; - font-size: 14px; - text-decoration: underline; - padding: 10px 0px; - cursor: pointer; - - & ~ .select2-container { - visibility: hidden; - position: absolute; - right: 0; - width: 120px !important; - } -} - -.select2-container { - &--open { - &:not(.ur-hide-select2) { - .ur-select2-dropdown { - width: 180px !important; - - .select2-search--dropdown { - width: 98%; - position: relative; - } - - .ur-select2-title { - display: block; - padding: 4px; - width: 98%; - border-radius: 4px; - color: #383838; - - p { - padding: 6px 8px; - background-color: #f4f4f4; - font-size: 13px; - font-weight: 600; - margin: 0px; - } - } - - ul { - &.select2-results__options { - max-height: 250px !important; - overflow-y: auto; - border-top: 1px solid #ccc; - - &::-webkit-scrollbar { - width: 4px; - } - - &::-webkit-scrollbar-thumb { - background-color: #aaa; - border-radius: 10px !important; - } - - li { - &.select2-results__option--highlighted, - &[data-selected="true"] { - background: #f8f8fa; - color: #475bb2; - border: none; - } - } - } - } - - .select2-search { - display: flex; - align-items: center; - color: #999999; - - .select2-search__field { - padding-left: 28px; - } - - .search-icon { - position: absolute; - left: 12px; - top: 33; - color: #999; - } - } - } - } - } -} - -.toplevel_page_user-registration, -body.user-registration { - #wpcontent { - padding-left: 0; - } - - #wpbody-content { - background: #EFF2F6; - padding-bottom: $spacing_30px; - - #screen-meta-links { - display: none; - } - } -} - -.ur-admin-page-topnav { - display: flex; - align-items: center; - justify-content: space-between; - background: $grey-0; - padding: 0px $spacing_24px; - border-bottom: $border_width solid #e1e1e1; - margin-bottom: 25px; - - .ur-page-title__wrapper { - display: flex; - align-items: center; - gap: $spacing_20px; - - &-logo { - padding: 0px $spacing_20px 0px 0px; - border-right: 1px solid #e1e1e1; - } - - &-menu { - h2 { - padding: $spacing_24px 0px; - } - - &__items { - display: flex; - gap: 4px; - margin: 0; - - li { - font-size: 15px; - margin-bottom: 0; - padding: $spacing_24px 0; - - a { - text-decoration: none; - color: #1f1f1f; - padding: $spacing_24px $spacing_16px; - position: relative; - transition: all 0.3s; - - &:focus { - outline: none; - box-shadow: none; - } - - &::after { - content: ""; - background: #475bb2; - width: 0px; - height: 3px; - position: absolute; - bottom: 0; - left: 0; - transition: all 0.3s; - } - - &:hover, - &.current { - color: #475bb2; - - &::after { - width: 100%; - } - } - - &.current { - font-weight: 600; - } - } - } - } - } - } - - .ur-back-button { - border-right: $border_width solid $grey-100; - padding: $spacing_4px $spacing_14px $spacing_4px $spacing_4px; - display: flex; - cursor: pointer; - - svg { - width: 24px; - height: 24px; - } - } - - .dashicons { - &::before { - color: $grey-400; - } - } - - .ur-page-actions { - display: flex; - align-items: center; - gap: $spacing_8px; - flex-direction: row-reverse; - - a { - .ur-button-primary { - border-radius: $border_radius_3; - background: $primary_color; - padding: $spacing_6px $spacing_12px; - font-size: 14px; - line-height: 150%; - color: $grey-0; - transition: all 0.3s ease-in-out; - - &:hover { - background: darken($primary_color, 10%); - } - } - } - - > .ur-button-primary { - color: $grey-400; - font-size: 14px; - font-weight: 400; - line-height: 18px; - background: #eaeaea; - padding: $spacing_8px $spacing_12px; - display: flex; - align-items: center; - justify-content: center; - gap: $spacing_6px; - border-radius: $border_radius_3; - border: $border_width solid #eaeaea; - cursor: pointer; - transition: all 0.3s ease-in-out; - - svg { - width: 14px; - height: 14px; - - path { - fill: $grey-400; - } - } - - &:hover { - background: #e1e1e1; - border-color: #e1e1e1; - } - } - } -} - -.user-registration-list-table-container { - #user-registration-list-table-page { - max-width: 100%; - margin-left: $spacing_20px; - margin-right: $spacing_20px; - } -} - -.user-registration-login-form-container { - .ur-form-container { - #menu-management-liquid { - margin-left: 0; - min-width: 100%; - - .ur-selected-inputs { - padding-left: $spacing_20px !important; - padding-right: $spacing_20px !important; - } - } - } -} - -#user-registration-list-table-page { - max-width: 1280px; - margin: 25px auto; - padding: $spacing_24px; - border-radius: $border_radius_7; - background: $grey-0; - - .user-registration-list-table-header { - display: flex; - gap: 15px; - align-items: center; - margin-bottom: 15px; - - a { - padding: 6px 14px; - border-radius: 3px; - border: 1px solid #475bb2; - background: #f6f7f7; - color: #475bb2; - font-size: 14px; - font-weight: 500; - line-height: 150%; - transition: all 0.3s ease-in-out; - text-decoration: none; - } - } - - #user-registration-list-filters-row { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - gap: $spacing_20px; - border-bottom: $border_width solid #dcdcdc; - padding-bottom: $spacing_24px; - margin-bottom: $spacing_24px; - - ul.subsubsub { - font-size: 15px; - } - - #user-registration-pro-users-filters { - display: flex; - flex-wrap: wrap; - align-items: center; - gap: $spacing_12px; - padding: 0; - margin-top: 0; - - li { - div { - p { - display: none; - margin: 0; - } - - select { - min-height: 36px; - padding: $spacing_2px $spacing_12px; - border-radius: $border_radius_4; - border-color: $grey-100; - min-width: 130px; - - &:hover { - color: $primary_color; - } - - &:focus { - box-shadow: none; - border: $border_width solid $primary_color; - } - } - } - } - - .user-registration-users-filter-btns { - display: flex; - align-items: center; - gap: $spacing_8px; - - button { - cursor: pointer; - transition: all 0.3s ease-in-out; - - &[type="submit"] { - padding: $spacing_6px $spacing_14px; - border-radius: $border_radius_3; - border: $border_width solid $primary_color; - background: $primary_color; - color: $grey-0; - font-size: 14px; - font-weight: $regular; - line-height: 150%; - letter-spacing: 0.3px; - - &:hover { - background: darken($primary_color, 10%); - border-color: darken($primary_color, 10%); - } - } - - &[type="reset"], - &[type="button"] { - border-radius: $border_radius_3; - border: $border_width solid $grey-300; - background: #f6f7f7; - width: 34px; - height: 34px; - display: flex; - align-items: center; - justify-content: center; - transition: all 0.3s ease-in-out; - - svg { - width: 16px; - height: 16px; - - path { - fill: $grey-400; - } - } - - &:hover { - background: #f2f2f2; - border-color: $primary_color; - - svg { - path { - fill: $primary_color; - } - } - } - } - } - } - } - - #search-submit { - img { - width: 18px; - height: 18px; - } - } - - form { - position: relative; - } - - #user-registration-users-advanced-filters { - display: block; - position: absolute; - border-radius: $border_radius_4; - background: $grey-0; - box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.13); - padding: $spacing_20px $spacing_18px; - right: 0; - top: 38px; - z-index: 2; - width: 360px; - - ul { - margin: 0; - - li { - margin: 0; - - p { - margin-top: 0; - margin-bottom: $spacing_14px; - color: $grey-500; - font-size: 15px; - font-weight: $semi_bold; - line-height: 150%; - } - - input { - &[type="date"] { - width: 47%; - border-radius: $border_radius_4; - border-color: $grey-100; - background: $grey-0; - height: 36px; - } - } - } - } - } - - #user-registration-list-search-form { - width: 275px; - position: relative; - - #user-registration-list-table-search-input { - border-radius: $border_radius_4; - border: $border_width solid $grey-100; - background: $grey-0; - padding: 3px 42px 3px $spacing_12px; - width: 100%; - - &::placeholder { - color: $grey-200; - } - - &:focus { - box-shadow: none; - border: $border_width solid $primary_color; - } - } - - button { - &#search-submit { - position: absolute; - border: 0; - background: transparent; - padding: 0; - width: 18px; - height: 18px; - display: flex; - align-items: center; - justify-content: center; - right: $spacing_12px; - top: $spacing_8px; - - svg { - path { - fill: $grey-200; - } - } - } - } - } - - form { - position: relative; - } - } - - hr { - display: none; - } - - .user-registration-list-table-action-form { - .tablenav { - padding: 0; - margin: 0 0 $spacing_16px; - height: auto; - - &.bottom { - margin-bottom: 0; - } - - .actions { - display: flex; - align-items: center; - gap: $spacing_12px; - padding-right: $spacing_12px; - - select { - height: 36px; - margin: 0; - border-color: $grey-100; - - &:hover { - color: $primary_color; - } - - &:focus { - box-shadow: none; - border: $border_width solid $primary_color; - } - } - - input { - &[type="submit"] { - padding: $spacing_6px $spacing_14px; - border-radius: $border_radius_3; - border: $border_width solid $primary_color; - background: #f6f7f7; - color: $primary_color; - font-size: 14px; - font-weight: $medium; - line-height: 150%; - transition: all 0.3s ease-in-out; - - &:hover { - background: #f2f2f2; - } - } - } - } - - &-pages { - margin-bottom: 0; - } - } - } - - table.wp-list-table { - border-color: #dcdcdc; - border-radius: $border_radius_5; - margin-bottom: $spacing-16px; - overflow: hidden; - - a { - color: $grey-400; - transition: all 0.3s ease-in-out; - - &:hover { - color: $primary_color; - } - } - - thead { - tr { - td, - th { - border-bottom-color: #dcdcdc; - } - - th { - font-size: 14px; - font-weight: $semi_bold; - line-height: 24px; - color: $grey-400; - - &.sortable, - &.sorted { - padding: 0; - - a { - font-size: 14px; - font-weight: $semi_bold; - line-height: 24px; - padding: $spacing_12px $spacing_8px; - display: flex; - align-items: center; - gap: $spacing_8px; - - &:focus { - box-shadow: none; - } - - .sorting-indicators { - gap: $spacing_4px; - - .sorting-indicator { - margin: 0; - } - } - } - } - } - } - } - - tbody { - tr { - td { - &.username { - img { - border-radius: $border_radius_50; - margin-top: $spacing_2px; - } - } - - &.user_status { - span { - font-weight: $medium; - - &.user-status { - &-approved { - color: $approve_user; - } - - &-pending { - color: $pending_user; - } - - &-denied { - color: $deny_color; - } - } - } - } - &.enable_disable { - span { - font-weight: $medium; - - &.enable-disable { - &-Enabled { - color: $approve_user; - } - - &-Disabled { - color: $deny_color; - } - } - } - } - - &.actions { - a { - color: $primary_color; - transition: all 0.3s ease-in-out; - padding-bottom: $spacing_2px; - position: relative; - - &::before { - content: ""; - background: $primary_color; - width: 100%; - height: 1px; - position: absolute; - bottom: 0; - opacity: 0; - transition: all 0.3s ease-in-out; - } - - &:hover { - &::before { - opacity: 1; - } - } - - &:focus { - box-shadow: none; - outline: none; - } - } - } - } - } - } - - // Bulk checkbox - input[type="checkbox"]:not(.urcr-enable-access-rule) { - border-radius: $border_radius_2; - border-color: $grey-200; - } - } -} - -// Payment History CSS -.user-registration { - .ur-membership-header { - margin-left: 0 !important; - padding-left: 24px !important; - padding-right: 24px !important; - border-bottom: 1px solid #e2e8f0; - padding-top: 0 !important; - padding-bottom: 0 !important; - gap: 0 !important; - background: #ffffff; - - img { - max-width: 36px !important; - padding: 18px 24px 18px 0; - border-right: 1px solid #e2e8f0; - margin-right: 28px; - } - - a { - font-size: 16px !important; - line-height: 26px; - color: #64748b; - position: relative; - padding: 23px 20px; - - &::after { - content: ""; - background: #475bb2; - width: 0px; - height: 3px; - position: absolute; - bottom: 0; - left: 0; - transition: all 0.3s; - } - - &.row-title { - color: #475bb2; - - &:after { - width: 100%; - } - } - - &:hover { - &::after { - width: 100%; - } - } - - &:focus { - box-shadow: none; - outline: none; - } - } - } - - .ur-coupon-tab-contents-wrapper { - max-width: 1280px; - margin: 60px auto; - padding: 0 !important; - - form { - width: 100% !important; - - .user-registration-card { - border: 0; - padding: 28px; - - #ur-coupon-form-container { - padding: 0 !important; - - #left { - &-title { - padding: 0; - gap: 18px; - padding-bottom: 20px; - border-bottom: 1px solid #e9e9e9; - margin-bottom: 28px; - gap: 18px; - - a { - margin-right: 0 !important; - padding-right: 0 !important; - border-right: 0 !important; - width: 40px; - height: 40px; - background: #f4f4f4; - display: flex; - align-items: center; - justify-content: center; - border-radius: 6px; - - &:focus { - box-shadow: none; - outline: none; - border-color: #475bb2; - } - - svg { - width: 20px; - height: 20px; - } - } - - h3 { - margin: 0; - color: #222222; - font-size: 22px; - font-weight: 600; - line-height: 32px; - } - } - - &-body { - display: flex; - flex-direction: column; - gap: 24px; - - .ur-coupon-input-container { - padding: 0 !important; - - .ur-label { - margin-bottom: 0; - - label { - margin-bottom: 0; - color: #383838; - font-size: 15px; - font-weight: 500; - line-height: 21px; - } - } - - .ur-admin-template { - &.ur-input-type-coupon-discount-type { - .ur-field { - justify-content: flex-start !important; - gap: 16px !important; - } - } - - .ur-field { - input, - select { - height: 38px; - border-color: #e9e9e9; - padding-left: 14px; - padding-right: 14px; - color: #383838; - - &::placeholder { - color: #999999; - } - - &:focus { - box-shadow: none; - outline: none; - border-color: #475bb2; - } - } - - .ur-coupon-discount-type { - width: 220px; - padding: 16px !important; - border-color: #e9e9e9 !important; - border-radius: 4px !important; - display: flex; - flex-direction: column; - gap: 12px; - - .ur-coupon-type-title { - gap: 8px; - - input[type="radio"] { - height: 1rem; - } - - label { - padding: 0 !important; - color: #222222; - font-size: 15px; - font-weight: 500; - line-height: 22px; - } - } - - .ur-membership-type-description { - p { - margin: 0; - color: #383838; - font-size: 14px !important; - font-weight: 400; - line-height: 22px; - } - } - } - - .select2 { - &-selection { - height: 38px; - - &__rendered { - line-height: 36px; - } - - &__arrow { - height: 36px; - } - - &--single { - .select2-selection__rendered { - padding-left: 14px; - } - } - - &--multiple { - .select2-selection { - &__rendered { - gap: 4px; - } - - &__clear { - margin-right: 0; - } - - &__choice { - border-radius: 5px; - background: #e9e9e9; - display: flex; - align-items: center; - gap: 8px; - margin: 4px; - padding: 0px 8px 0px - 10px; - border: 0; - color: #383838; - flex-direction: row-reverse; - - &__remove { - color: #383838; - } - } - } - } - } - } - } - } - - .user-registration-switch { - input[type="checkbox"] { - border-radius: 20px; - border: 0; - width: 30px; - flex: 0 0 30px; - background: #d5d5d5; - box-shadow: none; - - &::after { - width: 12px; - height: 12px; - transform: translateX(3px); - } - - &:checked { - background: #475bb2; - border-color: #475bb2; - - &::after { - transform: translateX(15px); - } - } - } - } - } - } - } - } - - .submit { - margin-bottom: 0; - padding: 0 !important; - padding-top: 28px !important; - border-top: 1px solid #e1e1e1; - margin-top: 30px; - - .button { - &-secondary { - border-radius: 4px; - box-shadow: none; - padding: 8px 16px; - color: #ffffff; - font-size: 14px; - font-weight: 400; - line-height: 24px; - border: 0; - background: transparent; - border: 1px solid #bababa; - - a { - color: #6b6b6b; - } - } - - &-primary { - border-radius: 4px; - box-shadow: none; - padding: 8px 16px; - color: #ffffff; - font-size: 14px; - font-weight: 400; - line-height: 24px; - border: 0; - } - } - } - } - } - } - - #user-registration-list-table-page { - margin: 60px auto; - padding: 28px 32px; - box-sizing: border-box; - max-width: 1280px !important; - - .user-registration-list-table-heading { - display: flex; - align-items: center; - margin-bottom: 24px; - - .ur-page-title__wrapper { - width: 100%; - - h1 { - margin: 0; - color: #222; - font-size: 22px; - font-weight: 600; - line-height: 32px; - } - } - - #ur-coupon-add-btn { - box-shadow: none; - border-radius: 3px; - background: #475bb2; - padding: 8px 20px 8px 16px; - color: #fff; - font-size: 14px; - font-weight: 400; - line-height: 24px; - transition: all 0.3s; - } - } - - #user-registration-pro-filters-row { - #user-registration-users-search-form { - gap: 16px !important; - flex-wrap: wrap; - - .search-box { - position: relative; - - input { - &[type="search"] { - height: 38px; - padding-left: 14px; - padding-right: 14px; - border-color: #bababa; - margin: 0; - width: 220px; - color: #383838; - - &::placeholder { - color: #999999; - } - - &:focus { - box-shadow: none; - outline: none; - border-color: #475bb2; - } - } - } - - #search-submit { - background: none; - border: 0; - padding: 0; - position: absolute; - top: 50%; - transform: translateY(-50%); - right: 14px; - display: flex; - - svg { - width: 18px; - height: 18px; - - path { - fill: #6b6b6b; - } - } - } - } - - select { - width: 200px; - height: 38px; - padding-left: 14px; - padding-right: 14px; - border-color: #bababa; - margin: 0; - color: #383838; - - &:focus { - box-shadow: none; - outline: none; - border-color: #475bb2; - } - } - - #user-registration-users-filter-btn { - border-radius: 3px; - border: 1px solid #475bb2; - background: #475bb2; - color: #ffffff; - padding: 8px 14px; - color: #ffffff; - font-size: 13px; - font-weight: 400; - line-height: 20px; - - &:hover { - background: #38488e; - border-color: #38488e; - } - } - } - } - - #ur-membership-payment-history-form { - .wrap { - margin: 0; - } - - .wp-list-table { - &.orders { - thead { - } - - tbody { - tr { - &.no-items { - background: #ffffff; - - td { - padding: 0; - - .empty-list-table-container { - text-align: center; - margin-top: 30px; - margin-bottom: 30px; - - img { - width: 300px; - } - - h3 { - margin-top: 16px; - margin-bottom: 8px; - color: #222222; - font-size: 22px; - font-weight: 600; - line-height: 32px; - } - - p { - color: #6b6b6b; - font-size: 14px; - font-weight: 400; - line-height: 24px; - } - } - } - } - } - } - } - } - } - - #ur-coupon-list-form, - #ur-membership-payment-history-form { - margin-top: 24px; - padding-top: 24px; - border-top: 1px solid #dcdcdc; - - .wrap { - margin: 0; - - .tablenav { - margin: 0; - padding: 0; - height: auto; - - .bulkactions { - padding-right: 0; - display: flex; - align-items: center; - gap: 10px; - - select, - input { - margin-right: 0; - } - - select { - border-color: #bababa; - height: 38px; - width: 220px; - padding-inline: 14px; - color: #383838; - } - - input[type="submit"] { - border-radius: 3px; - border: 1px solid #475bb2; - background: #f6f7f7; - padding: 8px 14px; - color: #475bb2; - font-size: 13px; - font-weight: 500; - line-height: 20px; - } - } - } - - .wp-list-table { - &.coupons { - margin-top: 20px; - margin-bottom: 20px; - - thead { - tr { - th { - &#title { - width: 220px; - } - &#code { - width: 170px; - } - - &#amount, - &#expires { - width: 180px; - } - - &#status { - width: 140px; - } - - &#action { - width: 120px; - } - } - } - } - - tbody { - tr { - &:nth-child(odd) { - background: #f8f8fa; - } - - td { - font-size: 14px; - line-height: 24px; - color: #383838; - vertical-align: middle; - } - } - - .coupon-active { - font-weight: 500; - color: #4cc741; - } - .coupon-inactive { - font-weight: 500; - color: #f25656; - } - - .coupon-expired { - font-weight: 500; - color: #636363; - } - } - } - - &.orders { - margin: 20px 0; - - tbody { - tr { - td { - font-size: 14px; - line-height: 24px; - - &.membership_type { - .user-registration-badge { - background: none; - padding: 0; - color: #383838; - font-weight: 500; - } - } - - &.status { - .payment-status-btn { - display: block; - width: max-content; - border-radius: 3px; - color: #383838; - font-size: 14px; - font-weight: 400; - line-height: 16px; - padding: 4px 8px; - - &.completed { - border: 1px solid #4cc741; - background: #f5fff4; - } - - &.pending { - border: 1px solid #ee9936; - background: #fffaf5; - } - - &.failed { - border: 1px solid #f25656; - background: #fff4f4; - } - } - } - } - } - } - } - } - } - } - } - #payment-detail-modal { - .modal-content { - margin: 0; - border-radius: 12px; - background: #fff; - box-shadow: 0px 6px 21px 0px rgba(10, 10, 10, 0.08); - padding: 28px 32px; - box-sizing: border-box; - width: 820px; - max-width: 100%; - - .modal-header { - h2 { - margin: 0; - color: #222222; - font-size: 24px; - font-weight: 700; - line-height: 34px; - } - - hr { - margin: 16px 0 24px; - } - } - - .modal-body { - display: grid; - grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); - gap: 20px; - align-items: unset; - justify-content: unset; - - .payment-detail { - &-box { - margin-bottom: 0; - } - - &-label { - color: #383838; - font-size: 16px; - font-weight: 500; - line-height: 24px; - margin-bottom: 6px; - } - - &-data { - display: flex; - align-items: center; - gap: 10px; - color: #6b6b6b; - font-size: 15px; - font-weight: 400; - line-height: 23px; - overflow-wrap: break-word; - - .payment-status-btn { - display: block; - width: max-content; - - &.completed { - border: 1px solid #4cc741; - background: #f5fff4; - } - - &-pending { - border: 1px solid #ee9936; - background: #fffaf5; - } - - &.failed { - border: 1px solid #f25656; - background: #fff4f4; - } - } - } - } - } - } - } -} - -// Delete Popup CSS -.user-registration_page { - &_user-registration-membership, - &_user-registration-coupons, - &_user-registration-members, - &_member-payment-history { - .swal2-container { - .swal2-header { - padding: 24px !important; - padding-bottom: 16px !important; - - .swal2-title { - display: flex !important; - align-items: center; - gap: 8px; - font-size: 18px; - line-height: 26px; - margin-bottom: 0; - width: 100%; - border-bottom: 1px solid #e9e9e9; - padding-bottom: 16px; - color: #222; - margin-bottom: 0; - - img { - width: 20px; - height: 20px; - } - } - } - - .swal2-content { - padding: 0 24px; - - .swal2-html-container { - text-align: left; - - p { - font-size: 15px; - line-height: 23px; - color: #383838; - margin: 0; - } - } - } - - .swal2-actions { - button { - margin: 0; - - &.swal2-confirm { - background: #f25656 !important; - - &:hover { - background: #e34747 !important; - } - } - } - } - } - } -} - -// Custom CAPTCHA Form Builder Field Options CSS -.ur-registered-from { - .ur-general-setting { - &.ur-setting-captcha { - .ur-options-list { - .ui-sortable-handle { - flex-direction: row; - flex-wrap: wrap; - } - } - } - - &.ur-general-setting-image-captcha-options { - .ur-options-list { - .ur-custom-captcha { - background: #f2f2f2; - padding: 12px; - margin-bottom: 16px; - - .icons-group { - display: grid; - grid-template-columns: repeat( - auto-fill, - minmax(100px, 1fr) - ); - gap: 10px; - width: 100%; - - .icon-wrap { - background: #ffffff; - border-radius: 4px; - padding: 10px; - text-align: center; - - label { - margin-bottom: 0; - - .dashicons { - width: 100%; - height: 75px; - display: flex; - align-items: center; - justify-content: center; - border-radius: 2px; - background: #fafafa; - border: 1px solid #d9d9d9; - transition: all 0.3s; - cursor: pointer; - - &::before { - font-size: 24px; - } - - &:hover { - background: rgba(240, 242, 249, 1%); - border-color: #475bb2; - } - } - - input { - &[type="radio"] { - display: none; - - &:checked ~ .dashicons { - background: rgba(240, 242, 249, 1%); - border-color: #475bb2; - } - } - } - } - - .button { - width: 100%; - margin-top: 12px; - height: auto; - padding: 2px 10px; - line-height: 24px; - font-size: 13px; - } - } - } - - a.remove { - width: max-content; - height: auto; - padding: 6px 12px 6px 8px; - margin-left: 0 !important; - align-items: center; - gap: 4px; - - &:hover { - background: #fa5252; - border-color: #fa5252; - } - - &:focus { - box-shadow: none; - outline: none; - } - } - } - - a.add { - border: 1px solid #e1e1e1; - padding: 8px 16px; - height: auto; - } - } - } - } -} - -body { - &.ur-settings-sidebar-hidden { - .user-registration-settings-sidebar-container { - margin-right: -910px; - display: none; - } - } -} - -.ur-embed-form-button { - background: #edeff7 !important; - border-color: #edeff7 !important; - box-shadow: 0 1px 0 #edeff7 !important; - font-size: 14px !important; - color: #383838 !important; - border-radius: 3px !important; -} -.embed-form-swl-container { - display: flex; - flex-wrap: wrap; - gap: 10px; - padding-bottom: 10px; - justify-content: space-evenly; -} -.ur-embed-container { - @extend .embed-form-swl-container; -} -.ur-embed-select-existing-page-container { - @extend .embed-form-swl-container; - .ur-embed-go-back { - flex-basis: 100%; - text-align: center; - font-size: 14px; - } - select { - width: 80%; - border: 1px solid #eae2e2; - margin:-10px; - } - p{ - font-size: 1em; - } -} -.ur-embed-new-page-container { - @extend .embed-form-swl-container; - .ur-embed-go-back { - flex-basis: 100%; - text-align: center; - margin-top: 10px; - font-size: 14px; - } - p{ - font-size: 1em; - } - input { - margin-left: -50px; - width: 80%; - border: 1px solid #eae2e2; - } -} - -@font-face { - font-family: "UserRegistration"; - src: url("../fonts/UserRegistration.eot?v5p6f"); - src: - url("../fonts/UserRegistration.eot?v5p6f#iefix") - format("embedded-opentype"), - url("../fonts/UserRegistration.ttf?v5p6f") format("truetype"), - url("../fonts/UserRegistration.woff?v5p6f") format("woff"), - url("../fonts/UserRegistration.svg?v5p6f#UserRegistration") - format("svg"); - font-weight: normal; - font-style: normal; - font-display: block; -} - -#elementor-editor-wrapper .ur-icon-user-registration:before, -.elementor-edit-area .ur-icon-user-registration:before { - content: "\e031"; - font-family: "UserRegistration"; - font-weight: normal; - font-style: normal; - font-display: block; -} -#elementor-editor-wrapper .ur-icon-edit-password:before, -.elementor-edit-area .ur-icon-edit-password:before { - content: "\e045"; - font-family: "UserRegistration"; - font-weight: normal; - font-style: normal; - font-display: block; -} -#elementor-editor-wrapper .ur-icon-edit-profile:before, -.elementor-edit-area .ur-icon-edit-profile:before { - content: "\e046"; - font-family: "UserRegistration"; - font-weight: normal; - font-style: normal; - font-display: block; -} -#elementor-editor-wrapper .ur-icon-login:before, -.elementor-edit-area .ur-icon-login:before { - content: "\e048"; - font-family: "UserRegistration"; - font-weight: normal; - font-style: normal; - font-display: block; -} -#elementor-editor-wrapper .form:before, -.elementor-edit-area .form:before { - content: "\e048"; - font-family: "UserRegistration"; - font-weight: normal; - font-style: normal; - font-display: block; -} -#elementor-editor-wrapper .ur-icon-myaccount:before, -.elementor-edit-area .ur-icon-myaccount:before { - content: "\e047"; - font-family: "UserRegistration"; - font-weight: normal; - font-style: normal; - font-display: block; -} -#elementor-editor-wrapper .ur-icon-popup:before, -.elementor-edit-area .ur-icon-popup:before { - content: "\e043"; - font-family: "UserRegistration"; - font-weight: normal; - font-style: normal; - font-display: block; -} -#elementor-editor-wrapper .ur-icon-profile-details:before, -.elementor-edit-area .ur-icon-profile-details:before { - content: "\e044"; - font-family: "UserRegistration"; - font-weight: normal; - font-style: normal; - font-display: block; -} + .ur-registered-list { + display: flex; + flex-wrap: wrap; + width: calc(100% + 16px); + margin-left: -$spacing_8px; + margin-top: $spacing_18px; + + &:last-child { + margin-bottom: 0; + } + } + } + } + + .ur-toggle-heading { + cursor: pointer; + display: flex; + align-items: center; + justify-content: space-between; + flex-direction: row-reverse; + + &:before { + content: ""; + background-image: url("../images/icons/ur-arrow-down.svg"); + background-repeat: no-repeat; + background-position: center; + background-size: 100%; + float: right; + transform: rotate(180deg); + width: 18px; + height: 18px; + transition: all 0.3s ease-in-out; + + // content: "\f142"; + // cursor: pointer; + // display: block; + // font: 400 20px/1 Dashicons; + // line-height: 0.5 !important; + // padding: 4px; + // position: relative; + // right: 0; + // top: 0; + // float: right; + } + + &.closed { + &:before { + // content: "\f140"; + transform: rotate(0deg); + } + } + } + } + + input[type="text"], + input[type="date"], + input[type="email"], + input[type="file"], + input[type="month"], + input[type="number"], + input[type="phone"], + input[type="password"], + input[type="tel"], + input[type="time"], + input[type="url"], + input[type="week"], + input[type="timepicker"], + textarea, + .ui-widget select, + select { + width: 100%; + max-width: 100%; + height: 32px; + line-height: initial; + display: block; + color: $color_gray_one; + font-size: 13px; + padding: 4px 8px; + border-radius: 3px; + border: 1px solid $border_color; + box-shadow: 0 0 0 transparent; + + &:focus { + border-color: $primary_color; + } + + &::placeholder { + color: $color_gray_three; + } + + &:disabled { + color: $color_gray_three; + background: $color_gray_five; + } + } + + select { + padding-right: 0; + } + + label { + display: block; + width: 100%; + margin-bottom: 8px; + color: $color_gray_one; + font-size: 13px; + font-weight: $medium; + line-height: 1.25; + } + + textarea { + padding: 10px; + height: 100px; + } + + .ur-builder-wrapper { + position: relative; + flex: 1; + height: calc(100vh - 89px); + background: #f1f4f8; + border-left: 1px solid $border_color; + overflow-y: auto; + + input[type="text"], + input[type="date"], + input[type="email"], + input[type="file"], + input[type="month"], + input[type="number"], + input[type="phone"], + input[type="password"], + input[type="tel"], + input[type="time"], + input[type="url"], + input[type="week"], + input[type="timepicker"], + textarea, + select { + &:disabled { + background: $white; + } + } + + .ur-builder-header { + display: flex; + align-items: center; + justify-content: space-between; + } + + &.ur-multipart { + .ur-button-quick-links { + bottom: 60px; + } + + .ur-builder-wrapper-footer { + .button.button-style-customizer { + bottom: 124px; + } + } + } + } + + .ur-selected-inputs { + box-sizing: border-box; + padding: 0 20px; + + .ur-single-row { + border-radius: 3px; + position: relative; + border: 1px solid transparent; + + &:last-child { + margin-bottom: 0; + } + + .ur-grids { + display: flex; + position: absolute; + right: 0; + z-index: 1; + opacity: 0; + transition: all 0.2s ease-in; + + button { + display: flex; + border-radius: 0; + border: 0; + background-color: $color_gray_two; + color: $white; + font-size: 16px; + height: auto; + width: auto; + cursor: pointer; + margin: 0; + padding: 4px 6px; + line-height: 1; + transition: all 0.1s ease-in-out; + + svg { + width: 16px; + height: 16px; + font-size: 16px; + fill: $grey-0; + margin-left: 1px; + } + + &:before { + font-family: "dashicons"; + } + + &.ur-remove-row { + &:hover { + background: $red; + } + } + + &:hover { + background: $primary_color; + } + + &:first-child { + // border-radius: 3px 0 0 3px; + border-radius: 0 0 0 $border_radius_7; + border-right: 1px solid transparentize($white, 0.8); + } + + &:nth-child(2) { + border-radius: 0 $border_radius_7 0 0; + // background: $grey-50; + border-left: $border_width solid $grey-0; + } + } + + .ur-toggle-grid-content { + background: $white; + padding: 1rem; + position: absolute; + top: 40px; + right: 0; + display: flex; + flex-wrap: wrap; + justify-content: center; + white-space: nowrap; + border: 1px solid $border_color; + border-radius: 4px; + box-shadow: 1px 4px 14px 1px transparentize($gray_base, 0.9); + + small { + font-size: 12px; + margin-bottom: 0.5rem; + color: $color_gray-two; + } + + .ur-grid-selector { + cursor: pointer; + display: flex; + margin-right: 0.5rem; + + svg { + width: 32px; + height: 32px; + fill: $color_gray_two; + } + + &:last-child { + margin-right: 0; + } + } + + &::before { + content: ""; + width: 8px; + height: 8px; + border: solid $border_color; + border-width: 1px; + border-left: transparent; + border-bottom: transparent; + position: absolute; + top: -5px; + right: 36px; + background: $white; + transform: rotate(-45deg); + } + } + } + + .ur-grid-lists { + width: 100%; + display: flex; + text-align: center; + box-sizing: border-box; + justify-content: center; + border: 1px solid transparent; + border-radius: 4px; + transition: all 0.2s ease-in; + border-left: 0; + + .ur-grid-list-item { + display: inline-block; + text-align: left; + border: 0 none; + padding: 15px; + flex: 1; + border: 1px solid transparent; + border-radius: 4px; + transition: all 0.2s ease-in; + + .ur-selected-item { + margin-bottom: 5px; + position: relative; + padding: 15px; + cursor: move; + border: 1px solid transparent; + border-radius: 4px; + transition: border-color 0.35s; + + .select2-container { + width: 100% !important; + + .select2-search--inline { + .select2-search__field { + height: auto; + min-width: 10px; + background: none; + margin: 0; + } + } + } + + .ur-input-type-signature { + canvas { + background: transparentize($white, 0.5); + border: 1px solid $border_color; + } + } + + &:last-child { + margin-bottom: 0; + } + + &:hover, + &.ur-item-active { + background: $white; + border: 1px solid $primary_color; + } + + &.ui-sortable-helper { + box-shadow: 0 0 10px 5px + transparentize($gray_base, 0.9); + } + + &.ui-sortable-placeholder { + visibility: visible !important; + border: 1px dashed $color_gray_three; + background-color: $color_gray_five; + } + + .ur-action-buttons { + display: none; + position: absolute; + right: 10px; + width: 50px; + text-align: center; + padding: 0; + font-size: 10px; + top: 10px; + color: $color_gray_three; + top: 0; + right: -1px; + + span { + cursor: pointer; + font-size: 16px; + height: auto; + + &:hover { + color: $primary_color; + } + + &:first-child { + background: #676f8a; + padding: $spacing_4px; + width: 24px; + height: 24px; + border-radius: 0 0 0 $border_radius_7; + + &::before { + // content: ""; + // background-image: url("../images/icons/copy-icon.svg"); + // background-repeat: no-repeat; + // background-position: center; + // background-size: 100%; + // width: 14.22px; + // height: 14.22px; + // display: block; + color: $grey-0; + } + } + + &:last-child { + background: #676d8a; + padding: $spacing_4px; + width: 24px; + height: 24px; + border-radius: 0 $border_radius_7 0 0; + border-left: $border_width solid $grey-0; + + &:before { + content: "\f335" !important; + color: $grey-0; + } + } + } + + &:hover { + .ur-action-buttons { + display: block; + top: 0; + right: -3px; + } + } + + .ur-trash { + &:hover { + color: $red; + } + } + } + + .ur_label_top_left { + text-align: left; + } + + .ur_label_center { + text-align: center; + } + + .ur_label_top_right { + text-align: right; + } + + .ur_label_disabled { + display: none; + } + + &:hover { + .ur-action-buttons { + display: block; + } + } + } + + > li.ur-item-dragged { + list-style: none; + width: 100%; + text-align: center; + height: 60px !important; + box-sizing: border-box; + + .spinner { + float: none; + } + } + + .user-registration-dragged-me { + display: table; + width: 100%; + height: 100%; + + .user-registration-dragged-me-text { + display: table-cell; + vertical-align: middle; + text-align: center; + + p { + display: inline-block; + position: relative; + color: $color_gray_three; + padding-left: 26px; + padding-top: 8px; + + &::before { + position: absolute; + font-family: "Dashicons"; + content: "\f545"; + font-size: 22px; + left: 0; + top: 0; + } + } + } + + &:empty { + padding: 15px; + text-align: center; + border-radius: 4px; + border: 1px dashed $color_gray_three; + background-color: $color_gray_five; + + &::before { + content: "\f132"; + font-size: 32px; + color: $color_gray_three; + width: 32px; + height: 32px; + font-family: dashicons; + display: table-cell; + vertical-align: middle; + } + } + } + + &.ur-sortable-active { + .ur-registered-item { + margin-bottom: 0; + } + + .user-registration-dragged-me { + display: none; + } + } + + &:first-child { + border-radius: 4px 0 0 4px; + } + + &:nth-child(2) { + border-radius: 0; + } + + &:nth-child(3) { + border-radius: 0 4px 4px 0; + } + } + } + + &:hover { + .ur-grids { + opacity: 1; + } + + .ur-grid-lists { + background: $white; + border: 1px solid $color_gray_three; + + .ur-grid-list-item { + border-left: 1px solid $color_gray_three; + + &:first-child { + border-color: transparent; + } + } + } + } + } + + .ur-row-buttons { + display: flex; + justify-content: center; + margin-top: 10px; + + .button { + display: block; + width: auto; + height: 32px; + text-align: center; + font-family: inherit; + + &::before { + width: 16px; + height: 16px; + font-size: 16px; + margin-right: 10px; + font-family: dashicons; + vertical-align: middle; + padding: 1px 10px 1px 0; + border-right: 1px solid transparentize($white, 0.7); + } + } + } + + li.ur-registered-item { + width: 120px !important; + + &.ui-sortable-placeholder { + margin-left: 0; + width: 100% !important; + visibility: visible !important; + border: 1px dashed $color_gray_three; + background-color: $color_gray_five; + } + } + } + + .ur-builder-wrapper-footer { + .button.button-style-customizer { + height: 48px !important; + width: 48px !important; + bottom: 72px !important; + box-shadow: 1px 2px 8px transparentize($gray_base, 0.85); + + .dashicons { + font-size: 24px; + height: 24px; + width: 24px; + } + } + + .ur-button-quick-links { + width: 48px; + height: 48px; + position: fixed; + cursor: pointer; + color: $color_gray-one; + display: flex; + align-items: center; + justify-content: center; + right: 32px; + bottom: 16px; + background: $white; + border: 1px solid $border_color; + border-radius: 24px; + box-shadow: 0px 2px 10px transparentize($gray_base, 0.9); + z-index: 1; + + span { + font-size: 20px; + font-weight: $semi_bold; + margin: 0 auto; + } + } + + .ur-quick-links-content { + position: fixed; + background: $white; + padding: 12px 16px; + border-radius: 4px; + bottom: 58px; + right: 30px; + z-index: 2; + width: 225px; + border: 1px solid $border_color; + box-shadow: 2px 4px 12px transparentize($gray_base, 0.9); + + li { + margin-bottom: 8px; + } + + a { + color: $color_gray_one; + + &:hover { + color: $primary_color; + } + } + } + } + + .ur-general-setting, + .ur-advance-setting { + margin: $spacing_16px 0; + + .select2-search--inline { + display: none; + } + } + + .ur-advance-setting-block { + // margin-top: 25px; + margin-top: 0; + } + + .form-row { + .description { + color: $grey-300; + margin: $spacing_4px 0; + display: block; + } + + .ur-radio-list, + .ur-checkbox-list { + label { + display: inline; + } + } + } + + .ur-general-setting-block, + .ur-advance-setting-block { + display: none; + } + + .add, + .remove { + background: $white; + border: $border_width solid $border_color; + color: $color_gray_two; + cursor: pointer; + display: flex; + flex: 1 0 32px; + align-items: center; + justify-content: center; + height: 32px; + max-width: 32px; + border-radius: $border_radius_4; + position: relative; + + &:hover { + background: $primary_color; + border-color: $primary_color; + color: $white; + } + + .dashicons { + line-height: 22px; + } + + &.add-icon-group, + &.remove-icon-group { + flex: unset; + max-width: unset; + } + } + + .ur-options-list { + li { + display: flex; + align-items: center; + background-color: #f5f5f5; + + .editor-block-mover__control-drag-handle { + cursor: grab; + + svg { + fill: $color_gray_two; + } + } + + .ur-multiple-choice .ur-subscription-plan { + .ur-regular-price, + .ur-selling-price { + display: grid; + grid-template-columns: 1fr 1fr; + gap: $spacing_8px; + padding: $spacing_4px; + input { + width: 100%; + } + } + } + + &.ur-multiple-choice, + &.ur-subscription-plan { + gap: $spacing_8px; + + input { + margin-right: 0; + } + + > input[type="text"] { + width: 80%; + } + .ur-regular-price, + .ur-selling-price { + position: relative; + + span { + position: absolute; + top: 0; + background: #e7e7e7; + padding: $spacing_6px $spacing_8px; + color: $grey-400; + border-radius: $border_radius_3; + top: -60px; + font-size: 13px; + opacity: 0; + visibility: hidden; + transition: all 0.3s ease-in-out; + + &::after { + content: ""; + border: 8px solid transparent; + border-top-color: #e7e7e7; + height: 0; + left: 50%; + transform: translateX(-50%); + position: absolute; + top: 100%; + width: 0; + } + } + + &:hover { + span { + visibility: visible; + opacity: 1; + } + } + } + + .add { + margin-right: 0; + } + } + } + + .ui-sortable-handle { + padding: $spacing_5px; + border-radius: $border_radius_3; + border: $border_width solid transparent; + flex-direction: column; + gap: 12px; + + &:active { + padding: $spacing_5px; + background: $white; + border: $border_width solid $primary_color; + box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); + } + + &.ui-sortable-placeholder { + background-color: $color_gray_four; + visibility: visible !important; + } + + .ur-options-value-wrapper { + display: flex; + align-items: center; + gap: $spacing_8px; + width: 100%; + } + + .ur-image-choice-wrapper { + width: 100%; + + .upload-button { + padding: $spacing_8px $spacing_12px; + font-size: 14px; + width: 100%; + border: $border_width dashed #d3d3d3; + border-radius: $border_radius_3; + color: #616161; + cursor: pointer; + } + + .ur-thumbnail-image { + margin-top: $spacing_16px; + margin-bottom: $spacing_8px; + } + } + } + } + + .urcl-rules { + display: flex; + flex-wrap: wrap; + margin-bottom: $spacing_8px; + + > div { + margin-right: $spacing_8px; + } + + .urcl-operator { + width: 78px; + } + + .urcl-field, + .urcl-value { + max-width: 27%; + flex: 1 0 27%; + } + } + } + + /** + * Tooltips + */ + + .tips { + cursor: help; + text-decoration: none; + } + + img.tips { + padding: $spacing_5px 0 0; + } + + .ur_error_tip { + max-width: 20em; + line-height: 1.8em; + position: absolute; + white-space: normal; + background: $red; + margin: 1.5em 1px 0 -1em; + z-index: 9999999; + + &::after { + content: ""; + display: block; + border: $border_radius_8 solid $red; + border-right-color: transparent; + border-left-color: transparent; + border-top-color: transparent; + position: absolute; + top: -3px; + left: 50%; + margin: -1em 0 0 -3px; + } + } + + .tooltipster-base { + .tooltipster-box { + // background-color: #4c5477 !important; + background: $grey-400 !important; + padding: $spacing_4px $spacing_8px; + border-radius: $border_radius_2; + text-align: center; + + .tooltipster-content { + padding: $spacing_2px 0; + } + + .tooltipster-content a { + color: #9ef01a !important; + } + } + + .tooltipster-arrow { + .tooltipster-arrow-uncropped { + .tooltipster-arrow-border { + border-top-color: $grey-400 !important; + border-bottom-color: $grey-400 !important; + // border-bottom-color: #4c5477 !important; + // border-top-color: #4c5477 !important; + } + } + } + + &.ur-selling-price-tooltip { + .tooltipster-box { + background-color: rgb(244, 73, 73) !important; + border: rgb(244, 73, 73); + } + .tooltipster-arrow { + .tooltipster-arrow-uncropped { + .tooltipster-arrow-border { + border-top-color: rgb(244, 73, 73) !important; + border-bottom-color: rgb(244, 73, 73) !important; + } + .tooltipster-arrow-background { + border-top-color: rgb(244, 73, 73) !important; + } + } + } + } + } + + /** + * Help Tip + */ + .user-registration-help-tip, + .ur-portal-tooltip { + color: $color_gray_two; + display: inline-block; + font-size: 22px; + font-style: normal; + height: 16px; + line-height: 16px; + position: relative; + vertical-align: baseline; + width: 16px; + + &:not(.no-icon) { + &::after { + @include icon_dashicons("\f223"); + cursor: help; + } + } + } + + #smart-tags { + text-align: center; + } + + .form-settings-tab { + cursor: pointer; + padding: $spacing_10px $spacing_15px; + color: $gray_base; + background: $color_gray_four; + margin-bottom: $spacing_10px; + line-height: 1.2; + border-radius: $border_radius_4; + + &.active { + background: $primary_color; + color: $white; + } + } + + #profile-page form#your-profile .flatpickr-input[readonly] { + background-color: $white; + } + + /** + * Fullscreen Mode + **/ + body { + &.ur-full-screen-mode { + margin-top: -$spacing_32px; + + #wpbody-content { + padding-bottom: 45px; + } + + #wpwrap { + #wpcontent { + margin-left: 0; + padding-left: 0; + + #wpadminbar { + display: none; + } + + #wpbody { + .ur-tab-content { + padding: $spacing_20px; + } + + #menu-management-liquid { + margin-top: 0; + + .menu-edit { + margin-bottom: 0; + box-shadow: none; + left: 0 !important; + } + } + } + } + + #adminmenumain { + display: none; + } + } + + .ur-registered-from { + .ur-registered-inputs { + .ur-tabs { + .ur-tab-contents { + height: calc(100vh - 98px); + } + } + } + + .ur-builder-wrapper { + height: calc(100vh - 57px); + } + } + } + + /** + * User Registration Builder Loading + **/ + .ur-circle-loading { + position: relative; + width: 100px !important; + height: 100px !important; + transform: translate(-50px, -50px) scale(0.5) translate(50px, 50px); + + &::before, + &::after { + content: ""; + position: absolute; + top: 70px; + left: 70px; + animation: ur-circle-loading-keyframe 1.5s linear infinite; + width: 60px; + height: 60px; + border-radius: 50%; + background: #475bb2; + } + + &::after { + animation-delay: -0.75s; + background: #668fe5; + } + } + + .ur-builder-message-container { + position: fixed; + top: $spacing_32px; + left: 0; + right: 0; + max-width: 430px; + margin: 0 auto; + z-index: 9999; + + .ur-message { + display: none; + margin: 0 auto; + margin-top: 16px; + transition: all 240ms cubic-bezier(0, 0, 0.2, 1) 0s; + z-index: 99999; + height: 0px; + + .ur-success, + .ur-error { + background: $white; + padding: $spacing_8px $spacing_16px; + border-radius: $border_radius_3; + border-left: 3px solid; + position: relative; + box-shadow: 0px 1px 8px 2px transparentize($gray_base, 0.9); + + p { + margin: $spacing_8px 0; + + &::before, + &::after { + font-family: dashicons; + width: 20px; + height: 20px; + font-size: 20px; + margin-right: 8px; + margin-top: -4px; + line-height: 1; + display: inline-block; + vertical-align: middle; + } + } + } + + .ur-success { + border-color: $green; + + p { + &::before { + content: "\f12a"; + color: $green; + } + } + } + + .ur-error { + border-color: $red; + + p { + &::before { + content: "\f534"; + color: $red; + } + } + } + + .dashicons { + cursor: pointer; + position: absolute; + right: 16px; + top: 50%; + transform: translateY(-50%); + line-height: 1; + } + + &.entered { + display: block; + height: 50px; + animation: 240ms cubic-bezier(0.175, 0.885, 0.32, 1.175) 0s 1 + normal both open-message; + + .ur-error { + display: flex; + align-items: center; + justify-content: space-between; + padding: $spacing_16px; + + p { + margin: 0; + } + + .ur-message-close { + position: unset; + transform: unset; + } + } + } + + &.exiting { + display: block; + animation: 120ms cubic-bezier(0.4, 0, 1, 1) 0s 1 normal both + close-message; + } + + &:first-child { + margin-top: 1.5rem; + } + } + } + + .main_header { + font-weight: $semi_bold; + font-size: 20px; + line-height: 27px; + } + + .ur-p-tag { + padding: 0px $spacing_20px $spacing_18px $spacing_20px; + margin: 0px; + font-style: italic; + } + } + + @media screen and (max-width: 1400px) { + .ur-registered-from { + .urcl-rules { + .urcl-field { + max-width: 61%; + flex: 1 0 60%; + margin-bottom: $spacing_5px; + } + + .urcl-value { + order: 4; + max-width: 87%; + flex: 1 0 86%; + } + + .add { + order: 3; + margin-right: 0; + } + + .remove { + order: 5; + } + } + } + } + + @media screen and (max-width: 960px) { + .ur-registered-from { + .ur-registered-inputs { + .ur-tabs .ur-tab-content .ur-registered-list .ur-registered-item { + float: none; + // width: 100%; + } + + .ur-single-row .ur-grid-lists, + .ur-single-row .ur-grid-lists .ur-grid-list-item, + .ur-single-row .ur-grid-lists .ur-grid-list-item .ur-selected-item { + padding: $spacing_10px; + } + } + } + } + + @media screen and (max-width: 782px) { + body.user-registration_page_add-new-registration { + min-width: 0 !important; + } + + .ur-registered-from { + flex-direction: column; + + .ur-registered-inputs { + width: 100%; + margin-bottom: $spacing_10px; + + .ur-tabs { + .ur-tab-content { + .ur-registered-list { + .ur-registered-item { + float: left; + width: 48%; + } + } + } + } + } + + .ur-selected-inputs { + width: 100%; + } + } + } + + @media screen and (max-width: 600px) { + .user-registration_page_add-new-registration .major-publishing-actions { + clear: both; + padding: 10px 0 19px; + line-height: 28px; + + .ur-form-name { + width: 100%; + } + + .publishing-action { + text-align: left; + float: none; + margin-top: $spacing_15px; + } + } + + .ur-registered-from .ur-selected-inputs .ur-single-row .ur-grid-lists { + flex-direction: column; + display: block; + + .ur-grid-list-item { + width: 100% !important; + + &:nth-child(1n + 2) { + border-left: 0 none; + } + } + } + } + + .ur-toggle-section { + &.ur-form-builder-toggle { + display: flex; + gap: 5px; + align-items: center; + + input[type="checkbox"] { + width: 30px !important; + height: 16px !important; + + &:focus { + outline: none; + box-shadow: none; + } + } + + .slider { + width: 30px !important; + height: 16px !important; + border-radius: 99px; + padding: $spacing_8px; + + &::before { + height: 12px !important; + width: 12px !important; + } + } + } + + .user-registration-toggle-form { + position: relative; + display: inline-block; + width: 36px; + height: 20px; + + input { + position: relative; + z-index: 99; + opacity: 0; + height: 22px; + width: 40px; + + &:checked + .slider { + background-color: #475bb2; + } + + &:focus + .slider { + box-shadow: 0 0 1px #2196f3; + } + + &:checked + .slider::before { + transform: translateX(16px); + } + } + + .slider { + position: absolute; + cursor: pointer; + inset: 0; + background-color: #dfe1ea; + transition: 0.4s; + + &.round { + border-radius: 30px; + } + + &.round::before { + border-radius: 50%; + } + + &::before { + position: absolute; + content: ""; + height: 16px; + width: 16px; + left: 2px; + bottom: 2px; + background-color: white; + transition: 0.4s; + border-radius: 100%; + } + } + } + } + + .user-registration-setup { + font-size: 14px; + max-width: calc(100% - 32px); + margin: 20px auto; + background: white; + + @media (min-width: 960px) { + max-width: 835px; + } + + @media (min-width: 1280px) { + max-width: 1100px; + } + + .ur-brand-logo { + border-right: 1px solid $border_color; + + img { + width: 32px; + height: 32px; + margin-right: $spacing_8px; + display: flex; + } + } + + a { + &:focus { + box-shadow: none; + } + } + + .page-title-action, + .page-title-action:active { + top: 0; + margin-left: $spacing_16px; + } + + .user-registration-setup-header { + display: flex; + flex-wrap: wrap; + align-items: center; + padding: 0 $spacing_16px; + background-color: white; + border-bottom: $border_width solid $color_gray-lighten; + + @media only screen and (max-width: 768px) { + padding-top: $spacing_16px; + } + + .user-registration-logo { + display: flex; + flex-wrap: wrap; + padding-right: 1em; + border-right: $border_width solid $color_gray-lighten; + margin-right: 1em; + } + + h4 { + margin-left: $spacing_15px; + } + + .user-registration-tab { + margin-left: auto; + + @media only screen and (max-width: 768px) { + width: calc(100% + 32px); + flex: 0 0 calc(100% + 32px); + margin-top: $spacing_16px; + margin-right: -$spacing_16px; + margin-left: -$spacing_16px; + border-top: $border_width solid $color_gray-lighten; + } + + ul { + display: flex; + flex-wrap: wrap; + margin: 0; + + .user-registration-tab-nav { + display: inline-flex; + margin: 0 $spacing_8px 0 0; + + &.active { + .user-registration-tab-nav-link { + color: $primary_color; + border-color: $primary_color; + } + } + + .user-registration-tab-nav-link { + font-weight: $semi_bold; + padding: $spacing_18px $spacing_8px $spacing_16px; + color: #494d50; + text-decoration: none; + border-bottom: 2px solid transparent; + } + } + } + } + } + + .ur-setup-templates { + display: flex; + flex-wrap: wrap; + padding: $spacing_8px; + + .ur-loading { + margin: 80px auto; + } + + .ur-template { + width: 100%; + background: white; + border-radius: $border_radius_4; + position: relative; + margin: $spacing_12px; + + @media (min-width: 400px) { + width: calc(50% - 24px); + flex: 0 0 calc(50% - 24px); + } + + @media only screen and (min-width: 768px) { + width: calc(33.333% - 24px); + flex: 0 0 calc(33.333% - 24px); + } + + @media (min-width: 960px) { + width: calc(25% - 24px); + flex: 0 0 calc(25% - 24px); + } + + .user-registration-screenshot { + cursor: pointer; + padding: $spacing_8px; + margin: 0; + min-height: auto; + position: relative; + border-radius: $border_radius_4; + background: $color_gray-more-lighten; + + @media only screen and (min-width: 1280px) { + min-height: 280px; + } + + .user-registration-badge { + position: absolute; + bottom: 16px; + right: 16px; + z-index: 1; + } + + .form-action { + display: none; + position: absolute; + left: 0; + right: 0; + top: 50%; + transform: translateY(-50%); + z-index: 1; + + .user-registration-btn { + &:last-child { + margin-left: $spacing_8px; + } + } + } + } + + img { + display: block; + width: 100%; + } + + .user-registration-form-id-container { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: space-between; + position: relative; + + .user-registration-template-name { + font-size: 16px; + font-weight: $semi_bold; + margin: $spacing_16px 0; + color: $gray-base; + text-decoration: none; + + &:hover { + color: $primary_color; + } + } + } + + &:hover { + .user-registration-screenshot::after { + content: ""; + display: block; + background: transparentize($gray-base, 0.5); + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + } + + .form-action { + display: flex; + align-items: center; + justify-content: center; + } + } + + &:nth-child(even) { + float: right; + } + + .ur-template-overlay { + position: absolute; + background-color: rgba(0, 0, 0, 0.5); + top: 0; + left: 0; + right: 0; + bottom: 0; + opacity: 0; + visibility: hidden; + transition: 0.5s background-color ease-in-out; + color: white; + text-align: center; + padding: 40% 0; + + .ur-template-select { + text-decoration: none; + } + + &.loading { + .ur-button, + .ur-button::before, + .ur-button::after { + background: white; + -webkit-animation: load1 1s infinite ease-in-out; + animation: load1 1s infinite ease-in-out; + width: 1em; + height: 4em; + padding: 0; + border-radius: 0; + } + + .ur-button { + color: white; + text-indent: -9999em; + margin: 0 auto; + position: relative; + font-size: 11px; + -webkit-transform: translateZ(0); + -ms-transform: translateZ(0); + transform: translateZ(0); + -webkit-animation-delay: -0.16s; + animation-delay: -0.16s; + } + + .ur-button::before, + .ur-button::after { + position: absolute; + top: 0; + content: ""; + } + + .ur-button::before { + left: -1.5em; + -webkit-animation-delay: -0.32s; + animation-delay: -0.32s; + } + + .ur-button::after { + left: 1.5em; + } + + @-webkit-keyframes load1 { + 0%, + 80%, + 100% { + box-shadow: 0 0; + height: 4em; + } + 40% { + box-shadow: 0 -2em; + height: 5em; + } + } + @keyframes load1 { + 0%, + 80%, + 100% { + box-shadow: 0 0; + height: 4em; + } + 40% { + box-shadow: 0 -2em; + height: 5em; + } + } + } + } + + &:hover .ur-template-overlay, + .ur-template-overlay.loading { + opacity: 1; + visibility: visible; + } + + .ur-button { + display: inline-block; + padding: $spacing_15px $spacing_22px; + background-color: white; + color: #000; + font-size: 12px; + text-transform: uppercase; + border: none; + border-radius: 100px; + } + } + } + } + + .user-registration-form-template-wrapper { + .user-registration-form-template { + &[data-filter-template="free"] { + .user-registration-template-wrap[data-plan="premium"] { + display: none; + } + } + &[data-filter-template="premium"] { + .user-registration-template-wrap[data-plan="free"] { + display: none; + } + } + } + } + + .user-registration { + .swal2-container { + h3 { + font-size: 16px; + font-weight: $regular; + } + + .user-registration-trashed { + button { + margin: 0; + transition: all 0.3s ease-in-out; + + &.swal2-confirm { + background-color: #f75259 !important; + border: $border_width solid #f75259; + border-radius: $border_radius_3; + transition: all 0.3s ease-in-out; + } + + &.swal2-cancel { + background: transparent; + border: $border_width solid $grey-200; + color: $grey-200; + + &:hover { + border-color: $grey-500; + color: $grey-500; + } + } + } + } + .user-registration-info { + .swal2-actions{ + display: flex; + padding: 10px !important ; + } + .swal2-html-container{ + p{ + font-size: 1em; + } + } + button { + + transition: all 0.3s ease-in-out; + + &.swal2-confirm { + background-color: #475bb2!important; + border: $border_width solid #475bb2; + border-radius: $border_radius_3; + transition: all 0.3s ease-in-out; + } + + &.swal2-cancel { + background: transparent; + border: $border_width solid $grey-200; + color: $grey-200; + + &:hover { + border-color: $grey-500; + color: $grey-500; + } + } + } + } + + .swal2-popup { + width: 400px; + + &.user-registration-settings-swal2 { + width: auto; + } + + &.swal2-icon-error { + border-top: 6px solid #ff4f55; + } + + border-radius: $spacing_10px; + padding: 0; + + &.user-registration-locked-field { + border-top: 6px solid #72aee6; + + &.swal2-icon-success { + border-top: 6px solid #a5dc86; + } + + &.swal2-icon-warning { + border-top: 6px solid #facea8; + } + } + + .swal2-header { + padding: $spacing_34px $spacing_40px 0 $spacing_40px; + + .swal2-title { + margin-bottom: $spacing_4px; + + i { + margin-bottom: $spacing_16px; + } + } + + .swal2-close { + box-shadow: none; + top: $spacing_2px; + } + } + + &.user-registration-swal2-no-button { + .swal2-header { + padding-bottom: $spacing_34px; + } + } + + .swal2-content { + .swal2-validation-message { + margin-left: 0; + margin-right: 0; + border-left: 3px solid #f27474; + justify-content: flex-start; + padding: $spacing_12px $spacing_6px $spacing_12px + $spacing_6px; + } + + .action-buttons { + a { + background-color: #475bb2; + border: none; + text-decoration: none; + color: white; + font-size: 16px; + font-weight: 600; + } + } + } + + .swal2-actions { + margin-top: $spacing_24px; + background: #fcfcfc; + border-top: $border_width solid $border-color; + padding: $spacing_16px; + border-radius: 0 0 $border_radius_13 $border_radius_13; + justify-content: center; + flex-direction: row-reverse; + gap: $spacing_12px; + + .swal2-confirm { + background: #475bb2; + transition: all 0.3s ease-in-out; + + &:hover { + background: #4b68ec; + } + } + } + + &.user-registration-locked-field { + .swal2-header { + padding-bottom: $spacing_4px; + + .swal2-close { + box-shadow: none; + } + } + + .swal2-content { + padding-left: 0; + padding-right: 0; + + .swal2-html-container { + padding-left: $spacing_20px; + padding-right: $spacing_20px; + + .action-buttons { + margin-left: -$spacing_20px; + margin-right: -$spacing_20px; + border-radius: 0 0 $border_radius_10 + $border_radius_10; + padding: $spacing_16px; + text-align: right; + background: #fcfcfc; + border-top: $border_width solid $border-color; + } + } + } + } + + .swal2-actions { + button { + &:focus { + box-shadow: none; + } + + &:focus-visible { + outline: none; + } + } + } + } + + .user-registration-recommend-addons { + margin-bottom: $spacing_20px; + padding-bottom: $spacing_16px; + border-bottom: 2px solid $color_gray-more-lighten; + + .bulk-action-notice { + margin: 0 0 $spacing_20px; + + p { + padding: 0; + margin: $spacing_8px 0 !important; + } + + &.notice-error { + .button-link { + text-decoration: none; + display: flex; + align-items: center; + margin-top: $spacing_8px; + + .toggle-indicator { + display: inline-flex; + } + } + + .bulk-action-errors { + margin-top: 0; + } + } + } + + .plugins-list-table { + border-radius: $border_radius_4; + + .plugin-name { + text-align: left; + } + + .plugin-status { + float: right; + + span { + width: 15px; + height: 15px; + overflow: hidden; + border-radius: 50%; + position: relative; + vertical-align: top; + white-space: nowrap; + text-indent: -9999px; + display: inline-block; + border: 2px solid $color_gray-lighten; + + &.active, + &.activate-now { + &::after { + position: absolute; + left: 50%; + top: 50%; + opacity: 1; + width: 34%; + height: 50%; + content: ""; + transform-origin: left top; + border-top: 2px solid $color_gray-lighten; + border-right: 2px solid $color_gray-lighten; + transform: scaleX(-1) rotate(135deg) + translate(-58%, -40%); + } + } + + &.activate-now { + border-color: $color_gray-lighten; + + &.updating-message { + border-color: $color_gray-lighten; + border-left-color: $green; + } + } + + &.active { + border-color: $green; + + &::after { + border-top: 2px solid $green; + border-right: 2px solid $green; + } + } + + &.updating-message { + border-left-color: $green; + animation: spin 0.75s linear infinite; + + &::after { + content: none; + } + } + } + } + } + } + + .user-registration-template-install-addon, + .user-registration-template-continue { + margin-top: $spacing_20px; + color: $white; + text-decoration: none; + } + } + } + + // ----------------------------------------- FORM BUILDER V2 CSS STARTS ----------------------------------------------------------------------- + //--------------------------------------------------------------------------------------------------------------------------------- + //--------------------------------------------------------------------------------------------------------------------------- + //---------------------------------------------------------------------------------------------------------------------- + a.button.ur-smart-tags-list-button { + top: 29px; + right: 0; + width: 30px; + min-height: 30px; + color: #494d50; + position: absolute; + background: #fff; + border: 1px solid #cdd0d8; + border-radius: 4px; + box-shadow: inset 0 1px 2px rgba(35, 40, 45, 0.1); + } + + .ur-advance-setting.ur-advance-default_value, + .ur-general-setting.ur-general-setting-hidden-value, + .ur-advance-setting.ur-advance-pattern_value { + position: relative; + margin-bottom: 15px; + + & input.ur-general-setting-field, + & input.ur_advance_setting.ur-settings-pattern_value { + width: calc(100% - 40px) !important; + min-height: 27px; + } + + & a.button.ur-smart-tags-list-button { + top: 29px; + right: 0; + width: 30px; + min-height: 30px; + color: #494d50; + position: absolute; + background: #fff; + border: 1px solid #cdd0d8; + border-radius: 4px; + box-shadow: inset 0 1px 2px rgba(35, 40, 45, 0.1); + } + + & .ur-smart-tags-list-button .dashicons-editor-code::before { + left: 0; + right: 0; + margin: 0 auto; + line-height: 28px; + position: absolute; + } + + & .ur-smart-tags-list { + right: 0; + z-index: 1; + max-height: 123px; + margin-top: -1px; + width: 230px; + overflow-y: auto; + position: absolute; + background: #fff; + border-radius: 4px; + border: 1px solid #cdd0d8; + box-shadow: 1px 3px 20px 0 rgba(35, 40, 45, 0.2); + + & .ur-smart-tag-title { + font-weight: 600; + background: #f6f7f9; + border-bottom: 1px solid #cdd0d8; + font-size: 12px; + padding: 10px; + } + + & li { + padding: 4px 10px; + font-size: 12px; + } + + &:hover { + cursor: pointer; + } + } + } + + .user-registration_page_add-new-registration, + .toplevel_page_user-registration { + #nav-menu-header { + padding-right: $spacing_30px; + + .ur-form-title { + font-weight: $semi_bold; + font-size: 16px; + line-height: 150%; + color: #414141; + padding-left: $spacing_18px; + padding-right: $spacing_8px; + } + + .ur-editing-tag { + padding: $spacing_4px $spacing_10px; + background: $blue-50; + border-radius: $border_radius_50; + font-style: italic; + font-weight: $regular; + font-size: 12px; + line-height: 150%; + color: $grey-400; + } + + .publishing-action { + .button-secondary { + background: $blue-50; + border-color: $blue-50; + box-shadow: 0 1px 0 $blue-50; + font-size: 14px; + color: $grey-400; + border-radius: $border_radius_3; + + &:has(span) { + width: 33px; + height: 33px; + } + + // .dashicons-editor-expand, + // .dashicons-editor-contract { + // &::before { + // color: $grey-400; + // } + // } + + .ur-fs-open-label, + .ur-fs-close-label { + &::before { + content: ""; + background-repeat: no-repeat; + background-position: center; + background-size: 100%; + display: block; + top: -1px; + left: 1px; + position: relative; + width: 19px; + height: 19px; + } + } + + .ur-fs-open-label { + &::before { + background-image: url("../images/icons/maximize.svg"); + } + } + + .ur-fs-close-label { + &::before { + background-image: url("../images/icons/minimize.svg"); + } + } + } + + .button-primary { + background: $primary_color; + font-size: 14px; + + &:hover { + background: $primary_dark; + border-color: $primary_dark; + } + + &.ur-copy-shortcode { + width: 33px; + height: 33px; + padding-left: 0; + padding-right: 0; + background: $primary_color; + border-color: $primary_color; + box-shadow: none; + + &:hover { + background: $primary_dark; + border-color: $primary_dark; + } + + svg { + width: 18px; + height: 18px; + margin-bottom: 3px; + } + } + } + } + } + } + + .ur-registered-from { + .ur-registered-inputs { + position: relative; + + .nav-tab-wrapper { + } + + .ur-tab-contents { + #ur-setting-form { + .ur-general-setting-block { + margin-bottom: $spacing_36px; + + &:has(.closed) { + margin-bottom: 0; + } + } + } + + .ur-toggle-content { + label { + font-weight: $regular; + font-size: 14px; + line-height: 140%; + color: $grey-400; + display: flex; + align-items: center; + gap: $spacing_2px; + + .ur-portal-tooltip { + width: 12px; + + &::after { + font-size: 18px; + line-height: unset; + color: $grey-100; + } + } + } + + input[type="text"], + input[type="email"], + input[type="password"], + input[type="number"] textarea { + &::placeholder { + color: $grey-100; + } + } + + input { + padding: $spacing_18px $spacing_12px; + background: $grey-0; + border: $border_width solid $border-color; + border-radius: $border_radius_4; + font-weight: $regular; + font-size: 14px; + line-height: 150%; + color: $grey-300; + } + } + } + + button#ur-collapse { + width: 22px; + height: 41px; + background: $grey-0; + position: absolute; + bottom: $spacing_100px; + border-style: solid; + border-width: $border_width $border_width $border_width 0px; + border-color: $border-color; + border-radius: 0 $border_radius_3 $border_radius_3 0; + z-index: 1; + cursor: pointer; + transition: all 0.3s ease-in-out; + right: -$spacing_22px; + + svg { + width: 12px; + height: 12px; + display: block; + position: relative; + left: -$spacing_2px; + transition: all 0.3s ease-in-out; + } + + &:hover { + svg { + left: -$spacing_4px; + } + } + + &.open { + width: 24px; + height: 44px; + + svg { + transform: rotate(180deg); + left: -1px; + width: 14px; + height: 14px; + } + + &:hover { + svg { + left: 1px; + } + } + } + } + } + + .ur-builder-wrapper { + .ur-selected-inputs { + padding: $spacing_30px; + background: $canva-color; + + .ur-login-form-wrapper { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + } + .ur-login-shortcode { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + margin-top: 2rem; + + h1 { + font-weight: bold; + font-size: 35px; + margin-bottom: 2rem; + } + + p { + font-size: 16px; + } + .ur-login-content { + margin-left: 10rem; + margin-right: 5rem; + } + } + .ur-login-view-doc { + margin-top: 5rem; + a { + font-size: large; + text-decoration: underline; + } + } + } + + .ur-builder { + &-header { + padding-top: $spacing_10px; + padding-bottom: $spacing_24px; + border-bottom: $border_width solid $border-color; + margin-bottom: $spacing_32px; + + .user-registration-editable-title { + margin-top: 0 !important; + margin-bottom: 0 !important; + + .user-registration-editable-title__input { + font-size: 22px; + line-height: 130%; + color: $grey-500; + padding: $spacing_4px $spacing_8px $spacing_4px + $spacing_12px; + margin: 0; + } + } + } + + &-wrapper-content { + background: $grey-0; + border-radius: $border_radius_13; + padding: $spacing_18px $spacing_32px; + border: $border_width solid $border-color; + + .ur-single-row { + .ur-grid-lists { + .ur-grid-list-item { + padding: $spacing_20px; + } + + .ur-selected-item { + padding: $spacing_10px $spacing_14px $spacing_14px; + + &.ur-item-active { + // background: $blue-25; + } + } + } + &:hover { + .ur-grid-lists { + background: #fcfcfc; + border-radius: $border_radius_7; + border-color: #e7e7e7; + border-left: 0; + + .ur-selected-item { + &:hover { + background: $blue-25; + border: $border_width dashed $primary_color; + border-radius: $border_radius_7; + } + } + + .ur-grid-list-item { + border-left: $border_width solid #e7e7e7; + } + } + } + } + } + } + + #ur-field-settings { + background: $grey-0; + border: $border_width solid $border-color; + border-radius: $border_radius_13; + padding: $spacing_18px $spacing_32px; + + #ur-field-all-settings { + h3 { + margin: 0 0 $spacing_32px 0; + font-size: 22px; + line-height: 130%; + font-weight: $semi_bold; + color: $grey-800; + border-bottom: $border_width solid $border-color; + padding: $spacing_10px 0 $spacing_24px; + } + + .form-row { + // width: 620px; + width: 100%; + max-width: 100%; + margin-bottom: $spacing_20px; + + &#user_registration_form_setting_minimum_password_strength_field { + margin-bottom: 0; + } + + .ur-label { + font-size: 15px; + line-height: 140%; + color: $grey-400; + display: flex; + align-items: center; + width: max-content; + + &.checkbox { + font-size: 14px; + line-height: 150%; + font-weight: $regular; + margin-bottom: 0; + } + + .user-registration-help-tip { + &::after { + font-size: 18px; + line-height: unset; + color: $grey-100; + } + } + } + + input[type="text"], + input[type="email"], + input[type="number"], + select { + height: 38px; + border-color: $border-color; + color: $grey-300; + } + + select { + background-image: linear-gradient( + 45deg, + transparent 50%, + gray 50% + ), + linear-gradient(135deg, gray 50%, transparent 50%); + background-position: + calc(100% - 15px) calc(1em + 2px), + calc(100% - 10px) calc(1em + 2px), + calc(100% - 2.5em) 0.5em; + background-size: + 5px 5px, + 5px 5px, + 1px 1.5em; + background-repeat: no-repeat; + } + + .ur-radio-group-list { + display: flex; + gap: $spacing_12px; + + &--item { + label { + font-size: 14px; + font-weight: 600; + color: $grey-300; + margin-bottom: 0; + border: $border_width solid $grey-300; + border-radius: $border_radius_5; + text-align: center; + padding: $spacing_10px; + align-items: center; + display: flex; + transition: all 0.3s ease-in-out; + + input { + display: none; + } + } + + &.very-weak { + &:hover, + &.active { + label { + color: #f25656; + border-color: #f25656; + background-color: #fff4f4; + } + } + } + + &.weak { + &:hover, + &.active { + label { + color: #ee9936; + border-color: #ee9936; + background-color: #fffaf5; + } + } + } + + &.medium { + &:hover, + &.active { + label { + color: #ffc700; + border-color: #ffc700; + background-color: #fffcf1; + } + } + } + + &.strong { + &:hover, + &.active { + label { + color: #4cc741; + border-color: #4cc741; + background-color: #f5fff4; + } + } + } + + &.custom { + &:hover, + &.active { + label { + color: #475bb3; + border-color: #475bb3; + background-color: #ebecf1; + } + } + } + } + } + } + } + } + } + } + + #wpcontent { + .wp-heading-inline { + font-weight: $semi_bold; + padding: 0; + margin: $spacing_20px 0 0; + font-size: 24px; + line-height: 120%; + } + + .user-registration-settings-container { + margin: $spacing_24px 0 0; + + .user-registration-options-header { + &--top { + display: flex; + align-items: center; + justify-content: space-between; + + &__left { + h3 { + margin: 0; + font-weight: $semi_bold; + font-size: 26px; + line-height: 120%; + color: $grey-800; + } + } + + &__right { + display: flex; + align-items: center; + justify-content: space-between; + gap: $spacing_10px; + + span.user-registration-toggle-text { + font-size: 16px; + line-height: 24px; + color: #383838; + font-weight: 500; + } + } + } + + &--bottom { + ul { + display: flex; + align-items: center; + gap: $spacing_32px; + border-bottom: $border_width solid $border-color; + width: 100%; + + li { + a { + font-weight: $regular; + font-size: 15px; + line-height: 140%; + color: $grey-600; + padding: 0; + position: relative; + padding-bottom: $spacing_16px; + transition: all 0.3s ease-in-out; + + &::before { + content: ""; + background: $primary_color; + position: absolute; + width: 100%; + height: 3px; + border-radius: $border_radius_11; + bottom: 0; + left: 0; + opacity: 0; + transition: all 0.3s ease-in-out; + } + + &:focus { + outline: none; + box-shadow: none; + } + + &.current, + &.active { + font-weight: $semi_bold; + } + + &:hover, + &.current, + &.active { + color: $primary_color; + + &::before { + opacity: 1; + } + } + } + } + } + } + } + } + + .user-registration-login-form-container { + .user-registration { + &__wrap { + #menu-management-liquid { + float: none; + } + #menu-management { + .menu-edit { + position: unset; + } + } + #post-body { + .ur-registered-from { + display: block; + background-color: transparent; + .ur-builder-wrapper { + height: auto; + overflow-y: unset; + border-left: 0; + background: transparent; + + .ur-selected-inputs { + background: #f0f0f1; + padding: $spacing_24px; + + .ur-builder-wrapper-content { + padding: $spacing_20px $spacing_30px + $spacing_60px; + border-radius: $border_radius_7; + + .ur-login { + &-shortcode { + margin-top: 0; + display: block; + + h1 { + margin-bottom: $spacing_12px; + } + + &--wrapper { + // width: 45%; + display: flex; + align-items: center; + gap: $spacing_30px; + // flex-wrap: nowrap; + flex-wrap: wrap; + + @media (max-width: 1400px) { + flex-wrap: wrap; + justify-content: center; + } + + img { + margin-left: -$spacing_24px; + + @media (max-width: 1000px) { + margin-left: 0; + } + + @media (max-width: 768px) { + width: 100%; + } + } + .ur-login-content { + // width: 55%; + margin-left: 0; + margin-right: 0; + padding: $spacing_24px; + background: #f6f6f6; + border-radius: $border_radius_7; + flex: 1; + p { + &:first-child { + margin-top: 0; + } + } + .login-forms-shortcode-action { + input { + height: 32px; + font-size: 15px; + } + + .ur-copy-shortcode { + box-shadow: none; + transition: all 0.3s + ease-in-out; + + svg { + path { + fill: $primary_color; + transition: all + 0.3s + ease-in-out; + } + } + + &:hover { + background: $primary_color !important; + + svg { + path { + fill: $grey-0; + } + } + } + } + } + } + } + } + &-view-doc { + margin-top: $spacing_32px; + } + } + } + } + } + } + } + } + } + } + } + + @media (max-width: 960px) { + #wpcontent { + padding-left: 0; + } + + .user-registration_page_add-new-registration + .ur-form-container + #menu-management + .menu-edit { + left: $spacing_36px !important; + } + + .ur-registered-from + .ur-registered-inputs + .ur-tab-contents + button#ur-collapse { + left: 448px; + } + } + + // Subscription Plan Field > Field Options Design Fix + .ur-registered-from { + .nav-tab-wrapper { + .ur-tab-contents { + .ur-tab-content { + .ur-general-setting { + &-options { + .ur-options-list { + .ur-subscription-plan { + flex-direction: column; + align-items: unset; + margin-bottom: $spacing_16px; + padding: $spacing_10px; + border: $border_width solid #e4e4e4; + background: #fbfbfb; + + &:last-child { + margin-bottom: 0; + } + + &-details { + display: flex; + align-items: center; + gap: $spacing_8px; + } + + &-sub-details { + > p { + display: flex; + align-items: center; + gap: $spacing_8px; + margin-bottom: $spacing_4px; + + select { + height: 38px; + padding-left: $spacing_12px; + padding-right: $spacing_12px; + } + } + } + } + } + } + } + } + } + } + } + + // --------------------------------------------------------------------------------------------------------------------- + //--------------------------------------------------------------------------------------------------------------------------- + //---------------------------------------------------------------------------------------------------------------------------------- + //------------------------------------------- FORM BUILDER V2 CSS ENDS ------------------------------------------------------------------------ + + // Users Entries when image choice option is enabled CSS + #your-profile { + #fieldset-user_registration { + tbody { + tr { + td { + &:has(.user-registration-user-profile-info) { + display: grid; + grid-template-columns: repeat( + auto-fill, + minmax(160px, 1fr) + ); + gap: $spacing_12px; + width: 760px; + + br { + display: none; + } + } + + .user-registration-user-profile-info { + input { + &[type="radio"], + &[type="checkbox"] { + display: none; + } + } + + .user-registration-image-options { + display: block; + border: $border_width solid #d5d5d5; + border-radius: $border_radius_4; + padding: $spacing_10px; + position: relative; + + &:hover { + color: #0693e3; + border-color: #0693e3; + + .user-registration-image-choice { + &::before { + content: ""; + position: absolute; + width: 100%; + height: 100%; + background: $grey-500; + opacity: 0.45; + z-index: 1; + } + + img { + transform: scale(1.1); + } + } + } + + .user-registration-image-choice { + display: block; + width: 100%; + height: 100px; + border-radius: $border_radius_2; + overflow: hidden; + position: relative; + margin-bottom: $spacing_10px; + + img { + width: 100%; + height: 100%; + object-fit: cover; + border-radius: $border_radius_2; + transition: all 0.3s ease-in-out; + } + } + } + + input[type="radio"], + input[type="checkbox"] { + &:checked ~ label { + color: #0693e3; + border-color: #0693e3; + + span { + &::before { + content: ""; + position: absolute; + width: 100%; + height: 100%; + background: $grey-500; + opacity: 0.45; + z-index: 1; + } + + &::after { + content: ""; + position: absolute; + background: #00be34; + border-radius: 1px; + width: 12px; + height: 12px; + top: $spacing_8px; + right: $spacing_8px; + z-index: 2; + } + } + } + } + } + } + } + } + } + } + + #ur-smart-tags-selector { + float: right; + display: inline-flex; + gap: 4px; + align-items: center; + color: #6b6b6b; + font-weight: 400; + font-size: 14px; + text-decoration: underline; + padding: 10px 0px; + cursor: pointer; + + & ~ .select2-container { + visibility: hidden; + position: absolute; + right: 0; + width: 120px !important; + } + } + + .select2-container { + &--open { + &:not(.ur-hide-select2) { + .ur-select2-dropdown { + width: 180px !important; + + .select2-search--dropdown { + width: 98%; + position: relative; + } + + .ur-select2-title { + display: block; + padding: 4px; + width: 98%; + border-radius: 4px; + color: #383838; + + p { + padding: 6px 8px; + background-color: #f4f4f4; + font-size: 13px; + font-weight: 600; + margin: 0px; + } + } + + ul { + &.select2-results__options { + max-height: 250px !important; + overflow-y: auto; + border-top: 1px solid #ccc; + + &::-webkit-scrollbar { + width: 4px; + } + + &::-webkit-scrollbar-thumb { + background-color: #aaa; + border-radius: 10px !important; + } + + li { + &.select2-results__option--highlighted, + &[data-selected="true"] { + background: #f8f8fa; + color: #475bb2; + border: none; + } + } + } + } + + .select2-search { + display: flex; + align-items: center; + color: #999999; + + .select2-search__field { + padding-left: 28px; + } + + .search-icon { + position: absolute; + left: 12px; + top: 33; + color: #999; + } + } + } + } + } + } + + .toplevel_page_user-registration, + body.user-registration { + #wpcontent { + padding-left: 0; + } + + #wpbody-content { + background: #EFF2F6; + padding-bottom: $spacing_30px; + + #screen-meta-links { + display: none; + } + } + } + + .ur-admin-page-topnav { + display: flex; + align-items: center; + justify-content: space-between; + background: $grey-0; + padding: 0px $spacing_24px; + border-bottom: $border_width solid #e1e1e1; + margin-bottom: 25px; + + .ur-page-title__wrapper { + display: flex; + align-items: center; + gap: $spacing_20px; + + &-logo { + padding: 0px $spacing_20px 0px 0px; + border-right: 1px solid #e1e1e1; + } + + &-menu { + h2 { + padding: $spacing_24px 0px; + } + + &__items { + display: flex; + gap: 4px; + margin: 0; + + li { + font-size: 15px; + margin-bottom: 0; + padding: $spacing_24px 0; + + a { + text-decoration: none; + color: #1f1f1f; + padding: $spacing_24px $spacing_16px; + position: relative; + transition: all 0.3s; + + &:focus { + outline: none; + box-shadow: none; + } + + &::after { + content: ""; + background: #475bb2; + width: 0px; + height: 3px; + position: absolute; + bottom: 0; + left: 0; + transition: all 0.3s; + } + + &:hover, + &.current { + color: #475bb2; + + &::after { + width: 100%; + } + } + + &.current { + font-weight: 600; + } + } + } + } + } + } + + .ur-back-button { + border-right: $border_width solid $grey-100; + padding: $spacing_4px $spacing_14px $spacing_4px $spacing_4px; + display: flex; + cursor: pointer; + + svg { + width: 24px; + height: 24px; + } + } + + .dashicons { + &::before { + color: $grey-400; + } + } + + .ur-page-actions { + display: flex; + align-items: center; + gap: $spacing_8px; + flex-direction: row-reverse; + + a { + .ur-button-primary { + border-radius: $border_radius_3; + background: $primary_color; + padding: $spacing_6px $spacing_12px; + font-size: 14px; + line-height: 150%; + color: $grey-0; + transition: all 0.3s ease-in-out; + + &:hover { + background: darken($primary_color, 10%); + } + } + } + + > .ur-button-primary { + color: $grey-400; + font-size: 14px; + font-weight: 400; + line-height: 18px; + background: #eaeaea; + padding: $spacing_8px $spacing_12px; + display: flex; + align-items: center; + justify-content: center; + gap: $spacing_6px; + border-radius: $border_radius_3; + border: $border_width solid #eaeaea; + cursor: pointer; + transition: all 0.3s ease-in-out; + + svg { + width: 14px; + height: 14px; + + path { + fill: $grey-400; + } + } + + &:hover { + background: #e1e1e1; + border-color: #e1e1e1; + } + } + } + } + + .user-registration-list-table-container { + #user-registration-list-table-page { + max-width: 100%; + margin-left: $spacing_20px; + margin-right: $spacing_20px; + } + } + + .user-registration-login-form-container { + .ur-form-container { + #menu-management-liquid { + margin-left: 0; + min-width: 100%; + + .ur-selected-inputs { + padding-left: $spacing_20px !important; + padding-right: $spacing_20px !important; + } + } + } + } + + #user-registration-list-table-page { + max-width: 1280px; + margin: 25px auto; + padding: $spacing_24px; + border-radius: $border_radius_7; + background: $grey-0; + + .user-registration-list-table-header { + display: flex; + gap: 15px; + align-items: center; + margin-bottom: 15px; + + a { + padding: 6px 14px; + border-radius: 3px; + border: 1px solid #475bb2; + background: #f6f7f7; + color: #475bb2; + font-size: 14px; + font-weight: 500; + line-height: 150%; + transition: all 0.3s ease-in-out; + text-decoration: none; + } + } + + #user-registration-list-filters-row { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + gap: $spacing_20px; + border-bottom: $border_width solid #dcdcdc; + padding-bottom: $spacing_24px; + margin-bottom: $spacing_24px; + + ul.subsubsub { + font-size: 15px; + } + + #user-registration-pro-users-filters { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: $spacing_12px; + padding: 0; + margin-top: 0; + + li { + div { + p { + display: none; + margin: 0; + } + + select { + min-height: 36px; + padding: $spacing_2px $spacing_12px; + border-radius: $border_radius_4; + border-color: $grey-100; + min-width: 130px; + + &:hover { + color: $primary_color; + } + + &:focus { + box-shadow: none; + border: $border_width solid $primary_color; + } + } + } + } + + .user-registration-users-filter-btns { + display: flex; + align-items: center; + gap: $spacing_8px; + + button { + cursor: pointer; + transition: all 0.3s ease-in-out; + + &[type="submit"] { + padding: $spacing_6px $spacing_14px; + border-radius: $border_radius_3; + border: $border_width solid $primary_color; + background: $primary_color; + color: $grey-0; + font-size: 14px; + font-weight: $regular; + line-height: 150%; + letter-spacing: 0.3px; + + &:hover { + background: darken($primary_color, 10%); + border-color: darken($primary_color, 10%); + } + } + + &[type="reset"], + &[type="button"] { + border-radius: $border_radius_3; + border: $border_width solid $grey-300; + background: #f6f7f7; + width: 34px; + height: 34px; + display: flex; + align-items: center; + justify-content: center; + transition: all 0.3s ease-in-out; + + svg { + width: 16px; + height: 16px; + + path { + fill: $grey-400; + } + } + + &:hover { + background: #f2f2f2; + border-color: $primary_color; + + svg { + path { + fill: $primary_color; + } + } + } + } + } + } + } + + #search-submit { + img { + width: 18px; + height: 18px; + } + } + + form { + position: relative; + } + + #user-registration-users-advanced-filters { + display: block; + position: absolute; + border-radius: $border_radius_4; + background: $grey-0; + box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.13); + padding: $spacing_20px $spacing_18px; + right: 0; + top: 38px; + z-index: 2; + width: 360px; + + ul { + margin: 0; + + li { + margin: 0; + + p { + margin-top: 0; + margin-bottom: $spacing_14px; + color: $grey-500; + font-size: 15px; + font-weight: $semi_bold; + line-height: 150%; + } + + input { + &[type="date"] { + width: 47%; + border-radius: $border_radius_4; + border-color: $grey-100; + background: $grey-0; + height: 36px; + } + } + } + } + } + + #user-registration-list-search-form { + width: 275px; + position: relative; + + #user-registration-list-table-search-input { + border-radius: $border_radius_4; + border: $border_width solid $grey-100; + background: $grey-0; + padding: 3px 42px 3px $spacing_12px; + width: 100%; + + &::placeholder { + color: $grey-200; + } + + &:focus { + box-shadow: none; + border: $border_width solid $primary_color; + } + } + + button { + &#search-submit { + position: absolute; + border: 0; + background: transparent; + padding: 0; + width: 18px; + height: 18px; + display: flex; + align-items: center; + justify-content: center; + right: $spacing_12px; + top: $spacing_8px; + + svg { + path { + fill: $grey-200; + } + } + } + } + } + + form { + position: relative; + } + } + + hr { + display: none; + } + + .user-registration-list-table-action-form { + .tablenav { + padding: 0; + margin: 0 0 $spacing_16px; + height: auto; + + &.bottom { + margin-bottom: 0; + } + + .actions { + display: flex; + align-items: center; + gap: $spacing_12px; + padding-right: $spacing_12px; + + select { + height: 36px; + margin: 0; + border-color: $grey-100; + + &:hover { + color: $primary_color; + } + + &:focus { + box-shadow: none; + border: $border_width solid $primary_color; + } + } + + input { + &[type="submit"] { + padding: $spacing_6px $spacing_14px; + border-radius: $border_radius_3; + border: $border_width solid $primary_color; + background: #f6f7f7; + color: $primary_color; + font-size: 14px; + font-weight: $medium; + line-height: 150%; + transition: all 0.3s ease-in-out; + + &:hover { + background: #f2f2f2; + } + } + } + } + + &-pages { + margin-bottom: 0; + } + } + } + + table.wp-list-table { + border-color: #dcdcdc; + border-radius: $border_radius_5; + margin-bottom: $spacing-16px; + overflow: hidden; + + a { + color: $grey-400; + transition: all 0.3s ease-in-out; + + &:hover { + color: $primary_color; + } + } + + thead { + tr { + td, + th { + border-bottom-color: #dcdcdc; + } + + th { + font-size: 14px; + font-weight: $semi_bold; + line-height: 24px; + color: $grey-400; + + &.sortable, + &.sorted { + padding: 0; + + a { + font-size: 14px; + font-weight: $semi_bold; + line-height: 24px; + padding: $spacing_12px $spacing_8px; + display: flex; + align-items: center; + gap: $spacing_8px; + + &:focus { + box-shadow: none; + } + + .sorting-indicators { + gap: $spacing_4px; + + .sorting-indicator { + margin: 0; + } + } + } + } + } + } + } + + tbody { + tr { + td { + &.username { + img { + border-radius: $border_radius_50; + margin-top: $spacing_2px; + } + } + + &.user_status { + span { + font-weight: $medium; + + &.user-status { + &-approved { + color: $approve_user; + } + + &-pending { + color: $pending_user; + } + + &-denied { + color: $deny_color; + } + } + } + } + &.enable_disable { + span { + font-weight: $medium; + + &.enable-disable { + &-Enabled { + color: $approve_user; + } + + &-Disabled { + color: $deny_color; + } + } + } + } + + &.actions { + a { + color: $primary_color; + transition: all 0.3s ease-in-out; + padding-bottom: $spacing_2px; + position: relative; + + &::before { + content: ""; + background: $primary_color; + width: 100%; + height: 1px; + position: absolute; + bottom: 0; + opacity: 0; + transition: all 0.3s ease-in-out; + } + + &:hover { + &::before { + opacity: 1; + } + } + + &:focus { + box-shadow: none; + outline: none; + } + } + } + } + } + } + + // Bulk checkbox + input[type="checkbox"]:not(.urcr-enable-access-rule) { + border-radius: $border_radius_2; + border-color: $grey-200; + } + } + } + + // Payment History CSS + .user-registration { + .ur-membership-header { + margin-left: 0 !important; + padding-left: 24px !important; + padding-right: 24px !important; + border-bottom: 1px solid #e2e8f0; + padding-top: 0 !important; + padding-bottom: 0 !important; + gap: 0 !important; + background: #ffffff; + + img { + max-width: 36px !important; + padding: 18px 24px 18px 0; + border-right: 1px solid #e2e8f0; + margin-right: 28px; + } + + a { + font-size: 16px !important; + line-height: 26px; + color: #64748b; + position: relative; + padding: 23px 20px; + + &::after { + content: ""; + background: #475bb2; + width: 0px; + height: 3px; + position: absolute; + bottom: 0; + left: 0; + transition: all 0.3s; + } + + &.row-title { + color: #475bb2; + + &:after { + width: 100%; + } + } + + &:hover { + &::after { + width: 100%; + } + } + + &:focus { + box-shadow: none; + outline: none; + } + } + } + + .ur-coupon-tab-contents-wrapper { + max-width: 1280px; + margin: 60px auto; + padding: 0 !important; + + form { + width: 100% !important; + + .user-registration-card { + border: 0; + padding: 28px; + + #ur-coupon-form-container { + padding: 0 !important; + + #left { + &-title { + padding: 0; + gap: 18px; + padding-bottom: 20px; + border-bottom: 1px solid #e9e9e9; + margin-bottom: 28px; + gap: 18px; + + a { + margin-right: 0 !important; + padding-right: 0 !important; + border-right: 0 !important; + width: 40px; + height: 40px; + background: #f4f4f4; + display: flex; + align-items: center; + justify-content: center; + border-radius: 6px; + + &:focus { + box-shadow: none; + outline: none; + border-color: #475bb2; + } + + svg { + width: 20px; + height: 20px; + } + } + + h3 { + margin: 0; + color: #222222; + font-size: 22px; + font-weight: 600; + line-height: 32px; + } + } + + &-body { + display: flex; + flex-direction: column; + gap: 24px; + + .ur-coupon-input-container { + padding: 0 !important; + + .ur-label { + margin-bottom: 0; + + label { + margin-bottom: 0; + color: #383838; + font-size: 15px; + font-weight: 500; + line-height: 21px; + } + } + + .ur-admin-template { + &.ur-input-type-coupon-discount-type { + .ur-field { + justify-content: flex-start !important; + gap: 16px !important; + } + } + + .ur-field { + input, + select { + height: 38px; + border-color: #e9e9e9; + padding-left: 14px; + padding-right: 14px; + color: #383838; + + &::placeholder { + color: #999999; + } + + &:focus { + box-shadow: none; + outline: none; + border-color: #475bb2; + } + } + + .ur-coupon-discount-type { + width: 220px; + padding: 16px !important; + border-color: #e9e9e9 !important; + border-radius: 4px !important; + display: flex; + flex-direction: column; + gap: 12px; + + .ur-coupon-type-title { + gap: 8px; + + input[type="radio"] { + height: 1rem; + } + + label { + padding: 0 !important; + color: #222222; + font-size: 15px; + font-weight: 500; + line-height: 22px; + } + } + + .ur-membership-type-description { + p { + margin: 0; + color: #383838; + font-size: 14px !important; + font-weight: 400; + line-height: 22px; + } + } + } + + .select2 { + &-selection { + height: 38px; + + &__rendered { + line-height: 36px; + } + + &__arrow { + height: 36px; + } + + &--single { + .select2-selection__rendered { + padding-left: 14px; + } + } + + &--multiple { + .select2-selection { + &__rendered { + gap: 4px; + } + + &__clear { + margin-right: 0; + } + + &__choice { + border-radius: 5px; + background: #e9e9e9; + display: flex; + align-items: center; + gap: 8px; + margin: 4px; + padding: 0px 8px 0px + 10px; + border: 0; + color: #383838; + flex-direction: row-reverse; + + &__remove { + color: #383838; + } + } + } + } + } + } + } + } + + .user-registration-switch { + input[type="checkbox"] { + border-radius: 20px; + border: 0; + width: 30px; + flex: 0 0 30px; + background: #d5d5d5; + box-shadow: none; + + &::after { + width: 12px; + height: 12px; + transform: translateX(3px); + } + + &:checked { + background: #475bb2; + border-color: #475bb2; + + &::after { + transform: translateX(15px); + } + } + } + } + } + } + } + } + + .submit { + margin-bottom: 0; + padding: 0 !important; + padding-top: 28px !important; + border-top: 1px solid #e1e1e1; + margin-top: 30px; + + .button { + &-secondary { + border-radius: 4px; + box-shadow: none; + padding: 8px 16px; + color: #ffffff; + font-size: 14px; + font-weight: 400; + line-height: 24px; + border: 0; + background: transparent; + border: 1px solid #bababa; + + a { + color: #6b6b6b; + } + } + + &-primary { + border-radius: 4px; + box-shadow: none; + padding: 8px 16px; + color: #ffffff; + font-size: 14px; + font-weight: 400; + line-height: 24px; + border: 0; + } + } + } + } + } + } + + #user-registration-list-table-page { + margin: 60px auto; + padding: 28px 32px; + box-sizing: border-box; + max-width: 1280px !important; + + .user-registration-list-table-heading { + display: flex; + align-items: center; + margin-bottom: 24px; + + .ur-page-title__wrapper { + width: 100%; + + h1 { + margin: 0; + color: #222; + font-size: 22px; + font-weight: 600; + line-height: 32px; + } + } + + #ur-coupon-add-btn { + box-shadow: none; + border-radius: 3px; + background: #475bb2; + padding: 8px 20px 8px 16px; + color: #fff; + font-size: 14px; + font-weight: 400; + line-height: 24px; + transition: all 0.3s; + } + } + + #user-registration-pro-filters-row { + #user-registration-users-search-form { + gap: 16px !important; + flex-wrap: wrap; + + .search-box { + position: relative; + + input { + &[type="search"] { + height: 38px; + padding-left: 14px; + padding-right: 14px; + border-color: #bababa; + margin: 0; + width: 220px; + color: #383838; + + &::placeholder { + color: #999999; + } + + &:focus { + box-shadow: none; + outline: none; + border-color: #475bb2; + } + } + } + + #search-submit { + background: none; + border: 0; + padding: 0; + position: absolute; + top: 50%; + transform: translateY(-50%); + right: 14px; + display: flex; + + svg { + width: 18px; + height: 18px; + + path { + fill: #6b6b6b; + } + } + } + } + + select { + width: 200px; + height: 38px; + padding-left: 14px; + padding-right: 14px; + border-color: #bababa; + margin: 0; + color: #383838; + + &:focus { + box-shadow: none; + outline: none; + border-color: #475bb2; + } + } + + #user-registration-users-filter-btn { + border-radius: 3px; + border: 1px solid #475bb2; + background: #475bb2; + color: #ffffff; + padding: 8px 14px; + color: #ffffff; + font-size: 13px; + font-weight: 400; + line-height: 20px; + + &:hover { + background: #38488e; + border-color: #38488e; + } + } + } + } + + #ur-membership-payment-history-form { + .wrap { + margin: 0; + } + + .wp-list-table { + &.orders { + thead { + } + + tbody { + tr { + &.no-items { + background: #ffffff; + + td { + padding: 0; + + .empty-list-table-container { + text-align: center; + margin-top: 30px; + margin-bottom: 30px; + + img { + width: 300px; + } + + h3 { + margin-top: 16px; + margin-bottom: 8px; + color: #222222; + font-size: 22px; + font-weight: 600; + line-height: 32px; + } + + p { + color: #6b6b6b; + font-size: 14px; + font-weight: 400; + line-height: 24px; + } + } + } + } + } + } + } + } + } + + #ur-coupon-list-form, + #ur-membership-payment-history-form { + margin-top: 24px; + padding-top: 24px; + border-top: 1px solid #dcdcdc; + + .wrap { + margin: 0; + + .tablenav { + margin: 0; + padding: 0; + height: auto; + + .bulkactions { + padding-right: 0; + display: flex; + align-items: center; + gap: 10px; + + select, + input { + margin-right: 0; + } + + select { + border-color: #bababa; + height: 38px; + width: 220px; + padding-inline: 14px; + color: #383838; + } + + input[type="submit"] { + border-radius: 3px; + border: 1px solid #475bb2; + background: #f6f7f7; + padding: 8px 14px; + color: #475bb2; + font-size: 13px; + font-weight: 500; + line-height: 20px; + } + } + } + + .wp-list-table { + &.coupons { + margin-top: 20px; + margin-bottom: 20px; + + thead { + tr { + th { + &#title { + width: 220px; + } + &#code { + width: 170px; + } + + &#amount, + &#expires { + width: 180px; + } + + &#status { + width: 140px; + } + + &#action { + width: 120px; + } + } + } + } + + tbody { + tr { + &:nth-child(odd) { + background: #f8f8fa; + } + + td { + font-size: 14px; + line-height: 24px; + color: #383838; + vertical-align: middle; + } + } + + .coupon-active { + font-weight: 500; + color: #4cc741; + } + .coupon-inactive { + font-weight: 500; + color: #f25656; + } + + .coupon-expired { + font-weight: 500; + color: #636363; + } + } + } + + &.orders { + margin: 20px 0; + + tbody { + tr { + td { + font-size: 14px; + line-height: 24px; + + &.membership_type { + .user-registration-badge { + background: none; + padding: 0; + color: #383838; + font-weight: 500; + } + } + + &.status { + .payment-status-btn { + display: block; + width: max-content; + border-radius: 3px; + color: #383838; + font-size: 14px; + font-weight: 400; + line-height: 16px; + padding: 4px 8px; + + &.completed { + border: 1px solid #4cc741; + background: #f5fff4; + } + + &.pending { + border: 1px solid #ee9936; + background: #fffaf5; + } + + &.failed { + border: 1px solid #f25656; + background: #fff4f4; + } + } + } + } + } + } + } + } + } + } + } + #payment-detail-modal { + .modal-content { + margin: 0; + border-radius: 12px; + background: #fff; + box-shadow: 0px 6px 21px 0px rgba(10, 10, 10, 0.08); + padding: 28px 32px; + box-sizing: border-box; + width: 820px; + max-width: 100%; + + .modal-header { + h2 { + margin: 0; + color: #222222; + font-size: 24px; + font-weight: 700; + line-height: 34px; + } + + hr { + margin: 16px 0 24px; + } + } + + .modal-body { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); + gap: 20px; + align-items: unset; + justify-content: unset; + + .payment-detail { + &-box { + margin-bottom: 0; + } + + &-label { + color: #383838; + font-size: 16px; + font-weight: 500; + line-height: 24px; + margin-bottom: 6px; + } + + &-data { + display: flex; + align-items: center; + gap: 10px; + color: #6b6b6b; + font-size: 15px; + font-weight: 400; + line-height: 23px; + overflow-wrap: break-word; + + .payment-status-btn { + display: block; + width: max-content; + + &.completed { + border: 1px solid #4cc741; + background: #f5fff4; + } + + &-pending { + border: 1px solid #ee9936; + background: #fffaf5; + } + + &.failed { + border: 1px solid #f25656; + background: #fff4f4; + } + } + } + } + } + } + } + } + + // Delete Popup CSS + .user-registration_page { + &_user-registration-membership, + &_user-registration-coupons, + &_user-registration-members, + &_member-payment-history { + .swal2-container { + .swal2-header { + padding: 24px !important; + padding-bottom: 16px !important; + + .swal2-title { + display: flex !important; + align-items: center; + gap: 8px; + font-size: 18px; + line-height: 26px; + margin-bottom: 0; + width: 100%; + border-bottom: 1px solid #e9e9e9; + padding-bottom: 16px; + color: #222; + margin-bottom: 0; + + img { + width: 20px; + height: 20px; + } + } + } + + .swal2-content { + padding: 0 24px; + + .swal2-html-container { + text-align: left; + + p { + font-size: 15px; + line-height: 23px; + color: #383838; + margin: 0; + } + } + } + + .swal2-actions { + button { + margin: 0; + + &.swal2-confirm { + background: #f25656 !important; + + &:hover { + background: #e34747 !important; + } + } + } + } + } + } + } + + // Custom CAPTCHA Form Builder Field Options CSS + .ur-registered-from { + .ur-general-setting { + &.ur-setting-captcha { + .ur-options-list { + .ui-sortable-handle { + flex-direction: row; + flex-wrap: wrap; + } + } + } + + &.ur-general-setting-image-captcha-options { + .ur-options-list { + .ur-custom-captcha { + background: #f2f2f2; + padding: 12px; + margin-bottom: 16px; + + .icons-group { + display: grid; + grid-template-columns: repeat( + auto-fill, + minmax(100px, 1fr) + ); + gap: 10px; + width: 100%; + + .icon-wrap { + background: #ffffff; + border-radius: 4px; + padding: 10px; + text-align: center; + + label { + margin-bottom: 0; + + .dashicons { + width: 100%; + height: 75px; + display: flex; + align-items: center; + justify-content: center; + border-radius: 2px; + background: #fafafa; + border: 1px solid #d9d9d9; + transition: all 0.3s; + cursor: pointer; + + &::before { + font-size: 24px; + } + + &:hover { + background: rgba(240, 242, 249, 1%); + border-color: #475bb2; + } + } + + input { + &[type="radio"] { + display: none; + + &:checked ~ .dashicons { + background: rgba(240, 242, 249, 1%); + border-color: #475bb2; + } + } + } + } + + .button { + width: 100%; + margin-top: 12px; + height: auto; + padding: 2px 10px; + line-height: 24px; + font-size: 13px; + } + } + } + + a.remove { + width: max-content; + height: auto; + padding: 6px 12px 6px 8px; + margin-left: 0 !important; + align-items: center; + gap: 4px; + + &:hover { + background: #fa5252; + border-color: #fa5252; + } + + &:focus { + box-shadow: none; + outline: none; + } + } + } + + a.add { + border: 1px solid #e1e1e1; + padding: 8px 16px; + height: auto; + } + } + } + } + } + + body { + &.ur-settings-sidebar-hidden { + .user-registration-settings-sidebar-container { + margin-right: -910px; + display: none; + } + } + } + + .ur-embed-form-button { + background: #edeff7 !important; + border-color: #edeff7 !important; + box-shadow: 0 1px 0 #edeff7 !important; + font-size: 14px !important; + color: #383838 !important; + border-radius: 3px !important; + } + .embed-form-swl-container { + display: flex; + flex-wrap: wrap; + gap: 10px; + padding-bottom: 10px; + justify-content: space-evenly; + } + .ur-embed-container { + @extend .embed-form-swl-container; + } + .ur-embed-select-existing-page-container { + @extend .embed-form-swl-container; + .ur-embed-go-back { + flex-basis: 100%; + text-align: center; + font-size: 14px; + } + select { + width: 80%; + border: 1px solid #eae2e2; + margin:-10px; + } + p{ + font-size: 1em; + } + } + .ur-embed-new-page-container { + @extend .embed-form-swl-container; + .ur-embed-go-back { + flex-basis: 100%; + text-align: center; + margin-top: 10px; + font-size: 14px; + } + p{ + font-size: 1em; + } + input { + margin-left: -50px; + width: 80%; + border: 1px solid #eae2e2; + } + } + + @font-face { + font-family: "UserRegistration"; + src: url("../fonts/UserRegistration.eot?v5p6f"); + src: + url("../fonts/UserRegistration.eot?v5p6f#iefix") + format("embedded-opentype"), + url("../fonts/UserRegistration.ttf?v5p6f") format("truetype"), + url("../fonts/UserRegistration.woff?v5p6f") format("woff"), + url("../fonts/UserRegistration.svg?v5p6f#UserRegistration") + format("svg"); + font-weight: normal; + font-style: normal; + font-display: block; + } + + #elementor-editor-wrapper .ur-icon-user-registration:before, + .elementor-edit-area .ur-icon-user-registration:before { + content: "\e031"; + font-family: "UserRegistration"; + font-weight: normal; + font-style: normal; + font-display: block; + } + + #elementor-editor-wrapper .ur-icon-edit-password:before, + .elementor-edit-area .ur-icon-edit-password:before { + content: "\e045"; + font-family: "UserRegistration"; + font-weight: normal; + font-style: normal; + font-display: block; + } + #elementor-editor-wrapper .ur-icon-edit-profile:before, + .elementor-edit-area .ur-icon-edit-profile:before { + content: "\e046"; + font-family: "UserRegistration"; + font-weight: normal; + font-style: normal; + font-display: block; + } + #elementor-editor-wrapper .ur-icon-login:before, + .elementor-edit-area .ur-icon-login:before { + content: "\e048"; + font-family: "UserRegistration"; + font-weight: normal; + font-style: normal; + font-display: block; + } + #elementor-editor-wrapper .form:before, + .elementor-edit-area .form:before { + content: "\e048"; + font-family: "UserRegistration"; + font-weight: normal; + font-style: normal; + font-display: block; + } + #elementor-editor-wrapper .ur-icon-myaccount:before, + .elementor-edit-area .ur-icon-myaccount:before { + content: "\e047"; + font-family: "UserRegistration"; + font-weight: normal; + font-style: normal; + font-display: block; + } + #elementor-editor-wrapper .ur-icon-popup:before, + .elementor-edit-area .ur-icon-popup:before { + content: "\e043"; + font-family: "UserRegistration"; + font-weight: normal; + font-style: normal; + font-display: block; + } + #elementor-editor-wrapper .ur-icon-profile-details:before, + .elementor-edit-area .ur-icon-profile-details:before { + content: "\e044"; + font-family: "UserRegistration"; + font-weight: normal; + font-style: normal; + font-display: block; + } + + #ur-row-section-settings { + padding: 10px 0px; + + .ur-individual-row-settings { + display: flex; + flex-direction: column; + } + } diff --git a/assets/js/admin/form-builder.js b/assets/js/admin/form-builder.js index 802d9d869..fd32a5fec 100644 --- a/assets/js/admin/form-builder.js +++ b/assets/js/admin/form-builder.js @@ -308,9 +308,10 @@ var form_data = URFormBuilder.get_form_data(); var row_data = URFormBuilder.get_form_row_data(); + var stop_process = false; $.each(row_data, function () { - if ($(this)[0].fields.length < 1) { + if ($(this)[0].fields && $(this)[0].fields.length < 1) { URFormBuilder.show_message( user_registration_form_builder_data.form_repeater_row_empty ); @@ -1540,46 +1541,169 @@ var single_row = $(".ur-input-grids .ur-single-row"); $.each(single_row, function () { var single_row_data = {}; + var row_id = $(this).attr("data-row-id"); - if ($(this).attr("data-repeater-id")) { + if ( + $( + ".ur-individual-row-settings[data-row-id='" + + row_id + + "']" + ).length + ) { single_row_data.row_id = $(this).attr("data-row-id"); - single_row_data.repeater_id = - $(this).attr("data-repeater-id"); - single_row_data.type = "repeater"; - var repeater_row_setting = $( - "#ur-repeater-settings" - ).serializeArray(); + var element = $(document).find( + ".ur-individual-row-settings[data-row-id='" + + row_id + + "']" + ), + conditional_logic_enabled = element + .find( + "#user_registration_row_setting_enable_conditional_logic" + ) + .is(":checked"); + + if (element.find(".urcl-row-logic-wrap").length) { + single_row_data.type = "normal"; + single_row_data.conditional_logic_enabled = + conditional_logic_enabled; - $.each(repeater_row_setting, function (key, value) { - if ( - value.name.includes( - "_" + single_row_data.repeater_id + var $mapCreator = element.find( + ".urcl-row-logic-wrap" + ), + rule = { + action: $mapCreator + .find(".urcl-row-field") + .val(), + logic_map: { + type: "group", + logic_gate: $mapCreator + .find(".urcl-root-logic-gate") + .val(), + conditions: [] + } + }, + sub_group_conditions = [], + logic_map = null, + cl_fields, + logic_gate; + + $mapCreator + .find( + ".urcl-row-conditional-logic-conditions-container" ) - ) { - single_row_data[ - value.name - .replace( - "user_registration_repeater_row_", - "" - ) - .replace( - "_" + single_row_data.repeater_id, - "" - ) - ] = value.value; - } - }); + .each(function () { + cl_fields = []; + logic_gate = $(this) + .find(".urcl-logic-gate") + .hasClass("is-active") + ? $(this) + .find( + ".urcl-logic-gate.is-active" + ) + .data("value") + : "OR"; - var fields = []; - $(this) - .find("input[data-field='field_name']") - .each(function () { - fields.push($(this).val()); - }); + $(this) + .find(".urcl-field") + .each(function () { + cl_fields.push({ + type: "field", + triggerer_id: $(this) + .find( + ".urcl-field-conditional-field-select" + ) + .val(), + operator: $(this) + .find( + ".urcl-select-operator" + ) + .val(), + value: $(this) + .find( + ".urcl-row-field-value" + ) + .val() + }); + }); + + sub_group_conditions.push({ + type: "group", + logic_gate: logic_gate + ? logic_gate + : "", + conditions: cl_fields + }); + }); + rule.logic_map.conditions = sub_group_conditions; + logic_map = JSON.stringify(rule); + single_row_data.cl_map = logic_map; + } - single_row_data["fields"] = fields; - row_data.push(single_row_data); + if ( + element + .find(".ur-repeater-row-option") + .attr("data-repeater-id") + ) { + var repeater_id = element + .find(".ur-repeater-row-option") + .attr("data-repeater-id"); + single_row_data.type = "repeater"; + single_row_data["repeater_id"] = repeater_id; + single_row_data["title"] = element + .find(".ur-repeater-row-option") + .find( + "input[name='user_registration_repeater_row_title_" + + repeater_id + + "']" + ) + .val(); + single_row_data["field_name"] = element + .find(".ur-repeater-row-option") + .find( + "input[name='user_registration_repeater_row_field_name_" + + repeater_id + + "']" + ) + .val(); + single_row_data["add_new_label"] = element + .find(".ur-repeater-row-option") + .find( + "input[name='user_registration_repeater_row_add_new_label_" + + repeater_id + + "']" + ) + .val(); + single_row_data["remove_label"] = element + .find(".ur-repeater-row-option") + .find( + "input[name='user_registration_repeater_row_remove_label_" + + repeater_id + + "']" + ) + .val(); + single_row_data["repeat_limit"] = element + .find(".ur-repeater-row-option") + .find( + "input[name='user_registration_repeater_row_repeat_limit_" + + repeater_id + + "']" + ) + .val(); + + var fields = []; + $(this) + .find("input[data-field='field_name']") + .each(function () { + fields.push($(this).val()); + }); + + single_row_data["fields"] = fields; + } + + if (single_row_data) { + row_data.push(single_row_data); + } } }); @@ -2839,6 +2963,55 @@ ) ); } + var form_id = $("#ur_form_id").val(), + row_id = + $(single_row_clone).attr( + "data-row-id" + ); + + var data = { + action: "user_registration_generate_row_settings", + security: + user_registration_form_builder_data.ur_new_row_added, + form_id: form_id, + row_id: row_id + }; + + $.ajax({ + url: user_registration_form_builder_data.ajax_url, + data: data, + type: "POST", + complete: function (response) { + if ( + response.responseJSON + .success === true + ) { + var settings_div = + response.responseJSON + .data; + $( + "form#ur-row-settings" + ).append(settings_div); + + $( + ".ur-individual-row-settings" + ).each(function () { + if ( + $(this).attr( + "data-row-id" + ) === row_id + ) { + $(this).show(); + } else { + $(this).hide(); + } + }); + $(single_row_clone).trigger( + "click" + ); + } + } + }); $(document).trigger( "user_registration_row_added", diff --git a/includes/admin/class-ur-admin-assets.php b/includes/admin/class-ur-admin-assets.php index b604b91d2..c9febd755 100644 --- a/includes/admin/class-ur-admin-assets.php +++ b/includes/admin/class-ur-admin-assets.php @@ -329,6 +329,7 @@ public function admin_scripts() { 'ajax_url' => admin_url( 'admin-ajax.php' ), 'user_input_dropped' => wp_create_nonce( 'user_input_dropped_nonce' ), 'ur_form_save' => wp_create_nonce( 'ur_form_save_nonce' ), + 'ur_new_row_added' => wp_create_nonce( 'ur_new_row_added_nonce' ), 'number_of_grid' => UR_Config::$ur_form_grid, 'active_grid' => UR_Config::$default_active_grid, 'is_edit_form' => isset( $_GET['edit-registration'] ) ? true : false, //phpcs:ignore WordPress.Security.NonceVerification diff --git a/includes/admin/class-ur-admin-menus.php b/includes/admin/class-ur-admin-menus.php index 48604ec20..08975dac4 100644 --- a/includes/admin/class-ur-admin-menus.php +++ b/includes/admin/class-ur-admin-menus.php @@ -783,62 +783,63 @@ public function nav_menu_links() { $endpoints = apply_filters( 'user_registration_custom_nav_menu_items', $endpoints ); ?> -
-
-
    - $value ) : - ?> -
  • - - - - - -
  • - -
-
-

- - - - - - - - -

-
+
+
+
    + $value ) : + ?> +
  • + + + + + +
  • + +
+
+

+ + + + + + + + +

+
post_content; @@ -948,7 +949,7 @@ class="user-registration-editable-title__icon ur-edit-form-name dashicons dashic $repeater_label = ''; foreach ( $form_row_data_array as $row_data ) { if ( function_exists( 'is_plugin_active' ) && is_plugin_active( 'user-registration-repeater-fields/user-registration-repeater-fields.php' ) ) { - if ( isset( $row_data['row_id'] ) && $row_id === $row_data['row_id'] && isset( $row_data['type'] ) && 'repeater' === $row_data['type'] ) { + if ( isset( $row_data['row_id'] ) && $row_id === $row_data['row_id'] && isset( $row_data['type'] ) && 'repeater' === $row_data['type'] && isset( $row_data['repeater_id'] ) ) { $row_class = 'ur-repeater-row'; $attributes = 'data-repeater-id=' . $row_data['repeater_id'] . ''; $repeater_label = '
'; @@ -971,6 +972,9 @@ class="user-registration-editable-title__icon ur-edit-form-name dashicons dashic } ?> +