@decaf-ts/for-angular 0.0.49 → 0.0.50

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
@@ -7138,6 +7138,13 @@ declare class ModalComponent extends NgxParentComponentDirective implements OnIn
7138
7138
  * @default false
7139
7139
  */
7140
7140
  lightBox: boolean;
7141
+ /**
7142
+ * @description Controls the transparency of the modal header.
7143
+ * @summary When set to true, the modal header is rendered with a transparent background.
7144
+ * @type {boolean}
7145
+ * @default false
7146
+ */
7147
+ headerTransparent: boolean;
7141
7148
  /**
7142
7149
  * @description Controls the visibility of the modal header.
7143
7150
  * @summary When set to true, the modal header is displayed; when false, it is hidden.
@@ -7220,7 +7227,7 @@ declare class ModalComponent extends NgxParentComponentDirective implements OnIn
7220
7227
  */
7221
7228
  confirm(event: IBaseCustomEvent): Promise<void>;
7222
7229
  static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
7223
- static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "ngx-decaf-modal", never, { "title": { "alias": "title"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "options": { "alias": "options"; "required": false; }; "globals": { "alias": "globals"; "required": false; }; "inlineContent": { "alias": "inlineContent"; "required": false; }; "inlineContentPosition": { "alias": "inlineContentPosition"; "required": false; }; "fullscreen": { "alias": "fullscreen"; "required": false; }; "lightBox": { "alias": "lightBox"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; }, { "willDismissEvent": "willDismissEvent"; }, never, never, true, never>;
7230
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "ngx-decaf-modal", never, { "title": { "alias": "title"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "options": { "alias": "options"; "required": false; }; "globals": { "alias": "globals"; "required": false; }; "inlineContent": { "alias": "inlineContent"; "required": false; }; "inlineContentPosition": { "alias": "inlineContentPosition"; "required": false; }; "fullscreen": { "alias": "fullscreen"; "required": false; }; "lightBox": { "alias": "lightBox"; "required": false; }; "headerTransparent": { "alias": "headerTransparent"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; }, { "willDismissEvent": "willDismissEvent"; }, never, never, true, never>;
7224
7231
  }
7225
7232
  /**
7226
7233
  * @description Retrieves a modal component instance.
@@ -7243,15 +7250,25 @@ declare function getNgxModalComponent(props?: Partial<ModalComponent>, modalProp
7243
7250
  */
7244
7251
  declare function presentNgxLightBoxModal(inlineContent: string | SafeHtml, props?: Partial<ModalComponent>, injector?: EnvironmentInjector): Promise<void>;
7245
7252
  /**
7246
- * @description Presents a lightbox modal with inline content.
7247
- * @summary Displays a modal in lightbox mode with the specified content and properties.
7253
+ * @description Presents modal with inline content.
7254
+ * @summary Displays a modal with the specified content and properties.
7248
7255
  *
7249
- * @param {string | SafeHtml} inlineContent - The content to display in the lightbox modal.
7256
+ * @param {string | SafeHtml} inlineContent - The content to display in the modal.
7250
7257
  * @param {Partial<ModalComponent>} [props={}] - Properties to initialize the modal component.
7251
7258
  * @param {EnvironmentInjector} [injector] - Optional environment injector for dependency injection.
7252
7259
  * @returns {Promise<void>} - A promise that resolves when the modal is presented.
7253
7260
  */
7254
7261
  declare function presentNgxInlineModal(inlineContent: string | SafeHtml, props?: Partial<ModalComponent>, injector?: EnvironmentInjector): Promise<void>;
7262
+ /**
7263
+ * @description get modal with inline content instance.
7264
+ * @summary Get modal component instance for show inline content
7265
+ *
7266
+ * @param {string | SafeHtml} inlineContent - The content to display in the lightbox modal.
7267
+ * @param {Partial<ModalComponent>} [props={}] - Properties to initialize the modal component.
7268
+ * @param {EnvironmentInjector} [injector] - Optional environment injector for dependency injection.
7269
+ * @returns {Promise<void>} - A promise that resolves when the modal is presented.
7270
+ */
7271
+ declare function getNgxInlineModal(inlineContent: string | SafeHtml, props?: Partial<ModalComponent>, injector?: EnvironmentInjector): Promise<IonModal>;
7255
7272
  /**
7256
7273
  * @description Retrieves a modal for selecting options.
7257
7274
  * @summary Creates and initializes a modal component for displaying a list of selectable options.
@@ -7620,7 +7637,7 @@ declare class FileUploadComponent extends NgxFormFieldDirective implements OnIni
7620
7637
  *
7621
7638
  * @returns {Promise<string[] | undefined>} - A promise that resolves to an array of data URLs, or undefined if an error occurs.
7622
7639
  */
7623
- private getDataURLs;
7640
+ getDataURLs(files?: File[] | File): Promise<string[] | undefined>;
7624
7641
  /**
7625
7642
  * @description Validates the format of a data URL.
7626
7643
  * @summary Checks if the data URL is a non-empty string and matches the expected pattern
@@ -9522,5 +9539,5 @@ declare class ForAngularCommonModule {
9522
9539
  static ɵinj: i0.ɵɵInjectorDeclaration<ForAngularCommonModule>;
9523
9540
  }
9524
9541
 
9525
- export { ActionRoles, AngularEngineKeys, BaseComponentProps, CPTKN, CardComponent, ComponentEventNames, ComponentRendererComponent, ComponentsTagNames, CrudFieldComponent, CrudFormComponent, CssClasses, DB_ADAPTER_PROVIDER, DB_ADAPTER_PROVIDER_TOKEN, DecafFakerRepository, DefaultFormReactiveOptions, DefaultListEmptyOptions, DefaultModalOptions, Dynamic, DynamicModule, ElementPositions, ElementSizes, EmptyStateComponent, FieldsetComponent, FileUploadComponent, FilterComponent, ForAngularCommonModule, ForAngularComponentsModule, FormConstants, I18N_CONFIG_TOKEN, I18nLoader, I18nLoaderFactory, I18nParser, IconComponent, LOCALE_ROOT_TOKEN, LayoutComponent, LayoutGridGaps, ListComponent, ListComponentsTypes, ListItemComponent, ListItemPositions, LoggerLevels, ModalComponent, ModelRendererComponent, NgxComponentDirective, NgxEventHandler, NgxFormDirective, NgxFormFieldDirective, NgxFormService, NgxMediaService, NgxModelPageDirective, NgxPageDirective, NgxParentComponentDirective, NgxRenderingEngine, NgxSvgDirective, PaginationComponent, RouteDirections, SearchbarComponent, SteppedFormComponent, WindowColorSchemes, cleanSpaces, dataMapper, filterString, formatDate, generateRandomValue, getFakerData, getInjectablesRegistry, getLocaleContext, getLocaleContextByKey, getLocaleFromClassName, getLocaleLanguage, getLogger, getModelAndRepository, getNgxModalComponent, getNgxSelectOptionsModal, getOnWindow, getOnWindowDocument, getWindow, getWindowDocument, getWindowWidth, isDarkMode, isDevelopmentMode, isNotUndefined, isValidDate, itemMapper, parseToValidDate, presentNgxInlineModal, presentNgxLightBoxModal, provideDbAdapter, provideDynamicComponents, provideI18n, provideI18nLoader, removeFocusTrap, setOnWindow, stringToBoolean, windowEventEmitter };
9542
+ export { ActionRoles, AngularEngineKeys, BaseComponentProps, CPTKN, CardComponent, ComponentEventNames, ComponentRendererComponent, ComponentsTagNames, CrudFieldComponent, CrudFormComponent, CssClasses, DB_ADAPTER_PROVIDER, DB_ADAPTER_PROVIDER_TOKEN, DecafFakerRepository, DefaultFormReactiveOptions, DefaultListEmptyOptions, DefaultModalOptions, Dynamic, DynamicModule, ElementPositions, ElementSizes, EmptyStateComponent, FieldsetComponent, FileUploadComponent, FilterComponent, ForAngularCommonModule, ForAngularComponentsModule, FormConstants, I18N_CONFIG_TOKEN, I18nLoader, I18nLoaderFactory, I18nParser, IconComponent, LOCALE_ROOT_TOKEN, LayoutComponent, LayoutGridGaps, ListComponent, ListComponentsTypes, ListItemComponent, ListItemPositions, LoggerLevels, ModalComponent, ModelRendererComponent, NgxComponentDirective, NgxEventHandler, NgxFormDirective, NgxFormFieldDirective, NgxFormService, NgxMediaService, NgxModelPageDirective, NgxPageDirective, NgxParentComponentDirective, NgxRenderingEngine, NgxSvgDirective, PaginationComponent, RouteDirections, SearchbarComponent, SteppedFormComponent, WindowColorSchemes, cleanSpaces, dataMapper, filterString, formatDate, generateRandomValue, getFakerData, getInjectablesRegistry, getLocaleContext, getLocaleContextByKey, getLocaleFromClassName, getLocaleLanguage, getLogger, getModelAndRepository, getNgxInlineModal, getNgxModalComponent, getNgxSelectOptionsModal, getOnWindow, getOnWindowDocument, getWindow, getWindowDocument, getWindowWidth, isDarkMode, isDevelopmentMode, isNotUndefined, isValidDate, itemMapper, parseToValidDate, presentNgxInlineModal, presentNgxLightBoxModal, provideDbAdapter, provideDynamicComponents, provideI18n, provideI18nLoader, removeFocusTrap, setOnWindow, stringToBoolean, windowEventEmitter };
9526
9543
  export type { ActionRole, AngularDynamicOutput, AngularFieldDefinition, CheckboxOption, ComponentMetadata, CrudFieldOption, DecafRepository, DecafRepositoryAdapter, ElementPosition, ElementSize, FieldUpdateMode, FlexPosition, FormParent, FormParentGroup, FormServiceControl, FormServiceControls, FunctionLike, HTML5InputType, HTMLFormTarget, I18nResourceConfig, I18nResourceConfigType, I18nToken, IBaseCustomEvent, IComponentConfig, IComponentHolder, IComponentProperties, ICrudFormEvent, ICrudFormOptions, IFieldSetItem, IFieldSetValidationEvent, IFileUploadError, IFilterQuery, IFilterQueryItem, IFormComponentProperties, IFormElement, IFormReactiveSubmitEvent, IListComponentRefreshEvent, IListEmptyOptions, IMenuItem, IModelPageCustomEvent, IPaginationCustomEvent, IRenderedModel, ISortObject, IWindowResizeEvent, InputOption, KeyValue, LayoutGridGap, ListItemCustomEvent, ListItemPosition, PossibleInputTypes, RadioOption, RawQuery, SelectOption, StringOrBoolean, WindowColorScheme };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decaf-ts/for-angular",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "author": "Tiago Venceslau and Contributors",
5
5
  "license": "MPL-2.0 OR AGPL-3.0",
6
6
  "repository": {