@delon/abc 13.1.0 → 13.3.0

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 (231) hide show
  1. package/README.md +1 -1
  2. package/auto-focus/auto-focus.directive.d.ts +3 -1
  3. package/ellipsis/ellipsis.component.d.ts +1 -0
  4. package/error-collect/error-collect.component.d.ts +4 -2
  5. package/esm2020/auto-focus/auto-focus.directive.mjs +9 -7
  6. package/esm2020/auto-focus/auto-focus.module.mjs +4 -4
  7. package/esm2020/avatar-list/avatar-list-item.component.mjs +3 -3
  8. package/esm2020/avatar-list/avatar-list.component.mjs +3 -3
  9. package/esm2020/avatar-list/avatar-list.module.mjs +4 -4
  10. package/esm2020/count-down/count-down.component.mjs +3 -3
  11. package/esm2020/count-down/count-down.module.mjs +4 -4
  12. package/esm2020/date-picker/date-picker.module.mjs +4 -4
  13. package/esm2020/date-picker/range-shortcut.component.mjs +3 -3
  14. package/esm2020/date-picker/range.directive.mjs +3 -3
  15. package/esm2020/down-file/down-file.directive.mjs +3 -3
  16. package/esm2020/down-file/down-file.module.mjs +4 -4
  17. package/esm2020/ellipsis/ellipsis.component.mjs +8 -5
  18. package/esm2020/ellipsis/ellipsis.module.mjs +4 -4
  19. package/esm2020/error-collect/error-collect.component.mjs +12 -8
  20. package/esm2020/error-collect/error-collect.module.mjs +4 -4
  21. package/esm2020/exception/exception.component.mjs +3 -3
  22. package/esm2020/exception/exception.module.mjs +4 -4
  23. package/esm2020/footer-toolbar/footer-toolbar.component.mjs +3 -3
  24. package/esm2020/footer-toolbar/footer-toolbar.module.mjs +4 -4
  25. package/esm2020/full-content/full-content-toggle.directive.mjs +3 -3
  26. package/esm2020/full-content/full-content.component.mjs +17 -15
  27. package/esm2020/full-content/full-content.module.mjs +4 -4
  28. package/esm2020/full-content/full-content.service.mjs +3 -3
  29. package/esm2020/global-footer/global-footer-item.component.mjs +3 -3
  30. package/esm2020/global-footer/global-footer.component.mjs +3 -3
  31. package/esm2020/global-footer/global-footer.module.mjs +4 -4
  32. package/esm2020/image/image.directive.mjs +3 -3
  33. package/esm2020/image/image.module.mjs +4 -4
  34. package/esm2020/let/let.directive.mjs +3 -3
  35. package/esm2020/let/let.module.mjs +4 -4
  36. package/esm2020/loading/loading.component.mjs +3 -3
  37. package/esm2020/loading/loading.module.mjs +4 -4
  38. package/esm2020/loading/loading.service.mjs +3 -3
  39. package/esm2020/lodop/lodop.module.mjs +4 -4
  40. package/esm2020/lodop/lodop.service.mjs +3 -3
  41. package/esm2020/media/media.component.mjs +25 -13
  42. package/esm2020/media/media.module.mjs +4 -4
  43. package/esm2020/media/media.service.mjs +6 -5
  44. package/esm2020/media/public_api.mjs +1 -2
  45. package/esm2020/notice-icon/notice-icon-tab.component.mjs +3 -3
  46. package/esm2020/notice-icon/notice-icon.component.mjs +3 -3
  47. package/esm2020/notice-icon/notice-icon.module.mjs +4 -4
  48. package/esm2020/onboarding/onboarding.component.mjs +3 -3
  49. package/esm2020/onboarding/onboarding.module.mjs +4 -4
  50. package/esm2020/onboarding/onboarding.service.mjs +3 -3
  51. package/esm2020/page-header/page-header.component.mjs +3 -3
  52. package/esm2020/page-header/page-header.module.mjs +4 -4
  53. package/esm2020/pdf/pdf.component.mjs +27 -13
  54. package/esm2020/pdf/pdf.module.mjs +4 -4
  55. package/esm2020/qr/qr.component.mjs +5 -5
  56. package/esm2020/qr/qr.module.mjs +4 -4
  57. package/esm2020/quick-menu/quick-menu.component.mjs +3 -3
  58. package/esm2020/quick-menu/quick-menu.module.mjs +4 -4
  59. package/esm2020/result/result.component.mjs +3 -3
  60. package/esm2020/result/result.module.mjs +4 -4
  61. package/esm2020/reuse-tab/reuse-tab-context-menu.component.mjs +3 -3
  62. package/esm2020/reuse-tab/reuse-tab-context.component.mjs +3 -3
  63. package/esm2020/reuse-tab/reuse-tab-context.directive.mjs +3 -3
  64. package/esm2020/reuse-tab/reuse-tab-context.service.mjs +3 -3
  65. package/esm2020/reuse-tab/reuse-tab.component.mjs +3 -3
  66. package/esm2020/reuse-tab/reuse-tab.module.mjs +4 -4
  67. package/esm2020/reuse-tab/reuse-tab.service.mjs +3 -3
  68. package/esm2020/se/se-container.component.mjs +6 -6
  69. package/esm2020/se/se.component.mjs +10 -12
  70. package/esm2020/se/se.module.mjs +4 -4
  71. package/esm2020/sg/sg-container.component.mjs +3 -3
  72. package/esm2020/sg/sg.component.mjs +3 -3
  73. package/esm2020/sg/sg.module.mjs +4 -4
  74. package/esm2020/st/st-column-source.mjs +3 -3
  75. package/esm2020/st/st-data-source.mjs +3 -3
  76. package/esm2020/st/st-export.mjs +3 -3
  77. package/esm2020/st/st-filter.component.mjs +3 -3
  78. package/esm2020/st/st-row.directive.mjs +6 -6
  79. package/esm2020/st/st-widget-host.directive.mjs +3 -3
  80. package/esm2020/st/st-widget.mjs +3 -3
  81. package/esm2020/st/st.component.mjs +6 -6
  82. package/esm2020/st/st.module.mjs +4 -4
  83. package/esm2020/sv/sv-container.component.mjs +6 -6
  84. package/esm2020/sv/sv-value.component.mjs +3 -3
  85. package/esm2020/sv/sv.component.mjs +3 -3
  86. package/esm2020/sv/sv.module.mjs +4 -4
  87. package/esm2020/tag-select/tag-select.component.mjs +3 -3
  88. package/esm2020/tag-select/tag-select.module.mjs +4 -4
  89. package/esm2020/xlsx/xlsx.directive.mjs +3 -3
  90. package/esm2020/xlsx/xlsx.module.mjs +4 -4
  91. package/esm2020/xlsx/xlsx.service.mjs +3 -3
  92. package/esm2020/zip/zip.module.mjs +4 -4
  93. package/esm2020/zip/zip.service.mjs +3 -3
  94. package/fesm2015/abc.mjs.map +1 -1
  95. package/fesm2015/auto-focus.mjs +12 -10
  96. package/fesm2015/auto-focus.mjs.map +1 -1
  97. package/fesm2015/avatar-list.mjs +10 -10
  98. package/fesm2015/avatar-list.mjs.map +1 -1
  99. package/fesm2015/count-down.mjs +7 -7
  100. package/fesm2015/count-down.mjs.map +1 -1
  101. package/fesm2015/date-picker.mjs +10 -10
  102. package/fesm2015/date-picker.mjs.map +1 -1
  103. package/fesm2015/down-file.mjs +7 -7
  104. package/fesm2015/down-file.mjs.map +1 -1
  105. package/fesm2015/ellipsis.mjs +11 -8
  106. package/fesm2015/ellipsis.mjs.map +1 -1
  107. package/fesm2015/error-collect.mjs +15 -11
  108. package/fesm2015/error-collect.mjs.map +1 -1
  109. package/fesm2015/exception.mjs +7 -7
  110. package/fesm2015/exception.mjs.map +1 -1
  111. package/fesm2015/footer-toolbar.mjs +7 -7
  112. package/fesm2015/footer-toolbar.mjs.map +1 -1
  113. package/fesm2015/full-content.mjs +26 -25
  114. package/fesm2015/full-content.mjs.map +1 -1
  115. package/fesm2015/global-footer.mjs +10 -10
  116. package/fesm2015/global-footer.mjs.map +1 -1
  117. package/fesm2015/image.mjs +7 -7
  118. package/fesm2015/image.mjs.map +1 -1
  119. package/fesm2015/let.mjs +7 -7
  120. package/fesm2015/let.mjs.map +1 -1
  121. package/fesm2015/loading.mjs +10 -10
  122. package/fesm2015/loading.mjs.map +1 -1
  123. package/fesm2015/lodop.mjs +7 -7
  124. package/fesm2015/lodop.mjs.map +1 -1
  125. package/fesm2015/media.mjs +32 -21
  126. package/fesm2015/media.mjs.map +1 -1
  127. package/fesm2015/notice-icon.mjs +10 -10
  128. package/fesm2015/notice-icon.mjs.map +1 -1
  129. package/fesm2015/onboarding.mjs +10 -10
  130. package/fesm2015/onboarding.mjs.map +1 -1
  131. package/fesm2015/page-header.mjs +7 -7
  132. package/fesm2015/page-header.mjs.map +1 -1
  133. package/fesm2015/pdf.mjs +32 -17
  134. package/fesm2015/pdf.mjs.map +1 -1
  135. package/fesm2015/qr.mjs +8 -8
  136. package/fesm2015/qr.mjs.map +1 -1
  137. package/fesm2015/quick-menu.mjs +7 -7
  138. package/fesm2015/quick-menu.mjs.map +1 -1
  139. package/fesm2015/result.mjs +7 -7
  140. package/fesm2015/result.mjs.map +1 -1
  141. package/fesm2015/reuse-tab.mjs +22 -22
  142. package/fesm2015/reuse-tab.mjs.map +1 -1
  143. package/fesm2015/se.mjs +19 -21
  144. package/fesm2015/se.mjs.map +1 -1
  145. package/fesm2015/sg.mjs +10 -10
  146. package/fesm2015/sg.mjs.map +1 -1
  147. package/fesm2015/st.mjs +34 -34
  148. package/fesm2015/st.mjs.map +1 -1
  149. package/fesm2015/sv.mjs +16 -16
  150. package/fesm2015/sv.mjs.map +1 -1
  151. package/fesm2015/tag-select.mjs +7 -7
  152. package/fesm2015/tag-select.mjs.map +1 -1
  153. package/fesm2015/xlsx.mjs +10 -10
  154. package/fesm2015/xlsx.mjs.map +1 -1
  155. package/fesm2015/zip.mjs +7 -7
  156. package/fesm2015/zip.mjs.map +1 -1
  157. package/fesm2020/abc.mjs.map +1 -1
  158. package/fesm2020/auto-focus.mjs +12 -10
  159. package/fesm2020/auto-focus.mjs.map +1 -1
  160. package/fesm2020/avatar-list.mjs +10 -10
  161. package/fesm2020/avatar-list.mjs.map +1 -1
  162. package/fesm2020/count-down.mjs +7 -7
  163. package/fesm2020/count-down.mjs.map +1 -1
  164. package/fesm2020/date-picker.mjs +10 -10
  165. package/fesm2020/date-picker.mjs.map +1 -1
  166. package/fesm2020/down-file.mjs +7 -7
  167. package/fesm2020/down-file.mjs.map +1 -1
  168. package/fesm2020/ellipsis.mjs +11 -8
  169. package/fesm2020/ellipsis.mjs.map +1 -1
  170. package/fesm2020/error-collect.mjs +15 -11
  171. package/fesm2020/error-collect.mjs.map +1 -1
  172. package/fesm2020/exception.mjs +7 -7
  173. package/fesm2020/exception.mjs.map +1 -1
  174. package/fesm2020/footer-toolbar.mjs +7 -7
  175. package/fesm2020/footer-toolbar.mjs.map +1 -1
  176. package/fesm2020/full-content.mjs +26 -24
  177. package/fesm2020/full-content.mjs.map +1 -1
  178. package/fesm2020/global-footer.mjs +10 -10
  179. package/fesm2020/global-footer.mjs.map +1 -1
  180. package/fesm2020/image.mjs +7 -7
  181. package/fesm2020/image.mjs.map +1 -1
  182. package/fesm2020/let.mjs +7 -7
  183. package/fesm2020/let.mjs.map +1 -1
  184. package/fesm2020/loading.mjs +10 -10
  185. package/fesm2020/loading.mjs.map +1 -1
  186. package/fesm2020/lodop.mjs +7 -7
  187. package/fesm2020/lodop.mjs.map +1 -1
  188. package/fesm2020/media.mjs +32 -21
  189. package/fesm2020/media.mjs.map +1 -1
  190. package/fesm2020/notice-icon.mjs +10 -10
  191. package/fesm2020/notice-icon.mjs.map +1 -1
  192. package/fesm2020/onboarding.mjs +10 -10
  193. package/fesm2020/onboarding.mjs.map +1 -1
  194. package/fesm2020/page-header.mjs +7 -7
  195. package/fesm2020/page-header.mjs.map +1 -1
  196. package/fesm2020/pdf.mjs +31 -17
  197. package/fesm2020/pdf.mjs.map +1 -1
  198. package/fesm2020/qr.mjs +8 -8
  199. package/fesm2020/qr.mjs.map +1 -1
  200. package/fesm2020/quick-menu.mjs +7 -7
  201. package/fesm2020/quick-menu.mjs.map +1 -1
  202. package/fesm2020/result.mjs +7 -7
  203. package/fesm2020/result.mjs.map +1 -1
  204. package/fesm2020/reuse-tab.mjs +22 -22
  205. package/fesm2020/reuse-tab.mjs.map +1 -1
  206. package/fesm2020/se.mjs +19 -21
  207. package/fesm2020/se.mjs.map +1 -1
  208. package/fesm2020/sg.mjs +10 -10
  209. package/fesm2020/sg.mjs.map +1 -1
  210. package/fesm2020/st.mjs +34 -34
  211. package/fesm2020/st.mjs.map +1 -1
  212. package/fesm2020/sv.mjs +16 -16
  213. package/fesm2020/sv.mjs.map +1 -1
  214. package/fesm2020/tag-select.mjs +7 -7
  215. package/fesm2020/tag-select.mjs.map +1 -1
  216. package/fesm2020/xlsx.mjs +10 -10
  217. package/fesm2020/xlsx.mjs.map +1 -1
  218. package/fesm2020/zip.mjs +7 -7
  219. package/fesm2020/zip.mjs.map +1 -1
  220. package/full-content/full-content.component.d.ts +1 -3
  221. package/media/media.component.d.ts +11 -12
  222. package/media/public_api.d.ts +0 -1
  223. package/package.json +6 -5
  224. package/pdf/pdf.component.d.ts +2 -1
  225. package/pdf/style/index.less +2 -2
  226. package/qr/qr.component.d.ts +1 -1
  227. package/se/se.component.d.ts +1 -1
  228. package/se/style/index.less +2 -0
  229. package/theme-dark.less +2 -2
  230. package/esm2020/media/plyr.types.mjs +0 -2
  231. package/media/plyr.types.d.ts +0 -58
@@ -16,7 +16,7 @@ export declare class SEComponent implements OnChanges, AfterContentInit, AfterVi
16
16
  static ngAcceptInputType_noColon: BooleanInput;
17
17
  static ngAcceptInputType_hideLabel: BooleanInput;
18
18
  private el;
19
- private unsubscribe$;
19
+ private destroy$;
20
20
  private readonly ngModel?;
21
21
  private readonly formControlName?;
22
22
  private readonly contentElement;
@@ -14,6 +14,8 @@
14
14
  }
15
15
 
16
16
  &__item {
17
+ transition: none;
18
+
17
19
  &:last-child {
18
20
  margin-bottom: 0;
19
21
  padding-bottom: 0;
package/theme-dark.less CHANGED
@@ -7,8 +7,8 @@
7
7
 
8
8
  // sv
9
9
  // --
10
- @sv-label-color: darken(@text-color, 30%);
11
- @sv-label-optional-color: darken(@text-color, 50%);
10
+ @sv-label-color: rgba(255, 255, 255, 0.5);
11
+ @sv-label-optional-color: rgba(255, 255, 255, 0.35);
12
12
 
13
13
  // se
14
14
  // --
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGx5ci50eXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FiYy9tZWRpYS9wbHlyLnR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBQbHlyTWVkaWFUeXBlID0gJ2F1ZGlvJyB8ICd2aWRlbyc7XG5leHBvcnQgdHlwZSBQbHlyUHJvdmlkZXIgPSAnaHRtbDUnIHwgJ3lvdXR1YmUnIHwgJ3ZpbWVvJztcblxuZXhwb3J0IGludGVyZmFjZ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SB0aXRsZSBmb3IgdGhlIHRyYWNrXG4gICAqL1xuICBsYWJlbDogc3RyaW5nO1xuICAvKipcbiAgICogVGhlIGxhbmd1YWdlIG9mIHRoZSB0cmFjayB0ZXh0IGRhdGEuIEl0IG11c3QgYmUgYSB2YWxpZCBCQ1AgNDcgbGFuZ3VhZ2UgdGFnLiBJZiB0aGUga2luZCBhdHRyaWJ1dGUgaXMgc2V0IHRvIHN1YnRpdGxlcywgdGhlbiBzcmNsYW5nIG11c3QgYmUgZGVmaW5lZC5cbiAgICovXG4gIHNyY0xhbmc/OiBzdHJpbmc7XG4gIC8qKlxuICAgKiBUaGUgVVJMIG9mIHRoZSB0cmFjayAoLnZ0dCBmaWxlKS5cbiAgICovXG4gIHNyYzogc3RyaW5nO1xuXG4gIGRlZmF1bHQ/OiBib29sZWFuO1xufVxuIl19
@@ -1,58 +0,0 @@
1
- export declare type PlyrMediaType = 'audio' | 'video';
2
- export declare type PlyrProvider = 'html5' | 'youtube' | 'vimeo';
3
- export interface PlyrMediaSource {
4
- /**
5
- * Note: YouTube and Vimeo are currently not supported as audio sources.
6
- */
7
- type: PlyrMediaType;
8
- /**
9
- * Title of the new media. Used for the aria-label attribute on the play button, and outer container. YouTube and Vimeo are populated automatically.
10
- */
11
- title?: string;
12
- /**
13
- * This is an array of sources. For HTML5 media, the properties of this object are mapped directly to HTML attributes so more can be added to the object if required.
14
- */
15
- sources: PlyrSource[];
16
- /**
17
- * The URL for the poster image (HTML5 video only).
18
- */
19
- poster?: string;
20
- /**
21
- * An array of track objects. Each element in the array is mapped directly to a track element and any keys mapped directly to HTML attributes so as in the example above,
22
- * it will render as <track kind="captions" label="English" srclang="en" src="https://cdn.selz.com/plyr/1.0/example_captions_en.vtt" default> and similar for the French version.
23
- * Booleans are converted to HTML5 value-less attributes.
24
- */
25
- tracks?: PlyrTrack[];
26
- }
27
- export interface PlyrSource {
28
- /**
29
- * The URL of the media file (or YouTube/Vimeo URL).
30
- */
31
- src: string;
32
- /**
33
- * The MIME type of the media file (if HTML5).
34
- */
35
- type?: string;
36
- provider?: PlyrProvider;
37
- size?: number;
38
- }
39
- export declare type PlyrTrackKind = 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata';
40
- export interface PlyrTrack {
41
- /**
42
- * Indicates how the text track is meant to be used
43
- */
44
- kind: PlyrTrackKind;
45
- /**
46
- * Indicates a user-readable title for the track
47
- */
48
- label: string;
49
- /**
50
- * The language of the track text data. It must be a valid BCP 47 language tag. If the kind attribute is set to subtitles, then srclang must be defined.
51
- */
52
- srcLang?: string;
53
- /**
54
- * The URL of the track (.vtt file).
55
- */
56
- src: string;
57
- default?: boolean;
58
- }