@openziti/ziti-console-lib 0.6.4 → 0.6.6

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 (21) hide show
  1. package/README.md +5 -6
  2. package/assets/styles/global.scss +45 -0
  3. package/esm2022/lib/features/data-table/data-table.component.mjs +2 -2
  4. package/esm2022/lib/features/dynamic-widgets/number/number-input.component.mjs +27 -6
  5. package/esm2022/lib/features/dynamic-widgets/protocol-address-port/protocol-address-port-input.component.mjs +1 -1
  6. package/esm2022/lib/features/dynamic-widgets/selector/selector-input.component.mjs +88 -33
  7. package/esm2022/lib/features/dynamic-widgets/string/string-input.component.mjs +27 -6
  8. package/esm2022/lib/features/projectable-forms/identity/identity-form.component.mjs +9 -3
  9. package/esm2022/lib/services/schema.service.mjs +2 -2
  10. package/esm2022/lib/services/settings-service.class.mjs +2 -2
  11. package/fesm2022/openziti-ziti-console-lib.mjs +149 -49
  12. package/fesm2022/openziti-ziti-console-lib.mjs.map +1 -1
  13. package/lib/features/dynamic-widgets/number/number-input.component.d.ts +2 -1
  14. package/lib/features/dynamic-widgets/number/number-input.component.d.ts.map +1 -1
  15. package/lib/features/dynamic-widgets/selector/selector-input.component.d.ts +7 -2
  16. package/lib/features/dynamic-widgets/selector/selector-input.component.d.ts.map +1 -1
  17. package/lib/features/dynamic-widgets/string/string-input.component.d.ts +2 -1
  18. package/lib/features/dynamic-widgets/string/string-input.component.d.ts.map +1 -1
  19. package/lib/features/projectable-forms/identity/identity-form.component.d.ts.map +1 -1
  20. package/lib/services/settings-service.class.d.ts +1 -1
  21. package/package.json +2 -2
package/README.md CHANGED
@@ -40,36 +40,35 @@ Please star us!
40
40
  </p>
41
41
 
42
42
  ---
43
- [![Issues](https://img.shields.io/github/issues-raw/openziti/ziti-console)]()
43
+
44
+ [![Issues](https://img.shields.io/github/issues-raw/openziti/ziti-console)](https://github.com/openziti/ziti-console/issues)
44
45
  [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
45
46
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=rounded)](CONTRIBUTING.md)
46
47
  [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)
47
48
 
48
49
  ---
49
50
 
50
-
51
51
  # ziti-console-lib
52
52
 
53
53
  ziti-console-lib is a shared Angular library that exports components used to administrate an <a href="https://openziti.io">OpenZiti Network</a>
54
54
 
55
55
  This library is imported and extended via the <a href="https://github.com/openziti/ziti-console">Ziti Admin Console</a>, but can also be used in other 3rd party Angular applications.
56
56
 
57
-
58
57
  ## How to install
59
58
 
60
59
  To install this library in an angular application, run the following command from your project root:
61
60
 
62
- ```
61
+ ```bash
63
62
  npm install @openziti/ziti-console-lib
64
63
  ```
65
64
 
66
65
  This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.0.0.
67
66
 
68
67
  ## Building From Source
69
- After checking out the main <a href="https://github.com/openziti/ziti-console">ziti-console</a> github project,
70
68
 
71
- Run `ng build ziti-console-lib` from the project root to build the shared library. The build artifact will be stored in the `dist/` directory.
69
+ After checking out the main <a href="https://github.com/openziti/ziti-console">ziti-console</a> github project,
72
70
 
71
+ Run `ng build ziti-console-lib` from the project root to build the shared library. The build artifact will be stored in the `dist/ziti-console-lib` directory.
73
72
 
74
73
  ## Code scaffolding
75
74
 
@@ -120,6 +120,34 @@ input {
120
120
  flex-direction: row;
121
121
  flex-wrap: nowrap;
122
122
  }
123
+
124
+ .ag-cell-wrapper {
125
+ &.ag-checkbox-cell {
126
+ height: 100%;
127
+ .ag-checkbox-input-wrapper {
128
+ display: none;
129
+ border-radius: 30px;
130
+ overflow: hidden;
131
+ &.ag-checked {
132
+ display: block;
133
+ }
134
+ &:after {
135
+ overflow: hidden;
136
+ color: var(--green);
137
+ font-size: 17px;
138
+ border-radius: 30px;
139
+ }
140
+ &.ag-disabled {
141
+ opacity: .8;
142
+ }
143
+ &:active,
144
+ &:focus,
145
+ &:focus-within {
146
+ box-shadow: none !important;
147
+ }
148
+ }
149
+ }
150
+ }
123
151
  }
124
152
 
125
153
  .header-text-container.text-input-filter {
@@ -194,6 +222,14 @@ input {
194
222
  }
195
223
  }
196
224
 
225
+ .wide-tooltip {
226
+ .mdc-tooltip__surface {
227
+ white-space: pre-line;
228
+ max-width: 300px;
229
+ }
230
+ }
231
+
232
+
197
233
  .mat-mdc-dialog-container {
198
234
  .mat-mdc-dialog-surface {
199
235
  &.mdc-dialog__surface {
@@ -1051,6 +1087,15 @@ lib-tag-selector {
1051
1087
  }
1052
1088
  }
1053
1089
 
1090
+ .loginForm {
1091
+ .invalid {
1092
+ select,
1093
+ input {
1094
+ border-color: var(--red) !important;
1095
+ }
1096
+ }
1097
+ }
1098
+
1054
1099
  .form-field-extended-fields {
1055
1100
  label {
1056
1101
  color: var(--white) !important;