@nortic/citronkaka-ui 0.0.2-beta.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ import { default as default_2 } from '@nortic/citronkaka-service';
2
+
3
+ declare class CookieConsentDialog {
4
+ private ui;
5
+ private service;
6
+ constructor(ui?: HTMLElement | null, service?: typeof default_2);
7
+ /**
8
+ * Initializes the cookie consent dialog if user action has not been recorded.
9
+ */
10
+ private init;
11
+ /**
12
+ * Dynamically loads and displays the cookie consent dialog.
13
+ */
14
+ private loadUI;
15
+ /**
16
+ * Removes the cookie consent dialog from the DOM.
17
+ */
18
+ private unloadUI;
19
+ }
20
+
21
+ declare const _default: CookieConsentDialog;
22
+ export default _default;
23
+
24
+ export { }
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import { i as f } from "./index-B7HVnsDG.js";
2
+ export {
3
+ f as default
4
+ };
package/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@nortic/citronkaka-ui",
3
+ "type": "module",
4
+ "version": "0.0.2-beta.32",
5
+ "private": false,
6
+ "publishConfig": {
7
+ "registry": "https://registry.npmjs.org/",
8
+ "access": "public"
9
+ },
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js"
14
+ }
15
+ },
16
+ "module": "./dist/index.js",
17
+ "types": "./dist/index.d.ts",
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "dependencies": {
22
+ "@nortic-ab/web-client-shared": "^0.0.4",
23
+ "@vueuse/core": "^12.0.0",
24
+ "openapi-fetch": "0.13.0",
25
+ "vue": "^3.5.13",
26
+ "vue-i18n": "^9.14.1",
27
+ "@nortic/citronkaka-service": "0.0.2-beta.32"
28
+ },
29
+ "devDependencies": {
30
+ "@antfu/eslint-config": "^3.11.2",
31
+ "@iconify-json/flag": "^1.2.5",
32
+ "@iconify-json/material-symbols": "^1.2.8",
33
+ "@iconify-json/svg-spinners": "^1.2.1",
34
+ "@nortic-ab/eslint-config": "^0.0.3",
35
+ "@nortic-ab/web-client-unocss": "^0.0.4",
36
+ "@tsconfig/node20": "^20.1.4",
37
+ "@types/jsdom": "^21.1.7",
38
+ "@types/node": "^20.14.5",
39
+ "@unocss/eslint-plugin": "~0.64.1",
40
+ "@vitejs/plugin-vue": "^5.2.1",
41
+ "@vitest/browser": "^2.1.8",
42
+ "@vue/test-utils": "^2.4.6",
43
+ "@vue/tsconfig": "^0.7.0",
44
+ "eslint": "^9.16.0",
45
+ "eslint-plugin-format": "^0.1.3",
46
+ "install": "^0.13.0",
47
+ "jsdom": "^25.0.1",
48
+ "npm-run-all2": "^6.2.0",
49
+ "typescript": "~5.6.3",
50
+ "unocss": "~0.64.1",
51
+ "vite": "^5.4.8",
52
+ "vite-plugin-dts": "^4.3.0",
53
+ "vitest": "^2.1.8",
54
+ "vue-tsc": "^2.1.10"
55
+ },
56
+ "scripts": {
57
+ "dev": "vite build --watch",
58
+ "build": "run-p type:check \"build:only {@}\" --",
59
+ "build:only": "vite build",
60
+ "type:check": "vue-tsc --build --force",
61
+ "test": "vitest run"
62
+ }
63
+ }