VK All in One Expansion Unit - Version 9.78.0.0

Version Description

[ Add function ][ SNS ] Add function of change out put action hook. [ Specification Change ][ Page list from ancestor block ] change icon

Download this release

Release Info

Developer kurudrive
Plugin Icon 128x128 VK All in One Expansion Unit
Version 9.78.0.0
Comparing to
See all releases

Code changes from version 9.77.0.0 to 9.78.0.0

admin/vk-admin/package/_scss/vk_admin.scss CHANGED
@@ -4,16 +4,22 @@
4
  $text-size : 14px;
5
  $line-height : 1.7;
6
 
7
- body{margin:0;}
 
 
 
8
  .text-left {
9
  text-align: left;
10
  }
 
11
  .text-center {
12
  text-align: center;
13
  }
 
14
  .text-right {
15
  text-align: right;
16
  }
 
17
  .text-warning {
18
  color: #a94442;
19
  }
@@ -25,28 +31,34 @@ body{margin:0;}
25
  border-bottom: 1px solid #e5e5e5;
26
  margin-top: 1em;
27
  padding-bottom: 0.3em;
 
28
  .dashicons {
29
  position: relative;
30
  top: -2px;
31
  margin-left: 3px;
32
  }
33
  }
 
34
  .vk-metabox-more-link {
35
  float: right;
36
  font-size: 12px;
37
  }
 
38
  .vk-metabox-post-list {
39
  margin-bottom: 2em;
 
40
  li {
41
  border-bottom: 1px dotted #ccc;
42
  padding-bottom: 3px;
43
  display: flex;
 
44
  .date {
45
  font-size: 11px;
46
  margin-right: 1em;
47
  width: 75px;
48
  white-space: nowrap;
49
  }
 
50
  a {
51
  width: 100%;
52
  }
@@ -56,22 +68,27 @@ body{margin:0;}
56
  .vk-admin-banner {
57
  display: block;
58
  overflow: hidden;
 
59
  a.admin_banner {
60
  display: block;
61
  margin-bottom: 1em;
62
  border: 1px solid #ccc;
63
  box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 1);
 
64
  img {
65
  max-width: 100%;
66
  height: auto;
67
  display: block;
 
68
  &:hover {
69
  opacity: 0.7;
70
  }
71
  }
72
  }
 
73
  .vektor_logo {
74
  margin-top: 1em;
 
75
  img {
76
  width: 150px;
77
  float: right;
@@ -85,6 +102,7 @@ body{margin:0;}
85
  display: flex;
86
  flex-wrap: wrap;
87
  justify-content: space-between;
 
88
  a.admin_banner {
89
  width: 48%;
90
  }
@@ -103,6 +121,7 @@ body{margin:0;}
103
  text-align: center;
104
  margin-bottom: 10px;
105
  border-bottom: 1px solid #ccc;
 
106
  img {
107
  width: 150px;
108
  max-width: 100%;
@@ -113,12 +132,14 @@ body{margin:0;}
113
  display: block !important;
114
  overflow: hidden;
115
  }
 
116
  .vk_option_nav ul {
117
  display: block;
118
  overflow: hidden;
119
  margin: 0;
120
  padding: 0;
121
  }
 
122
  .vk_option_nav ul li {
123
  display: block;
124
  border: 1px solid #ccc;
@@ -126,18 +147,22 @@ body{margin:0;}
126
  border-bottom: none;
127
  background-color: #fff;
128
  }
 
129
  .vk_option_nav ul li:first-child {
130
  border-top-left-radius: 3px;
131
  border-top-right-radius: 3px;
132
  }
 
133
  .vk_option_nav ul li:last-child {
134
  border-bottom-left-radius: 3px;
135
  border-bottom-right-radius: 3px;
136
  border-bottom: 1px solid #ccc;
137
  }
 
138
  .vk_option_nav ul li:hover {
139
  background-color: #666;
140
  }
 
141
  .vk_option_nav ul li a {
142
  display: block;
143
  overflow: hidden;
@@ -146,13 +171,16 @@ body{margin:0;}
146
  color: #666;
147
  font-size: 12px;
148
  }
 
149
  .vk_option_nav ul li:hover a {
150
  color: #fff;
151
  border: none;
152
  }
 
153
  .vk_option_nav ul li.current {
154
  background-color: #333;
155
  color: #fff;
 
156
  a {
157
  color: #fff;
158
  }
@@ -161,16 +189,20 @@ body{margin:0;}
161
  .vk_admin_page {
162
  padding-top: 1em;
163
 
164
- p,li,td {
 
 
165
  line-height: $line-height;
166
  font-size: $text-size;
167
  }
 
168
  h2.page_title {
169
  font-size: 16px;
170
  text-align: center;
171
  line-height: 140%;
172
  margin: 10px 0 20px;
173
  }
 
174
  h3 {
175
  background-color: #333;
176
  color: #fff;
@@ -180,106 +212,143 @@ body{margin:0;}
180
  border-left: 5px solid #e50000;
181
  border-radius: 4px;
182
  }
183
- h5{
184
- font-size:16px;
185
- margin-bottom:1em;
 
186
  }
 
187
  .form-table td p,
188
  p {
189
- margin-bottom:1em;
190
  font-size: $text-size;
191
  line-height: $line-height;
 
192
  &:last-child {
193
- margin-bottom:0;
194
  }
195
  }
 
196
  input[type="text"] {
197
  width: 50%;
198
  }
 
199
  select {
200
  width: 50%;
201
  }
 
202
  dl {
203
  line-height: 1.5;
 
204
  dt {
205
  font-weight: bold;
206
  margin-bottom: 5px;
207
  }
 
208
  dd {
209
  margin-left: 0;
210
  }
211
  }
 
212
  tr.dev_object {
213
  display: none;
214
  }
 
215
  .pageLogo {
216
  text-align: center;
 
217
  img {
218
  max-width: 150px;
219
  margin: 0 auto;
220
  }
221
  }
 
222
  .adminMain {
223
  display: block;
224
  overflow: hidden;
225
  width: 74%;
226
  float: left;
 
227
  #adminContent_sub {
228
  display: block;
229
  overflow: hidden;
230
  width: 23%;
231
  float: left;
232
  padding-bottom: 10px;
 
 
 
 
 
 
 
 
 
 
 
233
  }
 
234
  #adminContent_main {
235
  display: block;
236
  overflow: hidden;
237
  width: 74%;
238
  float: right;
239
  min-height: 300px;
 
240
  .form_horizontal_item {
241
  margin-right: 1em;
242
  }
243
- .setting-content{
244
-
245
- }
246
 
247
  }
 
248
  &.column_2 {
249
  #adminContent_main {
250
  width: 100%;
251
  }
252
  }
 
253
  &_main {
254
- ul,ol {
255
- margin-top:0;
256
- margin-left:1.5em;
257
- padding-top:0;
 
 
258
  }
259
- ol > li{
 
260
  list-style: decimal;
261
  }
262
- ul > li {
 
263
  list-style: disc;
264
  }
 
265
  li ul,
266
  li ol {
267
- margin-top:0.5em;
268
  }
 
269
  ul.no-style {
270
- margin-left:0;
 
271
  ul {
272
- margin-left:1.5em;
273
  }
 
274
  li {
275
  list-style: none;
276
  }
277
  }
 
278
  &_content {
279
- margin-bottom:3em;
280
  }
 
281
  input[type=text] {
282
- margin-bottom:5px;
283
  }
284
  }
285
  }
@@ -290,6 +359,7 @@ body{margin:0;}
290
  width: 24%;
291
  float: right;
292
  padding-bottom: 10px;
 
293
  .infoBox {
294
  display: block;
295
  overflow: hidden;
@@ -298,6 +368,7 @@ body{margin:0;}
298
  background-color: #fff;
299
  border-radius: 4px;
300
  }
 
301
  .vk-metabox-sub-title {
302
  background-color: #ccc;
303
  width: auto;
@@ -306,15 +377,19 @@ body{margin:0;}
306
  margin-top: 0;
307
  margin-bottom: 15px;
308
  }
 
309
  .vk-metabox-more-link {
310
  display: none;
311
  }
 
312
  @media (max-width: 991px) {
313
  .adminMain table.form-table {
 
314
  th,
315
  td {
316
  display: block;
317
  }
 
318
  th {
319
  background-color: #ccc;
320
  width: auto;
@@ -324,11 +399,13 @@ body{margin:0;}
324
  }
325
  }
326
  }
 
327
  .alert {
328
  border-radius: 4px;
329
- padding:0.8em;
330
  font-weight: normal;
331
- &-danger{
 
332
  border: 1px solid #ebccd1;
333
  background-color: #f2dede;
334
  color: #a94442;
@@ -338,8 +415,8 @@ body{margin:0;}
338
 
339
  // カスタマイズパネル用CSS
340
  .wp-full-overlay-sidebar {
341
- font-size:14px;
342
- }
343
 
344
  /*-------------------------------------------*/
345
  /* カスタマイズパネル & Widget css
@@ -354,10 +431,12 @@ body{margin:0;}
354
  display: block;
355
  overflow: hidden;
356
  margin: 1.5em 0;
 
357
  p {
358
  margin-top: 0.5em;
359
  }
360
  }
 
361
  .admin_widget_h2,
362
  .admin-custom-h2 {
363
  box-sizing: border-box;
@@ -370,6 +449,7 @@ body{margin:0;}
370
  color: #fff;
371
  font-size: 1.1em;
372
  }
 
373
  .admin_widget_h3,
374
  .admin-custom-h3 {
375
  box-sizing: border-box;
@@ -380,9 +460,11 @@ body{margin:0;}
380
  // background: #EDEDED;
381
  font-size: 1em;
382
  }
383
- .admin-custom-discription{
384
- margin-top:0.5em;
 
385
  }
 
386
  input[type="text"],
387
  input[type="search"],
388
  input[type="radio"],
@@ -401,6 +483,7 @@ input[type="month"],
401
  input[type="number"],
402
  select,
403
  textarea {
 
404
  &.admin_widget_input,
405
  &.admin-custom-input {
406
  width: 100%;
@@ -419,6 +502,7 @@ textarea {
419
  background-color: #f5f5f5;
420
  width: 100%;
421
  }
 
422
  .admin_widget_thumb_outer:before,
423
  .admin-custom-thumb-outer:before {
424
  position: absolute;
@@ -429,6 +513,7 @@ textarea {
429
  color: #999;
430
  content: "No Image";
431
  }
 
432
  .admin_widget_thumb,
433
  .admin-custom-thumb {
434
  position: relative;
@@ -442,6 +527,7 @@ textarea {
442
  &-style-vertical {
443
  display: flex;
444
  }
 
445
  // & & にしないと指定が負けるため特別
446
  & &_input {
447
  margin-top: 0;
@@ -457,37 +543,38 @@ textarea {
457
 
458
 
459
  div {
460
- position: relative;
461
- flex: 1;
462
  }
463
 
464
  input {
465
- width: 100%;
466
- height: 60px;
467
- opacity: 0;
468
  }
469
 
470
  label {
471
- position: absolute;
472
- top: 0; left: 0;
473
- color: #b6b6b6;
474
- width: 100%;
475
- height: 100%;
476
- background: #fff;
477
- display: flex;
478
- align-items: center;
479
- justify-content: center;
480
- pointer-events: none;
481
- border-right: 1px solid #b6b6b6;
 
482
  }
483
 
484
  div:last-child label {
485
- border-right: 0;
486
  }
487
 
488
- input:checked + label {
489
- background: #d81b60;
490
- font-weight: 500;
491
- color: #fff;
492
  }
493
  }
4
  $text-size : 14px;
5
  $line-height : 1.7;
6
 
7
+ body {
8
+ margin: 0;
9
+ }
10
+
11
  .text-left {
12
  text-align: left;
13
  }
14
+
15
  .text-center {
16
  text-align: center;
17
  }
18
+
19
  .text-right {
20
  text-align: right;
21
  }
22
+
23
  .text-warning {
24
  color: #a94442;
25
  }
31
  border-bottom: 1px solid #e5e5e5;
32
  margin-top: 1em;
33
  padding-bottom: 0.3em;
34
+
35
  .dashicons {
36
  position: relative;
37
  top: -2px;
38
  margin-left: 3px;
39
  }
40
  }
41
+
42
  .vk-metabox-more-link {
43
  float: right;
44
  font-size: 12px;
45
  }
46
+
47
  .vk-metabox-post-list {
48
  margin-bottom: 2em;
49
+
50
  li {
51
  border-bottom: 1px dotted #ccc;
52
  padding-bottom: 3px;
53
  display: flex;
54
+
55
  .date {
56
  font-size: 11px;
57
  margin-right: 1em;
58
  width: 75px;
59
  white-space: nowrap;
60
  }
61
+
62
  a {
63
  width: 100%;
64
  }
68
  .vk-admin-banner {
69
  display: block;
70
  overflow: hidden;
71
+
72
  a.admin_banner {
73
  display: block;
74
  margin-bottom: 1em;
75
  border: 1px solid #ccc;
76
  box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 1);
77
+
78
  img {
79
  max-width: 100%;
80
  height: auto;
81
  display: block;
82
+
83
  &:hover {
84
  opacity: 0.7;
85
  }
86
  }
87
  }
88
+
89
  .vektor_logo {
90
  margin-top: 1em;
91
+
92
  img {
93
  width: 150px;
94
  float: right;
102
  display: flex;
103
  flex-wrap: wrap;
104
  justify-content: space-between;
105
+
106
  a.admin_banner {
107
  width: 48%;
108
  }
121
  text-align: center;
122
  margin-bottom: 10px;
123
  border-bottom: 1px solid #ccc;
124
+
125
  img {
126
  width: 150px;
127
  max-width: 100%;
132
  display: block !important;
133
  overflow: hidden;
134
  }
135
+
136
  .vk_option_nav ul {
137
  display: block;
138
  overflow: hidden;
139
  margin: 0;
140
  padding: 0;
141
  }
142
+
143
  .vk_option_nav ul li {
144
  display: block;
145
  border: 1px solid #ccc;
147
  border-bottom: none;
148
  background-color: #fff;
149
  }
150
+
151
  .vk_option_nav ul li:first-child {
152
  border-top-left-radius: 3px;
153
  border-top-right-radius: 3px;
154
  }
155
+
156
  .vk_option_nav ul li:last-child {
157
  border-bottom-left-radius: 3px;
158
  border-bottom-right-radius: 3px;
159
  border-bottom: 1px solid #ccc;
160
  }
161
+
162
  .vk_option_nav ul li:hover {
163
  background-color: #666;
164
  }
165
+
166
  .vk_option_nav ul li a {
167
  display: block;
168
  overflow: hidden;
171
  color: #666;
172
  font-size: 12px;
173
  }
174
+
175
  .vk_option_nav ul li:hover a {
176
  color: #fff;
177
  border: none;
178
  }
179
+
180
  .vk_option_nav ul li.current {
181
  background-color: #333;
182
  color: #fff;
183
+
184
  a {
185
  color: #fff;
186
  }
189
  .vk_admin_page {
190
  padding-top: 1em;
191
 
192
+ p,
193
+ li,
194
+ td {
195
  line-height: $line-height;
196
  font-size: $text-size;
197
  }
198
+
199
  h2.page_title {
200
  font-size: 16px;
201
  text-align: center;
202
  line-height: 140%;
203
  margin: 10px 0 20px;
204
  }
205
+
206
  h3 {
207
  background-color: #333;
208
  color: #fff;
212
  border-left: 5px solid #e50000;
213
  border-radius: 4px;
214
  }
215
+
216
+ h5 {
217
+ font-size: 16px;
218
+ margin-bottom: 1em;
219
  }
220
+
221
  .form-table td p,
222
  p {
223
+ margin-bottom: 1em;
224
  font-size: $text-size;
225
  line-height: $line-height;
226
+
227
  &:last-child {
228
+ margin-bottom: 0;
229
  }
230
  }
231
+
232
  input[type="text"] {
233
  width: 50%;
234
  }
235
+
236
  select {
237
  width: 50%;
238
  }
239
+
240
  dl {
241
  line-height: 1.5;
242
+
243
  dt {
244
  font-weight: bold;
245
  margin-bottom: 5px;
246
  }
247
+
248
  dd {
249
  margin-left: 0;
250
  }
251
  }
252
+
253
  tr.dev_object {
254
  display: none;
255
  }
256
+
257
  .pageLogo {
258
  text-align: center;
259
+
260
  img {
261
  max-width: 150px;
262
  margin: 0 auto;
263
  }
264
  }
265
+
266
  .adminMain {
267
  display: block;
268
  overflow: hidden;
269
  width: 74%;
270
  float: left;
271
+
272
  #adminContent_sub {
273
  display: block;
274
  overflow: hidden;
275
  width: 23%;
276
  float: left;
277
  padding-bottom: 10px;
278
+
279
+ .notice {
280
+ padding-bottom: 10px;
281
+ }
282
+
283
+ .button {
284
+ white-space: normal;
285
+ margin: 5px 0;
286
+ padding: 0.5em 1em;
287
+ line-height: 1.4;
288
+ }
289
  }
290
+
291
  #adminContent_main {
292
  display: block;
293
  overflow: hidden;
294
  width: 74%;
295
  float: right;
296
  min-height: 300px;
297
+
298
  .form_horizontal_item {
299
  margin-right: 1em;
300
  }
301
+
302
+ .setting-content {}
 
303
 
304
  }
305
+
306
  &.column_2 {
307
  #adminContent_main {
308
  width: 100%;
309
  }
310
  }
311
+
312
  &_main {
313
+
314
+ ul,
315
+ ol {
316
+ margin-top: 0;
317
+ margin-left: 1.5em;
318
+ padding-top: 0;
319
  }
320
+
321
+ ol>li {
322
  list-style: decimal;
323
  }
324
+
325
+ ul>li {
326
  list-style: disc;
327
  }
328
+
329
  li ul,
330
  li ol {
331
+ margin-top: 0.5em;
332
  }
333
+
334
  ul.no-style {
335
+ margin-left: 0;
336
+
337
  ul {
338
+ margin-left: 1.5em;
339
  }
340
+
341
  li {
342
  list-style: none;
343
  }
344
  }
345
+
346
  &_content {
347
+ margin-bottom: 3em;
348
  }
349
+
350
  input[type=text] {
351
+ margin-bottom: 5px;
352
  }
353
  }
354
  }
359
  width: 24%;
360
  float: right;
361
  padding-bottom: 10px;
362
+
363
  .infoBox {
364
  display: block;
365
  overflow: hidden;
368
  background-color: #fff;
369
  border-radius: 4px;
370
  }
371
+
372
  .vk-metabox-sub-title {
373
  background-color: #ccc;
374
  width: auto;
377
  margin-top: 0;
378
  margin-bottom: 15px;
379
  }
380
+
381
  .vk-metabox-more-link {
382
  display: none;
383
  }
384
+
385
  @media (max-width: 991px) {
386
  .adminMain table.form-table {
387
+
388
  th,
389
  td {
390
  display: block;
391
  }
392
+
393
  th {
394
  background-color: #ccc;
395
  width: auto;
399
  }
400
  }
401
  }
402
+
403
  .alert {
404
  border-radius: 4px;
405
+ padding: 0.8em;
406
  font-weight: normal;
407
+
408
+ &-danger {
409
  border: 1px solid #ebccd1;
410
  background-color: #f2dede;
411
  color: #a94442;
415
 
416
  // カスタマイズパネル用CSS
417
  .wp-full-overlay-sidebar {
418
+ font-size: 14px;
419
+ }
420
 
421
  /*-------------------------------------------*/
422
  /* カスタマイズパネル & Widget css
431
  display: block;
432
  overflow: hidden;
433
  margin: 1.5em 0;
434
+
435
  p {
436
  margin-top: 0.5em;
437
  }
438
  }
439
+
440
  .admin_widget_h2,
441
  .admin-custom-h2 {
442
  box-sizing: border-box;
449
  color: #fff;
450
  font-size: 1.1em;
451
  }
452
+
453
  .admin_widget_h3,
454
  .admin-custom-h3 {
455
  box-sizing: border-box;
460
  // background: #EDEDED;
461
  font-size: 1em;
462
  }
463
+
464
+ .admin-custom-discription {
465
+ margin-top: 0.5em;
466
  }
467
+
468
  input[type="text"],
469
  input[type="search"],
470
  input[type="radio"],
483
  input[type="number"],
484
  select,
485
  textarea {
486
+
487
  &.admin_widget_input,
488
  &.admin-custom-input {
489
  width: 100%;
502
  background-color: #f5f5f5;
503
  width: 100%;
504
  }
505
+
506
  .admin_widget_thumb_outer:before,
507
  .admin-custom-thumb-outer:before {
508
  position: absolute;
513
  color: #999;
514
  content: "No Image";
515
  }
516
+
517
  .admin_widget_thumb,
518
  .admin-custom-thumb {
519
  position: relative;
527
  &-style-vertical {
528
  display: flex;
529
  }
530
+
531
  // & & にしないと指定が負けるため特別
532
  & &_input {
533
  margin-top: 0;
543
 
544
 
545
  div {
546
+ position: relative;
547
+ flex: 1;
548
  }
549
 
550
  input {
551
+ width: 100%;
552
+ height: 60px;
553
+ opacity: 0;
554
  }
555
 
556
  label {
557
+ position: absolute;
558
+ top: 0;
559
+ left: 0;
560
+ color: #b6b6b6;
561
+ width: 100%;
562
+ height: 100%;
563
+ background: #fff;
564
+ display: flex;
565
+ align-items: center;
566
+ justify-content: center;
567
+ pointer-events: none;
568
+ border-right: 1px solid #b6b6b6;
569
  }
570
 
571
  div:last-child label {
572
+ border-right: 0;
573
  }
574
 
575
+ input:checked+label {
576
+ background: #d81b60;
577
+ font-weight: 500;
578
+ color: #fff;
579
  }
580
  }
admin/vk-admin/package/class-vk-admin.php CHANGED
@@ -17,7 +17,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
17
  */
18
  class Vk_Admin {
19
 
20
- public static $version = '2.1.0';
21
 
22
  static function init() {
23
  add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_common_css' ) );
@@ -55,7 +55,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
55
 
56
  /**
57
  * Theme Exists
58
- *
59
  * @param string $theme '${theme_dir}/style.css'.
60
  */
61
  public static function theme_exists( $theme ) {
@@ -76,8 +76,6 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
76
  /*--------------------------------------------------*/
77
  public static function get_admin_banner() {
78
 
79
-
80
-
81
  $banner_html = '';
82
  $dir_url = plugin_dir_url( __FILE__ );
83
  $lang = ( get_locale() == 'ja' ) ? 'ja' : 'en';
@@ -86,7 +84,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
86
  $img_base_url = 'https://raw.githubusercontent.com/vektor-inc/vk-admin-banners/main/images/';
87
 
88
  // 変数の初期化
89
- $product_array = array();
90
 
91
  // WP File System で JSON ファイルを読み込み
92
  require_once ABSPATH . 'wp-admin/includes/file.php';
@@ -97,7 +95,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
97
  $product_json_url = 'https://raw.githubusercontent.com/vektor-inc/vk-admin-banners/main/vk-admin-banners.json';
98
  $product_json = $wp_filesystem->get_contents( $product_json_url );
99
  $product_json = mb_convert_encoding( $product_json, 'UTF8', 'ASCII,JIS,UTF-8,EUC-JP,SJIS-WIN' );
100
- $product_array = json_decode( $product_json,true );
101
 
102
  }
103
 
@@ -113,10 +111,10 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
113
 
114
  $banner_html .= '<div class="vk-admin-banner-grid">';
115
 
116
- if( ! empty( $product_array ) ) {
117
 
118
  // テーマのバナーを設置
119
- foreach( $product_array as $product ) {
120
  // include パラメーターが存在する場合
121
  if ( ! empty( $product['include'] ) ) {
122
  // include パラメーターをカンマで区切って配列化
@@ -124,7 +122,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
124
  // include パラメーター が配列の場合
125
  if ( is_array( $includes ) ) {
126
  // 該当するものがあった時点で continue を2回発動
127
- foreach( $includes as $include ) {
128
  if ( self::theme_exists( $include ) || self::plugin_exists( $include ) ) {
129
  continue 2;
130
  }
@@ -168,7 +166,6 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
168
  }
169
  }
170
  }
171
-
172
  }
173
  }
174
 
@@ -200,7 +197,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
200
 
201
  public static function get_news_from_rest_api() {
202
 
203
- $html = '<h4 class="vk-metabox-sub-title">';
204
  $html .= 'Vektor製品更新情報';
205
  $html .= '<a href="https://www.vektor-inc.co.jp/product-update/?rel=vkadmin" target="_blank" class="vk-metabox-more-link">記事一覧<span aria-hidden="true" class="dashicons dashicons-external"></span></a>';
206
  $html .= '</h4>';
@@ -468,4 +465,3 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
468
  } // if ( ! class_exists( 'Vk_Admin' ) )
469
 
470
  Vk_Admin::init();
471
- $Vk_Admin = new Vk_Admin();
17
  */
18
  class Vk_Admin {
19
 
20
+ public static $version = '2.2.0';
21
 
22
  static function init() {
23
  add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_common_css' ) );
55
 
56
  /**
57
  * Theme Exists
58
+ *
59
  * @param string $theme '${theme_dir}/style.css'.
60
  */
61
  public static function theme_exists( $theme ) {
76
  /*--------------------------------------------------*/
77
  public static function get_admin_banner() {
78
 
 
 
79
  $banner_html = '';
80
  $dir_url = plugin_dir_url( __FILE__ );
81
  $lang = ( get_locale() == 'ja' ) ? 'ja' : 'en';
84
  $img_base_url = 'https://raw.githubusercontent.com/vektor-inc/vk-admin-banners/main/images/';
85
 
86
  // 変数の初期化
87
+ $product_array = array();
88
 
89
  // WP File System で JSON ファイルを読み込み
90
  require_once ABSPATH . 'wp-admin/includes/file.php';
95
  $product_json_url = 'https://raw.githubusercontent.com/vektor-inc/vk-admin-banners/main/vk-admin-banners.json';
96
  $product_json = $wp_filesystem->get_contents( $product_json_url );
97
  $product_json = mb_convert_encoding( $product_json, 'UTF8', 'ASCII,JIS,UTF-8,EUC-JP,SJIS-WIN' );
98
+ $product_array = json_decode( $product_json, true );
99
 
100
  }
101
 
111
 
112
  $banner_html .= '<div class="vk-admin-banner-grid">';
113
 
114
+ if ( ! empty( $product_array ) ) {
115
 
116
  // テーマのバナーを設置
117
+ foreach ( $product_array as $product ) {
118
  // include パラメーターが存在する場合
119
  if ( ! empty( $product['include'] ) ) {
120
  // include パラメーターをカンマで区切って配列化
122
  // include パラメーター が配列の場合
123
  if ( is_array( $includes ) ) {
124
  // 該当するものがあった時点で continue を2回発動
125
+ foreach ( $includes as $include ) {
126
  if ( self::theme_exists( $include ) || self::plugin_exists( $include ) ) {
127
  continue 2;
128
  }
166
  }
167
  }
168
  }
 
169
  }
170
  }
171
 
197
 
198
  public static function get_news_from_rest_api() {
199
 
200
+ $html = '<h4 class="vk-metabox-sub-title">';
201
  $html .= 'Vektor製品更新情報';
202
  $html .= '<a href="https://www.vektor-inc.co.jp/product-update/?rel=vkadmin" target="_blank" class="vk-metabox-more-link">記事一覧<span aria-hidden="true" class="dashicons dashicons-external"></span></a>';
203
  $html .= '</h4>';
465
  } // if ( ! class_exists( 'Vk_Admin' ) )
466
 
467
  Vk_Admin::init();
 
admin/vk-admin/package/css/vk_admin.css CHANGED
@@ -1 +1 @@
1
- body{margin:0}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-warning{color:#a94442}#dashboard-widgets .vk-metabox-sub-title,.vk-metabox-sub-title{display:block;overflow:hidden;border-bottom:1px solid #e5e5e5;margin-top:1em;padding-bottom:.3em}#dashboard-widgets .vk-metabox-sub-title .dashicons,.vk-metabox-sub-title .dashicons{position:relative;top:-2px;margin-left:3px}.vk-metabox-more-link{float:right;font-size:12px}.vk-metabox-post-list{margin-bottom:2em}.vk-metabox-post-list li{border-bottom:1px dotted #ccc;padding-bottom:3px;display:flex}.vk-metabox-post-list li .date{font-size:11px;margin-right:1em;width:75px;white-space:nowrap}.vk-metabox-post-list li a{width:100%}.vk-admin-banner{display:block;overflow:hidden}.vk-admin-banner a.admin_banner{display:block;margin-bottom:1em;border:1px solid #ccc;box-shadow:inset 0 0 0 1px #fff}.vk-admin-banner a.admin_banner img{max-width:100%;height:auto;display:block}.vk-admin-banner a.admin_banner img:hover{opacity:.7}.vk-admin-banner .vektor_logo{margin-top:1em}.vk-admin-banner .vektor_logo img{width:150px;float:right}#vk_dashboard_widget .vk-admin-banner-grid{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}#vk_dashboard_widget .vk-admin-banner-grid a.admin_banner{width:48%}.wp-core-ui .button-block{display:block;width:100%;text-align:center}.logo_exUnit{display:block;overflow:hidden;text-align:center;margin-bottom:10px;border-bottom:1px solid #ccc}.logo_exUnit img{width:150px;max-width:100%}.vk_option_nav{display:block!important;overflow:hidden}.vk_option_nav ul{display:block;overflow:hidden;margin:0;padding:0}.vk_option_nav ul li{display:block;border:1px solid #ccc;margin-bottom:0;border-bottom:none;background-color:#fff}.vk_option_nav ul li:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.vk_option_nav ul li:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom:1px solid #ccc}.vk_option_nav ul li:hover{background-color:#666}.vk_option_nav ul li a{display:block;overflow:hidden;padding:.5em;text-decoration:none;color:#666;font-size:12px}.vk_option_nav ul li:hover a{color:#fff;border:none}.vk_option_nav ul li.current{background-color:#333;color:#fff}.vk_option_nav ul li.current a{color:#fff}.vk_admin_page{padding-top:1em}.vk_admin_page li,.vk_admin_page p,.vk_admin_page td{line-height:1.7;font-size:14px}.vk_admin_page h2.page_title{font-size:16px;text-align:center;line-height:140%;margin:10px 0 20px}.vk_admin_page h3{background-color:#333;color:#fff;padding:10px 15px;font-size:150%;margin-top:0;border-left:5px solid #e50000;border-radius:4px}.vk_admin_page h5{font-size:16px;margin-bottom:1em}.vk_admin_page .form-table td p,.vk_admin_page p{margin-bottom:1em;font-size:14px;line-height:1.7}.vk_admin_page .form-table td p:last-child,.vk_admin_page p:last-child{margin-bottom:0}.vk_admin_page input[type=text]{width:50%}.vk_admin_page select{width:50%}.vk_admin_page dl{line-height:1.5}.vk_admin_page dl dt{font-weight:700;margin-bottom:5px}.vk_admin_page dl dd{margin-left:0}.vk_admin_page tr.dev_object{display:none}.vk_admin_page .pageLogo{text-align:center}.vk_admin_page .pageLogo img{max-width:150px;margin:0 auto}.vk_admin_page .adminMain{display:block;overflow:hidden;width:74%;float:left}.vk_admin_page .adminMain #adminContent_sub{display:block;overflow:hidden;width:23%;float:left;padding-bottom:10px}.vk_admin_page .adminMain #adminContent_main{display:block;overflow:hidden;width:74%;float:right;min-height:300px}.vk_admin_page .adminMain #adminContent_main .form_horizontal_item{margin-right:1em}.vk_admin_page .adminMain.column_2 #adminContent_main{width:100%}.vk_admin_page .adminMain_main ol,.vk_admin_page .adminMain_main ul{margin-top:0;margin-left:1.5em;padding-top:0}.vk_admin_page .adminMain_main ol>li{list-style:decimal}.vk_admin_page .adminMain_main ul>li{list-style:disc}.vk_admin_page .adminMain_main li ol,.vk_admin_page .adminMain_main li ul{margin-top:.5em}.vk_admin_page .adminMain_main ul.no-style{margin-left:0}.vk_admin_page .adminMain_main ul.no-style ul{margin-left:1.5em}.vk_admin_page .adminMain_main ul.no-style li{list-style:none}.vk_admin_page .adminMain_main_content{margin-bottom:3em}.vk_admin_page .adminMain_main input[type=text]{margin-bottom:5px}.vk_admin_page .adminSub{display:block;overflow:hidden;width:24%;float:right;padding-bottom:10px}.vk_admin_page .adminSub .infoBox{display:block;overflow:hidden;padding:1em;margin-bottom:1em;background-color:#fff;border-radius:4px}.vk_admin_page .adminSub .vk-metabox-sub-title{background-color:#ccc;width:auto;padding:5px 10px;border-radius:3px;margin-top:0;margin-bottom:15px}.vk_admin_page .adminSub .vk-metabox-more-link{display:none}.vk_admin_page .alert{border-radius:4px;padding:.8em;font-weight:400}.vk_admin_page .alert-danger{border:1px solid #ebccd1;background-color:#f2dede;color:#a94442}.wp-full-overlay-sidebar{font-size:14px}.admin-custom-section,.admin_widget_section{display:block;overflow:hidden;margin:1.5em 0}.admin-custom-section p,.admin_widget_section p{margin-top:.5em}.admin-custom-h2,.admin_widget_h2{box-sizing:border-box;margin:1em 0 1em;padding:.8em 1em;width:100%;border:solid 1px #ddd;border-radius:5px;background:#555;color:#fff;font-size:1.1em}.admin-custom-h3,.admin_widget_h3{box-sizing:border-box;padding:.4em 0;margin-bottom:.3em;width:100%;border-bottom:solid 1px #ddd;font-size:1em}.admin-custom-discription{margin-top:.5em}input[type=checkbox].admin-custom-input,input[type=checkbox].admin_widget_input,input[type=color].admin-custom-input,input[type=color].admin_widget_input,input[type=date].admin-custom-input,input[type=date].admin_widget_input,input[type=datetime-local].admin-custom-input,input[type=datetime-local].admin_widget_input,input[type=datetime].admin-custom-input,input[type=datetime].admin_widget_input,input[type=email].admin-custom-input,input[type=email].admin_widget_input,input[type=month].admin-custom-input,input[type=month].admin_widget_input,input[type=number].admin-custom-input,input[type=number].admin_widget_input,input[type=password].admin-custom-input,input[type=password].admin_widget_input,input[type=radio].admin-custom-input,input[type=radio].admin_widget_input,input[type=search].admin-custom-input,input[type=search].admin_widget_input,input[type=tel].admin-custom-input,input[type=tel].admin_widget_input,input[type=text].admin-custom-input,input[type=text].admin_widget_input,input[type=time].admin-custom-input,input[type=time].admin_widget_input,input[type=url].admin-custom-input,input[type=url].admin_widget_input,input[type=week].admin-custom-input,input[type=week].admin_widget_input,select.admin-custom-input,select.admin_widget_input,textarea.admin-custom-input,textarea.admin_widget_input{width:100%;margin:.3em 0}.admin-custom-thumb-outer,.admin_widget_thumb_outer{position:relative;overflow:hidden;z-index:2;margin:3px 0;min-height:70px;border:1px solid #e5e5e5;background-color:#f5f5f5;width:100%}.admin-custom-thumb-outer:before,.admin_widget_thumb_outer:before{position:absolute;top:50%;left:50%;z-index:1;margin:-8px 0 0 -30px;color:#999;content:"No Image"}.admin-custom-thumb,.admin_widget_thumb{position:relative;z-index:3;display:block;width:100%;height:auto}.vk_checklist_item-style-vertical{display:flex}.vk_checklist_item .vk_checklist_item_input{margin-top:0}.vk-admin-inline-radio{display:flex;border-radius:3px;overflow:hidden;border:1px solid #b6b6b6}.vk-admin-inline-radio div{position:relative;flex:1}.vk-admin-inline-radio input{width:100%;height:60px;opacity:0}.vk-admin-inline-radio label{position:absolute;top:0;left:0;color:#b6b6b6;width:100%;height:100%;background:#fff;display:flex;align-items:center;justify-content:center;pointer-events:none;border-right:1px solid #b6b6b6}.vk-admin-inline-radio div:last-child label{border-right:0}.vk-admin-inline-radio input:checked+label{background:#d81b60;font-weight:500;color:#fff}@media (max-width:991px){.vk_admin_page .adminSub .adminMain table.form-table td,.vk_admin_page .adminSub .adminMain table.form-table th{display:block}.vk_admin_page .adminSub .adminMain table.form-table th{background-color:#ccc;width:auto;padding:10px;border-radius:3px}}
1
+ body{margin:0}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-warning{color:#a94442}#dashboard-widgets .vk-metabox-sub-title,.vk-metabox-sub-title{display:block;overflow:hidden;border-bottom:1px solid #e5e5e5;margin-top:1em;padding-bottom:.3em}#dashboard-widgets .vk-metabox-sub-title .dashicons,.vk-metabox-sub-title .dashicons{position:relative;top:-2px;margin-left:3px}.vk-metabox-more-link{float:right;font-size:12px}.vk-metabox-post-list{margin-bottom:2em}.vk-metabox-post-list li{border-bottom:1px dotted #ccc;padding-bottom:3px;display:flex}.vk-metabox-post-list li .date{font-size:11px;margin-right:1em;width:75px;white-space:nowrap}.vk-metabox-post-list li a{width:100%}.vk-admin-banner{display:block;overflow:hidden}.vk-admin-banner a.admin_banner{display:block;margin-bottom:1em;border:1px solid #ccc;box-shadow:inset 0 0 0 1px #fff}.vk-admin-banner a.admin_banner img{max-width:100%;height:auto;display:block}.vk-admin-banner a.admin_banner img:hover{opacity:.7}.vk-admin-banner .vektor_logo{margin-top:1em}.vk-admin-banner .vektor_logo img{width:150px;float:right}#vk_dashboard_widget .vk-admin-banner-grid{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}#vk_dashboard_widget .vk-admin-banner-grid a.admin_banner{width:48%}.wp-core-ui .button-block{display:block;width:100%;text-align:center}.logo_exUnit{display:block;overflow:hidden;text-align:center;margin-bottom:10px;border-bottom:1px solid #ccc}.logo_exUnit img{width:150px;max-width:100%}.vk_option_nav{display:block!important;overflow:hidden}.vk_option_nav ul{display:block;overflow:hidden;margin:0;padding:0}.vk_option_nav ul li{display:block;border:1px solid #ccc;margin-bottom:0;border-bottom:none;background-color:#fff}.vk_option_nav ul li:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.vk_option_nav ul li:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom:1px solid #ccc}.vk_option_nav ul li:hover{background-color:#666}.vk_option_nav ul li a{display:block;overflow:hidden;padding:.5em;text-decoration:none;color:#666;font-size:12px}.vk_option_nav ul li:hover a{color:#fff;border:none}.vk_option_nav ul li.current{background-color:#333;color:#fff}.vk_option_nav ul li.current a{color:#fff}.vk_admin_page{padding-top:1em}.vk_admin_page li,.vk_admin_page p,.vk_admin_page td{line-height:1.7;font-size:14px}.vk_admin_page h2.page_title{font-size:16px;text-align:center;line-height:140%;margin:10px 0 20px}.vk_admin_page h3{background-color:#333;color:#fff;padding:10px 15px;font-size:150%;margin-top:0;border-left:5px solid #e50000;border-radius:4px}.vk_admin_page h5{font-size:16px;margin-bottom:1em}.vk_admin_page .form-table td p,.vk_admin_page p{margin-bottom:1em;font-size:14px;line-height:1.7}.vk_admin_page .form-table td p:last-child,.vk_admin_page p:last-child{margin-bottom:0}.vk_admin_page input[type=text]{width:50%}.vk_admin_page select{width:50%}.vk_admin_page dl{line-height:1.5}.vk_admin_page dl dt{font-weight:700;margin-bottom:5px}.vk_admin_page dl dd{margin-left:0}.vk_admin_page tr.dev_object{display:none}.vk_admin_page .pageLogo{text-align:center}.vk_admin_page .pageLogo img{max-width:150px;margin:0 auto}.vk_admin_page .adminMain{display:block;overflow:hidden;width:74%;float:left}.vk_admin_page .adminMain #adminContent_sub{display:block;overflow:hidden;width:23%;float:left;padding-bottom:10px}.vk_admin_page .adminMain #adminContent_sub .notice{padding-bottom:10px}.vk_admin_page .adminMain #adminContent_sub .button{white-space:normal;margin:5px 0;padding:.5em 1em;line-height:1.4}.vk_admin_page .adminMain #adminContent_main{display:block;overflow:hidden;width:74%;float:right;min-height:300px}.vk_admin_page .adminMain #adminContent_main .form_horizontal_item{margin-right:1em}.vk_admin_page .adminMain.column_2 #adminContent_main{width:100%}.vk_admin_page .adminMain_main ol,.vk_admin_page .adminMain_main ul{margin-top:0;margin-left:1.5em;padding-top:0}.vk_admin_page .adminMain_main ol>li{list-style:decimal}.vk_admin_page .adminMain_main ul>li{list-style:disc}.vk_admin_page .adminMain_main li ol,.vk_admin_page .adminMain_main li ul{margin-top:.5em}.vk_admin_page .adminMain_main ul.no-style{margin-left:0}.vk_admin_page .adminMain_main ul.no-style ul{margin-left:1.5em}.vk_admin_page .adminMain_main ul.no-style li{list-style:none}.vk_admin_page .adminMain_main_content{margin-bottom:3em}.vk_admin_page .adminMain_main input[type=text]{margin-bottom:5px}.vk_admin_page .adminSub{display:block;overflow:hidden;width:24%;float:right;padding-bottom:10px}.vk_admin_page .adminSub .infoBox{display:block;overflow:hidden;padding:1em;margin-bottom:1em;background-color:#fff;border-radius:4px}.vk_admin_page .adminSub .vk-metabox-sub-title{background-color:#ccc;width:auto;padding:5px 10px;border-radius:3px;margin-top:0;margin-bottom:15px}.vk_admin_page .adminSub .vk-metabox-more-link{display:none}.vk_admin_page .alert{border-radius:4px;padding:.8em;font-weight:400}.vk_admin_page .alert-danger{border:1px solid #ebccd1;background-color:#f2dede;color:#a94442}.wp-full-overlay-sidebar{font-size:14px}.admin-custom-section,.admin_widget_section{display:block;overflow:hidden;margin:1.5em 0}.admin-custom-section p,.admin_widget_section p{margin-top:.5em}.admin-custom-h2,.admin_widget_h2{box-sizing:border-box;margin:1em 0 1em;padding:.8em 1em;width:100%;border:solid 1px #ddd;border-radius:5px;background:#555;color:#fff;font-size:1.1em}.admin-custom-h3,.admin_widget_h3{box-sizing:border-box;padding:.4em 0;margin-bottom:.3em;width:100%;border-bottom:solid 1px #ddd;font-size:1em}.admin-custom-discription{margin-top:.5em}input[type=checkbox].admin-custom-input,input[type=checkbox].admin_widget_input,input[type=color].admin-custom-input,input[type=color].admin_widget_input,input[type=date].admin-custom-input,input[type=date].admin_widget_input,input[type=datetime-local].admin-custom-input,input[type=datetime-local].admin_widget_input,input[type=datetime].admin-custom-input,input[type=datetime].admin_widget_input,input[type=email].admin-custom-input,input[type=email].admin_widget_input,input[type=month].admin-custom-input,input[type=month].admin_widget_input,input[type=number].admin-custom-input,input[type=number].admin_widget_input,input[type=password].admin-custom-input,input[type=password].admin_widget_input,input[type=radio].admin-custom-input,input[type=radio].admin_widget_input,input[type=search].admin-custom-input,input[type=search].admin_widget_input,input[type=tel].admin-custom-input,input[type=tel].admin_widget_input,input[type=text].admin-custom-input,input[type=text].admin_widget_input,input[type=time].admin-custom-input,input[type=time].admin_widget_input,input[type=url].admin-custom-input,input[type=url].admin_widget_input,input[type=week].admin-custom-input,input[type=week].admin_widget_input,select.admin-custom-input,select.admin_widget_input,textarea.admin-custom-input,textarea.admin_widget_input{width:100%;margin:.3em 0}.admin-custom-thumb-outer,.admin_widget_thumb_outer{position:relative;overflow:hidden;z-index:2;margin:3px 0;min-height:70px;border:1px solid #e5e5e5;background-color:#f5f5f5;width:100%}.admin-custom-thumb-outer:before,.admin_widget_thumb_outer:before{position:absolute;top:50%;left:50%;z-index:1;margin:-8px 0 0 -30px;color:#999;content:"No Image"}.admin-custom-thumb,.admin_widget_thumb{position:relative;z-index:3;display:block;width:100%;height:auto}.vk_checklist_item-style-vertical{display:flex}.vk_checklist_item .vk_checklist_item_input{margin-top:0}.vk-admin-inline-radio{display:flex;border-radius:3px;overflow:hidden;border:1px solid #b6b6b6}.vk-admin-inline-radio div{position:relative;flex:1}.vk-admin-inline-radio input{width:100%;height:60px;opacity:0}.vk-admin-inline-radio label{position:absolute;top:0;left:0;color:#b6b6b6;width:100%;height:100%;background:#fff;display:flex;align-items:center;justify-content:center;pointer-events:none;border-right:1px solid #b6b6b6}.vk-admin-inline-radio div:last-child label{border-right:0}.vk-admin-inline-radio input:checked+label{background:#d81b60;font-weight:500;color:#fff}@media (max-width:991px){.vk_admin_page .adminSub .adminMain table.form-table td,.vk_admin_page .adminSub .adminMain table.form-table th{display:block}.vk_admin_page .adminSub .adminMain table.form-table th{background-color:#ccc;width:auto;padding:10px;border-radius:3px}}
assets/js/block.min.js CHANGED
@@ -1,5 +1,5 @@
1
  "use strict";!function(e){var t=e.i18n.__,l=e.blocks.registerBlockType,C=e.components,n=C.ServerSideRender,a=(C.PanelBody,e.element.Fragment),c=e.element,e=c.createElement("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.05 5.4L18.95 6.6L11.75 12L18.95 17.4L18.05 18.6L9.25 12L18.05 5.4Z",fill:"black"}),c.createElement("path",{d:"M8 11C8 10.4477 8.44772 10 9 10H11C11.5523 10 12 10.4477 12 11V13C12 13.5523 11.5523 14 11 14H9C8.44772 14 8 13.5523 8 13V11Z",fill:"black"}),c.createElement("path",{d:"M18 5C18 4.44772 18.4477 4 19 4H21C21.5523 4 22 4.44772 22 5V7C22 7.55228 21.5523 8 21 8H19C18.4477 8 18 7.55228 18 7V5Z",fill:"black"}),c.createElement("path",{d:"M18 17C18 16.4477 18.4477 16 19 16H21C21.5523 16 22 16.4477 22 17V19C22 19.5523 21.5523 20 21 20H19C18.4477 20 18 19.5523 18 19V17Z",fill:"black"}),c.createElement("path",{d:"M9.02166 11.5C10.126 11.5 10.6918 12.4565 10.6183 13.2832L12.8895 13.2779C14.3071 13.2779 15.0309 14.9832 14.0553 16.0035L11.5983 18.5904L12.6845 22.0882C12.9884 23.0594 12.3009 24.1799 11.1501 24.1799H7.86199C7.49242 24.1799 7.18431 24.0623 6.94092 23.887L6.74798 24.4359L6.74336 24.4483C6.22239 25.8506 4.24664 25.8506 3.72567 24.4483L3.72013 24.4334L0.575389 15.3852L0.564442 15.3474C0.311387 14.4742 0.872943 13.2779 2.10792 13.2779H5.2686L5.51343 12.59C5.73899 11.9389 6.35249 11.5096 7.02799 11.5076L7.03268 11.5076L9.02166 11.5Z",fill:"white"}),c.createElement("path",{d:"M12.8895 14.7778L9.62346 14.7854C9.57942 14.7854 9.53538 14.8158 9.5207 14.8614L9.27116 15.5832C9.24915 15.6592 9.30052 15.7352 9.37392 15.7352H10.6436C10.7391 15.7352 10.7904 15.8567 10.7244 15.9251L8.69869 18.1058H8.70603L9.74823 21.5021C9.77025 21.578 9.71887 21.6464 9.64548 21.6464H8.62529C8.57392 21.6464 8.53722 21.616 8.52254 21.5704L8.00144 19.8305C7.97208 19.7241 7.83264 19.7241 7.79594 19.8229L7.37025 21.0462C7.36291 21.069 7.36291 21.0918 7.37025 21.1146L7.75924 22.5962C7.77392 22.6418 7.81796 22.6797 7.86199 22.6797H11.1501C11.2235 22.6797 11.2748 22.6038 11.2528 22.5354L9.92437 18.2577C9.90969 18.2197 9.92437 18.1741 9.95373 18.1437L12.9702 14.9678C13.0363 14.8994 12.9849 14.7778 12.8895 14.7778Z",fill:"black"}),c.createElement("path",{d:"M9.02164 13L7.03265 13.0076C6.98862 13.0076 6.94458 13.038 6.9299 13.0836L6.67302 13.8054C6.64366 13.8814 6.70238 13.9573 6.77577 13.9573H7.61247C7.68586 13.9573 7.73724 14.0333 7.71522 14.1093L5.34458 20.8259C5.30789 20.9247 5.17578 20.9247 5.13908 20.8259L3.43633 15.9784C3.40697 15.9024 3.46569 15.8265 3.53908 15.8265H4.3978C4.44183 15.8265 4.48587 15.8568 4.50055 15.9024L5.11706 17.65C5.15376 17.7487 5.28587 17.7487 5.32257 17.65L6.27669 14.9299C6.30605 14.8539 6.24733 14.7779 6.17394 14.7779H2.10789C2.0345 14.7779 1.98312 14.8539 2.00514 14.9299L5.13174 23.9259C5.16844 24.0247 5.30055 24.0247 5.33724 23.9259L9.12439 13.152C9.14641 13.076 9.09503 13 9.02164 13Z",fill:"#D8141C"}));l("vk-blocks/share-button",{title:t("Share button","veu-block"),icon:e,category:"veu-block",edit:function(e){e=e.className;return c.createElement(a,null,c.createElement("div",{className:"".concat(e," veu_share_button_block")},c.createElement(n,{block:"vk-blocks/share-button",attributes:{position:"After"}})))},save:function(){return null}})}(wp);
2
  "use strict";!function(e){var i=e.i18n.__,t=e.blocks.registerBlockType,C=(e.blockEditor&&e.blockEditor.BlockEdit?e.blockEditor:e.editor).InspectorControls,l=e.components,d=l.ServerSideRender,s=l.PanelBody,u=l.SelectControl,n=e.data,l=n.withSelect,H=(n.select,e.element.Fragment),p=e.element,e=p.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p.createElement("path",{d:"M10.8895 14.7778L7.62346 14.7854C7.57942 14.7854 7.53538 14.8158 7.5207 14.8614L7.27116 15.5832C7.24915 15.6592 7.30052 15.7352 7.37392 15.7352H8.64364C8.73905 15.7352 8.79043 15.8567 8.72437 15.9251L6.69869 18.1058H6.70603L7.74823 21.5021C7.77025 21.578 7.71887 21.6464 7.64548 21.6464H6.62529C6.57392 21.6464 6.53722 21.616 6.52254 21.5704L6.00144 19.8305C5.97208 19.7241 5.83264 19.7241 5.79594 19.8229L5.37025 21.0462C5.36291 21.069 5.36291 21.0918 5.37025 21.1146L5.75924 22.5962C5.77392 22.6418 5.81796 22.6797 5.86199 22.6797H9.15006C9.22345 22.6797 9.27483 22.6038 9.25281 22.5354L7.92437 18.2577C7.90969 18.2197 7.92437 18.1741 7.95373 18.1437L10.9702 14.9678C11.0363 14.8994 10.9849 14.7778 10.8895 14.7778Z",fill:"black"}),p.createElement("path",{d:"M7.02164 13L5.03265 13.0076C4.98862 13.0076 4.94458 13.038 4.9299 13.0836L4.67302 13.8054C4.64366 13.8814 4.70238 13.9573 4.77577 13.9573H5.61247C5.68586 13.9573 5.73724 14.0333 5.71522 14.1093L3.34458 20.8259C3.30789 20.9247 3.17578 20.9247 3.13908 20.8259L1.43633 15.9784C1.40697 15.9024 1.46569 15.8265 1.53908 15.8265H2.3978C2.44183 15.8265 2.48587 15.8568 2.50055 15.9024L3.11706 17.65C3.15376 17.7487 3.28587 17.7487 3.32257 17.65L4.27669 14.9299C4.30605 14.8539 4.24733 14.7779 4.17394 14.7779H0.107895C0.0345005 14.7779 -0.0168755 14.8539 0.0051428 14.9299L3.13174 23.9259C3.16844 24.0247 3.30055 24.0247 3.33724 23.9259L7.12439 13.152C7.14641 13.076 7.09503 13 7.02164 13Z",fill:"#D8141C"}),p.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.5 6.5V1.5H9.5V6.5H1.5ZM0 1C0 0.447715 0.447715 0 1 0H10C10.5523 0 11 0.447715 11 1V7C11 7.55228 10.5523 8 10 8H1C0.447715 8 0 7.55228 0 7V1ZM1.5 13.2779V11.5H7.02166H9.5V13.2812L10.8895 13.2779C10.9268 13.2779 10.9637 13.2791 11 13.2814V11C11 10.4477 10.5523 10 10 10H1C0.447715 10 0 10.4477 0 11V13.281C0.0353798 13.279 0.0713537 13.2779 0.107918 13.2779H1.5ZM3.36751 13L3.2686 13.2779H3V13H3.36751ZM10.1733 17.985C10.6035 17.9099 10.9392 17.5598 10.9926 17.1225L10.1733 17.985ZM14.5 1.5V6.5H22.5V1.5H14.5ZM14 0C13.4477 0 13 0.447715 13 1V7C13 7.55228 13.4477 8 14 8H23C23.5523 8 24 7.55228 24 7V1C24 0.447715 23.5523 0 23 0H14ZM14.5 16.5V11.5H22.5V16.5H14.5ZM13 11C13 10.4477 13.4477 10 14 10H23C23.5523 10 24 10.4477 24 11V17C24 17.5523 23.5523 18 23 18H14C13.4477 18 13 17.5523 13 17V11ZM3 3V5H5V3H3ZM16 3V5H18V3H16ZM16 15V13H18V15H16Z",fill:"black"}));t("vk-blocks/child-page-index",{title:i("Child page index","veu-block"),icon:e,category:"veu-block",attributes:{postId:{type:"number",default:-1}},edit:l(function(e){return{pages:e("core").getEntityRecords("postType","page",{_embed:!0,per_page:-1})}})(function(e){var t=e.attributes,l=e.setAttributes,n=e.pages,e=t.postId,a=(t.className,[{label:i("This Page","veu-block"),value:-1}]);if(null!=n){for(var r=n.length,o=[],c=0,c=0;c<r;c++)0!==n[c].parent&&o.push(n[c].parent);for(c=0;c<r;c++)o.includes(n[c].id)&&a.push({label:n[c].title.rendered,value:n[c].id})}return p.createElement(H,null,p.createElement(C,null,p.createElement(s,{label:i("Parent Page","veu-block")},p.createElement(u,{label:i("Parent Page","veu-block"),value:e,options:a,onChange:function(e){l({postId:parseInt(e,10)})}}))),p.createElement("div",{className:"veu_child_page_list_block"},p.createElement(d,{block:"vk-blocks/child-page-index",attributes:t})))}),save:function(){return null}})}(wp);
3
  "use strict";!function(e){var n=e.i18n.__,t=e.blocks.registerBlockType,c=e.serverSideRender,l=e.components,a=l.PanelBody,o=l.BaseControl,r=l.CheckboxControl,i=e.element.Fragment,C=e.blockEditor.InspectorControls,s=e.element,e=s.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.createElement("path",{d:"M10.8895 14.7778L7.62346 14.7854C7.57942 14.7854 7.53538 14.8158 7.5207 14.8614L7.27116 15.5832C7.24915 15.6592 7.30052 15.7352 7.37392 15.7352H8.64364C8.73905 15.7352 8.79043 15.8567 8.72437 15.9251L6.69869 18.1058H6.70603L7.74823 21.5021C7.77025 21.578 7.71887 21.6464 7.64548 21.6464H6.62529C6.57392 21.6464 6.53722 21.616 6.52254 21.5704L6.00144 19.8305C5.97208 19.7241 5.83264 19.7241 5.79594 19.8229L5.37025 21.0462C5.36291 21.069 5.36291 21.0918 5.37025 21.1146L5.75924 22.5962C5.77392 22.6418 5.81796 22.6797 5.86199 22.6797H9.15006C9.22345 22.6797 9.27483 22.6038 9.25281 22.5354L7.92437 18.2577C7.90969 18.2197 7.92437 18.1741 7.95373 18.1437L10.9702 14.9678C11.0363 14.8994 10.9849 14.7778 10.8895 14.7778Z",fill:"black"}),s.createElement("path",{d:"M7.02164 13L5.03265 13.0076C4.98862 13.0076 4.94458 13.038 4.9299 13.0836L4.67302 13.8054C4.64366 13.8814 4.70238 13.9573 4.77577 13.9573H5.61247C5.68586 13.9573 5.73724 14.0333 5.71522 14.1093L3.34458 20.8259C3.30789 20.9247 3.17578 20.9247 3.13908 20.8259L1.43633 15.9784C1.40697 15.9024 1.46569 15.8265 1.53908 15.8265H2.3978C2.44183 15.8265 2.48587 15.8568 2.50055 15.9024L3.11706 17.65C3.15376 17.7487 3.28587 17.7487 3.32257 17.65L4.27669 14.9299C4.30605 14.8539 4.24733 14.7779 4.17394 14.7779H0.107895C0.0345005 14.7779 -0.0168755 14.8539 0.0051428 14.9299L3.13174 23.9259C3.16844 24.0247 3.30055 24.0247 3.33724 23.9259L7.12439 13.152C7.14641 13.076 7.09503 13 7.02164 13Z",fill:"#D8141C"}),s.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 0H10.5C11.05 0 11.5 0.45 11.5 1C11.5 2.25 11.7 3.45 12.07 4.57C12.18 4.92 12.1 5.31 11.82 5.59L9.62 7.79C11.06 10.62 13.38 12.93 16.21 14.38L18.41 12.18C18.61 11.99 18.86 11.89 19.12 11.89C19.22 11.89 19.33 11.9 19.43 11.94C20.55 12.31 21.76 12.51 23 12.51C23.55 12.51 24 12.96 24 13.51V17C24 17.55 23.55 18 23 18C18.98 18 15.2862 16.6052 12.3762 14.2731C12.1893 13.8229 11.8056 13.4545 11.2918 13.3264C8.0321 10.2292 6 5.85228 6 1C6 0.45 6.45 0 7 0Z",fill:"black"}));t("vk-blocks/contact-section",{title:n("Contact section","veu-block"),icon:e,category:"veu-block",attributes:{vertical:{type:"boolean",default:!1}},edit:function(e){var t=e.attributes,l=e.setAttributes,t=(e.className,t.vertical);return s.createElement(i,null,s.createElement(C,null,s.createElement(a,{title:n("Display conditions","veu-block"),initialOpen:!1},s.createElement(o,null,s.createElement(r,{label:n("Set telephone and mail form vertically","veu-block"),className:"mb-1",checked:t,onChange:function(e){return l({vertical:e})}})))),s.createElement("div",{className:"veu_contact_section_block"},s.createElement(c,{block:"vk-blocks/contact-section",attributes:e.attributes})))},save:function(){return null}})}(wp);
4
- "use strict";!function(e){var t=e.i18n.__,l=e.blocks.registerBlockType,n=e.components,c=n.ServerSideRender,a=(n.PanelBody,e.element.Fragment),C=e.element,e=C.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 6.5C4 7.33 4.67 8 5.5 8C6.32 8 7 7.33 7 6.5C7 5.68 6.32 5 5.5 5C4.67 5 4 5.68 4 6.5ZM20 6H9V7H20V6ZM7 11.5001L5.03268 11.5076L5.02799 11.5076C4.66401 11.5087 4.31804 11.6338 4.04105 11.8509C4.01421 11.7383 4 11.6209 4 11.5C4 10.68 4.67 10 5.5 10C6.32 10 7 10.68 7 11.5C7 11.5 7 11.5001 7 11.5001ZM11.1089 17L12.0553 16.0035C12.0565 16.0024 12.0576 16.0012 12.0587 16H20V17H11.1089ZM20 11H9V12H20V11Z",fill:"black"}),C.createElement("path",{d:"M10.8895 14.7778L7.62346 14.7854C7.57942 14.7854 7.53538 14.8158 7.5207 14.8614L7.27116 15.5832C7.24915 15.6592 7.30052 15.7352 7.37392 15.7352H8.64364C8.73905 15.7352 8.79043 15.8567 8.72437 15.9251L6.69869 18.1058H6.70603L7.74823 21.5021C7.77025 21.578 7.71887 21.6464 7.64548 21.6464H6.62529C6.57392 21.6464 6.53722 21.616 6.52254 21.5704L6.00144 19.8305C5.97208 19.7241 5.83264 19.7241 5.79594 19.8229L5.37025 21.0462C5.36291 21.069 5.36291 21.0918 5.37025 21.1146L5.75924 22.5962C5.77392 22.6418 5.81796 22.6797 5.86199 22.6797H9.15006C9.22345 22.6797 9.27483 22.6038 9.25281 22.5354L7.92437 18.2577C7.90969 18.2197 7.92437 18.1741 7.95373 18.1437L10.9702 14.9678C11.0363 14.8994 10.9849 14.7778 10.8895 14.7778Z",fill:"black"}),C.createElement("path",{d:"M7.02164 13L5.03265 13.0076C4.98862 13.0076 4.94458 13.038 4.9299 13.0836L4.67302 13.8054C4.64366 13.8814 4.70238 13.9573 4.77577 13.9573H5.61247C5.68586 13.9573 5.73724 14.0333 5.71522 14.1093L3.34458 20.8259C3.30789 20.9247 3.17578 20.9247 3.13908 20.8259L1.43633 15.9784C1.40697 15.9024 1.46569 15.8265 1.53908 15.8265H2.3978C2.44183 15.8265 2.48587 15.8568 2.50055 15.9024L3.11706 17.65C3.15376 17.7487 3.28587 17.7487 3.32257 17.65L4.27669 14.9299C4.30605 14.8539 4.24733 14.7779 4.17394 14.7779H0.107895C0.0345005 14.7779 -0.0168755 14.8539 0.0051428 14.9299L3.13174 23.9259C3.16844 24.0247 3.30055 24.0247 3.33724 23.9259L7.12439 13.152C7.14641 13.076 7.09503 13 7.02164 13Z",fill:"#D8141C"}));l("vk-blocks/page-list-ancestor",{title:t("Page list from ancestor","veu-block"),icon:e,category:"veu-block",edit:function(e){e=e.className;return C.createElement(a,null,C.createElement("div",{className:"".concat(e," veu_page_list_ancestor_block")},C.createElement(c,{block:"vk-blocks/page-list-ancestor",attributes:{className:e}})))},save:function(){return null}})}(wp);
5
  "use strict";!function(e){var l=e.i18n.__,t=e.blocks.registerBlockType,c=e.components.ServerSideRender,a=e.element.Fragment,n=e.element,e=n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("g",{"clip-path":"url(#clip0)"},n.createElement("path",{d:"M11.5 6V7H5.5V9H6.5V8H17.5V9H18.5V7H12.5V6H11.5Z",fill:"black"}),n.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.5 1.5V4H14.5V1.5H9.5ZM9 0C8.44772 0 8 0.447715 8 1V4.5C8 5.05228 8.44772 5.5 9 5.5H15C15.5523 5.5 16 5.05228 16 4.5V1C16 0.447715 15.5523 0 15 0H9Z",fill:"black"}),n.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.5 11V13.5H8.5V11H3.5ZM3 9.5C2.44772 9.5 2 9.94772 2 10.5V14C2 14.5523 2.44772 15 3 15H9C9.55228 15 10 14.5523 10 14V10.5C10 9.94772 9.55228 9.5 9 9.5H3Z",fill:"black"}),n.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.5 11V13.5H20.5V11H15.5ZM15 9.5C14.4477 9.5 14 9.94772 14 10.5V14C14 14.5523 14.4477 15 15 15H21C21.5523 15 22 14.5523 22 14V10.5C22 9.94772 21.5523 9.5 21 9.5H15Z",fill:"black"}),n.createElement("path",{d:"M7.02166 11.5C8.12596 11.5 8.69181 12.4565 8.61827 13.2832L10.8895 13.2779C12.3071 13.2779 13.0309 14.9832 12.0553 16.0035L9.59833 18.5904L10.6845 22.0882C10.9884 23.0594 10.3009 24.1799 9.15005 24.1799H5.86199C5.49242 24.1799 5.18431 24.0623 4.94092 23.887L4.74798 24.4359L4.74336 24.4483C4.22239 25.8506 2.24664 25.8506 1.72567 24.4483L1.72013 24.4334L-1.42461 15.3852L-1.43556 15.3474C-1.68861 14.4742 -1.12706 13.2779 0.107918 13.2779H3.2686L3.51343 12.59C3.73899 11.9389 4.35249 11.5096 5.02799 11.5076L5.03268 11.5076L7.02166 11.5Z",fill:"white"}),n.createElement("path",{d:"M10.8895 14.7778L7.62346 14.7854C7.57942 14.7854 7.53538 14.8158 7.5207 14.8614L7.27116 15.5832C7.24915 15.6592 7.30052 15.7352 7.37392 15.7352H8.64364C8.73905 15.7352 8.79043 15.8567 8.72437 15.9251L6.69869 18.1058H6.70603L7.74823 21.5021C7.77025 21.578 7.71887 21.6464 7.64548 21.6464H6.62529C6.57392 21.6464 6.53722 21.616 6.52254 21.5704L6.00144 19.8305C5.97208 19.7241 5.83264 19.7241 5.79594 19.8229L5.37025 21.0462C5.36291 21.069 5.36291 21.0918 5.37025 21.1146L5.75924 22.5962C5.77392 22.6418 5.81796 22.6797 5.86199 22.6797H9.15006C9.22345 22.6797 9.27483 22.6038 9.25281 22.5354L7.92437 18.2577C7.90969 18.2197 7.92437 18.1741 7.95373 18.1437L10.9702 14.9678C11.0363 14.8994 10.9849 14.7778 10.8895 14.7778Z",fill:"black"}),n.createElement("path",{d:"M7.02164 13L5.03265 13.0076C4.98862 13.0076 4.94458 13.038 4.9299 13.0836L4.67302 13.8054C4.64366 13.8814 4.70238 13.9573 4.77577 13.9573H5.61247C5.68586 13.9573 5.73724 14.0333 5.71522 14.1093L3.34458 20.8259C3.30789 20.9247 3.17578 20.9247 3.13908 20.8259L1.43633 15.9784C1.40697 15.9024 1.46569 15.8265 1.53908 15.8265H2.3978C2.44183 15.8265 2.48587 15.8568 2.50055 15.9024L3.11706 17.65C3.15376 17.7487 3.28587 17.7487 3.32257 17.65L4.27669 14.9299C4.30605 14.8539 4.24733 14.7779 4.17394 14.7779H0.107895C0.0345005 14.7779 -0.0168755 14.8539 0.0051428 14.9299L3.13174 23.9259C3.16844 24.0247 3.30055 24.0247 3.33724 23.9259L7.12439 13.152C7.14641 13.076 7.09503 13 7.02164 13Z",fill:"#D8141C"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0"},n.createElement("rect",{width:"24",height:"24",fill:"white"}))));t("vk-blocks/sitemap",{title:l("HTML Sitemap","veu-block"),icon:e,category:"veu-block",edit:function(e){e=e.className;return n.createElement(a,null,n.createElement("div",{className:"".concat(e," veu_sitemap_block")},n.createElement(c,{block:"vk-blocks/sitemap",attributes:{className:e}})))},save:function(){return null}})}(wp);
1
  "use strict";!function(e){var t=e.i18n.__,l=e.blocks.registerBlockType,C=e.components,n=C.ServerSideRender,a=(C.PanelBody,e.element.Fragment),c=e.element,e=c.createElement("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.05 5.4L18.95 6.6L11.75 12L18.95 17.4L18.05 18.6L9.25 12L18.05 5.4Z",fill:"black"}),c.createElement("path",{d:"M8 11C8 10.4477 8.44772 10 9 10H11C11.5523 10 12 10.4477 12 11V13C12 13.5523 11.5523 14 11 14H9C8.44772 14 8 13.5523 8 13V11Z",fill:"black"}),c.createElement("path",{d:"M18 5C18 4.44772 18.4477 4 19 4H21C21.5523 4 22 4.44772 22 5V7C22 7.55228 21.5523 8 21 8H19C18.4477 8 18 7.55228 18 7V5Z",fill:"black"}),c.createElement("path",{d:"M18 17C18 16.4477 18.4477 16 19 16H21C21.5523 16 22 16.4477 22 17V19C22 19.5523 21.5523 20 21 20H19C18.4477 20 18 19.5523 18 19V17Z",fill:"black"}),c.createElement("path",{d:"M9.02166 11.5C10.126 11.5 10.6918 12.4565 10.6183 13.2832L12.8895 13.2779C14.3071 13.2779 15.0309 14.9832 14.0553 16.0035L11.5983 18.5904L12.6845 22.0882C12.9884 23.0594 12.3009 24.1799 11.1501 24.1799H7.86199C7.49242 24.1799 7.18431 24.0623 6.94092 23.887L6.74798 24.4359L6.74336 24.4483C6.22239 25.8506 4.24664 25.8506 3.72567 24.4483L3.72013 24.4334L0.575389 15.3852L0.564442 15.3474C0.311387 14.4742 0.872943 13.2779 2.10792 13.2779H5.2686L5.51343 12.59C5.73899 11.9389 6.35249 11.5096 7.02799 11.5076L7.03268 11.5076L9.02166 11.5Z",fill:"white"}),c.createElement("path",{d:"M12.8895 14.7778L9.62346 14.7854C9.57942 14.7854 9.53538 14.8158 9.5207 14.8614L9.27116 15.5832C9.24915 15.6592 9.30052 15.7352 9.37392 15.7352H10.6436C10.7391 15.7352 10.7904 15.8567 10.7244 15.9251L8.69869 18.1058H8.70603L9.74823 21.5021C9.77025 21.578 9.71887 21.6464 9.64548 21.6464H8.62529C8.57392 21.6464 8.53722 21.616 8.52254 21.5704L8.00144 19.8305C7.97208 19.7241 7.83264 19.7241 7.79594 19.8229L7.37025 21.0462C7.36291 21.069 7.36291 21.0918 7.37025 21.1146L7.75924 22.5962C7.77392 22.6418 7.81796 22.6797 7.86199 22.6797H11.1501C11.2235 22.6797 11.2748 22.6038 11.2528 22.5354L9.92437 18.2577C9.90969 18.2197 9.92437 18.1741 9.95373 18.1437L12.9702 14.9678C13.0363 14.8994 12.9849 14.7778 12.8895 14.7778Z",fill:"black"}),c.createElement("path",{d:"M9.02164 13L7.03265 13.0076C6.98862 13.0076 6.94458 13.038 6.9299 13.0836L6.67302 13.8054C6.64366 13.8814 6.70238 13.9573 6.77577 13.9573H7.61247C7.68586 13.9573 7.73724 14.0333 7.71522 14.1093L5.34458 20.8259C5.30789 20.9247 5.17578 20.9247 5.13908 20.8259L3.43633 15.9784C3.40697 15.9024 3.46569 15.8265 3.53908 15.8265H4.3978C4.44183 15.8265 4.48587 15.8568 4.50055 15.9024L5.11706 17.65C5.15376 17.7487 5.28587 17.7487 5.32257 17.65L6.27669 14.9299C6.30605 14.8539 6.24733 14.7779 6.17394 14.7779H2.10789C2.0345 14.7779 1.98312 14.8539 2.00514 14.9299L5.13174 23.9259C5.16844 24.0247 5.30055 24.0247 5.33724 23.9259L9.12439 13.152C9.14641 13.076 9.09503 13 9.02164 13Z",fill:"#D8141C"}));l("vk-blocks/share-button",{title:t("Share button","veu-block"),icon:e,category:"veu-block",edit:function(e){e=e.className;return c.createElement(a,null,c.createElement("div",{className:"".concat(e," veu_share_button_block")},c.createElement(n,{block:"vk-blocks/share-button",attributes:{position:"After"}})))},save:function(){return null}})}(wp);
2
  "use strict";!function(e){var i=e.i18n.__,t=e.blocks.registerBlockType,C=(e.blockEditor&&e.blockEditor.BlockEdit?e.blockEditor:e.editor).InspectorControls,l=e.components,d=l.ServerSideRender,s=l.PanelBody,u=l.SelectControl,n=e.data,l=n.withSelect,H=(n.select,e.element.Fragment),p=e.element,e=p.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p.createElement("path",{d:"M10.8895 14.7778L7.62346 14.7854C7.57942 14.7854 7.53538 14.8158 7.5207 14.8614L7.27116 15.5832C7.24915 15.6592 7.30052 15.7352 7.37392 15.7352H8.64364C8.73905 15.7352 8.79043 15.8567 8.72437 15.9251L6.69869 18.1058H6.70603L7.74823 21.5021C7.77025 21.578 7.71887 21.6464 7.64548 21.6464H6.62529C6.57392 21.6464 6.53722 21.616 6.52254 21.5704L6.00144 19.8305C5.97208 19.7241 5.83264 19.7241 5.79594 19.8229L5.37025 21.0462C5.36291 21.069 5.36291 21.0918 5.37025 21.1146L5.75924 22.5962C5.77392 22.6418 5.81796 22.6797 5.86199 22.6797H9.15006C9.22345 22.6797 9.27483 22.6038 9.25281 22.5354L7.92437 18.2577C7.90969 18.2197 7.92437 18.1741 7.95373 18.1437L10.9702 14.9678C11.0363 14.8994 10.9849 14.7778 10.8895 14.7778Z",fill:"black"}),p.createElement("path",{d:"M7.02164 13L5.03265 13.0076C4.98862 13.0076 4.94458 13.038 4.9299 13.0836L4.67302 13.8054C4.64366 13.8814 4.70238 13.9573 4.77577 13.9573H5.61247C5.68586 13.9573 5.73724 14.0333 5.71522 14.1093L3.34458 20.8259C3.30789 20.9247 3.17578 20.9247 3.13908 20.8259L1.43633 15.9784C1.40697 15.9024 1.46569 15.8265 1.53908 15.8265H2.3978C2.44183 15.8265 2.48587 15.8568 2.50055 15.9024L3.11706 17.65C3.15376 17.7487 3.28587 17.7487 3.32257 17.65L4.27669 14.9299C4.30605 14.8539 4.24733 14.7779 4.17394 14.7779H0.107895C0.0345005 14.7779 -0.0168755 14.8539 0.0051428 14.9299L3.13174 23.9259C3.16844 24.0247 3.30055 24.0247 3.33724 23.9259L7.12439 13.152C7.14641 13.076 7.09503 13 7.02164 13Z",fill:"#D8141C"}),p.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.5 6.5V1.5H9.5V6.5H1.5ZM0 1C0 0.447715 0.447715 0 1 0H10C10.5523 0 11 0.447715 11 1V7C11 7.55228 10.5523 8 10 8H1C0.447715 8 0 7.55228 0 7V1ZM1.5 13.2779V11.5H7.02166H9.5V13.2812L10.8895 13.2779C10.9268 13.2779 10.9637 13.2791 11 13.2814V11C11 10.4477 10.5523 10 10 10H1C0.447715 10 0 10.4477 0 11V13.281C0.0353798 13.279 0.0713537 13.2779 0.107918 13.2779H1.5ZM3.36751 13L3.2686 13.2779H3V13H3.36751ZM10.1733 17.985C10.6035 17.9099 10.9392 17.5598 10.9926 17.1225L10.1733 17.985ZM14.5 1.5V6.5H22.5V1.5H14.5ZM14 0C13.4477 0 13 0.447715 13 1V7C13 7.55228 13.4477 8 14 8H23C23.5523 8 24 7.55228 24 7V1C24 0.447715 23.5523 0 23 0H14ZM14.5 16.5V11.5H22.5V16.5H14.5ZM13 11C13 10.4477 13.4477 10 14 10H23C23.5523 10 24 10.4477 24 11V17C24 17.5523 23.5523 18 23 18H14C13.4477 18 13 17.5523 13 17V11ZM3 3V5H5V3H3ZM16 3V5H18V3H16ZM16 15V13H18V15H16Z",fill:"black"}));t("vk-blocks/child-page-index",{title:i("Child page index","veu-block"),icon:e,category:"veu-block",attributes:{postId:{type:"number",default:-1}},edit:l(function(e){return{pages:e("core").getEntityRecords("postType","page",{_embed:!0,per_page:-1})}})(function(e){var t=e.attributes,l=e.setAttributes,n=e.pages,e=t.postId,a=(t.className,[{label:i("This Page","veu-block"),value:-1}]);if(null!=n){for(var r=n.length,o=[],c=0,c=0;c<r;c++)0!==n[c].parent&&o.push(n[c].parent);for(c=0;c<r;c++)o.includes(n[c].id)&&a.push({label:n[c].title.rendered,value:n[c].id})}return p.createElement(H,null,p.createElement(C,null,p.createElement(s,{label:i("Parent Page","veu-block")},p.createElement(u,{label:i("Parent Page","veu-block"),value:e,options:a,onChange:function(e){l({postId:parseInt(e,10)})}}))),p.createElement("div",{className:"veu_child_page_list_block"},p.createElement(d,{block:"vk-blocks/child-page-index",attributes:t})))}),save:function(){return null}})}(wp);
3
  "use strict";!function(e){var n=e.i18n.__,t=e.blocks.registerBlockType,c=e.serverSideRender,l=e.components,a=l.PanelBody,o=l.BaseControl,r=l.CheckboxControl,i=e.element.Fragment,C=e.blockEditor.InspectorControls,s=e.element,e=s.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.createElement("path",{d:"M10.8895 14.7778L7.62346 14.7854C7.57942 14.7854 7.53538 14.8158 7.5207 14.8614L7.27116 15.5832C7.24915 15.6592 7.30052 15.7352 7.37392 15.7352H8.64364C8.73905 15.7352 8.79043 15.8567 8.72437 15.9251L6.69869 18.1058H6.70603L7.74823 21.5021C7.77025 21.578 7.71887 21.6464 7.64548 21.6464H6.62529C6.57392 21.6464 6.53722 21.616 6.52254 21.5704L6.00144 19.8305C5.97208 19.7241 5.83264 19.7241 5.79594 19.8229L5.37025 21.0462C5.36291 21.069 5.36291 21.0918 5.37025 21.1146L5.75924 22.5962C5.77392 22.6418 5.81796 22.6797 5.86199 22.6797H9.15006C9.22345 22.6797 9.27483 22.6038 9.25281 22.5354L7.92437 18.2577C7.90969 18.2197 7.92437 18.1741 7.95373 18.1437L10.9702 14.9678C11.0363 14.8994 10.9849 14.7778 10.8895 14.7778Z",fill:"black"}),s.createElement("path",{d:"M7.02164 13L5.03265 13.0076C4.98862 13.0076 4.94458 13.038 4.9299 13.0836L4.67302 13.8054C4.64366 13.8814 4.70238 13.9573 4.77577 13.9573H5.61247C5.68586 13.9573 5.73724 14.0333 5.71522 14.1093L3.34458 20.8259C3.30789 20.9247 3.17578 20.9247 3.13908 20.8259L1.43633 15.9784C1.40697 15.9024 1.46569 15.8265 1.53908 15.8265H2.3978C2.44183 15.8265 2.48587 15.8568 2.50055 15.9024L3.11706 17.65C3.15376 17.7487 3.28587 17.7487 3.32257 17.65L4.27669 14.9299C4.30605 14.8539 4.24733 14.7779 4.17394 14.7779H0.107895C0.0345005 14.7779 -0.0168755 14.8539 0.0051428 14.9299L3.13174 23.9259C3.16844 24.0247 3.30055 24.0247 3.33724 23.9259L7.12439 13.152C7.14641 13.076 7.09503 13 7.02164 13Z",fill:"#D8141C"}),s.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 0H10.5C11.05 0 11.5 0.45 11.5 1C11.5 2.25 11.7 3.45 12.07 4.57C12.18 4.92 12.1 5.31 11.82 5.59L9.62 7.79C11.06 10.62 13.38 12.93 16.21 14.38L18.41 12.18C18.61 11.99 18.86 11.89 19.12 11.89C19.22 11.89 19.33 11.9 19.43 11.94C20.55 12.31 21.76 12.51 23 12.51C23.55 12.51 24 12.96 24 13.51V17C24 17.55 23.55 18 23 18C18.98 18 15.2862 16.6052 12.3762 14.2731C12.1893 13.8229 11.8056 13.4545 11.2918 13.3264C8.0321 10.2292 6 5.85228 6 1C6 0.45 6.45 0 7 0Z",fill:"black"}));t("vk-blocks/contact-section",{title:n("Contact section","veu-block"),icon:e,category:"veu-block",attributes:{vertical:{type:"boolean",default:!1}},edit:function(e){var t=e.attributes,l=e.setAttributes,t=(e.className,t.vertical);return s.createElement(i,null,s.createElement(C,null,s.createElement(a,{title:n("Display conditions","veu-block"),initialOpen:!1},s.createElement(o,null,s.createElement(r,{label:n("Set telephone and mail form vertically","veu-block"),className:"mb-1",checked:t,onChange:function(e){return l({vertical:e})}})))),s.createElement("div",{className:"veu_contact_section_block"},s.createElement(c,{block:"vk-blocks/contact-section",attributes:e.attributes})))},save:function(){return null}})}(wp);
4
+ "use strict";!function(e){var l=e.i18n.__,t=e.blocks.registerBlockType,c=e.components,n=c.ServerSideRender,a=(c.PanelBody,e.element.Fragment),r=e.element,e=r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M24,21.5H11l-0.3-1H23V2.4h-21V13h-1V1.4h23V21.5z M5.5,5C6.3,5,7,5.7,7,6.5C7,7.3,6.3,8,5.5,8C4.7,8,4,7.3,4,6.5 C4,5.7,4.7,5,5.5,5z M20,7H9V6h11V7z M7,11.5C7,10.7,6.3,10,5.5,10C4.7,10,4,10.7,4,11.5c0,0.1,0,0.2,0,0.4c0.3-0.2,0.6-0.3,1-0.3h0 L7,11.5L7,11.5z M20,17v-1h-7.9c0,0,0,0,0,0l-0.9,1H20z M20,12H9v-1h11V12z",fill:"black"}),r.createElement("path",{d:"M10.9,14.8l-3.3,0c0,0-0.1,0-0.1,0.1l-0.2,0.7c0,0.1,0,0.2,0.1,0.2h1.3c0.1,0,0.1,0.1,0.1,0.2l-2,2.2h0l1,3.4 c0,0.1,0,0.1-0.1,0.1h-1c-0.1,0-0.1,0-0.1-0.1L6,19.8c0-0.1-0.2-0.1-0.2,0L5.4,21c0,0,0,0,0,0.1l0.4,1.5c0,0,0.1,0.1,0.1,0.1h3.3 c0.1,0,0.1-0.1,0.1-0.1l-1.3-4.3c0,0,0-0.1,0-0.1l3-3.2C11,14.9,11,14.8,10.9,14.8z",fill:"black"}),r.createElement("path",{d:"M7.02164 13L5.03265 13.0076C4.98862 13.0076 4.94458 13.038 4.9299 13.0836L4.67302 13.8054C4.64366 13.8814 4.70238 13.9573 4.77577 13.9573H5.61247C5.68586 13.9573 5.73724 14.0333 5.71522 14.1093L3.34458 20.8259C3.30789 20.9247 3.17578 20.9247 3.13908 20.8259L1.43633 15.9784C1.40697 15.9024 1.46569 15.8265 1.53908 15.8265H2.3978C2.44183 15.8265 2.48587 15.8568 2.50055 15.9024L3.11706 17.65C3.15376 17.7487 3.28587 17.7487 3.32257 17.65L4.27669 14.9299C4.30605 14.8539 4.24733 14.7779 4.17394 14.7779H0.107895C0.0345005 14.7779 -0.0168755 14.8539 0.0051428 14.9299L3.13174 23.9259C3.16844 24.0247 3.30055 24.0247 3.33724 23.9259L7.12439 13.152C7.14641 13.076 7.09503 13 7.02164 13Z",fill:"#D8141C"}));t("vk-blocks/page-list-ancestor",{title:l("Page list from ancestor","veu-block"),icon:e,category:"veu-block",edit:function(e){e=e.className;return r.createElement(a,null,r.createElement("div",{className:"".concat(e," veu_page_list_ancestor_block")},r.createElement(n,{block:"vk-blocks/page-list-ancestor",attributes:{className:e}})))},save:function(){return null}})}(wp);
5
  "use strict";!function(e){var l=e.i18n.__,t=e.blocks.registerBlockType,c=e.components.ServerSideRender,a=e.element.Fragment,n=e.element,e=n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("g",{"clip-path":"url(#clip0)"},n.createElement("path",{d:"M11.5 6V7H5.5V9H6.5V8H17.5V9H18.5V7H12.5V6H11.5Z",fill:"black"}),n.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.5 1.5V4H14.5V1.5H9.5ZM9 0C8.44772 0 8 0.447715 8 1V4.5C8 5.05228 8.44772 5.5 9 5.5H15C15.5523 5.5 16 5.05228 16 4.5V1C16 0.447715 15.5523 0 15 0H9Z",fill:"black"}),n.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.5 11V13.5H8.5V11H3.5ZM3 9.5C2.44772 9.5 2 9.94772 2 10.5V14C2 14.5523 2.44772 15 3 15H9C9.55228 15 10 14.5523 10 14V10.5C10 9.94772 9.55228 9.5 9 9.5H3Z",fill:"black"}),n.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.5 11V13.5H20.5V11H15.5ZM15 9.5C14.4477 9.5 14 9.94772 14 10.5V14C14 14.5523 14.4477 15 15 15H21C21.5523 15 22 14.5523 22 14V10.5C22 9.94772 21.5523 9.5 21 9.5H15Z",fill:"black"}),n.createElement("path",{d:"M7.02166 11.5C8.12596 11.5 8.69181 12.4565 8.61827 13.2832L10.8895 13.2779C12.3071 13.2779 13.0309 14.9832 12.0553 16.0035L9.59833 18.5904L10.6845 22.0882C10.9884 23.0594 10.3009 24.1799 9.15005 24.1799H5.86199C5.49242 24.1799 5.18431 24.0623 4.94092 23.887L4.74798 24.4359L4.74336 24.4483C4.22239 25.8506 2.24664 25.8506 1.72567 24.4483L1.72013 24.4334L-1.42461 15.3852L-1.43556 15.3474C-1.68861 14.4742 -1.12706 13.2779 0.107918 13.2779H3.2686L3.51343 12.59C3.73899 11.9389 4.35249 11.5096 5.02799 11.5076L5.03268 11.5076L7.02166 11.5Z",fill:"white"}),n.createElement("path",{d:"M10.8895 14.7778L7.62346 14.7854C7.57942 14.7854 7.53538 14.8158 7.5207 14.8614L7.27116 15.5832C7.24915 15.6592 7.30052 15.7352 7.37392 15.7352H8.64364C8.73905 15.7352 8.79043 15.8567 8.72437 15.9251L6.69869 18.1058H6.70603L7.74823 21.5021C7.77025 21.578 7.71887 21.6464 7.64548 21.6464H6.62529C6.57392 21.6464 6.53722 21.616 6.52254 21.5704L6.00144 19.8305C5.97208 19.7241 5.83264 19.7241 5.79594 19.8229L5.37025 21.0462C5.36291 21.069 5.36291 21.0918 5.37025 21.1146L5.75924 22.5962C5.77392 22.6418 5.81796 22.6797 5.86199 22.6797H9.15006C9.22345 22.6797 9.27483 22.6038 9.25281 22.5354L7.92437 18.2577C7.90969 18.2197 7.92437 18.1741 7.95373 18.1437L10.9702 14.9678C11.0363 14.8994 10.9849 14.7778 10.8895 14.7778Z",fill:"black"}),n.createElement("path",{d:"M7.02164 13L5.03265 13.0076C4.98862 13.0076 4.94458 13.038 4.9299 13.0836L4.67302 13.8054C4.64366 13.8814 4.70238 13.9573 4.77577 13.9573H5.61247C5.68586 13.9573 5.73724 14.0333 5.71522 14.1093L3.34458 20.8259C3.30789 20.9247 3.17578 20.9247 3.13908 20.8259L1.43633 15.9784C1.40697 15.9024 1.46569 15.8265 1.53908 15.8265H2.3978C2.44183 15.8265 2.48587 15.8568 2.50055 15.9024L3.11706 17.65C3.15376 17.7487 3.28587 17.7487 3.32257 17.65L4.27669 14.9299C4.30605 14.8539 4.24733 14.7779 4.17394 14.7779H0.107895C0.0345005 14.7779 -0.0168755 14.8539 0.0051428 14.9299L3.13174 23.9259C3.16844 24.0247 3.30055 24.0247 3.33724 23.9259L7.12439 13.152C7.14641 13.076 7.09503 13 7.02164 13Z",fill:"#D8141C"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0"},n.createElement("rect",{width:"24",height:"24",fill:"white"}))));t("vk-blocks/sitemap",{title:l("HTML Sitemap","veu-block"),icon:e,category:"veu-block",edit:function(e){e=e.className;return n.createElement(a,null,n.createElement("div",{className:"".concat(e," veu_sitemap_block")},n.createElement(c,{block:"vk-blocks/sitemap",attributes:{className:e}})))},save:function(){return null}})}(wp);
inc/page-list-ancestor/block.jsx CHANGED
@@ -6,8 +6,12 @@
6
  const React = wp.element
7
  const BlockIcon = (
8
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
9
- <path fill-rule="evenodd" clip-rule="evenodd" d="M4 6.5C4 7.33 4.67 8 5.5 8C6.32 8 7 7.33 7 6.5C7 5.68 6.32 5 5.5 5C4.67 5 4 5.68 4 6.5ZM20 6H9V7H20V6ZM7 11.5001L5.03268 11.5076L5.02799 11.5076C4.66401 11.5087 4.31804 11.6338 4.04105 11.8509C4.01421 11.7383 4 11.6209 4 11.5C4 10.68 4.67 10 5.5 10C6.32 10 7 10.68 7 11.5C7 11.5 7 11.5001 7 11.5001ZM11.1089 17L12.0553 16.0035C12.0565 16.0024 12.0576 16.0012 12.0587 16H20V17H11.1089ZM20 11H9V12H20V11Z" fill="black"/>
10
- <path d="M10.8895 14.7778L7.62346 14.7854C7.57942 14.7854 7.53538 14.8158 7.5207 14.8614L7.27116 15.5832C7.24915 15.6592 7.30052 15.7352 7.37392 15.7352H8.64364C8.73905 15.7352 8.79043 15.8567 8.72437 15.9251L6.69869 18.1058H6.70603L7.74823 21.5021C7.77025 21.578 7.71887 21.6464 7.64548 21.6464H6.62529C6.57392 21.6464 6.53722 21.616 6.52254 21.5704L6.00144 19.8305C5.97208 19.7241 5.83264 19.7241 5.79594 19.8229L5.37025 21.0462C5.36291 21.069 5.36291 21.0918 5.37025 21.1146L5.75924 22.5962C5.77392 22.6418 5.81796 22.6797 5.86199 22.6797H9.15006C9.22345 22.6797 9.27483 22.6038 9.25281 22.5354L7.92437 18.2577C7.90969 18.2197 7.92437 18.1741 7.95373 18.1437L10.9702 14.9678C11.0363 14.8994 10.9849 14.7778 10.8895 14.7778Z" fill="black"/>
 
 
 
 
11
  <path d="M7.02164 13L5.03265 13.0076C4.98862 13.0076 4.94458 13.038 4.9299 13.0836L4.67302 13.8054C4.64366 13.8814 4.70238 13.9573 4.77577 13.9573H5.61247C5.68586 13.9573 5.73724 14.0333 5.71522 14.1093L3.34458 20.8259C3.30789 20.9247 3.17578 20.9247 3.13908 20.8259L1.43633 15.9784C1.40697 15.9024 1.46569 15.8265 1.53908 15.8265H2.3978C2.44183 15.8265 2.48587 15.8568 2.50055 15.9024L3.11706 17.65C3.15376 17.7487 3.28587 17.7487 3.32257 17.65L4.27669 14.9299C4.30605 14.8539 4.24733 14.7779 4.17394 14.7779H0.107895C0.0345005 14.7779 -0.0168755 14.8539 0.0051428 14.9299L3.13174 23.9259C3.16844 24.0247 3.30055 24.0247 3.33724 23.9259L7.12439 13.152C7.14641 13.076 7.09503 13 7.02164 13Z" fill="#D8141C"/>
12
  </svg>
13
  );
6
  const React = wp.element
7
  const BlockIcon = (
8
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
9
+ <path d="M24,21.5H11l-0.3-1H23V2.4h-21V13h-1V1.4h23V21.5z M5.5,5C6.3,5,7,5.7,7,6.5C7,7.3,6.3,8,5.5,8C4.7,8,4,7.3,4,6.5
10
+ C4,5.7,4.7,5,5.5,5z M20,7H9V6h11V7z M7,11.5C7,10.7,6.3,10,5.5,10C4.7,10,4,10.7,4,11.5c0,0.1,0,0.2,0,0.4c0.3-0.2,0.6-0.3,1-0.3h0
11
+ L7,11.5L7,11.5z M20,17v-1h-7.9c0,0,0,0,0,0l-0.9,1H20z M20,12H9v-1h11V12z" fill="black"/>
12
+ <path d="M10.9,14.8l-3.3,0c0,0-0.1,0-0.1,0.1l-0.2,0.7c0,0.1,0,0.2,0.1,0.2h1.3c0.1,0,0.1,0.1,0.1,0.2l-2,2.2h0l1,3.4
13
+ c0,0.1,0,0.1-0.1,0.1h-1c-0.1,0-0.1,0-0.1-0.1L6,19.8c0-0.1-0.2-0.1-0.2,0L5.4,21c0,0,0,0,0,0.1l0.4,1.5c0,0,0.1,0.1,0.1,0.1h3.3
14
+ c0.1,0,0.1-0.1,0.1-0.1l-1.3-4.3c0,0,0-0.1,0-0.1l3-3.2C11,14.9,11,14.8,10.9,14.8z" fill="black"/>
15
  <path d="M7.02164 13L5.03265 13.0076C4.98862 13.0076 4.94458 13.038 4.9299 13.0836L4.67302 13.8054C4.64366 13.8814 4.70238 13.9573 4.77577 13.9573H5.61247C5.68586 13.9573 5.73724 14.0333 5.71522 14.1093L3.34458 20.8259C3.30789 20.9247 3.17578 20.9247 3.13908 20.8259L1.43633 15.9784C1.40697 15.9024 1.46569 15.8265 1.53908 15.8265H2.3978C2.44183 15.8265 2.48587 15.8568 2.50055 15.9024L3.11706 17.65C3.15376 17.7487 3.28587 17.7487 3.32257 17.65L4.27669 14.9299C4.30605 14.8539 4.24733 14.7779 4.17394 14.7779H0.107895C0.0345005 14.7779 -0.0168755 14.8539 0.0051428 14.9299L3.13174 23.9259C3.16844 24.0247 3.30055 24.0247 3.33724 23.9259L7.12439 13.152C7.14641 13.076 7.09503 13 7.02164 13Z" fill="#D8141C"/>
16
  </svg>
17
  );
inc/page-list-ancestor/icon.svg CHANGED
@@ -1,5 +1,9 @@
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M4 6.5C4 7.33 4.67 8 5.5 8C6.32 8 7 7.33 7 6.5C7 5.68 6.32 5 5.5 5C4.67 5 4 5.68 4 6.5ZM20 6H9V7H20V6ZM7 11.5001L5.03268 11.5076L5.02799 11.5076C4.66401 11.5087 4.31804 11.6338 4.04105 11.8509C4.01421 11.7383 4 11.6209 4 11.5C4 10.68 4.67 10 5.5 10C6.32 10 7 10.68 7 11.5C7 11.5 7 11.5001 7 11.5001ZM11.1089 17L12.0553 16.0035C12.0565 16.0024 12.0576 16.0012 12.0587 16H20V17H11.1089ZM20 11H9V12H20V11Z" fill="black"/>
3
- <path d="M10.8895 14.7778L7.62346 14.7854C7.57942 14.7854 7.53538 14.8158 7.5207 14.8614L7.27116 15.5832C7.24915 15.6592 7.30052 15.7352 7.37392 15.7352H8.64364C8.73905 15.7352 8.79043 15.8567 8.72437 15.9251L6.69869 18.1058H6.70603L7.74823 21.5021C7.77025 21.578 7.71887 21.6464 7.64548 21.6464H6.62529C6.57392 21.6464 6.53722 21.616 6.52254 21.5704L6.00144 19.8305C5.97208 19.7241 5.83264 19.7241 5.79594 19.8229L5.37025 21.0462C5.36291 21.069 5.36291 21.0918 5.37025 21.1146L5.75924 22.5962C5.77392 22.6418 5.81796 22.6797 5.86199 22.6797H9.15006C9.22345 22.6797 9.27483 22.6038 9.25281 22.5354L7.92437 18.2577C7.90969 18.2197 7.92437 18.1741 7.95373 18.1437L10.9702 14.9678C11.0363 14.8994 10.9849 14.7778 10.8895 14.7778Z" fill="black"/>
 
 
 
 
4
  <path d="M7.02164 13L5.03265 13.0076C4.98862 13.0076 4.94458 13.038 4.9299 13.0836L4.67302 13.8054C4.64366 13.8814 4.70238 13.9573 4.77577 13.9573H5.61247C5.68586 13.9573 5.73724 14.0333 5.71522 14.1093L3.34458 20.8259C3.30789 20.9247 3.17578 20.9247 3.13908 20.8259L1.43633 15.9784C1.40697 15.9024 1.46569 15.8265 1.53908 15.8265H2.3978C2.44183 15.8265 2.48587 15.8568 2.50055 15.9024L3.11706 17.65C3.15376 17.7487 3.28587 17.7487 3.32257 17.65L4.27669 14.9299C4.30605 14.8539 4.24733 14.7779 4.17394 14.7779H0.107895C0.0345005 14.7779 -0.0168755 14.8539 0.0051428 14.9299L3.13174 23.9259C3.16844 24.0247 3.30055 24.0247 3.33724 23.9259L7.12439 13.152C7.14641 13.076 7.09503 13 7.02164 13Z" fill="#D8141C"/>
5
  </svg>
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M24,21.5H11l-0.3-1H23V2.4h-21V13h-1V1.4h23V21.5z M5.5,5C6.3,5,7,5.7,7,6.5C7,7.3,6.3,8,5.5,8C4.7,8,4,7.3,4,6.5
3
+ C4,5.7,4.7,5,5.5,5z M20,7H9V6h11V7z M7,11.5C7,10.7,6.3,10,5.5,10C4.7,10,4,10.7,4,11.5c0,0.1,0,0.2,0,0.4c0.3-0.2,0.6-0.3,1-0.3h0
4
+ L7,11.5L7,11.5z M20,17v-1h-7.9c0,0,0,0,0,0l-0.9,1H20z M20,12H9v-1h11V12z" fill="black"/>
5
+ <path d="M10.9,14.8l-3.3,0c0,0-0.1,0-0.1,0.1l-0.2,0.7c0,0.1,0,0.2,0.1,0.2h1.3c0.1,0,0.1,0.1,0.1,0.2l-2,2.2h0l1,3.4
6
+ c0,0.1,0,0.1-0.1,0.1h-1c-0.1,0-0.1,0-0.1-0.1L6,19.8c0-0.1-0.2-0.1-0.2,0L5.4,21c0,0,0,0,0,0.1l0.4,1.5c0,0,0.1,0.1,0.1,0.1h3.3
7
+ c0.1,0,0.1-0.1,0.1-0.1l-1.3-4.3c0,0,0-0.1,0-0.1l3-3.2C11,14.9,11,14.8,10.9,14.8z" fill="black"/>
8
  <path d="M7.02164 13L5.03265 13.0076C4.98862 13.0076 4.94458 13.038 4.9299 13.0836L4.67302 13.8054C4.64366 13.8814 4.70238 13.9573 4.77577 13.9573H5.61247C5.68586 13.9573 5.73724 14.0333 5.71522 14.1093L3.34458 20.8259C3.30789 20.9247 3.17578 20.9247 3.13908 20.8259L1.43633 15.9784C1.40697 15.9024 1.46569 15.8265 1.53908 15.8265H2.3978C2.44183 15.8265 2.48587 15.8568 2.50055 15.9024L3.11706 17.65C3.15376 17.7487 3.28587 17.7487 3.32257 17.65L4.27669 14.9299C4.30605 14.8539 4.24733 14.7779 4.17394 14.7779H0.107895C0.0345005 14.7779 -0.0168755 14.8539 0.0051428 14.9299L3.13174 23.9259C3.16844 24.0247 3.30055 24.0247 3.33724 23.9259L7.12439 13.152C7.14641 13.076 7.09503 13 7.02164 13Z" fill="#D8141C"/>
9
  </svg>
inc/sns/function-sns-btns.php CHANGED
@@ -4,13 +4,29 @@
4
  *
5
  * @package vk-all-in-one-expantion-unit
6
  */
7
-
8
- if ( 'content' === veu_content_filter_state() ) {
 
 
 
 
 
9
  add_filter( 'the_content', 'veu_add_sns_btns', 200, 1 );
10
  } else {
11
  add_action( 'loop_end', 'veu_add_sns_btns_loopend' );
12
  }
13
 
 
 
 
 
 
 
 
 
 
 
 
14
  /**
15
  * Display share button on loop end
16
  *
4
  *
5
  * @package vk-all-in-one-expantion-unit
6
  */
7
+ $options = veu_get_sns_options();
8
+ if ( ! empty( $options['hook_point'] ) ) {
9
+ $hook_points = explode( "\n", $options['hook_point'] );
10
+ foreach ( $hook_points as $hook_point ) {
11
+ add_action( $hook_point, 'veu_the_sns_btns' );
12
+ }
13
+ } elseif ( 'content' === veu_content_filter_state() ) {
14
  add_filter( 'the_content', 'veu_add_sns_btns', 200, 1 );
15
  } else {
16
  add_action( 'loop_end', 'veu_add_sns_btns_loopend' );
17
  }
18
 
19
+
20
+ /**
21
+ * Display share button on hook point
22
+ *
23
+ * @param object $query : main query.
24
+ * @return void
25
+ */
26
+ function veu_the_sns_btns( $query ) {
27
+ echo veu_get_sns_btns();
28
+ }
29
+
30
  /**
31
  * Display share button on loop end
32
  *
inc/sns/sns.php CHANGED
@@ -113,6 +113,7 @@ function veu_get_sns_options_default() {
113
  'useLine' => true,
114
  'useCopy' => true,
115
  'entry_count' => 'get',
 
116
  );
117
  return apply_filters( 'vkExUnit_sns_options_default', $default_options );
118
  }
@@ -270,10 +271,15 @@ function vkExUnit_sns_options_validate( $input ) {
270
  $output['useTwitter'] = ( isset( $input['useTwitter'] ) && $input['useTwitter'] == 'true' );
271
  $output['useHatena'] = ( isset( $input['useHatena'] ) && $input['useHatena'] == 'true' );
272
  $output['usePocket'] = ( isset( $input['usePocket'] ) && $input['usePocket'] == 'true' );
273
- $output['useCopy'] = ( isset( $input['useCopy'] ) && $input['useCopy'] == 'true' );
274
  $output['useLine'] = ( isset( $input['useLine'] ) && $input['useLine'] == 'true' );
275
  $output['entry_count'] = esc_attr( $input['entry_count'] );
276
 
 
 
 
 
 
277
  /*
278
  SNSボタンの塗りつぶし関連は管理画面に値がないので、カスタマイザーで保存された値を入れる必要がある
279
  既に保存されている値をアップデート用にそのまま返すだけなのでサニタイズしていない
113
  'useLine' => true,
114
  'useCopy' => true,
115
  'entry_count' => 'get',
116
+ 'hook_point' => '',
117
  );
118
  return apply_filters( 'vkExUnit_sns_options_default', $default_options );
119
  }
271
  $output['useTwitter'] = ( isset( $input['useTwitter'] ) && $input['useTwitter'] == 'true' );
272
  $output['useHatena'] = ( isset( $input['useHatena'] ) && $input['useHatena'] == 'true' );
273
  $output['usePocket'] = ( isset( $input['usePocket'] ) && $input['usePocket'] == 'true' );
274
+ $output['useCopy'] = ( isset( $input['useCopy'] ) && $input['useCopy'] == 'true' );
275
  $output['useLine'] = ( isset( $input['useLine'] ) && $input['useLine'] == 'true' );
276
  $output['entry_count'] = esc_attr( $input['entry_count'] );
277
 
278
+
279
+ $output['hook_point'] = esc_html( $input['hook_point'] );
280
+ $output['hook_point'] = str_replace( array( ' ', ' ', "\t", "\r\n", "\r", "\n", ',' ), "\n", $output['hook_point'] );
281
+ $output['hook_point'] = str_replace( "\n\n", "\n", $output['hook_point'] );
282
+
283
  /*
284
  SNSボタンの塗りつぶし関連は管理画面に値がないので、カスタマイザーで保存された値を入れる必要がある
285
  既に保存されている値をアップデート用にそのまま返すだけなのでサニタイズしていない
inc/sns/sns_admin.php CHANGED
@@ -194,6 +194,19 @@ if ( ! empty( $options['snsBtn_position']['after'] ) ) {
194
  </td>
195
  </tr>
196
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  </table>
198
 
199
  <?php submit_button(); ?>
194
  </td>
195
  </tr>
196
 
197
+ <tr>
198
+ <th><label ><?php _e( 'Output action hook (optional)', 'POST', 'vk-all-in-one-expansion-unit' ); ?></label></th>
199
+ <td>
200
+ <p>
201
+ <?php _e( 'By default, it is output at the bottom of the content.', 'POST', 'vk-all-in-one-expansion-unit' ); ?><br>
202
+ <?php _e( 'If you want to change the location of share buttons, please enter the action hook name.', 'POST', 'vk-all-in-one-expansion-unit' ); ?><br>
203
+ <?php _e( 'If you want to multiple display that, input action hook name separated by line breaks.', 'POST', 'vk-all-in-one-expansion-unit' ); ?><br>
204
+ <?php _e( 'Ex) lightning_comment_before', 'POST', 'vk-all-in-one-expansion-unit' ); ?>
205
+ </p>
206
+ <textarea name="vkExUnit_sns_options[hook_point]" id="hook_point" style="width:100%;" rows="2"><?php echo esc_html( $options['hook_point'] ); ?></textarea>
207
+ </td>
208
+ </tr>
209
+
210
  </table>
211
 
212
  <?php submit_button(); ?>
languages/veu-block.pot CHANGED
@@ -27,7 +27,7 @@ msgstr ""
27
  msgid "Set telephone and mail form vertically"
28
  msgstr ""
29
 
30
- #: inc/page-list-ancestor/block.jsx:16
31
  msgid "Page list from ancestor"
32
  msgstr ""
33
 
27
  msgid "Set telephone and mail form vertically"
28
  msgstr ""
29
 
30
+ #: inc/page-list-ancestor/block.jsx:20
31
  msgid "Page list from ancestor"
32
  msgstr ""
33
 
readme.txt CHANGED
@@ -81,6 +81,10 @@ e.g.
81
 
82
  == Changelog ==
83
 
 
 
 
 
84
  = 9.77.0.0 =
85
  [ Specification Change ][ Custom Post Type Manager ] Change to Cope with Block Editor default
86
  [ Bug Fix ] Fix register thumbnail on edit screen under welcart environment
81
 
82
  == Changelog ==
83
 
84
+ = 9.78.0.0 =
85
+ [ Add function ][ SNS ] Add function of change out put action hook.
86
+ [ Specification Change ][ Page list from ancestor block ] change icon
87
+
88
  = 9.77.0.0 =
89
  [ Specification Change ][ Custom Post Type Manager ] Change to Cope with Block Editor default
90
  [ Bug Fix ] Fix register thumbnail on edit screen under welcart environment
vendor/autoload.php CHANGED
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
- return ComposerAutoloaderInit11f27f9ab9a7f1fdb9f53e28a7991c8a::getLoader();
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
+ return ComposerAutoloaderInit4cc58f1bf8f09b6cff1002fb943d2c6a::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit11f27f9ab9a7f1fdb9f53e28a7991c8a
6
  {
7
  private static $loader;
8
 
@@ -24,12 +24,12 @@ class ComposerAutoloaderInit11f27f9ab9a7f1fdb9f53e28a7991c8a
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit11f27f9ab9a7f1fdb9f53e28a7991c8a', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit11f27f9ab9a7f1fdb9f53e28a7991c8a', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
- call_user_func(\Composer\Autoload\ComposerStaticInit11f27f9ab9a7f1fdb9f53e28a7991c8a::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit4cc58f1bf8f09b6cff1002fb943d2c6a
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit4cc58f1bf8f09b6cff1002fb943d2c6a', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit4cc58f1bf8f09b6cff1002fb943d2c6a', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
+ call_user_func(\Composer\Autoload\ComposerStaticInit4cc58f1bf8f09b6cff1002fb943d2c6a::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit11f27f9ab9a7f1fdb9f53e28a7991c8a
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'V' =>
@@ -46,9 +46,9 @@ class ComposerStaticInit11f27f9ab9a7f1fdb9f53e28a7991c8a
46
  public static function getInitializer(ClassLoader $loader)
47
  {
48
  return \Closure::bind(function () use ($loader) {
49
- $loader->prefixLengthsPsr4 = ComposerStaticInit11f27f9ab9a7f1fdb9f53e28a7991c8a::$prefixLengthsPsr4;
50
- $loader->prefixDirsPsr4 = ComposerStaticInit11f27f9ab9a7f1fdb9f53e28a7991c8a::$prefixDirsPsr4;
51
- $loader->classMap = ComposerStaticInit11f27f9ab9a7f1fdb9f53e28a7991c8a::$classMap;
52
 
53
  }, null, ClassLoader::class);
54
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit4cc58f1bf8f09b6cff1002fb943d2c6a
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'V' =>
46
  public static function getInitializer(ClassLoader $loader)
47
  {
48
  return \Closure::bind(function () use ($loader) {
49
+ $loader->prefixLengthsPsr4 = ComposerStaticInit4cc58f1bf8f09b6cff1002fb943d2c6a::$prefixLengthsPsr4;
50
+ $loader->prefixDirsPsr4 = ComposerStaticInit4cc58f1bf8f09b6cff1002fb943d2c6a::$prefixDirsPsr4;
51
+ $loader->classMap = ComposerStaticInit4cc58f1bf8f09b6cff1002fb943d2c6a::$classMap;
52
 
53
  }, null, ClassLoader::class);
54
  }
vendor/composer/installed.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'vektor-inc/vk-all-in-one-expansion-unit',
4
- 'pretty_version' => '9.77.0.0',
5
- 'version' => '9.77.0.0',
6
- 'reference' => 'c37ad02137c9f1bacea4560868424d287c63f8e7',
7
  'type' => 'project',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
@@ -20,9 +20,9 @@
20
  'dev_requirement' => false,
21
  ),
22
  'vektor-inc/vk-all-in-one-expansion-unit' => array(
23
- 'pretty_version' => '9.77.0.0',
24
- 'version' => '9.77.0.0',
25
- 'reference' => 'c37ad02137c9f1bacea4560868424d287c63f8e7',
26
  'type' => 'project',
27
  'install_path' => __DIR__ . '/../../',
28
  'aliases' => array(),
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'vektor-inc/vk-all-in-one-expansion-unit',
4
+ 'pretty_version' => '9.78.0.0',
5
+ 'version' => '9.78.0.0',
6
+ 'reference' => 'e2ecb30c6408e4d76be20218b70f9939b1f3d514',
7
  'type' => 'project',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
20
  'dev_requirement' => false,
21
  ),
22
  'vektor-inc/vk-all-in-one-expansion-unit' => array(
23
+ 'pretty_version' => '9.78.0.0',
24
+ 'version' => '9.78.0.0',
25
+ 'reference' => 'e2ecb30c6408e4d76be20218b70f9939b1f3d514',
26
  'type' => 'project',
27
  'install_path' => __DIR__ . '/../../',
28
  'aliases' => array(),
vkExUnit.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: VK All in One Expansion Unit
4
  * Plugin URI: https://ex-unit.nagoya
5
  * Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
- * Version: 9.77.0.0
7
  * Requires PHP: 7.2
8
  * Author: Vektor,Inc.
9
  * Text Domain: vk-all-in-one-expansion-unit
3
  * Plugin Name: VK All in One Expansion Unit
4
  * Plugin URI: https://ex-unit.nagoya
5
  * Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
+ * Version: 9.78.0.0
7
  * Requires PHP: 7.2
8
  * Author: Vektor,Inc.
9
  * Text Domain: vk-all-in-one-expansion-unit