@fundamental-ngx/core 0.33.3 → 0.33.4-rc.3

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 (101) hide show
  1. package/action-bar/package.json +1 -1
  2. package/action-sheet/package.json +1 -1
  3. package/alert/package.json +1 -1
  4. package/avatar/package.json +1 -1
  5. package/avatar-group/package.json +1 -1
  6. package/bar/package.json +1 -1
  7. package/breadcrumb/package.json +1 -1
  8. package/busy-indicator/package.json +1 -1
  9. package/button/package.json +1 -1
  10. package/calendar/package.json +1 -1
  11. package/card/package.json +1 -1
  12. package/carousel/package.json +1 -1
  13. package/checkbox/package.json +1 -1
  14. package/combobox/package.json +1 -1
  15. package/date-picker/package.json +1 -1
  16. package/datetime/package.json +1 -1
  17. package/datetime-picker/package.json +1 -1
  18. package/dialog/package.json +1 -1
  19. package/dynamic-page/package.json +1 -1
  20. package/dynamic-side-content/package.json +1 -1
  21. package/esm2020/upload-collection/upload-collection-item.directive.mjs +81 -8
  22. package/facets/package.json +1 -1
  23. package/feed-input/package.json +1 -1
  24. package/feed-list-item/package.json +1 -1
  25. package/fesm2015/fundamental-ngx-core-upload-collection.mjs +80 -7
  26. package/fesm2015/fundamental-ngx-core-upload-collection.mjs.map +1 -1
  27. package/fesm2020/fundamental-ngx-core-upload-collection.mjs +80 -7
  28. package/fesm2020/fundamental-ngx-core-upload-collection.mjs.map +1 -1
  29. package/file-uploader/package.json +1 -1
  30. package/fixed-card-layout/package.json +1 -1
  31. package/flexible-column-layout/package.json +1 -1
  32. package/form/package.json +1 -1
  33. package/formatted-text/package.json +1 -1
  34. package/grid-list/package.json +1 -1
  35. package/icon/package.json +1 -1
  36. package/illustrated-message/package.json +1 -1
  37. package/infinite-scroll/package.json +1 -1
  38. package/info-label/package.json +1 -1
  39. package/inline-help/package.json +1 -1
  40. package/input-group/package.json +1 -1
  41. package/layout-grid/package.json +1 -1
  42. package/layout-panel/package.json +1 -1
  43. package/link/package.json +1 -1
  44. package/list/package.json +1 -1
  45. package/menu/package.json +1 -1
  46. package/message-box/package.json +1 -1
  47. package/message-strip/package.json +1 -1
  48. package/message-toast/package.json +1 -1
  49. package/micro-process-flow/package.json +1 -1
  50. package/mobile-mode/package.json +1 -1
  51. package/multi-input/package.json +1 -1
  52. package/nested-list/package.json +1 -1
  53. package/notification/package.json +1 -1
  54. package/object-identifier/package.json +1 -1
  55. package/object-marker/package.json +1 -1
  56. package/object-number/package.json +1 -1
  57. package/object-status/package.json +1 -1
  58. package/package.json +1 -1
  59. package/pagination/package.json +1 -1
  60. package/panel/package.json +1 -1
  61. package/popover/package.json +1 -1
  62. package/product-switch/package.json +1 -1
  63. package/progress-indicator/package.json +1 -1
  64. package/quick-view/package.json +1 -1
  65. package/radio/package.json +1 -1
  66. package/rating-indicator/package.json +1 -1
  67. package/resizable-card-layout/package.json +1 -1
  68. package/scroll-spy/package.json +1 -1
  69. package/scrollbar/package.json +1 -1
  70. package/segmented-button/package.json +1 -1
  71. package/select/package.json +1 -1
  72. package/shared/package.json +1 -1
  73. package/shellbar/package.json +1 -1
  74. package/side-navigation/package.json +1 -1
  75. package/slider/package.json +1 -1
  76. package/split-button/package.json +1 -1
  77. package/splitter/package.json +1 -1
  78. package/status-indicator/package.json +1 -1
  79. package/step-input/package.json +1 -1
  80. package/switch/package.json +1 -1
  81. package/table/package.json +1 -1
  82. package/tabs/package.json +1 -1
  83. package/text/package.json +1 -1
  84. package/tile/package.json +1 -1
  85. package/time/package.json +1 -1
  86. package/time-picker/package.json +1 -1
  87. package/timeline/package.json +1 -1
  88. package/title/package.json +1 -1
  89. package/token/package.json +1 -1
  90. package/toolbar/package.json +1 -1
  91. package/tree/package.json +1 -1
  92. package/upload-collection/esm2020/upload-collection-item.directive.mjs +81 -8
  93. package/upload-collection/fesm2015/fundamental-ngx-core-upload-collection.mjs +80 -7
  94. package/upload-collection/fesm2015/fundamental-ngx-core-upload-collection.mjs.map +1 -1
  95. package/upload-collection/fesm2020/fundamental-ngx-core-upload-collection.mjs +80 -7
  96. package/upload-collection/fesm2020/fundamental-ngx-core-upload-collection.mjs.map +1 -1
  97. package/upload-collection/package.json +1 -1
  98. package/upload-collection/upload-collection-item.directive.d.ts +32 -2
  99. package/utils/package.json +1 -1
  100. package/vertical-navigation/package.json +1 -1
  101. package/wizard/package.json +1 -1
@@ -1,9 +1,10 @@
1
- import { AfterContentInit, EventEmitter, OnDestroy } from '@angular/core';
1
+ import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
2
  import { UploadCollectionFormItemComponent } from './upload-collection-form-item/upload-collection-form-item.component';
3
3
  import { UploadCollectionButtonGroupComponent } from './upload-collection-button-group/upload-collection-button-group.component';
4
4
  import { UploadCollectionTitleContainerDirective, UploadCollectionTitleDirective } from './upload-collection-simple.directives';
5
5
  import * as i0 from "@angular/core";
6
- export declare class UploadCollectionItemDirective implements AfterContentInit, OnDestroy {
6
+ export declare class UploadCollectionItemDirective implements AfterContentInit, OnDestroy, AfterViewInit {
7
+ elementRef: ElementRef;
7
8
  /** The name of the file, not including the type extension. */
8
9
  fileName: string;
9
10
  /** The file type extension. */
@@ -23,9 +24,22 @@ export declare class UploadCollectionItemDirective implements AfterContentInit,
23
24
  /** @hidden */
24
25
  private _subscriptions;
25
26
  /** @hidden */
27
+ fileNameFull: string;
28
+ /** @hidden */
29
+ titleWidth: number;
30
+ /** @hidden used to compare to the current width to know whether to collapse or expand title */
31
+ previousContainerWidth: number;
32
+ /** @hidden */
33
+ containerWidth: number;
34
+ /** @hidden */
26
35
  ngAfterContentInit(): void;
27
36
  /** @hidden */
37
+ ngAfterViewInit(): void;
38
+ /** @hidden */
28
39
  ngOnDestroy(): void;
40
+ constructor(elementRef: ElementRef);
41
+ /** @hidden */
42
+ onResize(): void;
29
43
  /** @hidden */
30
44
  private _handleOkClickedSubscription;
31
45
  /** @hidden */
@@ -34,6 +48,22 @@ export declare class UploadCollectionItemDirective implements AfterContentInit,
34
48
  private _handleDeleteClickedSubscription;
35
49
  /** @hidden */
36
50
  private _handleFormItemInputChangedSubscription;
51
+ /** @hidden */
52
+ private getTitleWidth;
53
+ /** @hidden */
54
+ private getContainerWidth;
55
+ /**
56
+ * @hidden
57
+ *
58
+ * truncates the string by cutting out excess length in the middle and replacing with '...'
59
+ */
60
+ private truncateTitle;
61
+ /**
62
+ * @hidden
63
+ *
64
+ * determines if file title needs to be truncated given container constraint.
65
+ */
66
+ private resizeFileTitle;
37
67
  static ɵfac: i0.ɵɵFactoryDeclaration<UploadCollectionItemDirective, never>;
38
68
  static ɵdir: i0.ɵɵDirectiveDeclaration<UploadCollectionItemDirective, "[fd-upload-collection-item]", never, { "fileName": "fileName"; "extension": "extension"; }, { "fileNameChanged": "fileNameChanged"; "deleteClicked": "deleteClicked"; }, ["_formItemComponent", "_titleDirective", "_buttonGroupComponent", "_titleContainerDirective"]>;
39
69
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/core/utils",
3
- "version": "0.33.3",
3
+ "version": "0.33.4-rc.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13,.0.0",
6
6
  "@angular/core": "^13,.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/core/vertical-navigation",
3
- "version": "0.33.3",
3
+ "version": "0.33.4-rc.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13,.0.0",
6
6
  "@angular/core": "^13,.0.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/core/wizard",
3
- "version": "0.33.3",
3
+ "version": "0.33.4-rc.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13,.0.0",
6
6
  "@angular/core": "^13,.0.0"