@quadrel-enterprise-ui/framework 20.6.1 → 20.6.2

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.
package/index.d.ts CHANGED
@@ -1074,88 +1074,118 @@ declare class QdVisuallyHiddenDirective {
1074
1074
  static ɵdir: i0.ɵɵDirectiveDeclaration<QdVisuallyHiddenDirective, "[qdVisuallyHidden]", never, {}, {}, never, never, false, never>;
1075
1075
  }
1076
1076
 
1077
- type EventName = 'RESOURCE_CREATED' | 'RESOURCE_UPDATED' | 'RESOURCE_DELETED';
1077
+ type QdPushEventName = 'RESOURCE_CREATED' | 'RESOURCE_UPDATED' | 'RESOURCE_DELETED';
1078
1078
  /**
1079
- * Service for handling real-time server-sent events.
1079
+ * Manages a server-sent event (SSE) connection with automatic reconnection and heartbeat monitoring.
1080
1080
  *
1081
- * ### Benefits
1081
+ * All service endpoints — including SSE — must be protected. The connection is therefore secured
1082
+ * via Quadrel Auth (Bearer token) by default. When the access token refreshes, the connection is
1083
+ * transparently rebuilt. Only disable authentication for endpoints that are explicitly public.
1082
1084
  *
1083
- * - **Real-Time Interaction**: Enables live updates without user actions or polling.
1084
- * - **Scalable and Flexible**: The system is flexible and easily expandable to handle new events.
1085
- * - **Consistency**: Ensures synchronization between server and client states for a consistent user experience.
1086
- * - **Authorization**: It uses the user's authentication (QdAuth) to secure the connection against the backend out-of-the-box. This requires a proper QdAuth setup. You can disable this feature when starting the connection.
1085
+ * ### Reconnection behavior
1086
+ *
1087
+ * - **Heartbeat timeout**: If no HEARTBEAT event arrives within the expected interval, the service reconnects.
1088
+ * - **401 Unauthorized**: Triggers exponential-backoff reconnection (max 5 attempts, capped at 30 s).
1089
+ * - **Other errors**: Reconnects immediately when the EventSource transitions to CLOSED.
1090
+ *
1091
+ * Existing `observe()` subscriptions are preserved across reconnections.
1087
1092
  *
1088
1093
  * ### Usage
1089
1094
  *
1090
1095
  * ```ts
1091
- * // Start the connection to the events
1092
- * pushEventsService.connect('http://service-endpint/events');
1093
- * // or start without authentication in case you don't need:
1094
- * pushEventsService.connect('http://service-endpint/events', { disableAuthentication: true });
1096
+ * pushEventsService.connect('https://api.example.com/events');
1095
1097
  *
1096
- * // Subscribe to the event (Side Effect)
1097
- * const subscription = pushEventsService.observe('RESOURCE_UPDATED').subscribe(event => handleEvent(event));
1098
+ * const sub = pushEventsService.observe('RESOURCE_UPDATED').subscribe(event => handleEvent(event));
1098
1099
  *
1099
- * // Unsubscribe to prevent memory leaks
1100
- * subscription.unsubscribe();
1101
- *
1102
- * // Disconnect the connection
1100
+ * sub.unsubscribe();
1103
1101
  * pushEventsService.disconnect();
1104
1102
  * ```
1105
1103
  */
1106
1104
  declare class QdPushEventsService {
1107
1105
  private readonly authenticationService;
1108
1106
  private _eventSource;
1109
- private _eventSubscriptionSubjects;
1107
+ private _subjects;
1110
1108
  private _listeners;
1111
- private _heartbeatTimeout;
1112
- private _reconnectDelayTime;
1113
- private _heartbeatReconnectDelayTime;
1114
1109
  private _accessTokenSub?;
1115
1110
  private _options;
1111
+ private _heartbeatTimeout;
1112
+ private readonly _heartbeatGracePeriod;
1113
+ private readonly _initialHeartbeatTimeout;
1116
1114
  private _isUnauthorized;
1115
+ private _reconnectAttempts;
1116
+ private readonly _maxReconnectAttempts;
1117
+ private _backoffTimer?;
1117
1118
  /**
1118
- * Establishes an EventSource connection to the given URL.
1119
- * Automatically reconnects if heartbeat fails or is delayed.
1120
- * Subscribers are retained across reconnections.
1119
+ * Opens an SSE connection to the given URL.
1120
+ *
1121
+ * With authentication enabled (default), the service subscribes to the `accessToken$` observable
1122
+ * provided by Quadrel Auth and rebuilds the connection whenever the token changes.
1123
+ * No-op if already connected.
1124
+ *
1125
+ * @param url The SSE endpoint URL.
1126
+ * @param options Set `{ disableAuthentication: true }` only for explicitly public endpoints.
1121
1127
  *
1122
- * @param url The backend URL for the event stream.
1123
- * @param options Options for the connection
1128
+ * @example
1129
+ * ```ts
1130
+ * // Authenticated (default — requires Quadrel Auth)
1131
+ * pushEventsService.connect('https://api.example.com/events');
1132
+ *
1133
+ * // Without authentication (only for public endpoints)
1134
+ * pushEventsService.connect('https://api.example.com/public-events', { disableAuthentication: true });
1135
+ * ```
1124
1136
  */
1125
1137
  connect(url: string, options?: {
1126
1138
  disableAuthentication: boolean;
1127
1139
  }): void;
1128
1140
  /**
1129
- * Closes the EventSource connection and clears all listeners.
1130
- * Subscribers are preserved for reconnection.
1141
+ * Closes the EventSource connection, clears all event listeners, and cancels pending backoff timers.
1142
+ * Subscription subjects are preserved so that a subsequent `connect()` re-attaches them.
1143
+ *
1144
+ * @example
1145
+ * ```ts
1146
+ * pushEventsService.disconnect();
1147
+ * // Subjects survive — a new connect() will re-attach existing observe() subscriptions.
1148
+ * ```
1131
1149
  */
1132
1150
  disconnect(): void;
1133
1151
  /**
1134
- * Returns an Observable for the specified event name.
1135
- * If not connected, returns `NEVER` and logs an error.
1136
- * Automatically adds a listener for the event if needed.
1152
+ * Returns an Observable that emits whenever the server sends an event of the given type.
1153
+ *
1154
+ * Lazily registers an EventSource listener on first call per event name.
1155
+ * Returns `NEVER` and logs an error if no connection exists.
1137
1156
  *
1138
- * @param eventName The event type ('RESOURCE_CREATED', 'RESOURCE_UPDATED', 'RESOURCE_DELETED').
1139
- * @returns Observable<MessageEvent> The event stream.
1157
+ * @param eventName The SSE event type to listen for.
1158
+ *
1159
+ * @example
1160
+ * ```ts
1161
+ * pushEventsService.observe('RESOURCE_UPDATED').subscribe(event => handleUpdate(event));
1162
+ * ```
1140
1163
  */
1141
- observe(eventName: EventName): Observable<MessageEvent>;
1164
+ observe(eventName: QdPushEventName): Observable<MessageEvent>;
1142
1165
  /**
1143
- * Removes all listeners and clears all subscriptions.
1144
- * The EventSource connection remains open.
1166
+ * Removes all event listeners and clears all subscription subjects. The connection stays open.
1167
+ * Use this to reset all subscriptions without disconnecting the SSE stream.
1168
+ *
1169
+ * @example
1170
+ * ```ts
1171
+ * pushEventsService.unobserveAll();
1172
+ * // Connection remains open, but no events are forwarded until observe() is called again.
1173
+ * ```
1145
1174
  */
1146
1175
  unobserveAll(): void;
1147
- /**
1148
- * Checks if the EventSource is connected or in the process of connecting.
1149
- */
1176
+ /** Returns `true` when the EventSource is in state OPEN or CONNECTING. */
1150
1177
  isConnectedOrConnecting(): boolean;
1178
+ private connectWithAuth;
1179
+ private openEventSource;
1151
1180
  private reconnect;
1152
- private addEventListenerForEventName;
1153
- private addEventListenersForExistingSubscriptions;
1154
- private addEventListenerToEventSource;
1155
- private removeAllEventListenersFromEventSource;
1181
+ private handleError;
1182
+ private scheduleRetry;
1183
+ private handleHeartbeat;
1184
+ private addListener;
1185
+ private reattachListeners;
1186
+ private removeAllListeners;
1156
1187
  private logWarn;
1157
1188
  private logError;
1158
- private connectEventSource;
1159
1189
  static ɵfac: i0.ɵɵFactoryDeclaration<QdPushEventsService, never>;
1160
1190
  static ɵprov: i0.ɵɵInjectableDeclaration<QdPushEventsService>;
1161
1191
  }
@@ -3849,7 +3879,7 @@ type QdTableFillingColumn = 'main' | 'last' | 'harmonized' | 'none';
3849
3879
  /**
3850
3880
  * Optional Events for triggering a table refresh.
3851
3881
  */
3852
- type QdTableOptionalRefreshingEventTypes = 'RESOURCE_CREATED' | 'RESOURCE_DELETED';
3882
+ type QdTableOptionalRefreshingEventTypes = 'RESOURCE_CREATED' | 'RESOURCE_UPDATED' | 'RESOURCE_DELETED';
3853
3883
  /**
3854
3884
  * @description Configuration Model for Qd-Tables. The generic type defines the table columns keys.
3855
3885
  */
@@ -17334,4 +17364,4 @@ declare class QdUiModule {
17334
17364
  declare const APP_ENVIRONMENT: InjectionToken<QdAppEnvironment>;
17335
17365
 
17336
17366
  export { APP_ENVIRONMENT, AVAILABLE_ICONS, BACKEND_ERROR_CODES, MockLocaleDatePipe, NavigationTileComponent, NavigationTilesComponent, QD_DIALOG_CONFIRMATION_RESOLVER_TOKEN, QD_FILE_MANAGER_TOKEN, QD_FILE_UPLOAD_MANAGER_TOKEN, QD_FORM_OPTIONS_RESOLVER, QD_PAGE_OBJECT_RESOLVER_TOKEN, QD_PAGE_STEP_RESOLVER_TOKEN, QD_POPOVER_TOP_FIRST, QD_SAFE_BOTTOM_OFFSET, QD_TABLE_DATA_RESOLVER_TOKEN, QD_UPLOAD_HTTP_OPTIONS, QdButtonComponent, QdButtonGhostDirective, QdButtonGridComponent, QdButtonLinkDirective, QdButtonModule, QdButtonStackButtonComponent, QdButtonStackComponent, QdCheckboxChipsComponent, QdCheckboxComponent, QdCheckboxesComponent, QdChipComponent, QdChipModule, QdColumnAutoFillDirective, QdColumnBreakBeforeDirective, QdColumnDirective, QdColumnDisableResponsiveColspansDirective, QdColumnFullGridWidthDirective, QdColumnNextInSameRowDirective, QdColumnsDirective, QdColumnsDisableAutoFillDirective, QdColumnsDisableResponsiveColspansDirective, QdColumnsMaxDirective, QdCommentsComponent, QdCommentsModule, QdConnectFormStateToPageDirective, QdConnectorTableContextDirective, QdConnectorTableFilterDirective, QdConnectorTableSearchDirective, QdContactCardComponent, QdContactCardModule, QdContainerPairsCaptionComponent, QdContainerPairsContainerComponent, QdContainerPairsHeaderComponent, QdContainerPairsItemComponent, QdContainerPairsValueComponent, QdContextService, QdCoreModule, QdDatepickerComponent, QdDialogActionComponent, QdDialogAuthSessionEndComponent, QdDialogAuthSessionEndService, QdDialogComponent, QdDialogConfirmationComponent, QdDialogConfirmationErrorDirective, QdDialogConfirmationInfoDirective, QdDialogConfirmationSuccessDirective, QdDialogModule, QdDialogRecordStepperComponent, QdDialogService, QdDialogSize, QdDisabledDirective, QdDropdownComponent, QdFileCollectorComponent, QdFileCollectorModule, QdFileSizePipe$1 as QdFileSizePipe, QdFileUploadComponent, QdFileUploadService, QdFilterComponent, QdFilterFormItemsComponent, QdFilterModule, QdFilterRestParamBuilder, QdFilterService, QdFormArray, QdFormBuilder, QdFormControl, QdFormGroup, QdFormModule, QdGridComponent, QdGridModule, QdHorizontalPairsCaptionComponent, QdHorizontalPairsComponent, QdHorizontalPairsItemComponent, QdHorizontalPairsValueComponent, QdIconButtonComponent, QdIconComponent, QdIconModule, QdImageComponent, QdImageModule, QdIndeterminateProgressBarComponent, QdInputComponent, QdListModule, QdMenuButtonComponent, QdMockBreakpointService, QdMockButtonComponent, QdMockButtonGhostDirective, QdMockButtonGridComponent, QdMockButtonLinkDirective, QdMockButtonModule, QdMockButtonStackButtonComponent, QdMockButtonStackComponent, QdMockCalendarComponent, QdMockCheckboxChipsComponent, QdMockCheckboxComponent, QdMockCheckboxesComponent, QdMockChipComponent, QdMockChipModule, QdMockColumnDirective, QdMockColumnsDirective, QdMockContactCardComponent, QdMockContactCardModule, QdMockContainerPairsCaptionComponent, QdMockContainerPairsContainerComponent, QdMockContainerPairsHeaderComponent, QdMockContainerPairsItemComponent, QdMockContainerPairsValueComponent, QdMockCoreModule, QdMockCounterBadgeComponent, QdMockDatepickerComponent, QdMockDisabledDirective, QdMockDropdownComponent, QdMockFileCollectorComponent, QdMockFileCollectorModule, QdMockFilterCategoryBooleanComponent, QdMockFilterCategoryComponent, QdMockFilterCategoryDateComponent, QdMockFilterCategoryDateRangeComponent, QdMockFilterCategoryFreeTextComponent, QdMockFilterCategorySelectComponent, QdMockFilterComponent, QdMockFilterFormItemsComponent, QdMockFilterItemBooleanComponent, QdMockFilterItemDateComponent, QdMockFilterItemDateRangeComponent, QdMockFilterItemFreeTextComponent, QdMockFilterItemMultiSelectComponent, QdMockFilterItemSingleSelectComponent, QdMockFilterModule, QdMockFilterService, QdMockFormErrorComponent, QdMockFormGroupErrorComponent, QdMockFormHintComponent, QdMockFormLabelComponent, QdMockFormReadonlyComponent, QdMockFormViewonlyComponent, QdMockFormsModule, QdMockGridModule, QdMockIconButtonComponent, QdMockIconComponent, QdMockIconModule, QdMockImageComponent, QdMockImageModule, QdMockIndeterminateProgressBarComponent, QdMockInputComponent, QdMockListModule, QdMockNavigationTileComponent, QdMockNavigationTilesComponent, QdMockNavigationTilesModule, QdMockNotificationComponent, QdMockNotificationContentComponent, QdMockNotificationsComponent, QdMockNotificationsModule, QdMockNotificationsService, QdMockPageComponent, QdMockPageModule, QdMockPercentageProgressBarComponent, QdMockPinCodeComponent, QdMockPlaceHolderModule, QdMockPopoverOnClickDirective, QdMockProgressBarModule, QdMockQdPlaceHolderComponent, QdMockRadioButtonsComponent, QdMockRwdDisabledDirective, QdMockSearchComponent, QdMockSearchModule, QdMockSectionComponent, QdMockSectionModule, QdMockShellComponent, QdMockShellFooterComponent, QdMockShellHeaderBannerComponent, QdMockShellHeaderComponent, QdMockShellHeaderSearchComponent, QdMockShellHeaderWidgetComponent, QdMockShellModule, QdMockShellToolbarComponent, QdMockShellToolbarItemComponent, QdMockStatusIndicatorCaptionComponent, QdMockStatusIndicatorComponent, QdMockStatusIndicatorItemComponent, QdMockStatusIndicatorModule, QdMockStatusPairsCaptionComponent, QdMockStatusPairsComponent, QdMockStatusPairsErrorComponent, QdMockStatusPairsItemComponent, QdMockStatusPairsValueComponent, QdMockSwitchComponent, QdMockSwitchesComponent, QdMockTableComponent, QdMockTableModule, QdMockTextSectionComponent, QdMockTextSectionHeadlineComponent, QdMockTextSectionModule, QdMockTextSectionParagraphComponent, QdMockTextareaComponent, QdMockTileButtonListComponent, QdMockTileComponent, QdMockTileTextListComponent, QdMockTileTextListItemComponent, QdMockTileTitleComponent, QdMockTilesContainerComponent, QdMockTilesContainerTitleComponent, QdMockTilesModule, QdMockTranslatePipe, QdMockVisuallyHiddenDirective, QdMultiInputComponent, QdNavigationTilesModule, QdNotificationComponent, QdNotificationContentComponent, QdNotificationsComponent, QdNotificationsHttpInterceptorService, QdNotificationsModule, QdNotificationsService, QdNotificationsSnackbarListenerDirective, QdPageComponent, QdPageControlPanelComponent, QdPageFooterComponent, QdPageFooterCustomContentDirective, QdPageInfoBannerComponent, QdPageModule, QdPageStepComponent, QdPageStepperAdapterDirective, QdPageStepperComponent, QdPageStepperModule, QdPageStoreService, QdPageTabComponent, QdPageTabsAdapterDirective, QdPageTabsComponent, QdPageTabsModule, QdPanelSectionActionsComponent, QdPanelSectionComponent, QdPanelSectionModule, QdPanelSectionStatusComponent, QdPanelSectionTextParagraphComponent, QdPendingChangesGuardDirective, QdPercentageProgressBarComponent, QdPinCodeComponent, QdPlaceHolderComponent, QdPlaceHolderModule, QdPlaceholderPipe, QdProgressBarModule, QdProjectionGuardComponent, QdPushEventsService, QdQuickEditComponent, QdQuickEditModule, QdRadioButtonsComponent, QdRichtextComponent, QdRwdDisabledDirective, QdSearchComponent, QdSearchModule, QdSectionAdapterDirective, QdSectionComponent, QdSectionModule, QdSectionToolbarComponent, QdShellComponent, QdShellModule, QdSortDirection, QdSpinnerComponent, QdSpinnerModule, QdStatusIndicatorComponent, QdStatusIndicatorModule, QdStatusPairsCaptionComponent, QdStatusPairsComponent, QdStatusPairsErrorComponent, QdStatusPairsItemComponent, QdStatusPairsValueComponent, QdSubgridComponent, QdSwitchComponent, QdSwitchesComponent, QdTableComponent, QdTableModule, QdTableSpringTools, QdTextSectionComponent, QdTextSectionHeadlineComponent, QdTextSectionModule, QdTextSectionParagraphComponent, QdTextareaComponent, QdTileButtonListComponent, QdTileComponent, QdTileTextListComponent, QdTileTextListItemComponent, QdTileTitleComponent, QdTilesComponent, QdTilesModule, QdTilesTitleComponent, QdTooltipAtIntersectionDirective, QdTreeComponent, QdTreeModule, QdTreeRowExpanderService, QdUiMockModule, QdUiModule, QdUploadErrorType, QdValidators, QdViewportAdaptiveDirective, QdVisuallyHiddenDirective, chipColorDefault, updateHtmlLang };
17337
- export type { CustomField, QdAppEnvironment, QdButtonAdditionalInfo, QdButtonColor, QdChipColor, QdCollectedFile, QdComment, QdCommentAuthorFieldConfig, QdCommentCustomFieldConfig, QdCommentDeletedMeta, QdCommentRichtextConfig, QdCommentSecondaryActionConfig, QdCommentsAddButtonConfig, QdCommentsAddConfig, QdCommentsConfig, QdContactAddress, QdContactData, QdContactDataCustomField, QdContactDataCustomFieldEntry, QdContactDataCustomTranslatedEntry, QdContactFunction, QdContactPerson, QdContactTag, QdContextSelection, QdDependentFilterCategory, QdDialogAuthSessionEndResult, QdDialogConfig, QdDialogConfirmationConfig, QdDialogConfirmationResolver, QdDialogData, QdDialogTitle, QdFileCollectorConfig, QdFileManager, QdFileType, QdFileUploadManager, QdFilterCategory, QdFilterConfigData, QdFilterItem, QdFilterPostBodyCategory, QdFilterPostBodyData, QdFormCheckboxChipsConfiguration, QdFormCheckboxesConfiguration, QdFormConfiguration, QdFormDatepickerConfiguration, QdFormDropdownConfiguration, QdFormFileUploadConfiguration, QdFormHint, QdFormInput, QdFormInputConfiguration, QdFormLabel, QdFormMultiInputConfiguration, QdFormOption, QdFormOptionsResolver, QdFormPinCodeConfiguration, QdFormRadioButtonsConfiguration, QdFormSwitchesConfiguration, QdFormTextAreaConfiguration, QdGridConfig, QdInputValue, QdInputValueWithUnit, QdInspectOperationMode, QdMenuButtonConfig, QdMultiInputOption, QdNotification, QdNotificationType, QdPageConfig, QdPageConfigCreate, QdPageConfigCustom, QdPageConfigInspect, QdPageConfigOverview, QdPageControlPanelConfig, QdPageInfoBannerConfig, QdPageObjectResolver, QdPageObjectResolverConfig, QdPageSelectedContext, QdPageStepConfig, QdPageStepResolver, QdPageStepperConfig, QdPageTabConfig, QdPageTabCounters, QdPageTabsConfig, QdPageTypeCreateConfig, QdPageTypeCustomConfig, QdPageTypeInspectConfig, QdPageTypeOverviewConfig, QdPlaceholder, QdQuickEditConfig, QdQuickEditData, QdRichtextConfig, QdSearchOptions, QdSearchPostBodyData, QdSectionActionType, QdSectionConfig, QdShellConfig, QdStatusIndicator, QdSwitchOption, QdTabSelectionEvent, QdTableChipDataValue, QdTableConfig, QdTableConfigColumn, QdTableConfigSelection, QdTableContentDataChip, QdTableContentDataChipObject, QdTableData, QdTableDataResolver, QdTableDataResolverProps, QdTableDataRow, QdTableDataValue, QdTableEmptyStateView, QdTableOptionalRefreshingEventTypes, QdTablePagination, QdTablePrimaryAction, QdTableRecentSecondaryAction, QdTableResolvedData, QdTableRowIdentifier, QdTableRowIndex, QdTableRowUid, QdTableSecondaryAction, QdTableSelectedRow, QdTableSelectedRows, QdTableStatusDataValue, QdTileConfig, QdTilesConfig, QdTooltip, QdTranslatable, QdTranslation, QdTreeConfig, QdTreeData, QdTreeDataRow, QdTreeDataValue, QdUploadError, QdUploadProgress };
17367
+ export type { CustomField, QdAppEnvironment, QdButtonAdditionalInfo, QdButtonColor, QdChipColor, QdCollectedFile, QdComment, QdCommentAuthorFieldConfig, QdCommentCustomFieldConfig, QdCommentDeletedMeta, QdCommentRichtextConfig, QdCommentSecondaryActionConfig, QdCommentsAddButtonConfig, QdCommentsAddConfig, QdCommentsConfig, QdContactAddress, QdContactData, QdContactDataCustomField, QdContactDataCustomFieldEntry, QdContactDataCustomTranslatedEntry, QdContactFunction, QdContactPerson, QdContactTag, QdContextSelection, QdDependentFilterCategory, QdDialogAuthSessionEndResult, QdDialogConfig, QdDialogConfirmationConfig, QdDialogConfirmationResolver, QdDialogData, QdDialogTitle, QdFileCollectorConfig, QdFileManager, QdFileType, QdFileUploadManager, QdFilterCategory, QdFilterConfigData, QdFilterItem, QdFilterPostBodyCategory, QdFilterPostBodyData, QdFormCheckboxChipsConfiguration, QdFormCheckboxesConfiguration, QdFormConfiguration, QdFormDatepickerConfiguration, QdFormDropdownConfiguration, QdFormFileUploadConfiguration, QdFormHint, QdFormInput, QdFormInputConfiguration, QdFormLabel, QdFormMultiInputConfiguration, QdFormOption, QdFormOptionsResolver, QdFormPinCodeConfiguration, QdFormRadioButtonsConfiguration, QdFormSwitchesConfiguration, QdFormTextAreaConfiguration, QdGridConfig, QdInputValue, QdInputValueWithUnit, QdInspectOperationMode, QdMenuButtonConfig, QdMultiInputOption, QdNotification, QdNotificationType, QdPageConfig, QdPageConfigCreate, QdPageConfigCustom, QdPageConfigInspect, QdPageConfigOverview, QdPageControlPanelConfig, QdPageInfoBannerConfig, QdPageObjectResolver, QdPageObjectResolverConfig, QdPageSelectedContext, QdPageStepConfig, QdPageStepResolver, QdPageStepperConfig, QdPageTabConfig, QdPageTabCounters, QdPageTabsConfig, QdPageTypeCreateConfig, QdPageTypeCustomConfig, QdPageTypeInspectConfig, QdPageTypeOverviewConfig, QdPlaceholder, QdPushEventName, QdQuickEditConfig, QdQuickEditData, QdRichtextConfig, QdSearchOptions, QdSearchPostBodyData, QdSectionActionType, QdSectionConfig, QdShellConfig, QdStatusIndicator, QdSwitchOption, QdTabSelectionEvent, QdTableChipDataValue, QdTableConfig, QdTableConfigColumn, QdTableConfigSelection, QdTableContentDataChip, QdTableContentDataChipObject, QdTableData, QdTableDataResolver, QdTableDataResolverProps, QdTableDataRow, QdTableDataValue, QdTableEmptyStateView, QdTableOptionalRefreshingEventTypes, QdTablePagination, QdTablePrimaryAction, QdTableRecentSecondaryAction, QdTableResolvedData, QdTableRowIdentifier, QdTableRowIndex, QdTableRowUid, QdTableSecondaryAction, QdTableSelectedRow, QdTableSelectedRows, QdTableStatusDataValue, QdTileConfig, QdTilesConfig, QdTooltip, QdTranslatable, QdTranslation, QdTreeConfig, QdTreeData, QdTreeDataRow, QdTreeDataValue, QdUploadError, QdUploadProgress };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadrel-enterprise-ui/framework",
3
- "version": "20.6.1",
3
+ "version": "20.6.2",
4
4
  "exports": {
5
5
  "./jest-preset": "./jest-preset.js",
6
6
  "./package.json": {
@@ -1,4 +1,3 @@
1
1
  @use "components.button";
2
- @use "components.filter" as components4;
3
2
  @use "components.dialog" as components2;
4
3
  @use "components.grid" as components3;
@@ -1,52 +0,0 @@
1
- @use "../settings/settings.verticalRythm" as settings2;
2
- @use "../tools/tools.convertPxToRem" as tools;
3
- @use "../../../lib/filter/shared/filter.constants" as filter;
4
-
5
- .qd-filter__category-layer {
6
- min-width: tools.to-rem(260);
7
- max-width: tools.to-rem(900);
8
- padding: settings2.$vertical-spacing-default 0 0;
9
- border: filter.$filter-border-width solid filter.$filter-open-border-color;
10
- background: white;
11
- box-shadow: filter.$filter-category-box-shadow-color filter.$filter-category-box-shadow-size;
12
-
13
- .qd-filter-form-items__filter {
14
- margin-bottom: 0;
15
- }
16
-
17
- .qd-checkbox__label {
18
- display: flex;
19
- height: filter.$filter-item-line-height;
20
- }
21
-
22
- .qd-checkbox__indicator,
23
- .qd-radio-buttons__indicator {
24
- transform: translateY(-(tools.to-rem(1)));
25
- }
26
- }
27
-
28
- .qd-filter__category-layer-items {
29
- max-height: filter.$filter-flyout-items-max-height-no-search;
30
- overflow-y: auto;
31
- }
32
-
33
- .qd-filter__category-layer--has-search .qd-filter__category-layer-items {
34
- max-height: filter.$filter-flyout-items-max-height-with-search;
35
- }
36
-
37
- .qd-filter__category-layer-container {
38
- position: relative;
39
- }
40
-
41
- .qd-filter__category-layer-close {
42
- position: absolute;
43
- top: settings2.$vertical-spacing-default;
44
- right: filter.$filter-category-layer-horizontal-margin;
45
- color: filter.$filter-button-color;
46
- cursor: pointer;
47
-
48
- &:hover,
49
- &:focus {
50
- color: filter.$filter-button-hover-color;
51
- }
52
- }