@steedos/service-core-objects 3.0.4-beta.1 → 3.0.4-beta.10

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,30 +24,49 @@ 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
49
37
  defaultValue: 9100
50
38
  sortable: true
39
+ color:
40
+ label: Color
41
+ type: select
42
+ defaultValue: 'sky'
43
+ options:
44
+ - label: Red
45
+ value: red
46
+ - label: Orange
47
+ value: orange
48
+ - label: Yellow
49
+ value: yellow
50
+ - label: Green
51
+ value: green
52
+ - label: Teal
53
+ value: teal
54
+ - label: Cyan
55
+ value: cyan
56
+ - label: Blue
57
+ value: blue
58
+ - label: Pink
59
+ value: pink
60
+ - label: Purple
61
+ value: purple
62
+ - label: Gray
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>"
66
+ dark:
67
+ label: Dark Mode
68
+ type: boolean
69
+ defaultValue: false
51
70
  description:
52
71
  label: Description
53
72
  type: textarea
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-core-objects",
3
- "version": "3.0.4-beta.1",
3
+ "version": "3.0.4-beta.10",
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.1",
12
+ "@steedos/service-package-loader": "3.0.4-beta.10",
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": "3b62a855a71457d7a8bfeb47ba6d6863a7aa9763"
20
+ "gitHead": "d862431920494f1011ba354e0d0051c7da8e2479"
21
21
  }
@@ -1,7 +1,5 @@
1
1
  :root {
2
2
  --tw-border-opacity: 1;
3
- --private: rgb(14 165 233 / var(--tw-border-opacity));
4
- --primary-onHover: var(--colors-brand-9);
5
3
  }
6
4
 
7
5
  .ant-modal-mask{