mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-23 17:18:44 +02:00
feat: guess what, more changes
This commit is contained in:
264
frontend/package-lock.json
generated
264
frontend/package-lock.json
generated
@@ -9,34 +9,42 @@
|
||||
"version": "1.0.1",
|
||||
"license": "AGPL-3.0",
|
||||
"dependencies": {
|
||||
"@alpinejs/collapse": "^3.15.1",
|
||||
"@alpinejs/mask": "^3.15.1",
|
||||
"@fontsource-variable/jetbrains-mono": "^5.2.8",
|
||||
"@fortawesome/fontawesome-free": "^7.1.0",
|
||||
"@marcreichel/alpine-autosize": "^1.3.3",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
"@rollup/plugin-commonjs": "^29.0.0",
|
||||
"@tailwindcss/vite": "^4.1.16",
|
||||
"@tailwindcss/vite": "^4.1.17",
|
||||
"air-datepicker": "^3.6.0",
|
||||
"alpinejs": "^3.15.1",
|
||||
"autoprefixer": "^10.4.21",
|
||||
"autoprefixer": "^10.4.22",
|
||||
"autosize": "^6.0.1",
|
||||
"bootstrap": "^5.3.8",
|
||||
"chart.js": "^4.5.1",
|
||||
"chartjs-chart-sankey": "^0.14.0",
|
||||
"daisyui": "^5.3.10",
|
||||
"daisyui": "^5.4.7",
|
||||
"htmx.org": "^2.0.8",
|
||||
"hyperscript.org": "^0.9.14",
|
||||
"jquery": "^3.7.1",
|
||||
"mathjs": "^15.0.0",
|
||||
"mathjs": "^15.1.0",
|
||||
"postcss": "^8.5.6",
|
||||
"sass": "^1.93.3",
|
||||
"sass": "^1.94.0",
|
||||
"sweetalert2": "^11.26.3",
|
||||
"tailwindcss": "^4.1.16",
|
||||
"tailwindcss": "^4.1.17",
|
||||
"tippy.js": "^6.3.7",
|
||||
"tom-select": "^2.4.3",
|
||||
"tw-bootstrap-grid": "^1.3.1",
|
||||
"vite": "7.1.12"
|
||||
"tw-bootstrap-grid": "^1.3.2",
|
||||
"vite": "7.2.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@alpinejs/collapse": {
|
||||
"version": "3.15.1",
|
||||
"resolved": "https://registry.npmjs.org/@alpinejs/collapse/-/collapse-3.15.1.tgz",
|
||||
"integrity": "sha512-p3ejDFk8VWdrHa6+Fq3NQp6X4LxWoj2TFRgKEKPQPmVyJMV+Zf5m4ZUFk3Z54zIsgOM9JkAZE0Xany00ntTTng==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@alpinejs/mask": {
|
||||
"version": "3.15.1",
|
||||
"resolved": "https://registry.npmjs.org/@alpinejs/mask/-/mask-3.15.1.tgz",
|
||||
@@ -131,6 +139,15 @@
|
||||
"version": "0.3.4",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@marcreichel/alpine-autosize": {
|
||||
"version": "1.3.3",
|
||||
"resolved": "https://registry.npmjs.org/@marcreichel/alpine-autosize/-/alpine-autosize-1.3.3.tgz",
|
||||
"integrity": "sha512-1F8Wb/b1oVb1eGySpr5InODcHoZGNpWIpYsfHIELvcwqiipBGrGwhYMJVh11skb/dx2JcTqCgheZTyTHJ15oRw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"autosize": "^6.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@orchidjs/sifter": {
|
||||
"version": "1.1.0",
|
||||
"license": "Apache-2.0",
|
||||
@@ -316,47 +333,47 @@
|
||||
]
|
||||
},
|
||||
"node_modules/@tailwindcss/node": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.1.16.tgz",
|
||||
"integrity": "sha512-BX5iaSsloNuvKNHRN3k2RcCuTEgASTo77mofW0vmeHkfrDWaoFAFvNHpEgtu0eqyypcyiBkDWzSMxJhp3AUVcw==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.1.17.tgz",
|
||||
"integrity": "sha512-csIkHIgLb3JisEFQ0vxr2Y57GUNYh447C8xzwj89U/8fdW8LhProdxvnVH6U8M2Y73QKiTIH+LWbK3V2BBZsAg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@jridgewell/remapping": "^2.3.4",
|
||||
"enhanced-resolve": "^5.18.3",
|
||||
"jiti": "^2.6.1",
|
||||
"lightningcss": "1.30.2",
|
||||
"magic-string": "^0.30.19",
|
||||
"magic-string": "^0.30.21",
|
||||
"source-map-js": "^1.2.1",
|
||||
"tailwindcss": "4.1.16"
|
||||
"tailwindcss": "4.1.17"
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.16.tgz",
|
||||
"integrity": "sha512-2OSv52FRuhdlgyOQqgtQHuCgXnS8nFSYRp2tJ+4WZXKgTxqPy7SMSls8c3mPT5pkZ17SBToGM5LHEJBO7miEdg==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.17.tgz",
|
||||
"integrity": "sha512-F0F7d01fmkQhsTjXezGBLdrl1KresJTcI3DB8EkScCldyKp3Msz4hub4uyYaVnk88BAS1g5DQjjF6F5qczheLA==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@tailwindcss/oxide-android-arm64": "4.1.16",
|
||||
"@tailwindcss/oxide-darwin-arm64": "4.1.16",
|
||||
"@tailwindcss/oxide-darwin-x64": "4.1.16",
|
||||
"@tailwindcss/oxide-freebsd-x64": "4.1.16",
|
||||
"@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.16",
|
||||
"@tailwindcss/oxide-linux-arm64-gnu": "4.1.16",
|
||||
"@tailwindcss/oxide-linux-arm64-musl": "4.1.16",
|
||||
"@tailwindcss/oxide-linux-x64-gnu": "4.1.16",
|
||||
"@tailwindcss/oxide-linux-x64-musl": "4.1.16",
|
||||
"@tailwindcss/oxide-wasm32-wasi": "4.1.16",
|
||||
"@tailwindcss/oxide-win32-arm64-msvc": "4.1.16",
|
||||
"@tailwindcss/oxide-win32-x64-msvc": "4.1.16"
|
||||
"@tailwindcss/oxide-android-arm64": "4.1.17",
|
||||
"@tailwindcss/oxide-darwin-arm64": "4.1.17",
|
||||
"@tailwindcss/oxide-darwin-x64": "4.1.17",
|
||||
"@tailwindcss/oxide-freebsd-x64": "4.1.17",
|
||||
"@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.17",
|
||||
"@tailwindcss/oxide-linux-arm64-gnu": "4.1.17",
|
||||
"@tailwindcss/oxide-linux-arm64-musl": "4.1.17",
|
||||
"@tailwindcss/oxide-linux-x64-gnu": "4.1.17",
|
||||
"@tailwindcss/oxide-linux-x64-musl": "4.1.17",
|
||||
"@tailwindcss/oxide-wasm32-wasi": "4.1.17",
|
||||
"@tailwindcss/oxide-win32-arm64-msvc": "4.1.17",
|
||||
"@tailwindcss/oxide-win32-x64-msvc": "4.1.17"
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-android-arm64": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.16.tgz",
|
||||
"integrity": "sha512-8+ctzkjHgwDJ5caq9IqRSgsP70xhdhJvm+oueS/yhD5ixLhqTw9fSL1OurzMUhBwE5zK26FXLCz2f/RtkISqHA==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.17.tgz",
|
||||
"integrity": "sha512-BMqpkJHgOZ5z78qqiGE6ZIRExyaHyuxjgrJ6eBO5+hfrfGkuya0lYfw8fRHG77gdTjWkNWEEm+qeG2cDMxArLQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -370,9 +387,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-darwin-arm64": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.16.tgz",
|
||||
"integrity": "sha512-C3oZy5042v2FOALBZtY0JTDnGNdS6w7DxL/odvSny17ORUnaRKhyTse8xYi3yKGyfnTUOdavRCdmc8QqJYwFKA==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.17.tgz",
|
||||
"integrity": "sha512-EquyumkQweUBNk1zGEU/wfZo2qkp/nQKRZM8bUYO0J+Lums5+wl2CcG1f9BgAjn/u9pJzdYddHWBiFXJTcxmOg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -386,9 +403,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-darwin-x64": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.16.tgz",
|
||||
"integrity": "sha512-vjrl/1Ub9+JwU6BP0emgipGjowzYZMjbWCDqwA2Z4vCa+HBSpP4v6U2ddejcHsolsYxwL5r4bPNoamlV0xDdLg==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.17.tgz",
|
||||
"integrity": "sha512-gdhEPLzke2Pog8s12oADwYu0IAw04Y2tlmgVzIN0+046ytcgx8uZmCzEg4VcQh+AHKiS7xaL8kGo/QTiNEGRog==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -402,9 +419,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-freebsd-x64": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.16.tgz",
|
||||
"integrity": "sha512-TSMpPYpQLm+aR1wW5rKuUuEruc/oOX3C7H0BTnPDn7W/eMw8W+MRMpiypKMkXZfwH8wqPIRKppuZoedTtNj2tg==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.17.tgz",
|
||||
"integrity": "sha512-hxGS81KskMxML9DXsaXT1H0DyA+ZBIbyG/sSAjWNe2EDl7TkPOBI42GBV3u38itzGUOmFfCzk1iAjDXds8Oh0g==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -418,9 +435,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.16.tgz",
|
||||
"integrity": "sha512-p0GGfRg/w0sdsFKBjMYvvKIiKy/LNWLWgV/plR4lUgrsxFAoQBFrXkZ4C0w8IOXfslB9vHK/JGASWD2IefIpvw==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.17.tgz",
|
||||
"integrity": "sha512-k7jWk5E3ldAdw0cNglhjSgv501u7yrMf8oeZ0cElhxU6Y2o7f8yqelOp3fhf7evjIS6ujTI3U8pKUXV2I4iXHQ==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
@@ -434,9 +451,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-linux-arm64-gnu": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.16.tgz",
|
||||
"integrity": "sha512-DoixyMmTNO19rwRPdqviTrG1rYzpxgyYJl8RgQvdAQUzxC1ToLRqtNJpU/ATURSKgIg6uerPw2feW0aS8SNr/w==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.17.tgz",
|
||||
"integrity": "sha512-HVDOm/mxK6+TbARwdW17WrgDYEGzmoYayrCgmLEw7FxTPLcp/glBisuyWkFz/jb7ZfiAXAXUACfyItn+nTgsdQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -450,9 +467,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-linux-arm64-musl": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.16.tgz",
|
||||
"integrity": "sha512-H81UXMa9hJhWhaAUca6bU2wm5RRFpuHImrwXBUvPbYb+3jo32I9VIwpOX6hms0fPmA6f2pGVlybO6qU8pF4fzQ==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.17.tgz",
|
||||
"integrity": "sha512-HvZLfGr42i5anKtIeQzxdkw/wPqIbpeZqe7vd3V9vI3RQxe3xU1fLjss0TjyhxWcBaipk7NYwSrwTwK1hJARMg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -466,9 +483,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-linux-x64-gnu": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.16.tgz",
|
||||
"integrity": "sha512-ZGHQxDtFC2/ruo7t99Qo2TTIvOERULPl5l0K1g0oK6b5PGqjYMga+FcY1wIUnrUxY56h28FxybtDEla+ICOyew==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.17.tgz",
|
||||
"integrity": "sha512-M3XZuORCGB7VPOEDH+nzpJ21XPvK5PyjlkSFkFziNHGLc5d6g3di2McAAblmaSUNl8IOmzYwLx9NsE7bplNkwQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -482,9 +499,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-linux-x64-musl": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.16.tgz",
|
||||
"integrity": "sha512-Oi1tAaa0rcKf1Og9MzKeINZzMLPbhxvm7rno5/zuP1WYmpiG0bEHq4AcRUiG2165/WUzvxkW4XDYCscZWbTLZw==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.17.tgz",
|
||||
"integrity": "sha512-k7f+pf9eXLEey4pBlw+8dgfJHY4PZ5qOUFDyNf7SI6lHjQ9Zt7+NcscjpwdCEbYi6FI5c2KDTDWyf2iHcCSyyQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -498,9 +515,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-wasm32-wasi": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.1.16.tgz",
|
||||
"integrity": "sha512-B01u/b8LteGRwucIBmCQ07FVXLzImWESAIMcUU6nvFt/tYsQ6IHz8DmZ5KtvmwxD+iTYBtM1xwoGXswnlu9v0Q==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.1.17.tgz",
|
||||
"integrity": "sha512-cEytGqSSoy7zK4JRWiTCx43FsKP/zGr0CsuMawhH67ONlH+T79VteQeJQRO/X7L0juEUA8ZyuYikcRBf0vsxhg==",
|
||||
"bundleDependencies": [
|
||||
"@napi-rs/wasm-runtime",
|
||||
"@emnapi/core",
|
||||
@@ -515,8 +532,8 @@
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"@emnapi/core": "^1.5.0",
|
||||
"@emnapi/runtime": "^1.5.0",
|
||||
"@emnapi/core": "^1.6.0",
|
||||
"@emnapi/runtime": "^1.6.0",
|
||||
"@emnapi/wasi-threads": "^1.1.0",
|
||||
"@napi-rs/wasm-runtime": "^1.0.7",
|
||||
"@tybys/wasm-util": "^0.10.1",
|
||||
@@ -527,9 +544,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.16.tgz",
|
||||
"integrity": "sha512-zX+Q8sSkGj6HKRTMJXuPvOcP8XfYON24zJBRPlszcH1Np7xuHXhWn8qfFjIujVzvH3BHU+16jBXwgpl20i+v9A==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.17.tgz",
|
||||
"integrity": "sha512-JU5AHr7gKbZlOGvMdb4722/0aYbU+tN6lv1kONx0JK2cGsh7g148zVWLM0IKR3NeKLv+L90chBVYcJ8uJWbC9A==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -543,9 +560,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/oxide-win32-x64-msvc": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.16.tgz",
|
||||
"integrity": "sha512-m5dDFJUEejbFqP+UXVstd4W/wnxA4F61q8SoL+mqTypId2T2ZpuxosNSgowiCnLp2+Z+rivdU0AqpfgiD7yCBg==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.17.tgz",
|
||||
"integrity": "sha512-SKWM4waLuqx0IH+FMDUw6R66Hu4OuTALFgnleKbqhgGU30DY20NORZMZUKgLRjQXNN2TLzKvh48QXTig4h4bGw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -559,14 +576,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tailwindcss/vite": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.1.16.tgz",
|
||||
"integrity": "sha512-bbguNBcDxsRmi9nnlWJxhfDWamY3lmcyACHcdO1crxfzuLpOhHLLtEIN/nCbbAtj5rchUgQD17QVAKi1f7IsKg==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.1.17.tgz",
|
||||
"integrity": "sha512-4+9w8ZHOiGnpcGI6z1TVVfWaX/koK7fKeSYF3qlYg2xpBtbteP2ddBxiarL+HVgfSJGeK5RIxRQmKm4rTJJAwA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@tailwindcss/node": "4.1.16",
|
||||
"@tailwindcss/oxide": "4.1.16",
|
||||
"tailwindcss": "4.1.16"
|
||||
"@tailwindcss/node": "4.1.17",
|
||||
"@tailwindcss/oxide": "4.1.17",
|
||||
"tailwindcss": "4.1.17"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vite": "^5.2.0 || ^6 || ^7"
|
||||
@@ -611,7 +628,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/autoprefixer": {
|
||||
"version": "10.4.21",
|
||||
"version": "10.4.22",
|
||||
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.22.tgz",
|
||||
"integrity": "sha512-ARe0v/t9gO28Bznv6GgqARmVqcWOV3mfgUPn9becPHMiD3o9BwlRgaeccZnwTpZ7Zwqrm+c1sUSsMxIzQzc8Xg==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
@@ -628,9 +647,9 @@
|
||||
],
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"browserslist": "^4.24.4",
|
||||
"caniuse-lite": "^1.0.30001702",
|
||||
"fraction.js": "^4.3.7",
|
||||
"browserslist": "^4.27.0",
|
||||
"caniuse-lite": "^1.0.30001754",
|
||||
"fraction.js": "^5.3.4",
|
||||
"normalize-range": "^0.1.2",
|
||||
"picocolors": "^1.1.1",
|
||||
"postcss-value-parser": "^4.2.0"
|
||||
@@ -650,7 +669,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/baseline-browser-mapping": {
|
||||
"version": "2.8.9",
|
||||
"version": "2.8.25",
|
||||
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.25.tgz",
|
||||
"integrity": "sha512-2NovHVesVF5TXefsGX1yzx1xgr7+m9JQenvz6FQY3qd+YXkKkYiv+vTCc7OriP9mcDZpTC5mAOYN4ocd29+erA==",
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
"baseline-browser-mapping": "dist/cli.js"
|
||||
@@ -687,7 +708,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/browserslist": {
|
||||
"version": "4.26.2",
|
||||
"version": "4.28.0",
|
||||
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.0.tgz",
|
||||
"integrity": "sha512-tbydkR/CxfMwelN0vwdP/pLkDwyAASZ+VfWm4EOwlB6SWhx1sYnWLqo8N5j0rAzPfzfRaxt0mM/4wPU/Su84RQ==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
@@ -705,11 +728,11 @@
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"baseline-browser-mapping": "^2.8.3",
|
||||
"caniuse-lite": "^1.0.30001741",
|
||||
"electron-to-chromium": "^1.5.218",
|
||||
"node-releases": "^2.0.21",
|
||||
"update-browserslist-db": "^1.1.3"
|
||||
"baseline-browser-mapping": "^2.8.25",
|
||||
"caniuse-lite": "^1.0.30001754",
|
||||
"electron-to-chromium": "^1.5.249",
|
||||
"node-releases": "^2.0.27",
|
||||
"update-browserslist-db": "^1.1.4"
|
||||
},
|
||||
"bin": {
|
||||
"browserslist": "cli.js"
|
||||
@@ -723,7 +746,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/caniuse-lite": {
|
||||
"version": "1.0.30001745",
|
||||
"version": "1.0.30001754",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001754.tgz",
|
||||
"integrity": "sha512-x6OeBXueoAceOmotzx3PO4Zpt4rzpeIFsSr6AAePTZxSkXiYDUmpypEl7e2+8NCd9bD7bXjqyef8CJYPC1jfxg==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
@@ -795,9 +820,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/daisyui": {
|
||||
"version": "5.3.10",
|
||||
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-5.3.10.tgz",
|
||||
"integrity": "sha512-vmjyPmm0hvFhA95KB6uiGmWakziB2pBv6CUcs5Ka/3iMBMn9S+C3SZYx9G9l2JrgTZ1EFn61F/HrPcwaUm2kLQ==",
|
||||
"version": "5.4.7",
|
||||
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-5.4.7.tgz",
|
||||
"integrity": "sha512-2wYO61vTPCXk7xEBgnzLZAYoE0xS5IRLu/GSq0vORpB+cTrtubdx69NnA0loc0exvCY1s2fYL4lGZtFHe2ohNQ==",
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
"url": "https://github.com/saadeghi/daisyui?sponsor=1"
|
||||
@@ -815,7 +840,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/electron-to-chromium": {
|
||||
"version": "1.5.227",
|
||||
"version": "1.5.250",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.250.tgz",
|
||||
"integrity": "sha512-/5UMj9IiGDMOFBnN4i7/Ry5onJrAGSbOGo3s9FEKmwobGq6xw832ccET0CE3CkkMBZ8GJSlUIesZofpyurqDXw==",
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/enhanced-resolve": {
|
||||
@@ -872,6 +899,8 @@
|
||||
},
|
||||
"node_modules/escalade": {
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
|
||||
"integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
@@ -899,13 +928,15 @@
|
||||
}
|
||||
},
|
||||
"node_modules/fraction.js": {
|
||||
"version": "4.3.7",
|
||||
"version": "5.3.4",
|
||||
"resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz",
|
||||
"integrity": "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": "*"
|
||||
},
|
||||
"funding": {
|
||||
"type": "patreon",
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/rawify"
|
||||
}
|
||||
},
|
||||
@@ -1253,7 +1284,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/magic-string": {
|
||||
"version": "0.30.19",
|
||||
"version": "0.30.21",
|
||||
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
|
||||
"integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@jridgewell/sourcemap-codec": "^1.5.5"
|
||||
@@ -1264,9 +1297,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/mathjs": {
|
||||
"version": "15.0.0",
|
||||
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-15.0.0.tgz",
|
||||
"integrity": "sha512-eXXXRKEl/htny5T/Ce/hbmqa8WZi2RmaCEHBOVtTeYcYyyGvz1UYSdK2ypydDepFF6F7ue0OygXRRIx8lLq/uw==",
|
||||
"version": "15.1.0",
|
||||
"resolved": "https://registry.npmjs.org/mathjs/-/mathjs-15.1.0.tgz",
|
||||
"integrity": "sha512-HfnAcScQm9drGryodlDqeS3WAl4gUTYGDcOtcqL/8s23MZ28Ib1i8XnYK3ZdjNuaW/L4BAp9lIp8vxAMrcuu1w==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.26.10",
|
||||
@@ -1286,17 +1319,6 @@
|
||||
"node": ">= 18"
|
||||
}
|
||||
},
|
||||
"node_modules/mathjs/node_modules/fraction.js": {
|
||||
"version": "5.3.4",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": "*"
|
||||
},
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/rawify"
|
||||
}
|
||||
},
|
||||
"node_modules/micromatch": {
|
||||
"version": "4.0.8",
|
||||
"license": "MIT",
|
||||
@@ -1331,7 +1353,9 @@
|
||||
"optional": true
|
||||
},
|
||||
"node_modules/node-releases": {
|
||||
"version": "2.0.21",
|
||||
"version": "2.0.27",
|
||||
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz",
|
||||
"integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/normalize-range": {
|
||||
@@ -1439,9 +1463,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/sass": {
|
||||
"version": "1.93.3",
|
||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.93.3.tgz",
|
||||
"integrity": "sha512-elOcIZRTM76dvxNAjqYrucTSI0teAF/L2Lv0s6f6b7FOwcwIuA357bIE871580AjHJuSvLIRUosgV+lIWx6Rgg==",
|
||||
"version": "1.94.0",
|
||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.94.0.tgz",
|
||||
"integrity": "sha512-Dqh7SiYcaFtdv5Wvku6QgS5IGPm281L+ZtVD1U2FJa7Q0EFRlq8Z3sjYtz6gYObsYThUOz9ArwFqPZx+1azILQ==",
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
@@ -1496,9 +1520,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/tailwindcss": {
|
||||
"version": "4.1.16",
|
||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.16.tgz",
|
||||
"integrity": "sha512-pONL5awpaQX4LN5eiv7moSiSPd/DLDzKVRJz8Q9PgzmAdd1R4307GQS2ZpfiN7ZmekdQrfhZZiSE5jkLR4WNaA==",
|
||||
"version": "4.1.17",
|
||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.17.tgz",
|
||||
"integrity": "sha512-j9Ee2YjuQqYT9bbRTfTZht9W/ytp5H+jJpZKiYdP/bpnXARAuELt9ofP0lPnmHjbga7SNQIxdTAXCmtKVYjN+Q==",
|
||||
"license": "MIT",
|
||||
"peer": true
|
||||
},
|
||||
@@ -1611,9 +1635,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/tw-bootstrap-grid": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/tw-bootstrap-grid/-/tw-bootstrap-grid-1.3.1.tgz",
|
||||
"integrity": "sha512-QcX2p8u/2yZA6h7LqLq4Wq1nsqz6r50EQE3EE5ce05+IdQa3EKyZlrmFtaWO5hczl3n94UdP/DKg4rt+MjMxIg==",
|
||||
"version": "1.3.2",
|
||||
"resolved": "https://registry.npmjs.org/tw-bootstrap-grid/-/tw-bootstrap-grid-1.3.2.tgz",
|
||||
"integrity": "sha512-wfeAqK4iuNnjSTeiIdmJPFlD1DbrTwjx4fCvqJyDd32+7bUqtk2LyNJ0A3dIkJi7FdPQeN7OwvCqdO7gA+eNbg==",
|
||||
"license": "MIT",
|
||||
"workspaces": [
|
||||
"__tests__/tailwind_v3",
|
||||
@@ -1634,7 +1658,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/update-browserslist-db": {
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.4.tgz",
|
||||
"integrity": "sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
@@ -1662,9 +1688,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/vite": {
|
||||
"version": "7.1.12",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-7.1.12.tgz",
|
||||
"integrity": "sha512-ZWyE8YXEXqJrrSLvYgrRP7p62OziLW7xI5HYGWFzOvupfAlrLvURSzv/FyGyy0eidogEM3ujU+kUG1zuHgb6Ug==",
|
||||
"version": "7.2.2",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-7.2.2.tgz",
|
||||
"integrity": "sha512-BxAKBWmIbrDgrokdGZH1IgkIk/5mMHDreLDmCJ0qpyJaAteP8NvMhkwr/ZCQNqNH97bw/dANTE9PDzqwJghfMQ==",
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -16,32 +16,34 @@
|
||||
},
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@alpinejs/collapse": "^3.15.1",
|
||||
"@alpinejs/mask": "^3.15.1",
|
||||
"@fontsource-variable/jetbrains-mono": "^5.2.8",
|
||||
"@fortawesome/fontawesome-free": "^7.1.0",
|
||||
"@marcreichel/alpine-autosize": "^1.3.3",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
"@rollup/plugin-commonjs": "^29.0.0",
|
||||
"@tailwindcss/vite": "^4.1.16",
|
||||
"@tailwindcss/vite": "^4.1.17",
|
||||
"air-datepicker": "^3.6.0",
|
||||
"alpinejs": "^3.15.1",
|
||||
"autoprefixer": "^10.4.21",
|
||||
"autoprefixer": "^10.4.22",
|
||||
"autosize": "^6.0.1",
|
||||
"bootstrap": "^5.3.8",
|
||||
"chart.js": "^4.5.1",
|
||||
"chartjs-chart-sankey": "^0.14.0",
|
||||
"daisyui": "^5.3.10",
|
||||
"daisyui": "^5.4.7",
|
||||
"htmx.org": "^2.0.8",
|
||||
"hyperscript.org": "^0.9.14",
|
||||
"jquery": "^3.7.1",
|
||||
"mathjs": "^15.0.0",
|
||||
"mathjs": "^15.1.0",
|
||||
"postcss": "^8.5.6",
|
||||
"sass": "^1.93.3",
|
||||
"sass": "^1.94.0",
|
||||
"sweetalert2": "^11.26.3",
|
||||
"tailwindcss": "^4.1.16",
|
||||
"tailwindcss": "^4.1.17",
|
||||
"tippy.js": "^6.3.7",
|
||||
"tom-select": "^2.4.3",
|
||||
"tw-bootstrap-grid": "^1.3.1",
|
||||
"vite": "7.1.12"
|
||||
"tw-bootstrap-grid": "^1.3.2",
|
||||
"vite": "7.2.2"
|
||||
},
|
||||
"resolutions": {
|
||||
"rollup": "npm:@rollup/wasm-node"
|
||||
|
||||
@@ -1,11 +1,3 @@
|
||||
document.addEventListener("input", function (e) {
|
||||
// Check if the element that triggered the input event is a <textarea>
|
||||
if (e.target.tagName.toLowerCase() === "textarea") {
|
||||
import autosize from "autosize/dist/autosize";
|
||||
|
||||
// Reset height to 'auto' to allow the textarea to shrink
|
||||
e.target.style.height = "auto";
|
||||
|
||||
// Set the height to its scrollHeight (the full height of the content)
|
||||
e.target.style.height = (e.target.scrollHeight + 5) + "px";
|
||||
}
|
||||
}, false);
|
||||
window.autosize = autosize;
|
||||
|
||||
2
frontend/src/js/bootstrap.js
vendored
2
frontend/src/js/bootstrap.js
vendored
@@ -24,4 +24,4 @@ function initiateToasts() {
|
||||
|
||||
document.addEventListener('DOMContentLoaded', initiateToasts, false);
|
||||
document.addEventListener('htmx:afterSwap', initiateToasts, false);
|
||||
initiateToasts();
|
||||
initiateToasts();
|
||||
|
||||
@@ -2,6 +2,8 @@ import _hyperscript from 'hyperscript.org/dist/_hyperscript.min';
|
||||
import './_htmx.js';
|
||||
import Alpine from "alpinejs";
|
||||
import mask from '@alpinejs/mask';
|
||||
import collapse from '@alpinejs/collapse'
|
||||
import Autosize from '@marcreichel/alpine-autosize';
|
||||
import {create, all} from 'mathjs';
|
||||
|
||||
window.Alpine = Alpine;
|
||||
@@ -15,9 +17,15 @@ window.math = create(all, {
|
||||
});
|
||||
|
||||
Alpine.plugin(mask);
|
||||
Alpine.plugin(collapse);
|
||||
Alpine.plugin(Autosize);
|
||||
Alpine.start();
|
||||
_hyperscript.browserInit();
|
||||
|
||||
document.body.addEventListener('htmx:afterSettle', function (evt) {
|
||||
Alpine.initTree(evt.detail.elt);
|
||||
});
|
||||
|
||||
|
||||
const successAudio = new Audio("/static/sounds/success.mp3");
|
||||
const popAudio = new Audio("/static/sounds/pop.mp3");
|
||||
|
||||
@@ -13,6 +13,7 @@ window.TomSelect = function createDynamicTomSelect(element) {
|
||||
// Extract 'create' option from data attribute
|
||||
create: element.dataset.create === 'true',
|
||||
copyClassesToDropdown: true,
|
||||
loadingClass: "ts-loading",
|
||||
allowEmptyOption: element.dataset.allowEmptyOption === 'true',
|
||||
render: {
|
||||
no_results: function () {
|
||||
@@ -23,19 +24,14 @@ window.TomSelect = function createDynamicTomSelect(element) {
|
||||
},
|
||||
},
|
||||
|
||||
onDropdownOpen: function () {
|
||||
// Move dropdown to body to escape stacking context issues
|
||||
document.body.appendChild(this.dropdown);
|
||||
|
||||
|
||||
onInitialize: function () {
|
||||
this.popper = Popper.createPopper(this.control, this.dropdown, {
|
||||
placement: "bottom-start",
|
||||
strategy: "fixed",
|
||||
modifiers: [
|
||||
{
|
||||
name: "sameWidth",
|
||||
enabled: true,
|
||||
fn: ({ state }) => {
|
||||
fn: ({state}) => {
|
||||
state.styles.popper.width = `${state.rects.reference.width}px`;
|
||||
},
|
||||
phase: "beforeWrite",
|
||||
@@ -47,21 +43,13 @@ window.TomSelect = function createDynamicTomSelect(element) {
|
||||
fallbackPlacements: ['top-start'],
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'preventOverflow',
|
||||
options: {
|
||||
boundary: 'viewport',
|
||||
padding: 8,
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
});
|
||||
|
||||
},
|
||||
onDropdownClose: function () {
|
||||
this.popper.destroy();
|
||||
this.dropdown.remove();
|
||||
onDropdownOpen: function () {
|
||||
this.popper.update();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ $dropdown-padding-y: 0.5rem !default;
|
||||
$dropdown-spacer: 0.125rem !default;
|
||||
$dropdown-font-size: 1rem !default;
|
||||
$dropdown-border-radius: 0.375rem !default;
|
||||
$dropdown-border-width: 1px !default;
|
||||
$dropdown-border-width: 2px !default;
|
||||
$dropdown-inner-border-radius: calc(#{$dropdown-border-radius} - #{$dropdown-border-width}) !default;
|
||||
$dropdown-divider-margin-y: 0.5rem !default;
|
||||
$dropdown-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !default;
|
||||
@@ -191,7 +191,7 @@ $breakpoints: (
|
||||
--dropdown-font-size: #{$dropdown-font-size};
|
||||
--dropdown-color: var(--color-base-content);
|
||||
--dropdown-bg: var(--color-base-300);
|
||||
--dropdown-border-color: var(--color-base-300);
|
||||
--dropdown-border-color: var(--color-base-100);
|
||||
--dropdown-border-radius: #{$dropdown-border-radius};
|
||||
--dropdown-border-width: #{$dropdown-border-width};
|
||||
--dropdown-inner-border-radius: #{$dropdown-inner-border-radius};
|
||||
@@ -214,6 +214,8 @@ $breakpoints: (
|
||||
z-index: var(--dropdown-z-index);
|
||||
display: none; // none by default, but block on "open" of the menu
|
||||
min-width: var(--dropdown-min-width);
|
||||
max-width: calc(100dvw - 1rem); // Prevent overflow on small screens
|
||||
width: max-content;
|
||||
padding: var(--dropdown-padding-y) var(--dropdown-padding-x);
|
||||
margin: 0; // Override default margin of ul
|
||||
color: var(--dropdown-color);
|
||||
@@ -399,4 +401,4 @@ $breakpoints: (
|
||||
--dropdown-link-active-bg: var(--color-primary);
|
||||
--dropdown-link-disabled-color: #adb5bd;
|
||||
--dropdown-header-color: #adb5bd;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
@use "variables";
|
||||
|
||||
/* custom scrollbar */
|
||||
::-webkit-scrollbar {
|
||||
width: 13px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
//background-color: $gray-800;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
//background-color: $gray-600;
|
||||
border-radius: 20px;
|
||||
border: 4px solid transparent;
|
||||
background-clip: content-box;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
//background-color: $primary;
|
||||
}
|
||||
@@ -1,426 +1,401 @@
|
||||
@layer components {
|
||||
/* ============================================
|
||||
Tom-Select DaisyUI Theme
|
||||
Complete override of tom-select default styles
|
||||
============================================ */
|
||||
|
||||
/* Base Control Styles */
|
||||
.ts-control {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
min-height: var(--size, calc(var(--size-field, 0.25rem) * 10));
|
||||
padding: 0.5rem 0.75rem;
|
||||
gap: 0.375rem;
|
||||
|
||||
/* DaisyUI input styling */
|
||||
border: var(--border, 1px) solid transparent;
|
||||
border-color: var(--input-color, color-mix(in oklab, var(--color-base-content) 20%, transparent));
|
||||
border-radius: var(--radius-field, 0.5rem);
|
||||
background-color: var(--color-base-100);
|
||||
color: var(--color-base-content);
|
||||
|
||||
/* DaisyUI depth effect */
|
||||
box-shadow:
|
||||
0 1px color-mix(in oklab, var(--input-color) calc(var(--depth, 0) * 10%), transparent) inset,
|
||||
0 -1px oklch(100% 0 0 / calc(var(--depth, 0) * 0.1)) inset;
|
||||
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.25rem;
|
||||
cursor: text;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
overflow: visible;
|
||||
transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
/* Multi-select with items */
|
||||
.ts-wrapper.multi.has-items .ts-control {
|
||||
padding: calc(0.5rem - 2px - 0px) 0.75rem calc(0.5rem - 2px - 3px - 0px);
|
||||
}
|
||||
|
||||
/* Control input field */
|
||||
.ts-control>input {
|
||||
flex: 1 1 auto;
|
||||
min-width: 7rem;
|
||||
display: inline-flex !important;
|
||||
padding: 0 !important;
|
||||
padding-right: 1.25rem !important;
|
||||
margin: 0 !important;
|
||||
min-height: 0 !important;
|
||||
max-height: none !important;
|
||||
max-width: 100% !important;
|
||||
|
||||
border: 0 none !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
outline: none !important;
|
||||
|
||||
font-size: 0.875rem !important;
|
||||
line-height: inherit !important;
|
||||
color: inherit;
|
||||
text-indent: 0 !important;
|
||||
}
|
||||
|
||||
.ts-control>input::-ms-clear {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ts-control>input:focus {
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
.has-items .ts-control>input {
|
||||
margin: 0 0.25rem !important;
|
||||
}
|
||||
|
||||
/* Focus states - DaisyUI style */
|
||||
.ts-control:focus-within,
|
||||
.ts-control:focus,
|
||||
.focus .ts-control {
|
||||
--input-color: var(--color-base-content);
|
||||
border-color: var(--input-color);
|
||||
box-shadow: 0 1px color-mix(in oklab, var(--input-color) calc(var(--depth, 0) * 10%), transparent) inset;
|
||||
outline: 2px solid var(--input-color);
|
||||
outline-offset: 2px;
|
||||
isolation: isolate;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* .focus.ts-wrapper {
|
||||
border-color: var(--color-primary);
|
||||
outline: 2px solid var(--color-primary);
|
||||
outline-offset: 2px;
|
||||
} */
|
||||
|
||||
/* Disabled state */
|
||||
.disabled .ts-control,
|
||||
.disabled .ts-control * {
|
||||
cursor: not-allowed !important;
|
||||
border-color: var(--color-base-200);
|
||||
background-color: var(--color-base-200);
|
||||
color: color-mix(in oklab, var(--color-base-content) 40%, transparent);
|
||||
opacity: 1;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Multi-select items (badges) */
|
||||
.ts-wrapper.multi .ts-control>div {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
margin: 0 0.25rem 0.25rem 0;
|
||||
padding: 0.25rem 0.75rem;
|
||||
gap: 0.25rem;
|
||||
|
||||
/* DaisyUI badge styling */
|
||||
background-color: var(--color-secondary);
|
||||
color: var(--color-secondary-content);
|
||||
border-radius: var(--radius-field, 0.5rem);
|
||||
border: 0 solid transparent;
|
||||
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.25rem;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
/* Active multi-select item */
|
||||
.ts-wrapper.multi .ts-control>div.active {
|
||||
background-color: var(--color-primary);
|
||||
color: var(--color-primary-content);
|
||||
border: 0 solid transparent;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Disabled multi-select items */
|
||||
.ts-wrapper.multi.disabled .ts-control>div,
|
||||
.ts-wrapper.multi.disabled .ts-control>div.active {
|
||||
background-color: var(--color-base-200);
|
||||
color: color-mix(in oklab, var(--color-base-content) 40%, transparent);
|
||||
border: 0 solid transparent;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Remove button on items */
|
||||
.ts-wrapper.plugin-remove_button .item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.ts-wrapper.plugin-remove_button .item .remove {
|
||||
display: inline-block;
|
||||
padding: 0 0.375rem;
|
||||
margin-left: 0.375rem;
|
||||
border: none;
|
||||
border-left: 1px solid color-mix(in oklab, var(--color-primary-content) 30%, transparent);
|
||||
border-radius: 0 var(--radius-field, 0.5rem) var(--radius-field, 0.5rem) 0;
|
||||
|
||||
color: var(--color-error);
|
||||
font-size: 1.125rem;
|
||||
line-height: 1;
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
|
||||
opacity: 0.7;
|
||||
transition: all 0.2s;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ts-wrapper.plugin-remove_button .item .remove:hover {
|
||||
opacity: 1;
|
||||
background-color: color-mix(in oklab, var(--color-error) 10%, transparent);
|
||||
}
|
||||
|
||||
.ts-wrapper.plugin-remove_button.disabled .item .remove:hover {
|
||||
background: none;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* RTL support for remove button */
|
||||
.ts-control.rtl .ts-wrapper.plugin-remove_button .item {
|
||||
padding-left: 0 !important;
|
||||
padding-right: initial;
|
||||
}
|
||||
|
||||
.ts-control.rtl .ts-wrapper.plugin-remove_button .item .remove {
|
||||
border-left: none;
|
||||
border-right: 1px solid color-mix(in oklab, var(--color-primary-content) 30%, transparent);
|
||||
border-radius: var(--radius-field, 0.5rem) 0 0 var(--radius-field, 0.5rem);
|
||||
margin-left: 0;
|
||||
margin-right: 0.375rem;
|
||||
}
|
||||
|
||||
/* Dropdown */
|
||||
.ts-dropdown {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: auto;
|
||||
z-index: 1100;
|
||||
margin: 0;
|
||||
|
||||
/* DaisyUI dropdown styling */
|
||||
background-color: var(--color-base-100);
|
||||
color: var(--color-base-content);
|
||||
border: var(--border, 1px) solid var(--color-base-300);
|
||||
border-radius: var(--radius-box, 0.5rem);
|
||||
|
||||
/* DaisyUI shadow */
|
||||
box-shadow:
|
||||
0 20px 25px -5px rgb(0 0 0 / calc(var(--depth, 0) * 0.1)),
|
||||
0 8px 10px -6px rgb(0 0 0 / calc(var(--depth, 0) * 0.1));
|
||||
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Dropdown content scrolling */
|
||||
.ts-dropdown-content {
|
||||
max-height: 40dvh;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
/* Dropdown options */
|
||||
.ts-dropdown .option,
|
||||
.ts-dropdown .optgroup-header,
|
||||
.ts-dropdown .no-results,
|
||||
.ts-dropdown .create {
|
||||
padding: 0.5rem 0.75rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ts-dropdown [data-selectable].option {
|
||||
cursor: pointer;
|
||||
opacity: 1;
|
||||
transition: background-color 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
.ts-dropdown [data-selectable].option:first-child {
|
||||
border-top-left-radius: var(--radius-box, 0.5rem);
|
||||
border-top-right-radius: var(--radius-box, 0.5rem);
|
||||
}
|
||||
|
||||
.ts-dropdown [data-selectable].option:last-child {
|
||||
border-bottom-left-radius: var(--radius-box, 0.5rem);
|
||||
border-bottom-right-radius: var(--radius-box, 0.5rem);
|
||||
}
|
||||
|
||||
/* Disabled options */
|
||||
.ts-dropdown .option,
|
||||
.ts-dropdown [data-disabled],
|
||||
.ts-dropdown [data-disabled] [data-selectable].option {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/* Hover and active states */
|
||||
.ts-dropdown [data-selectable].option:hover,
|
||||
.ts-dropdown .option:hover,
|
||||
.ts-dropdown .create:hover,
|
||||
.ts-dropdown .active {
|
||||
background-color: color-mix(in oklab, var(--color-base-content) 10%, transparent);
|
||||
color: var(--color-base-content);
|
||||
}
|
||||
|
||||
.ts-dropdown .active.create {
|
||||
color: var(--color-base-content);
|
||||
}
|
||||
|
||||
/* Optgroup styling */
|
||||
.ts-dropdown .optgroup-header {
|
||||
color: var(--color-base-content);
|
||||
background-color: var(--color-base-200);
|
||||
font-weight: 600;
|
||||
cursor: default;
|
||||
padding: 0.5rem 0.75rem;
|
||||
}
|
||||
|
||||
.ts-dropdown .optgroup:first-child .optgroup-header {
|
||||
border-top: 0 none;
|
||||
}
|
||||
|
||||
/* Create option */
|
||||
.ts-dropdown .create {
|
||||
color: color-mix(in oklab, var(--color-base-content) 60%, transparent);
|
||||
}
|
||||
|
||||
/* Highlight in search */
|
||||
.ts-dropdown [data-selectable] .highlight {
|
||||
background-color: color-mix(in oklab, var(--color-primary) 20%, transparent);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* Loading spinner */
|
||||
.ts-dropdown .spinner {
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin: 0.5rem 0.75rem;
|
||||
}
|
||||
|
||||
.ts-dropdown .spinner::after {
|
||||
content: " ";
|
||||
display: block;
|
||||
width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
margin: 0.1875rem;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--color-primary);
|
||||
border-color: var(--color-primary) transparent var(--color-primary) transparent;
|
||||
animation: ts-spin 1.2s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes ts-spin {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
/* Single select dropdown arrow */
|
||||
.ts-wrapper:not(.form-control):not(.form-select).single .ts-control {
|
||||
padding-right: 2.5rem;
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
|
||||
background-position: right 0.75rem center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 1.25em 1.25em;
|
||||
}
|
||||
|
||||
/* Dark theme arrow */
|
||||
[data-theme="dark"] .ts-wrapper:not(.form-control):not(.form-select).single .ts-control {
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23a6adba' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
|
||||
}
|
||||
|
||||
/* Clear button plugin */
|
||||
.plugin-clear_button {
|
||||
--ts-pr-clear-button: 1em;
|
||||
}
|
||||
|
||||
.plugin-clear_button .clear-button {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: calc(0.75rem - 6px);
|
||||
transform: translateY(-50%);
|
||||
|
||||
color: var(--color-error);
|
||||
background: transparent !important;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
|
||||
opacity: 0;
|
||||
margin-right: 0 !important;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
.plugin-clear_button.single .clear-button {
|
||||
right: max(2.5rem, 0.75rem);
|
||||
}
|
||||
|
||||
.plugin-clear_button.focus.has-items .clear-button,
|
||||
.plugin-clear_button:not(.disabled):hover.has-items .clear-button {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.plugin-clear_button .clear-button:hover {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
/* Full width control */
|
||||
.full .ts-control {
|
||||
background-color: var(--color-base-100);
|
||||
}
|
||||
|
||||
/* Input hidden state */
|
||||
.input-hidden .ts-control>input {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
left: -10000px;
|
||||
}
|
||||
|
||||
/* RTL support */
|
||||
.ts-control.rtl {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.ts-control.rtl .ts-control>input {
|
||||
margin: 0 0.25rem 0 -0.125rem !important;
|
||||
}
|
||||
|
||||
/* Wrapper positioning */
|
||||
.ts-wrapper {
|
||||
position: relative;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ts-wrapper.single .ts-control,
|
||||
.ts-wrapper.single .ts-control input {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Hidden accessibility */
|
||||
.ts-hidden-accessible {
|
||||
position: absolute;
|
||||
left: -10000px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
border: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
.tomselect-checkbox {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
.ts-control {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
min-height: var(--size, calc(var(--size-field, 0.25rem) * 10));
|
||||
padding: 0.5rem 0.75rem;
|
||||
gap: 0.375rem;
|
||||
|
||||
/* DaisyUI input styling */
|
||||
border: var(--border, 1px) solid;
|
||||
border-color: var(--input-color, color-mix(in oklab, var(--color-base-content) 20%, transparent));
|
||||
border-radius: var(--radius-field, 0.5rem);
|
||||
background-color: var(--color-base-100);
|
||||
color: var(--color-base-content);
|
||||
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.25rem;
|
||||
cursor: text;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
overflow: visible;
|
||||
transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
/* Control input field */
|
||||
.ts-control > input {
|
||||
flex: 1 1 auto;
|
||||
min-width: 7rem;
|
||||
display: inline-flex !important;
|
||||
padding: 0 !important;
|
||||
padding-right: 1.25rem !important;
|
||||
margin: 0 !important;
|
||||
min-height: 0 !important;
|
||||
max-height: none !important;
|
||||
max-width: 100% !important;
|
||||
|
||||
border: 0 none !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
outline: none !important;
|
||||
|
||||
font-size: 0.875rem !important;
|
||||
line-height: inherit !important;
|
||||
color: inherit;
|
||||
text-indent: 0 !important;
|
||||
}
|
||||
|
||||
.ts-control > input::-ms-clear {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ts-control > input:focus {
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
.has-items .ts-control > input {
|
||||
margin: 0 0.25rem !important;
|
||||
}
|
||||
|
||||
/* Focus states - DaisyUI style */
|
||||
.ts-control:focus-within,
|
||||
.ts-control:focus,
|
||||
.focus .ts-control {
|
||||
--input-color: var(--color-base-content);
|
||||
border-color: var(--input-color);
|
||||
box-shadow: 0 1px color-mix(in oklab, var(--input-color) calc(var(--depth, 0) * 10%), transparent) inset;
|
||||
outline: 2px solid var(--input-color);
|
||||
outline-offset: 2px;
|
||||
isolation: isolate;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Disabled state */
|
||||
.disabled .ts-control,
|
||||
.disabled .ts-control * {
|
||||
cursor: not-allowed !important;
|
||||
border-color: var(--color-base-200);
|
||||
background-color: var(--color-base-200);
|
||||
color: color-mix(in oklab, var(--color-base-content) 40%, transparent);
|
||||
opacity: 1;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Multi-select items (badges) */
|
||||
.ts-wrapper.multi .ts-control > div {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
margin: 0 0.25rem 0.25rem 0;
|
||||
padding: 0.25rem 0.75rem;
|
||||
gap: 0.25rem;
|
||||
|
||||
/* DaisyUI badge styling */
|
||||
background-color: var(--color-secondary);
|
||||
color: var(--color-secondary-content);
|
||||
border-radius: var(--radius-field, 0.5rem);
|
||||
border: 0 solid transparent;
|
||||
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.25rem;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
/* Active multi-select item */
|
||||
.ts-wrapper.multi .ts-control > div.active {
|
||||
background-color: var(--color-primary);
|
||||
color: var(--color-primary-content);
|
||||
border: 0 solid transparent;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Disabled multi-select items */
|
||||
.ts-wrapper.multi.disabled .ts-control > div,
|
||||
.ts-wrapper.multi.disabled .ts-control > div.active {
|
||||
background-color: var(--color-base-200);
|
||||
color: color-mix(in oklab, var(--color-base-content) 40%, transparent);
|
||||
border: 0 solid transparent;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Remove button on items */
|
||||
.ts-wrapper.plugin-remove_button .item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.ts-wrapper.plugin-remove_button .item .remove {
|
||||
display: inline-block;
|
||||
padding: 0 0.375rem;
|
||||
margin-left: 0.375rem;
|
||||
border: none;
|
||||
border-left: 1px solid color-mix(in oklab, var(--color-primary-content) 30%, transparent);
|
||||
border-radius: 0 var(--radius-field, 0.5rem) var(--radius-field, 0.5rem) 0;
|
||||
|
||||
color: var(--color-error);
|
||||
font-size: 1.125rem;
|
||||
line-height: 1;
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
|
||||
opacity: 0.7;
|
||||
transition: all 0.2s;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ts-wrapper.plugin-remove_button .item .remove:hover {
|
||||
opacity: 1;
|
||||
background-color: color-mix(in oklab, var(--color-error) 10%, transparent);
|
||||
}
|
||||
|
||||
.ts-wrapper.plugin-remove_button.disabled .item .remove:hover {
|
||||
background: none;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* RTL support for remove button */
|
||||
.ts-control.rtl .ts-wrapper.plugin-remove_button .item {
|
||||
padding-left: 0 !important;
|
||||
padding-right: initial;
|
||||
}
|
||||
|
||||
.ts-control.rtl .ts-wrapper.plugin-remove_button .item .remove {
|
||||
border-left: none;
|
||||
border-right: 1px solid color-mix(in oklab, var(--color-primary-content) 30%, transparent);
|
||||
border-radius: var(--radius-field, 0.5rem) 0 0 var(--radius-field, 0.5rem);
|
||||
margin-left: 0;
|
||||
margin-right: 0.375rem;
|
||||
}
|
||||
|
||||
/* Dropdown */
|
||||
.ts-dropdown {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: auto;
|
||||
z-index: 1100;
|
||||
margin: 0;
|
||||
|
||||
/* DaisyUI dropdown styling */
|
||||
background-color: var(--color-base-100);
|
||||
color: var(--color-base-content);
|
||||
border: var(--border, 1px) solid var(--color-base-300);
|
||||
border-radius: var(--radius-box, 0.5rem);
|
||||
|
||||
/* DaisyUI shadow */
|
||||
box-shadow: 0 20px 25px -5px rgb(0 0 0 / calc(var(--depth, 0) * 0.1)),
|
||||
0 8px 10px -6px rgb(0 0 0 / calc(var(--depth, 0) * 0.1));
|
||||
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Dropdown content scrolling */
|
||||
.ts-dropdown-content {
|
||||
max-height: 40dvh;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
/* Dropdown options */
|
||||
.ts-dropdown .option,
|
||||
.ts-dropdown .optgroup-header,
|
||||
.ts-dropdown .no-results,
|
||||
.ts-dropdown .create {
|
||||
padding: 0.5rem 0.75rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ts-dropdown [data-selectable].option {
|
||||
cursor: pointer;
|
||||
opacity: 1;
|
||||
transition: background-color 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
.ts-dropdown [data-selectable].option:first-child {
|
||||
border-top-left-radius: var(--radius-box, 0.5rem);
|
||||
border-top-right-radius: var(--radius-box, 0.5rem);
|
||||
}
|
||||
|
||||
.ts-dropdown [data-selectable].option:last-child {
|
||||
border-bottom-left-radius: var(--radius-box, 0.5rem);
|
||||
border-bottom-right-radius: var(--radius-box, 0.5rem);
|
||||
}
|
||||
|
||||
/* Disabled options */
|
||||
.ts-dropdown .option,
|
||||
.ts-dropdown [data-disabled],
|
||||
.ts-dropdown [data-disabled] [data-selectable].option {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/* Hover and active states */
|
||||
.ts-dropdown [data-selectable].option:hover,
|
||||
.ts-dropdown .option:hover,
|
||||
.ts-dropdown .create:hover,
|
||||
.ts-dropdown .active {
|
||||
background-color: color-mix(in oklab, var(--color-base-content) 10%, transparent);
|
||||
color: var(--color-base-content);
|
||||
}
|
||||
|
||||
.ts-dropdown .active.create {
|
||||
color: var(--color-base-content);
|
||||
}
|
||||
|
||||
/* Optgroup styling */
|
||||
.ts-dropdown .optgroup-header {
|
||||
color: var(--color-base-content);
|
||||
background-color: var(--color-base-200);
|
||||
font-weight: 600;
|
||||
cursor: default;
|
||||
padding: 0.5rem 0.75rem;
|
||||
}
|
||||
|
||||
.ts-dropdown .optgroup:first-child .optgroup-header {
|
||||
border-top: 0 none;
|
||||
}
|
||||
|
||||
/* Create option */
|
||||
.ts-dropdown .create {
|
||||
color: color-mix(in oklab, var(--color-base-content) 60%, transparent);
|
||||
}
|
||||
|
||||
/* Highlight in search */
|
||||
.ts-dropdown [data-selectable] .highlight {
|
||||
background-color: color-mix(in oklab, var(--color-primary) 20%, transparent);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* Loading spinner */
|
||||
.ts-dropdown .spinner {
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin: 0.5rem 0.75rem;
|
||||
}
|
||||
|
||||
.ts-dropdown .spinner::after {
|
||||
content: " ";
|
||||
display: block;
|
||||
width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
margin: 0.1875rem;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--color-primary);
|
||||
border-color: var(--color-primary) transparent var(--color-primary) transparent;
|
||||
animation: ts-spin 1.2s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes ts-spin {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
/* Single select dropdown arrow */
|
||||
.ts-wrapper .ts-control {
|
||||
padding-right: 2.5rem;
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
|
||||
background-position: right 0.75rem center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 1.25em 1.25em;
|
||||
}
|
||||
|
||||
/* Dark theme arrow */
|
||||
[data-theme="dark"] .ts-wrapper .ts-control {
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23a6adba' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
|
||||
}
|
||||
|
||||
/* Clear button plugin */
|
||||
.plugin-clear_button {
|
||||
--ts-pr-clear-button: 1em;
|
||||
}
|
||||
|
||||
.plugin-clear_button .clear-button {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: calc(0.75rem - 6px);
|
||||
transform: translateY(-50%);
|
||||
|
||||
color: var(--color-error);
|
||||
background: transparent !important;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
|
||||
opacity: 0;
|
||||
margin-right: 0 !important;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
.plugin-clear_button .clear-button {
|
||||
right: 1.2rem;
|
||||
}
|
||||
|
||||
.plugin-clear_button.focus.has-items .clear-button,
|
||||
.plugin-clear_button:not(.disabled):hover.has-items .clear-button {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.plugin-clear_button .clear-button:hover {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
/* Full width control */
|
||||
.full .ts-control {
|
||||
background-color: var(--color-base-100);
|
||||
}
|
||||
|
||||
/* Input hidden state */
|
||||
.input-hidden .ts-control > input {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
left: -10000px;
|
||||
}
|
||||
|
||||
/* RTL support */
|
||||
.ts-control.rtl {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.ts-control.rtl .ts-control > input {
|
||||
margin: 0 0.25rem 0 -0.125rem !important;
|
||||
}
|
||||
|
||||
/* Wrapper positioning */
|
||||
.ts-wrapper {
|
||||
position: relative;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ts-wrapper.single .ts-control,
|
||||
.ts-wrapper.single .ts-control input {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Hidden accessibility */
|
||||
.ts-hidden-accessible {
|
||||
position: absolute;
|
||||
left: -10000px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
border: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
.tomselect-checkbox {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
@use "variables";
|
||||
@use "font-awesome";
|
||||
@use "bootstrap";
|
||||
// @use "datepicker";
|
||||
// @use "tom-select";
|
||||
@use "datepicker";
|
||||
@use "tom-select";
|
||||
@use "animations";
|
||||
@use "scrollbar";
|
||||
|
||||
.sticky-sidebar {
|
||||
position: sticky;
|
||||
@@ -104,4 +103,8 @@ div:where(.swal2-container) {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[x-cloak] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
@import "tailwindcss" source("../../../app/templates/");
|
||||
@import "./_tom-select.scss";
|
||||
@import "./_datepicker.scss";
|
||||
|
||||
@plugin "daisyui" {
|
||||
themes: wygiwyh_dark --default, wygiwyh_light;
|
||||
@@ -68,8 +66,8 @@
|
||||
--color-success-content: oklch(37% 0.077 168.94);
|
||||
--color-warning: oklch(82% 0.189 84.429);
|
||||
--color-warning-content: oklch(41% 0.112 45.904);
|
||||
--color-error: oklch(71% 0.194 13.428);
|
||||
--color-error-content: oklch(27% 0.105 12.094);
|
||||
--color-error: oklch(70.4% 0.191 22.216);
|
||||
--color-error-content: oklch(25.8% 0.092 26.042);
|
||||
--radius-selector: 0.5rem;
|
||||
--radius-field: 0.5rem;
|
||||
--radius-box: 0.5rem;
|
||||
@@ -92,6 +90,10 @@
|
||||
|
||||
|
||||
@layer utilities {
|
||||
.textarea {
|
||||
min-height: unset;
|
||||
}
|
||||
|
||||
.transaction:has(input[type="checkbox"]:checked) > div > .transaction-item {
|
||||
background-color: oklch(from var(--color-primary) l c h / 15%);
|
||||
}
|
||||
@@ -223,7 +225,7 @@
|
||||
|
||||
.sidebar-floating + main {
|
||||
/* Adjusts the main content margin to account for the collapsed sidebar */
|
||||
@apply lg:ml-16 transition-all duration-100;
|
||||
@apply lg:ml-16;
|
||||
}
|
||||
|
||||
.sidebar-floating .sidebar-item span {
|
||||
@@ -317,7 +319,7 @@
|
||||
|
||||
.sidebar-fixed + main {
|
||||
/* Adjusts the main content margin to account for the expanded sidebar */
|
||||
@apply lg:ml-[17%] transition-all duration-100;
|
||||
@apply lg:ml-[17%];
|
||||
|
||||
/* Using 16vw to account for padding/margins */
|
||||
}
|
||||
|
||||
@@ -44,10 +44,6 @@ export default defineConfig({
|
||||
extensions: ['.js', '.json', '.scss', '.css'],
|
||||
},
|
||||
|
||||
optimizeDeps: {
|
||||
include: ['air-datepicker', 'autosize', 'javascript-natural-sort'],
|
||||
},
|
||||
|
||||
build: {
|
||||
outDir: resolve(__dirname, 'build'),
|
||||
assetsDir: '',
|
||||
|
||||
Reference in New Issue
Block a user