rb-document-form-constructor 0.8.62 → 0.8.63

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.
@@ -7497,18 +7497,18 @@ Object.defineProperty(VueI18n, 'availabilities', {
7497
7497
  VueI18n.install = install$1;
7498
7498
  VueI18n.version = '8.28.2';
7499
7499
 
7500
- var VueI18n$1 = VueI18n;var validate$2 = {
7500
+ var VueI18n$1 = VueI18n;var validate$1 = {
7501
7501
  required: "Поле \"{field}\" обязательно",
7502
7502
  min: "Минимальное значение для этого поля {min}"
7503
7503
  };
7504
7504
  var Ru = {
7505
- validate: validate$2
7506
- };var validate$1 = {
7505
+ validate: validate$1
7506
+ };var validate = {
7507
7507
  required: "\"{field}\" жолы міндетті",
7508
7508
  min: "Бұл жол үшін ең кіші мән {min}"
7509
7509
  };
7510
7510
  var Kz = {
7511
- validate: validate$1
7511
+ validate: validate
7512
7512
  };var locale = localStorage.getItem('lang') ? localStorage.getItem('lang') : 'Ru';
7513
7513
  Vue__default["default"].use(VueI18n$1);
7514
7514
  var i18n = new VueI18n$1({
@@ -7722,7 +7722,7 @@ var __vue_inject_styles__$5 = undefined;
7722
7722
  var __vue_scope_id__$5 = undefined;
7723
7723
  /* module identifier */
7724
7724
 
7725
- var __vue_module_identifier__$5 = "data-v-779f90b2";
7725
+ var __vue_module_identifier__$5 = "data-v-4f837662";
7726
7726
  /* functional template */
7727
7727
 
7728
7728
  var __vue_is_functional_template__$5 = false;
@@ -13274,7 +13274,7 @@ var __vue_inject_styles__$4 = undefined;
13274
13274
  var __vue_scope_id__$4 = undefined;
13275
13275
  /* module identifier */
13276
13276
 
13277
- var __vue_module_identifier__$4 = "data-v-3e6871e0";
13277
+ var __vue_module_identifier__$4 = "data-v-12095172";
13278
13278
  /* functional template */
13279
13279
 
13280
13280
  var __vue_is_functional_template__$4 = false;
@@ -13299,8 +13299,6 @@ function rng() {
13299
13299
  }
13300
13300
 
13301
13301
  return rnds8Pool.slice(poolPtr, poolPtr += 16);
13302
- }var REGEX = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function validate(uuid) {
13303
- return typeof uuid === 'string' && REGEX.test(uuid);
13304
13302
  }/**
13305
13303
  * Convert array of 16 byte values to UUID string format of the form:
13306
13304
  * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
@@ -13309,24 +13307,20 @@ function rng() {
13309
13307
  const byteToHex = [];
13310
13308
 
13311
13309
  for (let i = 0; i < 256; ++i) {
13312
- byteToHex.push((i + 0x100).toString(16).substr(1));
13310
+ byteToHex.push((i + 0x100).toString(16).slice(1));
13313
13311
  }
13314
13312
 
13315
- function stringify(arr, offset = 0) {
13313
+ function unsafeStringify(arr, offset = 0) {
13316
13314
  // Note: Be careful editing this code! It's been tuned for performance
13317
13315
  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
13318
- const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one
13319
- // of the following:
13320
- // - One or more input array values don't map to a hex octet (leading to
13321
- // "undefined" in the uuid)
13322
- // - Invalid input values for the RFC `version` or `variant` fields
13323
-
13324
- if (!validate(uuid)) {
13325
- throw TypeError('Stringified UUID is invalid');
13316
+ return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
13317
+ }var native = {
13318
+ randomUUID: crypto__default["default"].randomUUID
13319
+ };function v4(options, buf, offset) {
13320
+ if (native.randomUUID && !buf && !options) {
13321
+ return native.randomUUID();
13326
13322
  }
13327
13323
 
13328
- return uuid;
13329
- }function v4(options, buf, offset) {
13330
13324
  options = options || {};
13331
13325
  const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
13332
13326
 
@@ -13343,7 +13337,7 @@ function stringify(arr, offset = 0) {
13343
13337
  return buf;
13344
13338
  }
13345
13339
 
13346
- return stringify(rnds);
13340
+ return unsafeStringify(rnds);
13347
13341
  }var toString = Object.prototype.toString;
13348
13342
 
13349
13343
  var _typeof = function(object) {
@@ -13746,7 +13740,7 @@ var __vue_inject_styles__$3 = undefined;
13746
13740
  var __vue_scope_id__$3 = undefined;
13747
13741
  /* module identifier */
13748
13742
 
13749
- var __vue_module_identifier__$3 = "data-v-5e653ed8";
13743
+ var __vue_module_identifier__$3 = "data-v-44384cd9";
13750
13744
  /* functional template */
13751
13745
 
13752
13746
  var __vue_is_functional_template__$3 = false;
@@ -14190,7 +14184,7 @@ var __vue_inject_styles__$2 = undefined;
14190
14184
  var __vue_scope_id__$2 = undefined;
14191
14185
  /* module identifier */
14192
14186
 
14193
- var __vue_module_identifier__$2 = "data-v-229c821a";
14187
+ var __vue_module_identifier__$2 = "data-v-4391e2c5";
14194
14188
  /* functional template */
14195
14189
 
14196
14190
  var __vue_is_functional_template__$2 = false;
@@ -14626,7 +14620,7 @@ var __vue_inject_styles__$1 = undefined;
14626
14620
  var __vue_scope_id__$1 = undefined;
14627
14621
  /* module identifier */
14628
14622
 
14629
- var __vue_module_identifier__$1 = "data-v-47ee5630";
14623
+ var __vue_module_identifier__$1 = "data-v-d1baa99a";
14630
14624
  /* functional template */
14631
14625
 
14632
14626
  var __vue_is_functional_template__$1 = false;
@@ -14737,11 +14731,11 @@ var DocTemplateFieldSidebar = __vue_component__$2;var script = {
14737
14731
  },
14738
14732
  removeSection: function removeSection(section, index) {
14739
14733
  this.formConfig.sections.splice(index, 1);
14740
- /*UtModal.showYesNoDialog('Вы действительно хотите удалить секцию?', {
14741
- onOk: (event, modal) => {
14742
- this.formConfig.sections.splice(index, 1);
14743
- UtModal.closeModal(modal);
14744
- }
14734
+ /*UtModal.showYesNoDialog('Вы действительно хотите удалить секцию?', {
14735
+ onOk: (event, modal) => {
14736
+ this.formConfig.sections.splice(index, 1);
14737
+ UtModal.closeModal(modal);
14738
+ }
14745
14739
  });*/
14746
14740
  },
14747
14741
  multipleFieldAreOnFormConfig: function multipleFieldAreOnFormConfig(field) {
@@ -15051,7 +15045,7 @@ var __vue_inject_styles__ = undefined;
15051
15045
  var __vue_scope_id__ = undefined;
15052
15046
  /* module identifier */
15053
15047
 
15054
- var __vue_module_identifier__ = "data-v-4b6e26ca";
15048
+ var __vue_module_identifier__ = "data-v-1d0e94ea";
15055
15049
  /* functional template */
15056
15050
 
15057
15051
  var __vue_is_functional_template__ = false;
@@ -1,3 +1,3 @@
1
- .cursor-pointer {
2
- cursor: pointer;
3
- }
1
+ .cursor-pointer {
2
+ cursor: pointer;
3
+ }
@@ -1,17 +1,17 @@
1
- // DocTemplateFacetList
2
- $rb-facet-list-border-color: $border-color !default;
3
-
4
- // DocTemplateConstructor
5
- $rb-doc-template-constructor-title-color: #333 !default;
6
- $rb-doc-template-constructor-title-font-size: 16px !default;
7
- $rb-doc-template-section-bg: #E9EAEA !default;
8
- $rb-doc-template-constructor-form-column-border-color: #D5D5D6;
9
-
10
- // DocTemplateFieldSidebar
11
- $rb-doc-template-field-sidebar-font-size-lg: 1rem !default;
12
- $rb-doc-template-field-sidebar-top: 72px !default;
13
- $rb-doc-template-field-sidebar-close-button-left: -46px !default;
14
-
15
- // DocForm
16
- $rb-doc-form-font-size-lg: 1rem !default;
17
- $rb-doc-form-legend-line-height: $line-height-base !default;
1
+ // DocTemplateFacetList
2
+ $rb-facet-list-border-color: $border-color !default;
3
+
4
+ // DocTemplateConstructor
5
+ $rb-doc-template-constructor-title-color: #333 !default;
6
+ $rb-doc-template-constructor-title-font-size: 16px !default;
7
+ $rb-doc-template-section-bg: #E9EAEA !default;
8
+ $rb-doc-template-constructor-form-column-border-color: #D5D5D6;
9
+
10
+ // DocTemplateFieldSidebar
11
+ $rb-doc-template-field-sidebar-font-size-lg: 1rem !default;
12
+ $rb-doc-template-field-sidebar-top: 72px !default;
13
+ $rb-doc-template-field-sidebar-close-button-left: -46px !default;
14
+
15
+ // DocForm
16
+ $rb-doc-form-font-size-lg: 1rem !default;
17
+ $rb-doc-form-legend-line-height: $line-height-base !default;
@@ -1,36 +1,36 @@
1
- .rb-doc-form {
2
- h4 {
3
- font-weight: bold;
4
- font-size: $rb-doc-form-font-size-lg;
5
- }
6
-
7
- .rb-form-section {
8
- padding-bottom: 10px;
9
- padding-top: 10px;
10
- }
11
-
12
- .rb-form-column {
13
- flex: 1;
14
- }
15
-
16
- .rb-form-column:first-child {
17
- margin-left: 0;
18
- }
19
-
20
- .rb-form-column:last-child {
21
- margin-right: 0;
22
- }
23
-
24
- .rb-form-column {
25
- margin-left: 10px;
26
- margin-right: 10px;
27
- }
28
-
29
- legend.col-form-label {
30
- max-width: 100%;
31
- display: block;
32
- overflow: hidden;
33
- text-overflow: ellipsis;
34
- white-space: nowrap;
35
- }
36
- }
1
+ .rb-doc-form {
2
+ h4 {
3
+ font-weight: bold;
4
+ font-size: $rb-doc-form-font-size-lg;
5
+ }
6
+
7
+ .rb-form-section {
8
+ padding-bottom: 10px;
9
+ padding-top: 10px;
10
+ }
11
+
12
+ .rb-form-column {
13
+ flex: 1;
14
+ }
15
+
16
+ .rb-form-column:first-child {
17
+ margin-left: 0;
18
+ }
19
+
20
+ .rb-form-column:last-child {
21
+ margin-right: 0;
22
+ }
23
+
24
+ .rb-form-column {
25
+ margin-left: 10px;
26
+ margin-right: 10px;
27
+ }
28
+
29
+ legend.col-form-label {
30
+ max-width: 100%;
31
+ display: block;
32
+ overflow: hidden;
33
+ text-overflow: ellipsis;
34
+ white-space: nowrap;
35
+ }
36
+ }
@@ -1,112 +1,112 @@
1
- .rb-doc-template-constructor {
2
- height: 100%;
3
-
4
- h4 {
5
- color: $rb-doc-template-constructor-title-color;
6
- font-weight: bold;
7
- font-size: $rb-doc-template-constructor-title-font-size;
8
- }
9
-
10
- .rb-form-constructor {
11
- height: 100%;
12
- overflow-y: auto;
13
- background-color: white;
14
- }
15
-
16
- .rb-constructor-toolbar {
17
- padding: 16px 16px 16px 16px;
18
- background-color: white;
19
- border-bottom: 1px solid $border-color;
20
-
21
- h4 {
22
- margin-bottom: 0;
23
- line-height: 38px;
24
- margin-right: 10px;
25
- }
26
-
27
- .btn {
28
- margin-left: 10px;
29
- }
30
- }
31
-
32
- .rb-constructor-body {
33
- padding: 16px;
34
-
35
- .card {
36
- border-width: 2px;
37
- border-style: dashed;
38
- background-color: $rb-doc-template-section-bg;
39
-
40
- .card-header, .card-body {
41
- background-color: $rb-doc-template-section-bg;
42
- border-color: $border-color;
43
-
44
- }
45
- }
46
-
47
- .rb-form-card {
48
- margin-bottom: 20px;
49
-
50
- .rb-form-column {
51
- flex: 1;
52
- }
53
-
54
- .card-header {
55
- border-bottom-width: 0;
56
- display: flex;
57
- flex-direction: row;
58
-
59
- .rb-text {
60
- font-size: 16px;
61
- line-height: 24px;
62
- font-weight: bold;
63
- }
64
-
65
- .rb-icon {
66
- line-height: 24px;
67
- font-size: 16px;
68
- }
69
- }
70
- }
71
-
72
- .rb-form-column {
73
- .form-group:hover {
74
- legend.col-form-label .rb-actions {
75
- visibility: visible;
76
- }
77
- }
78
-
79
- legend.col-form-label {
80
- font-size: $font-size-base;
81
- font-weight: bold;
82
- margin-bottom: 12px;
83
- display: flex;
84
- flex-direction: row;
85
- color: $rb-doc-template-constructor-title-color;
86
-
87
- .rb-text {
88
- flex: 1;
89
- }
90
-
91
- .rb-actions {
92
- visibility: hidden;
93
- }
94
- }
95
-
96
- .form-control:disabled,
97
- .btn.disabled {
98
- background-color: white;
99
- opacity: 1;
100
- }
101
- }
102
-
103
- .rb-form-column {
104
- padding: 10px;
105
- border: 2px dashed $rb-doc-template-constructor-form-column-border-color;
106
- }
107
-
108
- .rb-form-column:not(.rb-single-column) {
109
- margin: 0 10px;
110
- }
111
- }
112
- }
1
+ .rb-doc-template-constructor {
2
+ height: 100%;
3
+
4
+ h4 {
5
+ color: $rb-doc-template-constructor-title-color;
6
+ font-weight: bold;
7
+ font-size: $rb-doc-template-constructor-title-font-size;
8
+ }
9
+
10
+ .rb-form-constructor {
11
+ height: 100%;
12
+ overflow-y: auto;
13
+ background-color: white;
14
+ }
15
+
16
+ .rb-constructor-toolbar {
17
+ padding: 16px 16px 16px 16px;
18
+ background-color: white;
19
+ border-bottom: 1px solid $border-color;
20
+
21
+ h4 {
22
+ margin-bottom: 0;
23
+ line-height: 38px;
24
+ margin-right: 10px;
25
+ }
26
+
27
+ .btn {
28
+ margin-left: 10px;
29
+ }
30
+ }
31
+
32
+ .rb-constructor-body {
33
+ padding: 16px;
34
+
35
+ .card {
36
+ border-width: 2px;
37
+ border-style: dashed;
38
+ background-color: $rb-doc-template-section-bg;
39
+
40
+ .card-header, .card-body {
41
+ background-color: $rb-doc-template-section-bg;
42
+ border-color: $border-color;
43
+
44
+ }
45
+ }
46
+
47
+ .rb-form-card {
48
+ margin-bottom: 20px;
49
+
50
+ .rb-form-column {
51
+ flex: 1;
52
+ }
53
+
54
+ .card-header {
55
+ border-bottom-width: 0;
56
+ display: flex;
57
+ flex-direction: row;
58
+
59
+ .rb-text {
60
+ font-size: 16px;
61
+ line-height: 24px;
62
+ font-weight: bold;
63
+ }
64
+
65
+ .rb-icon {
66
+ line-height: 24px;
67
+ font-size: 16px;
68
+ }
69
+ }
70
+ }
71
+
72
+ .rb-form-column {
73
+ .form-group:hover {
74
+ legend.col-form-label .rb-actions {
75
+ visibility: visible;
76
+ }
77
+ }
78
+
79
+ legend.col-form-label {
80
+ font-size: $font-size-base;
81
+ font-weight: bold;
82
+ margin-bottom: 12px;
83
+ display: flex;
84
+ flex-direction: row;
85
+ color: $rb-doc-template-constructor-title-color;
86
+
87
+ .rb-text {
88
+ flex: 1;
89
+ }
90
+
91
+ .rb-actions {
92
+ visibility: hidden;
93
+ }
94
+ }
95
+
96
+ .form-control:disabled,
97
+ .btn.disabled {
98
+ background-color: white;
99
+ opacity: 1;
100
+ }
101
+ }
102
+
103
+ .rb-form-column {
104
+ padding: 10px;
105
+ border: 2px dashed $rb-doc-template-constructor-form-column-border-color;
106
+ }
107
+
108
+ .rb-form-column:not(.rb-single-column) {
109
+ margin: 0 10px;
110
+ }
111
+ }
112
+ }
@@ -1,41 +1,41 @@
1
- .rb-facets-sidebar {
2
- height: 100%;
3
- width: 264px;
4
- overflow-y: auto;
5
- background-color: white;
6
- border-right: 1px solid $rb-facet-list-border-color;
7
-
8
- h4 {
9
- padding: 24px 16px 16px 16px;
10
- }
11
-
12
- h6 {
13
- padding-left: 16px;
14
- padding-right: 16px;
15
- font-weight: 500;
16
- }
17
-
18
- form {
19
- padding-left: 16px;
20
- padding-right: 16px;
21
- }
22
-
23
- .rb-facet-label {
24
- font-weight: bold;
25
- }
26
-
27
- .rb-facet-list {
28
- .rb-facet {
29
- padding: 10px 0;
30
- }
31
-
32
- & > .rb-facet:not(:last-child) {
33
- border-bottom: 1px solid $rb-facet-list-border-color;
34
- }
35
-
36
- .list-group-item {
37
- border-radius: 0;
38
- border: none;
39
- }
40
- }
41
- }
1
+ .rb-facets-sidebar {
2
+ height: 100%;
3
+ width: 264px;
4
+ overflow-y: auto;
5
+ background-color: white;
6
+ border-right: 1px solid $rb-facet-list-border-color;
7
+
8
+ h4 {
9
+ padding: 24px 16px 16px 16px;
10
+ }
11
+
12
+ h6 {
13
+ padding-left: 16px;
14
+ padding-right: 16px;
15
+ font-weight: 500;
16
+ }
17
+
18
+ form {
19
+ padding-left: 16px;
20
+ padding-right: 16px;
21
+ }
22
+
23
+ .rb-facet-label {
24
+ font-weight: bold;
25
+ }
26
+
27
+ .rb-facet-list {
28
+ .rb-facet {
29
+ padding: 10px 0;
30
+ }
31
+
32
+ & > .rb-facet:not(:last-child) {
33
+ border-bottom: 1px solid $rb-facet-list-border-color;
34
+ }
35
+
36
+ .list-group-item {
37
+ border-radius: 0;
38
+ border: none;
39
+ }
40
+ }
41
+ }
@@ -1,52 +1,52 @@
1
- .rb-doc-template-field-sidebar {
2
- .dropdown-menu.show {
3
- max-width: 288px;
4
- }
5
-
6
- .b-sidebar {
7
- top: $rb-doc-template-field-sidebar-top;
8
- padding-bottom: $rb-doc-template-field-sidebar-top;
9
- }
10
-
11
- .rb-sidebar-close-btn {
12
- opacity: 0.5;
13
- position: absolute;
14
- left: $rb-doc-template-field-sidebar-close-button-left;
15
- border-radius: 0;
16
- padding-left: 4px;
17
- padding-right: 4px;
18
- font-size: 16px;
19
-
20
- .rb-icon {
21
- font-size: 24px;
22
- line-height: 24px;
23
- vertical-align: middle;
24
- }
25
- }
26
-
27
- form {
28
- padding: 10px 16px;
29
-
30
- .rb-form-section {
31
- margin-bottom: 20px;
32
-
33
- & > .rb-title {
34
- font-size: $rb-doc-template-field-sidebar-font-size-lg;
35
- font-weight: bold;
36
- margin-bottom: 10px;
37
- }
38
- }
39
- }
40
-
41
- h4 {
42
- margin-bottom: 0;
43
- }
44
-
45
- .form-group.rb-immutable .rb-text {
46
- font-size: $rb-doc-template-field-sidebar-font-size-lg;
47
- }
48
-
49
- .custom-checkbox {
50
- margin-bottom: 12px;
51
- }
52
- }
1
+ .rb-doc-template-field-sidebar {
2
+ .dropdown-menu.show {
3
+ max-width: 288px;
4
+ }
5
+
6
+ .b-sidebar {
7
+ top: $rb-doc-template-field-sidebar-top;
8
+ padding-bottom: $rb-doc-template-field-sidebar-top;
9
+ }
10
+
11
+ .rb-sidebar-close-btn {
12
+ opacity: 0.5;
13
+ position: absolute;
14
+ left: $rb-doc-template-field-sidebar-close-button-left;
15
+ border-radius: 0;
16
+ padding-left: 4px;
17
+ padding-right: 4px;
18
+ font-size: 16px;
19
+
20
+ .rb-icon {
21
+ font-size: 24px;
22
+ line-height: 24px;
23
+ vertical-align: middle;
24
+ }
25
+ }
26
+
27
+ form {
28
+ padding: 10px 16px;
29
+
30
+ .rb-form-section {
31
+ margin-bottom: 20px;
32
+
33
+ & > .rb-title {
34
+ font-size: $rb-doc-template-field-sidebar-font-size-lg;
35
+ font-weight: bold;
36
+ margin-bottom: 10px;
37
+ }
38
+ }
39
+ }
40
+
41
+ h4 {
42
+ margin-bottom: 0;
43
+ }
44
+
45
+ .form-group.rb-immutable .rb-text {
46
+ font-size: $rb-doc-template-field-sidebar-font-size-lg;
47
+ }
48
+
49
+ .custom-checkbox {
50
+ margin-bottom: 12px;
51
+ }
52
+ }