@dereekb/dbx-form 0.0.1

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 (217) hide show
  1. package/README.md +6 -0
  2. package/dereekb-dbx-form.d.ts +5 -0
  3. package/esm2020/dereekb-dbx-form.mjs +5 -0
  4. package/esm2020/index.mjs +2 -0
  5. package/esm2020/lib/form/action/form.action.directive.mjs +131 -0
  6. package/esm2020/lib/form/action/form.action.module.mjs +30 -0
  7. package/esm2020/lib/form/action/index.mjs +3 -0
  8. package/esm2020/lib/form/form.changes.directive.mjs +33 -0
  9. package/esm2020/lib/form/form.input.directive.mjs +49 -0
  10. package/esm2020/lib/form/form.mjs +20 -0
  11. package/esm2020/lib/form/form.module.mjs +36 -0
  12. package/esm2020/lib/form/index.mjs +7 -0
  13. package/esm2020/lib/form/loading/form.loading.directive.mjs +52 -0
  14. package/esm2020/lib/form/loading/index.mjs +2 -0
  15. package/esm2020/lib/formly/field/checklist/checklist.item.field.component.mjs +91 -0
  16. package/esm2020/lib/formly/field/checklist/checklist.item.field.content.default.component.mjs +38 -0
  17. package/esm2020/lib/formly/field/checklist/checklist.item.field.mjs +119 -0
  18. package/esm2020/lib/formly/field/checklist/checklist.item.field.module.mjs +81 -0
  19. package/esm2020/lib/formly/field/checklist/checklist.item.mjs +2 -0
  20. package/esm2020/lib/formly/field/checklist/index.mjs +6 -0
  21. package/esm2020/lib/formly/field/component/component.field.component.mjs +35 -0
  22. package/esm2020/lib/formly/field/component/component.field.mjs +7 -0
  23. package/esm2020/lib/formly/field/component/component.field.module.mjs +42 -0
  24. package/esm2020/lib/formly/field/component/index.mjs +4 -0
  25. package/esm2020/lib/formly/field/field.mjs +21 -0
  26. package/esm2020/lib/formly/field/index.mjs +7 -0
  27. package/esm2020/lib/formly/field/selection/index.mjs +4 -0
  28. package/esm2020/lib/formly/field/selection/pickable/index.mjs +6 -0
  29. package/esm2020/lib/formly/field/selection/pickable/pickable.chip.field.component.mjs +30 -0
  30. package/esm2020/lib/formly/field/selection/pickable/pickable.field.directive.mjs +244 -0
  31. package/esm2020/lib/formly/field/selection/pickable/pickable.field.module.mjs +96 -0
  32. package/esm2020/lib/formly/field/selection/pickable/pickable.list.field.component.mjs +30 -0
  33. package/esm2020/lib/formly/field/selection/pickable/pickable.mjs +2 -0
  34. package/esm2020/lib/formly/field/selection/searchable/index.mjs +9 -0
  35. package/esm2020/lib/formly/field/selection/searchable/searchable.chip.field.component.mjs +45 -0
  36. package/esm2020/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.mjs +73 -0
  37. package/esm2020/lib/formly/field/selection/searchable/searchable.field.directive.mjs +237 -0
  38. package/esm2020/lib/formly/field/selection/searchable/searchable.field.mjs +45 -0
  39. package/esm2020/lib/formly/field/selection/searchable/searchable.field.module.mjs +107 -0
  40. package/esm2020/lib/formly/field/selection/searchable/searchable.mjs +2 -0
  41. package/esm2020/lib/formly/field/selection/searchable/searchable.text.field.component.mjs +31 -0
  42. package/esm2020/lib/formly/field/selection/searchable/text.chip.field.mjs +15 -0
  43. package/esm2020/lib/formly/field/selection/selection.mjs +2 -0
  44. package/esm2020/lib/formly/field/value/array/array.field.component.mjs +87 -0
  45. package/esm2020/lib/formly/field/value/array/array.field.module.mjs +52 -0
  46. package/esm2020/lib/formly/field/value/array/index.mjs +3 -0
  47. package/esm2020/lib/formly/field/value/boolean/boolean.field.mjs +50 -0
  48. package/esm2020/lib/formly/field/value/boolean/boolean.field.module.mjs +16 -0
  49. package/esm2020/lib/formly/field/value/boolean/index.mjs +3 -0
  50. package/esm2020/lib/formly/field/value/date/date.field.mjs +36 -0
  51. package/esm2020/lib/formly/field/value/date/date.field.module.mjs +87 -0
  52. package/esm2020/lib/formly/field/value/date/datetime.field.component.mjs +226 -0
  53. package/esm2020/lib/formly/field/value/date/index.mjs +4 -0
  54. package/esm2020/lib/formly/field/value/enum/enum.field.mjs +18 -0
  55. package/esm2020/lib/formly/field/value/enum/enum.mjs +2 -0
  56. package/esm2020/lib/formly/field/value/enum/index.mjs +4 -0
  57. package/esm2020/lib/formly/field/value/hidden.field.mjs +8 -0
  58. package/esm2020/lib/formly/field/value/index.mjs +8 -0
  59. package/esm2020/lib/formly/field/value/phone/index.mjs +4 -0
  60. package/esm2020/lib/formly/field/value/phone/phone.field.component.mjs +44 -0
  61. package/esm2020/lib/formly/field/value/phone/phone.field.mjs +64 -0
  62. package/esm2020/lib/formly/field/value/phone/phone.field.module.mjs +67 -0
  63. package/esm2020/lib/formly/field/value/text/index.mjs +4 -0
  64. package/esm2020/lib/formly/field/value/text/text.address.field.mjs +65 -0
  65. package/esm2020/lib/formly/field/value/text/text.field.mjs +125 -0
  66. package/esm2020/lib/formly/field/value/text/text.field.module.mjs +19 -0
  67. package/esm2020/lib/formly/field/wrapper/autotouch.wrapper.component.mjs +26 -0
  68. package/esm2020/lib/formly/field/wrapper/expandable.wrapper.component.mjs +83 -0
  69. package/esm2020/lib/formly/field/wrapper/flex.wrapper.component.mjs +22 -0
  70. package/esm2020/lib/formly/field/wrapper/flex.wrapper.layout.mjs +20 -0
  71. package/esm2020/lib/formly/field/wrapper/form.wrapper.module.mjs +84 -0
  72. package/esm2020/lib/formly/field/wrapper/index.mjs +11 -0
  73. package/esm2020/lib/formly/field/wrapper/info.wrapper.component.mjs +47 -0
  74. package/esm2020/lib/formly/field/wrapper/section.wrapper.component.mjs +35 -0
  75. package/esm2020/lib/formly/field/wrapper/subsection.wrapper.component.mjs +35 -0
  76. package/esm2020/lib/formly/field/wrapper/toggle.wrapper.component.mjs +58 -0
  77. package/esm2020/lib/formly/field/wrapper/toggle.wrapper.mjs +10 -0
  78. package/esm2020/lib/formly/formly.component.mjs +134 -0
  79. package/esm2020/lib/formly/formly.context.mjs +111 -0
  80. package/esm2020/lib/formly/formly.directive.mjs +101 -0
  81. package/esm2020/lib/formly/formly.module.mjs +59 -0
  82. package/esm2020/lib/formly/index.mjs +6 -0
  83. package/esm2020/lib/index.mjs +5 -0
  84. package/esm2020/lib/layout/form.layout.module.mjs +26 -0
  85. package/esm2020/lib/layout/form.spacer.component.mjs +17 -0
  86. package/esm2020/lib/layout/index.mjs +3 -0
  87. package/esm2020/lib/validator/boolean.mjs +12 -0
  88. package/esm2020/lib/validator/email.mjs +6 -0
  89. package/esm2020/lib/validator/index.mjs +4 -0
  90. package/esm2020/lib/validator/number.mjs +21 -0
  91. package/fesm2015/dereekb-dbx-form.mjs +3295 -0
  92. package/fesm2015/dereekb-dbx-form.mjs.map +1 -0
  93. package/fesm2020/dereekb-dbx-form.mjs +3289 -0
  94. package/fesm2020/dereekb-dbx-form.mjs.map +1 -0
  95. package/index.d.ts +1 -0
  96. package/lib/form/action/form.action.directive.d.ts +44 -0
  97. package/lib/form/action/form.action.module.d.ts +9 -0
  98. package/lib/form/action/index.d.ts +2 -0
  99. package/lib/form/form.changes.directive.d.ts +15 -0
  100. package/lib/form/form.d.ts +51 -0
  101. package/lib/form/form.input.directive.d.ts +18 -0
  102. package/lib/form/form.module.d.ts +10 -0
  103. package/lib/form/index.d.ts +6 -0
  104. package/lib/form/loading/form.loading.directive.d.ts +19 -0
  105. package/lib/form/loading/index.d.ts +1 -0
  106. package/lib/formly/field/checklist/checklist.item.d.ts +38 -0
  107. package/lib/formly/field/checklist/checklist.item.field.component.d.ts +48 -0
  108. package/lib/formly/field/checklist/checklist.item.field.content.default.component.d.ts +10 -0
  109. package/lib/formly/field/checklist/checklist.item.field.d.ts +50 -0
  110. package/lib/formly/field/checklist/checklist.item.field.module.d.ts +18 -0
  111. package/lib/formly/field/checklist/index.d.ts +5 -0
  112. package/lib/formly/field/component/component.field.component.d.ts +22 -0
  113. package/lib/formly/field/component/component.field.d.ts +6 -0
  114. package/lib/formly/field/component/component.field.module.d.ts +10 -0
  115. package/lib/formly/field/component/index.d.ts +3 -0
  116. package/lib/formly/field/field.d.ts +31 -0
  117. package/lib/formly/field/index.d.ts +6 -0
  118. package/lib/formly/field/selection/index.d.ts +3 -0
  119. package/lib/formly/field/selection/pickable/index.d.ts +5 -0
  120. package/lib/formly/field/selection/pickable/pickable.chip.field.component.d.ts +10 -0
  121. package/lib/formly/field/selection/pickable/pickable.d.ts +28 -0
  122. package/lib/formly/field/selection/pickable/pickable.field.directive.d.ts +155 -0
  123. package/lib/formly/field/selection/pickable/pickable.field.module.d.ts +20 -0
  124. package/lib/formly/field/selection/pickable/pickable.list.field.component.d.ts +11 -0
  125. package/lib/formly/field/selection/searchable/index.d.ts +8 -0
  126. package/lib/formly/field/selection/searchable/searchable.chip.field.component.d.ts +16 -0
  127. package/lib/formly/field/selection/searchable/searchable.d.ts +40 -0
  128. package/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.d.ts +20 -0
  129. package/lib/formly/field/selection/searchable/searchable.field.d.ts +16 -0
  130. package/lib/formly/field/selection/searchable/searchable.field.directive.d.ts +131 -0
  131. package/lib/formly/field/selection/searchable/searchable.field.module.d.ts +21 -0
  132. package/lib/formly/field/selection/searchable/searchable.text.field.component.d.ts +15 -0
  133. package/lib/formly/field/selection/searchable/text.chip.field.d.ts +9 -0
  134. package/lib/formly/field/selection/selection.d.ts +25 -0
  135. package/lib/formly/field/value/array/array.field.component.d.ts +22 -0
  136. package/lib/formly/field/value/array/array.field.module.d.ts +13 -0
  137. package/lib/formly/field/value/array/index.d.ts +2 -0
  138. package/lib/formly/field/value/boolean/boolean.field.d.ts +8 -0
  139. package/lib/formly/field/value/boolean/boolean.field.module.d.ts +6 -0
  140. package/lib/formly/field/value/boolean/index.d.ts +2 -0
  141. package/lib/formly/field/value/date/date.field.d.ts +13 -0
  142. package/lib/formly/field/value/date/date.field.module.d.ts +21 -0
  143. package/lib/formly/field/value/date/datetime.field.component.d.ts +105 -0
  144. package/lib/formly/field/value/date/index.d.ts +3 -0
  145. package/lib/formly/field/value/enum/enum.d.ts +4 -0
  146. package/lib/formly/field/value/enum/enum.field.d.ts +14 -0
  147. package/lib/formly/field/value/enum/index.d.ts +2 -0
  148. package/lib/formly/field/value/hidden.field.d.ts +5 -0
  149. package/lib/formly/field/value/index.d.ts +7 -0
  150. package/lib/formly/field/value/phone/index.d.ts +3 -0
  151. package/lib/formly/field/value/phone/phone.field.component.d.ts +24 -0
  152. package/lib/formly/field/value/phone/phone.field.d.ts +26 -0
  153. package/lib/formly/field/value/phone/phone.field.module.d.ts +16 -0
  154. package/lib/formly/field/value/text/index.d.ts +3 -0
  155. package/lib/formly/field/value/text/text.address.field.d.ts +12 -0
  156. package/lib/formly/field/value/text/text.field.d.ts +42 -0
  157. package/lib/formly/field/value/text/text.field.module.d.ts +7 -0
  158. package/lib/formly/field/wrapper/autotouch.wrapper.component.d.ts +11 -0
  159. package/lib/formly/field/wrapper/expandable.wrapper.component.d.ts +43 -0
  160. package/lib/formly/field/wrapper/flex.wrapper.component.d.ts +6 -0
  161. package/lib/formly/field/wrapper/flex.wrapper.layout.d.ts +10 -0
  162. package/lib/formly/field/wrapper/form.wrapper.module.d.ts +19 -0
  163. package/lib/formly/field/wrapper/index.d.ts +10 -0
  164. package/lib/formly/field/wrapper/info.wrapper.component.d.ts +17 -0
  165. package/lib/formly/field/wrapper/section.wrapper.component.d.ts +8 -0
  166. package/lib/formly/field/wrapper/subsection.wrapper.component.d.ts +8 -0
  167. package/lib/formly/field/wrapper/toggle.wrapper.component.d.ts +24 -0
  168. package/lib/formly/field/wrapper/toggle.wrapper.d.ts +7 -0
  169. package/lib/formly/formly.component.d.ts +36 -0
  170. package/lib/formly/formly.context.d.ts +57 -0
  171. package/lib/formly/formly.directive.d.ts +50 -0
  172. package/lib/formly/formly.module.d.ts +11 -0
  173. package/lib/formly/index.d.ts +5 -0
  174. package/lib/index.d.ts +4 -0
  175. package/lib/layout/form.layout.module.d.ts +8 -0
  176. package/lib/layout/form.spacer.component.d.ts +8 -0
  177. package/lib/layout/index.d.ts +2 -0
  178. package/lib/validator/boolean.d.ts +2 -0
  179. package/lib/validator/email.d.ts +3 -0
  180. package/lib/validator/index.d.ts +3 -0
  181. package/lib/validator/number.d.ts +2 -0
  182. package/package.json +67 -0
  183. package/src/_index.scss +11 -0
  184. package/src/lib/form/_form.scss +26 -0
  185. package/src/lib/formly/_formly.scss +26 -0
  186. package/src/lib/formly/field/_field.scss +33 -0
  187. package/src/lib/formly/field/checklist/_checklist.scss +26 -0
  188. package/src/lib/formly/field/checklist/checklist.item_TODO.scss +57 -0
  189. package/src/lib/formly/field/component/_component.scss +26 -0
  190. package/src/lib/formly/field/fields_TODO.scss +4 -0
  191. package/src/lib/formly/field/selection/_selection.scss +17 -0
  192. package/src/lib/formly/field/selection/generic_TODO.scss +36 -0
  193. package/src/lib/formly/field/selection/pickable/_pickable.scss +26 -0
  194. package/src/lib/formly/field/selection/searchable/_searchable.scss +26 -0
  195. package/src/lib/formly/field/texteditor/_texteditor.scss +26 -0
  196. package/src/lib/formly/field/texteditor/texteditor_TODO.scss +32 -0
  197. package/src/lib/formly/field/value/_value.scss +33 -0
  198. package/src/lib/formly/field/value/array/_array.scss +26 -0
  199. package/src/lib/formly/field/value/boolean/_boolean.scss +26 -0
  200. package/src/lib/formly/field/value/date/_date.scss +26 -0
  201. package/src/lib/formly/field/value/date/date_TODO.scss +27 -0
  202. package/src/lib/formly/field/value/enum/_enum.scss +26 -0
  203. package/src/lib/formly/field/value/phone/_phone.scss +26 -0
  204. package/src/lib/formly/field/value/phone/phone_TODO.scss +10 -0
  205. package/src/lib/formly/field/value/text/_text.scss +26 -0
  206. package/src/lib/formly/field/wrapper/_wrapper.scss +26 -0
  207. package/src/lib/formly/field/wrapper/wrapper_TODO.scss +34 -0
  208. package/src/lib/formly/form_TODO.scss +153 -0
  209. package/src/lib/layout/_layout.scss +26 -0
  210. package/src/lib/style/_all-core.scss +12 -0
  211. package/src/lib/style/_all-theme.scss +12 -0
  212. package/src/lib/style/_all-typography.scss +12 -0
  213. package/src/lib/style/_config.scss +20 -0
  214. package/src/lib/style/_core.scss +9 -0
  215. package/src/lib/style/_mixin.scss +3 -0
  216. package/src/lib/style/_theming.scss +19 -0
  217. package/src/lib/style/_variables.scss +1 -0
@@ -0,0 +1,33 @@
1
+ @use './checklist/checklist';
2
+ @use './component/component';
3
+ @use './selection/selection';
4
+ @use './texteditor/texteditor';
5
+ @use './value/value';
6
+ @use './wrapper/wrapper';
7
+
8
+ @mixin all-field-core() {
9
+ @include checklist.core();
10
+ @include component.core();
11
+ @include selection.all-selection-core();
12
+ @include texteditor.core();
13
+ @include value.all-value-core();
14
+ @include wrapper.core();
15
+ }
16
+
17
+ @mixin all-field-typography($typography-config) {
18
+ @include checklist.typography($typography-config);
19
+ @include component.typography($typography-config);
20
+ @include selection.all-selection-typography($typography-config);
21
+ @include texteditor.typography($typography-config);
22
+ @include value.all-value-typography($typography-config);
23
+ @include wrapper.typography($typography-config);
24
+ }
25
+
26
+ @mixin all-field-theme($theme-config) {
27
+ @include checklist.theme($theme-config);
28
+ @include component.theme($theme-config);
29
+ @include selection.all-selection-theme($theme-config);
30
+ @include texteditor.theme($theme-config);
31
+ @include value.all-value-theme($theme-config);
32
+ @include wrapper.theme($theme-config);
33
+ }
@@ -0,0 +1,26 @@
1
+ @use '../../../style/theming';
2
+
3
+ // MARK: Variables
4
+
5
+
6
+ // MARK: Mixin
7
+ @mixin core() {}
8
+
9
+ @mixin color($theme-config) {}
10
+
11
+ @mixin typography($typography-config) {}
12
+
13
+ @mixin theme($theme-config) {
14
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-checklist') {
15
+ $color: theming.get-color-config($theme-config);
16
+ $typography: theming.get-typography-config($theme-config);
17
+
18
+ @if $color !=null {
19
+ @include color($theme-config);
20
+ }
21
+
22
+ @if $typography !=null {
23
+ @include typography($typography);
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,57 @@
1
+ @import 'shared';
2
+
3
+ $dbx-checklist-item-spacing: 8px;
4
+
5
+ .dbx-checklist-item-wrapper {
6
+
7
+ }
8
+
9
+ .dbx-checklist-item {
10
+ @include mat-elevation(1);
11
+ margin-bottom: 8px;
12
+
13
+ display: flex;
14
+ flex-direction: row;
15
+ align-items: center;
16
+ justify-content: left;
17
+
18
+ .dbx-checklist-item-check {
19
+ flex: auto 0 0;
20
+ // margin-right: $dbx-checklist-item-spacing;
21
+ padding: 12px;
22
+ }
23
+
24
+ .dbx-checklist-item-content-wrapper {
25
+ height: 100%;
26
+ width: 100%;
27
+ }
28
+
29
+ .dbx-checklist-item-content {
30
+ display: flex;
31
+ align-items: center;
32
+
33
+ min-height: 44px;
34
+ flex: auto 1 1;
35
+ padding: $dbx-checklist-item-spacing 0;
36
+ padding-left: $dbx-checklist-item-spacing;
37
+ border-left: 1px solid black;
38
+ }
39
+
40
+ }
41
+
42
+ .dbx-default-checklist-item-field {
43
+
44
+ .item-label {
45
+ font-size: 1.35em;
46
+ line-height: 1.35em;
47
+ }
48
+
49
+ .item-sublabel {
50
+
51
+ }
52
+
53
+ .item-description {
54
+
55
+ }
56
+
57
+ }
@@ -0,0 +1,26 @@
1
+ @use '../../../style/theming';
2
+
3
+ // MARK: Variables
4
+
5
+
6
+ // MARK: Mixin
7
+ @mixin core() {}
8
+
9
+ @mixin color($theme-config) {}
10
+
11
+ @mixin typography($typography-config) {}
12
+
13
+ @mixin theme($theme-config) {
14
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-component') {
15
+ $color: theming.get-color-config($theme-config);
16
+ $typography: theming.get-typography-config($theme-config);
17
+
18
+ @if $color !=null {
19
+ @include color($theme-config);
20
+ }
21
+
22
+ @if $typography !=null {
23
+ @include typography($typography);
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,4 @@
1
+
2
+ .form-wrapped-component {
3
+ margin: 12px 0;
4
+ }
@@ -0,0 +1,17 @@
1
+ @use './pickable/pickable';
2
+ @use './searchable/searchable';
3
+
4
+ @mixin all-selection-core() {
5
+ @include pickable.core();
6
+ @include searchable.core();
7
+ }
8
+
9
+ @mixin all-selection-typography($typography-config) {
10
+ @include pickable.typography($typography-config);
11
+ @include searchable.typography($typography-config);
12
+ }
13
+
14
+ @mixin all-selection-theme($theme-config) {
15
+ @include pickable.theme($theme-config);
16
+ @include searchable.theme($theme-config);
17
+ }
@@ -0,0 +1,36 @@
1
+ @import 'shared';
2
+
3
+ .dbx-searchable-field {
4
+ .s-chip-sublabel {
5
+ margin-left: 4px;
6
+ }
7
+ }
8
+
9
+ .dbx-searchable-field-form-field {
10
+ width: 100%;
11
+
12
+ .participant-name {
13
+ margin-left: 4px;
14
+ }
15
+ }
16
+
17
+ .form-repeat-section {
18
+ .form-repeat-section-field {
19
+ h4 {
20
+ margin: 0;
21
+ display: inline;
22
+ }
23
+ }
24
+ }
25
+
26
+ .searchable-field-form-loading {
27
+ margin: -18px;
28
+ }
29
+
30
+ .dbx-pickable-item-field, .dbx-pickable-item-field-filter-field {
31
+ width: 100%;
32
+ }
33
+
34
+ .dbx-pickable-item-field-chips {
35
+ padding: 8px;
36
+ }
@@ -0,0 +1,26 @@
1
+ @use '../../../../style/theming';
2
+
3
+ // MARK: Variables
4
+
5
+
6
+ // MARK: Mixin
7
+ @mixin core() {}
8
+
9
+ @mixin color($theme-config) {}
10
+
11
+ @mixin typography($typography-config) {}
12
+
13
+ @mixin theme($theme-config) {
14
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-selection-pickable') {
15
+ $color: theming.get-color-config($theme-config);
16
+ $typography: theming.get-typography-config($theme-config);
17
+
18
+ @if $color !=null {
19
+ @include color($theme-config);
20
+ }
21
+
22
+ @if $typography !=null {
23
+ @include typography($typography);
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ @use '../../../../style/theming';
2
+
3
+ // MARK: Variables
4
+
5
+
6
+ // MARK: Mixin
7
+ @mixin core() {}
8
+
9
+ @mixin color($theme-config) {}
10
+
11
+ @mixin typography($typography-config) {}
12
+
13
+ @mixin theme($theme-config) {
14
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-selection-searchable') {
15
+ $color: theming.get-color-config($theme-config);
16
+ $typography: theming.get-typography-config($theme-config);
17
+
18
+ @if $color !=null {
19
+ @include color($theme-config);
20
+ }
21
+
22
+ @if $typography !=null {
23
+ @include typography($typography);
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ @use '../../../style/theming';
2
+
3
+ // MARK: Variables
4
+
5
+
6
+ // MARK: Mixin
7
+ @mixin core() {}
8
+
9
+ @mixin color($theme-config) {}
10
+
11
+ @mixin typography($typography-config) {}
12
+
13
+ @mixin theme($theme-config) {
14
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-texteditor') {
15
+ $color: theming.get-color-config($theme-config);
16
+ $typography: theming.get-typography-config($theme-config);
17
+
18
+ @if $color !=null {
19
+ @include color($theme-config);
20
+ }
21
+
22
+ @if $typography !=null {
23
+ @include typography($typography);
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,32 @@
1
+ @import 'shared';
2
+
3
+ .dbx-texteditor-field-compact {
4
+ .dbx-texteditor-field-input {
5
+ min-height: 120px;
6
+ height: 300px;
7
+ max-height: calc(var(--vh100) * 0.5);
8
+ }
9
+ }
10
+
11
+ .dbx-texteditor-field-input {
12
+ // height: 400px;
13
+ max-height: 50vh;
14
+ overflow: auto;
15
+ }
16
+
17
+ .dbx-texteditor-field-menu {
18
+ @include mat-elevation(3);
19
+ }
20
+
21
+ .dbx-texteditor-field-label {}
22
+
23
+ .dbx-texteditor-field {
24
+
25
+ &.NgxEditor__Wrapper {
26
+ border: 0;
27
+ }
28
+
29
+ margin-bottom: 12px;
30
+ }
31
+
32
+ // More styling changes in styles.scss
@@ -0,0 +1,33 @@
1
+ @use './array/array';
2
+ @use './boolean/boolean';
3
+ @use './date/date';
4
+ @use './enum/enum';
5
+ @use './phone/phone';
6
+ @use './text/text';
7
+
8
+ @mixin all-value-core() {
9
+ @include array.core();
10
+ @include boolean.core();
11
+ @include date.core();
12
+ @include enum.core();
13
+ @include phone.core();
14
+ @include text.core();
15
+ }
16
+
17
+ @mixin all-value-typography($typography-config) {
18
+ @include array.typography($typography-config);
19
+ @include boolean.typography($typography-config);
20
+ @include date.typography($typography-config);
21
+ @include enum.typography($typography-config);
22
+ @include phone.typography($typography-config);
23
+ @include text.typography($typography-config);
24
+ }
25
+
26
+ @mixin all-value-theme($theme-config) {
27
+ @include array.theme($theme-config);
28
+ @include boolean.theme($theme-config);
29
+ @include date.theme($theme-config);
30
+ @include enum.theme($theme-config);
31
+ @include phone.theme($theme-config);
32
+ @include text.theme($theme-config);
33
+ }
@@ -0,0 +1,26 @@
1
+ @use '../../../../style/theming';
2
+
3
+ // MARK: Variables
4
+
5
+
6
+ // MARK: Mixin
7
+ @mixin core() {}
8
+
9
+ @mixin color($theme-config) {}
10
+
11
+ @mixin typography($typography-config) {}
12
+
13
+ @mixin theme($theme-config) {
14
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-array') {
15
+ $color: theming.get-color-config($theme-config);
16
+ $typography: theming.get-typography-config($theme-config);
17
+
18
+ @if $color !=null {
19
+ @include color($theme-config);
20
+ }
21
+
22
+ @if $typography !=null {
23
+ @include typography($typography);
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ @use '../../../../style/theming';
2
+
3
+ // MARK: Variables
4
+
5
+
6
+ // MARK: Mixin
7
+ @mixin core() {}
8
+
9
+ @mixin color($theme-config) {}
10
+
11
+ @mixin typography($typography-config) {}
12
+
13
+ @mixin theme($theme-config) {
14
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-boolean') {
15
+ $color: theming.get-color-config($theme-config);
16
+ $typography: theming.get-typography-config($theme-config);
17
+
18
+ @if $color !=null {
19
+ @include color($theme-config);
20
+ }
21
+
22
+ @if $typography !=null {
23
+ @include typography($typography);
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ @use '../../../../style/theming';
2
+
3
+ // MARK: Variables
4
+
5
+
6
+ // MARK: Mixin
7
+ @mixin core() {}
8
+
9
+ @mixin color($theme-config) {}
10
+
11
+ @mixin typography($typography-config) {}
12
+
13
+ @mixin theme($theme-config) {
14
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-date') {
15
+ $color: theming.get-color-config($theme-config);
16
+ $typography: theming.get-typography-config($theme-config);
17
+
18
+ @if $color !=null {
19
+ @include color($theme-config);
20
+ }
21
+
22
+ @if $typography !=null {
23
+ @include typography($typography);
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,27 @@
1
+ @import 'shared';
2
+
3
+ .dbx-datetime-field {
4
+ width: 100%;
5
+ }
6
+
7
+ $dbx-datetime-button-width: 40px;
8
+
9
+ .dbx-datetime-row {
10
+ .dbx-datetime-row-field {
11
+ width: calc(100% - #{$dbx-datetime-button-width});
12
+ }
13
+ }
14
+
15
+ .add-time-button {
16
+ margin-top: 3px;
17
+ width: 100%;
18
+ }
19
+
20
+ .add-time-button-wrapper {
21
+ margin: auto;
22
+ margin-bottom: 4px;
23
+ }
24
+
25
+ .dbx-datetime-hint-row {
26
+ // margin-left: 12px;
27
+ }
@@ -0,0 +1,26 @@
1
+ @use '../../../../style/theming';
2
+
3
+ // MARK: Variables
4
+
5
+
6
+ // MARK: Mixin
7
+ @mixin core() {}
8
+
9
+ @mixin color($theme-config) {}
10
+
11
+ @mixin typography($typography-config) {}
12
+
13
+ @mixin theme($theme-config) {
14
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-enum') {
15
+ $color: theming.get-color-config($theme-config);
16
+ $typography: theming.get-typography-config($theme-config);
17
+
18
+ @if $color !=null {
19
+ @include color($theme-config);
20
+ }
21
+
22
+ @if $typography !=null {
23
+ @include typography($typography);
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ @use '../../../../style/theming';
2
+
3
+ // MARK: Variables
4
+
5
+
6
+ // MARK: Mixin
7
+ @mixin core() {}
8
+
9
+ @mixin color($theme-config) {}
10
+
11
+ @mixin typography($typography-config) {}
12
+
13
+ @mixin theme($theme-config) {
14
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-phone') {
15
+ $color: theming.get-color-config($theme-config);
16
+ $typography: theming.get-typography-config($theme-config);
17
+
18
+ @if $color !=null {
19
+ @include color($theme-config);
20
+ }
21
+
22
+ @if $typography !=null {
23
+ @include typography($typography);
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,10 @@
1
+ @import 'shared';
2
+
3
+ .dbx-international-phone-field,
4
+ .dbx-international-phone-form-field {
5
+ width: 100%;
6
+ }
7
+
8
+ .dbx-international-phone-form-field {
9
+ margin-top: 1px;
10
+ }
@@ -0,0 +1,26 @@
1
+ @use '../../../../style/theming';
2
+
3
+ // MARK: Variables
4
+
5
+
6
+ // MARK: Mixin
7
+ @mixin core() {}
8
+
9
+ @mixin color($theme-config) {}
10
+
11
+ @mixin typography($typography-config) {}
12
+
13
+ @mixin theme($theme-config) {
14
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-text') {
15
+ $color: theming.get-color-config($theme-config);
16
+ $typography: theming.get-typography-config($theme-config);
17
+
18
+ @if $color !=null {
19
+ @include color($theme-config);
20
+ }
21
+
22
+ @if $typography !=null {
23
+ @include typography($typography);
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ @use '../../../style/theming';
2
+
3
+ // MARK: Variables
4
+
5
+
6
+ // MARK: Mixin
7
+ @mixin core() {}
8
+
9
+ @mixin color($theme-config) {}
10
+
11
+ @mixin typography($typography-config) {}
12
+
13
+ @mixin theme($theme-config) {
14
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-wrapper') {
15
+ $color: theming.get-color-config($theme-config);
16
+ $typography: theming.get-typography-config($theme-config);
17
+
18
+ @if $color !=null {
19
+ @include color($theme-config);
20
+ }
21
+
22
+ @if $typography !=null {
23
+ @include typography($typography);
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,34 @@
1
+ @import 'shared';
2
+
3
+ .form-section {
4
+ margin-bottom: $form-section-margin;
5
+
6
+ h3,h4 {
7
+ margin-bottom: 0;
8
+ }
9
+
10
+ .form-section-content {
11
+ // padding-left: 12px;
12
+ }
13
+
14
+ }
15
+
16
+ .form-wrapped-component {
17
+ margin: $form-section-margin 0;
18
+ }
19
+
20
+ .form-info-section-info {
21
+ margin-left: 4px;
22
+ }
23
+
24
+ .form-flex-section {}
25
+
26
+ .form-expandable-section-button {
27
+ text-decoration: underline;
28
+ margin-right: 8px;
29
+ margin-bottom: 6px;
30
+ }
31
+
32
+ .form-toggle-wrapper {
33
+ margin-bottom: $form-section-margin;
34
+ }