cronapp-framework-js 2.8.31 → 2.8.35
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.
- package/components/crn-enterprise-combobox-multiple.components.json +1 -1
- package/components/crn-enterprise-dynamic-combobox.components.json +1 -1
- package/components/crn-ordered-list.components.json +1 -0
- package/components/crn-ordered-sub-list.components.json +1 -0
- package/components/crn-unordered-list.components.json +1 -0
- package/components/crn-unordered-sub-list.components.json +1 -0
- package/components/cron-breadcrumbs.components.json +2 -2
- package/components/cron-ordered-list.components.json +152 -0
- package/components/templates/cron-breadcrumbs.template.html +5 -3
- package/components/templates/cron-ordered-list.template.html +7 -0
- package/css/themes/custom/material/components_css/crn-scheduler.css +1 -2
- package/dist/components/js/format.min.js +1 -1
- package/dist/components/js/jquery.inputmask.bundle.js +1 -1
- package/dist/components/js/jquery.mask.min.js +1 -1
- package/dist/components/js/qrcode.js +1 -1
- package/dist/components/templates/cron-breadcrumbs.template.html +1 -1
- package/dist/components/templates/cron-ordered-list.template.html +1 -0
- package/dist/css/themes/custom/material/components_css/crn-scheduler.css +1 -1
- package/dist/js/LanguageSelectDirective.js +1 -1
- package/dist/js/LocaleService.js +1 -1
- package/dist/js/directives.js +1 -1
- package/dist/js/reports/parameters.controller.js +1 -1
- package/js/directives.js +88 -31
- package/package.json +3 -3
- package/v10.22.1 +0 -0
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"image": "/node_modules/cronapp-framework-js/img/cron-icon/crn-ordered-sub-list.svg",
|
|
7
7
|
"description": "Sublista de segundo grau com indicadores numerados",
|
|
8
8
|
"description_en_US": "Second degree sublist with numbered indicators",
|
|
9
|
+
"pallete": false,
|
|
9
10
|
"category": [
|
|
10
11
|
"LISTS"
|
|
11
12
|
],
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"image": "/node_modules/cronapp-framework-js/img/cron-icon/crn-unordered-sub-list.svg",
|
|
6
6
|
"description": "Sublista de segundo grau com indicadores redondos",
|
|
7
7
|
"description_en_US": "Second degree sublist with round indicators",
|
|
8
|
+
"pallete": false,
|
|
8
9
|
"category": [
|
|
9
10
|
"LISTS"
|
|
10
11
|
],
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
],
|
|
11
11
|
"templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/cron-breadcrumbs.template.html",
|
|
12
12
|
"designTimeHTMLURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/cron-breadcrumbs.designtime.html",
|
|
13
|
-
"designTimeSelector": "
|
|
13
|
+
"designTimeSelector": ":self",
|
|
14
14
|
"designTimeDynamic": true,
|
|
15
|
-
"wrapper":
|
|
15
|
+
"wrapper": false,
|
|
16
16
|
"forcedGroup": true,
|
|
17
17
|
"properties": {
|
|
18
18
|
"class": {
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cron-ordered-list",
|
|
3
|
+
"text_pt_BR": "Lista ordenada",
|
|
4
|
+
"text_en_US": "Ordered list",
|
|
5
|
+
"image": "/node_modules/cronapp-framework-js/img/cron-icon/crn-ordered-list.svg",
|
|
6
|
+
"description": "Lista em tópicos com indicadores numerados",
|
|
7
|
+
"description_en_US": "List on topics with numbered indicators",
|
|
8
|
+
"category": [
|
|
9
|
+
"LISTS"
|
|
10
|
+
],
|
|
11
|
+
"templateURL": "src/main/webapp/node_modules/cronapp-framework-js/components/templates/cron-ordered-list.template.html",
|
|
12
|
+
"wrapper": false,
|
|
13
|
+
"forcedGroup": true,
|
|
14
|
+
"properties": {
|
|
15
|
+
"class": {
|
|
16
|
+
"order": 9999
|
|
17
|
+
},
|
|
18
|
+
"id": {
|
|
19
|
+
"order": 1
|
|
20
|
+
},
|
|
21
|
+
"attribute-value": {
|
|
22
|
+
"displayName_pt_BR": "Valor do atributo numerado",
|
|
23
|
+
"displayName_en_US": "Numbered attribute value"
|
|
24
|
+
},
|
|
25
|
+
"list-type": {
|
|
26
|
+
"displayName_pt_BR": "Tipo de lista",
|
|
27
|
+
"displayName_en_US": "List type"
|
|
28
|
+
},
|
|
29
|
+
"ordered-attribute-value": {
|
|
30
|
+
"displayName_pt_BR": "Valor do atributo ordenado",
|
|
31
|
+
"displayName_en_US": "Ordered attribute value"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"handleRules": {
|
|
35
|
+
"canOrder": true,
|
|
36
|
+
"canActivate": true,
|
|
37
|
+
"canIncrement": true,
|
|
38
|
+
"rules": [
|
|
39
|
+
{
|
|
40
|
+
"activeSelector": "cron-ordered-list ul li.active",
|
|
41
|
+
"activeClass": "active",
|
|
42
|
+
"sourceHTML": "<li class=\"item-list\" data-component=\"crn-list-item\" data-replace=\"true\">New item</li>",
|
|
43
|
+
"targetSelector": "ul"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"attributesForPreview": [
|
|
48
|
+
{
|
|
49
|
+
"name": "attribute-value",
|
|
50
|
+
"type": "options",
|
|
51
|
+
"target": "attribute-value",
|
|
52
|
+
"values": [
|
|
53
|
+
{
|
|
54
|
+
"key": "decimal",
|
|
55
|
+
"value_pt_BR": "Numeração (1,2,3..)",
|
|
56
|
+
"value_en_US": "Numbering (1,2,3..)"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"key": "lower-alpha",
|
|
60
|
+
"value_pt_BR": "Letra minúscula (a, b, c..)",
|
|
61
|
+
"value_en_US": "Lower case (a, b, c..)"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"key": "upper-alpha",
|
|
65
|
+
"value_pt_BR": "Letra maiúscula (A, B, C..)",
|
|
66
|
+
"value_en_US": "Capital letter (A, B, C..)"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"key": "lower-roman",
|
|
70
|
+
"value_pt_BR": "Números romanos (I, II, III..)",
|
|
71
|
+
"value_en_US": "Roman numbers"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"key": "upper-roman",
|
|
75
|
+
"value_pt_BR": "Números romanos minúsculo (i, ii, iii..)",
|
|
76
|
+
"value_en_US": "Lowercase roman numbers (i, ii, iii..)"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "ordered-attribute-value",
|
|
82
|
+
"type": "options",
|
|
83
|
+
"target": "ordered-attribute-value",
|
|
84
|
+
"values": [
|
|
85
|
+
{
|
|
86
|
+
"key": "circle",
|
|
87
|
+
"value_pt_BR": "Círculo vazio",
|
|
88
|
+
"value_en_US": "Circle",
|
|
89
|
+
"icon": "mdi mdi-checkbox-blank-circle-outline"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"key": "disc",
|
|
93
|
+
"value_pt_BR": "Círculo preenchido",
|
|
94
|
+
"value_en_US": "Disc",
|
|
95
|
+
"icon": "mdi mdi-checkbox-blank-circle"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"key": "square",
|
|
99
|
+
"value_pt_BR": "Quadrado",
|
|
100
|
+
"value_en_US": "Square",
|
|
101
|
+
"icon": "mdi mdi-checkbox-blank"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "list-type",
|
|
107
|
+
"type": "options",
|
|
108
|
+
"target": "class",
|
|
109
|
+
"values": [
|
|
110
|
+
{
|
|
111
|
+
"key": "numbered-list",
|
|
112
|
+
"value_pt_BR": "lista numerada",
|
|
113
|
+
"value_en_US": "Numbered list"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"key": "ordered-list",
|
|
117
|
+
"value_pt_BR": "lista ordenada",
|
|
118
|
+
"value_en_US": "Ordered list"
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"childrenProperties": [
|
|
124
|
+
{
|
|
125
|
+
"name": "attribute-value",
|
|
126
|
+
"selector": "cron-ordered-list.numbered-list",
|
|
127
|
+
"order": 3
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "ordered-attribute-value",
|
|
131
|
+
"selector": "cron-ordered-list.ordered-list",
|
|
132
|
+
"order": 3
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "list-type",
|
|
136
|
+
"selector": "cron-ordered-list",
|
|
137
|
+
"order": 2
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"styles": [
|
|
141
|
+
{
|
|
142
|
+
"selector": "cron-ordered-list#{id} ul, cron-ordered-list#{id} ol",
|
|
143
|
+
"text_pt_BR": "Plano de fundo",
|
|
144
|
+
"text_en_US": "Background"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"selector": "cron-ordered-list#{id} li",
|
|
148
|
+
"text_pt_BR": "Item da lista",
|
|
149
|
+
"text_en_US": "List item"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
<
|
|
2
|
-
<
|
|
3
|
-
|
|
1
|
+
<div>
|
|
2
|
+
<cron-breadcrumbs id="cron-breadcrumbs" id-menu="crn-dynamic-menu-home" crn-delimiter-icon="arrow-chevron-right" class="idMenu" type-menu="idMenu">
|
|
3
|
+
<nav id="navbreadcrumb"></nav>
|
|
4
|
+
</cron-breadcrumbs>
|
|
5
|
+
</div>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<cron-ordered-list list-type="ordered-list" attribute-value="decimal" ordered-attribute-value="disc">
|
|
2
|
+
<ul>
|
|
3
|
+
<li data-component="crn-list-item" data-replace="true">Item 1</li>
|
|
4
|
+
<li data-component="crn-list-item" data-replace="true">Item 2</li>
|
|
5
|
+
<li data-component="crn-list-item" data-replace="true">Item 3</li>
|
|
6
|
+
</ul>
|
|
7
|
+
</cron-ordered-list>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module?module.exports=e():t.format=e()}(this,function(){return function(t,e){"use strict";if(!t||isNaN(+e))return e;var n,i,s,r
|
|
1
|
+
!function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module?module.exports=e():t.format=e()}(this,function(){return function(t,e){"use strict";if(!t||isNaN(+e))return e;var g,n,i,s,u,r=t.length,l=t.search(/[0-9\-\+#]/),c=0<l?t.substring(0,l):"",o=t.split("").reverse().join(""),d=o.search(/[0-9\-\+#]/),f=r-d,a=t.substring(f,1+f),h=f+("."===a||","===a?1:0),a=0<d?t.substring(h,r):"",d=(e="-"===(t=t.substring(l,h)).charAt(0)?-e:+e)<0?e=-e:0,p=(l=t.match(/[^\d\-\+#]/g))&&l[l.length-1]||".",b=l&&l[1]&&l[0]||",";if(t=t.split(p),e=+(e=e.toFixed(t[1]&&t[1].length))+"",s=t[1]&&t[1].lastIndexOf("0"),(!(i=e.split("."))[1]||i[1]&&i[1].length<=s)&&(e=(+e).toFixed(s+1)),s=t[0].split(b),t[0]=s.join(""),-1<(g=t[0]&&t[0].indexOf("0")))for(;i[0].length<t[0].length-g;)i[0]="0"+i[0];else 0==+i[0]&&(i[0]="");if((e=e.split("."))[0]=i[0],n=s[1]&&s[s.length-1].length){for(o="",f=(u=e[0]).length%n,r=u.length,h=0;h<r;h++)o+=u.charAt(h),!((h-f+1)%n)&&h<r-n&&(o+=b);e[0]=o}return e[1]=t[1]&&e[1]?p+e[1]:"",c+((d="0"!==(l=e.join(""))&&""!==l?d:!1)?"-":"")+l+a}});
|