@hpcc-js/common 3.7.2 → 3.7.5
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/LICENSE +43 -43
- package/README.md +59 -59
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +5 -5
- package/src/CanvasWidget.ts +31 -31
- package/src/Class.ts +72 -72
- package/src/Database.ts +860 -860
- package/src/Entity.ts +235 -235
- package/src/EntityCard.ts +66 -66
- package/src/EntityPin.ts +103 -103
- package/src/EntityRect.css +15 -15
- package/src/EntityRect.ts +254 -254
- package/src/EntityVertex.ts +86 -86
- package/src/FAChar.css +2 -2
- package/src/FAChar.ts +89 -89
- package/src/HTMLWidget.ts +191 -191
- package/src/IList.ts +4 -4
- package/src/IMenu.ts +5 -5
- package/src/Icon.css +9 -9
- package/src/Icon.ts +176 -176
- package/src/Image.ts +104 -104
- package/src/List.css +12 -12
- package/src/List.ts +102 -102
- package/src/Menu.css +22 -22
- package/src/Menu.ts +139 -139
- package/src/Palette.ts +341 -341
- package/src/Platform.ts +125 -125
- package/src/ProgressBar.ts +115 -115
- package/src/PropertyExt.ts +770 -770
- package/src/ResizeSurface.css +38 -38
- package/src/ResizeSurface.ts +225 -225
- package/src/SVGWidget.ts +583 -583
- package/src/SVGZoomWidget.css +11 -11
- package/src/SVGZoomWidget.ts +427 -427
- package/src/Shape.css +3 -3
- package/src/Shape.ts +186 -186
- package/src/Surface.css +39 -39
- package/src/Surface.ts +364 -364
- package/src/Text.css +3 -3
- package/src/Text.ts +131 -131
- package/src/TextBox.css +3 -3
- package/src/TextBox.ts +183 -183
- package/src/TitleBar.css +114 -114
- package/src/TitleBar.ts +407 -407
- package/src/Transition.ts +45 -45
- package/src/Utility.ts +843 -843
- package/src/Widget.css +7 -7
- package/src/Widget.ts +731 -731
- package/src/WidgetArray.ts +15 -15
- package/src/__package__.ts +3 -3
- package/src/index.ts +55 -55
package/src/TitleBar.css
CHANGED
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
.common_IconBar {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-flow: row;
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.common_IconBar .icon-bar {
|
|
8
|
-
display: flex;
|
|
9
|
-
opacity: 0.95;
|
|
10
|
-
flex-wrap: nowrap;
|
|
11
|
-
margin: 0px;
|
|
12
|
-
white-space: nowrap;
|
|
13
|
-
line-height: 28px;
|
|
14
|
-
z-index: 1;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.common_IconBar .icon-bar a {
|
|
18
|
-
position: relative;
|
|
19
|
-
z-index: 0;
|
|
20
|
-
/* Center-align text */
|
|
21
|
-
text-align: center;
|
|
22
|
-
padding-top: 4px;
|
|
23
|
-
padding-left: 2px;
|
|
24
|
-
padding-right: 2px;
|
|
25
|
-
padding-bottom: 4px;
|
|
26
|
-
/* Add transition for hover effects */
|
|
27
|
-
transition: all 0.3s ease;
|
|
28
|
-
/* White text color */
|
|
29
|
-
color: darkgray;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.common_IconBar .icon-bar a:focus,
|
|
33
|
-
.common_IconBar .icon-bar a:focus-visible {
|
|
34
|
-
outline: 2px solid #0078d4;
|
|
35
|
-
outline-offset: 2px;
|
|
36
|
-
z-index: 2;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.common_IconBar .icon-bar a.disabled {
|
|
40
|
-
opacity: 0.3;
|
|
41
|
-
pointer-events: none;
|
|
42
|
-
color: darkgray;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.common_IconBar .icon-bar a:hover {
|
|
46
|
-
background-color: whitesmoke;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.common_IconBar .icon-bar a {
|
|
50
|
-
background-color: white;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.common_IconBar .icon-bar a.selected {
|
|
54
|
-
/* Add a hover color */
|
|
55
|
-
background-color: #efe5e5;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
.common_IconBar .icon-bar div.spacer {
|
|
60
|
-
text-align: center;
|
|
61
|
-
height: 28px;
|
|
62
|
-
border-left-style: solid;
|
|
63
|
-
border-left-width: 1px;
|
|
64
|
-
border-left-color: transparent;
|
|
65
|
-
padding-top: 0px;
|
|
66
|
-
padding-left: 2px;
|
|
67
|
-
margin-left: 2px;
|
|
68
|
-
padding-bottom: 0px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.common_IconBar .icon-bar div.spacer.vline {
|
|
72
|
-
border-left-color: darkgray;
|
|
73
|
-
padding-left: 4px;
|
|
74
|
-
margin-left: 4px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.common_IconBar .icon-bar a.spacer:hover {
|
|
78
|
-
background-color: transparent;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.common_TitleBar>.title-title {
|
|
82
|
-
margin: 4px;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.common_TitleBar>.icon-bar {
|
|
86
|
-
margin: 4px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.common_TitleBar .title-icon {
|
|
90
|
-
padding: 4px 0;
|
|
91
|
-
position: static;
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.common_TitleBar .data-count {
|
|
96
|
-
position: absolute;
|
|
97
|
-
visibility: hidden;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.common_TitleBar .title-text {
|
|
101
|
-
padding: 4px 0;
|
|
102
|
-
text-overflow: ellipsis;
|
|
103
|
-
white-space: nowrap;
|
|
104
|
-
overflow: hidden;
|
|
105
|
-
font-size: 20px;
|
|
106
|
-
font-weight: bold;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.common_TitleBar .description-text {
|
|
110
|
-
padding: 0px;
|
|
111
|
-
text-overflow: ellipsis;
|
|
112
|
-
white-space: nowrap;
|
|
113
|
-
overflow: hidden;
|
|
114
|
-
font-weight: normal;
|
|
1
|
+
.common_IconBar {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-flow: row;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.common_IconBar .icon-bar {
|
|
8
|
+
display: flex;
|
|
9
|
+
opacity: 0.95;
|
|
10
|
+
flex-wrap: nowrap;
|
|
11
|
+
margin: 0px;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
line-height: 28px;
|
|
14
|
+
z-index: 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.common_IconBar .icon-bar a {
|
|
18
|
+
position: relative;
|
|
19
|
+
z-index: 0;
|
|
20
|
+
/* Center-align text */
|
|
21
|
+
text-align: center;
|
|
22
|
+
padding-top: 4px;
|
|
23
|
+
padding-left: 2px;
|
|
24
|
+
padding-right: 2px;
|
|
25
|
+
padding-bottom: 4px;
|
|
26
|
+
/* Add transition for hover effects */
|
|
27
|
+
transition: all 0.3s ease;
|
|
28
|
+
/* White text color */
|
|
29
|
+
color: darkgray;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.common_IconBar .icon-bar a:focus,
|
|
33
|
+
.common_IconBar .icon-bar a:focus-visible {
|
|
34
|
+
outline: 2px solid #0078d4;
|
|
35
|
+
outline-offset: 2px;
|
|
36
|
+
z-index: 2;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.common_IconBar .icon-bar a.disabled {
|
|
40
|
+
opacity: 0.3;
|
|
41
|
+
pointer-events: none;
|
|
42
|
+
color: darkgray;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.common_IconBar .icon-bar a:hover {
|
|
46
|
+
background-color: whitesmoke;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.common_IconBar .icon-bar a {
|
|
50
|
+
background-color: white;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.common_IconBar .icon-bar a.selected {
|
|
54
|
+
/* Add a hover color */
|
|
55
|
+
background-color: #efe5e5;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
.common_IconBar .icon-bar div.spacer {
|
|
60
|
+
text-align: center;
|
|
61
|
+
height: 28px;
|
|
62
|
+
border-left-style: solid;
|
|
63
|
+
border-left-width: 1px;
|
|
64
|
+
border-left-color: transparent;
|
|
65
|
+
padding-top: 0px;
|
|
66
|
+
padding-left: 2px;
|
|
67
|
+
margin-left: 2px;
|
|
68
|
+
padding-bottom: 0px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.common_IconBar .icon-bar div.spacer.vline {
|
|
72
|
+
border-left-color: darkgray;
|
|
73
|
+
padding-left: 4px;
|
|
74
|
+
margin-left: 4px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.common_IconBar .icon-bar a.spacer:hover {
|
|
78
|
+
background-color: transparent;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.common_TitleBar>.title-title {
|
|
82
|
+
margin: 4px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.common_TitleBar>.icon-bar {
|
|
86
|
+
margin: 4px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.common_TitleBar .title-icon {
|
|
90
|
+
padding: 4px 0;
|
|
91
|
+
position: static;
|
|
92
|
+
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.common_TitleBar .data-count {
|
|
96
|
+
position: absolute;
|
|
97
|
+
visibility: hidden;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.common_TitleBar .title-text {
|
|
101
|
+
padding: 4px 0;
|
|
102
|
+
text-overflow: ellipsis;
|
|
103
|
+
white-space: nowrap;
|
|
104
|
+
overflow: hidden;
|
|
105
|
+
font-size: 20px;
|
|
106
|
+
font-weight: bold;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.common_TitleBar .description-text {
|
|
110
|
+
padding: 0px;
|
|
111
|
+
text-overflow: ellipsis;
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
overflow: hidden;
|
|
114
|
+
font-weight: normal;
|
|
115
115
|
}
|