chuijs 3.6.2 → 3.6.4

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.
Files changed (119) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +1203 -162
  3. package/framework/appLayout/default/chui_app_layout.js +747 -747
  4. package/framework/appLayout/default/global_style.css +592 -568
  5. package/framework/appLayout/default/main_theme_style.css +118 -101
  6. package/framework/components/chui_accordion/accordion.js +63 -63
  7. package/framework/components/chui_accordion/styles.css +79 -75
  8. package/framework/components/chui_badge/badge.js +55 -55
  9. package/framework/components/chui_badge/styles.css +29 -29
  10. package/framework/components/chui_button/button.js +48 -48
  11. package/framework/components/chui_button/styles.css +75 -70
  12. package/framework/components/chui_calendar/calendar.js +97 -97
  13. package/framework/components/chui_card/card.js +87 -0
  14. package/framework/components/chui_card/styles.css +72 -0
  15. package/framework/components/chui_code/code.js +18 -18
  16. package/framework/components/chui_code/styles.css +9 -9
  17. package/framework/components/chui_console/console.js +27 -27
  18. package/framework/components/chui_console/styles.css +31 -31
  19. package/framework/components/chui_content_block/content_block.js +51 -51
  20. package/framework/components/chui_content_block/styles.css +2 -2
  21. package/framework/components/chui_context_menu/context_menu.js +230 -0
  22. package/framework/components/chui_context_menu/styles.css +136 -0
  23. package/framework/components/chui_custom_element/custom_element.js +24 -24
  24. package/framework/components/chui_details/details.js +85 -85
  25. package/framework/components/chui_details/styles.css +70 -66
  26. package/framework/components/chui_fieldset/fieldset.js +40 -40
  27. package/framework/components/chui_fieldset/styles.css +24 -24
  28. package/framework/components/chui_form/form.js +40 -40
  29. package/framework/components/chui_form/styles.css +21 -21
  30. package/framework/components/chui_graphs/graphs.js +234 -190
  31. package/framework/components/chui_graphs/styles.css +37 -32
  32. package/framework/components/chui_hero/hero.js +98 -0
  33. package/framework/components/chui_hero/styles.css +91 -0
  34. package/framework/components/chui_html_block/html_block.js +16 -16
  35. package/framework/components/chui_html_block/styles.css +5 -5
  36. package/framework/components/chui_hx/hx.js +15 -15
  37. package/framework/components/chui_hx/styles.css +38 -38
  38. package/framework/components/chui_icons/icons.js +2144 -2144
  39. package/framework/components/chui_icons/styles.css +13 -13
  40. package/framework/components/chui_inputs/chui_check_box/check_box.js +32 -32
  41. package/framework/components/chui_inputs/chui_check_box/styles.css +91 -86
  42. package/framework/components/chui_inputs/chui_combo_box/combo_box.js +166 -150
  43. package/framework/components/chui_inputs/chui_combo_box/styles.css +113 -107
  44. package/framework/components/chui_inputs/chui_date/date.js +177 -174
  45. package/framework/components/chui_inputs/chui_date/styles.css +163 -128
  46. package/framework/components/chui_inputs/chui_email/email.js +61 -61
  47. package/framework/components/chui_inputs/chui_email/styles.css +69 -71
  48. package/framework/components/chui_inputs/chui_file/file.js +76 -76
  49. package/framework/components/chui_inputs/chui_file/styles.css +99 -99
  50. package/framework/components/chui_inputs/chui_multi_combo_box/multi_combo_box.js +295 -295
  51. package/framework/components/chui_inputs/chui_multi_combo_box/styles.css +212 -235
  52. package/framework/components/chui_inputs/chui_number/number.js +108 -108
  53. package/framework/components/chui_inputs/chui_number/styles.css +84 -84
  54. package/framework/components/chui_inputs/chui_password/password.js +99 -99
  55. package/framework/components/chui_inputs/chui_password/styles.css +97 -97
  56. package/framework/components/chui_inputs/chui_radio_button/radio_button.js +45 -45
  57. package/framework/components/chui_inputs/chui_radio_button/styles.css +76 -73
  58. package/framework/components/chui_inputs/chui_select_box/select_box.js +187 -170
  59. package/framework/components/chui_inputs/chui_select_box/styles.css +123 -117
  60. package/framework/components/chui_inputs/chui_text/styles.css +83 -84
  61. package/framework/components/chui_inputs/chui_text/text.js +91 -91
  62. package/framework/components/chui_inputs/chui_text_area/styles.css +57 -57
  63. package/framework/components/chui_inputs/chui_text_area/text_area.js +61 -61
  64. package/framework/components/chui_inputs/chui_toggle/styles.css +66 -61
  65. package/framework/components/chui_inputs/chui_toggle/toggle.js +36 -36
  66. package/framework/components/chui_label/label.js +54 -54
  67. package/framework/components/chui_label/styles.css +11 -11
  68. package/framework/components/chui_media/audio.js +908 -908
  69. package/framework/components/chui_media/audio_styles.css +458 -458
  70. package/framework/components/chui_media/image.js +105 -105
  71. package/framework/components/chui_media/image_styles.css +61 -61
  72. package/framework/components/chui_media/video.js +248 -248
  73. package/framework/components/chui_media/video_styles.css +160 -160
  74. package/framework/components/chui_menu_bar/menu_bar.js +66 -74
  75. package/framework/components/chui_menu_bar/styles.css +114 -76
  76. package/framework/components/chui_modal/modal.js +142 -135
  77. package/framework/components/chui_modal/styles.css +36 -36
  78. package/framework/components/chui_notification/notification.js +72 -72
  79. package/framework/components/chui_notification/notification_download.js +78 -78
  80. package/framework/components/chui_notification/notification_download_progress.css +119 -123
  81. package/framework/components/chui_notification/notification_download_progress.js +105 -105
  82. package/framework/components/chui_notification/notification_update.js +54 -54
  83. package/framework/components/chui_notification/styles.css +91 -91
  84. package/framework/components/chui_notification/styles_download.css +85 -85
  85. package/framework/components/chui_notification/styles_update.css +73 -73
  86. package/framework/components/chui_paragraph/paragraph.js +14 -14
  87. package/framework/components/chui_paragraph/styles.css +6 -6
  88. package/framework/components/chui_popups/popups.js +250 -250
  89. package/framework/components/chui_popups/styles.css +129 -115
  90. package/framework/components/chui_progress_bar/progress_bar.js +28 -28
  91. package/framework/components/chui_progress_bar/styles.css +28 -28
  92. package/framework/components/chui_radio_group/radio_group.js +57 -57
  93. package/framework/components/chui_radio_group/styles.css +3 -3
  94. package/framework/components/chui_slideshow/slideshow.js +75 -75
  95. package/framework/components/chui_slideshow/styles.css +94 -85
  96. package/framework/components/chui_spinner/spinner.js +45 -45
  97. package/framework/components/chui_spinner/styles.css +23 -23
  98. package/framework/components/chui_table/styles.css +42 -42
  99. package/framework/components/chui_table/table.js +234 -234
  100. package/framework/components/chui_tabs/chui_tabs.js +77 -77
  101. package/framework/components/chui_tabs/styles.css +54 -48
  102. package/framework/components/chui_text_editor/styles.css +217 -217
  103. package/framework/components/chui_text_editor/text_editor.js +144 -144
  104. package/framework/components/chui_text_editor/text_editor_panel.js +568 -568
  105. package/framework/components/chui_tree_view/styles.css +81 -75
  106. package/framework/components/chui_tree_view/tree_view.js +90 -90
  107. package/framework/components/chui_webview/styles.css +27 -27
  108. package/framework/components/chui_webview/webview.js +103 -103
  109. package/framework/components/telegram_bot/chui_telegram_bot.js +183 -183
  110. package/framework/modules/chui_animations/animations.js +121 -121
  111. package/framework/modules/chui_animations/styles.css +79 -79
  112. package/framework/modules/chui_fonts.js +7129 -6974
  113. package/framework/modules/chui_functions.js +106 -78
  114. package/framework/modules/chui_logger/chui_logger.js +53 -53
  115. package/framework/modules/chui_page/page.js +86 -86
  116. package/framework/modules/chui_page/styles.css +9 -9
  117. package/framework/tray_bar/chui_menu_items.js +48 -48
  118. package/index.js +570 -555
  119. package/package.json +51 -46
@@ -1,49 +1,55 @@
1
- list {
2
- display: flex;
3
- justify-content: center;
4
- align-items: center;
5
- width: max-content;
6
- border-radius: var(--border_radius);
7
- background: transparent;
8
- margin: var(--margin) 0;
9
- border: none;
10
- }
11
-
12
- tab {
13
- margin: 1px;
14
- padding: var(--main_padding);
15
- font-size: var(--font_default_size);
16
- display: flex;
17
- flex-direction: column;
18
- font-weight: 500;
19
- color: var(--text_color);
20
- border-radius: var(--border_radius);
21
- }
22
-
23
- tab:hover {
24
- background: var(--blue_prime_background);
25
- color: var(--text_color_hover);
26
- }
27
-
28
- tabs {
29
- margin: var(--margin);
30
- display: flex;
31
- flex-direction: column;
32
- justify-content: flex-start;
33
- align-items: flex-start
34
- }
35
-
36
- content {
37
- display: flex;
38
- flex-direction:column;
39
- width: -webkit-fill-available;
40
- padding: var(--test_padding);
41
- border-radius: var(--border_radius);
42
- background: transparent;
43
- border: none;
44
- }
45
-
46
- .tab_active {
47
- background: var(--blue_prime_background);
48
- color: var(--text_color_hover);
1
+ list {
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
5
+ width: max-content;
6
+ border-radius: var(--border_radius);
7
+ background: var(--element_background);
8
+ margin: var(--margin) 0;
9
+ border: none;
10
+ }
11
+
12
+ tab {
13
+ cursor: pointer;
14
+ margin: 1px;
15
+ padding: var(--main_padding);
16
+ font-size: var(--font_default_size);
17
+ display: flex;
18
+ flex-direction: column;
19
+ font-weight: 500;
20
+ color: var(--text_color);
21
+ border-radius: var(--border_radius);
22
+ }
23
+
24
+ tab:hover {
25
+ background: var(--blue_prime_background);
26
+ color: var(--text_color_hover);
27
+ }
28
+
29
+ tab:active {
30
+ background: var(--element_background_prime);
31
+ color: var(--text_color_hover);
32
+ }
33
+
34
+ tabs {
35
+ margin: var(--margin);
36
+ display: flex;
37
+ flex-direction: column;
38
+ justify-content: flex-start;
39
+ align-items: flex-start
40
+ }
41
+
42
+ content {
43
+ display: flex;
44
+ flex-direction:column;
45
+ width: -webkit-fill-available;
46
+ padding: var(--test_padding);
47
+ border-radius: var(--border_radius);
48
+ background: transparent;
49
+ border: none;
50
+ }
51
+
52
+ .tab_active {
53
+ background: var(--blue_prime_background);
54
+ color: var(--text_color_hover);
49
55
  }
@@ -1,218 +1,218 @@
1
- chui_text_editor_test {
2
- display: flex;
3
- flex-direction: column;
4
- width: -webkit-fill-available;
5
- height: max-content;
6
- margin: var(--margin)
7
- }
8
-
9
- chui_text_editor {
10
- border-radius: var(--border_radius);
11
- display: flex;
12
- flex-direction: column;
13
- background: var(--element_background);
14
- border: 1px solid var(--border_main);
15
- width: -webkit-fill-available;
16
- border: 1px solid var(--border_color);
17
- }
18
-
19
- chui_editor_controls {
20
- width: -webkit-fill-available;
21
- display: flex;
22
- padding: 6px
23
- }
24
-
25
- chui_editor_text_input {
26
- width: -webkit-fill-available;
27
- font-size: var(--font_default_size);
28
- padding: 0 10px 6px 10px;
29
- height: calc(100% - 40px);
30
- overflow: overlay;
31
- text-align: start;
32
- color: var(--text_color);
33
- }
34
-
35
- chui_editor_text_input div {
36
- margin-bottom: 10px
37
- }
38
-
39
- chui_editor_status_row {
40
- width: -webkit-fill-available;
41
- display: flex;
42
- padding: 6px
43
- }
44
-
45
- .text_editor_label {
46
- height: max-content;
47
- width: max-content;
48
- margin: var(--margin);
49
- font-size: var(--font_labels_size);
50
- font-weight:500;
51
- color: var(--text_color)
52
- }
53
-
54
- chui_editor_text_input p {
55
- margin: 5px 0
56
- }
57
-
58
- p img {
59
- margin: 0;
60
- padding: 0;
61
- width: auto;
62
- height: auto;
63
- border: 2px solid transparent;
64
- border-radius: var(--border_radius)
65
- }
66
-
67
- /* chUiJS_TextEditorButtons */
68
- chui_button_format {
69
- height: max-content;
70
- width: max-content;
71
- border-radius: var(--border_radius);
72
- padding: 6px;
73
- margin: 0 3px;
74
- font-size: 11pt;
75
- font-weight: 500;
76
- color: var(--text_color)
77
- }
78
-
79
- chui_button_format:hover {
80
- background: var(--blue_prime_background);
81
- }
82
-
83
- /* chUiJS_TextEditorSelects */
84
- chui_text_editor_select_box {
85
- display: flex;
86
- flex-direction: column;
87
- align-items: baseline;
88
- height: max-content;
89
- width: auto
90
- }
91
-
92
- text_editor_select_box {
93
- position: relative;
94
- display:flex;
95
- outline: none;
96
- height: max-content;
97
- width: -webkit-fill-available;
98
- border-radius: var(--border_radius);
99
- padding: 0;
100
- margin: 0 3px;
101
- font-size: var(--font_default_size);
102
- color: var(--text_color);
103
- }
104
-
105
- text_editor_select_box:hover {
106
- background: var(--blue_prime_background);
107
- }
108
-
109
- .text_editor_selectbox_input {
110
- width:100%;
111
- display: block;
112
- outline: none;
113
- margin: 0;
114
- padding: 6px 0 6px 6px;
115
- background: transparent;
116
- color: var(--text_color);
117
- text-align: start;
118
- border: none;
119
- font-size: var(--font_default_size);
120
- }
121
-
122
- text_editor_div_value {
123
- width:100%;
124
- display: block;
125
- outline: none;
126
- margin: 0;
127
- padding: 6px 0 6px 6px;
128
- background: transparent;
129
- color: var(--text_color);
130
- text-align: start;
131
- border: none;
132
- font-size: var(--font_default_size);
133
- }
134
-
135
- text_editor_selectbox_dropdown {
136
- overflow: overlay;
137
- background: var(--element_background);
138
- color: var(--text_color);
139
- outline: none;
140
- position:absolute;
141
- display:none;
142
- height: max-content;
143
- width: max-content;
144
- border-radius: var(--border_radius);
145
- margin-top: 0;
146
- padding: 6px;
147
- font-size: var(--font_default_size);
148
- flex-direction: column;
149
- z-index: 1;
150
- border: 1px solid var(--border_main);
151
- box-shadow: 0 2px 10px 2px rgb(0 0 0 / 25%);
152
- }
153
-
154
- text_editor_select_button_open {
155
- outline: none;
156
- padding: 6px 6px 6px 3px;
157
- }
158
-
159
- text_editor_selectbox_option {
160
- text-align: start;
161
- padding: 6px 12px;
162
- border-radius: var(--border_radius)
163
- }
164
-
165
- text_editor_selectbox_option:hover {
166
- background: var(--blue_prime_background)
167
- }
168
-
169
- text_editor_selectbox_option:hover font {
170
- color: var(--text_color_hover);
171
- text-shadow: var(--text_shadow_hover);
172
- }
173
-
174
- /* chUiJS_TextEditorPanel */
175
- text_editor_panel {
176
- height: max-content;
177
- width: -webkit-fill-available;
178
- display: flex;
179
- flex-wrap: wrap;
180
- justify-content: center;
181
- align-items: center
182
- }
183
-
184
- text_editor_block {
185
- height: max-content;
186
- width: max-content;
187
- display: flex;
188
- }
189
-
190
- .text_editor_table {
191
- display: table;
192
- border-radius: 0;
193
- width: -webkit-fill-available;
194
- border-collapse: collapse;
195
- border: 1px solid var(--blue_prime_background);
196
- }
197
-
198
- .text_editor_table_body {
199
- border: 1px solid var(--blue_prime_background);
200
- width: auto
201
- }
202
-
203
- .text_editor_table_row {
204
- width: auto;
205
- display: table-row
206
- }
207
-
208
- .text_editor_table_cell {
209
- height: max-content;
210
- width: auto;
211
- display: table-cell;
212
- border: 1px solid var(--blue_prime_background)
213
- }
214
-
215
- pre {
216
- font-family: 'chui_mono';
217
- font-weight: 400
1
+ chui_text_editor_test {
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: -webkit-fill-available;
5
+ height: max-content;
6
+ margin: var(--margin)
7
+ }
8
+
9
+ chui_text_editor {
10
+ border-radius: var(--border_radius);
11
+ display: flex;
12
+ flex-direction: column;
13
+ background: var(--element_background);
14
+ width: -webkit-fill-available;
15
+ border: 1px solid var(--border_color);
16
+ }
17
+
18
+ chui_editor_controls {
19
+ width: -webkit-fill-available;
20
+ display: flex;
21
+ padding: 6px
22
+ }
23
+
24
+ chui_editor_text_input {
25
+ width: -webkit-fill-available;
26
+ font-size: var(--font_default_size);
27
+ padding: 0 10px 6px 10px;
28
+ height: calc(100% - 40px);
29
+ overflow: overlay;
30
+ text-align: start;
31
+ color: var(--text_color);
32
+ }
33
+
34
+ chui_editor_text_input div {
35
+ margin-bottom: 10px
36
+ }
37
+
38
+ chui_editor_status_row {
39
+ width: -webkit-fill-available;
40
+ display: flex;
41
+ padding: 6px
42
+ }
43
+
44
+ .text_editor_label {
45
+ height: max-content;
46
+ width: max-content;
47
+ margin: var(--margin);
48
+ font-size: var(--font_labels_size);
49
+ font-weight:500;
50
+ color: var(--text_color)
51
+ }
52
+
53
+ chui_editor_text_input p {
54
+ margin: 5px 0
55
+ }
56
+
57
+ p img {
58
+ margin: 0;
59
+ padding: 0;
60
+ width: auto;
61
+ height: auto;
62
+ border: 2px solid transparent;
63
+ border-radius: var(--border_radius)
64
+ }
65
+
66
+ /* chUiJS_TextEditorButtons */
67
+ chui_button_format {
68
+ height: max-content;
69
+ width: max-content;
70
+ border-radius: var(--border_radius);
71
+ padding: 6px;
72
+ margin: 0 3px;
73
+ font-size: 11pt;
74
+ font-weight: 500;
75
+ color: var(--text_color)
76
+ }
77
+
78
+ chui_button_format:hover {
79
+ background: var(--blue_prime_background);
80
+ }
81
+
82
+ /* chUiJS_TextEditorSelects */
83
+ chui_text_editor_select_box {
84
+ display: flex;
85
+ flex-direction: column;
86
+ align-items: baseline;
87
+ height: max-content;
88
+ width: auto
89
+ }
90
+
91
+ text_editor_select_box {
92
+ position: relative;
93
+ display:flex;
94
+ outline: none;
95
+ height: max-content;
96
+ width: -webkit-fill-available;
97
+ border-radius: var(--border_radius);
98
+ padding: 0;
99
+ margin: 0 3px;
100
+ font-size: var(--font_default_size);
101
+ color: var(--text_color);
102
+ }
103
+
104
+ text_editor_select_box:hover {
105
+ background: var(--blue_prime_background);
106
+ }
107
+
108
+ .text_editor_selectbox_input {
109
+ width:100%;
110
+ display: block;
111
+ outline: none;
112
+ margin: 0;
113
+ padding: 6px 0 6px 6px;
114
+ background: transparent;
115
+ color: var(--text_color);
116
+ text-align: start;
117
+ border: none;
118
+ font-size: var(--font_default_size);
119
+ }
120
+
121
+ text_editor_div_value {
122
+ width:100%;
123
+ display: block;
124
+ outline: none;
125
+ margin: 0;
126
+ padding: 6px 0 6px 6px;
127
+ background: transparent;
128
+ color: var(--text_color);
129
+ text-align: start;
130
+ border: none;
131
+ font-size: var(--font_default_size);
132
+ }
133
+
134
+ text_editor_selectbox_dropdown {
135
+ overflow: overlay;
136
+ background: var(--header_background);
137
+ backdrop-filter: var(--global_blur);
138
+ -webkit-backdrop-filter: var(--global_blur);
139
+ color: var(--text_color);
140
+ outline: none;
141
+ position:absolute;
142
+ display:none;
143
+ height: max-content;
144
+ width: max-content;
145
+ border-radius: var(--border_radius);
146
+ margin-top: 0;
147
+ padding: 6px;
148
+ font-size: var(--font_default_size);
149
+ flex-direction: column;
150
+ z-index: 1;
151
+ border: 1px solid var(--border_color);
152
+ box-shadow: var(--box_shadow_drop);
153
+ }
154
+
155
+ text_editor_select_button_open {
156
+ outline: none;
157
+ padding: 6px 6px 6px 3px;
158
+ }
159
+
160
+ text_editor_selectbox_option {
161
+ text-align: start;
162
+ padding: 6px 12px;
163
+ border-radius: var(--border_radius)
164
+ }
165
+
166
+ text_editor_selectbox_option:hover {
167
+ background: var(--blue_prime_background)
168
+ }
169
+
170
+ text_editor_selectbox_option:hover font {
171
+ color: var(--text_color_hover);
172
+ }
173
+
174
+ /* chUiJS_TextEditorPanel */
175
+ text_editor_panel {
176
+ height: max-content;
177
+ width: -webkit-fill-available;
178
+ display: flex;
179
+ flex-wrap: wrap;
180
+ justify-content: center;
181
+ align-items: center
182
+ }
183
+
184
+ text_editor_block {
185
+ height: max-content;
186
+ width: max-content;
187
+ display: flex;
188
+ }
189
+
190
+ .text_editor_table {
191
+ display: table;
192
+ border-radius: 0;
193
+ width: -webkit-fill-available;
194
+ border-collapse: collapse;
195
+ border: 1px solid var(--blue_prime_background);
196
+ }
197
+
198
+ .text_editor_table_body {
199
+ border: 1px solid var(--blue_prime_background);
200
+ width: auto
201
+ }
202
+
203
+ .text_editor_table_row {
204
+ width: auto;
205
+ display: table-row
206
+ }
207
+
208
+ .text_editor_table_cell {
209
+ height: max-content;
210
+ width: auto;
211
+ display: table-cell;
212
+ border: 1px solid var(--blue_prime_background)
213
+ }
214
+
215
+ pre {
216
+ font-family: 'chui_mono';
217
+ font-weight: 400
218
218
  }