cft-builder 0.2.17 → 0.2.18

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.
@@ -1,7 +1,7 @@
1
1
  var Ml = Object.defineProperty;
2
2
  var Dl = (n, t, e) => t in n ? Ml(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var T = (n, t, e) => (Dl(n, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { d as ti, i as Rr, a as Hi, b as Ul, e as Br, M as Pl, S as ei, U as si, g as ni, c as ri, f as fr, h as zs, j as $i, k as Vs, l as dr, m as jl, n as Hl, o as Fi, p as $l, q as Fl, r as zl, s as Kl, t as ii, u as Gl, v as Vl, w as Ft, x as zi, y as xe } from "./main-C76KaqAO.js";
4
+ import { d as ti, i as Rr, a as Hi, b as Ul, e as Br, M as Pl, S as ei, U as si, g as ni, c as ri, f as fr, h as zs, j as $i, k as Vs, l as dr, m as jl, n as Hl, o as Fi, p as $l, q as Fl, r as zl, s as Kl, t as ii, u as Gl, v as Vl, w as Ft, x as zi, y as xe } from "./main-ucErtg9E.js";
5
5
  function Ki(n) {
6
6
  return n;
7
7
  }
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,19 @@
1
+ declare module "cft-builder" {
2
+ import { ReactNode } from "react";
3
+
4
+ // Define types for CFTRenderProvider and RenderBuilder
5
+ export interface CFTRenderProviderProps {
6
+ children: ReactNode;
7
+ config: Record<string, any>;
8
+ // Add any other props that CFTRenderProvider takes
9
+ }
10
+
11
+ export const CFTRenderProvider: React.FC<CFTRenderProviderProps>;
12
+
13
+ export interface RenderBuilder {
14
+ render: (config: Record<string, any>) => ReactNode;
15
+ // Add other methods or properties for RenderBuilder
16
+ }
17
+
18
+ export const RenderBuilder: RenderBuilder;
19
+ }
package/dist/vite.svg CHANGED
File without changes
package/package.json CHANGED
@@ -1,114 +1,114 @@
1
1
  {
2
- "name": "cft-builder",
3
- "version": "0.2.17",
4
- "type": "module",
5
- "files": [
6
- "dist"
7
- ],
8
- "repository": {
9
- "type": "git",
10
- "url": "https://codeup.goenterprise.tech/general/builder"
11
- },
12
- "homepage": "https://codeup.goenterprise.tech/general/builder#readme",
13
- "bugs": {
14
- "url": "https://codeup.goenterprise.tech/general/builder/issues"
15
- },
16
- "publishConfig": {
17
- "access": "public",
18
- "registry": "https://registry.npmjs.org/"
19
- },
20
- "main": "./dist/cft-builder.umd.cjs",
21
- "module": "./dist/cft-builder.js",
22
- "exports": {
23
- ".": {
24
- "import": "./dist/cft-builder.js",
25
- "require": "./dist/cft-builder.umd.cjs"
26
- }
27
- },
28
- "dependencies": {
29
- "@rpldy/chunked-uploady": "^1.8.1",
30
- "@rpldy/upload-button": "^1.8.1",
31
- "@rpldy/uploady": "^1.8.1",
32
- "@types/lodash": "^4.17.5",
33
- "axios": "^1.7.2",
34
- "classnames": "^2.5.1",
35
- "dnd-core": "^16.0.1",
36
- "dompurify": "^3.1.5",
37
- "fbemitter": "^3.0.0",
38
- "formik": "^2.4.6",
39
- "lodash": "^4.17.21",
40
- "moment": "^2.30.1",
41
- "postcss-scss": "^4.0.9",
42
- "primeflex": "^3.3.1",
43
- "primeicons": "^6.0.1",
44
- "primereact": "^10.8.2",
45
- "quill": "^2.0.2",
46
- "rc-progress": "^4.0.0",
47
- "react": "^18.2.0",
48
- "react-contenteditable": "^3.3.7",
49
- "react-countdown": "^2.3.6",
50
- "react-dnd": "^16.0.1",
51
- "react-dnd-html5-backend": "^16.0.1",
52
- "react-dom": "^18.2.0",
53
- "react-hot-loader": "^4.13.1",
54
- "react-icons": "^5.2.1",
55
- "react-json-pretty": "^2.2.0",
56
- "react-phone-number-input": "^3.4.3",
57
- "react-signature-canvas": "^1.0.6",
58
- "rollup-plugin-postcss": "^4.0.2",
59
- "styled-components": "^6.1.11",
60
- "swiper": "^11.1.4",
61
- "uid": "^2.0.2",
62
- "video.js": "^8.12.0",
63
- "vite-tsconfig-paths": "^4.3.1"
64
- },
65
- "devDependencies": {
66
- "@babel/core": "^7.24.7",
67
- "@babel/plugin-syntax-dynamic-import": "^7.8.3",
68
- "@babel/preset-env": "^7.24.7",
69
- "@babel/preset-react": "^7.24.7",
70
- "@babel/preset-typescript": "^7.24.7",
71
- "@hot-loader/react-dom": "^17.0.2",
72
- "@types/dompurify": "^3.0.5",
73
- "@types/fbemitter": "^2.0.35",
74
- "@types/react": "^18.2.55",
75
- "@types/react-dom": "^18.2.19",
76
- "@types/react-signature-canvas": "^1.0.5",
77
- "@typescript-eslint/eslint-plugin": "^6.21.0",
78
- "@typescript-eslint/parser": "^6.21.0",
79
- "@vitejs/plugin-react": "^4.2.1",
80
- "autoprefixer": "^10.4.19",
81
- "babel-eslint": "^10.1.0",
82
- "babel-loader": "^9.1.3",
83
- "css-loader": "^7.1.2",
84
- "eslint": "^8.56.0",
85
- "eslint-plugin-react-hooks": "^4.6.0",
86
- "eslint-plugin-react-refresh": "^0.4.5",
87
- "html-webpack-plugin": "^5.6.0",
88
- "interface": "^1.2.1",
89
- "lodash-webpack-plugin": "^0.11.6",
90
- "mini-css-extract-plugin": "^2.9.0",
91
- "postcss": "^8.4.38",
92
- "postcss-loader": "^8.1.1",
93
- "react": "^18.3.1",
94
- "react-dom": "^18.3.1",
95
- "react-router-dom": "^6.23.1",
96
- "sass": "^1.77.6",
97
- "sass-loader": "^14.2.1",
98
- "style-loader": "^4.0.0",
99
- "ts-loader": "^9.5.1",
100
- "tslib": "^2.6.3",
101
- "typescript": "^5.2.2",
102
- "vite": "^5.1.0",
103
- "vitest": "^1.6.0"
104
- },
105
- "scripts": {
106
- "dev": "vite",
107
- "prebuild": "rm -rf dist",
108
- "build": "vite build",
109
- "tbuild": "vite build",
110
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
111
- "preview": "vite preview",
112
- "prepublish": "npm run build"
113
- }
114
- }
2
+ "name": "cft-builder",
3
+ "version": "0.2.18",
4
+ "type": "module",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://codeup.goenterprise.tech/general/builder"
11
+ },
12
+ "homepage": "https://codeup.goenterprise.tech/general/builder#readme",
13
+ "bugs": {
14
+ "url": "https://codeup.goenterprise.tech/general/builder/issues"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public",
18
+ "registry": "https://registry.npmjs.org/"
19
+ },
20
+ "main": "./dist/cft-builder.umd.cjs",
21
+ "module": "./dist/cft-builder.js",
22
+ "exports": {
23
+ ".": {
24
+ "import": "./dist/cft-builder.js",
25
+ "require": "./dist/cft-builder.umd.cjs"
26
+ }
27
+ },
28
+ "scripts": {
29
+ "dev": "vite",
30
+ "prebuild": "rm -rf dist",
31
+ "build": "tsc && vite build",
32
+ "tbuild": "vite build",
33
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
34
+ "preview": "vite preview",
35
+ "prepublish": "npm run build"
36
+ },
37
+ "dependencies": {
38
+ "@rpldy/chunked-uploady": "^1.8.1",
39
+ "@rpldy/upload-button": "^1.8.1",
40
+ "@rpldy/uploady": "^1.8.1",
41
+ "@types/lodash": "^4.17.5",
42
+ "axios": "^1.7.2",
43
+ "classnames": "^2.5.1",
44
+ "dnd-core": "^16.0.1",
45
+ "dompurify": "^3.1.5",
46
+ "fbemitter": "^3.0.0",
47
+ "formik": "^2.4.6",
48
+ "lodash": "^4.17.21",
49
+ "moment": "^2.30.1",
50
+ "postcss-scss": "^4.0.9",
51
+ "primeflex": "^3.3.1",
52
+ "primeicons": "^6.0.1",
53
+ "primereact": "^10.8.2",
54
+ "quill": "^2.0.2",
55
+ "rc-progress": "^4.0.0",
56
+ "react": "^18.2.0",
57
+ "react-contenteditable": "^3.3.7",
58
+ "react-countdown": "^2.3.6",
59
+ "react-dnd": "^16.0.1",
60
+ "react-dnd-html5-backend": "^16.0.1",
61
+ "react-dom": "^18.2.0",
62
+ "react-hot-loader": "^4.13.1",
63
+ "react-icons": "^5.2.1",
64
+ "react-json-pretty": "^2.2.0",
65
+ "react-phone-number-input": "^3.4.3",
66
+ "react-signature-canvas": "^1.0.6",
67
+ "rollup-plugin-postcss": "^4.0.2",
68
+ "styled-components": "^6.1.11",
69
+ "swiper": "^11.1.4",
70
+ "uid": "^2.0.2",
71
+ "video.js": "^8.12.0",
72
+ "vite-tsconfig-paths": "^4.3.1"
73
+ },
74
+ "devDependencies": {
75
+ "@babel/core": "^7.24.7",
76
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
77
+ "@babel/preset-env": "^7.24.7",
78
+ "@babel/preset-react": "^7.24.7",
79
+ "@babel/preset-typescript": "^7.24.7",
80
+ "@hot-loader/react-dom": "^17.0.2",
81
+ "@types/dompurify": "^3.0.5",
82
+ "@types/fbemitter": "^2.0.35",
83
+ "@types/react": "^18.2.55",
84
+ "@types/react-dom": "^18.2.19",
85
+ "@types/react-signature-canvas": "^1.0.5",
86
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
87
+ "@typescript-eslint/parser": "^6.21.0",
88
+ "@vitejs/plugin-react": "^4.2.1",
89
+ "autoprefixer": "^10.4.19",
90
+ "babel-eslint": "^10.1.0",
91
+ "babel-loader": "^9.1.3",
92
+ "css-loader": "^7.1.2",
93
+ "eslint": "^8.56.0",
94
+ "eslint-plugin-react-hooks": "^4.6.0",
95
+ "eslint-plugin-react-refresh": "^0.4.5",
96
+ "html-webpack-plugin": "^5.6.0",
97
+ "interface": "^1.2.1",
98
+ "lodash-webpack-plugin": "^0.11.6",
99
+ "mini-css-extract-plugin": "^2.9.0",
100
+ "postcss": "^8.4.38",
101
+ "postcss-loader": "^8.1.1",
102
+ "react": "^18.3.1",
103
+ "react-dom": "^18.3.1",
104
+ "react-router-dom": "^6.23.1",
105
+ "sass": "^1.77.6",
106
+ "sass-loader": "^14.2.1",
107
+ "style-loader": "^4.0.0",
108
+ "ts-loader": "^9.5.1",
109
+ "tslib": "^2.6.3",
110
+ "typescript": "^5.2.2",
111
+ "vite": "^5.1.0",
112
+ "vitest": "^1.6.0"
113
+ }
114
+ }