@redneckz/wildless-cms-uni-blocks 0.14.524 → 0.14.526

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.
@@ -40,6 +40,7 @@ async function transformHTML(html) {
40
40
  protocols: {
41
41
  ...rehype_sanitize_1.defaultSchema.protocols,
42
42
  href: [...(rehype_sanitize_1.defaultSchema?.protocols?.href || []), 'tel'],
43
+ src: [...(rehype_sanitize_1.defaultSchema.protocols?.src ?? []), 'data'],
43
44
  },
44
45
  };
45
46
  const result = await (0, unified_1.unified)()
@@ -1 +1 @@
1
- {"version":3,"file":"transformHTML.js","sourceRoot":"","sources":["../../src/content-page-repository/transformHTML.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAuC;AACvC,mEAAgE;AAChE,wEAA+C;AAC/C,qCAAkC;AAClC,6DAA0D;AAEnD,KAAK,UAAU,aAAa,CAAC,IAA+B;IACjE,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,cAAc,GAAG;QACrB,GAAG,+BAAa;QAChB,SAAS,EAAE;YACT,GAAG,+BAAa,CAAC,SAAS;YAC1B,IAAI,EAAE,CAAC,GAAG,CAAC,+BAAa,EAAE,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC;SACzD;KACF,CAAC;IAEF,MAAM,MAAM,GAAG,MAAM,IAAA,iBAAO,GAAE;SAC3B,GAAG,CAAC,sBAAW,CAAC;SAChB,GAAG,CAAC,yBAAc,EAAE,cAAc,CAAC;SACnC,GAAG,CAAC,0BAAe,CAAC;SACpB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB,OAAO,IAAA,uCAAkB,EAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;AACtD,CAAC;AApBD,sCAoBC"}
1
+ {"version":3,"file":"transformHTML.js","sourceRoot":"","sources":["../../src/content-page-repository/transformHTML.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAuC;AACvC,mEAAgE;AAChE,wEAA+C;AAC/C,qCAAkC;AAClC,6DAA0D;AAEnD,KAAK,UAAU,aAAa,CAAC,IAA+B;IACjE,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,cAAc,GAAG;QACrB,GAAG,+BAAa;QAChB,SAAS,EAAE;YACT,GAAG,+BAAa,CAAC,SAAS;YAC1B,IAAI,EAAE,CAAC,GAAG,CAAC,+BAAa,EAAE,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC;YACxD,GAAG,EAAE,CAAC,GAAG,CAAC,+BAAa,CAAC,SAAS,EAAE,GAAG,IAAI,EAAE,CAAC,EAAE,MAAM,CAAC;SACvD;KACF,CAAC;IAEF,MAAM,MAAM,GAAG,MAAM,IAAA,iBAAO,GAAE;SAC3B,GAAG,CAAC,sBAAW,CAAC;SAChB,GAAG,CAAC,yBAAc,EAAE,cAAc,CAAC;SACnC,GAAG,CAAC,0BAAe,CAAC;SACpB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB,OAAO,IAAA,uCAAkB,EAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;AACtD,CAAC;AArBD,sCAqBC"}
@@ -12,6 +12,7 @@ export async function transformHTML(html) {
12
12
  protocols: {
13
13
  ...defaultSchema.protocols,
14
14
  href: [...(defaultSchema?.protocols?.href || []), 'tel'],
15
+ src: [...(defaultSchema.protocols?.src ?? []), 'data'],
15
16
  },
16
17
  };
17
18
  const result = await unified()
@@ -1 +1 @@
1
- {"version":3,"file":"transformHTML.js","sourceRoot":"","sources":["../../src/content-page-repository/transformHTML.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,cAAc,CAAC;AACvC,OAAO,cAAc,EAAE,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,eAAe,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,IAA+B;IACjE,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,cAAc,GAAG;QACrB,GAAG,aAAa;QAChB,SAAS,EAAE;YACT,GAAG,aAAa,CAAC,SAAS;YAC1B,IAAI,EAAE,CAAC,GAAG,CAAC,aAAa,EAAE,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC;SACzD;KACF,CAAC;IAEF,MAAM,MAAM,GAAG,MAAM,OAAO,EAAE;SAC3B,GAAG,CAAC,WAAW,CAAC;SAChB,GAAG,CAAC,cAAc,EAAE,cAAc,CAAC;SACnC,GAAG,CAAC,eAAe,CAAC;SACpB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB,OAAO,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;AACtD,CAAC"}
1
+ {"version":3,"file":"transformHTML.js","sourceRoot":"","sources":["../../src/content-page-repository/transformHTML.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,cAAc,CAAC;AACvC,OAAO,cAAc,EAAE,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,eAAe,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,IAA+B;IACjE,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,cAAc,GAAG;QACrB,GAAG,aAAa;QAChB,SAAS,EAAE;YACT,GAAG,aAAa,CAAC,SAAS;YAC1B,IAAI,EAAE,CAAC,GAAG,CAAC,aAAa,EAAE,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC;YACxD,GAAG,EAAE,CAAC,GAAG,CAAC,aAAa,CAAC,SAAS,EAAE,GAAG,IAAI,EAAE,CAAC,EAAE,MAAM,CAAC;SACvD;KACF,CAAC;IAEF,MAAM,MAAM,GAAG,MAAM,OAAO,EAAE;SAC3B,GAAG,CAAC,WAAW,CAAC;SAChB,GAAG,CAAC,cAAc,EAAE,cAAc,CAAC;SACnC,GAAG,CAAC,eAAe,CAAC;SACpB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB,OAAO,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;AACtD,CAAC"}
@@ -21,9 +21,19 @@
21
21
  "title": "Данные организации",
22
22
  "columns": 2,
23
23
  "inputs": [
24
- { "fieldType": "common", "name": "fullName", "required": true },
24
+ {
25
+ "fieldType": "common",
26
+ "name": "fullName",
27
+ "required": true,
28
+ "label": "Наименование организации"
29
+ },
25
30
  { "fieldType": "common", "name": "inn", "required": true },
26
- { "fieldType": "common", "name": "name", "required": true },
31
+ {
32
+ "fieldType": "common",
33
+ "name": "name",
34
+ "required": true,
35
+ "label": "Контактное лицо"
36
+ },
27
37
  { "fieldType": "common", "name": "phone", "required": true }
28
38
  ]
29
39
  },
@@ -14,6 +14,7 @@ export async function transformHTML(html: string | null | undefined): Promise<st
14
14
  protocols: {
15
15
  ...defaultSchema.protocols,
16
16
  href: [...(defaultSchema?.protocols?.href || []), 'tel'],
17
+ src: [...(defaultSchema.protocols?.src ?? []), 'data'],
17
18
  },
18
19
  };
19
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.14.524",
3
+ "version": "0.14.526",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
@@ -21,9 +21,19 @@
21
21
  "title": "Данные организации",
22
22
  "columns": 2,
23
23
  "inputs": [
24
- { "fieldType": "common", "name": "fullName", "required": true },
24
+ {
25
+ "fieldType": "common",
26
+ "name": "fullName",
27
+ "required": true,
28
+ "label": "Наименование организации"
29
+ },
25
30
  { "fieldType": "common", "name": "inn", "required": true },
26
- { "fieldType": "common", "name": "name", "required": true },
31
+ {
32
+ "fieldType": "common",
33
+ "name": "name",
34
+ "required": true,
35
+ "label": "Контактное лицо"
36
+ },
27
37
  { "fieldType": "common", "name": "phone", "required": true }
28
38
  ]
29
39
  },
@@ -65,9 +65,14 @@ export default {
65
65
  title: 'Данные организации',
66
66
  columns: 2,
67
67
  inputs: [
68
- { fieldType: 'common', name: 'fullName', required: true },
68
+ {
69
+ fieldType: 'common',
70
+ name: 'fullName',
71
+ required: true,
72
+ label: 'Наименование организации',
73
+ },
69
74
  { fieldType: 'common', name: 'inn', required: true },
70
- { fieldType: 'common', name: 'name', required: true },
75
+ { fieldType: 'common', name: 'name', required: true, label: 'Контактное лицо' },
71
76
  { fieldType: 'common', name: 'phone', required: true },
72
77
  ],
73
78
  },
@@ -67,9 +67,14 @@ export default {
67
67
  title: 'Данные организации',
68
68
  columns: 2,
69
69
  inputs: [
70
- { fieldType: 'common', name: 'fullName', required: true },
70
+ {
71
+ fieldType: 'common',
72
+ name: 'fullName',
73
+ required: true,
74
+ label: 'Наименование организации',
75
+ },
71
76
  { fieldType: 'common', name: 'inn', required: true },
72
- { fieldType: 'common', name: 'name', required: true },
77
+ { fieldType: 'common', name: 'name', required: true, label: 'Контактное лицо' },
73
78
  { fieldType: 'common', name: 'phone', required: true },
74
79
  ],
75
80
  },
@@ -14,6 +14,7 @@ export async function transformHTML(html: string | null | undefined): Promise<st
14
14
  protocols: {
15
15
  ...defaultSchema.protocols,
16
16
  href: [...(defaultSchema?.protocols?.href || []), 'tel'],
17
+ src: [...(defaultSchema.protocols?.src ?? []), 'data'],
17
18
  },
18
19
  };
19
20