@aquera/nile-elements 0.1.55-beta-1 → 0.1.55-patch-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 (206) hide show
  1. package/README.md +3 -0
  2. package/demo/index.html +0 -1
  3. package/dist/{fixture-ba65eb22.esm.js → fixture-90b199c4.esm.js} +1 -1
  4. package/dist/{fixture-324a7ef9.cjs.js → fixture-dbd66009.cjs.js} +2 -2
  5. package/dist/{fixture-324a7ef9.cjs.js.map → fixture-dbd66009.cjs.js.map} +1 -1
  6. package/dist/index.js +2 -2
  7. package/dist/internal/resizable-table-helper.cjs.js +2 -0
  8. package/dist/internal/resizable-table-helper.cjs.js.map +1 -0
  9. package/dist/internal/resizable-table-helper.esm.js +1 -0
  10. package/dist/internal/resizable-table-styles.cjs.js +2 -0
  11. package/dist/internal/resizable-table-styles.cjs.js.map +1 -0
  12. package/dist/internal/resizable-table-styles.esm.js +120 -0
  13. package/dist/nile-accordion/nile-accordian.test.cjs.js +1 -1
  14. package/dist/nile-accordion/nile-accordian.test.esm.js +1 -1
  15. package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js +1 -1
  16. package/dist/nile-auto-complete/nile-auto-complete.test.esm.js +1 -1
  17. package/dist/nile-avatar/nile-avatar.test.cjs.js +1 -1
  18. package/dist/nile-avatar/nile-avatar.test.esm.js +1 -1
  19. package/dist/nile-badge/nile-badge.test.cjs.js +1 -1
  20. package/dist/nile-badge/nile-badge.test.esm.js +1 -1
  21. package/dist/nile-button/nile-button.test.cjs.js +1 -1
  22. package/dist/nile-button/nile-button.test.esm.js +1 -1
  23. package/dist/nile-button-toggle-group/nile-button-toggle-group.test.cjs.js +1 -1
  24. package/dist/nile-button-toggle-group/nile-button-toggle-group.test.esm.js +1 -1
  25. package/dist/nile-calendar/nile-calendar.test.cjs.js +1 -1
  26. package/dist/nile-calendar/nile-calendar.test.esm.js +1 -1
  27. package/dist/nile-card/nile-card.test.cjs.js +1 -1
  28. package/dist/nile-card/nile-card.test.esm.js +1 -1
  29. package/dist/nile-checkbox/nile-checkbox.test.cjs.js +1 -1
  30. package/dist/nile-checkbox/nile-checkbox.test.esm.js +1 -1
  31. package/dist/nile-chip/nile-chip.test.cjs.js +1 -1
  32. package/dist/nile-chip/nile-chip.test.esm.js +1 -1
  33. package/dist/nile-code-editor/nile-code-editor.cjs.js +2 -2
  34. package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
  35. package/dist/nile-code-editor/nile-code-editor.esm.js +2 -2
  36. package/dist/nile-dialog/nile-dialog.test.cjs.js +1 -1
  37. package/dist/nile-dialog/nile-dialog.test.esm.js +1 -1
  38. package/dist/nile-drawer/nile-drawer.test.cjs.js +1 -1
  39. package/dist/nile-drawer/nile-drawer.test.esm.js +1 -1
  40. package/dist/nile-dropdown/nile-dropdown.test.cjs.js +1 -1
  41. package/dist/nile-dropdown/nile-dropdown.test.esm.js +1 -1
  42. package/dist/nile-empty-state/nile-empty-state.test.cjs.js +1 -1
  43. package/dist/nile-empty-state/nile-empty-state.test.esm.js +1 -1
  44. package/dist/nile-error-message/nile-error-message.test.cjs.js +1 -1
  45. package/dist/nile-error-message/nile-error-message.test.esm.js +1 -1
  46. package/dist/nile-filter-chip/nile-filter-chip.test.cjs.js +1 -1
  47. package/dist/nile-filter-chip/nile-filter-chip.test.esm.js +1 -1
  48. package/dist/nile-form-group/nile-form-group.test.cjs.js +1 -1
  49. package/dist/nile-form-group/nile-form-group.test.esm.js +1 -1
  50. package/dist/nile-form-help-text/nile-form-help-text.test.cjs.js +1 -1
  51. package/dist/nile-form-help-text/nile-form-help-text.test.esm.js +1 -1
  52. package/dist/nile-hero/nile-hero.test.cjs.js +1 -1
  53. package/dist/nile-hero/nile-hero.test.esm.js +1 -1
  54. package/dist/nile-icon/nile-icon.test.cjs.js +1 -1
  55. package/dist/nile-icon/nile-icon.test.esm.js +1 -1
  56. package/dist/nile-input/nile-input.test.cjs.js +1 -1
  57. package/dist/nile-input/nile-input.test.esm.js +1 -1
  58. package/dist/nile-link/nile-link.test.cjs.js +1 -1
  59. package/dist/nile-link/nile-link.test.esm.js +1 -1
  60. package/dist/nile-loader/nile-loader.test.cjs.js +1 -1
  61. package/dist/nile-loader/nile-loader.test.esm.js +1 -1
  62. package/dist/nile-popover/nile-popover.test.cjs.js +1 -1
  63. package/dist/nile-popover/nile-popover.test.esm.js +1 -1
  64. package/dist/nile-popup/nile-popup.test.cjs.js +1 -1
  65. package/dist/nile-popup/nile-popup.test.esm.js +1 -1
  66. package/dist/nile-progress-bar/nile-progress-bar.test.cjs.js +1 -1
  67. package/dist/nile-progress-bar/nile-progress-bar.test.esm.js +1 -1
  68. package/dist/nile-radio/nile-radio.test.cjs.js +1 -1
  69. package/dist/nile-radio/nile-radio.test.esm.js +1 -1
  70. package/dist/nile-radio-group/nile-radio-group.test.cjs.js +1 -1
  71. package/dist/nile-radio-group/nile-radio-group.test.esm.js +1 -1
  72. package/dist/nile-select/nile-select.test.cjs.js +1 -1
  73. package/dist/nile-select/nile-select.test.esm.js +1 -1
  74. package/dist/nile-slide-toggle/nile-slide-toggle.test.cjs.js +1 -1
  75. package/dist/nile-slide-toggle/nile-slide-toggle.test.esm.js +1 -1
  76. package/dist/nile-slider/nile-slider.css.cjs.js +1 -1
  77. package/dist/nile-slider/nile-slider.css.cjs.js.map +1 -1
  78. package/dist/nile-slider/nile-slider.css.esm.js +1 -1
  79. package/dist/nile-tab-group/nile-tab-group.test.cjs.js +1 -1
  80. package/dist/nile-tab-group/nile-tab-group.test.esm.js +1 -1
  81. package/dist/nile-textarea/nile-textarea.test.cjs.js +1 -1
  82. package/dist/nile-textarea/nile-textarea.test.esm.js +1 -1
  83. package/dist/src/internal/resizable-helper.d.ts +59 -0
  84. package/dist/src/internal/resizable-helper.js +115 -0
  85. package/dist/src/internal/resizable-helper.js.map +1 -0
  86. package/dist/src/internal/resizable-styles.d.ts +16 -0
  87. package/dist/src/internal/resizable-styles.js +144 -0
  88. package/dist/src/internal/resizable-styles.js.map +1 -0
  89. package/dist/src/nile-badge/__snapshots__/nile-badge.test.snap.js +17 -0
  90. package/dist/src/nile-calendar/__snapshots__/nile-calendar.test.snap.js +310 -0
  91. package/dist/src/nile-card/__snapshots__/nile-card.test.snap.js +34 -0
  92. package/dist/src/nile-checkbox/__snapshots__/nile-checkbox.test.snap.js +31 -0
  93. package/dist/src/nile-code-editor/nile-code-editor.d.ts +4 -1
  94. package/dist/src/nile-code-editor/nile-code-editor.js +23 -10
  95. package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
  96. package/dist/src/nile-file-preview/nile-file-preview.css.js +167 -209
  97. package/dist/src/nile-file-preview/nile-file-preview.css.js.map +1 -1
  98. package/dist/src/nile-file-preview/nile-file-preview.d.ts +1 -1
  99. package/dist/src/nile-file-preview/nile-file-preview.js +10 -10
  100. package/dist/src/nile-file-preview/nile-file-preview.js.map +1 -1
  101. package/dist/src/nile-file-preview/nile-file-preview.template.js +43 -41
  102. package/dist/src/nile-file-preview/nile-file-preview.template.js.map +1 -1
  103. package/dist/src/nile-file-preview/types/nile-file-preview.enums.d.ts +3 -3
  104. package/dist/src/nile-file-preview/types/nile-file-preview.enums.js +2 -2
  105. package/dist/src/nile-file-preview/types/nile-file-preview.enums.js.map +1 -1
  106. package/dist/src/nile-file-preview/utils/nile-file-preview.util.d.ts +0 -5
  107. package/dist/src/nile-file-preview/utils/nile-file-preview.util.js +0 -25
  108. package/dist/src/nile-file-preview/utils/nile-file-preview.util.js.map +1 -1
  109. package/dist/src/nile-file-upload/nile-file-upload.css.js +87 -140
  110. package/dist/src/nile-file-upload/nile-file-upload.css.js.map +1 -1
  111. package/dist/src/nile-file-upload/nile-file-upload.d.ts +1 -3
  112. package/dist/src/nile-file-upload/nile-file-upload.js +20 -29
  113. package/dist/src/nile-file-upload/nile-file-upload.js.map +1 -1
  114. package/dist/src/nile-file-upload/nile-file-upload.template.d.ts +5 -4
  115. package/dist/src/nile-file-upload/nile-file-upload.template.js +98 -43
  116. package/dist/src/nile-file-upload/nile-file-upload.template.js.map +1 -1
  117. package/dist/src/nile-file-upload/types/file-upload.enums.d.ts +3 -8
  118. package/dist/src/nile-file-upload/types/file-upload.enums.js +1 -6
  119. package/dist/src/nile-file-upload/types/file-upload.enums.js.map +1 -1
  120. package/dist/src/nile-file-upload/utils/drag-drop.util.d.ts +4 -2
  121. package/dist/src/nile-file-upload/utils/drag-drop.util.js +21 -18
  122. package/dist/src/nile-file-upload/utils/drag-drop.util.js.map +1 -1
  123. package/dist/src/nile-file-upload/utils/file-validation.util.d.ts +1 -2
  124. package/dist/src/nile-file-upload/utils/file-validation.util.js +32 -72
  125. package/dist/src/nile-file-upload/utils/file-validation.util.js.map +1 -1
  126. package/dist/src/nile-hero/__snapshots__/nile-hero.test.snap.js +47 -0
  127. package/dist/src/nile-icon/__snapshots__/nile-icon.test.snap.js +16 -0
  128. package/dist/src/nile-input/__snapshots__/nile-input.test.snap.js +75 -0
  129. package/dist/src/nile-popover/__snapshots__/nile-popover.test.snap.js +22 -0
  130. package/dist/tsconfig.tsbuildinfo +1 -1
  131. package/package.json +1 -1
  132. package/src/nile-code-editor/nile-code-editor.ts +20 -7
  133. package/vscode-html-custom-data.json +3 -3
  134. package/dist/aquera-nile-elements-0.1.57-beta-2.0.tgz +0 -0
  135. package/dist/axe.min-2b379f29.cjs.js +0 -12
  136. package/dist/axe.min-2b379f29.cjs.js.map +0 -1
  137. package/dist/axe.min-c2cd8733.esm.js +0 -12
  138. package/dist/fixture-add72f26.esm.js +0 -569
  139. package/dist/fixture-c1bd203f.cjs.js +0 -395
  140. package/dist/fixture-c1bd203f.cjs.js.map +0 -1
  141. package/dist/fixture-cb376a7f.cjs.js +0 -395
  142. package/dist/fixture-cb376a7f.cjs.js.map +0 -1
  143. package/dist/fixture-f2693d97.esm.js +0 -569
  144. package/dist/lit-html-39a6718c.esm.js +0 -6
  145. package/dist/lit-html-9b3af046.cjs.js +0 -6
  146. package/dist/lit-html-9b3af046.cjs.js.map +0 -1
  147. package/dist/nile-file-preview/index.cjs.js +0 -2
  148. package/dist/nile-file-preview/index.cjs.js.map +0 -1
  149. package/dist/nile-file-preview/index.esm.js +0 -1
  150. package/dist/nile-file-preview/nile-file-preview.cjs.js +0 -2
  151. package/dist/nile-file-preview/nile-file-preview.cjs.js.map +0 -1
  152. package/dist/nile-file-preview/nile-file-preview.css.cjs.js +0 -2
  153. package/dist/nile-file-preview/nile-file-preview.css.cjs.js.map +0 -1
  154. package/dist/nile-file-preview/nile-file-preview.css.esm.js +0 -598
  155. package/dist/nile-file-preview/nile-file-preview.esm.js +0 -3
  156. package/dist/nile-file-preview/nile-file-preview.template.cjs.js +0 -2
  157. package/dist/nile-file-preview/nile-file-preview.template.cjs.js.map +0 -1
  158. package/dist/nile-file-preview/nile-file-preview.template.esm.js +0 -176
  159. package/dist/nile-file-preview/nile-file-preview.test.cjs.js +0 -2
  160. package/dist/nile-file-preview/nile-file-preview.test.cjs.js.map +0 -1
  161. package/dist/nile-file-preview/nile-file-preview.test.esm.js +0 -1
  162. package/dist/nile-file-preview/types/index.cjs.js +0 -2
  163. package/dist/nile-file-preview/types/index.cjs.js.map +0 -1
  164. package/dist/nile-file-preview/types/index.esm.js +0 -1
  165. package/dist/nile-file-preview/types/nile-file-preview.enums.cjs.js +0 -2
  166. package/dist/nile-file-preview/types/nile-file-preview.enums.cjs.js.map +0 -1
  167. package/dist/nile-file-preview/types/nile-file-preview.enums.esm.js +0 -1
  168. package/dist/nile-file-preview/types/nile-file-preview.interface.cjs.js +0 -2
  169. package/dist/nile-file-preview/types/nile-file-preview.interface.cjs.js.map +0 -1
  170. package/dist/nile-file-preview/types/nile-file-preview.interface.esm.js +0 -1
  171. package/dist/nile-file-preview/utils/index.cjs.js +0 -2
  172. package/dist/nile-file-preview/utils/index.cjs.js.map +0 -1
  173. package/dist/nile-file-preview/utils/index.esm.js +0 -1
  174. package/dist/nile-file-preview/utils/nile-file-preview.util.cjs.js +0 -2
  175. package/dist/nile-file-preview/utils/nile-file-preview.util.cjs.js.map +0 -1
  176. package/dist/nile-file-preview/utils/nile-file-preview.util.esm.js +0 -1
  177. package/dist/nile-file-upload/index.cjs.js +0 -2
  178. package/dist/nile-file-upload/index.cjs.js.map +0 -1
  179. package/dist/nile-file-upload/index.esm.js +0 -1
  180. package/dist/nile-file-upload/nile-file-upload.cjs.js +0 -2
  181. package/dist/nile-file-upload/nile-file-upload.cjs.js.map +0 -1
  182. package/dist/nile-file-upload/nile-file-upload.css.cjs.js +0 -2
  183. package/dist/nile-file-upload/nile-file-upload.css.cjs.js.map +0 -1
  184. package/dist/nile-file-upload/nile-file-upload.css.esm.js +0 -605
  185. package/dist/nile-file-upload/nile-file-upload.esm.js +0 -3
  186. package/dist/nile-file-upload/nile-file-upload.template.cjs.js +0 -10
  187. package/dist/nile-file-upload/nile-file-upload.template.cjs.js.map +0 -1
  188. package/dist/nile-file-upload/nile-file-upload.template.esm.js +0 -109
  189. package/dist/nile-file-upload/nile-file-upload.test.cjs.js +0 -2
  190. package/dist/nile-file-upload/nile-file-upload.test.cjs.js.map +0 -1
  191. package/dist/nile-file-upload/nile-file-upload.test.esm.js +0 -1
  192. package/dist/nile-file-upload/types/file-upload.enums.cjs.js +0 -2
  193. package/dist/nile-file-upload/types/file-upload.enums.cjs.js.map +0 -1
  194. package/dist/nile-file-upload/types/file-upload.enums.esm.js +0 -1
  195. package/dist/nile-file-upload/types/file-upload.type.cjs.js +0 -2
  196. package/dist/nile-file-upload/types/file-upload.type.cjs.js.map +0 -1
  197. package/dist/nile-file-upload/types/file-upload.type.esm.js +0 -1
  198. package/dist/nile-file-upload/types/index.cjs.js +0 -2
  199. package/dist/nile-file-upload/types/index.cjs.js.map +0 -1
  200. package/dist/nile-file-upload/types/index.esm.js +0 -1
  201. package/dist/nile-file-upload/utils/drag-drop.util.cjs.js +0 -2
  202. package/dist/nile-file-upload/utils/drag-drop.util.cjs.js.map +0 -1
  203. package/dist/nile-file-upload/utils/drag-drop.util.esm.js +0 -1
  204. package/dist/nile-file-upload/utils/file-validation.util.cjs.js +0 -3
  205. package/dist/nile-file-upload/utils/file-validation.util.cjs.js.map +0 -1
  206. package/dist/nile-file-upload/utils/file-validation.util.esm.js +0 -1
@@ -1,605 +0,0 @@
1
- import{css as e}from"lit";const r=e`
2
- :host {
3
- display: inline-block;
4
- }
5
-
6
- * {
7
- padding: 0px;
8
- margin: 0px;
9
- box-sizing: border-box;
10
- }
11
-
12
- .wrapper {
13
- display: flex;
14
- flex-direction: column;
15
- justify-content: center;
16
- align-items: flex-start;
17
- width: min-content;
18
- }
19
-
20
- input {
21
- display: none;
22
- }
23
-
24
- .horizontal-div {
25
- margin-bottom: 10px;
26
- height: 62px;
27
- max-width: 648px;
28
- width: 648px;
29
- min-width: 230px;
30
- padding: 12px;
31
- display: flex;
32
- align-items: center;
33
- justify-content: space-between;
34
- gap: 18px;
35
- border-radius: var(--nile-radius-radius-xs);
36
- border: 1px dashed var(--nile-colors-neutral-500);
37
- color: var(--nile-colors-dark-900);
38
- background-color: var(--nile-colors-white-base);
39
- }
40
-
41
- .hover-border {
42
- border-color: var(--nile-colors-primary-600);
43
- }
44
-
45
- .title {
46
- font-size: var(--nile-type-scale-3);
47
- font-weight: var(--nile-font-weight-regular);
48
- color: var(--nile-colors-dark-900);
49
- white-space: nowrap;
50
- text-overflow: ellipsis;
51
- overflow: hidden;
52
- max-width: 454px;
53
- width: 100%;
54
- }
55
-
56
- .subtitle {
57
- font-size: var(--nile-type-scale-2);
58
- font-weight: var(--nile-font-weight-regular);
59
- color: var(--nile-colors-dark-500);
60
- white-space: nowrap;
61
- text-overflow: ellipsis;
62
- overflow: hidden;
63
- max-width: 454px;
64
- }
65
-
66
- .vertical-div {
67
- min-height: 156px;
68
- height: auto;
69
- min-width: 240px;
70
- width: 240px;
71
- display: flex;
72
- flex-direction: column;
73
- justify-content: space-between;
74
- align-items: center;
75
- padding: 12px;
76
- border-radius: var(--nile-radius-radius-xs);
77
- color: var(--nile-colors-dark-900);
78
- border: 1px dashed var(--nile-colors-neutral-500);
79
- background-color: var(--nile-colors-white-base);
80
- position: relative;
81
- }
82
-
83
- .vertical-div:hover {
84
- border-color: var(--nile-colors-blue-500);
85
- }
86
-
87
- .outer-div-border {
88
- border: 1px solid var(--nile-colors-neutral-400);
89
- }
90
-
91
- .inner-div {
92
- display: flex;
93
- align-items: center;
94
- justify-content: flex-start;
95
- gap: 18px;
96
- box-sizing: border-box;
97
- }
98
-
99
- .content {
100
- display: flex;
101
- flex-direction: column;
102
- justify-content: center;
103
- gap: 8px;
104
- }
105
-
106
- .content h4 {
107
- margin: 0px;
108
- font-size: var(--nile-type-scale-3);
109
- font-weight: var(--nile-font-weight-regular);
110
- color: var(--nile-colors-dark-900);
111
- text-align: center;
112
- white-space: nowrap;
113
- text-overflow: ellipsis;
114
- overflow: hidden;
115
- width: 454px;
116
- }
117
-
118
- .content p {
119
- margin: 0px;
120
- font-size: var(--nile-type-scale-2);
121
- color: var(--nile-colors-neutral-700);
122
- text-align: center;
123
- white-space: nowrap;
124
- text-overflow: ellipsis;
125
- overflow: hidden;
126
- width: 454px;
127
- }
128
-
129
- ::slotted(img), ::slotted(nile-icon), ::slotted(video) {
130
- --nile-svg-height: 24px !important ;
131
- --nile-svg-width: 24px !important ;
132
- height:42px;
133
- width: 42px;
134
- object-fit: cover;
135
- }
136
-
137
- .browse-file-button {
138
- cursor: pointer;
139
- }
140
-
141
- /* DISABLED STATE */
142
- .disable {
143
- background-color: var(--nile-colors-dark-200);
144
- opacity: 0.8;
145
- cursor: not-allowed;
146
- color: var(--nile-colors-neutral-500);
147
- pointer-events: none;
148
- }
149
-
150
- /* DRAGGING */
151
- .dragging {
152
- background-color: var(--nile-colors-blue-100);
153
- border-color: var(--nile-colors-primary-600);
154
- display: flex;
155
- align-items: center;
156
- justify-content: flex-start;
157
- gap: 18px;
158
- color: var(--nile-colors-blue-700);
159
- font-size: var(--nile-type-scale-3);
160
- font-weight: var(--nile-font-weight-regular);
161
- }
162
-
163
- .icons-container {
164
- display: flex;
165
- gap: 4px;
166
- }
167
-
168
- .general-icon {
169
- transform: rotate(-18.11deg);
170
- position: relative;
171
- bottom: 3px;
172
- }
173
-
174
- .image-icon {
175
- transform: rotate(15deg);
176
- }
177
-
178
- .icon:hover {
179
- cursor: pointer;
180
- }
181
-
182
- /* Uploading State */
183
- .uploading {
184
- width: 648px;
185
- min-width: 230px;
186
- display: flex;
187
- justify-content: space-between;
188
- align-items: center;
189
- gap: 18px;
190
- box-sizing: border-box;
191
- border: 1px solid var(--nile-colors-neutral-400)
192
- }
193
-
194
- .uploading:hover {
195
- border-color: var(--nile-colors-neutral-400);
196
- }
197
-
198
- .progress-bar-container {
199
- width: 100%;
200
- display: flex;
201
- flex-direction: column;
202
- gap: 0px;
203
- }
204
-
205
- .progress-bar-percent {
206
- width: 100%;
207
- display: flex;
208
- justify-content: space-between;
209
- font-size: var(--nile-type-scale-2);
210
- font-weight: var(--nile-font-weight-regular);
211
- }
212
-
213
- .progress-bar-container p {
214
- margin: 0px;
215
- }
216
-
217
- .progress-bar-container > p {
218
- font-size: var(--nile-type-scale-1);
219
- color: var(--nile-colors-dark-500);
220
- }
221
-
222
- /* PREVIEW STATE */
223
- .preview {
224
- border: 1px solid var(--nile-colors-neutral-400);
225
- }
226
-
227
- .preview:hover {
228
- border-color: var(--nile-colors-neutral-400);
229
- }
230
-
231
- .preview-inner {
232
- display: flex;
233
- gap: 18px;
234
- }
235
-
236
- .preview-image-container {
237
- height: 42px;
238
- width: 42px;
239
- }
240
-
241
- .preview-image-container img {
242
- height: 42px;
243
- width: 42px;
244
- object-fit: contain;
245
- border-radius: var(--nile-radius-radius-xs);
246
- border: 1px solid var(--nile-colors-neutral-400);
247
- }
248
-
249
- .preview-file-info {
250
- width: 100%;
251
- display: flex;
252
- flex-direction: column;
253
- justify-content: center;
254
- align-items: flex-start;
255
- gap: 8px;
256
- }
257
-
258
- .preview-file-info p {
259
- margin: 0px;
260
- font-size: var(--nile-type-scale-3);
261
- font-weight: var(--nile-font-weight-regular);
262
- }
263
-
264
- .preview-file-info p:last-of-type{
265
- color: var(--nile-colors-neutral-700);
266
- font-size: var(--nile-type-scale-2);
267
- font-weight: var(--nile-font-weight-regular);
268
- }
269
-
270
- .preview nile-icon:hover {
271
- cursor: pointer;
272
- }
273
-
274
-
275
- /* NO PREVIEW STATE */
276
- .no-preview {
277
- border: 1px solid var(--nile-colors-neutral-400);
278
- }
279
-
280
- .no-preview:hover {
281
- border-color: var(--nile-colors-neutral-400);
282
- }
283
-
284
- .no-preview-container {
285
- display: flex;
286
- gap: 18px;
287
- }
288
-
289
- .document-icon {
290
- height: 40px;
291
- width: 40px;
292
- border-radius: var(--nile-radius-radius-xs);
293
- padding: 2px 3px 2px 3px;
294
- display: flex;
295
- justify-content: center;
296
- align-items: center;
297
- border: 1px solid var(--nile-colors-blue-400);
298
- background-color: var(--nile-colors-blue-100);
299
- }
300
-
301
- .document-icon nile-icon {
302
- height: 40px;
303
- width: 40px;
304
- }
305
-
306
- .preview-file-info {
307
- width: 100%;
308
- display: flex;
309
- flex-direction: column;
310
- justify-content: center;
311
- align-items: flex-start;
312
- gap: 8px;
313
- }
314
-
315
- .preview-file-info p {
316
- margin: 0px;
317
- font-size: var(--nile-type-scale-3);
318
- font-weight: var(--nile-font-weight-regular);
319
- }
320
-
321
- .preview-file-info p:last-of-type{
322
- color: var(--nile-colors-neutral-700);
323
- font-size: var(--nile-type-scale-2);
324
- font-weight: var(--nile-font-weight-regular);
325
- }
326
-
327
- .no-preview > nile-icon:hover {
328
- cursor: pointer;
329
- }
330
-
331
- /* ERROR STATE */
332
-
333
- .error {
334
- border: 1px solid var(--nile-colors-neutral-400);
335
- }
336
-
337
- .error:hover {
338
- border-color: var(--nile-colors-neutral-400);
339
- }
340
-
341
- .error-container {
342
- width: 100%;
343
- display: flex;
344
- gap: 18px;
345
- }
346
-
347
- .error-icon {
348
- height: 40px;
349
- width: 40px;
350
- border-radius: var(--nile-radius-radius-xs);
351
- padding: 2px 3px 2px 3px;
352
- display: flex;
353
- justify-content: center;
354
- align-items: center;
355
- border: 1px solid var(--nile-colors-red-400);
356
- background-color: var(--nile-colors-red-100);
357
- }
358
-
359
- .error-icon nile-icon {
360
- height: 40px;
361
- width: 40px;
362
- }
363
-
364
- .file-info {
365
- width: 100%;
366
- display: flex;
367
- flex-direction: column;
368
- justify-content: center;
369
- align-items: flex-start;
370
- gap: 8px;
371
- }
372
-
373
- .file-info p {
374
- margin: 0px;
375
- font-size: var(--nile-type-scale-3);
376
- font-weight: var(--nile-font-weight-regular);
377
- }
378
-
379
- .file-info p:last-of-type{
380
- color: var(--nile-colors-red-700);
381
- font-size: var(--nile-type-scale-2);
382
- font-weight: var(--nile-font-weight-regular);
383
- }
384
-
385
- .error > nile-icon:hover {
386
- cursor: pointer;
387
- }
388
-
389
- /* VARTICAL STATE START */
390
- /* Default State */
391
-
392
- .vertical-default {
393
- display: flex;
394
- flex-direction: column;
395
- align-items: center;
396
- justify-content: center;
397
- gap: 18px
398
- }
399
-
400
- .content-container {
401
- display: flex;
402
- flex-direction: column;
403
- justify-content: center;
404
- align-items: center;
405
- gap: 8px;
406
- }
407
-
408
- .content-container div.title {
409
- font-size: var(--nile-type-scale-3);
410
- font-weight: var(--nile-font-weight-regular);
411
- color: var(--nile-colors-dark-900);
412
- text-align: center;
413
- white-space: nowrap;
414
- text-overflow: ellipsis;
415
- overflow: hidden;
416
- width: 222px;
417
- }
418
-
419
- .content-container div.subtitle {
420
- font-size: var(--nile-type-scale-2);
421
- font-weight: var(--nile-font-weight-regular);
422
- color: var(--nile-colors-dark-500);
423
- text-align: center;
424
- white-space: nowrap;
425
- text-overflow: ellipsis;
426
- overflow: hidden;
427
- width: 222px;
428
- }
429
-
430
- /* Drag State */
431
- .vertical-drag {
432
- display: flex;
433
- flex-direction: column;
434
- justify-content: center;
435
- align-items: center;
436
- gap:18px;
437
- font-size: var(--nile-type-scale-3);
438
- color: var(--nile-colors-blue-700);
439
- background-color: var(--nile-colors-blue-100);
440
- border-color: var(--nile-colors-blue-500);
441
- }
442
-
443
- /* Uploading State */
444
- .vertical-uploading {
445
- display: flex;
446
- flex-direction: column;
447
- justify-content: flex-end;
448
- align-items: center;
449
- border: 1px solid var(--nile-colors-neutral-400);
450
- }
451
-
452
- .vertical-uploading:hover {
453
- border-color: var(--nile-colors-neutral-400);
454
- }
455
-
456
- .loading {
457
- display: flex;
458
- justify-content: center;
459
- align-items: center;
460
- }
461
-
462
- .corner-icon {
463
- position: absolute;
464
- top: 10px;
465
- right: 10px;
466
- }
467
-
468
- /* Preview State */
469
- .vertical-preview {
470
- border: 1px solid var(--nile-colors-neutral-400);
471
- }
472
-
473
- .vertical-preview:hover {
474
- border-color: var(--nile-colors-neutral-400);
475
- }
476
-
477
- .image-preview {
478
- border: 1px solid var(--nile-colors-neutral-400);
479
- object-fit: cover;
480
- width: 80px;
481
- height: 80px;
482
- border-radius: var(--nile-radius-radius-xs);
483
- }
484
-
485
- /* Vertical No Preview State */
486
- .vertical-no-preview {
487
- border: 1px solid var(--nile-colors-neutral-400);
488
- }
489
-
490
- .vertical-no-preview:hover {
491
- border-color: var(--nile-colors-neutral-400);
492
- }
493
-
494
- .vertical-document-icon {
495
- height: 80px;
496
- width: 80px;
497
- padding: 2px 3px 2px 3px;
498
- display: flex;
499
- justify-content: center;
500
- align-items: center;
501
- border-radius: var(--nile-radius-radius-xs);
502
- border: 1px solid var(--nile-colors-blue-400);
503
- background-color: var(--nile-colors-blue-100);
504
- }
505
-
506
- /* Veritcal Error State */
507
- .vertical-error {
508
- border: 1px solid var(--nile-colors-neutral-400);
509
- }
510
-
511
- .vertical-error:hover {
512
- border-color: var(--nile-colors-neutral-400);
513
- }
514
-
515
- .error-bg {
516
- background-color: var(--nile-colors-red-100);
517
- border: 1px solid var(--nile-colors-red-400);
518
- }
519
-
520
- .error-message {
521
- display: flex;
522
- flex-direction: column;
523
- justify-content: center;
524
- align-items: center;
525
- gap: 8px;
526
- margin: 0px;
527
- font-size: var(--nile-type-scale-3);
528
- font-weight: var(--nile-font-weight-regular);
529
- text-align: start;
530
- }
531
-
532
- .error-p {
533
- color: var(--nile-colors-red-700);
534
- font-size: var(--nile-type-scale-2);
535
- width: 216px;
536
- white-space: nowrap;
537
- overflow: hidden;
538
- text-overflow: ellipsis;
539
- text-align: center;
540
- }
541
-
542
- .error-p p {
543
- white-space: nowrap;
544
- overflow: hidden;
545
- text-overflow: ellipsis;
546
- margin: 0;
547
- }
548
-
549
-
550
- /* Displaing uploaded files CSS */
551
- .display-files {
552
- display: flex;
553
- flex-direction: column;
554
- justify-content: flex-start;
555
- align-items: center;
556
- gap: 8px;
557
- width: 648px;
558
- min-width: 230px;
559
- max-height: 200px;
560
- overflow-y: auto;
561
- border: 1px solid var(--nile-colors-neutral-700);
562
- border-radius: var(--nile-radius-radius-xs);
563
- scrollbar-width: none;
564
- padding: 12px;
565
- }
566
-
567
- ul, li {
568
- width: 100%;
569
- }
570
-
571
- li {
572
- list-style-type: none;
573
- }
574
-
575
- /* for the upload error messages */
576
- .upload-error {
577
- font-size: var(--nile-type-scale-2);
578
- font-weight: var(--nile-font-weight-regular);
579
- color: var(--nile-colors-red-700);
580
- display: flex;
581
- justify-content: flex-start;
582
- align-items: center;
583
- gap: var(--nile-spacing-one-half-x);
584
- }
585
-
586
- .upload-error > nile-tooltip > span {
587
- color: var(--nile-colors-red-700);
588
- white-space: nowrap;
589
- text-align: left;
590
- max-width: 538px;
591
- overflow: hidden;
592
- text-overflow: ellipsis;
593
- }
594
-
595
- .vertical-upload-error > nile-tooltip > span {
596
- color: var(--nile-colors-red-700);
597
- white-space: nowrap;
598
- text-align: left;
599
- width: 222px;
600
- overflow: hidden;
601
- text-overflow: ellipsis;
602
- font-size: var(--nile-type-scale-2);
603
- display: inline-block;
604
- }
605
- `;export{r as s};
@@ -1,3 +0,0 @@
1
- import{__decorate as t}from"tslib";import{s}from"./nile-file-upload.css.esm.js";import{N as i}from"../internal/nile-element.esm.js";import{D as e}from"./utils/drag-drop.util.esm.js";import{g as h,a as r,b as a,c as o,d as l,e as p}from"./nile-file-upload.template.esm.js";import{c as n,F as d,d as u,b as m}from"./types/file-upload.enums.esm.js";import{html as c}from"lit";import{property as f,query as y,customElement as v}from"lit/decorators.js";import{s as g,a as S,b,u as j}from"./utils/file-validation.util.esm.js";import"../lit-html-39a6718c.esm.js";let w=class extends i{constructor(){super(...arguments),this.size="10MB",this.error=!1,this.errorMessage="",this.allowMultiple=!1,this.allowDuplicates=!1,this.allowedTypes=[],this.uploadedFiles=[],this.title=n.TITLE,this.subtitle=n.SUBTITLE,this.state=d.DEFAULT,this.variant=u.HORIZONTAL,this.fileUploadUrl="",this.autoUpload=!0,this.uploadRequests=new Map,this.fileSizeExceededFilesNumber=0,this.setState=t=>{this.state=t}}static get styles(){return[s]}connectedCallback(){super.connectedCallback(),this.emit(m.NILE_INIT)}firstUpdated(t){super.firstUpdated(t),this.dragHandler=new e,g(this,this.dragHandler),S(this,this.dragHandler,this.uploadRequests),b(this.dragHandler)}updated(t){super.updated(t),t.has("uploadedFiles")?(this.fileUploadUrl&&this.autoUpload&&j(this),this.emit(m.NILE_CHANGE,{files:this.uploadedFiles})):t.has("state")&&this.dragHandler.setValuesInDragHandler(this.state),t.has("autoUpload")&&this.autoUpload&&(this.fileUploadUrl&&this.autoUpload&&j(this),this.emit(m.NILE_CHANGE,{files:this.uploadedFiles}))}browseFiles(){this.emit(m.NILE_BROWSE),this.errorMessage="",this.input.click()}render(){return c`
2
- ${this.getState()}
3
- `}getState(){return this.variant===u.HORIZONTAL?this.getHorizontalState():this.getVerticalState()}getHorizontalState(){switch(this.state){case d.DEFAULT:return h(this.browseFiles,this.title,this.subtitle,this.dragHandler,this.state,this.errorMessage,this.allowedTypes);case d.DISABLED:return a(this.browseFiles,this.title,this.subtitle,this.dragHandler,this.state,this.errorMessage,this.allowedTypes);case d.DRAG:return r();default:return h(this.browseFiles,this.title,this.subtitle,this.dragHandler,this.state,this.errorMessage,this.allowedTypes)}}getVerticalState(){switch(this.state){case d.DEFAULT:return o(this.browseFiles,this.title,this.subtitle,this.dragHandler,this.errorMessage,this.allowedTypes);case d.DISABLED:return p(this.browseFiles,this.title,this.subtitle,this.dragHandler,this.errorMessage,this.allowedTypes);case d.DRAG:return l();default:return o(this.browseFiles,this.title,this.subtitle,this.dragHandler,this.errorMessage,this.allowedTypes)}}disconnectedCallback(){this.emit(m.NILE_DESTROY)}};t([f({type:String})],w.prototype,"size",void 0),t([f({type:Boolean})],w.prototype,"error",void 0),t([f({type:String})],w.prototype,"errorMessage",void 0),t([f({type:Boolean})],w.prototype,"allowMultiple",void 0),t([f({type:Boolean})],w.prototype,"allowDuplicates",void 0),t([f({type:Array})],w.prototype,"allowedTypes",void 0),t([f({type:Array})],w.prototype,"uploadedFiles",void 0),t([f({type:String})],w.prototype,"title",void 0),t([f({type:String})],w.prototype,"subtitle",void 0),t([f({type:String})],w.prototype,"state",void 0),t([f({type:String})],w.prototype,"variant",void 0),t([f({type:String})],w.prototype,"fileUploadUrl",void 0),t([f({type:Boolean})],w.prototype,"autoUpload",void 0),t([y("input")],w.prototype,"input",void 0),w=t([v("nile-file-upload")],w);export{w as N};
@@ -1,10 +0,0 @@
1
- System.register(["lit","./nile-file-upload.css.cjs.js","../lit-html-9b3af046.cjs.js","./types/file-upload.enums.cjs.js"],function(_export,_context){"use strict";var i,e,t,_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7,_templateObject8,n,s,l,o,a,r,c,d,v,p,u;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}return{setters:[function(_lit){i=_lit.html;},function(_nileFileUploadCssCjsJs){},function(_litHtml001CjsJs){e=_litHtml001CjsJs.T;},function(_typesFileUploadEnumsCjsJs){t=_typesFileUploadEnumsCjsJs.c;}],execute:function execute(){/**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */n=1;s=/*#__PURE__*/function(){function s(i){_classCallCheck(this,s);}return _createClass(s,[{key:"_$AU",get:function get(){return this._$AM._$AU;}},{key:"_$AT",value:function _$AT(i,e,t){this._$Ct=i,this._$AM=e,this._$Ci=t;}},{key:"_$AS",value:function _$AS(i,e){return this.update(i,e);}},{key:"update",value:function update(i,e){return this.render.apply(this,_toConsumableArray(e));}}]);}();/**
6
- * @license
7
- * Copyright 2018 Google LLC
8
- * SPDX-License-Identifier: BSD-3-Clause
9
- */l=function(i){return function(){for(var _len=arguments.length,e=new Array(_len),_key=0;_key<_len;_key++){e[_key]=arguments[_key];}return{_$litDirective$:i,values:e};};}(/*#__PURE__*/function(_s){function _class(i){var _i$strings;var _this;_classCallCheck(this,_class);if(_this=_callSuper(this,_class,[i]),i.type!==n||"class"!==i.name||((_i$strings=i.strings)===null||_i$strings===void 0?void 0:_i$strings.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");return _this;}_inherits(_class,_s);return _createClass(_class,[{key:"render",value:function render(i){return" "+Object.keys(i).filter(function(e){return i[e];}).join(" ")+" ";}},{key:"update",value:function update(i,_ref){var _ref2=_slicedToArray(_ref,1),t=_ref2[0];if(void 0===this.st){this.st=new Set(),void 0!==i.strings&&(this.nt=new Set(i.strings.join(" ").split(/\s/).filter(function(i){return""!==i;})));for(var _i in t){var _this$nt;t[_i]&&!((_this$nt=this.nt)!==null&&_this$nt!==void 0&&_this$nt.has(_i))&&this.st.add(_i);}return this.render(t);}var n=i.element.classList;var _iterator=_createForOfIteratorHelper(this.st),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _i3=_step.value;_i3 in t||(n.remove(_i3),this.st["delete"](_i3));}}catch(err){_iterator.e(err);}finally{_iterator.f();}for(var _i2 in t){var _this$nt2;var _e=!!t[_i2];_e===this.st.has(_i2)||((_this$nt2=this.nt)===null||_this$nt2===void 0?void 0:_this$nt2.has(_i2))||(_e?(n.add(_i2),this.st.add(_i2)):(n.remove(_i2),this.st["delete"](_i2)));}return e;}}]);}(s)),o=function o(e,t,n,s,_o,a,r,c){return i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div class=\"wrapper\" part=\"horizontal-wrapper\">\n <div part=\"horizontal-div\" class=",">\n <div part=\"inner-div\" class=\"inner-div\">\n <slot class=\"upload-icon-slot\" name=\"upload-icon\">\n <nile-icon name=\"upload\" size=\"24\"></nile-icon>\n </slot>\n <div part=\"content\" class=\"content\">\n <div class=\"title\">","</div>\n <div class=\"subtitle\">","</div>\n </div>\n </div>\n <input\n type=\"file\"\n ?disabled=","\n @change=","\n multiple\n accept=","\n />\n <slot class=\"browse-file-button\" @click="," name=\"browse-file-button\">\n <nile-button variant=\"tertiary\" ?disabled=",">\n Browse File\n </nile-button>\n </slot>\n </div>\n ","\n </div>\n"])),l({"hover-border":"hover"===a,"horizontal-div":!0,disable:s}),t,n,s,function(i){_o.handleFiles(i);},c.join(","),s?void 0:e,s,r?i(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<div class=\"upload-error\">\n <nile-icon name=\"warning\" size=\"12\" color=\"var(--nile-colors-red-700)\"></nile-icon>\n <nile-tooltip content=",">\n <span>","</span>\n </nile-tooltip>\n </div>"])),r,r):i(_templateObject3||(_templateObject3=_taggedTemplateLiteral([""]))));},_export("g",a=function a(i,e,t,n,s,l,_a){return o(i,e,t,!1,n,s,l,_a);}),_export("b",r=function r(i,e,t,n,s,l,a){return o(i,e,t,!0,n,s,l,a);}),_export("a",c=function c(){return i(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["\n <div part=\"horizontal-drag-state\" class=\"horizontal-div dragging\">\n <div class=\"icons-container\">\n <nile-icon\n color=\"var(--nile-colors-blue-500)\"\n name=\"general\"\n size=\"20\"\n class=\"general-icon\"\n ></nile-icon>\n <nile-icon\n color=\"var(--nile-colors-blue-500)\"\n name=\"image\"\n size=\"24\"\n class=\"image-icon\"\n ></nile-icon>\n </div>\n <p>","</p>\n </div>\n"])),t.DRAG_STATE_DEFAULT);}),d=function d(e,t,n,s,l,o,a){return i(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["\n <div part=\"vertical-wrapper\" class=\"wrapper\">\n <div part=\"vertical-default\" class=\"vertical-default vertical-div ","\">\n <slot name=\"upload-icon\">\n <nile-icon name=\"upload\" size=\"24\"></nile-icon>\n </slot>\n <div part=\"vertical-content-container\" class=\"content-container\">\n <div class=\"title\">","</div>\n <div class=\"subtitle\">","</div>\n </div>\n <input\n type=\"file\"\n ?disabled=","\n @change=","\n multiple\n accept=","\n />\n <slot @click="," name=\"browse-file-button\">\n <nile-button variant=\"tertiary\" ?disabled=",">\n Browse File\n </nile-button>\n </slot>\n </div>\n ","\n </div>\n"])),s?"disable":"",t,n,s,function(i){return l.handleFiles(i);},a.join(","),s?void 0:e,s,o?i(_templateObject6||(_templateObject6=_taggedTemplateLiteral(["<div class=\"vertical-upload-error\">\n <nile-icon name=\"warning\" size=\"12\" color=\"var(--nile-colors-red-700)\"></nile-icon>\n <nile-tooltip content=",">\n <span>","</span>\n </nile-tooltip>\n </div>"])),o,o):i(_templateObject7||(_templateObject7=_taggedTemplateLiteral([""]))));},_export("c",v=function v(i,e,t,n,s,l){return d(i,e,t,!1,n,s,l);}),_export("e",p=function p(i,e,t,n,s,l){return d(i,e,t,!0,n,s,l);}),_export("d",u=function u(){return i(_templateObject8||(_templateObject8=_taggedTemplateLiteral(["\n <div part=\"vertical-drag-state\" class=\"vertical-div vertical-drag\">\n <div class=\"icons-container\">\n <nile-icon\n color=\"var(--nile-colors-blue-500)\"\n name=\"general\"\n size=\"20\"\n class=\"general-icon\"\n ></nile-icon>\n <nile-icon\n color=\"var(--nile-colors-blue-500)\"\n name=\"image\"\n size=\"24\"\n class=\"image-icon\"\n ></nile-icon>\n </div>\n <p>","</p>\n </div>\n"])),t.DRAG_STATE_DEFAULT);});}};});
10
- //# sourceMappingURL=nile-file-upload.template.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nile-file-upload.template.cjs.js","sources":["../../../../node_modules/lit-html/directive.js","../../../../node_modules/lit-html/directives/class-map.js","../../../src/nile-file-upload/nile-file-upload.template.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};\n//# sourceMappingURL=directive.js.map\n","import{noChange as t}from\"../lit-html.js\";import{directive as s,Directive as i,PartType as r}from\"../directive.js\";\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const e=s(class extends i{constructor(t){if(super(t),t.type!==r.ATTRIBUTE||\"class\"!==t.name||t.strings?.length>2)throw Error(\"`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.\")}render(t){return\" \"+Object.keys(t).filter((s=>t[s])).join(\" \")+\" \"}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(\" \").split(/\\s/).filter((t=>\"\"!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)))}return t}});export{e as classMap};\n//# sourceMappingURL=class-map.js.map\n","import { html, TemplateResult } from 'lit';\nimport './nile-file-upload.css';\nimport { DragHandler } from './utils/drag-drop.util';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport { FileUploadDefaults, FileUploadState } from './types/file-upload.enums';\n\nconst baseHorizontalState = (\n browseFiles: Function,\n title: string,\n subtitle: string,\n disabled: boolean,\n dragHandler: DragHandler,\n state: FileUploadState,\n errorMessage: string,\n allowedTypes: string[]\n): TemplateResult => html`\n <div class=\"wrapper\" part=\"horizontal-wrapper\">\n <div part=\"horizontal-div\" class=${classMap({ 'hover-border': state === \"hover\", 'horizontal-div': true, 'disable': disabled })}>\n <div part=\"inner-div\" class=\"inner-div\">\n <slot class=\"upload-icon-slot\" name=\"upload-icon\">\n <nile-icon name=\"upload\" size=\"24\"></nile-icon>\n </slot>\n <div part=\"content\" class=\"content\">\n <div class=\"title\">${title}</div>\n <div class=\"subtitle\">${subtitle}</div>\n </div>\n </div>\n <input\n type=\"file\"\n ?disabled=${disabled}\n @change=${(e: Event | DragEvent) => { dragHandler.handleFiles(e) }}\n multiple\n accept=${allowedTypes.join(',')}\n />\n <slot class=\"browse-file-button\" @click=${disabled ? undefined : browseFiles} name=\"browse-file-button\">\n <nile-button variant=\"tertiary\" ?disabled=${disabled}>\n Browse File\n </nile-button>\n </slot>\n </div>\n ${errorMessage ?\n html`<div class=\"upload-error\">\n <nile-icon name=\"warning\" size=\"12\" color=\"var(--nile-colors-red-700)\"></nile-icon>\n <nile-tooltip content=${errorMessage}>\n <span>${errorMessage}</span>\n </nile-tooltip>\n </div>` :\n html``\n }\n </div>\n`;\n\nexport const getHorizontalDefaultState = (\n browseFiles: Function,\n title: string,\n subtitle: string,\n dragHandler: DragHandler,\n state: FileUploadState,\n errorMessage: string,\n allowedTypes: string[]\n): TemplateResult => baseHorizontalState(browseFiles, title, subtitle, false, dragHandler, state, errorMessage, allowedTypes);\n\nexport const getHorizontalDisabledState = (\n browseFiles: Function,\n title: string,\n subtitle: string,\n dragHandler: DragHandler,\n state: FileUploadState,\n errorMessage: string,\n allowedTypes: string[]\n): TemplateResult => baseHorizontalState(browseFiles, title, subtitle, true, dragHandler, state, errorMessage, allowedTypes);\n\nexport const getHorizontalDragState = (): TemplateResult => html`\n <div part=\"horizontal-drag-state\" class=\"horizontal-div dragging\">\n <div class=\"icons-container\">\n <nile-icon\n color=\"var(--nile-colors-blue-500)\"\n name=\"general\"\n size=\"20\"\n class=\"general-icon\"\n ></nile-icon>\n <nile-icon\n color=\"var(--nile-colors-blue-500)\"\n name=\"image\"\n size=\"24\"\n class=\"image-icon\"\n ></nile-icon>\n </div>\n <p>${FileUploadDefaults.DRAG_STATE_DEFAULT}</p>\n </div>\n`;\n\n// Vertical States\nconst baseVerticalState = (\n browseFiles: Function,\n title: string,\n subtitle: string,\n disabled: boolean,\n dragHandler: DragHandler,\n errorMessage: string,\n allowedTypes: string[]\n): TemplateResult => html`\n <div part=\"vertical-wrapper\" class=\"wrapper\">\n <div part=\"vertical-default\" class=\"vertical-default vertical-div ${disabled ? 'disable' : ''}\">\n <slot name=\"upload-icon\">\n <nile-icon name=\"upload\" size=\"24\"></nile-icon>\n </slot>\n <div part=\"vertical-content-container\" class=\"content-container\">\n <div class=\"title\">${title}</div>\n <div class=\"subtitle\">${subtitle}</div>\n </div>\n <input\n type=\"file\"\n ?disabled=${disabled}\n @change=${(e: Event | DragEvent) => dragHandler.handleFiles(e)}\n multiple\n accept=${allowedTypes.join(',')}\n />\n <slot @click=${disabled ? undefined : browseFiles} name=\"browse-file-button\">\n <nile-button variant=\"tertiary\" ?disabled=${disabled}>\n Browse File\n </nile-button>\n </slot>\n </div>\n ${errorMessage ?\n html`<div class=\"vertical-upload-error\">\n <nile-icon name=\"warning\" size=\"12\" color=\"var(--nile-colors-red-700)\"></nile-icon>\n <nile-tooltip content=${errorMessage}>\n <span>${errorMessage}</span>\n </nile-tooltip>\n </div>` :\n html``\n }\n </div>\n`;\n\nexport const getVerticalDefaultState = (\n browseFiles: Function,\n title: string,\n subtitle: string,\n dragHandler: DragHandler,\n errorMessage: string,\n allowedTypes: string[]\n): TemplateResult => baseVerticalState(browseFiles, title, subtitle, false, dragHandler, errorMessage, allowedTypes);\n\nexport const getVerticalDisabledState = (\n browseFiles: Function,\n title: string,\n subtitle: string,\n dragHandler: DragHandler,\n errorMessage: string,\n allowedTypes: string[]\n): TemplateResult => baseVerticalState(browseFiles, title, subtitle, true, dragHandler, errorMessage, allowedTypes);\n\n\nexport const getVerticalDragState = (): TemplateResult => html`\n <div part=\"vertical-drag-state\" class=\"vertical-div vertical-drag\">\n <div class=\"icons-container\">\n <nile-icon\n color=\"var(--nile-colors-blue-500)\"\n name=\"general\"\n size=\"20\"\n class=\"general-icon\"\n ></nile-icon>\n <nile-icon\n color=\"var(--nile-colors-blue-500)\"\n name=\"image\"\n size=\"24\"\n class=\"image-icon\"\n ></nile-icon>\n </div>\n <p>${FileUploadDefaults.DRAG_STATE_DEFAULT}</p>\n </div>\n`;"],"names":["t","i","s","_createClass","key","get","_$AU","this","_$AM","value","_$AT","e","_$Ct","_$Ci","_$AS","update","render","_len","arguments","length","Array","_key","_$litDirective$","values","_class","super","type","r","name","strings","Error","_this","_inherits","_s","Object","keys","filter","join","st","Set","nt","split","has","add","element","classList","_iterator","_createForOfIteratorHelper","_step","n","done","remove","err","f","_this$nt2","baseHorizontalState","browseFiles","title","subtitle","disabled","dragHandler","state","errorMessage","allowedTypes","html","_templateObject","_taggedTemplateLiteral","classMap","disable","handleFiles","undefined","_templateObject2","_templateObject3","getHorizontalDefaultState","getHorizontalDisabledState","getHorizontalDragState","_templateObject4","FileUploadDefaults","DRAG_STATE_DEFAULT","baseVerticalState","d","_templateObject5","_templateObject6","_templateObject7","getVerticalDefaultState","getVerticalDisabledState","getVerticalDragState","_templateObject8"],"mappings":";;;;GAKMA,CAAAA,CAAa,EAA8GC,CAAAA,yBAAE,SAAAC,EAAYF,CAAAA,CAAAA,CAAAA,eAAAA,MAAAA,CAAAA,EAAI,CAAA,OAAAG,YAAA,CAAAD,CAAA,GAAAE,GAAA,QAAAC,GAAA,UAAAA,IAAA,CAAIC,CAAO,MAAOC,KAAKC,CAAAA,IAAAA,CAAKF,IAAI,EAAC,GAAAF,GAAA,QAAAK,KAAA,UAAAC,IAAAA,CAAKV,CAAEW,CAAAA,CAAAA,CAAEV,CAAGM,CAAAA,CAAAA,IAAAA,CAAKK,IAAKZ,CAAAA,CAAAA,CAAEO,KAAKC,IAAKG,CAAAA,CAAAA,CAAEJ,KAAKM,IAAKZ,CAAAA,CAAC,EAAC,GAAAG,GAAA,QAAAK,KAAA,UAAAK,IAAAA,CAAKd,CAAEW,CAAAA,CAAAA,CAAAA,CAAG,MAAOJ,KAAAA,CAAKQ,OAAOf,CAAEW,CAAAA,CAAAA,CAAE,EAAC,GAAAP,GAAA,UAAAK,KAAA,UAAAM,MAAAA,CAAOf,EAAEW,CAAG,CAAA,CAAA,MAAOJ,KAAKS,CAAAA,MAAAA,CAAAA,KAAAA,CAALT,IAAKS,CAAAA,kBAAAA,CAAUL,CAAE,EAAA,EAAA;;;;ACAvS,GAAMA,EDA2E,SAAAV,CAAA,QAAA,oBAAAgB,IAAA,CAAAC,SAAA,CAAAC,MAAA,CAAIR,CAAC,KAAAS,KAAA,CAAAH,IAAA,EAAAI,IAAA,GAAAA,IAAA,CAAAJ,IAAA,CAAAI,IAAA,IAADV,CAAC,CAAAU,IAAA,EAAAH,SAA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