isite 2021.12.7 → 2021.12.13

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,113 +1,139 @@
1
1
  .print-only {
2
- visibility: collapse;
2
+ visibility: collapse;
3
3
  }
4
4
 
5
5
  .page-a4 {
6
- height: 297mm !important;
7
- padding: 2mm !important;
8
- margin: 0mm !important;
9
- background: white !important;
10
- color: #000 !important;
11
- page-break-before: always !important;
12
- page-break-after: always !important;
13
- page-break-inside: avoid !important;
6
+ display: inline-block;
7
+ height: 297mm !important;
8
+ width: 210mm !important;
9
+ padding: 2mm !important;
10
+ margin: 0mm !important;
11
+ background: white !important;
12
+ color: #000 !important;
13
+ page-break-before: always !important;
14
+ page-break-after: always !important;
15
+ page-break-inside: avoid !important;
16
+ }
17
+ .width-15-mm {
18
+ min-width: 15mm !important;
19
+ width: 15mm !important;
20
+ white-space: nowrap;
21
+ max-width: 15mm !important;
22
+ }
23
+ .width-30-mm {
24
+ min-width: 30mm !important;
25
+ width: 30mm !important;
26
+ white-space: nowrap;
27
+ max-width: 30mm !important;
28
+ }
29
+ .width-60-mm {
30
+ min-width: 60mm !important;
31
+ width: 60mm !important;
32
+ white-space: nowrap;
33
+ max-width: 60mm !important;
34
+ }
35
+ .width-90-mm {
36
+ min-width: 90mm !important;
37
+ width: 90mm !important;
38
+ white-space: nowrap;
39
+ max-width: 90mm !important;
14
40
  }
15
41
 
16
42
  .page-width-a4 {
17
- padding: 2mm;
18
- margin: 0mm;
43
+ padding: 2mm;
44
+ margin: 0mm;
19
45
  }
20
46
 
21
47
  body.a4 {
22
- background: white;
23
- color: #000;
48
+ background: white;
49
+ color: #000;
24
50
  }
25
51
  body.a4 {
26
- height: 297mm;
52
+ height: 297mm;
27
53
  }
28
- body.print-mode{
29
- padding: 0px !important;
30
- margin: 2mm !important;
54
+ body.print-mode {
55
+ padding: 0px !important;
56
+ margin: 2mm !important;
31
57
  }
32
58
  body.print-mode .hide {
33
- visibility: visible;
59
+ visibility: visible;
34
60
  }
35
61
  body.print-mode .not-print,
36
62
  body.print-mode .dont-print {
37
- display: none;
63
+ display: none;
38
64
  }
39
65
  body.print-mode .print-only {
40
- visibility: visible;
66
+ visibility: visible;
41
67
  }
42
68
  body.print-mode .table {
43
- table-layout: fixed;
44
- border-collapse: collapse;
45
- border: 1px solid black;
46
- font-size: 8pt;
47
- page-break-inside: avoid;
69
+ table-layout: fixed;
70
+ border-collapse: collapse;
71
+ border: 1px solid black;
72
+ font-size: 8pt;
73
+ page-break-inside: avoid;
48
74
  }
49
75
  body.print-mode .table.wide {
50
- min-width: 206mm !important;
51
- width: 206mm !important;
76
+ min-width: 206mm !important;
77
+ width: 206mm !important;
52
78
  }
53
79
  body.print-mode .table th {
54
- color: #000 !important;
55
- background: #fff !important;
56
- border-collapse: collapse;
80
+ color: #000 !important;
81
+ background: #fff !important;
82
+ border-collapse: collapse;
57
83
  }
58
84
  body.print-mode .table td {
59
- color: #000 !important;
60
- background: #fff !important;
61
- border-collapse: collapse;
85
+ color: #000 !important;
86
+ background: #fff !important;
87
+ border-collapse: collapse;
62
88
  }
63
89
  body.print-mode input,
64
90
  body.print-mode textarea {
65
- font-size: 8pt;
91
+ font-size: 8pt;
66
92
  }
67
93
  body.print-mode .small {
68
- font-size: 6pt;
94
+ font-size: 6pt;
69
95
  }
70
96
 
71
97
  .page {
72
- page-break-before: always;
73
- page-break-after: always;
74
- page-break-inside: avoid !important;
75
- }
76
- @media print {
77
- :root {
78
- --legend-color: #000;
79
- --legend-text-shadow: none;
80
- }
81
-
82
- .page {
83
- /* this section always occupies it's own page or pages. */
84
98
  page-break-before: always;
85
99
  page-break-after: always;
86
100
  page-break-inside: avoid !important;
87
- }
101
+ }
102
+ @media print {
103
+ :root {
104
+ --legend-color: #000;
105
+ --legend-text-shadow: none;
106
+ }
88
107
 
89
- .print-break {
90
- page-break-after: always;
91
- }
108
+ .page {
109
+ /* this section always occupies it's own page or pages. */
110
+ page-break-before: always;
111
+ page-break-after: always;
112
+ page-break-inside: avoid !important;
113
+ }
92
114
 
93
- .print-start {
94
- /* elements always start on the top of a new page. */
95
- page-break-before: always;
96
- }
115
+ .print-break {
116
+ page-break-after: always;
117
+ }
97
118
 
98
- .print-content {
99
- page-break-inside: avoid;
100
- }
119
+ .print-start {
120
+ /* elements always start on the top of a new page. */
121
+ page-break-before: always;
122
+ }
101
123
 
102
- h1,
103
- h2,
104
- h3,
105
- h4,
106
- h5 {
107
- page-break-after: avoid;
108
- }
124
+ .print-content {
125
+ page-break-inside: avoid;
126
+ }
109
127
 
110
- /* @page: first {
128
+ h1,
129
+ h2,
130
+ h3,
131
+ h4,
132
+ h5 {
133
+ page-break-after: avoid;
134
+ }
135
+
136
+ /* @page: first {
111
137
  margin: 0;
112
138
  }
113
139
  @page: blank {
@@ -116,44 +142,44 @@ body.print-mode .small {
116
142
  }
117
143
  } */
118
144
 
119
- @page {
120
- size: A4;
121
- }
145
+ @page {
146
+ size: A4;
147
+ }
122
148
 
123
- @page: right {
124
- @top-right {
125
- content: "";
149
+ @page: right {
150
+ @top-right {
151
+ content: '';
152
+ }
126
153
  }
127
- }
128
154
 
129
- @page: right {
130
- @bottom-right {
131
- content: "";
155
+ @page: right {
156
+ @bottom-right {
157
+ content: '';
158
+ }
132
159
  }
133
- }
134
160
 
135
- @page: left {
136
- @top-left {
137
- content: "";
161
+ @page: left {
162
+ @top-left {
163
+ content: '';
164
+ }
138
165
  }
139
- }
140
166
 
141
- @page: left {
142
- @bottom-left {
143
- content: "Page " counter(page) " of " counter(pages);
167
+ @page: left {
168
+ @bottom-left {
169
+ content: 'Page ' counter(page) ' of ' counter(pages);
170
+ }
144
171
  }
145
- }
146
172
 
147
- a {
148
- font-weight: bolder;
149
- text-decoration: none;
150
- }
173
+ a {
174
+ font-weight: bolder;
175
+ text-decoration: none;
176
+ }
151
177
 
152
- a[href^="http"]:after {
153
- content: " [ " attr(href) " ] ";
154
- }
178
+ a[href^='http']:after {
179
+ content: ' [ ' attr(href) ' ] ';
180
+ }
155
181
 
156
- a[href^="#"]:after {
157
- content: "";
158
- }
182
+ a[href^='#']:after {
183
+ content: '';
184
+ }
159
185
  }
@@ -318,10 +318,8 @@
318
318
  op.url = site.handle_url(op.url);
319
319
 
320
320
  if (window.SOCIALBROWSER && window.SOCIALBROWSER.fetchJson) {
321
- console.log(' ( SOCIALBROWSER.fetchJson ) ', op);
322
321
  SOCIALBROWSER.fetchJson(op, (data) => {
323
322
  callback(data);
324
- console.log(' ( SOCIALBROWSER.fetchJson callback ) ', data);
325
323
  });
326
324
  } else {
327
325
  fetch(op.url, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isite",
3
- "version": "2021.12.07",
3
+ "version": "2021.12.13",
4
4
  "description": "Create Enterprise Multi-Language Web Site [Fast and Easy] ",
5
5
  "main": "index.js",
6
6
  "repository": {