@steedos/service-core-objects 3.0.4-beta.6 → 3.0.4-beta.8

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.
@@ -24,25 +24,13 @@ fields:
24
24
  searchable: true
25
25
  filterable: true
26
26
  icon_slds:
27
- label: SLDS Icon
28
- type: lookup
27
+ label: Icon
28
+ type: select
29
29
  required: true
30
- optionsFunction: !!js/function |
31
- function () {
32
- var options;
33
- options = [];
34
-
35
- _.forEach(Steedos.resources.sldsIcons.standard, function (svg) {
36
- return options.push({
37
- value: svg,
38
- label: svg,
39
- icon: svg
40
- });
41
- });
42
-
43
- return options;
44
- }
45
- filterable: true
30
+ amis:
31
+ "source": "${window:Steedos.resources.sldsIcons.standard}"
32
+ "menuTpl": "<div style=\"display: flex; align-items: center;\"><span class=\"slds-icon_container slds-icon-standard-${REPLACE(value, '_', '-')} slds-m-right_x-small\"><svg class=\"slds-icon w-7 h-7\" aria-hidden=\"true\"><use xlink:href=\"/assets/icons/standard-sprite/svg/symbols.svg#${value}\"></use></svg></span><span>${label}</span></div>"
33
+ searchable: true
46
34
  sort:
47
35
  label: Sort Number
48
36
  type: number
@@ -73,6 +61,8 @@ fields:
73
61
  value: purple
74
62
  - label: Gray
75
63
  value: gray
64
+ amis:
65
+ menuTpl: "<div style=\"display: flex; align-items: center;\"><span style=\"display: inline-block; width: 12px; height: 12px; border-radius: 2px; background-color: ${value}; margin-right: 8px;\"></span><span>${label}</span></div>"
76
66
  dark:
77
67
  label: Dark Mode
78
68
  type: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-core-objects",
3
- "version": "3.0.4-beta.6",
3
+ "version": "3.0.4-beta.8",
4
4
  "main": "package.service.js",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -9,7 +9,7 @@
9
9
  "steedos"
10
10
  ],
11
11
  "dependencies": {
12
- "@steedos/service-package-loader": "3.0.4-beta.6",
12
+ "@steedos/service-package-loader": "3.0.4-beta.8",
13
13
  "bcryptjs": "^3.0.3",
14
14
  "json2xls": "^0.1.2",
15
15
  "lodash": "^4.17.21"
@@ -17,5 +17,5 @@
17
17
  "description": "steedos package",
18
18
  "repository": {},
19
19
  "license": "MIT",
20
- "gitHead": "52eef6f846d05f8762c7d885f58cc110ab2feda2"
20
+ "gitHead": "1551e1d76e67f1de5ceb81be5af6ff3f364d2ee2"
21
21
  }