simpo-component-library 3.6.464 → 3.6.465

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 (26) hide show
  1. package/esm2022/lib/directive/spacing-around.directive.mjs +2 -2
  2. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +4 -4
  3. package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +3 -3
  4. package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +3 -3
  5. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +3 -3
  6. package/esm2022/lib/elements/add-section/add-section.component.mjs +3 -13
  7. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  8. package/esm2022/lib/elements/image-editor/image-editor.component.mjs +3 -3
  9. package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +3 -3
  10. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +13 -3
  11. package/esm2022/lib/sections/banner-section/banner-section.model.mjs +1 -1
  12. package/esm2022/lib/sections/header-section/header-section.component.mjs +3 -3
  13. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
  14. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
  15. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  16. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  17. package/esm2022/lib/sections/text-section/text-section.component.mjs +3 -3
  18. package/esm2022/lib/styles/style.model.mjs +1 -1
  19. package/fesm2022/simpo-component-library.mjs +42 -43
  20. package/fesm2022/simpo-component-library.mjs.map +1 -1
  21. package/lib/sections/banner-section/banner-section.component.d.ts +4 -1
  22. package/lib/sections/banner-section/banner-section.model.d.ts +2 -1
  23. package/lib/styles/style.model.d.ts +5 -0
  24. package/package.json +1 -1
  25. package/simpo-component-library-3.6.465.tgz +0 -0
  26. package/simpo-component-library-3.6.464.tgz +0 -0
@@ -3,12 +3,13 @@ import { BannerContentModel, BannerSectionModel } from './banner-section.model';
3
3
  import { BackgroundModel, BannerStylesModel, LayOutModel, PositionLayoutModal } from '../../styles/style.model';
4
4
  import { EventsService } from './../../services/events.service';
5
5
  import BaseSection from '../BaseSection';
6
+ import { CdkDragEnd, Point } from '@angular/cdk/drag-drop';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class BannerSectionComponent extends BaseSection implements OnInit {
8
9
  private _eventService;
9
10
  data?: BannerSectionModel;
10
11
  index?: number;
11
- content?: BannerContentModel;
12
+ content?: BannerContentModel | any;
12
13
  edit?: boolean;
13
14
  delete?: boolean;
14
15
  customClass?: string;
@@ -21,6 +22,8 @@ export declare class BannerSectionComponent extends BaseSection implements OnIni
21
22
  get canMergeNavbar(): boolean | undefined;
22
23
  get isBorderlessImage(): boolean | undefined;
23
24
  get getPositionLayout(): PositionLayoutModal;
25
+ get point(): Point;
26
+ onDragEnded(event: CdkDragEnd): void;
24
27
  editSection(): void;
25
28
  stopPropagation(event: any): void;
26
29
  screenWidth: any;
@@ -1,4 +1,4 @@
1
- import { ActionModel, BannerStylesModel, DisplaySection, Image, InputTextModel, ListItemModal } from './../../styles/style.model';
1
+ import { ActionModel, BannerStylesModel, DisplaySection, Image, InputTextModel, ListItemModal, Tag } from './../../styles/style.model';
2
2
  export interface BannerSectionModel {
3
3
  id: string;
4
4
  sectionType: string;
@@ -14,6 +14,7 @@ export interface textModel {
14
14
  value: string;
15
15
  }
16
16
  export interface BannerContentModel {
17
+ tag: Tag;
17
18
  inputText: InputTextModel[];
18
19
  image: ImageModel;
19
20
  display: DisplaySection;
@@ -1,3 +1,4 @@
1
+ import { Point } from '@angular/cdk/drag-drop';
1
2
  import { AlignContent, Corners, DeviderType, ImageFit, ImageRatio, OverlayValue, RedirectionLinkType, SPACING, TEXT_SIZE, TextPosition } from '.';
2
3
  import { ALIGN, ANIMATION_DIRECTION, ANIMATION_SPEED, BUTTON_SHAPE, BUTTON_TYPE, CARD_SIZE, FIT, LAYOUTPOSITION, LINK_TYPE, SPACING_TYPE, CONTENTPOSITION, BORDER_DIRECTION, BACKGROUND_TYPE, FILE_TYPE, GRADIENT_DIRECTION, CONTENT_ANIMATION, BACKGROUND_ANIMATION } from './types';
3
4
  export interface SpacingModel {
@@ -121,6 +122,10 @@ export interface Page {
121
122
  pageId: any;
122
123
  redirectionUrl: string;
123
124
  }
125
+ export interface Tag {
126
+ label: string;
127
+ position: Point;
128
+ }
124
129
  export interface ListItemModal<T> {
125
130
  label: string;
126
131
  data: T[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.464",
3
+ "version": "3.6.465",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file