cft-builder 0.1.84 → 0.1.86

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.
package/dist/pdf.css ADDED
@@ -0,0 +1,34 @@
1
+ @media print {
2
+ html, body {
3
+ height: 100vh; /* Use 100% here to support printing more than a single page*/
4
+ margin: 0 !important;
5
+ padding: 0 !important;
6
+ overflow: hidden;
7
+ }
8
+ }
9
+ @media all {
10
+ .page-break {
11
+ display: none;
12
+ }
13
+ }
14
+
15
+ @media print {
16
+ html, body {
17
+ height: initial !important;
18
+ overflow: initial !important;
19
+ -webkit-print-color-adjust: exact;
20
+ }
21
+ }
22
+
23
+ @media print {
24
+ .page-break {
25
+ margin-top: 1rem;
26
+ display: block;
27
+ page-break-before: auto;
28
+ }
29
+ }
30
+
31
+ @page {
32
+ size: auto;
33
+ margin: 20mm;
34
+ }
@@ -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-BvT_Y_VB.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-xLHVYpWw.js";
5
5
  function Ki(n) {
6
6
  return n;
7
7
  }
@@ -0,0 +1,181 @@
1
+ // Builder All CSS
2
+
3
+ .builder-row-column
4
+ {
5
+ min-width: 375px;
6
+ }
7
+
8
+
9
+ .builder-panel-icons{
10
+ display: none !important;
11
+ }
12
+ .page-block a, .page-block p {
13
+ color: #000 !important;
14
+ }
15
+
16
+ .page-block {
17
+ color: #000 !important;
18
+ background-color: #fff !important;
19
+ }
20
+ .pdf .p-panel:hover {
21
+ border: 1px dotted #0F8BFD !important;
22
+ border-radius: 8px !important;
23
+ .builder-panel-icons {
24
+ display: block !important;
25
+
26
+ }
27
+ .pi, .p-panel-title {
28
+ color: #0F8BFD !important;
29
+ }
30
+ }
31
+
32
+ .row-editor-block {
33
+
34
+ border: 1px dotted #ae0ffd !important;
35
+ // border-radius: 8px !important;
36
+ position: relative;
37
+ }
38
+
39
+
40
+ .row-setting-block-pdf-editor{
41
+ display: none !important;
42
+ width: 120px;
43
+ position: absolute;
44
+ z-index: 99;
45
+ margin: 0 auto;
46
+ // margin-top: -26px;
47
+ left: 0;
48
+ right: 0;
49
+ padding: 5px;
50
+ background: #371576;
51
+ // border-top-right-radius: 8px;
52
+ // border-top-left-radius: 8px;
53
+ button {
54
+ background-color: rgba(0, 0, 0, 0);
55
+ border:none;
56
+ color: #fff !important;
57
+
58
+ }
59
+
60
+ .pdf-setting-container{
61
+ text-align: center;
62
+
63
+ }
64
+ }
65
+ .row-setting-block-pdf-editor-bottom{
66
+
67
+ width: 120px;
68
+ position: absolute;
69
+ z-index: 99;
70
+ margin: 0 auto;
71
+ // margin-top: -26px;
72
+ left: 0;
73
+ right: 0;
74
+ bottom:0;
75
+ padding: 5px;
76
+ background: #371576;
77
+ // border-top-right-radius: 8px;
78
+ // border-top-left-radius: 8px;
79
+ button {
80
+ background-color: rgba(0, 0, 0, 0);
81
+ border:none;
82
+ color: #fff !important;
83
+
84
+ }
85
+
86
+ .pdf-setting-container{
87
+ text-align: center;
88
+
89
+ }
90
+ }
91
+ .row-editor-block:hover {
92
+ .row-setting-block-pdf-editor{
93
+ display: inline !important;
94
+ }
95
+ }
96
+
97
+ .builder-sidebar-item {
98
+ white-space: nowrap;
99
+ overflow: hidden;
100
+ text-overflow: ellipsis;
101
+
102
+ }
103
+
104
+
105
+ .file-input-container {
106
+ position: relative;
107
+ overflow: hidden;
108
+ display: inline-block;
109
+ cursor: pointer;
110
+ border: 1px solid #ccc;
111
+ padding: 4px 8px;
112
+ border-radius: 4px;
113
+ }
114
+
115
+ /* Style the file input to be transparent and positioned on top of the container */
116
+ .file-input-container input[type="file"] {
117
+ position: absolute;
118
+ top: 0;
119
+ left: 0;
120
+ opacity: 0;
121
+ cursor: pointer;
122
+ }
123
+
124
+ /* Style the text inside the container */
125
+ .file-input-text {
126
+ white-space: nowrap;
127
+ overflow: hidden;
128
+ text-overflow: ellipsis;
129
+ }
130
+
131
+ .text-field{
132
+ background-color: rgba(0,0,0,0);
133
+ border: none;
134
+ color: #fff;
135
+ }
136
+
137
+ .history-list-item .p-button {
138
+ display: none;
139
+
140
+ }
141
+ .page-panel .page-pannel-icons {
142
+ display: none;
143
+ }
144
+ .page-panel:hover {
145
+ .page-pannel-icons {
146
+ display: inline;
147
+ }
148
+ }
149
+
150
+ .history-list-item:hover {
151
+ .p-button {
152
+ display: inline;
153
+ }
154
+
155
+ }
156
+ table > tbody > tr {
157
+ .table-action-buttons{
158
+ opacity: 0;
159
+ }
160
+ }
161
+
162
+ .hr-divider {
163
+ padding-top: 20px;
164
+ border-bottom: 1px solid #000;
165
+ }
166
+ .quick-setting .p-button{
167
+ width: auto !important;
168
+ }
169
+ .quick-setting .p-buttonset {
170
+ width: auto !important;
171
+ display: block !important;
172
+ }
173
+
174
+ // .p-rating-item {
175
+ // svg{
176
+ // width: 50 !important;
177
+ // height: 50 !important;
178
+ // }
179
+
180
+
181
+ // }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cft-builder",
3
- "version": "0.1.84",
3
+ "version": "0.1.86",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"